scroll problem

When i added this plugin to my ionic project and run project on my android device (android version 4.2.1), all the lists scroll too much after the contents. I asked this question in stack overflow but no answer yet. I test on another device with android 5 and no problem there.
I think this is the plugin problem.

What happens if you disable the plugin then?

The Cordova plugin repo is https://github.com/Telerik-Verified-Plugins/NativePageTransitions if you think it has something to do with it, you can add a issue there.

I experience the same, on a Marshmallow phone things work great, on a JellyBean (4.2.2), vertical scrolling scrolls content out of view on one tabs view, and not at all on another...

+1  same here


README Rust link 404

Hi 👋
Just randomly noticed that the Rust link displayed on the README leads to a 404.

To get started with the libSQL API:

JavaScript
Rust ------> https://github.com/tursodatabase/libsql/blob/main/core !??!?

Not sure where is should point to, therefore opened an issue rather than providing a PR, apologies for that.

Noticed the same problem while following the tutorial. Probably https://github.com/libsql/libsql-client-rs, at least the crate.io page points to that repo.

Thanks guys for finding this! Let me fix that

(for context, we've been moving stuff in the repo this past week, still tying loose ends ;) )


run detect_*.py errors: Invalid argument: NodeDef mentions attr 'T' not in Op<name=Where

when i run cmd: python3 detect_single_threaded.py --source ~/Documents/test.mp4
i got those errors:
> ====== loading HAND frozen graph into memory
2018-03-26 22:47:54.129357: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-03-26 22:47:54.278568: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-03-26 22:47:54.278914: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce MX150 major: 6 minor: 1 memoryClockRate(GHz): 1.5315
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.57GiB
2018-03-26 22:47:54.278933: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce MX150, pci bus id: 0000:01:00.0, compute capability: 6.1)
>  ====== Hand Inference graph loaded.
2018-03-26 22:47:54.651759: E tensorflow/core/common_runtime/executor.cc:643] Executor failed to create kernel. Invalid argument: NodeDef mentions attr 'T' not in Op<name=Where; signature=input:bool -> index:int64>; NodeDef: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast)]]
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1323, in _do_call
    return fn(*args)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1302, in _run_fn
    status, run_metadata)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef mentions attr 'T' not in Op<name=Where; signature=input:bool -> index:int64>; NodeDef: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "detect_single_threaded.py", line 52, in <module>
    image_np, detection_graph, sess)
  File "/home/rosrobot/git/handtracking/utils/detector_utils.py", line 90, in detect_objects
    feed_dict={image_tensor: image_np_expanded})
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 889, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1120, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1317, in _do_run
    options, run_metadata)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1336, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef mentions attr 'T' not in Op<name=Where; signature=input:bool -> index:int64>; NodeDef: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast)]]

Caused by op 'Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where', defined at:
  File "detect_single_threaded.py", line 8, in <module>
    detection_graph, sess = detector_utils.load_inference_graph()
  File "/home/rosrobot/git/handtracking/utils/detector_utils.py", line 45, in load_inference_graph
    tf.import_graph_def(od_graph_def, name='')
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/importer.py", line 313, in import_graph_def
    op_def=op_def)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
    op_def=op_def)
  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 1470, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InvalidArgumentError (see above for traceback): NodeDef mentions attr 'T' not in Op<name=Where; signature=input:bool -> index:int64>; NodeDef: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[Node: Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where = Where[T=DT_BOOL, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Postprocessor/BatchMultiClassNonMaxSuppression/map/while/MultiClassNonMaxSuppression/FilterGreaterThan/Where/Cast)]]

it's hard to run this project, can anyone help me to solve this problem??

This error looks like the same in issue #1 .
It appears to be an error associated with different tensorflow versions.
The solution is to generate your own frozen graph from the model checkpoint I provide.
See issue #1 for more details.
-V.

thank you for your reply, i run this cmd:
python3 -c 'import tensorflow as tf; print(tf.version)'
output: 1.4.0
maybe it's version mismatch, i will try to fix it and show the result

after i reinstall tensor-flow v1.4.0-rc0, it works fine! thanks@victordibia
but i got such errors, when startup comes up CUDA_ERROR_OUT_OF_MEMORY
`rosrobot@rosrobot:~/git/handtracking$ python3 detect_multi_threaded.py
{'num_hands_detect': 2, 'score_thresh': 0.2, 'im_height': 180.0, 'im_width': 320.0} Namespace(display=1, fps=1, height=200, num_hands=2, num_workers=4, queue_size=5, video_source=0, width=300)
>> loading frozen model for worker
> ====== loading HAND frozen graph into memory
>> loading frozen model for worker
> ====== loading HAND frozen graph into memory
>> loading frozen model for worker
> ====== loading HAND frozen graph into memory
>> loading frozen model for worker
> ====== loading HAND frozen graph into memory
2018-03-28 16:09:03.123319: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-03-28 16:09:03.123576: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-03-28 16:09:03.123690: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-03-28 16:09:03.124384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce MX150 major: 6 minor: 1 memoryClockRate(GHz): 1.5315
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.55GiB
2018-03-28 16:09:03.124405: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce MX150, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-03-28 16:09:03.124661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce MX150 major: 6 minor: 1 memoryClockRate(GHz): 1.5315
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.55GiB
2018-03-28 16:09:03.124677: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce MX150, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-03-28 16:09:03.124862: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce MX150 major: 6 minor: 1 memoryClockRate(GHz): 1.5315
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.55GiB
2018-03-28 16:09:03.124896: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce MX150, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-03-28 16:09:03.126570: E tensorflow/stream_executor/cuda/cuda_driver.cc:936] failed to allocate 1.33G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
2018-03-28 16:09:03.126752: E tensorflow/stream_executor/cuda/cuda_driver.cc:936] failed to allocate 1.33G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY

My question is how much GPU memory is required？？It's obvious that my computer is too weak.

Glad it worked!
Regarding memory, I have not done any GPU related tests.
I ran the entire thing on my macbook CPU 16GB (no GPU).
-V.
On Wed, Mar 28, 2018 at 1:15 AM, gangyahaidao<EMAIL_ADDRESS>wrote:

after i reinstall tensor-flow v1.4.0-rc0, it works fine! thanks@victordibia
but i got such errors, when startup comes up CUDA_ERROR_OUT_OF_MEMORY
`rosrobot@rosrobot:~/git/handtracking$ python3 detect_multi_threaded.py
{'num_hands_detect': 2, 'score_thresh': 0.2, 'im_height': 180.0, 'im_width': 320.0} Namespace(display=1, fps=1, height=200, num_hands=2, num_workers=4, queue_size=5, video_source=0, width=300)

loading frozen model for worker
====== loading HAND frozen graph into memory
loading frozen model for worker
====== loading HAND frozen graph into memory
loading frozen model for worker
====== loading HAND frozen graph into memory
loading frozen model for worker
====== loading HAND frozen graph into memory
2018-03-28 16:09:03.123319: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-03-28 16:09:03.123576: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-03-28 16:09:03.123690: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-03-28 16:09:03.124384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce MX150 major: 6 minor: 1 memoryClockRate(GHz): 1.5315
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.55GiB
2018-03-28 16:09:03.124405: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce MX150, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-03-28 16:09:03.124661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce MX150 major: 6 minor: 1 memoryClockRate(GHz): 1.5315
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.55GiB
2018-03-28 16:09:03.124677: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce MX150, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-03-28 16:09:03.124862: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce MX150 major: 6 minor: 1 memoryClockRate(GHz): 1.5315
pciBusID: 0000:01:00.0
totalMemory: 1.95GiB freeMemory: 1.55GiB
2018-03-28 16:09:03.124896: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce MX150, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-03-28 16:09:03.126570: E tensorflow/stream_executor/cuda/cuda_driver.cc:936] failed to allocate 1.33G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
2018-03-28 16:09:03.126752: E tensorflow/stream_executor/cuda/cuda_driver.cc:936] failed to allocate 1.33G<PHONE_NUMBER> bytes) from device: CUDA_ERROR_OUT_OF_MEMORY

My question is how much GPU memory is required？？It's obvious that my
computer is too weak.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/victordibia/handtracking/issues/14#issuecomment-376801020,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABea_29-oVa9KKh-_5zk12km3KtAVWMwks5ti0aqgaJpZM4S7RgK
.

only use CPU, too slow? what's your fps?

Please refer to the readme in the repository.
On Thu, Mar 29, 2018 at 08:19 gangyahaidao<EMAIL_ADDRESS>wrote:

only use CPU, too slow? what's your fps?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/victordibia/handtracking/issues/14#issuecomment-377270407,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABea_-es_3sabG0xnKh1X_YOPYLaJpKNks5tjPuVgaJpZM4S7RgK
.

I see! But how should i avoid to use gpu to run detect_single_threaded.py?
i compiled tensorflow with gpu

You mean compile tensorflow without gpu support?

You can copy it to the current directory and use it as follows

No you can't! Like @TyrionZK mentions you need to install Tensorflow object detection API. Do you have instructions for doing so?


volatility3: init at 1.0.1

Motivation for this change
Volatile memory extraction frameworks
https://www.volatilityfoundation.org/
Related to #81418
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)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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

[xxx] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 139797 run on x86_64-linux 1

1 package built:

volatility3


Suggestion: is it possible to join the steps in one step?

It would be great to join the steps in only one step that contains the 5 actions/commands in the same place, and keep the 2 tabs (Edit and Preview):
Actions:

