repo-cd should (optionally) also display the keywords of the ebuilds

repo-cd already provides a nice overview of the package when changing into its directly. Unfortunately, which the keywords missing, an important information about the package is omitted. It would be great of repo-cd would (optionally) display instead of
 > /home/flo/repos/gentoo/gentoo/sci-geosciences/josm-bin
 D Java-based editor for the OpenStreetMap project (18583)
 H https://josm.openstreetmap.de/ (18583)
 H https://josm.openstreetmap.de/wiki/StartupPage (changelog)
 G https://packages.gentoo.org/packages/sci-geosciences/josm-bin
 G https://bugs.gentoo.org/buglist.cgi?quicksearch=sci-geosciences%2Fjosm-bin
 M<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> + Manifest
 + josm-bin-18463.ebuild
 + josm-bin-18513.ebuild
 + josm-bin-18570.ebuild
 + josm-bin-18583.ebuild
 + metadata.xml

the keywords for the ebuilds also. Ideally in the same brief Fassion as epkginfo does. That is
 > /home/flo/repos/gentoo/gentoo/sci-geosciences/josm-bin
 D Java-based editor for the OpenStreetMap project (18583)
 H https://josm.openstreetmap.de/ (18583)
 H https://josm.openstreetmap.de/wiki/StartupPage (changelog)
 G https://packages.gentoo.org/packages/sci-geosciences/josm-bin
 G https://bugs.gentoo.org/buglist.cgi?quicksearch=sci-geosciences%2Fjosm-bin
 M<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> + Manifest
 + josm-bin-18463.ebuild amd64 x86
 + josm-bin-18513.ebuild
 + josm-bin-18570.ebuild
 + josm-bin-18583.ebuild ~amd64 ~x86
 + metadata.xml

May want to check the README and repo-cd --help, that bit is meant to be customized to your liking and the ls is just the default example that's guaranteed to work (and not be slow).
The --run can be changed by default in repo-cd.conf or set per-alias, which can be set to a more elaborate script if want to do multiple checks (e.g. git status/log, pkgdev showkw / eshowkw, ls, pkgcheck, display notes, or whatever you feel makes sense for your workflow -- variables like RCD_PN / RCD_CATEGORY are exported to read as needed)
e.g. try
$ repo-cd --run="eshowkw -C" josm-bin
 > ~/gentoo/sci-geosciences/josm-bin
 D Java-based editor for the OpenStreetMap project (18583)
 H https://josm.openstreetmap.de/ (18583)
 H https://josm.openstreetmap.de/wiki/StartupPage (changelog)
 G https://packages.gentoo.org/packages/sci-geosciences/josm-bin
 G https://bugs.gentoo.org/buglist.cgi?quicksearch=sci-geosciences%2Fjosm-bin
 M<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> + Keywords for sci-geosciences/josm-bin:
 +       |                               |   u   |
 +       | a   a     p s     l r   a     |   n   |
 +       | m   r h   p p   i o i s l m m | e u s | r
 +       | d a m p p c a x a o s 3 p 6 i | a s l | e
 +       | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p
 +       | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o
 + ------+-------------------------------+-------+-------
 + 18463 | + o o o o o o + o o o o o o o | 7 o 0 | gentoo
 + 18513 | ~ o o o o o o ~ o o o o o o o | 7 #   | gentoo
 + 18570 | ~ o o o o o o ~ o o o o o o o | 7 #   | gentoo
 + 18583 | ~ o o o o o o ~ o o o o o o o | 7 o   | gentoo


README may be incorrect about vending XCHammer.app

Hello! The README states that

Pinterest vendors XCHammer.app for reproducibility and simplicity.

But I cannot locate an official release of XCHammer.app in this repository. Some of the samples contain symlinks to xchammer.app, but I assume those aren't official. Does the README need to updated?
For context, I was trying to reference XCHammer.app/Contents/Resources in a Bazel repo rule to avoid having to install XCHammer via make install and instead download the binary on the fly when calling bazel build .... Is this approach possible and/or supported?
Thanks!

I am also looking into using xchammer in bazel without having to do make install. @jerrymarino could you maybe give us some guidance? 😄  Thanks!


feat(oidc): allow returning of parent errors to client

Which Problems Are Solved
Currently the OIDC API of ZITADEL only prints parent errors to the logs. Where 4xx status are typically warn level and 5xx error level. This makes it hard to debug certain errors for client in multi-instance environments like ZITADEL cloud, where there is no direct access to logs. In case of support requests we often can't correlate past log-lines to the error that was reported.
This change adds the possibility to return the parent error in the response to the OIDC client. For the moment this only applies to JSON body responses, not error redirects to the RP.
How the Problems Are Solved

New instance-level feature flag: debug_oidc_parent_error
Use the new WithReturnParentToClient() function from the oidc lib introduced in https://github.com/zitadel/oidc/pull/629 for all cases where WithParent was already used and the request context is available.

Additional Changes
none
Additional Context

Depends on: https://github.com/zitadel/oidc/pull/629
Related to: https://github.com/zitadel/zitadel/issues/8362

@muhlemmer looks like some test is failing for the feature flag. did not check if it's because of eventual consistency or if there something missing in the implementation

@livio-a  should be allright now

Please don't merge before https://github.com/zitadel/zitadel/pull/8262. Probably need to handle merge conflicts after.

@livio-a merge conflicts are handled and should be ready now.


Marshalling the value in set command

Issue link - https://github.com/DiceDB/dice/issues/750
Changes Made:

Handling of values to ensure proper serialization and deserialization of nested map structures in SET command.
Added UTs

@pratikpandey21 Just want to confirm if the escape characters in API response is fine?
"{"foo":{"bar":1}}"

@pratikpandey21 Testcases are running fine, Please help in next steps

@pratikpandey21 Just want to confirm if the escape characters in API response is fine?

I don't think escape chars should be there in response. It should be a proper json. @lovish2525 please check once.
cc: @pratikpandey21

@pratikpandey21 Just want to confirm if the escape characters in API response is fine?

I don't think escape chars should be there in response. It should be a proper json. @lovish2525 please check once. cc: @pratikpandey21

In redis JSON.GET i have noticed escape characters there should not be problem with that as long as client is able to parse it without having errors

@vinitparekh17 @pratikpandey21 Fixed http UTs

@vinitparekh17 So are we good to go with escape chars?

@lovish2525 looks like redis does have escape chars in response. I believe we can keep the same.
cc: @pratikpandey21

@lucifercr07 Kindly approve the workflow

@lovish2525 lgtm
@lucifercr07 hold on this marge for a while, i am about to create pr for http response in proper json format


Merge out-of-process broker capability

This work was done last summer to support a broker implementation in R, but it's really just support for any out-of-process broker implementation in which broker-core sends and receives raw xml to a broker implementation through some sort of inter-process communication scheme. I've tested it with fifos, but any IPC should work.

I've done a manual merge into the broker-adapter branch of powertac-core. The original work was a branch on the broker-core repo, which has since been folded into powertac-core. For the time being, it should be enough to pull down the broker-adapter branch and do a local mvn clean install in powertac-core.

Tested and merged back to master.


Add Unified web console

Hello, we also interesting to see that new console in modified Druid, but why this issue closed, will it be in work ?


newaddress hangs when using simnet and docker

Background
running: lncli --network=simnet newaddress np2wkh doesn't return a new address when following the current docker instructions https://github.com/lightningnetwork/lnd/tree/master/docker.  However, other networks such as testnet work fine.
Your environment
docker
Steps to reproduce
Follow the current docker instructions here: https://github.com/lightningnetwork/lnd/tree/master/docker
Expected behavior
a new simnet address should be returned
Actual behavior
lncli hangs and doesn't return any output.

should be fixed by: https://github.com/btcsuite/btcwallet/pull/602
This bug means that an address cannot be generated by a wallet since the wallet is not synced to the network. In order for the wallet to be synced to the network a block must be mined... in order to generate a block on simnet we need an address.

@ccdle12 thanks!  does lnd fully integrate btc wallet?  I'm not sure where the btcwallet wallet.go is in lnd.

@yancyribbens No worries!, yes LND uses btcwallet implicitly.
In lnwallet/btcwallet/btcwallet.go on line 19 (at time of writing) btcwallet is imported as base.
In the BTCWallet struct on line 47, the field wallet uses *base.Wallet which is the Wallet in btcwallet/wallet/wallet.go.

confirmed btcsuite/btcwallet#602 fixes the docker issue therefore closing


Error making HTTP request

Reproduction: https://github.com/SwayStar123/testing_proj
Error
thread 'test_proxy' panicked at tests/harness.rs:77:10:
called `Result::unwrap()` on an `Err` value: Provider("io error: Error making HTTP request: error sending request for url (http://<IP_ADDRESS>:34031/v1/graphql): connection closed before message completed")

