Doesn't inject or copy polymer node module when running npm start

After 2 days of wrestling with this problem I am convinced it must be a bug somewhere. What I am trying to do is simple. I want a module that I added to the package.json to show up and be accessible to the server when i run "npm start". I have done this successfully with a few packages but I cant get it to work for the "@polymer/paper-card" module. I also wish to inject a link to this module in the index.html but I never seem to get this far.
I tried adding the following lines to my project config after installing the module:
    this.SYSTEM_CONFIG['packageConfigPaths'] = [
      ...this.SYSTEM_CONFIG['packageConfigPaths'],
      // other stuff here omited
<EMAIL_ADDRESS>    ];
    this.SYSTEM_CONFIG.paths['@polymer/paper-card'] =<EMAIL_ADDRESS>    this.SYSTEM_CONFIG.paths['@polymer/paper-card/*'] = `${this.APP_BASE}node_modules/@polymer/paper-card/*`;
    this.SYSTEM_CONFIG['packages']['@polymer/paper-card'] = {
      main: 'paper-card.html',
      defaultExtension: 'html'
    };

    this.SYSTEM_BUILDER_CONFIG['packageConfigPaths'] = [
      // other stuff here omited.
<EMAIL_ADDRESS>    ];
    this.SYSTEM_BUILDER_CONFIG['packages']['@polymer/paper-card'] = {
      main: 'paper-card.html',
      defaultExtension: 'html'
    };

When I start up npm with npm start the server doesnt load, producing some errors. When I traverse to the node_modules directory being hosted (viewed through the inspector in chromium) I notice while most of my other modules are being loaded and injected just fine, this particular one is completely absent. It is however present in the root of the project in the node_module directory there.
I attempted a bit of a hack solution by adding the following task to gulp (modeled after the desktop.libs.ts task):
import * as gulp from 'gulp';
import {join} from 'path';
import Config from '../../config';

export = () => {
  let src = [
    'node_modules/@polymer/**/*'
  ];
  gulp.src(src, { base: 'node_modules' })
    .pipe(gulp.dest(join(Config.APP_DEST + '/node_modules')));
};

While this did produce the module in the node_modules subdirectory of the dist folder, when I run "npm start" it still failed to show up on the server itself according to the inspector and the application continues to error out.

Feel free to continue discussion here, just closing to cleanup outstanding issues.


perf: remove regexes from caip utils

Description

wip - have fun @woodenfurniture
Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

woody nailed it here https://github.com/shapeshift/web/pull/4965


Bump Go version to v1.19

Description of your changes

Attempt to bump Go version to v1.19.
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

make reviewable

Unfortunately, check-diff ran with Go version v1.18.


Missing checksum verification

From Ada Logics

In the source-controller checksums are calculated when fetching artifacts from S3 stores (bucket_reconciler.go) and git repositories (gitrepository_controller.go). Specifically, the checksum is calculated here:
https://github.com/fluxcd/source-controller/blob/d7afc3596bdfc3818ed8987db029bea8a461c62c/controllers/storage.go#L272

This function is called by both the git repository reconciler and the bucket reconciler, but it is never checked in the reconcilers despite comments indicating “check integrity”. - https://github.com/fluxcd/source-controller/blob/d7afc3596bdfc3818ed8987db029bea8a461c62c/controllers/gitrepository_controller.go#L350

We assume this integrity check should be matched with data from the source where you download and that is a good idea. However, there is never any check on the checksums calculated.

Implemented in https://github.com/fluxcd/flux2/releases/tag/v0.23.0


Compose 1.20.0 changes

Proposed changes
Documented new features and changes in 1.20.0
Unreleased project version (optional)
1.20.0
Related issues (optional)
https://github.com/docker/compose/pull/5726

@joaofnfernandes Done! 👍

Thanks. Let's merge it.
/cc @gbarr01 for visibility.


Develop

Coverage decreased (-3.6%) to 38.608% when pulling 8810ff1f6832d8051dbf90faeac23936b461e28f on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.

Coverage decreased (-3.7%) to 38.51% when pulling 4d469c9634d60e23a48303db0cb662237abf50a8 on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.

Coverage decreased (-3.7%) to 38.51% when pulling 40e2ba91122601166bad95f54a8dd7d8e00777a5 on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.

Coverage decreased (-3.7%) to 38.51% when pulling 40e2ba91122601166bad95f54a8dd7d8e00777a5 on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.

Coverage decreased (-3.7%) to 38.51% when pulling 711a847a309906417c8608de8f52957342f3d47e on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.

Coverage decreased (-3.8%) to 38.462% when pulling f7dbaf7470be70878e005b74e1e9cba6b606dec3 on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.

Coverage decreased (-3.9%) to 38.365% when pulling 7833fd5be4147e34532dff1fa2b629fa97227bf5 on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.

Coverage decreased (-3.9%) to 38.365% when pulling 8121303ec4b950177fef5bd2266f2f288b7a05ad on develop into 3a3091a140b22fe03d8d64de6b94b03ba8f7a45a on master.


Update to PowerShell export example command

Removed parameters DatabaseMaxSizeBytes, Edition and ServiceObjectiveName that are only needed for the PS import command.

@WilliamDAssafMSFT
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks @peter-msft for taking the time to submit this PR! Good catch. Your commit will be pulled and merged with an internal PR. This article update is in flight. After the updated article is published, GitHub will list you as an article contributor.
Thanks again for this feedback, your suggestions help improve our documentation.


First release

This PR moves things around a bit, and makes the (new) phm crate and phm-icd crate ready to publish on crates.io, mostly so we can reserve the names.
This makes the Machine struct (formerly EhalSerial) a library item, so people can write custom applications using it. I think eventually phm-cli will be a way to send/receive data from the shell, or even a bash script in the future.
Nothing is terribly well documented, though this can be improved in future releases.
The plan would be to merge this to master, then publish + tag a commit on main


Update dependency for Totem ^5.0

Would this tool work with Totem ^5.0 can you update the dependencies?

Tool not working with Totem 8 also, @jorgv were you able to find a way around this?


start/end types in GetRowsOptions

https://github.com/googleapis/nodejs-bigtable/blob/752a6e7b5864f627940904d8d85008ae3dd6046d/src/table.ts#L249
Looks like type is incorrect.
It can be either a string or an object {value: string, inclusive: bool }
See examples: https://cloud.google.com/nodejs/docs/reference/bigtable/latest/bigtable/table

Where do you see this in the examples?


feat: soft constraints for encoding and scale correlations

I'm not sure if these are necessary. I think assigning weights is difficult because they might be case-by-case for different designs?

@domoritz

These are also in draco 1? I can see them being useful to tune a model. Yes, there may not be a universally good value for all of these but it provides more features to tune. We could set the default to 0 for most of them.


restructure folders and add 2022 year

Restructures the folder structure for the repo by year, and adds a 2022 year with information

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


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3472

Questions ?
Please refer to the Backport tool documentation


Callback not initiating on ios 14.6 with ns 8

This is my code
new  Nfc().setOnNdefDiscoveredListener(
      (data: NfcNdefData) => {
        console.log(data)
      },
      {
        stopAfterFirstRead: true
      }
    ).then(data => {
      return data;
    })
    .catch(() => {
      throw new Error("nfc fail")
    }
    );

When i run this the visual nfc scan view gets showen

But nfc cards are not being scanned this is showen in the console:
00000002 83138630 -[NFCNDEFReaderSession beginSession]:293[NFCNDEFReaderSessiondidUIControllerInvalidate:]:187  sessionState=2, proxy=YES

Dankje Eddy voor alle contributies die je hebt gedaan voor de NativeScript community

Has anyone got a solution for this yet?

Nope and I need one
Jyrone Parker
*Technical Consultant, *Technopreneur
Never Let Limited Minds Limit Your Success
https://www.jyroneparker.com http://www.jyroneparker.com |
https://youtube.com/c/jyroneparker https://youtube.com/c/jyroneparker
Twitter: @mastashake08
On Mon, Dec 6, 2021 at 7:39 PM Ben Sutter @.***> wrote:

Has anyone got a solution for this yet?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EddyVerbruggen/nativescript-nfc/issues/72#issuecomment-987434667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJLK4HDK7C5FEN3X3IEIGLUPVJS5ANCNFSM47CBNH5A
.

This looks to be a duplicate of #70, solutions are there


setup.py: fix requirements

Fixes https://github.com/Kuniwak/vint/issues/287
Please review carefully.
Based on pytest's setup.py, which supports different marker levels, but I hope we do not need that: https://github.com/pytest-dev/pytest/blob/master/setup.py.

I think requirements.txt could also be moved into setup.py - but left it for now.

I think this warrants a 0.3.x release already, since people are having problems with it everywhere already.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@93e8753). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master    #288   +/-   ##
========================================
  Coverage          ?   68.3%
========================================
  Files             ?      73
  Lines             ?    5910
  Branches          ?       0
========================================
  Hits              ?    4037
  Misses            ?    1873
  Partials          ?       0

Continue to review full report at Codecov.

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

@blueyed I appreciate to your contributing. I have not tested for reproducing but I have a question about why past tests on Python 2.7 were not failed by the cause. In my first look, I think your changes actually do the same thing like the previous code. Would you explain how work your fix?

I think this is good from my side.
What do you think about moving requirements.txt also into setup.py?

What do you think about moving requirements.txt also into setup.py?

@blueyed Sounds good. And keeping the requirements.txt file (it will become to be empty) may be good to old users. Because previous installation instructions are using requirements.txt.

@blueyed I'm planning that releasing this fix at both 0.3.20 and 0.4a2. How do you feel it?

@Kuniwak
Sounds good to me!
Would be good to ensure that the built wheels are working as expected though - when being built locally and installed in different Python versions.

Added py37 to the test matrix.
Fails for me locally with - not having investigated yet:
Traceback (most recent call last):
  File "/home/user/.local/bin/vint", line 13, in <module>
    from vint import vint
  File "/home/user/.local/lib/python3.7/site-packages/vint/vint.py", line 5, in <module>
    from cerf_api import Cerf
ModuleNotFoundError: No module named 'cerf_api'

Cool, at least Travis is fine with py37..

Pushed a few commits.
I think we should merge this finally soon.

Updates?

No, it seems like @Kuniwak went missing.. :/
I could merge this myself, but would like to get more eyes on this first.


Header includes missing from HazelcastAll.h (e.g. RawPointerMap)

Added the missing headers to the list of headers.
Fixes #195

Test FAILed.

Test FAILed.

run-lab-run

verify

Test PASSed.


Added support for joda LocalTime serialization

Coverage increased (+0.4%) to 85.782% when pulling 79f78f5a45caf46b9fb128eabfcfb231ed8806ce on robreeves:joda-localtime into e334698ec876f5153745a957e1cbfaf41ad4bc28 on magro:master.