Rows/Lines: Add/Remove/Move
Columns: Add/Remove
Controls: Add/Edit/Remove
Texts: FormName and Buttons
Save Form

I think this improve is better for user experience and productivity.
@MacKentoch what do you think?

Great improvement!
In fact my only question is:

Why didn't I think about that before :no_mouth: ... 😄

Joining steps will help. I just want to keep UX as stupid as possible (I mean I want a drunk man to be able to create forms 😆 <- but nearly serious)
It will be a bit more huge task than just adding a control but it will help cleaning code and help to refactor even more.
I plan to finish next release within few days first then following release would be your enhancement suggestion = great value!

thanks @MacKentoch I am waiting anxiously


Removes interactive shell mode

1. Why is this change necessary?
Symfony has removed the interactive shell feature in version 3, so now bin/console -s results in the following error:
PHP Fatal error:  Class 'Symfony\Component\Console\Shell' not found in vendor/shopware/shopware/engine/Shopware/Components/Console/Shell.php on line 34

2. What does this change do, exactly?
It removes the shell option from the Shopware console.
3. Describe each step to reproduce the issue or behaviour.
Run bin/console -s.
4. Please link to the relevant issues (if any).
None.
5. Which documentation changes (if any) need to be made because of this PR?
Dunno.
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

No idea why travis fails. That to me seems completely unrelated to my PR.

You can ignore it, will we be fixed soon

@soebbing has fixed that already in an interal PR

Hey @jkrzefski,
thank you for your contribution! 💙
Unfortunately there's already an internal PR regarding this issue, which will be merged soon.
Therefore we're closing this PR.


New battery test

JSON wrapping.
Mirroring response.
Using template engine (Jade).
Modifying only HTML with cheerio.

LGTM :ship:
Love the new file organization, now I understand what you suggested about examples being tests, quite literally ;)
The test of Jade was mirroring too, and it was depending on another test stub to assert, updating it to be more independent and do something as well.
Added one for afterSend

:feelsgood: @flockonus I think we can merge after adding travis support.


Fix js content indent

Thanks!

Oh - please use a branch on your own fork in the future, otherwise the branch will show up for everyone who forks the repository, and that can be distracting.

Oh right. Didn't even pay attention to that... Will try to avoid it next time!


Dose the network infer with different trained-models on different scene?

No, you will need each trained model for each scene.

Firstly, thanks for your response. It means, for each scene, I will need to train network to obtain each model. Then I will employ each model to predict pose for each scene respectively. Do I understand correctly?

Yes, that's right!

Thanks again, and have a good day.


Add thread subscriptions

Closes #283
https://github.com/stackernews/stacker.news/assets/27162016/20ae2fbe-41a2-47a9-823b-a1621e4e6977

I think the code can also be used to implement "muting" of threads.
Sometimes, people start to argue under a comment of oneself and one doesn't want to follow the discussion but you can't disable notifications for this specific thread.
I think that adding a column ThreadSubscription.mute and updating the WHERE parts like this would be enough:
- WHERE (p."userId" = $1 OR p.id = ANY(SELECT "itemId" FROM "ThreadSubscription" WHERE "userId" = $1))
+ WHERE (p."userId" = $1 OR p.id = ANY(SELECT "itemId" FROM "ThreadSubscription" WHERE "userId" = $1 AND mute = false))
+ AND NOT p.id = ANY(SELECT "itemId" FROM "ThreadSubscription" WHERE "userId" = $1 AND mute = true))
 AND "Item".created_at > $2::timestamp(3) without time zone

I shouldn't have force rebased that. My bad. My PR flow is WIP obviously

I think the code can also be used to implement "muting" of threads. Sometimes, people start to argue under a comment of oneself and one doesn't want to follow the discussion but you can't disable notifications for this specific thread.
I think that adding a column ThreadSubscription.mute and updating the WHERE parts like this would be enough:
- WHERE (p."userId" = $1 OR p.id = ANY(SELECT "itemId" FROM "ThreadSubscription" WHERE "userId" = $1))
+ WHERE (p."userId" = $1 OR p.id = ANY(SELECT "itemId" FROM "ThreadSubscription" WHERE "userId" = $1 AND mute = false))
+ AND NOT p.id = ANY(SELECT "itemId" FROM "ThreadSubscription" WHERE "userId" = $1 AND mute = true))
 AND "Item".created_at > $2::timestamp(3) without time zone

That'd work but this query was slow for me - query planner was iterating over all parent/child pairs (>>100k rows) then checking it against the few thread subscriptions ... often taking ~30 seconds.
If users want to mute their items, it's probably best to put it in the "Item" model as a boolean.

Nice work. Going to merge but please review the changes I made to get a feel for what was missing.

please review the changes I made to get a feel for what was missing.

Changes make sense! I'll mark my PRs as drafts in the future when I don't think it's ready to get merged yet.
For example, with this one, I only wanted to get early feedback and didn't mean to propose to merge this as-is before further testing like how the query plan actually looks :smile:

please review the changes I made to get a feel for what was missing.

Changes make sense! I'll mark my PRs as drafts in the future when I don't think it's ready to get merged yet. For example, with this one, I only wanted to get early feedback and didn't mean to propose to merge this as-is before further testing like how the query plan actually looks 😄

All good. The query plans change depending on the size of tables, historical access patterns, write patterns, memory available, etc. It'll be hard for you test query plans without prod scale data. I occasionally dump the prod DB to test with locally. I'll try to generate you a scrubbed prod dump soon that you can use for developing.


Users can get some general feedback from the AI grader

Gen AI is used to grade as well as provide specific feedback for the users to improve on their code.


Improved documentation: setup instructions, troubleshooting, and contribution guide

Added platform-specific setup instructions for Windows, macOS, and Linux.
Added a troubleshooting section to address common setup issues.
Summarized key contribution guidelines for new contributors.

Let's close this for now, since as already mentioned this duplicates a lot of existing information.
Furthermore, some of these instructions don't actually make sense (it seems that maybe they weren't fully tested) and part of the information doesn't really apply to the PDF.js project.


nvmeadm: use the snafu crate to generate improved errors messages CAS…

…-338
Replace use of the failure crate with snafu.
Fixes remaining part of https://github.com/openebs/Mayastor/issues/468
Add more context to errors generate, for example on IO errors,
add filename being accessed.
Change how connection in progress is handled by returning a specific error
so that the CSI driver can check explicitly, and use error kind for detection
instead of the magic number 114.

bors try

bors try

