Unzipped size must be smaller than 262144000 bytes

This error occurs on sls deploy. I think it should work with zip: true. Code shared below
serverless.yml

service: test-big-libs

provider:
  name: aws
  runtime: python3.6
  stage: ${opt:stage,'dev'}

custom:
  pythonRequirements:
    dockerizePip: true
    zip: true
    slim: true

hander.py

try:
  import unzip_requirements
except ImportError:
  pass

import numpy as np
import scipy as sc
import sklearn as sk
import joblib
import pandas as pd

import json

def test(event, context):
    body = {
        "message": "big libs works"
    }

    response = {
        "statusCode": 200,
        "body": json.dumps(body)
    }

    return response

requirements.txt
joblib==0.13.2
numpy==1.16.2
pandas==0.24.2
python-dateutil==2.8.0
pytz==2019.1
scikit-learn==0.20.3
scipy==1.2.1
six==1.12.0
sklearn==0.0

this solves my problem

package:
  exclude:
    - node_modules/**
    - venv/**

excluding node_modules doesn't work for me as i need a package. without it i get module not found error! what's the solution?

After searching on web i found the solution.
What happens is that when deploying your application, the serverless bundle all functions and upload every function with the size of all functions all together.
So, if you have 50 function in your serverless.yml file, all them will be packaged and upload.
Let's imagine that you have 50 functions, everyone with 1MB. When deploying we will have a bundle with 50MB for every function, instead of 1MB.
This can be easily fixed adding the property "individually" in our serverless file:
package:
individually: true
Documentation can be found here:

@Nithish-Evoltech  i have given individually set to true only yet my each lambda crosses more than 100MB any solution for this?

@kannan007 Any updates on this issue?

I'm seeing the same issue, for a basic serverless setup, with 4 methods and a custom authorizer, maybe around 100 lines of code in total. reported size is 91.5 MB per function, with individually set to true.

in my case, it looks like the function archive also contains the aws terraform provider

excluding node_modules doesn't work for me as i need a package. without it i get module not found error! what's the solution?

hi 👋
How is your issue? Do you have any solutions? I have the same issue as you

excluding node_modules doesn't work for me as i need a package. without it i get module not found error! what's the solution?

hi 👋 How is your issue? Do you have any solutions? I have the same issue as you

Hava you tried using the pattern option to exclude node_modules but include the packages you need in your code?

excluding node_modules doesn't work for me as i need a package. without it i get module not found error! what's the solution?

hi 👋 How is your issue? Do you have any solutions? I have the same issue as you

Hava you tried using the pattern option to exclude node_modules but include the packages you need in your code?

I see that solution but im not sure, I use serverless with nestjs and prisma. After generating prisma, the @prisma/client is stored in node_modules, if I exclude module, there will be an error `

so try to include @prisma/client only. check the pattern samples, there is one with exactly this scenario, where node_modules is removed, except one folder
On Thursday, February 2, 2023 at 04:48:26 PM GMT+2, htdai @.***> wrote:
excluding node_modules doesn't work for me as i need a package. without it i get module not found error! what's the solution?
hi 👋 How is your issue? Do you have any solutions? I have the same issue as you
Hava you tried using the pattern option to exclude node_modules but include the packages you need in your code?
I see that solution but im not sure, I use serverless with nestjs and prisma. After generating prisma, the @prisma/client is stored in node_modules, if I exclude module, there will be an error `
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


Undefined offset problem

Hi,
I have a weird issue. On my macbook everything is working fine. But as soon as I try to run my website on Windows I get this error when executing this code:
$id = any number;
$character = $jikan->Character($id , [PICTURES]);

ErrorException {#504 ▼
  #message: "Undefined offset: 5"
  #code: 0
  #file: "C:\Users\Dennis\Code\project\vendor\jikan-me\jikan\src\Lib\Parser\CharacterParse.php"
  #line: 118
  #severity: E_NOTICE
  trace: {▶}
}

Any ideas how this would be possible?
Also when I'm trying to search for a character like this:
$results = $jikan->Search('Any name', CHARACTER);

I always get an empty array.
All of this is working perfectly fine from my macbook. This is so weird!
Anyway thanks for looking into it!

Hi! Could you fetch the HTML source of the links mentioned below from your windows server (wget) that you're trying to parse, that is getting the error, and paste it somewhere (Gist?) and link it here?

http://myanimelist.net/character/1
https://myanimelist.net/character/1/Spike_Spiegel/pictures
https://myanimelist.net/character.php?q=Any Name

This is a bit of a known issue with the HTML being shown different for different locations (hence bad parsing). #148 also had the same issue. If you get can me the HTML source, I can push out a fix for your windows server.
Going forward, we're currently working on making permanent fixes.

Hi, if you read my previous comment (now deleted), please ignore it. I've identified it as an issue with the windows platform, I'll look into it and push a fix for it today.

Awesome! Thank you so much!

Hi, sorry for the late fix. I've tested it on Windows and Linux, should work fine now. Let me know otherwise. :)


DOC, MAINT: Remove numpydoc submodule

This PR updates how the scipy documentation uses numpydoc; removing numpydoc as a git submodule and instead relying on the released version as a dependency. numpydoc is already listed as a dependency in most relevant places (pyproject.toml, various environments files). This PR completes the process by removing the git submodule and various other manual shims and references.
Reference issue
There is no reference issue, but this was discussed in the scipy community meeting.
What does this implement/fix?
Updates/simplifies how the numpydoc doc dependency is managed.
Additional information
Note that explicit testing against scipy is part of the release process for numpydoc.

After discussing this on our last meeting, I propose to merge this at the end of the week (2022-3-25) if there are no further comments.

No complains, it's Friday, merging. Thanks again @rossbar


Feature request: editor.fontWeight

Hi!
VS-Code added a while back "editor.fontWeight" option. I'm used to run with this setting as "bold". It would be nice if Oni also supposed this feature.
On Linux I usually use "Monaco" , and set it to bold so I can see it from a bit further away. (And I think it renders better as bold on my machines)
Thanks

@satotake Did #2232 address this issue? Should we have the respective webgl implementation to close?

Hey!
I just tried editor.fontWeight, and it works perfectly on my end.
Thanks for implenting this!

@Cryza Do you have any pointers on how to implement this for the webgl rendere? I'd like to take a stab

Should we have the respective webgl implementation to close?
It is worthwhile implementing webgl version beacause it has the potential to be set as default renderer when it is stable.
If you do not mind, could you implement it? @badosu

Sorry for the late reply, I kind of missed the @.
As a prerequisite information, it might be relevant that our WebGL renderer works by rendering characters to a texture atlas and then copying and coloring these characters during the actual render call using WebGL. That means any character that should be displayed needs to be added to the WebGLAtlas. The rendering output depends on the font family, size, weight, and style. As of now, we support arbitrary font family and size, but only italic and/or bold style.
I think the implementation of a custom font weight could work in a similar way like we did with the bold and italic rendering. So what we do in the WebGLAtlas is we map cell styles to a certain font style string that is applied before rendering. That means e.g. the combination Fira Code, 14px, bold, non-italic would map to 14px bold Fira Code, which is then applied as canvasContext.font before the character is rendered to the atlas. To support a customizable font weight, the configured font weight would need to be inserted if the bold flag is not set. Maybe even it would make sense then to calculate the actual weight of the bold font to be something like configuredFontWeight + 400 or similar, so that the bold characters do not differ too much or too little from regular text?
Bottom line: We need to adapt the logic that creates the style string for canvasContext.font to include the configured weight by default and maybe even calculate the bold weight based on it to keep things correct in relation.
I hope this helps!


Is the model pretrained on ImageNet?

Hi, Thank you for the great paper. I wonder, for ImageNet-C and Stylized-ImageNet, do you train the model with the proposed method from scratch on ImageNet? Or do you pretrain the model on ImageNet first, then finetune the model with your proposed method with ImageNet again?

Sorry for the late reply. For the vanilla Transformer model, we first trained them from scratch using the "224224" resolution. Then we finetune them on ImageNet again with the "384384" resolution. For the generalization enhanced models, we only applied our method to the ImageNet pre-trained versions during the fine-tuning process. Hope this could address your issue.


Revert "(AMS CI fix) igroring ApplicationContextLifecycleTestCase"

Jira does not explain why this test was disabled
(https://issues.redhat.com/issues/?jql=text~ApplicationContextLifecycleTestCase AND project%3DJBTM)

TESTIT

I manually triggerer a build

@tomjenkinson I approved it - but note that the un-ignored test never triggered due to "git checkout 27.0.0.Alpha1 failed"


Fix utf_16_to_8_iterator stack overflow on partial surrogate pair.

at_end() was checking iterator before it was incremented, then the increment happens, then dereference of unchecked iterator. Compile with USE_ASAN.

Thanks!


Add condition to make sure service.name is not present in eBPF data when creating a pod entity

Relevant information
We want to be able to create OTel service entities from the eBPF agent data if the attribute service.name is present. The current rule seems to be matching against all data we export from the agent even if we provide a service.name since the rule only checks for relevant k8s metadata. This PR adds a condition to make sure that a k8s pod entity is created from the eBPF agent only if service.name is not present.

Checklist

[x] I've read the guidelines and understand the acceptance criteria.
[x] The value of the attribute marked as identifier will be unique and valid.
[x] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

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


Meaning of Event::Closed not clear

Original: https://github.com/tomaka/glutin/issues/520

Closing for #434


Checklist items for AKS Security

Thanks for this @naioja ! I am confused: this list seems to be a subset of the AKS generic one. I would suggest not to have duplicate information. If we really want to have a separate checklist for AKS, we could implement a github action that filters the AKS elements and generates the security checklist automatically after every change to the AKS generic one. We should probably discuss this with the team.

What do we do with this one @naioja ?


Enable client-side SSL certificates to enforce client authentication

With client-side certificates, we can more easily protect a REX-Ray server from accepting requests form an unauthorized REX-Ray client. We could further enhance this to allow specific resources / actions.

This exists but isn't enabled by default because shipping with default HTTPS using certificates included with the product is no more secure than plain-text.

Documentation for libStorage client and server TLS.

Great - this can track the inclusion into REX-Ray as part of deployment. We shouldn't have to ship with certs, as we could potentially generate them during implementation as an option.
https://golang.org/src/crypto/tls/generate_cert.go

So what work is left to be done here @cduchesne ?

Some additional goals:

REX-Ray should manage known service hosts to facilitate usage
Known hosts are used to automatically to trust connected service

Acceptance Criteria

User is able to configure secure client connection from ENV variables, CLI, and YAML
The RR client is able to connect using certs with or without cert verification
RR client connection can use trusted hosts for connection

Definition of Done

REX-Ray controller/client configuration of SSL is simple and consistent with other platforms
Configuration of all aspects of SSL is documented
SSL configuration is tested with default SSL certificates

HI @codenrhoden,
I would submit that this issue should be closed as it's already part of the product and has been since v0.1.0. The default-to-TLS is separate from client-side SSL and is tracked separately as well.

@akutz I concur. Between the docs that went in with https://github.com/codedellemc/rexray/pull/796, and the simpler client config with https://github.com/codedellemc/libstorage/pull/447, the only work left is #583.


Create Browser gateway

More information will be availble from the OKRs

I've implemented a naive one https://github.com/linonetwo/ipfs-browser-gateway, but I'm not familiar with ipfs' DAG traversal, so I stopped there.
Can you give me some advice, so I can make PR here?

@linonetwo that's super cool! What we want is to mimic the IPFS HTTP Gateway that one gets when spawning a daemon but through a service worker http proxy.
Why did you need DAG Traversal? The HTTP Gateway only operates over Files. Could you give me an example?

Besides adding a single file, people would serve the website and add folders too.
For example, https://ipfs.io/ipfs/QmeYxwj4CwCeGVhwi3xLrmBZUUFQdftshSiGLrTdTnWEVV is a folder. I thought they were added by ipfs-unixfs, thus properly reading them needs traversal of DAG.
When I node.files.get this hash, I got an array of object that has depth, I was not clear whether this is related to DAG.
https://github.com/linonetwo/ipfs-browser-gateway/blob/master/public/serviceWorker.js#L67-L76
https://ipfs.io/ipfs/QmRoYXgYMfcP7YQR4sCuSeJy9afgA5XDJ78JzWntpRhmcu seems to be another kind of folder. And use node.files.get on it will get huge data. ipfs.io gateway seems to deal with these two kinds of folders differently.
@diasdavid  Maybe I need to read code in the ipfs daemon?

@linonetwo check the http gateway code at https://github.com/ipfs/js-ipfs/tree/master/src/http/gateway

It's mostly finished, but:

loading dependencies by importScripts synchronously is slow (10s)
it's not returning a Response, there is a bug, but I'm too sleepy to figure out, it's too late

Hope somebody can review it, it's mostly the same as https://github.com/ipfs/js-ipfs/tree/master/src/http/gateway

@linonetwo I was already working on this issue, so thanks for your contribution. I will analyse your implementation asap

Repo for the service-worker-gateway project.


form_builder method file_method? for attribute :timeout throughs *** ArgumentError Exception: wrong number of arguments (given 0, expected 1..3)

Environment

Ruby [version]
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin18]
Rails [version]
Rails 5.2.3
Simple Form [version]
simple_form (4.1.0)

Current behavior
Having following form build with simple_form and haml (simplified for testing purpose):
source:
https://github.com/sapcc/elektra/blob/master/plugins/loadbalancing/app/views/loadbalancing/loadbalancers/pools/healthmonitors/edit.html.haml#L8
https://github.com/sapcc/elektra/blob/master/plugins/loadbalancing/app/views/loadbalancing/loadbalancers/pools/healthmonitors/_form.html.haml#L5
= simple_form_for @healthmonitor, url: plugin('loadbalancing').loadbalancer_pool_healthmonitor_path(loadbalancer_id: @loadbalancer.id, pool_id: @pool.id, id: @healthmonitor.id), method: :put, remote: request.xhr?, html: {id: 'healthmonitor_form', data: {modal: true} } do |f|
  = f.input :timeout, label: 'Timeout'

Im getting after the upgrades to rails 5.2.3 and simple_form 4.1.0 following error:
Rendered plugins/loadbalancing/app/views/loadbalancing/loadbalancers/pools/healthmonitors/edit.html.haml within layouts/modal (3808.8ms)
13:36:47 rails.1   | Completed 500 Internal Server Error in 5417ms (ActiveRecord: 24.7ms)
13:36:47 rails.1   |
13:36:47 rails.1   |
13:36:47 rails.1   | wrong number of arguments (given 0, expected 1..3) excluded from capture: DSN not set
13:36:47 rails.1   |
13:36:47 rails.1   | ActionView::Template::Error (wrong number of arguments (given 0, expected 1..3)):
13:36:47 rails.1   |     2:   -# = f.input :name, required: false
13:36:47 rails.1   |     3:   -# = f.input :type, as: :select, collection: Loadbalancing::Healthmonitor::TYPES, required: true, disabled: update
13:36:47 rails.1   |     4:   -# = f.input :max_retries, as: :integer, input_html: { min: '1', max: 10 }, hint: 'A value between 1 and 10.'
13:36:47 rails.1   |     5:   = f.input :timeout, label: 'Timeout', as: :integer, required: true, input_html: { min: '1' }, hint: 'This value must be less than the delay value.'
13:36:47 rails.1   |     6:   -# = f.input :delay, as: :integer, label: 'Delays', input_html: { min: '1' }
13:36:47 rails.1   |     7:   -# = f.input :http_method, { wrapper_html: {class: ("hidden" unless @healthmonitor.http_type?)}, required: true, as: :select, collection: Loadbalancing::Healthmonitor::METHODS }
13:36:47 rails.1   |     8:   -# = f.input :expected_codes, { wrapper_html: {class: ("hidden" unless @healthmonitor.http_type?)} , required: true, hint: 'A single value: 200. A list: 200, 202. A range: 200-204'}
13:36:47 rails.1   |
13:36:47 rails.1   | plugins/loadbalancing/app/views/loadbalancing/loadbalancers/pools/healthmonitors/_form.html.haml:5:in `_plugins_loadbalancing_app_views_loadbalancing_loadbalancers_pools_healthmonitors__form_html_haml___888058178534608498_70131087117780'

Expected behavior
Render the timeout field as before the upgrade (rails <IP_ADDRESS> and simple_form 3.5.0)
Debugging
After debugging a bit I could reproduce that in simple_form within the method file_method? im getting following error:
https://github.com/plataformatec/simple_form/blob/master/lib/simple_form/form_builder.rb#L576
14:20:58 rails.1   | (byebug) @object
14:20:58 rails.1   | {"url_path"=>"/", "name"=>"", "pools"=>[{"id"=>"1707a12b-f706-46ad-9119-1b94749efdc8"}], "admin_state_up"=>true, "tenant_id"=>"54578f0c69904c89ab32b41f0bb39621", "delay"=>4, "expected_codes"=>"200", "max_retries"=>2, "http_method"=>"GET", "timeout"=>3, "max_retries_down"=>3, "project_id"=>"54578f0c69904c89ab32b41f0bb39621", "type"=>"HTTP", "cached_object_type"=>"healthmonitor", "search_label"=>"", "id"=>"0f2689e9-1ee5-4bdd-82ff-b0f77dae0f29"}
14:21:04 rails.1   | (byebug) attribute_name
14:21:04 rails.1   | :timeout
14:21:14 rails.1   | (byebug) @object.send(attribute_name) if @object.respond_to?(attribute_name)
14:21:14 rails.1   | (byebug):1:in `file_method?': Object#timeout is deprecated, use Timeout.timeout instead.
14:21:14 rails.1   | *** ArgumentError Exception: wrong number of arguments (given 0, expected 1..3)

Other attributes work fine:
14:23:19 rails.1   | (byebug) @object.respond_to?(:max_retries_down)
14:23:19 rails.1   | true
14:23:32 rails.1   | (byebug) @object.respond_to?(:max_retries)
14:23:32 rails.1   | true

Do you know how to work that around?

I tried to reproduce the error using a fresh application with the same versions that you provided but had no luck with it.
Environment

Ruby [2.4.1]
Rails [5.2.3]
Simple Form [4.1.0]

Could you please provide us a sample application that reproduces the issue in isolation?
Thanks.

Hi @mracos! Thx for the replay. I will try to reproduce it in an easy fresh environment in the next days and will post the results here.

@ArtieReus I'm closing this issue because it had no recent activity.
If you're still facing this on the latest version, please open a new one with all the information requested in the template.
Thank you!


Add env var HOMEBREW_NO_AUTO_UPDATE

https://github.com/Homebrew/brew/blob/b18bbacced4a23df8b2e6a57b7a2bded45fc2a77/docs/Manpage.md

HOMEBREW_NO_AUTO_UPDATE
If set, do not automatically update before running some commands e.g. brew install, brew upgrade and brew tap.

data/homebrew.json


printing support

Not sure what is the purpose of this ticket. I can print documents from this viewer by sharing the document with the printer. I can do the same from the file manager. I do not miss a feature here.


Module not found and preload error

Hi, I am trying to use pygbag to run this pygame: https://github.com/portal-cornell/robotouille/tree/main. However, I cannot get past a black screen. I have imported all dependencies necessary and believe I have main.py  set up correctly:
# /// script
# dependencies = [
#  "numpy",
#  "matplotlib",
#  "pandas",
#  "scipy",
#  "pillow",
#  "cycler",
#  "kiwisolver",
#  "dateutil",
#  "six",
#  "gym",
# ]
# ///

from robotouille import simulator
import argparse
import asyncio

async def main():
  while True:
    parser = argparse.ArgumentParser()
    parser.add_argument("--environment_name", help="The name of the environment to create.", default="original")
    parser.add_argument("--seed", help="The seed to use for the environment.", default=None)
    parser.add_argument("--noisy_randomization", action="store_true", help="Whether to use 'noisy randomization' for procedural generation")
    args = parser.parse_args()

    simulator(args.environment_name, args.seed, args.noisy_randomization)
    await asyncio.sleep(0)

asyncio.run(main())

When running in debug mode, I see two main errors:

No module named ‘gym’: I have installed ‘gym’ in my environment and have also added it to the dependencies list.  I’ve also tried running pygbag with the -git flag as suggested for non-standard dependencies, but I still can’t resolve the issue

Additionally, I am also seeing a lot of preload errors such as “support/EMSCRIPTEN.c: preload [/data/data/org.python/assets/site-packages/pygame/threads/init.py] ERROR”

Any help debugging these errors would be much appreciated.

you may put a request for "gym" here https://github.com/pygame-web/pkg-porting-wasm/issues as it need to be compiled to Web Assembly.
this https://github.com/portal-cornell/robotouille/blob/main/robotouille/robotouille_simulator.py#L14 is a blocking loop and would not work anyway.
all infinite loops must contain "await asyncio.sleep(0)" and be in "async def" functions and must be "await"-ed from caller


MBE Practical Example: Table width causes wrap in first column

The rendered version of the book has a CSS rule defined in variables.css as follows
:root {
    --sidebar-width: 300px;
    --page-padding: 15px;
    --content-max-width: 750px;
    --menu-bar-height: 50px;
}

This definition of a max width of 750px causes the parse-table element on the practical introduction section of the MBE chapter to line-wrap in the first column, which makes the block-arrow indicator very difficult to follow.
I found that relaxing this constraint to even 900px in my browser inspector caused the table to widen enough that the wrapping no longer occurred, at least on my display and browser:

Ah, thanks for pointing that out, 7b7b1db should fix this by selectively enlarging it


Cannot find session for ID for URI

Running into an issue, getting this when close happens.  We're using master at the newest version. Appears to happen on any close request (for instance stopping the stream in VLC)
Cannot find session ID for URI=/close/HZgZt5043328FZ37/3

Related we're also getting the following, but we haven't been able to get concrete steps to reproduce it, although it is happening frequently according to our logs.
Cannot find session for URI=/idle/88PT3df9J75JMbA0/11

I did quick fix. I think it should work now but I haven't tested it yet.

That seems to work.  For the other one, we figured out it was because of worker_processes > 1.  Not sure if it is a bug with this module, or with the rtmp module we were using, but sessions would be lost when worker_processes > 1.

Worker_process has to be set to 1 in rtmpt and rtmp module. And there is one another very important thing - keepalive_requests in http section has to set to large value ex.<PHONE_NUMBER>.

Hi
I meet the same problem.
and i set keepalive_requests<PHONE_NUMBER>  in nginx.conf. But it look like not good.

Task Flow
ffmpeg -> rtmpt protocol -> proxy to rtmp

I use ffmpeg to push my stream :
ffmpeg -re -i /Users/maxhu/Desktop/test.mp4 -vcodec libx264 -vprofile baseline -acodec aac -ar 44100 -strict -2 -ac 1 -f flv -s 1280x720 -q 10 rtmpt://localhost:80/demo/testav

and my nginx.conf is
user  nginx;
worker_processes  1;

load_module modules/ngx_rtmpt_proxy_module.so;
load_module modules/ngx_rtmp_module.so;

error_log  /var/log/nginx/error.log warn;
pid        /var/run/nginx.pid;

events {
    worker_connections  1024;
}

http {
    keepalive_requests<PHONE_NUMBER>;
    access_log  /var/log/nginx/access.log;
    server {
        listen       80;

        location ~ (^/open/1$|^/idle/.*/.*$|^/send/.*/.*$|^/close/.*/.*$) {
            rtmpt_proxy on;
            rtmpt_proxy_target localhost:1935;
            rtmpt_proxy_rtmp_timeout 2;
            rtmpt_proxy_http_timeout 5;

            add_header Cache-Control no-cache;
            access_log on;
        }
        location /fcs/ident2 {
            return 200;
        }
   }
}

