Last week this test worked, now I get a javascriptexception message.

Error: JavascriptException: Message: javascript error: Cannot read property 'defaultView' of undefined
(Session info: chrome=72.0.3626.109)
(Driver info: chromedriver=2.46.628411 (3324f4c8be9ff2f70a05a30ebc72ffb013e1a71e),platform=Mac OS X 10.14.0 x86_64)
The error is occurring after I login, and start Create New Contact process. Robot can't find the Contact tab and sends back this error.
I think the issue is that when robot is running in chrome and you inspect the inspect element brings you to the top of the body element. Then you have to inspect again and it will actually bring you to the element you selected. Is there a work around for that? This didn't happen before the Spring 19' update on regular tabbed objects, although it did happen on object buttons such as Accounts > New Button. To work around that I did Wait For Aura after opening an object page to select the New button. But that does not seem to work in this scenario.
For some reason I cant attach a robot file so I will paste the code below. Please help!
*** Settings ***
Library    SeleniumLibrary
Library    cumulusci.robotframework.CumulusCI
Library    cumulusci.robotframework.Salesforce
variables    variables.py

*** Test Cases ***
Salesforce Contact Creation/Deletion
    TestSetup
    Login
    Verify Login
    Create New Contact
    Enter Name
    Enter Account
    Save Contact
    Delete Contact
    Teardown

*** Keywords ***
TestSetup
    Open Browser    https://login.salesforce.com/    chrome

Verify Login
    Wait Until Page Contains    Home    timeout=20
Teardown
    Close Browser
Save Contact
    Click Modal Button    Save
Delete Contact
    Wait For Aura
    Click Object Button    Delete
    Click Modal Button    Delete
Enter Account
    Click Element    class:uiInput--lookup
    Input Text    class:uiInput--lookup    ${ACCOUNT}
    Click Element    class:slds-lookup__result-text
Enter Name
    Wait Until Modal Is Open
    Input Text    class:firstName    ${F_NAME}
    Input Text    class:lastName    ${L_NAME}
Login
    Input Text    id:username    ${USERNAME}
    Input Text    id:password    ${PASSWORD}
    Click Element     Login
Create New Contact
    Click Link    Contacts
    Wait For Aura
    Click Object Button    New

We've also seen this in a different part of the UI since the Spring 19 release, and are still looking for a good workaround. It appears to be a general issue with chromedriver when interacting with elements inside a shadow DOM: https://stackoverflow.com/questions/49906451/web-driver-click-on-element-within-shadowdom-is-returning-error-messageunk

Its almost like there needs to be a way to double click on everything without breaking the test. If you inspect on say the Account object the first time you get brought to the top of the body element, then on second inspect you get brought to the actual element. Could that be a possible fix in the meantime? I have to create automated salesforce tests for my position, so this breaking is making me scramble a bit.
Any sort of help would be hugely beneficial.
Thank you!

@davisagli I figured out a work-around. Use firefox with geckodriver. Everything works as intended now. Thank you!

While Firefox is currently a life saver for interacting with lightning components that have a shadow DOM, I would like to see an approach for us to also use Chrome without hassle.
I have tried to read up on the problem in the repositories involved and found that robot points to selenium and selenium points to WC3 and nothing much has happened in about a year.
Was wondering if CCI could implement a python class that would solve the problem at hand.

For the specific case of navigating to a tab, you can use the Select App Launcher Tab keyword from the Salesforce library. (It uses the app launcher, which has the benefit of working even if that tab isn't shown in the current app.)
I'm not sure at this point what the right general solution is for interacting with shadow DOM elements -- we haven't spent much time on this, because it's not something that Salesforce.org product teams have been running into much, somewhat surprisingly.

That is indeed interesting. Any custom component utilizing lightning-input
(or lightning:input for that matter) is not accessible anymore for us with
robot/selenium/webdriver/chrome.
Nominally, that was part of the winter release - but the tests started
failing long after the tests succeeded in the first winter20 orgs. I
suppose they pushed that a little later.
My knowledge is not sufficient to implement what the Release Note suggest (
https://www.seleniumeasy.com/selenium-tutorials/accessing-shadow-dom-elements-with-webdriver
)
If I can be pointed in the right direction, I will further investigate.
On Tue, 22 Oct 2019 at 16:12, David Glick<EMAIL_ADDRESS>wrote:

For the specific case of navigating to a tab, you can use the Select App
Launcher Tab keyword from the Salesforce library. (It uses the app
launcher, which has the benefit of working even if that tab isn't shown in
the current app.)
I'm not sure at this point what the right general solution is for
interacting with shadow DOM elements -- we haven't spent much time on this,
because it's not something that Salesforce.org product teams have been
running into much, somewhat surprisingly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SFDO-Tooling/CumulusCI/issues/987?email_source=notifications&email_token=AEAGS6S2WMUKMHLTV5GVOUDQP4C6PA5CNFSM4GXPN7B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB54PMI#issuecomment-544982961,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAGS6RGCER6CYBEYGNB5PDQP4C6PANCNFSM4GXPN7BQ
.

We're still happy with firefox+robot - just curious if there's any change since last we talked?

@boakley Am I right in thinking we are doing a click using javascript instead of the selenium click command to work around shadow DOM navigation issues in some cases? If so could you point @Szandor72 to an example?

@Szandor72 Is this issue still impacting you?


Recipe Changes for AL2022 Neuron Support

Summary

This PR adds a new build target - al2022neu, and adds scripts/enable-ecs-agent-inferentia-support.sh to AL2022 recipes.
Implementation details

Add new target to Makefile
Modify al2022.pkr.hcl build sources to include al2022neu, as well as two provisioners to

run scripts/enable-ecs-agent-inferentia-support.sh to install neuron packages on AL2022 base instance and enable INF on instance.
install necessary neuron packages that is not in AL2022 Repo yet in install-neuron-packages.sh (missed packages can be found in scripts/al2022/install-neuron-packages.sh). Downloaded AL2 version of those rpms and put them under amazon-ecs-ami/additional-packages/al2022

Create al2022neu.pkr.hcl and scripts/al2022/install-neuron-packages.sh
Modify scripts/enable-ecs-agent-inferentia-support.sh to also run when AMI_TYPE is al2022neu

Testing

New tests cover the changes:  No
Manual Tests:
Ran REGION=us-west-2 make al2022neu and successfully created an AMI (ami-056e2478617a095b7 in personal test account) with name unofficial-amzn2022-ami-ecs-neu-hvm-2022.0.20220520-x86_64-ebs
Launched an INF instance with this AMI and ran a busybox task on this instance.
Description for the changelog

Recipe changes for AL2022 Neuron Support
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Update on PR testing: used Amazon Linux team's beta build of dkms and oci package to build AL2022 neuron AMI and it is working. Next steps before merging into main branch is

wait for AL packages to be pushed to repo
test with an Trn instance


[UX] Cannot delete user added authentication step

Purpose

Radio button shouldn't be a link. Once user select the option. We need to show the "Configuration" link.

And under "Advance Configuration", Once user add steps, user cant delete the first step. And the error message is too technical and can't understand the issue why it's not allowing to delete that step. And if it's a mandatory to have that step. Would be better to keep that step by default and differentiate on the UI to emphasis as it is a mandatory step.

Steps to reproduce

Log in to WSO2 IS Management Console
Navigate to "Add" section under "Service Providers"
Expand "Local & Outbound Authentication Configuration" And click on "Advanced Configuration"
Add 2 or more steps and keep on deleting the steps to the first one

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


WIP: Refactor validation helpers into a single module

Fixes #362
I made the functional changes, but can get past jshint:dist. Apparently the build system isn't able to handle this module type. onBuildWrite is kinda complicated, so I'm hoping for some help to debug this. Once it actually builds, we should get some numbers from the compare_size task.
I definitely like the raw reduction in LOCs, currently 291 additions and 456 deletions. Less dependencies and factory arguments is nice.

The outcome of your change is:

Minified size
size 𝛥
Minified+gz size
size 𝛥

globalize.min.js
3906
53.18%
1672
33.23%

globalize/currency.min.js
5751
-3.68%
2469
-5.44%

globalize/date.min.js
15243
0.07%
4959
-0.74%

globalize/message.min.js
15892
-3.60%
4920
-4.84%

globalize/number.min.js
7226
-0.17%
2965
-1.66%

globalize/plural.min.js
5270
-2.68%
2231
-1.76%

globalize/relative-time.min.js
1468
0.69%
697
-1.55%

The whole purpose of keeping each validation separately is being able to balance the weight, i.e., only including them when necessary. In practice, the current code will never load a validation that's not needed. After this change, it will.
Having said that, I'm mostly concerned/interested in seem the delta difference in the runtime modules (#398). Because, they use even less validations, therefore the impact will be bigger.

What do these numbers mean?

The size of final modules.

Specifically, how can I read the percentages?

Delta sizes (comparing master with this PR)

So the main module gets bigger, the others get smaller?
Doing the comparison on top of the runtime changes seems reasonable.

So the main module gets bigger, the others get smaller?

yeap

I am closing all old (and stalled) PRs


Now both index.html and landing.html can be changed for specific playgrounds

By default they will be served from www/default if no
override has been specified

@marcosnils :bell:


Touch topics when posts are updated to enable ordering by post without a...

... join
This solution will probably require a rake task or migration for existing installations.

Why would this require a rake task or migration for existing installations?

Because in existing installations topic updated_at will be the same as topic created_at, causing the topics to be ordered by creation instead of by topics with the most recent posts.  Once another post was added it would move up to the top correctly.

Rightio, well use Forem::Topic.find_each inside that migration to fix it then. Gogo ;)

@radar - added migration


Bug/ringout legs

Coverage decreased (-0.5%) to 43.88% when pulling c3fc5e6cf0ed1b4027508f9d27d49b860df1688b on u9520107:bug/ringout-legs into 4026a8c1fd0e296277e14e8e9111dd13e5319de5 on ringcentral:master.


Search for the first match of gawk in the $PATH environment variable.

Hi, the tests have failed since env doesn't pass -f to gawk, it tries to find a binary gawk -f
It's also easy to reproduce the problem on a Linux host:
 $ ~/shdoc master↕ ./shdoc -h