CI is stuck:
2020-11-03T17:01:51.424724316+00:00 DEBUG nexus_create{name="rebuild_child_faulted" size=5242880 uuid=None children=["aio:///tmp/rebuild_child_faulted-disk0.img?blk_size=512", "aio:///tmp/rebuild_child_faulted-disk1.img?blk_size=512"]}: mayastor::bdev::nexus::nexus_bdev: close time.busy=11.1ms time.idle=31.7ms
2020-11-03T17:01:51.425193337+00:00 DEBUG mayastor::bdev::nexus::nexus_channel: rebuild_child_faulted: Creating IO channels at 0x562984fbc1e0```

bors try-

bors merge

bors merge

bors merge


feat: first draft of mongodb cache package

Codecov Report

Merging #53 (dcadafd) into main (b65368d) will increase coverage by 1.93%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   96.55%   98.48%   +1.93%
==========================================
  Files           1        2       +1
  Lines          58      132      +74
  Branches       16       29      +13
==========================================
+ Hits           56      130      +74
  Misses          2        2

Impacted Files
Coverage Δ

...ager-ioredis/src/lib/node-cache-manager-ioredis.ts
96.55% <100.00%> (ø)

...ager-mongodb/src/lib/node-cache-manager-mongodb.ts
100.00% <100.00%> (ø)

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


Update Composer dependencies (2021-10-13-00-12)

Visual regression test passed!
View the visual regression test report


feat(widget): update swap history item page

Thank you. The code is looks much better after your recent changes. Let's check these items before merging:

[ ] wrong scroll when clicking on copy - to - clipboard
[ ] wrong scroll of whole page
[ ] update connect wallet and change network modal titles please.
[ ] update page padding.
[ ] Add negative sign besides slippage amount in modals.

Please also create a task for later for adding internal swappers of a swap step.


Adopt pytorch lightning

Let's discuss
Implementing this, I found a couple of disadvantages of pytorch lightning. Not sure if we should really adopt it. Let's discuss in person. Until then, please do not spend time on giving a detailed review yet.
Major design decisions
Class structure
I decided to leave our current class-structure untouched. In addition, we now have classes that inherits from LightningModule for each algorithm, e.g. for SNRE RatioEstimationNet. It requires knowledge of the loss function. Currently, the loss is passed into this class as an attribute. Better ideas welcome.
In the long-run, we might replace e.g. SNPE-C class with a function that implements the loss.
Delayed posterior creation
We now instantiate the posterior object after training is over. I think this makes it clearer what is going on: the neural net is being trained and after that a posterior can be obtained from the neural net.
Logging

Because of the latest interface, x_o will not usually be available during inference. Hence, a lot of our logging usually produced NaN. These logged things are now removed. Specifically:
We are no longer logging the acceptance rate and the median distance to x_o
I got rid of the "round summary". One less kwarg. And its functionality was very limited

Major issues with PL

Checkpointing is a major issue in our case, where we pass several arguments (of different types) to the LightningModule called PosteriorEstimationNet.
Stopping / resuming training did not work
rather poor documentation
package does not seem fully mature (lots of API changes)
we create a new class: PosteriorEstimationNet(LightningModule) for each algorithm
there are annoying warnings / logging messages.

Big gains

seems to solve the issue with retrain_from_scratch and SNPE_C
allows to scale to multi-GPU
removes a lot of code to maintain
we will easily benefit from enginerring advances in DL

we decided to wait for a more stable version of pytorch lightning


Add build target for (Scala 3, ScalaJS 1)

pending until ScalaJS becomes available for Scala 3

Superseded by #235


Drop sl_7 and centos_7: upstream repos are gone

Merging this so I can deploy it before the next run.


[deps] Upgrade dependencies

Non-trivial upgrades that were not touched here:

keccak dependency, restricted to sha3 feature, (*, done in types but not in crypto)
pingcap's fork of rust-rocksdb, now handed over to tikv, -> switch to the main fork?
yamux : https://github.com/paritytech/yamux/blob/374eaa55760e31c7a2aedde75e33ad18a6bc0e73/CHANGELOG.md#030
rand and rand_core, (*)
codespan 0.2.x -> 0.7.x

I expect I should get around to those marked by a * soon™

@bors-libra r+

:pushpin: Commit a256d97 has been approved by metajack

:hourglass: Testing commit a256d977ee7f3f519c217edd9c494667d02b8af9 with merge 1279c778374fac58fa2d0b0f537c69a148cd56e6...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: metajack
Pushing 1279c778374fac58fa2d0b0f537c69a148cd56e6 to master...


Ensure the input line is empty

With firefox - not sure about other browsers - and a pinned tab, the input line can hold it's original value. It shouldn't.

This only happens if shelly lives in a pinned tab (tested on Firefox 129.0.1) and, AFAIK, there's no way around it.


Launch Node.js Profiling - 0 total samples collected

Hi!
I'm currently working with a TypeScript - Node.js project. I have Visual Studio Community 2015, Node.js Tools  and Node.js Tools - Profiling 1.1.31117.00, TypeScript <IP_ADDRESS>.
I tried to launch Node.js profiling tools -> Select Open project for my current project and I got "Unexpected Token import" in my startup module, and the profiling tools exits.
If I, instead of selecting Open project, create a Standalone script in the profiling settings and define the "script" to my startup module in JavaScript (already compiled) and "Working directory" to my output folder (where I redirect my .js files) the profiling tools oepn correctly. However, when I close the app and see the generated report I get: "0 total samples collected"..no call tree, no functions...But I can see the CPU (% usage) correctly.
What am I doing wrong? Can you please assist me?
Thanks.

Could you try following the instructions we have here for creating and importing an existing v8 log?  https://github.com/Microsoft/nodejstools/wiki/Profiling#using-an-existing-v8-log
Understanding the result of that will help us better understand what's going on.

Hi,
Thanks for the response. After following you instructions I saw that:
1 - When running command Microsoft.NodejsTools.NodeLogConverter, warning messages of "Unknown

Hi,
Thanks for the response. After following you instructions I saw that:
1 - When running command Microsoft.NodejsTools.NodeLogConverter, warning messages of "Unknown record type" appeared.
2 - Opening the .vspx with Visual Studio I can see that it only recognizes two functions, identified by .1054 and .221. Both modules and processes views are filled with Unknowns:

If I instead use node-debug (from node-inspector) everything is correctly identified, all the objects, functions,... Am I forgetting something?
Thanks

Thanks for the screenshots. Let's try and isolate the issue. What version/architecture of Node are you running? If you're running x64, would you mind running the same LogConverter steps on x64?

I was running on x64 Node.js. I supposed you asked me to try in x32 Node.js. I obtained similar results with it. I'm also using CommonJs (I don't know if it is important).

You mentioned architecture, but what version of Node are you using? Is the issue specific to your project?

Thank you so much!!
I was using version v4.2.6 (x64). I'm sorry about my previous post but I must have reinstalled x64 version again because today when trying with v4.2.6 (x32) on Visual Studio it gave much more information. The correct call tree, funcions call, modules..So it currently works with x32 but not x64.
There is still Unknown function names, but for the most part it works fine (see image). Also, in order to run profiling tools I had to create a standalone script and redirect to the build folder manually.
Despite this, I'm happy with the workaround and it works for me!

Awesome - closing as this looks like a duplicate of #434


fix (test): Update test data to match current schedule

No Asana ticket, fixes tests that are currently breaking in main.

@ErinLMoore I pushed a fix with the trip IDs and times for the correct direction.


Open JSON tree viewer stays checked in plugin menu

When you add a new tab to notepad and paste some json into it, and you select the 'Open JSON tree viewer' through the plugin menu, the document shifts to JSON and the tree viewer is visible on the right. When you open the plugin menu you'll see a big checkbox in front of the option. If you select the option again, the tree viewer on the left disapears, but when you open the plugin menu you'll see that the option still has the checkbox in front of it.

This is due to an implementation quirk of the JSON tree, which I have no intention of changing.
Furthermore, you can actually have multiple JSON trees open (although only one can be seen at a time), and what would you expect the state of the button to be if you close one tree but others are open?
For these reasons and the additional reason that the toolbar is a Notepad++ component that I don't really understand or care to learn much more about, I have no intention of fixing this issue. Sorry.


Change events to be on-tap instead of on-click

Should really use gesture events for mobile compatibility. Having some trouble getting the events to fire at the moment though.

Advice now is that you should just use click, rather than tap anyway, so closing this:
https://www.polymer-project.org/2.0/docs/devguide/gesture-events


Add PackageRegistrations.HasVulnerableVersion

Add field to PackageRegistrations, type bit, name HasVulnerableVersion. Migrate db.
Supports this UX change: https://github.com/NuGet/NuGetGallery/issues/8361

We've found a way forward without the need for this level of change. See https://github.com/NuGet/NuGetGallery/pull/8436.

This way forward wasn't performant enough. Reactivating.

Closing because vulnerability caching will make the original approach performant.


Support json_contains_path

What problem does this PR solve?
Issue Number: close #8501
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-all-tests

/run-unit-test

/run-all-tests

/run-all-tests

/run-unit-test


Add option to load peers from a file on startup

Description of the Change
Pull request adds command line option to load peers list from a file on startup.
Benefits

It could be useful in scenarios when many peers in a current network state are malicious.
Possible Drawbacks

Usage of a potentially deprecated PostgresWsvCommand class
Lack of tests for PeersFileReaderImpl (not sure should I add add them or not)

Usage Examples or Tests
Create file peers with line <IP_ADDRESS>:10001 bddd58404d1315e0eb27902c5d7c8eb0602c16238f005773df406bc191308929 (feel free to add more peers) and
run irohad with option --peers peers

I would like the peers list to be passed as an optional: #29

/build ubuntu ursa release


Explicit version numbers found in POM

Found a few explicit references to version numbers when reading through https://github.com/odpi/egeria/pull/6417
We need to search through the source for any other references & remove them

Closing. Raised in error. Misinterpreted the version in a code review as the parent context wasn't visible. Checked through code, no other unnecessary references, at least to egeria.


removing lantern dependency

usable from any comm-connection assuming it implements the correct connection string/api
comm://<jupyter session id>/<applicationname>/<channel id>

looks good!


Avoid pinning fastavro dependency.

According to the changelog [1], pre-release semantic versioning
seems to be followed fairly well.  Unfortuantely, there's still several
non-bugfix upgrades/year, but hopefully this will stabilize with time.
[1] https://github.com/fastavro/fastavro/blob/master/ChangeLog

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


Specify when return values are unused

ErrorProne insists that return values be checked/used or specifically
acknowledged as unused. There are two error patterns related to these
issues:
CheckReturnValue:
(https://errorprone.info/bugpattern/CheckReturnValue)
and
ReturnValueIgnored:
(https://errorprone.info/bugpattern/ReturnValueIgnored)
In order to remove these cases from the ErrorProne configuration,
occurrences of unused return values were modified by creating an
'unusedRetVal' return value for each instance. The use of a variable
beginning with 'unused' prevents that instance from being flagged
as an ErrorProne error.

I put this PR in as a consideration as I am trying to remove ErrorProne errors without having to put an exception in the configuration. In order to do so, instances of method that are non-void must either use/check the return value or specifically acknowlege the return values are unused.
If this PR is too 'wordy' then we can continue to keep the two checks turned off within the ErrorProne configuration and ignore this PR.
Let me know your thoughts.

With the current changes it is possible to remove the EP exceptions in the configuration for both CheckReturnValue error and ReturnValueIgnored warning.

Addressed latest round of suggestions. Once approved I will merge in the latest changes in main prior to merging.  The JUnit updates account for most of these conflicts so hopefully will not be too difficult to resolve conflicts.

I resolved the conflicts with main and brought it up-to-date. I'm going to take another quick look, and can merge it for you when I'm done.

Sounds good!


Document Scanner (Specific for Patient Registration)

Project Name
Medical Document Scanner
Description
My project, "Medical Document Scanner," is a Function App API that leverages multiple resources, including Document Intelligence and OpenAI. The API is designed to extract data in XML or JSON format, facilitating system-to-system communication.
For instance, a mobile app can use this API to extract data from a PDF or capture it via a camera. The API then converts the provided data into integration messages in XML or JSON format. Developers can specify the document type in the POST request header, choosing from 'Referral', 'Prescription', or 'General', as detailed in the UI link shared at the end of this description. This allows for precise output based on the document type.
The UI created serves as a demonstration of how the API works, showcasing its capability to gather information from documents and convert it into XML or JSON. The primary purpose of this API is to enable rapid processing of documents where backend integration is required, such as for patient registration or prescription details sent to a pharmacy. This streamlines data extraction from a mobile app to an HR system, making the process faster.
UI that consumes API demo URL: https://ambitious-field-0f28c6c0f.5.azurestaticapps.net
Additionally, user prompts can be used to modify or correct the data, as the API is capable of accommodating corrections as needed.
Technology & Languages

[X] JavaScript
[ ] Java
[ ] .NET
[X] Python
[X] AI Studio
[ ] AI Search
[ ] PostgreSQL
[ ] Cosmos DB
[ ] Azure SQL

Project Repository URL
https://github.com/WajahatHussain55/RAG-Hack-Document-Scanner-API/tree/main
Deployed Endpoint URL
https://ambitious-field-0f28c6c0f.5.azurestaticapps.net/
Project Video
https://youtu.be/c5drx9Jaciw
Team Members
WajahatHussain55<EMAIL_ADDRESS>

Hello @WajahatHussain55, thank you for participating in RAG Hack!
The team is working hard to distribute badges. Please have each team member fill out this form:
aka.ms/raghack/badge-dist
Thank you!


Updated Azure.VNET.UseNSGs

PR Summary
Fixes #3007
Updated Azure.VNET.UseNSGs.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[x] This PR is ready to merge and is not Work in Progress
Rule changes

[ ] Unit tests created/ updated
[ ] Rule documentation created/ updated
[x] Link to a filed issue
[x] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

Ready for review @BernieWhite. The customer-excluded subnets will probably have the same issue, but thats not a part of this PR.

Thanks @BenjaminEngeset. If we can add your sample resources in from the issue that would be great so that we don't break this in the future.
Let me know if you have any questions.

Thanks @BernieWhite. I'm actually working with this now as we speak and have implemented the same suggestions for the logic already as I have tested out the method locally that you have created for the PSRule helper class. PR coming up soon.

Can you take a look now @BernieWhite?
I have also added support for the customer-excluded subnets as it wasn't much work to do.

Hi @BernieWhite, is the rule working correctly? I would expect vnet-G to fail because of the subnet-ZZ with no configuration option. However, I can see that its yielded as a pass. Why is that?

Hi @BernieWhite, is the rule working correctly? I would expect vnet-G to fail because of the subnet-ZZ with no configuration option on line 46. However, I can see that its yielded as a pass. Why is that?

Correct vnet-G should fail. I updated the code. It was failing because it was in the pass block. Previously this was passing because of the configuration value was set. But you moved that to the with configuration block which is better.

Hi @BernieWhite, is the rule working correctly? I would expect vnet-G to fail because of the subnet-ZZ with no configuration option on line 46. However, I can see that its yielded as a pass. Why is that?

Correct vnet-G should fail. I updated the code. It was failing because it was in the pass block. Previously this was passing because of the configuration value was set. But you moved that to the with configuration block which is better.

Gotcha, now it's all clear. Thanks.


Issues with codegen

Hi,
This is not an actual issue but me seeking out some help.
I tried to run the codegen for the pokemon example project in master, but I am unable to.
Running: flutter pub run build_runner build --delete-conflicting-outputs
Gives me the following output:
[INFO] Generating build script...
[INFO] Generating build script completed, took 233ms

[WARNING] Deleted previous snapshot due to missing asset graph.
[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 7.4s

[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 468ms

[INFO] Checking for unexpected pre-existing outputs....
[INFO] Deleting 10 declared outputs which already existed on disk.
[INFO] Checking for unexpected pre-existing outputs. completed, took 2ms

[INFO] Running build...
[WARNING] gql_build:serializer_builder on lib/$lib$:
Your current `analyzer` version may not fully support your current SDK version.

Please try upgrading to the latest `analyzer` by running `flutter packages upgrade`.

Analyzer language version: 2.10.0
SDK language version: 2.12.0

If you are getting this message and have the latest analyzer please file
an issue at https://github.com/dart-lang/sdk/issues/new with the title
"No published analyzer available for language version 2.12.0".
Please search the issue tracker first and thumbs up and/or subscribe to
existing issues if present to avoid duplicates.

[INFO] Generating SDK summary...
[SEVERE] gql_build:serializer_builder on lib/$lib$:

Bad state: Unexpected diagnostics:
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:166:25 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:539:15 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:390:19 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:30:49 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:18:62 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:42:22 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:327:34 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:376:19 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:516:13 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:224:29 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:65:23 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:58:17 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:41:23 - This requires the 'non-nullable' language feature to be enabled.
C:\DevTools\flutter\bin\cache\pkg\sky_engine\lib\ui\channel_buffers.dart:132:29 - This requires the 'non-nullable' language feature to be enabled.
[SEVERE] gql_build:serializer_builder on lib/$lib$:

.......

[INFO] 2.3s elapsed, 17/33 actions completed.
[INFO] 3.4s elapsed, 17/33 actions completed.
[INFO] 4.4s elapsed, 17/33 actions completed.
[INFO] 5.5s elapsed, 17/33 actions completed.
[INFO] 6.6s elapsed, 17/33 actions completed.
[INFO] 7.7s elapsed, 17/33 actions completed.
[INFO] 8.7s elapsed, 17/33 actions completed.
[INFO] 9.8s elapsed, 17/33 actions completed.
[INFO] 10.9s elapsed, 17/33 actions completed.
[INFO] 11.9s elapsed, 17/33 actions completed.
[INFO] 13.0s elapsed, 17/33 actions completed.
[INFO] 14.1s elapsed, 17/33 actions completed.
[INFO] 15.1s elapsed, 17/33 actions completed.
[INFO] 16.2s elapsed, 17/33 actions completed.
[WARNING] No actions completed for 15.0s, waiting on:
  - built_value_generator:built_value on lib/main.dart
  - built_value_generator:built_value on lib/src/all_pokemon.dart
  - built_value_generator:built_value on lib/src/app.dart
  - built_value_generator:built_value on lib/src/pokemon_card.dart
  - built_value_generator:built_value on lib/src/client.dart
  .. and 11 more

[INFO] 17.3s elapsed, 17/33 actions completed.

This fixed it:
dependency_overrides:
  analyzer: ^0.41.2
  dart_style: 1.3.13


Security vulnerabilty

What would be the right contact to report a security vulnerabilty? thanks!

You can send sensitive information to<EMAIL_ADDRESS> Thank you!

I sent the details of the vulnerability to the email address you gave me. But no feedback.

We apologize for the delay.  Thank you for your report, and your offer of a PR to fix it.  A PR would be very welcome!

@joeyparrish Please check PR.

@joeyparrish Hi, can you disclose this vulnerability and apply for a CVE?
Reference: https://docs.github.com/en/code-security/security-advisories/creating-a-security-advisory


doNd: Integers are converted to floats

Steps to reproduce

Have two parameters, one that has float values, and one that has validator Ints
Try to do a 2D sweep of the two parameters using dond

Expected behaviour
The sweep should work normally
Actual behaviour
TypeError, because dond is trying to set the integer parameter to a float value.
Minimal working example
import qcodes as qc
from qcodes.utils.validators import Ints
from qcodes.utils.dataset.doNd import dond, ArraySweep

qc.config.core.db_location = "./test.db"

qc.load_or_create_experiment("test")

float_param = qc.ManualParameter("float_param")
int_param = qc.ManualParameter("int_param", vals=Ints(0, 100))

dond(
    ArraySweep(float_param, [1.1, 2.2, 3.3]),  # if I comment out this line, works OK
    ArraySweep(int_param, [1, 2, 3]),
) # -> TypeError: ('1.0 is not an int; Parameter: int_param', 'setting int_param to 1.0')

Tested on qcodes v0.33.

@mgunyho would it be a decent workaround for you to pass a numpy array of ints to ArraySweep as opposed to list of ints? the challange is that whatever you pass gets transofmed into a numpy array, and i guess list of ints also gets transformed to an array of floats.

The same happens if I pass it as a numpy array (either np.array([1,2,3]) or more explicitly np.array([1,2,3], dtype=np.int)). It also doesn't matter whether the float or int array is first. I didn't check what dond does internally but seems like it's coercing all of the arrays to the same datatype. Maybe using a pandas dataframe (or separate arrays for each param value) would work better with heterogeneous types.
For now my workaround was to just do a for-loop over the int-value (so one measurement for each) because I didn't have that many of them, but that's not very good in the long run.

I think the issue is that do_nd bundles all the setpoints into one array (look at the implementation of _flatten_setpoint_values
I will see if I can have a look at that as part of #4325

@mgunyho I have added a test to https://github.com/QCoDeS/Qcodes/pull/4325 based on your original issue confirming that this has been resolved by the refactor in that pr. I have also clarified the types of the setpoints in LinSweep clarifying that this can only generate float setpoints

So the test is now
def test_sweep_int_vs_float():

    float_param = ManualParameter("float_param", initial_value=0.0)
    int_param = ManualParameter("int_param", vals=Ints(0, 100))

    dond(ArraySweep(int_param, [1, 2, 3]), float_param)

I actually had something slightly different in mind with this issue. My problem originally was that I was trying to do a 2D sweep where one of the axes is an integer, and another one is float. The MWE is missing the parameter to be measured, this is what it should have been:
import qcodes as qc
from qcodes.utils.validators import Ints
from qcodes.utils.dataset.doNd import dond, ArraySweep

qc.config.core.db_location = "./test.db"

qc.load_or_create_experiment("test")

float_param = qc.ManualParameter("float_param")
int_param = qc.ManualParameter("int_param", vals=Ints(0, 100))
acquisition_param = qc.ManualParameter("thing_to_be_measured", initial_value=123)  # the parameter we're going to measure

dond(
    ArraySweep(float_param, [1.1, 2.2, 3.3]),
    ArraySweep(int_param, [1, 2, 3]),
    acquisition_param,  # this was missing
) # -> ValueError: 1.0 is not an int

But in any case, the issue is indeed fixed by the refactor.
While testing this, I noticed another bug: the original MWE, without the acquisition_param, where I accidentally forgot to add the parameter to be acquired causes an UnboundLocalError:
UnboundLocalError                         Traceback (most recent call last)
.../arraysweep_int_test.py in <module>
     14
     15
---> 16 dond(
     17     ArraySweep(float_param, [1.1, 2.2, 3.3]),  # if I comment out this, works OK
     18     ArraySweep(int_param, [1, 2, 3]),

.../Qcodes/qcodes/dataset/dond/do_nd.py in dond(write_period, measurement_name, exp, enter_actions, exit_actions, do_plot, show_progress, use_threads, additional_setpoints, log_info, break_condition, dataset_dependencies, *params)
    552     sweeper = _Sweeper(sweep_instances, additional_setpoints)
    553
--> 554     measurements = _Measurements(measurement_name, params_meas)
    555
    556     LOG.info(

.../Qcodes/qcodes/dataset/dond/do_nd.py in __init__(self, measurement_name, params_meas)
    218             self._grouped_parameters,
    219             self._measured_parameters,
--> 220         ) = self._extract_parameters_by_type_and_group(params_meas)
    221         self.measurement_names = self._create_measurement_names(measurement_name)
    222

.../Qcodes/qcodes/dataset/dond/do_nd.py in _extract_parameters_by_type_and_group(params_meas)
    274         if multi_group:
    275             grouped_parameters = tuple(multi_group)
--> 276         return tuple(measured_all), grouped_parameters, tuple(measured_parameters)
    277
    278

UnboundLocalError: local variable 'grouped_parameters' referenced before assignment

I suppose if the *args are only Sweep:s, and none are parameters, there should be an error message indicating that the measurement parameters are missing. (This is on version 0f54cf2f15)

To clarify, here's a failing test for this:
def test_dond_without_measurement_params():
    a = ManualParameter("a", initial_value=0)

    with pytest.raises(
        ValueError
    ):
        dond(ArraySweep(a, [1, 2, 3]))

Thanks I agree that we should give a better error message when there is no parameter to measure.


Fix wrong directories in host_libdir.

This fixes a regression from #7475 where the sysroot_target_libdir leaks into the host libdir. This can cause problems when the dynamic linker does not ignore the target libraries but tries to load them instead. This happens for example when building on x86_64-musl for aarch64-musl.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Eh2406 (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Hi!  Thanks for the PR!
I'm a bit confused because I expect sysroot_host_libdir is the same no matter what the target kind is.  Can you explain more about the issue you are having?


ModuleNotFoundError: No module named '_lzma' in 1.2.1

@marban, thanks for your feedback, does that work for you?
https://stackoverflow.com/questions/59690698/modulenotfounderror-no-module-named-lzma-when-building-python-using-pyenv-on

@marban Did that solve your issue?

Worked for me!
See also:
https://github.com/pyenv/pyenv/issues/99
https://github.com/pyenv/pyenv/wiki/Common-build-problems/6dae5cd9c3f0c399e368a3a2e5120fb9debac366


Compatibility fix with Yii2 version 2.0.35

Make compatible with Yii2 version 2.0.35

Thank you for your help! :)

I use your module all the time, so thank you!


Use ExactExtract module to regrid AORC Forcings

This script currently uses the NextGen hydrofabric to regrid AORC forcings using the ExactExtract C+ module. The ExactExtract module calculates zonal statistics between raster cells (forcings) and polygons (NextGen hydrofabric) while accounting for raster cells that are partially covered by the polygon. This script can quickly regrid AORC forcings to a single netcdf file containing lumped sum data for each catchment within NextGen hydrofabric. The script will also produce a single weight file from the ExactExtract module for the user to use as a reference for ExactExtract module's lumped sum calculations based on percent coverage for raster cells over a single catchment.
[Short description explaining the high-level reason for the pull request]
Additions

Removals

Changes

Testing

Screenshots
Notes

Todos

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist (automated report can be put here)

Target Environment support

[ ] Linux

@jduckerOWP Can you re-submit this script as a PR to https://github.com/NOAA-OWP/ngen-forcing please--I'd like to move these efforts over there while there in a higher state of flux/earlier state of development.

@mattw-nws I just created a PR for the new GitHub repository that you have created. We can go ahead and close this pull request here now.


Design: Token master list contract

Q: What is the best way to manage the configuration of this contract in a context of decentralised exponential growth network? Should we create a unified token master list contract, including Rainbow, Seeds and Hypha network native tokens? Or one list for Seeds and one for Hypha?
Challenge 1: The rainbow token master list can specify the use case - as in the dApp that needs to display the token. How and who will have authority to add a token in the master list? How new dApps register to be able to display their own token?
Challenge 2: Will communities using the DHO and Seeds create a native token + a rainbow Seeds? Or will they use one token across the board. How would the DHO then display this token? Integrate with the rainbow token master list?
A side question is: how will the multi-tenant native tokens be managed in the DHO? Will we have a contract similar to the rainbow contract and rainbow master list?
Note that this challenge will also be great in a multi-chains environment.

@n13 As agreed yesterday, we will use the rainbow token master list for now. These challenges will occur in the future but it is premature to address them now. Closing this task for now.

This use of "rainbow" terminology is confusing: the token master list contract provides a standalone metadata storage function that is not directly tied to the Rainbow token contract which provides tokens. So I would say "token master list" instead of "rainbow token master list".


login issue with cop_datapace provider

Hi!
It might be connected to the #770 or something else. But just in case I will leave that reference here.
I am getting credentials error when trying to download a file:
>>> dag.download_all(products_to_download)
2024-02-07 14:23:24,224 eodag.core                       [INFO    ] (tid=22444) Downloading 1 products
Downloaded products:   0%|                                                         | 0/1 [00:00<?, ?product/s]2024-02-07 14:23:24,224 eodag.download.base
[ERROR   ] (tid=22444) Stopped because of credentials problems with provider cop_dataspace

(..)
File "C:\Users\monikat\AppData\Local\miniconda3\envs\eodag\Lib\site-packages\eodag\plugins\authentication\base.py", line 50, in validate_config_credentials
    raise MisconfiguredError(
eodag.utils.exceptions.MisconfiguredError: The following credentials are missing for provider cop_dataspace: username, password

Here is the code:
from eodag import EODataAccessGateway, setup_logging

setup_logging(3)
dag = EODataAccessGateway(user_conf_file_path="C:/DataMT/cop_dataspace.yml")
dag.set_preferred_provider("cop_dataspace")

products_to_download_2023 = dag.search_all(
    start="2023-01-01",
    end="2023-05-31",
    productType="S2_MSI_L2A",
    geom= {"lonmin": 21.963867, "latmin": 43.539917, "lonmax": 29.241211, "latmax":  45.192261},
    cloudCover=51)
products_to_download = products_to_download_2023[0]
paths = dag.download_all(products_to_download)

and my yml looks like this:

# -*- coding: utf-8 -*-
# Copyright 2018, CS GROUP - France, https://www.csgroup.eu/
#
# This file is part of EODAG project
#     https://www.github.com/CS-SI/EODAG
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

cop_dataspace:
    priority: 2
    search:
    download:
        extract: true
        outputs_prefix: "N:/Test_EODAG/"
    auth:
        credentials:
            username<EMAIL_ADDRESS>            password: "TESTPASSWORD"

Obviously, I changed the username and password while posting here. The proper credentials are ok because I just used them in my tiny script to download Sentinel data via session.get() from "https://catalogue.dataspace.copernicus.eu/odata/v1/".
Is it an issue or did I just put credentials wrongly in the *.yml file? Thanks for understanding!
I created today a new conda environment with Python version: 3.11.7 and installed conda EODAG version: 2.11.0.

Hello @Rapsodia86 , thanks for submitting this issue. At first glance, there is nothing obvious causing this error. We will investigate and come back to you quickly

Hm... it looks like there must have been something else going on, with a server?
Because right now it works regardless of whether I have quotes or not! I tried using two different accounts and trying with & without quotes. All attempts were successful.
And previously, I could not have made a typo because the error would be 401.
So, I am not sure if a warning (https://github.com/CS-SI/eodag/pull/1022) is needed.
Sorry for this, I made many attempts before submitting that ticket.

Good news if everything works on your side now. I keep the documentation update because it is a good practice to avoid double-quotes around YAML stored passwords.

Thank you very much for all the help:)


Unsupervised learning on TU dataset.

Hi!
I'm trying to reproduce your AD-GCL results on TU-dataset (unsupervised learning). I could achieve nearly the same results as your paper reported. However, when I split the training process into two steps (AD_GCL for latent vector generation and using latent vector for linear classification (linear SVC). The result is bad enough (training : 65%, val and test: ~50%)). I wonder what is the difference between these two training strategies.
Thanks a lot

Thanks for your reply~
Yes. I have tried this way.  I would see the latent vector distribution, such as TSNE for visualization.(I thought this training strategy is nearly the same as your code). After self-supervised learning (AD-GCL), which doesn't introduce the label information. And I could obtain the latent vector (embeded dim x 1) for each graph. Then I train a linear SVC for the downstream task(supervised). But the performance is not good enough.

Hi, it would be great if you could be a specific. Which dataset? did you train linear svc at different epochs of AD-GCL training? What were the hyperparameters?

I have found the problem, I split the code into two stages and load the optimal model to generate latent vector for SVC. But actually the weight of AD-GCL changes as the SVC training. Is my expression correct? I have save the latent vector and then load the latent vector, then training SVC. The performance is getting close to your report. Thank you for your kind suggestion and your work is excellent~


TEST PR - [Hub Generated] please ignore.

If you are a MSFT employee you can view your work branch via this link.
Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-js

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/5532
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/5532/commits/89fa86dfa7672042bfbe153e6240ad8d3b916122

Automation for azure-sdk-for-java

Can one of the admins verify this patch?

@mozehgir Do you need this PR open or can we close it?


erro of findpaths.simpleRJava when running the cellcomm

hello,
I met an error when conducted the function findpaths.simpleRJava under the Tutorial to apply CellComm to spatial transcriptomics data. datasets i used were scRNA-seq datasets and i have changed the assay.type to 'RNA'. the error lists like this:
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'FlowNetwork_all_paths_subnet.txt': No such file or directory
i also debug this function , and found the error occurred in:
Create gml file.
subnet <- read.table('FlowNetwork_all_paths_subnet.txt', sep='	',
header = TRUE);
totalFlow <- read.table('FlowNetwork_all_paths_totalFlow.txt',
sep='	', header = TRUE);
while there is no related FlowNetwork_all_paths_subnet.txt or FlowNetwork_all_paths_totalFlow.txt in the file after running rJava::.jcall(jCC, returnSig = "V", method = "createFlowNetwork", filename, dir, top, cellSources, cellSinks, file)
thanks for helping

Hello, thanks for your interest in CellComm!
Could you please share with me a few lines of your script just before the
error? I would like to check how you are calling the function *cellnetworksPPI2
*and the remaining commands after it
Additionally, it is important that your cell type names do not have
underscores. Cell type names should be, for instance, Tcells instead of
T_cells. This is usually a source of errors in CellComm and we are working
to fix it and update github.
So, can you please let me know a few examples of your cell type names?
Thank you!
On Sat, 3 Sept 2022 at 13:43, verohan @.***> wrote:

hello,
I met an error when conducted the function findpaths.simpleRJava under the
Tutorial to apply CellComm to spatial transcriptomics data. datasets i used
were scRNA-seq datasets and i have changed the assay.type to 'RNA'. the
error lists like this:
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'FlowNetwork_all_paths_subnet.txt': No such file or
directory
i also debug this function , and found the error occurred in:
Create gml file.
subnet <- read.table('FlowNetwork_all_paths_subnet.txt', sep=' ',
header = TRUE);
totalFlow <- read.table('FlowNetwork_all_paths_totalFlow.txt',
sep=' ', header = TRUE);
while there is no related FlowNetwork_all_paths_subnet.txt or
FlowNetwork_all_paths_totalFlow.txt in the file after running
rJava::.jcall(jCC, returnSig = "V", method = "createFlowNetwork", filename,
dir, top, cellSources, cellSinks, file)
thanks for helping
—
Reply to this email directly, view it on GitHub
https://github.com/edroaldo/fusca/issues/16, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNJIRY3BT53QXMIF5YX5JDV4N52HANCNFSM6AAAAAAQD6YI7M
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello, thanks for your interest in CellComm! Could you please share with me a few lines of your script just before the error? I would like to check how you are calling the function cellnetworksPPI2 and the remaining commands after it Additionally, it is important that your cell type names do not have underscores. Cell type names should be, for instance, Tcells instead of T_cells. This is usually a source of errors in CellComm and we are working to fix it and update github. So, can you please let me know a few examples of your cell type names? Thank you!
…
On Sat, 3 Sept 2022 at 13:43, verohan @.> wrote: hello, I met an error when conducted the function findpaths.simpleRJava under the Tutorial to apply CellComm to spatial transcriptomics data. datasets i used were scRNA-seq datasets and i have changed the assay.type to 'RNA'. the error lists like this: Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'FlowNetwork_all_paths_subnet.txt': No such file or directory i also debug this function , and found the error occurred in: Create gml file. subnet <- read.table('FlowNetwork_all_paths_subnet.txt', sep=' ', header = TRUE); totalFlow <- read.table('FlowNetwork_all_paths_totalFlow.txt', sep=' ', header = TRUE); while there is no related FlowNetwork_all_paths_subnet.txt or FlowNetwork_all_paths_totalFlow.txt in the file after running rJava::.jcall(jCC, returnSig = "V", method = "createFlowNetwork", filename, dir, top, cellSources, cellSinks, file) thanks for helping — Reply to this email directly, view it on GitHub <#16>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNJIRY3BT53QXMIF5YX5JDV4N52HANCNFSM6AAAAAAQD6YI7M . You are receiving this because you are subscribed to this thread.Message ID: @.**>

thanks a lot. i reviewed the function cellnetworksPPI2 and found when running it, it also reported an error (traced back to cellnetworksPPI2 which stated that "no data available in table" in the intermediate process "el"). Having checked this function, it seems that i might use a wrong file, which corresponds to the variable “filename“ in the function creatPPI. (the file i used was 10090.mitab.05-29-2019.txt instead of 9606.mitab.05-29-2019_zcat.txt) I searched the file again and ran it successfully.

Hello, thanks for your interest in CellComm! Could you please share with me a few lines of your script just before the error? I would like to check how you are calling the function cellnetworksPPI2 and the remaining commands after it Additionally, it is important that your cell type names do not have underscores. Cell type names should be, for instance, Tcells instead of T_cells. This is usually a source of errors in CellComm and we are working to fix it and update github. So, can you please let me know a few examples of your cell type names? Thank you!
…
On Sat, 3 Sept 2022 at 13:43, verohan @.> wrote: hello, I met an error when conducted the function findpaths.simpleRJava under the Tutorial to apply CellComm to spatial transcriptomics data. datasets i used were scRNA-seq datasets and i have changed the assay.type to 'RNA'. the error lists like this: Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'FlowNetwork_all_paths_subnet.txt': No such file or directory i also debug this function , and found the error occurred in: Create gml file. subnet <- read.table('FlowNetwork_all_paths_subnet.txt', sep=' ', header = TRUE); totalFlow <- read.table('FlowNetwork_all_paths_totalFlow.txt', sep=' ', header = TRUE); while there is no related FlowNetwork_all_paths_subnet.txt or FlowNetwork_all_paths_totalFlow.txt in the file after running rJava::.jcall(jCC, returnSig = "V", method = "createFlowNetwork", filename, dir, top, cellSources, cellSinks, file) thanks for helping — Reply to this email directly, view it on GitHub <#16>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNJIRY3BT53QXMIF5YX5JDV4N52HANCNFSM6AAAAAAQD6YI7M . You are receiving this because you are subscribed to this thread.Message ID: @.**>

thanks a lot. i reviewed the function cellnetworksPPI2 and found when running it, it also reported an error (traced back to cellnetworksPPI2 which stated that "no data available in table" in the intermediate process "el"). Having checked this function, it seems that i might use a wrong file, which corresponds to the variable “filename“ in the function creatPPI. (the file i used was 10090.mitab.05-29-2019.txt instead of 9606.mitab.05-29-2019_zcat.txt) I searched the file again and ran it successfully.

Hello, thanks for your interest in CellComm! Could you please share with me a few lines of your script just before the error? I would like to check how you are calling the function cellnetworksPPI2 and the remaining commands after it Additionally, it is important that your cell type names do not have underscores. Cell type names should be, for instance, Tcells instead of T_cells. This is usually a source of errors in CellComm and we are working to fix it and update github. So, can you please let me know a few examples of your cell type names? Thank you!
…
On Sat, 3 Sept 2022 at 13:43, verohan @.> wrote: hello, I met an error when conducted the function findpaths.simpleRJava under the Tutorial to apply CellComm to spatial transcriptomics data. datasets i used were scRNA-seq datasets and i have changed the assay.type to 'RNA'. the error lists like this: Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'FlowNetwork_all_paths_subnet.txt': No such file or directory i also debug this function , and found the error occurred in: Create gml file. subnet <- read.table('FlowNetwork_all_paths_subnet.txt', sep=' ', header = TRUE); totalFlow <- read.table('FlowNetwork_all_paths_totalFlow.txt', sep=' ', header = TRUE); while there is no related FlowNetwork_all_paths_subnet.txt or FlowNetwork_all_paths_totalFlow.txt in the file after running rJava::.jcall(jCC, returnSig = "V", method = "createFlowNetwork", filename, dir, top, cellSources, cellSinks, file) thanks for helping — Reply to this email directly, view it on GitHub <#16>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNJIRY3BT53QXMIF5YX5JDV4N52HANCNFSM6AAAAAAQD6YI7M . You are receiving this because you are subscribed to this thread.Message ID: @.**>

thanks a lot. i reviewed the function cellnetworksPPI2 and found when running it, it also reported an error (traced back to cellnetworksPPI2 which stated that "no data available in table" in the intermediate process "el"). Having checked this function, it seems that i might use a wrong file, which corresponds to the variable “filename“ in the function creatPPI. (the file i used was 10090.mitab.05-29-2019.txt instead of 9606.mitab.05-29-2019_zcat.txt) I searched the file again and ran it successfully.

Hello, thanks for your interest in CellComm! Could you please share with me a few lines of your script just before the error? I would like to check how you are calling the function cellnetworksPPI2 and the remaining commands after it Additionally, it is important that your cell type names do not have underscores. Cell type names should be, for instance, Tcells instead of T_cells. This is usually a source of errors in CellComm and we are working to fix it and update github. So, can you please let me know a few examples of your cell type names? Thank you!
…
On Sat, 3 Sept 2022 at 13:43, verohan @.> wrote: hello, I met an error when conducted the function findpaths.simpleRJava under the Tutorial to apply CellComm to spatial transcriptomics data. datasets i used were scRNA-seq datasets and i have changed the assay.type to 'RNA'. the error lists like this: Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'FlowNetwork_all_paths_subnet.txt': No such file or directory i also debug this function , and found the error occurred in: Create gml file. subnet <- read.table('FlowNetwork_all_paths_subnet.txt', sep=' ', header = TRUE); totalFlow <- read.table('FlowNetwork_all_paths_totalFlow.txt', sep=' ', header = TRUE); while there is no related FlowNetwork_all_paths_subnet.txt or FlowNetwork_all_paths_totalFlow.txt in the file after running rJava::.jcall(jCC, returnSig = "V", method = "createFlowNetwork", filename, dir, top, cellSources, cellSinks, file) thanks for helping — Reply to this email directly, view it on GitHub <#16>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNJIRY3BT53QXMIF5YX5JDV4N52HANCNFSM6AAAAAAQD6YI7M . You are receiving this because you are subscribed to this thread.Message ID: @.**>

thanks a lot. i reviewed the function cellnetworksPPI2 and found when running it, it also reported an error (traced back to cellnetworksPPI2 which stated that "no data available in table" in the intermediate process "el"). Having checked this function, it seems that i might use a wrong file, which corresponds to the variable “filename“ in the function creatPPI. (the file i used was 10090.mitab.05-29-2019.txt instead of 9606.mitab.05-29-2019_zcat.txt) I searched the file again and ran it successfully.


Little improvements

Add profiles in pom.xml to disable tests (Currently not working)
Override toString method in PayIn and Transfer objects to show Id and status
Add method in Transaction to get ResultCode in Integer format
Add method in Transaction to get if Transaction is failed

Hey @blackleg, couple of feedbacks/queries:

What is the purpose of your toString()  for the transactions - it seems a little niche to your application isn't it? Or at least, why don't you output all the transaction parameters
Why don't you add a similar method for payouts?
Related to the previous two points, why not limit the ouputted parameters to generic transaction ones, and then include the function in the generic transaction class?
The ResultCode parameter should not be considered an integer (as already in some cases, it's not numbers - for Disputes for example)

Hi @hobailey:

The purpose of toString in only for debug objects, to show a minimal info about transfers and payins.
I don't add this method in payouts because currently I am not working in  develop this part in my application.
I don't add this in transaction class to differentiate when is a transfer or is a payin.
I change the resultCode to String in a future commit to fix it.

Hey, thanks for the responses. Here are few more queries :-)

OK for the debugging
I don't agree with updating the SDK just for your needs I'm afraid ;-) If you'd like this to be included, please allow to be more generic, and included in the transaction class
Why can't you use the Type parameter to determine this?
Thanks for the commit update


Add several grammatical updates to style guide, as well as a terminology update on pose/binding mode.

Thanks, Pavan!


bug: mobile app replace EventDetailsControllers $location with $state

In the EventDetailsController instead of updating the url using $location.url, it should use $state.go instead like the EventListController does

I am working on this


For English whites, I hope to add Chinese language

Thanks! You're very welcome to do so, i think I'll setup a translations platform after merging #9, i suggest please wait until then, I'll give you the translations platform link for the project afterwards.

I've set-up translations project at Poeditor for the app, you can follow the link and get started with your translations now.


database_cleaner missing gem, still fails on strategy

After a rails generate cucumber:install on Rails 3.0.6, cucumber-rails 0.4.1, Ruby 1.9.2p180, OS X 10.6.7, I get the following with "rake cucumber":
You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it. (RuntimeError)
/Users/jay/src/tiptap/2t2/features/support/env.rb:37:in `rescue in <top (required)>'

