Can't archive after install firebasex ( IOS ) Signature Error

Bug report

CHECKLIST

[x] I have read the issue reporting guidelines

[x] I confirm this is a suspected bug or issue that will affect other users

[x] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.

[x] I have read the documentation thoroughly and it does not help solve my issue.

[x] I have checked that no similar issues (open or closed) already exist.

Current behavior:
After install this plugin and archive, i can't upload that .ipa file to apple store because of the error above. The build is ok, i can run in my device but i can't upload to Apple store.
I have another plugin that use cocoa pod and i don't have problema with upload.

Expected behavior:

Steps to reproduce:
Reproduce steps

Git clone app test ionic 3
Follow the readme.md instructions
Make a IOS build.
Adjust signing code with the certificates and profiles
Create a archive
Click in "Validate"

Screenshots

Environment information

Cordova CLI version

9.0.0

Cordova platform version

ios 5.1.1

Plugins & versions installed in project (including this plugin)

com-badrit-base64 0.2.0 "Base64"
cordova-android-firebase-gradle-release 4.0.0 "cordova-android-firebase-gradle-release"
cordova-android-play-services-gradle-release 4.0.0 "cordova-android-play-services-gradle-release"
cordova-android-support-gradle-release 3.0.1 "cordova-android-support-gradle-release"
cordova-clipboard 1.3.0 "Clipboard"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-android-permissions 1.0.2 "Permissions"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.1 "cordova-plugin-androidx-adapter"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-contacts 2.3.1 "Contacts"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-facebook4 6.4.0 "Facebook Connect"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-file-opener2 2.2.1 "File Opener2"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-firebasex 9.1.1 "Google Firebase Plugin"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-inappbrowser 3.2.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-network-information 1.3.4 "Network Information"
cordova-plugin-pagmovel 1.0.18-SNAPSHOT "PagMovelCordovaPlugin"
cordova-plugin-splashscreen 4.1.0 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-uniquedeviceid 1.3.2 "UniqueDeviceID"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 5.6.6 "SocialSharing"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-deeplinks 1.0.20 "Ionic Deeplink Plugin"
phonegap-plugin-barcodescanner 8.1.0 "BarcodeScanner"
phonegap-plugin-mobile-accessibility 1.0.5-dev "Mobile Accessibility"

Dev machine OS and version, e.g.

OSX

ProductName:	Mac OS X
ProductVersion:	10.15.1
BuildVersion:	19B88

Runtime issue

Device details

iPhone 11

OS details

iOS 11.0

iOS build issue:

Node JS version

v12.16.3

XCode version

11.3.1 (11C504)

The error message shown in your screenshot is a signing error so not directly caused by this plugin.
Maybe this is because your app does not have a valid APNS certificate which is required since this plugin implements Push Notifications for Firebase Cloud Messaging?
This plugin is used in production by many other apps so this problem is specific to your configuration.

I see, I used cordova-plugin-firebase, the certificates are correct. I had to migrate to this plugin because of the webview. I thought it would be something related to the plugin because without it I can do the complete process. And the facebook plugin for example also creates a PodFile and does not interfere with the build or archiving. I already checked the certificates, if they are correct all day, so I opened an Issue in the hope that someone has already faced something related.
But ok, thanks for your help.

You can also check if Apple Sign In is the problem since this wa added in v9 of this plugin as part of the work to support Firebase Auth.
On iOS this requires a specific permission to be added to your provisioning profile.


Transpile src to lib

It's possible the lib only needs to support down to node 6 but until the nvmrc is adjusted this transpile step will provide support for the documented node versions. Using babel-env set to node: current this also provides us the ability to just keep up with the node version changes seamlessly. Fixes #101

I'm thinking of declining this as the original issue is not really tied to transpilation but rather the inclusion of brakes into browser code inadvertently.. Unless you want the babel step to be able to continue further dev with new syntax this is unnecessary. Feel free to decline and close if it's not needed.

I agree that this should generally be kept out of client bundles. I will leave the PR open for awhile though to see if anyone else chimes in on a need for it.


Remove lavalamp js dependency, non-free.

Closes #3957.
As a user this only removes the animation in project tags, but the same selection capabilities are still provided.

@thadguidry do you want to check that the tags panel is still functional like that?

@wetneb Tested in Firefox and Chrome, works fine.


ACR: Update descriptions for storage

Made the storage account more obvious that developers don't need, and shouldn't try to use an existing storage account unless it was previously created by a registry.

Hi @SteveLasker, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@djyou look good to you?

This been stale for awhile. @SteveLasker mind update?

Fixed the update help text

Codecov Report

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

@@            Coverage Diff            @@
##             master    #2076   +/-   ##
=========================================
  Coverage          ?   72.46%
=========================================
  Files             ?      361
  Lines             ?    19515
  Branches          ?     2856
=========================================
  Hits              ?    14142
  Misses            ?     4462
  Partials          ?      911

Continue to review full report at Codecov.

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


Force enable NTP for internal users

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4836  👈
develop

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

Join @aitorvs and the rest of your teammates on  Graphite


[BUG] - When executing invalid code, NukeServerSocket fails to handle an internal exception

In Script Editor mode, NukeServerSocket fails to handle an expected exception when some invalid code is sent.
line 136, in execute
    self._run_button.click()
AttributeError: 'NoneType' object has no attribute 'click'

https://github.com/sisoe24/NukeServerSocket/blob/56507c43c935b6fdd339d447e77159ed96bdd8f2/nukeserversocket/controllers/nuke_script_editor.py#L134
While this error seems harmless, I would prefer not to have it.

The condition for getting the execute button was wrong. Should be fixed from 0.6.1


DSND-3112: Send resource changed when child missing but parent not

Describe the changes

Send a resource changed event when processing a delete delta and the child to delete is missing but the parent is not
Also replaces deprecated @MockBean with @MockitoBean

Related Jira tickets
DSND-3112
Developer check list
General

[ ] Is the PR as small as it can be?
[ ] Has the Jira ticket been updated with any relevant comments?
[ ] Is the README up to date?
[ ] Has the POM been updated for the latest versions of dependencies?
[ ] Has the code been double-checked against main?
[ ] Does the code adhere standards in this repository, including SonarQube checks?

Testing

[ ] Do the code changes have unit and integration tests with code coverage > 80%?
[ ] Has the code been tested locally and/or passed the API Karate tests on Tilt?
[ ] Have mandatory manual test cases been run?
[ ] Are extra Karate tests required?
[ ] Are all the test data resources up to date?

Release preparation
Where possible, add links to the respective Jira tickets when an item is checked

[ ] Have these changes been included in a release ticket?
[ ] Are changes required to the docker-chs-development deployment or test data?
[ ] Are any changes required to the environment added to deployment repositories?

Notes to the tester
Add any testing hints or instructions here.

CI: No security warnings found


Regions: Implementation

Implements a new with item parallel(region[...]) that allows for restricting statements to portions of the iteration space, defined via splitters on each axis at stencil run-time.
To do:

[x] Frontend implementation
[x] Lowering to IIR
[x] Python backends support
[x] GridTools backend support
[x] Add backend tests
[x] Update GDP to match implementation
[x] Setup meeting to review with GridTools developers

Closing this PR for now. Will be replaced by a cleaner series of PRs that implements a compile-time parallel interval feature.


Homepage About us Component

User Story
As a website visitor, I want to view a short description of CSSA in an About Us section to learn more about CSSA's mission and structure.
Acceptance Criteria

The About Us section contains a short description of CSSA with pictures to showcase the mission of CSSA and its members.

Priority
High
Story Points
2

Designed


Fix typo: content => contents

Before submitting the PR:

[x] Does your PR reference an issue? If not, please chat to the team on Discord or GitHub before submission.
[ ] Did you update and run tests before submission using npm run test?
[ ] Does your branch follow our naming convention? If not, please amend the branch name using branch -m new-branch-name
[x] Did you update documentation related to your new feature or changes?

What does your PR address?
Fixes #670
Fix typo from display: content to display: contents

Perfect thanks @Bandit


CI: Skip code coverage report

This PR avoids errors in CI by harmonizing the current code with GH Actions.

This was the output that this PR avoids
Coverage report generated for RSpec to /home/runner/work/paypal-express/paypal-express/coverage.
Line Coverage: 98.58% (554 / 562)
/opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3.3.0/json/common.rb:3: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
Couldn't find a suitable web browser!
Set the BROWSER environment variable to your desired browser.
Warning: program returned non-zero exit code #256
/usr/bin/open: 882: www-browser: not found
/usr/bin/open: 882: links2: not found
/usr/bin/open: 882: elinks: not found
/usr/bin/open: 882: links: not found
/usr/bin/open: 882: lynx: not found
/usr/bin/open: 882: w3m: not found
xdg-open: no method available for opening '/home/runner/work/paypal-express/paypal-express/coverage/index.html'

Thanks again!


Use GetStatus

Closes #5, #8.
TODO:

[x] Genesis height in oasis-net-runner seems to be reported as 0, which we also use as the magic number for the latest block, so we should change the genesis height to 1 in the net runner.
[x] "Fix" duplicate tx hashes -- tx fees have their own transactions that have the same hash as the transaction that the fee is for, so generate new unique hashes for those in the oasis-client.
[x] Update to rosetta-cli 0.2.3, which has the exit status fix.
[x] Add Dockerfile.
[x] Properly group our txns with same hash into single rosetta txn.
[x] Wait for a new oasis-core release that has the GetStatus stuff and the genesis height fix in it.

Thanks, I've bumped the version now.  Just need to re-test this PR next week, squash the commits and it will be ready to merge :)

OK, this is now ready for review :)


Is it possible to inject using "useInitializer" when method includes swift pure protocols?

I have the following initializer
 init(database: DatabaseProtocol, deserializerFactory: DeserializerFactory ) {
        self.database = database
        self.deserializerFactory = deserializerFactory
}
and I try to inject parameters using
definition.useInitializer("initWithDatabase:deserializerFactory:") {
         (initializer) in

         initializer.injectParameterWith(self.dataStoreAssembly.database())
         initializer.injectParameterWith(self.dataStoreAssembly.deserializerFactory())
}
But it's not able to find  initializer. My feeling is that is related to the type of parameter. What's missed?

Moved this to Typhoon repo since created it here by mistake


Magus Arcane Cascade Variable Not Working

