Added firebase-installations

@suntrix you are contributor #1! 🥇
Isn't installations just  part of firebase-app? Would it not be better to add the API there instead of a separate module?

@suntrix you are contributor #1! 🥇
Isn't installations just part of firebase-app? Would it not be better to add the API there instead of a separate module?

🥳
I initially did that, but then I noticed they have a separate namespace for it & moved it to separate module.
TBH I'm good with either, I can move it back if you'd prefer that.

@nbransby any possibility to merge it this week?


Cuda hwaccel option added

Hi, we needed to add hardware acceleration support to increase the variety of quality we could get out of ffmpeg. So we did a quick R&D and the result is these changes.
From now on we could use the image we made base on your image and use '-hwaccel cuda' option in ffmpeg to acceleration convert process.
We hope it would be usefull for others too.
Tnx

Hi @kiandevops,
Sorry for the late response. I'll check this out soon.

Hi @kiandevops,
Sorry for the late response. I'll check this out soon.

Hi @kiandevops,
Sorry for the late response. I'll check this out soon.

Sorry for my late replies. I was too busy to check this pull request!

Hi @kiandevops,
Sorry for the late response. I'll check this out soon.

Sorry for my late replies. I was too busy to check this pull request!

Hi @kiandevops,
Sorry for the delay. I just tried running via docker-compose using the Dockerfile.cuda:
services:
  nginx-rtmp:
    build:
      context: .
      dockerfile: Dockerfile.cuda

However, I got the following:
λ docker-compose up
Recreating docker-nginx-rtmp_nginx-rtmp_1 ... done
Attaching to docker-nginx-rtmp_nginx-rtmp_1
nginx-rtmp_1  | /bin/sh: 1: nginx: not found

root@d9b2b5e6ff2d:/# which nginx
/usr/local/nginx/sbin/nginx
root@d9b2b5e6ff2d:/# nginx
bash: /usr/local/nginx/sbin/nginx: No such file or directory
root@d9b2b5e6ff2d:/#

Hi @kiandevops,
Sorry for the delay. I just tried running via docker-compose using the Dockerfile.cuda:
services:
  nginx-rtmp:
    build:
      context: .
      dockerfile: Dockerfile.cuda

However, I got the following:
λ docker-compose up
Recreating docker-nginx-rtmp_nginx-rtmp_1 ... done
Attaching to docker-nginx-rtmp_nginx-rtmp_1
nginx-rtmp_1  | /bin/sh: 1: nginx: not found

root@d9b2b5e6ff2d:/# which nginx
/usr/local/nginx/sbin/nginx
root@d9b2b5e6ff2d:/# nginx
bash: /usr/local/nginx/sbin/nginx: No such file or directory
root@d9b2b5e6ff2d:/#

Hi @kiandevops,
Sorry for the delay. I just tried running via docker-compose using the Dockerfile.cuda:
services:
  nginx-rtmp:
    build:
      context: .
      dockerfile: Dockerfile.cuda

However, I got the following:
λ docker-compose up
Recreating docker-nginx-rtmp_nginx-rtmp_1 ... done
Attaching to docker-nginx-rtmp_nginx-rtmp_1
nginx-rtmp_1  | /bin/sh: 1: nginx: not found

root@d9b2b5e6ff2d:/# which nginx
/usr/local/nginx/sbin/nginx
root@d9b2b5e6ff2d:/# nginx
bash: /usr/local/nginx/sbin/nginx: No such file or directory
root@d9b2b5e6ff2d:/#

Can you check?

It seams alpine binaries is not working in ubuntu. I changed the base image to ubuntu and everything is fine now. Why tests passed on travis?

Hi @kiandevops,
Sorry for the delay. I just tried running via docker-compose using the Dockerfile.cuda:
services:
  nginx-rtmp:
    build:
      context: .
      dockerfile: Dockerfile.cuda

However, I got the following:
λ docker-compose up
Recreating docker-nginx-rtmp_nginx-rtmp_1 ... done
Attaching to docker-nginx-rtmp_nginx-rtmp_1
nginx-rtmp_1  | /bin/sh: 1: nginx: not found

root@d9b2b5e6ff2d:/# which nginx
/usr/local/nginx/sbin/nginx
root@d9b2b5e6ff2d:/# nginx
bash: /usr/local/nginx/sbin/nginx: No such file or directory
root@d9b2b5e6ff2d:/#

Can you check?

It seams alpine binaries is not working in ubuntu. I changed the base image to ubuntu and everything is fine now. Why tests passed on travis?

Thanks. I'll check this out tonight and merge if all is good. Too bad cuda doesn't support Alpine/musl, though. :)

Why tests passed on travis?
They passed because building the image was successful. I'll need to add a check for testing runtime also.

Thanks. I'll check this out tonight and merge if all is good. Too bad cuda doesn't support Alpine/musl, though. :)

Why tests passed on travis?
They passed because building the image was successful. I'll need to add a check for testing runtime also.

Hey @kiandevops,
I pulled the latest and and it works on your image. However, it seems to be affecting the base image I have with the following issue when starting a stream:
nginx-rtmp_1  | 2021/01/30 03:45:29 [notice] 11#11: signal 17 (SIGCHLD) received from 13
nginx-rtmp_1  | 2021/01/30 03:45:29 [notice] 11#11: unknown process 13 exited with code 1
nginx-rtmp_1  | 2021/01/30 03:45:29 [info] 11#11: *1 exec: child 13 exited; ignoring, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935
nginx-rtmp_1  | 2021/01/30 03:45:29 [info] 11#11: *1 exec: terminating child 13, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935

I believe this is because if the HW_ACCEL envvar is not set, then it has the literal string in the nginx template:
exec ffmpeg ${HW_ACCEL} -i rtmp://localhost:1935/stream/$name

So it's causing an issue with exec on ffmpeg.
I rather not have the envvar for the base image, so can I suggest instead of modifying the default nginx.conf in the repo, you can run something like this in your image before CMD:
RUN sed -i "s/ffmpeg/ffmpeg ${HW_ACCEL}/g" /etc/nginx/nginx.conf.template

This way it doesn't affect the base image and nginx config file, but still applies the HW_ACCEL for your image only.
Thanks.

Hey @kiandevops,
I pulled the latest and and it works on your image. However, it seems to be affecting the base image I have with the following issue when starting a stream:
nginx-rtmp_1  | 2021/01/30 03:45:29 [notice] 11#11: signal 17 (SIGCHLD) received from 13
nginx-rtmp_1  | 2021/01/30 03:45:29 [notice] 11#11: unknown process 13 exited with code 1
nginx-rtmp_1  | 2021/01/30 03:45:29 [info] 11#11: *1 exec: child 13 exited; ignoring, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935
nginx-rtmp_1  | 2021/01/30 03:45:29 [info] 11#11: *1 exec: terminating child 13, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935

I believe this is because if the HW_ACCEL envvar is not set, then it has the literal string in the nginx template:
exec ffmpeg ${HW_ACCEL} -i rtmp://localhost:1935/stream/$name

So it's causing an issue with exec on ffmpeg.
I rather not have the envvar for the base image, so can I suggest instead of modifying the default nginx.conf in the repo, you can run something like this in your image before CMD:
RUN sed -i "s/ffmpeg/ffmpeg ${HW_ACCEL}/g" /etc/nginx/nginx.conf.template

This way it doesn't affect the base image and nginx config file, but still applies the HW_ACCEL for your image only.
Thanks.

Hey @kiandevops,
I pulled the latest and and it works on your image. However, it seems to be affecting the base image I have with the following issue when starting a stream:
nginx-rtmp_1  | 2021/01/30 03:45:29 [notice] 11#11: signal 17 (SIGCHLD) received from 13
nginx-rtmp_1  | 2021/01/30 03:45:29 [notice] 11#11: unknown process 13 exited with code 1
nginx-rtmp_1  | 2021/01/30 03:45:29 [info] 11#11: *1 exec: child 13 exited; ignoring, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935
nginx-rtmp_1  | 2021/01/30 03:45:29 [info] 11#11: *1 exec: terminating child 13, client: <IP_ADDRESS>, server: <IP_ADDRESS>:1935

I believe this is because if the HW_ACCEL envvar is not set, then it has the literal string in the nginx template:
exec ffmpeg ${HW_ACCEL} -i rtmp://localhost:1935/stream/$name

So it's causing an issue with exec on ffmpeg.
I rather not have the envvar for the base image, so can I suggest instead of modifying the default nginx.conf in the repo, you can run something like this in your image before CMD:
RUN sed -i "s/ffmpeg/ffmpeg ${HW_ACCEL}/g" /etc/nginx/nginx.conf.template

This way it doesn't affect the base image and nginx config file, but still applies the HW_ACCEL for your image only.
Thanks.

Hi, I just added this change. I hope everything works fine this time :)

Thank you! 👍

I'm setting up a tag on the Docker Hub build to publish as alfg/nginx-rtmp:cuda. I'll update the README with the Cuda option when it's complete.

Hi @hbahadorzadeh,
I already merged, but I just checked the latest image and it seems several linked libraries are missing. The latest image doesn't seem to work. Can you check into this?

Sure dear @alfg, I will check it and inform you.

