Can WAL-E send WAL and basebackups to two independent places?

The title says it all.  I would like to backup to my cloud provider and also to a site across the Internet.  The thinking is that the cloud provider would be for "normal" backup protection, and the site across the Internet would provide protection against a catastrophic security breach at the cloud provider.  Can WAL-E handle this?
One issue I encountered when thinking about how to do this manually is what exit status to use if one backup succeeds and the other fails.  The best option would be to report failure, but then it would be necessary to keep track of the fact that one backup succeeded and not keep trying to redo that one.

Not right now, I'm afraid. It's be a pretty substantial feature. Double-archiving does have some appeal, though.


OCP cluster as configured by dev-scripts uses volumes

We cannot just replace the "source" like it was done: libvirt is strict,
but also "dumb" in the way it handles a source with multiple conflicting
attributes.
This patch changes how OCP overlays are created - more precisely, the
location to be seen in the oooq_pool.
It also extracts the OCP XML manipulations in a way to make it easier to
loop.
We also ensure we clean the volumes on due time.
As a pull request owner and reviewers, I checked that:

[X] Appropriate testing is done and actually running

Testing results after cherry-pick
    <disk type="volume" device="disk">
      <driver name="qemu" type="qcow2" cache="unsafe"/>
      <source pool="oooq_pool" volume="ocp_master_0.qcow2"/>
      <target dev="sda" bus="scsi"/>
      <boot order="1"/>
      <address type="drive" controller="0" bus="0" target="0" unit="0"/>
    </disk>

[root@titanamd126 pool]# virsh vol-list --pool oooq_pool
 Name                 Path
-----------------------------------------------------------------
 ocp-0.qcow2          /home/dev-scripts/pool/ocp-0.qcow2
 ocp-1.qcow2          /home/dev-scripts/pool/ocp-1.qcow2
 ocp-2.qcow2          /home/dev-scripts/pool/ocp-2.qcow2
 ocp_master_0.qcow2   /home/dev-scripts/pool/ocp_master_0.qcow2
 ocp_master_1.qcow2   /home/dev-scripts/pool/ocp_master_1.qcow2
 ocp_master_2.qcow2   /home/dev-scripts/pool/ocp_master_2.qcow2

/approve

/approve


cannot continue past clearfog first time setup menu

