rest api output No ssl info found

es 5.6.8
system: centos 7.3 x86_64
as now i down the right jar file like:
[root@xxx search-guard-5]# pwd
/opt/ES/es568/elasticsearch-5.6.8/plugins/search-guard-5
[root@f14cp-p1-soc34 search-guard-5]# ls
commons-cli-1.3.1.jar                                                         netty-codec-http-4.1.13.Final.jar  search-guard-5-5.6.8-19.jar
dlic-search-guard-module-auditlog-5.3-5-jar-with-dependencies.jar             netty-common-4.1.13.Final.jar      search-guard-ssl-5.6.8-23.jar
dlic-search-guard-module-kibana-multitenancy-5.4-4-jar-with-dependencies.jar  netty-handler-4.1.13.Final.jar     sgconfig
dlic-search-guard-rest-api-5.3-5-jar-with-dependencies.jar                    netty-resolver-4.1.13.Final.jar    tools
guava-19.0.jar                                                                netty-transport-4.1.13.Final.jar   transport-netty4-client-5.6.8.jar
netty-buffer-4.1.13.Final.jar                                                 plugin-descriptor.properties
netty-codec-4.1.13.Final.jar                                                  plugin-security.policy
[root@xxxx search-guard-5]#

use curl and browser also output this error:
[2018-04-09T09:13:17,894][ERROR][c.f.s.d.r.a.UserApiAction] [xxx] No ssl info found
[2018-04-09T09:13:26,302][ERROR][c.f.s.d.r.a.UserApiAction] [xxx] No ssl info found

in elasticsearch.yml file also add
searchguard.ssl.http.clientauth_mode: OPTIONAL
the cmd is:
[root@xxxxx example-pki-scripts]# curl -u xxx:xxx --insecure --cert node-1-signed.pem --key node-1.key.pem "http://xxx:9200/_searchguard/api/user/admin?pretty"
output:
No ssl info found
the browser is also:

Please do not ask questions here.
For that refer to https://groups.google.com/forum/#!forum/search-guard
Github is a place only for reporting bugs or feature requests.
If you report a bug please include always the following informations:

Search Guard and Elasticsearch version
JVM version and operating system version
Number of nodes in your cluster
Description of the bug

These informations are optional but are very valueable and
typically would lead to get bugs fixed faster:

Steps to reproduce
Logfiles on DEBUG level
A failing unittest


feat(feature_flags): support beyond boolean values

see #777
example schema
 app_config_schema = {
        "my_feature": {
            "default": [],
            "boolean_type": False,
            "rules": {
                "tenant id equals 345345435": {
                    "when_match": ["value1", "value2"],
                    "conditions": [
                        {
                            "action": "EQUALS",
                            "key": "tenant_id",
                            "value": "345345435",
                        }
                    ],
                }
            },
        }
    }

In this case, if you want to use non boolean types, you must supply boolean_type: False, otherwise True is assumed and a validation error is raised because "default" and when_match are not boolean.
If you dont write boolean_type at all, it's assumed as True and class acts as it did prior to this addition-> non breaking change for current users.
usage:
feature_value: List[str] = features.evaluate(name="my_feature", context={"tenant_id": "345345435"}, default=[])

feature_value is ["value1", "value2"] because tenant_id = 345345435 and it matches the conditions.

feature_value: List[str] = features.evaluate(name="my_feature", context={"tenant_id": "1"}, default=[])

feature_value is [] because tenant_id = 1 and it  does NOT match the conditions.

Codecov Report

Merging #804 (c87c84f) into develop (750f482) will decrease coverage by 0.05%.
The diff coverage is 88.88%.

@@             Coverage Diff             @@
##           develop     #804      +/-   ##
===========================================
- Coverage    99.98%   99.92%   -0.06%
===========================================
  Files          118      118
  Lines         5097     5106       +9
  Branches       277      278       +1
===========================================
+ Hits          5096     5102       +6
- Misses           0        2       +2
- Partials         1        2       +1

Impacted Files
Coverage Δ

...owertools/utilities/feature_flags/feature_flags.py
96.77% <75.00%> (-3.23%)
:arrow_down:

...ambda_powertools/utilities/feature_flags/schema.py
100.00% <100.00%> (ø)

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 750f482...c87c84f. Read the comment docs.

Quick note - As we discussed, I'm happy with the direction. Here's what I'd like to have to better understand to craft a messaging and docs to better communicate this to customers.

Provide an example scenario along with schema and return values
Clarify what the return values should be - Are we returning the value it matches?
Add return type primitives instead of ANY

@heitorlessa  updated description with schema example and usage

Thanks a lot @ran-isenberg - As we discussed, I'll work on fixing some bug reports on Parser for the next imminent release, then I'll get back to this PR for having a deeper look so we can find a way to communicate this feature better for customers.
If you could update the diagram, the mentions on the doc that is no longer a boolean only, and a concrete use case we could use to communicate the value that would help prioritize it for the 1.23.0 release (the one after next).

@ran-isenberg @heitorlessa - i see we are missing a test for not boolean_feature cases where we skip over?

@ran-isenberg @heitorlessa - i see we are missing a test for not boolean_feature cases where we skip over?

Didnt push all tests, waited for an approval for the idea. I'm working on it ;)

added a bunch of tests

potential uses case:
user permitted actions: for admins users you return a list of actions ['read', 'write']
but default users, feature toggle value is ['read']
 app_config_schema = {
        "my_feature": {
            "default": ['read'],
            "boolean_type": False,
            "rules": {
                "username startswith with admin": {
                    "when_match": ["read", "write"],
                    "conditions": [
                        {
                            "action":"STARTSWITH",
                            "key": "user",
                            "value": "admin",
                        }
                    ],
                }
            },
        }
    }

Looking to merge this one today

@heitorlessa  can't wait :)

The docs PR on consistency for all pages took way more hours than anticipated, I'm making a minor change on this tomorrow and merging before release (also tomorrow). Apologies for the delay
https://github.com/awslabs/aws-lambda-powertools-python/pull/919

@ran-isenberg as we're in beta, does it worth making a note that this feature will be the default once/right before GA?
As in, it'd be great to not require this additional field in their schema -- return whatever the value when match or default value.
Keen to hear your thoughts as I know you're using in prod regardless of the label beta.

I dont mind keeping the new field because that way we do get the boolean schema validation instead of allowing blindly everything. There's also the get all enabled flags API which I think should return only the boolean rules that match (it returns a list of string - name of features that are True).

Gotcha - for the get all enabled features I was thinking in keeping it as
is, and create a new get all matching features to cater for the new returns.
As I want to release it today, I’ll mark to revisit before we go GA - my
only concern is the complexity of newcomers into the feature, not so much
about maintenance as we can make some minor changes.
I’ll go ahead and make the minimal changes to ease maintenance, help Mypy
inform issues, write the docs, and add a note to revisit this feature on
whether we can make it simpler
On Fri, 31 Dec 2021 at 05:34, Ran Isenberg @.***> wrote:

I dont mind keeping the new field because that way we do get the boolean
schema validation instead of allowing blindly everything. There's also the
get all enabled flags API which I think should return only the boolean
rules that match (it returns a list of string - name of features that are
True).
—
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-lambda-powertools-python/pull/804#issuecomment-1003265940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZPQBBV6ASJS4BNDIU52Z3UTUXFPANCNFSM5HQ37NQQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

you mean a function  that returns a Dict[ str, Any] with feature name and  the evaluated value?
that could work too

Yeah, just like we did for Parameters when you wanna get multiple
parameters at once (recursively for SSM, or as a Query for the same pk in
DynamoDB)
On Fri, 31 Dec 2021 at 07:38, Ran Isenberg @.***> wrote:

you mean a function that returns a Dict[ str, Any] with feature name and
the evaluated value?
that could work too
—
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-lambda-powertools-python/pull/804#issuecomment-1003286048,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZPQBE44Z6GZZ6CD5RRUBTUTVFXRANCNFSM5HQ37NQQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks again Ran for implementing this feature!
I've made the following changes to ease maintenance, plus docs. I'm merging, working on one last PR then publishing 1.24 release with it ;-)

[x] Bugfix:

[x] Allow non-boolean values to be returned upon rule match
[x] 5 Mypy issues on types
[x] Replaced Any with JSONType to ease Mypy and IDE findings for non-JSON primitives

[x] Tests:

[x] Merged tests into a single file, removed one/two duplicate
[x] Renamed tests to be more explicit to the behaviour they're testing
[x] Tests for truthy default non-boolean default values

[x] Docs:

[x] Updated Schema Validation API docs
[x] Updated Schema section
[x] New section Beyond boolean feature flags


Yo 3.0.0 not installable with yarn on node8 due to global-agent requiring node10

Type of issue
Bug
Yo 3.0.0 fails to install with yarn on node8, because the dependency global-agent requires node10.
Apparently "yarn add" evaluates the "engines" requirements of dependencies and refuses to install, but "npm install"  seems to be happy to put global-agent in node_modules even if it has an "engines" requirement that is not satisfied?

My environment

OS version/details: Debian Linux 9 amd64
Node version: 8.16.0
npm version: 6.4.1
yarn version: 1.16.0
Version of yo : 3.0.0 (run yo --version in your terminal)

Expected behavior
In an empty directory, the following command used to work to install yeoman: yarn add yo. But since the 3.0 release a few days ago, this has stopped working on node8.
Current behavior
Yarn refuses to install yo on node 8 because it has a dependency<EMAIL_ADDRESS>which requires node 10.
Steps to reproduce the behavior
yarn add yo in an empty directory with node 8 in the path.
Command line output
yarn add v1.16.0
info No lockfile found.
[1/4] Resolving packages...
warning yo > fullname > passwd-user > execa ><EMAIL_ADDRESS>cross-spawn no longer requires a build toolchain, use it instead
warning yo > yeoman-doctor > bin-version-check > bin-version > execa ><EMAIL_ADDRESS>cross-spawn no longer requires a build toolchain, use it instead
[2/4] Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=10.0". Got "8.16.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

You can use the --ignore-engines when using yarn: https://yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-ignore-engines
I'm not sure how we can fix that on our side without removing functionality. Maybe we could leverage optionalDependencies, but then we'd need to conditionally require this module only if it is installed.

Thanks, --ignore-engines did the trick. Feel free to close this issue - or leave it open still, in case this is something that could be improved later.


Are double-colons necessary for labeled arguments