Hey @hbahadorzadeh, don't worry about it. I've updated the build to use nvidia/cuda:11.1-*-ubuntu20.04`.

Wow! you did a great job man! Thanks.


Update FakeStudent to make Absence and Tardy events on dates

Who is this PR for?
developers, prospective districts
What problem does this PR fix?
The demo site can't run the migration from https://github.com/studentinsights/studentinsights/pull/1908#issuecomment-405705919, because the generates create data in the wrong shape - it creates times for Absence and Tardy records when production systems use dates.  So the migration making this stricter fails.
What does this PR do?
Updates the seed task to generate dates, so we can rebuild the demo site and migrate.

selfie


Add start-server to README

Where to find the issue
README.md
Describe the issue
The npm script command start-server is not yet documented in README.md. It was added in PR https://github.com/corona-warn-app/cwa-website/pull/2067 to solve a time-out issue.
Suggested change
Update README.md with the new information.

This issue is addressed by PR #2220.

The issue is now resolved through

PR #2220.


how to change e_wk in QP form???

I read your journal publication "Representation-Free Model Predictive Control for Dynamic Motions in Quadrupeds" very well and I have a question about this paper.
in your publication, we should make QP form with the cost function

but the problem arose in the cost of angular velocity

I think R_k is the unknown matrix that we should get from MPC.
So, I can't understand how to change e_Wk (30) to the QP form

I also saw your code here to find out how to do that.
However, this code shows only situations in which, Wdk = [0,0,0] (not gaiting) and RtkRdkWdk = [0,dth0,0] (I don't know why it's derived)

Could you show me how to change e_Wk to QP form???
Thank you ^^
P.S. As Your publication give many backgrounds, it is very good for novices like me ^^

Hi Jae-Bong,
That's a good question. Please take a look at the file "fcn_get_QP_form_eta.m"

Line 63,69 are the setup for the cost on the angular velocity.
In (30), you are right Rk is unknown and thus part of the decision variables.
But e_wk is in affine form of the variables, and its 2-norm can be incorporated in QP form.
Wdk is the desired angular velocity, which does not necessarily need to be [0,0,0]

Here, Xt is the initial condition.
Hope it helps!
Best,
Yanran

Thank you for your reply ^^
But, I can't understand what's the meaning of "its 2-norm can be incorporated in QP form."
Is it mean the e_wk can be represented in below form???

I think it is also impossible, and your publication said
x_k := [p_k, p_k_dot, xi, w].
not including Rk
Thank you.

Thank you for your response ^^
But, I can't understand the meaning of "its 2-norm can be incorporated in QP form."
Is that mean the e_wk can be represented in below form???

However, your publication said
x_k := [p_k, p_k_dot, xi_k, w_k].
not including Rk
Thank you.

I also saw "fcn_get_QP_form_eta.m".
but in this file, Rt is gotten from input variable


Feat : Add stored procedure

What kind of change does this PR introduce?
Hello, I implemented a method to make stored procedure call
What is the current behavior?
#26
What is the new behavior?

Call a stored procedure

Usage
            var parameters = new Dictionary<string, object>()
            {
                { "p1", "v1" },
                { "p2", "v2" }
            };
            var response = await client.Rpc("procedure_name", parameters);

@elrhomariyounes succinct! I think to keep things DRY we should refactor
Dictionary<string, string> Table.PrepareRequestHeaders(Dictionary<string, string> headers = null)
to
static Dictionary<string, string> **Helpers**.PrepareRequestHeaders(Dictionary<string, string> headers = null, ClientAuthorization authorization = null, ClientOptions options = null)
Then use the new function there to setup the Authentication call that Rpc is doing.
Thoughts?

@acupofjose Yes, I couldn't agree more


Developer command prompt

Start a terminal or command prompt for developers, with path set to include oc, odo, podman, etc.

See: https://github.com/code-ready/tray-electron/issues/73


named parameters section need more doc

Hello,
I posted an issue about a named parameters when using regex to capture them on https://github.com/strongloop/express/issues/2635; it looks like the named parameters section in Express documentation API could be improved by adding the path-to-regexp rules implemented in the version used by express.
Can you add some lines on what patterns are authorized (and what are not) to the doc please?

@strawhatgami That's a good suggestion.
It would be awesome if you could suggest specifically what should be added, since you are up on the details.  Even more awesome would be if you would make a PR for the change.  Thanks!

@crandmck Your propositions looks highly relevant, so allow me to suggest for my case specifically:
add to the section app.params, near the first mention of the capture of named parameters by regexp something like:
"
. can't be used to caputure a character in your capturing regexp. Use [\\s\\S] or [\\w\\W] instead.
Exemples:
//captures '1-a_6' but not '543-azser-sder'
router.get('/[0-9]+-[[\\w]]*', function);

//captures '1-a_6' and '543-az(ser"-sder' but not '5-a s'
router.get('/[0-9]+-[[\\S]]*', function);

//captures all (equivalent to '.*')
router.get('[[\\s\\S]]*', function);

"
However I supposed somebody watching this repository issues have some experience with path-to-regexp (maybe is one of the contributors) of the version used by Express and can be more rigorous and detailed than me in the explanations he/she can provide on Express doc.
For exemple the differences between express-style regexp and named parameters regexp can be explained better by somebody who have already an experience with both than me for now. Or he can simply provide a link to a doc I will have looked for for hours/days.
Nevertheless if you have no problem to wait a bit, I can make a PR in some days, when I'll have some experiences with named parameters.

@strawhatgami I think we can certainly wait for your PR. Thanks!
Naturally, input from anyone familiar with path-to-regexp is welcome as well.

@strawhatgami Do you think you'll have a chance to make a PR?

@crankcmd It was always planned!
Sorry to make you wait, but I had not much time to make my app evolve those last days. It's a personnal project I develop only on spare time, and that's not the only hobby I had.
Now I see there is not many things to add to my previous proposition; I'll submit it as it is, I think, unless you see anything to add?

Thanks!!


[POWERBIDEDICATED] Create a new extension for POWERBIDEDICATED

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/Juliehzl/azure-cli-extensions.git@powerbidedicated#subdirectory=src/$EXT&egg=$EXT"

/azp run

@Juliehzl Could you give a chance to leverage the new Linter and Extension Release Pipeline?

add to S167

What's policy.json?

add to S167


type introspection not working in dynamic_bridge and ros2 topic echo

This has been a problem since before the bouncy release. Coredx seems to know the types of messages that it sees, but when it needs to use that type on the fly it doesn't seem to work. The easiest example of that is with ros2 topic echo. I should be able to do the following and see the messages echoed out.

ros2 run demo_nodes_cpp talker in one terminal
ros2 topic echo chatter in another terminal
ros2 topic list -t does seem to correctly show the types, but for some reason we have to specify the when we call ros2 topic echo. ros2 topic echo chatter std_msgs/String`. This works on other middlewares and used to work on coredx.

We experience the same kind of issue with the dynamic bridge. I'm not sure if they're related. If you run ros2 run ros1_bridge dynamic_bridge, it should be able to dynamically bridge topics into ros1 only if a ros1 node is trying to subscribe to them. Instead, nothing gets through. We have to run ros2 run ros1_bridge dynamic_bridge -- --bridge-all-topics in order to get anything across. The problem with using that method, is that we get more traffic than we actually wanted going across the bridge.

It looks like the test (ros2 topic echo chatter) doesn't wait long enough for discovery to complete.   By adding a short delay (I tried 1 second) after creating the node, allowing discovery to complete, it then works as expected.
Because discovery is asynchronous and can be impacted by network speed, network load, number of peers, etc, the test should be written so that it waits until the requested topic is discovered, rather than exiting immediately.


[BUG] SkiaSharp Gray8 decoding returns null

Description
In SkiaSharp 1.60.3 loading an 8bit png would result in a bitmap with BytesPerPixel == 1.
In 1.68.0, BytesPerPixel == 4
Apparently now we need to pass in the codec when decoding to tell Skia it is an 8 bit image.
https://github.com/mono/SkiaSharp/issues/694#issuecomment-441078401
Code
// bytes = File.ReadAllBytes(....)
var stream = new MemoryStream(bytes);
var codec = SKCodec.Create(stream);
var imageInfo = new SKImageInfo(codec.Info.Width, codec.Info.Height, SKColorType.Gray8);
var bitmap = SKBitmap.Decode(codec, imageInfo);

Expected Behavior
BytesPerPixel == 1
Actual Behavior
bitmap == null
Basic Information

Version with issue:  1.68.0
Last known good version: 1.60.3
IDE:  Visual Studio Code
Platform Target Frameworks: netcoreapp3.0

Screenshots

Reproduction Link
Input image:

VS bug #770226

Same issue here. I'm using SkiaSharp 1.68.0.

Is this still an issue?


Multiple processes and Supervisor support

This pull request introduces the ability to declare multiple processes in your Procfile like:
web: gunicorn ...
task: python task.py
etc.
Also it detaches the apps into restarting supervisor processes which are safer than the current bash piping.

@progrium In fact I used to run Celery and WSGI by making uWSGI spawn and manage Celery. Works very well.


NIFI-6117: Fix BIGINT handling in DataTypeUtils

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Thanks @mattyb149 for your quick fix!
Other numerical types use isNumberTypeCompatible method for compatibility check. Can we use that one for BigInt, too?

@mattyb149 In order to align with other numeric types, I suggest separating the existing isIntegral method like below.

    public static boolean isBigIntTypeCompatible(final Object value) {
        return isNumberTypeCompatible(value, s -> isIntegral(s))
    }

    // We need something similar to isIntegral, but the value can be larger than the max long.
    // So let's extract the String validation part like this.
    private static boolean isIntegral(final String value) {
        if (value == null || value.isEmpty()) {
            return false;
        }

        int initialPosition = 0;
        final char firstChar = value.charAt(0);
        if (firstChar == '+' || firstChar == '-') {
            initialPosition = 1;

            if (value.length() == 1) {
                return false;
            }
        }

        for (int i = initialPosition; i < value.length(); i++) {
            if (!Character.isDigit(value.charAt(i))) {
                return false;
            }
        }

        return true;
    }

    // This one works as is. But we can use the same isIntegral(String) part.
    private static boolean isIntegral(final String value, final long minValue, final long maxValue) {

        if (!isIntegral(value)) {
            return false;
        }

        try {
            final long longValue = Long.parseLong(value);
            return longValue >= minValue && longValue <= maxValue;
        } catch (final NumberFormatException nfe) {
            // In case the value actually exceeds the max value of a Long
            return false;
        }
    }

@mattyb149 just wanted to check. Are you still working on this? Thanks!

I want to finish this out but haven't had the time, I can try to incorporate your comments this week, or if you'd like to do so, I can patch and review/merge in place, totally up to you :)

Ok, I submitted a PR to your branch. Please check it. I'm +1 with this PR once mine is merged too :)

+1 LGTM, thanks for getting this across the finish line. Merging to master


Make authoring steps fully configurable

PR simplifies authoring component and makes it fully customizable. No more hardcoded step numbers.
There's a new config param: authoringSteps. It can be overwritten using URL, e.g.:

http://models-resources.concord.org/plate-tectonics-3d/branch/flexible-authoring/index.html?authoring=true&authoringSteps=[presets,continents]
http://models-resources.concord.org/plate-tectonics-3d/branch/flexible-authoring/index.html?authoring=true&authoringSteps=[presets,forces,densities]

