There is no way to enforce existence of some node (not property) with configurable rules

Is your feature request related to a problem? Please describe.
There is no way to enforce existence of some node (not a property) with configurable rules.
For example, if we want to ensure that the license info exists we can set the following rule on the parent object:
rule/license-exists:
  subject:
    type: Info
    property: license
  assertions:
    defined: true

But what if we want to ensure that Operation has at least one Parameter with in: header?
There is no way to achieve it right now with the current syntax. The following rule won't work:
rule/header-param-exists:
  where:
    - subject:
        type: Operation
      assertions:
        defined: true
    - subject:
        type: Parameter
        property: in
      assertions:
        const: header
  subject:
    type: Parameter
  assertions:
    defined: true

Because we never hit the context (e.g. if there are no parameters at all) the defined assertion won't be even executed.
We can't change the behavior of the defined assertion as it will make the opposite case impossible: check something if only it is defined (e.g. check that all Parameters have schema defined but do not fail if there are no parameters at all).
We need some solution for this.
Describe the solution you'd like
I have two main ideas: new assertion and new subject modifier.
Idea A (new assertion):
This assertion enforces existence of the node in the parent context. It can be also used without context, then it will enforce existence globally. It may a bit confusing for users to understand the difference from the defined assertion.
Some ideas for assertion names:

A1: exists
A2: definedAndExists

See example below:

rule.yaml
rule/header-param-exists:
  where:
    - subject:
        type: Operation
      assertions:
        defined: true
    - subject:
        type: Parameter
        property: in
      assertions:
        const: header
  subject:
    type: Parameter
  assertions:
    definedAndExists: true

Idea B (new subject modifier):
This may look the same but it's different because it can modify all the other assertions so they are not enforcing all the matching objects to comply but enforcing the context to have at least one compliant instance. So we can avoid extra context.
Some ideas for subject modifier names:

mode: exists - the mode can be default (default behavior) or exists - enforces that at least 1 matching node exists.
mode: presence
exists: true
mustExist: true
atLeastOne: true
minimumMatches: 1 - not sure if this can be implemented but should be possible

I lean towards the first or second because the other ones do not imply that other instances can be not matching (not sure if this is clear).
See the example below:

Rule yaml
rule/header-param-exists:
  where:
    - subject:
        type: Operation
      assertions:
        defined: true
  subject:
    type: Parameter
    property: in
    mode: exists # other mode: every (default), exists
  assertions:
    defined: true
    const: header # we can now combine assertion here as it won't enforce all the parameters to be `header`

Any other ideas anyone?
Describe alternatives you've considered
Do not support it in configurable rules, it can be always handled by custom rules.
Additional context
Related issue: https://github.com/Redocly/redocly-cli/issues/1254

I'm against the subject modifier as this introduces a new concept. The new exists assertion sounds a lot better.

I'm against the subject modifier as this introduces a new concept.

We already have subject modifiers though. E.g. filterInParentKeys (maybe we call them differently in the code though, we don't name them in the docs though).

Then, having even more modifiers will be even more confusing. How many different combinations will it produce? It makes users do too much logical gymnastics. If we want to keep the configurable rules simple, it's better to extend assertions, I believe.
On the other hand, I see that those modifiers allow users to write the rules more concisely, so it's a bit easier to read. But when writing, you have to go through 2 different lists: assertions and modifiers, and then calculate their combinations.
TBH, sometimes I ask myself if there was a way to avoid those filterInParentKeys just by using assertions themselves 🙂

I'm not in favour of adding this. The configurable rules are already quite complicated and I don't think adding more functionality is valuable here when we're not sure how well users are using these features. I think a custom plugin is an easier way (where you have to do your own implementation) than understanding what we've done here. We could publish more example plugins to help users if we think they would struggle to implement this way.

is it possible to assert defined on the property: parameters in the where clause?
If they are valid in more than one place, you would need two separate rules. Although, the output may be messy.
  rule/header-param-exists:
    subject:
      type: Parameter
      property: in
    where:
      - subject:
          type: Operation
          property: parameters
        assertions:
          defined: true
    assertions:
      const: header

not sure why the output looks like nonsense, but the rule is evaluated.
rule/header-param-exists failed because the Parameter in didn't meet the assertions: query should be equal header

repro
openapi: 3.0.3
info:
  title: blah
  version: 1.1.0
paths:
  /test/api:
    get:
      parameters:
        - name: jeremy
          in: query
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "../../../common/shared/confirm-message-schema_v03.json"
components:
  requestBodies:
    jeremy:
      required: true
      content:
        application/json:
          schema:
            $ref: "./common/shared/-schema_v01.json"
  schemas:
    jeremy:
      type: object
      properties:
        test:
          $ref: "jeremy-test"

I think this may not be what you're asking though.. because if parameters doesn't exist at all, nothing is evaluated.


fix: remove unused npm command from cli

fix: remove unused npm command from cli.
Docs don't reference this command, and it runs along with npm install (which we don't want)

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2021-11-25T00:29:24.443+0000

Duration: 11 min 4 sec

Commit: b9928a785bca19daeb5ccb3500e52d6cf3fc931d

Test stats :test_tube:

Test
Results

Failed
0

Passed
54

Skipped
0

Total
54

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


How to get the symbol file of libapp.so

My app is a mixed project of kotlin and flutter. Currently, when building the release package, different users crashed. Therefore I want to obtain the symbol file of my flutter function to facilitate the analysis of the problem 。
flutter doctor:

below is my stacktrace:

1 #00 pc 003f68e8 dart::Instance::CheckedHandle(dart::Zone*, dart::ObjectPtr) (../../third_party/dart/runtime/vm/object.h:7274) [armeabi-v7a] 2 #01 pc 003fdbbd dart::BootstrapNatives::DN_Object_setHash(dart::Thread*, dart::Zone*, dart::NativeArguments*) (../../third_party/dart/runtime/lib/object.cc:55) [armeabi-v7a] 3 #02 pc 0043679f BootstrapNativeCallWrapper (../../third_party/dart/runtime/vm/native_entry.cc:140) [armeabi-v7a] 4 #03 pc 00003cb8 /data/app/~~yMqxmqkYDsTPGejSbHwImQ==/cn.shcab.passenger-FB6F_fcfqU95LrSh7nKssw==/lib/arm/libapp.so (_kDartVmSnapshotInstructions+7352) [armeabi::438931a40099201a27eec6eace2d9ebe] 5 java: 6 [Failed to get Java stack]

@JsonYuu
Can you upgrade to latest stable (2.5.3) and try again to see if you still get the same crash ?
If so, provide updated flutter doctor -v along with complete stack trace in text format to properly address this.
Thanks.

@JsonYuu Do you have a reproduction for the crash? If not symbol file is not going to be of much use. This sort of crash is usually memory corruption related and symbol files are unlikely to be of much use. Frame 3 in the stack trace is going to correspond to Object._setHash helper method and there are no other frames to symbolise.

@JsonYuu Can you upgrade to latest stable (2.5.3) and try again to see if you still get the same crash ? If so, provide updated flutter doctor -v along with complete stack trace in text format to properly address this. Thanks.

thanks .  let me try


Fix topological sort to take into account defaultProvider.

The topological sort will not sort default providers first as is, so
this adds in a check to detect it and not allow implicit providers to be
complete until the default provider is declared.
Handle multiple default providers for different packages.
Also added a test to test topological sort works correctly.

sorry local tool messups, had to recreate PR

Copy the original description to the PR description. Put comments like that in comments, it doesn't need to merge to git history when we merge this.

Does this fix #604?
FYI, for future reference, if you include Fixes #604 in the PR description, when the PR is merged, it will automatically close the linked issue.


Modern Warfare not available

battlenet, also, does it auto update gamelists?

I was going to open an issue about this but saw this was already open. Given the original poster did not say I figured I would tell you that the battle net launch ID is ODIN.
If I can get around to getting your code to compile on my machine I will try to submit a PR with a fix.


Getting started with A9G bds development board

Hi I am Shahzad and wanted to know how to get started a9g board?
I recently purchased an a9g bds development board but I am confused how to start it?
Please ans my questions; what is this module? how to program it? what is the programming language?
can i program it using arduino ide?
waiting for you reply
thanks in advance

maybe you should have a look on readme first
https://github.com/Ai-Thinker-Open/GPRS_C_SDK/blob/master/README_EN.md

https://ai-thinker-open.github.io/GPRS_C_SDK_DOC/en/

I can't event boot it up: if I connect to PC using USB, two blue LEDs shortly blink, then nothing.
No new serial port detected.
I read that it should just start as soon as I connect USB, isnt't this correct?


The question about dual port ram 1024x32 mode of frac_mem_32k.v

Hi,
While I was reading the frac_mem_32k.v file, I noticed something in line 161. It is dpram 1024x32 mode of the module but it does not use we_b for writing data_b to ram_b. If it is a dpram, I think it should use we_b input to read and write from data_b, separate from we_a. Am I wrong?

@yunuseryilmaz18 This is a bug, which have been fixed already. Please check #849


get v2 book list locally and add greek

The books'repos can now be located outside of progit2 organization.

Answering my own questions with some commits: yes, we can drop repo_name, and yes, the xref stuff was debugging cruft and we can drop similar appendix lines, too.

I also added in a link to the Greek translation from the book navbar (which for some reason exists in two near-identical files...?).
So I think it's good to go.

Thanks for all the fixes. Prepare to acces more languages, Some translators have been waiting for a while.


V0.6

Description

Motivation and Context

Fixes #
How Has This Been Tested?

Checklist:

[] I have added a Signed-off-by.
[] I have either added documentation to cover my changes or this change requires no new documentation.
[] I have either added unit tests to cover my changes or this change requires no new tests.
[] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