Labeled arguments can be thought of as length-1 records, which, like length-1 tuples, don't need enclosing braces/parens.  This analogy would work better if labeled arguments used only 1 colon instead of 2.  But maybe there are parsing conflict demons hiding.

When I read the entire write up for reason, the named arguments bit was the most confusing. The double colons remind me of list concatenation. Plus the default values and calling these methods all gets a little confusing. I don't really have a solution in mind yet, but I'll keep thinking.

I agree with @nmn about the comma being very confusing to me, as nothing but tuples uses comma (which is awesome btw).
This example from @jordwalke let greeting (:prefix p="!", :name, :age : int) => p ++ "hello " ++ n; kills it for me. Overloading : that much seems unnecessarily confusing.
This example from @nmn let increment = fun (:by by:int=0) num => num + by; is also pretty confusing.
I'd say that out of everything proposed here, I prefer @nmn's last proposal. let add = fun (:first f) (:second s) => f + s; feels very clojure-y and fits in this pattern of tagging values (like tagging types with variants) that seems to be very used in ML world.
But I have a question. What's wrong with OCaml's approach of using ~?
let add = fun (:first f) (:second s) => f + s;
let result = add (:first 10) (:second 20);
let addFour = add (:second 4);
let five = addFour (:first 1);

/* Notice how `by` is to the left of `num` */
let increment = fun (:by by=0) num => num + by;
let two = increment (:by 1) 1;
let four = increment 4;

becomes
let add = fun (~first f) (~second s) => f + s;
let result = add (~first 10) (~second 20);
let addFour = add (~second 4);
let five = addFour (~first 1);

/* Notice how `by` is to the left of `num` */
let increment = fun (~by = 0) num => num + by;
let two = increment (~by 1) 1;
let four = increment 4;

and
let increment = fun (:by by:int=0) num => num + by;

becomes
let increment = fun (~by = 0):int num:int => num + by;

and from @jordwalke's proposal
let greeting (:prefix p="!", :name, :age : int) => p ++ "hello " ++ n;

let prefix = "_";
let name = "_";
let age = 99;
let lookImPunningAtTheCallSite = greeting (:prefix, :name, :age);

becomes
let greeting (~prefix p="!") ~name ~age:int => p ++ "hello " ++ n;

let prefix = "_";
let name = "_";
let age = 99;
let lookImPunningAtTheCallSite = greeting ~prefix ~name ~age;

Type annotations are on the outside of the inner expression, and you can see (~name ...) as an expression (maybe ?).
let someFunc
  singleArg
  singleArgWithTypeAnnotation : int /* spaces around the colon aren't necessary */
  ~namedArg
  (~namedArgWithDefault = 10)
  ~namedArgWithType : int
  (~argWithInternalName bla)
  (~sameAsLastTwoArgs bla2 = 10)
  (~sameAsLastThreeButWithTypeAnnotations bla3 = 10) : int => {
  singleArg + singleArgWithTypeAnnotation + namedArg + namedArgWithDefault + namedArgWithType + bla + bla2 + bla3
}

I might be missing something obvious, and maybe this is ambiguous from the parser's perspective, but this looks the best to me because coming from JS world that doesn't have named args, it's ok to introduce a new symbol. And then as soon as you see ~ you can think "oh yeah named arg". Same as as soon as you see , you think "oh yeah a tuple".

Thanks for the thoughtful replies. For any proposal for named args, please create a version of this gist that shows how the proposal handles all of the scenarios:
https://gist.github.com/jordwalke/6935739b74eb9b8496670cc7860f5acf
Note that cases where you see name::name are supposed to be punned, but the current :: syntax does not support punning.
The commas in the proposal I listed above are what allow punning and type annotations. The tradeoff is that, well, you need commas and parens.
Current named arguments in OCaml are difficult to learn and I've gotten feedback from OCaml programmers that they can never seem to remember the syntax for anything other than simple cases (the hard-to-remember cases are optionals with or without defaults etc).
The current syntax in Reason, although I consider it a placeholder, is nice because you can learn and remember it very easily. The pattern is:
name::regularArgSyntax
or
name::regularArgSyntax=default

