Allow lazy function invocation to target version/alias

Currently lazy responses are only targeting the $LATEST version of a given AWS function. This prevents meaningful A/B testing if you're using function versions/aliases to compare code changes. Adjusting the invoke method to use the function ARN from the current execution allows downstream code parity.
This change adds a variable (invoked_function_arn) to the request context, then uses that value when invoking the sub-request.
Category

[ ] slack_bolt.App and/or its core components
[ ] slack_bolt.async_app.AsyncApp and/or its core components
[X] Adapters in slack_bolt.adapter
[ ] Document pages under /docs
[ ] Others

Requirements (place an x in each [ ])
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

[X] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[X] I've read and agree to the Code of Conduct.
[X] I've run ./scripts/install_all_and_run_tests.sh after making the changes.

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

@angrychimp The change looks great to me already but this change requires a small update in the unit test code. Could you update the test code to be consistent with your code change?

Not sure how I missed that, but thanks for pointing it out. I've added the updated test script to the PR. I'm getting a seg-fault running the "run_tests" script which I believe is just an issue with my environment, but while I figure that out let me know if it looks like there's anything else I'm missing.

@angrychimp The change looks great to me already but this change requires a small update in the unit test code. Could you update the test code to be consistent with your code change?


Update sbt-coveralls to 1.3.8

About this PR
📦 Updates org.scoverage:sbt-coveralls from 1.3.1 to 1.3.8
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-coveralls" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-coveralls" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #150.


fonts file failed to load

console :

Network:

It is related to bootstrap theme css (@import url("//fonts.googleapis.com/css etc ...")).
It occurs on Chrome.
Than js for pointing it, I will bypass this font import soon.