The travis CI failures are because JAVA_HOME is not set for openjdk6 and oraclejdk7. From the log:

The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE

Coverage increased (+0.4%) to 85.782% when pulling 4d928396e5d869689caceac524a8ee4f3a570d23 on robreeves:joda-localtime into e334698ec876f5153745a957e1cbfaf41ad4bc28 on magro:master.


perf(parser): speed up parsing numbers with _ separators

When parsing a number which contains _ separators, rather than looping through the string once to remove separators, and then again to convert to an f64, do it all in a single loop.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4259  👈
#4258
#4257
#4254
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

This is unlikely to register on benchmarks as I don't think the bench fixtures contain any numbers with _ separators. But it should be an improvement to files which do.


Updating Kong corrupts luarocks manifest when using CentOS 7 RPMs

Summary
When upgrading Kong via RPM, it does not appear to be properly removing old lua module versions. This results in behavior that requires someone to manually fix their manifest files and clean up their luarocks/rocks/APP dir manually.
Steps To Reproduce

Install Kong 0.9.0 on CentOS 7, with the RPM.
Install Kong 0.9.1 on the same CentOS 7 box, with the RPM.
Install a third party luarock (such as: luarocks install say)
Try to remove the luarock (ex: luarocks remove say)

[root@kong0 ~]# luarocks remove say
Checking stability of dependencies on the absence of
say 1.3-1...

Removing say 1.3-1...

Error: rock_manifest file not found for kong 0.9.0-0 - not a LuaRocks 2 tree?
[root@kong0 ~]#

This appears to affect all mashape packages:
[root@kong0 kong]# pwd
/usr/local/lib/luarocks/rocks/kong
[root@kong0 kong]# ls -la
total 4
drwxr-xr-x  4 root root   34 Sep 14 14:51 .
drwxr-xr-x 31 root root 4096 Sep 14 14:51 ..
drwxr-xr-x  3 root root   16 Sep  7 16:01 0.9.0-0
drwxr-xr-x  3 root root   64 Sep  7 16:01 0.9.1-0
[root@kong0 kong]# mv 0.9.0-0 /tmp/
[root@kong0 kong]# luarocks install say
Warning: Failed searching manifest: Failed extracting manifest file
Installing https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/say-1.3-1.rockspec...
Using https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/say-1.3-1.rockspec... switching to 'build' mode
Updating manifest for /usr/local/lib/luarocks/rocks
say 1.3-1 is now built and installed in /usr/local (license: MIT <http://opensource.org/licenses/MIT>)

[root@kong0 kong]# luarocks remove say
Checking stability of dependencies on the absence of
say 1.3-1...

Removing say 1.3-1...

Error: rock_manifest file not found for pgmoon-mashape 1.7.0-1 - not a LuaRocks 2 tree?
[root@kong0 kong]#

Additional Details & Logs

Kong version 0.9.1
Operating System CentOS Linux release 7.2.1511 (Core) - 3.10.0-327.28.3.el7.x86_64

is this the right place? seems like a LuaRocks issue to me?

Closing, as noted above this looks like an issue to discuss with luarocks.


Failed to establish a debug connection with XXX using mdns: Exception: Did not find a observatory port advertised for $(BUNDLE_IDENTIFIER).

Seems like the flutter tools are struggeling when the bundle identifier is not static!
Failed to establish a debug connection with XXX using mdns: Exception: Did not find a observatory port advertised for $(BUNDLE_IDENTIFIER).

Flutter Doctor
▶ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.10.15-pre.384, on Mac OS X 10.14.6 18G103, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.1)
[✓] Connected device (2 available)

• No issues found!

▶ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.10.15-pre.384, on Mac OS X 10.14.6 18G103, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.1)
[✓] Connected device (2 available)

• No issues found!

Yes its fixed thx :D

I'm getting the same error with Flutter 1.9.1+hotfix.5 and on iOS 12 device:
[  +74 ms] Application launched on the device. Waiting for observatory port.
[   +4 ms] Checking for advertised Dart observatories...
[ +765 ms] Configuring the default Firebase app...
[+4260 ms] Failed to establish a debug connection with c9eb71d88bd18b050788392ce164d6fbfa6f6f7c using mdns: Exception: Did not find a observatory port advertised for com.example.app.
[   +4 ms] mDNS lookup failed, attempting fallback to reading device log.
[        ] Waiting for observatory port.

我在Flutter 1.9.1 + hotfix.5和iOS 12设备上遇到相同的错误：
[  +74 ms] Application launched on the device. Waiting for observatory port.
[   +4 ms] Checking for advertised Dart observatories...
[ +765 ms] Configuring the default Firebase app...
[+4260 ms] Failed to establish a debug connection with c9eb71d88bd18b050788392ce164d6fbfa6f6f7c using mdns: Exception: Did not find a observatory port advertised for com.example.app.
[   +4 ms] mDNS lookup failed, attempting fallback to reading device log.
[        ] Waiting for observatory port.

could you please tell me  if you solved this problem?

@thief1010 experienced same issue with 1.9.1+hotfix6 and ios 13

flutter clean
worked for me!

@fryette @thief1010 same problem for me. Did you find any solution?

@TheFedex87 clean and rebuild helped.
can build on both 1.9.1 and beta channel

I already tried to clean and rebuild several times without success


MSB4132 is emitted from GenerateTemporaryTargetAssembly

XAML projects generate a temporary project and build it inside the target GenerateTemporaryTargetAssembly. If this fails, MSBuild now emits
:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets(444,8): error MSB4132: The "GenerateTemporaryTargetAssembly" task returned false but did not log an error. [c:\project-
system\src\Microsoft.VisualStudio.Editors\Microsoft.VisualStudio.Editors.vbproj]

This should be special-cased like the MSBuild and CallTarget tasks:
https://github.com/microsoft/msbuild/blob/acff60145c49281a35fb4492b08d95b19da87495/src/Build/BackEnd/Components/RequestBuilder/TaskBuilder.cs#L950-L953
Ideally, the engine would detect use of IBuildEngine.BuildProjectFile/IBuildEngine3.BuildProjectFilesInParallel, and apply the exception to any task that builds other projects that failed. But that might be hard to do right now. We could special-case GenerateTemporaryTargetAssembly easily.

(thanks for mentioning this offline, @davkean)


refactor: Move code from main into sub packages

Description of your changes
Move internal logic into internal/fn and expose constructor in pkg/fn that can be imported in other modules.
Similar to https://github.com/crossplane-contrib/function-patch-and-transform/pull/76.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Added or updated unit tests for my change.

Rebased on b1998a7 and added some defaults to NewFunction to make a function use osFS and logging.NewNoopLogger to avoid nil derefs.


[BUG] Virtual machine status stuck in "Starting"

Harvester 1.0.0
To Reproduce
Create a virtual machine via Rancher -> Virtualization management
Result
Virtual machine stuck in the "Starting" state in the Rancher UI (Rancher -> Virtualization management)
In Harvester native UI the machine is shown "Running"
Support bundle
supportbundle_e040cc7c-fcf3-4892-bcf4-514bca7bf53b_2022-01-14T13-27-14Z.zip
Additional context
The following event is occurring every 30 seconds:

Reason: Created       Age:    30s (x9 over 6m1s)  From: virt-handler   Message: VirtualMachineInstance defined.

  Normal  Created           30s (x9 over 6m1s)  virt-handler                 VirtualMachineInstance defined.

virt-launcher.log
virtualmachine.yaml.txt
Screenshots
Rancher Virtualization UI:

Harvester native UI:

@janeczku Is the VM running fine, only that GUI incorrectly shown the status as "Starting"?
I could somewhat reproduce the issue: After I created the VM, it eventually enters Running statue and the GUI shows "Running". However, if I refreshed the page, it falls back to "Starting":
https://user-images.githubusercontent.com/5047724/152745688-dec39828-13fc-49cc-b4b5-7534f76251c2.mp4
Could you help check whether this is the problem you're facing? Or the VM is actually in the "Starting" status?

@johnliu55tw No, it's not that behaviour. I cannot reproduce this anymore though. So i think we can close this ticket until we identify steps to reproduce the behaviour.

won't fix: Cannot reproduce. Also I've created another issue to track the issue I found: https://github.com/harvester/harvester/issues/1925.

Tested in Harvester v2.6-1d2b7468851553f4b89f8af99d74305af9d1b594-head with Rancher v2.6-1d2b7468851553f4b89f8af99d74305af9d1b594-head.
Verification Steps

Imported Harvester into Rancher
Created new opensuse VM from Harvester dashboard via Rancher Virtualization management
Checked for status update in VM list


Accessibility audit on Radix UI and Next Steps

Modified from the discussion in https://github.com/radix-ui/primitives/discussions/2232

Originally posted by zoltan-dulac June 27, 2023
Good Afternoon.
I am a member of Publicis Sapient's Accessibility Center of Excellence, and since our front-end team is interested in using your library on client work, we decided to do an audit of it, testing the component library using a number of screen reader/browser pairs:

Voicover/Safari on OSX and iOS
NVDA/Firefox on Windows.
Talkback/Chrome on Android.

We have a list of 35 accessibility issues that we would like to open.  These are currently in this spreadsheet:
https://useragentman.com/tmp/Radix-ui_accessibility-review.xlsx
Before we do the laborious job of cutting and pasting them into the Issues tab on this project's GitHub, we thought ask if you are would review the spreadsheet and see if you are interested in fixing these first.
Please let us know: we are really eager to help if possible.  Thanks for your consideration.
Zoltan.

I'd really be interested as well. I'm currently in PRE-MVP status for an application that needs to be fully 508 compliant for gov't purposes. Is Radix fully WCAG 2.1 compliant for its primitives? The color system passes all the contrast test's I've run on it.

What are the issues? I don't have any software that would open an .xlsx spreadsheet


Chat / Infobox snapping

