Disable minification on specific routes

Hello, I would like to know if there is a way to disable htmlmin in specific routes.
I am creating some txt files with blade, and the minification is breaking the markup.
Thank you very much!

Disabling blade minification is not possible in that way because it's totally got nothing to do with routing.

Disabling the minification middleware is possible though.

There is a way to manually skip minifying a file though, through hacky means. Just include some content that we can't minfy so we skip the whole file.

Anything that matches this: https://github.com/GrahamCampbell/Laravel-HTMLMin/blob/master/src/Minifiers/BladeMinifier.php#L83.

Though, tbh, it would be cool if you could send a PR to that function to get it to recognize your use case and skip such cases.

Thank you @GrahamCampbell
I was planning to extend the BladeMinifier class but adding the dangerous tags in a blade comment did the trick.

txt content
lorem ipsum

{{--

<textarea></textarea>

--}}

Bit of a hack though. I wonder if I should add a way to exclude files by config?

Maybe it could be possible with a custom blade directive, that could output a string recognized in the shouldMinify() preg_match function.

Maybe it could be possible with a custom blade directive

Yeh, but that's no better than just putting that comment hack in the file tbh.


[BUG] Appwrite dataProvider meta.permissions (@refinedev/appwrite)

Describe the bug
Hello,
how to override these default permissions in appwrite dataProvider? I don't want public permissions, only the permissions i set in meta at creation/edition.
  const { saveButtonProps, formProps, form } = useForm<HttpError>({
    meta: {
      readPermissions: [Permission.read(Role.user(identity.$id))],
      writePermissions: [Permission.write(Role.user(identity.$id))],
    },
  });

