feature request: MaxPool gradient of a gradient

MaxPool gradient of a gradient is not supported as determined in https://github.com/fchollet/keras/issues/4694, which means that examples work in keras with the theano backend but not with the TensorFlow backend. I believe the relevant place where the op is registered is at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/nn_grad.cc#L153.
From the keras issue:
I successfully ran python mnist_cnn.py from https://github.com/fchollet/keras/commit/7e2e7a5e5a43443122df0b497f88dd77fd3bfc7c on my GTX1080 with a TensorFlow R0.12rc0 backend. I then ran python mnist_swwae.py  and got the following failure:
~/src/keras/examples on master
± python mnist_swwae.py
Using TensorFlow backend.
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so.8.0 locally
X_train shape: (60000, 1, 28, 28)
60000 train samples
10000 test samples
Traceback (most recent call last):
  File "mnist_swwae.py", line 136, in <module>
    y = MaxPooling2D(pool_size=(pool_sizes[i], pool_sizes[i]))(y_prepool)
  File "/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py", line 517, in __call__
    self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
  File "/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py", line 571, in add_inbound_node
    Node.create_node(self, inbound_layers, node_indices, tensor_indices)
  File "/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/engine/topology.py", line 155, in create_node
    output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
  File "/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/layers/pooling.py", line 158, in call
    dim_ordering=self.dim_ordering)
  File "/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/layers/pooling.py", line 207, in _pooling_function
    border_mode, dim_ordering, pool_mode='max')
  File "/usr/local/lib/python2.7/dist-packages/Keras-1.1.2-py2.7.egg/keras/backend/tensorflow_backend.py", line 1853, in pool2d
    x = tf.nn.max_pool(x, pool_size, strides, padding=padding)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/nn_ops.py", line 1617, in max_pool
    name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_nn_ops.py", line 1598, in _max_pool
    data_format=data_format, name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2242, in create_op
    set_shapes_for_outputs(ret)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1617, in set_shapes_for_outputs
    shapes = shape_func(op)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1568, in call_with_requiring
    return call_cpp_shape_fn(op, require_shape_fn=True)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py", line 610, in call_cpp_shape_fn
    debug_python_shape_fn, require_shape_fn)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py", line 675, in _call_cpp_shape_fn_impl
    raise ValueError(err.message)
ValueError: Negative dimension size caused by subtracting 2 from 1 for 'MaxPool' (op: 'MaxPool') with input shapes: [?,1,32,8].
-> [1]

The basic issue (not actually reflected by the error message above) is that the example script is creating a loss that depends on the gradient of some operations. This causes the computation of a gradient of a gradient, which isn't supported for the MaxPool operations (and possible other operations as well).
Error message:
  File "/Library/Python/2.7/site-packages/Keras-1.1.2-py2.7.egg/keras/optimizers.py", line 62, in get_gradients
    grads = K.gradients(loss, params)
  File "/Library/Python/2.7/site-packages/Keras-1.1.2-py2.7.egg/keras/backend/tensorflow_backend.py", line 1144, in gradients
    return tf.gradients(loss, variables, colocate_gradients_with_ops=True)
  File "/Library/Python/2.7/site-packages/tensorflow/python/ops/gradients_impl.py", line 459, in gradients
    (op.name, op.type))
LookupError: No gradient defined for operation 'gradients/MaxPool_grad/MaxPoolGrad' (op type: MaxPoolGrad)

This is a duplicate of #6143

closed in favor of #6413


Remove policy that violates privacy

Description
It's bad enough that one needs to create a whole separate account with Space Wizards Federation, but when creating that account it demands your E-mail address without any legitimate reason, threatening: 'Do not sign up with "temporary" or "burner" email addresses. Your account may be banned if you do.' What bizarre and evil privacy violation. And there's no good reason for it either. If you're going to force people to sign up, then at least just let them use temp mail.
Reproduction
https://central.spacestation14.io/web/Identity/Account/Register

raiders use temp mail to create accounts en masse is why. if you dont want to sign up with an email just dont play

We have plans to add auto steam account creation in the future, but until then it's very hard to stop raider/spammers from signing up without also banning burner emails.

are you a 17th century pirate


Switch Mechanic via Object Trigger via Walking through "Mirror", should change player state to allow them to be theroetically the "second player" allowing them to remove their obstacles

#19 Depends on this


Linmos parset already exists

I've noticed in some cases in the prefect continuum flow that the linmos task can be rerun by prefect should it detect something went wrong.
In such a case there is an aserting statement to guarantee that the parset files does not exist. It is becoming a hindrance more than help
It shall be deleted

Add a hot fix here with 309cc51
The larger question is why this behavior has started to show itself again. I want to say some strange platform issue with petrichor but will look into later.
The alternative approach to overwriting like I am here is to just return the parset path.


Add AzureCloudFoundryEnvironmentPostProcessorTests

Codecov Report

Merging #371 into master will increase coverage by 2.15%.
The diff coverage is 88.88%.

@@             Coverage Diff              @@
##             master     #371      +/-   ##
============================================
+ Coverage     50.32%   52.47%   +2.15%
- Complexity      426      443      +17
============================================
  Files           124      124
  Lines          1977     1976       -1
  Branches         97       97
============================================
+ Hits            995     1037      +42
+ Misses          919      875      -44
- Partials         63       64       +1

Impacted Files
Coverage Δ
Complexity Δ

...oud/autoconfigure/cloudfoundry/AzureCfService.java
100% <100%> (+100%)
5 <1> (+5)
:arrow_up:

...dry/AzureCloudFoundryEnvironmentPostProcessor.java
75.86% <83.33%> (+75.86%)
7 <0> (+7)
:arrow_up:

...onfigure/servicebus/AzureServiceBusProperties.java
100% <0%> (+40%)
8% <0%> (+3%)
:arrow_up:

.../autoconfigure/storage/AzureStorageProperties.java
100% <0%> (+42.85%)
5% <0%> (+2%)
:arrow_up:

Continue to review full report at Codecov.

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


Support for animated stickers

New attribute: botogram.Sticker.is_animated

Waiting for official Telegram documentation!

Support added today in Bot API 4,4


Add Hudi changes for Presto MOR query support

Adds the necessary changes to hudi for support of presto querying hudi
merge-on-read table's realtime view.
To see the associated follow-up changes in Presto, please see this branch.
https://github.com/bschell/presto/commit/a3fb658c1cd70fd72f0a3021b3d994fe383303aa
Brief change log

Add @UseRecordReaderFromInputFormat annotation for HoodieParquetRealtimeInputFormat

Verify this pull request
Tested with associated Presto patch to successfully query hudi MOR realtime tables.
hudi-hadoop-mr tests pass

Codecov Report

Merging #1578 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1578      +/-   ##
============================================
+ Coverage     71.81%   71.85%   +0.03%
  Complexity      294      294
============================================
  Files           385      385
  Lines         16542    16542
  Branches       1661     1661
============================================
+ Hits          11880    11886       +6
+ Misses         3932     3925       -7
- Partials        730      731       +1

Impacted Files
Coverage Δ
Complexity Δ

...oop/realtime/HoodieParquetRealtimeInputFormat.java
72.34% <ø> (ø)
0.00 <0.00> (ø)

...src/main/java/org/apache/hudi/metrics/Metrics.java
67.56% <0.00%> (+10.81%)
0.00% <0.00%> (ø%)

...g/apache/hudi/metrics/InMemoryMetricsReporter.java
80.00% <0.00%> (+40.00%)
0.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

@bschell Thanks for your contribution. It would be better  to file a jira issue to track this work. More details, please refer to Hudi's contribution guide: http://hudi.apache.org/community.html#contributing

@bschell Thanks for your contribution. It would be better to file a jira issue to track this work. More details, please refer to Hudi's contribution guide: http://hudi.apache.org/community.html#contributing

I suppose this is tracked under - https://issues.apache.org/jira/browse/HUDI-305.
@bschell  can you reassign that Jira to yourself and also change the title of this PR to start with [HUDI-305] ?

Thanks for taking a look and sorry about the title. I completely spaced on adding [HUDI-305], just added.

LGTM. merging this.


Note that stats are collected on table creation

Fixes #4894.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/7a7ecb85a874fc4228988a6e549f11c468c8e3d2/
Edited pages:

v19.2/cost-based-optimizer.md

@rytaft it's a small change but I don't want to introduce a subtle error in the language.  PTAL at your convenience.

TFTR Becca!


java_import_external/scala_import_external

Use deps for external dependencies, rather than exports.
This plays well with strict compilation.
java_import_external (plus mods by rules_scala folk) is the tentative consensus around pulling in external dependencies.

@jjudd


cli: Allow build to skip building the image

This change allows the user to build the go and the dockerfile but not run
any command to build the image. They can use the executable or an
unsupported image builder to build the image.
I know there has been reluctance to do this because the makefile based system will fix this, but that hasn't been done yet, and this is quite a small change to achieve the desired effect.
Closes #2568

