Use context aware logger for workflow service

The workflow service is using a special logger that supports units of work so that you can identify several logger statements belonging to a specific task.
However, with the new implementation, there is but one unit of work definition left, and it contains just a single logging statement. Nothing you actually still need this for.
logger.startUnitOfWork();
logger.warn(failureToFail, "Unable to update workflow to failed state");
logger.endUnitOfWork();

The downside to using this special logger is that you loose context information. With the normal logger you get information about the location where this has been logged. With the special logger this information is lost. That is really annoying when debugging based on logs:
2023-09-05 18:14:57,449 | INFO  | (ServiceRegistryJpaImpl:622) - Jobs with IDs '[8579450]' deleted
2023-09-05 18:14:57,450 | WARN  | (Log:213) - [>2ef22a08] No events for workflow instance 8579450 found in the Elasticsearch index.
2023-09-05 18:14:57,496 | DEBUG | (Log:213) - [>2ef22a08] Deleting workflow instance 8579614
2023-09-05 18:14:57,548 | INFO  | (Log:213) - [>2ef22a08] Removing temporary files for workflow 8579614
2023-09-05 18:14:57,548 | DEBUG | (Log:213) - [>2ef22a08] Removing temporary file https://oc-admin.virtuos.uni-osnabrueck.de/files/mediapackage/6a092362-56c4-46a9-b82d-f389d97ca19c/security-policy-series/xacml.xml for workflow Workflow {8579614}

Given that it is doing more harm than good, this patch switches the workflow service to the default logger. With this you also now get proper context information about logs:
2023-09-05 18:43:34,069 | INFO  | (ServiceRegistryJpaImpl:622) - Jobs with IDs '[9256488]' deleted
2023-09-05 18:43:34,073 | WARN  | (WorkflowServiceImpl:2260) - No events for workflow instance 9256488 found in the Elasticsearch index.
2023-09-05 18:43:34,082 | DEBUG | (WorkflowServiceImpl:2127) - Deleting workflow instance 9256489
2023-09-05 18:43:34,107 | INFO  | (WorkflowServiceImpl:881) - Removing temporary files for workflow 9256489

Your pull request should…

[x] have a concise title
[x] close an accompanying issue if one exists
[x] be against the correct branch
[x] include migration scripts and documentation, if appropriate
[x] pass automated tests
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits

I think we can and should remove it.
But that's another PR.
I'll create an issue for Hacktoberfest for that :D

Filed https://github.com/opencast/opencast/issues/5261 about the removal of the logger


File names with the wrong case

I am tinkering with building AngleSharp on Mono. I have found that some files have a different case in their file name versus their reference in the .csproj. I got the AngleSharp.Core.dll and the associate test assembly to build with the following changes:
renamed:    AngleSharp.Core.Tests/Html/HtmlWithSVG.cs -> AngleSharp.Core.Tests/Html/HtmlWithSvg.cs
renamed:    AngleSharp/Dom/Html/HtmlHRElement.cs -> AngleSharp/Dom/Html/HtmlHrElement.cs
renamed:    AngleSharp/Dom/Html/HtmlRPElement.cs -> AngleSharp/Dom/Html/HtmlRpElement.cs
renamed:    AngleSharp/Dom/Html/HtmlRTElement.cs -> AngleSharp/Dom/Html/HtmlRtElement.cs
renamed:    AngleSharp/Dom/Xml/XMLDocument.cs -> AngleSharp/Dom/Xml/XmlDocument.cs
renamed:    AngleSharp/Dom/Xml/XMLElement.cs -> AngleSharp/Dom/Xml/XmlElement.cs
renamed:    AngleSharp/Html/InputTypes/DateTimeInputType.cs -> AngleSharp/Html/InputTypes/DatetimeInputType.cs
renamed:    AngleSharp/Interfaces/Css/ICSSStyleSheet.cs -> AngleSharp/Interfaces/Css/ICssStyleSheet.cs

I can submit a pull request if you'd like, but I am not sure if you'd rather rename the files or update the project files. Either way, they need to match since Unix systems are case sensitive in their file name.
My only concern is that I am not sure how Git on Windows treats changing just the case of a file.

Yes please. Since I do most AngleSharp dev on Windows machine (filenames ci) I only see these subtle errors here on GitHub (or via inspection of the git tree). I already named a few outliers in the past but I seemed I missed the ones you've indicated here.
A PR would be much appreciated! (git on Windows should be fine I guess, I did the former renaming also on Windows)


broken doc link

the last link on this page is broken

I think Leo mentioned on gitter a couple of days that he's working on it, so it'll probably come when he's done ;)

^ what @porsager said


Add null check to ItemsRepeater.GetOrCreateElement

Description
Currently the ItemsRepeater throws a System.AccessViolationException then trying GetOrCreateElement is called before setting an ItemsSource. This adds a check that avoids the invalid read and throws an error that indicates that ItemSource is still null.
Motivation and Context
Currently the ItemsRepeater throws a  System.AccessViolationException then trying GetOrCreateElement is called before setting an ItemsSource. This is problematic because

We shouldn't be trying to read from a bad pointer
This exception cannot be easily caught from managed code (for good reasons)

Checking for the presence of an ItemsSource and throwing a more helpful exception is a better behavior.
How Has This Been Tested?
In the test app, creating an ItemsRepeater with no ItemsSource:
 <ScrollViewer x:Name="scrollViewer">

var element =  repeater.GetOrCreateElement(0);

Thanks for creating this PR! Can you add an API test for this (the issue should be fairly easy to repro looking at the description)?

/azp run


⚠ Bofrost.be has degraded performance

In ad18f6b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1078 ms

Resolved: Bofrost.be performance has improved in 5655039 after 6 minutes.


Updating longrun azure pipeline variables

Updating variables in azure-pipelines-k8s.yml to be in sync
with other azure pipelines
Signed-off-by: Surya Lanka<EMAIL_ADDRESS>

@btl5037 Longrun and chaos runs are failing with
go: GOPATH entry is relative; must be absolute path: "$(GO_PATH)". For more details see: 'go help gopath'
When I compared with other azure pipelines file, variables section is a mismatch so raised this PR to sync azure-pipelines-k8s.yml with others which may also fix the error listed above.

Merged, as there is no testable code


HBASE-24695 FSHLog - close the current WAL file in a background thread.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  2s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 49s
the patch passed

+1 :green_heart:
compile
1m 25s
the patch passed

+1 :green_heart:
javac
1m 25s
the patch passed

+1 :green_heart:
shadedjars
7m 58s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 50s
hbase-server in the patch failed.

_ Other Tests _

-1 :x:
unit
148m 27s
hbase-server in the patch failed.

183m 57s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2168

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 7089b530c636 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7974a1e9bf

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/1/testReport/

Max. process+thread count
3880 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

My bad..   I missed one thing when I ported my local branch to apache master branch.. ie passing the writer instance. Will correct now.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 33s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  2s
the patch passed

+1 :green_heart:
compile
1m  5s
the patch passed

+1 :green_heart:
javac
1m  5s
the patch passed

+1 :green_heart:
shadedjars
5m 44s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in the patch failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 58s
the patch passed

+1 :green_heart:
compile
1m  3s
the patch passed

+1 :green_heart:
javac
1m  3s
the patch passed

+1 :green_heart:
shadedjars
5m 43s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
130m 57s
hbase-server in the patch passed.

156m 36s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2168

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 557ec42574ff 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / f07f30ae24

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/3/testReport/

Max. process+thread count
4316 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2168/3/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


GraphRAG

I am interested in this as well. keep me in the loop on the tasks that need to be done. Right now I am trying to get llama 3.1 405B 8bit running on Gaudi-TGI, and llama 3.1 405B GGUF with speculative decoding using llama 3.1 8B working on Xeon

enabled langchain and llamaindex two versions


failed to parse certain components

I noticed that certain component doesn't get parsed correctly, see this scenario for better explanation.
<Foo>
  bar
</Foo>

<Link>
  bar
</Link>

The first element is parsed correctly, it looks like this:
(document [0, 0] - [3, 0]
  (element [0, 0] - [2, 6]
    (start_tag [0, 0] - [0, 5]
      (tag_name [0, 1] - [0, 4]))
    (text [0, 5] - [1, 2])
    (element [1, 2] - [1, 18]
      (start_tag [1, 2] - [1, 8]
        (tag_name [1, 3] - [1, 7]))
      (text [1, 8] - [1, 11])
      (end_tag [1, 11] - [1, 18]
        (tag_name [1, 13] - [1, 17])))
    (text [1, 18] - [2, 0])
    (end_tag [2, 0] - [2, 6]
      (tag_name [2, 2] - [2, 5])))
  (text [2, 6] - [3, 0]))

but the second element gets parsed as this:
(document [0, 0] - [3, 0]
  (element [0, 0] - [1, 2]
    (start_tag [0, 0] - [0, 6]
      (tag_name [0, 1] - [0, 5])))
  (element [1, 2] - [1, 18]
    (start_tag [1, 2] - [1, 8]
      (tag_name [1, 3] - [1, 7]))
    (text [1, 8] - [1, 11])
    (end_tag [1, 11] - [1, 18]
      (tag_name [1, 13] - [1, 17])))
  (text [1, 18] - [2, 0])
  (ERROR [2, 0] - [2, 7]
    (ERROR [2, 2] - [2, 6]))
  (text [2, 7] - [3, 0]))
test.svelte	0 ms	(ERROR [2, 0] - [2, 7])

Will look into it later. Looks like something from C side of the parser. That part is a bit complicated, and I am busy with tree-sitter-zig for now. But sure, I will fix this within this week maybe.

Here's the thing. In normal HTML DIV and div are basically the same. That also applies to the native LINK and link. In the case of the custom parser, the parser was considering Link, Input etc which are self-closing tags as link and input respectively. It saw that the you have Link has child elements and thus spurted out errors. That being said, in HTML, SCRIPT and script are allowed. This is even the case with Svelte (go, try!).
I fixed this issue. But I swear, HTML is one of the most difficult formats to parse!
BTW. What to do with your PR?

ah, I see. I'll just going to rename my component then, I can see that HTML parser is a PITA :laughing:
Thanks!

Actually you don't have to rename your component. Link will work just fine. I removed the uppercase/lowercase independence, so people who would write SCRIPT instead of script would have to rename the tag to lowercase.
I was writing a HTML/Svelte parser in Zig recently because tree-sitter is a heavy dependency (2 MB) and yes, its a PITA