---- test_proxy2 stdout ----
thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fuel-vm-0.49.0/src/interpreter/blockchain.rs:650:18:
source slice length (8) does not match destination slice length (584)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fuel-vm-0.49.0/src/interpreter/blockchain.rs:650:18:
source slice length (8) does not match destination slice length (584)
thread 'test_proxy2' panicked at tests/harness.rs:97:10:
called `Result::unwrap()` on an `Err` value: Provider("io error: Error making HTTP request: error sending request for url (http://<IP_ADDRESS>:35479/v1/graphql): connection closed before message completed")```

Fixed in version 0.63 of the SDK. Verified on the repro project.


[WIP] glibc-2.26

Largest expected caveat: upstream bumped the minimal supportable kernel to 3.2.0.  That's the oldest kernel still supported upstream, released in Jan 2012, but most notably RHEL 6 and derivates still use a heavily patched 2.6.32 kernel and those systems are still supported and in use (production support is scheduled to last till the end of 2020!).
Therefore, I suggest to postpone this after branching 17.09, at least; it won't be nice even after that, but I fail to see a better option ATM.

A single coreutils test started failing :-/

test-getopt.h:754: assertion 'strcmp (argv[1], "donald") == 0' failed

It seems no use to rush merging this.

Now there are some CVE fixes in this PR.  I won't keep it waiting long, just let 17.09 rebuild first with glibc patches.

Hmm, this will cause relatively lots of build-time breakages.  I will try to patch some, mainly older versions of gcc and llvm, and anything blocking "important" packages, but I can't manage everything.

@7c6f434c, @asppsa: do you think that pure can be migrated to some newer llvm?  So far I only bothered to fix 3.7 and newer branches...

Technical answer: still no, https://bitbucket.org/purelang/pure-lang/issues/36/port-pure-to-the-mcjit-in-order-to-support

@vcunat, yeah dependency on old LLVM is unfortunately an ongoing problem for Pure.  My guess is that this will not be fixed any time soon.

OK.  It's similar for llvm-general, though there are branches for newer LLVM versions.

I will probably fix llvm-3.5 within a week, but certainly feel free to beat me.

Support for RHEL 6 and friends: https://github.com/NixOS/nixpkgs/pull/32954


Transcluding a block does not display content

Describe the bug
Block transclusions do not render the content being transcluded. Instead, they only display a wikilink.
This affects transclusions of paragraphs, images, callouts, list items and codeblocks (all of which are able to be transcluded in obsidian as block links). Headings and entire notes are able to be transcluded in Quartz as normal (they are not block transclusions).
To Reproduce
Refer to the attached .md files to reproduce:

Transclusion Tests.md

Transclusion Tests.md contains the transclusions, and demonstrations of how they should render by copying the content directly into blockquotes

Transclusion Source Document.md

Transclusion Source Document.md contains the content that's being transcluded to the Transclusion Tests.md document.

Expected behavior
Block link transclusions should render like blockquotes (albeit with the addition of a paperclip link in the top right corner and a 'link to original' link displayed below it). In the blockquote should be transcluded content from the block link source.
Screenshots and Source
Screenshots of my testing on the local build of the 'Morrowind Modding Wiki' Quartz site (link to Github)
Callout transclusion

Paragraph transclusion

Image transclusion

Heading transclusion

Codeblock transclusion

Desktop (please complete the following information):

Quartz Version: v4.2.3
node Version: v20.11.1
npm version: v10.2.4
OS: Windows 11 Pro
Browser: Chrome

Additional context
Callout transclusions worked previously in the Morrowind Modding Wiki Quartz repo until updating to commit 3e14b2b. The aforementioned commit was the latest updates from Quartz.

Here's the lodged issue @jackyzha0. @saberzero1, sorry for the ping - thought it might be useful to bring this one to your attention as you've been working on transclusions lately.

I'll take a look later today.

Here's the lodged issue @jackyzha0. @saberzero1, sorry for the ping - thought it might be useful to bring this one to your attention as you've been working on transclusions lately.

Alright, I have pinpointed the issue.
in ofm.ts:
const blockRef = Boolean(anchor?.startsWith("^")) ? "^" : ""

Above line never matches, because anchor looks something like this: #abcdef.
It should be using rawHeader with a slightly different match. rawHeader looks something like this: #^abcdef.
TL;DR: a block reference was not properly being recognized as a block reference. I'll create a pull request shortly.


Support FilesDirectories for file systems

Applications like Notion support "files as directories" - this is to say, you can create a file that has content but also has children. I'm currently working on an extension for VSCode with "files as directories" functionality but I'm not able to integrate this natively with the FileSystemProvider because Directory and File are distinct and non-overlapping types. This means that neither the file explorer or the breadcrumb are able to support my usecase.
A possible implementation:

introduce a new FileType: FileDirectory
support a new method FileSystemProvider.readFileDirectory
when navigating via file explorer, default is to expand FileDirectory as Directory with right click option to open contents
similar behavior for breadcrumb

Forwarding to @jrieken because it is a FileSystemProvider feature request.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.16 to before v5.4.168",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=80105befdb4b8cea924711b40b2462b87df65b62",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c675256a7f131f5ba3f331efb715e8f31ea0e392"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "80105befdb4b8cea924711b40b2462b87df65b62",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "c675256a7f131f5ba3f331efb715e8f31ea0e392",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: systemport: Add global locking for descriptor lifecycle\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.4.168 by commit c675256a7f131f5ba3f331efb715e8f31ea0e392, it was introduced in version v3.16 by commit 80105befdb4b8cea924711b40b2462b87df65b62. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002675


single.limit(), Stream.limit() added.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
214

Relevant Lines:
214

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
214

Relevant Lines:
214

💛  - Coveralls


[BUG] No automatic signing initiation

Describe the bug
When the pairing device initiates keysign, it does not start automatically like before.
it is needed to accept on initiating device again where bug #1208 is shown.
To Reproduce
Steps to reproduce the behavior:

initiate tx
join with pairing device
See error

Expected behavior
automatic initiate sigining if threshold of devices is present
-v1.1

QA done.


Xamarin (Android)

It's Xamarin compatible?
Has a example to preview and/or generate a pdf in Xamarin?
Thanks

Hi, currently not compatible. We are waiting for Core 3.0.
We have a Viewer for android FastReport Pages, this is a free product not related to OpenSource.

@Detrav

Hi, currently not compatible. We are waiting for Core 3.0.

It's no compatible for preview or general use?

We have a Viewer for android FastReport Pages, this is a free product not related to OpenSource.

Can you send a example (code)  for me for preview with this tool?

FastReport OpenSource has a dependency on CoreCompat, due to which it will not run on android or ios. When .net Core 3.0 comes out, you can use System.Drawing.Common.
I test every preview release. And with Preview 5 I like what FastReport looks like on System.Drawing.Common. But this is only a preview. :(
Break changes in every release are terrible. Still waiting for major release.
FastReport Pages is a ready-made application, download and use. I do not have access to the code.

@Detrav  Thanks so much!
A last question:
Can you send a example with FRPages at android?

@Detrav hello
did you test .net core 3 with fast report ?
do you think we can use fast report with android ?
I already tried fast report pages but it can't be used according to our need (use a report with parameters)
tks for your job

I've tested the new FR Core on Android, but System.Drawing.Common does not work on mobile platforms :(

tks for your quick answer @Detrav
is it possible to generate at least pdf file with FR without that component ?

No, this is the basis for calculating the sizes and operation with graphics.

@Detrav
I need to generate reports in Xamarin.Forms (PDF and print).
Is there any version that does this?

there is a beta version for .net core 3.1 .. maybe .. :(

As far as I know, it does not work under Android or iOS yet.

is xamarin going to be suported?

What does it mean
Le ven. 21 févr. 2020 à 00:11, Marcos Gerene F. Spirito <
<EMAIL_ADDRESS>a écrit :

Closed #103 https://github.com/FastReports/FastReport/issues/103.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FastReports/FastReport/issues/103?email_source=notifications&email_token=ABM5FPEPZMH4UMBUFB3QVSTRD4EYTA5CNFSM4IIBV77KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWZHOKBI#event-3058623749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM5FPETKYRDNFBYXLYKOI3RD4EYTANCNFSM4IIBV77A
.

@Detrav does the situation evolve ?


Improve libf3d strong typing

The libf3d defines somes types in types.h.
It would be nice to add/improve the types there in order to get a good strong typing across the whole lib and to have good operators to be able to work with the types easily.
Originally posted by @mwestphal in https://github.com/f3d-app/f3d/pull/351#discussion_r945304191

FYI @Connor-Bowley

this have been adressed in https://github.com/f3d-app/f3d/pull/1471


[Bug]: Build failure: Failed to resolve .png

Version
System:
    OS: macOS 14.2
    CPU: (10) arm64 Apple M1 Pro
    Memory: 9.28 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 117.0.5938.149
    Safari: 17.2
  npmPackages:
    @rsbuild/core: ^0.2.4 => 0.2.4
    @rsbuild/plugin-react: ^0.2.4 => 0.2.4
    @rsbuild/plugin-svgr: ^0.2.4 => 0.2.4

Details
error   Compile error:
Failed to compile, check the errors for troubleshooting.
× Failed to resolve ./images/message-icon-warning-1.png in css|/Users/jchen8/support-form-app/node_modules/@rsbuild/shared/compiled/postcss-loader/index.js??ruleSet[1].rules[7].oneOf[1].use[0]!/
  │ Users/jchen8/support-form-app/node_modules/@rsbuild/shared/compiled/resolve-url-loader/index.js??ruleSet[1].rules[7].oneOf[1].use[1]!/Users/jchen8/support-form-app/node_modules/@rsbuild/shared/
  │ compiled/sass-loader/index.js??ruleSet[1].rules[7].oneOf[1].use[2]!/Users/jchen8/support-form-app/src/assets/styles/main.scss

error   Failed to build.
error   Rspack build failed!
    at /Users/jchen8/support-form-app/node_modules/@rsbuild/core/dist/provider/core/build.js:32:35
    at finalCallback (/Users/jchen8/support-form-app/node_modules/@rspack/core/dist/Compiler.js:335:21)
    at /Users/jchen8/support-form-app/node_modules/@rspack/core/dist/Compiler.js:359:40
    at Hook.eval [as callAsync] (eval at create (/Users/jchen8/support-form-app/node_modules/@rspack/core/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:24:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/jchen8/support-form-app/node_modules/@rspack/core/node_modules/tapable/lib/Hook.js:18:14)
    at /Users/jchen8/support-form-app/node_modules/@rspack/core/dist/Compiler.js:354:41
    at /Users/jchen8/support-form-app/node_modules/@rspack/core/dist/Compiler.js:391:21
error Command failed with exit code 1.

The file ./images/message-icon-warning-1.png  exists and builds without error using webpack.
config:
import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { pluginSvgr } from '@rsbuild/plugin-svgr';

export default defineConfig({
  plugins: [pluginReact(),pluginSvgr()],
});

place where the png is imported (an scss file):
	&.error,
	&.warning-1{
		background-image:url(../images/message-icon-warning-1.png);
	}

Reproduce link
N/A
Reproduce Steps
Sorry, I am unable to provide reproduce code/link because this is a company-internal project.
I'd appreciate any help and guidance on resolving this error. Hopefully it's just a missing config on my side. Maybe I need an extra plugin to handle png/scss?

For internal project, you can try to create a minimal reproduction repo in GitHub, this would be very helpful for us ❤

thanks for your support!


[BUG] [1.16.5] Interacting with Liquids in First Person

Description
On an otherwise unmodified game, Shoulder Surfing seems to want to use the position of the third person crosshair for placing and grabbing liquids in buckets, regardless of if you're in third person mode or not. Water ends up on the wrong block, varying from one block off to completely behind the player. The same problem happens with trying to pick it back up again. Using the Shoulder Surfing camera works as intended.
Steps to Reproduce

Install mod
Create or load a singleplayer world in 1.16.5 [Forge 36.2.39]
Attempt to place water from a bucket, while in first person mode
See error - water is not placed where it is expected

Expected Behavior
Water is expected to be placed in the area the crosshair is pointed towards.
Screenshots
Water placed in first person:

Third person crosshair lines up with where the water ended up:

Game Logs
https://gist.github.com/SisterVersio/ce22c7db84276cd4b399c63158b62ac6
Other Mods
No response
Additional Information
No response

Thank you for the report


add support for app:// in localStorage

Can you fix the build?

Sorry, working on it.

I'm afraid I am not getting very far.  I can build and then use the bundle in an HTML page but I can never get the tests to  succeed.  I have the same problem with tests when I clone, install, and test your master branch.  With either your master or my fork, I get:
 PASS  src/__test__/url-util.spec.js
 PASS  src/__test__/popup.spec.js
 FAIL  src/__test__/solid-auth-client.spec.js
  ● Console
    console.warn src/webid-oidc.js:22
      Error logging in with WebID-OIDC

Coverage decreased (-0.4%) to 82.67% when pulling 97a8e6251451b285345499f2715a868dbcbd06e1 on jeff-zucker:master into 186236c5ebaa8b7f474f8f8ab3d38d15c06e101c on solid:master.

@RubenVerborgh I think I have fixed the PR but I have a more basic question.  If we require solid-rest-browser in solid-auth-client, the consumer will need to have solid-rest-browser locally installed where the solid-auth-client can find it.  Users will not be able to use CDN for either package.  (or do I have this wrong?) If I'm correct in this, wouldn't it be better to just let the consumer pull in a window.appfetch function with a CDN for solid-rest-browser which could then be used in solid-auth-client without a require?

If we require solid-rest-browser in solid-auth-client, the consumer will need to have solid-rest-browser locally installed where the solid-auth-client can find it. Users will not be able to use CDN for either package.

Not locally: they can use anything that exposes window['solid-rest-browser]` as it is currently coded.