I know this is still failing CI - I'll have to look at it later as it's not clear to me what test is failing

I'm happy with it being sensible and implementing --skip-image properly now, and it's passing tests again.

Hi @Joibel for me all is ok just one nit. Could you please accept/update the changelog entry such as suggested?
Otherwise, it is /lgtm for me.
@joelanford @hasbro17 wdyt?

Yes, sorry, missed that one before. All done.

I'd rather detect whether an image tag arg was passed to operator-sdk build, and if not then just build the binary and log its path. However this is a breaking change and --skip-image is not.
While I'd rather not change the CLI for build now, this is a nice-to-have feature.

This was what I had for a previous patch set - @camilamacedo86 are you happy for me to do this too?

@Joibel keep your changes for now. I think we can merge this as-is and revisit how we want to handle building without image builds later since it isn't a breaking change. @hasbro17 sounds good?

Hi @Joibel,
Shows that it is missing a rebase and small, tiny nits for we are able to merge it.
@estroz and @hasbro17 are ok with the solution, so after that we can merge it.

Commenting late with a little devil's advocate: this new option turns operator-sdk build into just a wrapper around go build. Is the command providing value at that point? Why would I want to run operator-sdk build --skip-image ... instead of just go build ...?

Hi @mhrivnak,

Commenting late with a little devil's advocate: this new option turns operator-sdk build into just a wrapper around go build. Is the command providing value at that point? Why would I want to run operator-sdk build --skip-image ... instead of just go build ...?

To scaffold the files but not build the image which shows helpful to support other options. @Joibel could you please provide here your input and let us know if it still required for you as an add a scenario how and when it is valid?

HI @Joibel,
I just checked that it was requested and deferred in the past. See https://github.com/operator-framework/operator-sdk/pull/1600.
Also, you can check in https://github.com/operator-framework/operator-sdk/issues/2568 all information provided over how it works to allow you to create your makefile target.
Sorry, for the inconvenience but I am closing this one. Please, feel free to re-open and ping us if you still think that this PR would be required and really thank your for your contribution with.


No member type on newly registered tester - missing badge; can join groups across networks

[x ] Add to an appropriate Epic.

Tester (if different from issue creator): Anne
Site: MLA Commons
URL: mla.hcommons.org
Test Account: HCTester10
Area (CORE, sites, profiles, groups, general): network membership
If issue discovered on dev, does it also exist on prod?
Describe the issue
I registered successfully as HCTester10 via MLA Commons (implying that I have active MLA membership).
However, I don't have an MLA badge on the profile.
I am able to join MLA Commons groups.
But I am also able to join groups on CAA, MSU, and SAH Commons, where according to the tester spreadsheet, I shouldn't have membership.
On UP Commons, I saw the "Join" buttons but the button never completed its action, just had a circle animation.
To Reproduce
Steps to reproduce the behavior:

Register a test user with society membership and check member type on wp-admin/network/users
If none, try to join groups on society commons. (Note that because of the comanage quirk, you don't remain logged in across networks and you have to log in at each.)
Check avatar for society badges.

Expected behavior
The tester should have badges to indicate society/institution membership and the tester should not be able to join groups in networks where they do not have membership. Instead, they should see grayed out boxes.
Screenshots
If applicable, add screenshots to help explain your problem.
Optional details, if they seem relevant
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Seems like multiple issues:
Grouper sync did not happen, the ldap record in registry is incorrect. In fact, hctester10 has no isMemberOf records and should have no access.
Any access currently granted to hctester10 seems "incorrect"

It seems like hctester10 has the right groups on dev and doesn't exist on prod.
CO Person record on dev: https://registry.hcommons-dev.org/registry/co_people/canvas/124895
When I registered a random account on MLA-dev it was rejected.
I registered Ferdinand Test (hctester40) through MLA-dev, they were registered successfully. They lack badges like hctester10 and can access groups like hctester10. They are an active member of MLA on their CO Person record: https://registry.hcommons-dev.org/registry/co_people/canvas/124902
So is this just a problem of the badges not showing correctly?

No, tester10 did not get synced by grouper. There are no isMemberOf attributes. Here is the ldap:
ssh dev_registry
ldapsearch -LLL -H ldapi:/// -D uid=comanage,ou=system,o=HC,dc=commons,dc=mla,dc=org -x -w XXXX -b ou=people,o=HC,dc=commons,dc=mla,dc=org "(employeeNumber=hctester10)"
dn: employeeNumber=hctester10,ou=people,o=HC,dc=commons,dc=mla,dc=org
sn: Test
cn: Barty Test
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: eduPerson
objectClass: voPerson
objectClass: eduMember
title: Graduate Student, Russian Literature
givenName: Barty
o: University Of Iowa
mail<EMAIL_ADDRESS>employeeNumber: hctester10
employeeType: member
uid<EMAIL_ADDRESS>eduPersonAffiliation: member
voPersonApplicationUID: 10002
voPersonApplicationUID: hctester10
voPersonApplicationUID: hc75396826
voPersonStatus: Active
I went to dev grouper to kick off the sync with these steps:
ssh dev_grouper
cd /opt/grouper/grouper.apiBinary-2.2.2
/opt/grouper/grouper.apiBinary-2.2.2$ sudo -u tomcat6 MEM_MAX=2048m ./bin/gsh.sh -psp -sync hctester10
ldap now looks like this
admin@ip-10-98-11-244:~$ ldapsearch -LLL -H ldapi:/// -D uid=comanage,ou=system,o=HC,dc=commons,dc=mla,dc=org -x -w XXX -b ou=people,o=HC,dc=commons,dc=mla,dc=org "(employeeNumber=hctester10)"
dn: employeeNumber=hctester10,ou=people,o=HC,dc=commons,dc=mla,dc=org
sn: Test
cn: Barty Test
...
isMemberOf: Humanities Commons:HC:members_HC
isMemberOf: Humanities Commons:MLA:members_MLA
isMemberOf: Humanities Commons:members
HOWEVER, that is not enough! the WP record does not have the HC and MLA member types. In PROD, there is a process to run to add member_type whih controls badge. In DEV I usually just delete and enroll again. I'll update this one in dev to show what happens if a user gets fixed.

ubuntu@hcommons-dev:~/utils/migration$ wp --url=hcommons-dev.org eval-file parse_mla_userlist_fix_type.php fix_hctester10.csv

Long term fixes:
remove grouper
enable member type maintenance (multiple values) in wp-admin/network/users

HCTester10 seems to be behaving well! Has MLA badge, can join MLA groups but not groups in other networks. I see the expected logged-in non-member view on UP, SAH, etc.
Account was removed from the Ask UP site, correctly, I think, as it doesnt have UP Commons access.
However, hctester10 remains a member of the groups joined when there was no member type on the account, on MSU, UP, SAH, CAA. This may be a current problem on prod too (based on expired MLA members no longer with MLA Commons access but remaining in MLA groups).
The spreadsheet indicates this tester should have ARLIS but is not recognized as a member of ARLIS NA Commons. Not sure if that's a concern or not.

re: removing users from society groups when no longer a member: https://app.zenhub.com/workspace/o/mesh-research/commons/issues/152


Always allow self option doesn't work

The check for Always allow self seems to be backwards. When checked, the messages for yourself are filtered, and when unchecked allows them through.

Hi!
Thank you for reporting this issue, I will have a look at it tonight :-)

