Unexpected token export error

Unexpected token export                                                                               14:43:39
export default function setupIcons(preset) {
^^^^^^
SyntaxError: Unexpected token export
at new Script (vm.js:83:7)
at createScript (vm.js:277:10)
at Object.runInThisContext (vm.js:329:10)
at Module._compile (internal/modules/cjs/loader.js:712:26)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)

Huh?
I didn't found the solution but it is working for now when i remove all the CDN present on presetCDN.
can you provide me any other solution.

@pratiktmg19 I'd suggest you provide a bit more information - ideally a reproduction at https://template.nuxtjs.org/
But something about this looks like it might by solved by deleting node_modules or your package lockfile (or both) and reinstalling your packages.

Yes, i have tried reinstalling both but it didn't worked out.
It only works  when i comment out those presets in icons.js of veutify

Okay solved it by updating nuxt to latest version and vuetify to stable version.


CLIP-1786: Add liveness probes, make readinessProbes configurable

What This PR Does

add liveness probes to all DC StatefulSets (optional, and can be configured)
make readinessProbe optional (sometimes it is necessary to get an ingress even though /status reports 500, which can be caused by reindexing)
make it possible to override readinessProbe (*for example with tcpSocket or exec)
add tests

Checklist

[x] I have added unit tests
[x] I have applied the change to all applicable products
[x] The E2E test has passed (use e2e label)

Great improvement @bianchi2.
I just wonder what is the implication of adding the Liveness probe as default (for new and existing customers doing upgrade)?

Thinking out loud, I wondered whether we should add documentation to https://atlassian.github.io/data-center-helm-charts/userguide/CONFIGURATION/ ? We currently don't document the readinessProbe either but we are adding the custom definition, and we have 3 different probes now (liveness, readiness, startup). I am leaning towards not documenting it explicitly in our documentation but keeping it references in the values.yaml file and referring to official Kubernetes documentation. I think this is quite an advanced topic that the admin should have some idea of how to use generally before changing it in our helm charts.

@nanux so, what I have changed/added is:

default failureTreshold for a liveness probe is 12, with a 5 sec periodSeconds, it's 60 seconds. Should be good enough to make the probe less sensitive
added initialDelaySeconds (should start after the startupProbe + delay)
links to k8s docs for all 3 types of probes in values.yaml comments

And yes, I agree that this is an advanced operational part of the container spec, and those who'll fine tune it or provide a custom check should know what they are doing :) It's good to have liveness probe and be able to turn it off too. Also, there are cases when a readinessProbe needs to be turned off (for example, I may still want to keep Jira node in the list of endpoints when the node performs re-index which will set the node status to maintenance).

I know I am super late to this, but the initialDelaySeconds field is redundant if you are going to be using a startupProbe since that probe stops any liveness or readiness probes from running until you succeed.
From https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes

initialDelaySeconds: Number of seconds after the container has started before startup, liveness or readiness probes are initiated. If a startup probe is defined, liveness and readiness probe delays do not begin until the startup probe has succeeded. Defaults to 0 seconds. Minimum value is 0.

@vernonlingleysonos it's never too late ;)
Yes, both readiness and liveness probes kick in only after startupProbe succeeds, however, they both respect initialDelaySeconds after startupProbe is successful, so it's startupProbe time + initialDelaySeconds before readiness/livenes probes start doing their job.
In our case, startupProbe just checks if the server listens on the socket (which does not check if the app is ready), and you may give Jira/Confluence more time to be ready (/status reports 200) and not make kubelet do those http get calls for no reason (say, if you know that it can take longer).


Error is raised: AttributeError: 'RequestStats' object has no attribute 'log_request'

Description of issue / feature request
In my test, I need to create a RequestStats and invoke RequestStats.log_request(). But sometimes the following error is thrown. Could you please tell me how to get locust version RequestStats.log_request() is available in test case script? Thank you!
AttributeError: 'RequestStats' object has no attribute 'log_request'
Expected behavior
RequestStats.log_request() is available in test case.
Actual behavior
RequestStats.log_request() is not available.
Environment settings (for bug reports)

OS:
Python version:  2.7.15
Locust version: 0.8

Steps to reproduce (for bug reports)
TBD - example code appreciated

Can you include example code?
It's not clear what "sometimes" means or how you are seeing this error.

If you're trying to log a request manually you should do that by firing the request_success event:
from locust import events

events.request_success.fire(
    request_type="GET",
    name="/some_path",
    response_time=42,
    response_length=1337,
)

Thank you! I know how to use it now.


Mac OS's Terminal.app does not support #save and #restore