I added a gulp task to remove @import url("//fonts.googleapis.com/css  from /public/lib/css/bootstrap.min.css.
You can :

delete yourself this @import
git pull origin master (if you cloned this repo)
download manually

so that there will be no more font download error on Chrome.


Implement circulation endpoint

Can we make it a little better so it will take halving into account?  The halving interval is every 525,600 blocks then the block reward is reduced from 150 to 75 coins etc. Please take a look at
https://github.com/zelcash/insight-api-zelcash/blob/883b3d6e2bd68617135e1103e1f86f7379e14968/lib/blocks.js
=> BlockController.prototype.getBlockReward = function(height) {...
And I think the halving there is wrong too by looking at it so that should be reviewed according to this:
https://github.com/TheTrunk/zelcash/blob/master/src/main.cpp#L1393
So var halvings = Math.floor((height - (5000/2)) / 525600); -> var halvings = Math.floor((height - (5000) / 525600); seems probably better


twilio::signaling::PeerConnectionSignaling::onSetSessionRemoteDescription(twilio::video::TwilioError) crash

One of the crashes referenced in #74.
twilio-signaling-peerconnection crash.txt

We are aware of this crash, and it should be resolved in the 1.0.0-beta9 release.

Partially resolved in 1.0.0-beta9 but still reproducible in some scenarios. Aiming for 1.0.0-beta10 to completely resolve this issue.

The behavior in beta10 is the same as beta9, we are now targeting this fix for 1.0.0-beta11.

@mknippen We just released 1.0.0-beta11 which should resolve the last instances of this crash. I'll leave this ticket open for a little while, please let us know if you are still experiencing this issue in your app.

Closing out this issue, since we haven't gotten any new reports of this type of crash since 1.0.0-beta11. Please re-open if you are still experiencing issues.


How to avoid selecting the text in the tablecell when the selection is CellSelection?

How to avoid selecting the text in the tablecell when the selection is CellSelection?

i also want to know


Translations update from Hosted Weblate

Translations update from Hosted Weblate for LOOT/Prelude.
Current translation status:

@Ortham Can we merge this PR? I'm also gonna add https://github.com/Aimdru to credits.rst for updating the Russian translation.

Yes, I'll merge it.


npm module

Hey Hugo,
is there a chance that you will provide this lib as a npm module?
Regards,
Kobe

I am not sure I have ever done that. Maybe I should check how Miriam Suzanne did it for True and Susy.

Done. :)

Thanks!


Replace localhost with <IP_ADDRESS> in OAuth examples

Why:
Fixes remainder of #13651

The OAuth spec https://datatracker.ietf.org/doc/html/rfc8252#section-8.3 recommends to use <IP_ADDRESS> instead of localhost:

While redirect URIs using localhost (i.e., "http://localhost:{port}/{path}") function similarly to loopback IP redirects described in Section 7.3, the use of localhost is NOT RECOMMENDED. Specifying a redirect URI with the loopback IP literal rather than localhost avoids inadvertently listening on network interfaces other than the loopback interface. It is also less susceptible to client-side firewalls and misconfigured host name resolution on the user's device.

What's being changed:
Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@hickford
Thanks so much for opening a PR! I'll get this triaged for review :zap:


Housekeeping

This updates some dependencies and squashes a few deprecation/audit warnings.
The one I haven't addressed is updating three (which has now deprecated the old Geometry type as mentioned in #865). It's currently not causing any issues for me having an older version of three.js but getting too far behind may be painful in the long run. Do others have any views on this?

I'm getting a dependabot security warning for three < 0.125: https://nvd.nist.gov/vuln/detail/CVE-2020-28496


feat(linter) eslint-plugin-react/jsx-key

https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-key.md

@camc314 I gave you triage permission so you can update the corresponding issues https://github.com/web-infra-dev/oxc/invitations
You may give me a wave on our discord channel if you want to get more involved https://discord.gg/9uXCAwqQZW.

Let's merge this first and then rebase the other PR.


Update runtime payload runtimeclassname

This PR updates the peer pod fork of the runtime payload to install to the kata-remote runtime class.
This is in prep for us switching over to the upstream coco operator rather than using our own fork.
I don't think there is any automation for building the payload image, so this is fairly safe to merge, but then we will need to build the runtime-payload manually and follow up with the doc, webhook and e2e compatible fixes in #904

To limit the chances of having broken changes I suggest we review this and #904 at the same time then the flow is:

Merge #903
Manually rebuild quay.io/confidential-containers/peer-pods-runtime-payload
Merge #904

The clock for breaking changes exists once the peer-pods-runtime-payload is pushed

@stevenhorsman weren't we suppose to remove the custom payload from this repo and solely rely on the kata-containers payload that is used with operator and have the remote hypervisor config ?

@stevenhorsman weren't we suppose to remove the custom payload from this repo and solely rely on the kata-containers payload that is used with operator and have the remote hypervisor config ?

Yes, but we seemed to all agree that doing it in stages was the best way to limit the breaking changes, so switching to the coco operator is in #870 and the removal of the custom payload is part of #871. If you want to merge all of these changes into a single PR we can, but I think it will be very disruptive to upstream and any downstream projects to switch it all over in a single go?

Yes, but we seemed to all agree that doing it in stages was the best way to limit the breaking changes, so switching to the coco operator is in #870 and the removal of the custom payload is part of #871. If you want to merge all of these changes into a single PR we can, but I think it will be very disruptive to upstream and any downstream projects to switch it all over in a single go?

I see.  I don't have any concern with the approach. Just wanted to ensure that there is no duplication.

I see. I don't have any concern with the approach. Just wanted to ensure that there is no duplication.

Thanks, it is a little bit wasteful fixing up (and updating) the old peer-pods-runtime-payload before we remove it, but I hope it de-risks the switch, so it's a trade off that I'm happy to make. Looking forward to getting rid of the duplicated code soon though :)


[styles] 5th api style & describing memoization behavior

It would be nice to have a simple direct callable function API for converting stylesets (object with string keys and "style" object values) into "classname" objects with sting keys and string values (the classnames). This would also help with non-js/ts language interop.
It would also be great to know if .any of the functions memoize their inputs so that calling them repeatedly is efficient or if efficiency needs to be handled by the caller
const styles = {
  root: { color = "red" },
  input: { color = "blue" }
}
const classnames = getClassNames(styles)
// returns { root: <some classname string>, input: <some classname string> }

I often like to have components pass in either a react-jss "style object" directly or a function that takes some props and returns a react-jss style object that is fed into this function. I can handle memoization to make it efficient if I know I need to do that.
If it is permissible to call the standard jss function:
import jss from 'jss'
const sheet = jss
  .createStyleSheet(..)
// attach and detach manually as needed by a componentn

that would be good to know and that would suffice but its not clear that this integrates with the material-ui styling solution.

@aappddeevv I'm not sure to follow. What's the problem your are trying to solve, how is this API not solving the problem? https://material-ui.com/css-in-js/basics/#adapting-hook-api

I’m in a non js language and hooks are not an option. I’m looking for an
api that takes styles and returns classnames without any a tie into any
aspect of react components at all.  I’m currenly wrapping the Styled api
(makeStyled) but this introduces another component into the tree.  I want
to pass in classnames, style objects, style functions and maybe a theme and
mix that together into a final set of classnames via a function without
component wrapping.
On Mon, Dec 31, 2018 at 2:21 AM Olivier Tassinari<EMAIL_ADDRESS>wrote:

@aappddeevv https://github.com/aappddeevv I'm not sure to follow.
What's the problem your are trying to solve, how is this API not solving
the problem? https://material-ui.com/css-in-js/basics/#adapting-hook-api
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mui-org/material-ui/issues/14041#issuecomment-450615486,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIOaY8Pv563VvOdTefJhWXWALns7NO9ks5u-brpgaJpZM4ZlKwB
.

without any a tie into any aspect of react components at all.

@aappddeevv Oh, it's this case, you can use JSS directly, they have all you need! https://cssinjs.org/?v=v10.0.0-alpha.3. I don't think that it will create any inconsitency. You should be able to use office-ui-fabric-react too.


Improve SL metrics examples

Contributions

[X] I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/docs/build/metrics-overview
What part(s) of the page would you like to see updated?
There is an inconsistency with filter field indentation.
In the top schema definition it's on the 1st level, but in some examples below filter is put into type_params at 2nd or 3rd level, what looks incorrect and fails at validation stage.
Also it would be useful to emphasize that only multi-line YML format is supported by filter field and single-line won't work
Additional information
No response

tested and confirmed

hey @SOVALINUX  thanks for opening this up! you're absolutely right and I'm working on a pr to get this updated. can you provide more info on what you mean with "multi-line YML format is supported by filter field and single-line won't work"?

Re "multi-line YML format is supported by filter field and single-line won't work":
Looks like I was not right with this statement

filter: {{ Dimension('some_model__some_dimension') }} = true - one-line no quotes doesn't work, but probably it's according to YML spec.
filter: "{{ Dimension('some_model__some_dimension') }} = true" - one-line double quoted works well (and I had a feeling that this also didn't work for me initially)
multi-line filter as in doc examples works as expected

So, thanks for checking - please disregard this part

that's great, thanks for confirming and coming back to update the issue @SOVALINUX ! we've merged a PR https://github.com/dbt-labs/docs.getdbt.com/pull/5409 which addressed your feedback - i really appreciate it!


The 'Create Snapshot' is not localized for a file share context menu

Storage Explorer Version: 1.10.1
Build: 20190926.6
Branch: master
Platform/OS: Windows 10/ Ubuntu Linux 18.04/Mac OS High Sierra
Language: Chinese(zh-CN)
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer using the command 'StorageExplorer.exe --lang=zh-CN'.
Expand a storage account -> File Shares.
Create a new file share -> Right click it and check the 'Create Snapshot' on the context menu.

Expect Experience:
The 'Create Snapshot' shows '创建快照'.
Actual Experience:
The 'Create Snapshot' is not localized.

Hard-coded string.


Outline cannot follow correct side in split editor case

We need a similar fix as with breadcrumbs to update on control change.
//cc @jrieken

@bpasero What are some verification steps for this issue?

@rzhao271 split an editor into 2 (into the same tab, not across 2 groups), open the Outline view and verify that clicking on the left and right side updates the outline accordingly and that selection applies to the currently focused side.

The breadcrumbs are updating but the outline is staying the same when I switch between the two sides.

Forgot to mention, you need to enable "Follow Cursor":

Works in latest insiders.


How do I set credentials using Websocket API?

I'm trying to use the Websocket version of the api but I don't see any place to put the credentials
There is a lot of unclarity in the docs and I don't see anything in the examples explaining or showing how this is done for the Websocket side.
here is a trivial snippet which leads to a crash when unwrapping the connection. The error isn't clear as to what the issue is
use binance_spot_connector_rust::{
    http::Credentials,
    market::klines::KlineInterval, market_stream::kline::KlineStream,
    tokio_tungstenite::BinanceWebSocketClient,
};
use env_logger::Builder;
use futures_util::StreamExt;
#[tokio::main]
async fn main() {

    let res =  BinanceWebSocketClient::connect_async("wss://testnet.binance.vision/ws-api/v3.").await;
    if res.is_err() {
        println!("{:?}", res.as_ref().err());
    }

    let (mut conn, y ) = res.unwrap();
    /// use binance_spot_connector_rust::market_stream::ticker::TickerStream;
///
 let individual_symbol_stream = binance_spot_connector_rust::market_stream::ticker::TickerStream::from_symbol("BTCUSDT");
    conn.subscribe(vec![
        &individual_symbol_stream.into()
    ]
    ).await;
    println!("Hello, world!");
}

Some(Http(Response { status: 404, version: HTTP/1.1, headers: {"content-length": "48", "connection": "close", "date": "Mon, 29 Jan 2024 13:10:39 GMT", "server": "X", "x-mbx-uuid": "656dbd59-91ed-4b67-9d61-88b87ec8a82a", "x-cache": "Error from cloudfront", "via": "1.1 7d30cf029bde247eef16106ceffb39ca.cloudfront.net (CloudFront)", "x-amz-cf-pop": "TLV50-C1", "x-amz-cf-id": "83iERQTXPkgGVJNB7GqEk2X3gjH9HIN2v9hwqF22f_YuaIYmNpxBqA=="}, body: None }))
thread 'main' panicked at src/main.rs:15:30:
called `Result::unwrap()` on an `Err` value: Http(Response { status: 404, version: HTTP/1.1, headers: {"content-length": "48", "connection": "close", "date": "Mon, 29 Jan 2024 13:10:39 GMT", "server": "X", "x-mbx-uuid": "656dbd59-91ed-4b67-9d61-88b87ec8a82a", "x-cache": "Error from cloudfront", "via": "1.1 7d30cf029bde247eef16106ceffb39ca.cloudfront.net (CloudFront)", "x-amz-cf-pop": "TLV50-C1", "x-amz-cf-id": "83iERQTXPkgGVJNB7GqEk2X3gjH9HIN2v9hwqF22f_YuaIYmNpxBqA=="}, body: None })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

have you resolved that yet?Thks

Hi, I don't think the problem is authentication here. You received a 404, implying the endpoint wasn't found. Your websocket url has a fullstop . .
For future reference, all ws endpoints requiring any sort of authentication will take a listen key as an argument. E.g.
        // get listen key
        let client = BinanceHttpClient::default().credentials(self.exchange_credentials.clone());
        let listen_key_response = client
            .send(margin_stream::new_listen_key())
            .await?
            .into_body_str()
            .await?;
        let listen_key = serde_json::from_str::<ListenKeyResponse>(&listen_key_response)?;

        // setup websocket
        let (mut user_data_stream_connection, _) = BinanceWebSocketClient::connect_async_default()
            .await
            .expect("Failed to connect");
        user_data_stream_connection
            .subscribe(vec![&UserDataStream::new(&listen_key.listen_key).into()]) // <---  adding listen key here
            .await;


Add file-based catalog (FBC) support to run bundle

Description of the change:

Create a file-based catalog (FBC) on the fly by generating the bundle, package and channel blobs, if an index image is not provided by the user (i.e. for a default index image quay.io/operator-framework/opm:latest) and serve it over a gRPC port.
If an index image is provided through the flag, then bundle image will be inserted to the index by appending the bundle contents (rendered bundle image) to the index that's converted to a declarative config and this index containing the bundle will be served over a gRPC port.
If bundle already exists in the index, then we will error out and not proceed with serving the index image.
Generated FBC will be validated (equivalent to the opm validate command) and converted to a string format and sent down to registry pod creation to be served.
Infer the label type on the index image and indicate there's an FBC label through registry pod for container creation.
Added a new container creation command for images that have FBC label on them. For images without the label, old commands (opm registry add and opm registry serve) that use SQLite under the hood will be called. So support for both (FBC/SQLite) exist at the moment.

Motivation for the change:
https://github.com/operator-framework/operator-sdk/issues/5593
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

Signed-off-by: rashmigottipati<EMAIL_ADDRESS>

I took a look and everything looks good to me. Not approving since I am not well-versed in OLM & FBC.

Closing this as the branch name is causing tests to fail. Opened https://github.com/operator-framework/operator-sdk/pull/5671


Light remains even when breaking blocks

Steps to reproduce:

Go into a dark place.
Place a colored light block (I used a redstone torch).
Break the block.

Other related issues have been noticed: https://github.com/CptSpaceToaster/CptsModdingLight/issues/41
https://github.com/CptSpaceToaster/CptsModdingLight/issues/39


Activation of openvpn seems to fail - Error block-outside-dns

I load openvpn after having completed openvpn-install.sh. I do that in PuTTY and PuTTy stops after mentioning Rout_Gateway and my IP Adress. After that I cannot connect to the server with PuTTY anymore. The first line "... block-outside-dns" reads like an error. Sorry I have no clue how to proceed.
Thanks for some help.

Hi, ignore that error. It's an option that works only on Windows, but that's Linux so it doesn't know it.
Regrading your problem, once you connect to the VPN all the server connection goes through the VPN so you loose ssh connection. If you want to connect to it again you have 2 options:
You connect to the VPN and ssh into the server with its VPN IP that seems to be <IP_ADDRESS>.
You reboot the server to disconnect from the VPN and ssh again. Then add the following to your server config: route <VPN IP> <IP_ADDRESS> net_gateway.
I recommend you the second one because you esclude your server IP to use the VPN so it is never routed through it.
Here's more info about that: https://superuser.com/questions/487760/openvpn-exclude-ip-or-port.

Thanks, that worked just fine.


@conda-forge-admin, please add user @sloosvel

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @sloosvel in conda-forge/esmvaltool-suite-feedstock#8.


Added bill of materials

Description

Tracer has already 5+ modules that produce individual artifacts. Users that depend on them will usually list them all as dependencies in their POMs. Right now we guarantee that version numbers across modules are always the same, i.e. a new release will release each module, even if it wasn't change.
That allows users right now already to use a single maven property tracer.version that is used for each dependency.
This pull requests introduces a BOM (bill of material) as an alternative. The BOM can be imported in the dependencyManagement section of a POM.
Motivation and Context

The BOM removes the need to specify any version on individual tracer artifacts.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

:+1:


Link MeasurementComparableTable to MeasurementService

Fixes #1124.
PR Checklist

[ ] Brief description of changes
[ ] Links to any relevant issues
[ ] Required status checks are passing
[ ] User cases if changes impact the user's experience
[ ] @mention a maintainer to request a review

Closing this for now. We'll revisit if we need an escape hatch before August.
This will also be a nice reference for the UI revamp that's in-progress


Make working directory used by ProcessRunner configurable

Some things like detection of the current .NET version from global.json depend on the working directory of the msbuild call. Currently it is not possible to explicitly set the working directory of the msbuild invocation inside the Buildalyzer build.
Proposed API:
   public class EnvironmentOptions
    {
...
        public string WorkingDirectory { get; set; }
...
    }

(and also pass it to class BuildEnvironment of course)
and change
https://github.com/daveaglick/Buildalyzer/blob/5b732a8ce572efbba077dd08871fb609c69f94ce/src/Buildalyzer/ProjectAnalyzer.cs#L167
to
 using (ProcessRunner processRunner = new ProcessRunner(fileName, arguments, buildEnvironment.WorkingDirectory ?? Path.GetDirectoryName(ProjectFile.Path), GetEffectiveEnvironmentVariables(buildEnvironment), Manager.LoggerFactory))

What do you think?

As a user of this lib, I did never needed it (yet), but only seems fair that is configurable.

Good suggestion, especially since a lot of MS Build functionality depends on having a correct working directory and different scenarios may change that.

This is now implemented and will go out with the 6.0.1 release. Thanks for the suggestion!


Azure Service Bus receive body type string

An external system sends a message (xml) with body type string from a .NET application (because they had some encoding problems when sending the message as stream). When we receive the message we get:
@\u0006string\b3http://schemas.microsoft.com/2003/10/Serialization/�9<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<foo><bar/></foo>
Do i have to deserialize the message body myself or is there some standard functionality from this (couldn't find a clue in the api docs or sourcecode)?
If so, can i detect the body type?

Hey, sorry for the delay. If you're using the Service Bus policy, then it should be using the following decoder when messages come in: https://github.com/noodlefrenzy/node-amqp10/blob/master/lib/policies/service_bus_policy.js#L28
This should automagically handle if it's sent as a proper string, but what it looks like is happening is it's being sent as a buffer with an embedded .NET-serialized string object. We can't handle that very well.
What sort of issues were they having with sending as a stream? Were they having issues with BrokeredMessage(Stream) construction or something?

Thank you for your answer. The guys from the external system (BizTalk, Navision) experienced some encoding problems constructing a proper UTF-8 encoded stream with xml content in it.
I think, with the help of your answer, they are on the right track now. Thanks again.
Great library btw! I had it up and running without problems in a very short time.

Fantastic! Closing this, let me know if you run across other issues. Also, you can always merge the service bus policy with your own that just declares its own custom encoder/decoder if you need to add your own logic there.


ng-controller not binding to lumx dropdown

Hey guys, I'm trying to call ng-controller on the lx-dropdown-menu element but it seems that I can't access my scope variables inside of the dropdown.
For example:
The Html
<lx-dropdown-menu ng-controller="NotificationsCtrl">
{{ testMessage }}
</lx-dropdown-menu>
The controller
angular.module('angularApp').controller('NotificationsCtrl', function(){
 $scope.testMessage = "Lorem Ipsum"
}
But the testMessage won't load into it.
Can you advise?

Hi!
lx-dropdown-mennu is a directive with its own scope, and its content is transcluded and thus does not have access to its scope. The solution would be to create a div inside the lx-dropdown-mennu, and apply the ng-controller to this div:
<lx-dropdown-menu>
    <div ng-controller="NotificationsCtrl">
        {{ testMessage }}
    </div>
</lx-dropdown-menu>

Ahhhh I see! thank you!


No support for PHP 5.3?

I'm trying to determine if we can upgrade some of our servers that currently run 5.3, but this code requires at least 5.4 due to the array syntax.  Would you support merging a PR that changed the array syntax to support PHP 5.3?
Just for clarity, here's the error I get when running the .phar:
PHP Parse error:  syntax error, unexpected '[' in phar:///home/star/phpmig.phar/src/App.php on line 83

Yes, I have done this.
Changing the minimum supported version on PHP from 5.3 to 5.5 on version 0.2.0
Because trait, short array syntax, and 5.3 is not under supported.
As you are trying to upgrade PHP, why not get a new version PHP?

I was hoping to use this tool to determine if I could upgrade to a new version of PHP.  I guess it won't work for me.  Thanks anyways!

Sorry to hear that.
We are hardworking on a code analysis tool online, maybe it will solve your
problem.
On Oct 26, 2016 23:49, "Яyan Priebe"<EMAIL_ADDRESS>wrote:

Closed #10 https://github.com/monque/PHP-Migration/issues/10.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/monque/PHP-Migration/issues/10#event-837273590, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABYC_be_OmR94whqRqg6C5KuhjIKhE-2ks5q33aJgaJpZM4KfWCv
.


Added mps

Added MPS as a device option.
Potential for improved performance on devices that support MPS. (Mac M1/M2)

Thanks @CGCooke for enabling the "mps" backend option.

Is this dead? I'm running into so many mps problems with so many different models - all running on pytorch. But here with CLIP, detectron2 - all seem to be old/stale issues. Trying to understand expectations - is apple not super committed to silicon being a viable option for using widely available open-sourced ML tooling/models?

Is this dead? I'm running into so many mps problems with so many different models - all running on pytorch. But here with CLIP, detectron2 - all seem to be old/stale issues. Trying to understand expectations - is apple not super committed to silicon being a viable option for using widely available open-sourced ML tooling/models?

@kevflynn we are committed to provide mps backend support on Mac platforms. The issue which is linked has been long solved on PyTorch nightlies.
can you please provide all the issues which you are running into and we will priortize it


0.6 Release coordination

We've already got more than enough changes for a new release, so we should make one.
I'll merge #388 after CI passes, but otherwise I'd just bump versions and publish to crates.io. After that we can remove python 2 support and merge #382. Pypy support (#393) will become part of a later release.
@pganssle I remember that you wanted to get some changes to the datetime module merged before the release.
@kngwyu You added #381 to the 0.6 milestone; Do you want to solve that issue before the release?

Do you want to solve that issue before the release?

I hope so but I don't have enough time this week...
And I also fear some regressions introduced by PyRef like https://github.com/PyO3/pyo3/issues/356#issuecomment-465742221.

@konstin I've created a new bug, #405, to track the stuff I wanted to change in datetime. Not sure if I can get to it this week, possibly this weekend?

@pganssle I don't think those api changes are critical to be part of the release.
However, I realized that https://github.com/PyO3/pyo3/issues/341#issuecomment-462162112 is a regression from 0.5 which should be investigated. I've added it to the original post.

I've tried to minimize #341and found out that declaring the unsafe extern "C" fn __wrap functions inside of inventory::submit is what break linking. The solution would be to declare them outside of that macro with unique name. However I won't get to doing that anytime soon, so I'd suggest we just make the release and mention the regression in the changelog.

I've released 0.6.0 on crates.io and github. Now we just need to wait for travis to update the docs


Activate the Umple Testing Language features in UmpleOnline and thoroughly test them

The Umple Testing Language was created by @sulteid between 2015 and 2020. The technology is built into the Umple Jars for assertions and tests in methods. Umple can also generate tests from any model. Also there is a separate Jar to compile the test language and convert it into Junit and similar xUnit technologies.
We need to add generation capabilities to UmpleOnline.
We also need to thoroughly test the technology and raise additional issues on it (assuming there are bugs).  Please consider this the master issue and link other issues to this by referencing by hashcode.

Sultan's thesis is at https://ruor.uottawa.ca/handle/10393/40344

The Current Umple build runs the test cases related to the Umple Testing language using the build.testgenerator.xml file. However, the script to build the jar files has not yet been integrated in the Umple build. I have written the code back in march 2020, I will look for it and integrate it within the current Umple bulild. For the mean time, I will provide  professor Tim with the manually packaged jars which are:
umple.unit-test.jar   : used to generate junit from .umpt files
umple.mutation.jar  : used to generate mutated Umple models from an .ump file


Considering releasing a new version

Version 3.8 is almost 1 year old (03/2017), could be a good thing to publish all the good changes since then ;-)

Duplicate of #376


Allow set protocol

Hi. When I'm doing development tests I use http and ws protocols, but when deploying to production I have the need to connect to the server using https and wss. Maybe the best solution would be to separate into two URIs, one for the API and one for the GameServer.
I am available to send a PR.
tks.

A related issue has been brought up in the colyseus.js client: https://github.com/colyseus/colyseus.js/issues/68
I think we could come up with an API for all clients in the next version. Something like:

new Client({ host: "some-endpoint.com", port: 2567, secure: false })
new Client("ws://some-endpoint.com:2567", { secure: false })

I'm considering JavaScript for these API's, ideally we should come up with something that is easily ported to other languages without having too many custom data structures.

I like new Client({ host: "some-endpoint.com", port: 2567, secure: false })


Little change maybe?

Hi, great work on the calendar. I'd like to find out if you could change the header (and selector ) to maybe a transparent background so we don't have to edit the module for custom colors.

You do not need edit module, you can override css with your custom color.


Why use Welcome Messages?
How to create Welcome Message?
What is Github App?
Configure yml
Testing
Summary and call to action

To Do: when you complete the requirements, add "outline ready" label on your issue

[ X] Identify your topic from one of the PRs approved (Getting started with Actions #457)
[X ] Outlining bullet points of blog roadmap
[ X]s your blog a List, Survey, or demo? (Demo)
[ X] Which Visuals or Diagram or Code snippets will you add (yml code snippets )
[ X] References to resources (ref to GitHub actions, maybe additional resources to learn yml?)

Timeline:

📋 Week 4: Create an outline by 3/2
📰 Week 7: Rough draft due by 3/16

Mentor reviews by 3/30

Week 9: Final version due 4/7

To Do: when you complete the requirements, add "outline ready" label on your issue

[ X] Identify your topic from one of the PRs approved (Getting started with Actions #457)
[X ] Outlining bullet points of blog roadmap
[ ]X Is your blog a List, Survey, or demo? (Demo)
[ X] Which Visuals or Diagram or Code snippets will you add (yml code snippets )
[ X] References to resources (ref to GitHub actions, maybe additional resources to learn yml?)

📰 Blog Rough draft: Format into a google doc
Questions to answer across draft

Why is this helpful for a reader?
What problem does this help them solve?
What kind of experience should the reader have or that you will provide so they’re up to speed
What larger problem is this solving?
Were there other ways of solving this problem - what made you choose the one that you did?
What were the positive tradeoffs? (Did it save time? Save hours? Was more secure?)
What is the best way to present the content (i.e. code snippets, graphics) ?
What additional resources can they provide the reader if they want more information?
Is there a call to action?

To do: when you complete the requirements, add "draft ready" label on your issue

[ ] intro paragraph
[ ] context of Amplify
[ ] paragraph on problem
[ ] paragrph compare your solution
[ ] paragraph impact your solution
[ ] Less than 600 words
[ ] Drop link to your google doc (with permissions for edits) in review issue

Alexis did you create a welcome message for Amplify repo?

I did,I worked on it last week and created the PR. I'm working on getting it approved at the moment and got really good feed back on the PR!

Perfect, continue!

Here is the link to my Google Doc!
https://docs.google.com/document/d/1H-QZfzQt1IoccBy5OhT_iGx6IKyxvb1Z6t0t1Fhn_tE/edit?usp=sharing

@Alex-is-Gonzalez thanks for getting this done! You might have to change permissions on the doc so that anyone with the link can view. I'm not able to see it. :-)

@unnamedrd My apologies, I am a little rusty with Google Docs. I updated the permission and here is the updated link!
https://docs.google.com/document/d/1H-QZfzQt1IoccBy5OhT_iGx6IKyxvb1Z6t0t1Fhn_tE/edit?usp=sharing

Hola Alex,
I really enjoyed reading the blog. Very interesting info!
I have left "a couple" of comments in the Docs document.
These are only my suggestions. I work in Support, and we use names of GitHub products all the time :D
I will continue on Monday because my brain is not working now, and it's Easter in Denmark.
Take care!
Grecia

@GreCodes,
I am very appreciative of the feedback you have provided for my rough draft! I am excited to rework this draft with your notes!
Many Thanks,
Alex!


Missing yarn lock file for example-install-command on v10

Problem description
When the workflow example-install-command.yml is run, the install-command-v10 job shows a warning concerning the lock file found:
install command command "yarn --frozen-lockfile --silent"
current working directory "/home/runner/work/github-action/github-action/examples/v10/install-command"
/usr/local/bin/yarn --frozen-lockfile --silent
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

Steps to reproduce
Push to master to trigger example-install-command.yml
Search for the logs with https://github.com/cypress-io/github-action/actions/workflows/example-install-command.yml?query=branch%3Amaster and then view the job "install-command-v10" > "Custom Yarn command" noticing the warning from yarn.
Suggested fix

Delete the file examples/v10/install-command/package-lock.json
Execute yarn install<EMAIL_ADDRESS>-D in directory examples/v10/install-command/ to generate yarn.lock file and keep Cypress at the same version level (10.0.0) as the other v10 examples.

PR #698 submitted to resolve this issue

This issue is now resolved and the log<PHONE_NUMBER> no longer shows the warning:
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.


wrong data in reports and no debug tools

hello,
we run every night about 800 tests with test cafe. lately it seems the data we get in the report is not correct.
i.e last night it showed that a skipped test took 1:30h.
if thats not a bug, how can I tell what is the problem with my tests?
thanks

@sivanisentinel
Hello,
This information is not sufficient to reproduce the issue. Could you please share a simple project with us? We'll examine it and check for a suitable solution.

@Farfurix hi
I'm working with @sivanisentinel.
Unfortunately we cannot give you access to our codebase...  I don't think that any organization will...
We have a serious running issue and we have no way to properly debug it and understand if a test hangs or not.
Can you please assist with how we can do better debugging?
We are running a nightly over Jenkins inside a headless chrome

Hi @doronsever
Your environment is very complex: Jenkins, a custom test reporter, etc. It's difficult to find the cause of the issue based on the provided test report.
I can recommend the following steps for debugging:

Update to the latest stable TestCafe version (1.8.5);
Run your test suite a few times. If the issue is stably reproduced, try to reproduce it on the local machine. Then, try to create a small reproducible example.

Unfortunately we cannot give you access to our codebase

We don't need access to your code base. We need a simple example to run it locally. It will allow us to quickly reproduce the issue. If you can provide such an example, feel free to reopen this issue.

@miherlosev What you are basically is saying is that your product is not designed to support big enterprise product. That’s a shame. Debugging tools is a minimum in order to find memory leaks. Even in our code while running inside your framework

@doronsever
It looks like we cannot suggest any tool to diagnose the exact cause of the problem in this situation. In a complex environment like yours, a problem can be connected to any part of the environment (e.g. it can be an issue with a test itself, a network issue, a Jenkins related issue, an issue in the custom Reporter plug-in you are using, and so on). In this case, we suggest you determine which part of your test setup leads to the problem.
If a test constantly fails, we suggest running it locally to determine whether or not this is a problem with the test itself, and not a network/Jenkins related issue. If the problem is indeed connected to a certain test, you may consider debugging this test as described in the https://devexpress.github.io/testcafe/documentation/recipes/debugging/visual-studio-code.html article.


Istio ingress gateway to access Kafka examples?

Hello, I'm trying to set up confluent platform and make kafka accessible via istio's ingress gateway, but I can't get it to work and I cannot find anywhere in documentation or submitted issues of anyone attempting to make it work behind istio ingress gateway.
I get these messages from fluentbit with the kafka conf set to send to brokers via the value:
    kafka:
      enable: true
      brokers: "kafka.mydomain.com:80"
      topics: ks-log

for reference it is taken from here
https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/values.yaml#L124
here are the messages I get
[2022/06/17 19:29:01] [ warn] [output:kafka:kafka.0] message delivery failed: Local: Message timed out
[2022/06/17 19:29:01] [ warn] [output:kafka:kafka.0] message delivery failed: Local: Message timed out
[2022/06/17 19:29:01] [ warn] [output:kafka:kafka.0] message delivery failed: Local: Message timed out
[2022/06/17 19:29:01] [ warn] [output:kafka:kafka.0] message delivery failed: Local: Message timed out
[2022/06/17 19:29:01] [ warn] [output:kafka:kafka.0] message delivery failed: Local: Message timed out
[2022/06/17 19:29:01] [error] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:app]: fluent-bit#producer-1: kafka.mydomain.com:80/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 9999ms in state APIVERSION_QUERY, 3 identical error(s) suppressed)
[2022/06/17 19:29:04] [error] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:kafka.mydomain.com:80/bootstrap]: 1/1 brokers are down
[2022/06/17 19:29:11] [error] [filter:kubernetes:kubernetes.1] kubelet upstream connection error
[2022/06/17 19:29:15] [ info] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:kafka.mydomain.com:80/bootstrap]: kafka.9tlat6vp.wooden-proton.com:80/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 10001ms in state APIVERSION_QUERY, 3 identical error(s) suppressed)
[2022/06/17 19:29:15] [error] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:kafka.mydomain.com:80/bootstrap]: 1/1 brokers are down
[2022/06/17 19:29:21] [error] [filter:kubernetes:kubernetes.1] kubelet upstream connection error
[2022/06/17 19:29:26] [error] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:kafka.mydomain.com:80/bootstrap]: 1/1 brokers are down
[2022/06/17 19:29:31] [error] [filter:kubernetes:kubernetes.1] kubelet upstream connection error
[2022/06/17 19:29:37] [error] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:kafka.mydomain.com:80/bootstrap]: 1/1 brokers are down
[2022/06/17 19:29:41] [error] [filter:kubernetes:kubernetes.1] kubelet upstream connection error
[2022/06/17 19:29:48] [ info] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:kafka.mydomain.com:80/bootstrap]: kafka.9tlat6vp.wooden-proton.com:80/bootstrap: Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10 (see api.version.request) (after 10000ms in state APIVERSION_QUERY, 3 identical error(s) suppressed)
[2022/06/17 19:29:48] [error] [output:kafka:kafka.0] fluent-bit#producer-1: [thrd:kafka.mydomain.com:80/bootstrap]: 1/1 brokers are down
[2022/06/17 19:29:51] [error] [filter:kubernetes:kubernetes.1] kubelet upstream connection error