BUG: Fix mixed numbered and bullet lists

Currently mixed lists are not working with numbers and bullets (sublists)
1. bla
  * foo1
  * foo 2
2. bla2
  * foo
3. bla3

the current output interprets the bullet lists as blockquotes
1. bla

> - foo1
- foo 2

1. bla2

> - foo

1. bla3

[x] add test case
[ ] fix bug

thanks @jlperla for reporting.

 See "setting up your Julia environment" in http://compare-lectures.quantecon.org/jl/getting_started.html

@arnavs can you confirm if these are fixed on your end?

the test case is still not rendering properly. But it is working well in the lecture.

@arnavs is this still an issue?

[ ] @mmcky add this as a note to mixed lists in docs.


feat: Pedersen hash in acir format

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
Metrics with a significant change:

note_history_successful_decrypting_time_in_ms (5): 2,549 (-58%)
note_history_successful_decrypting_time_in_ms (10): 4,946 (-59%)
l2_block_public_tx_process_time_in_ms (8): 1,343 (-47%)
l2_block_public_tx_process_time_in_ms (32): 5,348 (-47%)
l2_block_public_tx_process_time_in_ms (128): 21,538 (-47%)
note_successful_decrypting_time_in_ms (8): 344 (-51%)
note_successful_decrypting_time_in_ms (32): 1,291 (-49%)
note_successful_decrypting_time_in_ms (128): 4,024 (-59%)
note_trial_decrypting_time_in_ms (8): 45.0 (+1025%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit c50aefb6 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,996
868,172
3,447,800

l1_rollup_execution_gas
842,083
3,595,280
22,203,169

l2_block_processing_time_in_ms
2,320 (+2%)
8,741 (-1%)
34,372

note_successful_decrypting_time_in_ms
:warning: 344 (-51%)
:warning: 1,291 (-49%)
:warning: 4,024 (-59%)

note_trial_decrypting_time_in_ms
:warning: 45.0 (+1025%)
107 (+2%)
137 (+1%)

l2_block_building_time_in_ms
14,684 (-7%)
58,394 (-7%)
233,327 (-7%)

l2_block_rollup_simulation_time_in_ms
13,297
52,921
211,331

l2_block_public_tx_process_time_in_ms
:warning: 1,343 (-47%)
:warning: 5,348 (-47%)
:warning: 21,538 (-47%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
24,891
48,518

note_history_successful_decrypting_time_in_ms
:warning: 2,549 (-58%)
:warning: 4,946 (-59%)

note_history_trial_decrypting_time_in_ms
122 (+1%)
146

node_database_size_in_bytes
1,631,835
1,100,198

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
82.6
61,697
18,841

private-kernel-ordering
50.8
24,233
8,089

base-rollup
2,090
656,309
811

root-rollup
89.6 (-3%)
4,072
1,097

private-kernel-inner
59.1
81,504
18,841

public-kernel-private-input
46.9
41,455
18,841

public-kernel-non-first-iteration
29.2
41,497
18,841

merge-rollup
0.848 (-2%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
29,393


Callback for when FetchedResultsController is done loading rows AND refresh_scope

Added a means to update the model query that sources data for the fetched results controller, simply invoke refresh_scope and the Data Table will reload itself by reinvoking model_query.
Also added a callback method on_rows_loaded that you can implement to handle processing after the fetched results controller has finished its work.
Finally, bringing DataTableScreen to parity with PM:TableScreen with a callback will_display_cell

Sorry, it looks like it's been a while since we looked at this and now things are conflicting. I'm going to close this PR, but feel free to reopen if you want to fix the merge conflicts and bring it up to date.


Fix clippy warnings on yew services.

Description

Checklist

[x] I have run cargo make pr-flow
[x] I have reviewed my own code
[ ] I have added tests

Wohoo, I'm happy I'm not the only one who bothers to run Clippy every once in a while!

I'm surprised how that slipped through. I run clippy before pushing...

I'm surprised how that slipped through. I run clippy before pushing...

Now that I read my message again I worry that it might come across a bit demeaning which absolutely wasn't my intention.
Like every other Clippy update enables new stable lints which show up in Yew so it takes constant effort to squash the new issues :)


packaging/namespace

This should fix #39
some miscellaneous notes:

Very little of this has been tested, so I added an "in progress" label for now.
I didn't notice any cases where we actually used two functions by the same name, so this namespacing approach should solve the whole issue.
R doesn't want hyphens in package names, so I used BBSforecasting. I could change it to something else (like bbs-forecasting) if that would be preferable
R has strong opinions about how to handle the data folder. These opinions make more sense in a CRAN context than in our context; we should probably rename it.

@ethanwhite when you have a moment, could you confirm that your notebooks run on your machine as of 37a4626?
Thanks!

Looks like it's working as long as both the SQLite database and bbs_data.csv are in the data folder.
If not the 2nd code cell of the notebook gives me (I think due to the lack of bbs_data.csv:
Error in .local(res, n, ...): could not find function "columnToRownames"

Error in .local(res, n, ...): could not find function "columnToRownames"

But, I'd be surprised if everything was working without those files in place before, so I'd say :+1: for 37a4626 at the moment.

Cool, thanks.
After googling around, it looks like maybe your version of DBI might not match your version of the database driver? DBI deprecated and removed columnToRownames recently
When you have a moment, could you try getting the most recent versions of DBI, RSQLite, and RPostgres to confirm that it still works without bbs_data.csv

Thanks. Looks like that may have done it, but I won't know for sure before morning as it's busy doing what looks like a full download and install of all of the data.

The overnight run worked great. Pretty much a clean clone and then run it as long as the modules are sufficiently up to date. :+1:
Is this ready to merge on your end?

Yep. Thanks.
Dave

On Apr 26, 2016, at 7:56 AM, Ethan White<EMAIL_ADDRESS>wrote:
The overnight run worked great. Pretty much a clean clone and then run it as long as the modules are sufficiently up to date.
Is this ready to merge on your end?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Ugh.  Merge conflict. Working on it now...

I believe it's ready to merge again, whenever you're ready, @ethanwhite.

Should I merge a major reorganization days before giving a new talk with unfinished analyses... seems like a bad idea... oh well, here goes :fingers_crossed:


Update Auth0 documentation

I am trying to figure out how to configure a working example of GA4GH server with Auth0 authentication service. I am using the latest release version (0.3.5). Because Auth0 service should be configured via web browser, I created a step-by-step tutorial with my progress. I think the following pictures and text may help others. The problem I found is at the end of this text.
Follow the Deployment on Apache instructions to install the reference implementation server.
At Apache configuration, you should use the root path instead of /ga4gh because the server is using absolute path when redirecting web address.
WSGIDaemonProcess ga4gh \
    processes=10 threads=1 \
    python-path=/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages \
    python-eggs=/var/cache/apache2/python-egg-cache
WSGIScriptAlias / /srv/ga4gh/application.wsgi

<Directory /srv/ga4gh>
    WSGIProcessGroup ga4gh
    WSGIApplicationGroup %{GLOBAL}
    Require all granted
</Directory>

Configuring Auth0 service
First login or sign up in Auth0 website: https://auth0.com/
Creating Client
On tab Client click in Create Client. Give a name for your Client and choose the Non Interactive Clients client type. Click Create.

In Settings tab copy the Domain, Client ID and Client Secret data.

These data will be used to set the following server configuration values (reference):

AUTH0_HOST with Domain;
AUTH0_CLIENT_ID with Client ID;
AUTH0_CLIENT_SECRET with Client Secret.

Fill Allowed Callback URLs, Allowed Logout URLs and Allowed Origins (CORS) with the web address of server endpoint plus the related path.

Creating API
Go to APIs tab and click in Create API. The Identifier should be the URL of server endpoint (the landing page). For this example I am using root path and TCP port 80.

On Scopes tab, create two scopes: openid and email.

On Non Interactive Clients tab, authorize the previous created Client. Select both scopes openid and email. Click Update then Continue.

Creating Database Connections
Go to Connections-Database tab and click Create DB Connection.  I disabled sign ups because I want to have control over user creation allowing only certain people/software to have access on server.

In Clients tab, activate the connection between the Client and the Database.

Creating Users
Go to Users tab and click Create User. Fill the fields. Connection should be same one previously created. An email will be send requesting to verify. I recommend creating your own user for testing purposes.

Setting up GA4GH server with authentication
Append the following server configuration values to config.py file (reference). Remember to update the fields correctly. Create a SECRET_KEY. I didn’t understand the field AUTH0_AUTHORIZED_EMAILS. I just used the same email I used to login into Auth0 website.
AUTH0_ENABLED = True
SECRET_KEY = "super_secret"
AUTH0_SCOPES = "openid email"
AUTH0_CALLBACK_URL = "http://<IP_ADDRESS>/callback"
AUTH0_HOST = "USER.auth0.com"
AUTH0_CLIENT_ID = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
AUTH0_CLIENT_SECRET = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
AUTH0_AUTHORIZED_EMAILS =<EMAIL_ADDRESS>
Restart the server.
Testing
Finally access server landing page. It will show an error and a link to login. At login page, use the same email and password used to create a user. Note that it does not have an option to create a user (it can be changed).

After login you will see the token page.

Issues

[ ] After the login success, the server is redirecting to the same login page. It repeats over and over. I expected to see the token string. In the Apache access log I found this:

<IP_ADDRESS> - - [10/Feb/2017:09:56:37 -0800] "GET /login HTTP/1.1" 200 576 "http://<IP_ADDRESS>/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
<IP_ADDRESS> - - [10/Feb/2017:09:56:43 -0800] "GET /callback?code=gVCDNDap9fffMMIb HTTP/1.1" 302 463 "http://<IP_ADDRESS>/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
<IP_ADDRESS> - - [10/Feb/2017:09:56:48 -0800] "GET /login HTTP/1.1" 200 575 "http://<IP_ADDRESS>/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"

It seems that Auth0 returned access token to /callback but it redirected to /login again. It happens sometimes requiring to restart Apache server.

[ ] Testing programmatic access raises unauthorized error messages.

Using ga4gh_client tool:
ga4gh_client --auth0-token <token> datasets-search http://<IP_ADDRESS>/

ERROR:ga4gh.client.client:401 {"errorCode":<PHONE_NUMBER>, "message": "Not authenticated. Use the key on the server index page."}
Traceback (most recent call last):
  File "ga4gh-server-env/bin/ga4gh_client", line 9, in <module>
    load_entry_point('ga4gh-client==0.6.0a9', 'console_scripts', 'ga4gh_client')()
  File "/srv/ga4gh/ga4gh-server-env/local/lib/python2.7/site-packages/ga4gh/client/cli.py", line 1682, in client_main
    raise exception
ga4gh.client.exceptions.RequestNonSuccessException: Url http://<IP_ADDRESS>/?key=invalid had status_code 401

Using --key argument does not work.
Using Python library (reference):
from ga4gh.client import client
key = "<token>"
c = client.HttpClient("http://<IP_ADDRESS>/", id_token=key)
c.search_datasets().next()

Error:
ERROR:ga4gh.client.client:401 {"errorCode":<PHONE_NUMBER>, "message": "Not authenticated. Use the key on the server index page."}
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/srv/ga4gh/ga4gh-server-env/local/lib/python2.7/site-packages/ga4gh/client/client.py", line 58, in _run_search_request
    protocol_request, object_name, protocol_response_class)
  File "/srv/ga4gh/ga4gh-server-env/local/lib/python2.7/site-packages/ga4gh/client/client.py", line 820, in _run_search_page_request
    self._check_response_status(response)
  File "/srv/ga4gh/ga4gh-server-env/local/lib/python2.7/site-packages/ga4gh/client/client.py", line 805, in _check_response_status
    response.url, response.status_code))