/usr/bin/env: ‘gawk -f’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines

I wonder if we can use something like this:
#!/usr/bin/env -S gawk -f -

accrording to map env
       -S, --split-string=S
              process and split S into separate arguments; used to pass multiple arguments on shebang lines

I see master already contains the requested changes. So maybe I can close this PR :)

@mlsmrc you are probably confusing this with #36 since I partially merged it and didn't touch the shebang.
The master branch doesn't contain the fixed version of shebang: https://github.com/reconquest/shdoc/blob/master/shdoc#L1

can we repoen this as it does fix the issue on mac

Please re-open "this is the way".


Validate network security group resource

Check that name matches azure's restrictions: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules
Check that security rules have a valid port range
Check that security rules cidr block is valid
Check that security rules protocl is valid (check possible values https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_security_rule)
Check that priority is between 100 and 4096

Hey, @goncalo-rodrigues please assign this to me, starting working on this now.

@goncalo-rodrigues This can be closed now.


Fix release command when there is no previous version

release command didn't handle the compare URLs properly when there was only one version in the changelog file and the version number had dots.
This fixes #60.

Coverage remained the same at 91.379% when pulling 884503dae44d36972d67450928665d59b6645754 on fix-release-60 into c33b8f29a2e406944337ca1b62d3e753a10a7f84 on master.


Upgrade ussuri -> victoria blocked if ceph is quincy

quincy is the highest recognised version by COU (COU does not support upgrading ceph from quincy -> reef).
However this causes a problem when there is an openstack deployment on ussuri, but ceph is on quincy.  COU can plan an upgrade from ussuri to victoria, but then errors out because it cannot upgrade ceph:
2024-06-27 06:04:27 [cou.cli] [WARNING] Cannot generate plan for 'ceph-mon'
        The 'ceph-mon' application is using channel 'quincy/stable'. Channels supported during this transition: 'octopus/stable', 'octopus/stable'. Manual intervention is required.
Cannot generate plan for 'ceph-radosgw'
        The 'ceph-radosgw' application is using channel 'quincy/stable'. Channels supported during this transition: 'octopus/stable', 'octopus/stable'. Manual intervention is required.
Cannot generate plan for 'ceph-osd'
        The 'ceph-osd' application is using channel 'quincy/stable'. Channels supported during this transition: 'octopus/stable', 'octopus/stable'. Manual intervention is required.

In this case I guess COU should see that ceph is the highest supported version and skip it?  Maybe openstack can be upgraded separately to ceph?

According to https://ubuntu.com/ceph/docs/supported-ceph-versions is supported from ussuri through to yoga (so victoria would be included). So this is really a COU bug?


esbuild WARNING

I see this on Windows 10.
▲ [WARNING] "tsconfig.json" does not affect esbuild's own target setting [tsconfig.json]

    tsconfig.json:11:4:
      11 │     "target": "ES2022",
         ╵     ~~~~~~~~

  This is because esbuild supports reading from multiple "tsconfig.json" files within a single
  build, and using different language targets for different files in the same build wouldn't be
  correct. If you want to set esbuild's language target, you should use esbuild's own global
  "target" setting such as with "target: 'es2022'".

we use esbuild - version 0.18.5, only for server-build/index.js, the rest of the code is handle by remix with its esbuild - version 0.17.6
esbuild changelog - indicate that esbuild no longer you tsconfig.json target as its target.
I think it is bet to keep our version of esbuild in-sync with remix version. when remix will update to esbuild version 18+ we can drop the target froum our tsconfig.json

Good idea 👍


How about expand Builder for Queue Object like durable()

Expected Behavior
I would like to add more autoDelete or exclusive option builders to QueueBuilder.

Current Behavior
Currently, when using QueueBuilder, only the durable option can be set to durable or nonDurable, and the remaining exclusive or autoDelete cannot be set to false. Therefore, new Queue() is used instead of QueueBuilder. However, when using new Queue(), settings such as x-message-ttl must be added as shown in the code below.
HashMap<String, Object> args = new HashMap<>();
args.put("x-message-ttl", 300_000L);

return new Queue(queueName, true, false, false, args);

QueueBuilder has ttl(), which is convenient, but it seems to be difficult to use, so I suggest expanding Queue's Builder pattern further and adding exclusive or autoDelete settings.

Context
I want to use a QueueBuilder. However, QueueBuilder can only set autoDelete or exclusive settings to true. This part is inconvenient and I want to improve it. It seems possible to set the builder pattern to receive boolean type excusive and autoDelete as parameters. or I think it can be applied like the durable() and nonDurable().

It is not clear why you need this. exclusive and autoDelete are both false by default so
QueueBuilder.durable(queueName)
    .ttl(300_000)
    .build();

Will create the queue with those properties set to false.

oh..! It's my mistake during testing. You are right. thanks😅


Update xcode_select sample code to follow naming conventions

          1 Warning

:warning:
Please provide a changelog summary in the Pull Request description @KrauseFx

  Generated by :no_entry_sign: Danger

nooo @fastlane-bot-helper


set CATKIN_PACKAGE_LIBEXEC_DESTINATION which was documented but not set

Fixes #1118.

Cherry-picked to kinetic-devel in 457a7cbe1885214905a79cdb11ea7d3b9c9e6d56.


Move to multiple dispatch for Kuu & Kuf, and some other cleaning-up

Codecov Report

Merging #669 into multidispatch_featureconditionals will decrease coverage by 73.71%.
The diff coverage is 22.66%.

@@                          Coverage Diff                           @@
##           multidispatch_featureconditionals     #669       +/-   ##
======================================================================
- Coverage                                 93%   19.28%   -73.72%
======================================================================
  Files                                     48       48
  Lines                                   4016     4019        +3
======================================================================
- Hits                                    3735      775     -2960
- Misses                                   281     3244     +2963

Impacted Files
Coverage Δ

gpflow/decors.py
34.06% <16.66%> (-61.49%)
:arrow_down:

gpflow/multikernels.py
14.86% <3.22%> (-28.98%)
:arrow_down:

gpflow/features.py
43.75% <38.88%> (-56.25%)
:arrow_down:

gpflow/conditionals.py
3.34% <50%> (-28.06%)
:arrow_down:

gpflow/training/__init__.py
0% <0%> (-100%)
:arrow_down:

gpflow/models/sgpmc.py
0% <0%> (-100%)
:arrow_down:

gpflow/models/gpr.py
0% <0%> (-100%)
:arrow_down:

gpflow/kullback_leiblers.py
0% <0%> (-100%)
:arrow_down:

gpflow/test_util.py
0% <0%> (-100%)
:arrow_down:

gpflow/likelihoods.py
0% <0%> (-100%)
:arrow_down:

... and 36 more

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 b490b33...ef510f1. Read the comment docs.

The failed tests are due to the NotImplementedError inserted into the SVGP's build_KL ... not my fault :stuck_out_tongue:

I know, that's why I started to work on the KL-divergences :)


Use android-maven rather than maven

The android-maven plugin helps to fix various android specific issues with Maven

Current configuration does not have any issue. If we have issue in the future, we will fix this.


feat(api): Add the orderBy parameter to list methods