here are my istio objects:
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: confluent-gateway
  namespace: confluent
spec:
  selector:
    istio: ingressgateway # use Istio default gateway implementation
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - kafka.mydomain.com
    - control.mydomain.com
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: control-v-service
  namespace: confluent
spec:
  hosts:
  - control.mydomain.com
  gateways:
  - confluent-gateway
  http:
  - route:
    - destination:
        host: controlcenter
        port:
          number: 9021
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: kafka-v-service
  namespace: confluent
spec:
  hosts:
  - kafka.mydomain.com
  gateways:
  - confluent-gateway
  http:
  - route:
    - destination:
        host: kafka
        port:
          number: 9092

It is noteworthy that this works to get me into the control center following this model, but kafka brokers dont seem to be happy with the attempt. I also tried to change 9092 to 9097 (i believe in the quickstart it uses the internal port) but both have the same result.
Since confluent for kubernetes is obviously trying to work with Kubernetes I think it might be good to have an example in these kubernetes examples for istio ingress to work since Istio is so popular.
I'm not sure what else to try here. I thought maybe try looking at security.protocol configuration, but in the quickstart the client it set to plaintext, and according to librdkafka, which is what fluentbit uses
https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md
plaintext is the default so I dont think its because its trying to SSL or anything like that.

So I tried these instructions and wondering if fluentbit/fluentd which is very commonly used in k8s, as is istio, might not be compatible?
fluent uses librdkafka, is that compatible with the CFK kafka brokers? wondering if thats the issue. librdkafka has options such as ssl verify cert false, and it has just a regular ca/cert/key setup, whereas the docs have the keytool and truststore instructions im wondering if it must be a truststore/keytool setup for the client.