Signed-off-by:

Thank you for your contribution! This is a read only mirror, however. Please submit your change using gerrit.
you would need to check out the repo here: https://gerrit.hyperledger.org/r/#/admin/projects/fabric and make your edits, pushing them to gerrit
here is a walkthrough for zephyrproject which is much the same WRT setting up an LFID, adding ssh keys, etc:
https://www.zephyrproject.org/doc/1.1.0/collaboration/code/gerrit_accounts.html
feel free to ask on slack - https://chat.hyperledger.org/ - I'm @ry there, feel free to ask me directly, or discuss in #fabric
one note: when you set up your LFID do not use social logins the first time, create the account and you can add social logins later

Sorry was trying to clone local to play with some changes still trying to
figure out Git
Shane
From:  Ry Jones<EMAIL_ADDRESS>Reply-To:  hyperledger/fabric
<reply+0015e1e8726126d6836f3b7f0d539e64c963f386728bb3cb92cf0000000114c595ac9
<EMAIL_ADDRESS>Date:  Wednesday, February 22, 2017 at 1:08 PM
To:  hyperledger/fabric<EMAIL_ADDRESS>Cc:  "L. Shane Neighbors"<EMAIL_ADDRESS>Author
<EMAIL_ADDRESS>Subject:  Re: [hyperledger/fabric] V0.6 (#27)
Thank you for your contribution! This is a read only mirror, however. Please
submit your change using gerrit.
you would need to check out the repo here:
https://gerrit.hyperledger.org/r/#/admin/projects/fabric and make your
edits, pushing them to gerrit
here is a walkthrough for zephyrproject which is much the same WRT setting
up an LFID, adding ssh keys, etc:
https://www.zephyrproject.org/doc/1.1.0/collaboration/code/gerrit_accounts.h
tml
feel free to ask on slack - https://chat.hyperledger.org/ - I'm @ry
https://github.com/ry  there, feel free to ask me directly, or discuss in
#fabric
one note: when you set up your LFID do not use social logins the first time,
create the account and you can add social logins later

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/fabric/pull/27#issuecomment-281752196 , or
mute the thread
<https://github.com/notifications/unsubscribe-auth/ABXh6NNWhDLvcD1SucJGI5lQm
NF6T88Mks5rfHmsgaJpZM4MI_Zb> .
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4b
b","name":"GitHub"},"entity":{"external_key":"github/hyperledger/fabric","ti
tle":"hyperledger/fabric","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143
418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"h
ttps://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6
-9aed-b52498112777.png","action":{"name":"Open in
GitHub","url":"https://github.com/hyperledger/fabric"}},"updates":{"snippets
":[{"icon":"PERSON","message":"@rjones-lf in #27: Thank you for your
contribution! This is a read only mirror, however. Please submit your change
using gerrit.\r\n\r\nyou would need to check out the repo here:
https://gerrit.hyperledger.org/r/#/admin/projects/fabric and make your
edits, pushing them to gerrit\r\n\r\nhere is a walkthrough for zephyrproject
which is much the same WRT setting up an LFID, adding ssh keys,
etc:\r\nhttps://www.zephyrproject.org/doc/1.1.0/collaboration/code/gerrit_ac
counts.html\r\n\r\nfeel free to ask on slack - https://chat.hyperledger.org/

I'm @ry there, feel free to ask me directly, or discuss in
#fabric\r\n\r\none note: when you set up your LFID do not use social logins
the first time, create the account and you can add social logins
later"}],"action":{"name":"View Pull
Request","url":"https://github.com/hyperledger/fabric/pull/27#issuecomment-2
81752196"}}}

@rjones-lf Hi, I just wanted to let you know that you're summoning me every time you use "@ry" which seems to be relatively often...


Strange error when I try to use tf.roll in a custom loss function

Hello, I would love if anyoen could point me  in a good direction to find why I am getting the following error when I try to use a custom loss function like:
def lfunction(y_true, y_pred):
mask = K.variable(np.array([1.0,0.0,0.0,0.0,0.0]))
squared = (y_true - y_pred)**2
mass_mal_to_bk = tf.roll(y_pred,1,axis=1)*mask
add_mass_mal_to_bk = y_true * mass_mal_to_bk
return squared + add_mass_mal_to_bk
The error I get is this:"
tensorflow.python.framework.errors_impl.FailedPreconditionError:  Error while reading resource variable _AnonymousVar84 from Container: localhost. This could mean that the variable was uninitialized. Not found: Resource localhost/_AnonymousVar84/class tensorflow::Var does not exist.
[[node loss/predictions_loss/batata/mul/ReadVariableOp (defined at C:\Users\tiago\Anaconda3\envs\Aqula36\lib\site-packages\keras\backend\tensorflow_backend.py:3009) ]] [Op:__inference_keras_scratch_graph_10394]
Sorry to bother with that, but the message  gives me no clue on what is going on.

@TStein81,
In order to reproduce the issue reported here, could you please provide the TensorFlow version, the complete code and the dataset you are using. Thanks!


details window UI

1st of all: magnificent work, this thing is amazing.
the detail window (opened by pressing keypad 1) is much bigger than it needs to be
it has a ton of white space and a very big font, plus it can't scroll with the mousewheel which makes it umcomfortable to use.
I would recommend reducing the font size and shrinking down the layout as much as possible.
Adding mousewheel scrolling or resizable window would be a nice-to-have touch, also: every time a new popup is spawned all the others reset to the center of the screen
I'd imagine keeping 2 or 3 of those windows open on the side while playing.
again: really great stuff!

You must play at a very different resolution than I do (the text is just large enough to comfortably read on my laptop!). I'll see if there's a good way to make the size controllable.

Ok, a few updates here:

It turns out scrolling works, but only if you hover the mouse over the scroll bar specifically. This is a TTS thing and I have no way to make it any better unfortunately.
I've fixed the issue where the UI windows reposition themselves on load, and simultaneously fixed an issue where one player repositioning the window for a unit would reposition it for other players as well
It's not the most usable solution, but I've added "Advanced Options" to the upload page where you can set the UI size. Making the UI resizable in-game proved exceedingly difficult, so this will hopefully help you out in the short term. I also made the default size a bit smaller than it was before.

I'm going to close this issue because I don't really see myself making a ton more progress on the things you've mentioned here without more info. If you have any other ideas for improvements please open a new issue. I really appreciate the feedback!

So it turns out that the performance cost for the changes that make the windows consistently stay in place is way too much for a bunch of clients. Going to have to revert this behavior to resetting window positions whenever a new one is opened. Going to re-open this ticket as a reminder to myself to think of some new, better way to handle it.

no biggie
would it be possible to spawn the datasheets generated as cards on the table?
I think I would prefer it to the UI popups actually (especially if they are cards that can be drawn into the player's hand, and zoomed in by holding ALT)


Performance: Remove Start And End time from metrics tables

Remove start and end time to decrease datatable content to improve page loading performance

Commit: https://github.com/adiralashiva8/robotframework-metrics/commit/9116e1573d5fe86dc1d2f98397d8d3903597f182


[firebase_core] Updated documentation for FirebaseOptions.apiKey

Description
Due to changes in the newest version of firebase-ios-sdk plugin, now FirebaseOptions.apiKey is required also on iOS. Not passing this property in the Dart code results with an error:
Could not configure Firebase Installations due to invalid FirebaseApp options. The following parameters are nil or empty: `FirebaseOptions.APIKey`

Link to the change in iOS plugin: https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseInstallations/Source/Library/FIRInstallations.m#L127
Link to the PR with change: https://github.com/firebase/firebase-ios-sdk/pull/4683
Checklist

[X] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[X] If the pull request affects only one plugin, the PR title starts with the name of the plugin in brackets (e.g. [cloud_firestore])
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[X] All existing and new tests are passing.
[X] I updated/added relevant documentation (doc comments with ///).
[X] The analyzer (flutter analyze) does not report any problems on my PR.
[X] I read and followed the [Flutter Style Guide].
[ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[ ] I updated CHANGELOG.md to add a description of the change.
[X] I signed the [CLA].
[X] I am willing to follow-up on review comments in a timely manner.

Breaking Change

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[X] No, this is not a breaking change.

Hey @pszklarska - thank you for sending this contribution 🎉 . Our firebase_core rework has now landed on master via #2890 which unfortunately now supersedes this PR - we hope to start publishing preview releases to test out next week.


duplicated with element declared at AndroidManifest.xml

hello everyone i have a problem which is the following when i run
--> ionic run android
`
:processDebugManifest
/home/mmask/Desktop/Ionic2_Apps/Check-in/platforms/android/AndroidManifest.xml:16:9-104 Error:
Element meta-data#com.facebook.sdk.ApplicationId at AndroidManifest.xml:16:9-104 duplicated with element declared at AndroidManifest.xml:12:9-102
/home/mmask/Desktop/Ionic2_Apps/Check-in/platforms/android/AndroidManifest.xml Error:
Validation failed, exiting
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:processDebugManifest FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':processDebugManifest'.

Manifest merger failed with multiple errors, see logs

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 36.179 secs
Error: /home/mmask/Desktop/Ionic2_Apps/Check-in/platforms/android/gradlew: Command failed with exit code 1 Error output:
/home/mmask/Desktop/Ionic2_Apps/Check-in/platforms/android/AndroidManifest.xml:16:9-104 Error:
Element meta-data#com.facebook.sdk.ApplicationId at AndroidManifest.xml:16:9-104 duplicated with element declared at AndroidManifest.xml:12:9-102
/home/mmask/Desktop/Ionic2_Apps/Check-in/platforms/android/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':processDebugManifest'.

Manifest merger failed with multiple errors, see logs

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

`
and this is AndroidManifest.xml
`

`

Can't see your AndroidManifest.xml, please properly escape your code...

I just ran into the same issue building after updating from v6.0.1 to v6.0.6.

:processReleaseManifest
C:\development\Mobile\platforms\android\AndroidManifest.xml:13:9-18:20 Error:
Element activity#com.google.zxing.client.android.CaptureActivity at AndroidManifest.xml:13:9-18:20 duplicated with element declared at AndroidManifest.xml:11:9-311
C:\development\Mobile\platforms\android\AndroidManifest.xml Error:
Validation failed, exiting

<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="com.example.example" xmlns:android="http://schemas.android.com/apk/res/android">
    <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
    <application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true">
        <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:screenOrientation="landscape" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
            <intent-filter android:label="@string/launcher_name">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:clearTaskOnLaunch="true" android:configChanges="orientation|keyboardHidden|screenSize" android:exported="false" android:name="com.google.zxing.client.android.CaptureActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden" />
        <activity android:label="Share" android:name="com.google.zxing.client.android.encode.EncodeActivity" />
        <activity android:clearTaskOnLaunch="true" android:configChanges="orientation|keyboardHidden|screenSize" android:exported="false" android:name="com.google.zxing.client.android.CaptureActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden">
            <intent-filter>
                <action android:name="com.google.zxing.client.android.SCAN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.RECORD_VIDEO" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.FLASHLIGHT" />
    <uses-feature android:name="android.hardware.camera" android:required="true" />
</manifest>

I found that after removing the plugin

phonegap plugin rm phonegap-plugin-barcodescanner

The following element remained in AndroidManifest.xml and would be added again on each build attempt.
<activity android:clearTaskOnLaunch="true" android:configChanges="orientation|keyboardHidden|screenSize" android:exported="false" android:name="com.google.zxing.client.android.CaptureActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden">
            <intent-filter>
                <action android:name="com.google.zxing.client.android.SCAN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

I deleted the top level AndroidManifest.xml  as well as the same file from

...\platforms\android\build\intermediates\manifests\full\release

and

...\platforms\android\build\intermediates\manifests\full\debug

I also deleted the android.json file from

...\platforms\android

I was then able to install the latest version of the plugin and build successfully.

@MMAANNSS so the problem has gone away after removing and re-adding the platform?

Yeah, I initially tried just removing the extra element from AndroidManifest.xml but it gets put back in there if you don't get rid of it everywhere.

I still have this problem. The steps of jbankester to delete the manifest and install the plugin again and build for Android did not work. Does anyone else have a solution?

Error: cmd: Command failed with exit code 1 Error output: F:\workspace\app-jzt\platforms\android\AndroidManifest.xml:131:5-65 Error:         Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:131:5-65 duplicated with element declared at AndroidManifest.xml:130:5-90 F:\workspace\app-jzt\platforms\android\AndroidManifest.xml:132:5-60 Error:         Element uses-feature#android.hardware.camera at AndroidManifest.xml:132:5-60 duplicated with element declared at AndroidManifest.xml:128:5-85 F:\workspace\app-jzt\platforms\android\AndroidManifest.xml Error:         Validation failed, exiting

@MMAANNSS Hi, I'm having the same issue with "duplicated element declared at AndroidManifest.xml" after I've installed this barcode scanner. But for my case, there's multiple permission request on Camera and the cause of this issue is having cordova-plugin-qrscanner and phonegap-plugin-barcodescanner installed and both of the plugins is requesting the same permission. After I've removed the cordova-plugin-qrscanner everything went smooth.

Does this mean it is not possible to have multiple plugins that use the camera as part of a single cordova app, Even if the app does not use both plugins at the same time?  Simply because they both need to ask for the same permission?

I have the same issue and it seems to be caused of that I use two plugins that both uses the feature camera, but one also requires it.
    <uses-feature android:name="android.hardware.camera" />
    <uses-feature android:name="android.hardware.camera" android:required="true" />

So is the issue that it does not reconize that the  use feature is there already since it uses the required =true flag?

@atlesp I got exactly the same problem. Cordova is also generating those two lines in my app and i can not get it to build anymore. Did you already find a solution other than removing one of the plugins? Removing a plugin is not an option for me.

@derrohrbach I did not find a solution. Since my app is only targeting IOS, this wa not a blocker for me.
I guess this is a bug in cordova, and not this plugin. A possible hack solution could be to clone this repo and remove the "android:required="true"" from this plugin  (see https://github.com/phonegap/phonegap-plugin-barcodescanner/blob/master/plugin.xml), but not sure if it wll work.

Not a great or long term solution but you can fork one of the projects and changes android:required="" to match the other.  I did it here for my use case and it seems to work okay.  I'd ❤ to know the status of a fix in Cordova though.
https://github.com/iParqDevelopers/cordova-plugin-flex-camera/commit/a96d219800878bbe741e65db2a121f651808e19c

Seems like more an issue with cordova rather than this plugin. If someone has some quick reproduction steps can they share? Maybe something like:
phonegap create scanner
cd scanner
phonegap plugin add phonegap-plugin-barcodescanner
phonegap plugin add some-other-plugin
phonegap plugin remove ...
...
computer explodes

I (or that person) can then create an issue in the cordova jira

@wildabeast First off: Thx for your patience
The conflict in my App is between phonegap-plugin-barcodescanner and cordova-plugin-scanbot-sdk.
You just have to add those plugins and try to build the android app, to reproduce this issue.
Alternatively you could also try cordova-plugin-qrscanner instead of the scanbot-sdk.

What phonegap version are you running? This compiled successfully for me for me:
phonegap -version
6.4.6
phonegap create scannertest --template blank
phonegap plugin add phonegap-plugin-barcodescanner
phonegap plugin add cordova-plugin-qrscanner # scanbot-sdk also worked
phonegap platform add android
phonegap build android

I am running cordova in version 7.0.1.
If I run exactly those commands but using cordova instead of phonegap, then i get the following error message:
Error: cmd: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
C:\Users\marvi\Desktop\Projekte\scannertest\platforms\android\AndroidManifest.xml:19:5-65 Error:
        Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:19:5-65 duplicated with element declared at AndroidManifest.xml:16:5-90
C:\Users\marvi\Desktop\Projekte\scannertest\platforms\android\AndroidManifest.xml:21:5-84 Error:
        Element uses-feature#android.hardware.camera at AndroidManifest.xml:21:5-84 duplicated with element declared at AndroidManifest.xml:17:5-85
C:\Users\marvi\Desktop\Projekte\scannertest\platforms\android\AndroidManifest.xml Error:
        Validation failed, exiting

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed with multiple errors, see logs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Thanks, managed to reproduce with 7.0.1. It looks like this problem has been reported a couple of times in one form or the other in the Cordova Jira, with no firm solution. So I guess we're in a "wait / hope it gets fixed" status.
A temporary solution would be forking one of the plugins and removing the problematic permissions/features, and let them be injected by the other plugin, or creating a hook which fixes the manifest for you before building.

After scratching my head over this for 2 days, I finally switched to this plugin and things have worked well since then.
cordova plugin add phonegap-plugin-barcodescanner
Details:
https://www.sitepoint.com/scanning-qr-code-cordova/
Note: cordova-plugin-barcodescanner kept giving errors in Android, but phonegap-plugin-barcodescanner worked.

Removing and adding again android platform
Worked for me

@afficionaddo it's not working for me, it give me the following issue
/platforms/android/src/com/phonegap/plugins/barcodescanner/BarcodeScanner.java:179: error: cannot find symbol intentScan.putExtra(Intents.Scan.SHOW_FLIP_CAMERA_BUTTON, obj.optBoolean(SHOW_FLIP_CAMERA_BUTTON, false));


Parses flow type cast expression with parenthesis in call expression correctly

Q
A

Bug fix?
yes

Breaking change?
no

New feature?
no

Deprecations?
no

Spec compliancy?
yes

Tests added/pass?
yes

Fixed tickets
#413

License
MIT

By the way, now the async arrow expression is not parsed from call expression any more. Instead, check if async is a keyword or function name there. Then decides to parse call expression arguments or function params.

It is almost certainly possible to fix this without using parser lookahead. See https://github.com/wcjohnson/babylon-lightscript/commit/322842abe7b9fd0ece731eaa2238edeaaa315876 for an outline of an approach.
Basic outline:

parse from within parenLists as TypeCastish
only convert to TypeCastExpression from within parseParenAndDistinguishExpression
lvalue conversion converts TypeCastish into the correct annotations
if TypeCastish is seen anywhere else, raise an unexpected type cast error

We moved babylon back into the monorepo at https://github.com/babel/babel/tree/master/packages/babylon.
Unfortunately pull requests cannot be migrated between repositories automatically. If this PR is still valid please reopen it there.
Thanks for your effort.


Customizing Font Styling in Tamagui Components Using tamagui.config.ts

I am attempting to customize the font styling of Tamagui's default components (such as H1, Button, etc.) in my React Native project. Specifically, I want to modify the font family and font weight for these components directly from my tamagui.config.ts file. However, the existing documentation is somewhat unclear, and my attempts have not yielded the expected results.
A suggestion would be to add a full working example on how to create a custom font and skip //... or point to a full object for reference. I would be happy help with this once I understand how this works.
To illustrate, consider the following scenarios:

Customizing H1 Component: When I import the H1 component from Tamagui, I want to apply a predefined font family and font weight on top of the default styling. I expect this to work by setting multiple fonts in the configuration file and then referencing the font name, like fontFamily="$heading". However, this doesn't seem to apply the desired styles. Is explicitly defining fontFamily necessary, even for heading tags (H)?

Default Styling: I would like to set default styles for certain components, such as H1. For instance, a plain H1 (or any H) component, with no additional props and imported directly from Tamagui, should use my custom font and font weight for headings. This configuration should be achievable via the tamagui.config.ts file.

Button Component: Similarly, I'd like to ensure all Button (or any other) components have a specific font weight or styling by default based on my config file and imported directly from Tamagui.
Then for any other variants, I can create a styled component.

Is it possible to accomplish these customizations solely using the tamagui.config.ts file? If not, could you please guide me on how to achieve this?
For reference, here is my current configuration file (I've confirmed that the fonts are correctly imported via Expo and fully loaded before use):
const tamaguiConfig = createTamagui({
  themes: {
    ...themes,
    brandLight,
    brandDark
  },
  tokens,
  animations,
  shorthands,
  defaultTheme: "light",
  themeClassNameOnRoot: false,
  shouldAddPrefersColorThemes: false,
  fonts: {
    heading: headingFont,
    body: bodyFont
  },
  media: createMedia({
    xs: { maxWidth: 660 },
    sm: { maxWidth: 800 },
    md: { maxWidth: 1020 },
    lg: { maxWidth: 1280 },
    xl: { maxWidth: 1420 },
    xxl: { maxWidth: 1600 },
    gtXs: { minWidth: 660 + 1 },
    gtSm: { minWidth: 800 + 1 },
    gtMd: { minWidth: 1020 + 1 },
    gtLg: { minWidth: 1280 + 1 },
    short: { maxHeight: 820 },
    tall: { minHeight: 820 },
    hoverNone: { hover: "none" },
    pointerCoarse: { pointer: "coarse" }
  })
});

This is how im currently creating fonts
 createFont({
    family: "Manrope",
    lineHeight,
    weight: fontWeight,
    letterSpacing,
    size: sizes,
    face: {
      100: { normal: "Manrope-ExtraLight" },
      200: { normal: "Manrope-ExtraLight" },
      300: { normal: "Manrope-Regular" },
      400: { normal: "Manrope-Medium" },
      500: { normal: "Manrope-Medium" },
      600: { normal: "Manrope-SemiBold" },
      700: { normal: "Manrope-Bold" },
      800: { normal: "Manrope-ExtraBold" },
      900: { normal: "Manrope-ExtraBold" }
    },
    ...overrides
  })

Any guidance or clarification would be greatly appreciated.

hi friend, and how do you fix this problem? appreciated.

I did not, but this is more of a question/discussion rather than an issue. That's why I closed it.
Ended up just creating my own version of each component using styled

@osejrafael I was confused, I config my theme by tamagui.config.ts in packages/ui which create by starter monorepo template. and it does not work.

import { createTamagui, createTheme, createTokens } from 'tamagui'
import { createInterFont } from '@tamagui/font-inter'
import { shorthands } from '@tamagui/shorthands'
import { themes as defaultThemes, tokens as defaultTokens } from '@tamagui/themes'
import { createMedia } from '@tamagui/react-native-media-driver'

import { animations } from './animations'

// modified start
const tokens = createTokens({
  ...defaultTokens,
  color: {
    ...defaultTokens.color,
    primary: '#F78F21',
  },
})

const themes = {
  light: createTheme({
    ...defaultThemes.light,
    primary: tokens.color.primary,
  }),
  dark: createTheme({
    ...defaultThemes.dark,
    primary: tokens.color.primary,
  }),
}
// modified end

const headingFont = createInterFont({
  size: {
    6: 15,
  },
  transform: {
    6: 'uppercase',
    7: 'none',
  },
  weight: {
    6: '400',
    7: '700',
  },
  color: {
    6: '$colorFocus',
    7: '$color',
  },
  letterSpacing: {
    5: 2,
    6: 1,
    7: 0,
    8: -1,
    9: -2,
    10: -3,
    12: -4,
    14: -5,
    15: -6,
  },
  face: {
    700: { normal: 'InterBold' },
  },
})

const bodyFont = createInterFont(
  {
    face: {
      700: { normal: 'InterBold' },
    },
  },
  {
    sizeSize: (size) => Math.round(size * 1.1),
    sizeLineHeight: (size) => Math.round(size * 1.1 + (size > 20 ? 10 : 10)),
  }
)

export const config = createTamagui({
  animations,
  shouldAddPrefersColorThemes: true,
  themeClassNameOnRoot: true,
  shorthands,
  fonts: {
    heading: headingFont,
    body: bodyFont,
  },
  themes,
  tokens,
  media: createMedia({
    xs: { maxWidth: 660 },
    sm: { maxWidth: 800 },
    md: { maxWidth: 1020 },
    lg: { maxWidth: 1280 },
    xl: { maxWidth: 1420 },
    xxl: { maxWidth: 1600 },
    gtXs: { minWidth: 660 + 1 },
    gtSm: { minWidth: 800 + 1 },
    gtMd: { minWidth: 1020 + 1 },
    gtLg: { minWidth: 1280 + 1 },
    short: { maxHeight: 820 },
    tall: { minHeight: 820 },
    hoverNone: { hover: 'none' },
    pointerCoarse: { pointer: 'coarse' },
  }),
})


'Ctrl + R' doesn't take effect in the explorer of ADLS Gen2 blob containers/file shares

Storage Explorer Version: 1.29.0-dev
Build Number: 20230221.6
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.2.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.23.1)
Steps to Reproduce

Expand one ADLS Gen2 storage account -> Blob Containers.
Open one blob container.
Trun on the Caps Lock -> Press 'Ctrl + R'.
Check whether the blob explorer is refreshed or not.

Expected Experience
The blob explorer is refreshed.
Actual Experience
The blob explorer is not refreshed.
Additional Context
This issue doesn't reproduce for regular blob containers/queues/tables.

When caps lock is enabled, on Windows the event.key becomes the uppercase letter ('r' -> 'R').

@v-xianya Please verify again. A change should have been merged by now.

@craxal , verified this issue on the build main/20230403.1, it doesn't reproduce for file shares, but it still reproduces for ADLS Gen2 blob containers.

Verified this issue on the build main 20230413.5. Fixed. So, we are going to close it.


[Help] Intended use case of "access list" field type

I recently noticed the "access list" field type, and was hoping you might explain how it's supposed to work. For a moment, I was very excited because I thought you had added a way to provide per-entry overrides of collection-level permissions. I attempted a basic test though and it didn't seem to do what I was hoping.

Hi Gryphon,
the access list is just a field type to select groups and users. what you're doing with the data, is then up to you.
BUT...
I think what you're looking for are the "programmatic" access rules you can do in the collections settings:

so what I'm doing here is extending any read query going against the post collection. in that special case I check whether we have a logged in user and if yes I extend the query by adding my additional query condition.
So, if a user isn't in the admin group he'll always only get items he created.


Constraint#checkUndefined() method is very expensive

Currently running this in a batch mode in a loop and with profiling it looks like #checkUndefined() (in Constraints/Constraint.php) is the method that most time is spent in.
Is there any possibility of speeding this up? For now, with this batch operation, I will have to use alternative ways of validating.

There is a huge space for performance improvement.
For example see this - https://github.com/justinrainbow/json-schema/pull/331
But looks like it's not possible without major changes, e.g breaking Constraint methods signatures.


Add parsing for labels

seems like the linting check is complaining about the same thing as me, but should be good to merge after that's fixed


Wysiwyg-e

WYSIWYG editor (using "wysiwyg-e") - Issue #52 .
There might be some BIG issues because of Shadow DOM so I'm open to suggestions.
Example:

That "this.$.updateInsert.contains(target)" is from the source code of wysiwyg-e and it's suppose to return true in that example in order to work properly.
I'm stuck, any suggestions are welcome. @warpech @Mackiovello

No need for a review since has that problem with images.

Okay. Please tell me when you want the review

Closing as no longer relevant.


Format-Hex: Improve mixed-collection piped input and piped streams of input

/cc @iSazonov
PR Summary
Refactoring & Streamed Input Support

Handles continuous data stream input as a single input stream, and will display it in the same manner for both Format-Hex -InputObject $byteArray and $byteArray | Format-Hex

This includes arrays / streams of all basic value types.

Handles heterogenous streams of input by treating each input item as a discrete item to display.

Piping in arrays of items, strings, or mixed-type items will trigger this behaviour. Each string or array will be displayed as a single formatted "item".

Additional tests have been added to cover this behaviour.
Examples
PS> "Hello", "world" | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   48 65 6C 6C 6F                                   Hello

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   77 6F 72 6C 64                                   world

PS> [byte[]]@(1..255) | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10  ................
00000000000000000010   11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20  ...............
00000000000000000020   21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30  !"#$%&'()*+,-./0
00000000000000000030   31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40  123456789:;<=>?@
00000000000000000040   41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50  ABCDEFGHIJKLMNOP
00000000000000000050   51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60  QRSTUVWXYZ[\]^_`
00000000000000000060   61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70  abcdefghijklmnop
00000000000000000070   71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80  qrstuvwxyz{|}~
00000000000000000080   81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90
00000000000000000090   91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0
000000000000000000A0   A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0  ¡¢£¤¥¦§¨©ª«¬®¯°
000000000000000000B0   B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0  ±²³´µ¶·¸¹º»¼½¾¿À
000000000000000000C0   C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0  ÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐ
000000000000000000D0   D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0  ÑÒÓÔÕÖ×ØÙÚÛÜÝÞßà
000000000000000000E0   E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0  áâãäåæçèéêëìíîïð
000000000000000000F0   F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF     ñòóôõö÷øùúûüýþ.

PS> "hello", 1, 2, 3 | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   68 65 6C 6C 6F                                   hello

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   01 00 00 00                                      ....

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   02 00 00 00                                      ....

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   03 00 00 00                                      ....

PS> 1, 2, 3, 4, 5 | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00  ................
00000000000000000010   05 00 00 00                                      ....

PS> [char[]]@("a","b","c","d") | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   61 62 63 64                                      abcd

PR Context
Format-Hex needs a bit more versatility and to be able to handle piped input in a more effective manner.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] to your commit messages if the change is significant or affects feature tests

Ping @PaulHigin for review. 😃

@vexx32 I reviewed this again. I think we could close the PR as controversial and continue the discussion in an issue:

Handles continuous data stream input as a single input stream

I doubt it is necessary. Perhaps this is exactly what users want in some scenarios.

Handles heterogenous streams of input by treating each input item as a discrete item to display

Looks useful in all scenarious.

@vexx32 Please resolve the merge conflict. I think we need rebase to get latest CIs updates.

@iSazonov done and done. Let's see how CI runs fare. 😄

@anmenaga ping for review. 🙂

@anmenaga any chance you have a minute to review this one sometime next week? 😊

@iSazonov @JamesWTruher please indicate if you this that this PR is/not ready.
@vexx32 This will need documentation updates; please file an issue in doc repo and link it here. BTW, good job on writing detailed PR summary with examples - very helpful.

There is a request https://github.com/PowerShell/PowerShell/pull/8674#discussion_r262639191 to get more feedback.

The proposed formatting of heterogeneous input looks fine to me

Are you referring to this one, @SteveL-MSFT? Or the one in the PR description that I was originally proposing?

For reference, this is what the relevant examples from the PR description would look like with the recent proposal:
PS> "hello", "world", "line", "line" | Set-Content $File
PS> Get-Content $File | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   48 65 6C 6C 6F                                   Hello
----------------------------------------------------------------------------------
00000000000000000000   77 6F 72 6C 64                                   world
----------------------------------------------------------------------------------
00000000000000000000   6C 69 6E 65                                      line
----------------------------------------------------------------------------------
00000000000000000000   6C 69 6E 65                                      line

PS>  Get-Content $File -Raw | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   68 65 6C 6C 6F 0D 0A 77 6F 72 6C 64 0D 0A 6C 69  hello..world..li
00000000000000000010   6E 65 0D 0A 6C 69 6E 65 0D 0A                    ne..line..

PS> "Hello", "world" | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   48 65 6C 6C 6F                                   Hello
----------------------------------------------------------------------------------
00000000000000000000   77 6F 72 6C 64                                   world

PS> [byte[]]@(1..255) | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10  ................
00000000000000000010   11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20  ...............
00000000000000000020   21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30  !"#$%&'()*+,-./0
00000000000000000030   31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40  123456789:;<=>?@
00000000000000000040   41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50  ABCDEFGHIJKLMNOP
00000000000000000050   51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60  QRSTUVWXYZ[\]^_`
00000000000000000060   61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70  abcdefghijklmnop
00000000000000000070   71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80  qrstuvwxyz{|}~�
00000000000000000080   81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90
00000000000000000090   91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0
000000000000000000A0   A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0  ¡¢£¤¥¦§¨©ª«¬®¯°
000000000000000000B0   B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0  ±²³´µ¶·¸¹º»¼½¾¿À
000000000000000000C0   C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0  ÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐ
000000000000000000D0   D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0  ÑÒÓÔÕÖ×ØÙÚÛÜÝÞßà
000000000000000000E0   E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0  áâãäåæçèéêëìíîïð
000000000000000000F0   F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF     ñòóôõö÷øùúûüýþ.

PS> "hello", 1, 2, 3 | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   68 65 6C 6C 6F                                   hello
----------------------------------------------------------------------------------
00000000000000000000   01 00 00 00                                      ....
----------------------------------------------------------------------------------
00000000000000000000   02 00 00 00                                      ....
----------------------------------------------------------------------------------
00000000000000000000   03 00 00 00                                      ....

PS> [char[]]@("a","b","c","d") | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   61 62 63 64                                      abcd

PS> 1, 2, 3, 4, 5 | Format-Hex

                       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000000000000000   01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00  ................
00000000000000000010   05 00 00 00                                      ....

For the last example, I'm not sure if I'd want it to group those? For [char] or [byte] input, that would make sense I think, but I don't think grouping other types of objects would really make sense (at least by default)

Additional note since I'm looking at potentially revamping the overall formatting:
The byte-offset counter has a width of 20 characters, and it's in hexadecimal as well. 16^20 bytes is (I think) a yottabyte (1,073,741,824 petabytes).
I don't think we'll ever need that for this cmdlet, so we should probably reduce that down to.... maybe 8? Which would give us byte offsets for any file 4GB and smaller. If we go to 10 digits for the offset, we can get up to 1024 GB files without overflowing the offset. 10 is probably plenty.
Otherwise we're just wasting console space. 🙂

I don't think we'll ever need that for this cmdlet, so we should probably reduce that down to.... maybe 8? Which would give us byte offsets for any file 4GB and smaller.

My thoughts was about ReFS file system. It allows files with huge size. If user want to look a block near end of such file he/she now can do this. I enhanced all parameters for such scenarios.

Sure, that's definitely worth keeping. But the amount of offset is still too extreme. I don't think anyone in the universe will ever have a file that large, that's how big that number is.
I think 1TB is more than enough allowable space for a single file.

([Uint64]::MaxValue.tostring()).length
20

We're rendering the byte offset as hex as well, from what I saw. 16 chars in hexadecimal. :)

It is bug in the formatting.

@vexx32 this seems fine to me.  Since this is strictly formatting, we can adjust in the future based on feedback

Sounds good! I'll look to clean this up this week sometime then and have it ready for you guys. ^^

I've been too busy to take care of this of late, my apologies. Apart from @iSazonov's suggestions, there is one other thing I need to figure out here; currently, it appears that the formatting definition code isn't taking for the ByteCollection type, it's being ignored and the objects are being output as string data instead. Not sure exactly why, I need to take some time today or this weekend to look at it and get it cleaned up.
After that we should be good to go. Sorry about the delay on my end here. 💖

Got sidetracked finishing up Test-Connection on the weekend; will get back to this during this week. 🙂

@vexx32 Also please update the PR description and example - this very helps (I already forget details about the PR :-) )

@isazonov yeah, will do, no worries. :)

@iSazonov and @SteveL-MSFT I will be updating the PR description and tests tomorrow. In the meantime, here's a few samples of what this PR has been aiming to do, pulled directly from a bit of interactive testing with the latest build. 🙂

Of course, non-pipeline parameter sets all work, as well as pipeline ones. Basically this allows Format-Hex to be able to handle just about any sensible input you can throw at it and still work essentially perfectly. You can combine arbitrary input with -Offset and Count, and whatever else you'll need. 😊

@iSazonov updated tests to account for behavioural changes and updated the PR description to hopefully clarify what's going on. If anything still isn't clear, please let me know! 💖

@PoshChan please retry macos

@vexx32, successfully started retry of PowerShell-CI-macOS

@PoshChan Please remind me in 1 day

@iSazonov, this is the reminder you requested 1 day ago

@SteveL-MSFT @TravisEz13 @rkeithhill  The PR is ready for final code review.

@PoshChan please retry static

@vexx32, successfully started retry of PowerShell-CI-static-analysis

Oh, I guess MSDN is down for a bit. 😄

retried the URL check

Added doc issue reference to PR template: https://github.com/MicrosoftDocs/PowerShell-Docs/issues/4532

@vexx32 Thank you!


Cannot compare arrays

Description
Aim
fn foo(a: [u8]) -> [u8] {
  a
}

fn main() {
  let b= foo([1,2]);
  constrain b == [1,2];
}

Expected behavior
no error
Bug
I get an error: error: Can only compare arrays of the same length. Here LHS is of length _, and RHS is 2
To reproduce
Nargo prove the provided snippet
Environment

OS: mainframe

For nargo users

noir-lang/noir commit cloned: latest master
Proving backend

[X] default

[ ] wasm-base

Noting from meeting that we will go with instead of ordering the functions:
fn main() {
  let b= foo([1,2]);
  constrain b == [1,2];
}

fn foo<N>(a: [u8; N]) -> [u8; N] {
  a
}


Has no exported Member errror

the Following exported members are missing

User  angularfire2/auth/auth.d.ts(4,10): error TS2305

app node_modules/angularfire2/firebase.app.module.d.ts(2,10):

database node_modules/angularfire2/firebase.app.module.d.ts(2,21):

when am trying to ng serve my application
settings
   {     "@angular/animations": "^5.2.0",     "@angular/common": "^5.2.0",     "@angular/compiler": "^5.2.0",     "@angular/core": "^5.2.0",     "@angular/forms": "^5.2.0",     "@angular/http": "^5.2.0",     "@angular/platform-browser": "^5.2.0",     "@angular/platform-browser-dynamic": "^5.2.0",     "@angular/router": "^5.2.0",     "angularfire2": "^5.0.0-rc.10",     "core-js": "^2.4.1",     "firebase": "^5.0.4",     "rxjs": "^5.5.6",     "zone.js": "^0.8.19"   }
App module file
`import { AngularFireModule } from 'angularfire2';
import { AngularFirestoreModule } from 'angularfire2/firestore';
import { AngularFireStorageModule } from 'angularfire2/storage';
import { AngularFireAuthModule } from 'angularfire2/auth';
import { environment } from '../environments/environment';
imports: [
AngularFireModule.initializeApp(environment.firebase),
AngularFirestoreModule,
AngularFireAuthModule,
AngularFireStorageModule

]`

I have the same issue, I tryed with "angularfire2": "5.0.0-rc.9" version and the compile errores are not showing up.
Anyone knows if that's an error with rc.10 release or found out why are that errors showing up?

Can you dump all the firebase and @firebase stuff in your package-lock? Seems like your NPM/yarn is fixated on a old/breaking version of @firebase/*-types or something; prior to rc.10 we used those libraries directly but the JS core team advised us they'd rather we not do that.

I have no problem with angular 6 and angularfire2@rc-10, everything is perfect. I can't reproduce your problem.
Can someone provide a minimum repo with error or just drop package.lock.json or yarn.lock.json ?
After that, can you try delete package.lock.json and yarn.lock.json then remove node_modules then reinstall everything ? maybe it will work.

Going to close, as it's unclear that an actual issue exists; other than bad versions of types sticking around in someone's local node_modules. Happy to reopen if we get a repro.


Update pledge cta

📲 What
Update pledge CTA by adding a separate context for late pledges and showing the "pledge immediately" string in a late pledge context.
Note: the bolding is currently a little off. I have a pr that fixes that submitted but not yet in staging, so this will be fixed the next time we make strings.
👀 See
Jira

Logged out
Logged in

✅ Acceptance criteria

[ ] Pledge immediately string shows in late pledge context and does not show for normal pledges

SwiftFormat found issues:

File
Rules

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:34:1
warning: (indent) Indent code in accordance with the scope level.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:91:1
warning: (indent) Indent code in accordance with the scope level.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:310:1
warning: (indent) Indent code in accordance with the scope level.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:321:1
warning: (indent) Indent code in accordance with the scope level.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:324:1
warning: (trailingCommas) Add or remove trailing comma from the last item in a collection literal.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:329:1
warning: (indent) Indent code in accordance with the scope level.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:338:1
warning: (consecutiveBlankLines) Replace consecutive blank lines with a single blank line.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:338:1
warning: (consecutiveSpaces) Replace consecutive spaces with a single space.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:338:1
warning: (spaceAroundOperators) Add or remove space around operators or delimiters.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:341:1
warning: (spaceAroundOperators) Add or remove space around operators or delimiters.

Kickstarter-iOS/Features/PledgeView/Views/PledgeViewCTAContainerView.swift:353:1
warning: (indent) Indent code in accordance with the scope level.

Library/PledgeViewContext.swift:87:1
warning: (indent) Indent code in accordance with the scope level.

Library/ViewModels/PledgeViewCTAContainerViewModel.swift:67:1
warning: (indent) Indent code in accordance with the scope level.

Library/ViewModels/PledgeViewCTAContainerViewModel.swift:68:1
warning: (consecutiveSpaces) Replace consecutive spaces with a single space.

Library/ViewModels/RewardsCollectionViewModel.swift:102:1
warning: (trailingSpace) Remove trailing space at end of a line.

Library/ViewModels/RewardsCollectionViewModel.swift:104:1
warning: (indent) Indent code in accordance with the scope level.

Library/ViewModels/RewardsCollectionViewModel.swift:105:1
warning: (indent) Indent code in accordance with the scope level.

  Generated by :no_entry_sign: Danger


Unit test : Could not load file or assembly 'Leadtools.Document.Writer, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=9cf889f53ea9b907' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Created console application for OCR with LeadTools SDK and it works fine.
Added unit test application and given reference of OCR project.
When unit test runs throwing an error. Could not load file or assembly 'Leadtools.Document.Writer, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=9cf889f53ea9b907' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Both the applications are created using .Net Framework 4.6.1

What does this have to do with AspNet Core?


Links Updates in Important Document Sections

I am interested.

Changed the new links directly from the firebase firestore.


Add secure conversations welcome screen skeleton

More info in each individual commit.
NOTE: If you want to test the functionality on your simulator/device, you need to go to Features.swift and add .secureConversations to the all array. This is a temporary feature flag that will be removed at the end of the task.

@dukhovnyi fixed the namespace 16fb9881c81b6f4e04d553a8c6a4538cb93d0ffc but I named it SecureConversations because it seems like that is the name of the feature

!merge


OpenSeadragon assumes pixels are square

This is the case for most measurements, but we may want to amend OpenSeadragon to support other aspect ratios. If Isee correctly, this means adjusting a variable called pixelDensityRatio to have different values in width and height directions.

We are presently working on a data viewer that would address this here: https://github.com/ContactEngineering/zoomdata


Too many open files crash

versions: 1.9.11, 1.9.12
I'm taking the latest versions of tippecanoe for a spin, rerunning some test sets I created a couple of months ago. These tests were dev experiments, searching for the best way to compile a large contours dataset into MBTiles. As such, I was experimenting with the 'Doing more' flags, such as coalescing and reversal, to see their effects.
In the latest 2 versions of tippecanoe, I am now getting a crash:
/tmp/index.KVKfnuY8: Too many open files

This crash occurs 100% of the time - no test runs complete successfully.
Through process of elimination, I found that it was the combination of the -P (multithreading), -ar (line direction reversal), and -Z -z (zoom) flags that caused the bug
Steps to Reproduce

use ogr2ogr to export a ~100MB contours dataset to GeoJSON
(optional) use jq to extract the features into line-delimited JSON

jq -c '.features[]' contours.json > contours_line.json
the crash occurs whether this step is performed or not

run tippecanoe with multithreading and reordering parameters

tippecanoe -Z13 -z16 -P -ar -o contours.mbtiles contours_line.json
my actual command: tippecanoe -f -P -Z13 -z16 -ac -ar -ao -o contours.mbtiles contours_line.json

This will crash reliably.
Workaround
I found that the bug did not occur if:

I did not use the -P flag, or
I did not use the -ar flag, or
I did not constrain the zoom levels with -Z13 -z16

I may revisit these test sets, to see if I even need -ar anymore. At the time, it was required to avoid segmentation faults, similar to this issue (https://github.com/mapbox/tippecanoe/issues/198).
Let me know if this isn't reproducible by anyone else, and I can host the 100MB GeoJSON somewhere for testing.

Oh no! I must have done the math wrong in https://github.com/mapbox/tippecanoe/pull/202, which uses a lot of simultaneous open files in the "reordering geometry" phase. @timiyay, what OS are you using? Can you tell me the output of ulimit -a so I can know how many file descriptors your system makes available? It would also be very useful to have a copy of your file for testing, although I'm surprised the same problem doesn't manifest with other files.

Also could you say how many CPUs your system has? The -P effect makes sense, because each additional threads consumes file descriptors for its index, metadata, geometry, and string pool. I don't know why -ar should make a difference. -z16 might have an effect because it means it will skip over some zoom levels, so the zoom level 0 pass will consume more temporary files than if it were just producing zoom level 1.

@ericfischer
I haven't tested on all of my files yet, as it has taken me a while to iterate on this single one. I'll update the issue with the results of other files, and see if it's just one files.
I'm on OSX El Capitan 11.4, on an early 2011 Macbook Pro 15". It has an Intel Core i7 2.2Ghz with 4 CPUs.
$ ulimit -a
-t: cpu time (seconds)              unlimited
-f: file size (blocks)              unlimited
-d: data seg size (kbytes)          unlimited
-s: stack size (kbytes)             8192
-c: core file size (blocks)         0
-v: address space (kbytes)          unlimited
-l: locked-in-memory size (kbytes)  unlimited
-u: processes                       709
-n: file descriptors                4864

Ran the same commands on the same data on a Macbook Air Mid 2013, with 1.3GhZ Intel Core i5 (2 CPUs).
The bug did not occur - the test run finished just fine.

Thanks. You have more open files available by default than I do, but I haven't been able to reproduce the problem myself yet even by raising the limit.

I've tried it on some other extracts from the same data source, with mixed results that loosely correlate on file size.
The originally reported file was for 10m index contours.
5m: failed (~280MB geojson)
10m: failed (~100MB geosjon)
20m: passed (~20MB geojson)
I'll continue collecting info about this, as I iterate on our contours-to-mbtiles process. I'll do some more-comprehensive tests, and also figure out whether it's something else on the specific machine that is messing with the program. I use a lot of JS file watchers like watchman, guard, webpack, gulp, ember-cli, livereload, etc, which sometimes eat up file limits.
It'll take a while, probably a few days. It's slow going, as I shoehorn it between other work, while waiting for the various tools (ogr2ogr, tippecanoe, etc) to finish.

If it's possible to see a copy of the file, that would probably help a lot in debugging it. Maybe it is hitting a system-wide limit on the number of files even though it is staying under the per-process limit. I can add a check for that, but it's hard to make the code reliable if I can't make the problem happen reliably.

Apparently the total system has a limit on the number of open files:
$ sysctl kern.maxfiles
kern.maxfiles: 12288

My computer has 7689 open independent of tippecanoe, according to lsof, so 4864 more would get close to hitting the wall if you have more open from other processes than I do. I'll try to hit the system limit so I can get tippecanoe to fail that way, and add a check to reduce its file usage if it gets close.

When you get a chance, could you see if https://github.com/mapbox/tippecanoe/pull/212 fixes it for you?

@ericfischer #212 fixes the Too many open files error.
Looks like you've nailed it.
The test runs complete now, and I'm uploading the output MBTiles to check their output.

Output is as expected, all looking good.
Thanks for the quick fix!

Great! I will merge it after I clean it up a little more.

I uploaded a zip file to Dropbox, containing the 3 different contour GeoJSON files described above: https://github.com/mapbox/tippecanoe/issues/211#issuecomment-209701819
https://www.dropbox.com/s/h2ek9p9jarcj5jp/contour_geojson.zip?dl=0
The 5m and 10m contour extracts were failing, and the 20m were passing.
You may not need it, but if you were able to figure out a way to repro and build tests, I thought they might be useful.
It could def be machine specific, so let me know if there's any extra traces or tests I could run on my 2011 MBP to document the issue.

Oh! The -ar is the real problem! I am a fool and accidentally reused an option letter, and the -ar was making it use a deeply recursive radix sort (meant for testing that recursion works at all) for no good reason. I'll add a sanity check to make sure I don't screw that up again.

Thanks for finding this! It should be fixed for real now. https://github.com/mapbox/tippecanoe/releases/tag/1.9.13


Use slf4j instead of home-grown logging framework

Using a standard library for logging such as slf4j or even java.util.logging would help with capturing the logs in the expected/configured places rather than just System.err which might be redirected into unexpected places or even be completely ignored.
Thank you.

Hi Attila,
I agree.
Best,
Mikio
Attila-Mihaly Balazs<EMAIL_ADDRESS>schrieb am Do., 31. März
2016 um 09:13:

Using a standard library for logging such as slf4j or even
java.util.logging would help with capturing the logs in the
expected/configured places rather than just System.err which might be
redirected into unexpected places or even be completely ignored.
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/mikiobraun/jblas/issues/76


Support for KeePass versions 2.x

Add the ability to support keepass versions 2.3x +.
This would require:

[x] ability to choose between multiple binaries
[ ] configuration file support
[ ] potentially automatic database version detection
[ ] warning about older versions of keepass databases compared to supported lib versions
[ ] Placeholder for other pieces that I have not thought of

Notes for : 2.35
http://keepass.info/news/n170109_2.35.html
Lots of changes and a new file format.
This will require a bunch of testing and SDK code change review.
Also lots of new features to integrate.

A new version (2.35) of KeePassLib.dll assembly is needed for this issue.
Where i can get this DLL ?
Nothing found on the Keepass Homepage or inside a KeePass Installation folder....

Instead of loading the dll if you can not find it you can use the keepass.exe the same way as the dll.
Alternatively, you can download the keepass 2.35 source from this link and compile the dll for yourself.

Tested keepasslib 2.39.1 via pester tests and accessing an older database (2.34) and all tested completed without issue.
After running the code using the 2.39.1 lib against the older DB the installed version of Keepass gui 2.34 was able to open the file without issue.

As of latest version both versions 2.34 and 2.39.1 of the KeePassLib are supported.

Would it be possible to get have the Pester tests re-ran against the new version (2.48.1)?
https://keepass.info/news/n210507_2.48.html


RFE: Add registry should support sub-directories

It would be useful for projects like katello (https://github.com/Katello/katello) if the "--add-registry" commands supported sub directories as entry points.
On rhel for example
# grep ADD_RE /etc/sysconfig/docker
# pull use the ADD_REGISTRY option to list a set of registries, each prepended
ADD_REGISTRY='--add-registry registry.access.redhat.com'

only accepts root names. If I say something like docker pull rhel I see that it tries to fetch it from registry.access.redhat.com/rhel before trying other registries. What would be ideal for a multi tenant registry facilitator like Katello would be something like
ADD_REGISTRY='--add-registry registry.access.redhat.com/<ORG>/<Environment>'

and now when the user does a docker pull rhel it  first checks for registry.access.redhat.com/<ORG>/<Environment>/rhel
This way one can clearly separate registry namespaces .

Can't you achieve that with virtual hosts and have org.env.yourdomain.com? (since you have multiple instances of docker registry for each env/org)
I understand the issue, I'm not getting why that can't be done in upper layers (virtual hosts)  and leave docker unchanged.
There's more though, the slash isn't valid to be in there in your example because that's going confuse docker itself and treat everything after the slash as the image reference. The only way to do that is to have some sort of mirrors maybe but then you still have to have a plain subdomain to be used in docker pull.

Can't you achieve that with virtual hosts and have org.env.yourdomain.com? (since you have multiple instances of docker registry for each env/org)
@runcom Good point. I can look into a scheme that says *.registry.yourdomain.com will somehow translate to yourdomain.com//env/ but wouldn't that mean that the customer and katello would have to somehow maintain a dns entry for each registry in an automated fashion.

The issue right now is that docker pull yourdomain.com/<org>/env/<staged-content>/rhel won't even work with docker.
The definition is
 22 An image name is made up of slash-separated name components, optionally prefixed
 23 by a registry hostname

You can see paths aren't contemplated at all.
The only exception to that is docker.io which has historically translated that into the source code to something like registry-1.docker.io for their V1 version but that's just for them and supporting this kind of game (domain -> host+path) it's infeasible right now for this fork of docker.

@runcom Good point. I can look into a scheme that says *.registry.yourdomain.com will somehow translate to yourdomain.com//env/ but wouldn't that mean that the customer and katello would have to somehow maintain a dns entry for each registry in an automated fashion.

@parthaa the thing is, you still have to have to an hostname to work with Docker, there would be no other way as far as I can tell and you still need to setup DNS and virtual hosts to point to something.

The issue right now is that docker pull yourdomain.com//env//rhel won't even work with docker.

:( . I saw https://github.com/docker/distribution/blob/master/docs/spec/api.md#overview where it seems to say (at least for v2) that If a repository name has two or more path components, they must be separated by a forward slash ("/") which led me along that path.
Katello does yourdomain.com/<org>_<env>_<staged-content>_rhel changing the name of the repo which confused many. Even if we did  yourdomain.com/namespace and marked that as a registry, we could then say something like -> docker pull rhel would do docker pull yourdmain.com/namespace/rhel . Thought that might be more feasible ..

Right but unfortunately that's not going to work.
The only thing you can do is to use virtual hosts and dns.

Can we close this issue?

we can, I see no point in making our registry patch worst (and differ from upstream again) by supporting something like this when this can be achieved in upper layers in the stack (vhosts+dns).


Remove raster + vector data from collections...

... to only list STRDS in /collections endpoint, because these are the datacubes which can be processed with openEO api

As discussed with @metzm , vector data are not deleted but outcommented, as they might be used again later.


In the case of eg: S3DataSegmentKiller, each segment is deleteObject()ed from S3 one-at-a-time. If there are hundreds, or thousands of segments to remove, there is significant latency. This can be converted to run as a single bulk deleteObjects() for a large number of tasks at a time.
No doubt other segment storage plugins would support the same.
Motivation
Improvement to segment killing process.

@jasonk000, this PR in review adds the bulk delete functionality for unused S3 segments that you're describing in this issue.

Great - @maytasm pointed out same offline!

Closing this issue as it's completed by https://github.com/apache/druid/pull/14131


Irregular week view event

Hi! First of all, cool control, great job!!
I'd like to report the following issue:
I've created an event "Except Saturday", starting on Sunday 06-09-15 00:00, ending on Saturday 12-09-15 00:00.
The event is correctly shown in month view and in day view from Sunday to Friday (it's not shown on Saturday). But in week view, the event is shown the whole week (including Saturday!!!). So the event is shown irregularly in week view!
Would you please care about this!

If an event occurs at any point on a day then it will be shown on that day on the week view, so in your case make the event end date Friday 11th September 11:59:59 and it will work as expected.

Okay, thanks!
I will consider this!
I was just confused, because week view and month view behave different in that case.

You're right, an event at exactly midnight doesn't appear on that day, I will push a new version that fixes that


Noise fix

Noise is scaled by sqrt of sim step as suggested by theory group

Thanks for the review!

We're not requiring this branch to pass tests outside of Flake8 and pydoc. That's the point.
The noise is actually correct, that's what Benni wanted and what sets off waves.


Add domain for FlexColorScheme documentation site

This documentation site is for the open source Flutter FlexColorScheme package https://pub.dev/packages/flex_color_scheme, having its code repo on GitHub here https://github.com/rydmike/flex_color_scheme.
I decided to keep the documentation in a separate repo for increased documentation change flexibility, and to not burden the code repo with documentation images and animated GIFs. The documentation content is still work in progress. I expect to complete it during next week and then publish the stable version of FlexColorScheme v5.0.0 that the documentation site is intended for.
Question: I might not use the www CNAME for this site for anything, if so, is it OK if I point it to the doc site and add it as another domain too?

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

Thanks @Salakar, not 100% sure if I will use the www elsewhere yet, let's start with the "docs" CNAME I added for now.
GoDaddy where the ns server config is now seems to offer enough config and setup options that I need for now at least, even if they hide them well.
I plan to later setup cnames for the examples and tutorials so they get domains like:
playground.flexcolorscheme.com
allthemes.flexcolorscheme.com
fourthemes.flexcolorscheme.com
customtheme.flexcolorscheme.com
basictheme.flexcolorscheme.com
in addition to:
docs.flexcolorscheme.com pointed here.
Maybe I will find some use for www.flexcolorscheme.com, I might update my blog info about it and point it there too.
For examples/tutorial builds, I think I might host the builds later on Firebase. Currently they are on on my github pages and I don't think it allows me to setup multiple domains and subdomains. I have rydmike.com domain pointed to it now where the are now and a simple test/build/deploy GitHub actions that publishes the samples when I release new version of the package. Works well enough. If I move them to Firebase I first need to figure out how to do that with Firebase, but there seems to be plenty of examples around.

BTW, I got the tip earlier from Chris Sells while he was still at Google, about your nice and handy docs.page. Really liking it so far, simple, sure not a lot of features, but imo enough for most docs. Might have found some minor issues, but need to verify with separate tests. If they were issues, I'll post them separately of course.

BTW, I got the tip earlier from Chris Sells while he was still at Google, about your nice and handy docs.page. Really liking it so far, simple, sure not a lot of features, but imo enough for most docs. Might have found some minor issues, but need to verify with separate tests. If they were issues, I'll post them separately of course.

Oh cool, that's great to hear, please post any bugs or feature requests you have as issues, we're constantly improving docs.page so this will be helpful!

If everything is in order on DNS then the domain should spring to life in a few minutes - just takes a couple minutes to register domain on the infra and auto-provision ssl certs

Works great - thx! 💙


Add Felixton College

This pull request adds Felixton College to the list of institutions in the swot repository. The domain for Felixton College is felixtoncollege.co.za.
Please review and merge this addition to allow students from Felixton College to apply for JetBrains student licenses.
Thank you!

aybu.edu.tr is new domain name. it was ybu.edu.tr used to be

https://www.aybu.edu.tr/aybu/en/haber/6440
here is proof of that.  its turkish but you can translate easy

@Kachou-Fuugetsu I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host felixtoncollege.felixtoncollege.co.za not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Better completion formatting for methods. Fixes #273

Show all overloaded methods
Show all params sections
Use short type names

See this comment for a reference screenshot.

This PR looks great! It would be awesome if you can add tests for it when the test suite is done. There's a closed PR introducing the new infrastructure, but it's not polished to go into master.
As for the PR, I find myself needing this very often. Thanks!

@jvican Personally, this is the kind of feature I'd love to develop writing some property tests before starting with the implementation, the whole feature is a pure function Completion => Suggestion, and it was a pain to modify + restart vim + trigger completion for each change I made.
What is the plan for @ChrisCoffey's PR? His branch seems to be getting outdated. I think it would be worth to create a branch for the new testing approach in the upstream repo to give it more visibility. People could target PRs to this branch to increase coverage so it eventually gets merged into master.
If this branch is created and my PR is merged into master I could raise a PR to add some test for the completion functionality to the testing branch.
My 2 cents.

Given the level of the importance of this issue, I'd be okay to merge the PR that @ChrisCoffey submitted some time ago. We could merge that if you are able to rebase and add more tests for this PR. Would that work for you, @ktonga ?

@jvican Sure. Go ahead. I'll be able to add some tests in a coupe of days. Glad to hear that you considere this PR important :blush:

That's an excellent idea. I'll reopen that PR shortly.

@ktonga You can now rebase and start writing the tests ;)

@jvican @ChrisCoffey I've rebase and added some (a lot of) tests.
Please notice that I've refactored the code to move all format-related functions to a separate module to improve testability. I've also left some TODOs for improvements that are out-of-scope for this PR.

LGTM!
This is great, and nice to see more "proof positive" of the new testing harness setup. Makes me feel a lot more confident that I can make more substantial changes without breaking things. I'll try to pitch in some further test coverage beyond the scope of this PR 😊

LGTM! ran great locally & the code looks great. nice work @ktonga, thanks for the PR!
@jvican please take a look when you can.

Let's merge this, thanks again @ktonga :smile:


[Feature Request] Add Future Pinball Table Uploads

I assume that mostly only the file suffixes need to be checked so that the universal uploader can support them too.

Enthusiast — Today at 5:24 PM
.fpt files to the tables folder, .cfg files to FP\BAM\cfg I think would be the main ones,

Fixed with 3.9.0


Developer workflow improvements to build scripts

Upgraded libloading to 0.8
Added instructions to rerun build scripts if dependent files have changed
Enabled bindgen to invalidate the built crate whenever any transitively included header files from the wrapper change
Removed some default true options from our bindgen builder

This enables smoother development workflows when doing things like editing our build scripts, or swapping the source'd version of ROS without requiring a new workspace or having to manually go through and removing the target/ folder for each crate.

@maspe36 thanks. I tend to like to make options explicit (e.g. setting size_t_is_usize to true even if it's the default), but I don't it'll change in the future, so it's ok.

I appreciate wanting to be explicit about what we use, but there are a number of bindgen options we depend on, that we don't explicitly list here. I think this incomplete list actually adds noise which makes it harder to grok.
If you want, I'm happy to do another PR where we explicitly list all of the bindgen options that default to true?

If you want, I'm happy to do another PR where we explicitly list all of the bindgen options that default to true?

@maspe36 not needed, I agree with you that it's inconsistent to only add some options but not others, it looks cleaner after this PR, thanks.


TFLayer tf_apply not applicable to all predefined layers.

Hi,
I encountered the following error when experimenting with the TFLayers.
A 'minimal' example (I would appreciate a hint if the same can be accomplished without needing to define a custom network) that reproduces the error:
import tensorflow as tf

from tensorforce.agents import PPOAgent
from tensorforce.execution import Runner
from tensorforce.contrib.openai_gym import OpenAIGym
from tensorforce.core.networks.network import LayerBasedNetwork
from tensorforce.core.networks.layer import TFLayer

class CustomTFLayerNetwork(LayerBasedNetwork):
    """I could not get TFLayers to work without defining a custom network."""
    def __init__(self, scope='custom_tf_network', summary_labels=()):
        super(CustomTFLayerNetwork, self).__init__(
            scope=scope, summary_labels=summary_labels)

        # This layer works since it has a the training keyword in its call
        # function.
        self.first_layer = TFLayer(
            layer='batch_normalization', scope='bn', center=True, scale=True)
        # This one doesn't and for this reason an error is raised.
        self.second_layer = TFLayer(
            layer='dense', scope='de', units=2, activation=tf.nn.tanh)
        self.add_layer(self.first_layer)
        self.add_layer(self.second_layer)

    def tf_apply(self, x, internals, update, return_internals=False):
        x = next(iter(x.values()))
        out = self.first_layer.apply(x=x, update=update)
        out = self.second_layer.apply(x=out, update=update)

        if return_internals:
            return out, dict()
        else:
            return out

# Use a known environment from OpenAI Gym.
env = OpenAIGym('CartPole-v0', visualize=False)

# Define a network architecture.
network_spec = dict(type=CustomTFLayerNetwork)

agent = PPOAgent(states=env.states, actions=env.actions, network=network_spec)
# Create the runner and start learning
runner = Runner(agent=agent, environment=env)
runner.run(episodes=10, max_episode_timesteps=200)
runner.close()

This raises the following error:
...
  File "/usr/local/lib/python2.7/dist-packages/tensorforce/core/networks/layer.py", line 191, in tf_apply
    return self.layer(inputs=x, training=update)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/base.py", line 652, in __call__
    outputs = self.call(inputs, *args, **kwargs)
TypeError: call() got an unexpected keyword argument 'training'

This is caused by
https://github.com/reinforceio/tensorforce/blob/bca20abc7cd7c51c7b733433e15f3e17f369fcb8/tensorforce/core/networks/layer.py#L187-L191
Which assumes that the __call__ function of the initialized tensorflow layer always has a training keyword which is not always the case.
[Update]
As I understood it, tf.layers's __call__ references back to tf.keras.layers's __call__ which calls the layer's call function.
For batch normalization the trainingkeyword exists:
https://www.tensorflow.org/api_docs/python/tf/keras/layers/BatchNormalization#call
For a dense layer it doesn't:
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Dense#call
Any suggestions?

Very sorry for the late answer, was not involved in maintaining for a while. I just pushed a fix -- didn't check whether there are other layer classes than the ones you mentioned, but they can easily be added.


New hover-freeze and toggle-freeze

I need implements 'toggle-freeze' as was 'hover-freeze' and does 'hover-freeze' without needing to click to zoom: Whenever the mouse cursor moves over the thumbnail it will show the zoomed image, first click freezes the zoomed image where it is, second click unfreeze thumbnail.
See this axample

Thank you for your contribution. I just pushed 2.0.0 to npm with your changes and Angular 15 as my base (more ivy compatibility I hope). Decided to go a bit further with the version to make it super clear about the breaking change.


Add Cake.Issues.Recipe documentation

Add documentation for Cake.Issues.Recipe integration

@pascalberger your changes have been merged, thanks for your contribution 👍


multiple users can upload in the same channel?

i need multiple users upload videos in the same channel (administrator) its this possible?

Hi,
This is possible, you would have to implement it yourself though.

Create a dedicated area for administrators to upload videos
Use Laravel's queues to upload these videos once they're uploaded to your Laravel application

The above is a very vague example, I did this same for one of my projects. Where admins uploaded videos, then they were uploaded to the channel I authenticated with.


Wallet shows 0 balance explorer shows a balance

Describe the bug
Horizen litewallet shows 0 balance / the explorer does show a balance.
To Reproduce
https://explorer.zensystem.io/address/znamgXuoeVnKDe53GxLjFb75AYNwSWmLkRh
Expected behavior
Same balance on both
Screenshots
see screenshot
Please complete the following information:

OS: Windows
Version Horizen 1.2

I was able to access the balance via the webwallet and confirmed the money is here.
Wallet is broken.


Add basic support for LimitlessLED

Hi, I've added some basic support for LimitlessLED lights. These bulbs are known under many names:
EasyBulb
AppLight
AppLamp
MiLight
LEDme
dekolight
iLight
I haven't implemented support for colors, just on/off and brightness.
I haven't been using home-assistant for very long, so let me know if anything needs changing/improving. :)

Thanks for the PR!
I've added some comments with questions. It also looks like Travis found some code style violations. You can test your code style locally by running update/check_style (make sure to pip3 install flake8 pylint).

Is there a possibility to validate that the connection has been established successfully?
Not with the ledcontroller library. I could potentially use a different library?

Could you add this requirement to requirements.txt ?
Done :)

Could you add an example configuration.yaml entry to load this platform to the documentation in the header?

Done :)

Is 5 the limitation of the library?
Both the library and the hardware.

I fixed some of the code styling violations, not sure if I got them all. My pylint seems to give totally different information to the one you're running, odd. If I missed any I'll get them :)

Coverage decreased (-0.82%) to 74.69% when pulling 7087c20c4f2b1296d3a380de23e40b219a924b57 on Azelphur:master into 00664ac601a9c63605d5817df882b676f0021ed0 on balloob:master.


RefCOCO-CN Dataset

Hello. May I know where I can download RefCOCO-CN dataset? I haven't seen this dataset before, and unable to find any information regards to this dataset.

This is RefCOCO series translated into Chinese by the in-house translation system. We'll see if it is possible to release it.