The Arcane Cascade Stance has an ActiveEffect-Like to allow other effects to reference the damage type the Arcane Cascade effect is set to. It stores the damage type in flags.pf2e.arcaneCascade.damageType.
However, Compendium.pf2e.classfeatures.Item.09iL38CZZEa0q0Mt (the Arcane Cascade class feature) has its own ActiveEffect-Like that sets flags.pf2e.arcaneCascade.damageType to "", which the system inteprets as 0. This blocks the Arcane Cascade Stance effect from writing the player's chosen damage type to it.

Changing "" to "none" resolves the problem. Deleting the ActiveEffect-Like in the Arcane Cascade class feature entirely also seemed to work.
Steps to reproduce: Create a Magus player character, put them in Arcane Cascade stance, open the Arcane Cascade Stance effect to edit it, go into Rules and scroll down, the ActiveEffect-Like will be showing an error message and flags.pf2e.arcaneCascade.damageType will have a value of 0 when it should be a damage type.
Then apply the Arcane Cascade Stance effect to any non-magus actor, and it won't have the same "cannot override 0" error.

Hello,
I tested the out the feature and it's working as intended.

Other than the RE firing that warning message, can you provide more details as to how the feature/itself is not working?

The problem is with the actor flag the AELike RE on the stance Effect creates.  The item flag is fine.  The Effect uses the item flag in the flat modifier RE for the extra damage.  So that part works fine as we see in your screenshot.  But as soon as something else tries to get the damage type from the actor flag, it fails.
Here's the status of the flag on the actor, which as the stance effect that should be setting this to cold:

Notice how the value has changed from the string "" to the number 0.  That prevents the AELike being able to override it to the correct damage type.
If the default from the class feature is changed to something not coercible to a number, then it works as expected:

The bug here is either that the AELike is coercing the empty string into a numeric 0, or if that is the desired behavior, that the class feature AELike provides a default value that can be coerced.

Example time:
So I've made a magic weapon that adds 1d6 damage of the same type of the user's Arcane Cascade.
It uses this rules element.
Rules Element for Custom Magic Weapon
{
  "damageType": "{actor|flags.pf2e.arcaneCascade.damageType}",
  "diceNumber": 1,
  "dieSize": "d6",
  "key": "DamageDice",
  "predicate": [
    "self:effect:arcane-cascade"
  ],
  "selector": "strike-damage"
}

This works by referencing an ActiveEffect-Like in Effect: Arcane Cascade Stance. This ActiveEffect-Like has no actual bearing on Arcane Cascade Stance itself's function, it seems to just be there for other effects (such as this magic weapon) to be able to refer to its assigned damage type. I can't actually think of any in the core game, so whoever set it up this way was very considerate! (whoever you are, thank you!)
from Effect: Arcane Cascade Stance
{
  "key": "ActiveEffectLike",
  "mode": "override",
  "path": "flags.pf2e.arcaneCascade.damageType",
  "value": "{item|flags.pf2e.rulesSelections.stanceArcaneCascade}"
}

And it works! Stick this one a weapon, stick Effect: Arcane Cascade Stance on an actor, and it'll correctly inherit the damage type from whatever you set Arcane Cascade to!

Unleeess_ the actor in question is an actual Magus. Then it breaks.
The problem is the Arcane Cascade class feature.

from Arcane Cascade Stance class feature
 {
  "key": "ActiveEffectLike",
  "mode": "override",
  "path": "flags.pf2e.arcaneCascade.damageType",
  "priority": -100,
  "value": ""
}

This has its own ActiveEffectLike that sets flags.pf2e.arcaneCascade.damageType to "". The problem is the system is interpreting this as 0, making the variable an incompatible data type and thus blocking Effect: Arcane Cascade Stance from assigning the damage type to it.

And because it can't save the damage type in the stance, the magic weapon then can't reference it and stops working.

The fix we found was to change the assignment in Arcane Cascade class feature from "" to "none", which stores the variable as the right data type and allows Effect: Arcane Cascade Stance to save damage types correctly. Removing the ActiveEffect-Like from the Arcane Cascade Stance class feature entirely also works, I discovered the problem in the first place because actors without that class feature were working properly.
Fixed Arcane Cascade Stance class feature!
{
  "key": "ActiveEffectLike",
  "mode": "override",
  "path": "flags.pf2e.arcaneCascade.damageType",
  "priority": -100,
  "value": "none"
}

Let me know if you need more clarification!


can't use N as a top-level type name: it's reserved for type arguments and free variables

WHY?
N = (ARGV[0]? || 10).to_i

N.times do
end

this code is pretty common for me
can't use N as a top-level type name: it's reserved for type arguments and free variables

https://github.com/crystal-lang/crystal/issues/3112
It's either that, or we let everything stop compiling when someone declares a type named T or U. Maybe the later is OK...

hm, maybe allow to constants? but not class names?

It's the same, when looking up Foo, Foo can be a class or a constant, there's no distinction and any will match.

I mean, if I define a constant U instead of lib U in the original issue, it breaks too.

actually this is also bad for examples, when i just want to create many: class A, class B

Yes, I know... the other solution is to change the language to this:
module Enumerable(T)
  def map(&block : T -> 'U)
  end
end

so that 'U will be a free variable. Maybe we should do that...

@kostya I created https://github.com/crystal-lang/crystal/issues/3288 because, like you, I'm starting to strongly dislike this situation :-)


wip

WIP

Codecov Report

Merging #428 into master will increase coverage by 0.17%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #428      +/-   ##
==========================================
+ Coverage   21.53%   21.71%   +0.17%
==========================================
  Files          77       77
  Lines        1681     1681
==========================================
+ Hits          362      365       +3
+ Misses       1319     1316       -3

Impacted Files
Coverage Δ

api/src/utils/personalization/index.js
0% <0%> (ø)
:arrow_up:

api/src/asyncTasks.js
79.41% <0%> (+8.82%)
:arrow_up:

Continue to review full report at Codecov.

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


Music Player in the iPad app

Is it possible to add the music player to the iPad app ? Maybe using a 3rd party HTML5-based player (that also works for videos) ?

Currently in OC iOS App 3.4.5 it is posible to reproduce music and videos.
For streaming it, is in our backlog but we need also changes on the core app. Let's keep tracking on these issues #53 and owncloud/ios#155


Create PoC for GitHub Actions

This is a placeholder for the idea of creating a PoC for integrating CDEvents with GitHub Actions.
One way to showcase it could be according to an “Iteratively expanding CI/CD System”, for example:

Initially just a GitHub Actions pipeline, with a set of consumers (e.g. deployer, visualizer, DORA calculator, raw event viewer)
Secondly break out the pipeline execution to a Tekton pipeline, with no change to the consumers
Thirdly break out test activities from Tekton pipeline to Testkube, with no change to the consumers

/cc @bradmccoydev

This work is already started in this separate repo: https://github.com/cdevents/github-action

Closing this issue since will be handled through the repo mentioned above instead


Fix vault check when sealed

Extension to #4745 which was not completely fixing the issue.
The /sys/leader endpoint can also return 503 when the vault is sealed. This had to be taken into account.

Fix is bad, WIP

Fix is better now :)
Azure doesn't want to run tests on this PR, not sure why 🤷♂


Adding code splitting guide.

What's changed, or what was fixed?

Adding code splitting guide.

Target Live Date: 2018-08-03

[x] I have run npm test locally and all tests pass.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele, @addyosmani

Left a few last comments. Also tagging in @developit in case he has any last thoughts here :)

This should be good to go (pending any feedback from @developit, of course).
Additionally, I added a link to Daniel An's credit in the Why Performance Matters article. I also tweaked the first figure image in the tree shaking guide.

Thanks for getting in the edits, @malchata! Can we update the target date for the article to Monday and we'll aim to get it landed for a deploy then? Will give @developit a few days to get in final feedback but should otherwise be good to go soon.

It looks to be already set to 8/6, which is monday.

:tada: This has been pushed live to https://developers.google.com/web/


Support https://www.lumni.fr

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm requesting a site-specific feature
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
France
Example URLs
https://www.lumni.fr/video/l-homme-et-son-environnement-dans-la-revolution-industrielle
Provide a description that is worded well enough to be understood
The "lumni" website is from France Télévisions. They used the same video player and distribution system from their main website france.tv.
I was able to download the video by grabbing the data-factoryid, for example d2b9a4e5-a526-495b-866c-ab72737e3645 (from the source code) for this video: https://www.lumni.fr/video/l-homme-et-son-environnement-dans-la-revolution-industrielle .
Then I used yt-dlp with the francetv downloading plugin:
yt-dlp francetv:d2b9a4e5-a526-495b-866c-ab72737e3645
So I guess this issue could be fixed by adding the lumni.fr URLs to the francetv URL sheme.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.lumni.fr/video/l-homme-et-son-environnement-dans-la-revolution-industrielle']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25]
[debug] Python 3.10.9 (CPython x86_64 64bit) - Linux-6.1.9-arch1-2-x86_64-with-glibc2.37 (OpenSSL 3.0.8 7 Feb 2023, glibc 2.37)
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.12.0, brotlicffi-<IP_ADDRESS>, certifi-2022.12.07, mutagen-1.46.0, secretstorage-3.3.3, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[generic] Extracting URL: https://www.lumni.fr/video/l-homme-et-son-environnement-dans-la-revolution-industrielle
[generic] l-homme-et-son-environnement-dans-la-revolution-industrielle: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] l-homme-et-son-environnement-dans-la-revolution-industrielle: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.lumni.fr/video/l-homme-et-son-environnement-dans-la-revolution-industrielle
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1502, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1578, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 680, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/generic.py", line 2523, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.lumni.fr/video/l-homme-et-son-environnement-dans-la-revolution-industrielle

So I guess this issue could be fixed by adding the lumni.fr URLs to the francetv URL sheme.

No, because the video id is not in the URL. An extractor has to be written to extract and forward it to FranceTVIE
For devs: The video id is in
<div class="player" id="player" data-factoryid="d2b9a4e5-a526-495b-866c-ab72737e3645"

The extractor can then just return self.url_result(f'francetv:{video_id}', FranceTVIE, video_id)


Fix an out of bounds access in ForwardMolSupplier

An update to the osx toolchain on conga hit this long standing bug,

@bp-kelley The Mac tests are still (again?) failing

@greglandrum I fixed the remaining errors.  I also switched from string[0] to string.at(0) to help me find the issues.  We can switch this back if you like.

@greglandrum yep, it's fixed


Use web workers to processing blueprint string in background to avoid blocking UI thread

Assign to me.

Perhaps using the HTML defer would solve this?
I've never used it before, so I have no idea if will work.
https://www.w3schools.com/tags/att_script_defer.asp