Once I add database_cleaner to the Gemfile, I instead get:
  undefined method `connections' for DatabaseCleaner:Module (NoMethodError)
  /Users/jay/.rvm/gems/ruby-1.9.2-p180/gems/cucumber-rails-0.4.1/lib/cucumber/rails/hooks/database_cleaner.rb:8:in `Before'

and
  Please set a strategy with DatabaseCleaner.strategy=. (DatabaseCleaner::NoStrategySetError)
  /Users/jay/.rvm/gems/ruby-1.9.2-p180/gems/database_cleaner-0.5.2/lib/database_cleaner/configuration.rb:82:in `strategy'
  /Users/jay/.rvm/gems/ruby-1.9.2-p180/gems/database_cleaner-0.5.2/lib/database_cleaner/configuration.rb:69:in `start'
  /Users/jay/.rvm/gems/ruby-1.9.2-p180/gems/cucumber-rails-0.4.1/lib/cucumber/rails/hooks/database_cleaner.rb:30:in `Before'

The default env.rb does set a strategy:
begin
  DatabaseCleaner.strategy = :transaction
rescue NameError
  raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
end

I'm not sure how to proceed. I'm using PostgreSQL on dev and production, but SQLite3 on test.

my database_cleaner is not working. So what i have to do now?
I include gem database_cleaner in gemfile and include in env.rb also
"begin
require 'database_cleaner'
require 'database_cleaner/cucumber'
DatabaseCleaner.strategy = :transaction
rescue NameError
raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
end
"
after that my database_cleaner is not working...

@singh08avinash  What does the gem "database_cleaner" area of your Gemfile look like?


refactor(cherow): WIP: fixes statement parsing

This fixes the statement parsing. Failing and non-failing cases.
Note: This PR also fixes issues found in both the Esprima and Acorn issue tracker.

Coverage increased (+0.4%) to 92.539% when pulling a525f9f88be4ac7f7190178aa8070bec55310df3 on stable into 25ab7c5cd342be8b45203a33051e7b65e3018bdf on master.

Merging this now. It's too huge. Directive and some minor statement refactoring in a separate PR.


The port in "juju status" output cannot be changed after the deployment

Even if you will do a juju config prometheus advertised-port=...., it will change in reality, but the juju status will not be aware of that.
Potentially, can be addressed by https://github.com/canonical/operator/issues/179, but since open-port is not available in the k8s charms, might be a deeper problem to investigate.

Actually, config-changed should be re-creating the pod, thus the Port value will be up-to-date.
Closing this as a duplicate of #7.

Duplicate of #7


Alias "amber" to "yellow" for American users

When teaching with gpiozero at Picademy USA, I discovered that they commonly refer to the middle light as "yellow", rather than "amber".
I suggest we add an alias for this.
@mrichardson23

And interestingly, all the "traffic lights" boards which gpiozero supports actually have yellow LEDs ;-)
https://en.wikipedia.org/wiki/Traffic_light mentions both amber and yellow.

@mrichardson23 FYI this is now released


Rename DomAttributed typo to DomAttributes.

Removing extra lines for nicely sectionized .d.ts.

This seems fine to me, but I don't really have the context to know why it was called that in the first place. @kruczy might.


Patch mkl_serv_intel_cpu() to speed up MKL on AMD CPUs

Per https://www.agner.org/optimize/blog/read.php?i=49#1022 and https://danieldk.eu/Posts/2020-08-31-MKL-Zen.html patching int mkl_serv_intel_cpu() to return 1 will cause MKL to run significantly fast under AMD CPUs. The link provides background information.
Is it possible to patch this out-of-the-box in the tensorflow-mkl package?
Note: I am not associated with the authors of these blogs. I am just a TensorFlow end-user with an AMD processor.

@cowwoc Thank you share the info.
But the method is not official proposal and not verified fully.
It could make the special function to be improved for performance, but there would be potential risk of Tensorflow functions and performance.
Intel and AMP CPU always have difference. It's possible to cheat MKL to speed up one function. But it's also possible to trigger MKL run hardware related code in wrong CPU, and make mistake/crash.
So, we don't recommend to use this method in official product.
Thank you!

So, excuse me for pointing this out but... you work for Intel so there is a conflict of interest here.
The web is full of online reports of people using MKL_DEBUG_CPU_TYPE=5 to fool MKL into thinking that it's running on an Intel CPU and performance improved by 30%-300% (e.g. https://www.reddit.com/r/MachineLearning/comments/f2pbvz/discussion_workaround_for_mkl_on_amd/)
The aforementioned workaround was disabled by Intel in a subsequent release but the principal remains the same.
I propose patching this function to return a value that can be overridden using an environment variable (same concept as MKL_DEBUG_CPU_TYPE=5) and let people experiment with it. If enough people report that it works for them and is stable (which seems to have been the case in the past) then we can flip the default value.

@cowwoc Yes, I'm working for Intel. :)
The MKL and Tensorflow-MKL are contributed by Intel.
They are only designed for and verified on Intel CPU.
It's unknown the result of running on other CPUs.
So, other CPUs are out of our scope.

@cowwoc  Thank you for submitting the issue. The support for MKL in Tensforflow-mkl was removed late last year and is no longer supported as of TF2.4. (https://github.com/tensorflow/tensorflow/pull/43586). It has been replaced by oneDNN which is opensourced at https://github.com/oneapi-src/oneDNN. You can submit a patch to oneDNN on github.

Thank you for the clarification. Closed in favor of https://github.com/oneapi-src/oneDNN/issues/1056.

@cowwoc Thank you!


update homebrew installation instructions

Rich-CLI is now in homebrew-core: https://github.com/Homebrew/homebrew-core/pull/94616

The instructions have been updated to install rich in light of https://github.com/Homebrew/homebrew-core/pull/97632

Thanks!


Update documentation

Add more documentation, updating the design-decisions doc and examples. Also cleaning up the README file.

Only updating doc files, thus merged them without CI pass.


Blank Upgrade Planner does not upgrade buildings

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[X] Other

What is the problem?
Default Upgrade Planner does not upgrade py buildings. It can be added as en entry inside, but does not work blankly.

Steps to reproduce

Place building down
Grab blank upgrade planner
Drag over building
See no Py building is upgraded

Additional context
No response
Log file
No response

fixed in pypp 3.0.14


Auto Promotion Takes long time after a new freight is created

Checklist

[v] I've searched the issue queue to verify this is not a duplicate bug report.
[v] I've included steps to reproduce the bug.
[v] I've pasted the output of kargo version.
[v] I've pasted logs, if applicable.

Description
After A new freight is created by the warehouse, it takes a long time for the auto-promote mechanism to trigger and promote to the relevant stage.
it takes around 10 min to auto promote a new freight
Screenshots
Current State:

New frieght detected:

auto promote happened:

Steps to Reproduce

Logs
kargo-controller-74bdd7d5c5-kx7gr-controller (1).log

Thanks @tal-hason!

Closing this in favor of #1157 which describes both the issue and fix succinctly and classifies this as an enhancement rather than a bug.


Spec Factories

What should have happened? (expected results)
FactoryBot.define do
  factory :whevever_active_record do
    sequence # this should be from database

:100:

I have no idea what the issue is here, please clarify


Configuration of the model parallelism does not make sense

Hi
I have read the model parallel configuration, and I think this configuration conflicts with the tensor parallelism requirement, where GPUs in the same group must share parts of the model. With the given configuration, the tensor parallelism groups [g0, g1], [g2, g3], [g4, g5], [g6, g7] cannot exist.
I think the solution is to update the model parallelism groups are set as [g0, g1 g2, g3], [g4, g5, g6, g7].This ensures compatibility with the tensor parallelism configuration.
Thanks

Hi
Thanks for your answer.
As you know this is the definition of model parallelism.
Model parallelism means that each computational node is responsible for parts of the model by training the same data samples.
And the tensor parallelism slices each layer and distributes the chunks into multiple GPUs.
So if we want to do tensor parallelism between two GPUs, these two GPUs should have the same part of the model and then computation is divided between them.
I thought the comment in stats_parallel.py file is wrong. because as you mentioned in this comment in python file , the set of GPUs that a tensor is split between them do not share the same part of the model. So if the tensor parallel groups are [g0, g1], [g2, g3], [g4, g5], [g6, g7], the model parallelism groups can be [g0, g1 g2, g3], [g4, g5, g6, g7]. With this model parallel groups [g0, g2, g4, g6], [g1, g3, g5, g7], the tensor parallel can not be [g0, g1], [g2, g3], [g4, g5], [g6, g7], because these GPUs in four groups do not share the same part of the model. For example g0 and g1 do not have the same part of the model so the computation can not be divided between them.
Thanks you in advance


Unable to download pretrained weights from pan.baidu.com

Hi,
Thanks for the excellent repo. I am not able to download from pan.baidu.com, Is it possible in any way to provide pre-trained weights in google drive?

Hi harishkool,
Thanks for your attention!
I am uploading the models to google drive but it will take some time. I will update this repo after it is finished.

Hi,
Is there any update on the pre-trained weight availability from google drive?

Hi,
Sorry for the late update.  In fact I have uploaded the weight files to Google Drive, but I haven't had time to update the links.  It is going to be updated in two weeks.

Hi,
I have upated the links to the pretrained weights saved in Google Drive.


[BEAM-4086]: KafkaIO tests:  Avoid busy loop in MockConsumer.poll(), reduce flakes.

Add 10 millis sleep when there are no elements left in a partition. MockConsumer.poll() does not actually respect 'timeout' argument, and as result 'cosumerPollLoop() in KafkaIO kept spinning once all the records are read.
In addition, this seems to avoid flakes in testUnboundedSourceWithoutBoundedWrapper() (BEAM-4086).

+R: @iemejia.

+R: @XuMingmin


DHCPCD ver. 9.5.2-2 On Oracle Linux 7.9 Showing Permission Denied

Hi Roy,
I have installed dhcpcd rpm package ver 9.5.2-2 on my machines using EPEL repository for Oracle Linux 7. On one machine, I am able to run this version without any issues. However on two other machines also with Oracle Linux 7, I am getting the following errors:
Jan 20 02:25:17 sca05-0a81e7d4 dhcpcd[25111]: dhcpcd is not running
Jan 20 02:25:21 sca05-0a81e7d4 dhcpcd[25115]: dhcpcd-9.5.2 starting
Jan 20 02:25:21 sca05-0a81e7d4 dhcpcd[25115]: setrlimit RLIMIT_FSIZE: Permission denied
Jan 20 02:25:21 sca05-0a81e7d4 dhcpcd[25115]: setrlimit RLIMIT_NPROC: Permission denied
Jan 20 02:25:21 sca05-0a81e7d4 dhcpcd[25118]: ps_root_startcb: dhcp_openraw: Permission denied
Jan 20 02:25:21 sca05-0a81e7d4 dhcpcd[25118]: udev_monitor_new_from_netlink: Permission denied
Can you tell me why there is this discrepancy? How do I get around this? I have to use kill -9 on the dhcpcd process to bring my machine back to the bash prompt.
FYI, for any machine with Oracle Linux 8, EPEL repository comes bundled with version 10 of dhcpcd, which works perfectly fine.
Another thing, Oracle Linux runs on RHEL in case you didn't know.

For the bundled dhcpcd-10, does it come with privsep support enabled?`
At a rough guess, I suspect the libc is newer than what dhcpcd expects. Does dhcpcd-10 work on oracle linux 7?
Sorry for the late reply btw, I didn't see this until now.