Terminal.app does not support the save and restore codes "\e[s" and "\e[u".
It does however support the other codes "\e7" and "\e8" (no [ in those commands). It appears that most other terminal emulators support these escape sequences as well as the above CSI codes.

List of terminal emulators I have tested for support.

tmux
sles 12
centos 7
Fedora 24
Redhat 6 (did not see cursor movement, probably due to not flushing the output but end result the same)

Additional terminals that do not support "\e[s" format, but do support "\e7" format

Debian 8

Windows Powershell (w/ ansicon.exe) does not support "\e7" and "\e8" so if this is changed, it should also contain a windows workaround using "\e[s" and "\e[u"

ConEmu appears to support both

This script shows that most terminals have save_cursor defined as "\e7", and as a result support for "\e[s" is not guaranteed.
Warning, this is a lot of text output.
#!/usr/bin/env bash
#

for folder in /usr/share/terminfo/*; do
  for term in $folder/*; do
    filename=$(basename $term)
    value="$(infocmp -L1 "$filename" | grep save_cursor)"

    echo "$folder/$filename -> $value"
  done
done

Thanks, that's some good investigation ❤
Sorry to be less responsive, just been moving my flat and my back hurts...


Storage ManagementPolicies: Spec for DateAfterModification/DateAfterCreation specifies property as int but non-integer representation is returned from API call

According to the API spec, the DateAfterModification definition uses an int value for the daysAfterModificationGreaterThan property, but the representation that comes back in the response from the PUT request is 10.0 rather than 10 as seen in the snippet below.
As with #6549, this breaks any generated code (e.g. the Azure Go SDK) and anything upstream that wants to use those SDKs (e.g. the Terraform AzureRm provider)
{"properties":{"policy":{"rules":[{"enabled":true,"name":"rule1","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":10.0},"tierToArchive":{"daysAfterModificationGreaterThan":50.0},"delete":{"daysAfterModificationGreaterThan":100.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["container1/prefix1"]}}}]},"lastModifiedTime":"2019-07-04T14:50:46.7171698Z"}}

but the representation that comes back in the response from the PUT request is 10.0 rather than 10 as seen in the snippet below
Is the response you are talking about from SDK or from the API directly?

That snippet is from the error message in the SDK which dumps out the raw API response

@huizlAzure
Would you please help to look at the swagger issue for ManagementPolicies

Fix in PR https://github.com/Azure/azure-rest-api-specs/pull/6551/files

@stuartleeks , the fix was merged and can ;you verify and close if it's fixed?

Thanks @zfchen95  and @raych1. Once the GO SDK has been re-generated I will be able to test whether the issue is fixed :-)

@stuartleeks , can you verify and close if this issue is fixed?

@stuartleeks, I'm closing this issue with inactivity. Feel free to re-open this issue if it's not resolved.


SVGO removes fill attribute from mask, produces different image

SVGO seems to remove all fill attributes from the mask element. As you can see in http://jsbin.com/noroca/2/ this produces some different image. The background is not applied to the mask so the mask is not used for the elements.
With the help of https://jakearchibald.github.io/svgomg/ I was able to find the plugin that removes this attribute: Remove unknowns & defaults.
I tried to find the correct location to add this feature to https://github.com/svg/svgo/blob/master/plugins/removeUnknownsAndDefaults.js but did not find the correct spot. Adding the mask attribute to https://github.com/svg/svgo/blob/64304f3a4d3ca28b244fa7112bc2708138dba62e/plugins/_collections.js#L1387 does not seem to be enough. :)

Yeah, it's been already fixed in #217, that's why you couldn't locate it.

Adding the mask attribute to _collections.js#L1387 does not seem to be enough. :)

Yes, because it's already there under the 'presentation' group. (That was the fix.)

Great, thank you for the info. I'll close this one.


WIP: make standard abstract eval rules keep weak_type

Attempting to fix #3163, but running into issues.
@hawkinsp can you share some wisdom, after reading #3163?

#3613 has been fixed, so this is no longer needed.


content-visibility CSS

Like windicss-content-visibility

For windicss-content-visibility,  content- rules is conflict with align-content rules. Use content-visibility-xxx instead of it, or you can send a PR with better way to change it.


Create a new ReqMgr CouchDB view to filter requests by CMSSWVersion

Impact of the new feature
ReqMgr2
Is your feature request related to a problem? Please describe.
Nope, but it might be useful for any production overview and/or CMSSW version driven debugging.
Describe the solution you'd like
Create a ReqMgr2 CouchDB view under:
https://github.com/dmwm/WMCore/tree/master/src/couchapps/ReqMgr/views
such that one can search workflows by the CMSSWVersion field. The view name can be something like bycmsswversion.
Describe alternatives you've considered
none
Additional context
none

Also fairly simple to be implemented, let's get this one out of our place asap too.


accessToken is null after redirect request

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.22.1
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.3.1
Public or Confidential Client?
Public
Description
After completing a login via a redirect or pop-up login the token retuned has a null access token value. This was confirmed to be working at least two weeks ago but something has changed, and I am not sure why this is now null.
The resulting auth URL is:
https://salesadvb2c.b2clogin.com/salesadvb2c.onmicrosoft.com/b2c_1_sign_in/oauth2/v2.0/authorize?client_id=4ed890ea-29a8-48ef-90b0-4aab99ece0aa&scope=https%3A%2F%2Fsalesadvb2c.onmicrosoft.com%2Fgraph%2Favm_access openid profile offline_access&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F&client-request-id=2db7079e-a191-4ba7-959d-f28abf3529f1&response_mode=fragment&response_type=code&x-client-SKU=msal.js.browser&x-client-VER=2.22.1&x-client-OS=&x-client-CPU=&client_info=1&code_challenge=D6GnwJbShWBYjNnertni5-fMnCwJQlwGV4aHh_UY1lQ&code_challenge_method=S256&nonce=c5734781-cedb-41a0-a60e-6a151d15fa01&state=eyJpZCI6ImIzNjBhZTViLWJjNmUtNDM1Yy04ZGJlLWRiNmFkOTcxODZlYiIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3D
MSAL Configuration
export const msalConfig = {
  auth: {
    clientId: '4ed890ea-29a8-48ef-90b0-4aab99ece0aa',
    authority: b2cPolicies.authorities.signIn.authority, // use common to support multi tenantcy ,

    redirectUri: 'http://localhost:3000/',

    knownAuthorities: [b2cPolicies.authorityDomain], // You must identify your tenant's domain as a known authority.
    cache:{
      cacheLocation: "sessionStorage",
      storeAuthStateInCookie: false
    }
  }
};

export const b2cPolicies = {
  names: {
    signUpSignIn: "B2C_1_sales_adv_sign_up_sign_in",
    editProfile: "",
    signUp:"B2C_1_avm_sing_up"
  },
  authorities: {
    signUp: {
      authority: "https://salesadvb2c.b2clogin.com/salesadvb2c.onmicrosoft.com/B2C_1_sign_up",
    },
    signIn: {
      authority: "https://salesadvb2c.b2clogin.com/salesadvb2c.onmicrosoft.com/B2C_1_sign_in",
    },
    passwordReset: {
      authority: "https://salesadvb2c.b2clogin.com/salesadvb2c.onmicrosoft.com/B2C_1_pwd_reset"
    }
  },
  authorityDomain: "salesadvb2c.b2clogin.com"
}

export const apiConfig = {
  b2cScopes: ["https://salesadvb2c.onmicrosoft.com/graph/avm_access", "openid"],

};

Relevant Code Snippets
//sign in code
signIn = (): Promise<void> => {
        var silentRequest: msal.RedirectRequest = {
            scopes: apiConfig.b2cScopes,
            authority: b2cPolicies.authorities.signIn.authority,
            redirectUri: msalConfig.auth.redirectUri,

        };

        return this.msalInstance.acquireTokenRedirect(silentRequest);

    }

//handle redirect
       this.msalInstance.handleRedirectPromise().then((response: any) => {
            console.log("handleRedirectPromise response", response);
            console.log(response);
        }).catch(async (error) => {
            if (error.errorMessage.substring(0, 11) === 'AADB2C90118') {
                return this.resetPassword();
            }
            console.log(error);
        });

Identity Provider
Azure B2C Basic Policy
Source
External (Customer)

same behavior with 2.30.0 of msal-browser

didn't have the custom scope set as a required permission on the App Reg


Reusable Dialogue

I am developing a bot, where part of the registration is adding a delivery address. Once you are registered you update this address. A summarized version of the flow is as follows;
B> Hi, you are not registered, whats your name?

U> Anthony

B> Please enter a delivery address

U> 30 1st Street

B> Thank you, you are now registered!
B> Please select one of the following actions;
1) Place Order
2) Update Address

U> 2

B> Please enter a delivery address

U> 31 1st Street

B> Thank you, your address has been updated!
B> Please select one of the following actions;
1) Place Order
2) Update Address

The collection of the address is a complicated dialogue (not seen here). This dialogue should be reusable during registration and when updating the address from the main menu.
In other words I want to "call" the address dialogue from multiple other dialogues, and have it return to the step in the calling dialogue that it originated from with the result of the address dialogue.
I am confused as to how to achieve this with Converstations and their threads or using controller.triggers().

Essentially should I;

have 1 conversation that encapsulates everything, the registration and main menu dialogues

pass convo object everywhere

have nested conversations invoked directly from a skill eg addressConvo.start((res) => {...})
have conversations invoked through a trigger controller.trigger('get_address', [req_ref])

should I pass the convo object to this trigger
or start a new convo

install all dialogue within the threads of a conversation and use convo.gotoThread()

You can achieve the same thing with triggers, threads, and calling directly; what is the right way?


Make rubocop happy

I fixed all rubocop offences, most of them automatically.
@AlvaroMaceda Could you check it looks good?

All seems fine. Maybe we should configure github to pass rubocop for each pull request. I have no idea of how to do that, but I'll investigate.

Continuous integration tools such as circleci.com can run the specs and check rubocop for any new commit on open PRs. We should do that.


ERROR_PREFIX is too long

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[ ] Foundryup

What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
No response
Describe the bug
Here the prefix is not truncated to 4 bytes, which makes it harder to catch errors originating from inside foundry:
https://github.com/foundry-rs/foundry/blob/e824c93ab4d6d81ff85c13ec95baa4d84b77dc0c/evm/src/error.rs#L12

I don't know if anything relies on there being more than the first 4 bytes, but using all the bytes makes it incompatible with vm.expectRevert.

I see.
do you have an example?
I believe it's safe to simply truncate the ERROR_PREFIX to 4bytes, same as custom solc errors.

Yes I think we're saying the same thing :)


Imagemagick: 7.1.0-5 -> 7.1.0-6

I accidentally closed https://github.com/NixOS/nixpkgs/pull/136780 and can't reopen it, so this is the contiuation.
Targeting master now, as the rebuilds seem to stay below 500. I also included 591ec6fd7e18985f95bcf83b21e78a3b7bb678cd as it already was merged into staging, but for some reason got mass-reverted in 7f732aca66089969ca0733bd129cc1c12b44fe25?

Motivation for this change
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I suppose you get the extra rebuilds on master because it is missing #135031. Would you mind trying staging-next?

Sorry for the mass request for review everryone...

@GrahamcOfBorg eval

Okay, I think I get it now. The https://github.com/NixOS/nixpkgs/commit/610232bc765c0ae340b6248bf89391d453a9f417 shows to be present on branches: python-unstable (#135031) staging (#135031) staging-next
And git agrees with that
git log origin/staging-next | grep 610232bc765c0ae340b6248bf89391d453a9f417 | head -n1
commit 610232bc765c0ae340b6248bf89391d453a9f417

But it's probably because b041b2e1b25a0ed55d0943030c9da1b5f68ab3c6 was merged and reverted in 610232bc765c0ae340b6248bf89391d453a9f417.
Long story short, this will have to go to staging after all.

@SuperSandro2000 https://github.com/NixOS/nixpkgs/pull/135303#issuecomment-903295598 still holds unfortunately.


Data not being transferred correctly into custom compute shader type

Version of vulkano: 0.33
OS: MacOS Ventura 13.4
GPU (the selected PhysicalDevice): Radeon Pro 560 4 GB

I have a compute shader that draws "agents" on screen as pixels, they are a custom struct within the shader, however the data the shader is using doesn't appear to be the same as the data I sent into the buffer:
Shader(With excess code removed):
#version 460

layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in;

struct SlimeAgent {
    vec2 pos;
    float angle;
};

layout(set = 0, binding = 0, rgba8) uniform image2D img;

layout(set = 0, binding = 1) buffer Agents {
    SlimeAgent[] agents;
};

layout(push_constant) uniform PushConstants {
    int step;
    int num_agents;
    int width;
    int height;

    float turn_speed;
} push_constants;

// fills image with black
void init() {
    ivec2 pos = ivec2(gl_GlobalInvocationID.x % push_constants.width, gl_GlobalInvocationID.x / push_constants.width);

    imageStore(img, pos, vec4(0.0, 0.0, 0.0, 1.0));
}

void update() {
    uint id = gl_GlobalInvocationID.x;

    imageStore(img, ivec2(agents[id].pos.xy), vec4(1.0, 1.0, 1.0, 1.0));
}

void main() {

    if (push_constants.step == 0) {
        init();
    } else if (push_constants.step == 1){
        update();
    } else {
        diffuse();
    }

}

Shown Output(White dots are agents):

Loop to transform ([f32; 2], f32) into agents:
for (pos, angle) in agent_data {
            agent_buffer_data.push(slime_shader::SlimeAgent{pos: pos.into(), angle: angle.into()})
        }

Output of pos from loop:
[100.0, 200.0]
[105.0, 200.0]
[110.0, 200.0]
[115.0, 200.0]
[120.0, 200.0]
[125.0, 200.0]
[130.0, 200.0]
[135.0, 200.0]
[140.0, 200.0]
[145.0, 200.0]
[150.0, 200.0]
[155.0, 200.0]
[160.0, 200.0]
[165.0, 200.0]
[170.0, 200.0]
[175.0, 200.0]

As far as I can tell, the data should be moving fine, and the issue does not occur when the agents are replaced by just a vec2, so the issue must be happening somewhere while the data is transformed. Any help would be greatly appreciated.

Ah okay that makes a lot of sense actually, out of interest how would I create a buffer for agents, at the moment I'm getting an "unknown size at compile time" error

If you're using the from_data constructor, try from_iter instead.

Normally I would, but I'm trying to create a buffer of the Agents struct as suggested, and that contains a list which is where the error is coming from

Buffer::new_unsized or SubbufferAllocator::allocate_unsized.

And then just copy the data into it from another buffer?

Ok it's all working as intended now, thank you very much for your help


VSCode on Linux gets unresponsive on clicking "Create new project" in Azure Functions extension

Details:

OS: Ubuntu 18.04.1 LTS
VSCode September 2018 (version 1.28)

Followed steps in https://github.com/simonaco/serverless-graphql-workshop/blob/master/services/Readme.md#run-locally
VSCode becomes unresponsive at Step 3 - "Create new project", and has to be killed.
Image:

This appears to be an issue with Azure Functions extensions and not this repo.
Kindly move it to concerned team, so that it doesn't block Linux devs from using Azure Functions in VSCode

thanks a lot @trivikr, I've forwarded this to the team building the extension.


Extend use_state docstring

@larsoner is right that the docstring should be updated. Since I'm probably the keenest one for a new version release, I thought I'd go ahead and draft the changes. I'm not married to this particular wording or anything, so feel free to commit changes! @pmrv @jan-janssen

Thanks @liamhuber

@larsoner would it be possible to get a new release now that this content is in?

Cut a release at https://github.com/h5io/h5io/releases/tag/h5io-0.2.2, should land on PyPI and conda-forge soon but let me know if they don't!

Awesome, thanks @larsoner!!


pass2csv: 0.3.2 -> 1.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for pass2csv is: "Export pass(1), "the standard unix password manager", to CSV"
meta.homepage for pass2csv is: "https://github.com/reinefjord/pass2csv"
meta.changelog for pass2csv is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.0 with grep in /nix/store/qblf1ddvp2i59mv8mlbdfqimzqzcr45l-pass2csv-1.0.0
found 1.0.0 in filename of file in /nix/store/qblf1ddvp2i59mv8mlbdfqimzqzcr45l-pass2csv-1.0.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
pass2csv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qblf1ddvp2i59mv8mlbdfqimzqzcr45l-pass2csv-1.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qblf1ddvp2i59mv8mlbdfqimzqzcr45l-pass2csv-1.0.0
ls -la /nix/store/qblf1ddvp2i59mv8mlbdfqimzqzcr45l-pass2csv-1.0.0/bin

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


[10.x] Make fake instance inherit from Vite when using withoutVite()

This PR makes the fake anonymous class extend from \Illuminate\Foundation\Vite when calling the withoutVite() method.
The goal behind it is to make sure the swapped class is still compatible with the real one. This is important when type-hinting to inject \Illuminate\Foundation\Vite from the container. Currently, it is not possible when using withoutVite().

@orkhanahmadov Could you provide a use case for dependency injecting the Vite class?

@timacdonald Basically, in every use-case where we don't want to rely on the \Illuminate\Support\Facades\Vite facade.
Here's a real example:
We have a global web middleware that depends on Vite's isRunningHot() method. When Vite is running in HMR mode we want to attach extra headers to response.
public function __construct(protected \Illuminate\Foundation\Vite $vite)
{
}

public function handle(Request $request, Closure $next): Response
{
    $response = parent::handle($request, $next);

    if ($this->vite->isRunningHot()) {
        $response->headers->set('foo', 'bar');
    }

    return $response;
}

When using $this->withoutVite() globally, this causes all routes that use this middleware to fail because the swapped anonymous class is not compatible with the type-hinted Vite class. Throws exception:
Argument #1 ($vite) must be of type Illuminate\Foundation\Vite, class@anonymous given

The reason we want to type-hint and dependency inject that class is because when we unit test that middleware in isolation, we want to be able to mock it easily.
public function testAttachesResponseOnViteHMR(): void
{
    $this->mock(\Illuminate\Foundation\Vite::class)->shouldReceive('isRunningHot')->once()->withNoArgs()->andReturnTrue();

    // act: run middleware

    // assert: response has header
}

I think it doesn't hurt to make the swapped anonymous class extend from the real one


[changed] rules to prefer explicit strings over implicit numbers

I tested it on itself (hence the line splitting in test.js)

Closing as I don't think this issue is relevant anymore. Feel free to reopen if I've missed something.


Update github.com/cloudflare/circl

cloudflare/circl: https://github.com/advisories/GHSA-9763-4f94-gfch

Maybe you should use replace to do that but not change the indirect part directly?

Maybe you should use replace to do that but not change the indirect part directly?

Running go get -u -d github.com/cloudflare/circl will do the same thing. The indirect version will be changed.

I was unable to create a backport for 1.21. @harryzcy, please send one manually. :tea:
go run ./contrib/backport 28789
...  // fix git conflicts if any
go run ./contrib/backport --continue


Fix (another) NRE in GetFastVersionGuid

This fixes the same issue that was attempted to be fixed in the last pull request I did, but the regression was reintroduced, so I made a better fix this time around.
The check to set the branch to Roblox if the setting was null was done after GetFastVersionGuid, causing an exception for new users of the mod manager.

Thanks for catching that.


mesa: /run/opengl-driver in gbm-backend-paths

Motivation for this change
This targets staging.
This replaces #141768, and is based on the original discussion in https://github.com/NixOS/nixpkgs/pull/141685#issuecomment-944078514
This is the correct place for these files to be placed:

reference1:

https://github.com/Frogging-Family/nvidia-all/blob/aa6bea6ff4291c464768b2390110be4c8e35883a/PKGBUILD#L1105
https://github.com/Frogging-Family/nvidia-all/blob/aa6bea6ff4291c464768b2390110be4c8e35883a/PKGBUILD#L1185-L1186

I already made sure these files were placed correctly in #139354.
This change can be emulated by setting an env var: export GBM_BACKENDS_PATH=/run/opengl-driver/lib/gbm
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I've edited OP, though title doesn't reflect this. This PR, I believe appropriately, targets staging.

now that I think about this more, doesn't this only point to the libvgnd and mesa packages? How do nvidia drivers get picked up?

@jonringer that driverLink path resolves to /run/opengl-driver which is where the nvidia driver resides when it's the installed driver.
~
❯ ls -al /run/opengl-driver
lrwxrwxrwx 1 root root 58 Nov  9 20:37 /run/opengl-driver -> /nix/store/6wsw4f53m4l54zldfkirxsm8jhd5x4y1-opengl-drivers

~
❯ ls -al /run/opengl-driver/
total 18548
dr-xr-xr-x     2 root root       4096 Dec 31  1969 .
drwxrwxr-t 22386 root nixbld 18964480 Nov 10 15:09 ..
lrwxrwxrwx     1 root root         73 Dec 31  1969 bin -> /nix/store/x3rkkzqffhanl8hndqmigrqpyahym6a7-nvidia-x11-495.44-5.14.16/bin
lrwxrwxrwx     1 root root         73 Dec 31  1969 etc -> /nix/store/x3rkkzqffhanl8hndqmigrqpyahym6a7-nvidia-x11-495.44-5.14.16/etc
lrwxrwxrwx     1 root root         73 Dec 31  1969 lib -> /nix/store/x3rkkzqffhanl8hndqmigrqpyahym6a7-nvidia-x11-495.44-5.14.16/lib
lrwxrwxrwx     1 root root         75 Dec 31  1969 share -> /nix/store/x3rkkzqffhanl8hndqmigrqpyahym6a7-nvidia-x11-495.44-5.14.16/share

and after merging the nvidia egl fix PR, this is the case, completing the picture:
~
❯ ls -al /run/opengl-driver/lib/gbm
total 8
dr-xr-xr-x 2 root root 4096 Dec 31  1969 .
dr-xr-xr-x 5 root root 4096 Dec 31  1969 ..
lrwxrwxrwx 1 root root   32 Dec 31  1969 nvidia-drm_gbm.so -> ../libnvidia-allocator.so.495.44

ah, thought it was a build output. didn't realize it was a string. Thanks @colemickens


Add URL schemes that are allowed within links

ALLOWED_URL_SCHEMES
Default: ('file', 'ftp', 'ftps', 'http', 'https', 'irc', 'mailto', 'sftp', 'ssh', 'tel', 'telnet', 'tftp', 'vnc', 'xmpp')
Fix bug Stored XSS via Markdown at Description or Comment of Ticket
Disclosure: https://huntr.dev/bounties/be7f211d-4bfd-44fd-91e8-682329906fbd/
Payload: [XSS](javascript:alert(`document.domain`))
Before fix: XSS
After fix: XSS

The fix can be bypass by multiline.
Payload
[Bypass

Multiline]( javascript:alert(`1`))

I'm looking for a way to fix regexes.
If you have any ideas for this please suggest me.

Update new pattern : fr'([\[\s\S\]]*?)\((?!({schemes})).*:(.+)\)'

Sounds good. I see you pushed a few additional commits, do you have anything else or is this ready to merge? thanks!

yes, it is ready to merge. ^^!.


Client-side script should keep licences or keep link to them

For head.js + OpenTable's MIT.

can we just minify them into the source?

Basically oc-client.min.js = uglify(head.js + oc-client.js + oc.clientVersion=)
To make that we should

Keep the head license on top after the minification + the oc-client (supported by uglify but somehow I tried and it seems to not work)
OR (preferred as smaller) put the licences anywhere and keep in the minified file the link (something like this on top // Licenses: https://github.com/opentable/oc/CLIENT_LICENSES.md)


Add emitter module and feature

Add parsing of signed integers.
Use my LEB128 implementation instead of using the nom parser version. The custom version is more flexible to the type being parsed.
The emitter module will be carried over from the tortuga repo with minor changes to support the new model.
The implementation will not change for this PR.

There are a ton of errors that need fixing. I introduced an emitter error type instead of the compiler one, updated use statements and made the emit_binary function not async.
Still need to fix the remaining errors, then update the documentation (README and docs for the emit function).

Last step is to update the docs, readme, and version. I need to do a pass through the emitter docs as they may not be up to par.


#424 Fix the keyboard toggler button layout in light mode.

Fixed the keyboard toggler button layout in light mode.

YES

Mention issue and fix merge conflicts please

fixes the issue #424


Is it possible to update a table automatically depending on two other tables?

First of all, great product I really like it!
To my question, is it possible to update a table automatically depending on two other tables?
Exampel:
If table A have row1 and field1= Black
And table  B have row1 and field1= White and row2 and field1= Green
the table C automatically create row 1 with field1 = black and field2 = white and row2 with field1 = black and field2 = Green

You can do this, for example, using actions. On Insert or update event in one table, perform Blocks action in another table.

As another solution you can create view in database an then use table discovery.

As another solution you can create view in database an then use table discovery.


Markdown code fences rendered incorrectly in published ESP-IDF component (PACMAN-714)

The Component Manager version
v1.3.2
ESP-IDF Version
v5.1
python Version
3.11.4
Operating System
macOS 13.5.2
Browser (for https://components.espressif.com  Issues)
Safari 16.6, Chrome 116.0.5845.179, Firefox 117.0
Description
We recently uploaded a new component to the ESP-IDF component registry, slint/slint. The README of the component uses markdown and code fences to explain how to use the component in a step-by-step tutorial. The exactly README that we uploaded can be found here:
https://github.com/slint-ui/slint/blob/v1.2.0/api/cpp/esp-idf/slint/README.md
The result can be see at
https://components.espressif.com/components/slint/slint/versions/1.2.0~1
In the markdown of the README we include the following C++ code fence:
#include <stdio.h>
#include <esp_err.h>
#include <bsp/display.h>
#include <bsp/esp-bsp.h>
#include <slint-esp.h>

#if defined(BSP_LCD_DRAW_BUFF_SIZE)
#    define DRAW_BUF_SIZE BSP_LCD_DRAW_BUFF_SIZE
#else
#    define DRAW_BUF_SIZE (BSP_LCD_H_RES * CONFIG_BSP_LCD_DRAW_BUF_HEIGHT)
#endif

#include "appwindow.h"

extern "C" void app_main(void)
{
    /* Initialize display  */
    esp_lcd_panel_io_handle_t io_handle = NULL;
    esp_lcd_panel_handle_t panel_handle = NULL;
    const bsp_display_config_t bsp_disp_cfg = {
        .max_transfer_sz = DRAW_BUF_SIZE * sizeof(uint16_t),
    };
    bsp_display_new(&bsp_disp_cfg, &panel_handle, &io_handle);

     /* Set display brightness to 100% */
    bsp_display_backlight_on();

    std::optional<esp_lcd_touch_handle_t> touch_handle;

    /* Allocate a drawing buffer */
    static std::vector<slint::platform::Rgb565Pixel> buffer(BSP_LCD_H_RES * BSP_LCD_V_RES);

    /* Initialize Slint's ESP platform support*/
    slint_esp_init(slint::PhysicalSize({ BSP_LCD_H_RES, BSP_LCD_V_RES }), panel_handle,
                                       touch_handle, buffer);
    /* Instantiate the UI */
    auto ui = AppWindow::create();
    /* Show it on the screen and run the event loop */
    ui->run();
}