Make provider-alibaba container run as non-root

Signed-off-by: hasheddan<EMAIL_ADDRESS>
Description of your changes

Crossplane refuses containers that run as root by default. provider-alibaba does not require root access so it should run as non-root by default.
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation, examples, or release notes.
[ ] Updated the dependencies in app.yaml to include any new role permissions.
[ ] Updated the package resources documentation to include any new managed resources or classes.

I have confirmed that this installs and runs successfully with latest crossplane

@hongchaodeng feel free to merge at-will :)


[IoT] add iot device update command and resolve #1372

Add iot device update command.
Update device management REST API version to 2016-11-14.
Support --ids parameter to resolve #1372 .
Add more examples to command help documents.

Help message for new command is shown as below.
>az iot device update -h

Command
    az iot device update: Update metadata of a device in an IoT Hub.

Arguments
    --device-id -d [Required]: Device Id.
    --hub-name     [Required]: IoT Hub name.
    --resource-group -g      : Name of resource group.

Generic Update Arguments
    --add                    : Add an object to a list of objects by specifying a path and key value
                               pairs.  Example: --add property.listProperty <key=value, string or
                               JSON string>.
    --remove                 : Remove a property or an element from a list.  Example: --remove
                               property.list <indexToRemove> OR --remove propertyToRemove.
    --set                    : Update an object by specifying a property path and value to set.
                               Example: --set property1.property2=<value>.

Examples
    Disable a device.
        az iot device update --hub-name my-iot-hub --device-id my-device --set status=disabled

This is related to #793 and I was able to recreate this issue.

Please go to line 120 in arm.py and add the following lines after the if existing_values is None: conditional:
elif isinstance(existing_values, str):
  logger.warning("Property '{}={}' being overriden by value '{}' from IDs parameter.".format(arg.name, existing_values, parts[arg.id_part]))
  existing_values = [existing_values]

This will also fix #793 as the behavior will now be defined. If you specify names and IDs, the values parsed from the ID will override any names and log a warning.

Hi @xscript, once PR #1459 is merged, you'll be able to rebase and have this work.

@xscript PR #1459 is merged, so if you rebase your errors should be gone.

Close this PR and create https://github.com/Azure/azure-cli/pull/1486 for cleaner commit history.


How to finetune no-factor translation model with factors?

Hi,
I have trained an EN-ZH translation model with Sockeye 1 without factors. Now I want to finetune it with additional data and I extract 2 source factors.

When fine-tuning the inputs are expected to be identical, so either have and not have factors. So unfortunately you would need to add the source factors already to the base model training. (a hacky work around would be to manually extend the embedding matrices with factor embeddings initialized randomly, but that is not officially supported)


Windows cannot access \host.lan

Operating system
Ubuntu 24.04.1 LTS
Description
Twice on two separate computers I have attempted to share a folder from my host to the container, and on both computers I have the same error (One is running Ubuntu 24.04.1 and the other 23.10, the newer one is a fresh install).
What I am trying to do is to have my app's code shared between my host and the windows container, so that I can run a development environment that is in Windows but edit the code on my Linux host, is this even possible?
I have read through the past issues trying to find a solution, and they all either didn't work, or I didn't understand what they were saying to do (I am new to Windows). I do still have the problem when I try to access \\<IP_ADDRESS>\Data, though. Thank you for your help!
Docker compose
services:
  windows:
    image: dockurr/windows
    container_name: windows
    environment:
      VERSION: "win11"
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    volumes:
    - ./shared:/shared
    - ./post-install:/oem

Docker log
Attaching to windows
windows  | ❯ Starting Windows for Docker v3.21...
windows  | ❯ For support visit https://github.com/dockur/windows
windows  | ❯ CPU: Intel Core TM i7 8750H CPU | RAM: 10/16 GB | DISK: 228 GB (ext4) | HOST: 6.8.0-45...
windows  |
windows  | ❯ Booting Windows using QEMU v9.1.0...
windows  |
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,5B016D92-CF07-4A8B-83AC-CAD689B805D6,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
windows  | BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,5B016D92-CF07-4A8B-83AC-CAD689B805D6,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
windows  | ❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

Ok so I tried with Windows 10, and it's working! I'm very excited!
But the question remains about what's going on in Windows 11.

I have no explanation why it doesn't work for you in Win11. There is nothing in the log that gives a clue that something is wrong.

Yeah, I know :(. It's especially strange that I had the same outcome on two different machines. I was hoping because of that that maybe it was a common error, but I guess not.

Same Issue on Windows 11 LTSC, Linux Mint 22

Thank you for looking into it! This bug aside, what you've created here is really damn cool and has saved me a lot of headaches already.

Neither the command nor the instructions from Super User worked for me. I'm using Tiny11 on Manjaro.

when i use the windows server 2019 , the Fault is the same

and also i add the reg , Fault is the same

i create a lstc11 , its worked . but in 2019 its not work

when i reinstall a  2019 , its worked.... , can;t change the nama???

when upgrade ....  its can;t work..... again!!!

I have the same issue to not see any host.lan device in the network section. I am running Arch 6.11.7 with docker compose and windows 10
docker-compose.yml
services:   windows:     image: dockurr/windows     container_name: windows     environment:       VERSION: "win10"     devices:       - /dev/kvm     cap_add:       - NET_ADMIN     ports:       - 8006:8006       - 3389:3389/tcp       - 3389:3389/udp     volumes:       - /home/wolfenstein/docker/dockur/data:/data       - /home/wolfenstein/docker/dockur/storage:/storage     stop_grace_period: 2m


Linux-arm uses different structure for FDSet

This code simply breaks out the case of linux-arm in the zero-setting of
FDSet.

Current coverage is 49.60% (diff: 100%)

No coverage report found for master at 80c90b2.

Powered by Codecov. Last update 80c90b2...c8a7439


Builds fail to ARM64

When building to ARM64, VS throws the error
LNK1104	cannot open file 'webrtc.lib'	Microsoft.MixedReality.WebRTC.Native.UWP	D:\MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Native\src\uwp\
The other build targets work fine.

I also encounter this error building ARM targeted to Release

On ARM64 if you're on master this is normal, this is not supported. I should have removed that config from the solution to avoid any confusion. It will be available once the upgrade to m75 is merged. But ARM64 is not supported by the UWP wrappers on m71, which is the current milestone master is based on.
On ARM Release that should work though, I have no issue myself locally, I use that config often. Can you please check that the NuGet packages have been correctly restored for the solution? You need Microsoft.MixedReality.WebRTC.Native.Core.UWP.ARM.Release and Microsoft.MixedReality.WebRTC.Native.Core.WinRT.ARM.Release for the ARM Release config.

I removed ARM64 from the solution to prevent any confusion.

@adrianimajion any update on that issue? Did you manage to get things working?

Closing as no repro on ARM, and removed ARM64 to prevent confusion. Please feel free to reopen if that is still an issue.

@djee-ms ?

Ah sorry @michalek-marcin I saw your message and forgot to reply. We have some signal of partners/users wanting ARM64, and we are considering priorities now and whether we will move to m75 or directly to Google's master branch, so this is in standby until then.
In more details, the m75 branch from WebRTC UWP is not very well tested, so although the original plan when creating the m75 branch on this repo was to move to it, things might change and we might abandon that m75 branch to provide ARM64 in another way (directly via Google's master branch). The m75 is also getting a bit old. In addition, some other features had stronger signal until now so ARM64 was not planned, but we are discussing whether that might change as we got stronger feedback to support it. This is mostly a question of resourcing at this point.
I'll post about our plan forward for ARM64 as soon as I have more information about it. In the meantime the ARM(32) build is still working on HoloLens 1/2. Do you have a particular use for ARM64?

Hi, I have other plugins in project which supports UWP ARM64 only. I asked authors of that plugins to add UWP ARM support, so I have project with some features disabled because of compilation problems.
I hope that ARM64 will appear on your road map soon ;)
Sorry for late answer, I was on a holiday.


test(events): increase rebuild timeout

Increase timeout for rebuild end event to fix the CI failure.

bors merge

bors merge


Multi-config using config includes

Based on changes in #283.
Provides specifying config files to include before and after a config file to append to a config list. It then applies the values from each json config in the list in order overwriting previous values. includes are recursive and errors on circular dependency.
This allows easily sharing a bundle of configs and puts into the actual configuration, what other configs are required for a specific config file.
needs extended testing (changes will be merged into ASG servers), and a double check of the changes to the documentation at the moment (and maybe a little clean up of the code).

small test with ASG servers, seems to be working as expected.
Worked with no change to original config file, both includes and overwrites seems to be working as expected as well.
I would like to get a better log entry for printing the config out, one that lists the absolute path of the file that put the value in for each config entry to help out with debugging what configs are setting what value. This will require some non-trivial changes however and might take a bit.

Needs rewrite

if it is just the conflicts, we good now. if there is anything specific then list would be good.

This doesn't work how i imagined it in the current state, i plan on working on it fairly soon (tm) so i will leave this open for now, just expect large changes or this getting closed and a new one reopened.


Feedback for User-defined fields explained

There a change when it comes to index fields, see US 49657
"You can check and uncheck the [ ] Indexed checkbox, and Publish. You will see indexes being created and removed in the database. Data is no longer moved from one field to another, and the running time is almost independent on the size of the table (number of rows).
You can now have any number of indexed fields, not just a maximum of 4 as before."

Document Details
⚠ Do not edit this section. It is required for docs.superOffice.com ➟ Docs Team processing.

Content Source: help-en-udef

Introduced in version 10.3.1, made to speed up publish of udef fields. Earlier we moved data to one of the indexed fields if this checkbox was ticket. Now we just make the field indexed if the tickbox is ticked in admin.


NG version of angular was not valid

Node et Ng version : 10.16.0
npm version : 6.9.0

[Enter feedback here]

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

ID: 187a9aa8-1f64-5a37-f8a6-0d408642014e
Version Independent ID: 1fb3868f-4175-279e-6372-91765426547c
Content: Create an Angular app - Visual Studio (Windows)
Content Source: docs/javascript/tutorial-create-angular-app.md
Product: visual-studio-windows
Technology: vs-javascript
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@kwilvers -- thank you for your feedback.  Please consider these resources, and let me know if they help resolve this issue:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@gcrev93 -- Gabrielle, thank you for clarifying.
I am closing this issue now.  @kwilvers, you are welcome to @ mention me for any followup.  We hope to hear from you again.


Content manager & featured listings

What does this PR do?
Added content manager role and featured listings

Featured Listings appear on the left side of the navbar.
The Content Manager role can only be assigned by Admins.
The maximum number of featured listings is 3.
A user will know they are a Content Manager if they see the badge on their account page.

If this PR changes the UI, include a screenshot below.
No featured listings and featured button on post.

Content manager role

mstm

ref: #526


route parameters not applied

Hello,
I added route parameters to an edit route from a dataview and the parameters aren't applied. The Client/views/router.js file doesn't include them.
Here is the id of the project: 8Xq2KG5PsrCS5JLmM
It is very close to the dataview example:

I have a page "group" acting as container
I have a sub-page "all" with a dataview component "list_all"
This dataview component include an edit route and an edit route parameter "groupId" with the value "this._id"
I have another subpage of "group" called "edit" with a form component. This form component contains a query to the "group" collection  with a filter {"_id": ":groupId"}

I assume that I did things correctly and it might be a bug. From my understanding, the only difference in structure between the dataview example and mine is that my list_all component is in a subpage "group.all" of the "group" page

Can you please copy & paste part with page "group" and subpages?

Ah, OK, got it...

you still need a copy/paste?

No, I downlaoded app

Params of a page are not automatically extracted from components/queries - you need to explicitly define them. In a properties of a "edit" page, you need to specify "route_params": ["groupId"].

my bad! Sorry for raising the flag :) And thanks for your help
Problem solved