Btw wondering if my suspicion might be slightly confirmed here:
https://docs.confluent.io/platform/current/kafka/encryption.html
only keystore and truststore are shown, i feel like this implies a normal key/cert/ca will not be accepted.
otherwise i cannot find an extensive list of properties showing the options.

Librdkafka (and Java clients) do support ca certificate files
https://github.com/edenhill/librdkafka/blob/master/examples/openssl_engine_example.cpp#L192

Librdkafka (and Java clients) do support ca certificate files
https://github.com/edenhill/librdkafka/blob/master/examples/openssl_engine_example.cpp#L192

cannot find an extensive list of properties showing the options

https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md

Right but youre showing librdkafka's side. I'm saying and showing the confluent side doesn't show it. I literally linked that exact configuration.md in my original post. In fact that list proves my point. theres no truststore anywhere there.
Have you ever gotten CFK to work with fluent bit or librdkafka using the example here:
https://github.com/confluentinc/confluent-kubernetes-examples/tree/master/networking/external-access-static-host-based#appendix-istio-gateway

I haven't used this operator, but ignoring Kubernetes completely, here's a wiki page for translating JKS broker configurations into librdkafka client certificates, which as mentioned in your other issue, should be able to be passed as-is into fluentbit configuration using rdkafka.{property}
https://github.com/edenhill/librdkafka/wiki/Using-SSL-with-librdkafka

In any case, Kafka isn't an HTTP protocol, so configuring Istio to literally have protocol: HTTP seems like it wouldn't work.

In any case, Kafka isn't an HTTP protocol, so configuring Istio to literally have protocol: HTTP seems like it wouldn't work.

thats from before I found the official example, I then followed the example linked from confluent to try this which uses protocol: tls

I haven't used this operator, but ignoring Kubernetes completely, here's a wiki page for translating JKS broker configurations into librdkafka client certificates, which as mentioned in your other issue, should be able to be passed as-is into fluentbit configuration using rdkafka.{property}
https://github.com/edenhill/librdkafka/wiki/Using-SSL-with-librdkafka

this uses a ca, which I tried.
# CA certificate file for verifying the broker's certificate.
ssl.ca.location=ca-cert