rtmp {
    access_log  /var/log/nginx/access.log;
    server {
        listen 1935;
        chunk_size 4096;

        application demo {
                live on;
                record off;
        }
    }
}

error log is
nginx    | 2017/11/04 23:23:01 [warn] 29#29: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000001148, client: <IP_ADDRESS>, server: , request: "POST /send/07zG7U847Euw963J/8 HTTP/1.1", host: "localhost:80"
nginx    | 2017/11/04 23:23:01 [warn] 29#29: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000001149, client: <IP_ADDRESS>, server: , request: "POST /send/07zG7U847Euw963J/9 HTTP/1.1", host: "localhost:80"
nginx    | 2017/11/04 23:23:02 [warn] 29#29: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000001150, client: <IP_ADDRESS>, server: , request: "POST /send/07zG7U847Euw963J/10 HTTP/1.1", host: "localhost:80"
nginx    | 2017/11/04 23:23:02 [warn] 29#29: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000001151, client: <IP_ADDRESS>, server: , request: "POST /send/07zG7U847Euw963J/11 HTTP/1.1", host: "localhost:80"
nginx    | 2017/11/04 23:23:02 [warn] 29#29: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000001152, client: <IP_ADDRESS>, server: , request: "POST /send/07zG7U847Euw963J/12 HTTP/1.1", host: "localhost:80"
nginx    | <IP_ADDRESS> [04/Nov/2017:23:23:02 +0000] PUBLISH "demo" "testav" "" - 1128 409 "" "FMLE/3.0 (compatible; Lavf57.83" (3s)
nginx    | 2017/11/04 23:23:02 [warn] 29#29: *80 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000001153, client: <IP_ADDRESS>, server: , request: "POST /send/07zG7U847Euw963J/14 HTTP/1.1", host: "localhost:80"
nginx    | 2017/11/04 23:23:02 [error] 29#29: *80 Cannot find session for URI=/send/07zG7U847Euw963J/14, client: <IP_ADDRESS>, server: , request: "POST /send/07zG7U847Euw963J/14 HTTP/1.1", host: "localhost:80"
nginx    | 2017/11/04 23:23:02 [alert] 1#1: worker process 29 exited on signal 11