Maybe it could be a feature to generate the route params field when a route and a parameter are set in a dataview.

Great! :+1:
Please close this issue.
P.S. for things like long sentences in table row headers, such as "Les utilisateurs peuvent-ils supprimer de la corbeille les vidéos, projets et HowTOs du groupe?" - I'l add new property to field object "short_title" - and if specified, that short title will be shown in table header (and "title" in form labels).

P.S. for things like long sentences in table row headers, such as "Les utilisateurs peuvent-ils supprimer de la corbeille les vidéos, projets et HowTOs du groupe?" - I'l add new property to field object "short_title" - and if specified, that short title will be shown in table header (and "title" in form labels).

+1 :+1:

("short_title" will be added in 0.9.35)


Error: cannot find symbol in Android X with 4.3.0

Geeting Error while Migrate to Android X
symbol:   variable ProfileFragmentPermissionsDispatcher
location: class ProfileFragment
xxxPermissionsDispatcher.onRequestPermissionsResult(this, requestCode, grantResults);
Also not generated
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
24 errors

Could you try clearing gradle and AS caches?
Could you try on our sample module? https://github.com/permissions-dispatcher/PermissionsDispatcher/tree/master/sample

We haven't gotten enough info for the issue so let me close for the time being and reopen if needed 🙇


Next.js ReferenceError: window is not defined

What is the problem?

This is my first github issue ever, so please let me know if you need more information. In a Next.js app, I wanted to use selection to select multiple items in a card. However, after installing viselect, I couldn't import SelectionArea from @viselect/react.
What is the current behavior?

When I do
import SelectionArea, { SelectionEvent } from '@viselect/react';
Nextjs returns with:

"ReferenceError: window is not defined"

Screenshot of error:

I tried to edit webpack as specified in another issue here. I added a next.config.js with
module.exports = {
  webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
    config.resolve.aliasFields = []
    return config;
  },
};

however the problem persisted. This is also in the CodeSandbox below.
Please provide the steps to reproduce and create a CodeSandbox.
Reproduce with a fresh install of Next.js using npx create-next-app and then npm install @viselect/react.
CodeSandbox with same exact behavior

What is the expected behavior?

I expect to not have the "window is not defined" error and be able to import use the component.
Your environment:
Toolset (e.g. webpack, vite, vue-cli...): next.js
Version (@viselect/<insert package>): @viselect/react
Browser:  Chrome
OS:  Windows 10

Seems to be related to server-side rendering... Solution seems to be this SO thread. I'll take a look into it later, thank your for trying the beta version! :)

Fixed in v3.0.0-beta.3 :)


Add ability to create new projects

It should be doable to add a "new project"

button to the project selector:

Still required:

validation for existing names
validation the name is using valid character set
Create New button on context card  after 'Change' button for project name (optional)


Hilary's ExerciseCase refactorings

These refactorings are not directly relevant to separating the canonical data methods from ExerciseCase so I've separated them from the changes required for #648

FYI:
I created a separate branch for these because I was trying to work out how to more elegantly build on PRs, and the answer seems to be branches.
I've not updated anything else because I don't want to re-do the PRs I've already done.


Implemented largest substring removal

Resolves #3
Added a step to the preprocessing to remove the largest substring from a license. I also added testing of the function.

@jpeddicord It is able to find the largest substr and remove it from in all occurences except for the first occurance. Here's an example ->
Before largest substr removal:
%%Copyright: Copyright
%%Copyright: All rights reserved.
%%Copyright: Redistribution and use in source and binary forms, with or
%%Copyright: without modification, are permitted provided that the
%%Copyright: following conditions are met:

After:
%%Copyright: Copyright
All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the
following conditions are met:

Do you know what might be causing this?

Thanks for the PR! I forgot to take a look at this yesterday; did you figure that out in your latest commit?
For some reason the Travis build is failing, though it looks like it should have succeeded. I'll give that a kick and debug that if it's still stuck.

Also: can you confirm that your changes are being submitted under the terms of the Apache 2.0 license?

Yes, I simply forgot to trim the string before the comparison :face_with_head_bandage: . I did make the changes under the terms of the Apache 2.0 license.

I refactored the LCS to remove common substrings only if they appear at the beginning of a line. This seems to have fixed the failing test. I also added the extra tests that you provided. Thanks :100: .