when attempting to hit save at first time setup screen on the clearfog device, nothing happens and this error is thrown inside the web console
Wifi.js:429 Uncaught TypeError: Cannot set properties of undefined (setting 'he_mu_beamformer')
    at eh (Wifi.js:429:19)
    at d (Setup.js:276:27)
    at ie (Setup.js:275:5)
    at onClick (PressResponder.js:310:13)
    at Object.De (react-dom.production.min.js:54:317)
    at Be (react-dom.production.min.js:54:471)
    at react-dom.production.min.js:55:35
    at Nr (react-dom.production.min.js:105:68)
    at $r (react-dom.production.min.js:106:380)
    at react-dom.production.min.js:117:104```

https://github.com/spr-networks/super/commit/12283a963b1546fd9853da0420f1d142d59c0b48

Thank you! dev branch worked.


Please create tag or release for package in distribution

@pierotofy I have created an archlinux package as archlinux' based distribution doesn't allow pip anymore.
Package from AUR (Arch user repository) is visible here : https://aur.archlinux.org/packages/python-pyodm
Btw I found that this repository doesn't have tag or release, on your next release to pypi, could please make a tag or release, it will then be easier to update package in linux distribution for example

Thanks ! ;-)


Error handling

On Logic classes, an error function can be called like the go and do functions, when an error occurs. This can allow the developer to decide how to display the error to the user, rather than a PHP error being shown.
Error functions can be optional in the Logic class, as if none is defined, WebEngine will look at other Logic classes, such as Dynamic pages, and throw them in there instead, finally by simply returning the white screen of death.
The order of error functions:

The current Logic object
The dynamic Logic object that's currently executing
_common.php Logic objects, from most-nested to least-nested
_error.php special logic object.

In _error.php, the go function can do any logging that is required, and the error function can be called as usual, but the setView() function can be used to hook up different error HTML views for different types of error (403, 404, 500, etc).

Example of why this is necessary is for if any WebEngine code throws an exception (for example, if the supplied CSRF token is invalid). It would still be useful to have a function executed on the current page, so the user's old input can be put back into the form.


Update wiki to reflect new story lifecycle process

As a cloud.gov product manager, I would like to update the story lifecycle process page so that it reflects the new process.
AC
Update the page with the information captured in this Mural

Draft https://docs.google.com/document/d/11CgoiK5m8R2bMX7Y8DaC49ZSeJ7ujVHV41hoyAU1PRA/edit#


Restructure the prover code a bit

Commit to traces for all chips together, using commit_batches, so that it can use the more powerful batching Plonky3 supports.
Change check_constraints to read committed data vs the original trace, to avoid cloning (still need to update check_constraints also)
Imports to clean up derive code.

It looks like the ProverData associated type in the PCS doesn't implement the Matrix or Sync traits, so tests aren't currently passing?


Signed on credentials only

The table comparing different Remote Desktop connection security options states that Remote Credential Guard supports "Signed on credentials only". How does it correlate with the Remote Credential Guard requirements section saying "Must be running at least Windows 10, version 1703 to be able to supply credentials"? What's the purpose of suppling credentials on Windows 10,  version 1703 if the Remote Credential Guard should not allow them by design?

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

ID: c826587d-2e65-083f-254d-75f188158f08
Version Independent ID: 746596b5-c1df-9ea0-abcc-f6ff97874e40
Content: Protect Remote Desktop credentials with Windows Defender Remote Credential Guard (Windows 10)
Content Source: windows/security/identity-protection/remote-credential-guard.md
Product: w10
GitHub Login: @brianlic-msft
Microsoft Alias: justinha

@shortpatti @lizap @andreabichsel please re-assign to me. Thanks!
@MichaelFirsov - Thanks for reaching out. I'll address your questions as soon as possible.

"Thanks for reaching out. I'll address your questions as soon as possible" - thank you!

This article has two critical issues.  I would like to, at your pleasure, address these issues in hopes to see the document amended.
Issue 1
"Enabling Remote Credential Guard [sic] on the host" While the article provides that critical information, it never explains 'WHY' it would be done this way.  A scenario of an IT organization implementing RCG having to manually, on its self, makes me uncomfortable.  There are many ways to automate the distribution of REGKEY.  Group Policy pretty -- nails this.  But unlike ADMX templates, create a GP to write a REGKEY is more of a slippery slope.  If it could simply be explained 'why does this REGKEY have to manually be set?"  ... and why is not distributed is credssp current WIndows distros.

This article has a glaring omission.  In the 'considerations' portion of this document, there is no mention of the fact that: Windows Defender Remote Credential Gaurd and RD Gateway Services.

::::::: More plainly, RD GATEWAY SERVICES is not supported 'currently' by remote credential guard ::::::::
Considering that most attacks originate from the Internet, this information should be in this document.
I am, BTW a huge fan of everything that ecompasses Windows Defender.  I would like to see these engineering documents be as thorough as possible so that people like me can be effective with these awesome tools

"Remote Credential Guard supports "Signed on credentials only""
is this true or not?  Windows 10 1803 does not seem to allow credentials other than signed on user.  I don't want to sign on to my Tier 2 laptop with my Tier 1 credentials just to use RCG.  If I use a smart card to provide alternate credentials to laptop, would this still be a circle of trust violation?

@officedocsbot assign @mypil

@MichaelFirsov - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@MichaelFirsov i think the confusion comes from the fact that the word "credentials" is used for more than one thing in the article.
"Must be running at least Windows 10, version 1703 to be able to supply credentials" -> in this case, the credentials are the hash and TGT, that are supplied to the remote host.
When a user logs in via RDP to a machine that has Remote Credential Guard enabled, there is no credential prompt, there are no credentials sent over, so there is no hash in memory that can be extracted. The SSO experience is provided by RCG.
If you don't use /remoteguard you will be prompted for credentials.

Does it mean in this case the wording should be "Must be running at least Windows 10, version 1703 to be able to use RCG" ?
Regards,
Michael Firsov

Суббота, 23 марта 2019, 23:47 +03:00 от VLG17<EMAIL_ADDRESS>@MichaelFirsov i think the confusion comes from the fact that the word "credentials" is used for more than one thing in the article.
"Must be running at least Windows 10, version 1703 to be able to supply credentials" -> in this case, the credentials are the hash and TGT, that are supplied to the remote host.
When a user logs in via RDP to a machine that has Remote Credential Guard enabled, there is no credential prompt, there are no credentials sent over, so there is no hash in memory that can be extracted. The SSO experience is provided by RCG.
If you don't use /remoteguard you will be prompted for credentials.
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  mute the thread .

--
Михаил Фирсов

@MichaelFirsov I would say the wording is correct, just that "credentials' does not stand for password in this sentence.

Yes, I understand - thank you veru much for the clarification!
Regards,
Michael Firsov

Воскресенье, 24 марта 2019, 0:51 +03:00 от VLG17<EMAIL_ADDRESS>@MichaelFirsov I would say the wording is correct, just that "credentials' does not stand for password in this sentence.
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  mute the thread .

--
Михаил Фирсов

@MichaelFirsov - From our understanding, the issue has been resolved but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close

is there any way to access to other network resources from RDP with RCG enabled without enter credentials?


Track largest pool allocator block size

The pool allocator now checks the largest free block size instead of the total size of all free blocks when looking for a free block of a given size. This avoids unnecessary traversals of the free block list.

Homebrew updated "brew install llvm" to be LLVM 4.0. There doesn't appear to be a way to install<EMAIL_ADDRESS>at this time


issue

nothing to worry about. fixed.

Thanks for reporting your issue! This is one of my 22 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 11:39:29 on 2023.04.12
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 0, errors out: 0
Original problem ID: 16120
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=16120

Problem has been resolved in 3m 0s at 11:42:29 on 2023.04.12
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 16120


support Unity little version update, hot update libmain.so

auto loaded  libmain.so  when  new UnityPlayer()，so can't hot update it.
code is：
    static {
        (new m()).a();
        s = false;
        s = loadLibraryStatic("main");
    }

edit  file unity-classes.jar!/com/unity3d/player/UnityPlayer.class ,
change "main" to "null"  , and add libnull.so file in project libs;
( "main" is only used here, so edit is safe; )

test result :
hot update  ok between Unity2018.4.0, 2018.4.6, 2018.4.8;
(jni API can't change)  and not support   between Unity2018.4, 2018.3, 2017.4;


still waiting

still waiting for farming crops timers before i make the switch to runelite

Duplicate of #511

It will be in this thursdays update


[CI] fix slow tests

What does this PR do?
Updates the slow CI tests with respect to the new refactorings

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


deb_bern test is not working

The equivalence check for dep_bern.pgcl and dep_bern_invariant.pgcl yields no equivalence which is wrong. Actually the programs should be equivalent.

Fixed by 919f35b4436b80f8580ea39b198b3e1281ccceef


media-volume-slider value unable to be set programatically

Current Behavior:
When trying to set the slider value programatically, updates are not reflected on the UI or the provider
Expected Behavior:
Setting the slider value with javascript should trigger a change in the UI and adjust the volume of the provider.
This needs to be supported in order to persist a user's slider state between browser refreshes, e.g. using localStorage. The slider API docs suggest that setting value is supported.
Steps To Reproduce:
HTML:
    <media-player>
      <media-outlet style="visibility:hidden">
      </media-outlet>
      <div>
        <media-play-button></media-play-button>
        <media-mute-button></media-mute-button>
        <media-volume-slider></media-volume-slider>
      </div>
    </media-player>

Javascript:
const volumeSlider = document.querySelector('media-volume-slider');
volumeSlider.onAttach(() => {
  volumeSlider.value = 50;
})

Environment:

Framework: Angular 16 with vidstack web components
Meta Framework: n/a
Node: 18
Browser: Chrome

This issue is outdated now and should be resolved since our new 1.0@next release. If the issue persits after upgrading, feel free to let me know here and we can reopen. If the issue has changed then please open a new one.


Add optional timestamp to saved file names

Motivation
I was using Carbon this week (great tool btw), and thought to myself that the user experience might be a bit better if the file names were timestamped, like how the native screen capture tool on macOS saves files as Screen Shot 2018-07-13 at 1.47.37 AM or how MonoSnap saves files as screencast 2018-07-12 14-24-21.mp4
It's a minor improvement, but I personally find it easier to sort through multiple Carbon-generated files if they all have unique file names like this, since:

Date/time is a lot easier to read through and gives more information than carbon, carbon(1), carbon(2), etc..
The order in which your files are displayed is consistent with time. If you instead save all files with the same name, you can get mixed up while deleting (e.g. if you have up to carbon(7), but you delete carbon(3), your next file will be saved as carbon(3), which is mildly confusing).

My changes
I added a few lines of code in the save() function within Editor.js that parse a timezone-adjusted ISO8601 time stamp (slightly formatted for readability). Of course, I also made it a toggle in the Settings so that it wasn't forced upon everyone.
Result
Files are now saved in this format: carbon yyyy-MM-dd hh-mm-ss.ext (e.g. carbon 2018-07-13 01-31-11.png).
P.S. I also added .DS_Store to the .gitignore since it was bugging me, but it's totally unrelated to the rest of this PR.

@erickzhao looks great! Can you actually do carbon_yyyy-MM-dd_hh-mm-ss.ext instead? (:

@mfix22 Done! 🚀


az aks install-cli is failing

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks install-cli
Errors:
$ az aks install-cli
←[93mThe detected architecture is 'amd64', which will be regarded as 'amd64' and the corresponding binary will be downloaded. If there is any problem, please download the appropriate binary by yourself.←[0m
←[93mDownloading client to "C:\Users\c-pjillell\.azure-kubectl\kubectl.exe" from "https://storage.googleapis.com/kubernetes-release/release/v1.26.2/bin/windows/amd64/kubectl.exe"←[0m
←[91mThe command failed with an unexpected error. Here is the traceback:←[0m
←[91mHTTP Error 403: Forbidden
Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1441, in k8s_install_cli
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1616, in k8s_install_kubelogin
  File "urllib\request.py", line 216, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 634, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 496, in _call_chain
  File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden←[0m

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks install-cli

Expected Behavior
Environment Summary
Windows-10-10.0.19042-SP0
Python 3.10.10
Installer: MSI

azure-cli 2.46.0

Extensions:
aks-preview 0.5.38
interactive 0.4.5

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

@pjillella We are looking into it and get back to you for any additional information.

route to CXP team

@pjillella Can you please try to open PowerShell as an Administrator.  I was able to reproduce this issue and able to run the command once open PowerShell with Administrator permissions.


Use new bootstrap role variables

https://review.openstack.org/#/c/424810/1 introduced the
bootstrap_host_user_variables_filename and
bootstrap_host_user_secrets_filename variable that allow us
to specificy any naming convention for these variable files.
This commit utilizes these variables by setting them to the
naming convention used in RPCO
Connects https://github.com/rcbops/u-suk-dev/issues/1076
Connects https://github.com/rcbops/u-suk-dev/issues/834

@odyssey4me I believe this is all you had in mind when writing: https://github.com/rcbops/u-suk-dev/issues/1076, but please correct me if I'm wrong.

@alextricity25 That's one part of it. The other part is that we should be able to override the confid_overrides var https://github.com/openstack/openstack-ansible/blob/master/tests/bootstrap-aio.yml#L26-L48
That should allow us to set the confd files we want to deploy during the bootstrap phase, instead of removing/adding them afterwards.
Using this we can also introduce the use of the 'scenario' mechanism to implement different files for different scenario's. For example the Swift vs Ceph scenario.
Note that the conf file can have an extra attribute called 'path' to allow a completely different source path (for example a conf.d file from rpcd) to be used as a source template.


Enforce serialization order for JSON results (match C#)

After removing the create/update/delete functionality, the actor and movie models are not actually being used anymore as implemented today. We need to decide what to do, if there's a way to use them in the results to specify the order that fields get serialized to make the JSON more readable and match C#'s ordering.

As long as the json parses via the shared integration test, we've met the goal we agreed on.
We don't need to match the C# ordering exactly, but I think having the json be "more human readable" is a goal that fits with "developer experience".
We also have the goal of "idiomatic" to the language. If we can remain idiomatic and make it more human readable, I think it's worth doing.

Got it - I am good with not requiring to match the ordering exactly as the integration test passes and the json is just as readable (in my opinion).
On this same topic however, I noticed an inconsistency with what fields are returned for node vs. C# -- deathYear is only returned if it has a value in the document, where as in C# it defaults to 0.  I'd have to do some research into how to implement this in node if we want them to have the same behavior there.

Resolved in Design Review Meeting:

Not requiring to match the order
deathYear should not be returned if it does not exist, this was a bug on C# : https://github.com/retaildevcrews/helium-csharp/issues/25


Vthanh channels are currently down

Current issues on Tokyo channels, BS channels and CS channels.
Please, have a look into it whenever you can, thanks.

Fixed

Tokyo, BS and CS are down again.

tvs ux tvk BS11が映りません。もしお時間が有れば直してください


[FLINK-35309][cdc] Fix license and NOTICE files in Flink CDC sources and flink-cdc-dist

This pull request fixes license and NOTICE files in Flink CDC sources and flink-cdc-dist.

please note the rat check failed, @PatrickRen
 Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default) on project flink-cdc-parent: Too many files with unapproved license: 18 See RAT report in: /home/runner/work/flink-cdc/flink-cdc/target/rat.txt -> [Help 1]


Remark attribute in PK column tag is not supported by MariaDB

Environment
Liquibase Version: 3.6.2
Liquibase Integration & Version: springboot 2.0.2, gradle
Liquibase Extension(s) & Version: /
Database Vendor & Version: MariaDB 10.5.9
Operating System Type & Version: Windows 10 Enterprise
Description
I have defined a changeset that creates table and its columns with pk column "id". I added remark for that column as attribute of column tag, like this:
<!-- table definition/changes -->
  <changeSet id="abc_create_table" author="userABC" labels="labelABC">
    ...
    <createTable tableName="abc" remarks="Table ABC Remark">
      <column name="id" autoIncrement="true" type="BIGINT" remarks="Internal identifier of ABC">
        <constraints primaryKey="true" nullable="false" primaryKeyName="abc_pk"/>
      </column>
      ...
  </changeSet>
  ...

The changeset is run against mariadb on springboot application startup, but the id column results without comment in the mariaDB.
When I tried to add a remark for that column specifically by using setColumnRemarks tag I got this error:
1 change have validation failures setColumnRemarks is not supported on mariadb,  0_1_0/abc.xml::abc_pk_id_remarks_mariadb::userABC
I will open a new ticket for supporting setColumnRemarks for mariaDB.
Steps To Reproduce

Create a table with PK column that has a remark:

<changeSet id="abc_create_table" author="userABC" labels="labelABC">
    ...
    <createTable tableName="abc" remarks="Table ABC Remark">
      <column name="id" autoIncrement="true" type="BIGINT" remarks="Internal identifier of ABC">
        <constraints primaryKey="true" nullable="false" primaryKeyName="abc_pk"/>
      </column>
      ...
  </changeSet>

run liquibase update command against MariaDB 10.5.9
observe there is no remarksfor "id" table column

Actual Behavior

No errors in console, id column is created but without remarks/comment.

Expected/Desired Behavior

Id column is created with specified remarks/comment.

Screenshots (if appropriate)

Test Requirements (Liquibase Internal QA)
Manual Tests
One MariaDB instance and one MySQL instance is necessary for these tests. Use the attached changelog for these tests.
Note that all structured changelogs (XML, JSON, YML) go through the same code to generate SQL. These tests are changelog format agnostic.
Verify a update-sql generates SQL for Remark attribute.
liquibase update-sql --changelog-file LB1429-changelog.xml

Generated SQL contains COMMENT attribute for primary key column “pk_column”
Generated SQL contains COMMENT attribute for table “test_table”
Generated SQL contains COMMENT attribute for column “test_column”

Verify update successfully inserts Remark attribute in database.
liquibase update --changelog-file LB1429-changelog.xml

Update command is successful
Table “test_table” is created with 2 columns “pk_column” and “test_column”
COMMENT attribute is successfully created

“test_table” has comment “Table remark”
“pk_column” has comment “Internal identifier of test_table”
“test_column” has comment “Column remark”

Automated Tests

No new functional automated tests required for this ticket.
A new test harness test is required for this ticket.
Add an XML changelog with one changeset:

createTable with primary key column “id” with remarks=”Internal identifier”
liquibase-test-harness/src/main/resources/liquibase/harness/change/changelogs

Add the JSON snapshot for test validation:

src/main/resources/liquibase/harness/change/expectedSnapshot/

Add the generated SQL for test validation:

src/main/resources/liquibase/harness/change/expectedSql/mysql
src/main/resources/liquibase/harness/change/expectedSql/mariadb

┆Issue is synchronized with this Jira Story by Unito

HI @janjicandjelka8 Thanks for reporting this issue.  We won't be doing a fix on 3.6 release but we will look at doing a fix in the 4.x codebase  We will add it to the list of issues that we are processing.

4.6.2 says that this issue is fixed: [PR#1793] [janjicandjelka8] Fixed the handling of the remarks attribute in a primary key column tag for MariaDB

This is a duplicate of #2301 and fixed by #2752. It still seems to be an issue with 4.9.1
I'll close this version to centralize tracking


bump version for prop-types update

updates version for prop-types update to put major change on npm/yarn radar

Please don't bump versions in PR. This will be done when a release is prepared.


RLMSyncSession lasting forever for non Admin users

When I am trying to download for currently outstanding work for a global user realm (in testing I only had 10 objects in there), the completion handler is never called.
Expected Results
If there was some sort of error in the download, I'd expect there to be an error reported explaining what was wrong instead of running forever. In my Admin account I set permissions for all users to have r/w access to the global user realm by doing:
let permission = SyncPermissionValue(                           realmPath: RealmURL.userObjects.absoluteString, userID: "*", accessLevel: .write) //                     may write         SyncUser.current!.applyPermission(permission) { (error) in             if let error = error {                 print(error)             }
so perhaps I'm doing something wrong with setting the permissions?
Actual Results
The line if progress.isTransferComplete isn't even being hit. As mentioned earlier, the function just runs indefinitely. Even if there's only 10 objects in the database.
Steps to Reproduce

Login as an Admin user and create a global Realm
Logout
Login a non admin user and start a download session inside the SyncUser.login completion

Code Sample
https://gist.github.com/michael-mckenna/c164bfb3d316c9cc90ee7b792bce62ce
Version of Realm and Tooling
Realm framework version: 2.8.3
Realm Object Server version: 1.7.6
Xcode version: 8.3.3
iOS/OSX version: 10.3.2
Dependency manager + version: Cocoapods 1.2.1

For the realmPath argument in your permissions code snippet, please don't pass the entire path (e.g "realm://example.org/my/globalRealm"), but only the path component ("/my/globalRealm").

That worked!! Whoop! Thanks. Can the docs be updated to be more explicit? For the realmPath, the docs state "The remote Realm path on which to apply the changes", when instead they should state the "...Realm path component..." or however you want the verbiage to be.


Fatal error on missing required files, even when they're not actually required...

Error: Cannot find module './mongo' from '/MyApp/node_modules/mongoose/node_modules/mquery/lib/collection'

So, resolve is choking on this beaut of a structure from mquery
module.exports =
  env.isNode ? require('./node') :
  env.isMongo ? require('./mongo') :
  require('./browser');

Yes, that is a nested ternary operation...    gak
Anyway, this lib apparently only includes node.js in the npm package.   The others are never called, and thus don't hurt anything by not being there, but resolve finds them and chokes.
This means that nexe can't package any apps using mongoose.   That's a problem.
Can we make some failures not critical, or find some way of passing libs to ignore?
Related: #71

I suppose we could make it so that it throws a warning whenever a required file is not found.

This has been fixed by a soon to be pushed commit. just making sure it builds properly.


Convert dotnetapp sample projects for dockerhub to SDK style

This was resolved with https://github.com/Microsoft/dotnet-framework-docker/pull/126


Fixes #1535: ProgramOfThought parse_code formatting error

This pull request fixes issue #1535 that introduces a code formatting error when parsing generated code.

hey @arthurgreef , does #1550 fix this? Just pushed out a PR to cover this more comprehensively. (Thanks for your help on all these PRs btw - I was working on the changes in the background!)

Thanks a TON @arthurgreef ! We really appreciate your help on this. Please let us know if Arnav's PR didn't address these issues plus a few others. Thanks again :D

PR looks good. I'm not sure if it fixes the parse code formatting error but I'll check it out. The fork has been deleted.


Highlight table object on focus in the designer

Show table sections and  group header, footer sections on the same color.

Very good, thanks.


Integration Test - Release - 2021/12/27 11:11:18

Auto create for integration test. IssueCommandFlow

@PRMerger-test-1 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 6f1f973:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch release-89738f1405ce43d68c090a34c2a530a2 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Uncaught ValueError in ntpath.py line 744

Aider version: 0.54.12
Python version: 3.10.6
Platform: Windows-10-10.0.19045-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 10 (64bit)
Git version: git version 2.41.0.windows.3
An uncaught exception occurred:
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "__main__.py", line 7, in <module>
    sys.exit(main())
  File "main.py", line 682, in main
    coder.run()
  File "base_coder.py", line 729, in run
    user_message = self.get_input()
  File "base_coder.py", line 738, in get_input
    inchat_files = self.get_inchat_relative_files()
  File "base_coder.py", line 1630, in get_inchat_relative_files
    files = [self.get_rel_fname(fname) for fname in self.abs_fnames]
  File "base_coder.py", line 1630, in <listcomp>
    files = [self.get_rel_fname(fname) for fname in self.abs_fnames]
  File "base_coder.py", line 1627, in get_rel_fname
    return os.path.relpath(fname, self.root)
  File "ntpath.py", line 744, in relpath
    raise ValueError("path is on mount %r, start on mount %r" % (
ValueError: path is on mount 'C:', start on mount 'F:'

Thanks for trying aider and filing this issue.
The fix is available in the main branch. You can get it by installing the latest version from github:
aider --install-main-branch

# or...

python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git

If you have a chance to try it, let me know if it works better for you.

Hello Paul, I still get an error when passing an imagine in the clipboard.
This is what I get:
Added clipboard image to the chat:
C:\Users\Alberto\AppData\Local\Temp\tmpzy8v9gn4\clipboard_image.png
Uncaught ValueError in ntpath.py line 744
Aider version: 0.55.1.dev10+g18bf3a9f
Python version: 3.10.6
Platform: Windows-10-10.0.19045-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 10 (64bit)
Git version: git version 2.41.0.windows.3
An uncaught exception occurred:
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "__main__.py", line 7, in <module>
    sys.exit(main())
  File "main.py", line 694, in main
    coder.run()
  File "base_coder.py", line 729, in run
    user_message = self.get_input()
  File "base_coder.py", line 738, in get_input
    inchat_files = self.get_inchat_relative_files()
  File "base_coder.py", line 1630, in get_inchat_relative_files
    files = [self.get_rel_fname(fname) for fname in self.abs_fnames]
  File "base_coder.py", line 1630, in <listcomp>
    files = [self.get_rel_fname(fname) for fname in self.abs_fnames]
  File "base_coder.py", line 1627, in get_rel_fname
    return os.path.relpath(fname, self.root)
  File "ntpath.py", line 744, in relpath
    raise ValueError("path is on mount %r, start on mount %r" % (
ValueError: path is on mount 'C:', start on mount 'F:'

Please consider reporting this bug to help improve aider!
Open a GitHub Issue pre-filled with the above error in your browser? (Y/n)
Thanks for your amazing work !
Alberto
Il giorno mar 3 set 2024 alle ore 17:15 paul-gauthier <
@.***> ha scritto:

Thanks for trying aider and filing this issue.
The fix is available in the main branch. You can get it by installing the
latest version from github:
aider --install-main-branch
or...
python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git
If you have a chance to try it, let me know if it works better for you.
—
Reply to this email directly, view it on GitHub
https://github.com/paul-gauthier/aider/issues/1305#issuecomment-2326787574,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFBQP7M2J4YL52INJQ6TGJLZUXG77AVCNFSM6AAAAABNQ4DRCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWG44DONJXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry! It should really be fixed in the main branch now. Please do let me know if it works for you this time.

Great, works fine !
Thank you Paul.
Alberto
Il giorno mer 4 set 2024 alle ore 23:12 paul-gauthier <
@.***> ha scritto:

Sorry! It should really be fixed in the main branch now. Please do let me
know if it works for you this time.
—
Reply to this email directly, view it on GitHub
https://github.com/paul-gauthier/aider/issues/1305#issuecomment-2330149254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFBQP7PBMLFP5FFO7EA5NFLZU5ZULAVCNFSM6AAAAABNQ4DRCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZQGE2DSMRVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


When using an existing storage account, it must allow access using SAS

With BYO storage account (as demonstrated in the "Access private virtual network" section), the storage account must specify allowSharedKeyAccess: true or ACI will have an obscure error FailedMountAzureFileVolume, and the deployment script will have a resource creation timeout error, DeploymentScriptACIProvisioningTimeout.
Please add a note that indicates allowSharedKeyAccess: true is required (even though access is done using RBAC, which suggests it would not be needed).
Also, this might be an ACI issue and not just a deployment script issue (have not tested it using ACI directly), so please update those docs as well if relevant.

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

ID: b5c4c8c5-7757-a969-5800-17f2f2312649
Version Independent ID: 9ced8dd5-43ca-6d1f-c054-842299db8327
Content: Use deployment scripts in templates - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/deployment-script-template.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@aelij
Thanks for your feedback! We will investigate and update as appropriate.

PR for addressing the content issue - https://github.com/MicrosoftDocs/azure-docs-pr/pull/271672


doesn't work when i send clipper to the background

adb shell am broadcast -a clipper.get
Broadcasting: Intent { act=clipper.get flg=0x400000 }
Broadcast completed: result=0, data=""

this is what I got when I send clipper to the background

Remove any restrictions on Clipper's battery usage in system settings. It works for me.

Android 11 here
Battery optimisation Off dont do the trick
How did you do ? Thanks

Same question and Android 13


Make both the input and output text regions select-all on focus.

Fix the reference to "common.js" so that the input textarea automatically selects all the content when it receives focus, and add JS to do the same with the formatted output area.

Thaks for that, @OwenEdwards - this was something that I had thought of but missed along the way :)


Adjustment for Unlocking Teams

When unlocking Teams, it says to run the script and set $GroupName = ""
This will not remove the group ObjectId from the GroupCreationAllowedGroupID field.  On a GCC High tenant, it caused issues with being not able to create teams after it was unlocked.
To fix, change the "if ($GroupName)..." section to this:
if($GroupName)
{
$settingsCopy["GroupCreationAllowedGroupId"] = (Get-AzureADGroup -SearchString $GroupName).objectid
} else {
$settingsCopy["GroupCreationAllowedGroupId"] = $GroupName
}
That will clear the field.

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

ID: fb2953d4-8abc-5e9c-e30d-43b059b57b9a
Version Independent ID: 467981d4-20b5-8b70-2d42-d3e38b918281
Content: Manage who can create Office 365 Groups
Content Source: Office365-Admin/create-groups/manage-creation-of-groups.md
Service: o365-administration
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@bmcdade00  - Thank you for submitting feedback.
I will get this issue over to the O365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

Thank you.  I appreciate it.
Thank you,
Brian McDade
Sr. Cloud Engineer
855-21-CLOUD ext. 719tel:8552125683,719 (O) |<PHONE_NUMBER>tel:7245616531 (M)
BMcDade<EMAIL_ADDRESS>| LinkedInhttps://www.linkedin.com/in/bmcdade318
[Horizontal 150x40]https://www.appliedcloud.io/  [LinkedIn-Email Signature] https://www.linkedin.com/company/applied-cloud-systems   [Twitter - Email Signature] https://twitter.com/AppliedCloudSys   [Facebook] https://www.facebook.com/appliedcloudsystems/
Your Trusted Advisor for the Microsoft Cloud.   Azure  |  Office365  |  Dynamics365  |  PowerBI
From: Joyce Y<EMAIL_ADDRESS>Sent: Thursday, November 7, 2019 9:30 PM
To: MicrosoftDocs/OfficeDocs-O365ITPro<EMAIL_ADDRESS>Cc: Brian McDade<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-O365ITPro] Adjustment for Unlocking Teams (#818)
@bmcdade00https://github.com/bmcdade00 - Thank you for submitting feedback.
I will get this issue over to the O365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/818?email_source=notifications&email_token=AKNJT2FENSWROI4WISI7DJTQSTFMFA5CNFSM4JKRLRNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDOQVLA#issuecomment-551357100, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKNJT2C2YG62DMTUCTG7OFTQSTFMFANCNFSM4JKRLRNA.

@bmcdade00 Thank you for your feedback. We have made few changes to the doc reflecting your suggestion. This can be tracked via PR https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/pull/831
Thanks
Sri

@bmcdade00 - From our understanding, the issue has been resolved based on this merged commit https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/commit/f6ae52fcaf66097a87818c59302f02c96c5a4fdf. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!


Laravel 5.6

Hello,
How can this be used in laravel 5.6 ?

Simply install as requirement. I don't know if the dependencies will be resolved correct. But try and make a pull request, when something has to be changed.


Lost from ToC

This PowerShell page isn't showing in the ToC.
The CLI version does show in its ToC, but the structure is slightly different.
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/share-images-across-tenants

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

ID: b4c09d03-24b1-f376-34fd-cbfd8d29d3d7
Version Independent ID: 763073bf-734e-e079-2d4c-97c097eb7c88
Content: Share gallery images across tenants in Azure - Azure Windows Virtual Machines
Content Source: articles/virtual-machines/windows/share-images-across-tenants.md
Service: virtual-machines-windows
Sub-service: imaging
GitHub Login: @cynthn
Microsoft Alias: cynthn

@dcbrown16
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@cynthn
Can you please check and add your comments on this doc update request as applicable.

@dcbrown16 Thanks for the feedback! Yep, it got lost somehow. I've added it back :)
#please-close


Data services Jumpstart (Postgres) fails for microk8s

Jumpstart scenario or ArcBox flavor which you are working on.
(https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_data/microk8s/azure/arm_template/postgresql/)
Describe the bug.
Installation does not complete - with the Windows client unable to connect to the cluster
To Reproduce.
Steps to reproduce the behavior:

follow the jump start instructions. the first part works fine and then I log into the client window machine
when logging into the windows client machine the following error is encountered after some time:

with a loop on the powershell terminal stating: No resources found in arc namespace. Waiting for bootstrapper pod.
Expected behavior.
Installation on microk8s should work (other scenarios complete successfully e.g. kubeadm)
Environment summary.
All according to jumpstart guidance
Screenshots.

Additional context.

Hi @bamajeed, today all is working:

Yesterday's error was related to this KV issue:

This KV issue is now solved.

@bamajeed we are working on doing some refactoring and code optimizations for this scenario. Stay tuned...

I have tried the deployment of data services with microk8s but still getting errors.

When I deploy other data controller with Postgresql scenarios (e.g. kubeadm) then it works fine

Hi @basimolimajeed
I had set Microk8s version as 1.2.4 instead of 1.24, I have created a pull request to update it to 1.25.
Once the pull request is approved everything should work, if you don't want to wait for the approval you can change it in your local and run the following commands in the azure_arc/azure_arc_data_jumpstart/microk8s/azure/arm_template directory :
az group create --name Arc-Data-Microk8s --location "East US"
az deployment group create \
--resource-group Arc-Data-Microk8s \
--name arcdatademo \
--template-file azuredeploy.json \
--parameters customLocationRPOID="$customLocationRPOID" \
--parameters azuredeploy.parameters.json

Thanks for reporting the issue.

Hi @basimolimajeed, the pull request has been approved.

Hi Pablo, this works fine now thank you


Broken reference in docstring of scipy.stats.power_divergence

Quick Link: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.power_divergence.html#scipy.stats.power_divergence
The parameter lambda_ creates a reference to a paper in its documentation, but this reference is not rendered in the docs. Instead, a mangled string is shown. This happens twice for different references; however, the raw docstring looks good.
Not sure if this is caused by something in scipy, if it could be a bug in sphinx, or something else entirely. If anybody knows the cause, I can submit a PR once a solution has been identified.

Thanks indeed. This is because the block is written as a code block. Would you like to make a PR to fix it?

Sure. Is there a way to create references in a code block? If not, what would be the preferred way to fix it?

Sure. Is there a way to create references in a code block? If not, what would be the preferred way to fix it?

I found this https://stackoverflow.com/questions/44527391/how-to-include-an-internal-reference-in-a-code-block but recently when adding such things we just did not use code blocks. See for instance description of parameters from optimization or stats module.

Done. Let's see if it renders properly. I briefly tried building the docs locally, but apparently, that is not so trivial on a Windows machine since it involves building scipy from source (if I understand correctly).
@tupui Are you able to review?

I will try to get some time for it. Thanks 😊


Bump Flutter min to 3.0.0 and Dart to 2.17.0

:scroll: Description

Closes #1162
:pencil: Checklist

[x] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated the docs if needed
[x] All tests passing
[ ] No breaking changes

I believe you can also fix this issue:
https://github.com/getsentry/sentry-dart/blob/fbf42afadcf2b101268f06681d0a6b951c389d61/flutter/lib/src/event_processor/flutter_enricher_event_processor.dart#L115-L118

https://github.com/getsentry/sentry-dart/blob/main/dart/lib/src/utils/hash_code.dart can likely be gone as well.

Codecov Report

:exclamation: No coverage uploaded for pull request base (v7.0.0@3e6109b). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             v7.0.0    #1180   +/-   ##
=========================================
  Coverage          ?   89.15%
=========================================
  Files             ?      109
  Lines             ?     3468
  Branches          ?        0
=========================================
  Hits              ?     3092
  Misses            ?      376
  Partials          ?        0

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

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

https://github.com/getsentry/sentry-dart/blob/3e6109b7e78b49c9469021fc3930f42d28e5dc4b/.github/workflows/min_version_test.yml#L33
https://github.com/getsentry/sentry-dart/actions/runs/3684684967/jobs/6234715367


add builtins.elemAt #119

The eval-okay-elem test case passed.

My apologies @hSloan, I didn't see this pull request before writing the function.


CalTRACK Issue: Baseline data procedure for billing data.

Prerequisites

[x] Are you opening this issue in the correct repository (caltrack/grid/seat)?
[x] Did you perform a search of previous Github issues to check if this issue has been previously considered?

Article reference number in CalTRACK documentation (optional): <IP_ADDRESS>
Description
The CalTRACK methods as described don't provide quite enough specificity around how to find a 365-day baseline period when using billing data. As written, they seem to suggest that the 365-day period should start exactly 365 days before the blackout start date - however, this doesn't work well with billing data and means that, with strict cutoffs and billing periods that don't fall exactly at those boundaries.
To solve this problem, I needed to add some non-CalTRACK parameters to the eemeter.get_baseline_data: https://github.com/openeemeter/eemeter/blob/15bf4e62748243a9d84ec80d8c09c59346d4bec5/eemeter/transform.py#L234-L244
I propose that using this become the standard for billing data, as I've found that they result in baseline periods that are closer to 365 days. The trade-off here is that the baseline period generally includes data more than 365 days before the beginning of the blackout period.
The get_baseline_data docs describe this change in the following way. The improved method I propose would set both of these to True. To be clear, I'm not suggesting that CalTRACK reference this code at all - I'm suggesting that this is a potential implementation for clarity and testing, but that CalTRACK should be updated to reflect this procedure:
    allow_billing_period_overshoot : :any:`bool`, default False
        If True, count `max_days` from the end of the last billing data period
        that ends before the `end` date, rather than from the exact `end` date.
        Otherwise use the exact `end` date as the cutoff.
    ignore_billing_period_gap_for_day_count : :any:`bool`, default False
        If True, instead of going back `max_days` from either the
        `end` date or end of the last billing period before that date (depending
        on the value of the `allow_billing_period_overshoot` setting) and
        excluding the last period that began before that date, first check to
        see if excluding or including that period gets closer to a total of
        `max_days` of data.

        For example, with `max_days=365`, if an exact 365 period would targeted
        Feb 15, but the billing period went from Jan 20 to Feb 20, exclude that
        period for a total of ~360 days of data, because that's closer to 365
        than ~390 days, which would be the total if that period was included.
        If, on the other hand, if that period started Feb 10 and went to Mar 10,
        include the period, because ~370 days of data is closer to than ~340.

Proposed test methodology

Using a test data set of billing dates (doesn't need to be real probably, just needs to be realistic 30ish day periods.)
Compute the average length of data in baseline periods created using current and proposed methods. I suggest using eemeter.get_baseline_data for testing, as it has a working implementation of both methods.
We may also consider applying the same changes to the procedure for finding reporting period data.

Acceptance Criteria
Use the method that gives baseline periods closest to 365 days in length.

This sounds very reasonable.
One minor comment... you wrote --

Using a test data set of billing dates (doesn't need to be real probably, just needs to be realistic 30ish day periods.)

We collect bill data from three California IOUs and find that residential billing periods can vary considerably, covering anywhere from a few days to several months, so it's important that methods cover all these cases.

I have some results here that compare a naive implementation of the standard with the improved, more specific algorithm described in the pull request above, which does not unnecessarily cut off the last remaining period. The result is demonstrated using the OpenEEmeter functions described above.
To test, I took the published meter read schedules from PG&E from the years 2016-2019, and created time series of billing periods of monthly and bimonthly frequency.*
The major results are show below, showing successful capture of a 12th (or, for bimonthly, a 6th) period in the baseline, resulting in periods very close to 365 +/- 5 days in all cases:

*This type of published billing schedule appears to be quite standard across the industry (many are exactly the same, and most differ only by a few days here or there), so I'm going to consider this data representative. More could be done to indicate the effect of missed reads or late reads, but frankly I think this is unnecessary - the improved algorithm is demonstrably better for both the basic monthly and the bimonthly meter read schedules, and there is no reason to believe it wouldn't work equally well with missed or late reads, because it tries to be smart and find the periods which make a baseline period closest to 365 days in length, in a way that is agnostic to the length of the individual billing periods.

The code:
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
from datetime import date, datetime, timedelta
import pandas as pd
import eemeter
import json

# recreate PG&E's billing cycles exactly, from 2016-2019.
monthly_schedules = [
    'B', 'C', 'D',
    'F', 'G', 'H',
    'J', 'K', 'L',
    'M', 'N', 'P',
    'Q', 'R', 'S',
    'T', 'V', 'W',
    'X', 'Y', 'Z',
]
bill_months = [
    'JAN', 'FEB', 'MAR',
    'APR', 'MAY', 'JUN',
    'JUL', 'AUG', 'SEP',
    'OCT', 'NOV', 'DEC'
]

# simulate a bimonthly billing schedule by splitting each monthly cycle,
#   e.g., B -> B1 (jan, mar, may, ...), B2 (feb, apr, jun, ...)
bimonthly_schedules = [
    'B1', 'C1', 'D1',
    'F1', 'G1', 'H1',
    'J1', 'K1', 'L1',
    'M1', 'N1', 'P1',
    'Q1', 'R1', 'S1',
    'T1', 'V1', 'W1',
    'X1', 'Y1', 'Z1',

    'B2', 'C2', 'D2',
    'F2', 'G2', 'H2',
    'J2', 'K2', 'L2',
    'M2', 'N2', 'P2',
    'Q2', 'R2', 'S2',
    'T2', 'V2', 'W2',
    'X2', 'Y2', 'Z2',
]

# no reading on holidays and other pg&E off days
holidays = {
    date(2015, 12, 25),  # chr
    date(2016, 1, 1),    # new
    date(2016, 1, 18),   # mlk
    date(2016, 2, 15),   # pres
    date(2016, 4, 13),   # *pg&e
    date(2016, 5, 30),   # mem
    date(2016, 7, 4),    # indep
    date(2016, 8, 3),    # *pg&e
    date(2016, 9, 5),    # labor
    date(2016, 11, 11),  # vet
    date(2016, 11, 24),  # thanks
    date(2016, 11, 25),  # black

    date(2016, 12, 26),  # chr eve
    date(2017, 1, 2),    # new mon
    date(2017, 1, 16),   # mlk
    date(2017, 2, 20),   # pres
    date(2017, 4, 12),   # *pg&e
    date(2017, 5, 29),   # mem
    date(2017, 7, 4),    # indep
    date(2017, 8, 9),    # *pg&e
    date(2017, 9, 4),    # labor
    date(2017, 11, 23),  # thanks
    date(2017, 11, 24),  # black

    date(2017, 12, 25),  # chr
    date(2018, 1, 1),    # new
    date(2018, 1, 15),   # mlk
    date(2018, 2, 19),   # pres
    date(2018, 4, 11),   # *pg&e
    date(2018, 5, 28),   # mem
    date(2018, 7, 4),    # indep
    date(2018, 8, 8),    # *pg&e
    date(2018, 9, 3),    # labor
    date(2018, 11, 12),  # vet
    date(2018, 11, 22),  # thanks
    date(2018, 11, 23),  # black

    date(2018, 12, 25),  # chr
    date(2019, 1, 1),    # new
    date(2019, 1, 21),   # mlk
    date(2019, 2, 18),   # pres
    date(2019, 4, 10),   # *pg&e
    date(2019, 5, 27),   # mem
    date(2019, 7, 4),    # indep
    date(2019, 8, 7),    # *pg&e
    date(2019, 9, 2),    # labor
    date(2019, 11, 11),  # vet
    date(2019, 11, 28),  # thanks
    date(2019, 11, 29),  # black
}

# most saturdays are skipped, but not these.
saturday_read_days = {
    date(2016, 1, 9),
    date(2016, 11, 19),
    date(2016, 12, 3),

    date(2017, 1, 7),
    date(2017, 11, 18),

    date(2018, 1, 6),
    date(2018, 11, 17),
    date(2018, 12, 1),

    date(2019, 1, 5),
    date(2019, 11, 16),
    date(2019, 12, 7),
}

monthly_schedule_index = 0
bimonthly_schedule_index = 0
bill_month_index = 0

# schedule logic
def assign_schedule(d):
    global monthly_schedule_index, bimonthly_schedule_index, bill_month_index
    if d.weekday() in (5, 6) and d not in saturday_read_days:
        return 'SKIP-WEEKEND', 'SKIP-WEEKEND', None
    if d in holidays:
        return 'SKIP-HOLIDAY', 'SKIP-HOLIDAY', None

    monthly_schedule = monthly_schedules[monthly_schedule_index]
    monthly_schedule_index = (monthly_schedule_index + 1) % len(monthly_schedules)

    bimonthly_schedule = bimonthly_schedules[bimonthly_schedule_index]
    bimonthly_schedule_index = (bimonthly_schedule_index + 1) % len(bimonthly_schedules)

    bill_month = bill_months[bill_month_index]
    if monthly_schedule_index == 0:
        bill_month_index = (bill_month_index + 1) % len(bill_months)

    return monthly_schedule, bimonthly_schedule, bill_month

# create billing periods
billing_monthly_dates = {}
billing_bimonthly_dates = {}
for days in range(0, 1462):
    start = date(2015, 12, 23)
    d = start + timedelta(days=days)
    monthly_schedule, bimonthly_schedule, bill_month = assign_schedule(d)

    if bill_month is not None:
        if monthly_schedule not in billing_monthly_dates:
            billing_monthly_dates[monthly_schedule] = []
        if bimonthly_schedule not in billing_bimonthly_dates:
            billing_bimonthly_dates[bimonthly_schedule] = []

        billing_monthly_dates[monthly_schedule].append(d.isoformat())
        billing_bimonthly_dates[bimonthly_schedule].append(d.isoformat())

naive_monthly_baseline_period_lengths = []
proposed_monthly_baseline_period_lengths = []
naive_bimonthly_baseline_period_lengths = []
proposed_bimonthly_baseline_period_lengths = []

for monthly_schedule in monthly_schedules:
    index = pd.DatetimeIndex(billing_monthly_dates[monthly_schedule], tz='UTC')
    billing_days = pd.Series((index[1:]-index[:-1]).days, index=index[:-1])

    for date in pd.date_range('2017-06-01T00:00:00+00:00', '2019-06-01T00:00:00+00:00', freq='D', tz='UTC'):
        naive_baseline, warnings = eemeter.get_baseline_data(data=billing_days, end=date, max_days=365)
        naive_monthly_baseline_period_lengths.append(naive_baseline.sum())

        proposed_baseline, warnings = eemeter.get_baseline_data(
            data=billing_days, end=date, max_days=365,
            allow_billing_period_overshoot=True,
            n_days_billing_period_overshoot=70,
            ignore_billing_period_gap_for_day_count=True,
        )
        proposed_monthly_baseline_period_lengths.append(proposed_baseline.sum())

for bimonthly_schedule in bimonthly_schedules:
    index = pd.DatetimeIndex(billing_bimonthly_dates[bimonthly_schedule], tz='UTC')
    billing_days = pd.Series((index[1:]-index[:-1]).days, index=index[:-1])

    for date in pd.date_range('2017-06-01T00:00:00+00:00', '2019-06-01T00:00:00+00:00', freq='D', tz='UTC'):
        naive_baseline, warnings = eemeter.get_baseline_data(data=billing_days, end=date, max_days=365)
        naive_bimonthly_baseline_period_lengths.append(naive_baseline.sum())

        proposed_baseline, warnings = eemeter.get_baseline_data(
            data=billing_days, end=date, max_days=365,
            allow_billing_period_overshoot=True,
            n_days_billing_period_overshoot=70,
            ignore_billing_period_gap_for_day_count=True,
        )
        proposed_bimonthly_baseline_period_lengths.append(proposed_baseline.sum())

plt.style.use("ggplot")
bins = np.linspace(280, 380, 100)

naive_avg_monthly_baseline_period_length = np.mean(naive_monthly_baseline_period_lengths)
proposed_avg_monthly_baseline_period_length = np.mean(proposed_monthly_baseline_period_lengths)
naive_avg_bimonthly_baseline_period_length = np.mean(naive_bimonthly_baseline_period_lengths)
proposed_avg_bimonthly_baseline_period_length = np.mean(proposed_bimonthly_baseline_period_lengths)

plt.figure(figsize=(15,5))
plt.title(
    f'Monthly baseline period lengths (avg naive = {naive_avg_monthly_baseline_period_length:.2f} days,'
    f' avg proposed = {proposed_avg_monthly_baseline_period_length:.2f} days)'
)
plt.hist(naive_monthly_baseline_period_lengths, bins, alpha=0.5, label='CalTRACK (as written)', density=1)
plt.hist(proposed_monthly_baseline_period_lengths, bins, alpha=0.5, label='CalTRACK (proposed)', density=1)
plt.legend()
plt.ylabel('Density')
plt.xlabel('Baseline period lengths (days)')
plt.show()

plt.figure(figsize=(15,5))
plt.title(
    f'Bimonthly baseline period lengths (avg naive = {naive_avg_bimonthly_baseline_period_length:.2f} days,'
    f' avg proposed = {proposed_avg_bimonthly_baseline_period_length:.2f} days)'
)
plt.hist(naive_bimonthly_baseline_period_lengths, bins, alpha=0.5, label='CalTRACK (as written)', density=1)
plt.hist(proposed_bimonthly_baseline_period_lengths, bins, alpha=0.5, label='CalTRACK (proposed)', density=1)
plt.legend()
plt.ylabel('Density')
plt.xlabel('Baseline period lengths (days)')
plt.show()

Sorry to be a problem because this is such an obvious win of an issue, but... Can we agree that billing period overshoot should go backwards from the start date, and not forwards from the end date? Overshooting forward would overlap with the actual measure installation, if I'm thinking of this correctly. Two situations make me feel like overshooting the end date could bias results:

Physical work is being done on a home (doors/windows open, shell improvements), so energy use is artificially high during the overshoot period. Savings are biased higher.
Energy savings commence immediately on installation, so energy use is lowered during the overshoot period. Savings are biased lower.

@jkoliner, this sounds very reasonable to me.
A more general question related to your point: Does anyone have information about actual energy use during intervention periods? Seems like there are many reasons it could increase due to construction use of site energy, but many other reasons it could decrease due to reduced occupancy, HVAC systems turned off, etc.


🐛CocoaPods error

CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo
update

Please file cocoapod related issues in dedicated repo: https://github.com/CocoaPods/CocoaPods/issues
Closing from here.


test: reduce reliance on static queries

When Ivy issues were first being resolved in the repo, we accumulated a lot of static queries in tests which we generally shouldn't be depending on. These changes clean up most of the ones that don't require much refactoring to clean up. I'll make some follow-up changes for the trickier ones once these changes land.

most of them look fine, but there's a failing table test

I just reverted the table change that was causing the failure. I'll do follow-up PRs to address these trickier cases.


Prevent test suite from generating matplotlib figures using X11-basd backend

Running the test suite using ./check.sh -s -vvv causes matplotlib figures to pop up, which need to be closed manually for the test to proceed.

[ ] Determine which code is producing the figures.
[ ] Use the 'agg' backend in those modules.

I don't think the popping up is a function of the backend so much as something or other calling show() instead of writing figures to files.  However, 'agg' is a good idea anyway, because it allows running tests that write figures to files even if the machine has no display connected.

Sounds right, although with the agg backend show() has no blocking effect as far as I know.

You may be right.  I actually don't remember ever drawing a figure in agg and trying to show() it.


[FSDE-6699] Migrate Card component to new Vue documentation

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/1/. :white_check_mark:

You can check this PRs instance in https://910dfd7e41e8f82a74fbd05371a0e1172907402b-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/4/. :white_check_mark:

You can check this PRs instance in https://0948688ab71c89e59e5ed762008bac99f9e3c16a-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/6/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/8/. :x:

You can check this PRs instance in https://f0249f04269ada3f677150a056be651acb2bde57-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/11/. :white_check_mark:

You can check this PRs instance in https://cf5c155b76f6d0ffd159676f0ff9b025d0ca412b-chi-pr.enterprise.ctl.io

You can check this PRs instance in https://aa74224c59ead70b04dac64e8fa931aaa0dd91b5-chi-pr.enterprise.ctl.io

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/13/. :white_check_mark:

You can check this PRs instance in https://5e8965e309883142355179c9029a996f3d814e4e-chi-pr.enterprise.ctl.io

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/18/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/37/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/39/. :white_check_mark:

You can check this PRs instance in https://3b2c3a5fc03941577a6e8e6b601c06ee80ee3017-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-190-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/40/. :white_check_mark:

You can check this PRs instance in https://794cf993cb3871356bc4365275888ee81a8a538d-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-190-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/41/. :white_check_mark:

You can check this PRs instance in https://196b6844c09894f8ba396eb9f844990d81d60106-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-190-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-190/42/. :white_check_mark:

You can check this PRs instance in https://8725478d46ef777a01ba1954ba5f8476f14e8636-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-190-ux-chi.kubeodc-test.corp.intranet/ (internal)


[WIP] Getting data from local resource

What is the best way to get data from a LocalResource?
For my application, I am treating a Pluto notebook just like a Julia script, and am packaging it alongside some data that is being analyzed. The files are small-medium size, so the data: URI technique employed by this package is an ideal fit for export to HTML later.
One of the files is a .csv file, and I need to parse it. Currently, I am doing something like this with the help of a new method currently in this PR as a straw-man:
f = PlutoUI.LocalResource("data.csv")
d = CSV.read(Vector{UInt8}(f), DataFrame)

(One problem with this approach is that it will only work for Resources that are generated using the LocalResource function; perhaps the type should be forked?)
Happy to implement something and propose it here, but I am wondering if there are better ways to do what I am trying to do. Ideas:

integrate with the FileIO.jl package
use the PlutoUI.as_text function in a way I don't yet understand
use something like the RelocatableFolders.jl package (a la PackageCompiler)
use another approach not involving LocalResource - e.g. if it is going to be deprecated or externalized in the future

Hey @alhirzel !
Sorry I missed your message before!
Can you write a bit more about why you cannot access the files normally? E.g.
CSV.read(read("data.csv"), DataFrame)


Add DMM Player 2.1.8

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I could't find args which for completely silient install. Could you help me how find that please?

Close PR due to gave up found installer args for completely silent.


More detail when trying to scrape ambiguous scenes

At the moment, the interface displays the title of the current scene being searched.  If it has a fairly generic title (eg, "Hardcore") it can be difficult to match it against the options returns from TPDB.  It would help to also display the site/studio name, date and ideally the performers.
Similar, the list returned from TPDB doesn't include the list of performers... including this might make it helpful for matching.

Current behaviour is to display the current query (as passed to TPBD) against the site, date, and titles returned from TPBD.  We can't always add site/date/title to the query, because we can't assume those are set within Stash.  If those fields are set, I recommend you disable the "scrape_with_filenames" flag to cause the query to include the date/site/title.  Alternatively, if you have scenes sorted into folders, try the "test" branch build, which supports the "dirs_in_query" flag to add parent folder names to the query.
Performers in the query (for non-filename scraping) and in the ambiguous results list is possible, but a bit more tricky.  I hadn't seen a use case that needs it yet, but let me know if the above doesn't resolve your issue.

Most of my files have pretty good quality titles / studios / dates... I'm mostly scraping to confirm things, plus add descriptions and tags.  So I did disable scrape_with_filenames.  The problem is that searching by title when it is something generic like 'Hardcore' makes it difficult to know what entry was actually being searched... so when you get a response back from TPDB, I can't confirm which is the correct match.
I'm not a python coder, but I made the follow tweak on a local copy to help me;
     if parse_with_filename:
         try:
             if re.search(r'^[A-Z]:\\', scene['path']):  #If we have Windows-like paths
                 file_name = re.search(r'^[A-Z]:\\(.+\\)*(.+)\.(.+)$', scene['path']).group(2)
             else:  #Else assume Unix-like paths
                 file_name = re.search(r'^\/(.+\/)*(.+)\.(.+)$', scene['path']).group(2)
         except Exception:
             print("Error when parsing filename: "+scene['path'])
             return
         if clean_filename:
             file_name = scrubFileName(file_name)

         scrape_query = file_name
         print("Grabbing Data For: "+scrape_query

    else:
         scrape_query = scene_data['title']
         print("Grabbing Data For: " + scene['title'] +' ['+scene['studio']['name']+'] ('+scene['date']+')')

     scraped_data = scrapeMetadataAPI(scrape_query)

This definitely helped.

Ah!  I see the issue now.  The "Grabbing Data for" line happens before the built-in disambiguation for titles (where the script adds the studio and date to try to disambiguate).  It should happen after, so that it reflects the updated scrape_query.  The end result should be the same as your edit, just a bit cleaner code wise.
I will edit to reflect this.  Thanks for the feedback!


Remove outdated manual dependency resolutions

Description
The majority of the remaining ones are due to a transitive dependency on webpack 4 via storybook. When that's removed, we can remove the manual resolutions as well. (We already use webpack 5 for building the application itself, so no changes necessary there).
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] ~Attached issue to pull request~
[x] Changelog entry
[x] Code is clear and sufficiently documented
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] ~End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )~

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Processing this pull request

Merged into branches iso5, master in a6bb0972980aae1c5d54908f2bd76ce135ee8312


Portrait screen orientation is not locked properly on Android 8.1

Environment
  React Native Environment Info:
    System:
      OS: macOS 10.14.2
      CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
      Memory: 393.55 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 8.12.0 - /usr/local/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23, 25, 26, 27, 28
        Build Tools: 26.0.2, 26.0.3, 27.0.3, 28.0.2
        System Images: android-24 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64
    IDEs:
      Android Studio: 3.1 AI-173.4907809
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.57.8 => 0.57.8
    npmGlobalPackages:
      react-native-cli: 2.0.1

Description
Preconditions:

You must have android device with 27 API
I created new App via react-native init appName
Added this option in my AndroidManifest.xml to .MainActivity android:screenOrientation="portrait"
Added button with some deeplink
Linking.openURL('https://www.google.com/maps/dir/api=1&travelmode=driving&origin=10,11&destination=12,11');

Steps:

Rotate phone in landscape
Open a new app with deeplink
Go back to your app

Actual result: 3 rotations before we will see proper portrait screen orientation.
Expected result: one rotation directly in portrait screen orientation without others.
Repo with this bug: https://github.com/andrej-kuznetsov/screenRotationRNBug
Reproducible Demo
Follow above instructions or this video: https://drive.google.com/open?id=1Y989iGoFLu4PZUcKvuBSiS4Wiwv_At1p

I have this issue.
React Native Environment Info:
    System:
      OS: macOS 10.14.3
      CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
      Memory: 34.29 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
      Yarn: 1.10.1 - /usr/local/bin/yarn
      npm: 6.7.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 16, 21, 22, 23, 24, 25, 26, 27
        Build Tools: 23.0.1, 23.0.2, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.3
        System Images: android-23 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.3 AI-182.5<IP_ADDRESS>64788
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.2 => 16.8.2
      react-native: ^0.58.4 => 0.58.4

Have upgraded react-native and still have this issue:
  React Native Environment Info:
    System:
      OS: macOS 10.14.3
      CPU: x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
      Memory: 64.19 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
      Yarn: 1.10.1 - /usr/local/bin/yarn
      npm: 6.8.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        Build Tools: 23.0.1, 23.0.2, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.3
        API Levels: 16, 21, 22, 23, 24, 25, 26, 27
    IDEs:
      Android Studio: 3.3 AI-182.5<IP_ADDRESS>64788
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      @types/react: ^16.8.3 => 16.8.3
      @types/react-native: ^0.57.36 => 0.57.36
      react: 16.8.2 => 16.8.2
      react-native: 0.58.5 => 0.58.5

I've followed the exacts same step as the video and the bug doesn't occur on my side so we'll close this issue.
Tested on android 8.0, with your repro folder.
If you manage to submit another repro that would be broken on both side, we'll be happy to open this again.

I've followed the exacts same step as the video and the bug doesn't occur on my side so we'll close this issue.
Tested on android 8.0, with your repro folder.
If you manage to submit another repro that would be broken on both side, we'll be happy to open this again.

In the title of this issue - "... on Android 8.1"


Update AGExt.netkan

KSP 1.0

Hmm, I wonder what's wrong with jenkins? In any case, this looks great, thank you!


website: design

Currently, we are developing new document site.
We can see the preview version on https://textlint.netlify.com/.

We want to discuss some topics about website design.
Theme color
Docusaurus can define primaryColor and secondaryColor theme color.
Current color is here.
https://github.com/textlint/textlint/blob/69e47c7aadd48217dc29c53e789263d5671943a5/website/siteConfig.js#L47-L50
I want to hear from @uetchy who design textlint logo.
📝 Preview on local
Preview the website/ on local.
git clone https://github.com/textlint/textlint.git
cd textlint
yarn install
cd website
yarn start

I'll try to fix and merge new design in next week. (~2018-02-16)
In other words, I'll try to close project Docusaurus.
https://github.com/orgs/textlint/projects/3

@azu, I hope I can allocate some time for reviewing new design. I have busy Pythonic days recently...


pipenv v11.10.2 requires gcc on Python <3.5 due to transitive scandir dependency

Expected result
Expected to be able to install pipenv without needing gcc.
Actual result
Failed to install pipenv on Python versions earlier than 3.5 due to transitive dependency on scandir.
Steps to replicate
On a clean system, using a python version earlier than 3.5, run pip install pipenv:
Collecting pipenv
  Downloading https://files.pythonhosted.org/packages/ae/3f/49aef3c9b24acda0e5f9e681ae9f5d8113ebff16e15cb0c436b627791a7c/pipenv-11.10.2-py2-none-any.whl (6.4MB)
    100% |████████████████████████████████| 6.4MB 73.3MB/s
Requirement already satisfied: certifi in /usr/lib/python2.7/site-packages (from pipenv)
Requirement already satisfied: virtualenv in /usr/lib/python2.7/site-packages (from pipenv)
Requirement already satisfied: setuptools>=36.2.1 in /usr/lib/python2.7/site-packages (from pipenv)
Requirement already satisfied: virtualenv-clone>=0.2.5 in /usr/lib/python2.7/site-packages (from pipenv)
Requirement already satisfied: pip>=9.0.1 in /usr/lib/python2.7/site-packages (from pipenv)
Requirement already satisfied: pathlib2; python_version < "3.4" in /usr/lib/python2.7/site-packages (from pipenv)
Requirement already satisfied: six in /usr/lib/python2.7/site-packages (from pathlib2; python_version < "3.4"->pipenv)
Collecting scandir; python_version < "3.5" (from pathlib2; python_version < "3.4"->pipenv)
  Downloading https://files.pythonhosted.org/packages/13/bb/e541b74230bbf7a20a3949a2ee6631be299378a784f5445aa5d0047c192b/scandir-1.7.tar.gz
Installing collected packages: pipenv, scandir
  Running setup.py install for scandir ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ovM7h_/scandir/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-U2JSRH-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying scandir.py -> build/lib.linux-x86_64-2.7
    running build_ext
    building '_scandir' extension
    creating build/temp.linux-x86_64-2.7
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c _scandir.c -o build/temp.linux-x86_64-2.7/_scandir.o
    unable to execute gcc: No such file or directory
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ovM7h_/scandir/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-U2JSRH-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ovM7h_/scandir/

Ah, I thought there was a reason.

Looks like this is caused by the removal of the pin on pathlib2==2.1.0;python_version<"3.4". That was the last version of pathlib2 that did not have a scandir requirement.

Yeah, if I first pip install pathlib2==2.1.0, then I can install pipenv no problem.

New release is up, fixed

Lol, before I could even finish writing a commit message for the PR I was about to open. Thanks!


Using IdentityServer to protect API only

I'm currently building a website with ASP.NET Core which supports your run of the mill user actions, like profile, a small chat, etc. Doing this with the standard template was easy enough.
Now I want to add an API to it to the page to support a desktop application (since the websites publishes data that can be consumed locally). This API contains user information, that should only be visible to the user, thus it needs to be secured (obviously).
The workflow is as follows:

The user starts the application and has to login, even if the user is already logged in on the website
The application send username/password via a HTTPS connection to the website
The website returns a token to the application with a certain(extendable) lifetime and is stored locally
Whenever the user requests data, the application sends the token to the server and gets the data if allowed.

Obviously this sounds like a job for JWT and IdentityServer4. However from glancing over the Documentation I'd have to rewrite my website auth flow to support IdentityServer and in turn only JWT are used. Yet I'm totally fine with the cookie based authentication ASP.NET Identity gives me.
Can I use my existing auth flow and use IdentityServer only to secure the api, forcing the user to login even if he is logged in on the website already and ignore potential local cookies on the machine?

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use StackOverflow for that. This has the advantage that questions and answers can be easily found by search engines, and that there are more people answering questions than just us.
For IdentityServer3
https://stackoverflow.com/questions/tagged/?tagnames=identityserver3&sort=newest
For IdentityServer4
https://stackoverflow.com/questions/tagged/?tagnames=identityserver4&sort=newest
For commercial support
https://identityserver.io/


got server working

Merge this branch now. And go to terminal and git checkout master, and git pull origin master and just checkout to a new branch class-08


Issue 3469 dependency transition 13

This is the first step to move the Github related dependencies into a GithubClient DependencyClient.
This step moves fetchLicense and also drops the client parameter from its function call. This trickles through a few functions in Github which now have client-free overloads marked with a deprecation warnings. These will all go away once we've fully transition alle (three, I think) Github dependency functions over to GithubClient.

I've marked this WIP for now as I've encountered a potentially blocking issue for using typed throws with swift-dependencies. If that can't be resolved, we may want to hold off moving Github functions out of AppEnvironment so we don't carry around deprecation warnings and method overloads for a long time.


Black cards

The card layout is black and the style is not showing well.

you forgot to import the css file that require!!!

import 'v-credit-card/dist/VCreditCard.css';


Rocm 4.3 Support for GFX 1030?

Trying to user tensorflow-rocm package from PYPI
REPRO
(tf2):~$ python3
Python 3.8.10 (default, Jun  2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
from tensorflow.keras.models import Sequential
model = Sequential()
2021-08-03 13:51:57.046171: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-08-03 13:51:57.046303: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libamdhip64.so
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Aborted (core dumped)

/opt/rocm/bin/rocm-info
ROCk module is loaded
HSA System Attributes
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE
==========
HSA Agents

Agent 1

Name:                    AMD Ryzen Threadripper 3960X 24-Core Processor
Uuid:                    CPU-XX
Marketing Name:          AMD Ryzen Threadripper 3960X 24-Core Processor
Vendor Name:             CPU
Feature:                 None specified
Profile:                 FULL_PROFILE
Float Round Mode:        NEAR
Max Queue Number:        0(0x0)
Queue Min Size:          0(0x0)
Queue Max Size:          0(0x0)
Queue Type:              MULTI
Node:                    0
Device Type:             CPU
Cache Info:
L1:                      32768(0x8000) KB
Chip ID:                 0(0x0)
Cacheline Size:          64(0x40)
Max Clock Freq. (MHz):   3800
BDFID:                   0
Internal Node ID:        0
Compute Unit:            48
SIMDs per CU:            0
Shader Engines:          0
Shader Arrs. per Eng.:   0
WatchPts on Addr. Ranges:1
Features:                None
Pool Info:
Pool 1
Segment:                 GLOBAL; FLAGS: FINE GRAINED
Size:                    65790708(0x3ebe2f4) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
Pool 2
Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
Size:                    65790708(0x3ebe2f4) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
Pool 3
Segment:                 GLOBAL; FLAGS: COARSE GRAINED
Size:                    65790708(0x3ebe2f4) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
ISA Info:

Agent 2

Name:                    gfx1030
Uuid:                    GPU-XX
Marketing Name:          Device 73bf
Vendor Name:             AMD
Feature:                 KERNEL_DISPATCH
Profile:                 BASE_PROFILE
Float Round Mode:        NEAR
Max Queue Number:        128(0x80)
Queue Min Size:          4096(0x1000)
Queue Max Size:          131072(0x20000)
Queue Type:              MULTI
Node:                    1
Device Type:             GPU
Cache Info:
L1:                      16(0x10) KB
L2:                      4096(0x1000) KB
L3:                      131072(0x20000) KB
Chip ID:                 29631(0x73bf)
Cacheline Size:          64(0x40)
Max Clock Freq. (MHz):   2575
BDFID:                   8960
Internal Node ID:        1
Compute Unit:            72
SIMDs per CU:            4
Shader Engines:          8
Shader Arrs. per Eng.:   2
WatchPts on Addr. Ranges:4
Features:                KERNEL_DISPATCH
Fast F16 Operation:      FALSE
Wavefront Size:          32(0x20)
Workgroup Max Size:      1024(0x400)
Workgroup Max Size per Dimension:
x                        1024(0x400)
y                        1024(0x400)
z                        1024(0x400)
Max Waves Per CU:        64(0x40)
Max Work-item Per CU:    2048(0x800)
Grid Max Size:<PHONE_NUMBER>(0xffffffff)
Grid Max Size per Dimension:
x<PHONE_NUMBER>(0xffffffff)
y<PHONE_NUMBER>(0xffffffff)
z<PHONE_NUMBER>(0xffffffff)
Max fbarriers/Workgrp:   32
Pool Info:
Pool 1
Segment:                 GLOBAL; FLAGS: COARSE GRAINED
Size:                    16760832(0xffc000) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       FALSE
Pool 2
Segment:                 GROUP
Size:                    64(0x40) KB
Allocatable:             FALSE
Alloc Granule:           0KB
Alloc Alignment:         0KB
Accessible by all:       FALSE
ISA Info:
ISA 1
Name:                    amdgcn-amd-amdhsa--gfx1030
Machine Models:          HSA_MACHINE_MODEL_LARGE
Profiles:                HSA_PROFILE_BASE
Default Rounding Mode:   NEAR
Default Rounding Mode:   NEAR
Fast f16:                TRUE
Workgroup Max Size:      1024(0x400)
Workgroup Max Size per Dimension:
x                        1024(0x400)
y                        1024(0x400)
z                        1024(0x400)
Grid Max Size:<PHONE_NUMBER>(0xffffffff)
Grid Max Size per Dimension:
x<PHONE_NUMBER>(0xffffffff)
y<PHONE_NUMBER>(0xffffffff)
z<PHONE_NUMBER>(0xffffffff)
FBarrier Max Size:       32
*** Done ***

Hi @ianferreira
Thanks for reaching out.
As mentioned recently in #1539 , ROCm currently does not support gfx1030.
But it will be enabled soon. Please stay tuned for the updates.
Thank you.


Invisibilize for businesses

Closes #500
This PR gives admins the ability to flag a business profile as invisible if it looks like spam. Per the request the following was done:

[x] Add a column to Business to mark if it is visible
[x] 404 if a business's show page is visited but that business is set to invisible (per a twitter conversation with Joe this wont actually show a 404 but redirect to root with a flash message, mirroring the behavior of marking a developer profile as invisible)
[x] Show a native confirm dialog before proceeding
[x] Add a button for admins to "Invisibilize" a business and send an email

Additionally a refactoring of the DeveloperMailer was done.  The invisiblize method was extracted to it's own mailer so businesses could use it also.
Pull request checklist

[ ] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[ ] I added significant changes and product updates to the changelog

Looking good! Outside of tests and some inline change requests this is close to done.
After that, a few more things:

I think we dropped the text extension for the mailers. Let's make sure to add those back in.
Let's make sure we have a invisible business seeded.
Don't forget to add the mailer previews, and check existing ones.

Looks like the text extension wasn't there before I moved the file so I totally missed that! Good catch, I'll add it.
Copy!
You got it


how to add numbers, dates

great extension!
How does it exclude numbers, dates?
For example
123456
gets ignored.
Q: What file/line number does the regex or whatever to exclude numbers?
I tried CONTAINER, etc, but couldn't get it to popup upon dates, numbers.
I have it running in VScode like documented....
Thanks for any reply.
Jim in Memphis

Sorry, I found it....
index.js: filterWord()


feat: api changes

Summary
This PR proposes a new API and configuration for this module. The idea is to maximize the flexibility, while keeping the API simple for most users.
Adds a top level createRequestSigner method, that accepts a configuration object and returns a function that accepts a request object and returns that request object with a complete hmac signed Signature header (by default).
The key components of the configuration object are: signatureFields, extractors and transformers.
signatureFields are the components that will be passed as an input to be signed (often things like the 'Content-Type' header, body digest etc).
extractors are functions that are called for each field in the signatureFields array and should return whatever value  that signature field should contain. For example, an extractor for the 'Content-Type' header, should simply return the value of that header. Each signature field should have a corresponding extractor method.
transformers are functions that receive the signature field and its corresponding value, and may carry out any additional transformations to the key/value pair it must return a tuple with the key + value entries. For example:
'Content-Type': (key, value) => [key.toLowerCase(), value],  // lowercase the header field.
Once these transformations are carried out, the results are passed to a method that will construct a string with all the fields and then sign it using a provided secret. (This method is also configurable)
Once the string is constructed, it is passed to a final "outputHandler" function that is called with the request object the signature string, and the input fields used to construct that signature, you may do any other processing of the request object here. The default behaviour is to add the signature string to the request as a Signature header as well as add a Digest header if the digest was calculated.
TODOs
Seeing as this is just an RC, we still need to add some functionality - mainly documentation of the API and some error messaging/handling.

[ ] - validate inputs + outputs
[ ] - error messaging and handling
[ ] - docs

@HW13 and @jeff-sexton
Thanks for the reviews and comments. There are still lots of improvements needed here before we take this like and I'm wary of this PR growing too large. With that in mind, as well as both of you being happy with the approach, I am going to merge this into next. I've captured both of your comments in tickets and will address them with other PRs (or both of you are welcome to grab them!).

@HW13 and @jeff-sexton
Thanks for the reviews and comments. There are still lots of improvements needed here before we take this like and I'm wary of this PR growing too large. With that in mind, as well as both of you being happy with the approach, I am going to merge this into next. I've captured both of your comments in tickets and will address them with other PRs (or both of you are welcome to grab them!).


Use points and nodes when exploring transit relations

The existing code joins to the planet_osm_nodes table, which by default is where osm2pgsql stores "raw" nodes before they've been transformed into points or used to build lines or polygons. However, there's another option, called "flat nodes", where these are stored on a file on disk instead.
In production, we use flat nodes. On my local machine, I don't.
All the queries which join to planet_osm_nodes need to join to planet_osm_point instead. I think all the relevant information is there, so we shouldn't lose any functionality.

With #508, I'm now seeing stuff like this:
Camden Station, Baltimore
Camden station links via nodes only to the route relations, same as Euston station in London, UK. This has been fixed by using the planet_osm_point table instead of planet_osm_nodes. (Near 17/39.28238/-76.61943)
Before:

After:

Note: The weirdness in the routes array seems to be down to there being a '>' character in the route ref / name for the relation.
30th Street, Philadelphia
30th Street station is a building, and so doesn't have a node ID. The function has been extended to handle that case too. (Near 17/39.95561/-75.18177)
Before:

After:

LGTM


Create a LoggingAllocator class

A logging allocator class would behave as follows:

For release builds, it would simply wrap the existing calloc / free model with no significant overhead
For debug builds, it would track the number and size of allocations it had made, along with as much metadata as can be captured on the source of the allocation. On freeing memory, it would remove the equivalent entry from the tracking log. At any time, it should be possible to retrieve the log.

The logging allocator would help detect memory leaks during test runs, by validating that all memory allocated had been freed by the end of the run.
Idea inspired by @dcharkes.

Yes, please!

Potential solution: https://github.com/dart-lang/leak_tracker/issues/42


chore: Bump github.com/awslabs/operatorpkg to latest

Fixes #N/A
Description
Bump github.com/awslabs/operatorpkg to latest which contains fixes for the termination metrics and fixes a resource leak issue
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage remained the same at 80.646%

Files with Coverage Reduction
New Missed Lines
%

pkg/utils/termination/termination.go
2
92.31%

pkg/controllers/disruption/drift.go
2
89.66%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
8909

Relevant Lines:
11047

💛  - Coveralls

/lgtm