The resulting rendering at https://components.espressif.com/components/slint/slint/versions/1.2.0~1 however escapes various characters wrongly and changes casing.
For example #include <bsp/display.h> becomes this:

Or static std::vector<slint::platform::Rgb565Pixel> buffer(BSP_LCD_H_RES * BSP_LCD_V_RES); becomes this:

Note how the letter casing changed wrongly.
bsp_display_new(&bsp_disp_cfg, &panel_handle, &io_handle); becomes this:

And finally ui->run(); becomes this:

The unfortunately consequence of the mis-rendering is that users who are trying to follow the steps by copy & paste find their project not compiling and having to fix up the source code by hand.
To Reproduce
The reproduce, just open https://components.espressif.com/components/slint/slint/versions/1.2.0~1 and compare the rendering with the source at https://github.com/slint-ui/slint/blob/v1.2.0/api/cpp/esp-idf/slint/README.md

Expected behaviour
I expected the rendering of code fences to retain the exact C++ code formatting, so that it can be copy & pasted.
Additional info
No response
I have checked existing issues and online Documentation

[X] I confirm I have checked existing issues and online Documentation.

@tronical Thank you for opening this issue. It really looks like a bug, we will address it.
Even though markdown is relatively simple format, it's poorly standardised and making it render "just like GitHub does" is not so trivial task, but hope eventually we will be able to cover all edge cases.