This PR adds the orderBy parameter to the existing list methods.
I got inspired by the implementation in the .NET client library (https://github.com/crowdin/crowdin-api-client-dotnet/pull/251) and I implemented it similarly in Python + I added enums for each list endpoint with possible values to order by.
The following list methods take orderBy parameter, but currently are not in the Python library:

List AI Prompt Fine-Tuning Jobs which should be a part of https://github.com/crowdin/crowdin-api-client-python/issues/170
List Users which is not yet implemented and there isn't even an issue for it.

Closes #155

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 99.38272% with 2 lines in your changes missing coverage. Please review.

Project coverage is 99.23%. Comparing base (86fd49a) to head (003bb1a).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

crowdin_api/parser.py
33.34%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #191      +/-   ##
==========================================
+ Coverage   99.22%   99.23%   +0.01%
==========================================
  Files         166      169       +3
  Lines        6658     6976     +318
  Branches      149      158       +9
==========================================
+ Hits         6606     6922     +316
- Misses         36       38       +2
  Partials       16       16

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Errno::EACCES: Permission denied @ dir_s_mkdir - /home/app/webapp/courses/AutoPopulated

When I try to run the autolab:populate command, this error occurs:
$   docker-compose run --rm -e RAILS_ENV=production web rake autolab:populate

Starting local_db_1_e6351c097e85    ... done
Starting local_tango_1_b01116f87ab0 ... done
Creating Course AutoPopulated and config file
rake aborted!
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/app/webapp/courses/AutoPopulated
/home/app/webapp/app/models/course.rb:94:in `init_course_folder'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_create_callbacks'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:306:in `_create_record'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/timestamp.rb:57:in `_create_record'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/persistence.rb:502:in `create_or_update'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `block in create_or_update'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/persistence.rb:120:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/validations.rb:37:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:21:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:286:in `block (2 levels) in save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:286:in `block in save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:285:in `save'
/var/lib/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>7/lib/new_relic/agent/instrumentation/active_record_helper.rb:26:in `block in save'
/var/lib/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>7/lib/new_relic/agent.rb:586:in `with_database_metric_name'
/var/lib/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>7/lib/new_relic/agent/instrumentation/active_record_helper.rb:25:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/persistence.rb:34:in `create'
/home/app/webapp/lib/tasks/autolab.rake:27:in `load_course'
/home/app/webapp/lib/tasks/autolab.rake:334:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.2.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => autolab:populate
(See full trace by running task with --trace)

If this is on the command line, you probably need to run docker-compose with sudo permissions -- have you tried that?

Isn't the mkdir command being executed inside the Docker container? I don't see how using sudo when executing the ./install.sh -l command on my Mac would assist in a permission denied error inside the container. Unless that directory is mounted as a volume on my Mac?

It's probably the volume on your Mac -- when I've used docker-compose in the past, it requires sudo permission to run.

I've tried prefixing the command with sudo but still get the permission denied error:
$ sudo docker-compose run --rm -e RAILS_ENV=production web rake autolab:populate
Starting local_db_1_e6351c097e85    ... done
Starting local_tango_1_b01116f87ab0 ... done
Creating Course AutoPopulated and config file
rake aborted!
Errno::EACCES: Permission denied @ dir_s_mkdir - /home/app/webapp/courses/AutoPopulated
/home/app/webapp/app/models/course.rb:94:in `init_course_folder'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `block in call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `each'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:506:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_create_callbacks'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:306:in `_create_record'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/timestamp.rb:57:in `_create_record'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/persistence.rb:502:in `create_or_update'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `block in create_or_update'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/var/lib/gems/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/callbacks.rb:302:in `create_or_update'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/persistence.rb:120:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/validations.rb:37:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/attribute_methods/dirty.rb:21:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:286:in `block (2 levels) in save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:347:in `block in with_transaction_returning_status'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:188:in `within_new_transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in `transaction'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:344:in `with_transaction_returning_status'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:286:in `block in save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/transactions.rb:285:in `save'
/var/lib/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>7/lib/new_relic/agent/instrumentation/active_record_helper.rb:26:in `block in save'
/var/lib/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>7/lib/new_relic/agent.rb:586:in `with_database_metric_name'
/var/lib/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>7/lib/new_relic/agent/instrumentation/active_record_helper.rb:25:in `save'
/var/lib/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/persistence.rb:34:in `create'
/home/app/webapp/lib/tasks/autolab.rake:27:in `load_course'
/home/app/webapp/lib/tasks/autolab.rake:334:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.2.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => autolab:populate
(See full trace by running task with --trace)

It seems like it's trying to make this directory /home/app/webapp/courses/AutoPopulated, but is it trying to do that on my Mac, or in the Docker container?

I went inside the container and tried to manually mkdir AutoPopulated inside the /home/app/webapp/courses directory, and still got the permission denied error, even logged in as root!
https://gist.github.com/natea/3e9af5fad60769399883e7a132d55184

what's weird is that the directory /home/app/webapp/courses directory is owned by the root user and the owner has write permissions to that directory.
drwxr-xr-x  2 root root    64 Nov 18 13:35 courses
So it's bewildering why the AutoPopulated directory cannot be created in there. Is this a shared volume on the host OS?

Yup, from server/docker-compose.yml, it looks like /home/app/webapp/courses is mounted to ./Autolab/courses. So it is trying to write to your MacOS -- I've no idea why that should be failing.

I looked at the attached volumes, and noticed that /home/app/webapp/courses had been mounted on my local machine in the directory ~/Documents/code/autolab-oneclick/local/Autolab/courses

I checked the permissions of this directory courses and it was set to 9999:9999
nateaune at natemacbookpro in ~/Documents/code/autolab-oneclick/local/Autolab (master●)
$ ls -l
total 168
-rw-r--r--   1 nateaune  staff   6449 Nov 18 08:35 CONTRIBUTING.md
-rw-r--r--   1 nateaune  staff   1748 Nov 18 08:35 Dockerfile
-rw-r--r--   1 nateaune  staff   3267 Nov 18 08:35 Gemfile
-rw-r--r--   1 nateaune  staff   8954 Nov 18 08:35 Gemfile.lock
-rw-r--r--   1 nateaune  staff  11324 Nov 18 08:35 LICENSE
-rw-r--r--   1 nateaune  staff   2860 Nov 18 08:35 README.md
-rwxr-xr-x   1 nateaune  staff    273 Nov 18 08:35 Rakefile
drwxr-xr-x   9 nateaune  staff    288 Nov 18 08:35 app
drwxr-xr-x   2 nateaune  staff     64 Nov 18 08:35 attachments
drwxr-xr-x   7 nateaune  staff    224 Nov 18 08:35 bin
drwxr-xr-x  19 nateaune  staff    608 Nov 18 08:35 config
-rwxr-xr-x   1 nateaune  staff    158 Nov 18 08:35 config.ru
-rw-r--r--   1 nateaune  staff  32198 Nov 18 08:35 config.zip
drwxr-xr-x   2 9999      9999      64 Nov 18 08:35 courses
drwxr-xr-x   5 nateaune  staff    160 Nov 18 08:35 db
drwxr-xr-x   5 nateaune  staff    160 Nov 18 08:35 docker
drwxr-xr-x   5 nateaune  staff    160 Nov 18 08:35 examples
drwxr-xr-x  16 nateaune  staff    512 Nov 18 08:35 lib
drwxr-xr-x   7 nateaune  staff    224 Nov 18 08:35 public
drwxr-xr-x  16 nateaune  staff    512 Nov 18 08:35 script
drwxr-xr-x  12 nateaune  staff    384 Nov 18 08:35 spec
drwxr-xr-x   4 nateaune  staff    128 Nov 18 08:35 templates

So I changed it to be owned by the same user that owns the other folder:
$ sudo chown -R nateaune:staff courses

And now the autolab:populate command executes successfully!
$ docker-compose run --rm -e RAILS_ENV=production web rake autolab:populate
Starting local_tango_1_b01116f87ab0 ... done
Starting local_db_1_e6351c097e85    ... done
Creating Course AutoPopulated and config file
Creating Assessments
Creating Problems
Fast-creating Users
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
Fast-creating Submissions and Scores (might take a while)
Fast-creating AUDs
Creating configuration files
Creating Autograde Assessment
Population Successful

With those /usr/bin/sendmail not found messages, which I think can be safely ignored, since they're likely just sending an email that the user was created?


[Feature] Dump error logs to a file with an artifact in the CI/CD

Is your feature request related to a problem? Please describe.
In order to be able to debug in the CI/CD it would be good to have the logs on file you can download, after an errored out action
Describe the solution you'd like
Nest is already logging in the console when you run the project, we should dump these logs to a file that can be downloaded when the CI/CD actions is run

Solved the file logging by running yarn start &> api.log & in the workflow
podkrepi-bg/frontend#1110


License

Hi Team,
I have seen that you have added the MIT license to most other dipdup projects. Is there the intention to add MIT here as well? I would welcome a LICENSE file in the repository if that is the case.
It is important to properly use and attribute your work.
update: found it here would be great to actually add the LICENSE text as well as this is the actual license and not the SPDX short identifier as it is not clear if you are referring to this.
Best regards
Carlo

Done! Thanks for the feedback.


"Try again with tweaks" functionality

Done in https://github.com/basicallydan/gpterm/releases/tag/v0.7.0


Add support for utf8 names on /v1/label/:name/values endpoint

Previously, the api was evaluating this regex to determine if the label name was valid or not:
https://github.com/prometheus/common/blob/14bac55a992f7b83ab9d147a041e274606bdb607/model/labels.go#L94
However, I believe that the IsValid() function is what ought to be used in the brave new utf8 era.
Before
$ curl localhost:9090/api/v1/label/host.name/values
{"status":"error","errorType":"bad_data","error":"invalid label name: \"host.name\""}

After
$ curl localhost:9090/api/v1/label/host.name/values
{"status":"success","data":["localhost"]}

It's very likely that I'm missing something here or you were already planning to do this at some point but I just encountered this issue and figured I'd give it a go.

@newtonne
What happens if the label name contains a "/" or \n? Does the endpoint understand an escaping or quoting scheme?  In pushgateway we used the U__ scheme: https://github.com/prometheus/pushgateway/pull/689

Yeah, depending on the details of the used web framework, slashes in those RESTful URLs are definitely annoying. Some URL escaping might or might not work. (In the PGW, we decided it is too hard and used other escaping schemes. Maybe the U__ escaping is the easiest way out here.)

for reference, here are the Go implementations for escaping: https://github.com/prometheus/common/blob/main/model/metric.go#L315-L339
and unescaping:
https://github.com/prometheus/common/blob/main/model/metric.go#L367-L420

see https://github.com/prometheus/prometheus/pull/15399

Sounds good @ywwg , thanks. I was hoping to find some time over the coming days to take a look but I appreciate you taking it over.

no worries -- sorry again for losing track


Install issues on Debian - "gem install pluto" method - sudo/root needed, plus depedencies

At least on Debian gem install pluto  needs to be run as root.

sudo gem install pluto works (if proper dependencies are installed in advance).

Please consider adding a pointer/link to the install dependencies section of the FAQ in Step 1 of README.md (so people will see it before or right after running the gem install command) and maybe ask for contribution of similar lists for other systems.
On Debian - roughly the same dependencies are needed for gem install pluto  as bundle install.

Dependencies:   git ruby sqlite3 sudo gcc make libsqlite3-dev ruby-dev
ruby instead of ruby-bundler which pulled in ruby and ruby-bundler for the bundle install approach.

Once libsqlite3-dev and ruby-dev were installed both

sudo gem install pluto
luto build planet.ini -t starter -o build

completed successfully.

The first error before installing libsqlite3-dev ruby-dev but with git ruby sqlite3 sudo gcc make already installed in the minimal Debian image was:

Fetching: sqlite3-1.4.2.gem (100%)
Building native extensions. This could take a while...
ERROR:  Error installing pluto:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/sqlite3-1.4.2/ext/sqlite3
/usr/bin/ruby2.5 -r ./siteconf20200214-12-v7br8y.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

full message:
developer@d07e41bc8088:~$ sudo gem install pluto
Fetching: iniparser-0.1.0.gem (100%)
Successfully installed iniparser-0.1.0
Fetching: props-1.2.0.gem (100%)
Successfully installed props-1.2.0
Fetching: logutils-0.6.1.gem (100%)
Successfully installed logutils-0.6.1
Fetching: concurrent-ruby-1.1.6.gem (100%)
Successfully installed concurrent-ruby-1.1.6
Fetching: i18n-1.8.2.gem (100%)

HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.

If you are upgrading your Rails application from an older version of Rails:

Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.

If you are starting a NEW Rails application, you can ignore this notice.

For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0

Successfully installed i18n-1.8.2
Fetching: thread_safe-0.3.6.gem (100%)
Successfully installed thread_safe-0.3.6
Fetching: tzinfo-1.2.6.gem (100%)
Successfully installed tzinfo-1.2.6
Fetching: zeitwerk-2.2.2.gem (100%)
Successfully installed zeitwerk-2.2.2
Fetching: activesupport-<IP_ADDRESS>.gem (100%)
Successfully installed activesupport-<IP_ADDRESS>
Fetching: rubyzip-2.2.0.gem (100%)
Successfully installed rubyzip-2.2.0
Fetching: textutils-1.4.0.gem (100%)
Successfully installed textutils-1.4.0
Fetching: feedparser-2.1.2.gem (100%)
Successfully installed feedparser-2.1.2
Fetching: feedfilter-1.1.1.gem (100%)
Successfully installed feedfilter-1.1.1
Fetching: activemodel-<IP_ADDRESS>.gem (100%)
Successfully installed activemodel-<IP_ADDRESS>
Fetching: activerecord-<IP_ADDRESS>.gem (100%)
Successfully installed activerecord-<IP_ADDRESS>
Fetching: logutils-activerecord-0.2.1.gem (100%)
Successfully installed logutils-activerecord-0.2.1
Fetching: props-activerecord-0.2.0.gem (100%)
Successfully installed props-activerecord-0.2.0
Fetching: activityutils-0.1.2.gem (100%)
Successfully installed activityutils-0.1.2
Fetching: activerecord-utils-0.4.1.gem (100%)
Successfully installed activerecord-utils-0.4.1
Fetching: pluto-models-1.5.6.gem (100%)
Successfully installed pluto-models-1.5.6
Fetching: fetcher-0.4.5.gem (100%)
Successfully installed fetcher-0.4.5
Fetching: pluto-feedfetcher-0.1.4.gem (100%)
Successfully installed pluto-feedfetcher-0.1.4
Fetching: pluto-update-1.6.3.gem (100%)
Successfully installed pluto-update-1.6.3
Fetching: liquid-4.0.3.gem (100%)
Successfully installed liquid-4.0.3
Fetching: pakman-1.1.0.gem (100%)
Successfully installed pakman-1.1.0
Fetching: pluto-merge-1.1.0.gem (100%)
Successfully installed pluto-merge-1.1.0
Fetching: pluto-tasks-1.5.3.gem (100%)
Successfully installed pluto-tasks-1.5.3
Fetching: gli-2.19.0.gem (100%)
Successfully installed gli-2.19.0
Fetching: sqlite3-1.4.2.gem (100%)
Building native extensions. This could take a while...
ERROR:  Error installing pluto:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/sqlite3-1.4.2/ext/sqlite3
/usr/bin/ruby2.5 -r ./siteconf20200214-12-v7br8y.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/sqlite3-1.4.2 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.4.2/gem_make.out

Again thanks for the detailed report. I try to update the readme and will add a link back to this issue here.


KEP-32: Community Repository Management

What this PR does / why we need it:
Detail a workflow for upstream operator developers to add or update operator packages in the community repository by referencing their upstream package.

Good points @kensipe! Let's follow KEP-19 here and use a (required) operatorVersion and (optional) appVersion field. These should then match the respective fields provided in the referenced operator package. I created https://github.com/kudobuilder/kitt/issues/3 to add this validation to kitt.


Metis Reordering

This PR provides a wrapper for Metis's NodeND routine which allows reordering matrices. Particularly, the following changes are made:

MetisReorder class has been added.
Metis option enumerations are relocated to their own namespace (this is very much a temporary solution and may not be their final placement)
A very simple test for MetisReorder is added (Basically a copy of the RCMReorder test)
Some options that were missing for MetisPartition are added.

Replaced by #217


Description of "documentChanges" of "WorkspaceEdit" is unclear

The documentChanges field of a WorkspaceEdit is described as follows:
An array of TextDocumentEdits to express changes to specific a specific version of a text document. Whether a client supports versioned document edits is expressed via WorkspaceClientCapabilites.versionedWorkspaceEdit.
While the wording to specific a specific is clearly wrong, it is unclear what is meant. Do all these individual TextDocumentEdits have to be applied to the same specific version of a text document?

If yes, what would be the point of having a VersionedTextDocumentIdentifier in each TextDocumentEdit – and possibly different ones??
If no, the first sentence of the description should be reworded, see my suggestion below.

An array of TextDocumentEdits each expressing a change to a specific version of a text document.

Change it to
	 * An array of `TextDocumentEdit`s to express changes to n different text documents
	 * where each text document edit addresses a specific version of a text document.
	 * Whether a client supports versioned document edits is expressed via
	 * `WorkspaceClientCapabilites.versionedWorkspaceEdit`.

It changes n text documents and each text document edit addresses a specific version. If the client doesn't have that version anymore it can either reconstruct the version or drop the edit. This is singled via the applied property in the response.

@dbaeumer There is a mistake in the comment: should be WorkspaceClientCapabilites.workspaceEdit.documentChanges, not WorkspaceClientCapabilites.versionedWorkspaceEdit

Good catch. Will fix

Done


AWS workflow (details to be determined)

We need a GEN/SIM/DIGI/RECO/MiniAOD producing workflow spec that may need several cmsRun steps.  Exact details are still to be determined depending on what we can fold into a single cmsRun.

Hmm, that is going to be a nice challenge/development :-) It'll be basically a taskChain spec but mimicking the KeepOutput (actually drop) from ReDigi spec.
Eric, do we have a timescale for this one? I guess it's for September's cycle?