again, ive gotten the example I linked set up. I got the producer cli to work and produce to the topic probably because that can take a truststore. What I couldn't get to work was librdkafka/fluent bit. As we can see in the configuration.md, there is no truststore. on the confluent side, there doesn't appear to be a "ca" option.

Unclear what you mean need to be configuring extra on the "Confluent side".
You say you have a CLI working? That's a Java client like kafka-console-producer or a librdkafka based client like kcat?

Unclear what you mean by needing to configure anything extra on the "Confluent side".

I'm talking about the official confluent docs for example in their encryption section:

Configure the password, truststore, and keystore in the server.properties file of every broker. Since this stores passwords directly in the broker configuration file, it is important to restrict access to these files using file system permissions.
they show some properties and theres a truststore, unsurprisingly, never a "ca" option. If there is one, I'm still looking for it.
furthermore, I found more examples of secrets being created using a ca, but in the end the client still uses a truststore, and I think the docs suggest that even if you use cert secrets confluent converts it to a truststore/keystore/jks

You say you have a CLI working? That's a Java client like kafka-console-producer or a librdkafka based client like kcat?

I used the official kafka-console-producer yeah exactly in the example. But thats not realistic, I then wanted to use something many kubernetes folks are expected to use, fluentbit and without the truststore option I had to try the librdkafka CA property, this didn't work.
So if anyone has gotten CFK to work with librdkafka id love to hear a success story. Right now I'm of the impression they arent compatible.

Heres an example of what I'm talking about:
https://github.com/confluentinc/confluent-kubernetes-examples/tree/master/security/autogenerated-tls_only

Create the kafka.properties file in $TUTORIAL_HOME with the above. The auto-generated certs will create a truststore and mount it on all Confluent Platform component pods at /mnt/sslcerts/truststore.jks. The default truststore password is mystorepassword.

So a CA is used in this example but in the end a truststore is created. the example client then uses a truststore of course.
I do not believe you can follow this example, then replace the client section with librdkafka

ill try this extraction bit then, its at least a new route to take.
Before, I had just provided the CA cert in the usual pki fashion. most kubernetes services ask for a ca to trust. but as said before It didn't seem to like it. Perhaps extracting it after the fact might result in success.

got it working see the librdkafka issue
https://github.com/edenhill/librdkafka/issues/3889
I didnt end up extracing the pem from the jks file, but that might also work if someone wants to try it. and I do think it was a good suggestion.


New BlipSprite Enum

    StuntRace = 435,
    HotProperty,
    KillListCompetitive,
    King = 439,
    DeadDrop,
    PennedIn,
    Beast,
    CrossTheLinePointer,
    CrossTheLine,
    LamarD,
    Bennys,
    LamarDNumber1,
    LamarDNumber2,
    LamarDNumber3,
    LamarDNumber4,
    LamarDNumber5,
    LamarDNumber6,
    LamarDNumber7,
    LamarDNumber8,
    Yacht,
    FindersKeepers,
    Briefcase2,
    ExecutiveSearch,
    Wifi,
    TurretedLimo,
    AssetRecovery,
    YachtLocation,
    Beasted,
    Loading,
    SlowTime = 466,
    Flip,
    ThermalVision,
    Doped,
    Railgun,
    Seashark,
    Blind,
    Warehouse,
    WarehouseForSale,
    Office,
    OfficeForSale,
    Truck,
    SpecialCargo,
    Trailer,
    VIP,
    Cargobob,
    AreaCutline,
    Jammed,
    Ghost,
    Detonator,
    Bomb,
    Shield,
    Stunt,
    Heart,
    StuntPremium,
    Adversary,
    BikerClubhouse,
    CagedIn,
    TurfWar,
    Joust,
    Weed,
    Cocaine,
    IdentityCard,
    Meth,
    DollarBill,
    Package2,
    Capture1,
    Capture2,
    Capture3,
    Capture4,
    Capture5,
    Capture6,
    Capture7,
    Capture8,
    Capture9,
    Capture10,
    Quadbike,
    Bus,
    DrugPackage,
    Hop,
    Adversary4,
    Adversary8,
    Adversary10,
    Adversary12,
    Adversary16,
    Laptop,
    Motorcycle,
    SportsCar,
    VehicleWarehouse,
    Document,
    PoliceStationInverted,
    Junkyard,
    PhantomWedge,
    ArmoredBoxville,
    Ruiner2000,
    RampBuggy,
    Wastelander,
    RocketVoltic,
    TechnicalAqua,
    TargetA,
    TargetB,
    TargetC,
    TargetD,
    TargetE,
    TargetF,
    TargetG,
    TargetH,
    Juggernaut,
    SteeringWheel = 545,
    Cup,
    RocketBoost,
    Rocket,
    MachineGun,
    Parachute2,
    FiveSeconds,
    TenSeconds,
    FifteenSeconds,
    TwentySeconds,
    ThirtySeconds,
    WeaponSupplies,
    Bunker,
    APC,
    Oppressor,
    HalfTrack,
    DuneFAV,
    WeaponizedTampa,
    WeaponizedTrailer,
    MobileOperationsCenter,
    AdversaryBunker,
    BunkerVehicleWorkshop,
    WeaponWorkshop,
    Cargo,
    GTAOHangar,
    TransformCheckpoint,
    TransformRace,
    AlphaZ1,
    Bombushka,
    Havok,
    HowardNX25,
    Hunter,
    Ultralight,
    Mogul,
    V65Molotok,
    P45Nokota,
    Pyro,
    Rogue,
    Starling,
    Seabreeze,
    Tula

@qiangqiang101 Sorry for late reply, I was porting v3 code to C# when you made this issue, and I was busy with the PR.
I just tested all the blips you listed, will add them soon.


Pass grafana host/ip as env variable when running grafana and grafana-reporter with docker-compose

Hi Izak,
I'm running Grafana and Grafana-Reporter using docker-compose behind Nginx reverse proxy.
Grafana is served from localhost/grafana-dashboard using Nginx that proxy_pass to http://grafana:3000/
Grafana Reporter is served from http://localhost/grafana-reporter/ using Nginx as well that proxy_pass to http://grafana-reporter:8686/api/v5/report/
Now I have a link on grafana to generate PDF using grafana-reporter that points to:
http://localhost/grafana-reporter/$reportsDashboard?apitoken=$reporterToken&from=now-30d&to=now
It looks that Nginx proxy the request as expected, but since grafana-reporter is running on static-network, it cannot reach localhost:3000 where it expects to reach grafana, since localhost points to itself as docker container where grafana-reporter leaves. The error I get from grafana-reporter is:
dial tcp <IP_ADDRESS>:3000: getsockopt: connection refused
The question is, is there a way to pass Grafana IP/HOST to grafana-reporter container as Env variable, or is there some other way to run grafana-reporter with the IP flag using docker-compose.config file?
Thanks

I've also tried to overwrite the default Dockerfile entrypoint with docker-compose command attribute as follows in my docker-compose.config.yml:
version '3.4' services:    grafana-reporter:       container_name: grafana-reporter       command: bash -c "/usr/local/bin/grafana-reporter -ip=grafana:3000"       networks:         - static-network       ports:         - 8686:8686       restart: always
grafana-reporter logs says:

2019/02/06 13:10:26 grafana reporter, version: 2.1-0 hash: 997082a234c053fad981efaccf3f2332c6ba5ed2
2019/02/06 13:10:26 serving at ':8686' and using grafana at 'localhost:3000'
So it looks like grafana-reporter is still expecting to find grafana on localhost:3000

Finally I've found the way to pass "grafana" host to grafana-reporter container:
Since grafana-reporter has an entrypoint we can pass additional params to it using "command" attribute:
grafana-reporter:
      container_name: grafana-reporter
      command: -ip=grafana:3000
      networks:
        - static-network
      ports:
        - 8686:8686
      restart: always

Glad you sorted it out. Thanks for letting us know.
I don't use the docker compose for deploying, so I don't know all the options off hand.

From: Arik Yudin<EMAIL_ADDRESS>Sent: Monday, 11 February 2019 16:47
To: IzakMarais/reporter
Cc: Subscribed
Subject: Re: [IzakMarais/reporter] Pass grafana host/ip as env variable when running grafana and grafana-reporter with docker-compose (#112)
Finally I've found the way to pass "grafana" host to grafana-reporter container:
Since grafana-reporter has an entrypoint we can pass additional params to it using "command" attribute:
grafana-reporter:
  container_name: grafana-reporter

  command: -ip=grafana:3000

  networks:

    - static-network

  ports:

    - 8686:8686

  restart: always

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@yudarik I am facing similar problem as you in the past, is there a way to use docker run i.e. pass arguments instead of compose ?
I am using currently docker run and host:
sudo docker run -d \
--name="exporter" \
--restart=unless-stopped \
--network="host" \
--user root \
izakmarais/grafana-reporter

but this is bypassing HTTPS and getting connection via HTTP http://ms.azure.device.com:8686/api/v5/report/ybG8WXyZz?apitoken=MYIPKEY
I need HTTPS
https://ms.azure.device.com/api/v5/report/ybG8WXyZz?apitoken=MYIPKEY
Nginx reverse proxy issue

Hi @salvq,
I'm not sure I've followed your question... What exactly are you trying to achieve?
if you will find a way to pass --command along with "docker run -d..." as I did with the docker-compose.yaml, should this solve your problem?

@yudarik thanks for getting back and I appreciate your answer.
Here is my use case, running both Grafana and reporter on the same host (azure VM) and also running Nginx reverse proxy as a standard host service (not in docker).
Grafana runs in one docker instance and reporter on different docker instance, see below. This is the only way I was able to generate the link that create PDF report). However I am worry about the link using HTTP. I am logging in Grafana via https://example.azure.com therefore was expecting report link to be https://example.azure.com/api/v5/report/ybG8WXyZz?apitoken=MYIPKEY
How to create Grafana and Grafana reporter docker instances that will allow me to use https://example.azure.com/api/v5/report/ybG8WXyZz?apitoken=MYIPKEY and this link I will add to grafana dashboard ?

Here how I've solved the issue:
First of all, that's not a good idea to expose grafana reporter port 8686 to the entire word, that's why we use Nginx proxy....

Add a rule on your nginx config, that will proxy all request from /grafana-report/ to grafana-reporter api. Something like:

location /grafana-report/ {
proxy_pass http://grafana-reporter:8686/api/v5/report/;
}

where grafana-reporter is the docker container name.

On your grafana dashboard, add a link to the PDF report that will look like:
http://ms.azure.device.com/grafana-report/ybG8WXyZz?apitoken=MYIPKEY

That way, nginx will proxy all requests to /grafana-report/xyz to http://grafana-reporter:8686/api/v5/report/xyz

Hope this solves your use-case.

@yudarik thanks a lot for your valuable information, also regarding the ports (they are disabled in firewall however better as you suggested will be to not use -p at all and rather use --expose.
Just when I tried to put new location as you suggested I am getting an error and need to be honest I am not very good at nginx at all, just starting :)
What do I need to do to make this config to work ? Do I need to create new folders or kind of condition within config file ?

aqmp@aqmp:/var/www/ms.azure.device.com/html$ sudo nginx -t
nginx: [emerg] host not found in upstream "grafana-reporter" in /etc/nginx/sites-enabled/ms.azure.device.com:13
nginx: configuration file /etc/nginx/nginx.conf test failed
aqmp@aqmp:/var/www/ms.azure.device.com/html$
aqmp@aqmp:/var/www/ms.azure.device.com/html$ sudo nano /etc/nginx/sites-available/ms.azure.device.com