Hi
Update.
Now, i update proxy setting.
            proxy_buffers               32 4m;
            proxy_busy_buffers_size     25m;
            proxy_buffer_size           512k;
            proxy_ignore_headers        "Cache-Control" "Expires";
            proxy_max_temp_file_size    0;
            proxy_set_header            Host $host;
            proxy_set_header            X-Real-IP $remote_addr;
            proxy_set_header            X-Forwarded-For $proxy_add_x_forwarded_for;
            client_max_body_size        1024m;
            client_body_buffer_size     4m;
            proxy_connect_timeout       300;
            proxy_read_timeout          300;
            proxy_send_timeout          300;
            proxy_intercept_errors      off;

And it make streaming good and very fluently.
I don't know why.

@jhaoheng Hi, in which block in the nginx.conf are you setting these proxy settings? Thanks!

@dwmcc
Hi , you mean 'section' ?
http{
     server {
            location {
                        {here}
            }
     }
}


New and improved CallResolver

This PR restructures the way call expressions and member call expressions work. It introduces a new callee field, to allow modelling of calls that were previously not possible (see #689) and also reworks the way, the base property works.
This IS API breaking and will probably the first PR that starts the v6 development.
Fixes #689
Fixes #298
Fixes #704

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


Updated axios version

Updated axios version from v0.19.2 to v0.21.1.
This addresses 2 high severity vulnerabilities within the axios module (see https://npmjs.com/advisories/1594)
This also addresses the following issue: https://github.com/rubystarashe/nuxt-vuex-localstorage/issues/26

Thank you. I have been very busy... I will review some other issues along with the version issue.


Interstitial does't show

Hello. Thank you for that library. I have a problem with interstitial. It doesn't show and I don't get any messages in logcat. My json:
{
"apps": [
{
"app_title": "App Name (Dialog)",
"app_desc": "Your App's description",
"app_icon": "https://lh3.googleusercontent.com/LNU3wSeIqCtYvvbcklHr4mAQbG4EAVZ_kamQZ_6ECmyYqudAX3FoZy42bIGnSj3pFE5n=s360-rw",
"app_header_image": "https://lh3.googleusercontent.com/jGNuhkp16zXN5njRuUcEEqeoEtxzyoo2V20r6-gPxRBd01kPDPpTqOEPy1gs33uef5w=w2880-h1438-rw",
"app_uri": "https://play.google.com/store/apps/details?id=fm.radio.sanity.radiofm",
"app_rating": "4.5",
"app_cta_text": "Install",
"app_price": "Free",
"app_adType": "dialog"
},
{
"app_title": "App Name (Dialog)",
"app_desc": "Your App's description",
"app_icon": "https://lh3.googleusercontent.com/LNU3wSeIqCtYvvbcklHr4mAQbG4EAVZ_kamQZ_6ECmyYqudAX3FoZy42bIGnSj3pFE5n=s360-rw",
"app_header_image": "https://lh3.googleusercontent.com/jGNuhkp16zXN5njRuUcEEqeoEtxzyoo2V20r6-gPxRBd01kPDPpTqOEPy1gs33uef5w=w2880-h1438-rw",
"app_uri": "https://play.google.com/store/apps/details?id=fm.radio.sanity.radiofm",
"app_rating": "4.5",
"app_cta_text": "Install",
"app_price": "Free",
"app_adType": "interstitial"
}
]
}

final HouseAdsInterstitial interstitial = new HouseAdsInterstitial(MainActivity.this);
        interstitial.setUrl("myURL"); //URL to Json File
        interstitial.loadAd();
        interstitial.setAdListener(new AdListener() {
            @Override
            public void onAdLoadFailed() {
                Log.w("xsa","onAdLoadFailed");

            }

            @Override
            public void onAdLoaded() {
                interstitial.show();
                Log.w("xsa","onAdLoaded");
            }

            @Override
            public void onAdClosed() {

            }

            @Override
            public void onAdShown() {

            }

            @Override
            public void onApplicationLeft() {
                Log.w("xsa","onAdLoadFailed");

            }
        });

Hi there,
In the App, your code is correct...
The issue was from my side, Interstitial Ad Type has a little bit of different Json format which wasn't properly reflected in the ReadMe...
I've update the ReadMe.
here's the Json schema for Interstitial Ad Type -
"app_interstitial_url": "IMAGE URL",
"app_uri": "app package name or website http url",
"app_adType": "interstitial"


Windows only: Incorrectly resolved webpack aliases paths

package.json
"@webdiscus/pug-loader": "^1.5.0"

webpack.config.json
const PATHS = {
  src: path.join(__dirname, '/src'),
  dist: path.join(__dirname, '/dist')
};

...

{
  test: /\.pug$/i,
  loader: '@webdiscus/pug-loader',
  options: {
    basedir: PATHS.src,
  }
},

...

resolve: {
  alias: {
    '@images': path.join( PATHS.src, '/assets/images/' ),
  }
},

I've tried to build fresh dist-kit, but got a longread full of similar errors instead:

Module build failed: UnhandledSchemeError:
Reading from "D:MaxcoderjScriptBaymetalamp-fedsec-layoutssrcassetsimages/favicon/favicon-96x96.png"
is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "d:" URIs.
at D:\Max\coder\jScriptBay\metalamp-fedsec-layouts\node_modules\webpack\lib\NormalModule.js:825:25

For some reasons, webpack aliases is nothing but a plain text without any special file path characters there.
So i tried to look around the sourcecode. Here is @webdiscus/pug-loader/src/utils.js:
/**
 * Replace founded alias in require argument.
 *
 * @param {string} value The value of extends/include/require().
 * @param {{}} aliases The `resolve.alias` of webpack config.
 * @param {function(string):string} regexp The function return a regex pattern string. The argument is alias name.
 * @return {string} The string with replaced alias.
 */
const resolveAlias = (value, aliases, regexp) => {
  const patternAliases = Object.keys(aliases).join('|');

  if (!patternAliases) return value;

  const [, alias] = new RegExp(regexp(patternAliases)).exec(value) || [];

  return alias ? value.replace(new RegExp(regexp(alias)), aliases[alias]).replace('//', '/') : value;
};

But everything looks well there, so i can't find a reason of that strange problem with webpack aliases.
Hope my debut issue request is a bit helpful. Thank you for an attention!

Sorry, i forgot to add an example of alias usage:
./src/components/favicons-bulk/favicons-bulk.pug
mixin faviconsBulk()
  link( rel="icon" type="image/png"<EMAIL_ADDRESS>sizes="196x196" )
  link( rel="icon" type="image/png"<EMAIL_ADDRESS>) sizes="96x96"   )
  link( rel="icon" type="image/png"<EMAIL_ADDRESS>) sizes="32x32"   )