Thanks for looking into this. I'd be happy to work around this in our README in any way possible. We don't need GitHub-like rendering, just a a plain code fence.
Is there a way of working around it? Are you using a markdown renderer that I could run locally to verify how to escape the characters on our end so that the code fence works?

@tronical Unfortunately I'm not aware of workaround right now, we will investigate the issue next week and let you know. I'm pretty sure no action will be required from you to make it render correctly.
We are planning to add a command to preview documentation locally before committing, but it's not available yet.
Markdown rendered in few passes. I suppose this behaviour is a side effect either of mermaid diagrams or MathJax equations

@tronical The issue was fixed on the server, now code snippets are rendered correctly

https://components.espressif.com/components/slint/slint/versions/1.2.0~1

Thank you ❤


update py3 dep to require 3.6 or later rather than specifically 3.6

https://github.com/ericmjl/pyjanitor/issues/126
Just went ahead and did this because it was so trivial; not trying to bypass discussion.
@ericmjl @szuckerman

Trivial indeed. LGTM.


tests: add a missing Tab cache clear

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

This was responsible for the sporadic failures I encountered in #1878.
It feels like constant whack-a-mole with these caches causing order-dependent test failures, and it's a hugely complicated process to reproduce, isolate and fix them (this one took me the better part of a day). We should try to implement some means of checking after each test to ensure they're not accidentally leaving behind persistent state.

Just found another one of these (second commit). This one hasn't caused any issues as far as I can tell, but I bet it would have done at some point.

Nice, thanks @alyssais!


Implement tests for countdown command

Codecov Report

Merging #188 (f59e5a6) into master (eac3e00) will increase coverage by 0.92%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #188      +/-   ##
============================================
+ Coverage     45.63%   46.55%   +0.92%
- Complexity      470      482      +12
============================================
  Files           115      115
  Lines          2428     2455      +27
  Branches        272      273       +1
============================================
+ Hits           1108     1143      +35
+ Misses         1254     1244      -10
- Partials         66       68       +2

Impacted Files
Coverage Δ

...seedu/address/logic/commands/CountdownCommand.java
93.33% <ø> (+93.33%)
:arrow_up:

...java/seedu/address/logic/commands/UndoCommand.java
3.89% <0.00%> (-0.65%)
:arrow_down:

...java/seedu/address/logic/commands/HelpCommand.java
100.00% <0.00%> (ø)

...java/seedu/address/logic/commands/ListCommand.java
100.00% <0.00%> (ø)

.../seedu/address/logic/commands/ShortcutCommand.java
0.00% <0.00%> (ø)

...edu/address/logic/commands/AddShortcutCommand.java
0.00% <0.00%> (ø)

.../address/logic/commands/RemoveShortcutCommand.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
55.78% <0.00%> (+3.15%)
:arrow_up:

Continue to review full report at Codecov.

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


align: heavy distortion

Hello,
I have issues with the alignment of focus-stack. (I use it regulary with --align-only).
Some image stacks, notably those from microscopic  capture, become heavily distorted.
If I add option --global-align, it becomes better, but still not good.
I've uploaded an example that is even better aligned if I don't align at all: https://e1.pcloud.link/publink/show?code=XZHmdYZlHYAeNKEzCX4sNhMuLJBIzcJfsY7
I assume one reason for the distortion is that regular macro images need some size adjustment due to different camera or lens positions.
However, microscopic captures would not need that.
I want to ask you if you could check this. My issue might already be solved if there is an option to disable distortion at all.
focus-stack 1.3-18-g92ec4a2, built Nov  3 2022 17:05:15
Compiled with OpenCV version 4.5.1

Hmm, I get the same problem with that image set.
One thing that I notice is that there is quite a bit of dust on the sensor that moves in relation to the actual image content, but even that shouldn't cause such large errors.
I noticed that if I comment out the pre-alignment step on task_align.cc line 76, it works better for some reason:
 /* match_transform(256, true); */

That should be pretty much no-op when the stack is quite well aligned to start with, but it ends up messing up the alignment instead.
I'll try to find out why this happens.


Slightly refactor pkg/output

This extracts main.getLogger to output.New and unexports the status constants from the output package.

thanks! Clashed with a few changes I did, so I refactored this and pushed it here https://github.com/yannh/kubeconform/commit/ea8ecafa3814953e00f04d067ccb14eec89b8469  - also un-exported output.textOutput and output.jsonOutput :+1:


updated sdk version and updated tests

Related command
az sql server ms-support audit-policy show
Description
Updating DevopsAudit Api version
Testing Guide
Run az sql server ms-support audit-policy show command.
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

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

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

sql


set amplitude range from 0V to 20V

I need to set the amplitude over 10V. For that the amplitude range has to be set from 0V to 20V.

Merged, Thanks for the help :-)


Anyway to specify the real client ip like dig -subnet option in this tool?

Hi team,
Thanks for providing the awesome tool for DNS performance testing.
Is there any way to specify the real client ip like dig -subnet option in this tool?
I see there is a -e option but I have no idea on how to use it to simulate the subnet option in EDNS, any example would be appreciated!

You can construct any EDNS0 option with -e code:hex-payload, you need to create the hex payload of the ECS (RFC 7871) yourself. If you create a script to generate ECS as hex then I can add it for others to use.

Just added a small script to generate ECS options, have a look at https://github.com/DNS-OARC/dnsperf/tree/develop/contrib/ecs-gen

Thanks, it works well!


Must not accept password w/o username

Compatibility testing vernemq on OS X with https://github.com/ckrey/MQTT-Client-Framework

[MQTT-3.1.2-22]
If the User Name Flag is set to 0, the Password Flag MUST be set to 0

confirmed: still in 0.9.4

@dergraf did we do anything to fix this issue? If not, I'll put it on the backlog, seems like a rather easy one to fix.