Where default is either the default value of ? if no default. regularArgSyntax is everything you already know about arguments.
I'd like to have something that is as easy to remember, and can also support punning. It's less important to support punning at application time, IMHO - but more important to support it at function definition time (but ideally we'd have both).

It's less important to support punning at application time, IMHO -
but more important to support it at function definition time

I don't understand the reasoning on this point.  When punning at
application sites is supported, then it encourages using the labels as
local variable names in the code surrounding the call site.  This has
the effect of making the "vocabulary" for a function more consistent
across all of its call sites.  If anything, I would think that this is
more important than punning in the function definition itself, as
there will only be one name there anyhow.

I have to say, the first time I saw argument "punning", I was very confused. It didn't make sense to me that func ~arg was sugar for func ~arg:arg. Because in my head I pictured ~arg as being the whole named argument, the label used to identify the expression that I'm about to pass in. So doing func ~arg just seemed nonsensical.
I did get used it and now enjoy the brevity though.

The current syntax in Reason, although I consider it a placeholder, is nice because you can learn and remember it very easily

That's true. Took us about 1min to look it up and remember :: and slap it everywhere.
I made https://gist.github.com/bsansouci/499a5b2eede84303e2fd961a67535551. I hope this helps. I'm considering making that change in the parser and test it on our little project to see how it goes because looking at it like this, it's hard to tell how bad it is compared to the simplicity of no punning ::.

@jberdine My logic was that when a function declares an argument count, to that implementation it's almost always the count. When calling a function, the function's count is likely my calling function's appNumberThatHappensToBeWhatIWantToPassToCount.
Here's an example that demonstrates what I was thinking:
let deleteUser userId::userId => {
    /* Do the delete */
};
let verifyValidUser userId::userId => {
    /* Do the verification */
};

...

let userThatPostsSpam = getSpamUser ();
let userThatPostsGoodThings = getGoodUser ();
deleteUser userId::userThatPostsSpam;
verifyValidUser userId::userThatPostsGoodThings;

To both deleteUser and verifyValidUser, the userId is the userId, and the function's purpose usually removes the need to alias the argument to something more specific.
But when calling a function, usually the data more frequently has a name that takes into account the context of the calling function, which is used in many places, passed to many functions and has a name that is specific to how it is used inside the calling function.
Ideally punning would be achieved in both places, but it seems one is more useful than the other.

I suppose that my view is that labeled arguments are largely pointless if there are only a few arguments which are all distinguished by type, and the function's name makes the argument roles clear.  So if things are clear at the call site and the local names don't match, just omit the labels.  It is only if there are many, or multiple arguments of the same type, where the overhead of labels is a win.  In those cases, it is at the call sites where potential confusion is dangerous, and so being a bit more verbose to make the names match is useful.  People who actually like the style of ObjC code probable have a completely different position.

Update: I've discovered a really easy way to implement punning for the current syntax. It doesn't fix all the issues in named arguments, but we can at least add it very easily to the current named arguments syntax right now while we come up with a syntax that is even bette. For now, we can have ::field be a pun for field::field.

The ::punned syntax is now supported in master! It's not the perfect named argument syntax, but it definitely makes the current one more enjoyable.

Fixed in master


timezone in milliseconds

Would it be ok to add a function to get the timezone in milliseconds? Because DateTime is also milliseconds based so why shouldn't the timezone.
https://github.com/date-fns/date-fns/blob/16c529508a323d78f70b91209ebf043f3c09671d/src/_lib/getTimezoneOffsetInMilliseconds/index.ts#L12

I don't think we need a dedicated function for it since it's just Now.getTimezoneOffset <$> Duration.fromDuration.

You will still have minute resolution (rounded to multiples of 60000 milliseconds. JS has much lower resolution available https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now#reduced_time_precision

Do you know of a timezone offset that is not a multiple of 15 minutes? I can't imagine milliseconds precision is actually needed?

There is an example in the comments of the code of the first link.

I'm still not sure if we need it, since you can only get the timezone offset for the current locale at the current time, which wouldn't fall foul of that.
We don't generally deal with timezones at all, purescript-datetime doesn't have a non-UTC representation and has no logic for dealing with timezones, because nobody has the time/energy/inclination to have it deal with the necessary special cases and keep it up to date with tzdata.
I'm not saying we can't add this, just not sure how much value it would have in this library, perhaps would be more useful in js-date since you could use it as date -> offset there?
If we do add it here we may as well update getTimezoneOffset to use the more precise implementation too, since it durations like Minutes can be fractional.

since you can only get the timezone offset for the current locale at the current time, which wouldn't fall foul of that.

I'm also not aware of a 2023 timezone with sub-minute resolution. But that's because i can't be bothered to look into tzdata and keep an eye on it in the future.

We don't generally deal with timezones at all

It's necessary when you want to print the datetime to the user in their local time.

in this library

It shouldn't be a function taking an argument but rather comparing to a freshly constructed Date representing time in current locale.

how much value it would have

I also find it a bit questionable, but i don't really see a downside to it either. I just thought it was cool that other libraries pick up on the higher resolution that the browser provides.


ci/travis: Only run on master

Now we've got GitHub Actions running for PR builds, we don't need to
run Travis PR builds at the same time, so we can save a bit of the
planet by only running the Travis checks on master (which we still
need to do because the Concourse release process triggers on a
successful Travis master build).

Oh, wait, #244 isn't merged yet.


subject alternative names (no vhosting)

I'd like to register a hostname with its FQDN and a more user friendly CNAME in one certificate, no vhosting involved, using DNS challenge. I can request certificates for either the FQDN or the CNAME, but not both. I tried
ServerName CNAME
MDomain CNAME FQDN manual
but this generates two challenges (i.e. two TXT records), not one. As far as I can see, Let's Encrypt challenges only FQDN and fails. In our environment, both _acme-challenge.FQDN and _acme-challenge.CNAME point to a third host that has the sole purpose of collecting ACME-DNS challenges, so both TXT records should be visible for either challenge (this method is known to work with e.g. acme.sh).

Could you given an example, like with example.com what exactly you are trying to do?

Suppose I have a machine "minion123.example.com" and a CNAME "www.example.com" pointing to it:
minion123.example.com     A        <IP_ADDRESS>
www.example.com           CNAME    minion123.example.com

The machine is running a single, non-vhosted webserver, and normally it would be accessed as "https://www.example.com". But I also want "https://minion123.example.com" to work. I do this by requesting a certificate for "www.example.com" with "minion123.example.com" as additional Subject Alternative Name. The corresponding config file for openssl would contain
subjectAltName = DNS:www.example.com, DNS:minion123.example.com
and the certificate would contain
X509v3 Subject Alternative Name:
   DNS:www.example.com, DNS:minion123.example.com

How do I tell mod_md that I want this? I had hoped that
MDomain www.example.com minion123.example.com

would do the trick - even though "minion123" is nowhere else mentioned in the Apache configuration.

If you do not use virtual hosts, you might need to configure MDBaseServer, see https://github.com/icing/mod_md#mdbaseserver
Usually, mod_md does not mess with the base server configuration, only the virtual hosts. That may be the cause here. Otherwise, one can add other DNS names (CNAME or A does not matter) to an MDomain to get a certificate for all of them.
If the problem persists, you'll find a file job.json in the md/stagin/www.example.cm directory which should tell us more what exactly did happen when the module tried to get a certificate.

Sorry, I missed MDBaseServer completely. I added MDBaseServer CNAME to the example in the first comment, but as far as I can tell, the behavior is the same.
md/domains contains only one subdirectory (CNAME), and md.json looks promissing:
{
  "name": "CNAME"
  "domains": [
    "CNAME"
    "FQDN"
  ]
...

The details from job.json (in chronological order) show:
        "detail": "Checking staging area"
        "detail": "Resetting staging area"
        "detail": "Assessing current status"
        "detail": "Contacting ACME server for CNAME at https://acme-staging-v02.api.letsencrypt.org/directory"
        "detail": "Resetting staging for CNAME"
        "detail": "Driving ACME protocol for renewal of CNAME"
        "detail": "Selecting account to use for CNAME"
        "detail": "Creating new ACME account for CNAME"
        "detail": "Creating new order"
        "detail": "Starting challenges for domains"
        "detail": "Setting up challenge 'dns-01' for domain CNAME"
        "detail": "Setting up challenge 'dns-01' for domain FQDN"
        "detail": "Monitoring challenge status for CNAME"
        "detail": "Monitoring challenge status for CNAME: domain authorization for CNAME is valid"
        "detail": "Monitoring challenge status for CNAME: domain authorization for FQDN failed with state 3"
        "detail": "domain authorization for FQDN failed with state 3"
        "detail": "Monitoring challenge status for CNAME"
        "detail": "Checking staging area"
        "detail": "Assessing current status"
        "detail": "Contacting ACME server for CNAME at https://acme-staging-v02.api.letsencrypt.org/directory"
        "detail": "Driving ACME protocol for renewal of CNAME"
        "detail": "Selecting account to use for CNAME"
        "detail": "Loaded order from staging"
        "detail": "Starting challenges for domains"
        "detail": "Starting challenges for domains: unexpected AUTHZ state 3 for domain FQDN"
        "detail": "unexpected AUTHZ state 3 for domain FQDN"
        "detail": "Starting challenges for domains"
        "detail": "Checking staging area"
        "detail": "Assessing current status"
        "detail": "Contacting ACME server for CNAME at https://acme-staging-v02.api.letsencrypt.org/directory"
        "detail": "Driving ACME protocol for renewal of CNAME"
        "detail": "Selecting account to use for CNAME"
        "detail": "Loaded order from staging"
        "detail": "Starting challenges for domains"
        "detail": "Starting challenges for domains: unexpected AUTHZ state 3 for domain FQDN"
        "detail": "unexpected AUTHZ state 3 for domain FQDN"

Two TXT records are created. I am not sure if the second Monitoring challenge status for CNAME should read Monitoring challenge status for FQDN? And once more: Both TXTs are attached to the same object, i.e. requesting TXT of either _acme-challenge.CNAME or _acme-challenge.FQDN would always return both of them.
(BTW: I wrongly assumed, that for one certificate only one challenge is needed, but a little more thinking made me realize, that of course Let's Encrypt needs to check every SAN. When you know it, it's obvious...)

Thanks for the details. This seems to indicate that Let's Encrypt is not happy with the TXTs it sees. AUTHZ state 3 means that the challenge for FQDN was not answered correcty from their point of view.
(The CNAME appears everywhere as the module uses the first DNS name as the name of the whole thing, e.g. the MDomain)
I think you should look and ask around at https://community.letsencrypt.org where there are a many helpful people who have more experience in the DNS challenges than me.

Thanks, I'll try to investigate further. We have used this scenario successfully with acme.sh in our environment, though.

Maybe the order of challenge setup and verification is different with acme.sh. As you see in the logs, mod_md does the setup for all domains and then monitors the status at LE.
The AUTHZ state 3 means invalid. LE only gives this, when it has seen the wrong challenge. If the challenge is missing, it will wait and retry. I am not sure of the CNAME setting could cause LE to find the wrong TXT record when both CNAME and FQDN have challenge TXTs set.

Closed as being stale.


"Mountain" charts

In addition to candles, mountain charts (like the example below @johnwalley made) are a really nice way to look at prices, especially over longer timeframes. It'd be great to have these as an option.

Included as chartType: area. With label Mountain


Newly invited user to org unable to see org details in header

User listed the bug with the following steps:
1. i signed up, created org 1 - x
2. invited my @x user
3. signed in as @x user who was a member of the x org as expected
4. create org button existed top right so i used that to create y org

closing as this is actually expected behaviour as the new user isn't an owner of an org.


The Stream hierarchy is just bad

Someone should redo it correctly.

[x] Error management.#932
[ ] Simple parsing from IStream
[x] Better names. #1153

What are your thought for a simple parsing of Reader ? Should we put all the methods in the class Reader or having an additional dedicated class like the Java class Scanner ?

I'm not sure I understand what you mean by "simple parsing", could you
clarify ?
On 27 Feb 2015 09:33, "Jean Privat"<EMAIL_ADDRESS>wrote:

What are your thought for a simple parsing of Reader ? Should we put all
the methods in the class Reader or having an additional dedicated class
like the Java class Scanner ?
—
Reply to this email directly or view it on GitHub
https://github.com/privat/nit/issues/466#issuecomment-76403107.

Simple fonctions to do manual LL parsing. Is there a number? Then read it,
then try to read a parenthesis, etc. See Scanner in Java or the various
functions of inputstreams in c++.
Le ven. 27 févr. 2015 22:09, Lucas Bajolet<EMAIL_ADDRESS>a
écrit :

I'm not sure I understand what you mean by "simple parsing", could you
clarify ?
On 27 Feb 2015 09:33, "Jean Privat"<EMAIL_ADDRESS>wrote:

What are your thought for a simple parsing of Reader ? Should we put all
the methods in the class Reader or having an additional dedicated class
like the Java class Scanner ?
—
Reply to this email directly or view it on GitHub
https://github.com/privat/nit/issues/466#issuecomment-76403107.

—
Reply to this email directly or view it on GitHub
https://github.com/privat/nit/issues/466#issuecomment-76408617.

Ok, I see then !
Maybe a Scanner is overkill in this case, as much as the Java approach of decorating is valid in terms of software engineering, in terms of usability, it is heavy, I have to say that I'm not a big fan of it.
I vote for putting the methods in Reader !

Since we can subclass Reader, custom behavior can be changed.
But what about already existing libs that use Reader?  In this case, the Scanner can be really usefull...
Maybe going with a default Scanner that can be changed by the client? This way, for standard uses, the use of the Scanner is transparent but advanced users can still manage it?
I'm thinking about something like:
class Reader
    var scanner = new DefaultScanner is writable

    fun parse_word do scanner.parse_word
end


inconsistent behavior with sparse objective function

Here is a minimal (non-) working example:
from cvxpy import *
import numpy as np
import scipy.sparse as sparse

# Here are our QP factors
A = Constant(sparse.eye(4))
c = np.matrix(np.ones(4)).reshape((1,4))

# Here is our optimization variable
x = Variable(4)

# And the QP problem setup
function = quad_form(x, A) - c @ x
objective = Minimize(function)
problem = Problem(objective)

problem.solve()
print(function.value)  # this output is the weirdness under consideration

The expected output is either a scalar or 1x1 matrix with the value of -1. Running the code, I get a 4x4 matrix with -1 along the diagonal and -2 elsewhere. Were I to have instead set A = np.ones(4), the problem does not occur. Leaving A = Constant(sparse.eye(4)) alone, I can also get the desired output by setting function = quad_form(x, A)[0,0] - c @ x. However, while this works when OSQP is the solver, it will segfault when any other solver is used (tested against ECOS, SCS, and CVXOPT).
System info: Python 3.6.6, numpy 1.14.5, scipy 1.1.0, and cvxpy 1.0.6.

Fixed on master.


Collapse unit converters into single page and refresh layout

Problem Statement
Today, we treat each converter type as a high-level navigation item. This means that if you want to switch between volume and weight converters, you need to navigate to an entirely different page. While we do offer shortcuts to switch between modes, they are not very discoverable (#157), and parsing a mixed list of calculators and converters is unnecessarily more complex than it needs to be. Furthermore, the converter page interface is laid out differently than other calculator modes and feedback suggests that the interface could be made more intuitive.

Evidence or User Insights
We currently have a flat navigation structure. According to app navigation guidance, this structure is appropriate when there are less than 8 pages in the group. We already have 13 converters, and #515 is looking at evaluating which converters and units we include, and suggests we may actually be missing some converter types (increase to 17). In this case, hierarchical or an alternative navigation would be preferred.
Some other UX issues have been identified as well. It is unclear how to quickly switch units (#172 and #266). There is some additional conversation in #382 and #379 as well.
Proposal
Collapse converters into a single "Converter" page where you can select the type of conversion in addition to the units. There may be an opportunity to streamline input even further with #589 to allow users to input any unit they like without having to explicitly select a converter type first.
Goals

Collapse top-level converter navigation into a single Converter (open question: does currency converter feel different enough to remain separate?)
Redesign page layout for greater consistency with other calculator modes
Redesign value input to align with other converter patterns (e.g., found in translation apps)

Non-Goals

Determining which converters/units to include is out-of-scope (covered by #515)

Low-Fidelity Concept

Bing Translator/Converter UX (for inspiration)

Requested Assignment
I'm just suggesting this idea.  I don't want to implement it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

/cc @grochocki @sanderl @rudyhuyn We may have a lot of conversion units in the future, as requested in #515. But many of the proposed units are merely prefixes to the already existing units. For example metre is a unit for measuring length. But milli, kilo, centi etc. are just the prefixes, which when applied, change the scale of measurement.
In this regard, we can keep the units in a drop down list as we do currently, and we can create a slider on the side so that the user can adjust the scale as per his choice. The slider can be like the one that we currently use in the graphing calculator for selecting the values of constants in an expression. After this the conversion should take place accordingly.
Through this, we can avoid the congestion that we may have when we have a lot of units to deal with. Moreover, it will become very clear for the user to differentiate between units and scale of measurement. And thus, we will not have to keep centimetre, millimetre and kilometre in the same drop-down list.
I know that it would have been more relevant if I had posted this in #515, but since the UI/UX for the Unit Converters is being altered drastically, this makes more sense here.
I would like to hear from you on this proposal.


App keep Crashing...

Every time I open the app, it crashes immediately.
I have attempted to install it using different versions (.exe and .msi). Initially, when I installed it with the .msi file, the application run without any issues. However, after I restarted my computer, it started crashing again....

yes it s immediately after i open it , im using Windows 10 21H1.


adding alt arches: aarch, arm, ppc

need this for satpy,
nothing provides python-geotiepoints >=1.1.1 needed by pyspectral-0.10.0-pyh9f0ad1d_0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Looks like they're all passing, @djhoese please review and merge when you get a chance, thanks!

Thanks!


Windows Setup Guide For Dummies

This guide provides a step-by-step walkthrough for setting up a GP2040-CE development environment on a Windows machine. It covers everything from software installations to environment configurations, making use of the Raspberry Pi Pico SDK installer to simplify the process. Ideal for beginners, the guide aims to make your setup experience as straightforward as possible.

I believe the title should be reworded in a more professional manner if kept at all. It's a bit demeaning and seems out of place in documentation.
I also think there needs to be a decision on whether this should replace the existing instructions for Windows set up. Having it be an addition seems unnecessarily confusing, especially when you have the Linux instructions in between.

I'll update the title. As for organizing the instructions, it might be best to create separate pages for Windows, Linux, and Mac development. This allows for easier, independent updates for each platform. I can then revamp the Windows page to make it more accessible for beginners.

I believe the title should be reworded in a more professional manner if kept at all. It's a bit demeaning and seems out of place in documentation.
I also think there needs to be a decision on whether this should replace the existing instructions for Windows set up. Having it be an addition seems unnecessarily confusing, especially when you have the Linux instructions in between.

On the topic of replacing the existing one, that one could be still kept as a full manual setup. It might give some troubleshooting insights or would be good for users who already have certain components installed and just want to get the SDK and whatnot. Perhaps call it, With Installer and Without Installer (Manual Setup).

Sounds like a plan. Still, I think that splitting the page into multiple OS pages could make it clearer and easier to understand overall. You could visit the setup page, select your operating system, and avoid getting lost among unfamiliar OS. I can make two versions for you to choose from: one with separate pages and one with everything remaining as it is now but with the addition of "With Installer and Without Installer (Manual Setup)".

I tried the three-page approach, but it didn't turn out well. I've consolidated everything onto one page with all the methods.


How to move an object along a path?

thanks for his lib. it's great in what it does.
I'd like to leave a line in place for a while once drawn and move an object along it. I think I can do this pretty easy if I can get the path back from this library for a line created. Any advice?

Hi @SuddenDevelopment, thank you for the comment.
Sorry, my English is poor.
Do you mean that you want how to use motion path animation of SVG?
Or, do you mean that you want to get path data from drawn leader line?

when I draw a leader line with this library (which is very nice and easy to use) I want to be able to animate move an object like a div or an icon along that path. from source to destination.

yes, that's exactly what I want. and I can do that in svg.js but I need to give it a path. I want to give it the path from a created leaderline and I dont see any properties for that. Can you please tell me how to get a svg path for a created leaderline? thanks.

Try this:
// After the line was created
document.querySelector('.leader-line .leader-line-line-path').getAttribute('d')

Note that it is not supported.

thanks, by the way. I have one some pretty fun stuff with this already. look forward to sharing it with you.

I have multiple lines on the same page, from what I can tell there's no way to get a unique query for a line. I dont think it passes back an id, I cant pass in an ID, or a class or something to uniquely identify and track it. I'm still looking

nevermind, I found it sorry for all the commentary. I'll post a gist on how to do it:
leader-line-2-line-path

for anyone looking for this same thing... when you create a line it returns an object with an "_id" property. You can use that to find the path and pass it to svg for other things.
document.getElementById('leader-line-'+intIdFromLine._id+'-line-path').getAttribute('d');


External gtest && gmock independent of the environment

Due to this change you will not need copy-pasting gtest library manually. It is enought to perform only below commands:
mkdir build
cd build/
cmake ..
make
./GildenRose

Many thanks!


Latest build of 4.1.0 is not displaying additional elements menu buttons

Checklist:

[✔] I updated to the latest version available
[✔] I cleared the cache of my browser

Release with the issue:
Latest build of 4.1.0
Last working release (if known):
The previous build (yesterdays)
Browser and Operating System:
Edge / macOS

Description of problem:
Since deploying the latest build of 4.1.0, I no longer have the additional elements menu buttons showing up.

Javascript errors shown in the web inspector (if applicable):
N/A

Additional information:
type: custom:frigate-card
cameras:
  - live_provider: webrtc-card
    frigate:
      camera_name: frontdoor
    camera_entity: camera.frontdoor
    webrtc_card:
      url: rtsp://<IP_ADDRESS>:8554/frontdoor?video=all&audio=all
      ui: false
      muted: true
view:
  default: live
  camera_select: live
dimensions:
  aspect_ratio_mode: static
  aspect_ratio: '4:3'
live:
  controls:
    thumbnails:
      mode: none
      media: clips
    title:
      mode: none
    next_previous:
      style: none
    timeline:
      mode: none
  show_image_during_load: true
  lazy_unload: hidden
  draggable: false
  auto_unmute: never
media_viewer:
  controls:
    title:
      mode: none
    thumbnails:
      mode: none
      show_timeline_control: false
    next_previous:
      style: chevrons
  auto_unmute: all
  transition_effect: slide
  auto_mute: hidden
  draggable: false
menu:
  buttons:
    frigate:
      enabled: false
    live:
      enabled: true
    clips:
      enabled: true
    snapshots:
      enabled: false
    download:
      enabled: true
    fullscreen:
      enabled: false
    timeline:
      enabled: false
    media_player:
      enabled: false
    image:
      enabled: false
    camera_ui:
      enabled: false
    cameras:
      enabled: false
    recordings:
      enabled: false
  style: overlay
  position: right
elements:
  - type: custom:frigate-card-menu-icon
    icon: mdi:fullscreen
    tap_action:
      action: fire-dom-event
      browser_mod:
        service: browser_mod.popup
        data:
          size: wide
          content:
            aspect_ratio: 55%
            type: custom:webrtc-camera
            url: rtsp://<IP_ADDRESS>:8554/frontdoor?video=all&audio=all
            mode: webrtc
            muted: true
  - type: custom:frigate-card-conditional
    conditions:
      view:
        - live
    elements:
      - type: custom:frigate-card-menu-submenu
        priority: 0
        icon: mdi:package-variant
        items:
          - title: Package at Door
            icon: mdi:door
            tap_action:
              action: call-service
              service: shell_command.doorbelltts
          - title: Package in Bin
            icon: mdi:trash-can-outline
            service: shell_command.doorbellttsrecycling
            tap_action:
              action: call-service
              service: shell_command.doorbellttsrecycling
media_gallery:
  controls:
    thumbnails:
      show_details: false
      show_favorite_control: true
      show_timeline_control: false
performance:
  profile: high

Fixed. Thanks for the report @conorlap .


Error when use finder

Description
Happens when I update lspsaga, change back commit to 1 August is fine.
Expected Behavior

Work like normal
Actual Behavior

Got error when use it.

Neovim Built in Behavior

Environment

nvim --version output:  VIM v0.8.0-dev+597-g5c3bbb67e
Operating system: macOS 12.4 (21F79)
lspsaga commit: db9b4adcc14ed42ba8c912bf91e57a1af89cd866

@dinhmai74  I can't reproduce

check #408


Disable descriptive errors

Summary
I did not find a way to fix this using the current version so is a feature suggestion.
The Kong API returns detailed internal error messages in several cases. These messages reveal implementation details, that provide hackers important clues on how the application functions and ease the discovery of potential flaws.
Example:
https://imgur.com/xvpBeAf

The provided example is an excellent error message imo. We should not leave consumers guessing why their request is failing.
What are your security concerns around telling the user how to authenticate correctly? They still wouldn't have the HMAC secret etc

@mheap I agree and in fact, is a very good message. But my point is having the option to enable/disable these kinds of messages. Why not?
Sometimes you can find a use case where you will have desktop/mobile/etc apps running on people's devices where the app communicates with a Kong server doing the auth, for example. A bad actor can try to bypass the application and the communication with the server and these kinds of messages will help him.

If this is an optional feature (off by default) then I'd give it a 👍

Dear contributor,
We're closing this issue as there hasn't been any update to it for a long time. If the issue is still relevant in the latest version, please feel free to reopen it. We're more than happy to revisit it again.
Please have a look at our pledge to the community for more information.
Sincerely,
Kong Gateway Team


katex types seemingly not cacheable

I've tried using this lib in both a plain Deno script and in a Deno Fresh project. In every run / watch-triggered reload, I see the following re-download: https://esm.sh/v113/<EMAIL_ADDRESS>6.0/dist/katex.mjs~.d.ts. Life could be worse... it takes barely 5 seconds. Still, would be good to look into this dep / enabling its caching.

@hashrock can you reproduce? I am unable to. I think https://github.com/denoland/deno/pull/19392 fixed this.

I think this can be closed. I ran into this a couple of times with older deno versions but I don't see this anymore since https://github.com/denoland/deno/pull/19392 landed.


Issue #1768 - allow spacing for [ when following '::' operator.

This allows '[' to be preceded by whitespace and still get recognized when following the '::' operator.
In other words,
Array:: ['isArray']

will now compile as expected (though I'm not sure I would have expected this!)
I didn't write a test, as I don't know how to do tests for coffeescript.  If you want me to write a test, I can try but I may need some help getting started.

This is more related to #1601 at this point, and I'm still uncertain where we stand on that issue.
a:: [b] is either a.prototype[b] or a.prototype([b]). I believe it should be the former because I think #1601 decided to disallow postfix unary :: in favour of allowing spaced binary :: which would behave analogously to dotted member access.

Hi guys, I was just trying to show where in the code the change would need to be made to support this feature, in case it saves anyone any time.  I had a few minutes to spare and thought it might be helpful.  If it isn't, don't feel bad about ignoring this.  Also if doing this via pull requests is the wrong way to do it, let me know and I'll do it a different way - or if you just want me to mind my own business that works too.

This is definitely going to need tests. It really shouldn't be hard to figure out. Just open up /test/operators.coffee and follow the same pattern as all the others. ok tests for truthiness, eq tests for strict equality, and arrayEq recursively tests that values in an array are functionally equivalent.


Cookie Monster Beta 2.002

I updated the code for the multiplicative egg part.

Well thanks for the heads up Version 2.002 Beta of CC is up.  I'll take a look at your code, but it should be merge into the beta branch.  Master is for live version of CC.

Okay, I think I did it correctly now. I'm rather new to this Github business!

It's okay =).  I took a quick look.  Thanks for finding the changes.  I guess this merge should be closed for the other merge?

Yep!


upkeep: add unit tests for create_interactive_report

This is going to be a lot of work lol.
Relates to #30

Agreed :) But up for it. Do we have a good instance of test data?

Nope! 😂
but we're working on it: https://rmi.monday.com/boards/6443948696/pulses/6456608194


Dimension Gant Diagramm

Hi I am trying to build a Gantt chart with mermaid in R with this code
mermaid("
gantt
dateFormat  YYYY-MM-DD
title Gantt Diagram
    section Extremely long name
    Extremely long name                 :done,              2016-01-01, 2016-01-05
    Extremely long name                 :done,              2016-01-01, 2016-01-05
    Extremely long name                 :done,              2016-01-01, 2016-01-05
    Extremely long name                 :done,              2016-01-01, 2016-01-05
    Extremely long name                 :                   2016-01-06, 2016-03-05
    Extremely long name                 :                   2016-02-15, 2016-04-30
    Extremely long name                 :                   2016-03-20, 2016-04-30

    section Extremely long name hgalfhdgsa
    A                             :              2016-01-01, 2016-04-30
    B                             :              2016-01-01, 2016-01-10

    section Extremely long name hahjah
    A                             :              2016-01-01, 2016-04-30
    B                             :              2016-01-01, 2016-01-10

    section Extremely long namehsihsishd
    A                             :              2016-01-01, 2016-04-30
    B                             :              2016-01-01, 2016-01-10

    section Extremely long name ijhidhidh
    A                             :              2016-01-01, 2016-04-30
    B                             :              2016-01-01, 2016-01-10

    ")

obtaining a very messy chart
I have two main problems:

how can I modify the size of the graph in order to fit the text?
can I remove the today's line?

today's line can be removed through setting the css:
.today { fill: none; stroke: red; stroke-width: 0px;}

instead of
.today { fill: none; stroke: red; stroke-width: 2px;}

Given how long ago this issue's activity died out, I'm closing it.
This allows us to maintain a fresh list of issues the community is interested in.


Treat clippy's warning as errors

    # Change this line in .github/workflows/lint.yml
    cargo clippy
    # as below
    cargo clippy -- -D warnings

can you assign me this issue @kyu08 ?


Error Uploading larger files with UppyJs Tus client

First, thanks for this great package 🙏
Describe the bug
the issue is that the uploading's not working with larger files (tried 500MB and 1GB video files) and after the upload is completed, it starts again, without logging trace in the backend.
Network screenshot

The network requests show that its a CORS but it works fine with small files (ex: 50MB)
Expected behavior
Should work same as with small files
Used code
// TusServiceProvider
public function register()
    {
        $this->app->singleton('tus-server', function () {
            $server = $this->tusServer;
            $server->setApiPath('/tus')
                ->setMaxUploadSize(6000000000) // 100 MB in bytes
                ->setUploadDir(storage_path('app/public/videos'));
            return $server;
        });
    }

// route
Route::any('/tus/{any?}', function (Request $request, $any = null) {
    return app('tus-server')->serve();

})->where('any', '.*')
    ->name('tus-server');

// uppy tus client config
.use(Tus, {
                    endpoint: 'another-server.test/tus',
                    autoRetry: true,
                    resume: true,
                    retryDelays: [0, 1000, 3000, 5000],
                    removeFingerprintOnSuccess: true,
})

Additional context
I'm using:
PHP version: 8.0.5
Local Dev: Homestead
Framework: Laravel 8
"ankitpokhrel/tus-php": "^2.1",

This is fixed by Adding chunkSize to the Uppyjs client since the backend server is not configured to receive big parts of request body chunks


Implement replication of BCRHP data to Data BC

Need to replace the current replication process of the BCRHP data from HRIA with a new process from Arches
Some issues/questions that have come up in the implementation:

[x] How to choose authority record - Max authority (Prov > Muncipal > Federal?), order by date desc? Look at DcRu-234 for comment - Can we include all separate by comma or only pick one? This would be same logic for CRHP submission if we have to pick one, so Prov-Mun-Fed. EJB - There is a government name and startdate associated with this value in different columns There would only be an implicit link if we made all of them ";" separated values. Okay let's make highest level then, same as CRHP export. EJB - For sittes that have 2 at the highest level, should we pick the one with the most recent date? EJB: YES
[x] What is address_heritageexportedtofed? In HRIA we can indicate which address to send to fed, this is under the legal description table, field called 'heritage export to fed', maybe this is that field EJB BF - We don't have that in Arches. Do we need it? I want to say no because to select one address for a multi-address site wouldn't be accurate and I think that HRIA column wouldn't make sense for the way we have cleaned up that legal address/civic address data. Did we figure out this logic for the CRHP xml or no? EJB - BF: Removed
[x] What to do with multiple parcel IDs and/or addresses? (DcRu-234) This one probably generated by address validation. This has multiple addresses in HRIA. Can we include all seperated by comma? What was our process handling this for CRHP export? EJB - We are just picking the first address. Whatever we choose to do we should probably do the same in both places as you're suggesting. EJB: YES FIRST ADDRESS IS FINE
[x] Authority->Government Name null values? In the past it was our process to only include Gov name in the highest authority in the table in HRIA but it is our intent to fix all Government name null values in Arches EJB We could populate the Provincial records with Government of British Columbia on import if desired. If so, please turn this point into a new issue and I can update the HRIA ETL process EJB: NOT WORTH THE EFFORT, THERE WOULD BE A SMALL NUMBER OF PROVINCIAL MISSING IT, CAN DO IT MANUALLY
[x] DcRu-234 - export to CRHP different - showing 'Y' in HRIA but no record in the export list generated by Emerald - This record does not have a CRHP table or the required fields so this must be inaccurate. Maybe this is pulling from field mentioned above 'heritage export to fed' in legal description table. This record has a Y beside 138-140 gov street- EJB - OK, seems like what we're exporting is more correct so marking this point as resolved.
[x] Do we want to replace the DOCUMENTKEY with anything? No idea what this is, do you have example record? EJB The DOCUMENTKEY is a link to a digital object in HRIA. I'm not quite sure why it would have been exposed in the first place. Agree let's remove.
[x] Do we need to expose the geometry attributes (UTM info, area, boundry length, etc)? We are using UTM instead of lat and long right? I would say yes EJB No, we're using Lat/Long in Arches. Added UTM fields
[x] Remove mapsheet number / scale columns No the mapsheet numbers aren't coming into Arches, it will be in Legacy HRIA Data RM in the future so please remove those. EJB
[x] We are currently not downloading TENURERESERVES_JURISDICTION data into Arches (column near the end of the current view). Should we be? No, majority of this info is automatically generated in HRIA and can be found elsewhere. Any manually entered comments in this section in HRIA will be preserved in the LEgacy HRIA data info, no need to export for this sheet EJB
[x] We have merged the street number and street name in Arches. Would you like to do the same for the view or do we need to separate them? Keep them merged EJB Column name is "street_address"
[x] Can we add a link pointing people to Arches? Either general website or record specific site? I guess this can't be done until after we go public but wondering if its worthwhile adding a placeholder for this now? - I've hard coded what the PROD resource link will be for now. At some point we should create a ticket to allow these values to be instance-specific. I'd like to think about what the best way is to do that though so lets create a ticket for after MVP for that? EJB: DONE TICKET #777
[x] Currently the list of sites is limited to those with Registration Status = 'Registered', 'Legacy', 'Federal Jurisdiction'. We now have a "Restricted" field. Should we use that along with BCRHP Status ('Approved - Basic Record' or 'Approved - Full Record') - to filter the sites instead?  AND YES WITH THE APPROVED BASIC/FULL
[x] Should we standardize the column naming conventions? Some multi-word columns have underscores (eg government_name) and some don't (eg governmentlevel) EJB: YES BF: Taken a first cut for feedback.
[x] Should we change "ishistoricsite" to "is_officially_recognised"? EJB: YES

So far we have the following. I will update as we progress:

column_name
datatype
nullable
default
storage
description

resourceinstanceid
uuid

plain

borden_number
text

extended

ishistoricsite
text

extended

registrationstatus
text

extended

commono_name
text

extended

other_name
text

extended

parcelid
text

extended

street_address
text

extended

city
text

extended

locality
text

extended

province
text

extended

address_heritageexportedtofed
text

extended

government_name
text

extended

governmentlevel
text

extended

startdate
text

extended

date_fromdate
text

extended

date_fromqualifier
text

extended

date_histdatetype
text

extended

is_accepted_by_feds
text

extended

architect_name
text

extended

builder_name
text

extended

current_function
text

extended

historic_function
text

extended

dimensions_area
double precision

plain

gislatitude
double precision

plain

gislongitude
double precision

plain

utmzone
integer

plain

utmnorthing
double precision

plain

utmeasting
double precision

plain

tenurereserves_jursidanddesc
text

extended

@emjohnst - Updated the table definition in my comment above and added a comment to the unchecked task in your last comment.

@bferguso reviewed the data exposed view and have a couple questions/edits, some of these may just be data issues:

[ ] Please remove Legacy sites from view and add Recorded/Unprotected sites
[ ] Some sites are appearing twice (DeSf-13; DdSe-25) is this because of two common names in Arches/HRIA?
[ ] There seem to be a lot of missing cities, particularly for registered sites with civic addresses there should be a city (310 records)
[ ] Seem to be a lot of missing PIDs, even for places with civic addresses
[ ] Province is blank for most records 5590 - in the data migration from HRIA to Arches can we add Province automatically? Then the spreadsheet would be resolved?

For point 1 above:

I believe this filter is done on the DataBC side, I'm not sure we need to do it in our views.
I'm currently filtering records by:

BCRHP Submission Status in: ('Approved - Basic Record','Approved - Full Record')
Registration Status in ('Federal Jurisdiction', 'Legacy', 'Registered')

Current data maximum column lengths.


Remaining Cadence launch APIs

These are the remaining messages and methods we'll need for the first Cadence release:
Admin Operations:

[x] DescribeTaskList:
@johncburns1: This one looks pretty straightforward: you'll just call Client.DescribeTaskList() passing the parameters from the request message.  I've simplified the results to just include a list of the PollerInfo as a JSON array (we can add the other details later).

[x] CadenceClient.DescribeTaskListAsync()

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[x] All tests pass

[x] DescribeWorkflowExecution:
@johncburns1: You'll need to call Client.DescribeWorkflowExecution() and I designed the InternalDescribeExecutionWorkflowResponse class such that you can (hopefully) simply serialize the GOLANG DescribeWorkflowExecutionResponse to JSON and send it back to me.

[x] CadenceClient.DescribeWorkflowAsync()

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[x] All tests pass

[x] ListDomains:
@johncburns1: I implemented new DomainListRequest and DomainListReply messages on the .NET side, you'll need to do the same in GOLANG.  One wrinkle is that it looks like the GOLANG API returns pages of results,  The Thrift reply definition looks like:
struct ListDomainsResponse {
  10: optional list<DescribeDomainResponse> domains
  20: optional binary nextPageToken
}

I'm assuming that when I pass DomainListRequest.NextPageToken=NULL that Cadence will return the first page of results and that when Cadence returns DomainListReply.NextPageToken=NULL that we've reached the end of the results.

[x] CadenceClient.ListDomainsAsync()

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[x] All tests pass

Workflow Queue Operations:
@johncburns1: The basic idea here is that cadence-proxy will need to maintain a (per workflow) table mapping a long queueId to buffered Cadence channels.  The .NET side will assign these IDs starting at 1 like we're doing for other things like child workflows and activities.  We'll define a request/reply message for each of the operations listed below.

[x] WorkflowQueue<T> Workflow.NewQueue<T>()
@johncburns1: I've implemented the WorkflowQueueNewRequest/Reply messages for this.  You'll need to create a buffered Cadence queue and use the queue ID to add this to the workflow's queue table.  I'll also pass the Capacity property with the size of the buffer.  Note that Capacity will never be less than 2.
Note that the queue data type will be an byte array (containing encoded application data).

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[x] All tests pass

[x] Task WorkflowQueue.EnqueueAsync(T, TimeSpan)
@johncburns1: I've implemented the WorkflowQueueWriteRequest/Reply messages for this.  The request will include the queue ID and the data byte array.  You'll simply send the data to the queue assigned to that ID.

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[x] All tests pass

[x] Task<bool> WorkflowQueue.TryEnqueueAsync(T, TimeSpan)
@johncburns1: This is a new method.  It doesn't block when the queue is full like EnqueueAsync() does.  Instead it returns true if the item was written or false if the queue is full and the item was not written.  I've added the WorkflowQueueWriteRequest.NoBlock property to specify this mode to cadence-proxy.  NoBlock=true will be passed to enable this mode.  It looks like you can implement non-blocking writes in GOLANG like this:
select {
    case channel <- message
        return true;
    default:
        return false;
}

This snippet returns true if the message was sent or false if the channel was full and the message was not sent.  I've also added the WorkflowQueueWriteReply.IsFull property so that the .NET side will know what happened.

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[ ] All tests pass: The unit test fails.  We'll track this as #713

[x] Task<T> WorkflowQueue.DequeueAsync(TimeSpan)
@johncburns1: I've implemented the WorkflowQueueReadRequest/Reply messages for this.  The request will include the queue ID as well as a timeout duration (long/nanoseconds).  Timeout>0 indicates that you'll need to implement a timeout scheme using another temporary channel.  Timeout<=0 indicates that there's no timeout.  The reply will include the byte data retrieved or a NULL when the operation timed out.
Also, cadence-proxy should return Data=NULL and IsClosed=true when the queue is closed.

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[x] All tests pass

[x] Task WorkflowQueue.CloseAsync()
@johncburns1: I've implemented the WorkflowQueueCloseRequest/Reply messages for this.  You'll get the channel for the queue ID and call close(channel) on it.

[x] @jefflill: .NET message implementation
[x] @jefflill: .NET message unit test implemented
[x] @jefflill: API implemention
[x] @johncburns1: GOLANG implementation
[x] @jefflill: .NET end-to-end test implemented
[x] All tests pass

Required Tweaks:
I added a boolean IsClosed property to the WorkflowQueueWriteReply message.

All of these APIs are coded and are passing unit tests except for one that we're tracking here: #713.


Add API to get SQL Database by ID w/o getting SQL Server first.

In Azure portal, I can get an ID of my SQL Database, which looks like below:

/subscriptions/{my-subscription-id-here}/resourceGroups/{My-Resource-Group-here}/providers/Microsoft.Sql/servers/{my-sql-server-here}/databases/{my-sql-database-here}

Using Azure Management Libraries for .NET (aka Fluent API) I want to get my Azure SQL Database directly by its ID without getting Azure SQL Server first. Just like I can by using REST API.
  var credentials = SdkContext.AzureCredentialsFactory.FromServicePrincipal(clientId, clientSecret, tenantId, AzureEnvironment.AzureGlobalCloud);

  var azure = Azure
    .Configure()
    .WithLogLevel(HttpLoggingDelegatingHandler.Level.Basic)
    .Authenticate(credentials)
    .WithSubscription(subscriptionId);

  var database = azure.SqlServers.Databases.GetById("Sql-Database-Id-Here");

If the above solution doesn't look good, then maybe you can extend the IDatabases interface with GetById method:
  var sqlServer = azure.SqlServers.GetById("Sql-Server-Id-Here");
  var database = sqlServer.Databases.GetById("Sql-Database-Id-Here");

@milismsft related to the long discussion we've had (for over a year) regarding direct access to children without going through the parent...

This issue was moved to Azure/azure-libraries-for-java#7

@hovsepm What's about .NET lib?

As far as I can see it, in v1.11.1 (package Microsoft.Azure.Management.Fluent) I can do it like this:
var creds = new AzureCredentialsFactory().FromServicePrincipal(client, key, tenant, AzureEnvironment.AzureGlobalCloud);
var azure = Azure.Authenticate(creds).WithSubscription(subscriptionId);

var sqlDatabase = azure.SqlServers.Databases.GetById("/subscriptions/60987f15-2c3c-4659-aa1b-c4e87ecb8a19/resourceGroups/OBU/providers/Microsoft.Sql/servers/obu/databases/test");

OR
var creds = new AzureCredentialsFactory().FromServicePrincipal(client, key, tenant, AzureEnvironment.AzureGlobalCloud);
var azure = Azure.Authenticate(creds).WithSubscription(subscriptionId);

var sqlDatabase = sqlServer.Databases.GetById("/subscriptions/60987f15-2c3c-4659-aa1b-c4e87ecb8a19/resourceGroups/OBU/providers/Microsoft.Sql/servers/obu/databases/test");

I have similar issue, while I want to get a Sync Group, I need to do like this:

Auth
Get a SQL Server
Get a SQL Database
Get a Sync Group

I reckon it is cumbersome as it will issue multiple calls, and the whole process takes 3-7 seconds, technically speaking we can straightaway get a Sync Group, right? So it would be way faster.


Custom icon for config file in vscode-icons

Hey!
How about someone (who isn't horrible at drawing things, like myself) create a customized icon for the config files: .simple-git-hooks.cjs, .simple-git-hooks.js, simple-git-hooks.cjs, simple-git-hooks.js, .simple-git-hooks.json or simple-git-hooks.json?
Then it would be used with the amazing vscode-icons extension.
It's not a big deal, and it doesn't add any kind of new functionality, but it looks really nice! This is what I mean - below is a project of mine, and my vscode has vscode-icons installed:

.simple-git-hooks.json is the only file without a custom icon, it's showing the default JSON icon.
I thought about just opening a PR there and adding the files to use the default git icon but I think it should be different. Like the same icon with a little hook added to the lower right corner, maybe?
Like I said, I have zero talent for this kind of thing, but if anyone out there is willing to give it a shot... Here are the guidelines for creating an icon for the extension.
Thanks!

Whoa, this is nice idea! I can create an icon :) and will try to upload it


HomeKit Automation, trigger when home/away changed

Hi
Love the plugin, it's exposed a lot for me in my Home which I can use. I'm trying to figure one thing out which is the Home/Away setup.
I have the subscription for AutoAssist and have my home set to "Auto" to change when the devices have entered or left the geofence. I've used the presence feature in the plugin but it just shows both Home and Away as Off and only change if it is manual.
I can see in the API that the presence is listed  but just wondering if it's possible to have it as a triggerable switch so I can control other devices in my home when Tado senses I'm away.
The reason I'm going for the Tado implementation of geofencing is that it allows me to set a wider area.
Thanks

I use the presence part of the plug-in to display an occupancy sensor. You can set up automations in the Home app based on when the occupancy sensor changes from detecting someone or not.
                    "presence": {
                        "anyone": true,
                        "accTypeAnyone": "OCCUPANCY",

I use the presence part of the plug-in to display an occupancy sensor. You can set up automations in the Home app based on when the occupancy sensor changes from detecting someone or not.
                    "presence": {
                        "anyone": true,
                        "accTypeAnyone": "OCCUPANCY",

Ok so if all devices with the Tado app leave the Geo zone the Anyone occupancy will be false. When we come back in the geofence the state will change to true?

Yes. In case there are more people in the tado app, the occupancy for all people will be false is everyone is away, and true if anyone is at home. Exactly like the Home/Away mode in tado.

Greta thanks for the clarification. I’ve just tested it out and it worked perfectly.


Some fuctions doesn't work on new's Mozilla update

Like b.d('flex'), I had to put it explicit b.display('flex') to make it works. Not sure if this is happening with another abbreviations.

Unfortunately safari exposes the svg d css property on documentElement where bss looks up property names, which overrides the display shorthand.
To solve it you can create a specific d helper like this at the start in your project:
b.helper('d', x => b.display(x))

Got it, thank you


Panick on start since last wgpu update

I have just updated my project with cargo update, it compiles but I know get this error on start :
onagre on  main [$!?] is 📦 v0.1.0 via ⚙ v1.57.0-nightly
❯ ./target/release/onagre
[2021-10-14T10:03:38Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_shader_module
      note: label = `iced_wgpu::triangle::blit_shader`
    Global variable [1] 'positions' is invalid
    Type isn't compatible with the storage class

', /home/okno/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.11.0/src/backend/direct.rs:2195:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Am I missing something ?

The blit shader needs to add var<private> on the two arrays of constants in that shader. This should fix the issue. @oknozor would you like to make a PR?

@m4b done, I can confirm this no longer panics.


Fix healer item highlights and call corrections

Add mapping between horn of glory calls and healer item ids.
Add exceptions to call correction for player calls vs horn of glory calls.

Fixes issue #6

Should only be different for healer calls
This map has mappings between player calls and horn of glory calls:
https://github.com/SkylerPIlot/Ba-Minigame/blob/master/src/main/java/begosrs/barbarianassault/Role.java#L86-L100


Use the template plugin and avoid the need for local sudo

This PR, heavily tested, brings multiple advantages

Avoid having to use a tmp file to resolve the template

this should also have avoided issue https://github.com/cloudera/cloudera-playbook/issues/20

No need to run a task locally (thus no more delegate_to tasks .. run with with become/sudo)

this allows running the deployment from a non root (resp sudo) shell, as is usually the case when running from your personal pc/mac

less code :)

Thanks for considering @roczei

Looks good @lhoss, thanks for the contribution


rmacroRDM R package

[ Project Lead ] @annakrystalli
[ GitHub Repo ] https://github.com/annakrystalli/rmacroRDM
[ Track ] Tools: you are building a tool others can help you build
[ Level ] Intermediate
Description
The rmacroRDM R package contains functions to help with the compilation of macroecological datasets. It compiles datasets into a master database of individual observations and checks, separates and stores taxonomic and metadata information on observations, variables and datasets. It therefore aims to ensure full traceability of data points and robust quality control, all the way through to extracted analytical datasets.

Want to Contribute?
Join us at the Global Sprint June 2-3. Leave a comment in this issue to let the project lead know you're interested in contributing during #mozsprint 2016!

Note to the Project Lead
Congrats, @annakrystalli! This is your official project listing for the Mozilla Science Global Sprint 2016. To confirm your submission, please complete the following:

[x] Provide a GitHub repository for work and discussion on your project
[ ] Confirm in a comment that at least one person will be available to review and answer questions on this project from 9-5 in their timezone on both June 2 & 3.

Do you want to become a featured project? :tada:
Here are some exercises that will help your project be more inviting to new contributors. We hope you'll try to complete some of these as you prepare for #mozsprint.
If you complete all the exercises, your project will be eligible to be featured in our collection of open source science projects! Once you've finished this list, contact @acabunoc to submit your project for review.

[ ] README.md:
[ ] LICENSE:
[ ] CONTRIBUTING.md:
[ ] Roadmap or an Issue Tracker (with tasks to complete):
[ ] Data Reuse Plan (if applicable):
[ ] Code of Conduct:
[ ] Personas:

@acabunoc Hey Abby! I've updated the repo with the (applicable) checklist of documents. Will be tidying up some more but it's all there for now :)
Also I can confirm I'll be available 9-5 UK time for the Global Sprint!

Amazing @annakrystalli!
Feel free to update this issue with links to the docs & to check off items :)


Remove dependency on formattable string

Remove dependency on formattable string.
That way, it can be backported to .NET 4.0 - for ReportServer usage.

Did you really plan to submit a PR deleting more than 100 files and massively changing the project?
If you small changes will make your life with ReportServer easier, I'm happy to consider them. If so, please start over with a fresh PR. This PR will not be merged.

No, I actually submitted a pull request on 1 file.
Apparently, it then just takes the latest commit.

Making another copy and resubmit later.

OK great, thank you.
Also many thanks for the SwissQRBill.NET project, it's nice !
I'll probably move my alterations to another repo.


Metal Line Pattern Shader

@alexcristici can you check if this one is working.  I saw it was merged into main.

Line pattern shader was implemented in this PR https://github.com/maplibre/maplibre-native/pull/1669. I create a style with line patters: https://api.maptiler.com/maps/2f4c4899-e695-4c8b-a4ef-92fa9d2740ff/style.json?key=G4MQXsYbLiUxOu3SV4lh and seems to work correctly.

Thanks!


KEP-2170: Add unit and E2E tests for model and dataset initializers

What you would like to be added?
We should add the unit tests and e2e tests for dataset and model initializers after this PR: https://github.com/kubeflow/training-operator/pull/2303
Love this feature?
Give it a 👍 We prioritize the features with most 👍

Hi, could I take this one?

Hi, could I take this one?

Feel free to take this issue with /assign comment.

/assign


Issue with kafka cluster with spaces in their name

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running main-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
When using the version v1.0.0 with a cluster that has a name with spaces in it ==> no issue.

Since we wanted to have this fix (as we use a lot filters), we switched to the latest-to-date main version.
However the UI does not work anymore.
The UI runs but we don't have anymore content in brokers/topic/consumers/ACL panels. It remains all empty.

I found no logs indicating the potential issue (even in debug) and found it out by chance when I noticed my local UI had simpler names with no spaces.
After just replacing spaces with underscores, it came back to work.

Expected behavior
It should work no matter the name (or at least specify authorized characters)
Your installation details
Test is under local docker-compose with latest-to-date main version but not sure it would changed in any other deployment way.
Steps to reproduce
The following is an example not working.
Just replacing space with underscore in the variable KAFKA_CLUSTERS_0_NAME make it work again.
---
version: '2'
services:

  kafbat-ui:
    container_name: kafbat-ui
    image: ghcr.io/kafbat/kafka-ui:main
    ports:
      - 8080:8080
    depends_on:
      - kafka0
    environment:
      KAFKA_CLUSTERS_0_NAME: "local cluster"
      KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka0:29092
      KAFKA_CLUSTERS_0_METRICS_PORT: 9997
      KAFKA_CLUSTERS_0_READONLY: 'true'
      DYNAMIC_CONFIG_ENABLED: 'true'

  kafka0:
    image: confluentinc/cp-kafka:7.2.1
    hostname: kafka0
    container_name: kafka0
    ports:
      - "9092:9092"
      - "9997:9997"
    environment:
      KAFKA_BROKER_ID: 1
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 'CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT'
      KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://kafka0:29092,PLAINTEXT_HOST://localhost:9092'
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
      KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
      KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
      KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
      KAFKA_JMX_PORT: 9997
      KAFKA_JMX_OPTS: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka0 -Dcom.sun.management.jmxremote.rmi.port=9997
      KAFKA_PROCESS_ROLES: 'broker,controller'
      KAFKA_NODE_ID: 1
      KAFKA_CONTROLLER_QUORUM_VOTERS: '1@kafka0:29093'
      KAFKA_LISTENERS: 'PLAINTEXT://kafka0:29092,CONTROLLER://kafka0:29093,PLAINTEXT_HOST://<IP_ADDRESS>:9092'
      KAFKA_INTER_BROKER_LISTENER_NAME: 'PLAINTEXT'
      KAFKA_CONTROLLER_LISTENER_NAMES: 'CONTROLLER'
      KAFKA_LOG_DIRS: '/tmp/kraft-combined-logs'
    volumes:
      - ./scripts/update_run.sh:/tmp/update_run.sh
    command: "bash -c 'if [ ! -f /tmp/update_run.sh ]; then echo \"ERROR: Did you forget the update_run.sh file that came with this docker-compose.yml file?\" && exit 1 ; else /tmp/update_run.sh && /etc/confluent/docker/run ; fi'"

  kafka-init-topics:
    image: confluentinc/cp-kafka:7.2.1
    volumes:
       - ./data/message.json:/data/message.json
    depends_on:
      - kafka0
    command: "bash -c 'echo Waiting for Kafka to be ready... && \
               cub kafka-ready -b kafka0:29092 1 30 && \
               kafka-topics --create --topic second.users --partitions 3 --replication-factor 1 --if-not-exists --bootstrap-server kafka0:29092 && \
               kafka-topics --create --topic first.messages --partitions 2 --replication-factor 1 --if-not-exists --bootstrap-server kafka0:29092 && \
               kafka-console-producer --bootstrap-server kafka0:29092 -topic second.users < /data/message.json'"

Screenshots
No response
Logs
No response
Additional context
No response

@Nilumilak can you take a look please? Seems related to #75, the request succeeds, but the part of the UI is blank without any errors in the console.

Sure, I'll try to fix it


How we use this with Socket IO

i wan to use this with socket IO. Like..
User is typing .....
other end user get message instantly when pushed by Admin or user.
thanks

This is more of a front-end question which doesn't get handled within the current code. The implementation would be up to you.
I have a (really old) demo with Pusher that you can take a look at, but I didn't implement a typing feature. Pusher has also put out some recent blog posts on the topic that you should check out. I haven't used Socket IO, but I'm sure the two are fairly similar.
I hope that helps! 🙂


Does not function yet

Hi Ataradov,
I installed the UF2 and made me a primitive cable.
Can get the menu in a terminal screen, but i can't get it to capture any data.
Both USB connectors are connected to the same bus.
And i do not understand the function of the start key, can you explain this to me?
Kind regards,
Willem Ouwerkerk

What do you mean by the "same bus"? Can you describe your connections in more detail? What is your device under test?

They are connected to the same USB hub
What is the difference between the START key and the trigger key?

What exact device you are trying to capture? What IC is it based on? Are you sure it is FS/LS device?
Trigger is not a key, it is a signal. If enabled, then after you start the capture, the sniffer will wait for the trigger signal. It is useful if you are debugging your own firmware and can toggle a GPIO at the point of interest. If you are capturing existing devices, then trigger is rarely useful. Disable it.

Ok now i understand it's function, nice.
The dongle is a PL2302just to try it out
I want to use it to write a custom RP2040 usb driver

PL2302 is a Full-Speed device, so you should be able to capture it. If you don't see any frames when you start the capture, then you will have to provide more details of your setup.
What custom USB driver? I'm confused.

Oh i just want to understand the built-in USB of the RP2040

This photo is not useful at all. There is nothing I can tell from it.
If you just want to understand USB part, then this project may be more useful https://github.com/ataradov/free-dap/tree/master/platform/rp2040 It is a CMSIS-DAP programmer + VCP without complexities of the sniffer part.

What do you need to know from me tot help me?
Is the start key toggle or need i keep it pressed?
made the simple connector as you adviced to GPIO10 & 11
A switch to GPIO12 and the status led blinks
I plugged all devices including the sniffer in the same usb-hub.

Hi Alex,
Now i think that i start to understand how it must be used. Is it like this?

Thanks, i am going to make the correct cable
Also thanks for the pointer to your example code

Thanks Alex, it's working now

Closing the issue then.


Kuma: init at 1.3.1 (missing components)

Motivation for this change
Add missing components for usage of kuma mesh enviroment
Things done
added support for

kuma-cp
kuma-dp
kuma-prometheus-sd

change way to install

kumactl

Built on platform(s)

[X ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Please squash the commits into one
This is required before merge
You can do this using git rebase

Thank's for your help, I think is good now. can you check, please?

Hey @lucasew and @kalbasit, It have some pendence do for this PR?

For me if it works then LGTM

@SuperSandro2000 can you check If is it good now, please? Many thanks for review

Update It to last version released 1.4.0

Is missing something to merge it ? Can i help with that?

Is missing something to merge it ? Can i help with that? @SuperSandro2000 @kalbasit


USB Access

When do we get C# USB access over wasm?

You should be able to call any browser API from C#  using JavaScript interop. You can then create a NuGet package that anyone can use to call the same API. Many community packages exist for various browser APIs (see https://blazor.net/community).
If you're looking for the platform to provide these browser API wrappers then you should file an issue on https://github.com/mono/mono/issues.

https://github.com/BlazorExtensions/WebUSB


Feature clientv2

client structure
/client
   /v2
     package: v2client
     structs: AuthClient
                  NerdClient
                  ClientErr (Cause interface, is documented?)
                  Conf
     interfaces: AWSBackend (provides aws (contains aws.Session))
                        NerdCredentialProvider (provides auth header)
                        ClientLogger (request/response friendly output)

example:
v2client.Auth{}
v2client.NewAuthClient()

closing this in favor of #65


Mao dev

Adjust sentiment analysis method.
Please see the sentiment_analysis.py
Also adjust the function in analysis.py

Hi Mao can you solve this issue in the same PR?  https://github.com/2023-VT-Spring-Capstone/spark-realtime/issues/22 thanks.
you've done the first part. TTL means time to live. For the third part just copy and paste the code.
Kindly test the code and attach a screenshot of the result.


[Autorun]: Symbol of passed test case not green

I have a project that is based on Angular.After using the "Angular/Karma Test Explorer" before . I have found something that I am not sure if it should be a bug or a feature.
As approach of my test cases I use TDD.
At the first execution of the test cases all are marked with a green or red tick. (OK so far)
Now I want to extend some of the code and specifically execute some of the test cases. For this I use the Autorun function. (OK as far as it goes)
As soon as a code change is detected, the selected test cases run again. Here I notice that after a short flash of the executed test cases none of the test results are displayed. The icon is grayed out again. Only a fail of the test result is displayed consistently.
My expectation would be that the results are always displayed with the current test run result. So always red or green but not gray for an executed test cases.
The behavior only occurs when the autorun function runs the test cases. When I manually start the test, I always get a red or green test result.
Debug Logs
[2022-01-28 07:25:32.755] [DEBUG] [DefaultTestBuilder]: Processed 131 specs to build tests
[2022-01-28 07:25:32.757] [DEBUG] [TestSuiteOrganizer]: Rearranged 11 test files into folders
[2022-01-28 07:25:32.759] [DEBUG] [TestDiscoveryProcessor]: Test discovery - 131 total tests discovered from Karma
[2022-01-28 07:25:32.763] [DEBUG] [DefaultTestManager]: Discovered 131 total tests
[2022-01-28 07:25:32.763] [DEBUG] [Adapter]: Test discovery got 131 tests
[2022-01-28 07:25:32.763] [DEBUG] [Adapter]: Updating loaded test store
[2022-01-28 07:25:32.763] [DEBUG] [Adapter]: Storing newly loaded root suite
[2022-01-28 07:25:32.764] [DEBUG] [TestStore]: Clearing stored tests
[2022-01-28 07:25:32.764] [DEBUG] [TestStore]: Updating stored tests
[2022-01-28 07:25:32.780] [DEBUG] [Adapter]: Cannot run new test - Another test operation is still running
[2022-01-28 07:25:32.780] [DEBUG] [Notifications]: Showing 'Warning' notification with actions  and message: Cannot run new test - Another test operation is still running
[2022-01-28 07:25:32.781] [INFO] [Adapter]: Finished loading tests in 33.56 secs (131 tests loaded)
[2022-01-28 07:25:32.783] [DEBUG] [KarmaHttpTestRunExecutor]: Karma http request closed

System Info

OS: Windows 10
Node Version: v14.15.0
VSCode Version: 1.63.2
Karma Version: 6.3.12
Frameworks: Angular

Picture of executed and passed test case

Karma Test Explorer's watch implementation relies entirely on that of Karma, simply exposing the functionality in the extension's visual testing experience. So I suspect what you might be experiencing is the side effect of Karma's watch behavior which involves watching all tests, but only re-running the set of tests that were last run manually. Basically, Karma scopes its test watching to only re-run the set of tests in the last manually executed test run (ie. not executed by the watch functionality).
How that translates into Karma Test Explorer is that the last test run you performed manually (eg, by hitting the Run button on a test or test suite) then scopes subsequent test watching to only update those set of tests, while all other tests will not be updated to reflect changes. The set of tests being updated by auto-watch then changes again when another set of tests are subsequently executed in a new test run. (This watch behavior is definitely confusing inside of Karma Test Explorer).
To confirm if this is indeed the scenario you're running into, try manually running a single test, and then editing it to fail and pass, back and forth, and each time, check to see if its status is visually updated by auto-watch in Karma Test Explorer to the expected pass/fail state. You can also run ALL your tests in a  single test run by running the top-level suite, and (without manually running any more tests) then editing any of them back and forth to see if the status is visually updated automatically by the auto-watch feature.

Hi. I think we're talking at cross purposes. It is not about the individual test case that I changed during the auto-watch. It's more about the ones that were already passed before and no longer undergo any changes. These statuses are not subsequently set to green in the auto-watch, although they are also tested and are green.
When executed manually, all statuses are always displayed.
In auto-watch mode, only the failed ones are marked.
1.First execution (manually to see visual results)

Change second test case to fail (auto-watch is active)

The passed one is not green anymore only the failed one got correctly visualized.

Change test case back to passed.

No passed result visible.
With the old plugin, the results (passed & failed) of the executed test cases was always displayed, whether auto-watch or manually.

@LuigiDC What I'm referring to is Karma Test Explorer's karmaTestExplorer.autoWatchEnabled setting (enabled by default), which is the equivalent of Karma's watch feature. From your new screenshots, I see you're referring to the different (but similar) Autorun feature which can be activated from the Test Explorer UI.
If you simply disable Autorun from the UI, does the automatic test status update work better / more like you'd expect? Providing the Karma Server logs from the Output tab after testing that out, would also be very helpful.

@lucono Ok. After deactivating the Autorun function from the UI, the changes were nevertheless detected and executed again. However, a passed is never 'freezed' as a result.
What I can see is that the test cases are all executed and briefly marked as passed (~300ms-500ms) and then only the failed status remains. I have attached you the requested Karma server log. There is a change from passed / fail / passed.
Karma_Server_Log.txt

Ok, this seems like a bug. Do you have the testExplorer.onReload setting specified for your workspace? If so, what value do you have it set to?

The user settings have been configured to null and for the workspace it was set to reset.
I also tried every combination out here, without any success or difference.
I configured now everything to reset.

Thanks for confirming. The passed tests shouldn't be faded - that's a bug, and can be fixed in the next release.

@LuigiDC I've made a tweak on the beta branch to address this. Test it out to confirm if it improves the issue. You can download the .vsix artifact from the CI build of the beta branch, or build it directly yourself from the branch.

I installed the actifact. Fix seems to be ok.
Visualisation is now correct for failed test cases.
Thanks a lot.


feat: Allow generic assume role conditions

Description

Allow generic assume role conditions

Motivation and Context

Resolves #535
Closes #537

Breaking Changes

No

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects
[x] I have executed pre-commit run -a on my pull request

This PR is included in version 5.52.0 :tada:


Add server-client video chat (1)

Add the ablity to video chat with someone using a webcam

[x] Create web application "Hello world"
[x] Add webcam functionality to application
[ ] Code review

Using Pug to help with html rendering.

Used source:
https://github.com/webrtc/samples/blob/gh-pages/src/content/peerconnection/pc1/js/main.js
Setup dual video/audio feeds based on example. Need to figure out how to setup Serverless WebRTC signaling.


Gnocchi: implement resource types List method

Add new resourcetypes package with List method.
Add tests and a documentation example.
Code references:
https://github.com/gnocchixyz/gnocchi/blob/stable/4.2/gnocchi/rest/api.py#L953
https://github.com/gnocchixyz/gnocchi/blob/stable/4.2/gnocchi/indexer/sqlalchemy.py#L485
https://github.com/gnocchixyz/gnocchi/blob/stable/4.2/gnocchi/resource_type.py#L264
For #54

@jtopjian Hello.
Attribute was tricky. I haven't started implementing another PR for the #54, because I haven't been sure about current implementation.
Will try to change it according to your request.

Sounds good. Another option is to leave Attribute as a generic map[string]interface{}. I guess it depends on if the attributes will be usable or just for informational purposes.

@jtopjian I made changes related to Attribute field. I think that it's better to have at least Name and Type as separate fields inside the structure because they're common between all attribute types.

@ozerovandrei This still felt a little strange to me and then I realized it is because we're trying to convert a map of values into an array.
How about something like this: https://github.com/jtopjian/gophercloud-utils/commit/89b3bbbcc33d84d634a55911e4b44f1f95fd9197

@jtopjian it's because I've tried to do a very strong structure types without any maps from the beginning of that PR. Some Go developer told me to so so once: #issuecomment-362023884 😉
But yeah, I can change this, why not.

That discussion is still applicable. :)
What I'm proposing is modeling the data in its normal map/object/hash/dict form and not coalescing it into an array/list/slice.

@ozerovandrei Just to confirm: you're finished with this and it's mergeable?