This looks great! Thanks for fixing that up. I might tinker with the order of the substring removal down the line (it might be more efficient to put it in the "normalize" list instead of "aggressive", so it'll get more heavily cached) but as it is this'll work just fine.


cmd/ps issue: expecting a bash terminal

Running (via npx) in PowerShell or cmd fails, e.g.
PS C:\Users\Me\Projects\test\pythagora-poc> npx pythagora --unit-tests --func simple
/bin/bash: C:UsersMeProjectstestpythagora-pocnode_modulespythagorasrcbinrun.bash: No such file or directory
Bash script exited with code 127

Running from git bash works fine.
Not a huge deal, I was still able to try it out. I think digging around the issue is it detects bash on my system, but that is for WSL, and the Windows path to the bash script (run.bash) won't resolve in WSL.

hey @beejjacobs thank you for reporting issue and trying out Pythagora!
As you mentioned, solution is to run it in git bash, but we will try to fix that soon.
We are aware of that, issue is that we are running bash script while starting Pythagora and in Windows bash doesn't work unless you run it in git bash. We have in backlog to remove that bash script when running Pythagora which should solve this issue for good.
We had a "note:" section, saying to run command in git bash on Windows, in integration tests readme, but it's definitely good you pointed it out. I will add it to readme until we remove bash script.
Thank you!

Ah yes, I hadn't seen the note in the integration tests readme. Worth adding to the root readme for now perhaps?
If you've got an issue on the backlog, happy that this can be closed. Not a showstopper anyway!


Handle unencoded Location headers

GitHub: https://github.com/altmetric/embiggen/issues/4
In production, we've seen a few shorteners return unencoded URIs in their Location headers (contrary to the RFC 7231 specification). We could use URI.escape and URI.unescape to deal with these but they have been deprecated. Instead, bring in the Addressable gem as a dependency to handle normalisation.
This means that Embiggen now returns Addressable::URIs rather than Ruby standard library URIs which is a breaking API change if you rely on URI-specific features (e.g. port which is much stricter with Addressable).

Going to re-open this against the 1.x branch.


Upgrade dependencies

This set of updates will upgrade the fivebeans dependencies (which will get rid of all but one security finding).

Tests pass:
$ npm test

<EMAIL_ADDRESS>test /Users/jasonray/code/fivebeans
nyc mocha -t 8000 -R spec test/

(node:79442) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
FiveBeansClient
#FiveBeansClient()
✓ creates a client with the passed-in options
#connect()
✓ creates and saves a connection
job producer:
✓ #use() connects to a specific tube
✓ #list_tube_used() returns the tube used by a producer
✓ #put() submits a job
job consumer:
✓ #watch() watches a tube
✓ #ignore() ignores a tube
✓ #list_tubes_watched() returns the tubes the consumer watches
✓ #peek_ready() peeks ahead at jobs
✓ #stats_job() returns job stats
✓ consumer can run stats_job() while a job is reserved
✓ #reserve() returns a job (1075ms)
✓ #touch() informs the server the client is still working
✓ #release() releases a job
✓ jobs can contain binary data
✓ jobs can contain utf8 data
✓ #peek_delayed() returns data for a delayed job
✓ #bury() buries a job (> 1sec expected) (1067ms)
✓ #peek_buried() returns data for a buried job
✓ #kick() un-buries jobs in the producer's used queue
✓ #kick_job() kicks a specific job id
✓ #pause_tube() suspends new job reservations (> 1sec expected) (1074ms)
✓ #destroy() deletes a job (nearly 2 sec expected) (1997ms)
✓ #reserve_with_timeout() times out when no jobs are waiting (> 1sec expected) (1074ms)
server statistics
✓ #stats() returns a hash of server stats
✓ #list_tubes() returns a list of tubes
✓ #stats_tube() returns a hash of tube stats
✓ #stats_tube() returns not found for non-existent tubes
concurrent commands
✓ can be handled
FiveBeansRunner
constructor
✓ throws when not given an id (86ms)
✓ throws when not given a config path (80ms)
✓ throws if given a config path that does not exist
✓ creates a runner when given valid options
readConfiguration()
✓ throws when the config requires non-existing handlers
✓ returns a config object for a good config
createWorker()
✓ returns a worker
✓ started the worker (1073ms)
go()
✓ creates and starts a worker
FiveBeansWorker
constructor
✓ creates a worker with the passed-in options
✓ inherits from EventEmitter
✓ respects the timeout option
starting & stopping
✓ emits the error event on failure
✓ emits the started event on success
✓ stops and cleans up when stopped (1070ms)
✓ watches tubes on start (1073ms)
job processing
✓ deletes jobs with bad formats (503ms)
✓ buries jobs with bad json
✓ buries jobs for which it has no handler
✓ passes good jobs to handlers
✓ handles jobs that contain arrays (for ruby compatibility)
✓ buries jobs when the handler responds with "bury"
✓ successfully handles jobs with non-ascii characters
✓ can call touch() on jobs in progress (5004ms)
✓ releases jobs when the handler responds with "release"
log events
- have tests
54 passing (15s)
1 pending


Support Composite Elements

Since version 4020, X12 EDI has defined the concept of component and repeating elements.

Define behavior for detecting when ISA11 is the repetition control char
Support sub-element separation
Support sub-element repetition

Closing, as work will eventually continue in the JS-EDI project.


Son not playing

Hello thanks for your plugin, everything is working like a charm except playing song, cordova media still saying -1 in _duration property (that means that my file does not exist) any idea about this?
in Path property i delete "file://" and still does not work.
thanks!

Do not use the demo html for playing the song, it needs update. Use the cdvfile protocol to play the song. Please see here -
https://github.com/apache/cordova-plugin-media#media
https://github.com/apache/cordova-plugin-file


Add support for Checkout and Billing API

From September 2019, new European laws mean the current Checkout / Elements.js and the Billing API can't be used anymore.
It seems you won't be able to create a new subscription with a $token anymore.
Not using the new libraries will mean charges will fail.
Info is on nearly all pages regarding Checkout / Elements: https://stripe.com/docs/stripe-js/elements/quickstart
New Checkout: https://stripe.com/docs/payments/checkout?success=true#seehow

Heya! We're aware and currently looking at what needs to be done for this. We'll probably move to the new payment intents api for custom checkout experiences and also provide support for the new checkout product. At the moment I'm waiting a bit for Stripe's migration guide on the billing product before I start working on it.

For those wondering about what the OP is talking about:
https://stripe.com/docs/strong-customer-authentication
It should come around September 14th of this year.

Is there any updates on supporting Checkout?

@dvyue no. We won't be supporting checkout at this time.

@dvyue we're still accepting prs for it. There was a half finished pr by myself which anyone can pick up from.


Feat adapters rubic

PR Templates
Type of change

Adapters Template

Dapp description: Rubic is a comprehensive Best Rate Finder tool for users and dApps.

With integration across 80+ blockchains and testnets, Rubic facilitates swaps for 15,500+ assets, boasting optimal rates, liquidity, and transaction speeds through 220+ DEXs and bridges.

User Points Calculation criteria:

Users receive 50% extra Rubic points for Cross-Chain and On-Chain swaps completed using ZkLink.

Solidity Contract Signature Involved in Transactions:

event RubicTransferStarted(
bytes32 transactionId,
string bridge,
address integrator,
address referrer,
address sendingAssetId,
address receivingAssetId,
address receiver,
address refundee,
uint256 minAmount,
uint256 destinationChainId,
bool hasSourceSwaps,
bool hasDestinationCall)

event RubicSwappedGeneric(
bytes32 indexed transactionId,
address integrator,
address referrer,
address fromAssetId,
address toAssetId,
uint256 fromAmount,
uint256 toAmount)

Conditions for User Points Calculation:

Users triggering the Swap event in the 0x1a979E2386595837BaAB90Ba12B2E2a71C652576(RubicMultiProxy) contract will earn points.

Quantity Calculation Rule:

Amount in RubicTransferStarted is minAmount. Amount in RubicSwappedGeneric is fromAmount.

@PseudoElement  Hi Rubic dev,
You've used subgraph, but it looks like you didn't create a .env file and maybe you haven't deployed the subgraph to our hosted service yet. You can check out our example folder and docs to see how to use deploySubgraph.js to deploy your subgraph. Also, we noticed that the contract addresses and starting block numbers in your subgraph.yml file are incorrect.
Another question: could you briefly explain what happens when a user swaps? Specifically, what's the relationship between RubicTransferStarted and RubicSwappedGeneric events? For zkLink, we need to verify that each transaction hash has a corresponding event fragment signature.
Lastly, it would be great if you could sync your code with our main branch.


AttributeError: 'tuple' object has no attribute 'page_content'

System Info
langchain 0.0.228
python 3.11
Who can help?
No response
Information

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

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[X] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
I have a pinecone index with information which I upserted from a SQL table like this:
    df = loadSqlData()
    df.to_csv('profiles.csv', index=False)

    # Iterate through DataFrame rows
    # Time Complexity: O(n), where n is the number of rows in the DataFrame
    for _, record in df.iterrows():
        start_time = time.time()

        # Get metadata for this record
        # Time Complexity: O(1)
        metadata = {
            'IdentityId': str(record['IdentityId'])
        }
        st.write(f'Time taken for metadata extraction: {time.time() - start_time} seconds')

        start_time = time.time()
        # Split record text into chunks
        # Time Complexity: O(m), where m is the size of the text
        record_texts = text_splitter.split_text(record['content'])
        st.write(f'Time taken for text splitting: {time.time() - start_time} seconds')

        start_time = time.time()
        # Create metadata for each chunk
        # Time Complexity: O(k), where k is the number of chunks in the text
        record_metadatas = [{
            "chunk": j, "text": text, **metadata
        } for j, text in enumerate(record_texts)]
        st.write(f'Time taken for metadata dictionary creation: {time.time() - start_time} seconds')

        start_time = time.time()
        # Append chunks and metadata to current batches
        # Time Complexity: O(1)
        texts.extend(record_texts)
        metadatas.extend(record_metadatas)
        st.write(f'Time taken for data appending: {time.time() - start_time} seconds')

        # If batch_limit is reached, upsert vectors
        # Time Complexity: Depends on the upsert implementation
        if len(texts) >= batch_limit:
            start_time = time.time()
            ids = [str(uuid4()) for _ in range(len(texts))]
            # Simulating embedding and upserting here
            Pinecone.from_texts(
                    texts,
                    embed,
                    index_name="cubigo",
                    metadatas=metadatas,
                    namespace="vwProfiles2")
            texts = []
            metadatas = []
            st.write(f'Time taken for vector upsertion (simulated): {time.time() - start_time} seconds')

    # Upsert any remaining vectors after the loop
    # Time Complexity: Depends on the upsert implementation
    if len(texts) > 0:
        start_time = time.time()
        ids = [str(uuid4()) for _ in range(len(texts))]
        # Simulating embedding and upserting here
        Pinecone.from_texts(
                texts,
                embed,
                index_name="cubigo",
                metadatas=metadatas,
                namespace="vwProfiles2")
        st.write(f'Time taken for remaining vector upsertion (simulated): {time.time() - start_time} seconds')
        st.write('Rows indexed: ', len(df))

And now I am trying to make a chatbot with my SQL Table, I dont want to use SQLToolkit or Agent as its very slow.
so I am trying to use the following code:

 llm = AzureChatOpenAI(
        openai_api_base=OPENAI_DEPLOYMENT_ENDPOINT,
        openai_api_version=OPENAI_API_VERSION ,
        deployment_name=OPENAI_DEPLOYMENT_NAME,
        openai_api_key=OPENAI_API_KEY,
        openai_api_type = OPENAI_API_TYPE ,
        model_name=OPENAI_MODEL_NAME,
        temperature=0)
    embed = OpenAIEmbeddings(deployment=OPENAI_EMBEDDING_DEPLOYMENT_NAME, model=OPENAI_EMBEDDING_MODEL_NAME, chunk_size=1)
    user_input = get_text()
    vectorstore = Pinecone.from_existing_index("cubigo",embedding=embed, namespace="vwProfiles2")
    docs =vectorstore.similarity_search_with_score(user_input, k=250, namespace="vwProfiles2")   #Who is from Bransk
    vectordb = Pinecone.from_documents(documents=docs,
                                     embedding=embed)

    qa = RetrievalQA.from_chain_type(llm=llm,
                                     chain_type="stuff",
                                     retriever=vectordb.as_retriever()
                                     )

    response = qa.run(user_input)

But I get this error
AttributeError: 'tuple' object has no attribute 'page_content'

File "C:\Users\xx\repos\xxChatbotv1\app\pages\07Chat With Pinecone Directly.py", line 100, in main
    vectordb = Pinecone.ncia\repos\xxChatbotv1\app\pages\07Chat With Pinecone Directly.py", line 100, in main
    vectordb = Pinecone.from_documents(documents=docs,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\anaconda3\envs\xxChatbotv3\Lib\site-packages\langchain\vectorstores\base.py", line 334, in from_documents
    texts = [d.page_content for d in documents]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\anaconda3\envs\xxChatbotv3\Lib\site-packages\langchain\vectorstores\base.py", line 334, in <listcomp>
    texts = [d.page_content for d in documents]
             ^^^^^^^^^^^^^^from_documents(documents=docs,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\anaconda3\envs\xxChatbotv3\Lib\site-packages\langchain\vectorstores\base.py", line 334, in from_documents
    texts = [d.page_content for d in documents]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\anaconda3\envs\xxChatbotv3\Lib\site-packages\langchain\vectorstores\base.py", line 334, in <listcomp>
    texts = [d.page_content for d in documents]
             ^^^^^^^^^^^^^^

Expected behavior
response in plain english?

Can you please check if this is happening when you have no docs returned from Pinecone. If that is the case, you will need to handle that scenario in your code logic. Right now I do not see that in the code.
docs =vectorstore.similarity_search_with_score(user_input, k=250, namespace="vwProfiles2")

indeed docs is empty, thanks for pointing that out

I had a similar issue. When I finally got to reading the  API, it turns out you want a List, so I just did
    doc = Document(page_content=input,
            metatdata={
                "source": "userinput"
            }
        )
     #db.add_documents(doc)
     db.add_documents([doc])

I hope this helps.


nuxt项目部署后，运行一段时间之后会特别的卡顿，渲染很慢，重启以后就很快

Versions

nuxt:
node:

Reproduction

Additional Details

Steps to reproduce
What is Expected?
What is actually happening?

你服务器内存不够吧

en:
After the project is deployed, it will be particularly stuck after running for a period of time, rendering is very slow, and it will be very fast after restarting
Your server has insufficient memory, right

Hi @thunderwin. This seems to be a memory leak issue with your project but without having access to source-code to analyze heap dump it is not easily traceable to find the root cause. maybe @clarkdo can help.

@luotingv1 我遇到了类似的问题，我在 plugins 里面使用了 mixins，而且没有使用官方提供的手段避免mixin的反复调用。如果你也是类似情况，你可以参考官方文档中 mixin 的使用。

内存泄漏了吧，nodejs没有自动gc，这个样子只能做定时重启


Budget billing period alignment for Pay-As-You-Go

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

@adwise3 Thanks Adam.
#sign-off


UndefinedFunctionError Makeup.Lexers.ElixirLexer.lex/2

    Makeup.Lexers.ElixirLexer.lex("%{}", [])
(makeup) lib/makeup.ex:41: Makeup.highlight/2
(web) lib/web/views/admin_view.ex:12: Web.AdminView.elixir_code_html/1

I'm having the previous error when I deployed.
defp deps do
   ...,
   {:makeup, "~> 0.8"}
end

I tested the lexer's but didn't work my last lexer was html5.
def elixir_code_html(map) when is_map(map) do
    {:safe, Makeup.highlight("#{inspect(map, pretty: true)}", name: "html5")}
end

@paridin you need to add :makeup_elixir to your deps in order to get the Elixir lexer (which is required for most operations)


HTML Coding using go2rtc Links: Examples?

I am totally impressed by go2rtc, and have started to use it at our non-profit thrift store to display a web page showing at outside view from one of our Swann security cameras -- which I then Chromecast to a remote TV/monitor.  Next step: creating some HTML to display a 'mosaic' of thumbnail images from each of our 16 Swann cameras on a single page, which can then be clicked on to display the desired full-screen stream.
To get started, I thought of using the 'frame' option of go2rtc to get still-image snaps, put into some HTML table containing the links to the various cameras.  Seems simple, but I am not getting any images so far.  Maybe somebody has some starter HTML for me to start with?  Thanks!

Page with mosaic will be in next version. I'm working on it.

Supported in v0.1-rc.5
Support width URL param with pixels &width=320px (default) or percents &width=25%.


Running process() more than one causes crash

It should be possible to run TextureProcessor.process() more than once.

Fixed


The Functions feature is causing the API to return [400:invalid_request_error]

#36
I am using the ChatCompletionRequest endpoint, upgraded from v1.1.15 to v1.1.16 and I am now getting an error response from the API - I haven't done any other changes on my end.
[400:invalid_request_error] None is not of type 'array' - 'functions'
I did not add any Functions to my request, and it doesn't seem that Functions is a required parameter, but somehow the API is now replying as if it was included in the request with the None value by default, and complaining that value is not of type array.
Adding an empty Functions parameter to the request and the API responds "correctly" with [400:invalid_request_error] '' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'functions.0.name'
I noticed that Functions support was recently added in the latest pull request but have not been able to figure out what is going wrong. Perhaps the API expects an empty array instead of the None value it is receiving or interpreting?
Rolling back to v1.1.15 fixes the issue.

Any news on this one, I see that there is already a fix provided, is this going to be merged?


disable causal treatment whatif in static view

Description
In static view of RAI Dashboard, disable the causal treatment whatif by disabling the slider and hiding the treatment new outcome section.

Checklist

[x] I have added screenshots above for all UI changes.
[ ] Documentation was updated if it was needed.
[x] New tests were added or changes were manually verified.

Codecov Report

Merging #1391 (b195d19) into main (db671f3) will decrease coverage by 10.35%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1391       +/-   ##
===========================================
- Coverage   85.93%   75.58%   -10.36%
===========================================
  Files         100       10       -90
  Lines        4791      258     -4533
===========================================
- Hits         4117      195     -3922
+ Misses        674       63      -611

Flag
Coverage Δ

unittests
75.58% <ø> (-10.36%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

responsibleai/responsibleai/_input_processing.py

raiutils/raiutils/__init__.py

erroranalysis/erroranalysis/_internal/__init__.py

responsibleai/responsibleai/utils.py

...iwidgets/raiwidgets/model_performance_dashboard.py

responsibleai/responsibleai/exceptions.py

...sibleai/responsibleai/rai_insights/rai_insights.py

...ponsibleai/responsibleai/_managers/base_manager.py

raiwidgets/raiwidgets/explanation_dashboard.py

raiutils/raiutils/version.py

... and 80 more

Continue to review full report at Codecov.

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


add default configurable properties for UISwitch

I think some properties are missing like thumbTintColor, onTintColor
Check it please

update properties for remains

GOOOOD👍

THANXXX 👍


Add support page

[x] I've read and followed the contributing guide on how to create great pull requests.
[x] I've updated the relevant documentation for any new or updated feature.
[x] I've linked relevant GitHub issue with "Closes #".
[x] I've added a visual demonstration in the form of a screenshot or video.

@apedroferreira  Is there anything to be done about the failing test?


Typo in Readme

The read me lists the deviceName variable as:  %deviceName  and is missing the 2nd %

Thanks, it's fixed!


Fix VSCode Code Actions

Summary of the changes

This finishes up the additional items required to support the new code action identifiers in VSCode (wasn't able to test it properly before because of other issues). Note that PR was merged after the VSCode insertion was cut so there shouldn't be any issues with the new VSCode release.
In some scenarios, I'm getting this after invoking the code action. As far as I can tell this is a O# issue.

This is also preventing me for validating Razor add component using / fully qualify component (https://github.com/dotnet/aspnetcore/issues/31608)

Note that PR was merged after the VSCode insertion was cut so there shouldn't be any issues with the new VSCode release.

Thanks for clarifying!


change prefetch buffer size from 1024 -> 2048 bytes

This does not seam like the correct fix for failing tls matching. Matching should load more bytes if necessary.
Its more likely that the cause is the removal of loading as much client bytes as possible in prefetch that happened by https://github.com/mholt/caddy-l4/commit/afa78d72257b949486b24fa6f0351381c786a4b3 and thus going multiple times through the matching loop. Which also matches the comments from https://github.com/mholt/caddy-l4/issues/250 (the diff there basically restores the old behavior).
I am still using my version from https://github.com/mholt/caddy-l4/pull/229 and have not noticed any issues with the large client hellos.
Increasing the chunk size here also doubled the minimum memory usage per connection for everything. Since it is also the minimum allocation size of the buffer. Not sure if we want this. But if now the majority of client hellos is bigger than 1KB it may also not be a bad thing. Tls matching is after all a very popular use case.

@ydylla
I've tried it out and built it with the hash before afa78d7:
e491c44895fe3f11e24ad4d8c4f6a668144c0ef9
And then also with your branch:
905fa81f2d7ffad9b3b88065dcd9b322cd708f83
None of these two versions fixed the behavior I had with caddy l4 in freebsd.
Though strangely even just 1 Millisecond sleep time exactly in this spot fixes it for me.
Adding this before "read once" fixes all of my problems with the tls matcher not matching on freebsd.
time.Sleep(1 * time.Millisecond)
https://github.com/mholt/caddy-l4/blob/ea27408a3384a7f33b5d1cb49ec592cf76942be6/layer4/connection.go#L140-L141
So, my issues might be unrelated and of a different nature. The gpt solution might have only given it some arbitrary delay too in that spot due to more processing.
I don't know the implications, but if adding 1 or 2ms there fixes it for most of the userbase of the plugin I downstream then I might just patch it in myself, since it seems kinda specific to one operating system.

This does not seam like the correct fix for failing tls matching. Matching should load more bytes if necessary.
Its more likely that the cause is the removal of loading as much client bytes as possible in prefetch that happened by https://github.com/mholt/caddy-l4/commit/afa78d72257b949486b24fa6f0351381c786a4b3 and thus going multiple times through the matching loop. Which also matches the comments from https://github.com/mholt/caddy-l4/issues/250 (the diff there basically restores the old behavior).
I am still using my version from https://github.com/mholt/caddy-l4/pull/229 and have not noticed any issues with the large client hellos.
Increasing the chunk size here also doubled the minimum memory usage per connection for everything. Since it is also the minimum allocation size of the buffer. Not sure if we want this. But if now the majority of client hellos is bigger than 1KB it may also not be a bad thing. Tls matching is after all a very popular use case.

yes, I think prefetching beyond the initial buffer is broken somehow in this case, but I don't exactly know why.

Though strangely even just 1 Millisecond sleep time exactly in this spot fixes it for me.
Adding this before "read once" fixes all of my problems with the tls matcher not matching on freebsd.
time.Sleep(1 * time.Millisecond)

That sounds like a race condition to me... not necessarily a "data race" in the strict sense of what the race detetor would find, but more like a logical race. Either that or something funky in the kernel that depends on time or order of things that aren't concurrent. But if something concurrent/parallel is going on, this is where I've seen Sleeps make a spooky difference.

None of these two versions fixed the behavior I had with caddy l4 in freebsd.

I think there are two different issues at play here. First the FreeBSD one.
The first Read on FreeBSD is probably a 0 length read. We should see that in the logs. @Monviech You never posted debug logs of the unmodified broken version (before ea27408a3384a7f33b5d1cb49ec592cf76942be6). Can you do that? We should see a "prefetched","bytes":0 line.
The 0 length read causes all versions of prefetch to exit without data. Which in turn causes the matching loop to be called a second time. Here is the second bug. If multiple iterations are needed for matching it does not work. I can also reproduce that on Windows at 4f012d4517cf65b3a2da1308ec6e770c0cf0b656 (before the chunk size increase). This

config.json
{
  "admin": {
    "disabled": true
  },
  "logging": {
    "logs": {
      "default": {"level":"DEBUG", "encoder": {"format":"console"}}
    }
  },
  "apps": {
    "tls": {
      "certificates": {
        "automate": ["localhost"]
      },
      "automation": {
        "policies": [{
          "subjects": ["localhost"],
          "issuers": [{
            "module": "internal"
          }]
        }]
      }
    },
    "layer4": {
      "servers": {
        "https": {
          "listen": ["<IP_ADDRESS>:10443"],
          "routes": [
            {
              "match": [
                {"tls": {"sni": ["localhost"]}}
              ],
              "handle": [
                {"handler": "tls"}
              ]
            },
            {
              "handle": [
                {
                  "handler": "proxy",
                  "upstreams": [{"dial": ["<IP_ADDRESS>:10080"]}]
                }
              ]
            }
          ]
        }
      }
    },
    "http": {
      "servers": {
        "backend": {
          "protocols": ["h1","h2","h2c"],
          "listen": ["<IP_ADDRESS>:10080"],
          "routes": [
            {
              "handle": [{
                "handler": "static_response",
                "status_code": "200",
                "body": "Hello World\n",
                "headers": {
                  "Content-Type": ["text/plain"]
                }
              }]
            }
          ]
        }
      }
    }
  }
}

for example does not work with Chrome. It produces the following logs:
2024/10/07 18:11:22.983 DEBUG   layer4  matching        {"remote": "[::1]:11261", "error": "consumed all prefetched bytes", "matcher": "layer4.matchers.tls", "matched": false}
2024/10/07 18:11:22.983 DEBUG   layer4  prefetched      {"remote": "[::1]:11261", "bytes": 1024}
2024/10/07 18:11:22.983 DEBUG   layer4  matching        {"remote": "[::1]:11261", "error": "consumed all prefetched bytes", "matcher": "layer4.matchers.tls", "matched": false}
2024/10/07 18:11:22.984 DEBUG   layer4.handlers.proxy   dial upstream   {"remote": "[::1]:11261", "upstream": "<IP_ADDRESS>:10080"}
2024/10/07 18:11:22.984 DEBUG   layer4  connection stats        {"remote": "[::1]:11261", "read": 1726, "written": 103, "duration": 0.0005173}
2024/10/07 18:11:22.984 DEBUG   layer4  matching        {"remote": "[::1]:11263", "error": "consumed all prefetched bytes", "matcher": "layer4.matchers.tls", "matched": false}
2024/10/07 18:11:22.984 DEBUG   layer4  prefetched      {"remote": "[::1]:11263", "bytes": 1024}
2024/10/07 18:11:22.985 DEBUG   layer4  matching        {"remote": "[::1]:11263", "error": "consumed all prefetched bytes", "matcher": "layer4.matchers.tls", "matched": false}
2024/10/07 18:11:22.985 DEBUG   layer4.handlers.proxy   dial upstream   {"remote": "[::1]:11263", "upstream": "<IP_ADDRESS>:10080"}
2024/10/07 18:11:22.985 DEBUG   layer4  connection stats        {"remote": "[::1]:11263", "read": 1822, "written": 103, "duration": 0.0010873}

With Firefox it works. It also works with Chrome on the lazy-prefetch branch.
For the FreeBSD issue ignoring 0 length Read's and just trying to Read again is probably the better fix. In case my theory about that is actually true 😅

It also occurred to me that the config I used above is inherently unreliable, because it uses a route without matcher as second route. That means once the first route fails layer4 will always choose the second one regardless of the first route indicating it needs more data. It is a config that should not really be used. In general one should avoid routes without matchers if it's not the only route. Eagerly loading all data the client sent in prefetch mitigates this, but it's not guaranteed to work.

@ydylla I've built with 4f012d4 and removed the empty route and my config started working without the sleep in Chrome and Edge. I have added the empty route because it was suggested here:
https://github.com/mholt/caddy-l4/pull/217
Check the SSH multiplexing detail.

I want to know if thats still required or why it was suggested. Since I maintain a template and I have hardcoded it there due to this example.

The empty route that is suggested there should indeed not be necessary anymore. It was a workaround for #208 and fixed with afa78d72257b949486b24fa6f0351381c786a4b3.  The fallback implemented with afa78d72257b949486b24fa6f0351381c786a4b3 has indeed other behavior. It is only called if all matchers came to a final conclusion.
In general, it's best to be explicit. If I read your template correctly you could also use a tls matcher. Because directly after the layer4 wrapper the tls wrapper is specified, so everything not looking like tls would fail there anyway.

after the layer4 wrapper the tls wrapper is specified, so everything not looking like tls would fail there anyway

Which is apparently also not necessarily true. According to the docs the tls wrapper may be or is a noop:

There is a special no-op tls listener wrapper provided as a standard module which marks where TLS should be handled in the chain of listener wrappers. It should only be used if another listener wrapper must be placed in front of the TLS handshake. This does not enable TLS for a server; e.g. if this is used on your :80 HTTP server, it will still act as a no-op.

So using a tls machter may interfere with http -> https redirects. I have never used listener wrappers myself 🤷🏻♂

@ydylla Its a kinda specific but widely used usecase popularized by HA Proxy (I think).
People want to route some domains on their precious IPv4:443 port (since they dont want or can not use the benefits of almost unlimited IPv6 sockets) without TLS termination, and some of them with TLS termination and reverse proxied.
They also want to multiplex their SSH and RDP into 443 while still using the HTTP reverse proxy.
Thats why the listener wrapper seems to be quite important here.
But I could be wrong, actually never tried setting it up differently since I interpreted the configuration examples this way.
If theres a logic error I'm quite interested to find it.

There is no logic error. One can use the listener wrapper for this. My point was I am not the best person to ask for advice for it. I still use configs where layer4 controls the socket and only forward http to the caddy http app listening on a unix socket. Because I find it more logical this way and since my configs are older than the listener wrapper.


Modify symfony/http-foundation requirement to be compatible with Laravel 5.4

Current coverage is 76.45% (diff: 100%)

Merging #165 into master will not change coverage

@@             master       #165   diff @@
==========================================
  Files            39         39
  Lines          1457       1457
  Methods         293        293
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1114       1114
  Misses          343        343
  Partials          0          0

Powered by Codecov. Last update 0e52247...a46166f

Awesome! Thanks.
On Wed, Jan 25, 2017 at 16:52 Marcel Pociot<EMAIL_ADDRESS>wrote:

Merged #165 https://github.com/mpociot/botman/pull/165.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpociot/botman/pull/165#event-936881468, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AANdd8D-73ecZF2QyPo3c_X1eJT-2HhRks5rV8QPgaJpZM4LuAKO
.

Thanks for the PR! :)


Radio validation?

Hello, i didn't find any information about checkbox or radio validation, how to validate it?

Show us (part of) your HTML form and the JavaScript and we may be able to help you. Also, note that support requests are best handled on StackOverflow.

The only validation rule I can think of for checkboxes and radios is required. I'd suggest to just use the AngularJS directives for this and use valdr for all other types of form items.


Restrict Coalesce to SQL².

Previously, Coalesce had to be implemented by connectors, but it’s a SQL-ism.
This also extracts the mapping of SQL/LP functions from the StdLib,
which should also make it easier to implement aliases without expanding
them directly in the parser.

Current coverage is 64.62% (diff: 3.06%)

Merging #1604 into master will increase coverage by 0.15%

@@             master      #1604   diff @@
==========================================
  Files           343        342     -1
  Lines         16067      16123    +56
  Methods       15786      15852    +66
  Messages          0          0
  Branches        144        133    -11
==========================================
+ Hits          10359      10420    +61
+ Misses         5708       5703     -5
  Partials          0          0

Powered by Codecov. Last update dcd5395...e25da9a

This raises similar questions about some other Func/MapFuncs that have obvious translations:

Between(a, b, c) === b <= a and a <= c
Negate(x) === x * -1
Null(str) === if (str == "null") null else undefined
Boolean(str) (similar)

At least Between really feels like a SQL weirdness that doesn't need to make it to QS, and it's semantics is weird enough that one backend has already gotten it wrong. On the other hand, Negate might be worth something in case its behavior is interesting for floating point values.
Also I think it's been discussed that Guard could be implemented with a simpler Match primitive.
What principle are we using to decide what merits a MapFunc? Do we intend it to be a minimal set? Is it OK to include things that aren't primitive just because some backend might want to recognize them for special handling?

I agree that some of those may be viable, and we should discuss whether they are or not. For the case of coalesce, we were giving special privilege to null as a value that we didn’t have for anything else, whereas for Null(str) and Boolean(str), they exist for consistency with the other string-parsing functions  (but it might make sense to expand them between LP and QS). Additionally, the SQL semantics of coalesce are certainly not something we want to represent in LP or QS directly (granted, we‘re currently not representing them in SQL² either).

So I guess the only thing I'd like to see done here is to pull the duplicative name field out of Func, and separate the operators and funcs. I think if you do that, you'll find that sql.pprint is being a bit naughty, but that would be worth calling out.

Ok, this has been updated with 1. GenericFunc#name gone and 2. SQL operators handled a bit more nicely than functions.

I really like the direction this is going, but it seems like there is still some dodgy stuff happening. See comments on the most recent commit (which github is folding for some reason).

The function parts are still dodgy – we basically parse any identifier and say “maybe it’s a function?” until we try to compile it to LP. I do agree that it’s getting better, though. Still a lot of improvements to SQL² to be had.

Updated again.

This looks good to me. Will merge once it builds.

Argh – a bit overzealous in my change, and underzealous in my testing.

I would have voted for removing those tests, but this is fine too. Merging.

@sellout: Needs merge from master.

Merged master (cleanly). I don’t know why this didn’t trigger a build?


Bugfix/char issue

Changed identation for better readability according PSR1/PSR2
Fixed undefined warning in WP_Error class
Added fix for following errors for me (with last commit):
Char 0x0 out of allowed range
Premature end of data in tag meta_value line 79999
Premature end of data in tag postmeta line 79997
Premature end of data in tag item line 79931
Premature end of data in tag channel line 28
Premature end of data in tag rss line 20

Sorry, @webmake I completely missed this PR earlier.
Thank you! :+1:


KMS Envelope encryption formats

This is really a question on the correct usage of KMS envelope encryption.
I'm trying to find out the correct way to wrap an a key w/ KMS....From what i can tell, both A and B below creates an EncrytedKeySet which is backed by a KMS KEK.   B is what is whats documented here ...so i'm trying to understand where A fits in...what it is doing is writing a plain `AES256GCMKeyTemplate....
is A and B doing the pretty much the same here or did i miss a subtle and very important distinction on best use?
A
gcpClient, err := gcpkms.NewClient("gcp-kms://")
registry.RegisterKMSClient(gcpClient)
a, err := gcpClient.GetAEAD(keyURI)
memKeyset := &keyset.MemReaderWriter{}

kh1, err := keyset.NewHandle(aead.AES256GCMKeyTemplate())
err := kh1.Write(memKeyset, a)

buf := new(bytes.Buffer)
w := keyset.NewJSONWriter(buf)
err := w.WriteEncrypted(memKeyset.EncryptedKeyset)

{
 "encryptedKeyset": "CiUAmT+VVftIzno6MLCacsWfgYEkIvVIwSCyYW6VZ87RjVkuBXf8EpUBACsKZVI3Qv464/QOu1lWZLra/J28orUJRiPIpOz1IOCyMjWmMd+Ivkk4PXZkbR5GuEcdagS7sHt5A8pSy5dK92n4DHv6eYkM6JK+K5pGuUgTn2vKHHFPQT9MkWR66R+Q6boxgvFrubQbuDUftMyfDg8GhWxGSViJ29wCQ70D1Ii69ZnNsnJN3FWmYk514mP0YKjT8Ig=",
 "keysetInfo": {
   "primaryKeyId":<PHONE_NUMBER>,
   "keyInfo": [
     {
       "typeUrl": "type.googleapis.com/google.crypto.tink.AesGcmKey",
       "status": "ENABLED",
       "keyId":<PHONE_NUMBER>,
       "outputPrefixType": "TINK"
     }
   ]
 }
}

B
gcpClient, err := gcpkms.NewClient("gcp-kms://")
registry.RegisterKMSClient(gcpClient)
kmsAead, err := gcpClient.GetAEAD(keyURI)
a := aead.NewKMSEnvelopeAEAD2(aead.AES256GCMKeyTemplate(), kmsAead)
memKeyset := &keyset.MemReaderWriter{}

kh1, err := keyset.NewHandle(aead.AES256GCMKeyTemplate())
err := kh1.Write(memKeyset, a)

buf := new(bytes.Buffer)
w := keyset.NewJSONWriter(buf)
err := w.WriteEncrypted(memKeyset.EncryptedKeyset)

{
 "encryptedKeyset": "AAAAdAolAJk/lVU/ZxWW4QWmQ+1OHnudp33KHk8fc63vR73PpS4GDMZJyRJLACsKZVIgu8+wv6+GjLFk8STHpDKvwLw7jNBQK6JyHknJdOCUIMFMx5vlbE5qNvj/jUgBPzWDfk0E/Jmgtz90YORd0TGzB+fSQcz7Y8q2f/IBejC+6GiH90g3dZ03K/H/9oxSLh2FRg8kDQqDcn+6A/dJDYIF0bppVvJ2lSLGU11+WwKRIfcIzJxt23QENtST0IG4C8WQxcbsTcSkEsGyA9I2W8pYO2nWUSPgBuzTpgDBcL8FYuyhJQr3kRvV0xMtlBH+b9PZWd6l+3InJuUzK9ga7Q==",
 "keysetInfo": {
   "primaryKeyId":<PHONE_NUMBER>,
   "keyInfo": [
     {
       "typeUrl": "type.googleapis.com/google.crypto.tink.AesGcmKey",
       "status": "ENABLED",
       "keyId":<PHONE_NUMBER>,
       "outputPrefixType": "TINK"
     }
   ]
 }
}

Unfortunately, neither ways are envelope encryption. I have a pending PR to clarify the documentation.
1/ In envelop encryption, you generate a unique key for each message you encrypt. The unique key will be encrypted and appended to each ciphertext. If this is your intention, check out this snippet:
gcpclient, err := gcpkms.NewClientWithCredentials(keyURI, credentialsPath)
  if err != nil {
    log.Fatal(err)
  }
  registry.RegisterKMSClient(gcpclient)

  dek := aead.AES256GCMKeyTemplate()
  kh, err := keyset.NewHandle(aead.KMSEnvelopeAEADKeyTemplate(keyURI, dek))
  if err != nil {
    log.Fatal(err)
  }

  a, err := aead.New(kh)
  if err != nil {
    log.Fatal(err)
  }

  msg := []byte("this message needs to be encrypted")
  aad := []byte("this data needs to be authenticated, but not encrypted")
  ct, err := a.Encrypt(msg, aad)
  if err != nil {
    log.Fatal(err)
  }

  pt, err := a.Decrypt(ct, aad)
  if err != nil {
    log.Fatal(err)
  }

  fmt.Printf("Ciphertext: %s\n", base64.StdEncoding.EncodeToString(ct))
  fmt.Printf("Original  plaintext: %s\n", msg)
  fmt.Printf("Decrypted Plaintext: %s\n", pt)
}

2/ In both A & B, however, you're generating an encrypted keyset that you will use to encrypt multiple messages. This means the encrypted keyset needs to be saved separately. If this is your intention, A is the correct solution.

thanks for the explanation.  I didn't realize the ciphertext already had the key added into it in the example you just cited (which is nice but also incurs kms-operations per object (+some latency)
I guess i can use A  and then manually saving the encrypted keyset alongside the data that it encrypted (eg, as GCS metadata or as pubsub attribute).  then maybe also have N objects/messages encrypted w/ the same keyset

thanks for the explanation. I didn't realize the ciphertext already had the key added into it in the example you just cited (which is nice but also incurs kms-operations per object (+some latency)

We're going to cache the DEK and reuse it for multiple messages. it'd look a lot like solution A, except that it consumes more space, because an encrypted DEK is still included in every single message. Some users like it this way though because they don't have to worry about where to store the encrypted keyset.

I guess i can use A and then manually saving the encrypted keyset alongside the data that it encrypted (eg, as GCS metadata or as pubsub attribute). then maybe also have N objects/messages encrypted w/ the same keyset

Yeah this should work.
Please reopen if you have any further question.


expose Navigator

already exposed, but needs documentation

I think this is not necessary

I think this is not necessary


[iOS] Debug with Address Sanitizer causes stack overflow

Describe the bug
Debugging an iOS app with the "Address Sanitizer" schema option, causes a stack overflow error right on app start.
The crash seems to be coming from the is_jailbroken call.
Steps to reproduce

Open XCode, click on your app target, edit schema, check "Address Sanitizer" under run config
Run the app from XCode, and observe the crash.

Environment

Bugsnag version 7.8.2
Device (e.g. iphonex): iPhone 12 pro

Example Repo

[ ] Create a minimal repository that can reproduce the issue
[ ] Link to it here:

Example code snippet
# (Insert code sample to reproduce the problem)

Stack trace captures:

👋. hey @cristianoccazinsp, replicated on real device, thanks for raising. We'll take a look into this.

Hey @cristianoccazinsp,
Just to let you know this has now been fixed in v7.9.1.
Thanks again for raising this.


A/B device flash current slot problem

Sony official image's Super has not slot' B' image.
So, when flash device current slot 'A' mode, Newflasher is  flash to 'B' broken super  image,
Device is boot loop

If you are on lot B allready the things will be flasher to slot B! If you are on slot A things will be flashed to slot A! So before you flash anything decide which slot you need and acordingly swith to slot you need using fastboot command "set slot active A or B".


Update config to use host-allowlist

Describe the bug
This config file needs to be updated to use host-allowlist in place of host-whitelist
Steps to reproduce
https://github.com/Consensys/doc.linea/blob/e5012338cf6635b584396940f7c7b86a4f45ec78/static/files/besu/config-sepolia.toml#L22
Expected behavior
This is an upcoming breaking change in Besu https://github.com/hyperledger/besu/issues/7761
Link(s)
No response

thank you for flagging @macfarla!


Underglow in reply cars

I need to add Underglow effect in reply cars and that existed in AlphaConsole

So? What is the solution?

The solution is to convince someone (not me) to make to make a plugin with such a feature


Discoloration issues with the blend shader

In DT the blend shader used in your gameplay presets can cause very noticiable patches of discoloration in some lighting situations.

After some expiremantion ended up changing the blend mode from Acerola Light to Hard Light (Soft Light also does the trick) for the Blend 2 shader. This fixes the previous issue with faces when there are bright light source in front of a face.

This is called color banding.


[Feature Request] Dynamic activity/workflow support

Describe the solution you'd like
@activity.defn(dynamic=True)
async def my_activity(name: str, *args: Any) -> Any:
    ...

@workflow.defn(dynamic=True)
class MyWorkflow:
    @workflow.run
    async def run(self, name: str, *args: Any) ->Any:
        ...

Something like that. Notes:

Make sure worker can only have one dynamic activity and/or only one dynamic workflow
Do we need to support payload passthrough in cases of unknown param/response type?

Maybe the signature should only allow *args: Any or payloads: *Payload? Same for return type?

Closing in favor of duplicate #242


Fix/cus 151 - Azure -  error messages fix, cleanup, refactoring

Description
This pull request is aimed to clean up the Error Handling for previous work on CUS-151. It contains no structural changes, however, it does contain some refactoring and clean up, hence a separate PR.
This PR also address some bug fixes related to:

resourceApplication - no reference to this and file produces [] results
missing Target Type RedisCache was not being uploaded to s3

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Chore (no code changes)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Validated in SaaSDev

[ ] Test A
[ ] Test B

Checklist:

[x] My code follows the style guidelines of this project
[x] My commit message/PR follows the contribution guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Other information:
List any documentation updates that are needed for the Wiki

it's huge, let's monitor Azure collector when it goes to prod

@santhosh-challa please approve and merge. Output of files in saasdev match older archives. See screenshots.


Getter/Setters randomly failing in 2017.1.4

Short description
Getters and setters are randomly failing - on some Project Lombock classes. Works fine for awhile, then IntelliJ starts to think getters / setters are missing. Project rebuilds fine, but IntelliJ requires a re-start to clear up.
Expected behavior
_Is there a specific expected behavior?
Should not need to keep re-starting.
Version information

**IDEA Version: 2017.1.4
**JDK Version: 1.8.0_121
**OS Type & Version: OSX 10.12.5
**Lombok Plugin Version: 0.14.16
**Lombok Dependency Version: 1.16.16

Steps to reproduce
What steps do we need to take to reproduce this issue?
Random - works fine, then stops working. No errors. Seems to be happening about every 2 hrs of coding.

I have the same behavior.

Any sample project including *.iml file would be helpful to inspect the project setup.
We have not yet experienced this in the setups we run at work but given many differnt knobs - we need a project sample that does this (also preferably a list of other plugins installed & enabled)

I've upgraded to the latest IntelliJ release and have not seen this for a bit. Maybe accidentally fixed???

Not sure. It might have to do with some re-indexing and similar. Please get back to me if you see it and please try to isolate it to a smallest possible project so we can reproduce it.

I'll close it for now...


MooU2 App

I am having trouble with the sample app. NuGet keeps trying to look for v17.1.100 of Infragistics, but I have v17.2.0. and it throws this error on all the Infragistics packages
Error		NuGet Package restore failed for project Moo2U.Droid: Unable to find version '17.1.1000' of package 'Infragistics.XF.DV'.
C:\Users\Public\Documents\Infragistics\NuGet: Package 'Infragistics.XF.DV.17.1.1000' is not found on source 'C:\Users\Public\Documents\Infragistics\NuGet'.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages: Package 'Infragistics.XF.DV.17.1.1000' is not found on source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages'.
https://api.nuget.org/v3/index.json: Package 'Infragistics.XF.DV.17.1.1000' is not found on source 'https://api.nuget.org/v3/index.json'.
http://reactjs.net/packages/: Package 'Infragistics.XF.DV.17.1.1000' is not found on source 'http://reactjs.net/packages/'.
.

This is not the official Moo2U app. We are experimenting with GitHub and our sample apps.  Though, you should be using the Infragistics NuGet feed in order to restore the current packages.
https://www.infragistics.com/help/xamarin/infragistics-nuget-feed