If I'm correct in this, wouldn't it be better to just let the consumer pull in a window.appfetch function with a CDN for solid-rest-browser which could then be used in solid-auth-client without a require?

Could be; then you want to change https://github.com/solid/solid-auth-client/pull/121/files#diff-bfe8e6023b4bd1049ee37f8e6ff32a7bR33 into 'solid-rest-browser': "window".

Thanks much for the responses, I'll dig back into it.

:-( try again ...


Use real file system instead of mock-fs for testing

Using mock-fs requires dirty hacks. In addition, it hides the defects that occur in the actual file system. Therefore, we will stop using mock-fs.

I think it is good to test on the fixtures directory, like eslint.
https://github.com/eslint/eslint/blob/ce035e5fac632ba8d4f1860f92465f22d6b44d42/tests/lib/eslint/eslint.js#L303-L310


Enhancement:animation family loaded as standing (abc) uses "use file sequence"

Changelog Description
The changes are the following. We started by updating the the is_sequence(files) function allowing it to return True for a list of files which has only one file, since our animation in this provides just one alembic file. For the correct FPS number, we got the fps from the published ass/abc from the version data.
Testing notes:
Load the animation with abc format with Maya

@FadyFS you can switch your PR to ready to review and set the finished comments to resolved 🥇


Low Battery Rules

This is great it shows Battery Levels. But can´t monitor the levels in the systems, for example to put a Rule in that alerts when below 20% ?

@frankc60 For now as workaround, You can setup this as condition script.
http://forum.mycontroller.org/topic/77/battery-level-in-rules-or-chart-script-rule-to-check-battery-level/2
Example:
Create entry for node on Uid Tag,

Create a condition script,

var myImports = new JavaImporter(java.io, java.lang, java.util, java.text);

with(myImports) {
  var mcResult = false; //By default this is false. When your condition meets change this to true
  var batteryLevel = mcApi.uidTag().getByUid("node1").resource.batteryLevel;
  if(batteryLevel >= 50){ // Your condition
     mcResult = true;
  }
}

Rule:

@jkandasa Super, that works perfectly, thank you!


Consistent providing of global access

Why is global state bad?
In SpongeAPI there's no concept of global access to the Server reference like in Bukkit.
Instead, we use Dependency Injection and let the injector inject the dependencies we need into the constructor or a field.
Normally, this is a good thing - it helps keeping the code clean and separates different parts - if it is done consistently.
In the API, there are many places where this concept was broken in favor of usability:
For instance look at the MessageSinks class. There are two different ways one could get the currently logged in players.
Here you need a Server reference somehow, i.e. by calling Game#getServer.
List<Player> players = server.getOnlinePlayers();

Here you don't need one:
@SuppressWarning("unchecked")
List<Player> players = (List<Player>) MessageSinks.toAllPlayers().getRecipients();

Of course the second solution is pretty ugly, but it works!
The first solution requires the Server context and the second one does not.
Therefore the MessageSinks class must hold any static state which is bad for reasoning in a multi-threaded environment.
The situation with Minecraft
As you noticed, I said multithreaded environment. But Minecraft still lives in its single-threaded world in which we don't have to think about race conditions or deadlocks.
So my question is:
Why do we do the half thing and let people pass the Game object to every new listener?
If even many classes in API rely on getting initialized by the server implementation through reflection, we can make the Game object - and other objects that are always there - globally available.
Bukkit had its Bukkit class which provided the static getServer() method to get the current running server instance and static equivalents to all methods on Server for convenient access.
And to be honest: The developers will get tired of passing objects anyway and create their own singleton in main class.
This is not particularly bad for small plugins which can be rewritten in hours or days.
Of course, big plugins like WorldGuard may want to pass the objects around to get better decoupling, but it should be the plugin's own decision.
We shouldn't force them to not use global state, particularly because we also use singletons in the implementation ourselves.
EDIT: The other option would of course be to remove all global state completely and fully rely on Dependency Injection. In the end, the decision is made by @gabizou anyway.

I don't believe the MessageSinks.toAll() case was intended.

It's not impossible that cleanroom clients/servers wishing to implement Sponge are multithreaded, so we can't count on running on a single thread. Another question is, where is MessageSinks's implementation getting it's Server anyway? Surely it still needs to call getOnlinePlayers on some level? Seems to me that when someone actually tries to implement that method, they'd bring up the issue of it needing a Server.

Even in multithreaded environments. There shouldn't ever be more than one Server at a time.

Right. They get it by getting the singleton "official" Server implementation (MinecraftServer.getServer()).

It actually may throw an NPE if called too early (before the server is started), because getConfigurationManager() will return null.
This was discussed long ago, I doubt we will change the design pattern now (e.g. see #134)

@AlphaModder Right, the implementation will need to have a Server object or some player list. This on the other hand implies that global state MUST be used to implement SpongeAPI.
Any implementation must hook into the pseudo-enum classes and replace the public static final NAME = null fields with actual objects.
So if we already rely heavily on that state, why can't we just also make the Game object statically available? Or at least provide a method like getGame(). We don't really need the duplicated static methods Bukkit had in its Bukkit class.

@ST-DDT That kind of blanket statement makes me wonder how realms works... Whether it has a codebase where multiple servers could be running, or whether they are seperated into seperate JVM's.

@ryantheleach Please excuse me for not scrying any possible/unlikly future and not stating the obvious.
The minecraft server code that is officially released has way to many static components to be useful for a many server/jvm setups. So it either has to run on multiple jvms or you have to rewrite the entire MC server code. From my experience companies usually try to avoid such kind of development, since its very expensive. Especially since you don't have the community and the excessive snapshot testing. In comparison systems running in separate containers (Docker, VMs.. etc) or far easier to create and scale. We use a system like that in our company too and it just works. It creates virtual servers on the fly and it destroys them if they are no longer needed.
But that is just an assumption, lets get back to the facts.
The SpongeAPI in its current state itself does not support multi-server setup.
Reasons: Game.getServer()  returns a single instance. The service system does not support multiple servers. Events are not totally suited to support multi server setups. Plugins don't have the ability to support multi server setup in one jvm, due to missing server references etc, static references...
Of course this could change, but that is a) a future change and b) IMO not likely to happen (because it complicates the simple plugin creation).

I just want to point out that using a MessageStinks.toAll() statically, vs server.getOnlinePlayers() has nothing to do with whether or not either of the methods being called/used are compatible in a Multi-threaded environment. Static access does not inherently invalidate multi-threaded use cases, just like the usage of server.getAllPlayers() doesn't immediately validate multi-threaded use cases.  The fact that you have to use MinecraftServer.getServer() even invalidates the argument simply on the basis that it's also using static access to begin with.
The request for consistency across the API is the only thing that should really be considered here, and if Sponge actually want's to keep allowing MessageSinks to pull a list of players to send messages to, or if it should be forced back onto the server.

My only proposal for fixing this issue is to remove MessageSink.getRecipients().

You kind of need that method to allow Mods/OPs to eavedrop into conversations that may run privately.
Or at least you need to be able to remove or add a certain player to that (copied) sink.
For example:
BadGuy: /pm AnotherPlayer You are an ****
the server/mod may want to punish the BadGuy for sending this
@Listener
public void onChat(ChatEvent) {
    if (!event.getSink().getRecipients().contains(adminPlayer)) {
        adminPlayer.sendMessage(event.getMessage());
    }
}

Maybe the MessageSinks methods could be moved into Server?

@JBYoshi - how? MessageSinks are stateful in the given example. you can't move that off to the server. The server doesn't track who is getting what messages.

@Sleaker Not MessageSink, MessageSinks.

This issue isn't just about MessageSinks. That was just an example. There may be other places where such things happen, but it may not be so obvious. An example would be the many Factory classes for classes like Text, CustomInventory etc. Why do we need an external factory for Text if it's really pure and really doesn't need any implementation detail?

Mojang's JSON is an implementation detail.

As of https://github.com/SpongePowered/SpongeAPI/commit/3dceade464ef176549570aeacef2b42baed93270 there is now a global Sponge class which satisfies the concerns here.


Performance improvements for Delete User endpoints

https://github.com/NuGet/NuGetGallery/issues/7026
The changes here fit into several categories:

Added a PackageRegistrations field on User so that package registrations owned by a user can easily be found instead of requiring a query. This did not require a migration because the associated index already exists for PackageRegistration.Owners.
Used RouteUrlTemplates on the delete page. (This could probably be done on some other pages in the table below for better performance.)
Included more fields in UserService.FindByKey and UserService.FindByUsername requests so that less additional queries need to be made to determine organizations of the user requested.