Sorry that it took me awhile, but a fix for this issue has been sent to PR (https://github.com/runelite/plugin-hub/pull/4992)


MFA alignment is not accurate

Hi, I am using MFA to do force alignment on my own dataset. I found that the alignment results is not accurate.
my dataset is 15 hours, maybe not big enough for training am from scratch. after increased my dataset to 30 hours, still not accurate. Do you have some trick to improve the alignment?

what's the problem with your synthesized result? Maybe you can manually fix it without training MFA.

@joan126 I think 30 hours of training data is enough. Maybe try to check the data quality and the transcript and laxicon.

@joan126 I think 30 hours of training data is enough. Maybe try to check the data quality and the transcript and laxicon.

data are all high quality tts data. the aligned result has a time offset about 30ms

@joan126 hmm I am not sure about the condition you faced, maybe you can consult the MFA owner.

@joan126 hmm I am not sure about the condition you faced, maybe you can consult the MFA owner.

thxs


Fix yarn build

Fixes #2864
Summary
yarn is throwing errors where modules in lib depend on "./react".
Module not found: Error: Can't resolve './react' in '[...]/draft-js/lib'
With this change, the build works properly.
Test Plan**
Tested on MacOS Big Sur.

this looks like the correct fix to me. i have been applying this patch in my branches off of master and it makes yarn build work. @pieterv fwiw, i believe this is the necessary followup to the casing change ('React' → 'react') brought in with ad9390df7e1d861f75a741cf1e6ecc3fe299c9c4 and db37abdcaa53f96e600c27dee61e4adee6f01476.

just realized that this issue is also causing all of the travis-ci build, test, and build_website jobs to fail: https://travis-ci.org/github/facebook/draft-js/jobs/771962291#L367

@kennethkufluk just curious, why did you close the PR? i know it’s been almost a year with 0 movement in draft-js, but i’m still hoping that one day facebook chooses a new maintainer for the project, and this fix is a crucial one to start with.

I just didn't see much reason to leave it open forever. I assume a new maintainer would be able to fix this again in a reasonable timeframe, possibly faster than tracing through all the PRs to determine which is best.


Segfault

I1104 00:40:31.936082 1601536 peer.cc:50] attempting to reconnect to <IP_ADDRESS>:2020
I1104 00:40:31.936146 1601536 peer.cc:11] attempting to reconnect to <IP_ADDRESS>:2020
I1104 00:40:31.936516 1601536 peer.cc:20] couldn't reconnect to <IP_ADDRESS>:2020
I1104 00:40:32.294723<PHONE_NUMBER> node.cc:63] NOT sending a ping to <IP_ADDRESS>:2020
W1104 00:40:32.294795<PHONE_NUMBER> node.cc:70] Main node loop iteration took over 1000 ms!
I1104 00:40:32.294858 1064960 peer.hpp:35] new peer connected with local_id 3
I1104 00:40:32.295099 2138112 peer.cc:78] got a message from 3
I1104 00:40:32.295176 2138112 peer.cc:50] attempting to reconnect to
I1104 00:40:32.295199 2138112 peer.cc:11] attempting to reconnect to
I1104 00:40:32.295231 528384 node.cc:82] cleaning up invalid peers
I1104 00:40:32.295253 528384 peer.hpp:135] peer[3] disconnected
I1104 00:40:32.940313 1601536 peer.cc:50] attempting to reconnect to <IP_ADDRESS>:2020
I1104 00:40:32.940353 1601536 peer.cc:11] attempting to reconnect to <IP_ADDRESS>:2020
I1104 00:40:32.940580 1601536 peer.cc:20] couldn't reconnect to <IP_ADDRESS>:2020
I1104 00:40:33.300217<PHONE_NUMBER> process_message.cc:11] new message (type MSG_IDENT)
I1104 00:40:33.300266<PHONE_NUMBER> process_message.cc:73] got an identity message from <IP_ADDRESS>:2020 source 3
I1104 00:40:33.300284<PHONE_NUMBER> process_message.cc:78] Already peered with 100
I1104 00:40:33.300292<PHONE_NUMBER> process_message.cc:82] 100 is not active. Will update connection.
Process 25412 stopped
* thread #1: tid = 0x2b1a16, 0x000000010003c50a failure-detector`Node::handle_ident(Message const*) [inlined] std::__1::__atomic_base<bool, false>::store(this=0x0000000000000029, __d=false, __m=memory_order_seq_cst) + 130 at atomic:839, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x29)
    frame #0: 0x000000010003c50a failure-detector`Node::handle_ident(Message const*) [inlined] std::__1::__atomic_base<bool, false>::store(this=0x0000000000000029, __d=false, __m=memory_order_seq_cst) + 130 at atomic:839
   836 	        {__c11_atomic_store(&__a_, __d, __m);}
   837 	    _LIBCPP_INLINE_VISIBILITY
   838 	    void store(_Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT
-> 839 	        {__c11_atomic_store(&__a_, __d, __m);}
   840 	    _LIBCPP_INLINE_VISIBILITY
   841 	    _Tp load(memory_order __m = memory_order_seq_cst) const volatile _NOEXCEPT
   842 	        {return __c11_atomic_load(&__a_, __m);}
(lldb) bt
* thread #1: tid = 0x2b1a16, 0x000000010003c50a failure-detector`Node::handle_ident(Message const*) [inlined] std::__1::__atomic_base<bool, false>::store(this=0x0000000000000029, __d=false, __m=memory_order_seq_cst) + 130 at atomic:839, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x29)
  * frame #0: 0x000000010003c50a failure-detector`Node::handle_ident(Message const*) [inlined] std::__1::__atomic_base<bool, false>::store(this=0x0000000000000029, __d=false, __m=memory_order_seq_cst) + 130 at atomic:839
    frame #1: 0x000000010003c488 failure-detector`Node::handle_ident(Message const*) [inlined] std::__1::atomic<bool>::operator=(this=0x0000000000000029, __d=false) + 31 at atomic:1008
    frame #2: 0x000000010003c469 failure-detector`Node::handle_ident(this=0x00000001001031c8, m=0x0000000100600250) + 2201 at process_message.cc:95
    frame #3: 0x000000010003a2be failure-detector`Node::process_message(this=0x00000001001031c8) + 702 at process_message.cc:20
    frame #4: 0x000000010003149b failure-detector`Node::run(this=0x00000001001031c8) + 235 at node.cc:41
    frame #5: 0x00000001000028e0 failure-detector`main(argc=6, argv=0x00007fff5fbffb50) + 5088 at main.cc:69
    frame #6: 0x00007fff8c1a25ad libdyld.dylib`start + 1

Closed with #7.


Couldn't start UWP app - {"error":"unknown error","message":"Element not found. (Exception from HRESULT: 0x80070490)"}}

Greeting,
Using the sample "SimpleCalculatorTests" as a template, I tried to start "HP Smart" app but WinAppDriver yield "Element not found" exception without much details, attaching log below.
No problem with Calculator, or the "Amazon" app with application id: Amazon.com.Amazon_343d40qqvtj1t!App
Error with the "HP Smart" app with application id: AD2F1837.HPPrinterControl_v10z8vjag6ke6!App
Code: (modified from SimpleCalculatorTests sample)
import unittest
from appium import webdriver
from time import sleep

class SimpleCalculatorTests(unittest.TestCase):

    @classmethod

    def setUpClass(self):
        #set up appium
        desired_caps = {}
        #desired_caps["app"] = "Amazon.com.Amazon_343d40qqvtj1t!App"
        desired_caps["app"] = "AD2F1837.HPPrinterControl_v10z8vjag6ke6!App"
        self.driver = webdriver.Remote(
            command_executor='http://<IP_ADDRESS>:4723',
            desired_capabilities= desired_caps)

    @classmethod
    def tearDownClass(self):
        self.driver.quit()

    def test_initialize(self):
        sleep(20)
        self.assertEqual(1, 1)

if __name__ == '__main__':
    suite = unittest.TestLoader().loadTestsFromTestCase(SimpleCalculatorTests)
    unittest.TextTestRunner(verbosity=2).run(suite)

Log from Ubuntu which executed the test:
hpauto@ubuntu:~/Desktop/test$ python3 test_smart.py
ERROR

======================================================================
ERROR: setUpClass (__main__.SimpleCalculatorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_smart.py", line 16, in setUpClass
    desired_capabilities= desired_caps)
  File "/home/hpauto/site_lib/Appium_Python_Client-0.22-py2.7.egg/appium/webdriver/webdriver.py", line 36, in __init__
    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
  File "/home/hpauto/site_lib/selenium-3.11.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 154, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "/home/hpauto/site_lib/selenium-3.11.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 243, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/home/hpauto/site_lib/selenium-3.11.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 312, in execute
    self.error_handler.check_response(response)
  File "/home/hpauto/site_lib/selenium-3.11.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Element not found. (Exception from HRESULT: 0x80070490)

----------------------------------------------------------------------
Ran 0 tests in 2.372s

FAILED (errors=1)

Log from WinAppDriver:
C:\WINDOWS\system32>"c:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe" <IP_ADDRESS> 4723
Windows Application Driver listening for requests at: http://<IP_ADDRESS>:4723/
Press ENTER to exit.

==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: Keep-Alive
Content-Length: 128
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
X-BlueCoat-Via: 2a84e0f32f31b460

{"desiredCapabilities": {"app": "Amazon.com.Amazon_343d40qqvtj1t!App"}, "capabilities": {"firstMatch": [{}], "alwaysMatch": {}}}
HTTP/1.1 200 OK
Content-Length: 117
Content-Type: application/json

{"sessionId":"FE7E9628-F364-476D-9643-2F8135C5670A","status":0,"value":{"app":"Amazon.com.Amazon_343d40qqvtj1t!App"}}

==========================================
DELETE /session/FE7E9628-F364-476D-9643-2F8135C5670A HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: Keep-Alive
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
X-BlueCoat-Via: 2a84e0f32f31b460

HTTP/1.1 200 OK
Content-Length: 63
Content-Type: application/json

{"sessionId":"FE7E9628-F364-476D-9643-2F8135C5670A","status":0}

==========================================
POST /session HTTP/1.1
Accept: application/json
Accept-Encoding: identity
Connection: Keep-Alive
Content-Length: 136
Content-Type: application/json;charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: Python http auth
X-BlueCoat-Via: 2a84e0f32f31b460

{"capabilities": {"firstMatch": [{}], "alwaysMatch": {}}, "desiredCapabilities": {"app": "AD2F1837.HPPrinterControl_v10z8vjag6ke6!App"}}
HTTP/1.1 500 Internal Error
Content-Length: 115
Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"Element not found. (Exception from HRESULT: 0x80070490)"}}