pub sub retry when service instance is not initialized

@andrii33  can you please update the quadro version and changelog as well

It looks like a hack to me. No message should be acknowledged/rejected until the processor is initialized.
Or I didn't understand the intent of it?

@igorshapiro All the dead messages from m2adapter being without retries and without last error. The only one place where we do not add the error is one that I changed in the quadro 1.0.8 version.
From the dead messages graph, I see that we removing messages with some period.
Do we reinitialize services with some period in quadro?

@ankurjain86 Updated

@igorshapiro For some reason right now messages are starting to be processed before the handler is initialized, and current code just sends those message straight to dead queue.
This fix won't solve the messages being processed too early, but it will make sure that they are retried later instead of going to dead queue


Adding support for Ecto.Date & cleaning up documentation.

This makes it so that Timex.Ecto.Date.load can handle an Ecto.Date or an erl date.
Cleaned up the documentation for the function, and added the doctest to the Timex.Ecto.Date.Test module.

Looks great! I'll publish a new release ASAP


[docs] Broken website links

The following links are broken in the docs:

Configuration > first link
Usage > first link
Vue Instantsearch > first link
DocSearch > third link
Crawler > first link -> to substitute probably with Nuxt > Guide > Concepts > Rendering Modes
Crawler > second link

Hey,
Thanks for crating an issue. It seems that both Nuxt 3 and Algolia have changed their structure of docs. I will fix it right after I will be back from holidays (next week)