ga4gh.client.exceptions.RequestNonSuccessException: Url http://<IP_ADDRESS>/datasets/search had status_code 401

Thanks @Welliton309 for putting together such a detailed set of instructions! Auth0 was in the process of testing the API based non-interactive clients features and I haven't tried them out.
The AUTH0_AUTHORIZED_EMAILS are email addresses that you have authorized to access data in the server. You can set up Google OIDC, but you don't want any Google user to be able to log in, so you add only the authorized emails to that list.
It sounds a bit like that is what is going wrong, the callback code does looks well formed, but you're being redirected to the /login with a code. If the request is authorized the callback session gets redirected to printing out the login code. https://github.com/ga4gh/server/blob/master/ga4gh/server/auth/init.py#L156
Are you trying to log in using an email in the authorized users list? The returned information about the email used to perform the login attempt has to match what is in the local configuration.

I have used the same email. I tested again and it worked! I don't known what happened. I got the API Token web page. The link to landing page worked very well 😄

The Apache access log:
<IP_ADDRESS> - - [14/Feb/2017:04:05:43 -0800] "GET / HTTP/1.1" 200 409 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
<IP_ADDRESS> - - [14/Feb/2017:04:05:53 -0800] "GET /login HTTP/1.1" 200 575 "http://<IP_ADDRESS>/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
<IP_ADDRESS> - - [14/Feb/2017:04:06:05 -0800] "GET /callback?code=fK6iNjbADATr340s HTTP/1.1" 302 1528 "http://<IP_ADDRESS>/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
<IP_ADDRESS> - - [14/Feb/2017:04:06:07 -0800] "GET /login?code=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6IndlbGwzMDlAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vd2VsbGl0b24uYXV0aDAuY29tLyIsInN1YiI6ImF1dGgwfDU4OWRmMjVlMjQ0Y2NiNzRmODlmMmI4YiIsImF1ZCI6ImV3Y1RybHlQVlhPS2dWMmM2VE1WMWkwdmxOaXdUekJOIiwiZXhwIjoxNDg3MTA5OTY2LCJpYXQiOjE0ODcwNzM5NjZ9.xe9x6wB7HBZXCUByiLaGkU6tNrsep335lYmQNOs4_EE HTTP/1.1" 200 816 "http://<IP_ADDRESS>/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"

It seems that the token size has been changed and the server redirected to /login page with the token. I will try to reproduce all steps and update the tutorial.

Thanks, we would happily incorporate any of your tutorial into our docs!

@david4096 feel free to use this tutorial :)
I updated with more information and pictures. Now I am trying to retrieve data from server.

Great, I changed the title. We'll close this issue once we've updated our documentation using your screenshots. Thanks!

@david4096 I'd like you to wait until I can access the data. There may still be settings to make on the Auth0 page.

Unfortunately it is not working. It seems that the GA4GH server only accept connection to base URL. When trying to access another resource such as search for data sets the server raises the "Not authenticated. Use the key on the server index page." Basically I am running this:
from ga4gh.client import client
key = "<key from login page>"
c = client.HttpClient("http://<IP_ADDRESS>/", id_token=key)
c.search_datasets().next()

Anyone have any idea for tracking this problem?

In order to control for issues in the client, could you try it as a cURL request (replacing my key for yours)?
curl -X POST --data '{}' -H 'Content-Type: application/json' -H 'Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6ImRhdmlkY3NAdWNzYy5lZHUiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6Ly9kYXZpZDQwOTYuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTAxNDYyMDk4NDkxMDIwNzU4NDcxIiwiYXVkIjoiN1B5VDVlUVJSZGFTeGdNNGhFWXowNHd6bmNOaVhwcUgiLCJleHAiOjE0ODE4ODE5NjUsImlhdCI6MTQ4MTg0NTk2NX0.t0e-1Ij0gGrmP0CKv_ymKsy_wvdTWfLtr5-257jRQ7aA' http://localhost:8000/datasets/search

I did the following steps:

Checked the Auth0 configurations (according to tutorial);
Deleted /tmp/ga4gh and Apache logs;
Restarted Apache;
Entered homepage;
Clicked in login link;
Signed in using the user created in Auth0 (the same email in config.py file);
Copied the key from login page;
Clicked in landing page link (I saw the default home page, the URL: http://<IP_ADDRESS>/?key=<same_token_from_login>);
Executed curl command line:

curl -X POST --data '{}' -H 'Content-Type: application/json' -H 'Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6IndlbGwzMDlAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJpc3MiOiJodHRwczovL3dlbGxpdG9uLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw1OGFiMDYzMTgyYjBjYTA3NzQ2M2VhM2IiLCJhdWQiOiI1RkZMZWpud2hkeERWZHVEUHdONzFnc3FGWTNxbWlDUSIsImV4cCI6MTQ4Nzg1MTYwMywiaWF0IjoxNDg3ODE1NjAzfQ.XBymadpZydRp1-K2bcPYaj5ciNqR6wP8ns2TJnM5rls' http://<IP_ADDRESS>/datasets/search

It returned:
{"errorCode":<PHONE_NUMBER>, "message": "Not authenticated. Use the key on the server index page."}

[Wed Feb 22 18:03:22.979026 2017] [wsgi:warn] [pid 3363:tid<PHONE_NUMBER>47904] mod_wsgi: Runtime using Python/2.7.12.
[Wed Feb 22 18:03:23.005393 2017] [mpm_event:notice] [pid 3363:tid<PHONE_NUMBER>47904] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations
[Wed Feb 22 18:03:23.005471 2017] [core:notice] [pid 3363:tid<PHONE_NUMBER>47904] AH00094: Command line: '/usr/sbin/apache2'
[Wed Feb 22 18:06:32.746432 2017] [wsgi:error] [pid 3369:tid<PHONE_NUMBER>54432] INFO:rdflib:RDFLib Version: 4.2.1
[Wed Feb 22 18:06:32.989907 2017] [wsgi:error] [pid 3369:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:32.989928 2017] [wsgi:error] [pid 3369:tid<PHONE_NUMBER>54432] INFO in extension [/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages/flask_cors/extension.py:81]:
[Wed Feb 22 18:06:32.989933 2017] [wsgi:error] [pid 3369:tid<PHONE_NUMBER>54432] Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:32.989936 2017] [wsgi:error] [pid 3369:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:32.989968 2017] [wsgi:error] [pid 3369:tid<PHONE_NUMBER>54432] INFO:ga4gh.server.frontend.cors:Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:33.056617 2017] [wsgi:error] [pid 3369:tid<PHONE_NUMBER>54432] None
[Wed Feb 22 18:06:36.080913 2017] [wsgi:error] [pid 3375:tid<PHONE_NUMBER>54432] INFO:rdflib:RDFLib Version: 4.2.1
[Wed Feb 22 18:06:36.277563 2017] [wsgi:error] [pid 3375:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:36.277604 2017] [wsgi:error] [pid 3375:tid<PHONE_NUMBER>54432] INFO in extension [/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages/flask_cors/extension.py:81]:
[Wed Feb 22 18:06:36.277609 2017] [wsgi:error] [pid 3375:tid<PHONE_NUMBER>54432] Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:36.277613 2017] [wsgi:error] [pid 3375:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:36.277667 2017] [wsgi:error] [pid 3375:tid<PHONE_NUMBER>54432] INFO:ga4gh.server.frontend.cors:Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:42.182854 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] INFO:rdflib:RDFLib Version: 4.2.1
[Wed Feb 22 18:06:42.409327 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:42.409350 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] INFO in extension [/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages/flask_cors/extension.py:81]:
[Wed Feb 22 18:06:42.409354 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:42.409367 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:42.409409 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] INFO:ga4gh.server.frontend.cors:Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:42.459639 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): welliton.auth0.com
[Wed Feb 22 18:06:43.552441 2017] [wsgi:error] [pid 3367:tid<PHONE_NUMBER>54432] INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): welliton.auth0.com
[Wed Feb 22 18:06:45.827757 2017] [wsgi:error] [pid 3366:tid<PHONE_NUMBER>54432] INFO:rdflib:RDFLib Version: 4.2.1
[Wed Feb 22 18:06:46.105052 2017] [wsgi:error] [pid 3366:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:46.105077 2017] [wsgi:error] [pid 3366:tid<PHONE_NUMBER>54432] INFO in extension [/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages/flask_cors/extension.py:81]:
[Wed Feb 22 18:06:46.105081 2017] [wsgi:error] [pid 3366:tid<PHONE_NUMBER>54432] Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:46.105084 2017] [wsgi:error] [pid 3366:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:46.105117 2017] [wsgi:error] [pid 3366:tid<PHONE_NUMBER>54432] INFO:ga4gh.server.frontend.cors:Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:59.031819 2017] [wsgi:error] [pid 3371:tid<PHONE_NUMBER>54432] INFO:rdflib:RDFLib Version: 4.2.1
[Wed Feb 22 18:06:59.263452 2017] [wsgi:error] [pid 3371:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:59.263477 2017] [wsgi:error] [pid 3371:tid<PHONE_NUMBER>54432] INFO in extension [/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages/flask_cors/extension.py:81]:
[Wed Feb 22 18:06:59.263481 2017] [wsgi:error] [pid 3371:tid<PHONE_NUMBER>54432] Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:59.263483 2017] [wsgi:error] [pid 3371:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:06:59.263514 2017] [wsgi:error] [pid 3371:tid<PHONE_NUMBER>54432] INFO:ga4gh.server.frontend.cors:Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:06:59.338664 2017] [wsgi:error] [pid 3371:tid<PHONE_NUMBER>54432] eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6IndlbGwzMDlAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJpc3MiOiJodHRwczovL3dlbGxpdG9uLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw1OGFiMDYzMTgyYjBjYTA3NzQ2M2VhM2IiLCJhdWQiOiI1RkZMZWpud2hkeERWZHVEUHdONzFnc3FGWTNxbWlDUSIsImV4cCI6MTQ4Nzg1MTYwMywiaWF0IjoxNDg3ODE1NjAzfQ.XBymadpZydRp1-K2bcPYaj5ciNqR6wP8ns2TJnM5rls
[Wed Feb 22 18:07:00.469668 2017] [wsgi:error] [pid 3372:tid<PHONE_NUMBER>54432] INFO:rdflib:RDFLib Version: 4.2.1
[Wed Feb 22 18:07:00.647614 2017] [wsgi:error] [pid 3372:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:07:00.647635 2017] [wsgi:error] [pid 3372:tid<PHONE_NUMBER>54432] INFO in extension [/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages/flask_cors/extension.py:81]:
[Wed Feb 22 18:07:00.647638 2017] [wsgi:error] [pid 3372:tid<PHONE_NUMBER>54432] Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:07:00.647641 2017] [wsgi:error] [pid 3372:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:07:00.647669 2017] [wsgi:error] [pid 3372:tid<PHONE_NUMBER>54432] INFO:ga4gh.server.frontend.cors:Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:07:41.098633 2017] [wsgi:error] [pid 3370:tid<PHONE_NUMBER>54432] INFO:rdflib:RDFLib Version: 4.2.1
[Wed Feb 22 18:07:41.297001 2017] [wsgi:error] [pid 3370:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:07:41.297025 2017] [wsgi:error] [pid 3370:tid<PHONE_NUMBER>54432] INFO in extension [/srv/ga4gh/ga4gh-server-env/lib/python2.7/site-packages/flask_cors/extension.py:81]:
[Wed Feb 22 18:07:41.297033 2017] [wsgi:error] [pid 3370:tid<PHONE_NUMBER>54432] Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}
[Wed Feb 22 18:07:41.297036 2017] [wsgi:error] [pid 3370:tid<PHONE_NUMBER>54432] --------------------------------------------------------------------------------
[Wed Feb 22 18:07:41.297071 2017] [wsgi:error] [pid 3370:tid<PHONE_NUMBER>54432] INFO:ga4gh.server.frontend.cors:Configuring CORS with resources: {'/*': {'automatic_options': True, 'allow_headers': [u'Content-Type'], 'send_wildcard': False, 'intercept_exceptions': True, 'origins': ['.*'], 'vary_header': True, 'supports_credentials': False, 'resources': '/*', 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'}}

First log from Auth0 (successful login):
{
  "date": "2017-02-23T02:06:41.169Z",
  "type": "s",
  "connection": "GA4GH-DB",
  "connection_id": "con_DqcVqeGQ5HLiz2Z6",
  "client_id": "5FFLejnwhdxDVduDPwN71gsqFY3qmiCQ",
  "client_name": "GA4GH Client Dev",
  "ip": "<IP_ADDRESS>",
  "user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0",
  "details": {
    "prompts": [
      {
        "name": "authenticate",
        "initiatedAt":<PHONE_NUMBER>879,
        "completedAt":<PHONE_NUMBER>162,
        "timers": {},
        "performed_acr": [],
        "performed_amr": [],
        "elapsedTime": 283
      }
    ],
    "initiatedAt":<PHONE_NUMBER>871,
    "completedAt":<PHONE_NUMBER>166,
    "elapsedTime": 295,
    "stats": {
      "loginsCount": 31
    }
  },
  "user_id": "auth0|58ab063182b0ca077463ea3b",
  "user_name": "<authorized_email>",
  "strategy": "auth0",
  "strategy_type": "database",
  "auth0_client": {
    "name": "lock.js",
    "version": "10.0.2",
    "lib_version": "7.0.3"
  }
}

Second log from Auth0 (successful exchange):
{
  "date": "2017-02-23T02:06:43.488Z",
  "type": "seacft",
  "description": "",
  "connection_id": "",
  "client_id": "5FFLejnwhdxDVduDPwN71gsqFY3qmiCQ",
  "client_name": "GA4GH Client Dev",
  "ip": "<IP_ADDRESS>",
  "user_agent": "python-requests/2.7.0 CPython/2.7.12 Linux/4.4.0-63-generic",
  "user_id": "",
  "user_name": ""
}

Let me know if there are any other log files that might help.

Thanks that's very helpful!
Given that the exchange with Auth0 is working and I believe some id_token is in the cache, my guess is something is going wrong here.
The other possibility is here. Do you have the OIDC configured as well? It should leave that function if the OIDCClient is None, which it will be as long as the configuration setting OIDC_PROVIDER isn't set.

I didn't set an OIDC_PROVIDER. In Auth0 API configuration I added the "openid" and "email" scopes. Then I authorized the Client to use these two scopes (as showed in the "Creating API" section of the tutorial). My config.py file:
DATA_SOURCE = "/srv/ga4gh/ga4gh-example-data/registry.db"
AUTH0_ENABLED = True
SECRET_KEY = "super_secret"
AUTH0_SCOPES = "openid email"
AUTH0_CALLBACK_URL = "http://<IP_ADDRESS>/callback"
AUTH0_HOST = "welliton.auth0.com"
AUTH0_CLIENT_ID = "5FFLejnwhdxDVduDPwN71gsqFY3qmiCQ"
AUTH0_CLIENT_SECRET = "igm8Pz_8T7moT0V_8jBOp_PeFe9rqqKBu9KYD2jfrF1kJBFu1tTAxpl-KzJ1oJEU"
AUTH0_AUTHORIZED_EMAILS = "<authorized_email>"
DEBUG = True

@Welliton309 I just tried this with my credentials, which I include for testing and was able to get it to work.
Then I tried creating a new app and it seems like they have changed the formatting of the keys.
If you'd like to start up a server with these credentials (over some non-protected data!), it would help me to be certain this is the problem.
    AUTH0_ENABLED = True
    SECRET_KEY = "super_secret"
    AUTH0_SCOPES = "openid email"
    AUTH0_CALLBACK_URL = "http://localhost:8000/callback"
    AUTH0_HOST = "david4096.auth0.com"
    AUTH0_CLIENT_ID = "7PyT5eQRRdaSxgM4hEYz04wzncNiXpqH"
    AUTH0_CLIENT_SECRET = \
        "2OkzpU7LMYMllXf7cd027WFcbBpb4b_p3iNRaUfsYOQgxiYM_puwRxCddCRy_RtV"
    AUTH0_AUTHORIZED_EMAILS = "davidcs<EMAIL_ADDRESS>
I believe all new created apps at Auth0 will have the new formatting. Related https://auth0.com/forum/t/client-secret-stored-without-base64-encoding/4338


Able to swipe infinitely to the left on the first slide

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: v3.4.1 via framework7 1.5.2

Platform/Target and Browser Versions: cordova, specifically android and the crosswalk webview

What you did
Using ember-cordova we have the swiper set up in an ember component this is our set up:
 const $swiper = f7Application.swiper('.swiper-container', {
      spaceBetween: 12, // 12px between slides
    });

We're also observing onSlideChangeStart to set the active slide index for displaying some stuff outside the swiper that correlates to each slide.
Expected Behavior
I would expect the swiper to not allow left swiping on the first slide
Actual Behavior
When we enter the page the first slide is shown but I'm able to swipe to the left into blank space. After I swipe right to the next slide it corrects itself and then I'm not able to swipe into blank space.
As a workaround I've locked swipe to previous on the first slide and then unlocked after I swipe right, but this seems superfluous. It might be some conflict with crosswalk but I haven't been find the root cause?

Doesn't related to Swiper. But looks like you init Swiper in a wrong moment, when it is invisible


[stable/influxdb] add member

Signed-off-by: Victor Login<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
solve #13867
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] title of the PR contains starts with chart name e.g. [stable/chart]

/assign @jackzampolin

/assign @mattfarina

cc @jackzampolin

/cc @maorfr

/unassign @mattfarina
/assign @jackzampolin
would appreciate if the existing owner approves of this :)

/assign @jackzampolin I SAID

@jackzampolin, i've sent you an invitation to collaborate on this repo :)
after you accept the invitation, you can /assign yourself (and many additional commands become available).

/hold


[FIX][VM] Fix relay vm optimize

We need to pass host_target to optimize because it is needed by memory_alloc
https://github.com/apache/incubator-tvm/blob/4c728d532b987ae4de464597bbfccc687913ad2d/src/relay/backend/vm/compiler.cc#L991
The previous unit test with static graph didn't find the bug because the host_target is only used when emitting shape funcs
https://github.com/apache/incubator-tvm/blob/4c728d532b987ae4de464597bbfccc687913ad2d/python/tvm/relay/transform/memory_alloc.py#L154
cc @icemelon9 @jroesch

Thanks @zhiics


add gman linux arm32 binaries

@Scrumplex followed your previous naming scheme. requires a simple launcher change to https://github.com/PolyMC/PolyMC/blob/fafc9cf9ca86fd66db09e9ccc1cdb53520fd7c16/launcher/RuntimeContext.h#L31-L36 as well.
on armhf/arm32/armv7l systems, most java binaries return "arm" so there should be an elif statement for javaRealArchitecture == "arm" to return "arm32". I did not want to simply use "arm" in the meta patcher since it wouldn't be as clear.

I am actually thinking about using the proper names for the architectures. i.e. linux-aarch64 instead of linux-arm64 and linux-armhf instead of linux-arm32. It might be not too late, as we haven't released a version with the multi-arch patches yet. Will think about this