server {

        root /var/www/ms.azure.device.com/html;
        index index.html index.htm index.nginx-debian.html;

        server_name ms.azure.device.com;

        location / {
                proxy_pass http://localhost:3000;
        }

        location /grafana-report/ {
                proxy_pass http://grafana-reporter:8686/api/v5/report/;
        }

    listen [::]:443 ssl ipv6only=on; # managed by Certbot
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/ms.azure.device.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/ms.azure.device.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
    if ($host = ms.azure.device.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot

        listen 80;
        listen [::]:80;

        server_name ms.azure.device.com;
    return 404; # managed by Certbot

}

Nginx cannot find grafana-reporter host....
Your grafana-reporter container is named "exporter"

sudo docker run -d \ --name="exporter" \ --restart=unless-stopped \ --network="host" \ --user root \ izakmarais/grafana-reporter

So you need to refer to the same exact name in your rule in nginx.conf:
proxy_pass http://exporter:8686/api/v5/report/;
The same goes for grafana container. Change your rule for location /to proxy to http://grafana:3000;
Hope this will work now

aqmp@aqmp:/etc/nginx$ sudo docker container ps -a
CONTAINER ID        IMAGE                         COMMAND                  CREATED             STATUS              PORTS                    NAMES
63a3fe3b7d6f        izakmarais/grafana-reporter   "/usr/local/bin/graf…"   12 seconds ago      Up 10 seconds       8686/tcp                 exporter
029304e4013b        grafana/grafana               "/run.sh"                7 days ago          Up 3 days           <IP_ADDRESS>:3000->3000/tcp   grafana
1d006ba6b0ab        amqp                          "python3 ./readIotHu…"   2 weeks ago         Up 3 days                                    amqp
189d6517cfa3        influxdb                      "/entrypoint.sh -con…"   3 weeks ago         Up 3 days           8086/tcp                 influxdb

```aqmp@aqmp:/etc/nginx$ sudo nano /etc/nginx/sites-enabled/ms.azure.device.com

        location /grafana-report/ {
                proxy_pass http://exporter:8686/api/v5/report/;
        }

aqmp@aqmp:/etc/nginx$ sudo nginx -t
nginx: [emerg] host not found in upstream "exporter" in /etc/nginx/sites-enabled/faurecia.westeurope.cloudapp.azure.com:13
nginx: configuration file /etc/nginx/nginx.conf test failed
aqmp@aqmp:/etc/nginx$

@yudarik I was able to run and move forward however still some issue, can you help please ?
I have to change nginx conf file to use localhost instead of container name (even alias net did not help, this is ok for now this I will solve later).
        location / {
                proxy_pass http://localhost:3000;
        }

        location /grafana-report/ {
                proxy_pass http://localhost:8686/api/v5/report/;
        }

However when I run the reporter container and put link in browser I am getting this errors in shell
Link
https://ms.azure.devices.com/grafana-report/ybG8WXyZz?apitoken=myIPtokenSecret
Shell logging
aqmp@aqmp:/etc/nginx$ sudo docker run \
> --name="exporter" \
> --net-alias=exporter \
> --restart=unless-stopped \
> --network=monitoring \
> -p 8686:8686 \
> --user root \
> izakmarais/grafana-reporter
2020/02/06 11:23:58 grafana reporter, version: 2.3-1 hash: 6cfc3e220dc4f8fc0175ae0ec8698d35546d8c10
2020/02/06 11:23:58 serving at ':8686' and using grafana at 'http://localhost:3000'
2020/02/06 11:23:58 SSL check enforced
2020/02/06 11:23:58 Using sequential report layout. Consider enabling 'grid-layout' so that your report more closely follow the dashboard layout.
2020/02/06 11:24:16 Reporter called
2020/02/06 11:24:16 Called with api Token: myIPtokenSecret
2020/02/06 11:24:16 Called without variable
2020/02/06 11:24:16 Called with dashboard: ybG8WXyZz
2020/02/06 11:24:16 Called with time range: {now-1h now}
2020/02/06 11:24:16 Connecting to dashboard at http://localhost:3000/api/dashboards/uid/ybG8WXyZz
2020/02/06 11:24:16 Error generating report: error fetching dashboard ybG8WXyZz: error executing getDashboard request for http://localhost:3000/api/dashboards/uid/ybG8WXyZz: Get http://localhost:3000/api/dashboards/uid/ybG8WXyZz: dial tcp <IP_ADDRESS>:3000: getsockopt: connection refused

a this in web browser:
error fetching dashboard ybG8WXyZz: error executing getDashboard request for http://localhost:3000/api/dashboards/uid/ybG8WXyZz: Get http://localhost:3000/api/dashboards/uid/ybG8WXyZz: dial tcp <IP_ADDRESS>:3000: getsockopt: connection refused

The only way how it works so far is to use host network instead of my custom bridge network. Do I have wrong bridged network setup or missing some settings that reporter does not works within custom network and also nginx reporting issues using hostnames values (need to use localhost), what to check ?
aqmp@aqmp:/etc/nginx$ sudo docker run --name exporter --restart=unless-stopped --network **"host"** -p 8686:8686 --user root izakmarais/grafana-reporter
WARNING: Published ports are discarded when using host network mode
2020/02/06 12:09:16 grafana reporter, version: 2.3-1 hash: 6cfc3e220dc4f8fc0175ae0ec8698d35546d8c10
2020/02/06 12:09:16 serving at ':8686' and using grafana at 'http://localhost:3000'
2020/02/06 12:09:16 SSL check enforced
2020/02/06 12:09:16 Using sequential report layout. Consider enabling 'grid-layout' so that your report more closely follow the dashboard layout.
2020/02/06 12:09:24 Reporter called
2020/02/06 12:09:24 Called with api Token: myIPtokenSECRET
2020/02/06 12:09:24 Called without variable
2020/02/06 12:09:24 Called with dashboard: ybG8WXyZz
2020/02/06 12:09:24 Called with time range: {now-1h now}
2020/02/06 12:09:24 Connecting to dashboard at http://localhost:3000/api/dashboards/uid/ybG8WXyZz
2020/02/06 12:09:24 Populated dashboard datastructure: {Title:Dashboard 1 Description: VariableValues: Rows:[] Panels:[{Id:73 Type:table Title:Last Status (3 days window) GridPos:{H:5 W:12 X:0 Y:0}} {Id:60 Type:grafana-piechart-panel Title: GridPos:{H:9 W:6 X:12 Y:0}} {Id:68 Type:graph Title: GridPos:{H:9 W:6 X:18 Y:0}} {Id:18 Type:graph Title:OEE trend GridPos:{H:6 W:12 X:0 Y:5}} {Id:4 Type:gauge Title: GridPos:{H:4 W:4 X:12 Y:9}} {Id:6 Type:gauge Title: GridPos:{H:4 W:4 X:16 Y:9}} {Id:15 Type:singlestat Title:Good Units GridPos:{H:2 W:4 X:20 Y:9}} {Id:71 Type:singlestat Title:Rejected Units GridPos:{H:2 W:4 X:20 Y:11}} {Id:39 Type:singlestat Title:Machine Available Time GridPos:{H:2 W:4 X:12 Y:13}} {Id:44 Type:singlestat Title:Expected Units GridPos:{H:2 W:4 X:16 Y:13}} {Id:58 Type:graph Title:Quality Trend GridPos:{H:5 W:4 X:20 Y:13}} {Id:12 Type:singlestat Title:Machine Running Time GridPos:{H:2 W:4 X:12 Y:15}} {Id:43 Type:singlestat Title:Produced Units GridPos:{H:2 W:4 X:16 Y:15}} {Id:72 Type:graph Title:Availability Trend GridPos:{H:5 W:4 X:12 Y:17}} {Id:13 Type:graph Title:Machine Cycle Time Trend GridPos:{H:5 W:4 X:16 Y:17}}]}
2020/02/06 12:09:24 Downloading image  73 http://localhost:3000/render/d-solo/ybG8WXyZz/_?from=now-1h&height=500&panelId=73&theme=light&to=now&width=1000

Hey there,
Honestly I'm not a big expert in docker networks but, it sounds that grafana-reporter cannot reach out grafana at http://localhost:3000 since localhost refers it's it's internal reporter container network. Since docker containers are isolated environments, when you say localhost, it means container self localhost, and not the host (the linux host). So the way to communicate between containers, is to setup a "static-network" and call each container API, by http://[container name]:[exposed port]. In such way docker is managing the static network, and proxing the request between the relevant containers networks by their names. Again I'm not an expert, but that how I see it.
Now, I don't really like the "docker run" way to execute the containers, since you need to provide all the params inline. I do prefer docker-compose way, where you define all that in a docker-compose.yaml file.
So here's a snippet of my docker-compose.config.yaml that works for me:
version: '3.4'

services:
   nginx:
      restart: always
      depends_on:
       - webapi
      ports:
       - 443:443
       - 80:80
      networks:
       - static-network

   grafana:
      container_name: grafana
      networks:
        - static-network
      ports:
        - 3000:3000
      restart: always
      volumes:
        - grafana_stor:/var/lib/grafana
      environment:
        - GF_ANALYTICS_REPORTING_ENABLED=false
        - GF_PATHS_PLUGINS=/data/grafana/plugins
        - GF_SERVER_DOMAIN=localhost
        - GF_SERVER_ROOT_URL=https://localhost/grafana-dashboard/
        - GF_AUTH_ANONYMOUS_ENABLED=true
        - GF_SECURITY_ALLOW_EMBEDDING=true

   grafana-reporter:
      container_name: grafana-reporter
      command: -ip=grafana:3000
      networks:
        - static-network
      ports:
        - 8686:8686
      restart: always

volumes:
   influxdb: {}
   grafana_stor: {}

networks:
  static-network:
    ipam:
      config:
        - subnet: <IP_ADDRESS>/16

And here's part of my nginx.cong:
server {
  listen  80;
  charset utf-8;
  client_max_body_size 512M;
  proxy_send_timeout 600;
  send_timeout 600;
  location / {
    rewrite ^ https://$host$request_uri? permanent;
  }
  location /grafana-dashboard/ {
    proxy_pass http://grafana:3000/;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_max_temp_file_size 0;
  }
  location /grafana-reporter/ {
    proxy_pass http://grafana-reporter:8686/api/v5/report/;
  }
}

Could be that since your Nginx is running as a service on the host, and not as a docker container, is the reason why it cannot resolve "exporter' host, since there is not such host on the host network. It's a host known only for the docker/docker-compose.
So I guess you will need to try running Nginx as a container instead to make it work.

Hi sir, thanks a lot for your valuable answer.
I will study your answer more deeply but running Nginx in docker I do think will solve the problem as you mention. Lesson learn for me is situation about localhost and it may not necessary mean linux host after all.
Thanks a again, so next round of try and fail... :)


refactor(docs): input docs expand

Please read and mark the following checklist before creating a pull request:

[x] I read and followed the CONTRIBUTING.md guide.
[x] I read and followed the New Feature Checklist guide.

But placeholder property also available for TextInput component in React Native. Should it be documented?

But placeholder property also available for TextInput component in React Native. Should it be documented?

@malashkevich asked

approved then 😄


Error when upgrading from v1.0.5 to v1.0.6

When installing latest version I get the following error. I've installed manually v1.0.5 to avoid this error  for now .
/projectDir/node_modules/react-native-firebase-analytics/android/src/main/java/com/evollu/react/fa/FIRAnalyticsModule.java:50: error: cannot find symbol
            FirebaseAnalytics.getInstance(getReactApplicationContext()).setCurrentScreen(currentActivity, name, null);
                                                                       ^
  symbol:   method setCurrentScreen(Activity,String,<null>)
  location: class FirebaseAnalytics
1 error
:react-native-firebase-analytics:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

+1 Same issue

This might be an issue with your firebase package being out of date?
setCurrentScreen was only added with v9.8 on Oct 24th https://firebase.google.com/support/release-notes/android

+1 any solution for this issue?

yes update your firebase package

I updated Android Studio to 2.2.1 and then issue solved.


TableCollection.columns does not return all unique values

Most likely a very generic problem, but using this specifically as it is reported by several webviz users.
This is expected to return all unique column names for a given table: https://github.com/equinor/fmu-sumo/blob/8164d5f173084e7798d5c1b98983af142306ef5f/src/fmu/sumo/explorer/objects/table_collection.py#L39
But I believe it ends up being limited to 2000 results here.
https://github.com/equinor/fmu-sumo/blob/8164d5f173084e7798d5c1b98983af142306ef5f/src/fmu/sumo/explorer/_utils.py#L31
Some of the FMU tables can have 10000+ columns, so this is limitation is a bit dangerous.
I'm not sure of the best solution here. Increasing the size might work for this use case, but there might be other unknown use cases that have much higher unique results.
Is it possible to run an explorative query first, e.g. with cardinality aggregation to get the approximate size?
Or alternatively some pagination, e.g. using sum_other_doc_count?
Or have it as metadata somehow?

Do you actually want to have a list of >1000 names returned, or do you want to have a filtering mechanism as well?

We want the full list. We do filtering and organizing when we have the list, but I don't think we want that logic in here.
That will be very domain specific and vary between different tables (summary, inplace, etc).


Remote validator cache behaviour

What kind of issue is this? (put 'x' between the square brackets)

[x] Feature Request. Make sure there's no good way to do what you want first;
consider asking on http://stackoverflow.com/questions/ask first.

Take this example -
I want coupon code to be validated in real-time, all coupons has an expiry date and max usage limit.

                  Coupon code
                  <input type="text" class="form-control" id="coupon-code" name="coupon[code]"
                         placeholder="Enter Coupon Code"
                         minlength="3"
                         data-parsley-success-class="has-success"
                         data-parsley-trigger="input"
                         data-parsley-remote
                         data-parsley-remote-validator="coupon"
                         data-parsley-remote-message="This coupon is invalid."
                         data-parsley-remote-options='{"type": "POST", "dataType": "json", "cache":"false"}'
                         data-parsley-debounce="500">

 Parsley.addAsyncValidator('coupon', function (jqXHR) {
    console.log(jqXHR.responseText);
    var message = 'This coupon is invalid.';
    var discount = 0;
    switch (jqXHR.status) {
      case 0:
        message = 'No internet connection. Verify Network.';
        break;
      case 200:
        // Update coupon amount coming from server
        discount = JSON.parse(jqXHR.responseText).data.discount;
        break;
      case 422:
        message = window.app.util.parseValidationErrors(jqXHR.responseText);
    }
    // Update coupon discount on view
   $('.coupon-discount').text(parseFloat(discount));
    // Set validation message coming from server
    this.$element.parsley({remoteMessage: message});
    // Field is valid only when status code is 200
    return 200 === jqXHR.status;

  }, '/validate-coupon.php');

Suppose user enter FREE50 and found it is a valid coupon code but later on (before submit) he tries some more coupons, lastly he goes with FREE50, in the meantime this coupon expires but Parsley will still show that it is a valid coupon.
Parsley cache remote responses and does not hit server again if the user input is already validated.
I thought that cache:false will work here, but not
 data-parsley-remote-options='{"type": "POST", "dataType": "json", "cache":"false"}'

jQuery $.ajax has an option disable cache. But Parsley does not respect it.
All I want Parsley to validate user inputs in real-time on user input.
PR #1074 caught my attention last night. I didn't go with a PR, I want to discuss it first here. May be i am the only one who has such scenario.

Same issue, is not enough with clean cache on submits, we need disable cache all time if we need it. Please fix this.

I understand the issue.
The cache can be very helpful while the user types in a field.
I'm wondering if there should be a setting to disregard the cache, or if it shouldn't always be disregarded when submitting.

Not sure it's the very best solution, but let's clear the cache before form submission.
Released 2.7.2.


[Search page] Inconsistent results are displayed when workshops are filtered according to the set age range

Environment: Win10 v21H2 64-bit, Chrome v 101.0.4951.54
Reproducible: always
Build found: frontend: gcp-0.0.73, backend: gcp-0.0.129
Preconditions

Go to OoS (https://oos.dmytrominochkin.cloud/#/) as unregistered user
The location is selected (e.g. Kyiv)
Go to the 'Search' page (=click on "Переглянути всі" link near the "Найпопулярніші гуртки" title)

Steps to reproduce

Set the age range in the 'Обрати вік' filter option from ‘6’ to ‘10’
Check that workshops displayed are filtered according to the set age range
Verify that the total number of the workshops filtered by the age range and displayed on the page is consistent with system records. Use the following SQL script:
SELECT count(w.ID) FROM Workshops w, Addresses a
WHERE w.AddressId = a.Id
AND a.City = 'Київ'
AND w.MinAge >= 6
AND w.MaxAge <= 10;

Actual result

The age range is set from ‘6’ to ‘10’

The workshops displayed include results that out of the set age range: from ‘3’ to ‘16’ years, from ‘3’ years, etc. (see the screen below)

The result returned by script is ‘2’ workshops that is inconsistent with the result displayed on the ‘Search’ page – ‘51’ workshops

The same bug appears when setting other age range, e.g. from ‘1’ to ‘18’, from ‘0’ to ‘1’, etc.; both for unregistered and registered user (Parent, SP).
Expected result

The age range is set from ‘6’ to ‘10’
The workshops displayed are filtered according to the set age range: from ‘6’ to ‘10’ years
The total number of the workshops filtered by the age range and displayed on the page is consistent with system records

User story and test case links
User story #12, User story #70
Test case OS-447, Test case OS-449
Labels to be added
"Bug", "pri: high", "severity: medium"

This bug is not relevant anymore.


Authorizing channels doesn't work

Package version
latest
Describe the bug
transmit.authorizeChannel<{ id: string }>('users/:id', (ctx: HttpContext, { id }) => {
return ctx.auth.user?.id === +id
})
the ctx.auth is undefined so you cannot authorize clients. I don't know if we need to add the auth middleware but in the documentation is nothing about it.
Reproduction repo
No response

Hey @radudalbea! 👋🏻
Have you installed the auth module of AdonisJS?

Hey @RomainLanz
yes I did. you can test this with the most basic adonis setup with auth and transmit.
the only solution I have found to make this work is to override the transmit provider boot method, call my provider instead of the package one and to register the routes myself attaching the auth middleware.
router
.group(() => {
router.get('__transmit/events', (ctx) => {
transmit.$createStream(ctx);
});
router.post('__transmit/subscribe', (ctx) => {
  const uid = ctx.request.input('uid');
  const channel = ctx.request.input('channel');
  const success = transmit.$subscribeToChannel(uid, channel, ctx);

  if (!success) {
    return ctx.response.badRequest();
  }

  return ctx.response.noContent();
});

router.post('__transmit/unsubscribe', (ctx) => {
  const uid = ctx.request.input('uid');
  const channel = ctx.request.input('channel');

  const success = transmit.$unsubscribeFromChannel(uid, channel, ctx);

  if (!success) {
    return ctx.response.badRequest();
  }

  return ctx.response.noContent();
});

})
.use(middleware.auth());
Also the documentation is kind of confusing. For example there is this: https://docs.adonisjs.com/guides/digging-deeper/transmit#register-routes that says that you can register routes with transmit.registerRoutes() but this method doesn't exist.
Thanks,
Radu

What version of Transmit are you using?

"@adonisjs/transmit": "^0.4.2",

So I see that the latest version on git is 2.0.2 but I have installed the package using the official documentation so
node ace add @adonisjs/transmit and the funny thing is that I have installed it last week. I did it again right now and it seems that the installer gets version 0.4.2

That's probably a mistake on my side. I don't remember using any feature that requires 20.11.
I will double-check that and update the library accordingly.

Hei @RomainLanz
I have tested version 2.0.2 and it works but you need to change the documentation with the following:

transmit.authorizeChannel is now transmit.authorize
for authorizing channels users need to to something like

transmit.registerRoutes((route) => {
  route.middleware([middleware.auth()]);
});

Thanks for the help and great job with all these packages.

The documentation is already up to date with the new version; you may have read the article instead, which was written when V1 was around.
Closing since your issue is fixed, enjoy using AdonisJS! 🙌🏻


Drop support for php5.3, use maybe 5.6 or 7

Is there any benefit in dropping 5.3?
I actually developed this in 7 and back-ported it. So everything works up to latest.

Apparently those versions are still pretty widely used though:
https://w3techs.com/technologies/details/pl-php/5/all
I'll drop support if it stops me progressing with development, otherwise, might as well support it right? 😀

Most of them use Wordpress haha :D
But you win ;)

@prisis aha, or just aren't updated, ever 😨


Dont create a new version if a macro has been opened in the editor and not changed

May I make a suggestion. Separate save and close buttons. Close should not mean save imo. If I chose to look at the seq in the editor and make no changes it should not do a save, update vers, or create a LiveTest seq that needs to be deleted or removed later on close . On the other hand if I make an edit there should be a save.

I do have some work on detecting if a change has been made.  This is a carry over from where I had to sacrifice the save button for space.  When it only edited the one macro this was easy now I need to do some work.

https://www.curseforge.com/forums/world-of-warcraft/addon-chat/frameworks/ace3/82305-acegui-and-show-event-timing-determing-if-edits

Need to revisit this properly - moving to 1.4

Occuring with 1.3.3 Create a 1.3.4

Using 1.3.3.  I don't seem to be able to create a new macro with the in game editor.
launch /gsse
click new
fill in all fields
close sequence editor window with close button
open /gsse again
new sequence name is not in the list
click 'new' again and my edited content is still in, or prepopulated to, the sequence editor window
/reload wipes temporary edits and sequence window is then empty

Searching GS-Core.lua with an external editor shows no sign of my new sequence.
Turning on debugger, I see "GS-SequenceEditor:   No Sequence Icon setting to" when clicking the New button.


Hyperparams arguments missing

Squeezenet Training Program: error: the following arguments are required: --model_dir, --train_tfrecord_filepaths, --validation_tfrecord_filepaths, --network, --num_classes, --num_gpus, --batch_size, --num_input_threads, --shuffle_buffer

Hi, does anybody know how to set the arguments? I did not find relating files in the repo, for example the tfrecord_filepaths...

These are command line arguments. So on the command line you would run
python train_squeezenet.py --model_dir=<path_to_model_dir> etc.
All the parameters are specified in https://github.com/vonclites/squeezenet/blob/master/arg_parsing.py
However, this was implemented using a very old version of Tensorflow... the API it uses might be deprecated by now. You may be better off using it as a guideline for a reimplementation in Tensorflow 2.

Also, the tfrecords aren't provided in this repository. You would have to create them. See https://github.com/vonclites/squeezenet/blob/f13555462e835409480829f8fdacac96835161e5/inputs.py#L169 for the fields the tfrecord examples are expected to have (an 'image' which is a string representing the filepath to the image and an int64 label).


CDN Uptime status link

The website under Status column links to the CDN uptime monitor to http://stats.pingdom.com/4jg86a2wqei0?utm_source=cdnjs&utm_medium=cdnjs_link&utm_campaign=cdnjs_footer.
Its better to link the secure version instead, https://secure-stats.pingdom.com/4jg86a2wqei0.

👋 Thanks for sharing this -- we're actually going to be moving away from Pingdom shortly, so I'll hold off on resolving this for now. The link will likely soon be removed from the site completely in favour of our main status page.

Linked now removed -- more metrics will be shared via status.cdnjs.com soon :)

Please correct me if I'm wrong, if cdnjs.com went down for some reason, how do we check the status? status.cdnjs.com would be down too at that time, right?

They are hosted on completely different services. The only situation in which both would be down if is DNS resolution was failing.

Yes, that is the most common way of "going down" not a DDoS.

We've never had DNS resolution issues be the cause of an outage for cdnjs.com -- the most common issue that would take the site down by far would be issues with the site host.
It's also worth noting that the core CDN service we provide is on a separate domain, cdnjs.cloudflare.com

issues with the site host.

I guess I should've said, common way which are not beyond your control. 😁
And both are tied to the same CloudFlare account, I presume?

No, they are in completely different accounts -- cdnjs.cloudflare.com is very isolated from anything else cdnjs related.


already initialized constant ...

I get a lot of warning of already initialized constants - see here: https://gist.github.com/1496980
gemfile.lock
jammit (0.6.5)
  yui-compressor (>= 0.9.3)
jammit-s3 (<IP_ADDRESS>)
  jammit (>= 0.5.4)
  mimemagic (>= 0.1.7)
  s3 (>= 0.3.7)

I played with nearly all combinations in gemfile to solve this problem.
If I only use jammit there is no warning - so it must be in jammit-s3.
Any ideas?

Its a wild guess here, but do you have both jammit and jammit-s3 declared in Gemfile?
jammit-s3 already depends on jammit, and I remember there was an issue when declaring both gems.
Try with just
gem 'jammit-s3'

yes, I tried with just
gem 'jammit-s3'
....

OK. I found the solution.
in routes.rb I had still still line : require 'jammit'
Removing it - removed the warning.


Document configuration & initialization

Please add documentation describing how to initialize and configure the PaymentClient class to the readme.
This information is currently documented at https://docs.cmtelecom.com/payments/v0.3, but it does not belong there.

Added examples on how to initialize the PaymentClient model, to the README. Re-used parts of the information, displayed on the documentation page, for this. Close issue.


Scope of by lazy objects

Hi, I followed your tutorial and found it rather nice and comprehensive.
There is, however, a bit of an issue with the lifetime of animation objects created by lazy on demand and stored indefinitely in a private val: there is no way to update the target if/when the view is recreated. For example, add navigation to the app, navigate to the second fragment, and go back — now SpringAnimation doesn't work, because it still targets a view that should be dead and destructed by now.
    private val springAnimationTranslationX: SpringAnimation by lazy(LazyThreadSafetyMode.NONE) {
        SpringAnimation(androidBot, DynamicAnimation.TRANSLATION_X).setSpring(springForce)
    }

    private val springAnimationTranslationY: SpringAnimation by lazy(LazyThreadSafetyMode.NONE) {
        SpringAnimation(androidBot, DynamicAnimation.TRANSLATION_Y).setSpring(springForce)
    }

I know this is meant to be a simple demo app, but IMHO it might confuse people who would copy-paste parts of the code without giving it a second thought.

It can be fixed by turning those lazy val fields into regular nullable var members, initializing them at the top of onViewCreated and cleaning them up in onDestroyView.
The amount of boilerplate is slightly concerning though. Why can't we just set/reset target objects of animations? I don't see why it wouldn't by a part of DynamicAnimation API.


Error: MDCSliderFoundation: value must be in [min, max] range. Current values: [value: 50, min: 5, max: 30]

Hi,
I just deployed jitaccess:1.7.0 on Cloud Run.
After selecting a role and clicking on "Request Access" the following error message appears:

Thank you for reporting this issue.  This error occurs when ACTIVATION_TIMEOUT is set to 50 or below (you seem to be using 30). I'll fix this shortly.
As a possible workaround, you could temporarily increase your ACTIVATION_TIMEOUT setting to 50.

Thanks for the quick reply and the fix.
Setting ACTIVATION_TIMEOUT to 50 did not work for me, but I built the image from the fix/timeout-slider branch and this works.

Great, thanks for confirming that the fix works. I'll close this issue then.


Does cerberus support pipeline read/write mode ?

Cerberus allows that a client sends an arbitrary number of commands at one socket write, but it doesn't support the MULTI or EXEC commands. In other words, pipelines with transaction are not supported.


feat: create kubesimplify Contributors page

Add a contributors  page
There are different sections like:

Link to Hashnode to publish a blog .
Details about the team members.
Amazing footer.

@lavakush07 can I try working on this, and isn't someone already working on the footer?

Hey @lavakush07 can you elaborate this more by adding screenshot and other details
p.s. i believe Ayush is working on footer so maybe that point can be avoided

@Shivansh-yadav13 is  working upon this.

@AvineshTripathi from where are we getting the list of contributors? Not sure of that, that's why I have not made a PR.

We don't need the contributors' pictures now @Shivansh-yadav13, you can make a pull request without pictures only.

@bhavyastar I'm sorry for not updating, I won't be able to work rn.

@bhavyastar I'm working on it and i'll make the pr.

I think we can close this issue since this page is not needed.


Weldr status always reports "devel" build

The issue
https://github.com/osbuild/osbuild-composer/blob/ca2dc71eea44d104d0943bad024e81cb229ee210/internal/weldr/api.go#L564
The return value is hardcoded so it reports "devel" regardless the build environment. This looks odd when we are shipping "devel" builds in Fedora and RHEL.
Proposed solution
Modify spec file to detect the build environment and report "prod" if it was build in Koji or Brew.

Modify spec file to detect the build environment and report "prod" if it was build in Koji or Brew.

This was actually meant to be used to report the build version, not just devel/prod. devel was a placeholder for running from git. In lorax-composer it was overridden by the build which wrote the spec's version-release to a file that was included at runtime so this should just be changed to return the value discussed in #1674

Modify spec file to detect the build environment and report "prod" if it was build in Koji or Brew.

This was actually meant to be used to report the build version, not just devel/prod. devel was a placeholder for running from git. In lorax-composer it was overridden by the build which wrote the spec's version-release to a file that was included at runtime so this should just be changed to return the value discussed in #1674

Ah nice, that would actually make things much simpler. WDYT @thozza @teg @ondrejbudai  ?

SGTM!

I fully agree.

Perfect, in that case we don't need to care about the devel/prod hacks.