Hello @daomatys,
thank you for the bug report.
In linux it works.
It looks like the problem is in Windows environment. I will try fix it for Windows.

Hello @daomatys,
I have fixed the issues on windows (tested on Win 10).
Can you please try test it?
npm run test

Hello, @webdiscus,
Yea, here is my test log
OS: Win 10 Pro, ver. 21H1,
><EMAIL_ADDRESS>test D:\Max\coder\jScriptBay\pug-loader
> jest --detectOpenHandles --config ./test/jest.config.js

 PASS  test/index.unit.test.js
 FAIL  test/index.integration.test.js (23.431 s)
  ● pug tests › escape render

    expect(received).toEqual(expected) // deep equality

    - Expected  - 3
    + Received  + 3

    -
Hello world!

"double quotes"

'single quotes'

`backtick`

Newline string,
    +
Hello world!

"double quotes"

'single quotes'

`backtick`

Newline string,
    - next newline
    + next newline
    -

Add strings:string1 with |
    +

Add strings:string1 with |
      string2 with |

      21 |     const received = readTextFileSync(path.join(absTestPath, PATHS.webRoot, receivedFile));
      22 |     const expected = readTextFileSync(path.join(absTestPath, PATHS.expected, expectedFile));
    > 23 |     expect(received).toEqual(expected);
         |                      ^
      24 |     done();
      25 |   });
      26 | };

      at utils/helpers.js:23:22

  ● pug tests › escape render

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

      39 |   });
      40 |
    > 41 |   test('escape render', (done) => {
         |   ^
      42 |     const relTestCasePath = 'escape-render';
      43 |     compareContent(PATHS, relTestCasePath, done);
      44 |   });

      at index.integration.test.js:41:3
      at Object.<anonymous> (index.integration.test.js:35:1)

  ● extend / include / raw include › include-alias

    expect(received).toEqual(expected) // deep equality

    - Expected  - 1
    + Received  + 1

    -
Test includes

include A

mixin A

include B

mixin B

include C

Markdown test

    +
Test includes

include A

mixin A

include B

mixin B

include C

Markdown test