Discord Rich Presence

Candidates:
https://github.com/thirteen-io/Discord-RPC-DotNet
https://github.com/Lachee/discord-rpc-csharp (doesn't work on .NET Framework 2.0)

Neither would work on 2.0 as it seems, and while discord-rpc-csharp would work on 3.5 there aren't any binaries up. Might have to wait for other options or upgrade. Stashing this for now.


Deno Deploy build fails (Nuxt 3.6.2)

Environment
- Operating System: Linux
- Node Version:     v18.16.1
- Nuxt Version:     3.6.2
- Nitro Version:    2.5.2
- Package Manager<EMAIL_ADDRESS>- Builder:          vite
- User Config:      devtools, modules, ui
- Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>- Build Modules:    -

Reproduction
Build any Nuxt project with the Nitro Deno Deploy preset. (This is reproducable with a project created with nuxi create with 0 changes)
Describe the bug
Builds fail with the following error:
 ERROR  "https://deno.land/std/http/server.ts" cannot be included in manualChunks because it is resolved as an external module by the "external" option or plugins.   21:33:30

  at error (node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
  at Bundle.assignManualChunks (node_modules/rollup/dist/es/shared/node-entry.js:17761:28)
  at Bundle.generateChunks (node_modules/rollup/dist/es/shared/node-entry.js:17793:20)
  at Bundle.generate (node_modules/rollup/dist/es/shared/node-entry.js:17707:39)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async node_modules/rollup/dist/es/shared/node-entry.js:26565:27
  at async catchUnfinishedHookActions (node_modules/rollup/dist/es/shared/node-entry.js:25698:16)
  at async _build (node_modules/nitropack/dist/shared/nitro.7a525996.mjs:2316:5)
  at async node_modules/nuxt/dist/index.mjs:2572:7
  at async build (node_modules/nuxt/dist/index.mjs:3721:5)

Additional context
May be related to the issue described in #22127, but this also happens in Nuxt 3.6.1 and 3.6.0 (I didn't check older versions).
Logs
No response

I don't believe this is related to Nuxt; it seems to be a purely Nitro issue.

The issue seems to be further upstream and seems to be a bug in rollup (It works in older rollup versions), I'll open up a report there.

Fixed via https://github.com/rollup/rollup/pull/5068 as part of<EMAIL_ADDRESS>and https://github.com/unjs/nitro/pull/1438 as part of<EMAIL_ADDRESS>