Closing this. Was unable to get the performance gains on DEV that I experienced locally, and I don't want to spend too much more time on this issue as it is low priority. IMO, the way our services are structured, which heavily encourages lazy-loading, is the cause of this issue, and it is nontrivial to fix this issue, especially in pages like delete that require mass loading of many entities.


Consider JSON rather than XML as a serialization format?

I wonder if XML would be perceived as "old."

Our reasoning was that if people were using XML on another blog site, it would be easier for them to transition to our template, but our means of storage is definitely something that we are still debating.

The only blog engine that I know of that uses XML is DasBlog - mine. Do you know of another?

@madskristensen?

BlogEngine.NET and MiniBlog both uses XML

Even if another blog engine uses XML, their specific XML format isn't going to match yours (unless you explicitly choose one to copy, or if there's a standard format), so I don't think being XML gives you any benefit as far as migration is concerned. Using XML isn't any better than JSON or some made-up format there.


Move StoryAnimation components into edit-story codebase & update to useContextSelector pattern

Move all story animation code (provider, wrappers & animations) into edit-story code base. edit-story code should be a dependency of dashboard and not the other way around which it currently is.
Update useStoryAnimation hook to follow useContextSelector pattern used in edit-story codebase.

If it's used by both, maybe worth splitting out into assets/src/animations or something?


397 add annotation to imported elements

What does this PR do?
This PR adds an attribute to all elements from the imported source before override & merge. This attribute information can be used by validator to track from which devfile the error came from.
What issues does this PR fix or reference?
https://github.com/devfile/api/issues/397
Is your PR tested? Consider putting some instruction how to test your changes
Update unit tests. Add more unit tests to test the import attribute fields

@yangcao77 Can you also check at this screenshot? https://github.com/devfile/library/pull/80#pullrequestreview-640130084

@maysunfaisal https://github.com/devfile/library/pull/80#pullrequestreview-640130084 has been fixed. the error is checked and returned outside of the switch case


Create CLI interface to print symbol maps including the possible symbols

Create a console interface which is able to print a given map and its possible symbols.
Input: Path to .json-file and optionally a .symbols-file
Output: pretty printed map | pretty printed symbols
Example Map
{
  "ɨ": "ʊ",
  "ɯ": "ʊ",
  "ʌ": "ʌ",
  "ʒ": "ʒ",
  "ʐ": "ʒ",
  "θ": "θ"
}

Example Map Symbols
" "
"ʃ"
"ʊ"
"ʌ"
"ʒ"
"θ"

please check the new pull request, I forgot to mention the issue in the corresponding commit

Looks good. Please add:

info if the mapping is the same symbol/not the same symbol.
option "type" (with values "weights" or "inference") which changes the arrow direction (weights ->, inference <-)

Looks good. Please add:

info if the mapping is the same symbol/not the same symbol.
option "type" (with values "weights" or "inference") which changes the arrow direction (weights ->, inference <-)

Please move cli.py to the text_utls folder and optimize it that pipenv run python -m cli throws no KeyError.

Please move cli.py to the text_utls folder and optimize it that pipenv run python -m cli throws no KeyError.

Please also write instead of a space symbol SPACE and instead of nothing NOTHING.

Please also write instead of a space symbol SPACE and instead of nothing NOTHING.

please check

please check

please:

make use of the constants SPACE and NOTHING
specify return types on all methods e.g. _init_parser in cli.py
33: create single function for text to bold text conversion
31: rename print_bold_if_true because one could also think if it is false then don't print it but you are printing it not bold instead

please:

make use of the constants SPACE and NOTHING
specify return types on all methods e.g. _init_parser in cli.py
33: create single function for text to bold text conversion
31: rename print_bold_if_true because one could also think if it is false then don't print it but you are printing it not bold instead


cdo functions

@ScottWales Jaci Brown has contracted me to work on the CWSLab vistrails plugin for the month of May (i.e. they want we to get some useful packages in there so they can start using it down in Hobart). I was chatting to @taerwin and he mentioned that you have a fork of this repo where you are working on automatically importing all the cdo functions? Is that something you are planning on implementing soon, or do you think the approach we have taken so far of wrapping the cdo commands in shell scripts that check various things (e.g. that the input arguments and time stamps in the output file are correct) is a better approach?

The idea is to set up a list of CDO functions and import them automatically based on their help text, e.g. given
$ cdo --help ymonsub
NAME
    ymonadd, ymonsub, ymonmul, ymondiv - Multi-year monthly arithmetic

SYNOPSIS
    <operator>  ifile1 ifile2 ofile

create operators ymonadd, ymonsub etc. with two inputs and one output.
I couldn't work out how to create the output dataset though, see #17. If you can work out how to implement compute() in [1] then this approach should work, and you could just feed in the helptext from all of the operators to quickly get things going.
[1] https://github.com/ScottWales/cwsl-mas/blob/cdo/cwsl/vt_modules/vt_cdo.py

This is quite difficult to do because of the way that the plugin is set up, but I'm sure that it would not be impossible.
I started writing a response to your issue and realised it would be better in the wiki, so I have put it up here
The difficulty in doing this is that the plugin works out how to map inputs to outputs by examining the pattern that you want to write files to. Some cdo operators are many-to-one, some are one-to-one, so they need different output patterns to be able to group the files correctly.
I'm sure that this can be done though.

Are the patterns required for the output DataSet? Would it be enough to ensure that the output has the same ordering as the input DataSets?
Alternatively you might use the union of the patterns in the input datasets, with a special marker pattern where there's a conflict, e.g.
ymonadd [blue/kangaroo] [green/kangaroo] -> [#MERGED/kangaroo]

As written at the moment a DataSet does need a pattern, because it has to link a particular combination of file attributes ('blue' and 'kangaroo' in this case) with a file name. I have experimented with generating this pattern procedurally though - especially for cases when the process is an intermediate step in a workflow.
Your suggestion of using the union of the inputs as an output pattern is worth looking at. This approach could be a good fallback if an output pattern isn't provided in the ProcessUnit constructor.
In this case of ymonadd there are two conceptually different DataSet objects that are being used as input (the timeseries file and and the single timestep file). Often cdo operators perform reduction operations on a single DataSet, such as cdo mergetime or cdo ensmean. In this case the plugin uses a combination of the output pattern and any extra information given in the ProcessUnit constructor to determine which attributes to perform a reduction over. If you have a look at the ProcessUnit tests you'll see this can be quite a complex thing to do! There could certainly be some API simplifications.

Given that a DataSet does need a pattern at the moment and that I need to get some basic functionality into the plugin for the oceanographers in Hobart by the end of the month (almost all of which can be done with cdo), I'm thinking we should revisit this idea of automatically incorporating cdo commands at a later date. For now, I'm thinking I'll take the approach of simply grouping like-cdo commands into vt_modules wrappers (by "like" I mean commands that take the same inputs and map to the same constraints).
For instance, fldmean, fldmax, fldsum etc all take the same input (one input file and one output file) and map to the same constraint/s (i.e. they all collapse the spatial dimension of the data), so I'd group them all in a wrapper called vt_aggregate_spatial.py. I could add an extra layer of wrapping and include a shell script (aggregate_spatial.sh) to the ctools repo if I felt that some additional nco or cdo commands were needed to clean up undesirable aspects of the cdo generated metadata (e.g. sometimes it's desirable to edit the default time axis generated during temporal aggregation).
Does that sound like a reasonable approach for the purposes for getting the Hobart group going? I'm thinking it would be nice to solve #21 before embarking on writing these wrappers, otherwise all the output patterns would need to be updated retrospectively (perhaps #21 is something I could work on solving during the month of May?).

I think that sounds like a good approach. Adding a a good quality, reliable set of processing scripts to ctools gives users a reason to use the lab VMs outside of the the VisTrails system, and a more familiar entry point.
I vote that we close this issue for now, but revisit it in the future.
@ScottWales idea of procedurally generating modules from text could be generalized to allow users to create modules by writing module descriptions (perhaps in JSON?).

This seems like a difficult issue to solve and most of the main cdo functions have now been implemented anyway, so we have decided to park it at the moment.


Unexpected performance discrepancy in set algorithms

On my system (using an NVidia GeForce GTX 660), I get a huge discrepancy between the performance of the various set_* algorithms.  set_intersection and set_difference are very fast; for example:
=== set_intersection with stl ===
size,time (ms)
2,0.000698
4,0.000768
8,0.000838
16,0.000769
32,0.001118
64,0.000838
128,0.001048
256,0.001187
512,0.001955
1024,0.002723
2048,0.004260
4096,0.007193
8192,0.012920
16384,0.024305
32768,0.047003
65536,0.092749
131072,0.184521
262144,0.367295
524288,0.735636
1048576,1.607250
2097152,3.364600
4194304,7.629370
8388608,13.173300
16777216,26.183100
33554432,52.908400
=== set_intersection with compute ===
size,time (ms)
2,0.473732
4,0.475967
8,0.459625
16,0.470938
32,0.465002
64,0.462488
128,0.462348
256,0.452012
512,0.453619
1024,0.491263
2048,0.546367
4096,0.694710
8192,0.531910
16384,0.493218
32768,0.578773
65536,0.523530
131072,0.521364
262144,0.824754
524288,0.784455
1048576,0.788227
2097152,0.847941
4194304,0.821052
8388608,0.786342
16777216,0.815046
33554432,0.959408

This is about 50 times faster than STL.
On the other hand, set_union and set_symmetric_difference are rather slow.  For example:
=== set_union with stl ===
size,time (ms)
2,0.000838
4,0.000698
8,0.000838
16,0.000769
32,0.000768
64,0.000838
128,0.000908
256,0.001257
512,0.001188
1024,0.001676
2048,0.002654
4096,0.003912
8192,0.007194
16384,0.012571
32768,0.024095
65536,0.047073
131072,0.092540
262144,0.183892
524288,0.367783
1048576,0.784456
2097152,1.638820
4194304,3.238810
8388608,6.572260
16777216,13.024300
33554432,26.403500
=== set_union with compute ===
size,time (ms)
2,0.472266
4,0.509141
8,0.491751
16,0.475758
32,0.485187
64,0.746532
128,0.575072
256,0.522341
512,0.549720
1024,0.664678
2048,1.182900
4096,1.145460
8192,1.549360
16384,1.812800
32768,2.984660
65536,5.497330
131072,5.033870
262144,4.798710
524288,4.750030
1048576,5.041970
2097152,7.866690
4194304,10.583900
8388608,22.466900
16777216,48.658900
33554432,91.906000