I think we should start this as soon as possible since this would affects whole chain.


make sure to (always) delete temp files

I think this should solve the issues we have with the clogging up of cn45's tmp folder.

Tests run/work on my branch:
https://github.com/Maarten-vd-Sande/fluff/tree/remove_tmp


YOLOX installation Issue - Clone Issue: Public Key Denied

I tried to install yolox from the documentations - installations to my Ubuntu system(22.04LTS)
tried Generating SSH key still no change.
virat@virat-Pulse-GL66-11UGK:~/coder/development/ros/yolox$ git clone git@github.com:Megvii-BaseDetection/YOLOX.git
Cloning into 'YOLOX'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Please try git clone from https.


ImageView : Resizing and resampling image before showing

This could be connected to #1426 but I thought I should put it in as a separate issue.
Source file is checker.exr in here:
https://www.dropbox.com/sh/ktp6emsmra2miu8/AAAkZBnMnERZtIm9sg7LmmyCa?dl=0
This is a 100x100 pixel checker board, with each checker sized at 1 pixel.
In Nuke, it looks like this:

In Gaffer, it looks like this:

I also tried it with a 10x10 checkerboard (checker_small.exr in the Dropbox link), and that looks like this in Gaffer:

In this one, you can actually count the pixels, and it appears to be being resized to 8x8, and being resampled.

This would also explain another bug I was going to report where the pixel sampler didn't line up to actual pixels. It appears that it does actually line up to pixels in the underlying data, just not pixels in what's being drawn to screen!

So, the way the viewer works is to generate a texture for the whole image, and then display that. So it must be the texture generation that is causing the filtering. The image view really needs reworking because it's just a big jumbled mess at the moment. The first step should be to separate out the image display only into a gadget equivalent to the SceneGadget in GafferSceneUI. This would manage one texture per-channel-per-tile and render each tile individually, and would therefore avoid a lot of unnecessary work in packing all the tiles into a single texture each time. This would improve performance significantly (particular for the Display node, where often only a few tiles change at a time and we could do lazy updates), and we could fix the filtering at the same time.


Add support for round Hue Aurelle LTC016

Tested with two devices for a while. Works as expected.

No, thank you. Quick question... I've tested some more new devices but I'm new to git and wondering whats the most streamlined process here. Can I continue to make changes to my branches of zigbee-shepherd-converters and zigbee2mqtt and make 2 pull requests for each device?

Please make a seperate branch and PR for each device.


Add build as npm command

package.json should have a script added to execute grunt so that building the library is as simple as running:
npm run build

This removes the need to install grunt globally, or execute it from the node_modules/.bin folder.

Looks addressed by #24.  Closing.

Err... It does address as per the comment above, but the PR wasn't merged.


docs: clean html string with redundant parenthesis