I used [a,b,c] syntax, as it seems pretty compact and easy to serialize and deserialize. I think regexp is strict enough to avoid problems in practice.
There'll be more changes to the authoring component soon, as I'm trying to make it work together with preset parameter (so you can preload model instead of picking one). And it'll work exactly the same way with modelId when it's ready.
UPDATE:
I've added new commit to this PR which ensures that authoring mode can be used with preset parameter too. It means we can combine authoring and existing model. I've also made sure that it'll support modelId parameter when it's implemented (but we'll need to double check it). Demo:
http://models-resources.concord.org/plate-tectonics-3d/branch/flexible-authoring/index.html?authoring=true&preset=subduction&authoringSteps=[continents,densities]

@ekosmin, before you merge it, please take a look at https://github.com/concord-consortium/plate-tectonics-3d/pull/16. I'm leaving this PR so it's easier to read diff, but it'd be nice to merge #16 instead.

Closing this in favor of #16, which includes a useful naming change


[Fix] Added missing filter option

Added the 'Timestamp' option in filter query to prevent flow errors

@appieschot : Thanks for your contribution! The author, @dan-wesley, has been notified to review your proposed change.

@MaggiePucciEvans Can you please review this change? Many thanks!


Fix hover events

Use closed variable in Area#onHover() and Area#onHoverEnd() instead of states
Used another approach for global onHover() etc events to reduce all future custom logic for these global event handlers, see new helper forAllCurrentAndFuture()

cool 🐸


Diebold-Nixdorf Agilis

Please provide the following information.

Diebold-Nixdorf
Agilis
Version(s) affected: 3.7 / Agilis 91x SP5 / Agilis NDx SP 7
Status:  Affected
Update Available:  No (patch expected 12/17/21
Notes: No impact if HF21013 has not been applied.  If HF21013 has been applied, update to HF19024 to close the immediate threat.
References: https://www.dieboldnixdorf.com/en-us/apache  - See PDF in link
Last Updated:  12/15/21

This product has been added to the repository. Thank you.


DataDomain - Incorrectly formatted

https://github.com/olahallengren/sql-server-maintenance-solution/blob/9ee2513a4156a7e7252a1cb430173421b3c71053/DatabaseBackup.sql#L3710
Failing to complete backups for 50+ databases that are scheduled when writing log files.
Update line 3710:
SET @CurrentCommand = 'declare @t table (msg nvarchar(MAX)); DECLARE @ReturnCode int; insert into @t (msg) EXECUTE @ReturnCode = dbo.emc_run_backup '''
"Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
String data, right truncation [SQLSTATE 01004]
Msg 16389, Sev 16, State 1: The connection is no longer usable because the server response for a previously executed statement was incorrectly formatted. [SQLSTATE 08S01]"
https://www.dell.com/support/kbdoc/en-ca/000168243?l
NetWorker_ MS Appagent SQL DB backups using T-SQL script fail _ Dell Canada.pdf
ang=en

DatabaseBackup.txt

Do you know if this is still needed with the latest version of Data Domain Boost?


RFP: Schema Development for Web Data Integration

RFP: Schema Development for Web Data Integration
Introduction
zkPass is a privacy-preserving oracle protocol that leverages zkTLS (3P-TLS and zero-knowledge proofs) to enable verifiable and private data sharing from various web data sources. This Request for Proposal (RFP) invites developers to participate in hackathons or bounty programs to create custom schemas that will expand zkPass’s ability to integrate diverse web data sources.
The main objective of this RFP is to enhance the zkPass ecosystem by enabling the integration of various web platforms, including financial services, e-commerce, social media, and more. Successful submissions will be rewarded based on the complexity and value of the integration.
Background
zkPass utilizes zkTLS to securely and privately verify web-based data, such as identities, financial information, and social media profiles, for use in on-chain applications. The core functionality of zkPass relies on integrating various data sources through schema mappings. Developers are invited to create custom schemas that will allow zkPass to interact with a broad range of data sources.
This RFP seeks developers who can adhere to zkPass's guidelines to build schemas for attestation and private data verification from web platforms, thereby enhancing zkPass’s integration capabilities.
Requirements
Participants are expected to:

Develop custom schemas for integrating new web data sources with zkPass.
Follow the schema creation guidelines provided in the zkPass tutorial examples.
Ensure compatibility of schemas with zkPass's zkTLS protocol and attestation mechanisms.
Submit high-quality, well-documented code demonstrating the integration of data sources such as financial institutions, e-commerce websites, social media platforms, gaming services, and more.

Technical Requirements

Familiarity with the standard TLS protocol.
Experience with API integration and schema mapping.
Basic understanding of data privacy principles and compliance with zkPass's technical mechanisms.

Submission Requirements
To be considered, your proposal must include:

A detailed explanation of the web data source you plan to integrate.
A technical breakdown of how the schema will function within the zkPass framework.
Clear code for the schema, ensuring ease of use and future scalability.
Optional: A demo or test case showing how the schema works with a live data source. Click Developer Guideline and front-end-JS-SDK to learn how to create a demo.

Schema Example
Developers have the flexibility to create customized schema files tailored to their specific business needs. This enables them to fully leverage the capabilities of zkPass, ensuring seamless data verification from specified sources.
For example, a developer working on a decentralized Web3 job recruitment platform might want users to verify:

Their work experience from Upwork
Their payroll statement from UOB Bank

To achieve this, the developer can create two distinct schemas utilizing the APIs provided by Upwork and UOB Bank. To generate a valid schema, developers must adhere to the established schema standards.
Here's an example of a schema configuration in JSON format:
{
  "issuer": "Quora",
  "desc": "The platform to ask questions and connect with people who contribute unique insights and quality answers.",
  "website": "https://www.quora.com/stats",
  "APIs": [
    {
      "host": "www.quora.com",
      "intercept": {
        "url": "graphql/gql_para_POST",
        "method": "POST",
        "query": [
          {
            "q": "UserStatsContentQuery",
            "verify": true
          }
        ]
      },
      "assert": [
        {
          "key": "data|viewer|__typename",
          "value": "Viewer",
          "operation": "="
        }
      ],
      "nullifier": "data|viewer|uid"
    }
  ],
  "HRCondition": [
    "Quora Account Owner"
  ],
  "tips": {
    "message": "When you successfully log in, please click the 'Start' button to initiate the verification process."
  }
}

more schema examples
📃 Notes on the Schema Example
issuer: Name of the data source, such as Twitter, Discord, etc.
desc: A detailed description of the schema.
website: Webpage link containing the specified APIs that return the data requiring verification. When a user initiates verification, the TransGate extension will display this page in the browser tab.
APIs: The RESTful APIs that return the specified data that needs to be verified. It is an array, meaning it can contain a series of APIs.

host: The host for the API.
intercept: Defines detailed information of the API. The TransGate extension will perform 3P-TLS for the API defined here.

url: Absolute path for the URL of the API.
method: HTTP method for the API.
query: Refers to query parameters in the HTTP request header.

key and value: Specify the key and value for the query. For instance, in the URL https://...?needBalanceDetail=true, it should be defined as "needBalanceDetail": "true".
verify: If the key and value need to undergo zero-knowledge verification, the value should be true or false.

header: Refers to header parameters in the HTTP request header.

key and value: Specify the key and value for the header. For instance, header graphql-operation: AvatarMenuQuery should be defined as "graphql-operation": "AvatarMenuQuery".
verify: If the key and value need to undergo zero-knowledge verification, the value should be true or false.

body: Refers to the body in the HTTP request.

key and value: Specify the key and value for the body.
verify: If the key and value need to undergo zero-knowledge verification, the value should be true or false.

assert: Defines the verification conditions.

key: Selector for the verified data field in JSON. Keys are separated by |.
value: The value is used for comparison with the data associated with the key defined above.
operation: The assertion condition should be one of the following: >, <, =, >=, <=, !=, in, contains.

nullifier: Selector for the unique identifier field in JSON in the data source, such as uid, id, etc.
HRCondition: Descriptions for each assertion.
tips: User tips which are displayed in the bottom right corner of the data source website.

Evaluation Criteria
Submissions will be evaluated based on:

Adherence to zkPass Guidelines: Does the schema follow zkPass's schema creation guidelines and is it compatible with zkPass's zkTLS?
Innovation: Is the data source unique or particularly valuable for zkPass’s ecosystem?
Technical Quality: Is the code well-written, efficient, and easy to integrate into the existing zkPass infrastructure?
Documentation: Is the schema clearly documented for future use and scalability?
Feasibility: Can the schema be practically used with real-world data sources?
Impact: Does the integration significantly enhance zkPass’s ecosystem by unlocking new use cases?

Application Instructions
To apply for this RFP, applicants are required to:

Review Requirements and Deliverables

Thoroughly review all listed requirements and deliverables to ensure a complete understanding of the RFP's scope and objectives.

Complete the Application Form

Fill out the application form below, including all requested information and schema proposals.

Submit Your Proposal

Submit your detailed proposal in the specified format as a comment on this GitHub Issue.

Seek Clarifications

If you have any questions or need further clarifications, please ask. We encourage you to seek any necessary information to fully understand the expectations and objectives of this RFP.

Proposals must be submitted as comments to this GitHub Issue.
Submission Form Template
👇 Please use the following template for your submission:
[Proposal Title]
Applicant Information:

Name:
Organization:
Contact Email:

Schema Proposal:

Data Source Name: [Provide a detailed description of the web data source you plan to integrate]
API Endpoint URL: [Provide a valid link to the API endpoint that returns the data you will use, including server response details]
Technical Breakdown: [Describe how the schema will function within the zkPass framework]
Schema Code: [Include a valid JSON schema that outlines the integration. Ensure the schema is well-structured and supports ease of use and future scalability.]
Optional - Demo/Test Case: [Include a demo or test case showing how the schema works with a live data source]

Can you tell how to use body and header ? There isnt any example on that.
Also can you make the schema validator extension open source, it would make verifying schemas alot more easier and I would like to create on top of itt too. Seems intresting.
Also fyi i am tring to use this api in schema, but cant makes heads or tails how to access it

here are 10 schemas (fully working and tested using schema verification extension).
https://github.com/ijlal321/zkPass-Web-Integration-Schemas

here are my schemas
https://github.com/karankoder/ZkVerse


Make mafia home Ambiata agnostic.

Is there any harm in making the MAFIA_HOME default to .mafia rather than using the ambiata prefix?
Obviously it'd need a migration of some sort.
@jystic

:+1: :+1:

@nhibberd How much will this break the CI caching?

It will reset all caches unless we set up some links etc

Can we hold off on this until we have time to deal with knock on consequences this will have a non-small impact on how infrastructure is currently configured.

@tmcgilchrist I'm going to take over this PR

Once this is merged we can switch the boris cache on and see if it works.

The new cache location for GHC 8.0.1 on OS/X is:
$HOME/.mafia/packages/2/x86_64-apple-darwin/8.0.1

the sandbox will be stored in:
.cabal-sandbox/x86_64-apple-darwin/8.0.1

:+1:

👍  thanks for the target thing


feat(input): animate inputs

Short description of what this resolves:
Material spec animates the input highlights, so should we.

Ionic Version: 1.x / 2.x
2.x
Fixes: #

This is awesome! There are a few minor issues. It is exceeding the item border when an icon is on the left and it isn't animating if the item already has a highlight (success/warning).
e2e test: http://localhost:8000/dist/e2e/input/fixed-inline-labels/
gif: http://g.recordit.co/yiXHpudWAT.gif

Closing this, there are conflicts and things that need to be fixed in order to merge it.


fix(tracing): sampled flags and propagation

Summary
fix an issue where incoming propagation headers with disabled sampling produced invalid propagation of noop spans and broken traces
This fix:

ensures propagation is not attempted on noop spans
ensures no span is sampled when sampling is disabled in the incoming headers
propagates the correct header when sampling is disabled in the incoming headers

Checklist

[X] The Pull Request has tests
[x] [not needed] There's an entry in the CHANGELOG
[x] [not needed] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference
https://konghq.atlassian.net/browse/KAG-1184
https://konghq.atlassian.net/browse/KAG-1176

I have a question after reviewing the code (though not related to the fix). If every node always inherits "should_sample", and none of the upstream nodes will ever send the trace, what's the point we propagate the tracing context via headers?

I think the answer is in here, for example: A component may also fall back to probability sampling and set the sampled flag to 1 for the subset of requests.. In other words we don't know whether upstream will use Deferred sampling or some other strategy so the right thing to do would be propagating the context.


RFP - the Swift programming language

Installer:
https://swiftforwindows.github.io/

Package is created.

https://chocolatey.org/packages/swiftforwindows; waiting for reviewers to complete their actions.

Package reviewed by @gep13; Issue can be closed!


Improve MetricsSuite to allow more gc jitter [databricks]

This PR closes #11122 by improving the robustness of the failed UT test case

build

build


Move kube-inject to apiserver

Since we are removing dependencies on k8s in istioctl, the remaining piece is moving kube-inject to an in-cluster service. I think we need to define an HTTP endpoint on apiserver that fulfills the proposed k8s web-hook admission controller and can be used by istioctl, thus removing any need for k8s auth in istioctl.
@andraxylia @ayj

Issue moved to istio/galley #14 via ZenHub


Boot up not working properly

Hey,
After setting up windows for my mac and following every step, I am greeted by this screen after the initial boot up.

I've tried navigating through the "exit" menu which hasn't changed anything.
Does anyone know how to resolve this issue?

Try a couple of "enter" pushed during a boot, before that screen appear. Does it work?


Corrects Inconsistency in Comments API (fixes #1380)

fixes #1380
Replaces the CreatedBy key with Creator key
Changes the structure of Creator attribute

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1542-1

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1542-2

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1542-3


Possible clipper bug?

Trying to clip a triangle wave to make it look at little more like a sine wave.
import XCPlayground
import AudioKit

//make triangle wave generator
var triangleWave = AKOperation.triangleWave(frequency: 86, amplitude: 0.5)
var waveGen = AKOperationGenerator(operation: boom)

//Distortion using clipper
var clipper = AKClipper(waveGen)
clipper.limit = 0.4
clipper.clippingStartPoint = 0.3
clipper.method = 0 // tried method = 2 for tanh but didn't work the way I expected

AudioKit.output = clipper
AudioKit.start()

waveGen.start()
clipper.start()

XCPlaygroundPage.currentPage.liveView = plotView
XCPlaygroundPage.currentPage.needsIndefiniteExecution = true
XCPlaygroundPage.currentPage.needsIndefiniteExecution = true

However I see this:

Am I doing something wrong?

You're not doing anything wrong.  Investigating, thanks!

Ok, that was driving me crazy... thank you:)

@aure I take it this is being generated in Sporth, and not Soundpipe?

@Joshua-Thompson Thanks for pointing this out! What is the ideal waveform you are trying to achieve? The clip module in Soundpipe is a soft clipper intended to perceptually try to mask the clipping effects of audio signals. While they can make the signal sound better than hard clipping, the cost is often these uglier looking plots. While I don't fully claim to understand these algorithms, I believe these are the correct behaviors from the original clip opcode in Csound.
If you're looking to "chop" the tops of the triangle waveform, you'll need a hard clipper, which can be produced by putting your signal through a max and min function in series. I have posted sporth code and plots in the Soundpipe bug that Aure. I am certain there's a way to achieve this in AudioKit.

After Paul's changes, which I merged onto our develop branch.  Modes 1 and 2 of clip seem to be acting properly, but we are still getting weird behavior on mode 0.  ANyway, I think mode 2 will work for your problem, but lets keep this issue open until mode 0 is figured out.    If anyone wants to help me out, lets at least turn this into an enumeration.

We found that there was an initialization issue in method 0 that was fixable, but in general it wasn't worth it to have different clipping modes.  So, we chose the sine method (what was method=1) because it was just fine. :)  So, this issue is resolved by way of simplifying the code. I like that.  Thanks again Joshua.

Great, I checkout the new code. Thanks again!


Make not-noarch

Fixes #9.

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


Update to latest ingress-nginx

What this PR does / why we need it:
Bumps the version to the latest available
Which issue this PR fixes
N/A - Incremental version increase
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X ] DCO signed
[X ] Chart Version bumped
[X ] Variables are documented in the README.md

I want to bring it to the relevant people's attention that this version update had a breaking change.
Is there a way to deploy version 0.21.0 or any specific version?

@avik-so you will need to target a specific chart version, that is why charts are versioned.
https://github.com/helm/helm/blob/master/docs/helm/helm_install.md
Check the --version flag.

Shouldn't a breaking change in the App have bumped the chart to 2.x? Or is that not what the Helm chart's SemVer is supposed to advertise?


Paths for data and model are incorrect

The paths for the data and model folders contain one too many '..\'.
The documentation says create the data folder in the bin directory but the paths step out of the bin folder into the project folder.

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

ID: a30b3ff5-b5e6-ff02-6f60-b5cef6f34666
Version Independent ID: fdf962e2-620e-d9ad-5057-5f96f52dc60f
Content: Use ML.NET to Predict New York Taxi Fares (Regression).
Content Source: docs/machine-learning/tutorials/taxi-fare.md
Service: dotnet-ml
GitHub Login: @aditidugar
Microsoft Alias: johalex

Thank you for your feedback @DaisyDave. I'll get this addressed as part of other changes I'm making to the tutorials.

@mairaw When I was running these, I noticed that the number of ".." needed changed if you F5 from Visual Studio, or ran from the CLI using "dotnet run". We should make a note of that, even if the tutorial assumes Visual Studio.

they forgot to mention in the instructions to create a "Models" folder for the app to work

I changed the tutorial/code to work with both VS and dotnet run now @BillWagner. And I changed the code as well to no longer need the Models folder @burstingninja.


Create minimum settings file if it doesn't exist

This creates a settings.yaml file if it does not exist. This is the first step to improve the settings/configuration of the flowcept package. Resolves issue #119 .

Please stop merging pull requests that I create!


PaperAuthorAffiliations from CreateDatabase.usql fails with never MAG versions

This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce
Run CreateDatabase.usql from 00. Common Scripts with recent MAG versions
The code that's used to create the PaperAuthorAffiliations table is responsible and sufficient to trigger the error described below.
Any log messages given by the failure
Vertex failed
Vertex SV25_Extract_Partition[38]
VertexFailedFast: Vertex failed with a fail-fast error
E_RUNTIME_USER_EXTRACT_ROW_DELIMITER_EXPECTED: Too many columns in input record.

Description
Expected row delimiter in input record after processing 1 record(s) in the vertex' input split. Expected 5 column(s) but encountered more data.

Row Delimiter: 0x0
Column Delimiter: 0x9
HEX: 52 C3 B8 79 09 0D 0A 32 39 31 37 34 33 30 31 36 39 09 32 39 31 36 39 39 30 39 35 34 09 09 36 09 43 2E 20 53 63 68 6F 6C 7A 65 09 ### 0D 0A 32 39 31 37 34 33 30 31 37 30 09 32 31 31 30 32 31 33 34 36 34 09 31 37 33
TEXT: R..y\t\r\n2917430169\t2916990954\t\t6\tC. Scholze\t ### \r\n2917430170\t2110213464\t173

I managed to narrow it down to the PaperAuthorAffiliations table creation. All other tables are created fine. The oldest MAG version I have access to works (2019-03-11), all others fail. See below
Expected/desired behavior
Successful completion on all MAG versions
OS and Version?
Azure Portal
Versions

mag-2019-04-11: Fails
mag-2019-04-01: Fails
mag-2019-03-22: Fails
mag-2019-03-11: Works

Mention any other details that might be useful
NA

Just to add on: running the full script on mag-2019-03-11 fails also eventually. Not sure where. The error is
Failure when attempting to convert empty column data.

Description
Can not convert EMPTY string to proper type.
Details
Row Delimiter: 0x0
Column Delimiter: 0x9
HEX: 75 72 6F 70 65 20 6E 75 74 73 20 31 20 64 65 6D 6F 67 72 61 70 68 69 63 73 09 32 30 31 30 20 45 75 72 6F 70 65 20 4E 55 54 53 20 31 20 44 65 6D 6F 67 72 61 70 68 69 63 73 09 09 09 ### 09 09 09 09 09 09 09 09 09 30
TEXT: urope nuts 1 demographics\t2010 Europe NUTS 1 Demographics\t\t\t ### \t\t\t\t\t\t\t\t\t0

Turns out this was a problem of using the latest code from here (most recent), with different, incompatible deployed MAG versions. Hattip to Charles Huang.
The dependency wasn't clear from the website. It might help to explicitely mention here, that you have to use the script from the corresponding deployment and not from here/github.
Another improvement would be to have versioned release of this repo that are pegged to MAG release versions.
Anyway, problem solved for me

@andreas-wilm I seem to be having the same problem with the most recent version (mag-2019-06-27). I have made sure I am using the latest U-SQL code from mag-2019-06-27/samples. In my case, I run CreateFunctions.usql which succeeds, and then running any job wich reads Papers.txt or PaperAuthorAffiliations.txt I get similar errors, but this time not at the very beginning, but after successfully reading several GB of the tables.
Example,
E_RUNTIME_USER_EXTRACT_ROW_DELIMITER_EXPECTED: Too many columns in input record.

Expected row delimiter in input record after processing 3547852 record(s) in the vertex' input split. Expected 6 column(s) but encountered more data.

Row Delimiter: 0xA
Column Delimiter: 0x9
HEX: 39 09 ### 32 36 33 32 39 34 32 35 34 33 09 09 31 09 56 69 63 74 6F 72 69 61 6E 6F 20 50 65 72 72 75 63 61 20 41 6C 62 61 64 61 6C 65 6A 6F 09 0D 0A 31 35 09 31 39 39 31 34 32 34 39 37 09 09 31 09 52 6F 62 65 72 74
TEXT: 9\t ###<PHONE_NUMBER>\t\t1\tVictoriano Perruca Albadalejo\t\r\n15\t199142497\t\t1\tRobert

I have a suspicion that this is happening because a that is not declared as optional is null. This must be rare, as it happens after successfully reading millions of records from the same table. I'll keep experimenting and I'll report back if I find a solution.

I also keep getting dozens of these errors while running U-SQL jobs on MAG. They don't make much sense, as the Storage Account does exist and Data Lake is indeed able to successfully read from Affiliations.txt for example.

This is probably an unrelated issue, I'm not sure if it belongs here.

Setting silent: true prevents the exception at least, for now.

Hey Jon, confirmed. There is an issue.
MSR are looking into it.
Andreas

This is an Azure Data Lake Analytics issue. Product team is work on it.

FYI. Product team has fixed this issue. Please try running your script again.

This issue is not fixed yet.


Unable to use this addon

The problem
Describe the bug
Even after restarting the engine, the errors in the output panel did not disappear.
To Reproduce

Downloaded the latest version of the addon
Moved the "addons" folder to my project
Enabled the addon in the project settings and saw a few errors
Restarted the editor, as stated in the installation instructions
After the reboot, the errors have not disappeared and they prevent the project from starting

Expected behavior
These errors are not difficult to fix myself, but I'm not sure that everything will work fine after that.
Screenshots
Screenshot
System

OS: Arch Linux
Godot Version (
As it is written in the godot settings: v4.0.beta.arch_linux [604493eb6]
Package name: 4.0.r51690.g604493eb6ee3-1
)
Dialogic Version: 2.0 alpha 5

Solutions
Workaround
I changed the code and everything seems to be working fine so far
Possible fixes
...

Hi, alpha 5 is for godot 4 beta 10, as it was released in december.
Hopefully we can release another alpha soon. The main branch should be compatible with beta 15, not sure about 17, but I'm working on it.


Open file explorer to referenced location

As we are having a constellation where it is impossible to integrate all data necessary for a task into the board (the amount of data/files is too big) we established a file system where each folder belongs to a task.
Is it possible to add the location of a folder to the task (i.e create something like a file_reference) that can then be clicked to open the folder in explorer on the local system?

It's too specific to be implemented. But you can add a link in the task description by example: file:///path/to/my/local/folder or file:///c:/path/to/thefile.txt if I understand correctly what you ask for.

Thank you. That works just fine for me (except for chrome because of security implementation). It's going to take a bit of effort to update the link via Json-RPC as it is somewhere in the description, but it is manageable.


resetDelay option

Hi,
I don't see "resetDelay" option at your documentation page
https://www.traccar.org/configuration-file/
does it mean it is no longer valid option?

You should use "timeout" instead. Legacy "resetDelay" parameter is still valid, but it will be removed at some point.

What is the default "timeout" value?

There is no default value. By default there is no connection timeout.

thank you


[ERROR] Template variable warning: 'dict object' has no attribute 'uid' when rendering '{{ value_json.uid }}'

Hello, everytime when i open my door, i have this error message in my log. Does anyone know what it is?
Logger: homeassistant.helpers.template
Quelle: helpers/template.py:2748
Erstmals aufgetreten: 09:39:35 (2 Vorkommnisse)
Zuletzt protokolliert: 10:49:52
Template variable warning: 'dict object' has no attribute 'uid' when rendering '{{ value_json.uid }}'

Hello!
Yeah, that is due to the tag configuration for nfc tags. If an NFC Tag is detected, it will publish UID of that tag to the same MQTT Topic as for homekey just with a different data format hence the "error". I've already added a option in the upcoming version to ignore the nfc tags.

Thx for your reply and information.

Added in v0.5


[HeroSystem6eHeroic] Fix background color issue

Switched to using white (default) and black (dark mode) backgrounds and then used colored borders for the sheet elements.

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


Change target branch for workflows

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.55%. Comparing base (996e0b4) to head (d960748).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop       #5   +/-   ##
========================================
  Coverage    80.55%   80.55%
========================================
  Files            9        9
  Lines           72       72
========================================
  Hits            58       58
  Misses          14       14

Flag
Coverage Δ

unittests
80.55% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Improve Testimonial/src/testimonial-1.html

Need to improve this component on Testimonial/src/testimonial-1.html
Improvements required :
-> add shadow
-> add contact icons like twitter linked
Any reference image?

Any external reference?

You can checkout this one for better understanding.

It is already as per the Figma file

@nik132-eng go ahead


Can't convert fastflow from .onnx to openvino format.

Describe the bug
I use fastflow (ResNet18) to train the mvtec dataset, and I want convert the trained model to the openvino format, but I get errors as follows.
Exception: Exception occurred during running replacer "REPLACEMENT_ID (<class 'extensions.front.LayerNorm.LayerNorm'>)": The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
My config optimization params as follows
optimization:
export_mode: "openvino"
Screenshots

Hardware and Software Configuration

OS: Windows10
-torch: 1.12.0
pytorch-lightning: 1.6.5
-anomalib: 0.3.7
OpenVINO Version [v2021.4.2]
onnx: 1.12.0

Additional context
Is it  not supported FastFlow model convertation from onnx to openvino currently or am I doing something wrong?

@wulongjian, thanks for reporting this. Looks like this has already been reported.
Duplicate of #631


Property 'render' does not exist on Context

I'm using deno 1.4.4 and<EMAIL_ADDRESS>and I'm getting this error
error: TS2339 [ERROR]: Property 'render' does not exist on type 'Context<Record<string, any>>'.
  ctx.render("index.ejs", { data: { name: "John" } });
      ~~~~~~

I see this error at runtime and also in VSCode

The whole of my code is here
import { Application } from<EMAIL_ADDRESS>import {
  adapterFactory,
  engineFactory,
  viewEngine,
} from<EMAIL_ADDRESS>
const ejsEngine = engineFactory.getEjsEngine();
const oakAdapter = adapterFactory.getOakAdapter();

const app: Application = new Application();

app.use(viewEngine(oakAdapter, ejsEngine, {
  viewRoot: ".",
  viewExt: ".ejs",
}));

app.use(async (ctx, next) => {
  ctx.render("test", { data: { name: "John" } });
});

await app.listen({ port: 8000 });

Defining the context as any type worked for me: app.use(async (ctx: any, next) => {
import { Application } from<EMAIL_ADDRESS>import {
  adapterFactory,
  engineFactory,
  viewEngine,
} from<EMAIL_ADDRESS>
const ejsEngine = engineFactory.getEjsEngine();
const oakAdapter = adapterFactory.getOakAdapter();

const app = new Application();

app.use(viewEngine(oakAdapter, ejsEngine, {
  viewRoot: ".",
  viewExt: ".ejs",
}));

app.use(async (ctx: any, next) => {
  ctx.render("test", { data: { name: "John" } });
});

await app.listen({ port: 8080 });

Please refer to the release note for oak version binding.

view-engine v1.4.5 is bind to<EMAIL_ADDRESS>


Add automatic withdrawal inside ArbitrumL1Messenger

closes #1314

@istankovic the e2e-test-arbitrum CI job is failing with timeouts and weird errors like: nothing to withdraw. Any idea what could be the reason for this?
Tried debugging but i couldn't figure out how to connect to the local node and investigate further. Maybe you can take a look?

I had a quick look at the code (without really looking into the node's state). I saw that you unconditionally call withdraw() inside of sendMessage(). I don't know if this is the cause for the current failure but if depositOrigin == submissionFee which is possible, then the new deposit would be 0.
In this case withdraw() would revert but the deposit would actually have been high enough. So in any case we should check for this condition before calling withdraw().

Found a typo in https://github.com/beamer-bridge/beamer/blob/cf6c805c126991f85df9cadb0fc7eebab8878fed/relayer/src/services/arbitrum.ts#L120

@istankovic the e2e-test-arbitrum CI job is failing with timeouts and weird errors like: nothing to withdraw. Any idea what could be the reason for this?
Tried debugging but i couldn't figure out how to connect to the local node and investigate further. Maybe you can take a look?

I had a quick look at the code (without really looking into the node's state). It fails when estimating the l1 resolution transaction.
I saw that withdraw() is called unconditionally inside of sendMessage(). I don't know if this is the cause for the current failure but if depositOrigin == submissionFee which is possible and valid, then the new deposit would be 0. In this case withdraw() would revert but the deposit would actually have been high enough. So in any case we should check for this condition before calling withdraw().

Good point. Will adjust the code

I found out why its reverting with nothing to withdraw.
Since we are calling the withdraw function from within sendMessage and sendMessage is being called by the resolver, we end up with the resolvers address as msg.sender address.
Inside the withdraw function, we use msg.sender to get the deposit amount that needs to be returned.
Is it safe to use tx.origin instead of msg.sender inside the withdraw function?

Is it safe to use tx.origin instead of msg.sender inside the withdraw function?

First of all I saw that we rely on tx.origin anyway, to know from whom to take the fees. So in this regard we are not changing any security risk, but let me get back to you regarding the general usage of tx.origin.

I just extended the withdraw function to support passing an address as an argument instead of using tx.origin internally. Check the code and let me know what you think. Thanks!

The general problem with tx.origin which has occured several times, is when doing authorization with tx.origin.
If one has a require(tx.origin == owner) in his contract this is considered a vulnerability. The reason for that is that a malicious contract could trick the owner to call his contract and then the malicious contract could call the vulnerable function internally which grants the malicious contract authorization.
That's why it is considered, that it's best practices to not use tx.origin (especially for authorization).
We have at least not such a "big problem" with it as we already have a trusted call chain in place, so malicious contracts need to sneak in at the entry point of the trusted call chain (which would be triggering L1 resolution).
Actually what we can already do is, having a malicious contract which calls L1 resolution. Trying to trick an agent which has some deposit left on the contract, to call the malicious contract. Unnoticed the agent would call the malicious contract and actually pays for the L1 resolution.
With the automatic withdraw, we keep the balance sheet clean, which is a nice prevention, but the vulnerability remains. So actually I already consider this a vulnerability in the current version of ArbitrumL1Messenger. So let's find a solution to also remove this


4.25

QUESTION 25
Your company plans to request an architectural review of an Azure environment from Microsoft.
The company currently has a Basic support plan.
You need to recommend a new support plan for the company. The solution must minimize costs.
Which support plan should you recommend?
A. Premier
B. Developer
C. Professional Direct
D. Standard

C


Problems with the buildertools plugin

Help me I have the buildertools of poggit but when using // fill it throws me internal error is there any solution?

Use latest released version


No lights detected

So I've deployed an unconfigured node-lifx-in node with the Lifx Server set as per documentation.
But I still always get a 'No lights found' error.
I've also tried specifying the IP addresses in the Hub configuration, though I'm not sure exactly the format this is expecting? I've just put one light so far on a know (static) IP address (just putting <IP_ADDRESS> into the field - should this be a comma separated list?). But still no lights found.
Any ideas? My Lifx lights work via the phone app or Home Assistant, so they are discoverable on my network.

I'm now controlling my Lifx lights via Home Assistant so no longer need this palette. I'm going to assume it's something strange about my set up using Synology Docker.


[SUPPORT]Flink SQL No FileSystem for scheme s3

Tips before filing an issue

Have you gone through our FAQs?
yes

Describe the problem you faced
I used the Hudi0.10 version on the flink1.13.2 version. The flink storage has been successfully set to s3 access, and the storage access based on hdfs/alluxio is also normal, but there will be errors in the problem when the storage based on s3 is performed.
To Reproduce
Steps to reproduce the behavior:
flink set:
1.cd plugins/
2.mkdir s3-fs-hadoop
3.cd ..
4.cp opt/flink-s3-fs-hadoop-1.13.2.jar plugins/s3-fs-hadoop/
5.flink-conf.yaml
s3.access-key: xxx
s3.secret-key: xxx
s3.endpoint: xxx.xxx.xxx.xxx:7480
s3.path.style.access: true
s3.ssl.enabled: false
6.copy aws-java-sdk-bundle-1.11.134.jar/hadoop-aws-3.0.0-cdh6.3.0.jar to flink lib and set Hadoop class path:
export HADOOP_CLASSPATH=hadoop classpath
7.in Flink SQL Client
CREATE TABLE hudi_demo(
id BIGINT PRIMARY KEY NOT ENFORCED,
name STRING,
birthday TIMESTAMP(3),
ts TIMESTAMP(3),
partition VARCHAR(20)
) PARTITIONED BY (partition) WITH (
'connector' = 'hudi',
'table.type' = 'MERGE_ON_READ',
'path' = 's3://lakehouse/hudi/demo1/'
);
8.do a query
select * from hudi_demo;
Expected behavior
Can not execute a Query or Insert: org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "s3"
Environment Description

Hudi version : 0.10.0

Spark version :N/A

Flink version : 1.13.2/1.13.3

Hive version :N/A

Hadoop version :3.0.0-CDH6.3.0

Storage (HDFS/S3/GCS..) :S3

Running on Docker? (yes/no) :no
Stacktrace

org.apache.flink.runtime.rpc.akka.exceptions.AkkaRpcException: Could not start RpcEndpoint jobmanager_2.
at org.apache.flink.runtime.rpc.akka.AkkaRpcActor$StoppedState.start(AkkaRpcActor.java:610) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleControlMessage(AkkaRpcActor.java:180) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.actor.Actor$class.aroundReceive(Actor.scala:517) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:225) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:592) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.actor.ActorCell.invoke(ActorCell.scala:561) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258) [flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.dispatch.Mailbox.run(Mailbox.scala:225) [flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.dispatch.Mailbox.exec(Mailbox.scala:235) [flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [flink-dist_2.11-1.13.2.jar:1.13.2]
at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [flink-dist_2.11-1.13.2.jar:1.13.2]
Caused by: org.apache.flink.runtime.jobmaster.JobMasterException: Could not start the JobMaster.
at org.apache.flink.runtime.jobmaster.JobMaster.onStart(JobMaster.java:385) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.RpcEndpoint.internalCallOnStart(RpcEndpoint.java:181) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.akka.AkkaRpcActor$StoppedState.start(AkkaRpcActor.java:605) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
... 18 more
Caused by: org.apache.flink.util.FlinkRuntimeException: Failed to start the operator coordinators
at org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler.startAllOperatorCoordinators(DefaultOperatorCoordinatorHandler.java:90) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:592) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.startScheduling(JobMaster.java:955) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.startJobExecution(JobMaster.java:873) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.onStart(JobMaster.java:383) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.RpcEndpoint.internalCallOnStart(RpcEndpoint.java:181) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.akka.AkkaRpcActor$StoppedState.start(AkkaRpcActor.java:605) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
... 18 more
Caused by: org.apache.hudi.exception.HoodieIOException: Failed to get instance of org.apache.hadoop.fs.FileSystem
at org.apache.hudi.common.fs.FSUtils.getFs(FSUtils.java:104) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.hudi.util.StreamerUtil.tableExists(StreamerUtil.java:266) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.hudi.util.StreamerUtil.initTableIfNotExists(StreamerUtil.java:236) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.hudi.sink.StreamWriteOperatorCoordinator.start(StreamWriteOperatorCoordinator.java:164) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder.start(OperatorCoordinatorHolder.java:194) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler.startAllOperatorCoordinators(DefaultOperatorCoordinatorHandler.java:85) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:592) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.startScheduling(JobMaster.java:955) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.startJobExecution(JobMaster.java:873) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.onStart(JobMaster.java:383) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.RpcEndpoint.internalCallOnStart(RpcEndpoint.java:181) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.akka.AkkaRpcActor$StoppedState.start(AkkaRpcActor.java:605) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
... 18 more
Caused by: org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "s3"
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3215) ~[hadoop-common-3.0.0-cdh6.3.0.jar:?]
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3235) ~[hadoop-common-3.0.0-cdh6.3.0.jar:?]
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:123) ~[hadoop-common-3.0.0-cdh6.3.0.jar:?]
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3286) ~[hadoop-common-3.0.0-cdh6.3.0.jar:?]
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3254) ~[hadoop-common-3.0.0-cdh6.3.0.jar:?]
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:478) ~[hadoop-common-3.0.0-cdh6.3.0.jar:?]
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361) ~[hadoop-common-3.0.0-cdh6.3.0.jar:?]
at org.apache.hudi.common.fs.FSUtils.getFs(FSUtils.java:102) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.hudi.util.StreamerUtil.tableExists(StreamerUtil.java:266) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.hudi.util.StreamerUtil.initTableIfNotExists(StreamerUtil.java:236) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.hudi.sink.StreamWriteOperatorCoordinator.start(StreamWriteOperatorCoordinator.java:164) ~[hudi-flink-bundle_2.11-0.10.0.jar:0.10.0]
at org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder.start(OperatorCoordinatorHolder.java:194) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.scheduler.DefaultOperatorCoordinatorHandler.startAllOperatorCoordinators(DefaultOperatorCoordinatorHandler.java:85) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.scheduler.SchedulerBase.startScheduling(SchedulerBase.java:592) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.startScheduling(JobMaster.java:955) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.startJobExecution(JobMaster.java:873) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.jobmaster.JobMaster.onStart(JobMaster.java:383) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.RpcEndpoint.internalCallOnStart(RpcEndpoint.java:181) ~[flink-dist_2.11-1.13.2.jar:1.13.2]
at org.apache.flink.runtime.rpc.akka.AkkaRpcActor$StoppedState.start(AkkaRpcActor.java:605) ~[flink-dist_2.11-1.13.2.jar:1.13.2]