This is about 3 times slower than STL.  The implementations of the algorithms are very similar, so I wonder what could cause this 100-fold difference in their performance.
I suspect that the test data used in the performance test could be to blame.  I haven't looked, but it would be easy to generate data in such a way that the intersection of the two sets was extremely small, which might cause this (although even then I wouldn't expect quite such a huge discrepancy as this...)

Here are the set_difference timings:
=== set_difference with stl ===
size,time (ms)
2,0.000698
4,0.000768
8,0.000699
16,0.000908
32,0.000908
64,0.000978
128,0.000978
256,0.001118
512,0.001397
1024,0.002444
2048,0.003632
4096,0.005937
8192,0.011454
16384,0.019696
32768,0.038273
65536,0.074451
131072,0.151974
262144,0.294520
524288,0.586526
1048576,1.274950
2097152,2.673660
4194304,5.288230
8388608,10.705000
16777216,21.418700
33554432,42.538900
=== set_difference with compute ===
size,time (ms)
2,0.449358
4,0.456063
8,0.494685
16,0.506209
32,0.472545
64,0.471637
128,0.458926
256,0.459694
512,0.446634
1024,0.519129
2048,0.490913
4096,0.730958
8192,0.518361
16384,0.517453
32768,0.497758
65536,0.538056
131072,0.657624
262144,0.773351
524288,0.796888
1048576,0.785294
2097152,0.768741
4194304,0.798563
8388608,0.819934
16777216,0.846265
33554432,1.018000

Thanks, I'll look into this...

I fixed the perf_set_intersection bug locally and indeed now it's slow like set_union.  I checked, and set_difference has a similar bug.  Fixing that also made that slow.
So I guess these discrepancies were just test bugs.  One is rather important because it's making the documentation performance page misleading.
Still, it would of course be nice to have faster versions if you think you can manage to develop them :).

Could either of you submit a patch with the fixes? It would be good to get these benchmarks reporting the correct values. Thanks!

I'm not sure if https://github.com/boostorg/compute/issues/417 fixed it. I'll check and close if it's fixed.


Bump snakeyaml from 1.32 to 2.0

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #11950 (ddf32e0) into 3.2 (2af3b67) will decrease coverage by 0.28%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #11950      +/-   ##
============================================
- Coverage     69.34%   69.06%   -0.28%
+ Complexity      341        2     -339
============================================
  Files          3320     1554    -1766
  Lines        155670    64223   -91447
  Branches      25996     9373   -16623
============================================
- Hits         107948    44356   -63592
+ Misses        38235    15567   -22668
+ Partials       9487     4300    -5187

see 1809 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


screengrab not considering frameit folder location

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I'm happy to open a pull request on frameit, but first I need to understand if this was made on purpose :)
When using screengrab it pulls screenshots to:
found this piece of code on: screengrab/runner.rb:353
 # We then replace the last segment of the screenshots directory path with the device_type
 # specific name, as expected by supply
 #
 # (Moved to: fastlane/metadata/android/en-US/images/phoneScreenshots)`