I like arm64 and arm32 better as that is what lwjgl3 uses internally.
Regardless it is all a simple find and replace all command so not a big deal either way.

Also fyi. As I said, armhf isn't proper (not by what java reports) it is simply arm.
It's bad no matter what really. Debian uses armhf to designate armv7l compatible packages, and arm64 for armv8 64bit (there is a 32bit only form btw). Fedora uses armv7l and aarch64.
There are so many competing naming standards, it's best to just keep it simple, arm32 and arm64. If you wanted to use what openjdk has mostly settled on, that would be arm and aarch64. But like I said, that is different from lwjgl3 settled on.


add device name to context attribute

We could support more of backend type, and return None(by not setting rv) for other cases.
checkout
https://github.com/dmlc/tvm/pull/1087
devices that we can support query

vulkan, opencl, metal

Related API reference

opencl https://www.khronos.org/registry/OpenCL/sdk/1.0/docs/man/xhtml/clGetDeviceInfo.html
vulkan https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceProperties.html
metal https://developer.apple.com/documentation/metal/mtldevice


keep_releases does not remove correct file

bash command ls -x does not sort alphabetically, only list in columns.
by other side, ls -X  will sort alphabetically.
in this case,
capture(:ls, '-x', releases_path)  is wrong
capture(:ls, '-X', releases_path)  is CORRECT

# capistrano/lib/capistrano/tasks/deploy.rake:140
desc 'Clean up old releases'
  task :cleanup do
    on release_roles :all do |host|
      releases = capture(:ls, '-x', releases_path).split  # <<<< ERROR HERE <<<<
      if releases.count >= fetch(:keep_releases)
        info t(:keeping_releases, host: host.to_s, keep_releases: fetch(:keep_releases), releases: releases.count)
        directories = (releases - releases.last(fetch(:keep_releases)))
        if directories.any?
          directories_str = directories.map do |release|
            releases_path.join(release)
          end.join(" ")
          execute :rm, '-rf', directories_str
        else
          info t(:no_old_releases, host: host.to_s, keep_releases: fetch(:keep_releases))
        end
      end
    end
  end