Hi Zaavio,
Any update on this issue. Am unable to launch the app with same error. Please help in this regards.
Thanks,
Surya

No update but made a workaround: start app as "Root", then use the start menu to search and open the app needed to be tested.
Also halted my team's further development on using WinAppDriver after running into couple more fundamental driver problems while the project update/commit rate is close to none; feels like WinAppDriver is close to death when Microsoft shifted their focus into Progressive Web Apps (PWAs) instead.

It looks like the app name is incorrect. Amazon.com.Amazon_343d40qqvtj1t!App matched correctly, but AD2F1837.HPPrinterControl_v10z8vjag6ke6!App did not.
Have you tried using a different name, or specifying the literal path to the program (if possible) to check?

This is what I got from calling "Get-AppxPackage" on powershell.
I don't believe I can start this UWP app directly with its path "C:\Program Files\WindowsApps\AD2F1837.HPPrinterControl_85.1.379.0_x64__v10z8vjag6ke6"; permission issue.
I could try further on using the path but that's not the documented way of starting an UWP app...
Name              : AD2F1837.HPPrinterControl
Publisher         : CN=ED346674-0FA1-4272-85CE-3187C9C86E26
Architecture      : X64
ResourceId        :
Version           : 85.1.379.0
PackageFullName   : AD2F1837.HPPrinterControl_85.1.379.0_x64__v10z8vjag6ke6
InstallLocation   : C:\Program Files\WindowsApps\AD2F1837.HPPrinterControl_85.1.379.0_x64__v10z8vjag6ke6
IsFramework       : False
PackageFamilyName : AD2F1837.HPPrinterControl_v10z8vjag6ke6
PublisherId       : v10z8vjag6ke6
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
Dependencies      : {Microsoft.NET.Native.Framework.1.7_1.7.25531.0_x64__8wekyb3d8bbwe,
                    Microsoft.NET.Native.Runtime.1.7_1.7.25531.0_x64__8wekyb3d8bbwe,
                    Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe}
IsPartiallyStaged : False

When I asked the development team to use the following instruction to grab the application id, they gave me the same "AD2F1837.HPPrinterControl_85.1.379.0_x64__v10z8vjag6ke6"
You can find the Application Id of your application in the generated AppX\vs.appxrecipe file under RegisteredUserModeAppID node. E.g. c24c8163-548e-4b84-a466-530178fc0580_scyf5npe3hv32!App

Thanks Zavvio. Working with the work around.

Closing issue due to being resolved with @zavvio 's workaround.

I don't know why this issue is closed. Still, I am facing the same issue.

org.openqa.selenium.WebDriverException: It is impossible to create a new session because 'createSession' which takes HttpClient, InputStream and long was not found or it is not accessible
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'NOLAPF2FFLWS598', ip: '<IP_ADDRESS>', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'
Driver info: driver.version: WindowsDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:195)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:209)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:231)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.windows.WindowsDriver.execute(WindowsDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:130)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:94)
at io.appium.java_client.windows.WindowsDriver.(WindowsDriver.java:42)
at com.appium.test.CalculatorTest.setup(CalculatorTest.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:168)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:185)
... 39 more
Caused by: org.openqa.selenium.WebDriverException: Element not found. (Exception from HRESULT: 0x80070490) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.48 seconds
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'NOLAPF2FFLWS598', ip: '<IP_ADDRESS>', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'
Driver info: driver.version: WindowsDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53)
at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
... 44 more

Sorry we'll dig into this.

Is there an update on this issue? We are using AppiumLibrary in RobotFramework to launch and app and we are getting the same error.
We are PoCing WinAppDriver.exe and Appiumlibrary in RobotFramework/Python as one of the viable solutions for Windows App automation.
Can we get root cause/ETA on a fix for this issue?

Hey there, I searched a while and never really got a clear (or at least clear to me :) ) answer about this problem.
Quick context:
I'm also "PoCing" APPIUM for Android/IOS/UWP apps and when it came to Windows I struggled to launch the UWP app by using the "app" capability.
It turns out that you can't launch it with !App, App here is NOT a common word/suffix, it's defined by the  tag in your AppxManifest.xml file.
<Applications>
    <Application Id="<hereIsTheValueYouWant>" ...

Hope this will help someone else.

Is there an update on the issue?
I am facing this same problem when trying to execute the WinAppDriver tests on Bamboo.
Locally the tests work OK.

Hello @CataUdrea ,
I'm not quite sure there's an issue here, or at least the one encountered by @zavvio or @hoorncj does not appear to be one since they say they used the calculator app code to base their script upon.
The example given by hoorncj is easy to demonstrate (I dont have the HP app under hand ).
The app is called with this string: "Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe!App" but should be in fact called with this one :
"Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe!Microsoft.MicrosoftOfficeHub" as explained in my previous post.

Above solution works for me.
thanks.

Your code is Wrong in Place of Webdriver Put Windows driver


PHOENIX-6395 Reusing Connection instance object instead of creating e…

…verytime in PhoenixAccessController class
Co-authored-by: vmeka2020<EMAIL_ADDRESS>

Generally looks good -- are there any concerns about what happens if the HBase connection gets into a bad state? Would the operator have to bounce the region server if that happened?