I can help with this one, is it still an issue? I created a plugin that handles that, so probably just need a small copy paste Pull Request.

Thanks for your offer. And your fix is very much appreciated. I'd start im
erlio/vmq_commons src/vmq_parser.erl for fixing this bug as it is related
to the MQTT parser.
Am 15.09.2016 5:22 vorm. schrieb "Dairon Medina C." <
<EMAIL_ADDRESS>
I can help with this one, is it still an issue? I created a plugin that
handles that, so probably just need a small copy paste Pull Request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/erlio/vernemq/issues/8#issuecomment-247223596, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJfBAj-JavoxaeT5D_qPMDqm-VnsEBjks5qqLn_gaJpZM4Evd8J
.


Feature_Request: No Results Found

Is your feature request related to a problem? Please describe.
If the User enters the wrong name in the search bar then it should be show the text No Results Found
Describe the solution you'd like.

I want to show the No Results Found text in the search bar section
Describe alternatives you've considered

I want to add the No Results Found text with an illustration image also as it user friendly.
Additional context (Mandatory )
Actual

expected

Are you contributing under any open-source program ?

I would like to work on this. Please could you assign me this issue under GSSOC'24

@SrinivasDevolper I have assigned you . You can start working on this issue.

Thank you for assigned this issue, I try to solve it better


Strikethrough

printf "\e[9mstrikethrough\e[0m\n"
works in st doesn't in dvtm

Strikethrough text is not currently supported by ncurses attributes
http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/attrib.html
Thus this is an upstream issue.

Just wondering how st/xterm achieve strike-through...
FWIW rxvt-unicode doesn't seem to support this feature either.


Error with User resolver validate

Hi,
resolvers\chat.js
The validate method expect two parameters:
await Joi.validate(args, startChat(userIds), { abortEarly: false })
With correction
await Joi.validate(args, startChat(args), { abortEarly: false })

startChat(userId) is a bit unique in that it takes the ID of the user that should be absent from userIds array. In other words, it's the signed-in user's ID. It gets pushed to the array later on
userIds.push(userId)

I exclude it on purpose to make validation easier. Hope this clarifies it.


[1.6.0] Precondition Failure in HTTPRequestStateMachine+Demand

Hello,
since upgrading to 1.6.0 of AHC my server app is experiencing a new crash that seems to be related to a precondition failure in AHC. I haven't dug deeper into it, but have a stack trace for you (see below).
I am using AHC through SOTO to download files from AWS S3.
{
        "package": "async-http-client",
        "repositoryURL": "https://github.com/swift-server/async-http-client.git",
        "state": {
          "branch": null,
          "revision": "16ad7588b1bb1a3000524785b9217e238f0c2ea8",
          "version": "1.6.0"
        }
}

If you need anything else, let me know.
Swift: swift:5.4-focal
Build: swift build -c release -Xswiftc -static-stdlib
System: Docker FROM ubuntu:20.04
Received signal 4. Backtrace:
0x55e95079a862, Backtrace.(printBacktrace in _B82A8C0ED7C904841114FDF244F9E58E)(signal: Swift.Int32) -> () at /app/.build/checkouts/swift-backtrace/Sources/Backtrace/Backtrace.swift:66
0x7f9c864de3bf
0x55e950749ce6, Swift runtime failure: precondition failure at /app/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPRequestStateMachine+Demand.swift:0
0x55e950749ce6, AsyncHTTPClient.HTTPRequestStateMachine.ResponseStreamState.channelReadComplete() -> Swift.Optional<NIOCore.CircularBuffer<NIOCore.ByteBuffer>> at /app/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPRequestStateMachine+Demand.swift:98
0x55e9507132ba, closure #1 (inout AsyncHTTPClient.HTTPRequestStateMachine.(State in _7B06F6A0870FE3257BBA6A8046D00B43)) -> AsyncHTTPClient.HTTPRequestStateMachine.Action in AsyncHTTPClient.HTTPRequestStateMachine.channelReadComplete() -> AsyncHTTPClient.HTTPRequestStateMachine.Action at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPRequestStateMachine.swift:438
0x55e9507132ba, reabstraction thunk helper from @callee_guaranteed (@inout AsyncHTTPClient.HTTPRequestStateMachine.(State in _7B06F6A0870FE3257BBA6A8046D00B43)) -> (@owned AsyncHTTPClient.HTTPRequestStateMachine.Action) to @escaping @callee_guaranteed (@inout AsyncHTTPClient.HTTPRequestStateMachine.(State in _7B06F6A0870FE3257BBA6A8046D00B43)) -> (@out AsyncHTTPClient.HTTPRequestStateMachine.Action) at /app/<compiler-generated>:0
0x55e9507132ba, generic specialization <AsyncHTTPClient.HTTPRequestStateMachine.Action> of AsyncHTTPClient.HTTPRequestStateMachine.(avoidingStateMachineCoW in _7B06F6A0870FE3257BBA6A8046D00B43)<A>((inout AsyncHTTPClient.HTTPRequestStateMachine.(State in _7B06F6A0870FE3257BBA6A8046D00B43)) -> A) -> A at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPRequestStateMachine.swift:683
0x55e9507132ba, AsyncHTTPClient.HTTPRequestStateMachine.channelReadComplete() -> AsyncHTTPClient.HTTPRequestStateMachine.Action at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTPRequestStateMachine.swift:437
0x55e9507132ba, closure #1 (inout AsyncHTTPClient.HTTP1ConnectionStateMachine.(State in _B4B57A38397CC16E2BA1CEE9E9DDA370)) -> AsyncHTTPClient.HTTP1ConnectionStateMachine.Action in AsyncHTTPClient.HTTP1ConnectionStateMachine.channelReadComplete() -> AsyncHTTPClient.HTTP1ConnectionStateMachine.Action at /app/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ConnectionStateMachine.swift:287
0x55e95070c5e7, reabstraction thunk helper from @callee_guaranteed (@inout AsyncHTTPClient.HTTP1ConnectionStateMachine.(State in _B4B57A38397CC16E2BA1CEE9E9DDA370)) -> (@owned AsyncHTTPClient.HTTP1ConnectionStateMachine.Action) to @escaping @callee_guaranteed (@inout AsyncHTTPClient.HTTP1ConnectionStateMachine.(State in _B4B57A38397CC16E2BA1CEE9E9DDA370)) -> (@out AsyncHTTPClient.HTTP1ConnectionStateMachine.Action) at /app/<compiler-generated>:0
0x55e95070c5e7, generic specialization <AsyncHTTPClient.HTTP1ConnectionStateMachine.Action> of AsyncHTTPClient.HTTP1ConnectionStateMachine.(avoidingStateMachineCoW in _B4B57A38397CC16E2BA1CEE9E9DDA370)<A>((inout AsyncHTTPClient.HTTP1ConnectionStateMachine.(State in _B4B57A38397CC16E2BA1CEE9E9DDA370)) -> A) -> A at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ConnectionStateMachine.swift:345
0x55e95070c5e7, AsyncHTTPClient.HTTP1ConnectionStateMachine.channelReadComplete() -> AsyncHTTPClient.HTTP1ConnectionStateMachine.Action at .build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ConnectionStateMachine.swift:286
0x55e95070c5e7, AsyncHTTPClient.HTTP1ClientChannelHandler.channelReadComplete(context: NIOCore.ChannelHandlerContext) -> () at /app/.build/checkouts/async-http-client/Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ClientChannelHandler.swift:126
0x55e950ac317a, NIOCore.ChannelHandlerContext.(invokeChannelReadComplete in _F5AC316541457BD146E3694279514AA3)() -> () at /app/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1698
0x55e950ab8519
0x55e950ab8a75, protocol witness for NIOCore._ChannelInboundHandler.channelReadComplete(context: NIOCore.ChannelHandlerContext) -> () in conformance NIOCore.ByteToMessageHandler<A> : NIOCore._ChannelInboundHandler in NIOCore at /app/<compiler-generated>:0
0x55e950ac317a, NIOCore.ChannelHandlerContext.(invokeChannelReadComplete in _F5AC316541457BD146E3694279514AA3)() -> () at /app/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1698
0x55e950ac3193, NIOCore.ChannelHandlerContext.(invokeChannelReadComplete in _F5AC316541457BD146E3694279514AA3)() -> () at /app/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1700
0x55e950ac0259
0x55e950c64df6, NIOSSL.NIOSSLHandler.(doFlushReadData in _4C55B9A85907C0CB3F4E7FBD2C1C5493)(context: NIOCore.ChannelHandlerContext, receiveBuffer: NIOCore.ByteBuffer, readOnEmptyBuffer: Swift.Bool) -> () at /app/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLHandler.swift:435
0x55e950c638ea, NIOSSL.NIOSSLHandler.channelReadComplete(context: NIOCore.ChannelHandlerContext) -> () at /app/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLHandler.swift:163
0x55e950ac317a, NIOCore.ChannelHandlerContext.(invokeChannelReadComplete in _F5AC316541457BD146E3694279514AA3)() -> () at /app/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1698
0x55e950ac4182
0x55e950c35f5a
0x55e950c3bab7, generic specialization <NIOPosix.Socket> of NIOPosix.BaseSocketChannel.readEOF0() -> () at .build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel.swift:988
0x55e950c3bab7, generic specialization <NIOPosix.Socket> of NIOPosix.BaseSocketChannel.readEOF() -> () at .build/checkouts/swift-nio/Sources/NIOPosix/BaseSocketChannel.swift:974
0x55e950c3bab7, generic specialization <NIOPosix.Socket> of protocol witness for NIOPosix.SelectableChannel.readEOF() -> () in conformance NIOPosix.BaseSocketChannel<A> : NIOPosix.SelectableChannel in NIOPosix at /app/<compiler-generated>:965
0x55e950c3bab7, function signature specialization <Arg[2] = Dead> of generic specialization <NIOPosix.SocketChannel> of NIOPosix.SelectableEventLoop.handleEvent<A where A: NIOPosix.SelectableChannel>(_: NIOPosix.SelectorEventSet, channel: A) -> () at /app/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:378
0x55e950c3b522, reabstraction thunk helper from @callee_guaranteed (@guaranteed NIOPosix.SelectorEvent<NIOPosix.NIORegistration>) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.SelectorEvent<NIOPosix.NIORegistration>) -> (@error @owned Swift.Error) at /app/<compiler-generated>:0
0x55e950c3b522, partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@guaranteed NIOPosix.SelectorEvent<NIOPosix.NIORegistration>) -> (@error @owned Swift.Error) to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.SelectorEvent<NIOPosix.NIORegistration>) -> (@error @owned Swift.Error) at /app/<compiler-generated>:0
0x55e950c389ac, generic specialization <NIOPosix.NIORegistration> of NIOPosix.Selector.whenReady0(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent<A>) throws -> ()) throws -> () at .build/checkouts/swift-nio/Sources/NIOPosix/SelectorEpoll.swift:252
0x55e950c3633f, generic specialization <NIOPosix.NIORegistration> of NIOPosix.Selector.whenReady(strategy: NIOPosix.SelectorStrategy, onLoopBegin: () -> (), _: (NIOPosix.SelectorEvent<A>) throws -> ()) throws -> () at .build/checkouts/swift-nio/Sources/NIOPosix/SelectorGeneric.swift:286
0x55e950c3633f, closure #2 () throws -> () in NIOPosix.SelectableEventLoop.run() throws -> () at /app/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:447
0x55e950c3633f, reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) at /app/<compiler-generated>:0
0x55e950c3633f, generic specialization <()> of NIOPosix.withAutoReleasePool<A>(() throws -> A) throws -> A at /app/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:28
0x55e950c3633f, NIOPosix.SelectableEventLoop.run() throws -> () at /app/.build/checkouts/swift-nio/Sources/NIOPosix/SelectableEventLoop.swift:446
0x55e950c21627, static NIOPosix.MultiThreadedEventLoopGroup.(runTheLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(thread: NIOPosix.NIOThread, canEventLoopBeShutdownIndividually: Swift.Bool, selectorFactory: () throws -> NIOPosix.Selector<NIOPosix.NIORegistration>, initializer: (NIOPosix.NIOThread) -> (), _: (NIOPosix.SelectableEventLoop) -> ()) -> () at /app/.build/checkouts/swift-nio/Sources/NIOPosix/MultiThreadedEventLoopGroup.swift:87
0x55e950c21627, closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, selectorFactory: () throws -> NIOPosix.Selector<NIOPosix.NIORegistration>, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop at /app/.build/checkouts/swift-nio/Sources/NIOPosix/MultiThreadedEventLoopGroup.swift:107
0x55e950c23dd5, partial apply forwarder for closure #1 (NIOPosix.NIOThread) -> () in static NIOPosix.MultiThreadedEventLoopGroup.(setupThreadAndEventLoop in _C2B1528F4FBA68A3DBFA89DBAEBE9D4D)(name: Swift.String, selectorFactory: () throws -> NIOPosix.Selector<NIOPosix.NIORegistration>, initializer: (NIOPosix.NIOThread) -> ()) -> NIOPosix.SelectableEventLoop at /app/<compiler-generated>:0
0x55e950c240c9, reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) at /app/<compiler-generated>:0
0x55e950c23ded, partial apply forwarder for reabstraction thunk helper from @escaping @callee_guaranteed (@guaranteed NIOPosix.NIOThread) -> () to @escaping @callee_guaranteed (@in_guaranteed NIOPosix.NIOThread) -> (@out ()) at /app/<compiler-generated>:0
0x55e950c507da, closure #1 (Swift.Optional<Swift.UnsafeMutableRawPointer>) -> Swift.Optional<Swift.UnsafeMutableRawPointer> in static NIOPosix.ThreadOpsPosix.run(handle: inout Swift.Optional<Swift.UInt>, args: NIOPosix.Box<(body: (NIOPosix.NIOThread) -> (), name: Swift.Optional<Swift.String>)>, detachThread: Swift.Bool) -> () at /app/.build/checkouts/swift-nio/Sources/NIOPosix/ThreadPosix.swift:105
0x7f9c864d2608
0x7f9c85928292
0xffffffffffffffff