I think -x is appropriate and is working fine. AFIAK ls sorts lexicographically by default. Please re-open if this is still an issue with an example of where ls -x breaks (it could be a certain flavor of ls that I'm not aware of).


Change help to distinguish mandatory parameters from optional parameters

Change the help output to a 'zfs' command style output,
where mandatory parameters are in angle brackets and optional
parameters in brackets.

The setup command is kind of strange, because it can have any combination of the arguments (pool, net and/or kmod) but should require at least one of them. I am not quite sure how to express that.

This looks good, and you handle the setup function properly. However, we should also add this to the help output in the README.md file and the iohyve.8.txt & iohyve.8 man pages.
You can read how we turn the iohyve.8.txt file into a man page here.
Also note, I am going to try and get your library move merged before merging this PR.
Keep up the good work! :+1:

Looking good :sunglasses:


MultiComboBox can't load more than 500 selected items

Related to this issue:
https://github.com/vaadin-component-factory/multi-combo-box-flow/issues/14

When there are more than 500 selected items, now the component is scrolling until the item 500 and stops instead of doing an infinite loop


find_tied_parameters miss tied parameters

System Info
- `Accelerate` version: 0.33.0
- Platform: Linux-6.5.0-1020-aws-x86_64-with-glibc2.35
- `accelerate` bash location: /home/ubuntu/projects/transformers/.venv/bin/accelerate
- Python version: 3.10.12
- Numpy version: 1.26.3
- PyTorch version (GPU?): 2.4.0+cu121 (True)

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
I used a simple net with a shared layer and assumed that shared layer parameters should be returned by find_tied_parameters, however, an empty list is returned. Is it expected behavior or do I misunderstand what the find_tied_parameters purpose is?
import torch
from accelerate.utils import find_tied_parameters

class DummyModel(torch.nn.Module):
    def __init__(self):
        super().__init__()
        shared_linear = torch.nn.Linear(4, 4)
        self.linear1 = shared_linear
        self.linear2 = shared_linear
        self.linear3 = shared_linear
        self.linear4 = shared_linear

model = DummyModel()
assert model.linear1.weight is model.linear2.weight
assert model.linear1.weight.data_ptr() == model.linear2.weight.data_ptr()

tied_params = find_tied_parameters(model)
print(tied_params)
# []

The root issue is related to the transformers repo, I found that for GroundingDino tied_params are different if device_map is provided and the find_tied_parameters function is used instead of id_tensor_storage function to find tied weights.
https://github.com/huggingface/transformers/blob/53f0c9c2906e0b0f1623bfdfb420fca1e655098d/src/transformers/modeling_utils.py#L4124-L4134
Expected behavior
find_tied_parameters function returns shared parameters
cc @SunMarc

Hi @qubvel, thanks for your investigation. find_parameters is failing in this case because when initializing the model like that, we don't have the linear layers in model.named_children. Only the shared layers appears. This is why we are not able to find these modules + check if the tensors are tied in find_parameters . If you initialize the module like that, it works however:
class DummyModel(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.shared_linear = torch.nn.Linear(4, 4)
        self.linear1 = torch.nn.Linear(4, 4)
        self.linear2 = torch.nn.Linear(4, 4)
        self.linear3 = torch.nn.Linear(4, 4)
        self.linear4 = torch.nn.Linear(4, 4)

        self.linear1.weight = self.shared_linear.weight
        self.linear2.weight = self.shared_linear.weight
        self.linear3.weight = self.shared_linear.weight
        self.linear4.weight = self.shared_linear.weight

Not sure yet what's the best solution. One solution would be to find a way to have access to these children modules, like model.named_children. LMK if you find something !

Hi @SunMarc, thanks for the reply.
For newer versions of PyTorch (2.0+) we can use model.named_parameters(remove_duplicate=False) and model.named_parameters(remove_duplicate=True) to identify tied parameters defined that way. However, for the earlier versions remove_duplicate is not supported argument.

@SunMarc I've submitted a PR to fix it, please review it whenever you have time. I copied and modified methods from torch to iterate over modules and parameters to make it backward compatible with torch < 2.0

Thanks for fixing and submitting the PR @qubvel !


Use babel-loader to transpile code

Switch from eslint-loader to babel-loader to allow using modern constructs
such as arrow functions or ES6 classes while still retaining "compatibility"
with older browsers. It's worth mentioning browsers which support WebRTC
already ship with ES6 support, but at least we won't trigger parser errors
on the older browsers.
The cost in terms of runtime size is negligeable, the minified code grows
by less than 400 bytes as a result of the switch. Note: we don't pull in
any polyfills with this commit, so only ES6 constructs are supported, not
using new classes such as Map or Set.
We still perform linting as part of the build, by invoking eslint in the
prebuild step.

This looks good to me. Eslint still runs automatically while building, and it failing still halts the build with an error.
Generally speaking, longterm we would like to move to typescript, but babel is an adequate and noninvasive middle-step.

Any chance of merging this @egreenmachine ?

My goal is to do a 0.9.0 release with #459 which was just merged, then we shall see what is next. It is in the queue.


Guardian-service crashing when mongo collection growth

Problem description
We start to get lots of below error
Executor error during find command :: caused by :: Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting. Aborting operation. Pass allowDiskUse:true to opt in.
    at Connection.onMessage (/usr/guardian-service/node_modules/@mikro-orm/mongodb/node_modules/mongodb/lib/cmap/connection.js:207:30)
    at MessageStream.<anonymous> (/usr/guardian-service/node_modules/@mikro-orm/mongodb/node_modules/mongodb/lib/cmap/connection.js:60:60)
    at MessageStream.emit (node:events:513:28)
    at MessageStream.emit (node:domain:489:12)
    at processIncomingData (/usr/guardian-service/node_modules/@mikro-orm/mongodb/node_modules/mongodb/lib/cmap/message_stream.js:132:20)
    at MessageStream._write (/usr/guardian-service/node_modules/@mikro-orm/mongodb/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
    at writeOrBuffer (node:internal/streams/writable:391:12)
    at _write (node:internal/streams/writable:332:10)
    at MessageStream.Writable.write (node:internal/streams/writable:336:10)
    at Socket.ondata (node:internal/streams/readable:754:22) NR

This similar with aggregate() function report before but this time it apply to find command. I raise it as separate issue for us to look at the option that can avoid this issue for all other command
At the moment we have about
VC = 250k ~ 1GB
VP =  7k ~700MB
Please note that when this issue happen , guardian -service will crash and restart as we have self recover but it will create the performance and maybe lost some realtime processing request.
Step to reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

@samuraitruong thank you for the report, we have done investigation and analysis internally and determined that the most appropriate resolution for this is to ensure version compatibility of mongodb by restricting the version to (only) mongo 6. We have fixed docker-compose.yml in 'dev', and will update the doc accordingly.


PnetCDF

Remaining work:

Using SCALE library.
Flexibility to read/write different precision restart/history variables.


Instalador fácil para MacOs

Forma de instalar no MacOs sem precisar compilar.
Sugestões:

Brew
App Store
Script
Make

Forma de instalar no MacOs sem precisar compilar.
Sugestões:

Brew
App Store
Script
Make

I had problems to install it in my mac following the steps in README.
My configurations are:
Model Name:	MacBook Pro
Model Identifier:	MacBookPro16,1
Processor Name:	6-Core Intel Core i7
Processor Speed:	2,6 GHz

Guys, the application now can be installed using homebrew doing the follow
# add the app tap
brew tap rvigo/cl
# install the app
brew install cl

If you have previously compiled the project from the source (the current install process), please delete the cl bin file from $HOME/.cargo/bin
Can you guys validate this process?
If everything is ok I'll close this PR and add the instructions in the README.md file.

Everything is working now!
Thanks.


EvalResult deprecated

ImportError: cannot import name 'EvalResult' from 'pytorch_lightning'

Hi @AwikDhar,
It seems a version conflict problem.
I'll update to correct this bug but it will take few weeks since I am working on another project.

I think I found a fix, at least for the Colab.
Try replacing !pip install pytorch_lightning with !pip install torchtext==0.8.1 pytorch-lightning==0.9.0


[Feature] Rails 6 config.hosts

I don't understand this yet but Rails 6 will be introducing an ActionDispatch::HostAuthorization middleware that automatically configures itself. A quick search indicates that it configures itself via the config.hosts value.
We should probably find a way to set that.

The latest release made the decision to rely on as much of rails new as possible. Although we make some recommendations via the following configuration generators, we ultimately decided to leave infrastructure decisions up to the consumer.

#1151
#1149
#1182

This his how it can be configured.

Thanks for that redesign!


AWSIotMqttClient Continously Connecting & Losing Connections

I am trying to establish the connection with AWSIotMqttClient, the connection is established successfully. But I am constantly seeing the log's of connection lost, established, retired in console as mentioned below. I am currently in Texas regions.
I tried establishing the connection using both ways certificates as well as using access Key ID and secret access key. In both cases I am seeing the same problem.
Security Policy which is attached my Device certification ->
{   "Version": "2012-10-17",   "Statement": [     {       "Effect": "Allow",       "Action": "iot:*",       "Resource": "*"     }   ] }
AWSIotMqttClient connection Java Code ->
`public AWSIotMqttClient getAWSIoTClient() {
String clientEndpoint = getClientEndpoint();
String clientId = getClientId();
    String certificateFile = getCertificateFile();
    String privateKeyFile = getPrivateKeyFile();
    if (certificateFile != null && privateKeyFile != null) {
        AWSUtil.KeyStorePasswordPair pair = AWSUtil.getKeyStorePasswordPair(certificateFile, privateKeyFile);
        awsIotClient = new AWSIotMqttClient(clientEndpoint, clientId, pair.keyStore, pair.keyPassword);
        if(awsIotClient.getConnectionStatus().equals(AWSIotConnectionStatus.DISCONNECTED))
            try {
                awsIotClient.connect();
            } catch (AWSIotException e) {
                throw new IllegalArgumentException("Failed to connect to AWS IoT Client.");
            }
    }

    if (awsIotClient == null) {
        throw new IllegalArgumentException("Failed to construct client due to missing certificate or credentials.");
    }
    return awsIotClient;
}`

Console Logs ->
`2017-08-09 18:42:15.896  INFO [-,,,] 85753 --- [pool-3-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection successfully established
2017-08-09 18:42:15.896  INFO [-,,,] 85753 --- [pool-3-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection active: DEVICE_IOT_PLATFORM
2017-08-09 18:42:15.940  INFO [-,,,] 85753 --- [pool-2-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection temporarily lost
2017-08-09 18:42:15.940  INFO [-,,,] 85753 --- [pool-2-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection lost: DEVICE_IOT_PLATFORM
2017-08-09 18:42:16.541  INFO [-,,,] 85753 --- [pool-1-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection is being retried
2017-08-09 18:42:16.872  INFO [-,,,] 85753 --- [pool-1-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection successfully established
2017-08-09 18:42:16.872  INFO [-,,,] 85753 --- [pool-1-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection active: DEVICE_IOT_PLATFORM
2017-08-09 18:42:16.898  INFO [-,,,] 85753 --- [pool-3-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection temporarily lost
2017-08-09 18:42:16.898  INFO [-,,,] 85753 --- [pool-3-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection lost: DEVICE_IOT_PLATFORM
2017-08-09 18:42:18.945  INFO [-,,,] 85753 --- [pool-2-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection is being retried
2017-08-09 18:42:19.415  INFO [-,,,] 85753 --- [pool-2-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection successfully established
2017-08-09 18:42:19.415  INFO [-,,,] 85753 --- [pool-2-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection active: DEVICE_IOT_PLATFORM
2017-08-09 18:42:19.504  INFO [-,,,] 85753 --- [pool-1-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection temporarily lost
2017-08-09 18:42:19.504  INFO [-,,,] 85753 --- [pool-1-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection lost: DEVICE_IOT_PLATFORM
2017-08-09 18:42:19.901  INFO [-,,,] 85753 --- [pool-3-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection is being retried
2017-08-09 18:42:20.245  INFO [-,,,] 85753 --- [pool-3-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection successfully established
2017-08-09 18:42:20.245  INFO [-,,,] 85753 --- [pool-3-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection active: DEVICE_IOT_PLATFORM
2017-08-09 18:42:20.291  INFO [-,,,] 85753 --- [pool-2-thread-1] c.a.s.iot.client.core.AwsIotConnection   : Connection temporarily lost
2017-08-09 18:42:20.291  INFO [-,,,] 85753 --- [pool-2-thread-1] c.a.s.i.c.core.AbstractAwsIotClient      : Client connection lost: DEVICE_IOT_PLATFORM`

Hi @nitinware , where are trying to use this sdk? android side or some server side?

I am trying to use this SDK for a Java web application on server side.

I tried to use java sdk in android and got that error. They told they did
not test java sdk for Android. So I used android sdk and there is no issues.
On 10-Aug-2017 9:07 AM, "Nitin Ware"<EMAIL_ADDRESS>wrote:

I am trying to use this SDK for a Java web application on server side.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-iot-device-sdk-java/issues/31#issuecomment-321441674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIfzOITHfiKVSmOLR6UuvHBkEpD-X7vvks5sWnrlgaJpZM4Oyxuv
.

Hi,
I think this is a bug from underlayer paho client that there is a 1 second keep alive interval. This bug was fixed in paho v1.2.0. Can you modify the pom file and using Paho v1.2.0 and see if it helps you ?
Thanks,
Fengyi

I have the same problem - running the PublishSubscribeSample application on a Windows PC (eventual target will be a Java application running in EC2). I have updated the library to Paho 1.2.0 without any improvement. I am about to dive down into the Paho client code (I am familiar with Paho) but really have better things to be doing is anyone has any suggestions as to how to fix it!
Martin

OK - follow-up - it works fine if I build with Paho 1.1.0 and use AWS Access Keys. With Paho 1.1.0 and certificates, I get the repeated cycle of connects and disconnects that several have described around here. With Paho 1.2.0, I get some kind of socket upgrade exception. I don't currently have time to diagnose that right now.

Hi @martinbradford ,
The certificates should work fine with Paho v1.1.0. Can you double check your configuration e.g. activate your certs, attach IoT Policy to the correct certs and your region as well?
Thanks

Hi, So I'm wondering whether this is maintained still or not?
I'm still seeing this issue on 1.3.0 with paho 3-1.1.0

I have observed the same issues with 1.3.2.
As a workaround,  I  downgraded to 1.2.0.
It would be good to have it fixed it in 1.3.x.

Cheers mate

我使用的java的客户端也出现了这个问题,控制台不断的输出重连,但是topic 的信息是可以收到的,出现这个问题的原因是什么?

@wonliang when using translate it appears that you are still having issues with connections while using this repo. Since this is an older issues and has been closed for a while please open a new issue with the details about your connection issues.


Add devtest labs python CLI and two new actions: auth and createvm

Add script to create a lab virtual machine (in a new environment) based on a series of command line arguments.
General
python dtl.py --help
usage: dtl.py <principal> [tenant ID] [secret] action

Provides command-line access to Azure DevTest Labs

positional arguments:
  principal             Your Azure user name or Application/Client ID
  secret                Your Client secret if using a Client ID instead of a
                        username.
  tenantID              Your tenant ID. See https://msdn.microsoft.com/en-
                        us/library/azure/dn790557.aspx for more information.
  subscriptionID        Your Azure subscription ID

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -q, --quiet           When set, supresses tool messages from printing

Actions:
  {auth,labs,createvm}
    auth                Authorizes access to Azure resources
    labs                Provides access to individual labs
    createvm            Creates a lab virtual machine based on additional
                        parameters

Auth
python dtl.py myusername mysecret mytenantid mysubsid auth --help

usage: dtl.py <principal> [tenant ID] [secret] action auth [-h] [-vb]

optional arguments:
  -h, --help      show this help message and exit
  -vb, --verbose  Log verbose output to stdout

Labs
python dtl.py myusername mysecret mytenantid mysubsid labs --help

usage: dtl.py <principal> [tenant ID] [secret] action labs [-h] [-vb] labname

positional arguments:
  labname         The name of the lab

optional arguments:
  -h, --help      show this help message and exit
  -vb, --verbose  Log verbose output to stdout

Createvm
python dtl.py myusername mysecret mytenantid mysubsid createvm --help

usage: dtl.py <principal> [tenant ID] [secret] action createvm
       [-h] [-vb] labname name templatename size vmusername vmpassword

positional arguments:
  labname         The name of the lab
  name            The name of the new virtual machine
  templatename    The name of the base image template to use
  size            The size of the new virtual machine
  vmusername      The user name of the new virtual machine
  vmpassword      The password of the new virtual machine

optional arguments:
  -h, --help      show this help message and exit
  -vb, --verbose  Log verbose output to stdout

misspelled "suppresses" in the help text above with --quiet. is that from python?

All I got is wording consistency feedback. Don't know enough about Python to suggest much else. Looks pretty cool.


feat(BreakpointHooks): Port breakpoint hooks from Monolith into Gamut Labs

Overview
These hooks are currently in the monolith, but now there’s a need for it in Static Sites - particularly for the time-sensitive BTS campaign. After discussion in our internal Slack, we are going with having this in Gamut Labs for now.
PR Checklist

[x] Related to JIRA ticket: REACH-238
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change (No tests, see discussion in original PR https://github.com/codecademy-engineering/Codecademy/pull/17702#discussion_r430765114)

Description
These hooks help us dynamically structure the page based on the breakpoint. You can simply call useBreakpoint() to get the current breakpoint.

Josh you had suggested no tests in the original PR since the logic became simple after we went with the react-use package which already includes test for createBreakpoint), but codecov is upset about this! What do you suggest to do?
https://github.com/codecademy-engineering/Codecademy/pull/17702#discussion_r430765114

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5f4801013b7f7900ccbe42fc--gamut-preview.netlify.appDeploy Logs

Codecov can shove it.
If you wanted to, you could add unit tests that these don't crash? But lmk if you want me to merge for you as admin.

@JoshuaKGoldberg I'd appreciate a good ol' Admin merge!

@rogervera do it your dang self!
(just made you an owner, enjoy!)

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5f480a8ced8e98889a8c8f09--gamut-preview.netlify.appDeploy Logs


Write Additional Dialogues For Spider-Babies

@mintbiscuits @Skaers Note: added spider-youth and spider-teenagers to mix as well, since i wanted to expand things a little. Their appearance in sprite may look same, though we can add a few changes to make them a bit distinct from others. A common we can do is to just resize them. So, Spider-babies are of a bit smaller size, spider-teenagers are of a bit larger size, and spider-youth are a bit larger than that, but they all look the same so that hopefully should alleviate things.


Cannot show Pictures after certain number of pics on Android

This is my environment:
React-native 0.43.4
React-native-img-cache 1.3.0
Android 6.0 +
As shown in the screenshots below, after certain numbers of pics, it just shows blank, rather than the picture itself.
I can confirm that the pics have been successfully saved in the cache. This problem only occurs in Android, it works fine in iOS devices.
Please help me solve this issue, thank you!

@kingpeterson , does your pictures are PNG?

I resolved the issue..
Had to add  android:largeHeap="true" to AndroidManifest.xml


Screenshots images missing on TinyBlazorAdmin deployment.md page

There are a few images missing (not displayed) in the manual deployment description:
https://github.com/FBoucher/TinyBlazorAdmin/blob/main/deployment.md
Examples:

![Creating swa][swa_create1]
![Creating swa part 2][swa_create2]
![Creating swa part 3][swa_create3]
![RegisterClientApp][RegisterClientApp]
![swa_URL][swa_URL]
![azFunction_CORS][azFunction_CORS]

FIxed in dev coming up soon

Look like the only one missing now is
![RegisterClientApp][RegisterClientApp]

fixed


⚠ Jerry Savelle Ministries International Australia has degraded performance

In 44dfb95, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 8903 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in 53fd041 after 6 minutes.


Update machine-controller to v1.11.1

What this PR does / why we need it:

Update machine-controller to v1.11.1
Enable NodeCSRApprover controller
Use machine-controller Cluster-API types and drop the Cluster-API dependency
Update machine-controller types
Update Terraform examples

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #805
Does this PR introduce a user-facing change?:
Update `machine-controller` to v1.11.1
Enable NodeCSRApprover controller
Use `machine-controller` Cluster-API types and drop the Cluster-API dependency
Update `machine-controller` types
Update Terraform examples

/assign @kron4eg

/hold

/retest

/hold

/hold cancel

/hold
we need to figure out something about those E2E

/override pull-kubeone-e2e-openstack-conformance-1.16
/override pull-kubeone-e2e-openstack-conformance-1.17
/override pull-kubeone-e2e-openstack-upgrade-1.15-1.16
/override pull-kubeone-e2e-openstack-upgrade-1.16-1.17
/override pull-kubeone-e2e-gce-upgrade-1.15-1.16
/override pull-kubeone-e2e-gce-conformance-1.16
/override pull-kubeone-e2e-gce-conformance-1.15
/override pull-kubeone-e2e-hetzner-conformance-1.17
/override pull-kubeone-e2e-gce-upgrade-1.16-1.17
/override pull-kubeone-e2e-gce-conformance-1.17
/override pull-kubeone-e2e-packet-conformance-1.16
/override pull-kubeone-e2e-packet-conformance-1.17
/override pull-kubeone-e2e-packet-upgrade-1.15-1.16
/override pull-kubeone-e2e-packet-conformance-1.15
/override pull-kubeone-e2e-packet-upgrade-1.16-1.17

/hold cancel

/cherrypick release/v0.11


Make it possible to build "standard" dialogs

By "standard", I mean something akin to Gdk.MessageDialog or Gtk.Dialog.
Currently, the two options I see are:

WindowLevel::AppWindow, but then the window isn't properly transient for its parent, the parent is not disabled, and _NET_WM_STATE_SKIP_TASKBAR is not available.
WindowLevel::Modal, where override redirect is set, fixing most of the points above, but also removing titlebars in the process (and on most window managers the ability to move the window).

Given how common dialogs are, it might be suitable to create a WindowLevel::Dialog(parent) that sets things up akin to Gtk.Dialog.
But ideally, WindowDesc would be given more customizability instead. Especially because you can write something like this right now and wonder why there is no titlebar:
WindowDesc::new(widget)
  // I demand a titlebar
  .set_titlebar(true)
  // But the modal will silently ignore it
  .window_level(WindowLevel::Modal(parent))

So my wishlist to extend a WindowLevel::Modal window description would be:

WindowDesc::set_titlebar works
titlebar buttons can be toggled (e.g. All/Close/None)
WindowDesc::resizable works
_NET_WM_STATE_SKIP_TASKBAR/GtkWindow:skip-taskbar-hint can be set
GTK_DIALOG_DESTROY_WITH_PARENT can be set
override redirect should either not be set or customizable
incompatible options (e.g. set_redirect_override(true) + set_titlebar(true)) produce some kind of notice

Generally I think this should indeed be possible and a lot of what you described seems reasonable.
There is the meta issue of Druid being discontinued, so depending on how large the code changes are it might be a very slow review process. One thing I've been thinking about is doing a final push to switch Druid to use Glazier. No promises or ETAs, but in theory this would allow for at least part of the work to be done in the context of Glazier, which would have a lot faster review times.


[AutoRelease] t2-network-2023-06-26-52251(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/2985
Live test fail, detailed info is in pipeline log(search keyword FAILED)!!!
https://dev.azure.com/azure-sdk/internal/_build?definitionId=6235
BuildTargetingString
azure-mgmt-network
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/2985


Add 'h1_client_rustls' feature using 'async-tls'

Following discussions in http-rs/surf#40 and http-rs/surf#43, here my proposal to add a "h1_client_rustls" feature.
It makes http-client to depend on async-tls instead of async-native-tls. It seems to work fine according to the https_functionality() test I added in h1.rs.
The only inconvenient I see now is that the default feature ("h1_client") must be explicitly deactivated to avoid dependency to async-native-tls. I don't know if it's possible to make Cargo automatically deactivate "h1_client" if "h1_client_rustls" is active.

The only inconvenient I see now is that the default feature ("h1_client") must be explicitly deactivated to avoid dependency to async-native-tls. I don't know if it's possible to make Cargo automatically deactivate "h1_client" if "h1_client_rustls" is active.

We should do that in the next major, although due to Surf re-exporting http-client we'll have to wait for that. I will create a follow-up issue.

Thanks for the merge @Fishrock123 !

Looks good, we'll have to follow-up with a PR to Surf with full docs.

I can do this PR tomorrow, just exposing a h1_client_rustls feature, if it's fine for you.
What do you mean with "full docs" ? Anything more than adding the feature description here ?


build the OHIFViewer floder error

when i try to build the OHIFViewer,some strange problem happend
this is the error
=> Errors while initializing project:
While selecting package versions:
error: unknown package in top-level dependencies: ohif:polyfill
unknown package in top-level dependencies: ohif:core
unknown package in top-level dependencies: ohif:commands
unknown package in top-level dependencies: ohif:hotkeys
unknown package in top-level dependencies: ohif:header
unknown package in top-level dependencies: ohif:cornerstone
unknown package in top-level dependencies: ohif:viewerbase
unknown package in top-level dependencies: ohif:study-list
unknown package in top-level dependencies: ohif:dicom-services
unknown package in top-level dependencies: ohif:hanging-protocols
unknown package in top-level dependencies: ohif:metadata
my nodejs version is 8.8.1 and meteor version is <IP_ADDRESS> ,how can this happen,and i have tried add the package of ohif by code meteor add twbs:ohif.   but new error happened ,error: no such package
if someone tell me how to solve this problem ,i would appreciate it if

the same error with you,did you solved it?

you should use meteor build a packages like this meteor create --package test (run this command under OHIF)，and then you will find a floder name packages under OHIF ,open this packages you will find a test floder . then you can copy all the (ohif:core,ohid:commands,...) to this  packages.  then run metero build .


Do better check in OmemoStore.isFreshInstallation()

Currently we only check, whether or not we have an IdentityKeyPair or not.
What happens if other keys are missing?

Made this method abstract, so the client can decide.


fix: revereted github key

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Mask X-Api-Key Prefix On Debug Printout

Is your feature request related to a problem? Please describe.
prevent API keys from being logged
Describe the solution you'd like
When running in debug the X-Api-Key should print with all but the last N characters *-masked.
Describe alternatives you've considered
Redirecting log output (if made configurable) helps but does not solve the problem when debug mode might need to be used in a sensitive pre-production environment.
Additional context
Quick and dirty solution:
// CallAPI do the Request.
func (c *Client) CallAPI(request *http.Request) (*http.Response, error) {
    originalKey := request.Header.Get("X-Api-Key")
	if c.Cfg.Debug {
        if len(request.Header.Get("X-Api-Key")) > 10 {
            cutPoint := len(request.Header.Get("X-Api-Key")) - 10
            maskedKey := strings.Repeat("*", cutPoint) + request.Header.Get("X-Api-Key")[cutPoint:]
            request.Header.Set("X-Api-Key", maskedKey)
        }
		dump, err := httputil.DumpRequestOut(request, true)
		if err != nil {
			return nil, err
		}
		log.Printf("\n%s\n", string(dump))
	}
    request.Header.Set("X-Api-Key", originalKey)
.
.
.
}
	```

Hello @wonderstim, thanks for raising this issue. It looks like a good improvement that can be incorporated soon.


Responses per survey on this page says 50,000 which doesn't match elsewhere

The 50,000 responses per survey on this page is contradicted by the 500,000 responses per page which is listed on.
https://docs.microsoft.com/en-us/dynamics365/customer-voice/plan-survey#survey-question-response-and-character-limits

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6e270f9b-420e-4638-2f97-2d89d119d3fa
Version Independent ID: 57f68427-8967-1489-543a-fd39e77018ca
Content: Plan a survey
Content Source: cv-docs/plan-survey.md
Service: dynamics-365-customervoice
GitHub Login: @sbmjais
Microsoft Alias: shjais

@sjackson-ag - Thanks for contacting us. I have forwarded your feedback to the technical team. The 50,000 limit is a restriction on the UI, hence the same is captured in the document. The limit will be fixed in the future releases. We'll update the document accordingly. The current response limit is 500,000, that's mentioned at: https://docs.microsoft.com/en-us/dynamics365/customer-voice/plan-survey#survey-question-response-and-character-limits
Closing this task.


Upgrade Django to v3.1.1

Upgraded Django to 3.1.1
Fixed models.FieldDoesNotExist, compatibility import of django.core.exceptions.FieldDoesNotExist in django.db.models.fields is removed.

Thanks!


[Bug]: In a git connected app after deleting the page the same page is still shown in role config tab

Is there an existing issue for this?

[X] I have searched the existing issues

Steps To Reproduce

Connect an app to git
Create a branch
Add custom role
Now delete a page in master branch and do not commit
Go to to admin setting role config tab
Observe that the deleted page is still shown in the roles tab

Public Sample App
release
Version
release

This is expected behaviour. The role configuration screen today shows a union of edit and deployed resources for the application. The page would stop getting listed once the app is deployed and the page is deleted from both edit and view modes.


Small changes to make ArgBind play well with other config frameworks.

This makes a change so that ArgBind can work alongside OmegaConf.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (f3fe70c) to head (fde609a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          313       315    +2
=========================================
+ Hits           313       315    +2

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


Fixing support for KiSAO

Fixing support for KiSAO:

Applying new KiSAO term KISAO_0000559 (initial step size); closes #484
Applying new KISAO term KISAO_0000569 (NLEQ2); closes #486
Adding support for correct KiSAO ids (with pattern KISAO_\d{7}); closes #488

These changes maintain backward support:

Old semantically different step size term KISAO:0000332
Old non-specific newton-type terms
Old incorrect KiSAO id pattern KISAO:\d{7}

This is a fine change, but we also need something to maintain backwards compatibility:  we should continue to read files with 0000332 as meaning 'initial time step'.

I think continuing to recognize 0000332 is fine. tellurium already does something similar for algorithms -- it recognizes several terms that are distant synonyms for the particular algorithms that it supports. (I understand why you're doing this. It makes sense given that tellurium is one of the very few tools that supports KiSAO. I think a better way to approach this is to use the KiSAO hierarchy to recommend alternative terms rather than trying to embed this ad hoc into each simulation tool.)
Are there files that use this term? From my vantage support, usage of KiSAO is pretty minimal. At this point, it seems that there's little need to provide backwards compatibility for files that don't exist.

I agree that something that actually understands the KiSAO hierarchy would be great, if we get the time to do it.
As far as existing files, I really have no idea--tellurium has a wide user base, but I personally don't know what features they tend to use.  In general, I just don't want to break someone's pipeline they might have set up for themselves or their lab (especially if it doesn't take that much to continue to be backwards compatible).

I added a line to maintain backwards compatibility with the semantically different term KISAO_0000332.
I changed tellurium to recognize the correct KiSAO ids (with pattern KISAO_\d{7}), as well as maintain backward support for the incorrect id pattern KISAO:\d{7}.
These changes will be necessary for inclusion in BioSimulators.

I also added a TODO to correct the generation of SED-ML.
In tesedml.py, the following
algorithm.setKisaoID("KISAO:0000019")

should be replaced with this
algorithm.setKisaoID("KISAO_0000019")

In the end, I took this PR as a template and implemented support for the new KiSAO terms in a slightly different way.  But the support is now in there, and thank you again for the code!


React - there are cases where Viewmodels are mutating their inputs

IMPORTANT

[X] My question is related to the samples and content within this repository. For all other issues, open a ticket with Esri Technical Support or post your question in the community forum.
[X] I have checked for existing issues to avoid duplicates. If someone has already opened an issue for what you are experiencing, please add a 👍 reaction and comment as necessary to the existing issue instead of creating a new one. You can also refer to this repo's troubleshooting guide for hints and suggestions.

Actual behavior
I am using the ArcGIS JS API (v.4.28) with React and have created a custom React hook so that I can utilise the Basemap toggle view model logic in another section of my application. The issue I am seeing is that the hook I create infinitely re-renders because calling the new BasemapToggleVM() function mutates the properties it was supplied with and is therefore changing the input for my hook. For example, in my case I specifically see that the nextBasemap input property is being altered whenever I call new BaseMapToggleVM().
I am following a pattern similar to that which is described in this repo: https://github.com/rslibed/2023DS-build-a-custom-ui-for-api-widgets-bookmarks/tree/master/src/Components/Bookmarks
Reproduction:
Link to codesandbox: https://codesandbox.io/p/sandbox/esri-infinite-hook-forked-nrkp39?file=%2Fsrc%2FBasemapToggleButton.tsx%3A10%2C6
The only fix I can see at the moment is that I clone some of my input properties within the custom hook, so that I don't directly pass them into the viewmodel constructor.
I have previously raised a ticket with Esri inc technical support who passed me across to this repo to raise and issue.
Expected behavior
I would expect functions handling view logic to create an internal clone, and not to mutate my input variables. The current behaviour makes it really hard to work in a framework that uses unidirectional data flow.
Reproduction sample
https://codesandbox.io/p/sandbox/esri-infinite-hook-forked-nrkp39?file=%2Fsrc%2FBasemapToggleButton.tsx%3A10%2C6
Reproduction steps

open sandbox
check dev tools for infinite re-render.

Reproduction browser
chrome
Operating System (check https://whatsmyos.com)
Your OS is Windows 10* 64-bit

I resolved the issue by passing in a new object instead of the props object directly. See the working code below:
import React from "react";
import Handles from "@arcgis/core/core/Handles";
import { watch } from "@arcgis/core/core/reactiveUtils";

interface HandlerSetup {
  basemapToggleVM: __esri.BasemapToggleViewModel;
  handles: Handles;
  onStateChange: (state: BasemapToggleVM["state"]) => void;
}
function addHandlers({
  basemapToggleVM,
  handles,
  onStateChange,
}: HandlerSetup) {
  handles.removeAll();

  handles.add([
    watch(
      () => basemapToggleVM.state,
      (state: BasemapToggleVM["state"]) => onStateChange?.call(null, state),
      { initial: true },
    ),
  ]);
}

export function useBaseMapToggleModel({
  nextBasemap,
  view,
}: __esri.BasemapToggleViewModelProperties) {
  const [basemapToggleVM, setBasemapToggleVm] =
    React.useState<__esri.BasemapToggleViewModel | null>(null);

  const [state, setState] =
    React.useState<BasemapToggleVM["state"]>("disabled");

  React.useEffect(() => {
    console.warn("re-rendered due to props input change");

    const basemapToggleModel = new BasemapToggleVM({ view, nextBasemap });
    setBasemapToggleVm(basemapToggleModel);

    return () => {
      basemapToggleModel.destroy();
    };
  }, [view, nextBasemap]);

  React.useEffect(() => {
    if (!basemapToggleVM) return () => {};

    const handles = new Handles();

    addHandlers({ basemapToggleVM, handles, onStateChange: setState });

    return () => {
      handles.removeAll();
      handles.destroy();
    };
  }, [basemapToggleVM]);

  return {
    state,
    toggle: () => {
      basemapToggleVM?.toggle();
    },
  };
}
`


M13 checkbox errors

After installing IGColorPicker and opening MyApp.xcworkspace, I get many build errors all related to M13 checkbox. on import M13Checkbox the error is "Could not build Objective-C module M13Checkbox.

Has there been any movement on this ticket?

Just ran into this today... any news?

Just realized there's an open PR that upgrades the M13Checkbox dependency #20


Make sure images are responsive

Prevent stretch images with defined sizes in smaller breakpoints.
Before

After

Ah @pierreneter we both missed something here. That height: auto caused the supporter images to be enlarged. Just pushed a fix, should be deployed shortly.

@skipjack hey, I don't see any problem with the splash page. Can you explain it to me? I think the height fixed on the home page is entirely reasonable and it does not cause any problems with responsive.

Yeah by the time you saw it the fix was probably deployed (unless you tested locally and checked out to before my fix). The problem was that height: auto had a higher specificity than the support image height declarations. Most of the support images (particularly the sponsors I think) we're rendering to the actual height of the image. Give me a sec, I can check out and share a screenshot.

The images:

The issue:

ha! Sorry guys :|

@mitogh no worries we should've caught this. As soon as I saw it, I was like "Woah! Those are some big sponsors!"


fix(umd): add json plugin

What: This adds rollup-plugin-json

Why: Because we broke the rollup build when we started requiring packages that use main as a json file 😄

How: add the plugin, also refactor things a little bit to be cleaner.
cc: @tsriram

Codecov Report

Merging #31 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #31   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      3    +1
  Lines          64     62    -2
  Branches        9      9
=====================================
- Hits           64     62    -2

Impacted Files
Coverage Δ

src/index.js
100% <ø> (ø)
:arrow_up:

src/dom-elements.js
100% <100%> (ø)

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 1293859...68dd350. Read the comment docs.

I added a PR to fix the dependency ci issue: https://github.com/rollup/rollup-plugin-json/pull/25

Merging this as-is considering it's breaking anyone using the UMD build via unpkg.com (like my intro blogpost :wink:)
Feel free to still review and we can address any needed changes.

I'll review tonight.

Merging this as-is considering it's breaking anyone using the UMD build via unpkg.com (like my intro blogpost 😉)

🙈

So npm start validate is supposed to fail without this change?

No, npm start validate wont fail based on the UMD build. Though we could make it do that like I do in match-sorter with the dist-test. Not a bad idea actually...


Fixed linting against ansible-core version 2.14

This PR fixes some linting errors for the ansible-consul role, applied on Ansible version 2.14.
I've used this version since ansible-core 2.14 is still supported (https://endoflife.date/ansible-core) and ansible-core 2.8 is unsupported.
Most notable changes:

switched systemd to ansible.builtin.systemd_service module (see: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/systemd_module.html and https://docs.ansible.com/ansible/latest/collections/ansible/builtin/systemd_service_module.html#ansible-collections-ansible-builtin-systemd-service-module)
added file parameter for ansible.builtin.import_tasks (see: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/import_tasks_module.html#parameter-file)

I was not sure if ansible.windows can be removed as a requirement now, as it is replaced by community.windows in newer Ansible versions.
While testing locally with Molecule, I've encountered some errors like:
Command: molecule --base-config molecule/_shared/base.yml converge --scenario-name debian-11
Error:
Prepare stage:

TASK [Install OS packages] *****************************************************
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

So maybe someone can give me a little hint here.
Otherwise, I still hope that this PR will be reviewed and possibly successfully merged. Please write to me if there is anything missing in this PR!

Closed, because most of these changes is now covered in this PR: https://github.com/ansible-community/ansible-consul/pull/574


customizable keyboard

open number keyboard on mobile devices
customizable keyboard on phone number and otp code for mobile device

its already implemented please set 'inputmode' attribute like the standard HTML input element