The same question occured to me.
However, when we use ServerUtil.ConnectionFactory, we are always getting the same Connection instance (per env), so storing the reference in the coprocessor instance doesn't change that, we just avoid some cache lookups.
We already use ServerUtil.ConnectionFactory in a few places, I don't recall seeing problems stemming from this.
We also use PhoenixConnections on the server side, which implement a similar pattern with the CQSI objects holding Connection objects being cached forever. (IUC we don't check or re-create those either)

Thank you @gjacoby126 .
My explanation above has a mistake, there is one connection per ConnectionType, not one per  RegionCoprocessorEnvironment.
The API for ServerUtil.ConnectionFactory suggests that theConnection cache is per RegionCoprocessorEnvironment , but that's not true. The cache is actually a static object, so the the Connection objects are per classloader singletons, just as the CQSI objects.
I was worried that we're creating hundreds of connections with ServerUtil.ConnectionFactory, but that factrory is doing the right thing.


Better error messages when AFM fails to load

Describe the problem
When the AFM fails to load, the error message comes from ipywidgets and incorrectly suggests that anywidget is the source of the problem. This is misleading and causes confusion among anywidget developers.

https://github.com/manzt/anywidget/issues/684

These errors usually stem from legacy dependencies inspecting the environment for global variables like define and require, which can vary across different platforms. Since these variables may exist in some environments but not others (e.g., works in Jupyter Lab but not in VS Code), users often misattribute the problem to anywidget due to the misleading error message.
Describe the proposed solution
Implement better error handling that clearly indicates when AFM fails to load. Suggest checking dependency compatibility across environments.
Importance
would make my life easier

Describe the problem
When the AFM fails to load, the error message comes from ipywidgets and incorrectly suggests that anywidget is the source of the problem. This is misleading and causes confusion among anywidget developers.
* [VS Code: Failed to load model class 'AnyModel' from module 'anywidget' #684](https://github.com/manzt/anywidget/issues/684)

These errors usually stem from legacy dependencies inspecting the environment for global variables like define and require, which can vary across different platforms. Since these variables may exist in some environments but not others (e.g., works in Jupyter Lab but not in VS Code), users often misattribute the problem to anywidget due to the misleading error message.
Describe the proposed solution
Implement better error handling that clearly indicates when AFM fails to load. Suggest checking dependency compatibility across environments.
Importance
would make my life easier

does it work on jupyterlab tho #725


haskellPackages.cryptonite: fix compilation with avx

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I think cryptonite is already building on the haskell-updates branch.  Is it building right now without avx, is that why this patch is needed?  Do you have a personal overlay where you enable avx for all of nixpkgs?

Is it building right now without avx, is that why this patch is needed? Do you have a personal overlay where you enable avx for all of nixpkgs?

yes and yes. I am setting nixpkgs.config.gcc.arch to skyflake and in all haskell packages I am using this was the only build failure.

I'd like to wait until the cryptonite maintainer replies to https://github.com/haskell-crypto/cryptonite/pull/373 before merging this in.
It is not clear to me the ramifications of this change (or why it was changed originally).

@trofi already commented on the idea of the fix a while ago https://github.com/haskell-crypto/cryptonite/issues/347#issuecomment-855393136

As far as I can tell, trofi isn't a maintainer of cryptonite?

I don't feel comfortable merging a change to a widely-used crypto library in Haskell without at least the upstream maintainer commenting on it.
Although cryptonite is somewhat known for having slow reviews of PRs...

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/best-practice-to-automaticly-build-all-installed-packages-to-put-them-into-a-binary-cache/25527/14

@cdepillabout so nothing really happened in two months and there are more and more people that need this patch. What do we do?

@cdepillabout so nothing really happened in two months and there are more and more people that need this patch. What do we do?

A lot of upstream projects don't include a patch for something downstream users “need” – our patching should be within reason.

What are we doing now that the repository is archived for a crypto those security relevant package?

What are we doing now that the repository is archived for a crypto those security relevant package?

It probably makes sense to replace cryptonite with crypton, which is a fork that appears to be maintained:
https://old.reddit.com/r/haskell/comments/14245q8/crypton_is_forked_from_cryptonite_with_the/jn36k6s/
Although crypton probably still has the same issue as cryptonite, so I guess a new issue should be filed.

Hackage has the ability to deal with an unmaintained package. We'll just have to see what happens.


Update Airflow Task for Scene Creation - use Upload ID

The scene creation DAG/Task takes a few arguments, since we're adding an upload API to track status and metadata, this task should use the API to gather that information and only require an upload ID.

Additionally, this will need to update upload status appropriately so uploads are not processed multiple times.


VolumeCreateFromSnapshot and SetTags for FCD volume implementation

Change Overview
This PR adds:

VolumeCreateFromSnapshot
SetTags for volumes
No op for SetTags for snapshots
No op for SnapshotCreateWaitForCompletion

Pull request type
Please check the type of change your PR introduces:

[ ] Work in Progress
[ ] Refactoring (no functional changes, no api changes)
[ ] Trivial/Minor
[ ] Bugfix
[X] Feature
[ ] Documentation

@tdmanv It got merged before making the fixes. I will do it next time.


Dynamic Libraries cant be found with CLI (on certain platforms)

Version
0.0.4
Operating system & version
Linux
Additional information
Currently a potential solution to this would involve the cargo crate directly for at least the initial compilation of the library, which would allow the CLI to grab the environment info more easily and pass it to the dynamic linker. See for reference: https://github.com/rust-lang/cargo/blob/80eca0e58fb2ff52c1e94fc191b55b37ed73e0e4/src/cargo/core/compiler/compilation.rs#L286

Updated & released a likely fix in 0.0.6 (https://github.com/lee-orr/dexterous_developer/actions/runs/5944419939) - awaiting feedback from original reporter before closing.

I think this bug still persist.
When running dexterous_developer_cli, I get Error loading library: DlOpen { desc: "libbevy_dylib-15d68d742ee77b1e.so: cannot open shared object file: No such file or directory" }.
Is there currently any known workaround?

I did just test a potential workaround, though I can't guarantee it on linux since I've had some issues setting up a linux environment...
What you can do is create a new launcher crate in your workspace, adding a single dependency:
[dependencies]
dexterous_developer = { version = "0.0.7", default-features = false, features = [
    "hot",
    "cli",
] }

and then in main.rs for this launcher crate, run the app like so:
use dexterous_developer::HotReloadOptions;

fn main() {
    dexterous_developer::run_reloadabe_app(HotReloadOptions {
        package: Some("NAME_OF_YOUR_GAME_PACKAGE".to_string()),
        ..Default::default()
    })
}

You should then be able to use cargo run -p launcher to get the app to run.

I did add this process to the docs, though they are still building ATM so I replicated it here. LMK i fthat works!

OK - good to know. In that case, unfortunately I'm not aware of any workarounds ATM. I'm currently working on creating some automated tests that I'd be able to run on linux, mac & CI since so far all my tests were windows based. I'll update here when I have a solution.

@wtfamidoingrn - It took some time, but I finally think this issue is actually resolved, and am able to get automated tests validating it on windows, linux & mac. However, I wanted to ask if you'd be willing to check it in your setup after updating the CLI & dependency to 0.0.8?

(Closing for now, will re-open if the issue persists for @wtfamidoingrn)

It works perfectly fine now. Thanks alot.
It took me some time to get things working because I use mold as a linker and I didn't have lld installed and messed things up during installation but that's entirely due to my own

Awesome! I'm gald it works. I really should add support for mold as well, just haven't used it myself yet... Did the correct error show up letting you know that lld wasn't installed?
As for those errors - they are not a problem, but I can see why they look like an issue. I'll see if I can clean that up, so it doesn't end cause concern.

Yes it did say something like "Can't find lld".

Perfect - thanks! I'll ping you for the next release, which should have mold support. (ATM there's a few other features I want in, but it's already merged)


Added drone_viz sdf

Basic Info

Info
Please fill out this column

Issue(s) this addresses
-

ROS2 version tested on
Humble

Aerial platform tested on
Ignition

Description of contribution in a few bullet points

Added new quadrotor base model for proper visualization in rviz2

Codecov Report

Merging #306 (0a81b2f) into main (415ac70) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 0a81b2f differs from pull request most recent head 6e40cac. Consider uploading reports for the commit 6e40cac to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@          Coverage Diff          @@
##            main    #306   +/-   ##
=====================================
  Coverage   2.99%   2.99%
=====================================
  Files        101     101
  Lines       5367    5367
  Branches     456     456
=====================================
  Hits         161     161
  Misses      5068    5068
  Partials     138     138

Flag
Coverage Δ

unittests
2.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


RGBA channel inverted for color camera

Bug report

Bug summary
The RGBA channel order is inverted as ABGR in Acquisition for RGB cameras. When the images are collected, the dataset contains the first three channels which are ABG, and are treated as RGB channels. Since the A channel is always 255 (which is treated as R channel), the image looks saturated in red color.

Code for reproduction

The micro-manager demo RGB camera appears to be ABGR, and Acquisition is made to work with this. Seems like this is something that might need to be sorted out in the core/device adapter layer, either to provide taggedimages with a consistent ordering of RGBA channels or some function for figuring this out. Maybe @nicost or @marktsuchida know more?

The micro-manager demo RGB camera appears to be ABGR, and Acquisition is made to work with this. Seems like this is something that might need to be sorted out in the core/device adapter layer, either to provide taggedimages with a consistent ordering of RGBA channels or some function for figuring this out. Maybe @nicost or @marktsuchida know more?

The micro-manager demo RGB camera appears to be ABGR, and Acquisition is made to work with this. Seems like this is something that might need to be sorted out in the core/device adapter layer, either to provide taggedimages with a consistent ordering of RGBA channels or some function for figuring this out. Maybe @nicost or @marktsuchida know more?

Few other observations that might help to locate the bug. Snap image in MM2 works just fine for the RGB camera and gives the correct image. Using core.snap_image() image and retrieving the tagged_image gives BGRA, and in order to plot it correctly using matplotlib I had to take the first three channels and invert the order so that it becomes RGB. Is there anyway that Acquisition could provide 4-channel color images? If so I can flip and re-arrange the channel after I get the image from the dataset.

The micro-manager demo RGB camera appears to be ABGR, and Acquisition is made to work with this. Seems like this is something that might need to be sorted out in the core/device adapter layer, either to provide taggedimages with a consistent ordering of RGBA channels or some function for figuring this out. Maybe @nicost or @marktsuchida know more?

Few other observations that might help to locate the bug. Snap image in MM2 works just fine for the RGB camera and gives the correct image. Using core.snap_image() image and retrieving the tagged_image gives BGRA, and in order to plot it correctly using matplotlib I had to take the first three channels and invert the order so that it becomes RGB. Is there anyway that Acquisition could provide 4-channel color images? If so I can flip and re-arrange the channel after I get the image from the dataset.

Yep, please see https://github.com/micro-manager/micro-manager/issues/541 and https://github.com/micro-manager/micro-manager/issues/734. Now that I have reprioritized a few things, these are very near the top of my to-do list.
Most device adapters work correctly with Micro-Manager 1.4 and (ancient) 2.0beta, but the current 2.0gamma branch still has the channels swapped in parts of MMStudio.

Yep, please see https://github.com/micro-manager/micro-manager/issues/541 and https://github.com/micro-manager/micro-manager/issues/734. Now that I have reprioritized a few things, these are very near the top of my to-do list.
Most device adapters work correctly with Micro-Manager 1.4 and (ancient) 2.0beta, but the current 2.0gamma branch still has the channels swapped in parts of MMStudio.

Sounds like this is then a double bug -- channels swapped in device adapter and mmstudio -- which makes it work with snap/live, but the device adapter will need to be fixed to work as expected with pycromanager

Sounds like this is then a double bug -- channels swapped in device adapter and mmstudio -- which makes it work with snap/live, but the device adapter will need to be fixed to work as expected with pycromanager

One more question: do the colors look correct in the "normal" Micro-Manger window?

One more question: do the colors look correct in the "normal" Micro-Manger window?

It looks correct in the snap and live window.

In that case, the Micro-Magellan viewer and or Pycromanager code is not handling them the same as the Micro-Manager code and viewer (note, I am not saying that any of these is "right", just that they should agree;).  There are many nasty issues with RGB byte ordering (see: https://en.wikipedia.org/wiki/RGBA_color_model).  The democamera has a mode called "Color Test Pattern" that is very useful.  It shows (top to bottom) stripes in blue, green, red, black, yellow, magenta, cyan, and white.  That on e seems most useful to be sure your byte ordering is the same (whatever it is;).

Thanks that color test pattern was very helpful. I think this is now fixed by https://github.com/micro-manager/micro-manager/pull/1141 (was confusing because there were offseting bugs in the storage and viewer)


Process is exiting  with exit code 139 (interrupted by signal 11: SIGSEGV) if not passing logger param to the Trainer

Process is exiting  with exit code 139 (interrupted by signal 11: SIGSEGV) if not passing logger param to the Trainer
This code working fine:
myModule = myLightningModule()
trainer = pl.Trainer(max_epochs=FEATURE_EXTRACTION_EPOCHS, gpus=GPU_COUNT, accelerator="dp", precision=16, logger=None)
trainer.validate(myModule, val_dataloaders = myModule.valDl)

This one crashing a process:
myModule = myLightningModule()
trainer = pl.Trainer(max_epochs=FEATURE_EXTRACTION_EPOCHS, gpus=GPU_COUNT, accelerator="dp", precision=16)
trainer.validate(myModule, val_dataloaders = myModule.valDl)

torch.version
1.8.0
pytorch_lightning.version
1.3.4

@snarb Could you kindly create a minimal script/notebook to reproduce this issue?

Dear @snarb,
It seems the logger is the source of failure in examples right ? Mind creating a reproducible script with the BoringModel ?
Best,
T.C

Found minal steps for reproducing:
import torchvision # This torchvision import causes crash. If we are removing this import - no crash
import pytorch_lightning as pl
from torch.nn import functional as F
from torch import nn
from pytorch_lightning.core.lightning import LightningModule

class LitMNIST(LightningModule):

  def __init__(self):
    super().__init__()

    # mnist images are (1, 28, 28) (channels, width, height)
    self.layer_1 = nn.Linear(28 * 28, 128)
    self.layer_2 = nn.Linear(128, 256)
    self.layer_3 = nn.Linear(256, 10)

  def forward(self, x):
    batch_size, channels, width, height = x.size()

    # (b, 1, 28, 28) -> (b, 1*28*28)
    x = x.view(batch_size, -1)
    x = self.layer_1(x)
    x = F.relu(x)
    x = self.layer_2(x)
    x = F.relu(x)
    x = self.layer_3(x)

    x = F.log_softmax(x, dim=1)
    return x

def main():
    postersModel = LitMNIST()
    trainer = pl.Trainer()
    trainer.validate(postersModel)
    # trainer = pl.Trainer(logger=None)                  - call with logger=None will not cause crash
    print('Done')

if __name__ == "__main__":
    main()

So looks like torchvision import together with logger param somehow causes the crash.
torchvision.version
0.9.0


Migrate entirely to CSS Variables

Since Bootstrap 5.2, it already using CSS variables that are created from the SCSS variables. By using CSS variables, we can easily customize the theme on-the-fly without any further compilation.
What we need to do:

[ ] Extract Mazer's SCSS variables to CSS variables
[ ] Use the CSS variables instead of CSS variables (for colors, sizing, etc)

Hey,
I would like to contribute to this issue.
I would love to have a chat with you and start working on it.
Please assign the issue to me.
Thank You

working on it!


Properly handling of enum imports

properly importing enums from multiple packages/namespaces with the same name(in/not in rules)
reduce unnecessary duplication of import and alias

For example, a proto with this message
...
import "foo/v1/datatype.proto"
import "bar/v1/datatype.proto"
...

message CreateSomethingRequest {
  foo.v1.Foo.FooType foo_type = 1 [(validate.rules).enum = {in: [1, 2, 3, 4]}];
  bar.v1.Bar.BarType bar_type = 2 [(validate.rules).enum = {not_in: [1, 2, 3, 4]}];
}

and run go vet ./... in generated code
# example.com/buf-pgv/zoo/api/v1
vet: zoo/api/v1/zoo.pb.validate.go:187:46: undeclared name: v1

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

Thanks for the patch, @wjiec! Can you add a test case to the harness so that we can ensure this doesn't regress?

Okay, I'll add some test cases later in the week.

Hi @rodaine, I've added some test cases to the PR


lxd/bgp: a TCP port is 16bit

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

I noticed this when setting an invalid port (lxc config set core.bgp_address '[::]:179000') and never got an error.
In retrospect, it seems to be because the listener is not created unless you set core.bgp_routerid (but the doc says it has a default value). Anyway, when setting the router ID, it properly errors out:
# lxc config set core.bgp_address '[::]:179000'
# lxc config set core.bgp_routerid <IP_ADDRESS>
Error: listen tcp6: address 179000: invalid port

This is probably the wrong way to fix the problem, I'll report an issue instead and let real coder fix it ;)

We have IsNetworkPort which should help validate this.
https://github.com/lxc/lxd/blob/f2350b0e6e620e84921742e56c356678f9585e0c/shared/validate/validate.go#L525-L536

Right. This function should call strconv.ParseUint(value, 10, 16) because TCP/UDP ports are 16bit numbers. Probably not relevant due to the range checking that follows. Checking port <0 shouldn't be needed for a Uint though.

Yeah I suppose though that allowing larger numbers (arguably increasing it to 64bit) would mean more cases where the friendlier error message about ranges are shown, rather than a more generic conversion error that isn't as helpful.


Range Slider onchange event doesn't trigger.

This is a

[x] bug

Framework7 Version: 1.5

Platform and Target: iOS 9.3.5

Range Slider onchange event doesn't trigger after init a Framework7 app.
<!DOCTYPE html>
<html>
<head></head>
<body>
    <input type="range" onchange="alert('huhu')">
</body>

<script src="lib/framework7.js"></script>
<script>
    var app = new Framework7();
</script>

</html>

Because for range slider it should be "oninput" event

I know "oninput", but this behavior is different. It triggers on every single step. I need the value if the user finished movement. The value should be directly forwarded to server, but not each step to avoid overload issues.
"onchange" doesn't work only on iOS. No issue on Firefox on OSX or on Android.
If I disable this line like this:
//var app = new Framework7();
"onchange" works again

Look like there is defiantly an issue here

I can confirm this issue.


Feature Request: clear background image

When performing 'detect from image' currently, it becomes the background image, but I want to remove this background image.

Second that request.
Amazing otherwise.


Add support for multiple custom JSON content types in the request body

From what I could understand the request body is limited to the use of application/json content-type. I believe that the use of custom content type should be supported e.g.:
OAS:
paths:
  /pet:
    put:
      tags:
        - pet
      summary: Update an existing pet
      description: Update an existing pet by Id
      operationId: updatePet
      requestBody:
        description: Update an existent pet in the store
        content:
          application/vnd.dog+json:
            schema:
              $ref: '#/components/schemas/Dog'
          application/vnd.cat+json:
            schema:
              $ref: '#/components/schemas/Cat'

Code:
class Dog(BaseModel):
    class Config:
        content_type = "application/vnd.dog+json"

class Cat(BaseModel):
    class Config:
        content_type = "application/vnd.cat+json"

@app.put('/pet')
def update_pet(body: Union[Dog, Cat]):
    if isinstance(body, Dog):
        ...
    else:
        ...

If the body is not of type BaseModel, we must re-implement the data validation function (source code), it will be a lot of work.
So I suggest another way:
class UnionModel(BaseModel):
    __root__: Union[Dog, Cat]

@app.put('/pet')
def update_pet(body: UnionModel):
    print(body)
    print(type(body))
    return body.json()

I understand thank you, I believe that I can work with the alternative.

I want to work on this.

Supporting __root__ would be great.


[lcdclock] Rendering issue in version 0.04

Affected hardware version
Bangle 2
Your firmware version
2v18
The bug
Describe the bug
After upgrading to v0.04, the clockface looks strange. It seems the whole clockface moves upwards and collides with the widgets:

Problem persists after I lock then unlock the screen:

Expected behavior
Clockface looks normal after I apply the workaround below:

Step to reproduce

Open Settting
Go back to clockface by long pressing the button.

Workaround
Go to app launcher and then go back by touching the arrow on top left of the screen.
Installed apps
No response

I can't reproduce the bug here but I believe I know what the issue is. Would you mind trying out #2971?
I've deployed it to my app pages here.

Heh, looks like we were both on this. I've just fixed it :)


Type checking for route component props – is it possible?

What problem does this feature solve?
With volar, vue-tsc and defineEmits TypeScript story for Vue become quite amazing.
I'm wondering if you think it would be possible to type check route props? i.e. if component defines props and is used as a route component, could we make TS check if right props are being passed to it?
What does the proposed API look like?
I suppose _RouteRecordProps = boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>) would need to somehow be changed to take a more specific type than Record<string, any>.

Do you mean exposing an interface that can be extended to manually add all possible props? Is that really useful?

I don't think so. Imagine if component has required props defined and
a) you forget to set props: true, you get type error
b) you specify props on the route, but omit required prop or make it a wrong type, you get type error
This I think would be useful. Type checking would ensure you're passing all required props of correct type to the component.  Like what volar or vue-tsc do when you use component and either forget to specify required prop or pass a wrong value type to it.
Again, I don't know if that's possible / feasible, but it would imo be quite nice to have.

I don't think this is feasible because there is nowhere to connect both types: the ones from the route and the props of the component.
What I do plan on adding are helpers to generate those types and make navigation type safe like the existing PR from @pikax but as automatic as possible, making the user only add the needed types to create the missing connections and infer as much as possible.

We figured out a way to do it, it's a bit cumbersome but works great. You must share the props object alone to be able to extract its types like this:
import type { ExtractPropTypes } from 'vue';

const FooProps = {
  category: {
    type: String as PropType<string>,
    default: null,
  },
} as const;

const routes = [{
  path: 'foo',
  props: ({ params }) =>
    ({
      category: 1, // error because it's not a string
    }) as ExtractPropTypes<typeof FooProps>,
  name: 'Foo',
  component: () => import('@/pages/Foo.vue'),
}]


scheduler.alpha.kubernetes.io/tolerations has been deprecated

Taints and tolerations have moved from annotations to API fields. We should remove all references to scheduler.alpha.kubernetes.io/tolerations because they are being ignored, and if we still want those tolerations, put it in the appropriate place.
PR that changed it : https://github.com/kubernetes/kubernetes/pull/38957

are we using this annotation anywhere at the moment?

a few places, ex https://github.com/samsung-cnct/k2/blob/a9cf464528959aafb806a9bf70bcecd837adb351/ansible/roles/kraken.fabric/kraken.fabric.weave/templates/weave.yaml.part.jinja2

this work was completed as part of the 1.8 support process


Publish 07/27/2021, 10:30 AM

Docs Build status updates of commit 23d640e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-server/Set-SPTrustedRootAuthority.md
:white_check_mark:Succeeded
View (sharepoint-ps)

skype/skype-ps/skype/New-CsTeamsNetworkRoamingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Crash when converting an image from COCO to YOLO that has no annotation in it

Images with no annotations will still get a row inside the annotation dataframe, but the values in that row will be NaN, which leads to an error on line 589:

I fixed this by adding an if statement around the with open() like so:

This will also make sure that no label text file is created for unannotated images, which seems desirable.
Also is there any way to visualize segmentations instead of just bounding boxes?

Old comment. Can't repro.


Skip link: Develop react component

Thanks to @stianmorsund for contributing and developing the SkipLink component! 👏🏻 ⭐ 🏅


animated_placeholder_perf average_frame_rasterizer_time_millis slowly climbing

It's difficult to pinpoint a commit; the actual red bars correspond to things in tooling which shouldn't have an impact.

Not filing this as a TODAY issue, because it's still usually within bounds.
cc @liyuqian

Also CC the author of that benchmark @dnfield . A git bisect which tests a single commit version many times in every bisection step might be needed if it's unclear which commit causes the regression.

It looks like it's just noisy to me.  Probably fine to rebaseline.

Thanks! Rebaselined.


Improved link speed with multi module

Speed up linking against the framework lib by not naming each Comdat
section with the full mangled name of its associated ObjectNode.
Instead, use the same name differentiating solely on the Comdat symbol.
Remove the custom section name hash set from ObjectWriter. It's
needless book-keeping; LLVM will get / create sections automatically.
On Windows, publish unwind info after the method's symbol has been emitted. This is needed because the unwind info has a Comdat symbol reference that depends on the method symbol.

@dotnet-bot Test Ubuntu Release please

@dotnet-bot Test Ubuntu Debug and CoreCLR tests please

@MichalStrehovsky PTAL


Missing docs and only partially translated

File: themes/default/content/registry/packages/keycloak/api-docs/openid/client/_index.md
This page is missing docs compared to the source:
E.g. accessType states:

Specifies the type of client, which can be one of the following:

but does not have any following text.
Compared to openid_client which has the relevant following text.
As well, authorization references access_type but pulumi translates this to accessType as above.
If these docs are curated I'll send a PR.

We're not able to extract the description for the API reference for this parameter, but it looks like the full docs are available with the examples now: keycloak.openid.Client | Pulumi Registry


train custom object detection model using efficiennetv2

thanks for your TensorFlow implementation, can you please make detailed steps about how can we train our own OD model using this efficientNetv2? it wold be great help

Sorry for the very late response, I was previously busy with something else.
I don't think you can use this model directly for OD, as this model is implemented as a classifier just like the official repo.
However, you may customize based on the blocks and models I implemented. Since I built the model with blocks implemented as functions, you can insert branches to OD heads after the blocks of your choice.

I am closing this issue, if you have any other questions, feel free to reopen


Sandipayan Image Augmentation  python script

Python script  -
sandipayan	Sandipayan image aug script			0777df0

sandipayan image augmentation script

ss

The image transformation code should not include the images/legend because it will be too big for github. As I said in the lecture, they will need to be applied at run time so must not be included in the pull request.

Hi Professor Rowe,
I was not able to send pull request only for the .py code from my forked & cloned repository, so I did send the pull request for the whole folder. I hoped that you will be able to pull only the necessary .py file and ignoring other., i.e.    0777df0  file.
If that cannot be done, please let me know and I will fork ,clone and add my .py file and send another pull request.


_curses.error: setupterm: could not find terminfo database

these days i have been always seeing ci_edit source code, everything is ok but i can not run it on pycharm. below is the error stacktrace when i ran Ci_program:
Traceback (most recent call last):
  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydev_run_in_console.py", line 71, in <module>
    globals = run_file(file, None, None)
  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydev_run_in_console.py", line 31, in run_file
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/Users/crabime/Development/PythonDevelopment/github/ci_edit/app/ci_program.py", line 611, in <module>
    run_ci()
  File "/Users/crabime/Development/PythonDevelopment/github/ci_edit/app/ci_program.py", line 602, in run_ci
    curses.wrapper(wrapped_ci)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminfo database

I had tried these ways:

add TERM=xterm-256color  and TERMINFO=/usr/share/terminfo/78 in path which located in ~/.bash_profile，that doesn't work, such error still appear
**add such environment variables into pycharm program run/debug configuration directly,**still doesn't work.

so far, i have tried all the way but still can not debug curses program. and here is the link to the question i putted forward in stackoverflow but still nobody knows,hope someone can save me out.
Current OS version: OS X 10.11.4
System Platform: Darwin

I'm not sure, but I'll try to help:
Maybe try running a different ncurses program in pycharm to see if it's particular to ci_edit or running ncurses programs in pycharm.
You may also be able to use ci_edit/test_fake/curses if rendering to the screen is not needed. The test_fake/curses is something I wrote to use the unittest framework with ci_edit. It has an API that is similar to curses, but the calls are "fake". They don't really open windows or draw text.

thanks for your response although waiting for long. and I had tried run a
really simple curses program in pycharm, it still can not run whose error
still like above, only if i run it in mac terminal then it can work well.
2017年9月16日 上午11:19，"Dave Schuyler"<EMAIL_ADDRESS>
I'm not sure, but I'll try to help:
Maybe try running a different ncurses program in pycharm to see if it's
particular to ci_edit or running ncurses programs in pycharm.
You may also be able to use ci_edit/test_fake/curses if rendering to the
screen is not needed. The test_fake/curses is something I wrote to use the
unittest framework with ci_edit. It has an API that is similar to curses,
but the calls are "fake". They don't really open windows or draw text.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/ci_edit/issues/67#issuecomment-329941687, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARyx4th8lj4rXscMWEb5XR5N--i2yDQaks5siz5GgaJpZM4PP349
.


Operation status flow in Massa wallet

Context:
Task follows from discussion here: https://github.com/massalabs/station-massa-wallet/issues/456
Currently, we can't show full history of operations per wallet account. For Mainnet, we must at least have the proper flow that comes after user initiates operations from the wallet UI.
At the moment user can initiate:
a) transaction operations (sending MAS to other address)
b) upload website operations (batch of 3+ operations signed at once)
User flow:

User enters all information to initiate Operations in the wallet UI
User successfully signs operations in the wails popup
User sees the status of operation. Statuses are: pending, success, failed.

How-to:
For transactions:
Pending status: - operation is in not final and not stale block.
Success status: - operation is finalized.
For SC operation types: operation's execution must be 'success' as well.
Failed status: - operation failed for multiple reasons.
Reasons for failure must be inspected. Some examples:

not enough MAS for gas
operation in a stale block (not finalized)
execution stopped (for SC operation types)
other to identify

Data to show (in the first version) @LucasF243:

op ID (i'd link the explorer's Operation page here)
op type
from:to
value
fees

Technical details:
tbd
Q/A steps:
tbd

@peterjah @Thykof what other failure reasons for Operations can we identify?

Designs: https://www.figma.com/file/LSaOibVDFb1reF6FePVn5l/Massastation?type=design&node-id=6338-42156&mode=design&t=gqcVBZAT1OyIwo0u-0

cc @mazmassa wdyt ?

Not finalized yet. I will ping you guys to validate.


An Attempt to implement GANs with ColossalAI

An Attempt to implement GANs with ColossalAI

Hi, thank you for your contribution. Can you put up a PR in ColossalAI-Examples instead?
There are some standardization required as well:

Please name your files with the Python conventions, e.g. no + in the file name.
Please provide a detailed readme to explain model, dataset, how to train, etc.
Try to use a well-known GAN model instead of a toy model as an example.