I was able to walk-around it by making custom dataProviderWrapper that overrides the original create method
  return {
  ...originalDataProvider,
  create: async ({ resource, variables, meta }) => {
    const permissions = [
      // Permission.read(Role.any()),
      // Permission.write(Role.any()),
      ...(meta?.readPermissions ?? [Permission.read(Role.any())]),
      ...(meta?.writePermissions ?? [Permission.write(Role.any())]),
    ];

Steps To Reproduce

create new app

npm create refine-app@latest -- --example data-provider-appwrite

use the following snippet with any roles.

  const { saveButtonProps, formProps, form } = useForm<HttpError>({
    meta: {
      readPermissions: [Permission.read(Role.user(identity.$id))],
      writePermissions: [Permission.read(Role.user(identity.$id))],
    },
  });

Expected behavior
expected behavior is to be able to complete override the meta params.
Packages
    "@refinedev/antd": "^5.37.5",
    "@refinedev/appwrite": "^6.4.7",
    "@refinedev/core": "^4.48.0",
    "@refinedev/devtools": "^1.1.35",
    "@refinedev/kbar": "^1.3.7",
    "@refinedev/nextjs-router": "^6.0.1",
    "@refinedev/react-hook-form": "^4.8.15",

Additional Context
sample after override
export const customDataProvider = (
  appwriteClient: Appwrite,
  options: { databaseId: string } = { databaseId: 'default' }
): Required<DataProvider> => {
  const { databaseId } = options;
  const database = new Databases(appwriteClient);
  const originalDataProvider: Required<DataProvider> = dataProvider(
    appwriteClient,
    {
      databaseId,
    }
  );

  return {
    ...originalDataProvider,
    create: async ({ resource, variables, meta }) => {
      const permissions = [
        // Permission.read(Role.any()),
        // Permission.write(Role.any()),
        ...(meta?.readPermissions ?? [Permission.read(Role.any())]), // new permisions
        ...(meta?.writePermissions ?? [Permission.write(Role.any())]), // new permisions
      ];

      const { $id, ...restData } = await database.createDocument(
        databaseId,
        resource,
        meta?.documentId ?? ID.unique(),
        variables as unknown as object,
        permissions
      );

      return {
        data: {
          id: $id,
          ...restData,
        },
      } as any;
    },
}

Hey @abdelrahman-essawy, it seems appwrite data provider appends permissions, on top of the default ones. It could be updated to have a logic, if user provides permissions, it only uses them.
As a workaround, you can swizzle the data provider and use it. See the documentation here.

@BatuhanW Great!, I will be more than happy to open PR for that, if that's okay.

@abdelrahman-essawy sure thing. Only concern is, this could be a breaking change for existing users (Not sure if it's a valid case tho).
Perhaps, we could add defaultPermissions to the 2nd argument (options), with default value having  Permission.read(Role.any()). This way, existing users wouldn't be affected, and also if someone is using same permissions everywhere, they wouldn't need to pass it to every hook.
Assigning issue to you, looking forward to your PR!

Hey @abdelrahman-essawy discussed with the team, and decided to go with this implementation.

Let's remove all hard-coded inline  Permission.read(Role.any()), Permission.write(Role.any()) from all methods.
Let's have options.defaultPermissions argument as array, but default value should be empty array. (Unline what I said in the previous comment.)
If user passes permission from meta, let's use it hook meta, ignoring options.defaultPermissions completely.

but default values should be empty arrays. (Unline what I said in the previous comment.)

isn't that a breaking change? users who didn't pass anything before expects to have Permission.read(Role.any()), Permission.write(Role.any()) passed by default.
notice that if you passed an empty array of permissions

appwrite will treat it with no permissions at all.

but default values should be empty arrays. (Unline what I said in the previous comment.)

isn't that a breaking change? users who didn't pass anything before, expects to have Permission.read(Role.any()), Permission.write(Role.any()) passed by default.
notice that if you passed an empty array of permissions

appwrite will treat it with no permissions at all.

@BatuhanW hello, what do you think of this ?

Hey @abdelrahman-essawy, there is no different with passing an empty array and Permission.any from AppWrite's side.


feat: add useSubscribedLocalStorage

Description

useLocalStorage with synced value of different tabs by storage event
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as before)

Checklist

[ ] Read the Contributing Guide
[ ] Perform a code self-review
[ ] Comment the code, particularly in hard-to-understand areas
[ ] Add documentation
[ ] Add hook's story at Storybook
[ ] Cover changes with tests
[ ] Ensure the test suite passes (yarn test)
[ ] Provide 100% tests coverage
[ ] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[ ] Make sure types are fine (yarn lint:types).

or another name ? useSyncedLocalStorage ?

Think it would be good if this worked the same as useLocalStorage with the fixes in my PR #1438, but not sure if it's possible to do that in a "wrapping way", so maybe best would be the latter, to add an option. 🤔

Think it would be good if this worked the same as useLocalStorage with the fixes in my PR #1438, but not sure if it's possible to do that in a "wrapping way", so maybe best would be the latter, to add an option. 🤔


responsive grid-cols not compiled

First of all, thanks for this wonderfull project.
I am currently stuck on the following issue:

is compiled into:

This was working with taildwindcss without extra config.
None responsive grid-cols compile correctly.

"svelte-windicss-preprocess": "^3.1.2"

UPDATE:
The issue occurs in a svelte component to which I pass a className prop that is appended to the class attr.
The following works correctly:

While the code below fails:

So, it seems that the {className} syntax causes the issue.


Extend boolean filtering to cli

With #191, booleans can be used in the config file to filter for the presence or absence of entities. This capability was never extended into the cli.
There's a bit more ambiguity built in here: does --filter-suchandsuch space=false mean filter for spaces called "false", or exclude space as an entity? I would lean toward the former and try to find an alternative syntax.
False can be expressed with a blank string: --filter-suchandsuch space=. True is a bit harder, but possibly an asterisk (like a bash wildcard?): --filter-suchandsuch space='*'?

Proposal: --filter-suchandsuch space.{required|optional|none}


owncloud-client: <IP_ADDRESS>87 -> <IP_ADDRESS>54

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/owncloud-client/versions.
meta.description for owncloud-client is: "Synchronise your ownCloud with your computer using this desktop client"
meta.homepage for owncloud-client is: "https://owncloud.org"
meta.changelog for owncloud-client is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS>89 with grep in /nix/store/59gzb9920acs0ib8cp6bcjlcpkm5d937-owncloud-client-<IP_ADDRESS>89
found <IP_ADDRESS>89 in filename of file in /nix/store/59gzb9920acs0ib8cp6bcjlcpkm5d937-owncloud-client-<IP_ADDRESS>89

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
owncloud-client

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/59gzb9920acs0ib8cp6bcjlcpkm5d937-owncloud-client-<IP_ADDRESS>89 \
  --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 owncloud-client https://github.com/r-ryantm/nixpkgs/archive/0742eaec96500bb76339e282680c33e7b01166a1.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/59gzb9920acs0ib8cp6bcjlcpkm5d937-owncloud-client-<IP_ADDRESS>89
ls -la /nix/store/59gzb9920acs0ib8cp6bcjlcpkm5d937-owncloud-client-<IP_ADDRESS>89/bin

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

1 package built:

owncloud-client

Maintainer pings
cc @qknight for testing.

@ofborg eval

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/owncloud-client/versions.
meta.description for owncloud-client is: "Synchronise your ownCloud with your computer using this desktop client"
meta.homepage for owncloud-client is: "https://owncloud.org"
meta.changelog for owncloud-client is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS>54 with grep in /nix/store/r4jrmk8fvw37is9kdzlwmbs8i7bfcgfg-owncloud-client-<IP_ADDRESS>54
found <IP_ADDRESS>54 in filename of file in /nix/store/r4jrmk8fvw37is9kdzlwmbs8i7bfcgfg-owncloud-client-<IP_ADDRESS>54

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
owncloud-client

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/r4jrmk8fvw37is9kdzlwmbs8i7bfcgfg-owncloud-client-<IP_ADDRESS>54 \
  --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 owncloud-client https://github.com/r-ryantm/nixpkgs/archive/988f4d10f51045d61b8382a6e0f4f34f4488f83e.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/r4jrmk8fvw37is9kdzlwmbs8i7bfcgfg-owncloud-client-<IP_ADDRESS>54
ls -la /nix/store/r4jrmk8fvw37is9kdzlwmbs8i7bfcgfg-owncloud-client-<IP_ADDRESS>54/bin

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

1 package built:

owncloud-client

Maintainer pings
cc @qknight for testing.

Result of nixpkgs-review pr 184434 run on x86_64-linux 1

1 package built:

owncloud-client


NYX - sample centering - units

click to center seems to be using wrong units for wrong situations - fix
focus changes appear to be very large - 5 mm. probably due to units mismatch
checkC2C_X also seems to be related to this issue - we were getting Click to center out of bounds on X move. Please mount next sample. when trying to center the sample.
possible solution: gonioUnits - mm or microns, then make sure all calculations are correct

needs to be noted in documentation

Focus change is not essential - should be handled by working on- and off-axis camera centering
However, click-to-center had issues when checkC2C_X failed, which made it impossible to center the sample, thus making the label "high"

working for both mags including click to center and focus buttons. nice work! closing!


Default permission for Subscriber

When I register with Azure DevOps, what default level permission do I get ?
Do I have super user/admin level privileges and permission by default automatically?

Looks like one can check the default permission by going to Organization -> Security.


chore: upgrade dev dependencies

Coverage remained the same at 100.0% when pulling f10205fdd90d935560e24a7c9ea58c92b948834b on iamandrewluca:jaiden into d71c49e867d1901d51d777ad1abd341c5fbb291b on agraboso:master.


ISSUE-#135 pull request

An attempt to fixIssue#135.
Thanks for testing it out.

Again @PKUliubaojian thanks for the patch. Really appreciated.


Wrap 52N service in Wrapper: Critical-Infrastructure

Will not be implemented: no need for this service - neither in async-architecture in general nor in uncertainty-analysis.


Update write_slice and session.segments.len to fix Benchmarks

write_slice set to 10_000 so segments in all three CI environments will be 3

session.segments.len set to > 2 instead of equal to 2

The above changes are required for Benchmarks to work and avoid failures like these where CI panics when the segment does not equal 2:
https://github.com/risc0/risc0/actions/runs/8332180237/job/22800741662

These changes need to be committed before the rest of the bench_pr.yml changes can be tested properly, as that workflow requires checking out the main branch with these changes in them so the initial baseline works. After that,  a reference branch can be checked out and compared.
@flaub @nategraf @ssh-nkar @SchmErik

@morgangibbs87 could you edit this https://github.com/risc0/risc0/pull/1567#issue-2193634588 so that it doesn't include images, when we squash and merge the PR, the image links could get in the commit messages which isn't very helpful when reading commit logs


JSHint Uber PR

I've gone through and made the changes to pass JSHint rules for the current set up and added it to the travis build process so that we should be able to see build status for PR's.
Problems / Questions:

The gulp files lint task is messy in terms of excludes and includes for the glob patterns because I had to skip html files by default and only reference them in the final build of the site. We could fix this by externalising the inline JS and then only run JSHint on the external files. We could still test for inlined JS on travis.

I've added gulp lint:watch for anyone to run while developing (Yes I would expect most problems to be caught by editor plugins - but it's a nice to have)

We don't currently use JSCS, should we add it in?

Awesome. Thanks, @gauntface! I'll take look a the PR and gulpfile structure, but regarding your last question:
JSCS would be very nice, but we would need to run it against the <script> tags in generated HTML files under _site/, and JSCS doesn't support <script> tag extraction: https://github.com/jscs-dev/node-jscs/issues/764
(The reason why I originally went with JSHint instead of or ESLint was that JSHint natively supports <script> extraction, but https://github.com/BenoitZugmeyer/eslint-plugin-html could allow us to switch over to ESLint.)

If we extracted javascript from the pages, this wouldn't be an issue and adding JSCS to external JS files would still be better than nothing.

Would you want to rely on the Jekyll build process to stitch together the external .js files so that they resulted in inline <script> tags on the finished page? Or just reference them with <script src="...">?
I think there are some educational benefits to the current setup, where you can do a View Source... and see the JavaScript inline with the corresponding HTML. But maybe we could get creative and unconditionally include the entire contents of the external .js file wrapped in a <div class="highlight">? It could result in the equivalent of the "JavaScript Snippet" section of our existing samples.
As long as we don't sacrifice the experience of reading the samples and understanding how everything works in context for the benefit of better tooling, I'm on board.

Personally I would just reference the external file.
Using something to inline the snippet would be best of both worlds from that.
Best bit of this approach:

It's good practice - we should be demonstrating
We can have JSHint and JSCS on external JS files (We can still run JSHint over jekyll HTML if it's there, always going to happen on travis)
Might make adding JS snippets easier into the final page.

Cool. I've created https://github.com/GoogleChrome/samples/issues/207 to track externalizing the JS files.
Would you rather I review this PR as-is, or would you like to modify it to include the JS externalization?

I think reviewing as is would be ideal. There may be strong votes against externalisation, plus this is a fairly big PR as it stands.

Reviewed the current PR.
What do you think about wrapping the bundle exec jekyll build in a gulp task and setting it as a dependency for the lint task? If we're introducing a gulp dependency, we can use it to kick off all the build steps, and that would ensure that whenever lint is run, it's going against an up-to-date _site/.

Updated to upstream gh-pages and addressed your concerns @jeffposnick to get something suitable for the repo.
Would ideally like to get something close to this in the repo so future samples are linted and then address externalising JS and simplifying the gulp.src rules in that PR.

:+1: other than the two small comments. Feel free to merge once those are addressed, and thanks!


Sufficient equipment required to implement

Hi, thank you for your good model.
Now, I'm trying implemantation for my dataset. So these days, I practice sample datasets (e.g. S3DIS, STLPS3D).  I've trained backbone,  but I could not train entire model by cuda memory error.
So I tried these approach:

convert from fp16=False to fp16=True
reduced epoch, batch and crop size

But cuda memory error happend every approach.
I guess my equipments are lack of specs. What is the minimum GPU memory required to use full-spec ISBNet?
P.S
I'm using geforce 3060 ti (8GB memory). Are my equipment not enough?
Regards.

I have tried similar things, but I have encountered a cuda out of memory error.
Actually, I am not the author of this paper, but in this paper, author says that they train a model using one v100 gpu.
The memory size of the gpu I have is 24gb, but seeing that I encountered the cuda out of memory error, I think 8gb of memory may not be enough to learn.
I hope it'll be helpful for your research.

Hi jongmin4422, thank you for your reply. I'm surprised cuda memory error happens with 24GB. I agree with your opinion.
I understand what state I'm in. But I would like to hear the comments about this from the author. So I'll leave open for a while (one or two week).

We conducted our experiments on a V100 GPU with 32GB memory and occasionally encountered out-of-memory (OOM) issues when running datasets with a large number of points, such as S3DIS. Unfortunately, I regret that a GPU with 8GB memory is insufficient to train our ISBNet, even with adjustments like using FP16 or reducing batch size and number of points.
When testing with a 24GB memory GPU and facing OOM, I guess the bottleneck in the mask_heads_forward() function, specifically in the dot product operation between numerous queries and thousands of points. To address this, we devised a solution outlined in our repository at https://github.com/VinAIResearch/ISBNet/blob/ae02fcb3db609600b7576f2d4fec91ead5773664/isbnet/model/isbnet.py#L762. This trick involves splitting queries into multiple chunks and performing convolution chunk by chunk to circumvent the OOM problem. I hope this could resolve your problem.

Hi ngoductuanlhp. Thank you for your reply. I'll try your advice.
I got the answer about my condition. So I will close this issue.
And thank you jongmin4422. Your reply help me.


Gams $  convert to Pyomo

There is any effective way to convert right dollar of gams to pyomo?
For example
vr(t)    = tr*sr*sum(a$(ord(t)+ord(a) gt card(t)), yv(a)*delta(a));
thx

This is really not the best place to put user support questions.  The preferred locations for posting user questions are either to the mailing list<EMAIL_ADDRESS>or on StackOverflow.
That said, assuming a and t are defined by Sets model.A and model.T, and that your intent in the ord() calls is to convert the sdet members to their numeric value, then something akin to the following would work:
def con_rule(m, t):
    return m.vr[t] == m.tr * m.sr * sum(m.yv[a]*delta[a] for a in m.A if t+a>len(m.T))
model.con = Constraint(model.T, rule=con_rule)


:LspRestart throws error when using non-supported language server

Description
When called without arguments in a buffer attached to a non-supported language server, :LspRestart throws the following error:
Error executing vim.schedule lua callback: .../site/pack/packer/start/nvim-lspconfig/lua/lspconfig.lua:58: attempt to index a nil value
stack traceback:
        .../site/pack/packer/start/nvim-lspconfig/lua/lspconfig.lua:58: in function ''
        vim.lua: in function ''
        vim.lua: in function <vim.lua:0>

Neovim version
NVIM v0.7.0-dev+732-g80210c189
Nvim-lspconfig version
64bd3b95345f2dbedc83a3d9a472662c48b3e940
Operating system and version
macOS 12.1
Affected language servers
All
Steps to reproduce

nvim --clean -u minimal_init.lua test.py
:LspRestart

Actual behavior
The error from the description is thrown.
Expected behavior
No error is thrown.
Minimal config
local on_windows = vim.loop.os_uname().version:match("Windows")

local function join_paths(...)
    local path_sep = on_windows and "\\" or "/"
    local result = table.concat({ ... }, path_sep)
    return result
end

vim.cmd([[set runtimepath=$VIMRUNTIME]])

local temp_dir
if on_windows then
    temp_dir = vim.loop.os_getenv("TEMP")
else
    temp_dir = "/tmp"
end

vim.cmd("set packpath=" .. join_paths(temp_dir, "nvim", "site"))

local package_root = join_paths(temp_dir, "nvim", "site", "pack")
local install_path = join_paths(package_root, "packer", "start", "packer.nvim")
local compile_path = join_paths(install_path, "plugin", "packer_compiled.lua")

local function load_plugins()
    require("packer").startup({
        {
            "wbthomason/packer.nvim",
            "neovim/nvim-lspconfig",
        },
        config = {
            package_root = package_root,
            compile_path = compile_path,
        },
    })
end

_G.attach_buffer = function()
    local client_id = vim.lsp.start_client({ cmd = { "pylsp" } }) -- cmd is irrelevant
    vim.lsp.buf_attach_client(vim.api.nvim_get_current_buf(), client_id)
end

_G.load_config = function()
    -- filetype is irrelevant but should be consistent with language server
    vim.cmd("autocmd FileType python lua attach_buffer()")
end

if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system({ "git", "clone", "https://github.com/wbthomason/packer.nvim", install_path })
    load_plugins()
    require("packer").sync()
    vim.cmd([[autocmd User PackerComplete ++once lua load_config()]])
else
    load_plugins()
    require("packer").sync()
    _G.load_config()
end

Health check
lspconfig: require("lspconfig.health").check()
========================================================================
  - WARNING: Can't find any config.

LSP log
Probably not relevant

The following trivial patch fixes the issue as well as a related issue where a config is defined but setup has not yet been called, meaning that launch is not yet defined. I didn't yet submit a PR in case I'm missing something but am happy to do so if this is the right fix.
diff --git a/lua/lspconfig.lua b/lua/lspconfig.lua
index 8404632..685b166 100644
--- a/lua/lspconfig.lua
+++ b/lua/lspconfig.lua
@@ -54,9 +54,11 @@ function M._root._setup()
       function(cmd_args)
         for _, client in ipairs(M.util.get_clients_from_cmd_args(cmd_args)) do
           client.stop()
-          vim.defer_fn(function()
-            configs[client.name].launch()
-          end, 500)
+          if configs[client.name] and configs[client.name].launch then
+            vim.defer_fn(function()
+              configs[client.name].launch()
+            end, 500)
+          end
         end
       end,
       '-nargs=? -complete=customlist,v:lua.lsp_get_active_client_ids',

I think a cleaner "fix" would be to expose the table of client ids managed by lspconfig, and make these methods only restart those clients.

Sure, that makes sense. Does this table already exist somewhere in the code, or is it something that would need to be created?

I think a cleaner "fix" would be to expose the table of client ids managed by lspconfig, and make these methods only restart those clients.

How about using the docs tag? or maybe add a special marker in the client config. Otherwise, how would you know which ones are managed? just because tsserver is active, doesn't mean it's managed by lspconfig.

Because lspconfig tracks internally which clients it starts... Please read the code and evaluate the solution I suggested before theorycrafting alternatives.

I took another look, and I can see that the active client IDs are available via manager.clients(). Does something like this make sense?
local get_lspconfig_clients = function()
    local clients = {}
    for _, config in pairs(require("lspconfig.configs")) do
        if config.manager then
            vim.list_extend(clients, config.manager.clients())
        end
    end
    return clients
end

If so, using that here instead of vim.lsp.get_active_clients() would solve this specific issue.

Yup


CVE-2024-52304 : CVSS v3 = 0

Hi guys, thanks for your work.
Describe the bug
CVE-2024-52304 CNA data has a CVSS v4 but no CVSS v3. In this case, the CISA ADP produce a CVSS v3 with a base score equal to 0.
https://github.com/cisagov/vulnrichment/blob/develop/2024/52xxx/CVE-2024-52304.json
Expected behavior
Published a CVSS v4, with the same metric as the CNA or published a relivant CVSS v3.
If not possible, dont published a CVSS v3 with a score 0.
Screenshots

Hi and thanks for the catch, ADP CVSS removed, since the CNA provided CVSS. We don't at present distinguish on CVSS version.


add storage blob resize function sample

According to the https://github.com/Azure-Samples/storage-blob-resize-function-node-v10/pull/1#issuecomment-788220155, copy over the sample storage-blob-resize-function-node-v10 to the azure-sdk-for-js repo.
@ramya-rao-a @jongio for notification.

Hi @EmmaZhu
In process, it will take some time. I need to use azure function to make it run the sample correctly.

/check-enforcer override

Adding @witemple-msft to review sample structure and other pre-requisites to make sure the samples get built/run appropriately in CI and smoke tests
@witemple-msft, The analyze step is failing as the glob pattern to ignore the Verify Readme script for samples do not apply for nested samples. Can we get that fixed?

Since this is more of an integration sample and the purpose is to show an interaction with Azure Functions, I wonder if this isn't better suited to the /samples folder in the monorepo root, or if it shouldn't be uploaded somewhere in the Azure-Samples org. We have a few samples like this in our repo, but more and more I think it might make sense to put them in a special place because they are unique enough to deserve independent attention.
@ramya-rao-a

@ramya-rao-a , @jongio - Regarding this PR, what is your suggestion?

My original suggestion to move this sample to this repo is listed here: https://github.com/Azure-Samples/storage-blob-resize-function-node-v10/pull/1#issuecomment-788220155
The repo name and title for https://github.com/Azure-Samples/storage-blob-resize-function-node-v10 specifically says this is using v10 of the storage sdks
But then, I found https://github.com/Azure-Samples/storage-blob-resize-function-node which has no problem of repo name and title reflecting the version of the SDK. So, can we update https://github.com/Azure-Samples/storage-blob-resize-function-node to use the latest SDKs instead? We can close this PR and update https://github.com/Azure-Samples/storage-blob-resize-function-node-v10/pull/4 as well

@ramya-rao-a    We will update https://github.com/Azure-Samples/storage-blob-resize-function-node and https://github.com/Azure-Samples/storage-blob-resize-function-node-v10 to use the latest SDKs. And close this PR. Can you help us close https://github.com/Azure-Samples/storage-blob-resize-function-node-v10/pull/4 and https://github.com/Azure-Samples/storage-blob-resize-function-node/pull/4? We don't have permission. We will create new PRs to upgrade these two repo.

@v-xuto I don't have permissions to close those PRs either. Can you not re-use the PR to make the new changes?

Use https://github.com/Azure-Samples/storage-blob-resize-function-node/pull/4 to update samples to use v12 storage packages
Use https://github.com/Azure-Samples/storage-blob-resize-function-node-v10/pull/4 to point to https://github.com/Azure-Samples/storage-blob-resize-function-node

@ramya-rao-a  OK, we will re-use the PR to update samples.


cloudrun Failed Creation

Describe what happened
I'm using Pulumi to deploy a Cloud Run services for preview builds. This generally works great until someone open a PR with a container that doesn't start up:
gcp:cloudrunv2:Service (backend):
      error:   sdk-v2/provider2.go:520: sdk.helper_schema: Error waiting to create Service: Error waiting for Creating Service: Error code 13, message: Revision 'backend-gh-69-00001-pmg' is not ready and cannot serve traffic. The user-provided container failed the configured startup probe checks. Logs for this revision might contain more information.

The resource failed to be created -- but the the service was still created on Google's side. That means that once the bug is fixed, subsequent deployments fail like:
gcp:cloudrunv2:Service (backend):
  error: 1 error occurred:
	* Error creating Service: googleapi: Error 409: Resource 'backend-gh-69' already exists.

Sample program
n/a
Log output
No response
Affected Resource(s)
No response
Output of pulumi about
$ pulumi about
CLI
Version      3.138.0
Go Version   go1.23.2
Go Compiler  gc

Plugins
KIND      NAME    VERSION
language  nodejs  unknown

Host
OS       ubuntu
Version  24.10
Arch     x86_64

This project is written in nodejs: executable='/nix/store/hnkyz55vndmvwhg6nzpliv86gh6sxg7h-nodejs-22.10.0/bin/node' version='v22.10.0'

Backend
Name           pulumi.com
URL            https://app.pulumi.com/jjhuff
User           jjhuff
Organizations  jjhuff, playful, restraint_social
Token type     personal

pulumi about doesn't seem to support pnpm, so here's my deps:
{
  "name": "ops",
  "private": true,
  "devDependencies": {
    "@types/node": "^22.10.2",
    "typescript": "5.7.2"
  },
  "dependencies": {
    "@pulumi/command": "1.0.1",
    "@pulumi/docker": "4.5.8",
    "@pulumi/gcp": "8.8.0",
    "@pulumi/google-native": "0.32.0",
    "@pulumi/pulumi": "3.143.0"
  },
  "packageManager"<EMAIL_ADDRESS>  "engines": {
    "node": ">=18"
  }
}

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @jjhuff - thank you for filing this issue! Having inconsistencies between your stack state and the actual cloud resource state is not ideal.
Disclaimer that most of the team will be out for the remainder of the year so responses may be a little slower than usual - thank you in advance for your patience 🙏 🌟
In the meantime, I have a couple suggestions and questions.
First off - can you tell us more about the interactions between the container and the Cloudrunv2.Service? It sounds like Service creation wait time timed out on the provider side but not the GCP side, but where does the container come into play?
Next - this is obviously not something you want to do routinely, but on the subsequent run with resource already exists is running pulumi refresh an option for you? See documentation here - it should reconcile your stack with the current state of the cloud resources.
Have you taken a look at Pulumi custom timeouts? This may not be helpful to you, as you mention a container dependency, but thought I'd throw it out there.
Please let us know if these suggestiong are useful to you. If not - in order for us to help you best and fastest, could you provide us with a minimal fully runnable repro with step by step instructions? Thank you so much!

Hi @jjhuff - thank you for filing this issue! Having inconsistencies between your stack state and the actual cloud resource state is not ideal.
Disclaimer that most of the team will be out for the remainder of the year so responses may be a little slower than usual - thank you in advance for your patience 🙏 🌟
No worries! I'm going to be out too:)

First off - can you tell us more about the interactions between the container and the Cloudrunv2.Service? It sounds like Service creation wait time timed out on the provider side but not the GCP side, but where does the container come into play?
Yes, Service creation timed out because it's waiting for the Container to start on the GCP side. Separately, it'd be nice to have an option to skip that wait.  If the container never successfully starts (failing a startupprobe, for example), the provider will time out.

When it times out, the Service resource is never created.

Next - this is obviously not something you want to do routinely, but on the subsequent run with resource already exists is running pulumi refresh an option for you? See documentation here - it should reconcile your stack with the current state of the cloud resources.
I do a refresh each time, but that doesn't do anything for the problem above since the Service resource was never created -- there's nothing to refresh.

@jjhuff thanks for reporting. Can you please post a short program which reproduces the problem?
Also can you please try on the latest GCP provider? We had a very similar issue which was recently fixed - I suspect this one might be too.


Use isEmpty for collections and lists instead of comparing size to 0

It provides better abstraction and performance that way, and is easier to understand.

Perhaps our policy is not clear enough.  However, as we have stated before, we will not be taking large-scale refactoring pull requests.   These pull requests greatly affect merging for other long-term branches.  I suggest using pull requests in a targeted fashion, mostly to demonstrate bugs or new feature requests.


Cap the size of RPT tokens

Part of #1300
This PR needs a different version of keycloak than that which is deployed in staging+prod.
The newer version of the keycloak would be available after https://github.com/fabric8-services/keycloak/pull/90 is merged.
To avoid the token from growing huge in size, the entitlement request will contain to cap the size of the token
"metadata":{
     "limit":"1"
}

The request shows up like this if logged :

Sending a request with the limit set in the resource entitlement request

INFO[2017-06-29 01:02:09] request params                                identityID=[0bd9034e-f14b-44db-8061-5616e10fc580] pkg=log.LogRequest.func1 req_id=XrtlQVxud0-1 spaceID=[7dab0b6a-26ab-4b83-ad8c-555080487d3d]
WARN[2017-06-29 01:02:09] no authorization found in the token; this is an access token (not a RPT token)  file="/Users/shoubhikbose/dev/alm-core-sbose/src/github.com/almighty/almighty-core/space/authz/authz.go" func="github.com/almighty/almighty-core/space/authz.(*KeycloakAuthzService).Authorize" identity_id=a996a54b-3742-4601-885a-2265bf7e2183 pkg="space/authz" req_id=XrtlQVxud0-1 space-id=7dab0b6a-26ab-4b83-ad8c-555080487d3d

{"permissions":[{"resource_set_name":"7dab0b6a-26ab-4b83-ad8c-555080487d3d"}],"metadata":{"limit":"2"}}

http://keycloak-keycloak3-2.dev.rdu2c.fabric8.io/auth/admin/realms/fabric8/clients
INFO[2017-06-29 01:02:11] completed                                     action=Add bytes=1679 ctrl=CollaboratorsController pkg=log.LogRequest.func1 req_id=XrtlQVxud0-1 status=200 time=1874.827071ms

PENDING

Tests
Usage examples

Codecov Report

Merging #1458 into master will decrease coverage by 0.24%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1458      +/-   ##
=========================================
- Coverage   60.54%   60.3%   -0.25%
=========================================
  Files         118     118
  Lines       11099   10983     -116
=========================================
- Hits         6720    6623      -97
+ Misses       3739    3722      -17
+ Partials      640     638       -2

Impacted Files
Coverage Δ

auth/authz.go
4.81% <0%> (-0.01%)
:arrow_down:

space/authz/authz.go
43.01% <0%> (-0.47%)
:arrow_down:

controller/comments.go
72.67% <0%> (-2.33%)
:arrow_down:

controller/work_item_comments.go
70.68% <0%> (-1.54%)
:arrow_down:

workitem/workitem_repository.go
70% <0%> (-1.17%)
:arrow_down:

configuration/configuration.go
75.2% <0%> (-0.3%)
:arrow_down:

controller/workitem.go
82.05% <0%> (-0.2%)
:arrow_down:

migration/migration.go
56% <0%> (-0.2%)
:arrow_down:

main.go
0% <0%> (ø)
: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 088d473...fa7ad87. Read the comment docs.

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

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

[test]

[test]

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-4

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-5

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-6

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-7

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-8

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-9

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-11

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-12

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-13

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-14

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-16

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-17

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-22

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-23

@sbose78 snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1458-26


loose steel rod

Hello, I am trying to make this keyboard.
May I ask when I put the stainless steel rod in, it is a little loose and will fall out. Is there any way to fix it? Thank you.

Hello, I am trying to make this keyboard.
May I ask when I put the stainless steel rod in, it is a little loose and will fall out. Is there any way to fix it? Thank you.

i dont think youll be able to fix it, youll need a thicker rod, maybe 4mm is your jam. btw what printer and material did you use?


705 metabolink standard definitions

This PR addresses https://github.com/microbiomedata/issues/issues/705 and https://github.com/microbiomedata/nmdc-schema/issues/2018 .
Goals of this PR:

Standardize mappings and definitions for Enums related to MassSpectrometryConfiguration class, specifically the AcquisitionCategoryEnum and IonizationSourceEnum
Remove acquisition_category slot
Rename acquisition_strategy to mass_spectrometry_acquisition_strategy
Rename AcquisitionStrategyEnum to MassSpectrometryAcquisitionStrategyEnum
Fix typo on IonizationSourceEnum's PV atmospheric_pressure_photo_ionization (was athmospheric_pressure_photo_ionization)
Update all examples related to MassSpectrometryConfiguration to adhere to updated slots and Enums

These changes do not require a migration as this class is not yet populated.

Ok... for some reason, changing acquisition_strategy to mass_spectrometry_acquisition_strategy causes issues! Will review with @turbomam tomorrow (05/31)

Next week we can talk about whether the permissible value exact mappings could be switched to meanings

Yuri and Paul signed off over Teams! Merging in!!!


Update virtualbox-power-switch extension

Description

Add an action to delete a VM and all its associated files.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Looks good to me, approved 🔥

Lol copied the changelog date format but forgot to update it, sorry about that and thanks! 😄


Missing v_component_of_wind and zarr metadata

I noticed that the dataset here: https://console.cloud.google.com/storage/browser/gcp-public-data-arco-era5/ar/1959-2023_01_10-full_37-1h-1440x721.zarr
is missing the v_component_of_wind variable. It's also missing the usual zarr metadata files (.zattrs, .zgroup, .zmetadata) and can't be opened in the usual way. For example,
import xarray as xr

xr.open_zarr("gs://gcp-public-data-arco-era5/ar/1959-2023_01_10-full_37-1h-1440x721.zarr")

raises FileNotFoundError because it cant find those metadata files.

Is there a reason you're trying to access this particular data? It is not described in the README. I think this is a partially written test version of data that should probably be deleted.
The full version of this dataset is in:
gs://gcp-public-data-arco-era5/ar/1959-2023_01_10-full_37-1h-0p25deg-chunk-1.zarr

No I don't need this particular dataset. I was just looking around, noticed it, and thought I would mention it.


Adapt GREL script (+ guide) to take heed of novel taxa's inferred rank

Issue
Context: We need to infer taxon rank ID from the name structure because it isn't available from any other field.
Solution
The post-processing script should take heed of how the app currently infers the rank of novel taxa based on the following logic:
elementCount = len(taxonNameEntry.strip().split(' '))
subgenusCount = 0
if '(' in taxonNameEntry: subgenusCount = 1

if ' var. ' in taxonNameEntry: rankid = 240
elif ' subvar.  ' in taxonNameEntry: rankid = 250
elif ' f. ' in taxonNameEntry: rankid = 260
elif ' subf. ' in taxonNameEntry: rankid = 270
elif elementCount == 3 + subgenusCount: rankid = 230
elif elementCount == 2 + subgenusCount: rankid = 220
elif elementCount == 1 + subgenusCount: rankid = 180

The guide should also be updated to make sure that digitizers adhere to this format:

Genus (Subgenus) species (' var. '/' subvar. '/' f. '/' subf. ')

Tasks:

[x] Adapt GREL script to take heed of above rank inference
[x] Adapt guide to make digitizers adhere to fixed format

Other GREL issue: #411


Add class field to extensions.gardener.cloud APIs

How to categorize this PR?

/area delivery
/area open-source
/kind enhancement
What this PR does / why we need it:
This PR adds a new optional field class to various objects in the extensions.gardener.cloud API. As described in #9635, some extension controller will in the future not only be responsible to reconcile extension resource for Shoots, but also for the Garden cluster, e.g. managing BackupBucket and DNSRecords.
The class field is required when the Runtime-Garden is registered as a Seed cluster. There might be two provider extensions of the same type running in the same cluster. One is responsible for reconciling extension resources belonging to the garden class, while the other one takes care about extensions for the <nil>(backwards compatibility) or shoot class.
Which issue(s) this PR fixes:
Part of #9635
Special notes for your reviewer:

Please see description in 91e8b88e9644d27fce96890463ed7792f91e23f1 about how the future class configuration is envisioned:

Generally, to follow the example of ManagedResource handling, the class field is planned to be only set in the garden use-case. Gardener won't set the class for extensions belonging to shoot clusters.

Documentation is not part of this PR. This is planned for a future PR, when we generally add support for developing and deploying Extensions via gardener-operator.

Today, a class would be sufficient for resources of type BackupBucket and DNSRecord. For the sake of completeness and future use-cases, the field was added to other resources as well.

Release note:

A new field `class` was added to resources of the `extensions.gardener.cloud` API group. Together with the newly introduced predicate [HasClass](https://github.com/gardener/gardener/blob/master/extensions/pkg/predicate/predicate.go), it serves as a mean to split responsibilities of extension controllers for extensions belonging to different type of targets, i.e. `shoot` (default) or `garden`. Handling is backwards compatible, so that extensions are still responsible for `shoot` extension resources without any adjustments. If you intend to already support the reconciliation of extensions belonging to the `garden` class (cluster), please consider adding the `ExtensionClass` parameter (see [here](https://github.com/gardener/gardener/blob/master/extensions/pkg/controller/cmd/reconciler_options.go) for more information).

/retest

/test pull-gardener-e2e-kind-upgrade
/test pull-gardener-e2e-kind-ha-multi-zone-upgrade


Override annotation for dispose methods in stores

The lib/stores/language and lib/stores/theme have @override annotation on dispose() methods.
Is it intentional? It seems redundant and IDE warns it doesn't override anything. Maybe it's meant to be @action as in, for example, lib/stores/error?
CC: @zubairehman

no its not needed, thanks for the heads up.


Minor update in WindowsAzure.Storage

This pull request adds the minor update in WindowsAzure.Storage

👍 Thanks @edumco


Mac OS X Windowed rendering bug

When kivy app started in windowed mode and window size is bigger than display size I have this rendering bug. I guess this is due to OS X automatically resizing kivy window.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2255297-mac-os-x-windowed-rendering-bug?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

@qua-non, i've seen the same glitches on a retina issue pic, could it be the same?

@dessant yes this should be now fixed with the new retina support @Gipzo please re-open if you still have the issue with latest master.


fix new_src substitution

In the case of the char $ preceded by \
the substitution didn't work correctly.
I have improved the simple addition of \
With a regex that adds \ in case the character $ is not preceded by an odd number of \
Code example
$dbpass = '$3_\\\$56[Plac\\$1eholder]xxx$10';
$confTransformer->update('constant', 'DB_PASSWORD', $dbpass, array('raw' => false));

These bugs we can find them because we use this library in the Duplicator plugin and we are dealing with millions of different passwords with every possible character sequence.

@andreamk Can you add a test that verifies the problematic behavior?

@andreamk Are you up for writing a test for this PR?

Hi
Sorry, but I hadn't read the other notification.
Yes, the develop the tests so I understand how to do it. I went ahead and my changes fix only partially the problem I close the PR and I create a new one with the update.


Hotel: Add stars=

tourism=hotel
Add stars=*

Thanks for the suggestion.
This is the kind of information we want to add soon in releases coming these next months.

Perfect! :-)


Add samples for listing table.files and table.partitions

Question
After examining your documentation, I couldn't locate the methods to list a table's partitions or its data files. Could you please provide relevant examples or consider adding this capability if it's not currently available?

Hey @moryachok Thanks for raising this. This is currently being worked on in https://github.com/apache/iceberg-python/issues/511
The files one should be rather straightforward since that's also supported through the CLI: pyiceberg files database.table

@moryachok It looks like someone else is already working on files, how about partitions? I'll merge https://github.com/apache/iceberg-python/pull/551 later today and then it should be relative straightforward.


feat: split CLI commands into init and create

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Xcode 10.2

Migrate code to swift 4.2.
Add macro for register swift classes as modules (RCTSwiftBridgeModule.h).
Xcode 10.2 forbids creating categories for swift class that uses +load method. In react-native categories like this are used to register swift classes as modules (macro RCT_EXTERN_MODULE)
A similar solution has already been committed to react-native repo but it's not released yet. (https://github.com/facebook/react-native/commit/ff66600224e78fec5d0e902f8a035b78ed31a961).

I'm going to merge this with the hope that this will not break anything. Thank you @slavasemeniuk !

@shahen94 Feel free to tag me in an issue if something gets broken.

@shahen94 will you publish a new version to npm any time soon?

CodeSign /Users/mac/Library/Developer/Xcode/DerivedData/Capitri-fsoxrlhkkzbgztdhwdgnvsijwcna/Build/Products/Debug-iphoneos/Capitri.app/Frameworks/QuartzCore.framework
cd /Users/mac/Desktop/V2/CapitriRN/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity:     "iPhone Developer: Toan Vu (LHYR5TDNZ2)"
/usr/bin/codesign --force --sign 628F70F5D693D499859A52FB2000B3AA34518C63 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/mac/Library/Developer/Xcode/DerivedData/Capitri-fsoxrlhkkzbgztdhwdgnvsijwcna/Build/Products/Debug-iphoneos/Capitri.app/Frameworks/QuartzCore.framework

/Users/mac/Library/Developer/Xcode/DerivedData/Capitri-fsoxrlhkkzbgztdhwdgnvsijwcna/Build/Products/Debug-iphoneos/Capitri.app/Frameworks/QuartzCore.framework: bundle format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1
@superandrew213
I encountered an error after get your code, please check!

@superandrew213 For now please use github version.
I’ll fix CI/CD today

changed all and last error is Use of unresolved identifier 'AVUtilities'


[BUG] Why the query didn't show nothing?

OS INFO :
The query can show me sql result. And it worked in the past week. But when I use it and Run MySQL Query today, it somehow gets in trouble and show nothing. I don't do anything why this happens?

Press ctrl+shift+i to open developer tool show error, this helps me find the problem.

I have reinstalled the old version of MySQL plugin. And it works now.


Couples Holding Hands

Problem Link
https://leetcode.com/problems/couples-holding-hands/
Coding platform
Leetcode
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

I would like to solve it in Java. Please assign it to me.

Hi
I would like to solve it in Java

I want to solve it in python

@Nivedita967 can I do in c++??

@Nivedita967 can I solve in C??

@Nivedita967 Please check my pull request

In which language is it open?

In which language is it open?

Open for C

@Nivedita967 can I do in c++??

@Nivedita967 please assign this to me

@Nivedita967 can I do in c++??

@Nivedita967 please assign this to me

Have you completed all issues assigned to you?

@Nivedita967 yes

In fact I don't have any assigned issues

In fact I don't have any assigned issues

Okay @Amit366 Go for C.

@Nivedita967 please merge the PR


Include Python Information with default User Agent

A lot of people use default user agent with requests
Lets include Python runtime + version information
Allows servers to know some more useful information about their users e.g. PyPI / Warehouse

This will help pypistats.org for example - https://github.com/crflynn/pypistats.org/issues/13
Open to other ideas here. Just throwing this up to start the discussion.

https://github.com/requests/requests/pull/709
https://github.com/requests/requests/pull/2803
https://github.com/requests/requests/issues/2785
https://github.com/requests/requests/issues/3182

In short, we used to include that and now don't. And we won't be adding it back in any time soon


Cluster watcher - retry options

A cluster watcher now has configurable retry options, in case the manager fails to start.

changelog?


Error in [<-(*tmp*, di, fi:(fi + 2), value = c(ID, fnames.ms3[i],  :    subscript out of bounds

Hi Vincent,
Parts 1 - 4 all run smoothly, but in Part 5, I receive this error:
Error in [<-(*tmp*, di, fi:(fi + 2), value = c(ID, fnames.ms3[i],  :
subscript out of bounds
I suspect this is related to large amounts of non-wear time for our participants (perhaps similar to Issue #409 and this Google thread). This is an expected part of our study protocol, as we ask participants to wear an ActiGraph GT3X for 3-7 consecutive days before surgery, 7 consecutive days at 1 month after surgery, and another 7 consecutive days at 3 months after surgery; a total of ~20 days of wear time over a span of 4 months.
I'm using GGIR 2.8-2 and the GGIR command has all default arguments for now.
Any help would be much appreciated. I'm happy to send over the metadata for a sample file.
Calvin

Hi Calvin,
A sample file would be of help to replicate your issue and looking for a solution. Can you provide that? Part 1 metadata would be enough (files stored in the "meta/basic" folder). Thanks.
Best,
Jairo

Hi Jairo,
Thanks for your reply. I've sent the file to your email. Let me know if you need any other files to replicate the issue!
Calvin

Hi Jairo,
Here is the Part 1 metadata file from meta/basic. Let me know if you need
any other files to replicate the issue and take a look!
Calvin
On Sat, Feb 18, 2023 at 4:40 AM Jairo H Migueles @.***>
wrote:

Hi Calvin,
A sample file would be of help to replicate your issue and looking for a
solution. Can you provide that? Part 1 metadata would be enough (files
stored in the "meta/basic" folder). Thanks.
Best,
Jairo
—
Reply to this email directly, view it on GitHub
https://github.com/wadpac/GGIR/issues/727#issuecomment-1435532997, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AO6GURCHZ5WINFKJDXMDRZ3WYCKIFANCNFSM6AAAAAAUSYGKJE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Calvin,
I'm sorry I can't see your file in any of my emails. Can you share a link to download the file?
Best,
Jairo

@nivlacdiep could you try again with the latest GGIR version? We fixed a bug related to aligning part 3, 4 and 5 output, which may explain your issue.

Hi Vincent and Jairo,
Unfortunately the same error comes up, even with the new version 2.8-6
Error in [<-(*tmp*, di, fi:(fi + 2), value = c(ID, fnames.ms3[i],  :
subscript out of bounds
What other files or metadata can I send to you for further investigation?

Hi, I tried to download the data some days ago but I had no access. Just tried again and still the same, can you either grant me access or send this to my email<EMAIL_ADDRESS>so that I can have a look?

Hi @nivlacdiep this issue is closed because Jairo and I fixed it on Friday. To test it, please install master branch, re-start R and try again: remotes::install_github("wadpac/GGIR"). Let us know if the problem returns.

Hi Vincent and Jairo,
I've tested the latest version and it does indeed work with my files. I appreciate all your efforts in addressing this issue.
Take care,
Calvin


Game crashes when trying to remove upgrades from compacting drawer Direwolf 1.18

https://user-images.githubusercontent.com/515026/182742569-a849076c-b40b-4d9c-b077-46df9635fb08.mp4
Game crashes when trying to remove upgrades from compacting drawer

Update the mod


ci: remove package lock from release

This removes package-lock.json from semantic-release git-commit

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add option to work with a SAS URI

If not documented elsewhere I would also mention the option to provide a SAS URI in the "fileUris" part, instead of providing the storage account keys which gives full blown permissions to the storage account to optional thirth parties.

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

ID: 40aaccb8-19ba-168f-f5bf-65f1f5331541
Version Independent ID: 6cdfd166-633a-50a3-2b45-cde0e991e540
Content: Azure Custom Script Extension for Windows
Content Source: articles/virtual-machines/extensions/custom-script-windows.md
Service: virtual-machines-windows
GitHub Login: @zroiy
Microsoft Alias: roiyz

Thanks for the feedback! We are currently investigating and will update you shortly.

Hello Diego,
Thank you for your feedback. It's not supported, but looks like it is working though :-). I will submit a request.
Best regards,
Thomas

hello tjcdw
thanks for the update, could you please post a sample of your script that is working so we can update the documentation accordingly? (please do not include any personal information or keys

@tjcdw Just wanted to follow up on this older issue.  It looks like you found a workaround for the unsupported scenario.  As we don't want to document something that is unsupported, I plan to leave the documentation as is. If you have any further issues please don't hesitate to reach out. @MicrosoftDocs/azure-cxp-triage #please-close


Support separate storageClass for DATA & WAL

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

In a 80% read/20% write scenario, we wanted to use SSD disk for WAL and NVMe disk foe DATA
The current storageClassName in helm chart values file is used for both DATA and WAL
Please provide functionality to specific separate storageClassName for both DATA & WAL

Make sense ♥


Pin elm-console to 1.1.0 to fix a build failure introduced in 1.1.1

Well that's maddening. I seriously upgraded locally and everything broke. I then downgraded and it started working again. Poking a bit more...

So, this PR doesn't really seem to do anything. I reset the Travis cache (under settings) and now it seems to be passing :(

Huh. Irritating. Merge?

I'm confused--it started working again without pinning the build?

Nope. I cleared travis' build cache and it cleared up. I'm not sure if the issue is with Travis, elm-package or something we're doing. This PR seems to be a dead end. If this happens again I'll try to find some time to pin it down a little better.

Awesome, thanks for digging into it.


fix(improvement): Reverted the code to allow diff app and repo name

Addresses :- https://github.com/openshiftio/openshift.io/issues/3662

I ran this in the prod env with the below combinatations :-

diff app and git repo name.
diff location other than the user name space to create a git repo with diff app and git repo name

In both the above cases, i don't see a duplication of pipelines in the openshift console.


@Lukasa  Why is this against 0.19?  "Plugin dies" seems serious!

The main reason is that I don't know the actual severity of this bug, but I doubt the fix is totally trivial. It's also not clear that it's our fault, as per the note about MySQL above. However, if it is our fault, diagnosing it is probably going to be a bit tricky.

I think this does look serious (not least as it also seems related to #489 and #465.  Consequently, I think we should target 0.18 (i.e. prioritise looking into this ASAP); if it turns out this is tricky, then we can move the milestone, but I'd rather start looking at it now, not leave it until next week.

The KeyError aspect of this is believed fixed by #508.  The MySQL DB part is still unaddressed, but has not been seen again and is believed not urgent for the 0.18 release.  Hence deferring this to 0.19.

@neiljerram - I'm confused as to what the status of this issue is meant to be.  It seems it was both deferred to 0.19 and closed at the same time, but there is no comment indicating that the headline issue has been resolved?

So I reopened.  If that's wrong then feel free to close again with a comment to make it a bit clearer as to why...

Thanks @lxpollitt. I didn't intend to close this - sorry!

So, I think @Lukasa put in a work around that blocks VM creation until we've successfully connected to MySQL and got the SGs.  If we can connect to MySQL at all, that should do it, if not, what else can we do?

@neiljerram and I actually believe these mysql errors were coming because of the forking logic in Neutron. I suspect the forking fix resolves this problem.


panic: runtime error: invalid memory address or nil pointer dereference during merge of copied and generated flows.

Program failed with error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x4e1155]
goroutine 21 [running, locked to thread]:
github.com/intel-go/nff-go/packet.(*Packet).GetRawPacketBytes(...)
/projects/src/github.com/intel-go/nff-go/packet/packet.go:700
github.com/intel-go/nff-go/flow.pcopy(0x69a200, 0xc42000c120, 0xc4201a40c0, 0xc42018c000, 0x0, 0x0, 0x0)
/projects/src/github.com/intel-go/nff-go/flow/flow.go:1139 +0x435
github.com/intel-go/nff-go/flow.(*scheduler).startFF.func1(0xc42018a140, 0x3)
/projects/src/github.com/intel-go/nff-go/flow/scheduler.go:202 +0x238
created by github.com/intel-go/nff-go/flow.(*scheduler).startFF
/projects/src/github.com/intel-go/nff-go/flow/scheduler.go:196 +0x22a
Code:
package main

import (
	"log"
	"sync"
	"sync/atomic"
	"time"

	"github.com/intel-go/nff-go/flow"
	"github.com/intel-go/nff-go/packet"
	"github.com/intel-go/nff-go/test/stability/stabilityCommon"
)

var (
	totalPackets uint64 = 100

	payloadSize uint   = 16

	sentPacketsGroup1 uint64

	recvPackets       uint64
	testDoneEvent *sync.Cond
	progStart     time.Time

	// T second timeout is used to let generator reach required speed
	// During timeout packets are skipped and not counted
	T = 10 * time.Second
)

func main() {
	// Init NFF-GO system
	config := flow.Config{
		DPDKArgs: []string{"--log-level=0"},
	}
	flow.CheckFatal(flow.SystemInit(&config))
	var m sync.Mutex
	testDoneEvent = sync.NewCond(&m)

	flow1 := flow.SetGenerator(generatePacketGroup1, nil)

	flow2 := flow.SetGenerator(generatePacketGroup1, nil)

	flow.CheckFatal(flow.SetStopper(flow2))
	var err error
	flow2, err = flow.SetCopier(flow1)
	flow.CheckFatal(err)

	checkedFlow, err := flow.SetMerger(flow1, flow2)
	flow.CheckFatal(err)

	flow.CheckFatal(flow.SetHandler(checkedFlow, checkPackets, nil))
	flow.CheckFatal(flow.SetStopper(checkedFlow))

	// Start pipeline
	go func() {
		err = flow.SystemStart()
	}()
	flow.CheckFatal(err)
	progStart = time.Now()

	// Wait for enough packets to arrive
	testDoneEvent.L.Lock()
	testDoneEvent.Wait()
	testDoneEvent.L.Unlock()
}

func generatePacketGroup1(pkt *packet.Packet, context flow.UserContext) {
	if pkt == nil {
		log.Fatal("Failed to create new packet")
	}
	if packet.InitEmptyIPv4UDPPacket(pkt, payloadSize) == false {
		log.Fatal("Failed to init empty packet")
	}

	// We do not consider the start time of the system in this test
	if time.Since(progStart) >= T && atomic.LoadUint64(&recvPackets) < totalPackets {
		atomic.AddUint64(&sentPacketsGroup1, 1)
	}
}

// Count and check packets in received flow
func checkPackets(pkt *packet.Packet, context flow.UserContext) {
	if time.Since(progStart) < T || stabilityCommon.ShouldBeSkipped(pkt) {
		return
	}
	if atomic.AddUint64(&recvPackets, 1) >= totalPackets {
		testDoneEvent.Signal()
		return
	}
}

By the way, there is no such problem in the same code with fast generator!
First I tried the same code with many totalpackets, got really huge amount of the same warnings:
"WARNING: GeneratePacketFromByte: Cannot append mbuf", then run with 100 packets and got this error.

There is no closing in example, it is generator + copy.

made smaller:
package main

import (
	"sync"
	"sync/atomic"
	"time"

	"github.com/intel-go/nff-go/flow"
	"github.com/intel-go/nff-go/packet"
)

var (
	totalPackets uint64 = 100
	payloadSize uint   = 16
	recvPackets       uint64
	progStart     time.Time
	m sync.Mutex
	testDoneEvent = sync.NewCond(&m)
	T = 10 * time.Second
)

func main() {
	config := flow.Config{
		DPDKArgs: []string{"--log-level=0"},
	}
	flow.CheckFatal(flow.SystemInit(&config))

	flow1 := flow.SetGenerator(generatePacketGroup1, nil)

	flow2, err := flow.SetCopier(flow1)
	flow.CheckFatal(err)

	flow.CheckFatal(flow.SetHandler(flow2, checkPackets, nil))

	flow.CheckFatal(flow.SetStopper(flow1))
	flow.CheckFatal(flow.SetStopper(flow2))

	go func() {
		err = flow.SystemStart()
	}()
	flow.CheckFatal(err)

	progStart = time.Now()

	testDoneEvent.L.Lock()
	testDoneEvent.Wait()
	testDoneEvent.L.Unlock()
}

func generatePacketGroup1(pkt *packet.Packet, context flow.UserContext) {
	if pkt == nil {
		panic("Failed to create new packet")
	}
	if packet.InitEmptyIPv4UDPPacket(pkt, payloadSize) == false {
		panic("Failed to init empty packet")
	}
}

func checkPackets(pkt *packet.Packet, context flow.UserContext) {
	if time.Since(progStart) < T{
		return
	}
	if atomic.AddUint64(&recvPackets, 1) >= totalPackets {
		testDoneEvent.Signal()
	}
}

Fix by https://github.com/intel-go/nff-go/commit/fbf5a71f7c6757a43cdb41f6f05c766a03e9ba2f. Closed this.


Autoupdater

Implement some sort of auto updater to server, for easy distribution

 Server autoupdate

What are the main ideas for this?
Should also only the server updates itself. Or should it also update the new GUI with it ?
Maybe both could have their own self-update cycle separatly ?

it should be one thing along with the driver

So Driver Server Gui ? Or only Driver Server ?

everything. also overlay.

and the feeder if it's still separate from the overlay when it's ready.

What is you reasoning behind this ? Because i think having separate updates could be pretty usefull. Like being able to update the gui without he server or the overlay without the server

Eh, it's basic usability? Don't forget that end-user is not a DIY person who wants everything configured and run multiple versions of everything. One update process should update everything there is to update.

Why would it be a problem, all things should be updated simultaneously with this.

I wish to tackle this - I'll be starting by building a cli tool to install the overlay. The existing windows installer can call that cli tool. I'll be modeling it after rustup, where it manages a set of components with versions, and we have channels (like stable) that dictate the versions for each component.
The existing MSI installer will call into the CLI, so we retain the nice UX of the installer while removing the need for so much windows-specific msi scripting.


Ruby make enableTestGenerator separate from enableSurfaceGenerator

Why? It looks like they were already independent...

It's inside
if (generatorConfig.enableSurfaceGenerator()) {
}
should be moved outside

Codecov Report

Merging #1185 into master will not change coverage.
The diff coverage is 93.75%.

@@            Coverage Diff            @@
##             master    #1185   +/-   ##
=========================================
  Coverage     86.07%   86.07%
  Complexity     3688     3688
=========================================
  Files           372      372
  Lines         14582    14582
  Branches       1628     1628
=========================================
  Hits          12551    12551
  Misses         1594     1594
  Partials        437      437

Impacted Files
Coverage Δ
Complexity Δ

...le/api/codegen/gapic/MainGapicProviderFactory.java
94.23% <93.75%> (ø)
17 <0> (ø)
:arrow_down:

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 2304654...cf11f39. Read the comment docs.


Rename Light => PointLight and remove unused properties

After an inquiry on Reddit about support for Directional Lights and the unused properties on Light, I wanted to clean it up, to hopefully make it ever so slightly more clear for anyone wanting to add additional light types.

bors r+


feat: add query for last observed event nonce

Related Github tickets

https://github.com/VolumeFi/paloma/issues/959

Background
This adds a new GRPC query to retrieve the last observed event nonce from Paloma. Pigeons will use this information in order to build their own state.
Testing completed

Will be tested in TN together with the Pigeon change

Breaking changes

[x] I have checked my code for breaking changes
[x] If there are breaking changes, there is a supporting migration.

This seemed way more SIMPLER than the discussion around this issue. Is there more required? LGTM

Complex problem, simple solution ;)
Pigeon will need an update to consume this information, but it won't be very complex.


How to det and rec using CnOcr.ocr

'batch_size' is one of the parameters in CnOcr.ocr(),
but the function only takes one image as input.
What should I do if the number of images to be OCR is large?
how can I input a batch of images?

CnOcr.ocr() can only process one image at a time. One image may contain multiple lines of text. The parameter of rec_batch_size (for the latest version) means how many lines of text will be processed at the same time.

I still have question about  the meaning of parameter "batch_size", will it help reduce process time cost when a lot of CnOcr.ocr() is called?

If you run on a GPU, it will be faster with 'batch_size'. On CPUs it maybe not.


Exit early if CI_COMMIT_REF_NAME is empty

What does this PR do?
Early exit to avoid cancelling pipeline on all branches when CI_COMMIT_REF_NAME is empty
It can happen when the branch name starts with $: https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/740723576
Motivation
Describe how you validated your changes

Possible Drawbacks / Trade-offs
Additional Notes

/merge


Notification Don't work when change Wifi SSID without close wifi

No notification is fire when changes wifi from one to another without close wifi. If close the wifi I get the notification.

did you find any solution?

@hilld1 can you elaborate? I'm having the same issue.


Creates <----> per click

I install gtm on my nuxt project, below is my gtm options
gtm: {
   id: 'GTM-KW9TKRN',
   enabled: true,
 },

Above is a picture of the project anytime I click anywhere within the view, <----> keeps creating again.

@Devdre1909 did you find a workaround?

@rlam3 No, not yet.


Bug 0x3a - SYSTEM_UNWIND_PREVIOUS_USER

Complete lack of documentation concerning bug code 0x3a.
The only thing mentioned is "This bug check appears very infrequently."
I'm troubleshooting a Hyper-V VM that crashes when installing Windows 11 (any build) to a physical drive (Disk 1 or Disk 3).
The BSOD occurs immediately after proceeding from the partitioning screen.
Host OS is installed on Disk 4

In the same VM with identical configuration, Windows 10 22h2 installs as expected to Disk 1 or Disk 3.
In the same VM with identical configuration, Windows 11 installs as expected to a virtual disk on Disk 1 or Disk 3.
Upgrading the aforementioned Windows 10 installation to Windows 11 via the Upgrade Assistant also causes the same crash.

I cannot get crash details from the VM. The only log I can access is the 'Hyper-V Worker' log with the following entry:
Event ID 18590
'VM 1' has encountered a fatal error. The guest operating system reported that it failed with the following error codes:
VmErrorCode0 0x139 (KERNEL_SECURITY_CHECK_FAILURE)
VmErrorCode1 0x3a (SYSTEM_UNWIND_PREVIOUS_USER)
VmErrorCode2 0xffffbf8e4645efd0
VmErrorCode3 0xffffbf8e4645ef28
VmErrorCode4 0x0
VmErrorMessage
VmPreOSId 0
VmHvOSId 0x1040a0000271b
Host Machine - basic specs
Motherboard: HP 89B5 (produced by American Megatrends)
OS: Windows 11 Pro 22h2 (Build 22621.1105)
Processor: Core i5-12400
Drive Management: Intel RST Volume Management Device
Chipset: Intel Chipset Device Software for Windows 11* for Intel® NUC12SN
Management Engine: Intel® Management Engine Consumer Driver for Windows 11* for Intel® NUC12SN

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

ID: 89eeac17-9e57-fb32-3e38-5a2b227a2b90
Version Independent ID: 972049ed-64e2-d37b-0fb1-fbe1d2cf0334
Content: Bug Check 0x3A SYSTEM_UNWIND_PREVIOUS_USER - Windows drivers
Content Source: windows-driver-docs-pr/debugger/bug-check-0x3a--system-unwind-previous-user.md
Product: windows-hardware
Technology: debugger
GitHub Login: @DOMARS
Microsoft Alias: domars

May I inquire as to any updates on this topic?
Further guidance on how to proceed would certainly be appreciated...

@RespectIsEverything - I have reached out to the dev team as this bug check code has not been documented in the past and no parameters are displayed with !analyze. Over time I'm working to remove the "this occurs infrequently" and add a basic description. There are some of these low numbered bug check codes that are no longer used by Windows, but are used by third parties, which complicates things further.
This category of error in Windows is typically related to the transition or unwind from different memory types, such as from kernel to user. These errors are normally present in the source code and occur, under specific conditions. Access to the faulting source code is normally required to diagnose and repair, what is typically the mismanagement of kernel memory, or IRQL levels that memory is accessed at.
The normal approach would be to attach a kernel debugger and look at the calling stack, and registers.  And disassemble the instructions if no source is available. Without access to the hyper v area, it sounds like you are not able to get a kernel dump file. With that, you could look at the call stack and see if !analyze could identify a faulting module. Looking at the exception record, the exception handling chain, and the fault areas, as well as the registers, and the disassembled code, can sometimes provide clues.
If that is not available, sometimes looking in the event logs for things that happen right before the crash may provide clues, if the entity that is going to crash is able to know that, and add event log entries.  If the crash is repeatable, increasing the log levels for related entities, may provide additional information.
In your scenario one of the differences seems to be between physical and managed drivers, wrapped in the Intel RST Volume Management. Perhaps double checking that for any updates or known issues or seeing as a test, if it can be replaced with something else, such as different storage system. This Dell article describes, needing to install drivers for that system - > https://www.dell.com/support/kbdoc/en-lv/000188116/intel-11th-generation-processors-no-drives-can-be-found-during-windows-10-installation
It normally is a multi-week process to document a bug check code, so you may want to consider other approaches in the interim.
I will close this issue for now, but will @ mention you if I'm able to provide any additional information.

Thanks for the update.
Some of these troubleshooting steps are a bit more advanced than I'm used to, but I'll nonetheless attempt to attach the kernel debugger in order to produce a dump. Fortunately, your documentation, https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/attaching-to-a-virtual-machine--kernel-mode-, is succinct.
As for your suggestion about loading the RST-VMD drivers:
It is true that they must be loaded when installing Windows OS on the host machine. The partitioning screen will not detect any disks until that driver is loaded.
But the VM's partitioning screen detects the attached disks. My understanding is that the Host automatically passes the RST-VMD drivers onto the Guest VM.
Furthermore, the crash only occurs with Windows 11 when installing the VM OS onto a secondary physical disk. The crash does not occur when installing Windows 11 onto a virtual disk located on the secondary physical disk. Windows 10 does not crash in either scenario.
I'll see what dumps the kernel debugger produces and post back if it might be helpful towards your documentation efforts.
My sincere gratitude for your response.


bug of delete property not optional

TypeScript Version:  4.0.2
Code
const a: {a: string} = {a: 'name'};

delete a.a;

const b: {b: any} = {b: 'name'};

delete b.b;

Expected behavior:
should throw a lint error when on code of delete b.b
Actual behavior:
when the type be {b: any}, delete b.b will not throw an erorr
Playground Link:
https://www.typescriptlang.org/play?#code/MYewdgzgLgBAhgLhgb0TaAnAlmA5gXxgF4U0ByMOAWwFMz8BuAKCYBMaAbGqG+AOjjMmoSLABGSZBPhgAnoRJSkFanUYt2XHjDF8xDIA

undefined is a legal value for any, so this is OK


{{ }} or {% %} doesn't seem to do anything

In jinja normally you'd use {{ }}and {% %} for code interpretation and it seems only ``` ```works.

I don’t know whether you know that
``` ```

can be changed to whatever you like.
Certainly, the current function is so poor that I’ll improve it.
Please wait.

I do know ``` ```. Originally I thought because it's a jinja template language it's it's in addition to these. I'll close this one and just focus on the other one. The reason for {% and {{ is to be able to have control statements in {% and then variable substitution to work but I guess you can use ``` to replace {{ }} but not {%.


New Merge: Java & NGINX

Ray and Trevor's pre-develop merge branch for final testing.

#132 was opened. Only thing not working for me both locally and on Git

Final copies merged into 135-develop-base. Tested and working for team.


get_azure_cli_credentials / ClientSecretCredential / ServicePrincipalCredentials difference

This is NOT a bug report, don’t know to classify it properly…
I’m trying to replicate C# code to Python
The Python code below works fine with get_azure_cli_credentials, but neither ClientSecretCredential nor ServicePrincipalCredentials works...
from azure.identity import ClientSecretCredential
from msrestazure.azure_active_directory import ServicePrincipalCredentials

The former throws the error
AttributeError: 'ClientSecretCredential' object has no attribute 'signed_session'
And the latter:
azure.loganalytics.models.error_response_py3.ErrorResponseException: (InvalidTokenError) The provided authentication is not valid for this resource
Same client_id / client_secret work fine from C# code from my workstation:
if (isLocal) connectionString += $";AppId={clientId};AppKey={clientSecret};TenantId={tenantId}";
AzureServiceTokenProvider azureServiceTokenProvider = new AzureServiceTokenProvider(connectionString);
//var token = await azureServiceTokenProvider.GetAccessTokenAsync("https://management.azure.com"); // 'Forbidden'
var token = await azureServiceTokenProvider.GetAccessTokenAsync(tokenAudience);
//var credentials = new ApiKeyClientCredentials(token); // 'Unauthorized'
var credentials = new Microsoft.Rest.TokenCredentials(token); // Worked
OperationalInsightsDataClient client = new OperationalInsightsDataClient(credentials) { WorkspaceId = Env.env("workspaceId") };

Could you give me a hit, what to try or where to look for solution, please?
Python code (super sloppy…)
from azure.common.credentials import get_azure_cli_credentials
from azure.loganalytics import LogAnalyticsDataClient
from azure.loganalytics.models import QueryBody

credential, subscription = get_azure_cli_credentials(resource="https://api.loganalytics.io")
containerImage, containerHostname = 'openresty-bionic', 'openresty-bionic-qa'

query = f'''ContainerInventory | where Image == '{containerImage}' and ContainerHostname startswith '{containerHostname}' | distinct ContainerID'''
print(query)

workspace_id = '...' # // defaultworkspace-...-eus
timespan = 'PT2M' # 2 minutes
client = LogAnalyticsDataClient(credential)
result = client.query(workspace_id, QueryBody(query=query, timespan=timespan))
for t in result.tables:
	print(t)

Just to add:
from azure.common.client_factory import get_client_from_cli_profile
and
from azure.common.client_factory import get_client_from_json_dict
with the same client_id / client_secret
both throw same error:
azure.loganalytics.models.error_response_py3.ErrorResponseException: (MissingApiVersionParameter) The api-version query parameter (?api-version=) is required for all requests.

Ugh…
As usual, fiddled for whole day, have to open github issue to find the solution in the next 5 min…
RTFM, meaning
credential, subscription = get_azure_cli_credentials(resource="https://api.loganalytics.io")
equivalent is
credential = ServicePrincipalCredentials(tenant=tenant_id, client_id=client_id, secret=client_secret, resource="https://api.loganalytics.io")
not the
credential = ServicePrincipalCredentials(tenant=tenant_id, client_id=client_id, secret=client_secret)
Sorry about noise…

Just wanted to add CredentialWrapper(ClientSecretCredential, ...) works too:
credential = ClientSecretCredential(tenant_id, client_id, client_secret)
credential = CredentialWrapper(credential, resource_id="https://api.loganalytics.io/.default")


spyder Connecting kernel error

Description
What steps will reproduce the problem?

anaconda-navigator
pip install --upgrade spyder
opening spyder

What is the expected output? What do you see instead?
Expected output is to run the program on Console but shows "Connecting Kernel"
Please provide any additional information below
File "/usr/lib/python3/dist-packages/spyder/plugins/init.py", line 511, in
toggled=lambda checked: self.toggle_view(checked),
File "/usr/lib/python3/dist-packages/spyder/plugins/ipythonconsole.py", line 725, in toggle_view
self.create_new_client(give_focus=False)
File "/usr/lib/python3/dist-packages/spyder/plugins/ipythonconsole.py", line 1033, in create_new_client
self.connect_client_to_kernel(client)
File "/usr/lib/python3/dist-packages/spyder/plugins/ipythonconsole.py", line 1059, in connect_client_to_kernel
stderr_file)
File "/usr/lib/python3/dist-packages/spyder/plugins/ipythonconsole.py", line 1477, in create_kernel_manager_and_kernel_client
config=None, autorestart=True)
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 958, in new
inst.setup_instance(*args, **kwargs)
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 986, in setup_instance
super(HasTraits, self).setup_instance(*args, **kwargs)
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 977, in setup_instance
value.instance_init(self)
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1691, in instance_init
self._resolve_classes()
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1696, in _resolve_classes
self.klass = self._resolve_string(self.klass)
File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1507, in _resolve_string
return import_item(string)
File "/usr/lib/python3/dist-packages/traitlets/utils/importstring.py", line 34, in import_item
module = import(package, fromlist=[obj])
File "/usr/lib/python3/dist-packages/jupyter_client/session.py", line 61, in
from jupyter_client.jsonutil import extract_dates, squash_dates, date_default
File "/usr/lib/python3/dist-packages/jupyter_client/jsonutil.py", line 28, in
datetime.strptime("1", "%d")
File "/usr/lib/python3.6/_strptime.py", line 280, in
_TimeRE_cache = TimeRE()
File "/usr/lib/python3.6/_strptime.py", line 194, in init
self.locale_time = LocaleTime()
File "/usr/lib/python3.6/_strptime.py", line 72, in init
self.lang = _getlang()
File "/usr/lib/python3.6/_strptime.py", line 31, in _getlang
return locale.getlocale(locale.LC_TIME)
File "/usr/lib/python3.6/locale.py", line 581, in getlocale
return _parse_localename(localename)
File "/usr/lib/python3.6/locale.py", line 490, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: bho_NP
Version and main components

Spyder Version: 3.2.6
Python Version: 3.6.5
Qt Versions: 5.9.5, PyQt5 5.10.1 on Linux

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  None (NOK)
numpy >=1.7      :  None (NOK)
sphinx >=0.6.6   :  1.6.7 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
psutil >=0.3     :  5.4.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  5.5.0 (OK)
pylint >=0.25    :  1.8.3 (OK)

I had a similar problem (not exact though) after updating everything this mornnig. No method flush in stdio (or something close AFAIR) with a common backtrace on 'traitlets'. I could temporally fix it using
pip install -U ipykernel==4.8.2
Hope this helps.

ipykernel 4.9 is broken (I think).

But that's unrelated to this problem.