Unable to load GPTQ weights

System Info
Hi, I'm using the latest version of text-generation-inference (image sha-ae466a8) on Runpod => docker. When I try to load a GPTQ file from local disk with QUANTIZE = gptq, I get the following trace:
2023-06-28T07:58:54.412515423-04:00 {"timestamp":"2023-06-28T11:58:54.412338Z","level":"ERROR","fields":{"message":"Error when initializing model\nTraceback (most recent call last):\n  File \"/opt/conda/bin/text-generation-server\", line 8, in <module>\n    sys.exit(app())\n  File \"/opt/conda/lib/python3.9/site-packages/typer/main.py\", line 311, in __call__\n    return get_command(self)(*args, **kwargs)\n  File \"/opt/conda/lib/python3.9/site-packages/click/core.py\", line 1130, in __call__\n    return self.main(*args, **kwargs)\n  File \"/opt/conda/lib/python3.9/site-packages/typer/core.py\", line 778, in main\n    return _main(\n  File \"/opt/conda/lib/python3.9/site-packages/typer/core.py\", line 216, in _main\n    rv = self.invoke(ctx)\n  File \"/opt/conda/lib/python3.9/site-packages/click/core.py\", line 1657, in invoke\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\n  File \"/opt/conda/lib/python3.9/site-packages/click/core.py\", line 1404, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File \"/opt/conda/lib/python3.9/site-packages/click/core.py\", line 760, in invoke\n    return __callback(*args, **kwargs)\n  File \"/opt/conda/lib/python3.9/site-packages/typer/main.py\", line 683, in wrapper\n    return callback(**use_params)  # type: ignore\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py\", line 67, in serve\n    server.serve(model_id, revision, sharded, quantize, trust_remote_code, uds_path)\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py\", line 155, in serve\n    asyncio.run(serve_inner(model_id, revision, sharded, quantize, trust_remote_code))\n  File \"/opt/conda/lib/python3.9/asyncio/runners.py\", line 44, in run\n    return loop.run_until_complete(main)\n  File \"/opt/conda/lib/python3.9/asyncio/base_events.py\", line 634, in run_until_complete\n    self.run_forever()\n  File \"/opt/conda/lib/python3.9/asyncio/base_events.py\", line 601, in run_forever\n    self._run_once()\n  File \"/opt/conda/lib/python3.9/asyncio/base_events.py\", line 1905, in _run_once\n    handle._run()\n  File \"/opt/conda/lib/python3.9/asyncio/events.py\", line 80, in _run\n    self._context.run(self._callback, *self._args)\n> File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py\", line 124, in serve_inner\n    model = get_model(model_id, revision, sharded, quantize, trust_remote_code)\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py\", line 185, in get_model\n    return FlashLlama(\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_llama.py\", line 61, in __init__\n    weights = Weights(filenames, device, dtype, process_group=self.process_group)\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/utils/weights.py\", line 11, in __init__\n    with safe_open(filename, framework=\"pytorch\") as f:\nFileNotFoundError: No such file or directory: \"/workspace/models/TheBloke_airoboros-33B-gpt4-1-4-GPTQ/airoboros-33b-gpt4-1-4-GPTQ-4bit-1g-act-order.safetensors\"\n"},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}
No such file or directory: "/workspace/models/TheBloke_airoboros-33B-gpt4-1-4-GPTQ/airoboros-33b-gpt4-1-4-GPTQ-4bit-1g-act-order.safetensors
I can confirm that the file is in fact present at that location.
Loading non-gptq safetensor files (without QUANTIZE gptq) works fine, so it seems specific to the GPTQ implementation.
GPTQ files are from this repository: https://huggingface.co/TheBloke/airoboros-33B-gpt4-1.4-GPTQ . Note: I've tried a few other GPTQ files and they also don't load.
Note that the file name won't exactly match the one on HuggingFace because it originally had more full stops in the file name which I thought were causing the issue. However, as you can see I tried renaming the file to simplify it and I'm still getting the error.
I'm running this on an A100 80GB, attached to network storage (where the gptq files are located). I've tried it with multiple instance types, and I don't think it's a Runpod issue.
Here's a screenshot of the settings I'm running with:

Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction

Create a new Runpod Pod using the latest text-generation-inference docker image: ghcr.io/huggingface/text-generation-inference:latest
Configure the pod to load a GPTQ repository
When it tries to load, you'll see that it fails and goes into an infinite retry loop, shutting down the shard and restarting repeatedly.

Expected behavior
GPTQ file should load and server should start.

First of all this file might fail to load regardless because this repo pushes gptq_bits and gptq_groupsize into the file itself to be able to know what kind of quantization took place. Not sure theBloke ones have that.
And I highly doubt the error "FileNotFound" to be wrong. It must be the correct error and the file is not found.
If the file is there, maybe the docker is not executing in the same environment ? Maybe there's a tiny typo.

To clarify, I'm just giving it the repo folder name, and it's determining the file name airoboros-33b-gpt4-1-4-GPTQ-4bit-1g-act-order.safetensors by itself (and correctly doing so), so it clearly has access to the disk and to the file. Can you suggest some alternative GPTQ files or repos that I could test this with that work for you? Seeing if these load for me might narrow down the problem.

This should work: https://huggingface.co/huggingface/falcon-40b-gptq

Oh dear, now I get the dreaded "You are using a model of type RefinedWeb to instantiate a model of type ." error, AND the No such file or directory error...
2023-06-28T11:03:17.918954322-04:00 {"timestamp":"2023-06-28T15:03:17.918720Z","level":"ERROR","fields":{"message":"Shard 0 failed to start:\nYou are using a model of type RefinedWeb to instantiate a model of type . This is not supported for all configurations of models and can yield errors.\nTraceback (most recent call last):\n\n  File \"/opt/conda/bin/text-generation-server\", line 8, in <module>\n    sys.exit(app())\n\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/cli.py\", line 67, in serve\n    server.serve(model_id, revision, sharded, quantize, trust_remote_code, uds_path)\n\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py\", line 155, in serve\n    asyncio.run(serve_inner(model_id, revision, sharded, quantize, trust_remote_code))\n\n  File \"/opt/conda/lib/python3.9/asyncio/runners.py\", line 44, in run\n    return loop.run_until_complete(main)\n\n  File \"/opt/conda/lib/python3.9/asyncio/base_events.py\", line 647, in run_until_complete\n    return future.result()\n\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/server.py\", line 124, in serve_inner\n    model = get_model(model_id, revision, sharded, quantize, trust_remote_code)\n\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/models/__init__.py\", line 220, in get_model\n    return FlashRWSharded(\n\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/models/flash_rw.py\", line 51, in __init__\n    weights = Weights(filenames, device, dtype, process_group=self.process_group)\n\n  File \"/opt/conda/lib/python3.9/site-packages/text_generation_server/utils/weights.py\", line 11, in __init__\n    with safe_open(filename, framework=\"pytorch\") as f:\n\nFileNotFoundError: No such file or directory: "/workspace/models/huggingface_falcon-40b-gptq/model-00001-of-00003.safetensors"\n\n"},"target":"text_generation_launcher"}`
(Once, again loading from networked disk).

Try a non network disk ? No such file or directory:  means somehow your network disk said the file didn't exist...

A non-network disk worked, thanks. The whole thing is very strange... It definitely has access to the disk and to the model. Anyway, for the moment I can just use directly attached disks. Thanks for your help!
(My next issue now is that I can't get TGI to download from private HuggingFace repos to get the models onto those directly attached disks, but I'll open that as a separate issue.)

HUGGING_FACE_HUB_TOKEN needs to be used to use a proper token.

Thanks @Narsil . Your comment helped me to figure out what I was doing wrong: I was trying to use HUGGINGFACE_HUB_TOKEN rather than HUGGING_FACE_HUB_TOKEN for this. Changing to HUGGING_FACE_HUB_TOKEN works. I'll also close the second issue with this outcome.

I have tried loading multiple quantized models (generated using GPTQforLLama, AutoGPTQ) from different developers (including Bloke).
This is the error I received the most -
RuntimeError: weight gptq_bits does not exist
With some models, I received -
RuntimeError: weight model.layers.0.self_attn.q_proj.g_idx does not exist
@ssmi153 Have you managed to run GPTQ models?

@GemsFord, TGI doesn't support any of those quantized models because they've got a custom quantization script which injects additional metadata into the model files. I've got a lot of respect for their developers, but I'm not a fan of this design choice. To quantize your own files you theoretically just execute text-generation-server quantize [source-model-id] [target-folder] from the CLI. However, I've recently tried this and found lots of issues with it: https://github.com/huggingface/text-generation-inference/issues/576  . The devs are very responsive, so hopefully they'll work out a better plan here.

Thanks @ssmi153. Very much clear.

which injects additional metadata into the model files.

Do you have a solution to detect number of bits and groupsize at inference which doesn't require users to know this information ahead of time ?
The idea was to NOT require users to guess things. (and having to pass in a bunch of flags everywhere).
Adding gptq_bits and gptq_groupsize to existing checkpoints should be rather easy.

We could add flags again to allow reusing those but I honestly don't like it long term.
@OlivierDehaene Wdyt ?

Please also allow to pass info through flags. Users like me just want to use quantized models which are already available. We can check the actual values they provide in example code.

Just created a PR for it.
I don't really like maintaining weird, out-of-flow things in general (because now a lot of places might start to be careful about this and it is not entirely easy to know if you're not familiar with the codebase that this might happen).
But here it's an exception, since there's really a lot of model out there which could benefit from this by becoming more easily usable (no need to modify the weights).
Note: the TGI quantize script because it aims to support every model we support out of the box. There are definitely some quircks about it atm, I'll try and fix them.

Fantastic, thanks @Narsil !


If a fraction does not have a pick up date this year it doesn't show

For example fraction_id: 4 at my address does not have any pick ups before 2022. Therefore it does not show up in the card. Works fine in "Min renovasjon" iPhone app.

Issue closed. User error. The entity was disabled.


A couple of Georgian translations

Thank you

Cheers
On Thu, Mar 10, 2016 at 8:03 PM, Fred Delrieu<EMAIL_ADDRESS>wrote:

Thank you
—
Reply to this email directly or view it on GitHub
https://github.com/caouecs/Laravel-lang/pull/520#issuecomment-194925336.


Create a simple example

Maybe it's too late, but anyway if you have some time.
Thanks.

Found previous issues


print obj.getInfo() or save not working in ee-runner

Think about an extreme example:
// ex2.js
var geometry = /* color: #d63000 */ee.Geometry.Polygon(
        [[[131.8359375, -33.87041555094182],
          [144.755859375, -34.45221847282653],
          [141.328125, -28.38173504322308],
          [132.36328125, -28.459033019728043]]]);
print(geometry.getInfo())
save(geometry.getInfo(), './error_matrix.json')

If I want to run this script in ee-runner and redirect the output to a text file,  I got nothing for the ee.Object information.
Is that possible I can use .evaluate() functions?

Right now I am looking for someway to generate information (ee.List(), ee.Dictionary()) from EE rather than export tasks. Want to run them in a batch.

Wrap it with JSON.stringify(), as:
var geometry = /* color: #d63000 */ee.Geometry.Polygon(
        [[[131.8359375, -33.87041555094182],
          [144.755859375, -34.45221847282653],
          [141.328125, -28.38173504322308],
          [132.36328125, -28.459033019728043]]]);
print(JSON.stringify(geometry.getInfo()))
save(JSON.stringify(geometry.getInfo()), './error_matrix.json')

Gena:
This one works.  But so far I don't have a way to print an errorMatrix with
ee-runner.  Maybe I have to put it in a featureCollection then export it.
On Wed, Apr 26, 2017 at 3:14 AM, gena<EMAIL_ADDRESS>wrote:

Wrap it with JSON.stringify(), as:
var geometry = /* color: #d63000 */ee.Geometry.Polygon(
[[[131.8359375, -33.87041555094182],
[144.755859375, -34.45221847282653],
[141.328125, -28.38173504322308],
[132.36328125, -28.459033019728043]]]);print(JSON.stringify(geometry.getInfo()))save(JSON.stringify(geometry.getInfo()), './error_matrix.json')
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gena/ee-runner/issues/9#issuecomment-297335453, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABlYla0WgT3b4PBTnMwcVB8zPacfCPsMks5rzxkEgaJpZM4NHvkX
.

--
Jun Xiong, Ph.D.
U.S. Geological Survey
2255 North Gemini Drive,
Flagstaff, AZ, USA.
Office:<PHONE_NUMBER>


fix(menu): reimplement text truncating

Description
"Previously the spectrum-Menu-itemLabel--wrapping class could be added to the spectrum-Menu-itemLabel element in a Menu Item to prevent it from wrapping and force it to use an ellipsis instead."
Fix:

the css to truncate was not able to be applied because spectrum-Menu-itemLabel had display: flex;
read more about flex causing issues with truncate
I was able to remove this by changing the mark up of the Multi Selection with icons example which had the SVG with in the label
Rename classes to indicate truncating and not wrapping
removed any html that was making it appear that the text with truncating ...

Docs:

added example to docs site
added example to Storybook
added control to Storybook to toggle on all variants

How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps

Regression testing
Validate:

The documentation pages for at least two other components are still loading, including:

[ ] The pages render correctly, are accessible, and are responsive.

If components have been modified, VRTs have been run on this branch:

[ ] VRTs have been run and looked at.
[ ] Any VRT changes have been accepted (by reviewer and/or PR author), or there are no changes.

Screenshots

To-do list

[ ] I have read the contribution guidelines.
[ ] I have updated relevant storybook stories and templates.
[ ] I have tested these changes in Windows High Contrast mode.
[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[ ] ✨ This pull request is ready to merge. ✨

The Storybook control doesn't do anything except for on the Truncate page, I'm wondering if we should either limit the control to only show on that Truncate page or maybe set one of the menu items on the other stories to be able to show truncating? Let me know what you think!

@mdt2 Could you say more about this? It is defiantly working for me, although some are more subtle, If you adjust the Max Inline Size* it makes it more obvious. I have it setting to 150px, I could adjust that if we think it's needed.
I do think it's helpful to have the toggle on all of them, about half of them were not working previously and I think having the ability to see it in all variants could prevent it from regressing again.

Oh my mistake! I had only tested a few that weren't long enough for truncation. Thanks for pointing me toward the Max Inline Size, it helped me realize my error quickly.


Add a "recommand a pub" form to Contact Us

What's the improvement:
To add the fields in the Contact form in order for users to be able to use it to Recommend a Pub through it when they choose that option.
How should it look like (screenshot or sketch):
The questions that need to be considered for the 'Recommend a pub' are:

What's your Whichost account email? (or we can pull this info if they are logged in)
What's the name of the pub?
In which country is the pub located? (dropdown options: Ireland, Northern Ireland (UK), England (UK), Scotland (UK), Wales (UK), Other option so people can also recommend in other countries)
In which city/town/village is the pub located?
Please, indicate the reason why you are recommending the pub. (dropdown options: To request a booking and make use of the Birthday Gift, To request a booking and make use of the Corporate Benefit, To request a booking and make use of the Recommend Reward, Just because... :) )

How should it work (write use case):
All questions above are mandatory.
Priority (tag accordingly): Regular
Domain (tag accordingly): Frontend
Tested on: (platform, OS, browser, version) Windows, latest, Chrome, latest
Branch: Staging
Work on it

Derive the branch from staging.
Tag with ongoing and move the card to ongoing.
Develop the feature
Commit your work
Create a PR and ask for validation. Move the card to staged.
Ask for validation.
Close the issue if all the work have been done

** Validate **

Check on mobile and on desktop if the feature have been correctly implemented.
If everything is working fine, move the card toaccepted column.
If the feature isn't completely implemented, re-open the issue with a comment clearly what the problem is and what is the desired result. Move the card to have issues column.

Please follow https://github.com/Whichost/frontend/wiki/Git-workflow

What's the improvement:
To add the fields in the Contact form in order for users to be able to use it to Recommend a Pub through it when they choose that option.
How should it look like (screenshot or sketch):
The questions that need to be considered for the 'Recommend a pub' are:

What's your Whichost account email? (or we can pull this info if they are logged in)
What's the name of the pub?
In which country is the pub located? (dropdown options: Ireland, Northern Ireland (UK), England (UK), Scotland (UK), Wales (UK), Other option so people can also recommend in other countries)
In which city/town/village is the pub located?
Please, indicate the reason why you are recommending the pub. (dropdown options: To request a booking and make use of the Birthday Gift, To request a booking and make use of the Corporate Benefit, To request a booking and make use of the Recommend Reward, Just because... :) )

How should it work (write use case):
All questions above are mandatory.
Priority (tag accordingly): Regular
Domain (tag accordingly): Frontend
Tested on: (platform, OS, browser, version) Windows, latest, Chrome, latest
Branch: Staging
Work on it

Derive the branch from staging.
Tag with ongoing and move the card to ongoing.
Develop the feature
Commit your work
Create a PR and ask for validation. Move the card to staged.
Ask for validation.
Close the issue if all the work have been done

** Validate **

Check on mobile and on desktop if the feature have been correctly implemented.
If everything is working fine, move the card toaccepted column.
If the feature isn't completely implemented, re-open the issue with a comment clearly what the problem is and what is the desired result. Move the card to have issues column.

Please follow https://github.com/Whichost/frontend/wiki/Git-workflow

@lcoenen
I've update the issue with the questions for the Recommend a Pub form.
Thanks 👍

@RohrerHope Do you mind if I do the following modifications? :)

We already have the email address of the user in the Contact Us form.
The name will be mandatory.
There will be an autocomplete for the address to replace country / village fields.
The wording of the select is too long and redundant ("To request a booking and ..."). Maybe we can think of something more direct? (I admit that I don't have ideas right now).

@RohrerHope Do you mind if I do the following modifications? :)

We already have the email address of the user in the Contact Us form.
The name will be mandatory.
There will be an autocomplete for the address to replace country / village fields.
The wording of the select is too long and redundant ("To request a booking and ..."). Maybe we can think of something more direct? (I admit that I don't have ideas right now).

@lcoenen Good morning,
Go ahead! Especially the address autocomplete, that's great that we can use that.
For the wording of the select field, here's a proposal:

To make use of the Birthday Gift
To make use of the Corporate Benefit
To make use of the Recommend Reward
Just because... :)

Thanks 👍


Cannot update teamspeak3

Hello,
When I try to update teamspeak3, there is an error when downloading the new release. Here's the message:
Updating 'teamspeak3' (3.3.0 -> 3.3.1)
Downloading new version
The remote server returned an error: (404) Not Found.
At C:\Users\Sebastien\scoop\apps\scoop\current\lib\install.ps1:130 char:9
+         throw $e
+         ~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], WebException
    + FullyQualifiedErrorId : The remote server returned an error: (404) Not Found.

Should be fixed. It was updated to 3.3.2 with https://github.com/lukesampson/scoop-extras/commit/ec9569e6156576a386b53194c0a0130ccd8ec699


NPM package or send data to a target API / website

Hello! I am the creator of Chess ELO Role, and I have grown interested in the rosen score. I want to be able to use it as an NPM package for Node.js Could you add it so I can count how many rosen trophies an individual got, and how much unique trophies he got vs the max trophies? My plan is to attach your website for more details.
My bot also already has OAuth2 for linking your account to prove you own it, so the relation is really nice.
If you edited your website to allow a user to add a target website to launch the data to, that would also be okay, but allow me to pre-write it with something like https://github.com/fitztrev/rosen-score/blob/main/package.json#L9 where L9 is a parameter, so the user isn't forced to write my website
https://github.com/eyal282/Chess-ELO-Discord-Bot
Edit: it seems that the second solution would not only allow users to fake their score, but also others score by sending a fake API.

Also where is my achievement for pawn diamond?
https://lichess.org/2yFy2EZc/white#27

Not planning on making it an npm package right now.
Pawn diamonds can't start on the 2nd rank.


Ensure that notes/nullifiers are not squashed across the revertible/non-revertible boundary in the private kernel

The private kernel squashes notes that get nullified in the same tx they are created in. In the context of revertible transactions we need to ensure that non revertible notes don't get squashed in the private kernel as that's not safe (the public app logic could revert, undoing revertible notes that squashed non-revertible notes).

Done in #7624


(FACT-1076) Extract file utility functions to Leatherman.

Extracts the file and directory utility classes to Leatherman and updates to be standardized across pegasus and cthun-agent.

CLA signed by all contributors.

:+1:


Change line for Read/Write relationship arrows from solid to dotted.

Fixes #31

@ebbypeter Do you have time to take a look at this?


How can I force the fullscreen over the MUI dashboard elements?

Hi, my picture overview is a page below a appbar and right of a sidelist similar to that example:
https://mui.com/material-ui/getting-started/templates/dashboard/
When I go into fullscreen by clicking on one pic, the left arrow and the x button hide behind the appbar/sidelist respectively.
Can I avoid that by setting some parameter in the fullscreen.css?

The ImageGroup of the react-fullscreen-image is wrapped in a div container. Its css parameters are only a padding distance of x px in the basic settings. I added position:relative and z-index:100000. So the group of pictures is still nicely aligned next to the sidebar and below the appbar. But the picture in fullscreen is now above the app- and sidebar.


[CHANGE ME] Re-generated to pick up changes from self.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/21c4fb22-2367-40e4-bfda-f4d7c4b3aecb/targets

[ ] To automatically regenerate this PR, check this box.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6d3c6a2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   97.66%
=========================================
  Files             ?        7
  Lines             ?     4918
  Branches          ?      192
=========================================
  Hits              ?     4803
  Misses            ?      113
  Partials          ?        2

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 6d3c6a2...80d3537. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6d3c6a2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   97.66%
=========================================
  Files             ?        7
  Lines             ?     4918
  Branches          ?      192
=========================================
  Hits              ?     4803
  Misses            ?      113
  Partials          ?        2

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 6d3c6a2...80d3537. Read the comment docs.


Including a @Comment in silently breaks symbol's doc rendering

Description
Let's say I have a symbol Example.

This silently breaks the rendering of the entire page's rendering -- it appears completely empty and no warnings are emitted either.
I'm guessing @Comment can only be used in a tutorial -- which is a bit meh... the syntax should be the same in al types of files.
Checklist

[ ] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue.

Expected Behavior
The @Comment should work as expected -- just not be rendered.
Actual behavior
The rendering of the entire documentation page for the symbol is empty / broken by the presence of a @Comment
Steps To Reproduce

document any symbol
add @Comment { hello }
observe the comment prevented content, other than the sub-title from being rendered

Swift-DocC Version Information
5.7
Swift Compiler Version Information
-> % swift --version
swift-driver version: 1.62.1 Apple Swift version 5.7 (swiftlang-<IP_ADDRESS>.6 clang-14<IP_ADDRESS>)

There's a known issue about directives on one line (rdar://79629220). The parser doesn't currently recognize that the directive is closed if it's closed on the same line it's declared. If you break it into multiple lines, the rest should render:
# ``Example``

@Comment {
    Don't forget X
}

## More things here

Lorem ipsum...


Invoke-DbaDatabaseShrink - address PercentFreeSpace issue

Type of Change

[x] Bug fix (non-breaking change, fixes #3625 )
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
The parameter value being passed in was calculated for a desired value, but the desired value was not being passed to the shrink method properly.
End result was whatever value you passed in was the MB value the database was shrunk to.
As it stands the database does not test for this so the test we have on the command did not validate the value was properly passed. I can't correct that at this time so if someone wants to go back and fix that they can.

ty!


More better inactive text color

#38

[ ] Works on linux
[ ] Works on Windows

Looks good on
IntelliJ IDEA 2018.2.3 (Ultimate Edition)
Build #IU-182.4323.46, built on September 3, 2018
Licensed to Alex Simons
Subscription is active until February 21, 2019
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-33-generic

looks good on
IntelliJ IDEA 2018.2.3 (Ultimate Edition)
Build #IU-182.4323.46, built on September 3, 2018
Licensed to Alex Simons
Subscription is active until February 21, 2019
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0


Dragging images from Files into another app (Photoshop) doesn't work

I have Files open on my 1st monitor, and Photoshop on the 2nd. If I try to drag an image from Files into Photoshop, it just hangs and does nothing.

We need a little more information from you in order to investigate this issue, can you fill out the issue template?


Add to public list of squids

Add interlay and kintsugi squids to the
public list of squids

This looks like some relevant docs: https://docs.subsquid.io/deploy-squid/


ponscripter-sekai 0.0.6 (new formula)

A forked version of ponscripter which is again a fork of onscripter (#289). The original onscripter has a limited support for Western languages and some forks are derived with heavy modification. ponscripter-sekai is one of active forks out there.
The package naming convention of FreeBSD is used here.

To build it correctly, sdl2_mixer should support with-smpeg2: Homebrew/homebrew#42715

@BrewTestBot test this please

Thanks!


How Can I build from source code?

I try to follow getting start but I got below error
"unexpected error: Get http://<IP_ADDRESS>:8080/v1/apps: dial tcp localhost:8080: getsockopt: connection refused"
when I 'fn apps create myapp'
I checked process and I can't find using localhost:8080 process.
So I try to build from source.
I install go(1.7.4) and glide. After then 'go install funstions' but I got below error
'# github.com/iron-io/runner/drivers/docker
../github.com/iron-io/runner/drivers/docker/docker.go:141: cannot use mani (type *"github.com/heroku/docker-registry-client/vendor/github.com/docker/distribution/manifest/schema1".SignedManifest) as type *"github.com/docker/distribution/manifest/schema1".SignedManifest in field value
../github.com/iron-io/runner/drivers/docker/docker.go:159: cannot use r.Digest (type "github.com/docker/distribution/vendor/github.com/opencontainers/go-digest".Digest) as type "github.com/heroku/docker-registry-client/vendor/github.com/docker/distribution/digest".Digest in argument to s.reg.LayerMetadata
'
My environment is ubuntu 14.04, Docker 17.03
Thank you

To build it from the source you can just execute:
make dep
make build

@cmdhema recent master branch requires Go 1.8, so install it first and then use following commands:
mkdir -p ~/go/src/github.com/iron-io
git clone https://github.com/iron-io/functions.git ~/go/src/github.com/iron-io/functions
export GOPATH=~/go
cd ~/go/src/github.com/iron-io/functions
make dep build
Then you'll be able to find executable functions. See docs for further configuration.
Then you can start API service using following command:
make run

I use glide 0.12.3
go 1.8.1
ubuntu 14.04 lts
Master branch irconfunctions
Thank you for your reply @pedronasser @denismakogon
After 'make dep build' I got some info messages, below examples
...
[INFO]	--> Found desired version locally github.com/amir/raidman c74861fe6a7bb8ede0a010ce4485bdbb4fc4c985!
[INFO]	--> Found desired version locally github.com/asaskevich/govalidator 7b3beb6df3c42abd3509abfc3bcacc0fbfb7c877!
[INFO]	--> Found desired version locally github.com/aws/aws-sdk-go 90dec2183a5f5458ee79cbaf4b8e9ab910bc81a6!
....
But I got below errors
[INFO]	--> Found desired version locally github.com/urfave/cli 0bdeddeeb0f650497d603c4ad7b20cfe685682f6!
[INFO]	--> Fetching golang.org/x/crypto.
[INFO]	--> Fetching gopkg.in/go-playground/validator.v8.
[INFO]	--> Fetching golang.org/x/sys.
[INFO]	--> Fetching golang.org/x/text.
[INFO]	--> Fetching gopkg.in/mgo.v2.
[INFO]	--> Fetching gopkg.in/yaml.v2.
[INFO]	--> Fetching golang.org/x/net.
[WARN]	Unable to checkout golang.org/x/crypto
[ERROR]	Update failed for golang.org/x/crypto: Cannot detect VCS
[WARN]	Unable to checkout golang.org/x/net
[ERROR]	Update failed for golang.org/x/net: Cannot detect VCS
[WARN]	Unable to checkout golang.org/x/text
[ERROR]	Update failed for golang.org/x/text: Cannot detect VCS
[WARN]	Unable to checkout golang.org/x/sys
[ERROR]	Update failed for golang.org/x/sys: Cannot detect VCS
[WARN]	Unable to checkout gopkg.in/yaml.v2
[ERROR]	Update failed for gopkg.in/yaml.v2: Cannot detect VCS
[WARN]	Unable to checkout gopkg.in/mgo.v2
[ERROR]	Update failed for gopkg.in/mgo.v2: Cannot detect VCS
[WARN]	Unable to checkout gopkg.in/go-playground/validator.v8
[ERROR]	Update failed for gopkg.in/go-playground/validator.v8: Cannot detect VCS
[ERROR]	Failed to install: Cannot detect VCS
Cannot detect VCS
Cannot detect VCS
Cannot detect VCS
Cannot detect VCS
Cannot detect VCS
Cannot detect VCS
make: *** [dep] Error 1
How can I download golang.org/x/crypto, x/net...... ?
I have several attempts to do this, but failed.
Thanks

Cannot detect VCS sounds like it cannot find git
Are you able to run go get golang.org/x/crypto?

I solved my another machine. Thankyou


restore @ibab's home_handler

It is good to see things happening quickly. Gathering momentum is good. However right now it feels like driving at 200kph in a 20yr old car on a windy mountain road. Too many changes with too little focus on the long term maintainability. Rome wasn't built in a day, so we should take our time too.
It is much more important to have high quality (tested, documented and reviewed) code than high momentum. In the long term we will suffer from making changes quickly instead of slowing down, making small well defined (problem -> solution) changes, letting people look at them, think, comment, rework them, etc. Neither of us is perfect so we will make mistakes, and the only way to catch those is to have someone else take a look. It is also important to let everyone take part, otherwise we alienate them. Giving people a chance to take part means waiting for people to have time to look and think. Yes it is frustrating if you are on a roll and you want to see your changes out there, but we are a team of volunteers who lead busy lives in different timezones. We have to respect that.
The default mode of operation should be: point out a problem, discuss what to do, make a PR, come back the next day, see if someone has looked, commented and so on. There are no deadlines, funding or status updates to management. The only pressure we have with this project is to get things right and build a high quality product.
So with this in mind:
:cry: Where are the unit and frontend test for this? In #67 we discussed maintaining @ibab's authorship of the work when cherry picking the changes, why didn't this happen? We also discussed in gitter to split this into three separate PRs, why not do that?

You are right, I agree in general, but there are also several things to consider (I'm not trying to justify myself, just to give some reasons):

@ibab 's commit has been around for some time without tests -- we've agreed to have it in master
then we've deleted it since travis was unhappy
later on we've figured that travis unhappiness has nothing to do with those commits, so we have to get it back
as I put it back, I mention @ibab in PR (are there other ways of doing so?)
this commit doesn't split into 3 pieces naturally (or it is not obvious for me)
we are still in beta stage, implying users agree to risk stability vs functionality
regarding tests - I have no clear idea how can I test fork/push automatically since it involves github. (test for repourl is not valid as well, since this functionality works only with githubauthenticator) thoughts?

in other words, I'm not sure we are trying to build Rome in one night (or riding brakeless car down the hill), I just try to collect some feedback that would help making the product a bit better.
As another consideration I'll try to create another instance for quality assurance, that would allow for less tested deployments.

I agree on the beta thing. I don't care so much about users but about us and how easy it is to maintain the project. For this we need to make sure everyone involved understands why the code is the way it is. Understanding what code does is much easier than why it does it. The why is far more important though. I'd like us to develop a model of development that increases the amount of understanding-why as much as possible.
Split: we could have had one PR that just adds "we detected there are changes" once we had that working, a second PR that builds on it "should we push this to :octocat: for you?"
Testing: we will have to mock things and it will be a bit tricky, this is why we should go slow and discuss it.  I'd go as far as saying that we should not add a feature if we can not think of how to test it. In the long term it is better for the project not to have that feature (until we can work out how to test it). We did not insist on tests since day one, so at some point there will be an arbitrary moment after which changes will only be accepted if they have tests. It will feel unfair ("if only you had merged this 2hrs ago I wouldn't need to add tests!!?!") but I don't see how else we can make the transition. If writing tests feels like a burden/not a fun thing to do maybe that person should find a different project to contribute to :trollface:
In general there will be many things were none of us know exactly how to do it. Often one of us will have an idea though, then we discuss it and arrive at a solution that is better than what any individual could have cooked up.
Credit: credit is the only thing the project can give back to the contributors. If it means going an extra mile, I think we should do it. In this case the way would have been to cherry pick the commits, and add one commit that fixes the conflicts.

General: Well, I guess it is something personal for any maintainer how willing is he to understand all the details of all the code and all the underlying libraries. In my case since I'm using this project for teaching, it is more important to have it working (as I told you openml is willing to integrate integrate/promote everware so there might impose some workability constraints as well). Or maybe this interpretabilty vs functionality balance refers to something  more personal like extraversion/introversion?
Anyway good to know your position on that. Just wanted to let you know that mine is a bit different.
I'd be very keen to see what kind of development/maintenance model would work in that case. I'm not sure the best one would be that implies vetoing PRs by a single maintainer. Probably this one would be good place to follow the discussion: https://github.com/everware/everware/pull/89
Split, Credit: I'd say splitting code in pieces is impractical since the code that does it basically is already there. I don't mind at all if @ibab removes it again (or I can do it myself) and commits it back to keep the authorship. as I said above I'm more in favor of functionality. (also, if we care about credit so much, maybe we should be more careful about just removing whole bunch of code in a single PR?)
Testing: I totally agree. the only thing is that we've already agreed on having the code to be in master. it is WIP, so let's discuss github mocking: https://github.com/everware/everware/issues/90

Agree that removing stuff is not ideal and I might have been over-reverting. There was for sure some red mist as it was frustrating to see #72 not pass the tests because master itself was red and then spending 6hrs getting back to having master build just so I could get a change to .gitignore merged. I'd probably advocate a fairly ruthless 'revert first, ask questions later' policy in cases where a merge breaks master. In this case our tests weren't yet good enough because they sometimes failed "at random"...overall I think it was just not an ideal situation.
More comments on general, testing and splitting in #89


Rewrites to Docker Overview content

Fixes #2651
Try to make this topic more useful. Also clean up the last page of the tutorial where the OP thought it would have been useful to have a link to this topic.

LGTM!


Cache path keeps being reset to default

Setting the cache_path keeps getting reset back to the default.
The following code is a workaround by making set_cache do nothing after the first call.  The prints verify it keeps being called with just the seed and default path.
autogen.Completion.set_cache(65, '/tmp/.cache')
autogen.Completion.set_cache = classmethod(lambda cls, seed=41, cache_path_root=".cache": print(f"Seed: {seed}, Cache Path: {cache_path_root}"))

This occurs because these 2 calls re-call set_cache providing just the seed, so the cache path resets back to the default.  Using it in a Lambda Docker then fails because the filesystem is read only.
https://github.com/microsoft/autogen/blob/72f488e4d76895514cfdbf78958a8ef4acd9b724/autogen/oai/completion.py#L836-L838

Good catch. We'll need to fix this.
But for additional context, once the 0.2 code goes out of beta, we'll be moving to the client-based OAI integration (see oia/client.py), where I believe this bug is fixed. I believe the plan is to deprecate completion.py

thanks mate, can see it's different in 0.2 so setting cache_seed to None disables cache and cache_root_path is hardcoded to .cache.. be good if you could pass in a custom path as Lambda does allow you to write to /tmp

thanks mate, can see it's different in 0.2 so setting cache_seed to None disables cache and cache_root_path is hardcoded to .cache.. be good if you could pass in a custom path as Lambda does allow you to write to /tmp

You can change OpenAIWrapper.cache_root_path in your code. Would that work?

Closing this issue due to inactivity. If you have further questions, please open a new issue or join the discussion in AutoGen Discord server: https://discord.com/invite/Yb5gwGVkE5


Remote CodeQL Reference

Updated CodeQL configuration:

Remotely reference CodeQL scan configuration
Removed submodule dependency

\lgtm

/lgtm
/approved

/lgtm

/approved

@rs--  Do you know why the tests are failing?

@mingweishih the prow server seems to be restarting.
Checking job status at https://openenclave-jenkins.eastus.cloudapp.azure.com/queue/item/34013/api/json (#17/17)
Job is in queue because: Jenkins is about to shut down


Add Tizen backend

This PR is to support the Tizen platform.
Unlike other platform's implementation, we uses SkiaSharp to implement Shadows for Tizen.
(I'll update it later if the platform itself supports that feature.)

Due to both the limitations of the external library being used in the sample and the known issue of Xamarin.Forms Tizen, the sample app may have the following restrictions.

External libraries Sharpnado.Presentation.Forms and Xam.Plugin.SimpleAudioPlayer used in the sample are not supported by tizen.
In Tizen, Xamarin.Forms's FontImageSource and Rectange.CornerRadius are not yet supported.

The rest of the functions work fine as shown above.

hey @rookiejava ! Thank you so much for this PR. Seems like a pretty good job :)
I will merge it and release a new version probably next week.


Build CPython wrapper

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Change example Job Admission Policy to use matchLabels

What type of PR is this?

/kind documentation
What this PR does / why we need it:
Making the example policy be "opt-in" instead of "opt-out" seems more likely to be useful to users trying to adapt the example to their own use cases.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/ok-to-test

Did something change in the CLA tooling?  I've been on the IBM corporate CLA with CNCF to contribute to Kubernetes for multiple years; not sure why it is failing now.

/lgtm
/approve

/cherry-pick website


FEAT: Add wishlist management

📝 Description
Wishlist management is to manage the wishlist of products that the user loves and would buy in the future. It contains all the products and could move products to the cart directly from the wishlist.
🚀 New behavior

Add products to the wishlist
Remove products from the wishlist
Move products from cart to wishlist
Move products from wishlist to cart
User could only access or add/remove products to wishlist only when they are logged in

🖼 Preview Link
https://viskart-react-version-fnrqm5xbi-vishalpatil18.vercel.app/
💣 Is this a breaking change?

[ ] Yes
[x] No

🔬 Is the code self-reviewed?

[x] Yes
[] No

📋 Is the code well-formatted?

[x] Yes
[] No

🔗 Related to Issue #12

NOTE: The site is not completely responsive yet. I would work on responsiveness at the end.

Other than suggested, code looks good to me.

if an item already exists in cart , then moving item from wishlist to cart should increase the quantity as stated in LMS PRD

Yes will work on this later at the end. Thanks for pointing it out.


Add container_spec for extractors and loaders

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3255
Originally created by @aaronsteers on 2022-02-17 23:25:57

Following from the original issue #2205, I'm logging an issue to bring container_spec to extractors and loaders, which would allow for containerized and/or non-python taps and targets.
We don't have a huge number of use cases right now for containerized taps and targets, except perhaps running them in isolated and/or "right sized" ECS/EKS tasks as is being explored in #3228. If others have use cases or feel this should be higher priority, please sound off in comments below.
Thanks!
Cc @edgarrmondragon, @pandemicsyn, @kgpayne, @tayloramurphy

View 4 previous comments from the original issue on GitLab

+1 for this as this will allow us to significantly resize the size of the docker image improving dev, ci and prod performance!

Still relevant


[Migrated] asynchronous: memoize session client objects to fix slow import

Originally from: https://github.com/Miserlou/Zappa/issues/2073 by schuyler1d
Description
This memoizes client sessions, so they aren't all run just on import but rather 'on first need'.
GitHub Issues
https://github.com/Miserlou/Zappa/issues/2072

Reviewing the propose code, it appears that the clients are already defined on initialization (import).
So this would potentially reduce the overhead of loading related clients when import.  This is potentially done for any project that uses async.  There is a expected time savings there, but I would like to see some measurements of how much is saved by this memoization implementation.
https://github.com/Miserlou/Zappa/pull/2073/files


[BUG] oci: true still runs buildah bud

Version
redhat-actions/buildah-build@v2
Describe the bug
(I'm a noob and it's probably my fault)
setting oci: true in the workflow runs buildah bud and not buildah build anyway
Steps to reproduce, workflow links, screenshots

workflow
name: Test image

on:
 pull_request:

jobs:
  test_build:
    name: test build
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: redhat-actions/buildah-build@v2
        with:
          image: test-image
          tags: v1 ${{ github.sha }}
          oci: true
          containerfiles: |
            ./build.sh

logs
Run redhat-actions/buildah-build@v2
/usr/bin/buildah version
Overriding storage mount_program with "fuse-overlayfs" in environment
Performing build from Containerfile
/usr/bin/buildah bud -f /home/runner/work/flutter_development_container/flutter_development_container/build.sh --format oci -t test-image:v1 /home/runner/work/flutter_development_container/flutter_development_container
no FROM statement found
time="2021-10-11T19:14:36Z" level=error msg="exit status 125"
Error: Error: buildah exited with code 125
no FROM statement found
time="2021-10-11T19:14:36Z" level=error msg="exit status 125"

if you want to look at the repo here is the link,
I'm really new to devops stuff so please understand
(also if you want to help me out I'd be very happy :) )

closing pending any new questions.


Moving this repository to kubernetes-sigs organization

The kubernetes-incubator project is now deprecated. Given CRI-O is considered stable at this point, with 3 major, fully supported, releases and given the users and contributors we've gathered over time, I propose to move CRI-O under the kubernetes-sigs organization on GitHub.
@mrunalp @derekwaynecarr @rhatdan @kubernetes-incubator/maintainers-cri-o et all, what do you think?

I agree.
:+1:

I agreed.

Discussed during SIG Node call on 7/10 call, I agree this should move under kubernetes-sigs org.

Some comments:
If not there.. where?
Not sure what it means to be in "kubernetes-sigs org."
The "Org for Kubernetes SIG-related work," is a bit broad.
Would be nice if we had a sig-cri and/or a sig-container-runtimes as sig-node is also a bit broad.

@mikebrow
see definition of sig sponsored repositories here:
https://github.com/kubernetes/community/blob/master/github-management/kubernetes-repositories.md#sig-repositories

process started here https://github.com/kubernetes/org/issues/60

:+1:

https://github.com/kubernetes/community/pull/2624/files merged, my question resolved :-)

clearly done now, thanks everyone 🎉


Add note to mention adding event listeners that need to call C# methods

Added this to learn blazor docs. See https://learn-blazor.com/architecture/interop/ . So thought about adding it here as well.

Thanks for the submission @chassq. I'll make some small changes to the text to conform to MS guidelines after we hear back from engineering.

@chassq Do you want to update the PR for 0.5.0?

@danroth27 Should this be closed, or should I work the concepts in the PR forward for the latest JS interop bits?

I think we can just close this one.


Changed Intervals to be at least "1s" by default for "image", "page", and "details".

https://github.com/Bionus/imgbrd-grabber/issues/3220

😅


OpenLDAP uses an absurd amount of memory

Probably the same as: https://github.com/nickstenning/docker-slapd/issues/8

should be fixed in the latest version


feat: fallback to external password store for sqlalchemy connections

SUMMARY
Superset can be configured to use an external store for database passwords. This is useful if you a running a custom secret distribution framework and do not wish to store secrets in Superset’s meta database.
This useful capability can be extended by providing  Superset’s meta database as a fallback in the case the administration doesn't want to use an external store for a particular database
TESTING INSTRUCTIONS
Set SQLALCHEMY_CUSTOM_PASSWORD_STORE   to point to an external lookup function. and the user does not have to check where her password is saved. Current tests must continue to work
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Hi @hughhhh  I'm sorry if I link directly but I saw that you have some commit on this piece of code. Could you please review this pr  and if it has make sense to you
Thanks

Sorry this slid under everyone's radar for so long. Adding @dpgaspar for a security perspective, and closing/reopening to reboot the CI process.

Kicking CI one more time... I think it's just flaky E2E tests failing, which would probably be fixed by a rebase.


Compatible with 2.3.90?

Hi ,
First of all great work. Used it in 2.3.80 and was nice and helpful.
Is it compatible with 2.3.90 also ?
I have made a fresh install distributed deployment and the script run successfully , edit on opencanary is ok  i have put to true some services , apply on manager with port but nothing when i try to access for example VNC ,ssh,ftp . On 2.3.80 was working fine.
The container so-idh is up :

@xpowershellx Can you contact me directly? Would like to chat about a couple things<EMAIL_ADDRESS>


Docs sync + gh-pages

Sync the English and Japanese version.
Add Makefile for doxygen and gh-pages web documentation (it would be useful to create branch gh-pages with documentation -> I already try that:  http://roboticsbrno.github.io/RB-ev3rt-hrp2-sdk/)

Thank you so much for your help. I have added a link to http://roboticsbrno.github.io/RB-ev3rt-hrp2-sdk/ in http://ev3rt-git.github.io/documents/ .


Cask install doesn't install deps already installed by nix

Issue description
Cask is quite common for Emacs Package development. But it seems to be slightly broken when running in NixOS (possibly under nix in other distros as well).
It doesn't install deps that are already installed globally by the system config.
Steps to reproduce
Example ´Cask´ file:
(source gnu)
(source melpa)

(development
 (depends-on "request")
 (depends-on "buttercup")
 (depends-on "undercover"))

Then running in the same directory:
$ nix-shell -p emacsPackages.cask
$ cask install

And then list the result dir of installed deps:
$ ls .cask/25.3/elpa/
archives  buttercup-20171015.555  gnupg  shut-up-20150423.522  undercover-20170502.912

Note that request isn't installed since that's installed globbaly by my system config here:
/nix/store/0szmzm7dvcdf310javmbrdaap5b7yncq-emacs-request-0.3.0
/nix/store/9y1bwahpknjlxwjiraxj0774lx5yy7p9-emacs-request-0.3.0
/nix/store/9y1iiijc1vpnc1s7c8ph5p1p5lankn34-emacs-request-0.3.0
/nix/store/a568mbkypmv659v7d2nav3mdbidykxhh-emacs-request-0.3.0
/nix/store/gs6s3r064m4vw409nhg5vqg2jyp08d7f-emacs-request-0.3.0
/nix/store/myvjy0n6zzf97ki0ckzaj07ysjxdwl6l-emacs-request-0.3.0
/nix/store/s7ylv3qwajq5v1kar190whgapmglpqj7-emacs-request-0.3.0

Request is installed by my config due to it being a dependency of webpaste that I install here: https://github.com/etu/nixconfig/blob/032d43e5e641863428b254b1ef63d85d43eef39c/home-etu-nixpkgs/home.nix#L87
The issue then is that the dependency request is missing when doing things like running unit-tests through cask. Example with webpaste:
$ git clone git@github.com:etu/webpaste.el.git
$ cd webpaste.el
$ cask install
$ make unit
cask exec buttercup -L . tests/unit/
cask exec: error: Failed to execute buttercup -L . tests/unit/: [Errno 2] No such file or directory
Did you run cask install?
make: *** [Makefile:16: unit] Error 1

Technical details

System: 18.03.git.ceb2b71f69M (Impala)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: "18.03.git.ceb2b71f69M"
Sandboxing enabled: build-use-sandbox = false

This was embarrassing. This wasn't an issue with Cask. Cask isn't installing request because it's already installed and doesn't need it. The no such file or directory is due to a broken shebang in buttercup that I install with cask (therefore it can't be fixed by nix). I've put a pull request here to resolve this issue. https://github.com/jorgenschaefer/emacs-buttercup/pull/117

I wondering if maybe fixupPhase for patching shebangs is a better solution, and why it doesn't already fix it.

Because buttercup is installed by cask in the project's dir and not by nix.
Maybe buttercup can be installed by nix. I don't know if Cask would find
the script then. But I think it would.
But I'm also not interested to have buttercup as part of my global
environment.
On Sat, 21 Oct 2017, 17:00 vyp<EMAIL_ADDRESS>wrote:

I wondering if maybe fixupPhase for patching shebangs is a better
solution, and why it doesn't already fix it.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/30567#issuecomment-338408513,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcMko8ijamPXiwp0X-08q-NSlwKfBu3ks5sugcDgaJpZM4P-vzT
.

Oh right, there's not even a package for buttercup, I was looking at the cask expression thinking it was for buttercup. :woman_facepalming:


Handle exceptions

Make the methods in HazeDatabase handle wrong inputs

Closed with pull request: "Added some more Argumentexceptions to handle wrong inputs #135 #187"


Create a proper color scheme for the html page

As it is now, it is pretty hard to look at.
Make it easier to view, so the app is easier to use.

Fixed with last commit 6bcdd02e090e069945632580f25b5a1b71856d0c
color scheme can be seen here: http://paletton.com/#uid=63Y0v0klemc5iBOaLtUuRf9Jn8g
or in WifiTransfer/backupColorPalette.html


chore: fr translations

Some few missing translations.

:tada: This PR is included in version 5.7.0 :tada:
The release is available on:

GitHub release
v5.7.0

Your semantic-release bot :package::rocket:


multi init calls destroy map

hard to explain just do this steps to understand:
open the demo, write in the console "imageMapResize();" few times see that the map is not correct anymore..
I need it to work cause I have some maps that added by ajax to the page so I need to call the function multipile times

Can you try the version in the dev branch, it contains a rewritten version that deals with this and also has some performance improvements.
You other option it to just run this on the added image map.
imageMapResize('#myNewImageMap');


SNPE new structure

A test on linear Gaussian is failing because of
AttributeError: 'FlowPosterior' object has no attribute 'embedding_net


kanban Project

Our Kanban Project link is https://github.com/yosaddis/catalogue-my-things-ruby/projects/1

We have two members in the team
[1] - @yosaddis
[2] - @Cosmosha

Hello Team   👋
CHANGES REQUIRED ♻
Great work on the project 👏
You've done extremely well so far in this project,  However, there are some adjustments you need to make to move to the next project. 💯

Highlights

Good use of GitHub features ✔
Nice work with the setup✔

Required Changes  🌵

[ ] You made some impressive implementations which I must say is a job well done. However, there are a few  I suggest   you make In line with the requirement

For Team member two, a card with the options in the image below is not implemented. Kindly check it out:

[ ] For Team Member 1:

You're missing the Label class card.

[ ] For Team member 3, kindly review it again and make sure all features there are equally shared between the team 👍

[ ] Kindly make sure the points shared between the team members does not exceed 5 points. It presently is

_Check the comments for a detailed review
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing really improves your application.
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Changes Required 🔁
Hi team 🙋♀
Good job so far! I really appreciate the effort you put in!  However, there are few this that still need to be fixed. But you are almost there! 💪 🏁

Highlights 🎯
There are some excellent points that you have made perfectly. Keep up the great work! 👏

✅ Descriptive cards
✅ Cards are numbered

Required Changes 🛑

[ ]  As suggested earlier, a card with the following tasks is not present for member 2. Kindly add it⛏✨

Optional suggestions ❕
N/A
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👨💻💻
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi, Team👋,

Highlights💡

A link to the Kanban board is specified.✔
The team member size is stated.✔
All required columns are present.✔
Cards are distributed fairly.✔

STATUS: APPROVED 🕺🥳
Congratulations🍾🥳!! Your project is ready for presentation!  There is nothing else to say other than... it's time to merge it :shipit:

Optional Suggestions:

N/A

Good luck! 🎉

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @brytebee in your question so I can receive the notification.
Use @brytebee on slack for faster responses.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Index created in Solr automatically, only for local filesystem

At create an index on Cloudera Search (Solr Cloud over Cloudera HDFS) I have configured my policy as:
...
  "cubes": [
    {
      "name": "items",
      "checkpointConfig": {
        "timeDimension": "minute",
        "granularity": "minute",
        "interval": 30000,
        "timeAvailability": 60000
      },
      "dimensions": [
        {
          "name": "smfProcess",
          "field": "smfProcess"
        },
        {
          "name": "timestampMinute",
          "field": "creationDate",
          "type": "DateTime",
          "precision": "minute"
        }
      ],
      "operators": [
        {
          "name": "count-operator",
          "type": "Count",
          "configuration": {}
        }
      ]
    }
  ],
...
...
  "outputs": [
    {
      "name": "out-solr",
      "type": "Solr",
      "configuration": {
        "connection": "node5.stratio.com:2181/solr",
        "createSchema": "true",
        "isCloud": "true",
        "cloudDataDir": "smf-agg-proc-minute/data",
        "fixedAggregation": "_indexed_at_tdt:0"
      }
    }
  ]

When publishing process has finished I review how was my collections on Solr and this is the result:
Instance: /var/lib/solr/smf-agg-proc-minute/data/id_smfProcess_timestampMinute_minute
Data: /var/lib/solr/smf-agg-proc-minute/data/id_smfProcess_timestampMinute_minute/smf-agg-proc-minute/data/id_smfProcess_timestampMinute_minute/data
Index: /var/lib/solr/smf-agg-proc-minute/data/id_smfProcess_timestampMinute_minute/smf-agg-proc-minute/data/id_smfProcess_timestampMinute_minute/data/index
That would like to me is a cloud generation of indexes over HDFS.
Version of Solr:
solr-spec 4.10.3
solr-impl 4.10.3-cdh5.4.3 exported - jenkins - 2015-06-24 19:42:36
lucene-spec 4.10.3
lucene-impl 4.10.3-cdh5.4.3 exported - jenkins - 2015-06-24 19:32:31

Solved: #998


HAWKULAR-185 adding id for logout link

I forgot on this place.

Was this for QE?

Was this for QE?

yes


Google autoplay policy

It seems that there may be an issue starting in October 2018 with Google Chrome.  When running it, I am getting the following warning in Google Chrome:

The Web Audio autoplay policy will be re-enabled in Chrome 70 (October 2018). Please check that your website is compatible with it. https://goo.gl/7K7WLu

I guess you have to do some kind of resume() thing, but I am not familiar with AudioContext().

I see, i will investigate the issue.
But it should not affect sounds that are played by clicking buttons.

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
How progress to solve this problem?

@IonDen can you add example to docs like this add with true-way? Thanks


Examples that involve non-standard libraries

Is the goal of this website to provide examples only for standard libraries or will it branch out to non-standard? The reason I ask is it's been 10 years since I've done C++ work and these examples are really awesome but when I look for examples that, say, use TCP/IP it's almost impossible to find good, modern libraries and coding techniques.
If there is interest in this I may try to provide some PRs in the interest of my own personal learning :)

I am undecided on this at the moment. It had originally been my plan to have a category of samples which were just examples of using libraries. I had two thoughts against it though:

There are way too many libraries out there. How could C++ Samples be the go-to resource for them all? Isn't it better for the library maintainers to provide their own documentation?

It would require some extra work to integrate this with the current site build process (as testing the samples will required having the appropriate libraries available).

Yeah I understand including samples with external libraries is a bit of a slippery slope. It probably makes sense to not do those at all otherwise if this web site is popular enough everyone is going to want samples for their library to be on it. At the same time there is a real need for good samples for popular libraries because many of them rarely even use C++ 11 features where they could.
I wonder if a good middle ground may be proving an area where only C++ / STL features are shown off and another area where users can simply submit / publish their own. I mean it kinda duplicates Gist in terms of capabilities but it's also user to have a central repository.
Not sure if that's a good idea or a horrible idea.
At least for TCP/IP perhaps coverage of that should be handled using the standard networking library currently being proposed for C++ 17 / C++ 1z.

I quite like the idea. Perhaps even just a page on the site that lists gists that people submit. That might be interesting (but could easily become cluttered). I'll have to think some more about this.

That sounds good. Thanks!

I think introducing external libraries would be wise. Look for example at http://www.cppsamples.com/patterns/observer.html which doesn't handle lifetime of the "connection". This usually works for GC languages but is a really huge problem in C++. In Boost.Signals2 and Sigc++ have this as one of the core features.
Therefore I think using external libraries should probably be the default for some usecases even.
I can whip up a PR if/when we agree.
All the best


UTF-8 char causing UnexpectedValueException Could not convert BSON document to a PHP variable

I searched around for this, but didn't see anything similar. After I upgraded to the newer php mongodb driver, I ran into a problem with this code:
/*  db.10Index.aggregate({ $group: {_id: {$substr: ['$mainTerm', 0, 1]}, count: {$sum: 1}}},
    {$sort : { _id:1}})

*/
public function index()
{
    $index = DB::collection('10Index')->raw()->aggregate([
        ['$group' =>
                ['_id' => ['$substr' => ['$mainTerm', 0, 1]],
                'count' => ['$sum' => 1]]
        ],
        ['$sort' => ['_id' => 1]]
    ]);

    $data = array();
    try {
        foreach ($index as $doc) {
            array_push($data, array('_id' => $doc['_id'], 'count' => $doc['count']));
        }
    }
    catch(\Exception $e) { /* UTF-8 character made me blow up */ }

    $results = array_filter($data, function($e) { return $e["count"] > 1; });
    $col1 = array_filter($results, function($e) { return $e["_id"] < 'N'; });
    $col2 = array_filter($results, function($e) { return $e["_id"] > 'M'; });

    return view('index.index', compact('col1', 'col2'));
}

Once I added the try/catch to the above code I discovered it was being caused by a UTF-8 character in the BSONDocument, however, this doesn't seem like the cleanest way to do this.
Any hints on having this package deal with UTF-8, or maybe this question belongs somewhere else?
Thanks.

how to resolve this？


add per-retry timeout support to route rules

Corresponding to PR https://github.com/istio/api/pull/76

Jenkins job manager/presubmit passed

Jenkins job manager/e2e-smoketest passed


[Frontend] Put a marker/dot on Map for User's location

Put a marker/dot on Map for User's location
Description:
Currently there is no marker for the user's current geo location. Add a marker similarly it is done for donors and blood banks.

I am ready to fix it . Can you assign me please?

Go ahead @harith-hacky03

I can't get into the home page itself its need auth but even if i signup it still give 400 for login

@harith-hacky03 Hey, please check if you have setup the backend and mind the env variables too.

@harith-hacky03 Updated the docs for setting up the env variables. Refer that and let me know if you face any problem.

@sayakongit  Sure

@sayakongit Can i add different icon for current user's location?

If is it okay . I will make my PR and change env to back and pull it to you. Thank you.

Hey @harith-hacky03 don't worry, I need to fix the workflows. Thanks for the contribution! Let me review your PR and get back to you.

@sayakongit Sure if any changes let me know

@harith-hacky03 Could you please raise a issue for the bugs in workflows?


Suggestion - documentation update

A helpful tip for android implementation if your react-native activity is not the same activity as the activity designated as your launch activity is to make sure you forward your intent extras to the activity that runs your react-native bundle.
A good example is if your launch activity is a splash screen which then sends the user to your MainActivity, which runs your react-native bundle.  In this case you will need to send your splash activity's intent extras to your Main Activity's intent or react-native-notifications will not have access to the notification payload via the getInitialNotification function, so things like deep linking will not be possible.
Example:
 <activity
            android:name=".SplashActivity"
            android:theme="@style/SplashTheme"
            android:label="@string/app_name"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
                <action android:name="android.intent.action.DOWNLOAD_COMPLETE"/>
            </intent-filter>
        </activity>

onCreate of SplashActivity:
        Intent intent = new Intent(this, MainActivity.class);
        intent.putExtras(this.getIntent());
        startActivity(intent);

@BTrottAtWork Thank you! I thought getInitialNotification does not work. Agree, it should be documented.


Log closed permit id on expiration of permits

Description
Log closed permit id on expiration of permits.
Context
PV-778
How Has This Been Tested?
Manually by running the cronjob.

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

Comparison is base (ec7acd1) 84.20% compared to head (0060569) 84.20%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #469   +/-   ##
========================================
  Coverage    84.20%   84.20%
========================================
  Files          156      156
  Lines         9693     9694    +1
========================================
+ Hits          8162     8163    +1
  Misses        1531     1531

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


The data couldn’t be read because it isn’t in the correct format.

New user, I authenticated successfully but the app shows no info, only this message. It’s not a super helpful or actionable message. Now what?

Bug Report Dump (Auto-generated)

Version 1.27.2<PHONE_NUMBER>)
Device: iPhone X (iOS 13.2)
TestFlight: false

See my Pull Request #2828


Update README.md

Adding installation instructions for ArchLinux / Manjaro User
Adding build icon from AUR (Arch User Repository)

At the link https://aur.archlinux.org/packages?O=0&K=terrascan, you can see the actual version of terrascan. I check every week about new releases and deploy them.


Lower the default amount of nics for CSR

Fix/workaround for #91

Can you clarify that the 10 interfaces includes the mgmt nic which is why we set the num_nics to 9 since mgmt is implicitly always there?

LGTM


[Fern's Documentation] Codeblock example leads to error

What can be improved
On this section when copying down the example, the validations pass yet leads to an unintended code block. This is most likely due to a backslash before the backticks in the codeblock: https://github.com/fern-api/fern/blob/main/fern/docs/pages/docs/components/codeblock.mdx#L14
Relevant Screenshots
When copied down:

When removing backslash from Fern docs example:

resolved by https://github.com/fern-api/fern/pull/2748


Executed macros return undefined

Hello.
Foundry version: v10.291
AM version: 1.19.3
When executing macros with await macro.execute() with AM installed, the returned value is undefined. Even for the simple case like return 1;.
Without AM, execution returns the correct value.

Can confirm.  I'm having the same issue.

DDB Importer also experiencing this problem when trying to run macros.

Hey, I've released a update with the fixes proposed by @Cuingamehtar. Tell me if you still run into any issues after updating.

Works for me now, thanks!


Arcade collision fails to detect collision for rotated rectangular sprites.

Hey,
I have a sprite of dimensions 50x20 say, tank. Now I rotate it using tank.angle += 90 or tank.angle -= 90. The anchor for this tank is set at 0.5, 0.5.
Now after this rotation, tank.bottom & tank.right should have been updated, since my rectangular object has width > height and after a 90deg rotation, the distance from an object, say wall(wall.position.x = tank.position.x+100 & wall.position.y = tank.position.y) with which I can collide has reduced.
Since, the tank.bottom (& also tank.right) is not updated, the arcade collision detection also doesn't seem to include the effect of rotation in its collision computation.
Here is a screenshot of the issue:

The red rectangle is the rotated rectangular object and the black lines are part of a group and I call the collide method with both of these parameters. If I don't rotate the object, the collision detection works absolutely fine. Also, this effect seems more prominent for cases where the ratio of width to height (larger dimension to smaller dimension) is large.

What if we only rotate by 90 degrees and therefore maintain a rectangle bounding box? Can we manually update those bottom/right etc properties?
I just need to make a wall with a TileSprite and rotate the texture, so I made a horizontal rectangle and then rotated it with .angle = 90 and it works fine except for the collisions.

What if we only rotate by 90 degrees and therefore maintain a rectangle bounding box? Can we manually update those bottom/right etc properties?
I just need to make a wall with a TileSprite and rotate the texture, so I made a horizontal rectangle and then rotated it with .angle = 90 and it works fine except for the collisions.

No, it still wont' work. You'll need to call Body.setSize to resize it as needed.


rust-analyzer is broken when $RUST_LOG is set

environment
neovim-0.4.3 & coc-rust-analyzer.
symton
When I set RUST_LOG with direnv, rust-analyzer doesn't work and even node (maybe plugin) is crashed due to out of memory'
I think logging would give effect on responses made by rust-analyzer.

If you just set RUST_LOG globally, RA will log a lot, which will also slow down everything. The OOM crash is probably the plugin trying to store logs in memory.

we changed the magic var to RA_LOG


[BUG] Moving files in execute_cmd breaks with swarp+multiprocessing

Describe the bug
execute_cmd keeps track of files written by processors to the directory and then moves files. This kind of stuff doesn't sit well with parallel processing. FileNotFoundErrors have started showing up when using swarp for imsub. We should get rid of this functionality.
Additional context
This only showed up with imsub, so  swarp likely makes some random tmp files when run with combine=True. It seems to clear them on its own though, so shouldn;t be a problem.
e.g. FileNotFoundError: [Errno 2] No such file or directory: '/data/loki/code/mirar/vm3730628_00002.tmp'

Solved in #647


Some parts of this document could be improved

I just followed the "custom policy" section of this document and thought some parts were not as clear as they could be.

In the "Add the password reset sub journey" section, the first line reads:

The user can now sign in, sign up, and perform password reset in your user journey.

This is incorrect. This line implies that password reset should already be working at this point, and what follows is just a suggestion of how to organize the xml file. In reality, the password reset link will continue to return an error code until the next steps are completed.

In the "Connect the Forgot Password link to the Forgot Password sub journey" section, the starts of step 2 reads:

In the next orchestration step, add a ClaimsExchange element.

If you've already modified your custom policy, "next orchestration step" isn't too helpful in determining which step needs to be edited. From the sample policy on github, I figured out that it needs to go into the orchestration step with Type="ClaimsExchange" which should already contain the SignUp exchange:
<ClaimsExchanges>
  <ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>

which is usually the next orchestration step.

Everything else was good and easy to follow, so thank you for your work!

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

ID: b0576a50-8bfd-ac73-6cfc-5121de4c1ba1
Version Independent ID: df6d7234-db4f-1a15-3010-26bd56d934e8
Content: Set up a password reset flow - Azure AD B2C
Content Source: articles/active-directory-b2c/add-password-reset-policy.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@craigbrown
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@craigbrown
Thank you for your feedback. We've noted your suggested and we'll update the document appropriately. We've opened a work item for internal tracking, so we'll close this issue. #please-close


5.1 Feedback:  Custom labware that successfully uploaded is not found upon python protocol analysis

Overview
2 custom labware files were successfully uploaded.
When I upload a python protocol referencing those I get an analysis error.

Current Behavior
Labware uploaded in 5.0.2 or in beta is not found during analysis of the python protocol.
Expected Behavior
All labware previously uploaded (custom folders accounted for) and labware uploaded in 5.1 will be found.
Steps To Reproduce
Given I have uploaded 2 custom labware in the labware tab
And I have a robot connected on Wi-Fi
And I navigate to Protocols
When I upload my protocol that references the custom labware
Then I receive an analysis error that the labware is missing but it is not.

Operating system
Mac
Robot setup or anything else?
FilesToReproduce.zip

Not yet implemented - @b-cooper is there a ticket open for this implementation?
If not, can we get a ticket up for beta.1


Aug. 19 Release

Codecov Report

Merging #722 (15721b0) into master (61eb0d3) will decrease coverage by 0.27%.
The diff coverage is 16.67%.

@@            Coverage Diff             @@
##           master     #722      +/-   ##
==========================================
- Coverage   50.65%   50.38%   -0.26%
==========================================
  Files          30       30
  Lines        1313     1324      +11
  Branches      193      194       +1
==========================================
+ Hits          665      667       +2
- Misses        647      656       +9
  Partials        1        1

Impacted Files
Coverage Δ

firestore-send-email/functions/src/templates.ts
10.96% <0.00%> (-1.16%)
:arrow_down:

firestore-send-email/functions/src/logs.ts
54.29% <50.00%> (-0.55%)
:arrow_down:


[Request] Harukanaru Toki no Naka De 3 Ultimate / 遙かなる時空の中で3 Ultimate (PS VITA)

https://vndb.org/v3260

this game work on the latest vita3k?

this game work on the latest vita3k?

so ive just checked the vita3k github for it, and there have been issue posts for this particular game as recent as a few weeks ago dating back years so i am going to go with no lol. my apologies for not checking first


Fixed missing static keyword for non-template functions

Hi again :),
seems that "static" keyword has been missed for base64 functions.
Without "static" we get linker-time error about "already defined functions".

Thank you.


ValueError: Not all axis codes [14, 286.58, 31.44, 217.16] in label set ['L', 'R', 'P', 'A', 'I', 'S', None]

Hi,
I am willing to use verse 2020 data in the research project. However, there is an issue in processing data. Error is :
ValueError: Not all axis codes [14,<PHONE_NUMBER>66619, 31.445132308242446,<PHONE_NUMBER>654032] in label set ['L', 'R', 'P', 'A', 'I', 'S', None].
Kindly let me know how to solve this issue?
TIA

@AfsahS Have you solved this, and if yes, how did you do it?


file-loader issue

I just clone the example project and run. Seems there is a bug:
All fonts were built into public/fonts folder, and used in public/css/app.css file like:
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url(.//fonts/glyphicons-halflings-regular.eot?f4769f9bdb7466be65088239c12046d1);
  src: url(.//fonts/glyphicons-halflings-regular.eot?f4769f9bdb7466be65088239c12046d1)....
}

So when I visit it in browser(Chrome 55), the font files were requested like:
http://localhost:9090/css//fonts/glyphicons-halflings-regular.woff2?448c34a56d699c29117adc64c43affeb

each request url prefixes with /css which will cause them 404.

Duplicated #75


jest support is added to the project picker

JavaScript now supports recording of Jest tests. Update the JS dependency analysis such that jest is flagged as a supported test framework.

:tada: This issue has been resolved in version 0.58.0 :tada:
The release is available on:

v0.58.0
GitHub release

Your semantic-release bot :package::rocket:


May not add final new-line

Reviewing the pre-conversion check function, it seems that if :

the file is already in the target convention
it does not have a final EOL
a final EOL is requested by the user
the check may lead to that file being skipped.

To do : test and fix.

Fixed in 1.9.2


"Failed to open mgmt link" when using custom_endpoint_address in AWS lambda deployment

azure-eventhub:
5.3.0 and 5.6.0:
AWS Lambda:
Python 3.7:

Describe the bug
When running our python script to connect to an eventhub through a custom endpoint it fails. It fails with the error "Failed to open mgmt link: MgmtOpenStatus.Error". The code is run from AWS lambda with a static IP address. The custom endpoint points to an Azure firewall that filters the traffic coming from our IP address. When we run the same code locally it connects fine. However, running it in AWS lambda fails to make the connection with the above error.
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
A successful connection
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Exact error: Failed to open mgmt link: MgmtOpenStatus.Error

Can anyone shed some light on this issue?

@dedsec594 - thanks for your patience and bringing this to our attention! Directing this to the right people, so they can help you.

@dedsec594 Would you be able to add the steps to reproduce the behavior?

Ah, okay - this is great @dedsec594. Thanks for the additional information! We'll investigate ASAP!

Hi @dedsec594 - I apologize for the lack of updates this past week! I am working on reproducing this issue so I can track down what the root problem might be. This is currently my number one priority, so I'm hoping I can have some sort of answer to you soon. Thank you for your patience!

@dedsec594 I have a few updates.

Would you be able to turn on the uamqp logging and share the logs? You can do so by adding the snippets of code shown here: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub#logging . This will show us the network trace and might help us find the underlying issue.

The custom endpoint feature has actually only been tested with Application Gateways and not Firewall. So, it could be that we don't currently support this feature. I am creating and testing with a Firewall right now to check whether this will work. If not, I can discuss this with the EventHubs SDK team and open up a feature request.

I will continue to keep you updated today, thanks!

We are working on that now as we speak. Ill let you know when we have logs. As to the firewall issue, it does work through the firewall already. That is when we run the code locally on our computers and not in AWS Lambda. It only fails when running from the Lambda.

4T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    Auth closed, destroying session on connection: b'fc1d766a-027a-4663-8858-f50599491f84'.
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    Finished shutting down CBS session on connection: b'fc1d766a-027a-4663-8858-f50599491f84'.
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    b'send called while not open' (b'/data/src/vendor/azure-uamqp-c/src/saslclientio.c':b'saslclientio_send_async':1181)
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    b'Cannot send encoded bytes' (b'/data/src/vendor/azure-uamqp-c/src/connection.c':b'on_bytes_encoded':268)
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    b'saslclientio_close called while not open' (b'/data/src/vendor/azure-uamqp-c/src/saslclientio.c':b'saslclientio_close_async':1130)
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    b'xio_close failed' (b'/data/src/vendor/azure-uamqp-c/src/connection.c':b'on_bytes_encoded':272)
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    Connection b'fc1d766a-027a-4663-8858-f50599491f84' state changed from <ConnectionState.END: 13> to <ConnectionState.END: 13>
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    Connection b'fc1d766a-027a-4663-8858-f50599491f84' state changed from <ConnectionState.END: 13> to <ConnectionState.END: 13>
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    b'saslclientio_close called while not open' (b'/data/src/vendor/azure-uamqp-c/src/saslclientio.c':b'saslclientio_close_async':1130)
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    b'xio_close failed' (b'/data/src/vendor/azure-uamqp-c/src/connection.c':b'connection_close':1437)
[INFO]    2021-08-24T19:06:09.521Z    b73cd47d-29db-464c-9e0d-f0602deccf82    Connection shutdown complete b'fc1d766a-027a-4663-8858-f50599491f84'.
[ERROR]    2021-08-24T19:06:09.522Z    b73cd47d-29db-464c-9e0d-f0602deccf82    Task exception was never retrieved
future: <Task finished coro=<async_get_events() done, defined at /var/task/lambda_function.py:37> exception=ConnectError('Failed to open mgmt link: MgmtOpenStatus.Error\nFailed to open mgmt link: MgmtOpenStatus.Error')>
Traceback (most recent call last):
File "/opt/uamqp/async_ops/session_async.py", line 101, in mgmt_request_async
mgmt_link = self._mgmt_links[node]
KeyError: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/azure/eventhub/aio/_client_base_async.py", line 208, in _management_request_async
description_fields=MGMT_STATUS_DESC,
File "/opt/uamqp/async_ops/client_async.py", line 328, in mgmt_request_async
loop=self.loop)
File "/opt/uamqp/async_ops/session_async.py", line 110, in mgmt_request_async
raise errors.AMQPConnectionError("Failed to open mgmt link: {}".format(mgmt_link.open))
uamqp.errors.AMQPConnectionError: Failed to open mgmt link: MgmtOpenStatus.Error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 49, in async_get_events
props = await get_props(consumer)
File "/var/task/lambda_function.py", line 53, in get_props
props = await consumer.get_eventhub_properties()
File "/opt/azure/eventhub/aio/_consumer_client_async.py", line 630, in get_eventhub_properties
EventHubConsumerClient, self
File "/opt/azure/eventhub/aio/_client_base_async.py", line 255, in _get_eventhub_properties_async
mgmt_msg, op_type=MGMT_OPERATION
File "/opt/azure/eventhub/aio/_client_base_async.py", line 248, in _management_request_async
raise last_exception
azure.eventhub.exceptions.ConnectError: Failed to open mgmt link: MgmtOpenStatus.Error
Failed to open mgmt link: MgmtOpenStatus.Error

Thanks for the logging! It looks like there are issues with establishing the initial connection.
Usually, if things are working locally but not in Azure Functions/AWS Lambda, it is due to some inbound/outbound networking configurations. Do you think there might be any rules/configurations for your Lambda that might be causing issues here?

Our lambdas are set to deny all inbound connections and allow all outbound connections. Nothing more specific than that.

Our engineer found this GitHub issue which may also be linked to the same problem. Wanted to share in case it brought any light to the situation.
https://github.com/Azure/azure-c-shared-utility/issues/428

@dedsec594 thanks for linking this issue. I'm working on adding certs to my deployed function so that I can test just the Azure Application Gateway, without an Azure Firewall. Have you tested the solutions proposed in the linked issues to see if this is actually the problem?

@dedsec594 I just tested running the sample with the Application Gateway as the custom endpoint and it was successful. I also took a look at the issue that you linked, and it looks like that issue addressed here. https://github.com/Azure/azure-uamqp-python/issues/167
Were you able to try this? https://github.com/Azure/azure-sdk-for-python/issues/16816#issuecomment-782133443

OOB investigation details:

After troubleshooting with the AWS + FireEye team, found that there was a problem with the SSL cert.
More specifically: "Turns out bad SSL certificate was getting in our way, which is now fixed. Mac and Linux don’t apply same level of strictness (for cert validation) which prevented us from catching the issue locally."
Solution: "updat[ing] the certificate to include the full chain."

Issue resolved - so closing issue.


Adding types for listeners callbacks

Hi,
it was hustling for me to check the callback type for each event.
So today I'd like to present this contribution for the awesome library.
example:

The only missing part is for HMSUpdateListenerActions.ON_REMOVED_FROM_ROOM because I couldn't find HMSLeaveRoomRequest interface...

Thanks for the contribution @b0iq 🙌
Appreciate it!
We'll review & test this out soon

Yes I'll do it.

@ygit @stanwolverine
Pre-commit husky gave me some errors:
/Users/b0iq/Developer/temp/react-native-hms/example/src/components/ChatWindow.tsx
   86:31  error  Delete `⏎··········`    prettier/prettier
   99:41  error  Delete `⏎······`        prettier/prettier
  107:13  error  Delete `⏎········`      prettier/prettier
  128:35  error  Delete `⏎············`  prettier/prettier
  146:36  error  Delete `⏎············`  prettier/prettier
  203:24  error  Delete `⏎··········`    prettier/prettier
  393:78  error  Delete `⏎······`        prettier/prettier

....

✖ 152 problems (126 errors, 26 warnings)
  104 errors and 7 warnings potentially fixable with the `--fix` option.

should I fix these errors?

@ygit @stanwolverine Pre-commit husky gave me some errors:
/Users/b0iq/Developer/temp/react-native-hms/example/src/components/ChatWindow.tsx
   86:31  error  Delete `⏎··········`    prettier/prettier
   99:41  error  Delete `⏎······`        prettier/prettier
  107:13  error  Delete `⏎········`      prettier/prettier
  128:35  error  Delete `⏎············`  prettier/prettier
  146:36  error  Delete `⏎············`  prettier/prettier
  203:24  error  Delete `⏎··········`    prettier/prettier
  393:78  error  Delete `⏎······`        prettier/prettier

....

✖ 152 problems (126 errors, 26 warnings)
  104 errors and 7 warnings potentially fixable with the `--fix` option.

should I fix these errors?

Nope @b0iq

This is a very good addition. Thanks! @b0iq 👏


Damping derivatives calculations

It would be nice to have "damping derivatives" results for the three main axis rotation rates (p,q,r). They can be stored in the CPACS file @ .../AeroMap[i]/aeroPerformanceMap/dampingDerivatives

Before implementation, please have a look at [Drel14]. Drela describes an efficient method for the computation of stability and control derivatives in section 6.5.7.
[Drel14] Drela, Mark: Flight Vehicle Aerodynamics. Cambridge, Massachusetts: MIT Press, 2014. - ISBN 978-0-262-52644-9


fix amp get network status error bug

Is your feature request related to a problem? Please describe.
amp network component api get wifi status error
Describe the solution you'd like
fix amp get network status error bug
Additional context

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 6 committers have signed the CLA.:white_check_mark: wgj1922:x: robin95021023:x: beikeln:x: jinliangli:x: lluwang:x: xinweng.ljhxinweng.ljh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

merge branch error


refactor(parser): remove extraneous code from regex parsing

This PR removes some code in parsing regexp flags which is extraneous:
if !ch.is_ascii_lowercase() {
  self.error(diagnostics::RegExpFlag(ch, self.current_offset()));
  continue;
}

Which is followed by:
let flag = if let Ok(flag) = RegExpFlags::try_from(ch) {
  flag
} else {
  self.error(diagnostics::RegExpFlag(ch, self.current_offset()));
  continue;
};

!ch.is_ascii_lowercase() is equivalent to ch < 'a' || ch > 'z'. The compiler implements RegExpFlags::try_from(ch) as ch < 'd' || ch > 'y' and then a jump table. So ch.is_ascii_lowercase() does nothing that RegExpFlags::try_from(ch) doesn't do already.
https://godbolt.org/z/51GPPY9nx
(this PR built on top of #2007 for ease)

I gave you write access so you can use graphite 😄


Multiple calls are stored weird

Problem/Description
This is an FR as the current method is intentional, but I think it's a little clunky. Essentially, the calls in the config can have multiple entries, but the nav add adds a whole new nav entry. Perhaps an aliasing system could work. Also, using nav remove on a nav entry with multiple calls removes the whole thing. Again perhaps one at a time, and maybe a flag (-a / --all) to remove all calls the entire thing if there are more than one.
Desired Solution
A slightly less clunky system. More QOL, streamlining, etc.
Considered Alternatives
Removing the multiple calls capability and have them all as their own entry,

What do you think about a param for adding and removing calls? I am thinking that it would work something like the following.
# add new call
quicknav add current_call --call (or -c) new_call

# remove call
quicknav remove --call (or -c) to_remove

Or it could possibly be just a different command like quicknav add-call or something like that. What do you think? Any ideas?

What do you think about a param for adding and removing calls? I am thinking that it would work something like the following.
# add new call
quicknav add current_call --call (or -c) new_call

# remove call
quicknav remove --call (or -c) to_remove

Or it could possibly be just a different command like quicknav add-call or something like that. What do you think? Any ideas?

That could work yeah. I think either would work.

This should be completed now and is planned to release with v1.2.0.