Allow whitespace and single quotes (') in values after @contains

Fix for failing test in PL https://github.com/coreruleset/coreruleset/pull/1962: Allow whitespace and single quotes (') in values after @contains.

That PR contains a ' here.
Wouldn't be that a problem too?

That PR contains a ' here.
Wouldn't be that a problem too?

That PR contains a ' here.
Wouldn't be that a problem too?

Good catch! Thank you.
Anyway, i think we should not use PathNameValue for @contains.

That PR contains a ' here.
Wouldn't be that a problem too?

Good catch! Thank you.
Anyway, i think we should not use PathNameValue for @contains.

Anyway, i think we should not use PathNameValue for @contains.

Yes, perhaps.
Here is the part of the BNF syntax:
Operator -> ... 'contains' contains=PathOrMacro ...
PathOrMacro -> PathNameValue | MacroVar;
PathNameValue -> /[a-z0-9-_./]+/;
MacroVar -> '%{'? /[a-zA-Z0-9-_.]+/ '}'?;
So, I should add the spec characters to MacroVar rather than PathNameValue.
And IMHO macros can contain so many special characters, eg. %, #, &, \, = ... so added these chars can help to avoid the similar bugs like in modsecurity3 (2145 and 3238). But ask @fzipi and/or @fgsch :).

Anyway, i think we should not use PathNameValue for @contains.

Yes, perhaps.
Here is the part of the BNF syntax:
Operator -> ... 'contains' contains=PathOrMacro ...
PathOrMacro -> PathNameValue | MacroVar;
PathNameValue -> /[a-z0-9-_./]+/;
MacroVar -> '%{'? /[a-zA-Z0-9-_.]+/ '}'?;
So, I should add the spec characters to MacroVar rather than PathNameValue.
And IMHO macros can contain so many special characters, eg. %, #, &, \, = ... so added these chars can help to avoid the similar bugs like in modsecurity3 (2145 and 3238). But ask @fzipi and/or @fgsch :).

MacroVar must start with a %, musn't it? But maybe i'm misunderstanding the syntax, i'm not very skilled with textX.
MacroVar: '%{'? /[a-zA-Z0-9-\_\.]+/ '}'?;

MacroVar must start with a %, musn't it? But maybe i'm misunderstanding the syntax, i'm not very skilled with textX.
MacroVar: '%{'? /[a-zA-Z0-9-\_\.]+/ '}'?;

MacroVar must start with a %, musn't it? But maybe i'm misunderstanding the syntax, i'm not very skilled with textX.

yes, it must - you're right. And I'm not sure that macro can contains any characters I listed. Then we should extend the syntax with a new terminal symbol near to MacroVar and PathNameValue.

MacroVar must start with a %, musn't it? But maybe i'm misunderstanding the syntax, i'm not very skilled with textX.

yes, it must - you're right. And I'm not sure that macro can contains any characters I listed. Then we should extend the syntax with a new terminal symbol near to MacroVar and PathNameValue.

I think this patch solves the problem in your mentioned issue (use the existing ExtendedMacro after @contains):
--- a/secrules.tx
+++ b/secrules.tx
@@ -65,7 +65,7 @@ Count: '&';

 //- pattern match (pm/pmf)
 Operator:
-    ('beginsWith' beginswith=PathOrMacro | 'contains' contains=PathOrMacro | 'containsWord' containsWord=STRING | detectsqli ?= 'detectSQLi' | detectxss ?= 'detectXSS' | 'endsWith' endswith=ExtendedMacro | 'fuzzyHash' fuzzyhash=STRING | 'eq' eq=INT | 'ge' ge=Macro | geolookup ?= 'geoLookup'  | 'gsbLookup' gsblookup=INT | 'gt' gt=Macro | 'inspectFile' inspectfile=URI | 'ipMatch' ipmatch+=IPCIDR[','] |'ipMatchF' ipmatchf=STRING | 'ipMatchFromFile' ipmatchfromfile=STRING | 'le' le=INT | 'lt' lt=Macro | nomatch ?= 'noMatch' | 'pmf' pmf=PathNameValue | 'pmFromFile' pmfromfile=PathNameValue | 'pm' pm=PatternMatch | 'rbl' rbl=Hostname | 'rsub' rsub=AnythingBetweenSlashes | 'rx' rx=RegExp | 'streq' streq=StringWithSpaces | 'strmatch' strnmatch=STRING | unconditionalmatch ?= 'unconditionalMatch' | 'validateByteRange' validatebyterange=ByteRangeList | 'validateDTD' validatedtd=PathNameValue | 'validateHash' validatehash=RegExp | 'validateSchema' validateschema=PathNameValue | validateurlencoding ?= 'validateUrlEncoding' | validateutf8encoding ?= 'validateUtf8Encoding' | 'verifyCC' verifycc=RegExp | 'verifyCPF' verifycpf=STRING | 'verifySSN' verifyssn=RegExp | 'within' within=MacroOrString | '' rx=RegExp);
+    ('beginsWith' beginswith=PathOrMacro | 'contains' contains=ExtendedMacro | 'containsWord' containsWord=STRING | detectsqli ?= 'detectSQLi' | detectxss ?= 'detectXSS' | 'endsWith' endswith=ExtendedMacro | 'fuzzyHash' fuzzyhash=STRING | 'eq' eq=INT | 'ge' ge=Macro | geolookup ?= 'geoLookup'  | 'gsbLookup' gsblookup=INT | 'gt' gt=Macro | 'inspectFile' inspectfile=URI | 'ipMatch' ipmatch+=IPCIDR[','] |'ipMatchF' ipmatchf=STRING | 'ipMatchFromFile' ipmatchfromfile=STRING | 'le' le=INT | 'lt' lt=Macro | nomatch ?= 'noMatch' | 'pmf' pmf=PathNameValue | 'pmFromFile' pmfromfile=PathNameValue | 'pm' pm=PatternMatch | 'rbl' rbl=Hostname | 'rsub' rsub=AnythingBetweenSlashes | 'rx' rx=RegExp | 'streq' streq=StringWithSpaces | 'strmatch' strnmatch=STRING | unconditionalmatch ?= 'unconditionalMatch' | 'validateByteRange' validatebyterange=ByteRangeList | 'validateDTD' validatedtd=PathNameValue | 'validateHash' validatehash=RegExp | 'validateSchema' validateschema=PathNameValue | validateurlencoding ?= 'validateUrlEncoding' | validateutf8encoding ?= 'validateUtf8Encoding' | 'verifyCC' verifycc=RegExp | 'verifyCPF' verifycpf=STRING | 'verifySSN' verifyssn=RegExp | 'within' within=MacroOrString | '' rx=RegExp);

 /* Actions are separated by ',\' or ',' only */
 //ActionList: actionlist+=;

I can make a new PR - if you think this is a better solution, close this issue and I'll open a new one.

I think this patch solves the problem in your mentioned issue (use the existing ExtendedMacro after @contains):
--- a/secrules.tx
+++ b/secrules.tx
@@ -65,7 +65,7 @@ Count: '&';

 //- pattern match (pm/pmf)
 Operator:
-    ('beginsWith' beginswith=PathOrMacro | 'contains' contains=PathOrMacro | 'containsWord' containsWord=STRING | detectsqli ?= 'detectSQLi' | detectxss ?= 'detectXSS' | 'endsWith' endswith=ExtendedMacro | 'fuzzyHash' fuzzyhash=STRING | 'eq' eq=INT | 'ge' ge=Macro | geolookup ?= 'geoLookup'  | 'gsbLookup' gsblookup=INT | 'gt' gt=Macro | 'inspectFile' inspectfile=URI | 'ipMatch' ipmatch+=IPCIDR[','] |'ipMatchF' ipmatchf=STRING | 'ipMatchFromFile' ipmatchfromfile=STRING | 'le' le=INT | 'lt' lt=Macro | nomatch ?= 'noMatch' | 'pmf' pmf=PathNameValue | 'pmFromFile' pmfromfile=PathNameValue | 'pm' pm=PatternMatch | 'rbl' rbl=Hostname | 'rsub' rsub=AnythingBetweenSlashes | 'rx' rx=RegExp | 'streq' streq=StringWithSpaces | 'strmatch' strnmatch=STRING | unconditionalmatch ?= 'unconditionalMatch' | 'validateByteRange' validatebyterange=ByteRangeList | 'validateDTD' validatedtd=PathNameValue | 'validateHash' validatehash=RegExp | 'validateSchema' validateschema=PathNameValue | validateurlencoding ?= 'validateUrlEncoding' | validateutf8encoding ?= 'validateUtf8Encoding' | 'verifyCC' verifycc=RegExp | 'verifyCPF' verifycpf=STRING | 'verifySSN' verifyssn=RegExp | 'within' within=MacroOrString | '' rx=RegExp);
+    ('beginsWith' beginswith=PathOrMacro | 'contains' contains=ExtendedMacro | 'containsWord' containsWord=STRING | detectsqli ?= 'detectSQLi' | detectxss ?= 'detectXSS' | 'endsWith' endswith=ExtendedMacro | 'fuzzyHash' fuzzyhash=STRING | 'eq' eq=INT | 'ge' ge=Macro | geolookup ?= 'geoLookup'  | 'gsbLookup' gsblookup=INT | 'gt' gt=Macro | 'inspectFile' inspectfile=URI | 'ipMatch' ipmatch+=IPCIDR[','] |'ipMatchF' ipmatchf=STRING | 'ipMatchFromFile' ipmatchfromfile=STRING | 'le' le=INT | 'lt' lt=Macro | nomatch ?= 'noMatch' | 'pmf' pmf=PathNameValue | 'pmFromFile' pmfromfile=PathNameValue | 'pm' pm=PatternMatch | 'rbl' rbl=Hostname | 'rsub' rsub=AnythingBetweenSlashes | 'rx' rx=RegExp | 'streq' streq=StringWithSpaces | 'strmatch' strnmatch=STRING | unconditionalmatch ?= 'unconditionalMatch' | 'validateByteRange' validatebyterange=ByteRangeList | 'validateDTD' validatedtd=PathNameValue | 'validateHash' validatehash=RegExp | 'validateSchema' validateschema=PathNameValue | validateurlencoding ?= 'validateUrlEncoding' | validateutf8encoding ?= 'validateUtf8Encoding' | 'verifyCC' verifycc=RegExp | 'verifyCPF' verifycpf=STRING | 'verifySSN' verifyssn=RegExp | 'within' within=MacroOrString | '' rx=RegExp);

 /* Actions are separated by ',\' or ',' only */
 //ActionList: actionlist+=;

I can make a new PR - if you think this is a better solution, close this issue and I'll open a new one.

I think this is better solution but pls also add single quotes (') to the ExtendedMacro, it's missing it. Thank you.

I think this is better solution but pls also add single quotes (') to the ExtendedMacro, it's missing it. Thank you.


Right click to deploy bicep in Visual Studio Code

It would be great to be able to deploy bicep templates straight to azure without having to use the CLI, where you click deploy and it prompts you for required parameters

Related to #1182 -- cc @MarcusFelling

@onionhammer - What are your thoughts on using the command palette for this? Rather than right-click -> Deploy, this would be Ctrl+Shift+P -> Deploy.
We are also considering this for the VS Code ARM Tools extension https://github.com/microsoft/vscode-azurearmtools/issues/1236

The important part is adding the command (which would show up in the palette; adding a context menu item would be simple after that I would think

This would require some configuration to choose a subscription and such. Probably means adding a dependency on the Azure Account VS code extension.

Adding mockup image

We decided to use the Azure SDK underneath to accomplish the creation of resources.
One reasoning why is this decouples the Bicep extension from requiring Az Bicep CLI (500+ MB download). It provides simpler interfacing with the azure account extension, it's more performant in resource creation (partially because the SDK does not have pre-flight validation like CLI and Powershell do)
Continued Effort:
To keep parity with CLI and Powershell -> we have to make sure that we have consistent error message processing. When there is a failure in the Right Click deploy flow, it's important the messaging is similar or identical to the output of our cli deployments.
This may push us to have a Bicep: Validate function that will mirror the functionality of a preflight deployment while hopefully still not needing to require Az CLI

My understanding of the list for parity with CLI deployments command:

Error message parsing (captured above)
Running preflight validation (captured above)
Verbose and Debug output
Final outputs (showing deployment outputs and resources deployed as text)
What-if
Deployment to all azure scopes (rg, sub, mg, tenant)
Deployment with local parameters, parameters file, or external parameters link

This is not to say that all of these should be done, or should have the same priority, but I want us to keep track of the list in as much detail as possible.

This may push us to have a Bicep: Validate function that will mirror the functionality of a preflight deployment

To clarify, when you run az deployments * create ..., we automatically run validate as part of the process. In order for this experience to have parity, I would expect the "Bicep: Deploy" command to do the same.

@bhsubra do we have a V2 issue for parsing the Error messages of deploy? Do we have a verbose and debug logging experience?

verbose and debug logging experience

@ucheNkadiCode, created below two issue:
https://github.com/Azure/bicep/issues/6384
https://github.com/Azure/bicep/issues/6383
I'll go ahead and close this issue. Let me know if you have any questions. Thanks!


Customer Email and Password Login

epcc login customer email <EMAIL> password <PASSWORD>
epcc logout customer

See also #191


ModularLoadManagerImpl does not remove preallocated bundles

Motivation
When ModularLoadManagerImpl is enabled, all lookup requests get forwarded to a single lead broker for placement. After an assignment is made for the bundle, the result is temporarily saved in a "preallocation" map, the key of which is the bundle name. After the bundle is successfully loaded (usually by a different broker than the lead broker) and a new load report is written (which could be up to 15 minutes later), the lead broker should remove this ephemeral map entry. If the bundle is subsequently unloaded or the assigned broker dies, it should go through the same flow and assign it to a different broker.
There appears to be a bug where these bundles are not being removed from the ephemeral map even after they show up in the load reports for the target broker.
Modifications
Remove the ephemeral map entry once a load report is processed indicating the bundle has been loaded.
Result
Better load balancing. Currently, it is possible to get "hot" brokers because the message rates are not reliable due to this inconsistency in the preallocated bundle map.

@bradtm there appear to be multiple conflicts in this branch.

The code that fixes this PR is not yet committed (still being tested). Will do that tonight

Closing this PR. Created an Issue. The fix will be submitted on a new PR


"missing coremod OpenMods [0.7.1,0.8}"

This image here is about the error http://i.imgur.com/ywgpmR2.png

i alreday tried to update the OpenModsLib, but the problem persists

One of the mods needs OLD version of OpenModsLib. [0.7.1,0.8) means 0.7.1 or older, but not 0.8 and older (and no, we can't make more descriptive notation since a) it's FML thing and b) it's widely accepted notation for open ranges).
Update all mods to current version.

is there a way to know what mod is requiring an old version of the libary?

Should be somewhere in console/logs.

Thanks :)


Repository naming is in uppercase

Repository naming is in uppercase which should be changed to lowercase as per 99xt repository convensions

Fixed.


[zsh-navigation-tools] n-kill freezes whole shell on second page

I've just enabled zsh-navigation-tools plugin and soon I figured out that n-kill command can cause 100% CPU and up to 14 GB RAM usage of currently running zsh process.
To reproduce it, one can launch n-kill and try to scroll down to second page with arrow key or page down.

The plugin on Oh My Zsh is just a mirror of the official repository, please post the issue there: https://github.com/psprint/zsh-navigation-tools.

k, thanks for pointing out.


disable travis test for dpm test

After this, we should have test going back to all green.

@andrewwdye feel free to choose to land this first or to wait for the once and for all solution :)

Closing since @andrewwdye is working on a permanent fix.

Actually, in light of #1093 let's merge this before a permanent solution can be dealt with.


fix undefined check

Corrected a small error when checking for undefined.

I don't know why I ended up receiving this email, but your fix looks good to me.
Thanks a lot for sharing!


Please consider adding ISBNs to booksdb.js

The assignment requires matching ISBNs but none are present. ;-)

@thenku  I agree, there were none in my project either but I managed to add my isbn properties with some custom number values from this free app. https://generate.plus/en/number/isbn.
As for how I wrote the ISBN property, the code format looks like this:
1:{"isbn":"isbn-value", "author": "name", "title": "Book title", "reviews":{ user}}

"1" is itself a ISBN just in different format

@ManavShah2400 Really, I didn't know about that? Can  you please give me an example?

use numbers 1 to 10 for ISBN.


Set OneSignal app id programmatically.

Can I set OneSignal app id programmatically from my JS code? In my case I have to differentiate my app id between staging and production environment, and the environment is set in the JS portion of my app.

Hi,
Unfortunately, you can't do that :\ I'd recommend using two different OneSignal apps - one for staging and one for production. Then, use some build script to differentiate

The new gradle does not seem to allow programmatic setting of manifestPlaceholders in the build loop, and if you have two dimensions, and need to differentiate between apps and environments, then this is quite a limitation.  Let's say you have two dimensions, app and env, and you have app A and B, and env PreProd and Prod.  Then you have four variants.  We want a separate app ID for each one.  Not possible right now programmatically, and we'll have to change values and build manually.


Feature Request: iCloud sync

First of all, I am very new to RSS so forgive me if I got something totally wrong.
At the moment I can sync my feeds using Feedbin or Feedly. I'd much prefer to sync my feeds between my devices using iCloud.
I am sure there has to be a reason why this is not possible yet, but from my perspective it seems like an obvious choice.

It's coming in the next release.

Thank you! I did not see that.


Validation convert empty string to undefined

Package version

@adonisjs/assembler: ^5.3.0
@adonisjs/auth: ^8.0.4
@adonisjs/core: ^5.1.7
@adonisjs/lucid: ^14.1.0
@adonisjs/mail: ^7.1.1
@adonisjs/repl: ^3.1.2
@adonisjs/view: ^6.0.2

Node.js and npm version

node: v14.16.0
npm: 6.14.11

Sample Code (to reproduce the issue)
The example below shows a request sending data via json.
// validation schema
class MyValidator {
  constructor(protected ctx: HttpContextContract) {}

  public schema = schema.create({
    group: schema.string.optional({ trim: true }),
  });
}

// Controller update method
public async update(ctx: HttpContextContract) {
  const { request } = ctx;

  console.log({
    before: request.input('group'),  // output => before: ''
  });

  const { group } = await request.validate(MyValidator);

  console.log({
    after: group,  // output => after: undefined
  });
}

So, if group already has a saved value and I want to clear that value, the model.merge method will not change the group because it is undefined.
The validation should keep the empty string? Or the bodyparser json settings also needs convertEmptyStringsToNull? Or am I doing something wrong?

I just tried to execute the same example but sending via FormData with convertEmptyStringsToNull: true. And I have the same problem.
// Controller update method
public async update(ctx: HttpContextContract) {
  const { request } = ctx;

  console.log({
    before: request.input('group'),  // output => before: null
  });

  const { group } = await request.validate(MyValidator); // the request data is a FormData

  console.log({
    after: group,  // output => after: undefined
  });
}

@thetutlage could you help me?

As a workaround, I created a custom rule setDefault that takes the default value as a parameter and 'mutates' the value if necessary.

Validator needs improvement in this area. I will be working on it this week

Hi, any progress? I'm a little looking forward to it 😆.
I have an idea, maybe there might be an option in each schema type .optional() to set the default value;
Ex:
schema.string.optional({ trim: true }) // if value is undefined, keep undefined
schema.string.optional({ trim: true, default: null }) // if value is undefined set null
schema.string.optional({ trim: true, default: 'my-value' }) // if value is undefined set 'my-value' | if value is null, keep null (only set default if value is not sent)

And default will accept schema type  | null values.
schema.string -> string | null
schema.number -> number | null
schema.array -> array | null
... all schema types
Would that work?

Hi, I updated the core package to version 5.1.11 and my custom rule setDefault no longer changes the value of the field, it looks like the mutate function doesn't do its job.
Can you see that too?
OBS: In version 5.1.7 (or 8) my rules was working.
Here is the rule code
import { validator } from '@ioc:Adonis/Core/Validator';
validator.rule(
  'setDefault',
  (value, [defaultValue, denyZero], { mutate }) => {
    const type = types.lookup(value);

    switch (type) {
      case 'string':
        if (string.isEmpty(value)) {
          mutate(defaultValue);
        }
        break;
      case 'number':
        if (isNaN(value) || (value === 0 && denyZero)) {
          mutate(defaultValue);
        }
        break;
      default:
        if (!value) {
          mutate(defaultValue);
        }
        break;
    }
  },
  () => ({
    allowUndefineds: true,
  })
);

Hi I'd like to push this issue. The current behaviour (validating empty strings to undefined) seems pretty off since "" is an intentional value and should be treated a such.
I'd like to try solving this issue but i'm really lacking the skill :(

I'm also interested in seeing support for this added. I find it pretty odd how using schema.string({trim: true}) doesn't return undefined on empty/whitespace only strings. I also noticed that for rules such as rules.minLength(1), it seems like they are being checked before the input is trimmed. 🤔
Hopefully this confusing functionality is fixed by default, or at least, add a validator config option to support this such as {undefinedOnWhitespace: true} 👍

The issue seems to be solved on this discussion.
I will close this issue if it works.


Add theme change feature

Desciption:
add theme switcher feature that makes app looks cool.

i will work on it


07  SEP 2021 - Financial Objects SIG Meeting Minutes

Date
Tuesday, SEp 7 2021 - 10am ET / 3pm GMT
Untracked attendees

Fullname, Affiliation, GitHub username

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene & roll call (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes
[ ] Update from the Commodities Payout Terms Working Group
[ ] Update on the Product Control Template Working Group
[ ] Reminder of the Structured Products Working Group starting 22nd Sep - including potential for ongoing exotic events also
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

WebEx info
•	Meeting link: https://finos.webex.com/finos/j.php?MTID=mc56f76ae5a93c44709379b3077207f2c
•	Meeting number:<PHONE_NUMBER>
•	Password: xXGEQgJH562
•	Join by video system: Dial<EMAIL_ADDRESS>You can also dial <IP_ADDRESS> and enter your meeting number.
•	Join by phone: +1-415-655-0003 US Toll | +44-20319-88141 UK Toll | Access code:<PHONE_NUMBER>

Julia // FINOS

Ffion Acland / GS

Shaun Aston / GS

Ian Sloyan / ISDA

Jon Nance / Axoni

Nigel Cobb / REGnosys

Aitana Myohl / FINOS

David Jones / ipushpull

Rob Underwood / GS

Untracked attendees

Ruddy Vincent / ISDA
Rodney Kagarise / Fannie Mae
Jean Baptiste ZIADE / Fragmos Chain
Ed Safo / Morgan Stanley


BUG: Inequality signs in Unequal toggle when tapped

iPhone model: 13 mini
iOS version: 17.6.1
App version: 1.2.1
This is kind of a weird one -- I accidentally tapped on one of the inequality signs on an Unequal board, and the sign "turned off". Tapping it again turned it back "on". I don't think that this is intended behavior (I can't think of why this would be useful).
After a little investigation, I believe this is actually an upstream bug -- it looks like the JS version on Simon's site has the same functionality (see screenshot below). In light of that, I'm not sure if this is something you want to fix, or if you'd prefer I send the report upstream to Simon.

Yep this is a feature built in to the upstream game - the code is pulled in as a submodule and I'm just reading the rendering rules it gives me. Nothing I'll be able to do from my end to change how it works.
Maybe the feature is there so a user can gray out clues that they believe have been solved? Not sure - I've never noticed that myself either.

I'm going to go ahead & close this out. I might send a note upstream to Simon, but since it doesn't affect gameplay, it's super low priority.


tinyusb: Add TinuSBU sdk pacakge with repository

With this change there is no need to add TinyUSB to project.yml
alternative to #3056

there is typo in commit message  TinySBU->TinyUSB :-)
otherwise LGTM


Drop use of kcp-dev fork of kubernetes

adds plumbing of a NewSharedInformer func that allows us to provide multi-cluster informers without requiring us to depend on the kcp-dev fork of kubernetes

@fabianvf can you squash down the shared_informer.go commits?

@fabianvf's changes LGTM


HBASE-27024 The User API and Developer API links are broken on hbase.…

…apache.org

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 26s
master passed

+1 :green_heart:
compile
6m 11s
master passed

+1 :green_heart:
spotless
0m 43s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 15s
the patch passed

+1 :green_heart:
compile
6m 14s
the patch passed

+1 :green_heart:
javac
6m 14s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  0s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
11m 24s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotless
0m 40s
patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

35m 34s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4424/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4424

Optional Tests
dupname asflicense javac hadoopcheck spotless xml compile

uname
Linux 10d9a1623349 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a712f9fa34

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
138 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4424/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  6s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 50s
master passed

+1 :green_heart:
compile
1m 52s
master passed

+1 :green_heart:
shadedjars
3m 43s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 56s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 33s
the patch passed

+1 :green_heart:
compile
1m 52s
the patch passed

+1 :green_heart:
javac
1m 52s
the patch passed

+1 :green_heart:
shadedjars
3m 37s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 55s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
243m  3s
root in the patch passed.

267m 26s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4424/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4424

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux<PHONE_NUMBER>e5 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a712f9fa34

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4424/1/testReport/

Max. process+thread count
4724 (vs. ulimit of 30000)

modules
C: . U: .

 U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4424/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Feature flags

Summary
This issue for introducing feature flag system, that has been introduced in vanilla repo recently, to this React repo.
Justification
Provide the business reasons for this request.
Desired UX and success metrics
A way to conditionally turn on/off specific set of features, without causing any additional (size) cost to the built version.
"Must have" functionality

A way to build Storybook Sass code with different feature flags
Build-time flags, processed by Webpack DefinePlugin or rollup-plugin-replace

Specific timeline issues / requests
For Q3 new theme ffort.

Could be interesting to explore how React does feature flags: https://github.com/facebook/react/blob/master/packages/shared/ReactFeatureFlags.js https://github.com/facebook/react/search?q=ReactFeatureFlags&unscoped_q=ReactFeatureFlags
I think the high-level summary is that they export a module that can have flags in it be re-written that they then import the flag names in modules and toggle based on their value


Client-Server Dom Matching Bug

I know with rc3 it says not to add issues - but I don't think this is a documentation thing, and in fact it may be more to do with vue-server-renderer but I wanted to run it past you here if that's OK.
I have a page here:
pages/_pages/index/index.vue
And all is OK if I do this:
<template>

      <component :is="editor"
                 :model="body"
                 :endpoint="patchUrl"
                 name="body"
      />

      <text-block :content="body" :patchUrl="patchUrl" name="body" />

</template>

and
created () {
      // https://vuejs.org/v2/guide/components.html#Advanced-Async-Components
      this.editor = () => ({
        component: import('~/components/Cms/Quill')
      })
    }

And my text block component is
<template>

</template>

I move the dynamic component inside my text block component and the server-side and client-side DOM error appears.
Here are the full files when the error happens:
pages/_page/index/index.vue
<template>

      <text-block :content="body" :patchUrl="patchUrl" name="body" />

</template>

components/template/TextBlock.vue
<template>

      <component :is="editor"
                 :model="content"
                 :endpoint="patchUrl"
                 :name="name"
      />

</template>

I've checked the vars are all there passing through, both times the dynamic component is added on the created method - Is this a Nuxt issue do you think or vue-server-renderer?
The error:
[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside
, or missing
. Bailing hydration and performing full client-side render.
Thanks very much in advance.

Hi @silverbackdan
I don't know where you found this syntax but it's not correct.
You component should be like:
components/template/TextBlock.vue
<template>

		<editor v-else
						:model="content"
						:endpoint="patchUrl"
						:name="name"
		/>

</template>

As you can see, I define in components: editor: () => import('~/components/Cms/Quill')
Which mean that when Vue will have to load <editor.../> (when user will be admin), then it will call the method and import the component code.
I suggest you to try a lot and read https://vuejs.org/v2/guide/components.html to understand how components and async components play together :)

Thanks, I thought I had tried that syntax before, perhaps on an old version and had read somewhere on vuejs about it not working on SSR. Thanks again @Atinux I'll give it another go.

Also @Atinux I saw a similar dynamically loading component example here:
https://github.com/nuxt/nuxt.js/blob/dev/examples/async-component-injection/pages/_slug.vue
Admittedly it is defining the component from a const variable instead of how I wrote it. For any issue I will from now on reproduce it in a new repo just to outline the single issue to make it easier to work out and to stop me being taking up so much time - I'm sorry about this.


install etcd clientv3  fails

go get -u -v github.com/coreos/etcd/clientv3
err:
# github.com/coreos/etcd/clientv3
Desktop/gopath/src/github.com/coreos/etcd/clientv3/client.go:331: cannot use c.tokenCred (type *authTokenCredential) as type credentials.PerRPCCredentials in argument to grpc.WithPerRPCCredentials:
        *authTokenCredential does not implement credentials.PerRPCCredentials (wrong type for GetRequestMetadata method)
                have GetRequestMetadata("context".Context, ...string) (map[string]string, error)
                want GetRequestMetadata("golang.org/x/net/context".Context, ...string) (map[string]string, error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/client.go:383: cannot use sb (type *simpleBalancer) as type balancer in argument to newHealthBalancer:
        *simpleBalancer does not implement balancer (wrong type for Get method)
                have Get("context".Context, grpc.BalancerGetOptions) (grpc.Address, func(), error)
                want Get("golang.org/x/net/context".Context, grpc.BalancerGetOptions) (grpc.Address, func(), error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/retry.go:111: cannot use *retryKVClient literal (type *retryKVClient) as type etcdserverpb.KVClient in return argument:
        *retryKVClient does not implement etcdserverpb.KVClient (wrong type for Compact method)
                have Compact("context".Context, *etcdserverpb.CompactionRequest, ...grpc.CallOption) (*etcdserverpb.CompactionResponse, error)
                want Compact("golang.org/x/net/context".Context, *etcdserverpb.CompactionRequest, ...grpc.CallOption) (*etcdserverpb.CompactionResponse, error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/retry.go:112: cannot use retryBasic (type *retryKVClient) as type etcdserverpb.KVClient in field value:
        *retryKVClient does not implement etcdserverpb.KVClient (wrong type for Compact method)
                have Compact("context".Context, *etcdserverpb.CompactionRequest, ...grpc.CallOption) (*etcdserverpb.CompactionResponse, error)
                want Compact("golang.org/x/net/context".Context, *etcdserverpb.CompactionRequest, ...grpc.CallOption) (*etcdserverpb.CompactionResponse, error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/retry.go:178: cannot use retry (type *retryLeaseClient) as type etcdserverpb.LeaseClient in field value:
        *retryLeaseClient does not implement etcdserverpb.LeaseClient (wrong type for LeaseGrant method)
                have LeaseGrant("context".Context, *etcdserverpb.LeaseGrantRequest, ...grpc.CallOption) (*etcdserverpb.LeaseGrantResponse, error)
                want LeaseGrant("golang.org/x/net/context".Context, *etcdserverpb.LeaseGrantRequest, ...grpc.CallOption) (*etcdserverpb.LeaseGrantResponse, error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/retry.go:178: cannot use *retryLeaseClient literal (type *retryLeaseClient) as type etcdserverpb.LeaseClient in return argument:
        *retryLeaseClient does not implement etcdserverpb.LeaseClient (wrong type for LeaseGrant method)
                have LeaseGrant("context".Context, *etcdserverpb.LeaseGrantRequest, ...grpc.CallOption) (*etcdserverpb.LeaseGrantResponse, error)
                want LeaseGrant("golang.org/x/net/context".Context, *etcdserverpb.LeaseGrantRequest, ...grpc.CallOption) (*etcdserverpb.LeaseGrantResponse, error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/retry.go:232: cannot use retryClusterClient literal (type *retryClusterClient) as type etcdserverpb.ClusterClient in return argument:
        *retryClusterClient does not implement etcdserverpb.ClusterClient (wrong type for MemberAdd method)
                have MemberAdd("context".Context, *etcdserverpb.MemberAddRequest, ...grpc.CallOption) (*etcdserverpb.MemberAddResponse, error)
                want MemberAdd("golang.org/x/net/context".Context, *etcdserverpb.MemberAddRequest, ...grpc.CallOption) (*etcdserverpb.MemberAddResponse, error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/retry.go:277: cannot use retryMaintenanceClient literal (type *retryMaintenanceClient) as type etcdserverpb.MaintenanceClient in return argument:
        *retryMaintenanceClient does not implement etcdserverpb.MaintenanceClient (wrong type for Alarm method)
                have Alarm("context".Context, *etcdserverpb.AlarmRequest, ...grpc.CallOption) (*etcdserverpb.AlarmResponse, error)
                want Alarm("golang.org/x/net/context".Context, *etcdserverpb.AlarmRequest, ...grpc.CallOption) (*etcdserverpb.AlarmResponse, error)
Desktop/gopath/src/github.com/coreos/etcd/clientv3/retry.go:356: cannot use retryAuthClient literal (type *retryAuthClient) as type etcdserverpb.AuthClient in return argument:
        *retryAuthClient does not implement etcdserverpb.AuthClient (wrong type for AuthDisable method)
                have AuthDisable("context".Context, *etcdserverpb.AuthDisableRequest, ...grpc.CallOption) (*etcdserverpb.AuthDisableResponse, error)
                want AuthDisable("golang.org/x/net/context".Context, *etcdserverpb.AuthDisableRequest, ...grpc.CallOption) (*etcdserverpb.AuthDisableResponse, error)

You need Go 1.9+.

i have go 1.9.1. and i still hit this problem.
go version
go version go1.9.1 darwin/amd64

when build clientv3
go build
# github.com/coreos/etcd/clientv3
./client.go:331:52: cannot use c.tokenCred (type *authTokenCredential) as type credentials.PerRPCCredentials in argument to grpc.WithPerRPCCredentials:
	*authTokenCredential does not implement credentials.PerRPCCredentials (wrong type for GetRequestMetadata method)
		have GetRequestMetadata("context".Context, ...string) (map[string]string, error)
		want GetRequestMetadata("golang.org/x/net/context".Context, ...string) (map[string]string, error)
...

@xiang90 That's strange. It builds fine on my machine. I am on current master branch 785a5a11edf826f8d3e3396c33bf38c717b6225e with Go 1.9.1 as well.

@gyuho @qq5272689
Here is how I get everything works again
rm -rf vendor
glide install --force --strip-vendor

it should work for other people. the root cause is probably the unclean vendor dir.


tcp connect error: Connection refused (os error 61) for Demo Rollup example

Summary
I am getting the following error when trying to setup the Demo Rollup
This is the error when I try to start the full node as described here upon "cargo run":
https://github.com/Sovereign-Labs/sovereign-sdk/tree/nightly/examples/demo-rollup#start-the-rollup-full-node:
Steps to reproduce

upon "cargo run": https://github.com/Sovereign-Labs/sovereign-sdk/tree/nightly/examples/demo-rollup#start-the-rollup-full-node I received the following error:

2023-11-04T09:54:30.777842Z  INFO sov_stf_runner::person_running: Starting RPC server at <IP_ADDRESS>:12345
2023-11-04T09:54:30.777953Z DEBUG get_finalized_at{height=3}: sov_celestia_adapter::da_service: Fetching header at height: 3...
2023-11-04T09:54:30.779040Z ERROR get_finalized_at{height=3}: sov_celestia_adapter::da_service: error=Networking or low-level protocol error: HTTP error: error trying to connect: tcp connect error: Connection refused (os error 61)
Error: Networking or low-level protocol error: HTTP error: error trying to connect: tcp connect error: Connection refused (os error 61)

Caused by:
    HTTP error: error trying to connect: tcp connect error: Connection refused (os error 61)

I disabled the firewall but the problem persists

Additional Information
Tried this with the two separate laptops with the exact same error of tcp connect error:

Mac M1 air, Mac Os Ventura Version 13.5
Mac M2 air, Mac Os Sonoma Version 14.1

Okay I resolved it. The main issue is that in docker, the sequencer did not start due to the following error:
docker qemu-x86_64: Could not open '/lib/ld-musl-x86_64.so.1': No such file or directory
This was tracked to a Mac M series issue found here: https://stackoverflow.com/questions/71040681/qemu-x86-64-could-not-open-lib64-ld-linux-x86-64-so-2-no-such-file-or-direc
And was resolved with this extract terminal instruction:
export DOCKER_DEFAULT_PLATFORM=linux/amd64


Fixed buffers to support ReadFixed and WriteFixed ops

Provides fixed buffers from a pre-registered buffer pool, to support ReadFixed and WriteFixed ops. The APIs monoio should provide are important and should be discussed.
There are several related works. glommio uses a per-reactor buddy-system allocator to allocate buffers for writes to their DmaFile. The DmaFile needs the buffer and the position be properly aligned for Direct I/O. But monoio doesn't suppor Direct I/O now. In the tokio-uring's pending PR, the APIs are as follows:
struct FixedBuf {}
struct BufRegistry {}

impl BufRegistry {
    pub fn new(bufs: impl IntoIterator<Item = Vec<u8>>) -> Self {}
    pub fn register(&self) -> io::Result<()> {}
    pub fn unregister(&self) -> io::Result<()> {}
    pub fn check_out(&self, index: usize) -> Option<FixedBuf> {}
}

impl File {
    pub async fn read_fixed_at(
        &self,
        buf: Slice<FixedBuf>,
        pos: u64,
    ) -> crate::BufResult<usize, Slice<FixedBuf>> {}

    pub async fn write_fixed_at(
        &self,
        buf: Slice<FixedBuf>,
        pos: u64,
    ) -> crate::BufResult<usize, Slice<FixedBuf>> {}
}

Should monoio provide extra read_fixed_at and write_fixed_at methods which only accept FixedBuf as parameter, or extend IoBuf/IoBufMut to provide a is_registered/is_fixed hint to allow calling Op<ReadFixed/WriteFixed> internally in read_at/write_at?
How the fixed buffer allocator/registry should be like? I prefer to provide a allocator like glommio, and provide a register buffers method, but let users manage these fixed buffers, monoio only take and return their ownerships.
I'm glad to implement this feature as long as the discussion ends up with a result.

So you mean:

Expose a function to RuntimeBuilder to register buffers.
Add registered_buffer_id(&self) -> Option<u16> to IoBuf and IoBufMut(The function sign is just for demo).

I don't know if there are some limitations of io-uring, like if it is allowd to register the same buffers to multiple rings.
Also, this will bring the limitation that we cannot have multiple rings(like glommio) in a single Runtime instance.
The buffer manager is another thing I think. We can let users do it by themselves or provide an impl for them.

Just checked glommio's source code, they registered the same buffer to all rings.
https://github.com/DataDog/glommio/blob/16d9166c4753e93ecd886237d6dbd48eb8ab3e5c/glommio/src/sys/uring.rs#L1200-L1229


Create normalizer for Lend type

Create a normalizer function for Lend type.
Required Testings:

Failure Tests:

[ ] A

Success Tests:

[ ] B

already solved


225 GitHub repository handling

Description
Draft:

[x] generating new publication sets up repository on GitHub and adds it as a remote
[x] GitHub collaborators are correctly added and removed (whether they accept an invite or not) whenever settings change
[x] branches for editors are created
[x] double check for bugs 🐰

Features above have been tested and work. There are some kinks left to address when dealing with #234, as they are related to the current user state:

AFAIK GitHub does not allow sharing permissions to edit collaborators on personal repos - adding/deleting collaborators should be simply disabled for any user that is not the owner.
Current user is automatically added as a developer when creating a new project without any way to change it (as removal is disabled).

Linked issues
Closes #225

I can't quite get this feature to work unfortunately. It fails at the stage of creating branches by the looks of it. You can find the logs below. My guess would be that the invocation of the renameBranch here is causing issues when main actually exists. Removing the invocation does fix it for me so perhaps we need a check to verify if the git on the machine uses old master instead of main.

I've put the invocation in conditional, so it only fires when currently checked out branch name is not 'main' - at that point in project generation there should be no other branch than main/master, so this should work without troubles.

I can't quite get this feature to work unfortunately. It fails at the stage of creating branches by the looks of it. You can find the logs below. My guess would be that the invocation of the renameBranch here is causing issues when main actually exists. Removing the invocation does fix it for me so perhaps we need a check to verify if the git on the machine uses old master instead of main.

I've put the invocation in conditional, so it only fires when currently checked out branch name is not 'main' - at that point in project generation there should be no other branch than main/master, so this should work without troubles.

@LostInStatic perfect, thanks! I will give it a test in a little bit. Other than this the PR can be marked as ready right?

@karczewskiPiotr Yeah, everything else should be in order or mentioned in the description as to be solved in another PR.


add under_age boolean column on people database table

I'm adding the column so that it can be stored over the user journey as we
would like to allow users under 18 to fill the form, trough a slightly different
journey that will show them information that they need a "litigation friend".
The implementation will come in a separate PR.
Story: https://mojdigital.teamwork.com/#/tasks/19603602

merging


Project stats

Hi!
how do I hide 'Project stats' on the front page (Overview/Summary)?

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

ID: cc7a1aaa-9aee-2b23-d77f-634a42c94280
Version Independent ID: 293f604b-9b00-7758-7645-67a7e296d585
Content: Features and services included - Azure DevOps
Content Source: docs/user-guide/services.md
Product: devops
Technology: devops-new-user
GitHub Login: @chcomley
Microsoft Alias: chcomley

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.

Hello!
The script of my work has nothing to do with this, I just want to remove from the homepage the information I do not need.

https://stackoverflow.com/questions/60508260/front-page-hide-project-stats


Amplify push updated wrong app

Which Category is your question related to?
Creating a new backend env in the correct Amplify app when we have multiple apps
Amplify CLI Version
8.2.0
What AWS Services are you utilizing?
Amplify, AppSync, GraphQl, Dynamo
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
Hi, we have several Amplify apps based on the same codebase. Yesterday I wanted to add a new backend env to one of them for testing. I pulled our repo from Github and then from the root of the project I ran amplify pull <desired app ID> where the "desired app ID" was found at the end of the ARN on the Amplify App Settings > General tab. The CLI then asks several questions and among them was "Which app are you working on?" So I chose the app that I wanted to update. I made my changes to the schema and ran amplify push. When the push completed I looked for my new backend on the app web page in the AWS console. It wasn't there but I did find it in a different app.
Could someone let me know where I went wrong? I tried it twice with the same results. I guess I must be missing a step somewhere.
Thanks!

@josefaidt Thanks for the feedback. I'll try init and see if that does the trick. But yeah, an app with a different ID and different app name was updated (but still based on the same codebase) instead of the one I wanted.

@josefaidt amplify init pushed the backend to the same (incorrect) app, even after I made sure that the correct app ID was listed under the environment in the team-provider-info.json file. I'm just going to close this issue though because I figured out how to add the environment to the correct app through the AWS web interface.


Missing alt attribute in img tags

Describe the bug
The alt attribute is missing from many img tags. The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of a slow connection, an error in the src attribute, or if the user uses a screen reader).
Expected behavior
Add proper alt attribute to all img tags present in this project for user experience

Please assign me this issue so that I can work on this issue under GSSOC'23.

Assigned @Avinash905


Update bitflags required version

unnamed flags is supported from bitflags 2.4.0. IoctlFlags started to use the unnamed flag from userfaultfd 0.8.0.
This is a minor bug fix for #62

cargo +nightly update -Z minimal-versions would be the good way to catch this bug. However regex 1.5 (which is the dep of bindgen) is broken with the minimal versions...

Published 0.8.1


change_rpath: Ignore cannot find section .dynstr for Linuxbrew

Ignore the patchelf error: cannot find section .dynstr
This error affects Go and Guile exectuables.

Codecov Report

Merging #367 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #367      +/-   ##
==========================================
- Coverage   61.29%   61.27%   -0.03%
==========================================
  Files         375      375
  Lines       20389    20393       +4
==========================================
- Hits        12497    12495       -2
- Misses       7892     7898       +6

Impacted Files
Coverage Δ

extend/io.rb
71.42% <0%> (-28.58%)
:arrow_down:

extend/os/linux/keg_relocate.rb
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add Runpod Provider

Why this PR
We want to add Runpod as remote inference provider for Llama-stack. Runpod endpoints are OpenAI Compatible, hence it's recommended to use it with Runpod model serving endpoints.
What does PR Includes

Integration with the Distribution.
OpenAI as a Client.

How did we test?
After setting the configuration by providing the : endpoint_url and api_key and keeping other settings as a default, launched a server using:
llama stack run remote_runpod --port 8080.

Invoke the call(streaming):
curl -X POST http://localhost:8080/inference/chat_completion -H "Content-Type: application/json" -d '{"model":"Llama3.1-8B-Instruct","messages":[{"content":"hello world, write me a 2 sentence poem about the moon", "role": "user"}],"stream":true}'

Response:
data: {"event":{"event_type":"start","delta":"","logprobs":null,"stop_reason":null}}

data: {"event":{"event_type":"progress","delta":"","logprobs":null,"stop_reason":null}}

data: {"event":{"event_type":"progress","delta":"Here","logprobs":null,"stop_reason":null}}

data: {"event":{"event_type":"progress","delta":"'s","logprobs":null,"stop_reason":null}}

data: {"event":{"event_type":"complete","delta":"","logprobs":null,"stop_reason":"end_of_turn"}}

Invoke the call(non-streaming)
curl -X POST http://localhost:8080/inference/chat_completion -H "Content-Type: application/json" -d '{"model":"Llama3.1-8B-Instruct","messages":[{"content":"hello world, write me a 2 sentence poem about the moon", "role": "user"}],"stream":false}'

Response:
data: {"completion_message":{"role":"assistant","content":"Here's a 2-sentence poem about the moon:\n\nThe moon glows softly in the midnight sky, \nA beacon of peace, as it drifts gently by.","stop_reason":"end_of_turn","tool_calls":[]},"logprobs":null}

@ashwinb @yanxi0830 @hardikjshah  when can I expect review? Thanks.

Thanks for the PR @pandyamarut! We are putting together a few tests in the repository now so we can make sure inference works reliably (especially w.r.t. tool calling, etc.) wherever we are dealing with openai-compatible endpoints. Usually we vastly prefer a raw token API (e.g., HuggingFace's text-generation one https://github.com/meta-llama/llama-stack/blob/main/llama_stack/providers/adapters/inference/tgi/tgi.py#L136). Expect some changes around here in a couple days. I will post an update when this happens. There are a couple other inference-related PRs also which are kind of languishing without review because of this issue.

@ashwinb  Sure. Thanks for the update. Looking forward to getting this merged soon.

@rachfop thanks for the reminder. This PR is a little stale now unfortunately and as I had referenced in my previous comment, the implementation will need to be slightly updated. You can look at other inference providers and the openai_compat.py utility we have now in place as well as tests.

@ashwinb let me update the implementation. Thanks


[Improvement]: Update connector version, keywords and Dependencies.toml of all the handwritten connectors

Connector Name
other (None Listed Above)
Suggested improvement

Update correct version in the main brach of connector repos
Update keywords in Ballerina.toml
Build connectors with SLBeta3-RC6 pack and commit the auto-generated Dependencies.toml

Closing since this is a duplicate of https://github.com/ballerina-platform/ballerina-extended-library/issues/99


get the corresponding DOM element of the selected 'cell'

[ ] I agree to follow the Code of Conduct that this project adheres to.

questions
Hello everyone
Is there a way to get the corresponding DOM element of the selected 'cell'?
thus DOM elements can be manipulated
thx

How do I manipulate a Cell's corresponding DOM element

Hello. I need too. I want to add a handler to add the functionality I need, but I don't know how to pass the selected diagram elements to the function.
Thx


Feature/hghk 285 add members to group

Fixes #285
This MR adds a button to the group view for owners to add new users as members.
PR checklist

[ ] dev-branch has been merged into local branch to resolve conflicts
[ ] tests and linter have passed AFTER local merge
[ ] localization is supported (Guide)
[ ] another dev reviewed and approved
[ ] if feature-Branch: Teams PO has approved (show via e.g. screenshots/screencapture/live demo)

Closed in favor of #308


Android Intent Redirection Vulnerability

Summary

Version
7.3.1

Affected OS
android

Current behavior
When we added react-native-device-info and used some functions like getVersion(), after releasing a version on google play, we received an email (from google play console) that says about Intent Redirection Vulnerability . You can find more info about the issue at this link
Expected behavior
Clearing error and warning alert on google play console
Suggestion resolve
According to the above Google Help link, ensuring that the extracted Intent is from a trustworthy source can resolve the problem.
// check if the originating Activity is from trusted package
 if (getCallingActivity().getPackageName().equals(“known”)) {
   Intent intent = getIntent();
   // extract the nested Intent
   Intent forward = (Intent) intent.getParcelableExtra(“key”);
   // redirect the nested Intent
   startActivity(forward);
 }

PRs happily accepted

@moh3n9595 Why do you think this library caused that warning?
I got same issue too. I don't have any idea. I have inspected this library but I got nothing suspicious.
I just upgraded this library from 5.3.1 to 7.2.0.

@moh3n9595 Why do you think this library caused that warning?
I got same issue too. I don't have any idea. I have inspected this library but I got nothing suspicious.
I just upgraded this library from 5.3.1 to 7.2.0.

@moh3n9595 Why do you think this library caused that warning?
I got same issue too. I don't have any idea. I have inspected this library but I got nothing suspicious.
I just upgraded this library from 5.3.1 to 7.2.0.

The problem appears when I use react-native-device-info. You can remove that from your app and check with internal testing on google play console.

@moh3n9595 Why do you think this library caused that warning?
I got same issue too. I don't have any idea. I have inspected this library but I got nothing suspicious.
I just upgraded this library from 5.3.1 to 7.2.0.

The problem appears when I use react-native-device-info. You can remove that from your app and check with internal testing on google play console.

What version did you use @moh3n9595 ?

What version did you use @moh3n9595 ?

I'm having the same issue.
using this command: grep -rwl 'android:exported="true"' ./ I have 2 potential culprits, either this package or react-native-firebase/messaging
I'm a dummy when it comes to native, though, so I'm not sure what to do about it

I'm having the same issue.
using this command: grep -rwl 'android:exported="true"' ./ I have 2 potential culprits, either this package or react-native-firebase/messaging
I'm a dummy when it comes to native, though, so I'm not sure what to do about it

My previous playstore-accepted-app use rn-device-info 5.3.1. According to this commit history, rn-device-info ver 5.3.1 had set android:exported="true" on that version.

My previous playstore-accepted-app use rn-device-info 5.3.1. According to this commit history, rn-device-info ver 5.3.1 had set android:exported="true" on that version.

Ironically - looking at this more closely - I think the whole thing can be purged now, and had a PR to do that even but the submitter stopped responding: #965
The whole way install referrer tracking is done changed from the broadcast intent we are tracking there to a client/server API where we register a client and the system calls us as in #947
So when I say "PRs happily accepted", do something like #965 but maybe deleting the whole AndroidManifest and re-test it to make sure everything works, propose the PR, and we could be done here

Ironically - looking at this more closely - I think the whole thing can be purged now, and had a PR to do that even but the submitter stopped responding: #965
The whole way install referrer tracking is done changed from the broadcast intent we are tracking there to a client/server API where we register a client and the system calls us as in #947
So when I say "PRs happily accepted", do something like #965 but maybe deleting the whole AndroidManifest and re-test it to make sure everything works, propose the PR, and we could be done here

I'm having the same issue.
using this command in my node-modules directory: grep -rwl 'android:exported="true"' ./ I have 2 potential culprits, either this package or react-native-firebase/messaging
But we did just upgrade from 5.6.5 to 7.2.1, so I'm guessing that this library is the issue. I'll downgrade and report back if that fixes it.

Yeah, reverting we still had issues... I think what happened is someone deleted our yarn.lock and some dependency got updated to a version that broke, but I have no idea what dependency so we are reverting out yarn.lock to one from several months ago
Thanks for everyone who looked into this. @mikehardy I see you everywhere, thanks for all the work you do for the open source community

I'm having the same issue.
using this command in my node-modules directory: grep -rwl 'android:exported="true"' ./ I have 2 potential culprits, either this package or react-native-firebase/messaging
But we did just upgrade from 5.6.5 to 7.2.1, so I'm guessing that this library is the issue. I'll downgrade and report back if that fixes it.

Yeah, reverting we still had issues... I think what happened is someone deleted our yarn.lock and some dependency got updated to a version that broke, but I have no idea what dependency so we are reverting out yarn.lock to one from several months ago
Thanks for everyone who looked into this. @mikehardy I see you everywhere, thanks for all the work you do for the open source community

but I have no idea what dependency so we are reverting out yarn.lock to one from several months ago

Did it resolve your issue? @dcenatiempo

but I have no idea what dependency so we are reverting out yarn.lock to one from several months ago

Did it resolve your issue? @dcenatiempo

I'll take a look at that PR.
I'm not 100% sure that this library is the cause (The Play Store vulnerability detection unhelpfully doesn't say which code it is detecting as suspicious), but our app is currently completely removed from the Play Store and blocked from being resubmitted due to this issue (and/or similar issues in other libraries).

I'll take a look at that PR.
I'm not 100% sure that this library is the cause (The Play Store vulnerability detection unhelpfully doesn't say which code it is detecting as suspicious), but our app is currently completely removed from the Play Store and blocked from being resubmitted due to this issue (and/or similar issues in other libraries).

@abdullahizzuddiin no, reverting my yarn lock to one from 4 months ago did not solve our issue. At this point I'm at a complete loss as to what exactly android is complaining about.

@abdullahizzuddiin no, reverting my yarn lock to one from 4 months ago did not solve our issue. At this point I'm at a complete loss as to what exactly android is complaining about.

@nicoburns
Wadaw, Is your app removed permanently?

@nicoburns
Wadaw, Is your app removed permanently?

For anyone following this thread in the future. I had successfully removed the intent redirect vulnerability (I don't believe it had nothing to do with this package) however Android was still rejecting the app because of a bug on the google play store that apparently many apps were experiencing, but I hadn't noticed that the rejection reason had changed. I just assumed they were still rejecting for the intent redirect issue.
Lesson learned: make sure to dig into the release->testing->prelaunch reports in the google play console for the app

For anyone following this thread in the future. I had successfully removed the intent redirect vulnerability (I don't believe it had nothing to do with this package) however Android was still rejecting the app because of a bug on the google play store that apparently many apps were experiencing, but I hadn't noticed that the rejection reason had changed. I just assumed they were still rejecting for the intent redirect issue.
Lesson learned: make sure to dig into the release->testing->prelaunch reports in the google play console for the app

What did you do to remove the vulnerability from your app?

For anyone following this thread in the future. I had successfully removed the intent redirect vulnerability (I don't believe it had nothing to do with this package) however Android was still rejecting the app because of a bug on the google play store that apparently many apps were experiencing, but I hadn't noticed that the rejection reason had changed. I just assumed they were still rejecting for the intent redirect issue.
Lesson learned: make sure to dig into the release->testing->prelaunch reports in the google play console for the app

How do you solved this. please give the proper way. i am stuck in this problem

Stack Overflow is where general questions should go https://stackoverflow.com/questions/64011029/react-native-intent-redirection-fix-whats-the-equivalent-of-getcallingactivi
Nothing about this issue will cause a change in this repository so it's not really the place...


feat(extension,web): add gmail content-script and implement log in flow extension<>web

A bunch of changes that implement a basic proof-of-concept for:

extension w/ gmail content-script (portal injection)
tRPC configuration between extension <> web

Hi @juliusmarminge, for your information: I've merged my pnpm branch into main now, so that main becomes the correct default branch again.


License?

Hey I love what you've done, would you consider putting up a license though so it's clear what others can or can't do with your project? https://choosealicense.com/

I'm glad you found it useful. I'll read about license, to be honest I don't know about that.


AccentColorService.Current will throw exception when using publish the app

When use build and run the app is ok, Mica theme is allright.
But publish and run it will throw an exception.
IDE: VS2022
TargetFramework: net6.0-windows10.0.19041.0
System: Windows11-22H2
_ = MicaWPF.Services.AccentColorService.Current;

and then throw following: (view from system event log)
Application: MyApp.exe
CoreCLR Version: 6.0.1022.47605
.NET Version: 6.0.10
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException: The type initializer for 'MicaWPF.Services.AccentColorService' threw an exception.
 ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
   at System.IO.Path.Combine(String path1, String path2)
   at WinRT.DllModule.TryCreate(String fileName, DllModule& module)
   at WinRT.DllModule.TryLoad(String fileName, DllModule& module)
   at WinRT.BaseActivationFactory..ctor(String typeNamespace, String typeFullName)
   at WinRT.ActivationFactory`1..ctor()
   at System.RuntimeType.CreateInstanceOfT()
   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceOfT()
   at System.Activator.CreateInstance[T]()
   at WinRT.WeakLazy`1.get_Value()
   at WinRT.ActivationFactory`1.ActivateInstance[I]()
   at MicaWPFRuntimeComponent.UWPColors..ctor()
   at MicaWPF.Services.AccentColorService.UpdateAccentsFromWindows()
   at MicaWPF.Services.AccentColorService..cctor()
   --- End of inner exception stack trace ---
   at MicaWPF.Services.AccentColorService.get_Current()
   at MyApp.App..ctor() in D:\MyApp\App.xaml.cs:line 14
   at MyApp.App.Main()

I will take a look whenever I am back home today.

Can provide sample code and binary files if needed.

Look at your publish settings and be sure to include the Windows build version:

Here is my FolderProfile.pubxml, TargetFramework is same as your.
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
  <PropertyGroup>
    <Configuration>Release</Configuration>
    <Platform>x64</Platform>
    <PublishDir>bin\x64\Release\net6.0-windows10.0.19041.0\publish\win-x64\</PublishDir>
    <PublishProtocol>FileSystem</PublishProtocol>
    <_TargetId>Folder</_TargetId>
    <TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
    <SelfContained>false</SelfContained>
    <RuntimeIdentifier>win-x64</RuntimeIdentifier>
    <PublishSingleFile>true</PublishSingleFile>
    <PublishReadyToRun>false</PublishReadyToRun>
  </PropertyGroup>
</Project>

Send a sample if possible I will take a deeper look

MyMica.zip
Sample code with bin files here.
Unrunnabled: publish
MyMica\bin\Release\net6.0-windows10.0.19041.0\publish\win-x64\MyMica.exe
MyMica\bin\Release\net6.0-windows10.0.19041.0\win-x64\MyMica.exe
Runnabled: build
MyMica\bin\Release\net6.0-windows10.0.19041.0\MyMica.exe

When published via the portable mode it works it only breaks when specifing those:
Doesn't works:

Works:

Seems to be MicaWPFRuntimeComponents that makes the Windows colors accurate I could add an option to turn it off but Windows colors won't be accurate.

"Produce single file" seems not the reason.
What the actual reason is Windows colors accurate wrong when win-x64?

For some reasons there seems to be an issue with CsWinRT when using win-x64.
MicaWPFRuntimeComponent needs it in order for it to fetch the actual brushes Windows uses because I can't find their exact algorythms if I fallback to my own the colors are a little bit off. Since Net 5.0 Microsoft removed the support for WindowsApp.SDK.Contracts that is why I need to use a WinRT C++ compononent.
https://github.com/microsoft/CsWinRT
https://github.com/Simnico99/MicaWPFRuntimeComponent
I might try to update the version of CsWinRT.

Hello,
I've temporarily created a fallback in cases CsWinRT won't load:
https://github.com/Simnico99/MicaWPF/releases/tag/4.8.0
I've tested now it publishes in win-x64

Tested with 4.8.0 and it seems fixed.


Typo

Hey Rajesh ,
T Should be Capital https://github.com/rajeshmajumdar/TheFatCat/blob/master/thefatcat.py#5
Check Line no : 5
from tkinter import *
Cheers!

Thanks arbazhhussain, but actually the module name is itself tkinter try it, is it giving any error.


No more hash on Twitter?

It's a pity, it was an extra security 'cause compromising BIP39 Tool was meaning to compromise the repo but also your twitter account (the bip39-standalone.html compiled from a compromised source couldn't have matched the right hash): now it's "enough" to compromise your GitHub... hope you'll step back to the former procedure involving another platform as well. Thanks!

I verify by uploading the well-exercised old-faithful 0.5.4 standalone here:
https://www.virustotal.com/gui/file/8b8e3c1be03501f57e395781de8a59fd553808e1eb1278710bd7b96dacb6d0f6
(Can also check the pgp signature.  https://github.com/iancoleman/bip39/releases/tag/0.5.6)

virustotal check is meaningless, since it wouldn't discover, for example, biases in RNG
pgp signature check is less immediate than athe comparison of two hashes
just imho


I run ver 1.0.0 but warning msg="your node is outdated, please check for the latest version"

I run ver 1.0.0 but warning msg="your node is outdated, please check for the latest version"

me too

me too

time="2021-06-22T08:58:43Z" level=warning msg="your node is outdated, please check for the latest version"

time="2021-06-22T01:05:17Z" level=warning msg="your node is outdated, please check for the latest version"
bee-3_1    | time="2021-06-22T01:05:17Z" level=debug msg="using existing libp2p key"
bee-3_1    | time="2021-06-22T01:05:17Z" level=debug msg="using existing pss key"
bee-3_1    | time="2021-06-22T01:05:17Z" level=info msg="using ethereum address eeeee"
bee-3_1    | time="2021-06-22T01:05:17Z" level=info msg="version: 1.0.0-2572fa48"
bee-3_1    | Error: provided network ID does not match mainnet

@camille3344520 @ahauswk @devjunj @whatarey would you mind sharing the way (source) from which you've downloaded the nodes you have this problem?

@camille3344520 @ahauswk @devjunj @whatarey would you mind sharing the way (source) from which you've downloaded the nodes you have this problem?

I use this

@camille3344520 @ahauswk @devjunj @whatarey你介意分享你下载节点的方式（来源）吗？

https://github.com/ethersphere/bee/releases/download/v1.0.0/bee_1.0.0_amd64.rpm

mee too.

@camille3344520 @ahauswk @devjunj @whatarey你介意分享你下载节点的方式（来源）吗？
wget -q https://raw.githubusercontent.com/ethersphere/bee/v1.0.0/packaging/docker/docker-compose.yml
image: ethersphere/bee:beta

me too. I use  this
'https://github.com/ethersphere/bee/releases/download/v1.0.0/bee_1.0.0_amd64.deb'
time="2021-06-23T01:05:24+08:00" level=info msg="version: 1.0.0-2572fa48"
time="2021-06-23T01:05:24+08:00" level=info msg="waiting to sync with the Ethereum backend"
time="2021-06-23T01:35:24+08:00" level=warning msg="your node is outdated, please check for the latest version"
time="2021-06-23T02:05:24+08:00" level=warning msg="your node is outdated, please check for the latest version"

This is the latest version

yes me too

fix pending: #2196

time="2021-06-23T20:41:52+08:00" level=info msg="version: 1.0.0-2572fa48"
time="2021-06-23T20:41:52+08:00" level=info msg="debug api address: [::]:1625"
time="2021-06-23T20:41:52+08:00" level=info msg="waiting to sync with the Ethereum backend"
time="2021-06-23T21:11:50+08:00" level=warning msg="your node is outdated, please check for the latest version"
time="2021-06-23T21:41:50+08:00" level=warning msg="your node is outdated, please check for the latest version"
time="2021-06-23T22:11:50+08:00" level=warning msg="your node is outdated, please check for the latest version"
一样的节奏

bee-1_1    | time="2021-06-23T06:36:33Z" level=debug msg="kademlia: disconnected peer ee21ace67f3e72d022d687505658c1ef9133b03a285fe99f7215ea950a6087e4"
bee-1_1    | time="2021-06-23T06:36:33Z" level=debug msg="libp2p disconnect: peer ee21ace67f3e72d022d687505658c1ef9133b03a285fe99f7215ea950a6087e4 not found"
bee-1_1    | time="2021-06-23T07:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T07:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T08:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T08:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T09:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T09:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T10:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T10:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T11:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T11:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T12:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T12:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T13:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T13:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T14:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T14:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T15:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T15:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T16:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T16:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T17:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T17:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T18:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T18:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T19:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T19:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T20:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T20:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T21:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T21:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T22:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T22:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T23:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-23T23:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-24T00:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-24T00:36:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-24T01:06:02Z" level=warning msg="your node is outdated, please check for the latest version"
bee-1_1    | time="2021-06-24T01:36:02Z" level=warning msg="your node is outdated, please check for the latest version"

me too

same issue here.

INFO[2021-06-24T01:17:53-04:00] debug api address: <IP_ADDRESS>:1635
INFO[2021-06-24T01:17:55-04:00] waiting to sync with the Ethereum backend
WARN[2021-06-24T01:47:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T02:17:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T02:47:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T03:17:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T03:47:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T04:17:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T04:47:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T05:17:53-04:00] your node is outdated, please check for the latest version
WARN[2021-06-24T05:47:53-04:00] your node is outdated, please check for the latest version

@luoweidd @whatarey @addicted0010 @lihdodo can you guys download, build (by make binary), and try to run (from dist directory) the latest binary?

this version like a dog shit

Hi all,
Thank you for reporting this. Your versions are not outdated, but due to a varying build process on different systems bee thinks it is outdated. This is a bug, but does not have any effect on the operation of your bee node. It is fixed per https://github.com/ethersphere/bee/issues/2196 and will released with the upcoming release. Thanks


[Feat] Add possibility to turn off converters

Information

Version: 4.32.0
Type: Issue/Story

Description
I use @tsed/common v. 4.32.0 and can't update it. But I think my issue/proposition is actual for last version.
Is there possibility to turn off converters for model?
For example I can send to server

{ "Id": "aaa" } // not correct because not number
{ "Id": "3" } // not correct because number as string
{ "Id": 3 } // correct because real number

Server waits for only real number (3, not '3'). I don't need to convert field, just validate type.
If I send '3', validation is success. I don't it. I would like to get validation error.
If I send 'aaa', of course I get error "Cast error. Expression value is not a number.".
If there is not possibility to turn off it, do I need to override PrimitiveConverter with OverrideProvider? And create custom converter?
Thanks.
Example
import {
  ExclusiveMaximum,
  ExclusiveMinimum,
  Required,
  Schema,
} from '@tsed/common';

export class MyApiModel {

  @Required()
  @ExclusiveMinimum(1)
  @ExclusiveMaximum(5)
  @Schema({ type: 'number' }) // to check for real number
  public Id: number; // only real number, not '3' or 'aaa'.

}

Hello @exsoflowe
Disable convertersService is probably possible if you override the ConvertersService but you'll loose the advantage to use a class and model. Endpoint method will receive a plain javascript object instead of the real class. It could be a problem if you model has some methods or getter/setter.
@Controller('/')
export class MyCtrl {
  @Get('/')
  get(@BodyParams() myApiModel: MyApiModel){
      console.log('myApiModel', myApiModel) // plain object if the converters is disabled. But Typescript annotation use MyApiModel. It could be confusing?
   }
}

Thanks for quick reply.
I used your/my custom PrimitiveConverter.
About ConverterRegistry and PrimitiveConverter. I can't import them in Typescript.
In current 4.32.0 version I get something like
Module '"@tsed/common"' has no exported member 'PrimitiveConverter'
Thanks.

Ok I’ll publish tomorrow a quick fix on v4 to export theses classes ;)


Recommendations for Microsoft.Azure.Cosmos.Container lifecycle

This article recommends use CosmosClient as singleton.
Is there any recommendations about Microsoft.Azure.Cosmos.Container?
Does it support concurrency? Can application use it as a singleton? Use pool of instances?
Thanks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: df5fa7ab-4ed8-174d-5173-b995d1610604
Version Independent ID: a6ad6aff-12b7-4400-a0b4-a3a7e9e3e5f8
Content: Azure Cosmos DB performance tips for .NET SDK v3
Content Source: articles/cosmos-db/performance-tips-dotnet-sdk-v3-sql.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @j82w
Microsoft Alias: jawilley

@PKPublicCode We are currently looking into this and will get back to you shortly.

Please assign to @StefArroyo

#reassign: @StefArroyo

The CosmosClient holds the connections and different caches which make it very important to use as a singleton. The Microsoft.Azure.Cosmos.Container is thread safe and it is recommended to be pooled. Caching avoids object creation and garabage collection so it is more performant compared to recreating the object.
The sample use a singleton container and reuse it across all the operations: https://github.com/Azure/azure-cosmos-dotnet-v3/blob/8f33f5690e929d3c317bca845aa3d29a7a55680c/Microsoft.Azure.Cosmos.Samples/Usage/ItemManagement/Program.cs#L66

#please-close


Added Universidad Fidélitas

Adds support for Universidad Fidélitas, https://ufidelitas.ac.cr/

@emudojo I am sorry, the domain ufide.ac.cr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Concerns About the Future Maintenance of GetX

Hello GetX Team and Community,
I hope this message finds you well. I am a Flutter developer who has been using GetX in various projects due to its excellent features and ease of use. However, I have noticed that the last update on pub.dev was made about 8 months ago. This has raised some concerns regarding the ongoing maintenance and future development of the GetX library.
As an active user and a big fan of the framework, I would appreciate any insights or updates on the future plans for GetX. Is the project still actively maintained? Are there any upcoming updates or enhancements that we can look forward to?
Understanding the project's roadmap would greatly help in making informed decisions about using GetX in future projects.
Thank you for all the hard work and looking forward to your response.
Best regards,

@gencresul  can you contribute to this project?

@gencresul  Don't worry, just look forward to it.

Thank you so much for your quick response! 😊 I'm excited to see what the future holds for GetX and will continue to use it with enthusiasm. 🚀 You're doing great work! 🌟
Best wishes and good luck! 🍀


You cannot call prepareStyles() on the same style object more than once

I'm getting "2 Warning: You cannot call prepareStyles() on the same style object more than once." on an Avatar component with the below code:
<Card className="blabla"
       style={mystyle}>
    <CardMedia>
        <Avatar src={myPictureUrl}/>
    </CardMedia>

</Card>

Versions:

material-ui: 0.14.4
react: 0.14.8
chrome: 50.0.2661.75

outdated version

I still have this issue:

material-ui: 0.17.1
react: 15.4.2
chrome: 57.0.2987.133 (64 bit)

temporary solve
<Card className="blabla"
       style={mystyle}>
    <CardMedia>

             <Avatar src={myPictureUrl}/>

    </CardMedia>

</Card>

Still a problem in 0.18.1. Including the  svg icon to the code below causes this error.
        <CardMedia
          overlay={
            <CardTitle
              title={this.props.device.label}
              subtitle={`Created ${moment(this.props.device.created).fromNow()}`}
            />
          }
          overlayContentStyle={{background: background}}
        >

        <CheckIcon />
        </CardMedia>

nndung179's workaround of wrapping the element in a div works.


German Translation of User Guides (Wallet 2/2)

German translation of the following user guides:

Multisig transactions with MMS and CLI wallet
Connecting your local wallet to your own daemon over Tor

Note regarding entry Multisig transactions with MMS and CLI wallet:
Maybe somebody has an idea how to translate the headline "Getting the MMS" without making it sound stilted. Also, I feel like this entry needs a general update.


ServiceClient.Call() need concurrency support

Which operating system are you using?

OS

[x] Linux
[ ] Windows
[ ] macOS

Architecture

[x] amd64
[ ] arm64
[ ] arm7
[ ] arm6

Describe the issue
The client side gets  "EOF" errors  when call  ServiceClient.Call()  concurrently, meanwhile the server side print :
[ERROR] service provider '/test/xxxx' is unable to accept client '<IP_ADDRESS>:xxx': a client with id '/xxx' is already connected to the provider

It seems that this go ros package is not support concurrency? Would you please look into this problem, and give me some help to let me successfully call the function concurrently. Thanks a lot.

Thanks, now ServiceClient.Call() is thread-safe.

@aler9 I updated it and the latest version will still appear

@aler9
Hello, I see you add mutex.Lock in the Call() method, actually it runs  sequentially. I used waitgroup to setup 1000 goroutines to call the method, and  it cost a lot of time.   So is there any possible to let the ros communication itself run  concurrently? Look forwarding for your reply. Thank you.

is there any possible to let the ros communication itself run concurrently?

You can't use a single connection to write requests and read responses concurrently, it's a limit shared by both ROS services and HTTP.
Nonetheless, you can obtain concurrency by using a different ServiceClient in each goroutine.


Doxygen stuff doesn't seem to be generated

I tried generating Doxygen stuff myself manually, but even then, it didn't seem to generate anything of use.  All I got was an index.html (and pngs and css files and whatnot for it).

Doxygen generates HTML unless you tell it to generate a CHM or PDF and have the right tools ready.
Not sure how you approached it, but when you build SFGUI with CMake, you have an option to build the docs (SFGUI_BUILD_DOC) and if you check that and Doxygen is found by CMake, documentation will be generated.

Yeah I think I must have just screwed that up then.  I'll go ahead and close this issue then.


Question for External Business Event with upcoming Microsoft Fabric integration

[ExternalBusinessEvent('ExportOfEntityEnded', 'Entity export ended', 'The export of the entity was registered as ended.', EventCategory::ADLSE)]
local procedure TableExportRunEnded(RunId: Integer; State: Enum "ADLSE Run State"; Container: Text[250]; EntityName: Text[250])
begin
end;

I would like to add an second External Business Event as ExportEnded, so we also could integrate when all the exports of the entities are finished.

With the upcoming Microsoft Fabric integration I'm struggling a bit what the best approach is on this.

Do we create a separate event for each type of Storage Type (ADLS/Fabric) or one independent of the Storage type?
In case for one generic type, I'm not sure how to handle the different parameters between the different Storage types. Include all four (Container, Account name, Workspace and Lakehouse) or make a generic name for Account name and Workspace and also a generic name for Container and Lakehouse?
Not sure why the Account name parameter is in the Isolated Storage. I would like to expose this in the event. For performance reasons I guess it would be better to migrate this field out of the Isolated Storage and to a field on the setup table. Are there any concerns on having this field on the table and exposed in the event?

@Arthurvdv I would suggest one generic event for both storage type with generic names like:
Environment and resource.
Maybe also include the storage type in the business event.
For the Account Name it is fine do put it outside the isolated storage. Maybe it is good to create a upgrade path for it.


Feature request: recording of stream

It would be useful, to have an option to record the stream and/or transmit it to other programs such as VLC. This could be e.g. implemented via an additional button in the browser.
By the way: thanks for the excellent piece of software and the active development of it.

I am experimenting with the native features of the browser to record the stream.
This is an example of the output:
goMarkableStreamRecording (3).webm
The video is in webm and is only 83kb.

@fahasch, if the feature is ok for you, I let you close the issue

Thank you for the fast implementation. This is indeed the feature that I have been looking for.


Phaser atlas cache dimension bug?

Hi, I'm having weird problem with the atlas loader.
I have temporary images which are 100x150, those images are put in one spritesheet and loaded using the atlas loader(game.load.atlas).
Today I received new images to replace the temporary images which are 100x135, those are also put into one spritesheet and loaded using atlas loader.
At first I thought it's just replacing the atlas image and data. But apparently the draw in game becomes a mess, phaser draws the image with old size(100x150), so the images are overlapping.
I've tried the hard refresh(ctrl+f5) but it's still not working.  Then I tried to clear browser cache, and the result is fine.
So is this intended mechanism or a bug? Do I must always clear browser cache if the image in spritesheet changed dimension? Can I prevent the phaser not to cache the atlas dimension? Because I can't ask the players to clear browser cache everytime.
I have other images(like button) which are not in the spritesheet. The temporary images and new images have different dimension too, they're loaded using manual load(game.load.image), and they don't have problem like the atlas load.
Phaser v2.6.2
Firefox 49.0.1

Thank you for taking the time to open this issue. However, official support for Phaser 2 has now ended as we focus on preparing Phaser 3 for beta release. In a bid to keep the project tidy, and avoid confusion, we are closing all v2 related issues.
This does not mean your issue won't be looked-at. In November 2016 the Phaser CE (Community Edition) project began. The aim of Phaser CE was to allow the community to continue v2 development. Since then it has gained significant traction, with many updates and releases.
If you are still interested in having your issue investigated we strongly recommend testing the latest Phaser CE release. And only if the problem persists, opening an issue on the Phaser CE repo.


$.jstree.defaults.search.show_only_matches_children has no effect

If $.jstree.defaults.search.show_only_matches set to true and $.jstree.defaults.search.show_only_matches_children is set to true. Still only the found nodes are shown and not their child nodes.

Sry. Had old version.

hello,have you finally solved this issue? I caught the same problem.Hopes for your response.

@LucienLaw Here are the demos:
http://jsfiddle.net/DGAF4/1691/
http://jsfiddle.net/DGAF4/1692/


Trained Model

Thanks for your work.
Unfortunately, I don't have sufficient resources to train model myself.
Do you plan to release trained checkpoint model anytime soon? It would be good to provide some instructions on running the trained model on some test images.

I am encountering the same issue. It would be more than helpful if you could release some trained checkpoint model, and provide some instructions on running the trained model on some test images. Thank you!

I am encountering the same issue. It would be more than helpful if you could release some trained checkpoint model, and provide some instructions on running the trained model on some test images. Thank you!

Why I met this problem, I just download the codes and never change anything in codes, can you help me? Thank you!
File "main.py", line 98
if resume_epoch and os.path.isfile(os.path.join("ckpt", exp_name, f"train_states_{resume_epoch}.pth")):
^
SyntaxError: invalid syntax


get_categories type => link argument is deprecated

Not 100% sure should this go in the DeprecatedParametersSniff or DeprecatedParameterValuesSniff. Basically the get_categories() function has a deprecated argument
array( 'type' => 'link')

Which, if used, will throw a notice to use
array( 'taxonomy' => 'link_category')

instead.
I think this should be added in one of those two but I'm not sure which one tbh 😬
I'm happy to make a PR 🙂 Since I'm making a core patch to change the docblock of that function as well.

Sounds like one for the DeprecatedParameterValues sniff as it's about the value of the parameter, not the parameter itself.

I think the sniff should be modified a bit to include the part where the parameter to check is a key in the array. From what I've seen in the sniff currently, it only handles where the parameter is a certain value.
So setting
'get_categories' => array(
	1 => array(
		'type' => array(
			'alt'     => 'the "link" type argument',
			'version' => '3.0.0',
		),
	),
),

in the $target_functions won't work, as it's interpreted as get_categories( 'type' ). I'll see if I can work on it today if it's ok 🙂

You may even want to split the logic for array functions off into a separate function and have a flag in the functions list property to say that something is an array and needs the "other" set of logic.

I'll see if I can work on it today if it's ok slightly_smiling_face

Of course :+1:

You may even want to split the logic for array functions off into a separate function and have a flag in the functions list property to say that something is an array and needs the "other" set of logic.

This is a good tip because otherwise, I'd have to change that property quite a bit.

Sigh... I've spent 3 hours trying to figure out how to check if the argument parameter is an array, and then how to check each parameter and if one of it is type and if its value is link, without luck.
I've organized the $target_functions like
...
'get_bloginfo' => array(
	'type' => 'string',
	'position' => 1,
	'values' => array(
		'home' => array(
			'alt'     => 'the "url" argument',
			'version' => '2.2.0',
		),
		'siteurl' => array(
			'alt'     => 'the "url" argument',
			'version' => '2.2.0',
		),
		'text_direction' => array(
			'alt'     => 'is_rtl()',
			'version' => '2.2.0',
		),
	),
),
'get_categories' => array(
	'type'     => 'array',
	'position' => 1,
	'values'   => array(
		'type' => array(
			'alt'     => 'the "link" type argument',
			'version' => '3.0.0',
		),
	),
),
...

so it's easier to distinguish the type. Then I've changed the process_parameters method to:
public function process_parameters( $stackPtr, $group_name, $matched_content, $parameters ) {
	$this->get_wp_version_from_cl();
	$param_count = \count( $parameters );

	foreach ( $this->target_functions[ $matched_content ] as $parameter_value ) {
		$current  = $this->target_functions[ $matched_content ];
		$position = $current['position'];
		// Stop if the position is higher then the total number of parameters.
		if ( $position > $param_count ) {
			break;
		}

		// If parameter type is string, process it and check it. If it's array we need to check every argument key.
		if ( 'string' === $current['type'] ) {
			$this->process_parameter( $matched_content, $parameters[ $position ], $current['values'] );
		} else {
			// Determine if the parameter is indeed an array, bail if not.

		}
	}
}

and I got stuck 😞


fix #20, #22

I've put you as a co-author in this commit: https://github.com/pawamoy/shell-history/commit/a699eac45d5b38b275b65721f20b254433e10499


Univariate results

Hi,
Where can i find the results of all the univariate classification problems?
One of the 30 resamples is the original train/test split?If so, which one?
Thank you!

Hello, I have updated the results/ folder here. The results should also be available at https://timeseriesclassification.com
Fold 0 is the original train/test split