Hi @t089, thanks so much for reporting this. I'll prepare a patch now and I think we should be able to release a hotfix today.

Thanks for the quick fix, @fabianfett!

New version 1.6.1 released!


CairoSVG

I have this error:

but:

I have this error:[ERROR] SVG conversion is enabled but cairosvg does not appear to be installed. Consider configuring Inkscape under Asset settings in the GUI. but I installed

Is it possible that you are running sb3topy with a different Python version than what pip is using? It might help if you use pip3 rather than just pip, depending on your installation.
With the latest release of sb3topy, SVG conversion is optional. You can also just use Pygame's built-in SVG support. The resolution will be a worse though. You should be able to disable SVG conversion in settings to hide the error.


Bug: Multiline secrets get mangled

Is there an existing issue for this?

[X] I have searched the existing issues

Orb version
1.4.0
Current behavior
The orb assumes that secret values retrieved from doppler are not multi-line. Multi-line secrets are parsed incorrectly.
Minimum reproduction config
Steps to reproduce:

Set up a multiline secret in doppler
Use the doppler orb to load

Other
No response

Started to experiment with a fix. Parsing JSON in Bash is a nightmare. Parsing in Python is fine, but python is not available on Alpine. Parsing in JQ is simple enough, but needs installation.
See branch multiline_secrets for progress so far. Need to add tests.


Update droid build script

Reflect the a01 droid drop path change
Tag the image to latest in Travis build
Using ADD command to pull a01droid executable in Dockerfile instead
of script.

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/5687
This is an experimental preview for @microsoft users.


toast() with position absolute or fixed make the toast always opacity 0

I made a codesandbox for this here.
What I were trying to achieve is let toast follow mouse click position. So I need to set the position to absolute or fixed and { left: e.clientX, top: e.clientY }. Either setting position by className or style cause the toast element always opacity 0.

Hi there!
The problem comes from the ToastWrapper trying to determine the height of its content, which is not possible if it is set to position absolute. As long as there is no height, it assumes the content is not ready yet so it defaults to opacity 0.
https://github.com/timolins/react-hot-toast/blob/031a99c7f91fc04458dd43c6c2825aa745250c4c/src/components/toaster.tsx#L122-L136
If you want to give your toasts an absolute position you can either:

Change the position of the toaster itself. <Toaster containerStyle={{ position: "absolute" }}/>
Go headless with useToaster() for full flexibility

Related #229


location of DefDecl maybe null

diff --git a/autoload/lsp/handlers.vim b/autoload/lsp/handlers.vim
index 80f3ed8..47cab24 100644
--- a/autoload/lsp/handlers.vim
+++ b/autoload/lsp/handlers.vim
@@ -131,20 +131,18 @@ enddef
 # process the 'textDocument/definition' / 'textDocument/declaration' /
 # 'textDocument/typeDefinition' and 'textDocument/implementation' replies from
 # the LSP server
 # Result: Location | Location[] | LocationLink[] | null
 def ProcessDefDeclReply(lspserver: dict<any>, req: dict<any>, reply: dict<any>): void
   var location: dict<any>
-  if reply.result->type() == v:t_list
-    if !reply.result->empty()
-      location = reply.result[0]
-    else
-      location = {}
-    endif
-  else
+  if reply.result->type() == v:t_list && !reply.result->empty() && reply.result[0]->type() == v:t_dict
+    location = reply.result[0]
+  elseif reply.result->type() == v:t_dict
     location = reply.result
+  else
+    location = {}
   endif

   symbol.GotoSymbol(lspserver, location, req.method)
 enddef

 # process the 'textDocument/switchSourceHeader' reply from the LSP server

Which language server returns a dictionary for the symbol location? Can you convert this into a pull request?

it is perlnavigator a perl lsp, but actually I don't know how to make it work with this lsp client.
it did not return a dictionary, but null which cannot assign it to location which is a dict<any> type. (at least the err said that, though I don't know be assigned with a null should be ok or forbidden)
my local had some self-modification which had some differences like yours, so perhaps patch was a quick and easy one for me...
// or pls review the patch, if it is ok, then I would try to give you a pr tomorrow.
--
shane.xb.qian


HIVE-2397: Nix yaml-patch

HIVE-2397:
Remove uses of github.com/krishicks/yaml-patch, which is unmaintained.
Replace by wrapping gopkg.in/evanphx/json-patch.v4 with a new function to:

Convert YAML to JSON
Convert PatchEntity -- see below -- to a patch suitable to...
...use json-patch to patch the JSON
Convert back to YAML

This allowed us to convert most of the code previously using yaml-patch with relatively little disruption to the code flow.
In anticipation of future work, we decided to reuse PatchEntity. This is a hive API type originally designed to patch install-config templates for ClusterPool clusters; but it is suitable for this purpose since it represents RFC6902 patches. However...
HIVE-2214:
In this effort, it became necessary to add support for complex (non-string) types to PatchEntity. We did this by adding a new member, ValueJSON, which accepts a string representing encoded JSON. Value can still be used for string types.
Also:
In passing, we noticed that PatchEntity.Op, which is restricted to a discrete set of values per the RFC, was being validated by webhook. We've changed this to use enum schema validation instead.
HIVE-2397
HIVE-2214

/assign @dlom

/lgtm

/cc @lleshchi


Composite Grammar

I would like to build a grammar from several lexer files so to warm up I tried the following:
//Root.g
grammar Root;
options { language = Ruby; }
import Delegate;
a : 'int' ID ;

//Delgate.g
lexer grammar Delegate;
options { language = Ruby; }
ID : 'a'..'z'+ ;
INT : '0'..'9'+ ;
WS : (' '|'\n')+ {skip();} ;

and got the following messages:

me@mycomputer:~$ antlr4ruby  Root.g
warning(24):  template error: context [/outputFile /rootGrammarOutputFile /lexer /_sub155 /delegateLexerRule] 3:94 no such property or can't access: null.attributes

It seems that antrl3.2 does not support composite grammar for ruby.

me@mycomputer:~$ antlr3 Root.g
error(10):  internal error: group Ruby does not satisfy interface ANTLRCore: mismatched arguments on these templates [treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType, ASTLabelType, superClass, members, filterMode)]