end

      21 |     const received = readTextFileSync(path.join(absTestPath, PATHS.webRoot, receivedFile));
      22 |     const expected = readTextFileSync(path.join(absTestPath, PATHS.expected, expectedFile));
    > 23 |     expect(received).toEqual(expected);
         |                      ^
      24 |     done();
      25 |   });
      26 | };

      at utils/helpers.js:23:22

  ● extend / include / raw include › include-alias

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

      56 |   });
      57 |
    > 58 |   test('include-alias', (done) => {
         |   ^
      59 |     const relTestCasePath = 'include-alias';
      60 |     compareContent(PATHS, relTestCasePath, done);
      61 |   });

      at index.integration.test.js:58:3
      at Object.<anonymous> (index.integration.test.js:47:1)

Test Suites: 1 failed, 1 passed, 2 total
Tests:       2 failed, 73 passed, 75 total
Snapshots:   0 total
Time:        25.211 s
Ran all test suites.

Hello @daomatys,
thank you for test report.
These errors are not important. Main and important tests are passed.
The problem in two cases is either with cached old tests or with the wrong formatting of Newline in Git on Windows.
For example, in this case extend / include / raw include › include-alias:
the expected file contain 1:1 what is received:

Test includes

include A

mixin A

include B

mixin B

include C

Markdown test

end

How is configured Git on Windows?
Git configuration for Newline must be as is, without NL transformation
Yet one cause: sometime at first run test some tests failed. But the next attempt was successful. Try 2-3 times.
So, on Win 10 all test are passed. Your project metalamp-fedsec-layouts with the @webdiscus/pug-loader has been successfully builded on Win 10. The project started  local on Windows with npm run host as well successful.


fix: use replay from leanprover/lean4#2617

This is only relevant after leanprover/lean4#2617 is merged.
This PR uses Environment.replay instead of the playing-with-fire Environment.add which we would like to make private.

I'm really looking forward to getting rid of this hack. Thank you for your work on this!

Closed, this was rolled into #71.


Question: Debugging stange behavior

Hi all,
In the process of migrating from Microsoft.Azure.Graphs and testing it, we found that we couldn't debug properly.
When inspecting (Visual Studio Quickwatch feature) variables, like a vertex, shows this error:

error CS0012: The type 'Vertex' is defined in an assembly that is not referenced. You must add a reference to assembly 'Gremlin.Net.CosmosDb, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=670a5a4412608667'.

Quick google search, the "solution" is to enable Debug - Options - General - Use the legacy C# and VB expression evaluator (which would be deprecated soon).
Is this a expected behavior? Are any known workarounds?
Thanks in advance.

Correct title


Support for H5101

This plugin is awesome! My H5072 & H5075 have been rock solid HomeKit devices with this plugin!
Any chance the H5101 could be added? I'd happily purchase you one or do any helpful grunt-work to assist in this effort.
Thanks for all you do!

@jimiamoore my research showed that adding support for H5101 (and H5102) should be pretty straightforward. I updated the library that this homebridge plugin is using to read data from the device. I will need your help to test changes with H5101.
Clone  https://github.com/asednev/govee-bt-client/tree/support-h5101
Then, run the following commands and provide console output.
$ npm install
$ npm run dev

Here's raw advertisement from my H5075 and decoded on the following lines
=== start discovery
discovered 3a1a0e3d40ed4b629616b4adfb824924 3a1a0e3d40ed4b629616b4adfb824924  disconnected -80
3a1a0e3d40ed4b629616b4adfb824924: 88ec0002ef9c4400
{
  uuid: '3a1a0e3d40ed4b629616b4adfb824924',
  address: '',
  model: 'GVH5075_2500',
  battery: 68,
  humidity: 41.2,
  tempInC: 19.2412,
  tempInF: 66.63416,
  rssi: -80
}

Your console output will help validate decoding logic. In case decoding is incorrect, few examples of readings will be useful with the values you see on the screen for temperature (C or F) and humidity.

I would also love this to support H5102.  I believe I successfully cloned the URL above to my homebridge but whenever I run
npm run dev
This is the output I get.  Let me know what I am doing wrong to help assist in this enhancement!
pi@homebridge:/var/lib/homebridge $ npm run dev
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /var/lib/homebridge/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/var/lib/homebridge/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2020-12-28T20_05_42_584Z-debug.log
pi@homebridge:/var/lib/homebridge $

@KaylaSiemon after cloning the repo, you need to cd into the cloned directory:
$ cd govee-bt-client

followed by
$ npm install
$ npm run dev

also, govee-bt-client library is unrelated to homebridge, it can be cloned anywhere, doesn't have to be inside of homebridge directory.

discovered a4c1384529b5 a4c1384529b5 a4:c1:38:45:29:b5 disconnected -80
a4c1384529b5: 88ec000309295f00
{
uuid: 'a4c1384529b5',
address: 'a4:c1:38:45:29:b5',
model: 'GVH5072_29B5',
battery: 95,
humidity: 95.3,
tempInC: 19.8953,
tempInF: 67.81154,
rssi: -80
}
Is this what you are looking for?

Opps. I think that's discovering my 5072 model. Let me tryp again

For some reason, it is unable to get information on my 5102 model i.e. a4:c1:38:e2:8d:16
discovered a4c1384529b5 a4c1384529b5 a4:c1:38:45:29:b5 disconnected -78
invalid peripheral, scan for another
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -75
invalid peripheral, scan for another
discovered a4c1384529b5 a4c1384529b5 a4:c1:38:45:29:b5 disconnected -79
a4c1384529b5: 88ec000305415f00
{
  uuid: 'a4c1384529b5',
  address: 'a4:c1:38:45:29:b5',
  model: 'GVH5072_29B5',
  battery: 95,
  humidity: 95.3,
  tempInC: 19.7953,
  tempInF: 67.63154,
  rssi: -79
}
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -77
invalid peripheral, scan for another
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -76
invalid peripheral, scan for another
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -76
invalid peripheral, scan for another
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -81
invalid peripheral, scan for another
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -84
invalid peripheral, scan for another
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -81
invalid peripheral, scan for another
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -81
invalid peripheral, scan for another
=== stop discovery

Got it to work!
Here it is:
=== start discovery
discovered a4c138e28d16 a4c138e28d16 a4:c1:38:e2:8d:16 disconnected -65
a4c138e28d16:<PHONE_NUMBER>165564
{
uuid: 'a4c138e28d16',
address: 'a4:c1:38:e2:8d:16',
model: 'GVH5102_8D16',
battery: 100,
humidity: 32.5,
tempInC: 20.2325,
tempInF: 68.41850000000001,
rssi: -65
}

@asednev Is that what you were looking for?

@KaylaSiemon yes! That's great. Thank you for testing. I will update homebridge plugin with support for H5101 in the next week or two.

@KaylaSiemon I created version 1.0.5-beta that adds support for H5102. Please update your homebridge-plugin-govee to v1.0.5 and give it a try.
Thanks a lot for your help testing this with H5102.

@asednev It worked! Thank you so much - really appreciate all your hard work!

@asednev It worked! Thank you so much - really appreciate all your hard work!

1.0.5 is now public and available to everyone.

1.0.5 is now public and available to everyone.


ToC Needs Updated

Updated, but used vs code extension (Markdown All in One). Not sure if there is an action for it. I'll keep this issue open for now in case there's a better solution. For now, I'll keep it updated on my end.

Awesome, thanks @tataraba


commonjs export is not working in 0.1.1

const ReactPixel =  require('react-facebook-pixel');
ReactPixel.init('yourPixelIdGoesHere');

above code causes Uncaught TypeError: ReactPixel.init is not a function
Rather, we have to use default export now.
const ReactPixel =  require('react-facebook-pixel').default;
ReactPixel.init('yourPixelIdGoesHere');

There is a babel / webpack plugin which changes this for you. I think it is either           "add-module-exports" or           "transform-es2015-modules-commonjs".

Hopefully, @bf's solution fixes this

Seriously? then you'd better change below description in the README.md.


Update doesn't use my selected label

I have an entry like:
map_8_1_0 = "https://github.com/ZhenyaUsenko/motoko-hash-map#v8.1.0
I do mops publish and it yells at me that I don't have the commit hash and to run mops update map_8_1_0.
I run it.
I get an entry added with the name of the repo at the end of my mops file and nothing changes with my item:
motoko_hash_map = "https://github.com/ZhenyaUsenko/motoko-hash-map#v8.1.0@dfjsldjflksdlkfjdfl"

@skilesare thanks for the bug report!
Fixed in cli 0.34.1
Run npm i -g ic-mops to update cli


Add PostgreSQL as a backend

Let's have a PostgreSQL backend implemented via SQLAlchemy or raw psycopg2, ideally with the following columns:

id, fragment (unique together)
dataset
properties
schema
timestamp

We should make sure to use bulk loading when possible. It might be worth to look into using ON CONFLICT ... UPDATE with postgres to do database-side upserts:
https://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#insert-on-conflict-upsert
The table should be generated automatically when a user attempts to insert records for the first time.
Both the table name and the database connection string should be read from the envrionment. Or should we bake the dataset ID into the table name somehow?

Thanks @sunu