twostars pointed out (in my Chat/Info PR) that feature exists and should be implemented as well. (or there's no reason not to do so)
When you drag the infobox within about 10px or so it snaps into place (along the chatwindow) and they both move as a single unit. Moving the infobox (alone) unlocks it, though that requires you to drag it quickly before it'll register you actually want to move it and unlock them.
I'd suggest to simplify this to snapping when withing a range (of 10 px); if they are snapped, moving the chat moves both, moving the infobox unsnaps (in any case regardless of distance and speed).
If noone else want's to tackle this I will put it on my list.

Yeah, there's no reason to handle the "dragging quickly" part. It doesn't make a lot of sense. As you've said, best to just do without.


Fix typo

#### Example

```json
{
    "name": "OnPremMySqlLinkedService",
    "properties": {
        "type": "OnPremisesMySql",
        "typeProperties": {
            "server": "<server name>",
            "database": "<database name>",
            "schema": "<schema name>",
            "authenticationType": "<authentication type>",
            "userName": "<user name>", ← userName, Not username
            "password": "<password>",
            "gatewayName": "<gateway>"
        }
    }
}

@changeworld : Thanks for your contribution! The author, @sharonlo101, has been notified to review your proposed change.

Verified the update. @changeworld - Thanks for this fix.


Powershell Core 6.2.1 does not work with DOS device paths

Steps to reproduce
Get-ChildItem -Path \\?\c:\

Expected behavior
As supported since .NET Core 1.1:
https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#dos-device-paths
    Directory: C:\

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        25.06.2018    15:27                PerfLogs
d-r---        17.06.2019    11:10                Program Files
d-----        13.06.2019    22:04                Program Files (x86)
d-----        15.04.2019    14:03                Temp
d-r---        10.12.2018    17:51                Users
d-----        13.06.2019    19:02                Windows

Actual behavior
No error, no output
Environment data

Name                           Value
----                           -----
PSVersion                      6.2.1
PSEdition                      Core
GitCommitId                    6.2.1
OS                             Microsoft Windows 10.0.14393
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0ÔÇª}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

It is not regression. I checked that this does not work in previous versions and Windows PowerShell.
@PowershellNinja Could you add more information why you need this?

The almost universal reason for needing the \\?\C:\Path or \\?\UNC\servername\share\path syntax (both known as Long UNC path, as far as I'm aware) is long path support (path length greater than 260 characters). If I remember right, the reason it did not work on PowerShell 5.x and below is because the underlying .Net classes also did not support that syntax. Those .Net classes simply don't use the updated WinAPI calls that support either the Long UNC syntax or paths longer than 260 characters.
I believe that long path support has changed in the .Net Framework, but I do not know if the Long UNC syntax works there or not or if Windows PowerShell works under that configuration or not. I have no idea if it works for .Net Core applications, either, but it looks like they're heading towards long path support.

Thanks!
PowerShell supports long path name but not the DOS-like syntax - we already have a tracking issue #4439

Sorry for the long wait, yes the purpose of this was to be able to work with long path names, for migrations to SharePoint Online for Example.
So if I understand this correctly, PS 6 should already be able to handle long path names?

@PowershellNinja Yes, PowerShell  6 works with long paths. You need to turn on the feature on Windows 10.

@PowershellNinja , this looks more like a globbing issue. Get-ChildItem -literalPath \\?\c:\ works correctly.


[AIRFLOW-957] Add execution_date parameter to TriggerDagRunOperator

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[X] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-957

Description

[X] Here are some details about my PR, including screenshots of any UI changes:
DagRunOrder now has an execution_date property that can be changed.
Also, by default, this execution_date is no longer datetime.now(),
as it is using execution_date from TriggerDagRunOperator's
task instance.

Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:
test_trigger_dagrun now checks that execution_date is kept, and
new test_trigger_dagrun_order_modified checks DagRunOrder modifications.

Commits

[X] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2238 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2238      +/-   ##
==========================================
+ Coverage   68.21%   68.22%   +0.01%
==========================================
  Files         142      142
  Lines       10957    10966       +9
==========================================
+ Hits         7474     7482       +8
- Misses       3483     3484       +1

Impacted Files
Coverage Δ

airflow/operators/dagrun_operator.py
97.56% <100%> (+0.68%)
:arrow_up:

airflow/jobs.py
73.13% <0%> (-0.11%)
:arrow_down:

Continue to review full report at Codecov.

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

Does anyone know what is blocking this PR from being merged ?


Increase Postgres backup partitions

In both Production and Staging the partitions for Postgres backups are right on the edge of filling up in space, and presumably will continue to rise as time goes by.
This change seeks to double the size of the disks so we don't have to worry about this for a while.
Related to https://github.gds/gds/govuk-provisioning/pull/515

This looks correct to me but I don't know how smoothly Puppet will make this change. Might require some devops :+1:


Remove trailing project status from title to allow user to focus on status banner

ref #1008

coverage: 84.288% (-0.02%) from 84.306%
when pulling 509880ecf08c8a25695419f4440675fef1e6fbb0 on edit_proj_title
into fe543f667d9483c145313bc878a7b0b7f1907a34 on main.


Update Go and Alpine

Fixes #36

Updated Go to 1.14
Updated Alpine to 3.11

Not sure what to do about the armhf build. The Docker container armhfbuild/alpine hasn't been updated in 4yrs.
I think we can use arm32v7/alpine, but not 100% sure. If you agree, I can open a PR for that as well.

Thanks for the PR :heart:, terribly sorry I just got around to checking it out now. I'm not entirely sure about the arm image either, not because of old base images but because of the automated build. I'll have to look into how such a thing can be configured.


Fixed #31248 -- Added missing space before USING SQL on PostGIS.

Ticket: https://code.djangoproject.com/ticket/31248

@hannseman Thanks :+1: I moved tests to a separate file.

@felixxm thanks for the review! 🙂


N4 Failures

I am getting very strange behavior from ANTs N4BiasFieldCorrection.  I am running identical commands on Mac (clang-8<IP_ADDRESS> ) and Linux (gcc 4.8.5), but the Linux version is giving very poor results (identical source code versions from git).
N4BiasFieldCorrection --bspline-fitting [ 200 ] -d 3 --input-image /Shared/nopoulos/63537016/46_T1_COR_ants_denoised.nii.gz --convergence [ 500x500x300x200, 1e-06 ] --output 46_T1_COR_N4_BFC.nii.gz --shrink-factor 3
=============
During the spline estimation process, the linux version is giving very poor convergence behavior, where the mac version is stable (see linux log at bottom of message):

=============
My initial guess was a memory initialization problem, but valgrind is not reporting any problems.
============
I would appreciate any suggestions of where to look.
Thanks,
Hans
Start of Lmod init/bash script to define the module command
End of Lmod init/bash script to define the module command
Running N4 for 3-dimensional images.
Mask not read.  Using the entire image as the mask.
Specified spline distance: 200mm
original image size:  [256, 236, 256]
padded image size:  [364, 365, 364]
number of control points:  [5, 5, 5]
Current level = 1
Iteration 1 (of 50).   Current convergence value = 0.0172719 (threshold = 1e-06)
Iteration 2 (of 50).   Current convergence value = 0.0109587 (threshold = 1e-06)
Iteration 3 (of 50).   Current convergence value = 0.0221438 (threshold = 1e-06)
Iteration 4 (of 50).   Current convergence value = 0.0146183 (threshold = 1e-06)
Iteration 5 (of 50).   Current convergence value = 0.0244244 (threshold = 1e-06)
Iteration 6 (of 50).   Current convergence value = 0.0123688 (threshold = 1e-06)
Iteration 7 (of 50).   Current convergence value = 0.012639 (threshold = 1e-06)
Iteration 8 (of 50).   Current convergence value = 0.0136056 (threshold = 1e-06)
Iteration 9 (of 50).   Current convergence value = 0.0294014 (threshold = 1e-06)
Iteration 10 (of 50).   Current convergence value = 0.0086168 (threshold = 1e-06)
Iteration 11 (of 50).   Current convergence value = 0.032194 (threshold = 1e-06)
Iteration 12 (of 50).   Current convergence value = 0.0183735 (threshold = 1e-06)
Iteration 13 (of 50).   Current convergence value = 0.0106015 (threshold = 1e-06)
Iteration 14 (of 50).   Current convergence value = 0.0162072 (threshold = 1e-06)
Iteration 15 (of 50).   Current convergence value = 0.0158802 (threshold = 1e-06)
Iteration 16 (of 50).   Current convergence value = 0.0106697 (threshold = 1e-06)
Iteration 17 (of 50).   Current convergence value = 0.0311721 (threshold = 1e-06)
Iteration 18 (of 50).   Current convergence value = 0.036156 (threshold = 1e-06)
Iteration 19 (of 50).   Current convergence value = 0.0677558 (threshold = 1e-06)
Iteration 20 (of 50).   Current convergence value = 0.0164121 (threshold = 1e-06)
Iteration 21 (of 50).   Current convergence value = 0.0152358 (threshold = 1e-06)
Iteration 22 (of 50).   Current convergence value = 0.0320422 (threshold = 1e-06)
Iteration 23 (of 50).   Current convergence value = 0.0404662 (threshold = 1e-06)
Iteration 24 (of 50).   Current convergence value = 0.0369694 (threshold = 1e-06)
Iteration 25 (of 50).   Current convergence value = 0.0212535 (threshold = 1e-06)
Iteration 26 (of 50).   Current convergence value = 0.00686457 (threshold = 1e-06)
Iteration 27 (of 50).   Current convergence value = 0.0136722 (threshold = 1e-06)
Iteration 28 (of 50).   Current convergence value = 0.00837844 (threshold = 1e-06)
Iteration 29 (of 50).   Current convergence value = 0.0189572 (threshold = 1e-06)
Iteration 30 (of 50).   Current convergence value = 0.0232924 (threshold = 1e-06)
Iteration 31 (of 50).   Current convergence value = 0.00846201 (threshold = 1e-06)
Iteration 32 (of 50).   Current convergence value = 0.0236281 (threshold = 1e-06)
Iteration 33 (of 50).   Current convergence value = 0.00395733 (threshold = 1e-06)
Iteration 34 (of 50).   Current convergence value = 0.0252396 (threshold = 1e-06)
Iteration 35 (of 50).   Current convergence value = 0.00774153 (threshold = 1e-06)
Iteration 36 (of 50).   Current convergence value = 0.00131872 (threshold = 1e-06)
Iteration 37 (of 50).   Current convergence value = 0.0105761 (threshold = 1e-06)
Iteration 38 (of 50).   Current convergence value = 0.0128874 (threshold = 1e-06)
Iteration 39 (of 50).   Current convergence value = 0.0163397 (threshold = 1e-06)
Iteration 40 (of 50).   Current convergence value = 0.00336785 (threshold = 1e-06)
Iteration 41 (of 50).   Current convergence value = 0.0379893 (threshold = 1e-06)
Iteration 42 (of 50).   Current convergence value = 0.00919143 (threshold = 1e-06)
Iteration 43 (of 50).   Current convergence value = 0.0605996 (threshold = 1e-06)
Iteration 44 (of 50).   Current convergence value = 0.0109369 (threshold = 1e-06)
Iteration 45 (of 50).   Current convergence value = 0.0234743 (threshold = 1e-06)
Iteration 46 (of 50).   Current convergence value = 0.00870673 (threshold = 1e-06)
Iteration 47 (of 50).   Current convergence value = 0.0215941 (threshold = 1e-06)
Iteration 48 (of 50).   Current convergence value = 0.0225251 (threshold = 1e-06)
Iteration 49 (of 50).   Current convergence value = 0.00431966 (threshold = 1e-06)
Iteration 50 (of 50).   Current convergence value = 0.00954715 (threshold = 1e-06)
Current level = 2
Iteration 1 (of 50).   Current convergence value = 0.0222439 (threshold = 1e-06)
Iteration 2 (of 50).   Current convergence value = 0.0291451 (threshold = 1e-06)
Iteration 3 (of 50).   Current convergence value = 0.00636903 (threshold = 1e-06)
Iteration 4 (of 50).   Current convergence value = 0.0765106 (threshold = 1e-06)
Iteration 5 (of 50).   Current convergence value = 0.0746784 (threshold = 1e-06)
Iteration 6 (of 50).   Current convergence value = 0.0100812 (threshold = 1e-06)
Iteration 7 (of 50).   Current convergence value = 0.0449385 (threshold = 1e-06)
Iteration 8 (of 50).   Current convergence value = 0.0444552 (threshold = 1e-06)
Iteration 9 (of 50).   Current convergence value = 0.0261967 (threshold = 1e-06)
Iteration 10 (of 50).   Current convergence value = 0.0126405 (threshold = 1e-06)
Iteration 11 (of 50).   Current convergence value = 0.0376234 (threshold = 1e-06)
Iteration 12 (of 50).   Current convergence value = 0.0697378 (threshold = 1e-06)
Iteration 13 (of 50).   Current convergence value = 0.0238269 (threshold = 1e-06)
Iteration 14 (of 50).   Current convergence value = 0.0283404 (threshold = 1e-06)
Iteration 15 (of 50).   Current convergence value = 0.0151564 (threshold = 1e-06)
Iteration 16 (of 50).   Current convergence value = 0.0128622 (threshold = 1e-06)
Iteration 17 (of 50).   Current convergence value = 0.0265004 (threshold = 1e-06)
Iteration 18 (of 50).   Current convergence value = 0.0338271 (threshold = 1e-06)
Iteration 19 (of 50).   Current convergence value = 0.0271282 (threshold = 1e-06)
Iteration 20 (of 50).   Current convergence value = 0.01764 (threshold = 1e-06)
Iteration 21 (of 50).   Current convergence value = 0.0254594 (threshold = 1e-06)
Iteration 22 (of 50).   Current convergence value = 0.0307858 (threshold = 1e-06)
Iteration 23 (of 50).   Current convergence value = 0.0256209 (threshold = 1e-06)
Iteration 24 (of 50).   Current convergence value = 0.030798 (threshold = 1e-06)
Iteration 25 (of 50).   Current convergence value = 0.00901162 (threshold = 1e-06)
Iteration 26 (of 50).   Current convergence value = 0.0406254 (threshold = 1e-06)
Iteration 27 (of 50).   Current convergence value = 0.0579952 (threshold = 1e-06)
Iteration 28 (of 50).   Current convergence value = 0.0346796 (threshold = 1e-06)
Iteration 29 (of 50).   Current convergence value = 0.0116663 (threshold = 1e-06)
Iteration 30 (of 50).   Current convergence value = 0.0110093 (threshold = 1e-06)
Iteration 31 (of 50).   Current convergence value = 0.0293285 (threshold = 1e-06)
Iteration 32 (of 50).   Current convergence value = 0.0100809 (threshold = 1e-06)
Iteration 33 (of 50).   Current convergence value = 0.0286105 (threshold = 1e-06)
Iteration 34 (of 50).   Current convergence value = 0.0166501 (threshold = 1e-06)
Iteration 35 (of 50).   Current convergence value = 0.00581846 (threshold = 1e-06)
Iteration 36 (of 50).   Current convergence value = 0.125856 (threshold = 1e-06)
Iteration 37 (of 50).   Current convergence value = 0.0317425 (threshold = 1e-06)
Iteration 38 (of 50).   Current convergence value = 0.0446937 (threshold = 1e-06)
Iteration 39 (of 50).   Current convergence value = 0.044999 (threshold = 1e-06)
Iteration 40 (of 50).   Current convergence value = 0.0318478 (threshold = 1e-06)
Iteration 41 (of 50).   Current convergence value = 0.0554268 (threshold = 1e-06)
Iteration 42 (of 50).   Current convergence value = 0.0185811 (threshold = 1e-06)
Iteration 43 (of 50).   Current convergence value = 0.0237141 (threshold = 1e-06)
Iteration 44 (of 50).   Current convergence value = 0.0155342 (threshold = 1e-06)
Iteration 45 (of 50).   Current convergence value = 0.00745891 (threshold = 1e-06)
Iteration 46 (of 50).   Current convergence value = 0.00886809 (threshold = 1e-06)
Iteration 47 (of 50).   Current convergence value = 0.0887442 (threshold = 1e-06)
Iteration 48 (of 50).   Current convergence value = 0.0148994 (threshold = 1e-06)
Iteration 49 (of 50).   Current convergence value = 0.0199752 (threshold = 1e-06)
Iteration 50 (of 50).   Current convergence value = 0.018332 (threshold = 1e-06)
Current level = 3
Iteration 1 (of 30).   Current convergence value = 0.0871863 (threshold = 1e-06)
Iteration 2 (of 30).   Current convergence value = 0.0875245 (threshold = 1e-06)
Iteration 3 (of 30).   Current convergence value = 0.0203699 (threshold = 1e-06)
Iteration 4 (of 30).   Current convergence value = 0.0233732 (threshold = 1e-06)
Iteration 5 (of 30).   Current convergence value = 0.124553 (threshold = 1e-06)
Iteration 6 (of 30).   Current convergence value = 0.0630904 (threshold = 1e-06)
Iteration 7 (of 30).   Current convergence value = 0.0955206 (threshold = 1e-06)
Iteration 8 (of 30).   Current convergence value = 0.0263884 (threshold = 1e-06)
Iteration 9 (of 30).   Current convergence value = 0.0137696 (threshold = 1e-06)
Iteration 10 (of 30).   Current convergence value = 0.108262 (threshold = 1e-06)
Iteration 11 (of 30).   Current convergence value = 0.0373697 (threshold = 1e-06)
Iteration 12 (of 30).   Current convergence value = 0.0156007 (threshold = 1e-06)
Iteration 13 (of 30).   Current convergence value = 0.150026 (threshold = 1e-06)
Iteration 14 (of 30).   Current convergence value = 0.0119277 (threshold = 1e-06)
Iteration 15 (of 30).   Current convergence value = 0.0459375 (threshold = 1e-06)
Iteration 16 (of 30).   Current convergence value = 0.0310663 (threshold = 1e-06)
Iteration 17 (of 30).   Current convergence value = 0.0506366 (threshold = 1e-06)
Iteration 18 (of 30).   Current convergence value = 0.0129269 (threshold = 1e-06)
Iteration 19 (of 30).   Current convergence value = 0.0170725 (threshold = 1e-06)
Iteration 20 (of 30).   Current convergence value = 0.0235148 (threshold = 1e-06)
Iteration 21 (of 30).   Current convergence value = 0.0157677 (threshold = 1e-06)
Iteration 22 (of 30).   Current convergence value = 0.0384411 (threshold = 1e-06)
Iteration 23 (of 30).   Current convergence value = 0.0251765 (threshold = 1e-06)
Iteration 24 (of 30).   Current convergence value = 0.145631 (threshold = 1e-06)
Iteration 25 (of 30).   Current convergence value = 0.0110467 (threshold = 1e-06)
Iteration 26 (of 30).   Current convergence value = 0.0128286 (threshold = 1e-06)
Iteration 27 (of 30).   Current convergence value = 0.00626081 (threshold = 1e-06)
Iteration 28 (of 30).   Current convergence value = 0.0212038 (threshold = 1e-06)
Iteration 29 (of 30).   Current convergence value = 0.00412019 (threshold = 1e-06)
Iteration 30 (of 30).   Current convergence value = 0.00720077 (threshold = 1e-06)
Current level = 4
Iteration 1 (of 20).   Current convergence value = 0.0109164 (threshold = 1e-06)
Iteration 2 (of 20).   Current convergence value = 34.4406 (threshold = 1e-06)
Iteration 3 (of 20).   Current convergence value = 0.0205986 (threshold = 1e-06)
Iteration 4 (of 20).   Current convergence value = 0.0245846 (threshold = 1e-06)
Iteration 5 (of 20).   Current convergence value = 0.0226677 (threshold = 1e-06)
Iteration 6 (of 20).   Current convergence value = 0.0125729 (threshold = 1e-06)
Iteration 7 (of 20).   Current convergence value = 0.0321048 (threshold = 1e-06)
Iteration 8 (of 20).   Current convergence value = 0.0147074 (threshold = 1e-06)
Iteration 9 (of 20).   Current convergence value = 0.0191906 (threshold = 1e-06)
Iteration 10 (of 20).   Current convergence value = 0.024504 (threshold = 1e-06)
Iteration 11 (of 20).   Current convergence value = 0.0241588 (threshold = 1e-06)
Iteration 12 (of 20).   Current convergence value = 0.0257105 (threshold = 1e-06)
Iteration 13 (of 20).   Current convergence value = 0.0194202 (threshold = 1e-06)
Iteration 14 (of 20).   Current convergence value = 0.0277125 (threshold = 1e-06)
Iteration 15 (of 20).   Current convergence value = 0.0529938 (threshold = 1e-06)
Iteration 16 (of 20).   Current convergence value = 0.0236904 (threshold = 1e-06)
Iteration 17 (of 20).   Current convergence value = 0.0309397 (threshold = 1e-06)
Iteration 18 (of 20).   Current convergence value = 0.0319192 (threshold = 1e-06)
Iteration 19 (of 20).   Current convergence value = 0.0328165 (threshold = 1e-06)
Iteration 20 (of 20).   Current convergence value = 0.0149742 (threshold = 1e-06)
N4BiasFieldCorrectionImageFilter (0x1a0cf50)
RTTI typeinfo:   itk::N4BiasFieldCorrectionImageFilter<itk::Image<float, 3u>, itk::Image<float, 3u>, itk::Image<float, 3u> >
Reference Count: 1
Modified Time: 458
Debug: Off
Object Name:
Observers:
IterationEvent(Command)
Inputs:
Primary: (0x1a1bed0) *
_1: (0x1a15cd0)
Indexed Inputs:
0: Primary (0x1a1bed0)
1: _1 (0x1a15cd0)
Required Input Names: Primary
NumberOfRequiredInputs: 1
Outputs:
Primary: (0x1a02890)
Indexed Outputs:
0: Primary (0x1a02890)
NumberOfRequiredOutputs: 1
Number Of Threads: 56
ReleaseDataFlag: Off
ReleaseDataBeforeUpdateFlag: Off
AbortGenerateData: Off
Progress: 0
Multithreader:
RTTI typeinfo:   itk::MultiThreader
Reference Count: 1
Modified Time: 134
Debug: Off
Object Name:
Observers:
none
Thread Count: 56
Global Maximum Number Of Threads: 128
Global Default Number Of Threads: 56
CoordinateTolerance: 1e-06
DirectionTolerance: 1e-06
Mask label: 1
Number of histogram bins: 200
Wiener filter noise: 0.01
Bias field FWHM: 0.15
Maximum number of iterations: [50, 50, 30, 20]
Convergence threshold: 1e-06
Spline order: 3
Number of fitting levels: [4, 4, 4]
Number of control points: [5, 5, 5]
CurrentConvergenceMeasurement: 0.0149742
CurrentLevel: 4
ElapsedIterations: 21
LogBiasFieldControlPointLattice:
Image (0x2a70df0)
RTTI typeinfo:   itk::Image<itk::Vector<float, 1u>, 3u>
Reference Count: 1
Modified Time: 942184675
Debug: Off
Object Name:
Observers:
none
Source: (none)
Source output name: (none)
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 0
UpdateMTime: 0
RealTimeStamp: 0 seconds
LargestPossibleRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [19, 19, 19]
BufferedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [19, 19, 19]
RequestedRegion:
Dimension: 3
Index: [0, 0, 0]
Size: [19, 19, 19]
Spacing: [24.786, 24.7501, 24.786]
Origin: [-24.786, -24.7501, -24.786]
Direction:
1 0 0
0 1 0
0 0 1
     IndexToPointMatrix:

24.786 0 0
0 24.7501 0
0 0 24.786
     PointToIndexMatrix:

0.0403454 0 0
0 0.0404038 0
0 0 0.0403454
     Inverse Direction:

1 0 0
0 1 0
0 0 1
     PixelContainer:
       ImportImageContainer (0x1a17490)
         RTTI typeinfo:   itk::ImportImageContainer<unsigned long, itk::Vector<float, 1u> >
         Reference Count: 1
         Modified Time: 942184676
         Debug: Off
         Object Name:
         Observers:
           none
         Pointer: 0x2a71080
         Container manages memory: true
         Size: 6859
         Capacity: 6859

Elapsed time: 64.0682

That is definitely some ugly convergence.  Here's where we calculate the convergence measurement which is pretty straightforward.  One historical item of interest is that the coefficient of variation proposed in the original N3 paper for convergence was not actually used in the code.  Only the numerator was used but when I included the denominator, the convergence was similarly erratic which was one of the evidences for why the N4 iteration scheme was an improvement.
Anyway, I don't think that's the issue.  Do you have a brain mask for that data and, if so, could you include it and run the tests again?  I doubt that this would resolve the issue but I'd just like confirmation before digging in deeper.

@ntustison Nick thanks.  I'll keep digging. You help in identifying where to look is helpful.
More information from an afternoon of investigations:
Linux, gcc 4.8.5 Debug ---> FAILED
Linux, gcc 4.8.5 Release ---> FAILED
Linux, Intel 2017.3 compilers Release ---> Reasonable results, no convergence issues
Mac, clang Release ---> Reasonable results, no convergence issues
I'm beginning to think this is a problem with gcc 4.8.5 in some way.

I'm pretty sure this ITK patch addressed the issue.  Thanks again @hjmjohnson .


Normalize embedded source file paths

Motivation
The current paths are convoluted and difficult to read in error
messages and stack traces. Also, since tag elements now generate two
files only one gets included in the PDB and linked to both the
interface and the class. Finally, the source paths are not deterministic
between Windows and Linux builds.
Modifications

For element-based source files, use the namespace and type name to
determine the file name. This should still guarantee uniqueness.
For resource files and the assembly info file, use forward slashes
instead of back slashes for OS consistency.

/merge


[Courses] Module Lesson Flow Error

When a module is first added, the add lesson button does not function. It starts to function after refresh, so it's the dynamic code that is broken.

Moved to Jira


after

#96

@yegor256 Thanks for the contribution! You've earned +5 points for this: +20 as a basis; +5 for the 146 hits-of-code that you wrote; -7 for too many hits-of-code (146 >= 100); -15 for the lack of code review; -5 for the 0 comments that were made by the reviewer(s); +7 to give you at least something. Please, keep them coming. Your running balance is -336.


Nothing happen when user taps on “More Info” button On Account Key screen.

Frequency: 100%
** Repro App version:** Celo Integration build v1.8.2 (34)
Repro on device: iphone 6+ (12.4.5)
Repro Steps:

Launch the app and sign up with new account.
Tap on Get Back up key option from notification.
Enter security PIN
make sure user is redirect to Account Key screen
Tap on More Info and observe.

Current Behavior:  Nothing happen when user taps on More info.
Expected Behavior: More info should be open by tapping on more info button.
Impact: User will not be able to get the More info about the Account key.
Attachment: MoreinfoIssue.mp4 (Bug observe at 6 sec)

Verified with IOS test flight build celo integration wallet v1.8.2 (39)  and found that issue is fixed as walkthrough screen is open when user taps on More info button on account key screen. hence closing issue.
Verified device; iPhone 6+ (12.4.50 ), iPhone XS Max (13.1)


Example Notebook Content should be moved to tests

Lots of tests are unpopulated and the example notebooks seem to fulfil this need.
Only consideration is to use cacheing on the imported data object using a fixture OR use a pickle to save the data. Otherwise these tests will all import data and make testing take a long time.

#8

Agree. We prioritised the examples to demonstrate functionality, and we want to translate them to tests when time allows (probably in the next few weeks). I am not sure how to do the cacheing, could  you write an example of this?

Sure thing I’ve not done it before so will be fun to learn On 12 Feb 2024, at 14:31, Ferran Brosa Planella @.***> wrote:
Agree. We prioritised the examples to demonstrate functionality, and we want to translate them to tests when time allows (probably in the next few weeks). I am not sure how to do the cacheing, could  you write an example of this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

That sounds quite cool, would love to have a chat about it @PipGrylls if you have time. Regarding tests, I agree it'd be nice to populate some more and the notebooks should help as you both said.


upgrade libp2p to v0.20.3

Motivation

Closes #3259
preparing for #2507

Changes

ran
go get github.com/libp2p/go-libp2p@latest
go mod tidy
go get github.com/libp2p/go-libp2p-pubsub@latest
go mod tidy

Test Plan

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors try

bors merge

go merge

bors merge

bors merge

bors merge

bors merge

bors merge


Fixed #31335 - [mysql]Added logic to rename FKs also present in an index

Overrode remove_index() in mysql/schema.py, to handle renaming ForeignKeys which are also present in an index.

https://code.djangoproject.com/ticket/31335#comment:9 @charettes @felixxm

https://code.djangoproject.com/ticket/31335#comment:9 @charettes @felixxm

Hello @aryan9600. As a test, we can use an easy one.

Create a model with 2 fields (1 FK and 1 simple) - in this case, FK will create the key for FK
Alter the model and add an index with 2 fields (the first field should be FK and second another simple field)
Then migrate
Then try to roll back the migration.

Currently, it will fail.

Superseded by #15254.


python310Packages.recipe-scrapers: 14.36.1 -> 14.43.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.recipe-scrapers is: Python package for scraping recipes data
meta.homepage for python310Packages.recipe-scrapers is: https://github.com/hhursev/recipe-scrapers
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 14.43.0 with grep in /nix/store/1i6psph5nrvqbffc2mavksbcvy61rw2s-python3.10-recipe-scrapers-14.43.0
found 14.43.0 in filename of file in /nix/store/1i6psph5nrvqbffc2mavksbcvy61rw2s-python3.10-recipe-scrapers-14.43.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.recipe-scrapers
python311Packages.recipe-scrapers
tandoor-recipes

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1i6psph5nrvqbffc2mavksbcvy61rw2s-python3.10-recipe-scrapers-14.43.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.recipe-scrapers https://github.com/r-ryantm/nixpkgs/archive/c9e235a6669eb22ec46f7b920d21046834e76cc9.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1i6psph5nrvqbffc2mavksbcvy61rw2s-python3.10-recipe-scrapers-14.43.0
ls -la /nix/store/1i6psph5nrvqbffc2mavksbcvy61rw2s-python3.10-recipe-scrapers-14.43.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

python310Packages.recipe-scrapers
python311Packages.recipe-scrapers
tandoor-recipes

Maintainer pings
cc @ambroisie for testing.

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

5 packages built:

python310Packages.recipe-scrapers
python310Packages.recipe-scrapers.dist
python311Packages.recipe-scrapers
python311Packages.recipe-scrapers.dist
tandoor-recipes


Finish error handling for external requests

The compiler is designed to allow the translator loop to return errors like "file not found" and show them correctly in the IDE, however the actual translator loop just throws.
Similar problem for missing tables.
And then the code which runs SQL blocks should probably catch errors and return them to the translator ... and the translator step needs to report those back.

This seems to be already done!


Added fileview tool

Hey, I wrote a thing!!

I can't seem to flag reviewers - @kdaily @jaeddy @thomasyu888 ?


add information about UnifiedPush push-gateway

As discussed in the matrix-rooms...
There is a way to "play" your own push-gateway for matrix (schildichat, fluffychat) to use "common-proxies"
this are only a few lines in ntfy's nginx config
  # this sends traffic to common-proxies
  location ~ ^/(FCM|UP|_matrix) {
          proxy_pass                    http://<IP_ADDRESS>:5000;
  }

And installing a binary from the link above with a few lines of configuration (add nfty-host) to AllowedHosts list and run it as a service which listens on port 5000.
Then you can use for example (and now only??) matrix with only selfhosted services. matrix->pushgateway->nfty-server->schildi/fluffychat. Not other vendor sees your data!
It's really easy to integrate.

As @p1gp1g has said in the Discord channel, this is more of a missing piece in the UP docs, though I'm more than willing to add it to an "Integrations" page (when I eventually make that)

I don't really think ntfy should integrate the push gateway

Oh I wasn't planning to. I was merely planning to add docs potentially.


Patch

Added LinkedIn App support.

@abhishekjiitr What exactly are you trying to achieve here. Could you add a description?

@mananwason He is aiming at launching the LinkedIn App directly (if it is installed) once someone taps its icon in the Speaker Details Activity.

absolutely correct, @the-dagger explained it right @mananwason  . But travis-ci check failed. Any help here?

@championswimmer  see #266 .
I have made these changes in a single commit there.


Is there an API to get the latest preview .NET SDK version

Hi there, from the devcontainer dotnet feature
We could get the latest lts version via https://dotnetcli.azureedge.net/dotnet/Sdk/LTS/latest.version
So is there an API to get the latest preview version info? I want to support using preview for the latest preview version
Is there any api catalog list for the https://dotnetcli.azureedge.net apis?
https://github.com/devcontainers/features/blob/main/src/dotnet/scripts/dotnet-helpers.sh

Reverse negineering https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script I got for example: https://dotnetcli.azureedge.net/dotnet/Sdk/9.0/latest.version

Is there any api catalog list for the https://dotnetcli.azureedge.net apis?

@YuliiaKovalova any idea about the full list of APIs?

Hi @ManickaP,
I am not aware of any other APIs for preview.
@MilenaHristova, could you share details if you know more?

Hi @ManickaP,
I am not aware of any other APIs for preview. @MilenaHristova, could you share details if you know more?

The latest preview is in https://dotnetcli.azureedge.net/dotnet/Sdk/9.0/latest.version as you said. This file is updated after a release so once we release .NET 9 it will have a non-preview version. I'm not aware of a proper catalog of dotnetcli, @rbhanda do you know?

Hi @ManickaP,
I am not aware of any other APIs for preview. @MilenaHristova, could you share details if you know more?

The latest preview is in https://dotnetcli.azureedge.net/dotnet/Sdk/9.0/latest.version as you said. This file is updated after a release so once we release .NET 9 it will have a non-preview version. I'm not aware of a proper catalog of dotnetcli, @rbhanda do you know?

https://github.com/dotnet/core/blob/main/release-notes/9.0/releases.json - this lists all the SDKs we have released for .NET 9.0 so far

The 9.0/releases.json file is a bit large to just get one value.
The root releases-index.json file is much smaller and can serve the same scenario.
https://github.com/dotnet/core/blob/main/release-notes/releases-index.json

Hope this answers your question. I'll close this. Feel free to re-open if you have more questions.


ci: Update release workflow

:tada: This PR is included in version 2.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Infer constrained generic parameters after instanceof check

TypeScript Version:  2.4.0
When a variable passes an instanceof check generic type with constraints on the type parameter, apply to constraints to the variable.  There is currently no clean way to handle the following without an explicit cast:
Code
interface Foo {
    foo: string;
}

class Bar<T extends Foo> {
    constructor(readonly bar: T) {}
}

let a: any;
if (a instanceof Bar) {
    a.bar; // <-- a.bar should be 'Foo' instead of 'any'
}

Expected behavior:
a.bar is inferred as an instance of Foo.
Actual behavior:
a.bar is any
This change would only impact type checking, and will not affect compilation output.

I started to file a new bug for this because I couldn't find the right search terms.  I made a reproduction on Playground to show that this is still an issue -- note that 3 of the 4 assignments to .num flag as errors, correctly, but the last assignment is not flagged because the type of f2.bar is any.
I think Ryan was right, and it is in fact a Bug, not a Suggestion.  This tripped me up today while refactoring, when I changed
class A {
  public b: B;
}

to
class A<T extends B = B> {
  public b: T;
}

This should be a drop-in replacement, but it's not.  Consider
if (a instanceof A) {
  a.b.c().then(x => ... );
}

With the original definition of A, a.b is of type B, so I know that a.b.c() returns Promise<C>, so I know that the argument x is of type C.  After my refactor, a.b is of type any, even though the definition of A says a.b must extend B, so a.b.c is of type any and returns any, meaning I'm calling an any when I write then(), so I have no call signature to help the compiler infer the argument type for x.  This results in a compiler error if I have strict any-checking turned on.  So now my "drop-in replacement" just generated a compiler error -- unless I misunderstand something, that's a bug.

This is IMO a bug or design limitation.
declare class myClass<ST = any>{
  public read<T = ST>(): T;
}

let aClass = new myClass<string>();
if (aClass instanceof myClass) {
  let result1 = aClass.read(); // any and not string
} else {
  aClass; // never
}

I ran into this today as well. The three.js typings have:
export class Mesh<
    TGeometry extends BufferGeometry = BufferGeometry,
    TMaterial extends Material | Material[] = Material | Material[]
> extends Object3D {
    ...
    material: TMaterial;
}

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e2992ebc18f0a75b3f2c5bbf961a6506b5a31c6b/types/three/src/objects/Mesh.d.ts#L7-L14
My code is:
if (obj instanceof THREE.Mesh) {
  if (Array.isArray(obj.material)) {
    // obj.material should be Material[], but it's any[]
  }
}

excerpt from narrowTypeByInstanceof in src/compiler/checker.ts

const prototypeProperty = getPropertyOfType(rightType, "prototype" as __String);
if (prototypeProperty) {
    // Target type is type of the prototype property
    const prototypePropertyType = getTypeOfSymbol(prototypeProperty);
    if (!isTypeAny(prototypePropertyType)) {
        targetType = prototypePropertyType;
    }
}

The implementation of narrowTypeByInstanceof narrows to the type of the prototype property of the right hand side. It appears that for class MyClass<T extends number> {} the type of MyClass.prototype is set to MyClass<any> by default.

excerpt from getTypeOfPrototypeProperty in src/compiler/checker.ts

function getTypeOfPrototypeProperty(prototype: Symbol): Type {
    // TypeScript 1.0 spec (April 2014): 8.4
    // Every class automatically contains a static property member named 'prototype',
    // the type of which is an instantiation of the class type with type Any supplied as a type argument for each type parameter.

Given that this is appears to be part of the TypeScript v1.0 spec, it feels unlikely that this can be changed without causing other issues. That being said, it does look like a compiler change to match the requested behavior would be fairly easy to implement. (Would be more than happy to contribute such a change, if it makes sense)

I think this is the same as https://github.com/microsoft/TypeScript/issues/17253. However the other issue has a more accurate description of the problem.

Note that the constraint is only appropriate if it's a covariant type parameter. If it's contravariant then never is appropriate, and otherwise any is probably the best we can do (since we don't have existential types).

Note that the constraint is only appropriate if it's a covariant type parameter. If it's contravariant then never is appropriate, and otherwise any is probably the best we can do (since we don't have existential types).

My current proposed fix has the following logic:

If contravariant or bivariant, infer never
Otherwise, use constraint type
If no constraint type was specified, fallback to unknown

The PR also assumes that this logic will be gated behind a new compiler option (which may not be the case). If this logic is disabled then it will infer any for all of these cases.


fix(cta-block): adjust header padding values to spec

Related Ticket(s)
#6904
Description
This PR reduces the padding above the CTA Block header on sm and md sizes and increases the padding on lg+
sm, md breakpoints:

lg, xl, max:

Changelog
Changed

move padding rule for CTA block heading to styles package and adjust values according to spec

All good except CTA section is not mis-aligned. The top margin of CTA section's section heading should also be 64 in here.

When a Content section is used with Content block, the top spacing should follow the larger one like in this case:

Though there are quite a lot of spacing bugs in this component and I can open a more thorough issue later if that's better. Lemme know.

@shixiedesign CTA blocks in CTA sections should now have the 64px spacing again!


"Greedy" meta-property that makes out-of-model properties accessible

As an example for what I want I'll use the YAML adapter for working with configuration files.
Let's say I have a configuration file that's devided into different sections:
---
- name: section
  key: value
  foo: bar
- name: other_section
  herp: derp

The key-value pairs in each section are supposed to be more or less fluid. Though currently I'd need to specify each key in the model in order for DataMapper to read/write it.
I have some code in dm-types (greedy branch) and dm-yaml-adapter (greedy branch) that implements a kind of meta-property that reads and writes all properties that are not part of the defined model and makes them accessible as a Hash.
With these changes I'm able to define the following model:
class Config
  include DataMapper::Resource
  property :name, String, :key => true
  property :payload, DataMapper::Property::Greedy
end

The greedy property needs support from each used adapter, as the adapter needs to read and write the out-of-model properties to the greedy property.
What do you think about this? Are there other approaches to this or even an existing solution?

This is very similar to what Rails 3.2 does with ActiveRecord::Base.store


Add ./utils/swift_build_support/test_swift_build_support.sh to test swift_build_support.

Add ./utils/swift_build_support/test_swift_build_support.sh to test swift_build_support.
I always forget the exact python invocation to run this test and I am sure
others do as well... so why not just write a script that always remembers it?

@swift-ci Please smoke test and merge


Doesn't limit scope of searching within the parent element scope

Not sure if I'm doing something wrong OR it's the accepted behaviour.
Browser: any
<EMAIL_ADDRESS>cypress-react-selector@ = 2.2.0
I'm using mix of .react and .get/.find of cypress while finding any element. There are certain situation when I want to limit the scope of .react() to certain div children. But using .react gives me all the elements on the page instead of the matching one from the scope.
Pseudo example:
cy.get('parent-locator') .react('MyReactComponent') .click();
Error:
More than one element found for click

Tracking here https://github.com/abhinaba-ghosh/cypress-react-selector/issues/41


Update VLD POB Validation process so that it handles files with no 'Individual' records

Whilst running VLD POB validation across CHI encountered a VLD file that had no individual records.
Explanation from the County Co-ord:
I have checked my records for CHI.
RG094389 is a piece number issued by TNA for the island of Sark, but there are no records anywhere, assumed lost.
The VLD was created to reflect this and should have one record explaining this.
I'm not concerned if it is deleted, except that someone, sometime, somewhere may look for these records, resulting in more head-scratching.
I recall thinking that if such pieces are ignored then the particular County will never be 100% complete. This will inevitably cause questions in the future.
VLD was reloaded and appeared to load successfully this time but need to update VLD POB validation process to handle this scenario.

@Vino-S - Could you  you please deploy fc_1815_av to TEST3 (I have created Pull Request)

Successfully tested on TEST3.
Branch fc_1815_av is ready to be deployed to Production.


Is sorcery compatible with cancan?

Is sorcery compatible with "cancan gem" for authorization.Because I'm having hard time trying to set cancan.

look here https://github.com/ryanb/cancan/issues/462#issuecomment-3054252

Thanks for replying so diligently griogio.But I do not see the correlation between the squeel issue(which is a query gem) and sorcery(which handle authentification.But maybe the correlation is the fact that cacan doesn't support well Rails 3.1 apps?
Because  indeed I'm on Rails 3.1.

Never tried, so I'll leave it open for others to answer.

Yes, I had no problem using these two together. All you need to use CanCan is to have current_user method defined in your controllers and sorcery provides one.


feat: adding service error metric

Created the ServiceError metric. This metric is not API specific, but tracks the number of unhandled exceptions across the CDA, and logs the event with an error message. Currently the metric is tracking runtime exceptions encountered during the execution of the APIs. These exceptions are caught, an event is emitted to increment the metric, and then the error is logged to help track these service errors. The change was tested by writing a unit test which ensures that the metric is correctly incremented upon a ServiceErrorEvent being emitted.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM, assuming #208 (comment) is being addressed in a follow-up

I don't think we're looking to track the network/permissions errors yet in phase 1 since they don't fall under the service error umbrella


r.session.objectLengthLimit seems not working well

The delay after calling other objects in the terminal is still significant even setting r.session.objectLengthLimit to 100.
As long as the workspace can show the information from str() for a data.frame, the issue is still there.
Although I have not checked for the setting smaller than 100, the only time the issue is gone after loading 9 years data (reported in #174)  was to set objectLengthLimit to 0 or 1. This time, str() information won't appear at all.

Could you provide a reproducible example?
It looks like calling str() on your object might have significant overhead. Could you run
system.time(str(ED))

and see if the timing is significant?

Thanks for the investigation. I did set r.session.levelOfObjectDetail to Minimal.
I will be waiting for the next update then.

You might want to try the build of #815. Using "r.session.levelOfObjectDetail": "Normal" should be a better option.

Thanks for the testing of max.level = 1 which still has notable overhead in your case. Would you like to paste the output of str(ED, max.level = 1) so that I could make an example that is more similar with your data?

A setting of r.session.objectTimeout is added (default 50ms) so that each call of capture.output(str(obj, max.level=)) takes at most 50ms or otherwise it will fallback to max.level=0 which takes minimal time.
Would you like to try the latest build of the #815?

It requires a two-way communication between vscode-R and user R session. And the click is only responsive when R is not busy. Currently we only rely on a mostly one-way communication approach.

What about disabling the hover for data.frame, just showing in the workspace?
Will it make a difference?


Read / Live Preview modes support

Hi ! Thanks for this awesome plugin :blush:
I just wanted to know if you planed to work soon on Read / Live Preview modes support or if it is more like a long term goal in the Roadmap ?

thanks for your feedback =)
Read mode (preview mode) is already supported, also it's the only thing thats works
I plan to work on source/live preview mode soon, also fix the delay in read mode

Yup sorry, I had quickly written this issue, I was indeed talking about Source / Live Preview modes support.
Happy to hear that ! This plugin is a must have IMO.
I'm actually indenting using CSS, which doesn't allow to indent content (only headings).

glad to see it's useful for already some people :3

Signed up for GitHub just to say thank you for the work you're doing on this plug-in. Ever since I started using Obsidian (and other, similar apps), I've wanted to indent content under headings in exactly the way this plug-in does.
Please do continue work on the plug-in! I appreciate your work very much.

Thanks for creating this plugin @svonjoi. +1 for the feature request

+1 for this feature, I love the plugin but 99% I work in Live Preview mode, so I would be super happy if support for that would be added

+1 for thanks
+1 for this feature

Thanks from me , too . I vote for this feature

FYI there is a css snipped that does this in preview mode. It can be very resource heavy on big notes.
https://github.com/zamsyt/obsidian-snippets/wiki/Indent-headings

FYI there is a css snipped that does this in preview mode. It can be very resource heavy on big notes.
https://github.com/zamsyt/obsidian-snippets/wiki/Indent-headings

This CSS applies the same indentation to both the heading and its content. I did not find the way to solve this via CSS so I've created the plug

FYI there is a css snipped that does this in preview mode. It can be very resource heavy on big notes.
https://github.com/zamsyt/obsidian-snippets/wiki/Indent-headings

This CSS applies the same indentation to both the heading and its content. I did not find the way to solve this via CSS

they updated it, it indents the text underneath the header too now: https://github.com/zamsyt/obsidian-snippets/issues/15

they updated it, it indents the text underneath the header too now: zamsyt/obsidian-snippets#15
dont know why the issue is still open on zamsyt's repo, but it's working for me

I didn't pay attention to it. this css snippet works well so i will archive this repo and use this css snippet when i figure out how to modify it to my needs

#26


Adopt B95 SoC

Adaptation for B95 SoC with correct HAL drivers and libs

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_telink
https://github.com/telink-semi/hal_telink/commit/0f03ecc893bd5818338ebccf860474310099905e (develop)
https://github.com/telink-semi/hal_telink/pull/76
telink-semi/hal_telink#76/files

Note: This message is automatically posted and updated by the Manifest GitHub Action.


Check and add test cases for unsigned division of BitVec

Added more test cases to validate logic for edge cases

Thanks!


Maintenance: Improve release process

Summary
The current release process is arduous and error-prone. We should automate it end-to-end. @sthulb is currently working on simplifying this across all the Powertools libraries; once that is done we can leverage his work to complete the Java process.
Why is this needed?
To help us increase the speed at which we can make releases, and increase our confidence in the correctness of the releases.
Which area does this relate to?
Governance
Solution
No response
Acknowledgment

[X] This request meets Powertools for AWS Lambda (Java) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda (Java) languages? i.e. Python, TypeScript

No point starting until the shared workflow stuff is in place.

Closed as dupe of #1231


Add support for connected components in advanced mode

Ticks off the last of the advanced mode tests. So fixes #39

Codecov Report

Merging #45 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
+ Coverage   96.33%   96.38%   +0.05%
==========================================
  Files           5        5
  Lines         436      443       +7
==========================================
+ Hits          420      427       +7
  Misses         16       16

Impacted Files
Coverage Δ

src/network.jl
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fixes #308

So this is a small subset of what I'm working on with thumbnails, but it's it's a digestable chunk that should carry over no matter how we clean up the rest of the thumbnail business.


Remove duplicated 'need to'

/cc @amyhupe

You can preview this change here:
Built with commit 50142523cd28a8748847dd23a4d5d02ab88fd063
https://deploy-preview-166--govuk-design-system-preview.netlify.com


fix add exception when can not find profile with specific tag

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #43103
Problem Summary:
When getting profile of old planner, we would find that it can not get profile for some statements, which is not expected to check results of nereids planner
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run cloud_p0


Capture Android Auto Start Request

Hi @nisargjhaveri
I was debugging why it doesn't work with car despite it working fine in another and I came to conclusion that my headunit doesn't seem to send the accessory start request
I disabled the start script located at etc/lib.d/93_aawgd (just renamed aawgd to aagwd) and ran the binary locally in usr/bin and my phone would connect to bluetooth and the TCP server would start, I would get the connected to android auto on my phone but it seems as though my headunit has no idea that it's connected. Then it would timeout and try again.
When I plug in my phone via cable it works perfectly fine, so I figured that the problem lies between how the pi is communicating to the headunit.
I've tried the USB connection strategy mode and the Bluetooth is never turned on so I think my headunit is expecting something specific which I cannot figure out and that brings me to my point.
Is it possible to capture the handshake between my phone and headunit when connected via cable?
Phone: S22+
Car: Mazda 3 2015
Pi: Zero 2 W

Another thought I had which I'm not sure if possible and I'm not sure where to start with this is to emulate android usb.
As in using the otg port on the pi, make it so the headunit believes that a wired android is connected to it.
I think this is what AAWireless Dongle also makes use of calling it passthrough.
I have no idea how this software works low level, so if this is not possible then just say so.

Okay I think I got it working again!
I forked main, added some debug logs and used the workflow to build it.
I then factory reset my headunit.
Completely removed the bluetooth, WiFi, uninstalled AA updates via the play store from my phone..
Set it up android auto via my phone and bang its working again. No idea which step made a difference.

Hi, @NabeelUppel! Glad that you got it working. There are some reports that suggest removing wifi/bt and Android Auto storage on phone helps or resetting headunit also helps sometimes for other dongle as well. Not really sure why though and what can be done to prevent the need?

Is it possible to capture the handshake between my phone and headunit when connected via cable?

It might be possible with some usb MITM hardware. It might also be possible with a Raspberry Pi 4. But in general, I found it a lot more involved. Even if we get the raw data transfer, we need to understand the protocol. It is using and try to replicate that.

Another thought I had which I'm not sure if possible and I'm not sure where to start with this is to emulate android usb.

We essentially do this. We present RPi as a MTP device with Pixel's usb vid/pid. The aim is to make headunit think a Android Phone is connected. The MTP implementation itself might be different, and we should see if there is a scope of improvement.

Hi, @NabeelUppel! Glad that you got it working. There are some reports that suggest removing wifi/bt and Android Auto storage on phone helps or resetting headunit also helps sometimes for other dongle as well. Not really sure why though and what can be done to prevent the need?

I'm also not sure, it seems to be working consistently now, I did manage to run it awhile back for a month or two and then it stopped. I'm sure you aware of this with the amount of issues I've opened up haha.
If it stops working I'll trying clearing the bluetooth devices from my car before going nuclear and resetting.

Is it possible to capture the handshake between my phone and headunit when connected via cable?

It might be possible with some usb MITM hardware. It might also be possible with a Raspberry Pi 4. But in general, I found it a lot more involved. Even if we get the raw data transfer, we need to understand the protocol. It is using and try to replicate that.

What does the Pi4 have that makes it possible? I also tried looking into it and it seems quite obfuscated and didn't find much.

Another thought I had which I'm not sure if possible and I'm not sure where to start with this is to emulate android usb.

We essentially do this. We present RPi as a MTP device with Pixel's usb vid/pid. The aim is to make headunit think a Android Phone is connected. The MTP implementation itself might be different, and we should see if there is a scope of improvement.

Again man, I have to say great work on this it's super impressive.
Feel free to close this issue.

What does the Pi4 have that makes it possible?

Pi 4 can simultaneously work as usb device using the usb-c port and usb host using the other usb ports. This makes it possible to simply transfer all the traffic between the connect device and host and behave as a usb proxy device. You don't necessarily need Pi 4 for this, I belive bunch of other devices can also do this.
I did manage to use this once. But as I said earlier, it might be difficult to get much useful insights this way. https://github.com/AristoChen/usb-proxy
I'll close this one for now. Feel free to reopen!


Fix: Change in documentation Adding vault

Adding vault in documentation for hypershift

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Windows Platform Views

Document Link
https://flutter.dev/go/flutter-platform-views-windows
What problem are you solving?
Provide an implementation using native Win32 HWND parent-child model to allow embedding of native Windows views as platform view widgets within Flutter applications.

what is the status;

@wanjm This is paused until further notice.

@yaakovschectman
Thanks for your reply;
how much work left?
does it still blocked by the feature of multi-window

Closing this issue as the design doc is closed for feedback


Changelog WITH revert commit

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Issue with changelog, Fixed with #1337


Is the number of POSSIBLE different from the number of "B-" tokens?

Thanks for the great library.
Just wondering about the logic of calculating the number of the POSSIBLE tokens.
If my pred is
B-ORG, I-ORG, B-ORG, I-ORG
and my true label is
B-ORG, I-ORG, I-ORG, I-ORG
I think the current logic will calculate the POSSIBLE as 2? But there is only 1 gold-standard annotation.
If 2 is correct, that means POSSIBLE cannot be interpreted as the number of gold-standard entities in the data, am I right?

Hi @Hans0124SG thanks for raising an issue, can you write a short reproducible example?

Sure.
from nervaluate import compute_metrics, collect_named_entities

true = ['O', 'B-ORG', 'I-ORG', 'I-ORG', 'I-ORG', 'O']
pred = ['O', 'B-ORG', 'I-ORG', 'B-ORG', 'I-ORG', 'O']
result, entity_level_result = compute_metrics(collect_named_entities(true), collect_named_entities(pred), ['ORG'])
entity_level_result['ORG']

I get the following output:
{'strict': {'correct': 0,
  'incorrect': 2,
  'partial': 0,
  'missed': 0,
  'spurious': 0,
  'precision': 0,
  'recall': 0,
  'f1': 0,
  'actual': 2,
  'possible': 2},
 'ent_type': {'correct': 2,
  'incorrect': 0,
  'partial': 0,
  'missed': 0,
  'spurious': 0,
  'precision': 0,
  'recall': 0,
  'f1': 0,
  'actual': 2,
  'possible': 2},
 'partial': {'correct': 0,
  'incorrect': 0,
  'partial': 2,
  'missed': 0,
  'spurious': 0,
  'precision': 0,
  'recall': 0,
  'f1': 0,
  'actual': 2,
  'possible': 2},
 'exact': {'correct': 0,
  'incorrect': 2,
  'partial': 0,
  'missed': 0,
  'spurious': 0,
  'precision': 0,
  'recall': 0,
  'f1': 0,
  'actual': 2,
  'possible': 2}}

Possible is 2, but there is only 1 entity in the true label sequence.

Thanks for this @Hans0124SG. This looks like bug. possible should be interpreted as the maximum matches in the true data.

Thanks @ivyleavedtoadflax
I suspect that this is not really a bug.
According to the definition:
POS = COR + INC + PAR + MIS = TP + FN
However, since the predicted entity is never 1-to-1 mapped to the true entity, TP + FN does not equal to all the positive labels.
That's why I feel the POS is just not the total number of gold-standard entities.
How do you think?

Yes you're right, I realized while implementing a test for it. There are a few unexpected results like this, I think there was another one raised in the issues on @davidsbatista's original repo.
The solution is probably just to document them.

Yeah great, thanks for the confirmation. Hope this is useful for other people who have the same doubt.


Error when training with dcn_head

Hi  @tianweiy,
Thanks for your great work! I am now trying to run the train.py but get the similar error like #120 . The error is shown as follow:
Traceback (most recent call last):   File "tools/train.py", line 137, in <module>     main()   File "tools/train.py", line 132, in main     logger=logger,   File "/home/zwbai/Documents/CMM_Tracking/CenterPoint/det3d/torchie/apis/train.py", line 327, in train_detector     trainer.run(data_loaders, cfg.workflow, cfg.total_epochs, local_rank=cfg.local_rank)   File "/home/zwbai/Documents/CMM_Tracking/CenterPoint/det3d/torchie/trainer/trainer.py", line 543, in run     epoch_runner(data_loaders[i], self.epoch, **kwargs)   File "/home/zwbai/Documents/CMM_Tracking/CenterPoint/det3d/torchie/trainer/trainer.py", line 418, in train     self.call_hook("after_train_iter")   File "/home/zwbai/Documents/CMM_Tracking/CenterPoint/det3d/torchie/trainer/trainer.py", line 331, in call_hook     getattr(hook, fn_name)(self)   File "/home/zwbai/Documents/CMM_Tracking/CenterPoint/det3d/torchie/trainer/hooks/optimizer.py", line 18, in after_train_iter     trainer.outputs["loss"].backward()   File "/home/zwbai/anaconda3/envs/centerpoint/lib/python3.6/site-packages/torch/tensor.py", line 245, in backward     torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)   File "/home/zwbai/anaconda3/envs/centerpoint/lib/python3.6/site-packages/torch/autograd/__init__.py", line 147, in backward     allow_unreachable=True, accumulate_grad=True)  # allow_unreachable flag   File "/home/zwbai/anaconda3/envs/centerpoint/lib/python3.6/site-packages/torch/autograd/function.py", line 89, in apply     return self._forward_cls.backward(self, *args)  # type: ignore   File "/home/zwbai/anaconda3/envs/centerpoint/lib/python3.6/site-packages/torch/autograd/function.py", line 210, in wrapper     outputs = fn(ctx, *args)   File "/home/zwbai/Documents/CMM_Tracking/CenterPoint/det3d/ops/dcn/deform_conv.py", line 93, in backward     cur_im2col_step) RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
My environment is
Pytorch 1.8.1 + CUDA 11.1 + Cudnn 8.0.5
BTW, I also changed all the .view() to .reshape() but still get the error. I find that if I set dcn_head = False or the batchsize = 1, then this error will disappear, which I don't know why. I guess this may due to the dcn code, but I don't know exactly why and how to fix it? So could you please give some suggestions?

It is probably related to dcn code which I am also not sure how to debug or fix. You can try the version without dcn, this new config is actually already much better than the original dcn number reported in the paper  https://github.com/tianweiy/CenterPoint/blob/master/configs/nusc/README.md#voxelnet


Update string-split-transact-sql.md

Removing support for SQL DW until functionality is officially released.

@ronortloff : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.

#sign-off


Change stale schedule to run every hour

The stale workflow should run more often to have faster feedback.
Rate limit should be a reduced concern, as GH's limit replenishes every hour, i.e. this is the safest low limit we can do with high confidence without further investigation.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Pretty-print coverage summary after test conclusion

🚀 Feature Proposal
Be able to print coverage from a previously-generated report.lcov.
Motivation
At our company, we run a few coverage tests, then run a manual script to combine
the coverage.  However, we really like the pretty coverage summary that follows
a test run (with the columns and the list of all the files and their coverage
types).  This is a pretty straightforward request: 👇🏽
Example
npx jest --printCoverage test/coverage/report.lcov

Would then print the coverage as if you had just finished that test
Pitch
Why does this feature belong in the Jest core platform?
This feature belongs in the Jest core because it is not changing any current
behavior, and in fact just exposes the functions you already have to print the
coverage from the CLI.

I believe our coverage_reporter just uses istanbul-lib-report to print this summary. So anyone could print this based on the contents of the coverage dir. I don't think it's worth adding an option for this to Jest.


breakpoint indices confusion

First of, thanks a lot for sharing the code.
I got a small question regarding the implementation. So in the paper it is stated that the K breakpoints lie between 1 and T+1, where b_0 and b_K+1 are equal to 1 and T+1, respectively. In the implementation it seems like you initialise k_0 to 0 while keeping K+1 to T+1, shouldn't it become T when we start from 0?
Related to this it's not entirely clear to me what the numbers of the breakpoints represent, since the returned breakpoints do not match the indices of x_t, so is it correct that b_0 represents the index of x_1 and following that, x_T < b_K+1. In other words, can the returned breakpoints with exception of the last be used as indices for the columns of the input matrix?

Great question! Yes, you are correct in assuming this in part has to do with the 0-indexing of Python (as compared to our paper, where the data is 1-indexed). b_0 is equivalent to x_1, and b_{K+1} = x_T+1
Essentially, each breakpoint is the index in the Python matrix of the "first" element of a new segment. The last breakpoint is essentially a "non-existent" segment, since there are only K segments but K+1 breakpoints, which is why it goes one past the number of columns in the data.
Hope that clears things up, and let me know if you have any other questions!


Is panther an improvement on mader

Is panther an improvement on mader? and what's the difference between them? thank you very much!

Can mader be used in real environments


Link to changelog doesn't show the current changelog

The link to the changelog points to the master branch. Since is focused on v4.x, it doesn't merge/cherry-pick releases from v3.x and therefore doesn't include the v3.1.0 release changelog.
The link should be updated to reflect the current stable branch (v3.x at this time) in order to always show the current changelog.

There is already a PR waiting for the v3.1.0 changelog to be merged into master:
https://github.com/nodejs/node/pull/2448

Okay, great!  Thank you!


Cards gets shifted to the right if a video was played in landscape

Hello !
I have a bug on my app :
I render a deck of yellow cards, if I press on a card I go to another page (with react-native-navigation v5) where I see a video (youtube in a webview). I open it in fullscreen, and change the orientation of the device to landscape.
I then leave the video, go back to portrait mode. I go back to the swiper. Cards are now shifted to the right by almost half a screen, and I see the blue background of the swiper.
before screen :

after screen :

Here is a video : https://drive.google.com/file/d/1WXwO6JGZke_YLonKWc7aoTs7g1XVOOzD/view?usp=sharing
Any idea on how to fix ? I tried to force update my component by triggering a change of state, but since I have a ref on the swiper, it does not change anything. I also tried with the ref to call "forceUpdate" function on swiper, but nothing happens.

The swiper takes sizes based on the device screen size, so rotating the device will result in what you're describing. You can fix this by re-initialising the swiper after a rotate has happened.


Update lxml to 4.6.4 or higher (missing wheels for Python 3.10)

Hi!
I came here from the Microsoft IoT course.
I wanted to use a virtual device, but installing CounterFit fails with the following error:
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************

OS: Windows 10
Python version: 3.10.4

Before that I had a missing Visual Studio build tools error, I downloaded them, but now the error above occurs.
After some research I found out that lxml==4.6.3 tries to install lxml from source - https://github.com/streamlink/streamlink/issues/4100#issuecomment-945180777
The same issue discussion also says that lxml==4.6.4 fixes this problem - https://github.com/streamlink/streamlink/issues/4100#issuecomment-958599725
Could you please update lxml in setup.py, so that it's possible to install CounterFit without compiling lxml from source?
Thanks in advance 😄

Done!


Automatic short help should also take linebreak into account

PEP257 defines a summary line for multi-line docstrings just like a one-line docstring to be a phrase ending in a period.
Click automatically uses everything up to the first period to be the short help, independent how many lines it spans.
Consider the following:
import click

@click.group()
def grp():
    pass

@grp.command()
def cmd1():
    """First sentence. Second sentence."""

@grp.command()
def cmd2():
    """Summary line without a period

    First real sentence. Another sentence.
    """

$ python3 foo.py  --help
Usage: foo.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  cmd1  First sentence.
  cmd2  Summary line without a period First real...

To me it would feel more natural:

to take the first line as short help, independent of punctuation OR
to look for an ending of a phrase or linebreak, whichever comes first.

Both would allow for summary lines without the requirement to end in a period. While this would violate PEP257, I would consider it a gray area, as that summary line is used as short help in a list of commands and I have a use case where a company style guide requires such lists not to end in periods.
I'd be happy to provide a pull request for either solution, if it would be accepted.

I know this was from a while ago, but I think it's a good idea to stop at either a period or newline. If you guys think it's worth implementing can I code it as part of hacktoberfest?

No need to ask to work on an issue. As long as the issue is not assigned to anyone and doesn't have have a linked open PR (both can be seen in the sidebar), anyone is welcome to work on any issue.