So what options do I have?

I've just run into this problem too.
It looks like its not actually an issue though, the file RootParser.rb seems to be created with the correct variables.
I found an issue on (stackoverflow)[http://stackoverflow.com/a/15578914] that suggests it was a problem in 3.5.


Indentation glitch in certain scopes but not others.

Hey there! I've just noticed a somewhat strange glitch in how Atom responds to Tab in certain scopes---in particular Markdown, but I haven't cycled through them all yet. Setting the tab length to four spaces, either in .gfm.source or globally, causes Atom to insert four spaces but visually snap the cursor back to the middle of the tabstop, roughly two spaces in. From there, typing causes the cursor to jump back and insert text at the expected position about half of the time, and about half the time to drop text right where it appears to be, with two spaces before the insertion and two spaces trailing it. This also happens when I type four spaces the old-fashioned way.
I dropped a quick screencast demonstrating the hiccup at https://cloudup.com/cUq4wn72BsS. It was recorded with a brand-new, untampered-with Atom setup: I reinstalled the binary to be safe, and moved my ~/.atom folder out of $HOME. The same behavior occurred, both without any third-party packages present and in safe mode.
So far I can attest that this doesn't happen in plain-text mode, in Python, or with the scopes created by the language-latex package, but I can't generalize beyond that yet.
Please let me know if I can provide any more or any better information about the problem! And thanks in advance for your help.

I can partially reproduce this on Atom 0.205.0-adc08d3, Ubuntu 15.04.  I could only reproduce the "typing causes the cursor to jump back and insert text at the expected position" result (maybe because I only tried indenting a few lines).

Hey there @phyllisstein, a new issue was created recently about this same issue that got a bit more attention than this one.  For the sake of keeping discussion in one place, could you please go state your findings at #7160 please?  Thanks.


SniHandler for HTTP/3

Is it possible to implement sni and how?

not at the moment...

@normanmaurer
There is a commit for SNI support
https://github.com/netty/netty-incubator-codec-quic/pull/313
but i need to pass sniHostname to custom handler. For http1/2, there is a SniCompletionEvent in AbstractSniHandler, for example. How can I pass hostname?
Can I help via pull request? Is it possible to do this via an event or can I give access to the fields? For example,

((QuicheQuicSslSessionContext) ch.parent().sslEngine().getSession().getSessionContext()).context

and link the information I need through the attribute of sslContext.


nodes out of space again

Hi @marcosnils - I'm setting up for a class in a couple hours, and I'm finding nodes that either can't start instances or that die a short while later with errors like:
Failed to pull image "rancher/rancher:v2.5.1": rpc error: code = Unknown desc = failed to register layer: write /var/lib/docker/vfs/dir/93bde6ac30fdd4f0f56c847506156c6fc92b03b0642da036e4b92cab6aee04a0/usr/bin/git: no space left on device

Can you make a quick pass and run the space recovery job? Thanks.
If you need help managing the environment, I'm happy to assist.

I'm setting up for a class in a couple hours, and I'm finding nodes that either can't start instances or that die a short while later with errors like:

I can make some space in the environment now. But take into account that you're not supposed to expect any kind of SLA about PWK or PWD. Sometimes the environment is going to be tight and you just have to wait to use it

understood, and thank you for maintaining it and offering it as a free service.
however, it's frustrating to be using it for 15 minutes and then have it collapse with errors like:
Error setting up pivot dir: mkdir /var/lib/docker/vfs/dir/14538ea9869a75a9472e0fff4c57aa3ce764c19e1502dec4de7520a01536cde4/.pivot_root142362186: disk quota exceeded

i don't expect an SLA, but it's not unreasonable to expect it to work. if PWK accepts new sessions when it can't service them, is that a valuable service or a waste of time? if this is people's opportunity to experience docker and kubernetes, do we want their experience to be one of frustration?
these are rhetorical questions but still worth thinking about. i won't keep going to an ice cream parlor if every time i walk through the door i get hit in the face with a brick.

these are rhetorical questions but still worth thinking about. i won't keep going to an ice cream parlor if every time i walk through the door i get hit in the face with a brick.

I agree and unfortunately, disk space started becoming an issue when we launched k8s workloads due to the amount of images and disk space k8s requires just to run. I agree we could do a better job at resource allocation, but unfortunately that's the best we can do for the moment given the contributors and hours we can allocate to the OS project.

that would be great. if we can go through it together, i'll make a video about it for others that want to do the same. pls shoot me an email at<EMAIL_ADDRESS>to coordinate.


Make a checklist of TODOs when creating a new liveblog

Training
Docs
Default share image
Branches
etc
plus links to relevant docs?

I think this doc covers the stuff we should be doing. https://docs.google.com/document/d/1lHyuhAAG_bEuxrzByB8OYkyhjNJ69lhFUhbXJL58W5M/edit# I tend to scan it, when I spin this up, but reading more closely would actually have answered several questions we had last night.

One thing to add to that doc, then: a reminder to update the default share image (and where to change that). Joe/Miles added that feature, post-Juan.


Update upstream version to snapshot

@breedx-splk maybe comment driven automation that would let you update licenses on the pr like we used to have in the upstream?


Not working with hyper 0.12.6

the trait follow_redirects::ClientExt<_, _> is not implemented for hyper::Client<hyper_tls::HttpsC onnector<hyper::client::HttpConnector>>
Is there a plan for updating this library? Is it possible?

It is very easy. Just change Cargo.toml to hyper = "*"
Obviously there should be some version checking as it might not work with very old versions of hyper but you get the idea.


How to access link with method other than get?

https://elixirforum.com/t/how-to-access-link-with-method-other-than-get-within-livesvelte/64331
Has a solution, but is there an easier way or does this need to be documented?
The question
Hi, I’m trying to send a DELETE request to logout my user. I have phx.gen.auth in my project. It’s pretty straight forward in LiveView with .link, but I’m having a hard time replicating this with using LiveSvelte. I thought about using phx-click event, but the logout code from the session controller doesn’t have what it needs.
Is there a way to do some kind of delete request to the controller within the handle_event?
Or is there some easier way to handle this?

I don't think there's an easy way here with what's available. I'd be up for an improvement on this front though


tests: Only test help.1

Removes testing README.md from the tests as help.1 is now built from README.md.

Thank you


Having trouble compiling with the nightly

Hi there,
I am trying to follow your tutorial, however I cannot build using the current nightly.
   Compiling stm32-blue-pill-rust v0.3.2 (/home/daniel/Documents/stm32-blue-pill-rust)
error: linking with `rust-lld` failed: exit code: 1
  |
  = note: "rust-lld" "-flavor" "gnu" "-L" "/home/daniel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7m-none-eabi/lib" "/home/daniel/Documents/stm32-blue-pill-rust/target/thumbv7m-none-eabi/release/deps/stm32_blue_pill_rust-ceecd47cc1e603d6.stm32_blue_pill_rust.62qs9zfw-cgu.0.rcgu.o" "-o" "/home/daniel/Documents/stm32-blue-pill-rust/target/thumbv7m-none-eabi/release/deps/stm32_blue_pill_rust-ceecd47cc1e603d6" "--gc-sections" "-L" "/home/daniel/Documents/stm32-blue-pill-rust/target/thumbv7m-none-eabi/release/deps" "-L" "/home/daniel/Documents/stm32-blue-pill-rust/target/release/deps" "-L" "/home/daniel/Documents/stm32-blue-pill-rust/target/thumbv7m-none-eabi/release/build/cortex-m-469028071b05c1d2/out" "-L" "/home/daniel/Documents/stm32-blue-pill-rust/target/thumbv7m-none-eabi/release/build/cortex-m-rt-251c1012784a0b39/out" "-L" "/home/daniel/Documents/stm32-blue-pill-rust/target/thumbv7m-none-eabi/release/build/cortex-m-semihosting-368b838bdfe59b68/out" "-L" "/home/daniel/Documents/stm32-blue-pill-rust/target/thumbv7m-none-eabi/release/build/stm32f103xx-hal-3f1d32b90e85fa6f/out" "-L" "/home/daniel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7m-none-eabi/lib" "--start-group" "-Bstatic" "/tmp/rustcVnOO6J/libcortex_m_semihosting-7f25fe3528a0388a.rlib" "/tmp/rustcVnOO6J/libcortex_m_rt-62e8324616d9e2b3.rlib" "/tmp/rustcVnOO6J/libcortex_m-4c2b7b6ec6701059.rlib" "--end-group" "/home/daniel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7m-none-eabi/lib/libcompiler_builtins-58f8e0c368d29ff6.rlib" "-nostartfiles" "-Wl,-Tlink.x" "-Bdynamic"
  = note: rust-lld: error: unknown argument: -nostartfiles
          rust-lld: error: unknown argument: -Wl,-Tlink.x

error: aborting due to previous error

error: Could not compile `stm32-blue-pill-rust`.

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

I do not think this is a problem with your workspace, but rather something with rust-lld. Any thoughts?

switching to the gnu linker yields this error.
  = note: arm-none-eabi-ld:
          BUG(cortex-m-rt): the reset vector is missing
          arm-none-eabi-ld:
          BUG(cortex-m-rt): the exception vectors are missing

You can modify .cargo/config to remove those arguments.
I don't know what the equivalent are for rust-lld though :disappointed:

I created a pull request (#2) for this bug. Fell free to use my fork until this is merged.


feat: move to playwright and docker improvements

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.018%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
12060

Relevant Lines:
15799

💛  - Coveralls


Hi, just want to do one time donation via PayPal $5USD.  Do not see option for you.  Only bunq or pay monthly.

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Hello,
Thank you for considering a donation.
I have just added a PayPal option

Hi,
Thanks for your reply.
I could not find place you added for PayPal donation.
[cid:D1459D40-570D-4510-B6DE-74E488370D04-L0-001]
For a couple others, I was able to donate via PayPal,
[cid:1F966E10-5E56-4CC5-AC5B-5FE8FCE9A194-L0-001][cid:3439B4C0-5928-4272-8B4F-7695D44A59EE-L0-001]
If you want, I can try to use your email address to send money via PayPal.
Let me know if that’s ok before I do, and thanks.
Vince
Sent from my iPad
On Oct 28, 2020, at 4:25 AM, Milo Cesar<EMAIL_ADDRESS>wrote:

Hello,
Thank you for considering a donation.
I have just added a PayPal option
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/milo526/homebridge-tuya-web/issues/105#issuecomment-717777311, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARQ4PQKESTJPWRRIPNVLM43SM7IQJANCNFSM4TB2ZWAA.

Please see https://paypal.me/MCesar


Missing clarification regarding verified domains under the same Entra ID Tenant

[Enter feedback here]
Will be great to add to the document the same clarification as the one present here https://learn.microsoft.com/en-us/entra/external-id/cross-tenant-access-overview#direct-federation-for-microsoft-entra-id-verified-domains  "Ensure that the domain is not verified in the same tenant in which you are trying to set up the Direct federation configuration."
As this is our "Official Document" on how to set up SAML/Ws-Fed idp federation and it is not added into the documents "requirements or limitations"
Adding some confusion for customers trying to set up SAML idp with a verify domain in the same Entra ID Tenant
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7b1d9428-2dbb-c80b-c2cd-b4841d3d8bd3
Version Independent ID: 20af5f8d-479c-66ec-aacd-d3f9cb79c814
Content: Federation with a SAML/WS-Fed identity provider (IdP) for B2B - Microsoft Entra External ID
Content Source: docs/external-id/direct-federation.md
Service: entra-external-id
GitHub Login: @msmimart
Microsoft Alias: mimart

@darrenCampos
Thanks for your feedback! We will investigate and update as appropriate.

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


Support for automatic retry

Motivation

Apply retryer to BaseClient
#46

Modifications

Use third-party library, tenacity, to retry at client. It helps to reduce boiler plate and feature implementations such as exponential backoff.

Add related tests, test_get_with_retry_by_response, test_get_with_retry_by_client at "test_base_client.py".

Bump version to 0.4.0

@ikhoon After this PR, I would like to publish 0.4.0. If you have different opinion, please tell me about the idea.

misc.

Refactor not to write repetitive hard coded.
Apply retries option for integration test client for flaky tests. #42

Result

Close #46

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

Project coverage is 81.40%. Comparing base (045d77a) to head (0d9f565).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #48       +/-   ##
===========================================
- Coverage   93.74%   81.40%   -12.34%
===========================================
  Files          23       23
  Lines         703      710        +7
===========================================
- Hits          659      578       -81
- Misses         44      132       +88

Flag
Coverage Δ

81.40% <100.00%> (?)

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

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

I would like to publish 0.4.0. If you have different opinion, please tell me about the idea.

We are on the same page. :-)

if main branch testing fixed. I think it's good to deploy

if main branch testing fixed

@darjeeling I hope so. It may help tests to be more robust. Still tests for watch seems flaky.


Support resources of cert manager in v1alpha2/v1alpha3

The Harbor operator cannot be installed in the Kubernetes environment with cert manager v0.15.2 installed.
The cert manager v0.15.2 doesn't support v1 resources while the Harbor operator creating the v1 resources when starting up

Shall we really support cert-manager < 1.0 ?
PS: 1.2 is already released if I am not wrong
PPS: adding v1alpha2 and v1alpha3 to the scheme of the operator should do the trick (see #512)


Need to allow overwriting zips

Zips of the same name can't are overridden and prevent the submission from being performed (IOException).

Solved by @gabrielfern. #11


Helper does not work with stil/phoebe required in project

If my composer.json contains:
"stil/phoebe": "dev-master#7bef21bca472c01556780d1fc7e32ccc7781480d as 1.0"

in the require array, then running php artisan ide-helper:generate prints the source code for the ide-helper to the terminal screen.
I've tried to debug, but I have absolutely no idea what would cause something like this to happen.

The referenced package is pretty old and absolutely failed to get this working in a "modern" codebase: either conflicts of minimum-stability or conflict with roave/security-advisories or not working with monolog 2.0 and the list probably goes on.
The gist is that the generate output was written to stdout.
@barryvdh I vote for closing this as dupe of https://github.com/barryvdh/laravel-ide-helper/issues/695


Jobs sometimes failing due to timeouts

We have multiple pipelines where we use this action as a preparation step, and sometimes they are failing randomly with timeouts:
> Run alexellis/arkade-get@master
Installing arkade into tool cache
Error: timeout of 2500ms exceeded

Triggering the job again solves the issue, but obviously this cannot be a permanent solution. This timeout value seems to be hardcoded into the action. Is it possible to parameterize this such that we can use custom values?

Hi @mrge-sevket-goekay, glad to hear arkade is providing value to your business.
Please consider becoming a sponsor to support my work on the project.
Now, are you using self-hosted runners?
The timeout is from GitHub itself, nothing to do with our servers or anything we manage:
https://github.com/alexellis/arkade-get/blob/master/index.js#L29
A 2.5s timeout sounds like a potential networking issue to me, or maybe GitHub was encountering an outage at the time?
If you want, we could consider expanding the timeout to 5-10s, however I'd say you should dig into the root cause first.


ScummVM download: could not find suitable release

It does detect my manually installed version but when I try to update I get the error:
RangeError (start): invalid value: Not in inclusive range 0..01:-1
Please note that there's a 2.9.0 folder on the server which currently does not contain an android build. So it should detect that I'm already have the latest version installed.

The error has disappeared now that the 2.9.0 folder contains an android build.


[Question] APIs authentication and JWT token validation with KONG

I plan to use Kong in our project. I'm currently working on a POC to see how we can integrate it in our platform as the main API gateway. I also want to use the JWT plugin for authentication and authorization. I know that all the API calls should go through the Kong gateway to be authenticated. Then, if the authentication is validated they can go to the API.
Clients ---> Kong gateway ----> Apis
The part that is not very clear in my mind is how the APIs and Kong fit together.

Imagine a scenario where a client tries to call directly an API with a token (bypassing the Gateway). How can the API use Kong to validate this token?

How does Kong authenticate the APIs (not the Client)? In the examples I have seen so far, only the authentication of the clients is documented, not the authentication of the APIs that are "protected" by Kong.

API's dont use Kong to validate the JWT, the JWT is validated within Kong and API Providers get extra http headers injected from Kong with the consumer username/id associated to that jwt, API Providers don't have to care about the way the client authenticated(if its oauth2/jwt or whatever, they care about the headers kong sends of who the client is).

API Provider<-> Kong security is not really discussed much in the documentation, out of the box you can use Mutual TLS to a degree see my topic here for a few updates I think Kong needs a few tweaks to get the best configs for Mutual TLS https://github.com/Kong/kong/issues/3047 we went with an alternative for now since nobody likes mutual tls due to cert management pains(biased opinion here). So another way would be something like https://github.com/Optum/kong-upstream-jwt , where you pass back a totally separate JWT (don't confuse with the client->kong jwt authentication) in the headers API Providers can validate to prove the transaction came from gateway and payload was not manipulated.

Good feedback @jeremyjpj0916 !
On question #1, I'll add that you would probably want to configure DNS and networking rules so that it is not possible for a client to directly call an API service, bypassing the gateway. In this arrangement, Kong is the gateway, the gate through which all traffic flows. Arranging things in this manner is what gets you many of the benefits of an API gateway.
I'll close this issue now, as we reserve Github Issues for bug reports only. For further discussion of Kong, please join us at Kong Nation


ENH: Provide GetSpacing/GetOrigin calls that wrap for python

itk::SpatialObjectToImageFilter provided GetSpacing() and GetOrigin() calls that returned double * objects.  That return type is not well supported by SWIG for python wrapping.
Herein we provide GetSpacingVector() and GetOriginPoint() functions that return VectorType and PointType objects from the itk::Image class definition which are nicely wrapped by SWIG for python.
See: https://discourse.itk.org/t/image-spacing-value-interactions-in-itk-python-wrapping/6707

If we add an extra ivar, we might want to print it in PrintSelf method.

Great point - will amend this commit!


support other type lidar

great job!!!
does it support other type lidar, such as velodyne\robosense and so on ?

Hi, thanks for your interest!
To support other types of lidar, some modification works are needed:

You need one external IMU to publish the information. Also, extrinsic information is also needed.
If the point cloud pattern is different from Livox, the feature extraction block needs to de updated accordingly.
The backend for LIOs with different types of lidar is similar.

Bests,

Hi, thanks for your interest!
To support other types of lidar, some modification works are needed:

You need one external IMU to publish the information. Also, extrinsic information is also needed.
If the point cloud pattern is different from Livox, the feature extraction block needs to de updated accordingly.
The backend for LIOs with different types of lidar is similar.

Bests,

thank you for your reply!