I understand that has to be in that locally for supply to be able to upload those. But frameit requires the screenshots to be in the same folder as title.strings/keyword.strings.
My actual folder structure is
This is one specific folder for one language
`fastlane/screenshots/language/
|____title.xml
|____images
| |____phoneScreenshots
| | |____screenShot3_Macros_1586444424911.png
| | |____screenShot1_TicketList_1586444420940_framed.png
| | |____screenShot3_Macros_1586444424911_framed.png
| | |____screenShot4_Notifications_1586444420200.png
| | |____screenShot2_TicketDetails_1586444424182.png
| | |____screenShot4_Notifications_1586444420200_framed.png
| | |____screenShot2_TicketDetails_1586444424182_framed.png
| | |____screenShot1_TicketList_1586444420940.png
|____title.strings
|____mock.xml

Command executed
note that language is generated using an array of languages.
 LANGUAGES = %w[ko ja en-US ar-SA fr-FR pl cs sv nl-NL zh-TW no en-GB bg fi da
               zh-CN pt-BR tr it ru de-DE es-ES ro th id el hi hu vi he]
   desc "Creates localized mocks, takes screenshots"
   lane :capture_screenshots do
    #update_screenshot_mock_localizations
    # build_for_screengrab
     # screengrab
     LANGUAGES.each do |language|
       frameit(use_platform: 'ANDROID', path: "./fastlane/screenshots/#{language}/images/phoneScreenshots")
     end
   end

Complete output when running fastlane, including the stack trace and command, used

couldn't get it returned nothing.

Environment

 🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.15.3

Ruby
2.6.5

Bundler?
true

Git
git version 2.21.0

Installation Source
~/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bin/fastlane

Host
Mac OS X 10.15.3 (19D76)

Ruby Lib Dir
~/.rbenv/versions/2.6.5/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.3.1

System Locale

Variable
Value

LANG
en_IE.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:android)

# Define languages
LANGUAGES = %w[ko ja en-US ar-SA fr-FR pl cs sv nl-NL zh-TW no en-GB bg fi da
               zh-CN pt-BR tr it ru de-DE es-ES ro th id el hi hu vi he]

platform :android do
   desc "Build debug and test APK for screenshots"
   lane :build_for_screengrab do
     build_android_app(
      task: 'assemble',
      build_type: 'Debug'
    )
     build_android_app(
       task: 'assemble',
      build_type: 'AndroidTest'
    )
   end

   desc "Creates localized mocks, takes screenshots"
   lane :capture_screenshots do
     #update_screenshot_mock_localizations
    # build_for_screengrab
     # screengrab
     LANGUAGES.each do |language|
       frameit(use_platform: 'ANDROID', path: "./fastlane/screenshots/#{language}/images/phoneScreenshots")
     end
   end
end

def update_screenshot_mock_localizations
  puts "Generating localized mocks"
  sh "../scripts/localization/update_screenshot_mock_localizations.rb"
end

  # desc "Submit a new Beta Build to Crashlytics Beta"
  # lane :beta do
  #   gradle(task: "clean assembleRelease")
  #   crashlytics

  #   # sh "your_script.sh"
  #   # You can also use other beta testing services here
  # end

  # desc "Deploy a new version to the Google Play"
  # lane :deploy do
  #   gradle(task: "clean assembleRelease")
  #   upload_to_play_store
# end

 # desc "Runs all the tests"
 #  lane :test do
 #    gradle(task: "test")
 #  end

`./fastlane/Appfile`
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("com.wellington.android") # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.144.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
2.0.1

etc
1.0.1

CFPropertyList
3.0.2

public_suffix
2.0.5

addressable
2.7.0

ansi
1.5.0

ast
2.4.0

atomos
0.1.3

aws-eventstream
1.0.3

aws-partitions
1.292.0

aws-sigv4
1.1.1

jmespath
1.4.0

aws-sdk-core
3.92.0

aws-sdk-kms
1.30.0

aws-sdk-s3
1.61.1

babosa
1.0.3

claide
1.0.3

colored2
3.1.2

cork
0.3.0

nap
1.1.0

open4
1.3.4

claide-plugins
0.9.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

multipart-post
2.0.0

faraday
0.17.3

faraday-http-cache
2.0.0

rchardet
1.8.0

git
1.6.0

kramdown
2.1.0

kramdown-parser-gfm
1.1.0

no_proxy_fix
0.1.2

sawyer
0.8.2

octokit
4.18.0

unicode-display_width
1.7.0

terminal-table
1.8.0

danger
6.3.2

danger-plugin-api
1.0.0

ruby-ll
2.1.2

oga
3.2

danger-android_lint
0.0.8

ox
2.13.2

danger-checkstyle_format
0.1.1

danger-junit
1.0.0

declarative
0.0.10

declarative-option
0.1.0

digest-crc
0.5.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.5

emoji_regex
1.0.1

excon
0.73.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

jwt
2.1.0

memoist
0.16.2

multi_json
1.14.1

os
1.1.0

signet
0.13.2

googleauth
0.11.0

httpclient
2.8.3

mini_mime
1.0.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.36.4

google-cloud-env
1.3.1

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

google-cloud-storage
1.25.1

json
2.3.0

mini_magick
4.10.1

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.3.0

security
0.1.3

naturally
2.2.0

simctl
1.6.8

slack-notifier
2.3.2

terminal-notifier
2.0.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.2.6

xcodeproj
1.15.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

mini_portile2
2.4.0

nokogiri
1.10.9

zendesk_i18n_dev_tools
1.1.16

generated on: 2020-04-10

I have half PR done here, I would like some input.
With this change, I'm considering that people that use frameit also use screengrab (which won't be always true).
In this case, would it be ok in have an extra parameter to run it?
frameit(use_platform: "ANDROID, path:'path', consider_screengrab = bool)
where consider_screengrab will set the path to images/screenShots

Thanks for sharing such information with us keep sharing such informative post glad to see such post provitalize

Closing as this PR got merged already 🎉 (long time ago heh)


Support for adding new fields to previously serialized structs

Hi there,
We have some existing serialized data of something like
use borsh::{BorshDeserialize, BorshSerialize};

#[derive(BorshSerialize, BorshDeserialize)]
struct MyStruct {
    field1: u32,
    field2: String,
}

We would now like to add a new field to the existing struct to have something like:
use borsh::{BorshDeserialize, BorshSerialize};

#[derive(BorshSerialize, BorshDeserialize)]
struct MyStruct {
    field1: u32,
    field2: String,
    field3: Option<u64>,
}

However, when deserializing existing data with the new MyStruct, the following error is returned:
Custom { kind: InvalidData, error: "Unexpected length of input" }

What is the recommended way to add fields to an existing struct, that already has serialized data?

Seems to be related: https://github.com/near/borsh-rs/issues/114

Borsh does not include the schema inside the serialized data, so you should plan your upgradability accordingly. If you start from scratch, you have two paths:

keep versioned data structured using enum (enum MyStruct { V1(MyStructV1) }), which will add a one byte tag as part of the borsh serialization for enums, here is an example
plan to keep the data always at the latest state and as such, implement migration logic that would read all the old data using old structs, convert those into the new structs, and write it over using, here is an example

If you already have the data serialized with the old MyStruct, you can follow (2) and consider to implement (1) for seamless operation going forward.
Would you like to contribute a README/docs for this topic? I would be happy to review a PR


Throw exception "Bluetooth Permission not granted" even permission granted

When I call intitialize method, it throws this exception:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(Exception, java.lang.Exception: Bluetooth Permission not granted, Cause: null, Stacktrace: java.lang.Exception: Bluetooth Permission not granted
at com.rohit.ble_peripheral.BlePeripheralPlugin.initialize(BlePeripheralPlugin.kt:71)
at com.rohit.ble_peripheral.BlePeripheralChannel$Companion.setUp$lambda$1$lambda$0(BlePeripheral.g.kt:277)
at com.rohit.ble_peripheral.BlePeripheralChannel$Companion.$r8$lambda$MnuKy-RVGk0M2vNjak8GFv1UlD4(Unknown Source:0)
at com.rohit.ble_peripheral.BlePeripheralChannel$Companion$$ExternalSyntheticLambda0.onMessage(Unknown Source:2)
at io.flutter.plugin.common.BasicMessageChannel$IncomingMessageHandler.onMessage(BasicMessageChannel.java:219)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8663)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
, null)
#0      BlePeripheralChannel.initialize (package:ble_peripheral/src/ble_peripheral.g.dart:249:7)

#1      BlePeripheral.initialize (package:ble_peripheral/ble_peripheral.dart:11:5)

@alisherbu please ask bluetooth permissions before initializing

I'm asked.
@override
Future initialize() async {
printLog('BluetoothService', (await Permission.bluetooth.request().isGranted));
printLog('BluetoothService', (await Permission.bluetoothAdvertise.request().isGranted));
printLog('BluetoothService', (await Permission.bluetoothConnect.request().isGranted));
printLog('BluetoothService', (await Permission.bluetoothScan.request().isGranted));
// await blePeripheral.initialize();
}
Permission handler said this:
Bluetooth permission missing in manifest
BluetoothService: false
BluetoothService: true
BluetoothService: true
BluetoothService: true

@alisherbu have you tried example app ?

Yes, the example app is working well. But when I use library from other app and call blePeripheral.initialize(), it crashes with PlatformException(Exception, java.lang.Exception: Bluetooth Permission not granted. But I gonna try to find where is the problem. It may my mistake

@alisherbu if example app works , then you are probably missing something in your project
and you are getting Bluetooth Permission issue, then you have to ask bluetooth permission in flutter side using PermissionHandler plugin , and make sure you have added the required permissions in Manifest

Problem has been fixed. But I'm shocked. I have replaced it
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />

to your app permissions order
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />

I don't understand

@alisherbu thats strange, ok i will investigate this later, well i guess we can close this issue now

Yes, you can. I think this not issue. My purpose was just ask help. Thank you for your time


Add pagos 2.0 calculator & parciales construcción 1.0 elements (version 2.24.0)

Add a calculator and writer for complement Pagos 2.0.

This tool takes a Pre-CFDI elements to write Pagos\Totales, Pagos\Pago[]\ImpuestosP
and (if not found) Pagos\Pago[]@Monto. This feature is also documented.

Add element helpers for complement Servicios parciales de construcción 1.0.

Changes on development environment and documentation:

Update markdownlint-cli tool.
Fix issues found by markdownlint-cli.

Include changes from #108 by @BlakePro


how to use it from dir to dir in ubuntu?

./waifu2x-ncnn-vulkan -i '/a/b/input/' -o '/a/b/output/' -n 3 -s 1 -g 0 -j 4:4:4
it doesn't work.
is there any demo cmd? Thanks!

Does it output any error messages or just fail silently?

Try double quotes: " ".

hi,, i met this problem what ever i  input, it just output
Usage: ./waifu2x [image] [outputpng] [noise=-1/0/1/2/3] [scale=1/2] [tilesize=400]

in console
[debian buster] installed waifu2x by snap

hi,, i met this problem what ever i  input, it just output
Usage: ./waifu2x [image] [outputpng] [noise=-1/0/1/2/3] [scale=1/2] [tilesize=400]

in console
[debian buster] installed waifu2x by snap

Is that waifu2x-ncnn-vulkan or some other waifu2x?  Also that usage looks... off the waifu2x-ncnn-vulkan usage output looks like:
Usage: waifu2x-ncnn-vulkan -i infile -o outfile [options]...
-h                   show this help
-v                   verbose output
-i input-path        input image path (jpg/png/webp) or directory
-o output-path       output image path (jpg/png/webp) or directory
-n noise-level       denoise level (-1/0/1/2/3, default=0)
-s scale             upscale ratio (1/2, default=2)
-t tile-size         tile size (>=32/0=auto, default=0) can be 0,0,0 for multi-gpu
-m model-path        waifu2x model path (default=models-cunet)
-g gpu-id            gpu device to use (default=0) can be 0,1,2 for multi-gpu
-j load:proc:save    thread count for load/proc/save (default=1:2:2) can be 1:2,2,2:2 for multi-gpu
-x                   enable tta mode
-f format            output image format (jpg/png/webp, default=ext/png)
try running the command 'waifu2x-ncnn-vulkan' rather than ./waifu2x. I also wouldn't recommend using the snap version because it hasn't been updated since April 2019.

Is that waifu2x-ncnn-vulkan or some other waifu2x?  Also that usage looks... off the waifu2x-ncnn-vulkan usage output looks like:
Usage: waifu2x-ncnn-vulkan -i infile -o outfile [options]...
-h                   show this help
-v                   verbose output
-i input-path        input image path (jpg/png/webp) or directory
-o output-path       output image path (jpg/png/webp) or directory
-n noise-level       denoise level (-1/0/1/2/3, default=0)
-s scale             upscale ratio (1/2, default=2)
-t tile-size         tile size (>=32/0=auto, default=0) can be 0,0,0 for multi-gpu
-m model-path        waifu2x model path (default=models-cunet)
-g gpu-id            gpu device to use (default=0) can be 0,1,2 for multi-gpu
-j load:proc:save    thread count for load/proc/save (default=1:2:2) can be 1:2,2,2:2 for multi-gpu
-x                   enable tta mode
-f format            output image format (jpg/png/webp, default=ext/png)
try running the command 'waifu2x-ncnn-vulkan' rather than ./waifu2x. I also wouldn't recommend using the snap version because it hasn't been updated since April 2019.

Ah , alright.It solved my problem,the snap package is too old.After update to the newest version,it works perfectly

Ah , alright.It solved my problem,the snap package is too old.After update to the newest version,it works perfectly


Add reference to a workaround for issue on 1903/1909

Fixes #5536

@denisebmsft : May we get added a request for review from the author and/or the PM (Greg Lindsay / Laura Williams, unless I'm mistaken), to move forward with this PR?


Issue116: Document how to manage transaction propagation

#116
This PR adds an example to the documentation of how to manage transaction propagation.

I disagree that MP concurrency should contain any transaction test. As said yesterday, MP Concurrency should define a framework on how to opt in for context propagation not defining what should be propagated.

I disagree that MP concurrency should contain any transaction test.

This comment is out of place under this pull.  This pull does not deliver any tests.  It documents and example code snippet of using the MP Concurrency spec in conjunction with a JTA implementation that propagates context.  We have other examples snippets that illustrate other context types, such as propagation of the java:comp/env namespace so that you can look up a data source, so I cannot see why we would omit transaction context examples.  The fact that we gave an example of JNDI doesn't mean that all implementation must support JNDI, nor does including an example of transaction context propagation mean that all implementations must support JTA or transaction context propagation.  I could see prefacing these sort of examples with something along the lines of, "For implementations that support propagation of JTA transactions, the following guidelines and examples demonstrate possible common usage patterns, ..." but it would take away from the usability of the spec not to have good examples that users can refer to.

I added a commit that points out that transaction propagation is optional.

Cancelling this as discussed under 140.


Player death data snapshot

Sometimes, dying in a server can cause issues with inventories if the player has bad connection, or the server is not running well.
Saving a snapshot when the player dies would offer a great tool to manage deaths due to bugs, bad connection or server errors/crashes (or plugin errors.)
It'd aditionally would allow me to delete a redundant, heavy plugin, that also saves data.

I'm kinda incredibly meh on doing this because I think it dilutes HuskSync's purpose as a synchronisation plugin primarily. It is a common request, though, so sure.

Done via #51


CANSender example stuck in CAN.endPacket()

i am trying the hello world for CANSender and it seems something doesn't work as expected...
arduino nano + mcp2515
pins
5V -> VCC
GND -> GND
D10 -> CS
D12 -> SO
D11 -> SI
D13 -> SCK
D2 -> INT
since CAN.begin(500E3) is true, i'd assume some things are right but i'm not sure. anyone has an idea how to debug my issue pls?

looks like my transceiver had one unsoldered leg.
this seemed to fix this


Add Syscoin and Rollux networks support (Testnets and Mainnets)

Thanks in advance for supporting us!

@fernando-syslabs

@kvhnuke, your docs say blockscout is supported. We have v5 on most chains and v6 on rollux testnet


fcm token BLACKLISTED

Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository file a Github issue.

If you are filing an issue about FCM in the background make sure to read #4 and #89 first!

For general technical questions, post a question on StackOverflow tagged appropriately.
For general Firebase discussion, use the firebase-talk google group
For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

Android device: _____
Android OS version: _____
Google Play Services version: _____
Firebase/Play Services SDK version: _____

Step 3: Describe the problem:
Steps to reproduce:

Observed Results:

What happened?  This could be a description, logcat output, etc.

Expected Results:

What did you expect to happen?

Relevant Code:
// TODO(you): code here to reproduce the problem

@Rohit-purpleDeck since there's no information filled in for the issue template I am going to close this issue.
Based on the title, sounds like you may want to reach out to our personalized support channel to troubleshoot.

It got submitted by mistake while I was editing it. We're having an issue where some of our fcm token come up as blacklisted. There's not much information available on the web about the same. Sure thanks for the comment I'll have my issue put out there.

Hello,
I saw this morning that a Nexus 5X sent me 'BLACKLISTED' instead of a regular token.
What does that mean?

Hi,
We had that issue for a while and then it stopped. The issue is from Google's servers and shouldn't have anything to do with you've implemented Firebase in you application. We didn't get any solid answers from Google when we had this issue but it randomly started and stopped after a few days.

good point

Almost 6 years later having the same exact issue. Nothing to go after, no clue at all.

Same here. I'm getting Blacklisted tokens on my app. I'm going to add some more information to the API that my app uses so I can better detect the settings and maybe the reason. Any new information you can shed would be great.


Update to latest core

Gah, why is Unity so totally unable to download packages from a command-line build. checking now


CNCF Incubating Onboarding Todo List

[x] Understand the project proposal process and reqs: https://github.com/cncf/toc/blob/main/process/project_proposals.adoc#introduction - @msfussell
[x]  Understand the services available for your project at CNCF https://www.cncf.io/services-for-projects/ - @msfussell
[ ]  Ensure your project meets the CNCF IP Policy: https://github.com/cncf/foundation/blob/master/charter.md#11-ip-policy - @artursouza @msfussell
[ ]  Review the online programs guidelines: https://github.com/cncf/foundation/blob/master/online-programs-guidelines.md - @msfussell
[x]  Understand the trademark guidelines: https://www.linuxfoundation.org/en/trademark-usage/ - @greenie-msft
[x] Understand the license allowlist: https://github.com/cncf/foundation/blob/master/allowed-third-party-license-policy.md#approved-licenses-for-allowlist - @artursouza
[x]  Has your project adopted open governance already? see http://opengovernance.dev - @msfussell
[x]  Slack: Are your slack channels migrated to the Kubernetes or CNCF Slack? (see https://slack.com/help/articles/217872578-Import-data-from-one-Slack-workspace-to-another for more details) - Discord instead of Slack
[x] Is your project in its own separate neutral github organization? - - @msfussell
[x]  Submitted a Pull request to add your project as a sandbox project to https://landscape.cncf.io - @willtsai
[x]  Create maintainer list + add to aggregated https://maintainers.cncf.io list by submitting a PR to it - @msfussell
[x]  Have added your project to https://github.com/cncf/contribute - @willtsai
[x]  Artwork: Submit a pull request to https://github.com/cncf/artwork with your artwork - @greenie-msft

Things that CNCF will need from the project:

[x]  Provide emails for the maintainers added to https://maintainers.cncf.io in order to get access to the maintainers mailing list and ServiceDesk - @msfussell
[ ]  Domain: transfer domain to the CNCF - please send a transfer code to<EMAIL_ADDRESS>- @greenie-msft
[ ]  Trademarks: transfer any trademark and logo mark assets over to the LF - https://github.com/cncf/foundation/tree/master/agreements has agreements - @greenie-msft
[x]  GitHub: ensure 'thelinuxfoundation' and 'caniszczyk' are added as initial org owners, this helps us make sure we have continuity of GH ownership - @yaron2
[ ]  GitHub: ensure DCO or CLA are enabled for all GitHub repositories of the project - @artursouza
[x]  Website: ensure LF footer is there and website guidelines followed - @AaronCrawfis
[x]  Website: Analytics transferred to<EMAIL_ADDRESS>- @AaronCrawfis
[x]  CII: Start on a CII best practices badge https://bestpractices.coreinfrastructure.org/en - @artursouza

Things that the CNCF will do or help the project to do:

[x]  Devstats: add to devstats https://devstats.cncf.io/
[x]  Marketing: update relevant intro + slide decks
[x]  Events: update CFP + Registration + CFP Area forms
[ ]  ServiceDesk: confirm maintainers have read https://www.cncf.io/services-for-projects/
[x]  CNCF Welcome Email Sent to confirm maintainer list access, welcome email has monthly project sync details
[ ]  Create space for meetings/events on https://community.cncf.io, e.g., https://community.cncf.io/pravega-community/ - (https://github.com/cncf/communitygroups/blob/main/README.md#cncf-projects)
[ ]  Adopt a license scanning tool, like FOSSA or Snyk

Google analytics data has been shared and website footer is in review: https://github.com/dapr/website/pull/55

If you do any update here, please also leave a comment in the CNCF issue here https://github.com/cncf/toc/issues/738 which is the official check off list.

@willtsai regarding this task:
Submitted a Pull request to add your project as a sandbox project to https://landscape.cncf.io - @willtsai
I think "sandbox" is a mistake and should instead be added to the "incubating" projects.

@willtsai regarding this task:
Submitted a Pull request to add your project as a sandbox project to https://landscape.cncf.io - @willtsai
I think "sandbox" is a mistake and should instead be added to the "incubating" projects.

I can already see Dapr as Incubating under the Serverless/Framework sections.

For this issue
Ensure your project meets the CNCF IP Policy: https://github.com/cncf/foundation/blob/master/charter.md#11-ip-policy
@artursouza or someone please do this https://github.com/dapr/dapr/issues/3911
@orizohar - Could you do this https://github.com/dapr/docs/issues/1963

@willtsai regarding this task:
Submitted a Pull request to add your project as a sandbox project to https://landscape.cncf.io - @willtsai
I think "sandbox" is a mistake and should instead be added to the "incubating" projects.

I can already see Dapr as Incubating under the Serverless/Framework sections.

yes, looks like this was already done as a part of https://github.com/cncf/landscape/pull/2346. I will check off the task and add a comment in the parent issue.

Have added your project to https://github.com/cncf/contribute - @willtsai

@yaron2 @msfussell - can you please validate that this info is accurate, especially the CLA? And Dapr doesn't have a developer list/forum, correct?
"The Distributed Application Runtime (Dapr) provides APIs that simplify microservice connectivity. Whether your communication pattern is service to service invocation or pub/sub messaging, Dapr helps you write resilient and secured microservices. By letting Dapr’s sidecar take care of the complex challenges such as service discovery, message broker integration, encryption, observability, and secret management, you can focus on business logic and keep your code simple." - Dapr - dapr.io

Project Repository: https://github.com/dapr
Contributor Guide: dapr.io/contributing
Chat: Dapr Discord Server
License: MIT
Legal Requirements: CLA

Not applicable:

Developer List/Forum: [ ][${PROJECT}-dev-list]

This is what Dapr will adopt, not what it is now with MS. Licence is Apache 2.0 I suspect the CLA will need to be https://developercertificate.org/ .

can check off this task Have added your project to https://github.com/cncf/contribute
https://github.com/cncf/contribute/pull/88

@greenie-msft - you can check off this task too: Understand the license allowlist
In essence, the requirement is that any dependencies or libraries we have in Dapr need to either be under the Apache2.0 license or else under one of these licenses:

BSD-2-Clause
BSD-2-Clause-FreeBSD
BSD-3-Clause
MIT
ISC
Python-2.0
PostgreSQL
X11
Zlib
Google patent license for Golang (https://golang.org/PATENTS)

Closing. https://github.com/cncf/toc/issues/738#issuecomment-1005268690 we're officially onboarded


Style Rwanda profile view and edit pages

This updates the style of the profile view and edit pages as well as the change password page.

View Profile page:

Edit profile page:

Change pin page:

@KaitCrawford looks good to me. 🍰 🍰 🍰


Impement with the new WebCrypto API

Except for the fact that not algorithms are supported, using the new API would seem to be a bonus.

I once a upon a time looked into the WebCrypto API for this project but at that point the there was no implementation from node.js and I wanted it to be a server implementation at that point in time.
Much might have happened since then. If there is a good WebCrypto implementation for node.js then I would love to transition to it because it has been all but straight forward to implement on the node crypto library. (the minor experience I have with WebCrypto was very nice)
I´m very open to good suggestions, it has been a while since I worked on this but I have the intention to continue.

https://github.com/PeculiarVentures/node-webcrypto-ossl I think does this.

I have create a pull request trying to make this module environment agnostic (doesn't matter if is run in NodeJS or in a browser)
@erdtman could you give it a look?

@erdtman is this repo maintained yet?

I do not spend much time maintaining this library at the moment, but I do intend to have a look at this within the next week.

Hi there, I also had to implement a mobile app based on Ionic (Webview) to check the signature of DGC.
So I replaced the dependencies to node modules (cbor, crypto) and adapt the code to be able to use it in browsers:
https://github.com/ehn-digital-green-development/dgc-check-mobile-app/blob/main/src/app/cose-js/sign.js

Hi there, I also had to implement a mobile app based on Ionic (Webview) to check the signature of DGC.
So I replaced the dependencies to node modules (cbor, crypto) and adapt the code to be able to use it in browsers:
https://github.com/ehn-digital-green-development/dgc-check-mobile-app/blob/main/src/app/cose-js/sign.js

I think cbor-js does not have the same methods of cbor. For example cose-js use encodeCanonical method which does not exist in cbor-js npm module.
Furthermore, cbor have a package ready for the web: cbor-web. Maybe i could integrate it in my PR.

I have started working on a port to typescript and webcrypto in https://github.com/lovasoa/cosette

If someone is interested, I published my version to npm: https://www.npmjs.com/package/cosette
It already finished porting all the signing logic to webcrypto, so it is already usable for Checking Digital Green Certificates.


How to fix [NETWORK ERROR DUE TO HIGH TRAFFIC. ] on MacOS ?

Hi, it seems something is wrong with the loaded model worker. Please check it.

I have the same question, did you fix it? I use multi GPUs.


Any plan of updating to Mamba2?

Hi,
Thanks for contributing to this awesome work.  As for as I know, the mamba2 has recently been proposed and shown promising performance against the previous version. I am curious that whether the authors will consider to update the Vmamba to allow a more powerful Mamba2?
Thx;D

Yes. We'll write the code soon. But it may take a while for us to train the model, or, maybe the new model will not be trained.

An awesome open-source work. Looking forward to the update!


Reservation summary page: Due Week 5 completion (module 8.1)

●	Note: Provide customers with a reservation confirmation summary and a button to either cancel or submit the reservation. The submitted reservation must be saved to MySQL. Canceling the reservation should take users back to the hotel reservation page

Prototype for this page has been completed


[Candidate 4v4 Dusty Rampage v4] Top side of map has 2 oils but bottom side does not

Issue Description
Top side of map has 2 oils but bottom side does not. Is this as designed?

It is designed, yes.


Customize relabel configs?

We would like some additional labels to come over from our targets. The prometheus-operator generated relabel_configs only bring over certain labels, is there any way to customize?
I couldn't find anything about it in the docs. If it's not currently a feature, is there any plan to add this?
Thanks!

Maybe rather than creating a way to customize relabel_configs, prometheus-operator could loop through all labels from a target and pass them through, maybe prepending them if necessary, or just leave them untouched for us to use as we wish.
This breaks the advantages of custom labeling.
I had to to read the code to understand which labels are being translated to which new labels, and the majority of the label information passed ends up being redundant, (at least in my setup.)

Currently all labels on a Service/Pod are already relabelled onto the targets with the svc_ or pod_ prefix. What are you looking to relabel onto the targets additionally?
We were trying not to introduce the entire relabeling here as well, because the point of abstracting these things was not having to learn relabeling. We understand this may still be necessary, but hope we can solve it otherwise. :slightly_smiling_face:

@brancz Thanks. Keeping it simple is excellent.
As I was carefully describing my problem, I might have answered my own question.
Say I had an HA Prometheus setup named Awith 2 replicas, and a second Prometheus setup named B from which I scrape setup A for meta-monitoring. I wanted to have a graph sourced from setup B about setup A, with two lines for any particular metric, one representing prometheus-a-0 and the other representing prometheus-a-1. The only label currently coming through that can distinguish the replicas is instance="<IP_ADDRESS>:9090", and it's value frequently changes as the pods get moved around, creating many short drops to zero (and color changes in Grafana) in the graph as pods get recreated.
I was concerned about being able to graph instance prometheus-a-0 separately from prometheus-a-1, but, now I realize they're identical replicas, - I can't see a reason for tracking their names separately, - and seeing the many drops to zero in the graph accurately represents the pods getting recreated, which is helpful information to have.
My apologies, I might have wasted your time. Let me know if I'm missing anything.

Actually I don't think it's a bad idea, basically what you are proposing is adding the pod name and/or service name by default to the targets, I don't see what would speak against that. It would actually allow joining metrics collected from targets easily with metrics from kube-state-metrics or cadvisor.
What do you think about by default relabeling pod name and service name onto the targets @fabxc ?

@brancz I ran up against this problem again. It turns out the pod_name labels are very useful/needed for not having to sum/average two replicas together.
Thanks for fixing this!

I need labels to be transferred to pods. This seems to removed in #345. Do you have any plans to support custom labels? I need to use the exact names without a prefix in my specific use case.
How can I handle this?
        metric_relabel_configs:
        - source_labels: [pod_name]
          target_label: environment
          regex: (.+)-.+-.+
          replacement: $1

Thanks for helpin.

@NiklasMerz the idea is that you can join any label through the kube-state-metrics kube_pod_labels metrics onto the other metrics. Using the label_replace function in PromQL you can rename a label to whatever you need. I gave an example of how to do that here.

@brancz Thanks for helping. If I understand this right this would help if I could change the Prometheus query. The point is I am trying to get the Gitlab Prometheus integration working so this exact query is executed by Gitlab:
(sum(container_memory_usage_bytes{container_name!="POD",environment="$CI_ENVIRONMENT_SLUG"}) / count(container_memory_usage_bytes{container_name!="POD",environment="$CI_ENVIRONMENT_SLUG"})) /1024/1024

This means I nedd to change the labels via configuration.

@NiklasMerz Hi. Did you integrate gitlab with Prometheus-operator?

@batazor Unfortunately I did not try it further.


0.17.0 on RubyGems.org

Anyone know when 0.17.0 will be available from RubyGems?

@amatsuda can you release ?

according to https://github.com/amatsuda/kaminari/issues/774 8 days ago it was next week :)

Just released 0.17.0! Thank you everyone for patiently waiting! https://rubygems.org/gems/kaminari/versions/0.17.0


How to save stream output to json and json to graph

Hi,
As i have seen that there is text-editor to show the graph output text.
But here i want to save the output as json.
And also i want the saved json as parameter and then graph can be drawn on canvas.
Is there a way like that?
Can someone help to solve the issue.

There is no support for this from the library but this should be doable. The demo app has a toolbar with buttons, therefore, following the example in the repo you should be able to add a save button (https://github.com/spring-projects/spring-flo/blob/main/src/demo/app/app.component.html#L20) and code a handler for it using a Flo editor handle object: Flo.EditorContext (https://github.com/spring-projects/spring-flo/blob/main/src/demo/app/app.component.ts#L41) and dsl binding in your component (https://github.com/spring-projects/spring-flo/blob/main/src/demo/app/app.component.html#L11).

Thanks @BoykoAlex .
I am able to get dsl using this.dsl at https://github.com/spring-projects/spring-flo/blob/main/src/demo/app/app.component.ts#L38.
Also to get json, i tried this way:
Here I am able to get json using this this.editorContext.getGraph() function. Please see this json file node-connection-json-file.txt

after that when i load saved json from external source, can i know is there any way here that the saved json to be read and show as graph? Is there any function like setGraph with json as parameter?
(or)
only dsl format is used to show as graph?

I'd use the DSL as the serialization format rather than the graph


Fix bug when playing same song

Fix for issue #252

It seems this change is actually causing a bug when playing the same song. The mediaFile needs to be checked if it's the same file so the song doesn't restart

But if it‘s not done, it is not playing the same song before playing anything else. It only solved half the problem. Maybe this needs to be done differently for local and remote files?


Test 9.0 is failing

python3 -m unittest tests/test_09_0_modified_min.py

The CLI modified_min argument is 2022-01-01 so the expectation is that only one SRO is created by arango_cti_processor (1 time is younger than this (2015-01-01T00:00:00.000Z), one time is older than this (2024-01-01T00:00:00.000Z))
python3 -m unittest tests/test_09_0_modified_min.py

https://github.com/muchdogesec/arango_cti_processor/blob/e93a3f1d1e783db54d880745f5544e44a803f5dd/tests/test_09_0_modified_min.py#L83C22-L83C49

FOR doc IN mitre_cwe_vertex_collection

wrong collection, relationships are stored in mitre_cwe_edge_collection
every single query in that file is wrong


JSX v4 shared props

This PR adds a new feature for JSX v4 which is using shared props type as an argument of @react.component
https://github.com/rescript-lang/syntax/issues/695
Example
type sharedProps<'a> = {x: 'a, y: string}

// original
module V4C2 = {
  @react.component(:sharedProps<'a>) // <- here
  let make = (~x, ~y) => React.string(x ++ y)
}

// converted to
module V4C2 = {
  type props<'a> = sharedProps<'a>

  @react.component(: sharedProps<'a>) let make = ({x, y, _}: props<'a>) => React.string(x ++ y)
  let make = {
    let \"SharedProps$V4C2" = (props: props<_>) => make(props)

    \"SharedProps$V4C2"
  }
}

Great work! Thanks a lot! 🎉
All the tests have sharedProps<'a> with a single type parameter. Maybe also add a test with no type parameter and a test with more than one.

Great work! Thanks a lot! 🎉
All the tests have sharedProps<'a> with a single type parameter. Maybe also add a test with no type parameter and a test with more than one.

Good point. Added  https://github.com/rescript-lang/syntax/pull/699/commits/e39c86781353163cb4a8a7a2e2171b2cdc2d1a7a

Sorry, every time I forgot the changelog. I’ll add it on another PR.


Cannot use Social Login

I have setup locally. When I try to use social login to sign up I get Internal server error.
Environment:

Request Method: GET
Request URL: http://localhost:4200/accounts/google/login/

Django Version: 1.11.5
Python Version: 3.5.1
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.sites',
 'nested_admin',
 'smart_selects',
 'corsheaders',
 'rest_framework.authtoken',
 'rest_auth',
 'allauth',
 'allauth.account',
 'rest_auth.registration',
 'allauth.socialaccount',
 'allauth.socialaccount.providers.facebook',
 'allauth.socialaccount.providers.github',
 'allauth.socialaccount.providers.google',
 'allauth.socialaccount.providers.twitter',
 'baselaunch',
 'rest_framework',
 'kombu.transport.django',
 'djcelery',
 'django_countries']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'corsheaders.middleware.CorsMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
  41.             response = get_response(request)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/allauth/socialaccount/providers/oauth2/views.py" in view
  73.                 return self.dispatch(request, *args, **kwargs)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/allauth/socialaccount/providers/oauth2/views.py" in dispatch
  96.         app = provider.get_app(self.request)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/allauth/socialaccount/providers/base.py" in get_app
  52.         return SocialApp.objects.get_current(self.id, request)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/allauth/socialaccount/models.py" in get_current
  40.                 provider=provider)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/django/db/models/manager.py" in manager_method
  85.                 return getattr(self.get_queryset(), name)(*args, **kwargs)

File "/Users/shakeel/Bioinformatics/biocentral/venv/lib/python3.5/site-packages/django/db/models/query.py" in get
  380.                 self.model._meta.object_name

Exception Type: DoesNotExist at /accounts/google/login/
Exception Value: SocialApp matching query does not exist.

What's missing for me?

@thirdknife You'll need to go into the django admin at localhost:8000/admin and register a social application under "social accounts". We use django-allauth for social login, so configuration instructions for various platforms are available here: https://django-allauth.readthedocs.io/en/latest/
I usually use twitter or github since they are localhost friendly.

If it helps here are my notes on what I did to add GitHub locally:

Setting up allauth for GitHub

for localhost development, change the domain of example.com in Sites in admin to localhost
create a social application in admin

select GitHub as provider
client id and secret

come from creating a Developer OAuth App in GitHub

add the localhost site

All set up but getting this error.

and application under Github looks like this.

It should be port 4200 instead of 8000, like so:

Did it, same thing. 4200 is the frontend, the callback should be with django?

The callback is going back to the frontend and hence the url/port must match. Sorry for reiterating but can you please check that the Authorization callback URL is the one pointing to port 4200? I just tried swapping this around a bit and if I set it to 8000, I get the same error you captured above.

It worked! After accessing the Github grant I am shown this page.

@thirdknife Does your django superuser name or e-mail happen to be the same as the github login? If so, you may be presented with this page. Try changing your superuser name/e-mail to be unique, and it should work.

Yeah, I registered with different email but my thought was about the styling. Is this styling expected?

Yes, we haven't created a replacement template, since this issue would generally only crop up for developers.

I guess we can close this issue, but would need to open two new ones

Add dev. instructions on configuring local dev auth setup.
Create replacement template for all-auth signup

@thirdknife Thanks for reporting these. I've created two new issues above for further tracking. Let is know if you run into any more issues.