Use the transform function from the storybook API to fix the redundant parenthesis like ` and {}.
Removed comments.

Before:

After:

Just a minor thing: I think you pasted in both cases the "before" screenshot since they looks pretty much identical to me :)
But apart from that, LGTM

Just a minor thing: I think you pasted in both cases the "before" screenshot since they looks pretty much identical to me :) But apart from that, LGTM

ha! Good catch, attachment updated.


onPointerObservable functionality differs between latest and stable

Bug
Using:
scene.onPointerObservable.add((pointerInfo) => {
    ...
});

differs between stable and latest babylon, when using a mobile device in VR mode.
tested in iOS 12.1 & 12.3 in safari

Bug repro on playground:
https://playground.babylonjs.com/index.html#TLN3PA#2

Switch between latest & stable on a iOS safari. Maybe also a problem on other mobile devices.

Expected result:
Using scene.onPointerObservable works in both versions the same way for mobile devices. In the example above, in both versions the color of the sphere changes in VR mode while rotating/moving the device.

Current result:
When using scene.onPointerObservable in latest on a mobile device (safari iOS) in VR mode, the observable is not triggered, resulting in not changing the color of the sphere. Although, when doing a swipe gesture while in VR mode the observable is triggered.

@sebastianwahn Did you enable orientation in Safari for IOS ???
By default now Safari does not authorize it anymore: https://doc.babylonjs.com/how_to/webvr_helper#detect-if-fallback-orientation-camera-is-supported

@sebavan yes, I tested this on my iPhone with 12.3.x installed and orientation toggled on. With the 4.0.3 (stable) version the movement of the camera in VR mode is tracked properly.

Ok so it is expected. We turn on the gaze on the VRExperienceHelper when there is no controller and no pointer (that we detect with pointerLock...which unfortunately is not supported on iOS).
You can turn off gaze by not calling vrHelper.enableInteractions().
Is it an option? Other option would be to add a boolean for you that will let the system ignore the pointerLock restriction

@deltakosh why is this behavior expected? With the same device and iOS the feature does work in 4.0.3 and does not work in 4.1.0
Or did you refactor the onPointerObservable in a way that the gaze tracking is not a pointer event anymore?
If yes, is there an alternativ observable I can listen to, to receive a pointerInfo object when I'm in VR mode with a mobile device?

With the same device and iOS the feature does work in 4.0.3 and does not work in 4.1.0:
Because we added the test for pointerLock for 4.1

I went ahead and added a new property for you that you can turn on now: vrHrlper.enableGazeEvenWhenNoPointerLock = true

@deltakosh is this already included in the alpha build for me to test?

It is on nightly (on the repo) and I will push a npm update today :)

thanks!


Validation messages overlay field name

I am developing a new app and love the visual for the float label. However when I add an asp-validation- the field name is overlay-ed.  I would like the validation messages to appear under the field.  I don't know if this is my lack of my knowledge of HTML/CSS or understanding of the usage of the add in.  Here is an section of the cshtml file

@Html.EditorFor(m => m.Guarantor.FirstName, new {htmlAttributes = new {@class = "form-control",
@placeholder = @Html.DisplayNameFor(m => m.Guarantor.FirstName )}})
@Html.LabelFor(m => m.Guarantor.FirstName)

Finally got back in the office. Thanks for looking into my problem
Here is the HTML snippet in my Edit.CSHTML

            @Html.EditorFor(m => m.Guarantor.FirstName, new {htmlAttributes = new {@class = "form-control",

                @placeholder = @Html.DisplayNameFor(m => m.Guarantor.FirstName )}})

            @Html.LabelFor(m => m.Guarantor.FirstName)

Here is the generated markup

First Name

I will attach the files so you have full content
Screen shot. I brought up the screen, cleared the first name field then selected Save
As you can see the error message overlays the field name rather than appearing under the field.
Any assistance would be great.
Thanks
Cliff
Cliff
From: Anton Staroverov<EMAIL_ADDRESS>Sent: Monday, January 29, 2018 12:45 PM
To: tonystar/float-label-css<EMAIL_ADDRESS>Cc: cliffmcmanus<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [tonystar/float-label-css] Validation messages overlay field name (#24)
@cliffmcmanus https://github.com/cliffmcmanus  can you please share the screenshot? Also, generated markup would be helpful.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/tonystar/float-label-css/issues/24#issuecomment-361326183 , or mute the thread https://github.com/notifications/unsubscribe-auth/AXeV8qRyZQx64pjZj3sFakyWBm2Uktz7ks5tPgOAgaJpZM4Rv1sg .

I noticed @tonystar has not been able to treat  this.
Here is a fix. Put this in a custom.css file or at the bottom of the bootstrap version of the floatinglabel css file. Twaek as needed.
.has-float-label .form-control:placeholder-shown:not(:focus)+label.error {
font-size: 80%;
opacity: 1;
top: auto;
}
.has-float-label label.error {
display: block;
position: relative;
top: auto;
clear: both;
left: auto;
right: auto;
margin: 5px;
/make this "left" and increase the bottom-margin/margin  so it does not clash with any floating labels below it (if any)./
text-align: right;
font-size: 80%;
}
.has-float-label label.error::after {
content: " ";
display: block;
position: relative;
height: auto;
top: auto;
clear: both;
left: auto;
right: auto;
font-size: 80%;
z-index: -1;
}


Animation References

Film an unsuspecting victim for animation references.

This has been around for a long time. Are we going to persue this further?


updating master

Codecov Report

Merging #150 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #150      +/-   ##
==========================================
+ Coverage   99.32%   99.33%   +<.01%
==========================================
  Files          43       43
  Lines        1192     1208      +16
  Branches      136      138       +2
==========================================
+ Hits         1184     1200      +16
  Misses          8        8

Impacted Files
Coverage Δ

...mponents/DatatableCore/InputTypes/SelectWrapper.js
100% <ø> (ø)
:arrow_up:

...components/DatatableCore/InputTypes/CreateInput.js
100% <ø> (ø)
:arrow_up:

src/components/DatatableHeader/Widgets/Add.js
100% <100%> (ø)
:arrow_up:

src/redux/reducers/datatableReducer.js
99.42% <100%> (ø)
:arrow_up:

...ponents/DatatableCore/InputTypes/BooleanWrapper.js
100% <100%> (ø)
:arrow_up:

...ents/DatatableCore/InputTypes/DatePickerWrapper.js
100% <100%> (ø)
:arrow_up:

...ents/DatatableCore/InputTypes/TimePickerWrapper.js
100% <100%> (ø)
:arrow_up:

.../DatatableCore/InputTypes/DateTimePickerWrapper.js
100% <100%> (ø)
:arrow_up:

...nents/DatatableCore/InputTypes/TextFieldWrapper.js
100% <100%> (ø)
: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 19cca14...b13ea8a. Read the comment docs.


Is it a React only solution?

I don't see any React dependency in code. Seems like this library is legit for any JS app (even those not React based), am I right?

Yeah I had the same concern. What about this package is react specific?

yea, it's being imported in the snippet.spec test, but not being used..

At first time the lib was developed based on react components, but now it is not using react. So I'm removing react from dependencies and from snippet.spec on version 2.0.10
Probably you can use it on any JS app, but right now I can't test it.
As soon as possible I will test it, and if it works fine I can publish a new package where I can support other implementations.


[ISSUE] Unable to reference existingSecret for camunda components

Describe the issue:
When I try to utilize existingSecret for camunda components, it still generates default secret and puts value of global.identity.auth.camunda-component.existingSecret in camunda-component secretKey base64 encoded, instead of referencing existingSecret that I created.
snippet from values.yaml:
global:
  identity:
    auth:
      enabled: true
      publicIssuerUrl: https://mykeycloak.example.com/auth/realms/myrealm
      connectors:
        existingSecret: myExistingSecretName

Actual behavior:
camunda-platform/charts/identity/templates/deployment.yaml env is using default secret that is created by chart:
          - name: KEYCLOAK_CLIENTS_0_SECRET
            valueFrom:
              secretKeyRef:
                key: connectors-secret
                name: "dev-connectors-identity-secret"

camunda-platform/charts/identity/templates/connectors-secret.yaml is rendered to:
apiVersion: v1
kind: Secret
metadata:
  name: "dev-connectors-identity-secret"
  labels:
    app: camunda-platform
    app.kubernetes.io/name: identity
    app.kubernetes.io/instance: dev
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/part-of: camunda-platform
    helm.sh/chart: identity-8.2.6
    app.kubernetes.io/version: "8.3.0-alpha2"
    app.kubernetes.io/component: identity
type: Opaque
data:
  connectors-secret: "base64encoded myExistingSecretName"

Expected behavior:
camunda-platform/charts/identity/templates/deployment.yaml env is using myExistingSecret that is created by me that has right secretKey in place:
          - name: KEYCLOAK_CLIENTS_0_SECRET
            valueFrom:
              secretKeyRef:
                key: connectors-secret
                name: "myExistingSecretName"

How to reproduce:
create myExistingSecret that has connectors-secret secretKey and arbitrary value.
use values.yaml and run helm template
global:
  identity:
    auth:
      enabled: true
      publicIssuerUrl: https://mykeycloak.example.com/auth/realms/myrealm
      connectors:
        existingSecret: myExistingSecretName

Steps to reproduce the issue.
If possible add a minimal reproducer code sample in a new repo/branch.
-->
Logs:

Environment:
Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.

Platform: OKD
Helm CLI version:  3.11.1
Chart version: 8.2.6
Values file:

user: &user 2000
global:
  identity:
    auth:
      enabled: true
      publicIssuerUrl: https://external-keycloak-route.example.com/auth/realms/myrealm
      connectors:
        existingSecret: myExistingSecretName
      operate:
        existingSecret: myExistingSecretName
        redirectUrl: https://dev-camunda-operate-ns.example.com
      tasklist:
        existingSecret: myExistingSecretName
        redirectUrl: https://dev-camunda-tasklist-ns.example.com
      optimize:
        existingSecret: myExistingSecretName
        redirectUrl: https://dev-camunda-optimize-ns.example.com
      zeebe:
        existingSecret: myExistingSecretName
    keycloak:
      legacy: false
      contextPath: "/auth"
      url:
        protocol: "http"
        host: "external-keycloak"
        port: "8080"
      realm: "/realms/myrealm"
      # auth:
      #   adminUser: "admin"
      #   existingSecret: "camunda-identity-keycloak-admin-secret"
      #   existingSecretKey: "admin-password"

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

camunda-platform:
  enabled: true
  zeebe:
    configMap:
      defaultMode: 0555
  zeebe-gateway:
    configMap:
      defaultMode: 0444
  operate:
    configMap:
      defaultMode: 0444
    service:
      port: 8080
  optimize:
    service:
      port: 8080
  tasklist:
    configMap:
      defaultMode: 0444
    service:
      port: 8080
  connectors:
    env:
      - name: CAMUNDA_OPERATE_CLIENT_KEYCLOAK-URL
        value: http://external-keycloak:8080
  identity:
    image:
      tag: 8.3.0-alpha2
    fullURL: https://dev-camunda-identity-ns.example.com
    service:
      port: 8080
    env:
      - name: IDENTITY_CLIENT_SECRET
        valueFrom:
          secretKeyRef:
            name: camunda-components-client-secrets-secret
            key: identity-secret
      - name: KEYCLOAK_REALM
        value: myrealm
      - name: KEYCLOAK_SETUP_REALM
        value: myrealm
    firstUser:
      username: admin
      email<EMAIL_ADDRESS>      firstName: Admin
      lastName: User
      existingSecret: camunda-identity-first-user-secret
    keycloak:
      enabled: false
      service:
        ports:
          http: 8080
      containerSecurityContext:
        runAsUser: *user
      podSecurityContext:
        fsGroup: *user
        runAsUser: *user
      auth:
        adminUser: admin
        existingSecret: camunda-identity-keycloak-admin-secret
      postgresql:
        primary:
          containerSecurityContext:
            runAsUser: *user
          podSecurityContext:
            fsGroup: *user
            runAsUser: *user
        readReplicas:
          containerSecurityContext:
            runAsUser: *user
          podSecurityContext:
            fsGroup: *user
            runAsUser: *user
  elasticsearch:
    securityContext:
      runAsUser: *user
    sysctlInitContainer:
      enabled: false
    podSecurityContext:
      fsGroup: *user
      runAsUser: *user
  postgresql:
    primary:
      containerSecurityContext:
        runAsUser: *user
      podSecurityContext:
        fsGroup: *user
        runAsUser: *user
    readReplicas:
      containerSecurityContext:
        runAsUser: *user
      podSecurityContext:
        fsGroup: *user
        runAsUser: *user
    metrics:
      containerSecurityContext:
        runAsUser: *user
      podSecurityContext:
        fsGroup: *user
        runAsUser: *user

We have the same issue and currently try to reverse engineer the Helm chart. Do you know any workaround?

@PaleIntrovert We found the solution in other issues :)
You need to use:
global:
  identity:
    auth:
      connectors:
        existingSecret:
          name: myExistingSecretName

@floric, I'm very grateful for you help, I checked this structure of values and rendered templates are indeed referencing existingSecret.


No output generated for a pdf, get degrees of freedom error.

Hello, I have a PDF which consists of a table, however using nougat generates no output and gives me the following error:
 UserWarning: var(): degrees of freedom is <= 0. Correction should be strictly less than the reduction factor (input numel divided by output numel)
The PDF is in english and the general structure is like below.

Same problem on Ubuntu 20 , RTX 3090 and cuda 11.8

Same on MacOS:
UserWarning: var(): degrees of freedom is <= 0. Correction should be strictly less than the reduction factor (input numel divided by output numel). (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/ReduceOps.cpp:1807.)


Make glibc/wolfi version latest for busybox and git

nvm nvm - the latests versions are needed to be multiarch for now. Can revisit once wolfi supports s390x+ppc64le


Ability to show websites and PDFs

Request of a feature similar to the one that SoundBox has.

Could this be done without using an external viewer? PDFs are not well-suited for these applications because they almost always require some zooming, positioning and so on, which sort of defeats the object of having everything happen off-screen.

@Blann Thanks for yoru question. What do you mean by "without using an external viewer"? All PDFs require some sort of viewer. Please expand a little on your suggestion.

I was asking more in hope than expectation really! It depends what the content of the PDF is as to how we handle it really but I’ve always just found displaying them on a second screen very cumbersome, to the point that if we need to actually control it during a presentation I just switch the desktop to Duplicate. Same with websites. If you could do all this sort of stuff on the main monitor, in a kind of ‘Preview’ mode, and then apply it to the media display, that’d be great, but I know that’s not something that’s likely possible.

@Blann - do you use the "Mirror" function in SoundBox when displaying PDFs and websites? If so, is that what you had in mind?

We have done but it’s not most practical for routine use as we use a touchscreen due to limited space. It can be a workable compromise as long as the operator has enough notice but we try to avoid the audience seeing any UI interaction at all if possible as it can be distracting. That’s the main thrust of what I’m thinking here.

I love the ONLY-M. Easy to use, Drag and drop.

That would certainly work, but I’m conscious of not unnecessarily complicating things, both for our operators and for Antony!
Appreciate we’re probably a fringe case using a touch screen. If a SoundBox-style solution works for the majority then that’s fine – we’ll just continue with our PDF converter.

As we move on from Soundbox and start using JW Library. We would like to request enhancing Only M so that It can display pdf files.

Would also like to inquire about enhancing the Bible Text app and the speaker announcement app to be able to display to secondary monitors without Soundbox.

@jrfig OnlyV is already available for displaying Bible verses.

@jrfig please raise a separate issue regarding the speaker message app. I suspect it is not widely used, but a new issue would allow others to comment on it. Thanks.

Would it be possible to make the Speaker Messaging app work without Soundbox?

There is a separate branch named "addedbrowser" on which I am working on browser support using Cef (Chromium).

Website support in latest pre-release

Found Chrome completely blocks download of <IP_ADDRESS>.  Was able to download
with Firefox.   On running installation file, the program will not start
when executed.  Cursor spins for 2-3 seconds then screen stays blank.
Program does not show up in Task Manager.   Any reason why?  I will have to
roll back to <IP_ADDRESS>.
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
12/05/18,
10:48:58 AM
On Wed, Dec 5, 2018 at 8:43 AM Antony Corbett<EMAIL_ADDRESS>wrote:

Website support in latest pre-release
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AntonyCorbett/OnlyM/issues/8#issuecomment-444489442,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AouiD4X8FTyHu04FuT-foiN-Hd2sGAgKks5u182YgaJpZM4UPPol
.

@drmeyer You may also need to check that the MS VC++ 2015 runtime is on your machine. You can download and run the installer from here:
https://www.microsoft.com/en-us/download/details.aspx?id=53840
I have yet to finalise all dependencies.

Thanks for all your hard work. PDF documents can now be displaying using an internet shortcut. First create the shortcut to something like google. Then edit the shortcut and replace the URL with a web browser path (eg. file:///C:/Users/windows user/Documents/OnlyM/Media/pdf.pdf). This also gives you the option to zoom in through the Chromium PDF plugin.

@levihaynes yes, thanks. I will add a custom scheme and support PDFs explicitly soon.

PDFs now supported using internal http scheme. Please see latest pre-release (<IP_ADDRESS>)
Closing this feature request


The select can't work when it is in a fancybox

When i put the selector in a fancybox(with jquery.fancybox plugin), the style is ok, but i choose a item ,it does nothing

I'm not able to get it working fancybox as well:
http://jsfiddle.net/ej7hr909/7/

Same issue!

Try .select2-dropdown { z-index: 9999 }

Select to appends the dropdown before the closing body.
So it is better to append it to your modal window, using the parameter "dropdownParent" like this:
$('select').select2({     dropdownParent: $('#myOverlay')   });

thanks to @projct1 . works for me.

This worked a treat for me.  Thanks, @mjot.


Inconsistent Meta Information Retrieval in router.afterEach: Previous Page's Data Returned for Current Page

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.10.3
CLI Version:      3.10.1
Nitro Version:    2.9.3
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-ec9bjb-tcq5dd
Describe the bug
When using router.afterEach to access the document's meta information, the retrieved information reflects that of the previous route instead of the current one.
Despite trying await nextTick(), the issue persists with the previous page's meta information being retrieved.
Additional context
No response
Logs
No response

I think we can expose a way to easily hook into the route change + head updated event with Nuxt Scripts, maybe just with the useTrackingScript composable.

Hi @harlan-zw, is the useTrackingScript similar to the useScript composable described in #22016 ?

Current implementation is useAnalyticsPageEvent, here is the code if it helps:
export function useAnalyticsPageEvent(onChange?: (payload: TrackedPage) => void) {
  const nuxt = useNuxtApp()
  const route = useRoute()
  const head = injectHead()
  const payload = ref<TrackedPage>({
    path: route.fullPath,
    title: import.meta.client ? document.title : '',
  })
  // no know to know the title on the server until the page is rendered
  if (import.meta.server)
    return payload

  let lastPayload: TrackedPage = { path: '', title: '' }
  let stopDomWatcher: () => void
  nuxt.hooks.hook('page:finish', () => {
    Promise.race([
      // possibly no head update is needed
      new Promise(resolve => setTimeout(resolve, 100)),
      new Promise((resolve) => {
        stopDomWatcher = head.hooks.hook('dom:rendered', () => resolve())
      }),
    ]).finally(() => {
      stopDomWatcher && stopDomWatcher()
    }).then(() => {
      payload.value = {
        path: route.fullPath,
        title: document.title,
      }
      if (lastPayload.path !== payload.value.path || lastPayload.title !== payload.value.title) {
        onChange && onChange(payload.value)
        lastPayload = payload.value
      }
    })
  })
  return payload
}

Usage:
useAnalyticsPageEvent(({ title, path }) => {
  // triggered on route change
  gtag('event', 'page_view', {
    page_title: title,
    page_location: 'https://example.com/',
    page_path: path
  })
})


Update Composer dependencies (2021-07-23-00-02)

Visual regression test passed!
View the visual regression test report


Fix history for friends

Fix history for friends. When opening friends of friends the history does not load properly on MAL

Fixed by unknown commit & bc78cdc


Need better vectorization for element-wise operation codegen

I think this is an issue we'd like to address at some point. There might be tiny dispatches (maybe because of bad tiling sizes?).
Without Tracy, I got 32 ms. With Tracy, I got 54 ms. Filing an issue for tracking it.

ah cool, seeing this. Flow level tiling sizes definitely go wrong. Some tiny dispatches are called 66k times.

dispatch_78 contains a single element-wise operation. Unfortunately, the sizes are prime numbers. We'd like to vectorize all the operations. They must be set to 1 if padding option is not available.
I'll work on a PR to properly pad and vectorize this kind of kernel.
%2 = linalg.generic {indexing_maps = [#map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} outs(%1 : tensor<1x257x257x21xf32>)

I think the decision is not to pad these right? Rather to use peeling when it is ready to use.

Yes, that's right. Let me update the title of the issue.

closing, this is a dup of https://github.com/iree-org/iree/issues/9660


tx-generator documentation

This documentation meant to cover the important types and API functions and modules of the transaction generator. Some familiarisation with haddock was needed to get started and the Action type was chosen as a starting point on the basis of having had prior experience working with it. Ultimately, this is meant to contribute to an exportable API so other things can generate transaction streams for their own use e.g. analyses involving ledgers, direct examination of or analysis of streams of generated transactions etc. Feedback on the content or style of the documentation can also be taken onboard to revise it.

The documentation updates got folded into a different branch and I forgot this thing was here. It should be deleted, and its branch, too.


The mote spells only use ints, when mote storage uses a long

Using Splitting Gambit with a number greater than (2^31)-1 mishaps, and running a Craft that would produce more than that number clamps the value. May well be other cases that I haven't seen.
(I think you already know about the Splitting Gambit one, but I don't know of any prior discussion of the Craft one, and there wasn't a github issue for this yet)

Correction: I think I misinterpreted a wisp running out of media in the middle of a crafting hex (and leaving maxint of something in my nexus) as the output clamping issue in the original post
But the splitting gambit mishap is definitely a thing

alright, should be fixed for the next release; also fixed the possibility of OpCraftMote doing a long overflow


Add a sidebar

Would it be out of the scope of this project to add a sidebar?
It may be fixed on the left, to always show navigation between pages.

I just make  and I can style it however I like. I put my own styles in another css and call it e.g. theme.css
On Sun, 13 Dec 2020, at 11:11 PM, Alexis Lefebvre wrote:

Would it be out of the scope of this project to add a sidebar?
It may be fixed on the left, to always show navigation between pages.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xz/new.css/issues/56, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACWNAQF4LNI5WKKBHUMIRK3SUS4QBANCNFSM4UZPMGOQ.

--
Kind Regards,
David Porter

and then you would have to change the margin: 0  auto, and pretty soon you’re  needing divs and and class names everywhere
On Mon, 14 Dec 2020, at 5:08 AM, David Porter wrote:

I just make  and I can style it however I like. I put my own
styles in another css and call it e.g. theme.css
On Sun, 13 Dec 2020, at 11:11 PM, Alexis Lefebvre wrote:

Would it be out of the scope of this project to add a sidebar?
It may be fixed on the left, to always show navigation between pages.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xz/new.css/issues/56, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACWNAQF4LNI5WKKBHUMIRK3SUS4QBANCNFSM4UZPMGOQ.

--
Kind Regards,
David Porter

--
Kind Regards,
David Porter

Thanks, I didn't knew the <aside> tag. I'll use the <header> to put links, as on the demo: https://newcss.net/


Maintain aspect ratio

My videos are portrait and I want to maintain aspect ratio of the video without having the element unnecessarily wide. I tried to use react-rectangle to keep the aspect ratio whilst setting width and height to 100% to make sure the element fills up the parent container but this didn't quite result in what I expected. Any tips on how to make the video keep a portrait aspect ration (9:16) and ensure that the element's width and height wrap the video?

Does this fiddle get you anywhere? This looks like a similar problem to https://github.com/CookPete/react-player/issues/145

@CookPete That's how I ended up getting it working, thanks.


Add ListCache

Is your feature request related to a problem? Please describe.
I'd like to have a possibility to set eviction for a given element while inserting into the collection that keeps the insertion order.
Describe the solution you'd like
Similar to the MapCache and SetCache I think there's a need for a ListCache as neither of the previous ones keep the ordering.
Describe alternatives you've considered
SetCache but it lacks ordering.
TimeSeries but as per issue 3145 the iterator() method does not return the values according to the score.

I'm closing this one, since issue with TimeSeries iterator is now resolved.


client-c: fix data race when resolving async lock

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

[x] 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

Fix data race issue when resolving async lock

/run-all-tests

/run-unit-test


Release spring cloud azure 1.1.0.RC3

Description
A few sentences describing the overall goals of the pull request's commits.
Related PRs
List related PRs against other branches:

branch
PR

other_pr_production
link

other_pr_master
link

Todos

[ ] Tests
[ ] Documentation

Steps to Test
Steps to test code change

 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.:x: WalterWalter sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

What's the purpose of this PR? We won't include RC3 release change in master.


Pressing left reloads the page

I was using latest version and i wanted to go backwards on a vod and when pressing left arrow the page reloads, why this happens?

Hi, i had the same issue.
To fix this, i commented the line 42 in the App.js : location.reload()
I didn't notice any bad side effect of this change, even if this line is intended to "prevent VOD to load twice" but there's surely a proper way to fix this.

Hi, this is now fixed in 0.6!


suitability of using cpu_features for fundamental libc functions

Thread safe, no memory allocation, and raises no exceptions. cpu_features is suitable for implementing fundamental libc functions like malloc, memcpy, and memcmp.

The README claims the above. But while grepping through the code, memcpy and memcmp are at least used already in the code from the libc library. Hence when implementing such based on cpu_features one would create a loop of dependencies. I assume that cpu_features requires a re-work to not utilize libc functions internally.

Yes indeed.
As a matter of fact, over the last years, I came to learn quite a lot on the relationship between compilers and the libc.
For instance, it is pretty hard to make sure the compiler won't generate a memcpy by itself even if you don't write it. Two examples:

structure copy
plain C loops

There are ways to prevent this but then it's compiler specific (e.g. -fno-builtin-memcpy, -ffreestanding).
Since I couldn't easily make sure the compiler won't call memcpy/memcmp anyways I stopped trying to use them extremely hard.
Now, you are right the README (or code) is wrong and should be fixed.
The fix I envision is to keep the promise and write custom mem functions with volatile access so the compiler can't optimize them. Some documentation also needs to be written to cover the interactions with the compiler.
Is it a prerequisite for you to use cpu_features?

Nope not so far. I just stumbled across it and thought it might need to be fixed ;-)

Keeping this issue around for now


Deprecated six library being called?

When pip installing tweepy, the process errors out at installing six saying: Found existing installation six 1.4.1  DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
After this error, tweepy cannot pip install

Six is hardly deprecated. In fact, as of right now, it's still the second most downloaded library on PyPI.
As that says, it is a deprecation warning, not the actual error/traceback. It's impossible to determine what your issue is without the full traceback.
Even so, this is an issue with pip and/or six, not Tweepy, and a quick search for the deprecation warning returns results (e.g. https://github.com/pypa/pip/issues/3165) that show you're likely encountering a common and easy to mitigate issue.


Base: weETH.base

Please review the following token assets:
📑 Description

Token Name: weETH.base
Project Website: https://etherfi.gitbook.io/etherfi/contracts-and-integrations/deployed-contracts
Explorer URI: https://basescan.org/address/0x04c0599ae5a44757c0af6f9ec3b93da8976c150a

✅ Checks

[x] I created a new folder with the token address, all in lowercase
[x] I added the token's logo as a 32x32 PNG file, named logo-32.png
[x] I added the token's logo as a 128x128 PNG file, named logo-128.png
[x] I added the token's logo as a SVG file, named logo.svg
[x] My SVG logo is a proper SVG and not some base64 stuff
[ ] My documentation/website clearly display the token address somewhere

The Ether.fi team will add it to their docs page, but for now you can see it's the same address on Mode and Blast

cc @ethzoomer


Fix animation library copy-paste not preserving resource reference

Currently when using the copy-paste functionality in the animation library editor (found under the "Manage Animations..." button in the Animation dock) you're not able to copy an animation while also preserving any resource file reference that it might have.
Here's how it looks currently:
https://github.com/user-attachments/assets/407179d3-893e-4b1c-b60f-1ffa912a1bf3
Here's what it looks like with this change applied:
https://github.com/user-attachments/assets/a89c053c-d539-4377-9b87-6b95a72fc35f
I've talked to @reduz who wrote the affected line, and it seems that the current behavior was not the original intention, so this is likely a bug.
(Note that copying an animation which doesn't reference an external resource file will still copy by-value rather than by-reference.)

@TokageItLab I think it looks ok, but didn't dig into depth.

@TokageItLab I would argue that current behavior should be the one behind the keyboard shortcut in that case. Everywhere else in Godot (that I'm aware of) you end up preserving resource references when you copy something that holds such a reference (although that behavior is admittedly controversial and will likely be an option at some point).
I realize the video clips showed the same animation being copied into the same library, where I'll admit that referencing the same animation is a niche use-case at best, but in our case we're of course copying these between different animation libraries, where we do want changes to apply to all animations that reference it, and frankly I struggle to even see the point of being able to save animation resources to a file if the references aren't going to be preserved by default.

@mihe Adding animations with the same reference to the same AnimationLibrary will definitely create a new issue, so you have to at least separate the behavior between copying to a different AnimationLibrary and copying to the same AnimationLibrary. In doing so, we may need to warn that references will be pasted into different AnimationLibraries.
Or, simply disallow pasting into the same AnimationLibrary. In this case, it is sufficient to inform the user that pasting the same reference to the same animation library is a prohibited operation, by issuing an error in the Dialog. If you want to copy an animation to the same animation library, you can use the AnimationTrackEditor to duplicate it, so there should be no problem in prohibiting it.

However, I believe there are enough cases where people want to paste without reference, so I think the better compromise is to simply add a new paste+duplicate button next to the existing paste button without any prohibiting

@TokageItLab Sure, that sounds reasonable to me. I'll make a new PR for this, and we'll see where that goes.
Thank you for the feedback!

This should be reopened. Everywhere in the editor, pasting an externally saved resource just links to it. We never, ever duplicate them so the way this PR worked originally should be the way to go.

To clarify, as policy in the editor we never duplicate external resources under any circumstance.

Thanks!

Cherry-picked for 4.3.1.


Remove hub from Spans`

