[sw/silicon_creator] Minor updates to shutdown_unittest.cc

The only remaining mock in shutdown_unittest.cc mocks the internal functions of the shutdown module and thus it's appropriate to keep its definition there.
Signed-off-by: Alphan Ulusoy<EMAIL_ADDRESS>

All CI checks passes except for the CW310 tests. Requested a re-run but will merge now since this is a unit test only change.


Is there anyway to change the response format body when validation error?

I'm wondering if there is a way to change the response body format when the request doesn't pass the validation rules specified in the swagger spec for a specific API call.
For example, if I have a API route like POST /users which requires a body with the field id and I request without it, I get {"code":602,"message":"Id in body is required"}.
Is it possible to change such format by a middleware or anywhere else?
For example to return {"error": {"code": 602,  "message": "Id in body is required"}}

you can override the ServeError function in the configure_xxx.go file which allows you to rewrite errors

Great thanks!


Alert for content editors on incorrect block usage

We should display an alert on non production environments when the content editor adds a v2 block on the page that is not a v2-redesign page. This will allow incorrect use of a component to be spotted more quickly and reduce errors and questions in the future.

[x] Will we also add an alert when a non-redesign block is used on a redesign page?

Requirements

Check whether we’re on a develop/preview URL
Check whether we’re on a redesign page

Check whether a v2 block is present on a page (a block that starts with v2-)
Check whether a whitelisted block is present on a page

Mention which block is used that is 'in violation'

Kamino cloned this issue to hlxsites/vg-volvotrucks-us


cant load my account characters, plz help

my account seems to be bugged for D3planner, can someone help me fix it?

What's your username? And what is the exact problem?

Hi, thanks for your reply!
My battle tag is Apollon86#2611.
The characters appear to load when I search my account but when I choose a
specific character to look at it doesn't load and there's just a waiting
mark.
Can you help?
Thanks!!
On Mon, Mar 2, 2020, 14:14 d07RiV<EMAIL_ADDRESS>wrote:

What's your username? And what is the exact problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/d07RiV/d3planner/issues/441?email_source=notifications&email_token=AOV7YAM6WQTDWEXHV5G3SCTRFOPLDA5CNFSM4K544KP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPCSOQ#issuecomment-593373498,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOV7YAMBHCY7PWT7BAOUC4TRFOPLDANCNFSM4K544KPQ
.

Blizzard API seems to return "The hero could not be found." for all your characters. Can you check if it shows up on official armory?

I'll check it out,
Will get back to you if it still doesn't work,
Thanks!
On Fri, Mar 6, 2020, 15:06 d07RiV<EMAIL_ADDRESS>wrote:

Blizzard API seems to return "The hero could not be found." for all your
characters. Can you check if it shows up on official armory?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/d07RiV/d3planner/issues/441?email_source=notifications&email_token=AOV7YAPAIA3JCEWC5CT67I3RGDYNLA5CNFSM4K544KP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBJBDY#issuecomment-595759247,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOV7YAKUXJHINUMUVMXC5STRGDYNLANCNFSM4K544KPQ
.


When replacing a member in a resolver, provide the original member value to the resolver

I would like to replace an entity framework foreign key member with a resolved value.  Currently, the original value of the member is not available in the resolver context because I am using projections.
For example:
    [ExtendObjectType(typeof(Alert))]
    public class AlertResolvers
    {
        [GraphQLIgnore] public virtual User User { get; set; } = default!;

        [BindMember(nameof(Alert.UserId))]
        [UseDbContext(typeof(OverviewDbContext))]
        public async Task<PasswordUser> GetPasswordUserAsync([Parent] Alert alert, [ScopedService] OverviewDbContext dc) =>
            await dc.PasswordUsers.SingleAsync(r => r.Id == alert.UserId);
    }

In the resolver context above, UserId is always 0.
I'd like to have the original value of UserId available in the resolver context when, in the above case, passwordUser {...} is in the selection set.
Discussion on Slack: https://hotchocolategraphql.slack.com/archives/CD9TNKT8T/p1617391666039200

This one is fixed with the newest 11.2 preview


Need More Levels

Currently only have three levels, and we need a ton more! The levels file has an object with all the levels. Each level is an array of boolean values: true is a tile, false is a space.

Seems like this could be solved with a map generator function. I can take a wack at this in a branch.


Not able to join a server

I was trying to join a server in 1.19 with the latest fabric version. I can play the modpack created in singleplayer but not able to join a server. This is the error code I keep getting.

[owo] handshake failure controllers with mismatched haches: mythicmetals:particles

https://docs.wispforest.io/faq/#i-get-disconnected-due-to-a-oo-handshake-failure-incompatible-server-when-trying-to-join-a-server

Are you sure that you're using the same version of the mod on the server and the client? I can't see any other reason why hashes would be broken

I installed what I was told to and it’s the same stuff as the others were using. I even tried using a bit older versions since it recently got updated and also tried the beta version but nothing worked and I get the same error

Are you sure you are using the same version of Mythic Metals and owo-lib on the server?

Looks like OWO is only updated to 1.18.2 causing dependency errors for Mythic metals.

Looks like OWO is only updated to 1.18.2 causing dependency errors for Mythic metals.

What do you mean?

The only version for owo that is compatible with Mythic that I found is version 1.18.2. If this is not the case I would greatly like to find the updated files.

NVM I found it. I had to download a different modpack that had the updated version and copy it and install it on my other modpack.


ERROR: launchpadlib 1.10.13 requires testresources, which is not installed.

error when installing, running
"pip install -r requirements.txt"

It look like a bug of old pip . https://github.com/pypa/pip/issues/5372
you can upgrade pip to latest version  or manual install the dep
sudo apt install python3-testresources


GoTorch to slove captcha

i found this: https://github.com/wangkuiyi/gotorch
maybe?

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

What is the ETA for the captcha solver?

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

What is the ETA for the captcha solver?

4-5 More days

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captcha is in the image name?

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution
You can see live progress of the training using this link. I have started training for 1000 Epochs. mAP, Recall and Precision should come close to 1 and losses must come close to 0 for a good captcha solver.

btw can u rate this?

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution
You can see live progress of the training using this link. I have started training for 1000 Epochs. mAP, Recall and Precision should come close to 1 and losses must come close to 0 for a good captcha solver.

btw can u rate this? 0-10

You can handle multiple accounts a much better way.

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution
You can see live progress of the training using this link. I have started training for 1000 Epochs. mAP, Recall and Precision should come close to 1 and losses must come close to 0 for a good captcha solver.

btw can u rate this? 0-10

https://drive.google.com/file/d/1vq07O_BWG8iFAGOEkJLte7gTow5g-j4Z/view?usp=sharing
test this model please

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution
You can see live progress of the training using this link. I have started training for 1000 Epochs. mAP, Recall and Precision should come close to 1 and losses must come close to 0 for a good captcha solver.

btw can u rate this? 0-10

https://drive.google.com/file/d/1vq07O_BWG8iFAGOEkJLte7gTow5g-j4Z/view?usp=sharing test this model please

how to load it 😭

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution
You can see live progress of the training using this link. I have started training for 1000 Epochs. mAP, Recall and Precision should come close to 1 and losses must come close to 0 for a good captcha solver.

btw can u rate this? 0-10

https://drive.google.com/file/d/1vq07O_BWG8iFAGOEkJLte7gTow5g-j4Z/view?usp=sharing test this model please

how to load it 😭

Just replace it with CaptchaSolver.pt

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution
You can see live progress of the training using this link. I have started training for 1000 Epochs. mAP, Recall and Precision should come close to 1 and losses must come close to 0 for a good captcha solver.

btw can u rate this? 0-10

https://drive.google.com/file/d/1vq07O_BWG8iFAGOEkJLte7gTow5g-j4Z/view?usp=sharing test this model please

how to load it 😭

Just replace it with CaptchaSolver.pt

Microsoft Windows [Version 10.0.19045.2965]
(c) Microsoft Corporation. All rights reserved.

D:\lmao\Bot\PokeGrinder-V2>py main.py

       __________       __            ________      .__            .___
       \______   \____ |  | __ ____  /  _____/______|__| ____    __| _/___________
        |     ___/  _ \|  |/ // __ \/   \  __\_  __ \  |/    \  / __ |/ __ \_  __ \
        |    |  (  <_> )    <\  ___/\    \_\  \  | \/  |   |  \/ /_/ \  ___/|  | \/
        |____|   \____/|__|_  \___  >\______  /__|  |__|___|  /\____ |\___  >__|
                            \/    \/        \/              \/      \/    \/

Using cache found in C:\Users\Wyn20/.cache\torch\hub\ultralytics_yolov5_master
YOLOv5  2023-11-28 Python-3.11.6 torch-2.1.1+cpu CPU

Model summary (fused): 268 layers, 68133198 parameters, 0 gradients, 257.4 GFLOPs
Adding AutoShape...
Traceback (most recent call last):
  File "C:\Users\Wyn20/.cache\torch\hub\ultralytics_yolov5_master\hubconf.py", line 73, in _create
    return model.to(device)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1160, in to
    return self._apply(convert)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20/.cache\torch\hub\ultralytics_yolov5_master\models\common.py", line 664, in _apply
    m.grid = list(map(fn, m.grid))
                          ^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1695, in __getattr__
    raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
AttributeError: 'Detect' object has no attribute 'grid'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\lmao\Bot\PokeGrinder-V2\main.py", line 14, in <module>
    from modules.captcha_solver import solve
  File "D:\lmao\Bot\PokeGrinder-V2\modules\captcha_solver.py", line 9, in <module>
    model = torch.hub.load("ultralytics/yolov5", "custom", "assets/CaptchaSolver.pt")
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\hub.py", line 566, in load
    model = _load_local(repo_or_dir, model, *args, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\hub.py", line 595, in _load_local
    model = entry(*args, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20/.cache\torch\hub\ultralytics_yolov5_master\hubconf.py", line 83, in custom
    return _create(path, autoshape=autoshape, verbose=_verbose, device=device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20/.cache\torch\hub\ultralytics_yolov5_master\hubconf.py", line 78, in _create
    raise Exception(s) from e
Exception: 'Detect' object has no attribute 'grid'. Cache may be out of date, try `force_reload=True` or see https://docs.ultralytics.com/yolov5/tutorials/pytorch_hub_model_loading for help.

D:\lmao\Bot\PokeGrinder-V2>

i found this: https://github.com/wangkuiyi/gotorch maybe?

I will try it, if it doesn't work out I will just do it in python as an API then send captchas and recieve answers with Golang.

if u want, i can send u >1700 captcha

You can send me drive link.

here

Thank you for the images. I will start labelling the images asap

it will add more bc it link from my computer

Can you make it so that the correct answer to the captchas is in the image name?

im starting rename all 1988 captcha now 💀  maybe it wrong bc im using your old captcha solver

https://app.clear.ml/projects/047dedec4e8b42fca5fd16592072b964/experiments/e5752aec6c014db2b07896de535bf226/output/execution
You can see live progress of the training using this link. I have started training for 1000 Epochs. mAP, Recall and Precision should come close to 1 and losses must come close to 0 for a good captcha solver.

btw can u rate this? 0-10

You can handle multiple accounts a much better way. Try handling multiple accounts without running the program multiple times. You can do this using asyncio you'll only need to modify main.py.

i try it can auto catch normal but captcha stuck

@MehulKhanna bro alive?

@MehulKhanna bro alive?

The model is not converging

@MehulKhanna
im testing andit broke
<EMAIL_ADDRESS>global cap_ffmpeg_impl.hpp:1237 open Could not find decoder for codec_id=61
<EMAIL_ADDRESS>global cap_ffmpeg_impl.hpp:1286 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture
<EMAIL_ADDRESS>global cap.cpp:166 cv::VideoCapture::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.8.1) D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'cv::icvExtractPattern'

Traceback (most recent call last):
  File "d:\lmao\Bot\PokeGrinder-V2\modules\captcha_solver.py", line 26, in <module>
    answer = solve("https://cdn.discordapp.com/attachments/1068487751219040266/1181177146371231744/1843690561510.png?ex=659290f0&is=65801bf0&hm=1e9953d1557aeba1afd18b85900db65bfa457b7b0212bce001a6687465f6d5a5&")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\lmao\Bot\PokeGrinder-V2\modules\captcha_solver.py", line 13, in solve
    result = model.predict(
             ^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\model.py", line 239, in predict
    return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\predictor.py", line 198, in __call__
    return list(self.stream_inference(source, model, *args, **kwargs))  # merge list of Result into one
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\_contextlib.py", line 35, in generator_context
    response = gen.send(None)
               ^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\predictor.py", line 240, in stream_inference
    self.setup_source(source if source is not None else self.args.source)
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\predictor.py", line 215, in setup_source
    self.dataset = load_inference_source(source=source,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\data\build.py", line 166, in load_inference_source
    dataset = LoadStreams(source, imgsz=imgsz, vid_stride=vid_stride, buffer=buffer)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\data\loaders.py", line 92, in __init__
    raise ConnectionError(f'{st}Failed to open {s}')
ConnectionError: 1/1: https://cdn.discordapp.com/attachments/1068487751219040266/1181177146371231744/1843690561510.png?ex=659290f0&is=65801bf0&hm=1e9953d1557aeba1afd18b85900db65bfa457b7b0212bce001a6687465f6d5a5&... Failed to open https://cdn.discordapp.com/attachments/1068487751219040266/1181177146371231744/1843690561510.png?ex=659290f0&is=65801bf0&hm=1e9953d1557aeba1afd18b85900db65bfa457b7b0212bce001a6687465f6d5a5&

@MehulKhanna im testing andit broke
<EMAIL_ADDRESS>global cap_ffmpeg_impl.hpp:1237 open Could not find decoder for codec_id=61
<EMAIL_ADDRESS>global cap_ffmpeg_impl.hpp:1286 open VIDEOIO/FFMPEG: Failed to initialize VideoCapture
<EMAIL_ADDRESS>global cap.cpp:166 cv::VideoCapture::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.8.1) D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'cv::icvExtractPattern'

Traceback (most recent call last):
  File "d:\lmao\Bot\PokeGrinder-V2\modules\captcha_solver.py", line 26, in <module>
    answer = solve("https://cdn.discordapp.com/attachments/1068487751219040266/1181177146371231744/1843690561510.png?ex=659290f0&is=65801bf0&hm=1e9953d1557aeba1afd18b85900db65bfa457b7b0212bce001a6687465f6d5a5&")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\lmao\Bot\PokeGrinder-V2\modules\captcha_solver.py", line 13, in solve
    result = model.predict(
             ^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\model.py", line 239, in predict
    return self.predictor.predict_cli(source=source) if is_cli else self.predictor(source=source, stream=stream)
                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\predictor.py", line 198, in __call__
    return list(self.stream_inference(source, model, *args, **kwargs))  # merge list of Result into one
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\_contextlib.py", line 35, in generator_context
    response = gen.send(None)
               ^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\predictor.py", line 240, in stream_inference
    self.setup_source(source if source is not None else self.args.source)
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\engine\predictor.py", line 215, in setup_source
    self.dataset = load_inference_source(source=source,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\data\build.py", line 166, in load_inference_source
    dataset = LoadStreams(source, imgsz=imgsz, vid_stride=vid_stride, buffer=buffer)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Wyn20\AppData\Local\Programs\Python\Python311\Lib\site-packages\ultralytics\data\loaders.py", line 92, in __init__
    raise ConnectionError(f'{st}Failed to open {s}')
ConnectionError: 1/1: https://cdn.discordapp.com/attachments/1068487751219040266/1181177146371231744/1843690561510.png?ex=659290f0&is=65801bf0&hm=1e9953d1557aeba1afd18b85900db65bfa457b7b0212bce001a6687465f6d5a5&... Failed to open https://cdn.discordapp.com/attachments/1068487751219040266/1181177146371231744/1843690561510.png?ex=659290f0&is=65801bf0&hm=1e9953d1557aeba1afd18b85900db65bfa457b7b0212bce001a6687465f6d5a5&

why it fail to connect?

Remove the part after .png in the url


change the number type to int and float types

Breaking changes should be fine here because the code is not being used anywhere yet. I won't approve though because I added part of the PR myself, let's wait for @hariso to sanity-check what we did here 🙂


LED not working

Hello.
I've uploaded your profiles to my X Touch Mini, and while the encoders and buttons work fine, the LEDs don't.
They light up only while the buttons are pressed, but when I release them they turn off. So there is no feedback if the button (on the cockpit) is engaged or not.
Also, for example: if you press a button (let's say engage the AP) with a mouse on the cockpit, the assigned button's LED on the X Touch should turn ON, right? Well, it doesn't.

I have the exact same problem.

Hello.
This has been fixed. The problem was, that the global channel of X Touch Mini was set to 2. As soon as you change it to 1 the LEDs start working fine.


Fix flock

This fixes the flock issue: https://github.com/box/Anemometer/issues/123
This opens and closes the session only where needed.

Verified that @richardpon has signed the CLA. Thanks for the pull request!


Hotfix exceptions

Descrição
Correção de bugs relacionados às requisições (adição de tratamento de erros)
Tipo de mudança (Marque "x")

[x] Correção de bug
[ ] Nova funcionalidade
[ ] Documentação

Issue relacionada
Fix #<153>

Codecov Report

Merging #154 into develop will increase coverage by 4.5%.
The diff coverage is 79.16%.

@@            Coverage Diff             @@
##           develop     #154     +/-   ##
==========================================
+ Coverage    62.93%   67.44%   +4.5%
==========================================
  Files           18       18
  Lines          375      387     +12
==========================================
+ Hits           236      261     +25
+ Misses         139      126     -13

Impacted Files
Coverage Δ

ranking_commiters/views.py
36.84% <ø> (+6.4%)
:arrow_up:

pygithub_api_integration/constants.py
100% <100%> (ø)
:arrow_up:

pygithub_api_integration/views.py
82.75% <66.66%> (-4.2%)
:arrow_down:

pygithub_api_integration/models.py
70.51% <82.35%> (+9.28%)
: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 e13ac1d...7214538. Read the comment docs.


[Bug]:  getStatus Abfragen Flut

Contact Details
No response
What happened?
I get flooded by "chromecast.0 | 2022-01-26 18:08:35.913 | info | SHIELD - getStatus" requests.
I do have a Nvidia Shield (built in Chromecast), but I do not know how to stop those kinds of request. Therefore I have to disable and uninstall the adapter, as it completely slows down my system..
Adapter Version
3.0.1
JS-Controller Version
3.3.22
Node JS Version
V14.18.3
NPM Version
V6.14.15
Operating System
Debian
Relevant log output
chromecast.0
2022-01-26 18:09:38.780	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.778	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.772	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.771	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.769	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.764	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.763	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.762	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.762	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.761	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.734	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.733	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.732	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.721	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.718	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.717	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.715	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.713	info	SHIELD - getStatus

chromecast.0
2022-01-26 18:09:38.700	info	SHIELD - getStatus

Anything else?
No response

The only way to stop these messages is to chnage the log level of the instance to warn.
You have to activate the expert mode, than change the loglevel in the instance tab.

Fine, but it totally slows down my whole system, even the instances view in iobroker is not accessible

Fine, but it totally slows down my whole system, even the instances view in iobroker is not accessible

I have the same issue, also with shield device !   Can I force chromecast to leave shield out / ignore shield ?

Is there a solution?


Detect route transitions and send 'Navigation' traces.

Monkey-patches History API to detect a route change and then maybe change the name of the interaction following the 'Navigation' naming approach.
Also, update the user interaction example to add a route transitions.

Codecov Report

Merging #102 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #102   +/-   ##
=======================================
  Coverage   96.23%   96.23%
=======================================
  Files          26       26
  Lines         637      637
  Branches       80       80
=======================================
  Hits          613      613
  Misses         24       24

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 7169724...093267b. Read the comment docs.

Offline chat: Change the way the zones are created, now the zones are forked from the current task zone, that way all new zones have the same parent.


Refreshing table leads to empty cells

Alex T mentioned that he had issues after creating and viewing a table locally:

Create a drive locally
Create a table
Refresh page
Missing columns?

Can't replicate this. I think it's the same as #686


"Project Find" -> "Replace All" breaks encoding sometimes

Example:

clone https://github.com/bitcoin/bitcoin
cmd + shift + f
fill

8333
2222
*ru.ts

hit "Replace All" and you'll get not only changes that you expected but also this (I did a cut from "git diff" to illustrate it better)

-        <translation>Промежуток от:</translation>
+        <translation>Промежуток ��т:</translation>

-        <translation>Не удалось записать информацию файла</translation>
+        <translation>Не удалось записать ин��ормацию файла</translation>

Atom 0.150.0
Mac OS 10.10

What encoding are you using?

It's utf-8 I believe. And it not just *ru.ts, you can try *.ts to reproduce it for other languages. Also please note that bitcoin source changed since then so you will also need git checkout 0.9 to switch to the old branch in order to reproduce exactly the same case.
Reproduced again with Atom 1.0.2 on MacOS 10.10.3

I found this same bug while opening old files in ISO 8859-1, and trying to search & replace content in them. A file that has been opened in the project is ok, all other files end up mangled.

If you have .editorconfig file with these two lines:
[*]
charset = iso88591
Then do a "Replace All", not only it replaces all, but it also mangles German Umlauts (e.g. äöü). I suppose it does not convert the file back to this encoding after doing the replace internally.

Same issue here. I have a project with files in ISO-8859-7 encoding. Find-replace-all ruins the greek letters.

This issue was moved to atom/find-and-replace#945


Add cloud phase diagram

The COSP cloud phase diagram is proposed by @shaochengx @zyuying @susburrows and @golaz also suggested earlier.
Impact of this diags summarized in Aerosol Working Group:
T5050, i.e. the temperature at which clouds are 50% ice and 50% liquid. Cloud phase has a negative (damping) climate feedback (Tan et al. 2016), and is sensitive to the model’s treatment of aerosols that provide INPs. CALIPSO-based constraint from McCoy et al. (2016)
In CMIP5, liquid-ice partitioning showed large inter-model spread, and was correlated with high-latitude LWP changes in response to climate warming (McCoy et al., 2015), and most models exhibited a temperature dependence of cloud phase partitioning that was far outside of observational constraints from CALIPSO (McCoy et al., 2016).

This feature is implemented by #675 in version 2.9.0


Vagrant: Wrong trace-cmd is being used

Need to just use the one shipped in devlib, but I'm writing this here not to forget.

Linked to https://github.com/ARM-software/lisa/pull/969


Adding meeting minutes.

For 2015 - 04 - 06 meeting.

Yep, look like he was accidentally omitted from the attendee list. Adding...


Move Upload Icon

Hello, i've really been enjoying using Comfy, i was wondering if it would be possible to move the upload icon to the right. I'm not the best with CSS and certainly not for skinning discord, but i think it might be possible with changing around flexbox properties. Screenshot was just done by moving the <div> tag. My main reason for asking this is to make it align up with sent messages. Thank you.

There you go
.channelTextArea-rNsIhG .buttons-3JBrkn { order: 2;}
.channelTextArea-rNsIhG .attachWrapper-2TRKBi { order: 1;}
.channelTextArea-rNsIhG .attachWrapper-2TRKBi .attachButton-2WznTc { padding-right: 5px;}


minor README changes

change carpentries link to home page instead of setup instructions
corrected a typo in "internally"

ooops, I forgot @bvreede was a reviewer as well and already added it to main. Apologies, but she can check anyways, and rewind in worse care scenario

nah, just wanted someone to look before i merged, doesn't need both


Rendering duplicate widgets

If widgets are able to call build/update on the parent context while that context is already under build then it can lead to some inconsistencies in the generated markup.
For example, calling setState() synchronously during build can generate duplicate widgets. Below is the test case in which setState is getting called synchronously during a Navigator widget build as Navigator fires its hooks(e.g onInit) while building:
class NavigatorTest extends StatefulWidget {
  const NavigatorTest({String? key}) : super(key: key);

  @override
  _NavigatorTestState createState() => _NavigatorTestState();
}

class _NavigatorTestState extends State<NavigatorTest> {
  @override
  build(context) {
    return Division(
      children: [
        navigatorContent(),
        Text('|more text'),
      ],
    );
  }

  Widget navigatorContent() {
    return Navigator(
      onInit: (state) => setState(() {}),
      onRouteChange: (name) => setState(() {}),
      routes: [
        Route(name: 'some', page: Text('|some text on route')),
      ],
    );
  }
}

Expected output on screen:
|some text on route|more text

Actual output on screen:
|some text on route|more text|more text

Quick fix: Delay the setState call when you encounter duplicate widgets:
Future.delayed(Duration.zero, ...setState());

Note this is a temporary fix so thought I should document it in case anyone came across this issue. I'm going to work on some sort of scheduler to make sure this never happens again.


typescript types

I tried "npm install --save-dev @types/react-virtualized-select" and there is none

None of my OSS projects use TypeScript. If you would like to see types added- feel free to submit a PR 😄
I don't plan to personally take any action on this issue though so I'm going to close it. I'll be happy to review a PR though as long as the process of publishing and updating types is automated and hooked into the process of building and releasing this lib!

Just wanted to note that this library does have typings now:
https://www.npmjs.com/package/@types/react-virtualized-select


Feature Request: GitHub Actions using GitHub Container Registry

Is your feature request related to a problem? Please describe.
I want to create a workflow using the GitHub Container registry in Container Apps.
First, we registered the following GitHub Actions:
az containerapp github-action add \
  --repo-url "https://github.com/xxx/xxx" \
  --branch main \
  -n sample \
  -g sample-rg \
  --registry-url ghcr.io \
  --registry-username xxx \
  --registry-password xxx \

But, an error occurs that the Path of the container image does not exist.
        with:
          push: true
          tags: ghcr.io/sample:${{ github.sha }}
          file: ./Dockerfile
          context: ./

  deploy:
    runs-on: ubuntu-latest
    needs: build
    ...
      - name: Deploy to containerapp
        uses: azure/CLI@v1
        with:
          inlineScript: |
    ...
            az containerapp update -n sample -g sample-rg --image ghcr.io/sample:${{ github.sha }}

Describe alternatives you've considered.
It works when I update the workflow. Is this correct?

before

tags: ghcr.io/sample:${{ github.sha }}
az containerapp update -n sample -g sample-rg --image ghcr.io/sample:${{ github.sha }}

after

tags: ghcr.io/${{ github.repository_owner }}/sample:${{ github.sha }}
az containerapp update -n sample -g sample-rg --image ghcr.io/${{ github.repository_owner }}/sample:${{ github.sha }}

Sorry for late response. Does it work if using --image?
az containerapp github-action add \
  --image yourname/sample \
...

@erich-wang san Thanks a lot :heart: This problem was resolved thanks to your support.


Caching services and values for fast performance

Adding service cache, to avoid repeated calls to getService(), as the
returned information is unlikely to change. Any error resulting from
calling the service will clear this cache, in case the service name
actually did change.
Adding value cache, to cache the last good value received, from each
sensor. Using D-Bus message notifications, to become aware of changes
to a sensor, instead of polling the value every time through the main
loop. This avoids repeated polling for sensors which are maintaining
a stable temperature. Only good readings are cached, any invalid
reading also clears this cache.
An optional timeout feature is also added, in case message
notifications are not working well on your system. After the timeout,
the value cache for this sensor will be cleared, even if the reading
was good, so another poll will then be made.
A separate cache debugging flag is also added, so it can be enabled
independently of the main margin zone computation debugging flag.
Tested: Works nicely locally for me, sensor loop now is much faster.
Signed-off-by: Josh Lehan<EMAIL_ADDRESS>

Hi there, this patch should be ready to merge now. It is working nicely for me.

Thanks for the feedback.
I have made a change, so that when an alarm condition is indicated, the value cache is invalidated. This will ensure the alarm condition is polled for each time through the loop, which will result in slower performance, but safer in the presence of an alarm condition: the alarm will ensure that the value remains NaN until the alarm condition is cleared. This better matches the behavior of the previous code before this patch.
Please test it again, and see if it works for you now.

Interesting thing.
After simple testing, when I ran read-margin-temp without any option and triggered threshold signal, the value didn't become NaN.
But when I added "--debug" option and triggered the critical threshold signal, the target value became NaN, and the behavior is like the previous code.
After checking this patch, I have no idea about this situation currently.

Very strange. The debug option should not make a difference here. What commands are you using to test the thresholds with?
Can you reproduce the issue again, or did it happen only once?

My bad. After detailed testing, it seems still have some problems when triggering the threshold.
Here is the detailed testing log, Normal Mode, Debug Mode
The NaN value will only exist for about 10 seconds.

This situation seems not happen each times. Sometimes happen, sometimes didn't happen

Another testing again, NaN was keeping about 45 seconds and then back to 5X value. It's really strange....

After debuging with dbus-monitor, I think there is some problem in function "parseMessage".
When trigger threshold, this function will return NaN
But when trigger value propertyChanged next time, this function will update the value reading, so that the target value will become not NaN.

Thanks for testing it. I think I have identified the problem: changes to the value are monitored by polling and by signal interrupts, however, changes to the alarm flags are monitored by polling only. Not by signal interrupts. So, they can get out of sync easily. Also, the state of the alarm flag is not maintained, another cause to get out of sync. I will take a look at the design and make it more correct with respect to handling alarm flags.

I added a new feature. Now, alarms are handled better. Incoming alarm notifications are cached, just like incoming values. Whenever an alarm indicates a bad condition, the value will be held at NaN, and polling will be used to determine when all the alarms are cleared. When the alarm is cleared, and conditions are back to normal good condition, the value will once again be correct from the sensor. Hopefully this should restore correct behavior.

Please test this again. Local testing gives me confidence that this will work now. When a sensor is in alarm status, the value is overridden and becomes NaN (to force fans into failsafe mode). When the alarm ceases, the value is restored.

Thanks for improving. After testing, the alarm behavior is correct. I think this PR is already to merge.


(PA-1905) Remove chpasswd username for AIX

Prior to this PR the AIX user resource would fail on newer AIX releases. IBM changed the behavior of chpasswd to error when extra parameters were sent to the chpasswd command, so setting the password on AIX 7.1 SP5 and AIX 7.2 SP1 would fail. The command contained an unnecessary parameter, which this PR removes.

CLA signed by all contributors.


Compiling problems

Hi everyone,
big and amazing projects on this repo! thank you for sharing!!!
I'm reaching some problems with the npm start on my local workstation, here below the last attempt:
Compiled with problems:
×
ERROR in ./src/apis/mediapipe_audio_blendshapes.ts 19:0-92
Module not found: Error: Can't resolve './mediapipe/web/graph_runner/graph_runner' in 'C:\Users\VIMALLEM\OneDrive - Capgemini\Desktop\Codici APP\talking-character\src\apis'
ERROR in src/apis/mediapipe_audio_blendshapes.ts:17:59
TS2307: Cannot find module './mediapipe/web/graph_runner/graph_runner' or its corresponding type declarations.
15 |  */
16 |

17 | import {createMediaPipeLib, GraphRunner, WasmModule} from './mediapipe/web/graph_runner/graph_runner';
|                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 |
19 | declare interface AudioBlendshapesWasmModule {
20 |   updateBlendshape: (name: string, value: number) => void;
ERROR in src/apis/mediapipe_audio_blendshapes.ts:44:10
TS2339: Property 'finishProcessing' does not exist on type 'MediaPipeAudioBlendshapes'.
42 |    */
43 |   getBlendshapes(): Blendshapes {
44 |     this.finishProcessing();
|          ^^^^^^^^^^^^^^^^
45 |     return this.blendshapes;
46 |   }
47 | }
ERROR in src/apis/talkingHead.ts:17:58
TS2307: Cannot find module './mediapipe/web/graph_runner/graph_runner' or its corresponding type declarations.
15 |  */
16 |
17 | import {createGraphRunner, GraphRunner, WasmModule} from './mediapipe/web/graph_runner/graph_runner';
|                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18 | import {createMediaPipeAudioBlendshapes, MediaPipeAudioBlendshapes} from './mediapipe_audio_blendshapes';
19 | // import {trustedResourceUrl} from 'safevalues';
20 |
ERROR in src/apis/talkingHead.ts:118:26
TS2339: Property 'wasmModule' does not exist on type 'MediaPipeAudioBlendshapes'.
116 |         isV2?'talking_head_v2/talking_heads_v2_microphone_assets.js':'talking_head_v1/talking_heads_microphone_assets.js');
117 |     wasmModule =
118 |         audioBlendshapes.wasmModule as WasmModule & TalkingHeadsWasmModule;
|                          ^^^^^^^^^^
119 |     wasmModule.NUM_QUEUED_AUDIO_PACKETS = 0;
120 |     audioBlendshapes.configureAudio(1, NUM_SAMPLES, SAMPLE_RATE);
121 |     await audioBlendshapes.initializeGraph(isV2?'talking_head_v2/talking_heads_v2_demo.binarypb':'talking_head_v1/talking_heads_demo.binarypb');
ERROR in src/apis/talkingHead.ts:120:22
TS2339: Property 'configureAudio' does not exist on type 'MediaPipeAudioBlendshapes'.
118 |         audioBlendshapes.wasmModule as WasmModule & TalkingHeadsWasmModule;
119 |     wasmModule.NUM_QUEUED_AUDIO_PACKETS = 0;
120 |     audioBlendshapes.configureAudio(1, NUM_SAMPLES, SAMPLE_RATE);
|                      ^^^^^^^^^^^^^^
121 |     await audioBlendshapes.initializeGraph(isV2?'talking_head_v2/talking_heads_v2_demo.binarypb':'talking_head_v1/talking_heads_demo.binarypb');
122 |     // streamMicrophoneThroughGraph(audioBlendshapes);
123 |   }
ERROR in src/apis/talkingHead.ts:121:28
TS2339: Property 'initializeGraph' does not exist on type 'MediaPipeAudioBlendshapes'.
119 |     wasmModule.NUM_QUEUED_AUDIO_PACKETS = 0;
120 |     audioBlendshapes.configureAudio(1, NUM_SAMPLES, SAMPLE_RATE);
121 |     await audioBlendshapes.initializeGraph(isV2?'talking_head_v2/talking_heads_v2_demo.binarypb':'talking_head_v1/talking_heads_demo.binarypb');
|                            ^^^^^^^^^^^^^^^
122 |     // streamMicrophoneThroughGraph(audioBlendshapes);
123 |   }
124 | }
ERROR in src/apis/talkingHead.ts:148:22
TS2339: Property 'addAudioToStream' does not exist on type 'MediaPipeAudioBlendshapes'.
146 |   const timestamp = lastAudioT + NUM_SAMPLES * 1000.0 / SAMPLE_RATE;
147 |   if (timestamp > lastAudioT) {
148 |     audioBlendshapes.addAudioToStream(audioData, 'input_audio', timestamp);
|                      ^^^^^^^^^^^^^^^^
149 |   }
150 |   lastAudioT = timestamp;
151 | }

can you help me?

Hi @vincenzomallemace I believe the issue you're facing is similar to the one reported here? https://github.com/google/generative-ai-docs/issues/62
The issue and linked PR should be able to provide more info and a workaround.
I'm closing this one for now. Feel free to reopen if you face further issues!


SD Turbo scheduler support

Hi thank you for the great work and article. Trying this out with SDXL Turbo and its working fine but without SD Turbo scheduler support its worse than expected.
sd turbo workflow is to use these nodes

Arrr...
I knew Issue like this would happen. ComfyUI doesn't provide an easy way to hook the Callback, at least that I know of. So if I were to support it, I will need to copy the entire script just to change 1 line, for every new Sampler in the future...
TL;DR: Not planning to support it, until ComfyUI adds a way to hook callbacks.

I've rewritten the entire extension
It should work with the SamplerCustom now in the latest commit f1fd309~

nice change but doesnt affect a lot of common samplers that are all the rage now for turbo and lcm which is unfortunate since this is quite interesting and looks good

Welp, that's truly unfortunate...


Delete artifact api request sometimes fails with http/204 - add retry?

I am getting this error when using this
Run christian-korneck/delete-run-artifacts-action@v1
with:
parent_runid: 261405865
parent_repo: pankajbokdia/repoName
env:
GITHUB_TOKEN: ***
[@octokit/rest] const Octokit = require("@octokit/rest") is deprecated. Use const { Octokit } = require("@octokit/rest") instead
[@octokit/rest] const Octokit = require("@octokit/rest") is deprecated. Use const { Octokit } = require("@octokit/rest") instead
artifacts before deletion: 1
processing artifact: build 18063905
status: 204
artifacts after deletion: 1
##[error]🛑 not all artifacts deleted (1 remaining)
Please help

hi @pankajbokdia , thanks for reaching out.
Unfortunately I can't reproduce your problem. I just created a test repo with a minimal github workflow that creates two artifacts and then triggers this action to delete them. The deletion just worked fine.
Here's the test repo (feel free to use it as a referene):
https://github.com/christian-korneck/test322
That's from the log of the workflow run:
Run christian-korneck/delete-run-artifacts-action@v1
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
artifacts before deletion: 2
processing artifact: test1 18080653
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
status: 204
processing artifact: test2 18080654
status: 204
artifacts after deletion: 0
🎉 all artifacts deleted

Is your repo available publicly somewhere? Or could you share the relevant parts of the workflow? Thanks.

i got the same error but looks is randomly if y re-run the action works!!

Thanks @joeleduardo for the comment. Sounds a bit like a github reliability issue. However, I've never seen it and also couldn't reproduce it even with a high number of test runs. How often do you see this happen? (I could imagine that these are rare partial server side outages of certain github services?). Is there anything special about the way you handle artifacts in your workflow (i.e. very large artifacts, etc)?
(If someone would point me to a public repo with a failed run I could contact github support?)

We also get this error intermittently, but artifacts are always deleted, to us it seems like a cache issue or similar, simply that Github reports artifacts that have actually been deleted.
We could be interested in adding a retry option, if you're open for that.

ok, judging from the number of reports in this issue this seems to happen more often than I expected.

We could be interested in adding a retry option, if you're open for that.

sounds like a good idea. Feel free to send a PR, if you like.

I've now added the follow backoff retry behaviour:

when no artifacts are found, retry for up to ~ 4 minutes
when we end up with undeleted artifacts, retry for up to ~ 20 minutes

I hope this solves your problems @Asamsig @joeleduardo @pankajbokdia . If not, let me know. Thanks a lot for your feedback!


Setting up repo

Yes, this is a wip. we will need to go trough it and changes all this reference. I have put some note on the ticket.

Generally we have used excise-movement-control-system-tis in a few places instead of excise-movement-control-system-api-tis. Is this intentional / does it matter?

I wonder if all these "typos" that Chris is finding is a flaw of the Python extraction from the DDNEA?? I know that CTC had to get the whole team to jump on and go through the extracted DDNTA and make sure the extracted pages made sense and were human readable. We will have to clean this up generally I think but is a good starting point at least. We also need to make sure that we don't have any rules/constraints etc. left over from the CTC copy as that would definitely be very confusing! 😂

@mpbostock  yeah it looks like it only happens on certain types of lines so its a conversion thing I'm sure!

Generally we have used excise-movement-control-system-tis in a few places instead of excise-movement-control-system-api-tis. Is this intentional / does it matter?

yes I agree. We might can rename it.

yes, probably there is a problem with the python script. Yes we would need be careful with this as it has been a copy and paste job  as we did not know what info we needed. I think it will require every body efors, and specially James to see if we have the right info.

Slopey shoulders...  all typos have been auto-imported from the DDNEA :-)


Fastsync Vertica

WIP

fastsync-vertica implementation.
Vertica SQL queries to be confirmed.
Refactor of postgres s3_csv_to_postgres fastsync, with some dangling bits and utils still left to confirm.

@ramarnat fastsync vertica merged in to this branch and ready to open up a MR to pipelinewise


Map does not locate on data

I created a demo app to load a geojson and can display fine, but the map always loads over San Fransisco. I think it may be because the dataframe is not passed using the data attribute? Unsure.
import streamlit as st
from streamlit_keplergl import keplergl_static
from keplergl import KeplerGl
import geopandas as gpd

infile = 'data/my.json'

df = gpd.read_file(infile)
map_1 = KeplerGl(height=800)
map_1.add_data(df, 'data_1')
keplergl_static(map_1)

# Show data table
st.dataframe(df.drop(columns=['geometry']))

Hey @robmarkcole, you can use keplergl config to specify that. Indeed, the default one always opens in SF. I made it hardcoded for the global view, but you can do that dynamically by calculating those from GeoJSON.
I did not find any extensive documentation about config (probably I was not looking that good), so I used Kepler UI to create a map and then took a look at the config it generates (through the export map by json)
config = {
  "version":"v1",
  "config":{
    "mapState":{
         "bearing": 0,
         "latitude": 0.0,
         "longitude": 0.0,
         "pitch": 0,
         "zoom": 1
      }
   }
}
w1 = KeplerGl()
w1.config = config

Thanks for the tip @mykolakozyr I guess I will leave this open as could be translated to a feature request potentially, although most likely a note in the readme/example would suffice

Thank you both, added a short hint to the readme with a link to this thread. Will leave it open for now, not sure yet if this could be improved on this side or is just how Keplergl works.

Any hint about how to retrieve the config file from the map on streamline after moving the map around?
On Jupiter notebook, if I navigate or change settings of map_1, in the cell below I can retrieve the current config with:
# Cell 1
map_1 = KeplerGl(data=kepler_data, height=800, config=initial_config)

# Here I play around with the with the map

# Cell 2
current_config = map_1.config

After this the current_config variable has the json/dict with the configuration of the current view, not the initial_config one.
If on Streamlit, with the map is shown via keplergl_static  then map_1.config always returns the initially given config, and not the one of the current view.
Example:
map_1 = KeplerGl(data=kepler_data, height=800, config=initial_config)
keplergl_static(map_1)

if st.button("show current config"):
    current_config = map_1.config
    st.write(current_config)

If before pusing the button "show current config" I am changing the view, map, colour, or other things, when pushing the button I always have the initial_config, and I can not retrieve the current one, as I suspect the map on streamlit is completely detached from its view on streamlit.
Ideally I would like to have something like a get_current_config method for the kepler_static instance:
map_1 = KeplerGl(data=kepler_data, height=800, config=initial_config)
ks = keplergl_static(map_1)

if st.button("show current config"):
    current_config = ks.get_current_config()
    st.write(current_config)

Is it already possible with some methods of keplergl_static?
Thank you!

@SebastianoF The streamlit component is static, afaik there is no option to retrive information from/after a browser interaction. It would certainly be really helpful. Could you maybe open a new issue and copy paste your description to separate the discussion, would like to close this issue.

found a very annoying bug as I was trying to implement this to streamlit.
When you go to interaction and toggle on geocoder the app just crashes...

@lennonzheng Thanks for reporting, will open a separate issue. Checked and can confirm that this only happens in the streamlit app, not in notebook.


Obsolete Coreversion.DEFAULT in the tests

We replace DEFAULT with the LATEST_STABLE, which currently refers to the dotnet 6.0. It should be used in case test is not dependent on the particular SDK version. In all other cases, dotnet version should be specified explicitly, which makes coverage for the given framework visible.
See RIDER-76457.

Addressed in https://github.com/JetBrains/resharper-fsharp/pull/431


empty.html

documentation references an "empty.html" file to use as a template... but the file (i think) is missing

You can remove the "i think" part, the file IS missing :-)
:+1:


Require certain number of tasks solved to gain "reputation" before you can create challenges

I would like to raise the bar a little bit for creating MapRoulette challenges. Reason for this is I want to ensure when you create a challenge you have a decent amount of familiarity with the MapRoulette application and "flow".
This could take two forms that I see:

Lock "Create and Manage" until you have completed (fixed) at least N tasks.
Don't lock the functionality but don't allow a challenge to be made public until at least N tasks in it are fixed.

This is a tricky one, because I really don't want to create the incentive to game the system by marking tasks as fixed when the user has done nothing to fix them, but on the other hand I do want to continue to improve MR to ensure higher quality tasks.

Thanks for the feedback @mcliquid.

Consider the total OSM changes or changesets of a user to get information about the experience level.

The question is how many though? You could argue that someone with zero changesets in OSM should not be allowed to create a MR challenge, but how many is "enough"?

Of it is a voting I would choose the second one and implement a report button for challenges.

It's not a voting thing :)
We already have the option to leave a comment to the challenge owner. One thing we can consider is to temporarily suspend a challenge if the owner does not respond to those comments in a timely manner.
I think there needs to be some effort on the side of the "reporter". You can't just have people "report" things without also supplying an argument as to why they think the challenge is "bad".


Support for ioctl and poll

Hi,
I just wanted to ask if ioctl and poll are going to be supported.
Thanks for the great work.

Could you be able to point us to that functionality?

Example ioctl

What's the purposse of ioctl? I don't fully understand it...

Hi,
I'm working on a virtualization framework for IoT devices. I would strongly need the poll call to be supported and the possibility to fake an interrupt notifying when a file is ready for input/output. I think that is done through the fuse_notify_poll.
I'm also available in trying to do it myself but I would strongly need some pointers because I'm not a FUSE expert and I do not know how fuse-bindings works exactly.
Thank you very much for your work!


Publish doc updates

Docs Build status updates of commit dedd967:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/breadcrumb/toc.yml
:white_check_mark:Succeeded

docs/concepts/privacy-and-security.md
:white_check_mark:Succeeded

docs/context.yml
:white_check_mark:Succeeded

docs/develop/add-in-manifests.md
:white_check_mark:Succeeded

docs/develop/bind-to-regions-in-a-document-or-spreadsheet.md
:white_check_mark:Succeeded

docs/develop/convert-javascript-to-typescript.md
:white_check_mark:Succeeded

docs/develop/localization.md
:white_check_mark:Succeeded

docs/develop/troubleshoot-sso-in-office-add-ins.md
:white_check_mark:Succeeded

docs/excel/custom-functions-troubleshooting.md
:white_check_mark:Succeeded

docs/excel/excel-add-ins-advanced-concepts.md
:white_check_mark:Succeeded

docs/excel/excel-add-ins-core-concepts.md
:white_check_mark:Succeeded

docs/excel/excel-add-ins-get-started-overview.md
:white_check_mark:Succeeded

docs/excel/excel-add-ins-overview.md
:white_check_mark:Succeeded

docs/excel/index.md
:white_check_mark:Succeeded

docs/images/index-landing-page/custom-functions.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/deploy.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/developer-documentation.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/development.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/get-started-2.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/get-started.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_article.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_code-automate.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_code-blocks.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_deploy.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_get-started.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_quick-start.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_recommended-testing.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_reference.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/i_xplat-code.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/monitor-with-code.svg
:white_check_mark:Succeeded

docs/images/index-landing-page/test.svg
:white_check_mark:Succeeded

docs/images/index/AccessLogoColor.svg
:white_check_mark:Succeeded

docs/images/index/ExcelLogoColor.svg
:white_check_mark:Succeeded

docs/images/index/OneNoteLogoColor.svg
:white_check_mark:Succeeded

docs/images/index/OutlookLogoColor.svg
:white_check_mark:Succeeded

docs/images/index/PowerPointLogoColor.svg
:white_check_mark:Succeeded

docs/images/index/ProjectLogoColor.svg
:white_check_mark:Succeeded

docs/images/index/WordLogoColor.svg
:white_check_mark:Succeeded

docs/images/index/api-ref.svg
:white_check_mark:Succeeded

docs/images/index/blocks-blue.svg
:white_check_mark:Succeeded

docs/images/index/blocks.svg
:white_check_mark:Succeeded

docs/images/index/developer-blue.svg
:white_check_mark:Succeeded

docs/images/index/developer.svg
:white_check_mark:Succeeded

docs/images/index/i_bug.svg
:white_check_mark:Succeeded

docs/images/index/i_feedback.svg
:white_check_mark:Succeeded

docs/images/index/i_support.svg
:white_check_mark:Succeeded

docs/images/index/logo-excel.svg
:white_check_mark:Succeeded

docs/images/index/logo-office.svg
:white_check_mark:Succeeded

docs/images/index/logo-onenote.svg
:white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Correct Foundation Data initialiser to use Base64DecodingOptions

What's in this pull request?
This pull request fixes an issue that one of the Data initialisers is using Base64EncodingOptions rather than Base64DecodingOptions preventing the use of .ignoreUnknownCharacters when decoding a base64 encoded string.

Initialising with a base64 encoded string was using Base64EncodingOptions rather than Base64DecodingOptions - this means strings with unknown characters cannot be decoded properly as the .ignoreUnknownCharacters option is unavailable

@swift-ci please test

Thanks!


git-bzr do not support using "/" in branch name

This is a git convention, as branch names are juste files under .git/refs/heads, every parts before last element must be a directory.
I implement a fix to create the parent directories as needed.
Regards.
git pull git://git.baby-gnu.net/git-bzr-ng dad/fix-git-style-branch-name-with-slashes

Subject: [PATCH] git-bzr do not support using "/" in branch name.

* git-bzr (cmd_import): Create parent directories of the bzr branch.
---
 git-bzr |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/git-bzr b/git-bzr
index 327d935..ff204f8 100755
--- a/git-bzr
+++ b/git-bzr
@@ -579,6 +579,10 @@ def cmd_import(args):
   if branch_exists(bzr_ref):
     die('Branch already exists: %s', bzr_ref)

+  # Permit git-style branch name with / in them
+  if not os.path.isdir(os.path.dirname(cl.bzr_dir(branch))):
+    os.makedirs(os.path.dirname(cl.bzr_dir(branch)))
+
   # Do the actual bzr fetch
   bzr(['branch', url, cl.bzr_dir(branch)])

--
<IP_ADDRESS>

I just hit this when trying to push a branch with / in it. Didn't really understand the problem...now I do. I hit the problem when doing the following thing:
git checkout -b feature/new_awesome_feature
git bzr push lp:~<user>/<project>/<branch_with_forward_slash>

and got the following error:
bzr: ERROR: Parent of "<branch>" does not exist.
ERROR:root:Command "bzr branch <master> <branch>" failed.


unix: use ngx_queue_move when iterating over lists

Replace uses of ngx_queue_foreach when the list can get modified while
iterating over it, in particular when a callback is made into the
user's code.  This should fix a number of spurious failures that
people have been reporting.
This is a backport of commit 442b8a5 from the v1.x branch.
R=@saghul?  At your leisure.

Glanced at the code and LGTM (couldn't compile it or run tests, so maybe trigger a CI job?) with a nano-nit in the comment :-)

CI: https://ci.nodejs.org/view/libuv/job/libuv+any-pr+multi/162/
IIRC, v0.10 on the CI was hopelessly broken last time I tried it so the outcome may not be very indicative.

Doh, looks like the CI is not ready to test the v0.10 branch, as it tries
to use autoconf even. LGTM if it works for you locally.
On Oct 10, 2015 3:18 PM, "Ben Noordhuis"<EMAIL_ADDRESS>wrote:

CI: https://ci.nodejs.org/view/libuv/job/libuv+any-pr+multi/162/
IIRC, v0.10 on the CI was hopelessly broken last time I tried it so the
outcome may not be very indicative.
—
Reply to this email directly or view it on GitHub
https://github.com/libuv/libuv/pull/566#issuecomment-147122484.

Passes for me locally on multiple platforms.  Landed in cbc83c6...6522324, thanks for the review.


Background Problem

As i was told the background page is keeping on presenting a small white rectangle in the bottom of background when you scroll.

Fixed it with Unpsplash backgorounds!


OSX fail

Hi,
I'm trying to use boost-lib when building on OSX and it always picks up system boost headers:
https://travis-ci.org/lyssdod/node-libtorrent/jobs/161197112#L460
Despite it downloads 1.61, boost-lib reports 1.55, which is system version

It has been fixed in master already, hasn't it?

Yes, thank you!


Add more E2E tests

[ ] Added front end tests on register page (check minimum, maximum characters input, validate email input, validate password input including minimum length required and match password checking)
[ ] Added checks for visibility of necessary svgs and images on main page, register page, and login page
[ ] Added front-end failed login test: notifications and warning for user re-input
[ ] Added check for sufficient component on success register page
[ ] Added local check for successful login, home components availability, custom mode entry (button click), and check room creation stability


Update notebook timeout

Description
Temporary fix for the notebook timeouts. This doubles the default time to see if it is stable.
Key checklist:

[x] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[x] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

Closing this PR, it was a mainly to see if the timeout was just on the edge of the 300s, but it still fails at 600 seconds.


Pre-release of 2.0

Hi,
this Pull Request contains some changes, being the most significant the change in behavior discussed here: https://discourse.robmosys.eu/t/semantic-of-sequence-vs-sequencestar/136/12?u=facontidavide
You can see the important changes here:
https://github.com/Eurecat/BehaviorTree.CPP/blob/devel/src/action_node.cpp#L27
and the motivating unit test here:
https://github.com/Eurecat/BehaviorTree.CPP/blob/devel/gtest/gtest_sequence.cpp#L245
This new addition to the semantic of Fallback and Sequence (without memory) means that ONLY ConditionNodes are re-ticked, but ActionNodes are not.
This was true already for ActionNode but not for ActionNodeBase.
Hopefully this is the last breaking change before version 2.0.
I am planning to add only unit tests, code comments, tutorials and documentation.
Wit this PR, I personally consider the library feature-complete

Hi, I added a further commit that simplifies the Fallback and Sequence with memory.
Motivation:

The only policies that make sense in SequenceWithMemory are ON_SUCCESS_OR_FAILURE and ON_SUCCESS. ON_FAILURE only doesn't make sense here. Therefore a bool is much easier to understand

I tried to find a use case for the different policies in FallbackWithMemory, but I was not able to find any reason to use anything different from ON_SUCCESS_OR_FAILURE.

Let me know what you think

This new addition to the semantic of Fallback and Sequence (without memory) means that ONLY ConditionNodes are re-ticked, but ActionNodes are not.

also Control Nodes are right? (It seems so and I agree with that,)

Hi, I added a further commit that simplifies the Fallback and Sequence with memory.
Motivation:

The only policies that make sense in SequenceWithMemory are ON_SUCCESS_OR_FAILURE and ON_SUCCESS. ON_FAILURE only doesn't make sense here. Therefore a bool is much easier to understand
I tried to find a use case for the different policies in FallbackWithMemory, but I was not able to find any reason to use anything different from ON_SUCCESS_OR_FAILURE.

Let me know what you think

this is for the memory reset, right? I agree with you.
I think the 'ON_SUCCESS_OR_FAILURE' should be the one to use, but Originally I wanted to let the user choose.

yes, that is correct.
Any suggestion for change / improvement?

do my comments make sense to you?

as we discussed by email, I will close this PR. Cheers


Cannot Find Name For Some Files

VSCode Version: 1.5.2
OS Version: Windows 10 Pro 1607
Typescript Version: 1.8.10

Steps to Reproduce:

Open a Typescript project
Only the first file I navigate to can find modules

I have a Node project running with Typescript support. When I start Code, Typescript modules are only found for the first file I open. The remaining files have the "Cannot Find Name" error for all modules. In some cases the modules are the same ones on the first file, so I know the definitions are available. If I restart VS Code or run the reload window command, then the error goes away from the first file I open, and will now show the error for all others.
Any ideas on a fix?

@maestroh thank you for opening this issue. Could you provide me with some code that I can copy and paste or clone to reproduce this behavior?
I'm not understanding the context of "Cannot Find Name." If you could include a screenshot or a short video that would be helpful.
Thank you.

@waderyan Here you go. To add a bit of explanation to what you're seeing here: I've got two files open, middleware.ts and index.ts. middleware.ts is the first one I navigate to and the types are recognized. In index.ts nothing is recognized. Notice that both files import 'express'. I reload the window and the types are recognized in index.ts, but not middleware.ts. It seems that the types are only recognized in the first file I open or focus on. I may be doing something silly, but I can't think of what could be wrong here. I have tried restarting both VS Code and my machine.

@maestroh thank you for your explanation. Moving this to the TypeScript language service repo.

This issue was moved to Microsoft/TypeScript#11009


need to add alt tag to image

The alt, aria-label and aria-labelledby attributes provide a textual alternative to an image.
It is used whenever the actual image cannot be rendered.
Common reasons for that include:
The image can no longer be found
Visually impaired users using a screen reader software
Image loading is disabled, to reduce data consumption on mobile phones
It is also very important not to set an alternative text attribute to a non-informative value. For example, <img ... alt="logo"> is useless as it doesn’t give any information to the user. In this case, as for any other decorative image, it is better to use a CSS background image instead of an  tag. If using CSS background-image is not possible, an empty alt="" is tolerated. See Exceptions below.
This rule raises an issue when:
An  element has no alt attribute.
An  element has no alt, aria-label or aria-labelledby attribute or they hold an empty string.
An  element within an image map has no alt, aria-label or aria-labelledby attribute.
An  element has no inner text, title, aria-label or aria-labelledby attribute.

so whenever you guys are free free to add alt tag to the unnoticed images


[Issue] Helm deployments

[x] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.7.0 (commit 49d6adc2efb178083f61822e6b4715258560803d)

Describe the bug
When deploying an app to AKS hosts via the new Helm Chart repo/release support in AZD, I feel that the deployment process should not attempt to deploy vanilla K8s manifests unless explicitly configured to do so.
To Reproduce

Configure a service with host set to aks and add a valid helm repository and release.
Add a manifests folder in the root of repo and add any valid or invalid k8s manifest
AZD will run the helm install command then attempt to run manifests in the manifests directory

Expected behavior
If a user configures the service to deploy via helm repo, that should be it. Once the helmDeployed variable has been set to true, no other deployments should occur IMO unless explicitly set to deploy from kustomize or manifests.
Environment
Information on your environment:
* Language name and version
* IDE and version : [e.g. Visual Studio 16.3]
Additional context
Add any other context about the problem here.

@pauldotyu  Thanks for the feedback.  Can you expand more on your use case where you have both helm charts and vanilla k8s manifests but you don't want the vanilla manifests actually deployed?

Deploying vanilla manifests in addition to helm charts is a feature of azd.  For example, if you are developing your own application you may want to take dependencies on helm charts to spin up resources from 3rd party registries.  At the same time you may then want to deploy your own custom application outside of helm for your custom resources and depend on those 3rd party components.
Right now, the recommendation would be to move your manifests outside of the default manifests folder or considering create different repos/branches to showcase the different variations/configurations of your application.


plot_test fail with AttributeError: 'ScalarEvent' object has no attribute 'self'

not sure why this was not popping up in CI sofar. @lappalainenj do you have a quick fix or hint for this one?
to reproduce run:
pytest tests/plot_test.py --pdb

never mind, this seems to be a local problem on my side (CI is passing).


Make  "Register with Hub button" read-only for non admin users

We need to make "Register with Hub" button read-only for non-admin users
If peer is registered then it should be like this:

If not then it should be gray and with the word "Offline" on it:

Implemented


support double quotes in table names

Fixes #112

BTW. get_tablenames returns the table names unescaped, so no need to change anything there.

FIY, sqlite identifiers are "kid of" case insensitive, but just on the ASCII characters, so:
acute and Acute are the same table, but
ácute and Ácute are different tables.
but ácute and áCUTE are the same table.
It messes with the philosophy of this project a bit if you think of table names as keys.
In particular the solution on #84 should break sometimes due to this "case insensitiveness"

Merged. Thank you for your contribution, @vcalv !


Support actors as first-class entity

Currently, tags carry labels / strings; it should also be possible to link a tag with an actor (e.g., some VASP), which is defined as first-class entity.

After discussing the integration of actors with tags:

actors are statically defined by tagpack creators; in a dedicated optional "actor" field in the tagpack file
the tagpack-tool offers creators of tagpacks some support for finding a suitable actor: e.g. for a given label, or labels in a given tagpack file, a new tagpack command suggest_actors_for_tags checks in the database for suitable actors,   and prints the information/suggestions to the console, or writes it to a file, or maybe even creates an updated tagpack accordingly
the tagpack creator checks the tagpack for correctness
actor information (if present) in tagpacks is inserted into the database along with the other tag infos


Driver loading causes unwanted warning in jupyter

Description
When khiops has a cloud storage driver installed, it dumps a message to stdout.
This message is considered as abnormal by khiops-python - normally all messages are set to the logs - and result in an ugly error when run in a jupyter notebook.
Questions/Ideas

why not reroute this message to traces, debug ?
how about suppressing it entirely, it would be a 5s fix
fixing it in khiops-python is feasible but would imply making an exception just for this case

Context

Khiops 10.2.0
khiops-python <IP_ADDRESS>

The warning is shown because any stdout content is considered spurious and khiops-python warns about that.
Could the message be redirected to the log ?

In the dev branch  this message is not in the stdout anymore. It appears only when we launch Khiops with the new flag "-s". I will try to add this feature in the next release 10.3

Pourquoi ne pas ajouter une info dans le log utilisateur, uniquement au chargement de l'outil.
Permettrait d'informer l'utilisateur que les fichier S3 sont utilisable par exemple (un peu de bug)

close in #229


Fix/orbit 6 issues

Fixes for:

https://github.com/orbit-mvi/orbit-mvi/issues/177
https://github.com/orbit-mvi/orbit-mvi/issues/179
https://github.com/orbit-mvi/orbit-mvi/issues/180

Blocking intents and other container host functions can be called via containerHost.xxx() directly.
I'm removing invokeIntent to keep things consistent cc @mattmook , see discussion at https://github.com/orbit-mvi/orbit-mvi/issues/180 . TL;DR is that this change will allow people not to expose Job from their ContainerHost if they don't need it in tests - I think this is the solution we missed originally.

These are non-breaking changes, if you remove a method that's definitely a v7.

Yes, I would like to fix it quickly in a way that allows people to refactor (ReplaceWith)
7.0.0 is already reserved for removing legacy style tests and the invokeIntent method will go with it


WIP cmd/server mock out endpoints

This is a WIP for search endpoints

API docs look a lot better!
If you want to try and add these routes to the main api doc you can (see: https://github.com/moov-io/api/blob/v0.5.4/openapi.yaml#L1643). The build process for api requires make, which I don't think has been ported to Windows. It might work on WSL though.


[Instagram] API URL redirects to login page even on home servers

Looks like Instagram started redirecting the API URL used by the bridge to its login page, even on household internet connections with "clean" IP addresses. Currently, I'm experince the following on my Raspberry and my laptop at home, and my desktop at office, not only for RSS-Bridge, but on browsers too:
$ curl -I https://www.instagram.com/web/search/topsearch/?query=makenoisemusic
HTTP/1.1 302 Found
Content-Type: text/html; charset=utf-8
Location: https://www.instagram.com/accounts/login/

This is the same as #1617, but looks like the "workaround" doesn't work anymore.
Is it game over?

Try this following command:
curl -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36" -I https://www.instagram.com/web/search/topsearch/?query=makenoisemusic

And it will get following response headers:
HTTP/2 200
content-type: application/json; charset=utf-8
vary: Accept-Language, Cookie, Accept-Encoding
content-language: en
date: Wed, 17 Mar 2021 19:21:49 GMT
strict-transport-security: max-age=31536000
cache-control: private, no-cache, no-store, must-revalidate
pragma: no-cache
expires: Sat, 01 Jan 2000 00:00:00 GMT
x-frame-options: SAMEORIGIN
......

Why? The current reason that the Instagram will check the User-Agent header.
It can use the correct user agent header via the chrome://version/ URL on Google Chrome.

@peter279k Nope, it's the same, I get the same 302. In fact, the redirect occurs also when using the browser directly to open the URL...

It's weird. I get the different result about with/without User-Agent header.

I guess Instagram will check some stuffs when some clients send request via this URL.
I believe the one of stuffs is about setting User-Agent header and I'm not sure others.

@peter279k Yeah, I think it started blocking also private IP address in addition to VPS and VPN. In fact, the very first times I tried the request, it succeeded just a couple times, then started 302ing also when switching client (cURL and various browsers). I'll try restarting the router many times and see if I'll get an unblocked IP address... Anyway is clear the situation is getting worse :disappointed:

Got a new home IP address, with which I got a couple successful requests (200). I won't fire more for now, and will wait for RSS-Bridge to try to recover old missed posts.

Just read, that bibliogram has the same problem with rate limiting. https://proxy.vulpes.one/gemini/cadence.moe/gemlog/2020-12-17-future-of-bibliogram.bliz

If you have instagram account, you can try this patch.
https://github.com/RSS-Bridge/rss-bridge/issues/1891#issuecomment-816668065
Also suggesting to increase cache timeout for this bridge to higher value.  For example:
const CACHE_TIMEOUT = 43200; // 12 hours

In any case closing as duplicate of https://github.com/RSS-Bridge/rss-bridge/issues/1891

Thanks @em92, I'll try to borrow an account from family  :smile:  Hopefully it'll work.

Also suggesting to increase cache timeout for this bridge to higher value

Is it enough to add const CACHE_TIMEOUT = 43200 in code? Does this override any smaller value in the feed URL? For example:
?action=display&bridge=Instagram&u=profile&media_type=all&_cache_timeout=900&format=Atom

Does this override any smaller value in the feed URL?

No, it does not. You need to change in feed URL instead or disable custom_timeout in config.php

I'll try to borrow an account from family

FYI, I tried with doing the same idea with my account on facebook. It lead me to account suspention. See https://github.com/RSS-Bridge/rss-bridge/issues/2047#issuecomment-817506721. So, I suggest to use your own account instead.

@em92 Thanks for the warning. I don't have an account, that's why I was thinking borrowing one. I guess I won't, I'll consider making my own.


qtstyleplugin-kvantum-qt4: 0.15.2 -> 0.15.3

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tsujan/Kvantum/releases.
meta.description for qtstyleplugin-kvantum-qt4 is: "SVG-based Qt4 theme engine"
meta.homepage for qtstyleplugin-kvantum-qt4 is: "https://github.com/tsujan/Kvantum"
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/3e0fd4b112a5c2d37cd54e2e2b2fcbef

du listing: https://gist.github.com/cf548a1c46932c63368765196ef7a340

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
qtstyleplugin-kvantum-qt4

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xglklgwqkqklmdazkz7vkjwr0a2af60q-qtstyleplugin-kvantum-qt4-0.15.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A qtstyleplugin-kvantum-qt4 https://github.com/r-ryantm/nixpkgs/archive/a353657b275906df780bb0a98d8884a7fd7984c5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xglklgwqkqklmdazkz7vkjwr0a2af60q-qtstyleplugin-kvantum-qt4-0.15.3
ls -la /nix/store/xglklgwqkqklmdazkz7vkjwr0a2af60q-qtstyleplugin-kvantum-qt4-0.15.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:
- qtstyleplugin-kvantum-qt4

Maintainer pings
cc @bugworm for testing.

The bot has built all dependent packages and the changelog looks good.


Support case-insensitive OData system query parameters

OData 4.01 services support case-insensitive query parameters (without the $ prefix) e.g. filter, expand etc - https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#system-query-options
This should be reflected in the OpenAPI descriptions.
Here's an SDK customer scenario impacted by this.

In my head this may actually be a service/workload issue.
$filter should be functionally equivalent to filter in odata 4.0 so using either shouldn't have different behavior. Specifying both in the openApi description would lead to larger openApi description and larger SDKs generated.

Oh I see. Thanks @andrueastman. I skimmed through the docs a bit too fast.
Closing this.


why skipExampleStrings set true in api-request.js

https://github.com/Rhosys/openapi-explorer/blob/2f3836ff13434525b3ae219dfb947cd284c25e30/src/components/api-request.js#L345

hello, May I inquire as to why the generation of examples for string types is omitted in api-request.js? thanks

@Liwenju is this an issue or is everything okay now?

in  schema-utils.js file, function getSampleValueByType
has this code:
...
if (skipExampleStrings && typeof example === 'string') { return ''; }
...
I can't understand...  why not  replace typeof example === 'string'  to example === 'string'

I thought the code is pretty straightforward. if the type of the example is a string then don't return it. Is this a problem, if so can you please share a minimum example along with what your expectation for the display should be. That would help us debug any potential issues with code.
Thanks,
Warren

I thought the code is pretty straightforward. if the type of the example is a string then don't return it. Is this a problem, if so can you please share a minimum example along with what your expectation for the display should be. That would help us debug any potential issues with code.
Thanks, Warren

if is typeof example === 'string' , when schema has example, eg:

will render as

but i want to render

and swagger-ui also render  when the type of the example is a string

Ah I see. The reason that doesn't show is because we've had concerns that it would be used to generate actual calls to your API with values that don't necessarily make sense.
In otherwards think of the "BODY" section as actually being used by the user to call the API, it isn't an example. You likely don't want that string sent. However, we are thinking about adding an examples section. If we were to add that, would you be interested in it?

Closing this in favor of extended example displays.


Calls v1 paginated API does not return more than 100 objects

I have Fn cluster that ran about 2.5K calls:

node 1

{"Queue":0,"Running":0,"Complete":516,"Failed":0,"FunctionStatsMap":{"/test-fdk-python":{"Queue":0,"Running":0,"Complete":516,"Failed":0}}}

node 2

{"Queue":0,"Running":0,"Complete":42,"Failed":0,"FunctionStatsMap":{"/test-fdk-python":{"Queue":0,"Running":0,"Complete":42,"Failed":0}}}

node 3

{"Queue":0,"Running":0,"Complete":1917,"Failed":0,"FunctionStatsMap":{"/test-fdk-python":{"Queue":0,"Running":0,"Complete":1917,"Failed":0}}}

But when i'm trying to list all calls by setting number of objects per page equal to 3000, API returns only 100.
fn calls list ab-test --per-page 300 | grep Status | wc -l
     100

this is intentionally capped to 100 in the code.

or, please provide an action item here as this is not directly a bug itself without some opinion on how it 'should' work and the tradeoff implications of changing how it works

I want to know how can I get 3K calls all-in-one response or how can I get the number of successful or errored calls within the certain timeframe? At this particular moment as a user I have to do reverse iteration among calls because on API request I get only N last calls. So, the pagination API is not really clear how to work with that, I'm sure that we have any doc explaining how pagination API works and specific reason why we limit the number of object to 100.

reason to have pagination is simply reduce load on db (specifically, long running read queries can tie up the transaction engine & select * without limit on not-cached data is not very nice to db caches and subsequent queries; likely many more similar concrete reasons). 100 is a magic number. 1000 could be ok, maybe. 10000 seems like too many. but in any case, users have to implement paging no matter the amount we pick as the per page max, so it doesn't seem like it matters a whole lot as long as we have something reasonable.
here's our docs: https://github.com/fnproject/fn/blob/master/docs/definitions.md#pagination -- our docs are a mess, i'm not sure there's really anywhere we could put them where a user would be expected to run into them, but the swagger API is up to date with the parameters (half of which were used in the example given).

I want to know how can I get 3K calls all-in-one response or how can I get the number of successful or errored calls within the certain timeframe?  At this particular moment as a user I have to do reverse iteration among calls because on API request I get only N last calls.

paging answers this. swagger has docs for this. filter by time is possible. the filtering by status is not hooked up at the moment. the pagination api seems pretty clear on this.

Okay, this does look like bad UX with Fn CLI, it does not provide next cursor, that's why it's kinda hard to work with calls with CLI.

yea, the cli probably needs to return it. the cli maybe should take an arg like -n 3000 and then could internally do the pagination to get 3000 calls, without the client having to interact with it, or possibly -all, though we want to discourage that really (limit to 24h or something). in general I would hope that people use client libraries to interact with fn and not the CLI for doing heavy lifting (for tasks like this). I can't think of a good reason for a dev to sit there with the cli and inspect each page and only ask for another page if some expectation isn't met, and the shell scripting required to hook up paging is probably a lot less frightening in a user's favorite language rather than a user's favorite shell scripting language.

Tend to agree, CLI at this moment is the best option, but client libraries are not good at this moment, because they were built with the swagger spec that makes them look like over-complexed HTTP-Fn-specific framework, where people doesn't see HTTP stuff, but more playing with models (client, apps, routes, etc.). Current pagination looks awesome if i would go and build my own http-fn library to talk to Fn because swagger clients don't care about pagination, swagger generator considers our pagination attributes as regular query parameters and doesn't let call some sort of calls.next API, so at CLI we have to do things like manual pagination, which is awful, but something that we supposed to be living with.
To the statement that people doesn't use CLI, i thought just as you that not true, but it appeared that CLI is very useful for things like calls and logs, of course in a context of function (or sequence of functions) testing.

swagger clients should all have a parameter for cursor to any endpoint that lists things? if this isn't the case, then we need to regenerate our swagger clients or something is terribly wrong with swagger? the API spec has the parameters listed under GET /apps at least http://petstore.swagger.io/?url=https://raw.githubusercontent.com/fnproject/fn/master/docs/swagger.yml#/Apps/get_apps -- as linked https://github.com/fnproject/fn/blob/master/docs/definitions.md#pagination it's pretty easy to map onto client bindings, e.g.:
var params apiapps.GetAppsParams
var apps []apiapps.App

for {
  resp, err := client.Apps.GetApps(&params)
  if err != nil {
    return err
  }
  apps = append(apps, resp.Apps)

  if resp.NextCursor == "" {
    break
  }
  params.Cursor = resp.NextCursor
}

so pagination with client libraries is possible? you're just saying you don't want to do this and have the CLI return everything (exactly what we implemented paging to avoid)?
forcing users into paging is a pretty common practice, and the code is pretty straightforward. sure, it's convenient for users to be able to grep and count across all calls with a bash incantation, but it's not a whole lot to ask them to use paging to do this, either (sure, our cli needs to expose cursor so they can).
yea, cli is useful for one off inspection. as for having a decent paging api to use to regularly inspect entire lists of things, i'm not sure of a clean api to do this and don't think forcing users into writing a for loop with client bindings to be the end of the world i guess.

can we start with providing a simpler way for the CLI to grab all results? Maybe by returning next cursor as you say? I also work with the CLI quite a bit and needed a better way to get through sets of results. It was on my list of things to play around with and come up with some suggestions.

can we start with providing a simpler way for the CLI to grab all results?

kind of exactly what we're trying to avoid by having pagination. cli should maybe do last hour by default and easy to change? don't want to default to all, and want to make sure there is some bound that has to be specified (even if the wise cracks put it at midnight, Jan 1 1970). but anyway, there was discussion https://github.com/fnproject/cli/issues/50 / move to CLI issue probably.

ya I'm not saying default to all, just an easier way. I haven't played around with it enough but using the cursors was NOT intuitive unfortunately....

with the CLI*


Jesse: Watch kucinichaction.com

Jesse requests the watch of the watch_keyword kucinichaction\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

kucinichaction\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Make zone maps, notes, and guides independently movable

I turned the guide text into more of a step-by-step walkthrough for each zone, following an optimal leveling guide. This made it too long to be comfortable in its default spot (covers up mid-screen by dropping down so far), so I swapped it to the left hand side, but the quick notes are at fixed reference points relative to that anchor point (I think?).
It would be great to be able to independently move those two boxes as well.

There are enough moving pieces now that I need to rework how they are all handled. I will add this to the list of things to do as part of that rework.