I will close this PR for now as it should be directed to the examples repository. Welcome to post any issue there if you encounter any problem. We are more than willing to help :)


Add withStateOnPropsChange

I have a somewhat convoluted use case.
Basically, I receive a prop, and I need to:

Create a state from it using the value of prop:
withState('myProp', 'setMyProp', (props) => props.prop)

Need to re-update myProp if prop changes.

So basically - it myProp will be based on a parent property prop, but also managed internally as state.
I would like to propose a new HOC withStateOnPropsChange. This will be similar to withPropsOnChange, with the addition that it passes handlers to update the state manually.
I'm not too attached to the API - it might be better, but this is the simplest I could think. I will create a PR if this sounds like a good addition.

one of many answers https://github.com/acdlite/recompose/issues/368#issuecomment-297917744
and its partial as there are other issues exists too

@istarkov Thanks for the quick reply. I tried searching but didn't know how to phrase it properly and couldn't find an issue - sorry for that.
I understand it is convoluted, I just need this due to working with a specific Browser API. I agree that it might not a good idea to add it as a general utility.
Cheers!


[Request] Limit number of message that can be moved

Allowing only certain number of messages to be moved via command line parameters like
-n 10
move all by default.

@ankitsam Sounds  reasonable to me.


JBEHAVE-1512 Upgrade simple-odf from 0.8.2-incubating to 0.9.0-RC1