Prerequisite for #3404

Done in https://github.com/getsentry/sentry-python/pull/3446


WIP: [objective_c] Verify generated code is up to date

Add a step to package:objective_c's github CI to verify that the generated code is up to date.

coverage: 90.901% (+0.02%) from 90.886%
when pulling 9a03cd97f5a989b0fc45c26e731be9685abd6fb1 on regentest
into 117cc75553e1c597b0b8c19a4d8bd9d94560e645 on main.


More verbose output?

Any way to get more verbose output?  Would be nice to see the standard out logged somewhere?

you mean's the log of wkhtmltopdf command ?

Yes, the output from wkhtmltoimage

I added the verbose to app.conf, and you could set verbose = true for print more debug info
https://github.com/gogap/go-wkhtmltox/blob/master/app.conf
you should pull idocking/go-wkhtmltox:latest for update docker image

thank you!


encrypt.so issue back again

Python: 2016-08-07 08:42:04,664 [sentry.errors.uncaught] [ERROR] [u'OSError: dlopen(encrypt.so, 6): no suitable image found.  Did find:\n\tencrypt.so: not a file', u'  File "pokecli.py", line 493, in ', u'  File "pokecli.py", line 127, in main', u'  File "pokecli.py", line 136, in report_summary', u'  File "pokemongo_bot/metrics.py", line 76, in capture_stats', u'  File "pokemongo_bot/api_wrapper.py", line 106, in call', u'  File "pokemongo_bot/api_wrapper.py", line 63, in _call', u'  File "pgoapi/pgoapi.py", line 210, in call', u'  File "pgoapi/rpc_api.py", line 85, in activate_signature', u'  File "ctypes/init.py", line 440, in LoadLibrary', u'  File "ctypes/init.py", line 362, in init']
Still getting this error after installing encrypt.so. I created the encrypt.so folder in gofbot and copied libencrypt.so to gofbot/encrypt.so. Don't why I'm still receiving this error

I was doing the same thing for a while. Instead of creating a folder named "encrypt.so", rename the libencrybt.so to encrypt.so and put it in the gofbot folder.

I see, so I don't need to create a new folder?

https://github.com/PokemonGoF/PokemonGo-Bot/issues/2769#issuecomment-238077548
Maybe this will help

Oh wait you put it in the wrong place. You need to place file encrypt.so to the gofbot folder

NinjaStew's solution worked thanks guys

Edited REAMDE with more clear instructions


electrum: No matching distribution found for qdarkstyle<2.7

Describe the bug
The recent commit 11641a16fab102deec2853ba42b36d4b527838f4 causes electrum to fail to build with the error: No matching distribution found for qdarkstyle<2.7
To Reproduce
Steps to reproduce the behavior:

Clone nixpkgs and checkout commit 11641a16fab102deec2853ba42b36d4b527838f4
Run nix build -f default electrum

Expected behavior
The build should complete successfully.
Additional context
$ nix build -f default.nix electrum
builder for '/nix/store/jrqjw6mh842p7gqg0yjrq48jsprngvip-electrum-3.3.8.drv' failed with exit code 1; last 10 log lines:
  Executing pipInstallPhase
  /build/Electrum-3.3.8/dist /build/Electrum-3.3.8
  Processing ./Electrum-3.3.8-py3-none-any.whl
  Requirement already satisfied: aiohttp-socks in /nix/store/qwl80wx0kmzw83gmlddyvlk7bmv6gnqq-python3.7-aiohttp-socks-0.3.4/lib/python3.7/site-packages (from Electrum==3.3.8) (0.3.4)
  Requirement already satisfied: aiorpcx<0.19,>=0.18 in /nix/store/dbwjj8bzylb3wvzmnkl13lpc7p8ac56n-python3.7-aiorpcx-0.18.4/lib/python3.7/site-packages (from Electrum==3.3.8) (0.18.4)
  Requirement already satisfied: qrcode in /nix/store/xa53j0hshkn76qgmhyfwixfcbjxl2gnm-python3.7-qrcode-6.1/lib/python3.7/site-packages (from Electrum==3.3.8) (6.1)
  Requirement already satisfied: aiohttp>=3.3.0 in /nix/store/pgz0gs6fjkjzm1mys2237aisa2h0789q-python3.7-aiohttp-3.6.2/lib/python3.7/site-packages (from Electrum==3.3.8) (3.6.2)
  Requirement already satisfied: dnspython in /nix/store/9qz14akajg9pr722qvfqq3jfl5ahvkb5-python3.7-dnspython-1.16.0/lib/python3.7/site-packages (from Electrum==3.3.8) (1.16.0)
  ERROR: Could not find a version that satisfies the requirement qdarkstyle<2.7 (from Electrum==3.3.8) (from versions: none)
  ERROR: No matching distribution found for qdarkstyle<2.7 (from Electrum==3.3.8)