you need to set up the s3 config in hadoop core-site file ? do you package the s3 package in the bundle jar ?

Thank you for your reply, I did not find in the guide about flink setting core-site.xml, and I do not plan to use hadoop environment, just build data lake analysis based on S3 storage

you need to set up the s3 config in hadoop core-site file ? do you package the s3 package in the bundle jar ?

Thank you for your reply, I did not find in the guide about flink setting core-site.xml, and I do not plan to use hadoop environment, just build data lake analysis based on S3 storage。
The bundle jar I found in hadoop jars library folder，Can't confirm whether it's packaged in。

Flink use its own plugin to support filesystems other than HDFS. Hudi adapter to different DFS by extending the FileSystem interface directly.

I have some tips

put flink-s3-fs-hadoop into /opt/flink/lib
add hadoop-hdfs-client, hadoop-aws, hadoop-mapreduce-client-core as well
if there is aws credential issue, try to set up core-site.xml (I had this issue when using hudi 0.9.0 and flink 1.12.2)

Flink use its own plugin to support filesystems other than HDFS. Hudi adapter to different DFS by extending the FileSystem interface directly.

How to solve it？thanks

I have some tips
1. put `flink-s3-fs-hadoop` into `/opt/flink/lib`

2. add `hadoop-hdfs-client`, `hadoop-aws`, `hadoop-mapreduce-client-core` into  `/opt/flink/lib` as well

3. if there is aws credential issue, try to set up core-site.xml (I had this issue when using hudi 0.9.0 and flink 1.12.2)

Unfortunately, I tried your method but did not succeed。Copy those jar packages to the /opt/flink/lib and $FLINK_HOME/lib directories at the same time, and then restart the yarn session
[ERROR] Could not execute SQL statement. Reason:
org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "s3"

Flink use its own plugin to support filesystems other than HDFS. Hudi adapter to different DFS by extending the FileSystem interface directly.

How to solve it？thanks

Hudi did depend on the hadoop FileSystem interface, what we need to do is adding the aws s3 FileSystem impl codes in the classpath, and it's specific configuration should also be configured in hadoop Configuration, you can reference the StreamerUtil.getHadoopConf how we fetch the hadoop configuration in the flink pipeline.

Flink use its own plugin to support filesystems other than HDFS. Hudi adapter to different DFS by extending the FileSystem interface directly.

How to solve it？thanks

Hudi did depend on the hadoop FileSystem interface, what we need to do is adding the aws s3 FileSystem impl codes in the classpath, and it's specific configuration should also be configured in hadoop Configuration, you can reference the StreamerUtil.getHadoopConf how we fetch the hadoop configuration in the flink pipeline.

hi,I found you changed the class loader in file org.apache.hudi.sink.StreamWriteOperatorCoordinator：Thread.currentThread().setContextClassLoader(getClass().getClassLoader()),Will the classpath in the hudi-bundle jar be used? Will the classes under flink/lib fail to load and cause the S3 schema not to be found? so which "the aws s3 FileSystem impl codes in the classpath" package to be add in flink lib?
current in flink lib jars are:
hadoop-aws-3.0.0-cdh6.3.0.jar
hadoop-common-3.0.0-cdh6.3.0.jar
hadoop-hdfs-client-3.0.0-cdh6.3.0.jar
hadoop-mapreduce-client-core-3.0.0-cdh6.3.0.jar
flink-s3-fs-hadoop-1.13.3.jar
aws-java-sdk-s3-1.11.836.jar
hudi-aws-0.10.0.jar
hudi-flink-bundle_2.11-0.10.0.jar

S3:// cannot be used now, and s3a:// can be used. In addition, s3-fs-hadoop under flink will always appear in the INITIALIZING state when the task is submitted. In addition, the dependency of hadoop and core-site.xml must be required. ,This dependency is too heavy, I switched to using alluxio:// to write data to S3 UFS 。
Thanks for help。


Introducing shim threading layer with TBB and standard library implementations

Design choices are based on decisions and agreements between @ienkovich and @alexbaden

Merged w/ 9c2bb95907ca03dc565f55f922d5343b8ff80371


Document serialization and deserialization

There's an example in the demo project for the time being

Closed by 78a7b9d564f2873e7328aa565f049ce00594f1ae


New Transifex maintainer wanted

I'm still the maintainer for the project on Transifex, but don't have the time to maintain it. (I simply set it up during a hackathon at EuroPython some years ago.)
There's at least one language review pending (Russian).
Is there someone that could take over maintenance?

I am here :)

I invited a user named "auvipy" on Transifex. If you can confirm here, I can make you the manager of the project.

im auvipy :+1:

@auvipy you're now project maintainer :)

thank you :)


Fix test sequence and dev container

Signed-off-by: Xavier Geerinck<EMAIL_ADDRESS>Description
Issue reference
Please reference the issue this PR will close: #177
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

Note: awaiting merging, it seems that test-e2e is timing out (13min run time and counting so cancelling it and checking it)

Since we are no more sending lint output to /dev/null, should we create a work item to fix existing linting issues?

Since we are no more sending lint output to /dev/null, should we create a work item to fix existing linting issues?

We can yes, there are quite some warning items. I will create one


Make a 2023 release

The latest, and only, release of pegen was v0.1.0 in 2021. There has been many commits and bug fixes since then. Are there any plans on creating a new release that will be available on pypi.org soon?

Thanks for opening the issue!
I just published version 0.2.0 to pypi!

Thanks a lot for the super fast release!


Bug in the Map class

Whenever i tried to update a growable list on a map or even add a new list to a map it updates all entries.
void main(){
List myList = [1,2,3,4,5,6,7,8,9,0,88];
List tempList = [];
Map map ={};
for(int i=0; i<myList.length; i++){
tempList.add(myList[i]);
if(i%2 == 0){
  map[i.toString()] = tempList;
  print(map);
  tempList.clear();
}

}
}

Hi! It's just cause you're pointing to the same tempList reference. In your case, you can just create different references for each map key.
void main(){
  List myList = [1,2,3,4,5,6,7,8,9,0,88];

  List tempList = [];
  Map map = {};

  for(int i=0; i<myList.length; i++) {
    tempList.add(myList[i]);
    if(i % 2 == 0) {
      map[i.toString()] = List.from(tempList);
      print(map);
      tempList.clear();
    }
  }
}

For help with your own code, consider trying one of the resources listed at https://flutter.dev/community#community-grid
Closing as this is bug in the code sample, not in Flutter.


[Fixed: #6738]

[Fixed: #6738]

@Sanjaybhattwebkul
For the advertisements, you can provide the links from the Admin's Velocity Home Page Content:
@include('shop::home.advertisements.advertisement-four', ['one'=>'/page/refund-policy','two'=>'/page/privacy-policy','three'=>'/page/shipping-policy','four'=>'/page/whats-new'])
@include('shop::home.advertisements.advertisement-three', ['one'=>'/page/refund-policy','two'=>'/page/privacy-policy','three'=>'/page/shipping-policy'])
@include('shop::home.advertisements.advertisement-two', ['one'=>'/page/refund-policy','two'=>'/page/privacy-policy'])


Floodfill giving different results on different machines

OpenCV version: 3.1
Host OS: Mac OS X 10.11.4

Issue in  imgproc -> Floodfill function
I have a method that uses floodfill function on an image (saved in jpg). The issue is that I get different results when running the code on different machines, even with same opencv version.
Has anyone else experienced this issue?
I can't figure out what is causing this.
#include <iostream>
#include <string>
#include <time.h>
#include <ctime>
#include <cmath>

#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace std;

void findMaxHistogram(cv::Mat input, cv::Mat mask, int& maxIdx)
{
    cv::Mat hist;  int histSize = 256;
    float range[] = { 0, 256 } ;
    const float* histRange = { range };

    calcHist( &input, 1, 0, mask, hist, 1, &histSize, &histRange, true, false );

    cv::minMaxIdx(hist, NULL, NULL, NULL ,  &maxIdx);
}

int main(int argc, const char * argv[]) {
    string fileName_Ref = //original_image_path
    cv::Mat refImage = cv::imread(fileName_Ref);

    cv::Mat blurredImage;
    cv::medianBlur(refImage, blurredImage,19);
    cv::Mat gray_img;
    cv::cvtColor(blurredImage, gray_img, cv::COLOR_BGR2GRAY);

    cv::Rect rect = cv::Rect(refImage.cols/2, refImage.rows/5, 1, 3*refImage.rows/5);
    cv::Mat mid_col = gray_img(rect);

    int maxIdx;
    findMaxHistogram(mid_col, cv::Mat(), maxIdx);

    cout << maxIdx << '\n';

    for( int y = refImage.rows/5; y <= 4 *blurredImage.rows/5; y++ )
    {
        if (gray_img.at<uchar>(y,blurredImage.cols/2) == maxIdx)
        {
            floodFill( blurredImage, cv::Mat(), cv::Point(blurredImage.cols/2,y), cv::Vec3b(255,255,255), 0, cv::Scalar::all(1), cv::Scalar::all(1) , 8 | 255<<8  );
            break;
        }
    }

    cv::imshow("floodfill_result", blurredImage);
     cv::waitKey();

    return 0;
}

on different machines --> can you please be more specific?
Also how different are the results, can you quantify this?

I tried floodfill on following machines on this image:

Mac OS X EI Capitan,  OpenCV version: 3.1:

Ubuntu 14.04.4 LTS,  OpenCV version: 3.1:

diff image:

How did you install opencv on both systems? If you did through cmake then please provide cmake output for both systems!

opencv_mac_cmake.txt
opencv_mac_ubuntu.txt

if the source file is a jpg maybe this was the reason. did you try to check differences of images without floodfill.

Yes I checked the original image on both machines, no difference there.

is the original image is jpeg

did you open and save it as png in both system then compare png's

Yes the original image is jpeg. But the step before floodfill is medianblur and I have checked the output of median blur is the same on both systems.

OK. thanks.

The problem will lie, with 90% certainty, in the fact you are saving the end result in a jpg format. Since it uses the codec present on the system it can differ between OS systems what the default amount of compression is.
Did you save the end result as PNG as said by sulley?

*sturkmen I mean

The end result is saved in png. The original image is in jpg. The difference is obvious in the white pixels of the flood fill results even before saving them (just using imshow to look at the results)

Difference in the system JPEG readers could also be causing the artifact. Try saving the original in .png on either platform then running the algorithm on both platforms. Or is this what you've done?
Assuming the OpenCv code base is identical it would be exceedingly strange to give different results.

When using cmake add -DBUILD_JPEG=ON and check to make sure that your OSX and Ubuntu system have the same output in the config in my case (ver 90).

The issue was caused by different Jpeg readers. Thanks everyone for your help. Closing the issue.

:+1:


Add new NIDs for GOST 28147-89 block cipher

There is an asymmetry in NIDs definition for GOST 28147. NID pairs such
as NID_gost89_cnt and NID_gost89_cnt_12 are used for the same cipher mode
but with different default parameter set. There is a number of cipher modes
which don't have a pair so this commit fixes this.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

The modes/variants currently present in OpenSSL are used in the TLS protocol. As GOST 28147-89 allows more than one S-boxes, these ciphers (as TLS prescribes using the fixed S-box, different in approx. 2006 and in 2012), they were introduced as separate ciphers with separate NIDs.
Could you please clarify what is the purpose of the NIDs you suggest to add besides some consistency-related ideas?

Yes, there are much more than two s-boxes for this cipher but OpenSSL doesn't have a standard control for setting s-box. So there is the only variant to use, for example, cfb mode with paramset z for encrypting via openssl-tool is setting corresponding key in openssl.cnf for chosen engine with GOST support. There is only one such key in gost-engine (CRYPT_PARAMS) which affect all cipher modes.
There a plenty of paramsets for 28147 but the only paramset Z recommended for using by TC 26 since МР 26.2.003-2013 so it will be useful to have ability to use all modes with recommended paramset by the NID.

Yes, there are much more than two s-boxes for this cipher but OpenSSL doesn't have a standard control for setting s-box. So there is the only variant to use, for example, cfb mode with paramset z for encrypting via openssl-tool is setting corresponding key in openssl.cnf for chosen engine with GOST support. There is only one such key in gost-engine (CRYPT_PARAMS) which affect all cipher modes.

OpenSSL has the EVP_CTRL_SET_SBOX control. The reference GOST implementation engine supports it, and some commercial solutions either do.

There a plenty of paramsets for 28147 but the only paramset Z recommended for using by TC 26 since МР 26.2.003-2013 so it will be useful to have ability to use all modes with recommended paramset by the NID.

The reference GOST implementation engine uses the Z paramset by default.

Ok, I was confused by example.conf file in reference implementation. Feel free to close this PR if you don't think that it is useful.

OpenSSL has the EVP_CTRL_SET_SBOX control.

We do?????  Oh, it's true, we do!  We haven't transferred that to use with providers, though...  I think I'll have to look at gost to see how that's handled (in provider parameter terms, I expect that would be passed as an octet string, which is supported).  Is letting users set a (potentially random and unsafe) S-box a good solution going forward, or are there better devices for this?  Are there names associated with these S-boxes?

The OID/Shortname/Longname is passed to this control, and if it corresponds to a valid S-box setting, the engine sets the requested S-box, so it's impossible to set a random S-box.

Ah, thanks, that makes sense.  In provider terms, that would be a name being passed as a string.  No longer any dependence on NIDs that need to be defined, er, somewhere

Not sure it is so smoothly :)
We still have to register OIDs to this S-blocks as there are places (mostly legacy) to write them.

Ah!  Well, OIDs can be passed as an octet string.  All that a gost provider would have to do is a memcmp to find a match, i.e. no need to convert it to a NID (or if you absolutely want to, nothing stops you from having an OID->number map in gost and simply use that)

Bottom line, there's no reason whatsoever for you to depend on OpenSSL's NIDs in this case, you could have it exclusively gost internal, already now.


CSS Sizing/Format For Various Devices

We've noticed more and more bugs with CSS sizing and format, especially on older devices. As we redesign the interface based on Andy's sketches and prototypes, we need to take care of this. Based on #11.

This is mostly fixed.


added support for list of date-time tupples - add,remove, save to db …

…and display
Please notice when merging that :

I don't have Hebrew currently so some text is in English, please change the following to Hebrew :
** meeting date
** Add DateTime for another meeting

It is functional but not pretty - the design needs to be improved

Closing in favour of https://github.com/guytepper/1km.co.il/pull/83 which includes this


Find block text

For block commands like Toggle Bullets, do not require all text to be selected. Command should use the lines that are selected, similar to how commenting code works.
Applies to: bullets, numbers, checkboxes, code block, tables

Fixed in v0.5.0


Upgrade: Calico does not shutdown in time

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
When performing an upgrade Calico node did not shutdown in time 120 seconds. Failed in:
name: wait until the calico pod running on this node is deleted

When we waited for another minute or 2 it shut down properly.
Their cluster has been running for a few months now and it looks Calico is doing some cleanup that takes some time that we do not see during short term integration tests.
What you expected to happen:
Calico to shutdown in time.
How to reproduce it (as minimally and precisely as possible):
Upgrade a cluster that has been running for a few months.
Anything else we need to know?:
Environment:

Kismatic version (use kismatic version):
Upgrading from v1.5.2 to v1.6.3
OS (e.g. from /etc/os-release):
RHEL

Fixed by #943


Fix tokio-thrift-lib (doc)tests

Before:
~/tokio-thrift/tokio-thrift-lib $ cargo test
warning: package replacement is not used: https://github.com/rust-lang/crates.io-index#tokio-thrift-codegen:0.1.0
warning: package replacement is not used: https://github.com/rust-lang/crates.io-index#tokio-thrift:0.1.0
   Compiling tokio-thrift v0.1.0 (file:///XXXXX/tokio-thrift/tokio-thrift-lib)
error[E0432]: unresolved import `Deserialize`
   --> src/protocol/binary_protocol.rs:278:9
    |
278 |     use ::Deserialize;
    |         ^^^^^^^^^^^^^ no `Deserialize` in the root

error: aborting due to previous error

error: Could not compile `tokio-thrift`.

To learn more, run the command again with --verbose.

Now:
~/tokio-thrift/tokio-thrift-lib $ cargo test
warning: package replacement is not used: https://github.com/rust-lang/crates.io-index#tokio-thrift:0.1.0
warning: package replacement is not used: https://github.com/rust-lang/crates.io-index#tokio-thrift-codegen:0.1.0
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running /home/pedro/git/tokio-thrift/target/debug/deps/tokio_thrift-8bebdd2993218deb

running 21 tests
test protocol::binary_protocol::tests::deserialize_f64 ... ok
test protocol::binary_protocol::tests::deserialize_bool ... ok
test protocol::binary_protocol::tests::deserialize_i16 ... ok
test protocol::binary_protocol::tests::deserialize_string ... ok
test protocol::binary_protocol::tests::deserialize_i32 ... ok
test protocol::binary_protocol::tests::deserialize_u16 ... ok
test protocol::binary_protocol::tests::deserialize_i64 ... ok
test protocol::binary_protocol::tests::protocol_begin ... ok
test protocol::binary_protocol::tests::serialize_bool_true ... ok
test protocol::binary_protocol::tests::serialize_bool_false ... ok
test protocol::binary_protocol::tests::deserialize_u64 ... ok
test protocol::binary_protocol::tests::deserialize_u32 ... ok
test protocol::binary_protocol::tests::serialize_i32 ... ok
test protocol::binary_protocol::tests::serialize_i16 ... ok
test protocol::binary_protocol::tests::serialize_i16_neg ... ok
test protocol::binary_protocol::tests::serialize_i32_neg ... ok
test protocol::binary_protocol::tests::serialize_i64 ... ok
test protocol::binary_protocol::tests::serialize_i64_neg ... ok
test protocol::binary_protocol::tests::serialize_i8 ... ok
test protocol::binary_protocol::tests::serialize_i8_neg ... ok
test protocol::binary_protocol::tests::write_and_read_message_begin ... ok

test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured

   Doc-tests tokio-thrift

running 2 tests
test protocol::i8_0 ... ok
test protocol::u8_0 ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured

897bd03 gets rid of the rest of the spurious test warnings due to unused results

I'm sorry for very late reply. Since this is a fork repository, no notification was send to me.
Thank you for your patch. Merging.


BrowserSync does not refresh on dd()

Laravel Mix Version: 1.4.2
Node Version (node -v): v6.10.0
NPM Version (npm -v): 3.10.10
OS:  Windows 8 64-bit

Description:
The browserSync does not refresh if the page returns with dd() because the browserSync js was not inserted on page without  tags.

Steps To Reproduce:
// Controller
// No auto refresh when file change
public function index()
{
  dd('test');
}

This seems to be a Browsersync issue and not Laravel Mix issue.

@kennith
dd means dump and die.
BrowserSync requires a JS file to injected into page to work, dd will terminate the php process before injected that JS.

@ankurk91 BrowserSync inject JS after the body tag. In dd, the body tag does not exist. It only has the pre tag, therefore, JS was not injected.
In Laravel-Elixir, DD works well with BrowserSync and the BrowserSync support for dd function is added in pull request #366. I was hoping the same function will be supported in Mix as well out of the box.
If anyone wants BrowserSync support for dd function in Mix, they can add  the following lines in their BrowserSync options in webpack.mix.js (credit to @jnbn)
snippetOptions: {
  rule: {
	match: /(<\/body>|<\/pre>)/i,
	fn: function (snippet, match) {
		return snippet + match;
	}
  }
}

Maybe you can submit a PR. :)


introduction rspec

Although some parts of the script - mostly the colored output - cannot be tested easily through rspec test cases the basis classes should be tested for correct functionality.
This issue should create tests for - at least - the following parts:

parameter handling
math classes
help text
data classes

Done with #16 .


Add 80 port for kibana service on tests

Motivation
Kibana can be accessible via ip:port. In order to add https://domain we need 80 port in k8s service.
Test Plan
It is applied and working.
DevOps Notes
Another option to do it is to create Ingress and cert-manager how it is done on ws-ops repository.

bors try

bors merge


Enable support for running custom init containers

We should provide a mechanism for running custom init scripts like the postgres chart does. These scripts would provide a hook to perform such tasks as installing additional tools on startup, downloading remote data or whatever else a user may wish to do

Just to be clear, do we want init sh scripts put in as configmaps or customizable init containers with a custom image and command?

Yes, we rely on this kind of functionality on our v2 setup. Current approach in v2 is that startup script will try to start a post-start-actions.sh script expected in a defined location. The admin can write whatever they want to that post-start-actions.sh. This is meant currently at the other side for operations that require a running galaxy instance. We use it in particular to install workflows and shared them (through ephemeris I think).


Sync private repo to public

Sync all of the changes from the private example to this repo
Change timeout to 20 seconds

Thanks for catching those things, clearly the private and public repos are slightly out of sync. Going to leave the version number alone, but made the other changes


Brightness Controls Update Same Monitor

Before opening the issue, have you...?

[X] Searched for existing issues
[X] Looked through the wiki
[X] Updated MonitorControl to the latest version (if applicable)

Describe the bug
The application correctly recognized both attached LG displays but both the brightness controls update the same display.
Steps to reproduce
!. change brightness on both monitors....only one display is updated.
Expected behavior
I would assume that the controls for each monitor would update that respective monitor.
Anything else?
No response
Environment Information (please complete the following information)
- macOS version: 14.4
- Mac model: MacBook Pro M1 Max - Clamshell Mode
- MonitorControl version: 4.2.0
- Monitor(s): 2x LG Ultrafine
- Apple Silicon/M1 (yes or no): Yes

This might be an issue related to display identification. This is a complex issue and won't address it in MonitorControl 4. Recommend switching to BetterDisplay where a number of display identification methods are available to configure which might help with multiple identical display issues.