In master https://github.com/jbehave/jbehave-core/commit/56ca0c245a9be6aac5d4c8c06a52d12f6d558860


Reinstate hpvsim network

Broken on the apis branch but not high priority to fix.

closing as this seems only relevant for STIsim


Run the first test for fold.js and app.js

Parent Issue #306

Please divide #306 to generate more issues. This can be closed.


Bug on z-index (?) with Webkit

Hi,
I use the 4.6.3 version and I have a bug with Webkit. I've identified that the bug provides from js file and not from css files. For example, see http://snrb.simplicicom.fr/ (it's a demo site) on a smarphone or resize the browser window to have the size of a smartphone, and open the menu.
With Firefox, the menu is over it of the slider, but with Chrome (Webkit), the menu is under the slider.
I used autoprefixer to ensure that the CSS are rights.
If the js file is deactivate, the bug is removed.
I hope this can help you.
Sébastien.

Hey!
It's not a bug!!
In my case, it's the normal behavior for Chrome and its brothers...
See that : https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Understanding_z_index/The_stacking_context
Have a good day!


Uncaught TypeError: Cannot read property 'push' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 1.13.0
Electron Version: 1.3.13
System: Microsoft Windows 7 Enterprise
Thrown From: autocomplete-kdb-q package, v0.5.4
Stack Trace
Uncaught TypeError: Cannot read property 'push' of undefined
At /C:/Users/chenduo/.atom/packages/autocomplete-kdb-q/lib/parser.coffee:218

TypeError: Cannot read property 'push' of undefined
    at Parser.module.exports.Parser.parseLine (file:///C:/Users/chenduo/.atom/packages/autocomplete-kdb-q/lib/parser.coffee:127:23)
    at Parser.module.exports.Parser.parseFile (file:///C:/Users/chenduo/.atom/packages/autocomplete-kdb-q/lib/parser.coffee:114:20)
    at file:///C:/Users/chenduo/.atom/packages/autocomplete-kdb-q/lib/parser.coffee:38:18
    at Function.module.exports.Emitter.simpleDispatch (C:\ProgramData\chenduo\atom\app-1.13.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\ProgramData\chenduo\atom\app-1.13.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:129:28)
    at TokenBuffer.module.exports.TokenBuffer.updateNextChunk (file:///C:/Users/chenduo/.atom/packages/autocomplete-kdb-q/lib/tokenBuffer.coffee:62:16)
    at file:///C:/Users/chenduo/.atom/packages/autocomplete-kdb-q/lib/tokenBuffer.coffee:71:17
    at C:\Users\chenduo\.atom\packages\autocomplete-kdb-q\node_modules\underscore\underscore.js:666:47

Commands
     -9:59.9.0 autocomplete-plus:confirm (input.hidden-input)
     -9:59 core:undo (input.hidden-input)
  3x -9:57.6.0 kdb-q:doc (input.hidden-input)
     -1:18.9.0 editor:newline (input.hidden-input)
     -1:18.6.0 bookmarks:jump-to-next-bookmark (input.hidden-input)
  2x -1:15.9.0 core:move-up (input.hidden-input)
     -1:15.4.0 core:move-down (input.hidden-input)
  2x -1:15.1.0 core:move-right (input.hidden-input)
  2x -1:14.3.0 core:backspace (input.hidden-input)
     -1:12.8.0 core:move-left (input.hidden-input)
  2x -1:11.7.0 kdb-q:doc (input.hidden-input)
  2x -1:10.4.0 core:move-right (input.hidden-input)
  8x -0:49.1.0 kdb-q:references (input.hidden-input)
  2x -0:37.8.0 kdb-q:definition (input.hidden-input)
     -0:36.4.0 autocomplete-plus:confirm (input.hidden-input)
  5x -0:35.3.0 kdb-q:definition (input.hidden-input)

Config
{
  "core": {
    "closeEmptyWindows": false,
    "disabledPackages": [
      "activate-power-mode",
      "welcome"
    ],
    "telemetryConsent": "no"
  }
}

Installed Packages
# User
activate-power-mode, v1.2.0 (inactive)
atom-coffee-repl, v0.1.0 (inactive)
auto-indent, v0.5.0 (active)
autocomplete-kdb-q, v0.5.4 (active)
coffee-compile, v0.24.0 (active)
comment, v0.5.0 (active)
compare-files, v0.8.0 (active)
connect-kdb-q, v0.4.4 (active)
default-language, v0.3.0 (active)
eval-javascript, v1.2.0 (inactive)
highlight-selected, v0.12.0 (active)
Hydrogen, v1.5.3 (inactive)
javascript-snippets, v1.2.1 (active)
language-kdb-q, v0.3.0 (active)
node-debugger, v1.10.0 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (active)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (active)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (inactive)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

This error seems to be caused by a particular Q file where "(" symbol is at an unusual place. Could you provide this file (or the part that causes the exception) otherwise it will be difficult to understand what is wrong.

Hi, Thank you for your reply. Currently I can't reproduce this problem again. Should delete this issue? Otherwise I can send you the detail, once this problem appears again...

I find one situation:

when I write a code (I run code line by line), I use \a in a function, (so there's some blank space (tab) in front of it), it doesn't work
then I delete these blank space and the I press enter, the code works, but I get the error of 'push'.

I've found the bug. Fixed in the patch release.


Add pull diagnostic support

This PR updates the server and client to use the pull diagnostics model.
Before completing this, there are a couple of places where I'm unsure if a change is needed (I marked those as TODOs in the code):

https://github.com/MariaSolOs/vscode-eslint/blob/d5e1d71d99e3d2c3bc51349a0cc942756783cc32/server/src/eslintServer.ts#L34-L50
https://github.com/MariaSolOs/vscode-eslint/blob/d5e1d71d99e3d2c3bc51349a0cc942756783cc32/server/src/eslintServer.ts#L254-L261

Am I correctly assuming that this would somewhat degrade the functionality or performance in editors that don't support pull diagnostics model since some code related to canceling validation requests is removed?
I know this server is made by Microsoft employee and you are working for Microsoft too but it is used by many editors outside of VSCode and it would be nice to consider that.

@rchl this is correct. However, keeping both implementations is not a good path forward either. I therefore suggest that we move the version number to 3.x. Then other editors can still use 2.x.

and thanks a lot for doing this. Highly appreciated.

My proposal is to only support pull model from 3.x on forward. It allows us to remove quite some code and makes the overall processing easier on the server side.

Pull support got added.


Use aws_cloudtrail event source plugin to showcase Ansible Validated Content

Use aws_cloudtrail event source plugin to showcase Ansible Validated Content

This likely needs to be committed to https://github.com/ansible-collections/community.eda which needs to be restructured a bit before accepting new PRs