[0 built (1 failed)]
error: build of '/nix/store/jrqjw6mh842p7gqg0yjrq48jsprngvip-electrum-3.3.8.drv' failed

Metadata

system: "x86_64-linux"
host os: Linux 5.5.4, NixOS, 20.09.git.1619ec97685 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.2
channels(root): I DON'T USE channels
nixpkgs: /home/emmanuel/projects/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: pkgs.electrum
# a list of nixos modules affected by the problem
module:

I tried this patch to remove the <2.7 restriction and electrum seems to work just fine.
diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix
index df95b26b9c5..7a52e06c207 100644
--- a/pkgs/applications/misc/electrum/default.nix
+++ b/pkgs/applications/misc/electrum/default.nix
@@ -90,6 +90,7 @@ python3Packages.buildPythonApplication {
   '' + (if enableQt then ''
     substituteInPlace ./electrum/qrscanner.py \
       --replace ${libzbar_name} ${zbar.lib}/lib/libzbar${stdenv.hostPlatform.extensions.sharedLibrary}
+    sed -i 's/qdarkstyle<2.7/qdarkstyle/' contrib/requirements/requirements.txt
   '' else ''
     sed -i '/qdarkstyle/d' contrib/requirements/requirements.txt
   '');

Apparently the reason for enforcing qdarkstyle<2.7 is to avoid making helpdev a dependency, per commit https://github.com/spesmilo/electrum/commit/046518d7f73fdee30fb974b283780fc4691a614e
I'll check with upstream to see what they intend to do.


[Crash Bug] When tool changes Mesh resource on a MeshInstance, it randomly crashes.

Godot version:
Godot 3.1 beta 3
OS/device including version:
Windows 10, NVidia Quadro M1000M
Issue description:
I have a tool script that manipulates the Mesh resource on a MeshInstance.  When mesh is set to null (or when mesh is replaced) it randomly crashes.  No logs of why that might be happening

Script:
tool
extends MeshInstance

export(bool) var make_mesh setget _add_mesh, _has_mesh

func _ready():
	pass

func _add_mesh(value):
	if not value or _has_mesh():
		mesh = null
		return
	var st = SurfaceTool.new()
	st.begin(Mesh.PRIMITIVE_TRIANGLES)
	st.add_vertex(Vector3(1,0,1))
	st.add_vertex(Vector3(0,0,1))
	st.add_vertex(Vector3(0,0,0))

	st.add_vertex(Vector3(0,0,0))
	st.add_vertex(Vector3(1,0,0))
	st.add_vertex(Vector3(1,0,1))

	st.index()
	mesh = st.commit()

func _has_mesh():
	if mesh != null:
		return true
	return false

Minimal reproduction project:
ToolCrashTest.zip

I have this backtrace:
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f4b99878f20] (??:0)
[2] Set<Object*, Comparator<Object*>, DefaultAllocator>::_find(Object* const&) const (/home/rafal/Pulpit/godot/./core/set.h:228)
[3] Set<Object*, Comparator<Object*>, DefaultAllocator>::find(Object* const&) (/home/rafal/Pulpit/godot/./core/set.h:522)
[4] Set<Object*, Comparator<Object*>, DefaultAllocator>::erase(Object* const&) (/home/rafal/Pulpit/godot/./core/set.h:558)
[5] Object::remove_change_receptor(Object*) (/home/rafal/Pulpit/godot/core/object.cpp:973)
[6] EditorInspector::edit(Object*) (/home/rafal/Pulpit/godot/editor/editor_inspector.cpp:1796)
[7] EditorInspector::_notification(int) (/home/rafal/Pulpit/godot/editor/editor_inspector.cpp:2144)
[8] EditorInspector::_notificationv(int, bool) (/home/rafal/Pulpit/godot/editor/editor_inspector.h:251 (discriminator 14))
[9] Object::notification(int, bool) (/home/rafal/Pulpit/godot/core/object.cpp:957)
[10] Node::_propagate_exit_tree() (/home/rafal/Pulpit/godot/scene/main/node.cpp:293)
[11] Node::_propagate_exit_tree() (/home/rafal/Pulpit/godot/scene/main/node.cpp:279 (discriminator 2))
[12] Node::_propagate_exit_tree() (/home/rafal/Pulpit/godot/scene/main/node.cpp:279 (discriminator 2))
[13] Node::_propagate_exit_tree() (/home/rafal/Pulpit/godot/scene/main/node.cpp:279 (discriminator 2))
[14] Node::_set_tree(SceneTree*) (/home/rafal/Pulpit/godot/scene/main/node.cpp:2536)
[15] Node::remove_child(Node*) (/home/rafal/Pulpit/godot/scene/main/node.cpp:1264 (discriminator 2))
[16] Node::_notification(int) (/home/rafal/Pulpit/godot/scene/main/node.cpp:158)
[17] Node::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/main/node.h:46 (discriminator 14))
[18] CanvasItem::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/2d/canvas_item.h:166)
[19] Control::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/gui/control.h:51)
[20] Container::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/gui/container.h:38)
[21] BoxContainer::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/gui/box_container.h:38)
[22] VBoxContainer::_notificationv(int, bool) (/home/rafal/Pulpit/godot/./scene/gui/box_container.h:81)
[23] Object::notification(int, bool) (/home/rafal/Pulpit/godot/core/object.cpp:957)
[24] Object::_predelete() (/home/rafal/Pulpit/godot/core/object.cpp:387)
[25] predelete_handler(Object*) (/home/rafal/Pulpit/godot/core/object.cpp:2000)
[26] void memdelete<Node>(Node*) (/home/rafal/Pulpit/godot/./core/os/memory.h:117)
[27] EditorInspector::_clear() (/home/rafal/Pulpit/godot/editor/editor_inspector.cpp:1765)
[28] EditorInspector::update_tree() (/home/rafal/Pulpit/godot/editor/editor_inspector.cpp:1394)
[29] EditorInspector::_notification(int) (/home/rafal/Pulpit/godot/editor/editor_inspector.cpp:2167)
[30] EditorInspector::_notificationv(int, bool) (/home/rafal/Pulpit/godot/editor/editor_inspector.h:251 (discriminator 14))
[31] Object::notification(int, bool) (/home/rafal/Pulpit/godot/core/object.cpp:957)
[32] SceneTree::_notify_group_pause(StringName const&, int) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:969)
[33] SceneTree::idle(float) (/home/rafal/Pulpit/godot/scene/main/scene_tree.cpp:518 (discriminator 3))
[34] Main::iteration() (/home/rafal/Pulpit/godot/main/main.cpp:1877)
[35] OS_X11::run() (/home/rafal/Pulpit/godot/platform/x11/os_x11.cpp:2975)
[36] /usr/bin/godot(main+0xdc) [0x1156893] (/home/rafal/Pulpit/godot/platform/x11/godot_x11.cpp:56)
[37] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f4b9985bb97] (??:0)
[38] /usr/bin/godot(_start+0x2a) [0x11566fa] (??:?)

@hpvb have fun

Doesn't crash for me on Linux with a current master build (36de6c1e3c). Can you try with 3.1 beta 8 or later?

@akien-mga still crashes for me on 3.1 beta 9

Meh, tool always been dangerous territory..

I can't reproduce it in the current master branch (0d72812).
Judging by the backtrace, this might well have been fixed by b376273f1b30b1187731b318c0f6eb0447acd289.
Please comment if you can still reproduce it in 3.1 RC1 or RC2 when it's published.


Small fix

Please commit into main and not feature/folia.
The feature/folia will be rebased onto main