Carto::Organization.where(name:'demo').first.destroy does not remove dependencies in cascade

The following command, removes an organization from the cartodb_production database, with all its dependencies:

users
organizations
user_datasets

::Organization[name: 'org_name'].destroy_cascade
However, the equivalent command in the new model does not remove the dependencies or the org database itself, only the organization entry from cartodb_production.organizations
Carto::Organization.where(name:'org2').first.destroy
cartodb_production=# select u.username,o.name,u.database_name from users u left join organizations o on o.id = u.organization_id;
  username  | name |                    database_name
------------+------+------------------------------------------------------
 testimport | demo | cartodb_user_961e2567-be8e-4135-bd10-df6c89d82a36_db
 demo-admin | demo | cartodb_user_961e2567-be8e-4135-bd10-df6c89d82a36_db
 apiuser    | demo | cartodb_user_961e2567-be8e-4135-bd10-df6c89d82a36_db
 org2-admin |      | cartodb_user_dd1eba58-480a-433b-8053-e8a24e0b2b18_db
 org2-user  |      | cartodb_user_dd1eba58-480a-433b-8053-e8a24e0b2b18_db

org2-admin and org2-user should have been deleted along with the org2 organization
This was tested in an On-premise v1.2.1 instance.
cc/ @gfiorav

@ernesmb this is a known limitation. As a rule of thumb, you shouldn't use the new models for write operations.

Oh, thanks for the clarification @juanignaciosl
I was reporting just in case this was not the expected behaviour. I guess this could be closed now :)


Endless recursion in DefaultPromise

If the following conditions hold the DefaultPromise goes into endless recursion.
1 . The DefaultPromise is used with an ImmediateEventExecutor
2 . The DefaultPromise is completed.
3 . Within a listener another listener is added (aka LateListeners in DefaultPromise)
The line responsible for the endless recursion is ultimately https://github.com/netty/netty/blob/master/common/src/main/java/io/netty/util/concurrent/DefaultPromise.java#L850
I am using this in a test. I can think of a simple, quick and dirty fix that simply wraps the line in question in say a GlobalEventExecutor, but that seems rather ugly to me.
The stacktrace looks as follows
	....
	at io.netty.util.concurrent.DefaultPromise$LateListeners.run(DefaultPromise.java:850) ~[classes/:na]
	at io.netty.util.concurrent.ImmediateEventExecutor.execute(ImmediateEventExecutor.java:83) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.execute(DefaultPromise.java:671) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.access$400(DefaultPromise.java:32) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise$LateListeners.run(DefaultPromise.java:850) ~[classes/:na]
	at io.netty.util.concurrent.ImmediateEventExecutor.execute(ImmediateEventExecutor.java:83) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.execute(DefaultPromise.java:671) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.access$400(DefaultPromise.java:32) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise$LateListeners.run(DefaultPromise.java:850) ~[classes/:na]
	at io.netty.util.concurrent.ImmediateEventExecutor.execute(ImmediateEventExecutor.java:83) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.execute(DefaultPromise.java:671) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.access$400(DefaultPromise.java:32) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise$LateListeners.run(DefaultPromise.java:850) ~[classes/:na]
	at io.netty.util.concurrent.ImmediateEventExecutor.execute(ImmediateEventExecutor.java:83) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.execute(DefaultPromise.java:671) ~[classes/:na]
	at io.netty.util.concurrent.DefaultPromise.access$400(DefaultPromise.java:32) ~[classes/:na]

Similar problem in https://github.com/netty/netty/pull/3392. Need to investigate but I was going to look into it. One suggedtion was for AbstractChannel.newPromise() to delegate to EventExecutor.

I don't have a Channel and EventExecutor in my tests :-). Currently working around it with different Executor.

It's because you used ImmediateExecutor? :-)
DefaultPromise keeps the depth of the current call stack in a thread local variable, and if it exceeds a certain threshold, it will spawn a new Runnable so that the invocation continues at lower stack depth.  However, ImmediateExecutor is not a real executor, so the stack will overflow eventually. Where do you have to use ImmediateExecutor?

@trustin I wanted to use it in a test, as I wanted listeners attached to the promise to execute immediately. I am not sure if this is worth fixing, however I would say ideally the DefaultPromise should work with any kind of EventExecutor.

@buchgr - Thanks for pointing out that https://github.com/netty/netty/issues/4395 looks like a duplicate of this issue. Is it possible for you to verify the fix for https://github.com/netty/netty/issues/4395 also takes care of this issue? If it does not, please re-open this issue.


Rename repository

Short description

Just in case we decide on changing our repository name, this replaces all hardcoded occurrences of cms-django by integreat-cms. This mostly involves the URLs to the repository on GitHub.

Yes, I will merge this PR right after the repository is renamed and the documentation is deployed to the new URL. I just wanted to wait until this PR is approved so that it can be merged right after the renaming.

I found some more appearances of 'cms-django' in the documentation, was this you're intention?

Oh you're right, somehow my search+replace didn't work correctly. However, I found a way to completely get rid of the hardcoded urls :tada:

Nice :tada:. Looks good to me.


Create sau52.txt

@Scoresh The first verification stage is complete: the official domain for  Portsmouth High School is www.cityofportsmouth.com, to the best of my knowledge. This is just an informational note. The pull request is still under review. The review may take some more time. I greatly appreciate your patience. Here is the proof of domain ownership: https://www.cityofportsmouth.com/school/pms/contact-and-staff-directory


Generate project from template with a given contract name

Generated template would generally have unique contract name, I'm thinking of following workflow.
Create app in my-awesome-app folder with my-awesome-app contract name:
npx create-near-app my-awesome-app

npm install done behind the scenes (like with create-react-app), contract account also created immediately.
This should also eventually have option for different stater templates, etc.
Run generated app:
cd my-awesome-app
npm start

Originally posted by @vgrichina in https://github.com/nearprotocol/near-shell/pull/24/files

can we close this now?

Closing as old and out of date.


[AutoPR containerservice/resource-manager] Correct wrong apiVersion for managedCluster 2019-04-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5849

(message created by the CI based on PR content)

Codecov Report

Merging #5065 into restapi_auto_containerservice/resource-manager will increase coverage by 0.02%.
The diff coverage is 7.69%.

@@                                Coverage Diff                                 @@
##           restapi_auto_containerservice/resource-manager    #5065      +/-   ##
==================================================================================
+ Coverage                                           49.13%   49.15%   +0.02%
==================================================================================
  Files                                                6486     6456      -30
  Lines                                              182096   181157     -939
==================================================================================
- Hits                                                89478    89055     -423
+ Misses                                              92618    92102     -516

Impacted Files
Coverage Δ

...019_04_30/models/container_service_client_enums.py
100% <ø> (ø)
:arrow_up:

...ontainerservice/v2019_04_30/operations/__init__.py
100% <ø> (ø)
:arrow_up:

...mt/containerservice/v2019_04_30/models/__init__.py
55.17% <ø> (+1.42%)
:arrow_up:

.../mgmt/containerservice/container_service_client.py
45.28% <0%> (-2.25%)
:arrow_down:

...nerservice/v2019_04_30/container_service_client.py
35.71% <0%> (-3.68%)
:arrow_down:

...azure/mgmt/containerservice/v2019_04_30/version.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


shared_preferences package does not allow storing by filename

In Android you can store preference files by different filenames. I use this for example to store data for multiple users, or for different preference pages.
e.g. (In Android)
    SharedPreferences settings = context.getSharedPreferences("scores.xml", Context.MODE_PRIVATE);
    SharedPreferences.Editor editor = settings.edit();
    editor.putBoolean("won", true);
    editor.putInt("score",783);
    editor.apply();

For reference, iOS also has a mechanism for named NSUserDefaults.

Hi,
So I worked in this over the last few days, and I implemented a way to manage multiple Shared Preferences files. With this change, you just have to add a parameter to the getInstance method (optional, so it's backward-compatible) to specify the file to use (automatically created if it doesn't already exist).
I edited the files in Dart code and also in Java platform code.
However, as I'm not an iOs developer, I wasn't able to change the iOs specific code (though this isn't broken and still continues to work with the default file).
If anyone is interested and would like to review/edit my changes, and provide the iOs implementation, in order to make a pull request, here's my fork: https://github.com/axel-op/plugins.

For people looking for this functionality, I created a class which does this. It just reads and writes xml files in the android preferences file format. I have not added all the types. To be more complete it would be better if it emulated the ios preference file format under ios.
https://github.com/Rockvole/flutter/tree/master/filename_preferences

This functionality saves and look for data in "/app_fluter" folder. But, I needed to access and edit stored xml data from "/shared_prefs" folder.
So I just made a small change in the code in the function "Future _getLocalFile(String fileName)":
  Future<File> _getLocalFile(String fileName) async {
    // get the path to the document directory.
    String dir = (await getApplicationDocumentsDirectory()).path;
    // Change saved directory from /app_flutter to /shared_prefs
    dir = dir.substring(0, dir.length - ('app_flutter'.length));
    dir = dir + 'shared_prefs';
    File f = new File('$dir/$fileName');
    return f;
  }

Hey everybody,
thanks @axel-op for your work, I implemented the iOS specific code and also converted the java code to kotlin. Also I removed the deprecated commit() method, so it is not fully backwards compatible (even though the commit() method had no real function). The plugin can be found here.
Feel free to fork and add stuff.

There are workarounds for achieving this but, multiple sharedpref files should be given in Flutter in the coming days.

Any updated in this case?

Any updates so far?

Adding on to this - there should be a way to specify using the default shared preferences. This is needed to support setting IAB settings for ads


Can you tell me more about the Settings of the config folder parameters

such as cifar_root,imagenet_root,and model_root

Sorry for the late response. Those are simply paths pointing to the dataset and model directories.


search: print warning if formula fails to load

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

This PR changes search.rb to print a warning for each formula that fails to load. Before this PR, no errors were printed so running brew install on an invalid formula—such as the one in #10392—resulted in this output:
$ brew install<EMAIL_ADDRESS>==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name<EMAIL_ADDRESS>
$ brew search /bazel/
==> Formulae
<EMAIL_ADDRESS>            bazel ✔                                 bazelisk

Here is the output after this PR:
$ brew install<EMAIL_ADDRESS>==> Searching for similarly named formulae...
Warning: Failed to load formula<EMAIL_ADDRESS><EMAIL_ADDRESS>Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the athenason/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/athenason/homebrew-repo/Formula/bazel@1.2.1.rb:8

Error: No similarly named formulae found.
Error: No available formula or cask with the name<EMAIL_ADDRESS>
$ brew search /bazel/
Warning: Failed to load formula<EMAIL_ADDRESS><EMAIL_ADDRESS>Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the athenason/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/athenason/homebrew-repo/Formula/bazel@1.2.1.rb:8

==> Formulae
<EMAIL_ADDRESS>            bazel ✔                                 bazelisk

Review period will end on 2021-01-25 at 04:47:15 UTC.

Review period will end on 2021-01-25 at 04:47:15 UTC.

Thanks for fixing this! What does this do about formulae with syntax errors in them? (e.g. depends on instead of depends_on) Currently, this also produces output like
$ brew install<EMAIL_ADDRESS>==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name<EMAIL_ADDRESS>

Thanks for fixing this! What does this do about formulae with syntax errors in them? (e.g. depends on instead of depends_on) Currently, this also produces output like
$ brew install<EMAIL_ADDRESS>==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name<EMAIL_ADDRESS>

No dice 😢
depends on "openjdk@11"

$ brew reinstall bazel
Error: No available formula or cask with the name "bazel".

No dice 😢
depends on "openjdk@11"

$ brew reinstall bazel
Error: No available formula or cask with the name "bazel".

Actually, no, brew install outputs a warning:
keg only :provided_by_macos

$ brew install zlib
==> Searching for similarly named formulae...
Warning: Failed to load formula: zlib
zlib: undefined method `only' for Formulary::FormulaNamespace9fb01242de382af6fbf5ab3dc4c06975::Zlib:Class
These similarly named formulae were found:
lzlib                                                        zlib
To install one of them, run (for example):
  brew install lzlib
Error: No available formula or cask with the name "zlib".
==> Searching taps on GitHub...
This formula was found in a tap:
homebrew/portable-ruby/portable-zlib
To install it, run:
  brew install homebrew/portable-ruby/portable-zlib

Actually, no, brew install outputs a warning:
keg only :provided_by_macos

$ brew install zlib
==> Searching for similarly named formulae...
Warning: Failed to load formula: zlib
zlib: undefined method `only' for Formulary::FormulaNamespace9fb01242de382af6fbf5ab3dc4c06975::Zlib:Class
These similarly named formulae were found:
lzlib                                                        zlib
To install one of them, run (for example):
  brew install lzlib
Error: No available formula or cask with the name "zlib".
==> Searching taps on GitHub...
This formula was found in a tap:
homebrew/portable-ruby/portable-zlib
To install it, run:
  brew install homebrew/portable-ruby/portable-zlib

Actually, I was mistaken in https://github.com/Homebrew/brew/pull/10393#issuecomment-765128388. I think the "no available formula" error is what you see currently from a syntax error, so this PR doesn't change anything about that.

Actually, I was mistaken in https://github.com/Homebrew/brew/pull/10393#issuecomment-765128388. I think the "no available formula" error is what you see currently from a syntax error, so this PR doesn't change anything about that.

Error: No similarly named formulae found.
Error: No available formula or cask with the name<EMAIL_ADDRESS>

I think we could skip this output entirely, actually, given we're actually failing here.

Error: No similarly named formulae found.
Error: No available formula or cask with the name<EMAIL_ADDRESS>

I think we could skip this output entirely, actually, given we're actually failing here.

Closing in favor of https://github.com/Homebrew/brew/pull/10405

Closing in favor of https://github.com/Homebrew/brew/pull/10405


PVA

ToDo:

[ ] Background
[ ] Organization
[ ] Project description
[ ] Problem (Goal/analisis)
[x] Phases
[x] Quality
[ ] Planning
[ ] Boundaries
[ ] Cost & Benifit
[ ] Risks

ToDo:

[ ] Process feedback


Max post length too short

8192 characters is just ridiculous for any Post-Mortem style entry.

You will be able to create two different kinds of content, posts and articles. Posts are more geared towards time sensitive 'status update' type content where as articles are meant to be more 'timeless' longer form content.
I think post-mortem write ups defiantly fall into the category of articles. The issue is that users cannot publish articles yet. (The rules and hosting guide are articles btw).

I've bumped the blog post limit to 24k characters. That should give enough headroom for most things. Other content types (games, users) are still 8k.


Changes to Malware, MalwareAnalysis, CourseOfAction

update Malware, MalwareAnalysis, and CourseOfAction
update documentation, some vocabs, new checks and styling

Malware Analysis seems to break on schema validation

closes #128
closes #135
closes #125

action_check is not needed; it will be handled by the schemas.

@clenk removed the action-check


Maintain this package

@zouhangwithsweet I'd like to help maintain this package, including its updates and releases. Can you invite me on npm?
Background https://github.com/unocss/unocss/issues/4087

same account: zyyv

@zyyv Sorry to bother you, if this package is no longer maintained, is there any other way to implement autoprefixer functionality in unocss?

@zyyv Sorry to bother you, if this package is no longer maintained, is there any other way to implement autoprefixer functionality in unocss?

I think this is the best way. You can refer to this logic to process it in your project.
In addition, this package will continue to be maintained. Sorry for not updating it. I will look at the recent changelog and try to update the version.


Any Code License?

Hi,
Thanks for your work.
I've forked and evolved a little, oriented to my perspective of using aws basic cli instead aws sam (personal & opinionated of course). I would like to add a license to the code, any preference? MIT?
Thanks in advance,
Manuel

Thanks, here you go


"Operation.isDeprecated()" should return false as default

As described below, the default value of 'deprecated' is false.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#user-content-operationDeprecated
So I think that Operation.isDeprecated() should behave same as the description: it should return true or false, never returns null.
related issue in swagger-parser: https://github.com/swagger-api/swagger-parser/issues/697

https://travis-ci.org/swagger-api/swagger-core/builds/370936121?utm_source=github_status&utm_medium=notification
The currently failing tests is asserting 'whole of the spec' with the 'whole of the Swagger object'.
ParameterSerializationTest.java#L392
[ERROR] testIssue1765(io.swagger.parameter.ParameterSerializationTest)  Time elapsed: 0.01 s  <<< FAILURE!
java.lang.AssertionError:
Serialized object:
{"swagger":"2.0","paths":{"/test":{"get":{"parameters":[{"name":"days","in":"path","required":true,"type":"integer","format":"int32","enum":[1,2,3,4,5]}],"responses":{"default":{"description":"great"}},"deprecated":false}}}}
does not equal to expected serialized string:
{"swagger":"2.0","paths":{"/test":{"get":{"parameters":[{"name":"days","in":"path","required":true,"type":"integer","format":"int32","enum":[1,2,3,4,5]}],"responses":{"default":{"description":"great"}}}}}}

By this PR, Swagger object is deserialized deprecated: false as default, and caused the failures.

Thanks for spotting this, just merged #2795 addresses the issue by allowing to set deprecated as false in Operation.setDeprecated(), therefore whenever explicitly set as false (e.g. while deserializing, or by setting programmatically), getDeprecated() will return correctly false


Vim: non-word boundary (\B)

While vim does not have a native \B, would it be worth mentioning that combining the \< or \> anchors with a negative lookahead \@! might be used?
\<\@! and \>\@! to accomplish the same goal as \B.

Hi @OnlineCop
That's a good recipe, but I don't know if I should include it. A lot of patterns that are missing in some regex language can be re-built, for example the ones missing from Python. \<\@!\>\@! is a little long and I doubt it is ever used in practice.


PST parser

The problem the component solves
Mailbag needs to be able to read data from PST files to create mailbags. This parser needs to be interchangeable with other format parsers, so it should output data into an abstracted Input class.
Relevant part of mailbag spec?
...
Type of component

[ ] Core
[X] Input
[ ] Attachments
[ ] Derivatives conversion
[ ] Reporting/Exporting
[ ] GUI
[ ] Distribution

Expected contribution

[X] Pull Request
[X] Comment with proposed solution

Major challenges or things to keep in mind
Email exports can be messy. We'll need a good about of sample data and to document edge cases.
There doesn't seem to be a great tool for parsing PSTs, particularly on Windows.

libpff
libpst

@gwiedeman I dont know why but I am not able to push my local branch into the github.
I have begin with parsing pst data and for able to get individual mails and associated content like subject and sender information but I am not able to push it to github.
also for my code to work we need to install libpff on our systems and import pypff.
I have not formed this into the required parse pst code yet but it is good to understand what we can extract from a pst file.
I will try to resolve the push issue as soon as possible.
This is a sample Python script.
Press Shift+F10 to execute it or replace it with your code.
Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
import sys
import io
import pypff
import pandas as pd
pst = pypff.file()
pst.open("test.pst")
root = pst.get_root_folder()
def parse_folder(base):
messages = []
count = 0
for folder in base.sub_folders:
if folder.number_of_sub_folders:
messages += parse_folder(folder)
#print(messages)
print(folder.name)
for message in folder.sub_messages:
count = count + 1
messages.append({
"subject": message.subject,
"sender": message.sender_name,
"attachment_count": message.number_of_attachments,
#"submit_time": message.client_submit_time
#"total_attachment_size": total_attachment_size_bytes,
#"attachments": attachments
#"creation_time": message.creation_time,
#"submit_time": message.client_submit_time
})
print(count)
return messages
messages = parse_folder(root)
df = pd.DataFrame(messages)
print(df)

Just at-ing @baibhavr to test libpff on Linix when he gets a chance.

Addressed with #47


Map BAM files to ReadGroupSets, not ReadGroups

Issue #574
Issue #612

@jeromekelleher this ended up being easier than expected (so far), but I wanted your advice about how to modify test_reads.py ... there's a lot of indirection there

Looks good so far @dcolligan, it's all pretty clear. I think we can probably take a similar approach in the datadriven/test_reads.py: the ReadGroupInfo takes a samFile and a readGroupName as a parameters, and we just filter out the reads that apply to this readgroup. The readGroupInfos are then indexed by readGroupName instead of the samfile name. I think most of the tests should just work then.
We'll need to rearrange the test data, and make sure that we have at least one bam in there that has no RG tags.

@jeromekelleher updated... all tests are passing except for remote read fetch (since searching for urls.json is broken now for reads)

Looks good, thanks @dcolligan.
In terms of urls.json, I'm happy to disable this stuff for a while if this is the quickest option. It can't be used in reality anyway, after the issues we've encountered with the download script. We have to wait until libcurl based htslib is available to us before we can seriously tackle this feature.
Also, we should update the download script to it puts files in the right structure. Might as well do this here.
I'm +1 once the tests are passing anyway.

The download_data script seems to have other problems as well (I'll file an issue shortly)... we can fix those in another PR

@jeromekelleher updated

Looks great @dcolligan, +1.


Better drag'n'drop for side panel

At the moment the drag and drop for the side panel is a bit difficult, due to the small drop areas.
This article provides a better solution how to improve the d'n'd experience: https://medium.com/@alexandereardon/rethinking-drag-and-drop-d9f5770b4e6b
This is the repository (based on react): https://github.com/atlassian/react-beautiful-dnd

does it work with native dnd?

I think the DnD in the Taggle 1 side panel worked very well.

I'm not going to add JQuery and JQuery-UI as dependencies to lineup.

ok


General Usability Issues

At the moment, this is a royal pain in the but to call. One recent example:
$resources = @{}; Get-CFNStackResources -StackName SecurityGroups -Region eu-west-1 | Where-Object { $_.ResourceType -eq 'AWS::EC2::SecurityGroup' } | Select-Object -ExpandProperty PhysicalResourceId | Get-EC2SecurityGroup -Region eu-west-1 | ForEach-Object { $resources += (New-CfnSecurityGroup -Region eu-west-1 -StackName SecurityGroups -SecurityGroup $_) }; $resources | ConvertTo-Json -Depth 99 | Set-Content -encoding utf8 $filepath

This obviously needs to be improved with some wrappers. The main issues is having to create the 'Resources' hashtable outside of the module code because of the way CloudFormation defines resources as properties of the 'Resources' object in a template rather than them being discrete objects of their own.

I've implemented the necessary wrappers. At this point, it's a single cmdlet, and the only parameters required are:

Region
Stack Name
Template Path (on the local machine)


[New Registry] Public Cloud request is not allowed to be submitted if Account Coding has lowercase letters

Description:
In the Current Registry if you input lowercase letters in the Account Coding fields they are automatically casted to uppercase.
It's not the case in the New Registry and we need to fix it. At least cast them after hitting Submit button:
Private Zenhub Image
Definition of done:
Account Coding text fields are casting lowercase letters into uppercase automatically.

Now the user can submit a product if the Account Coding has lowercase letters. After opening the Request after submission all the letters are shown in uppercase.


Development and changes

Hello,
Is it required every time a change is made to the UI to run:
yarn gulp build --platform=browser
yarn cordova run browser

Which takes more than 20 seconds. Any other way to see changes in development mode without needing to rebuild the whole thing?

@MWalid, for UI development, you can avoid running the entire build by editing the files in platforms/browser/www/ui_components/. Changes would be available on page reload. Make sure to copy any changes back to src/www; otherwise they would be overwitten the next time you build.
Feel free to reopen this issue if you have further questions.

@alalamav I had tried to work out using the "watch" mode of tsc and options for hot reload in electron a little while ago.  It might be worthwhile to look back into incremental rebuild options.

@MWalid depending on what you're doing you may also want to try yarn do src/electron/run if running the electron version of the app will work for you.

Thank you guys for the response,
@alalamav I believe this is a good option, it could be more helpful if combined with a gulp task that does the watch and copy on change.
@JonathanDCohen we are focused on Cordova rather than electron for now, is there anything like yarn do src/cordova/run ?


Create license

Still unsure of the license to be used for this. The collection itself being essentially public domain would be fine by me (except if someone tries to sell it???), but the actual clips definitely have their own set of rules that are presumably independent from whatever goes on in here.
Spin-offs of the archive (such as in the case of transvoice.party) should remain 100% permissible and the idea of organizing Selene's work is by no means my own (or anyone else's).
The ideal license would cover all of this.

if problems arise reopen this 🤷♀


[ALLUXIO-2851] Fix null pointer exception in master/info REST endpoint

https://alluxio.atlassian.net/browse/ALLUXIO-2851

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15771/
Test PASSed.

Merged build finished. Test PASSed.

@calvinjia Added tests

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15775/
Test PASSed.


Hello world! in binary

Added binary code for hello world!.
Please add hacktober-fest label.

Thanks for your great contribution @ABHIJEETJHA0102


Sprites look different to the original

Compare the original bullet and player sprites:

And O21:

The colors are different for some reason (especially the outlines). Is there some transparency applied, or did we accidentally inverted some color channel?
Could be that the original I run in browser does something weird to the color schema, though.

Hmm, so ours is okay? Great.


Provide a way to get preview and tracks with one request

Currently, if I want to get both the preview and the tracks I have to call both getPreview and getTracks which unnecessarily makes two requests. It would be nice if there was a method that returns both like
getDetails(url: string, options?: object): Promise<{ preview: Preview, tracks: Tracks[] }>;

I like the idea, and it's easy to achieve; Appreciated if you can make a PR 🙂

Okay, I can look into this later

Not related to this, but @Kikobeats Why are lock files ignored in this repository?
Why you should commit a lock file

Released at<EMAIL_ADDRESS>🎉

Thank you! I saw the coverage decreased, but I don't think a test for this is necessary because it's actually already covered by the other tests.


fix: redirect url on model download

What does this PR do?
When redirecting through the location header, website may provide only the path (E.g. /hello) when we expect a full url.
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
Fixes https://github.com/containers/podman-desktop-extension-ai-lab/issues/1651
How to test this PR?

[x] unit tests has been provided

When the new URL is computed, it is computed from the URL that initiated the workflow but it should be computed from the URL that caused the redirection in case there are several redirections in the flow

Oh nice catch, thanks for noticing that :+1: