Neogit nightly commits are broken

Description
If I open neogit, and then close it, and open it again, all subsequent neogit tabs will throw this error:
stack traceback:
^I[C]: in function 'nvim_exec2'
^Ivim/_editor.lua: in function 'cmd'
^I.../.local/share/nvim/lazy/neogit/lua/neogit/lib/buffer.lua:370: in function 'create_fold'
^I.../.local/share/nvim/lazy/neogit/lua/neogit/lib/buffer.lua:198: in function 'set_folds'
^I....local/share/nvim/lazy/neogit/lua/neogit/lib/ui/init.lua:626: in function 'update'
^I....local/share/nvim/lazy/neogit/lua/neogit/lib/ui/init.lua:603: in function 'render'
^I...hare/nvim/lazy/neogit/lua/neogit/buffers/status/init.lua:1224: in function 'callback'
^I...share/nvim/lazy/neogit/lua/neogit/lib/git/repository.lua:246: in function 'callback'
^I...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
^I...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'saved_callback'
^I...are/nvim/lazy/plenary.nvim/lua/plenary/async/control.lua:126: in function 'tx'
^I.../share/nvim/lazy/plenary.nvim/lua/plenary/async/util.lua:67: in function 'callback'
^I...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:25: in function 'callback_or_next'
^I...share/nvim/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'cb'
^I...yle/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:359: in function <...yle/.local/share/nvim/lazy/neogit/lua/neogit/process.lua:325> function: builtin#18 vim/_editor.lua:0: nvim
_exec2(): Vim(fold):E350: Cannot create fold with current 'foldmethod'

Neovim version
NVIM v0.10.0-dev-2104+gfd2ed024c-Homebrew
Build type: Release
LuaJIT 2.1.1710088188
Run "nvim -V1 -v" for more info
Operating system and version
macOS 14.4
Steps to reproduce
Update branch to nightly with lazy.nvim
Expected behavior
No response
Actual behavior
There are a ton of errors and I'm not able to use any of the neogit functions
Minimal config
-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({
  disable_commit_confirmation = true
  kind = tab
  auto_show_console = false
  graph_style = unicode
}) -- For instance, setup Neogit

Are you setting foldmethod anywhere in your config?

Unsure if this is related, but after updating Neogit to the latest commit (have not updated it for a few days) on the nightly branch in my Windows 11 VM, I am getting this error when I open a buffer or window:
Error executing luv callback:
.../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...pData/Local/nvim-data/lazy/neogit/lua/neogit/process.lua:364: E5560: Vimscript function must not be called in a lua loop callback
stack traceback:
	[C]: in function 'error'
	.../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'
	.../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'callback'
	...vim-data/lazy/plenary.nvim/lua/plenary/async/control.lua:101: in function 'returned_function'
	.../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:31: in function 'callback_or_next'
	.../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'
	.../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'
	.../nvim-data/lazy/plenary.nvim/lua/plenary/async/async.lua:118: in function 'fn'
	...Data/Local/nvim-data/lazy/neogit/lua/neogit/lib/util.lua:520: in function <...Data/Local/nvim-data/lazy/neogit/lua/neogit/lib/util.lua:517>

This error does not occur on Linux for me.

Hmm. Thats the debounce, which is only called when refreshing the status buffer... ugh, windows.
Ok, windows or wsl?

Windows

I wonder why this is only on windows.. If you have time and feel like bisecting (haha), I'd appreciate it, since I don't have access to a windows machine/vm. Otherwise I'll try to get my hands on one at some point.

I wonder why this is only on windows.. If you have time and feel like bisecting (haha), I'd appreciate it, since I don't have access to a windows machine/vm. Otherwise I'll try to get my hands on one at some point.

Bisect leads me to commit ff2df2de4d7c0c2cdb8f1a7c2b665eb4b5a2d096
I should clarify, during the bisect, I came across a different, equally strange error where doing :Neogit leads me to an empty buffer instead of the usual. It didn't error, but it didn't do anything either. I counted it as a bad commit in the bisect.

Yeah, right around there I was changing the order-of-operations with respect to opening the buffer and gathering repo state. Previously, we did repo state first, then opened the buffer as a callback. This worked great, unless you specified a different CWD for neogit. I used vim.fn.lcd() before opening neogit, which changed the wrong window.
Now we do it in the right order, but.. well, I still don't understand why this would only fail on windows.

@CKolkey for what it's worth I'm not on windows. But yes I'm setting my foldmethod to expr in my config

@CKolkey for what it's worth I'm not on windows I'm on macos. But yes I'm setting my foldmethod to expr in my config

No worries, your issue is an easy fix: set the foldmethod to manual more aggressively, in case something else messed with it after I opened the window. I'll push that in a bit

Ohh okay sounds good!

@CKolkey I'm also getting the E5560: Vimscript function must not be called in a lua loop callback error, and it happens every time I open Neogit from a tab where I've used :tcd to change the working directory. Using either :cd or :lcd doesn't trigger the error. This is on both macOS and Linux.
After a bunch of debugging and troubleshooting, I believe I've managed to figure out the core issue, and it's a bug with Neovim itself: https://github.com/neovim/neovim/issues/28213. If any plugin (including Neogit itself) calls vim.api.nvim_buf_call between the vim.cmd.lcd call and the initial refresh of the buffer, or if Neovim internally opens the temporary "autocmd window" for any reason, then the window-local cwd for the status window will be lost. This then means that the git.repo access needs to create a new Repo instance, since the cwd changed, which then needs to find the git root dir, which it does by calling vim.fn.jobstart, which errors, because the original status buffer refresh call was debounced and is thus in a luv loop callback.
If I disable all my plugins except for Neogit, then I can only get it to error once, if I first change the tab-local cwd with :lcd and then only run :Neogit. Subsequent :Neogit calls then don't error. If I enable all my plugins, then it errors every time.

Pushed a commit to nightly that changes the order of operations regarding calling lcd() and drawing the buffer. I can't seem to reproduce this error - do you mind checking to see if this helps? I moved the call to after the last buffer:call() method during buffer creation.

@CKolkey That seems to fix it for me, I'm not getting the error anymore :+1:

Hell yea - all thanks to your reporting 😇

@famiu are you still seeing issues on windows?

I stopped getting this error now @CKolkey ! This is maybe a different ticket, but do you know what setting could be set that'd cause these folds to render with the default fold preview? This doesn't happen on main, only nightly

@famiu are you still seeing issues on windows?

Seemed to be fixed as far as I can tell

@CKolkey I do not, the only fold settings I have are foldmethod=expr and foldlevelstart=99, I tried removing these though and still see the issue


Chunk file reading for large files

There are some use cases that have been brought up for deduping large files (> 10gb). This will result in a crash if the system does not have enough RAM to deal with it, as the file is loaded into memory at this point. We will need to chunk the file into smaller buffers when loading in order to prevent this. It may also make sense to parallelize this process with the URL deduplication process as large files will take longer than necessary due to waiting for the entire file to be loaded. @larskraemer, any thoughts on approach for solving this issue?

In order to tackle this, we might need to rethink how we find duplicates.
Currently, we need to store all of the unique URLs, since Url stores the whole string.
Even if the url_string field is cleared after printing, the map in main holds a copy of the url_key, which we have to assume is similar in size to the original.
In order to be able to deal with really large files, we probably have to read one URL at a time, produce a unique hash of it and then free/reuse the memory. The hash could then be used to check for duplicates.

#17 reduces our maximum memory usage to 16 bytes per unique URL plus some constant amount. I don't think we can do much better, except in the constant amount part.

Hello @larskraemer @ameenmaali I'm not good at coding but i really want this enchancement so i'm dropping an idea. Wouldn't be a good idea to split the file into smaller files, run urldedupe on each file and then mix it together? I'm actually doing that in a bash script to deal with this problem but it would be awesome if urldedupe itself could solve this problem instead.

That wouldn't help after #17 is merged, I don't think, since at the end, we need to keep all unique URLs in memory at once (or an identifier based on them). Would be nice to know if that commit helps in your case, could you build that branch and give it a try?

@larskraemer What if you sort the file first, and the proccess it in parts? And at the end it loads everything in memory and that's it?
Btw how do I build that branch? do I have to delete the current version of urldedupe?

@marcelo321
git clone https://github.com/larskraemer/urldedupe.git
cd urldedupe
git checkout store_hashes
Then build as usual
Been a while since I looked at the code, but that version shouldn't have the memory issue, i.e. it uses only as much memory as is needed for the hashes of all unique URLs. If you have 8GB of RAM, you should be able to handle about 500 million unique URLs.
Sorting probably makes it worse, since sorting the amount of URLs it takes to cause memory issues would probably take many times longer than just throwing them at urldedupe.
If you're still having issues with that version, please report back so I can debug your issue.

@larskraemer Oh nice. I just installed and testing it. I will let you know if i encounter any new problem.


[Feature Request] Forward via ethernet network interface

Idea: Multiple services are proxied via kubefwd started in docker. I would like other container to be able to access forwarded service. Since kubefwd creates lopback interfaces, there is no way to access proxied service over network.
Is there any way to get forwarded services available over network?

kubefwd just needs access to create IPs on whatever network interface it has access to. Have you tried giving the container access to the host network? (BTW this could be a big security issue depending on your environment).

kubefwd just needs access to create IPs on whatever network interface it has access to. Have you tried giving the container access to the host network? (BTW this could be a big security issue depending on your environment).

When running kubefwd in docker it would be nice to have the ability to map a services ports to the address <IP_ADDRESS>. That way there's no need to mess with the hosts network. I can see issues with overlapping ports depending on what people have mapped on their pods/services.

This would be an anti-pattern for kubefwd as many of us have dozens+ of services running on common ports. Using loop-backs and /etc/hosts to approximate the Kubernetes service abstraction is the core feature of kubefwd. I think what you are trying to accomplish might be better served with kubectl port-forward or a proxy solution.


'List is empty' is not shown by default (as per the docs)

I thought the issue was with my code but I tried it on codesandbox and the issue is still there on vue 2
The noOptions slot works just fine, as I can see the value in the DOM but there is a display: none property on the list item that doesn't let it show.
Reproduction Link
https://codesandbox.io/s/vue-2-playground-forked-utp9zo
Steps to reproduce

Select all items

Expected behaviour
It should show List is empty

Actual behaviour
It doesn't show List is empty 😄

Miscellaneous
It's the display:none; that's causing the issue

So I don't know if this is meant to be used with async, but I am using it with the hideOnSelected prop, which makes the selected options disappear from the list.
I was checking the source code and found this:

    <slot name="noOptions">List is empty.</slot>

Findings:

options.length is not 0 as I can see in my vue-devtools
I am not using options group also here

the condition on the list item results to false, and thus it's showing display:none.
Should it not be filteredOptions.length === 0 instead of options.length === 0?

@akki-jat @shentao Could you please assign me this issue. I have resolved it and created a PR for the same. #1699 . Thanks.


Can't get Http to work

In my service I have following
import {Http} from 'angular2/angular2';

export class TodoList {
  constructor(public http: Http) {
  }
}

And I get following error:
EXCEPTION: Cannot resolve all parameters for TodoList(?). Make sure they all have valid type or annotations.
angular2.dev.js?v=0.0.0:22367 STACKTRACE:
angular2.dev.js?v=0.0.0:22367 Error
    at NoAnnotationError.BaseException (angular2.dev.js?v=0.0.0:7735)
    at new NoAnnotationError (angular2.dev.js?v=0.0.0:9092)
    at _dependenciesFor (angular2.dev.js?v=0.0.0:25801)
    at execute.Binding.resolve (angular2.dev.js?v=0.0.0:25933)
    at _resolveBindings (angular2.dev.js?v=0.0.0:26948)
    at Function.execute.Injector.resolve (angular2.dev.js?v=0.0.0:27609)
    at Function.execute.DirectiveBinding.createFromBinding (angular2.dev.js?v=0.0.0:28206)
    at Function.execute.DirectiveBinding.createFromType (angular2.dev.js?v=0.0.0:28237)
    at execute.Compiler._bindDirective (angular2.dev.js?v=0.0.0:29479)
    at execute.Compiler.compileInHost (angular2.dev.js?v=0.0.0:29495)

Any ideas how to get this work?

@tarlepp This is not related to angular2-seed issue.
Actually, http is a module in its own since angular 2.0.0.alpha.35.
You have to extend your copy of the seed to load additional modules you would want to use.

I believe the current version of the seed doesn't include the http module at the moment. It's now been excluded from angular2 and you should import from http/http. And also include the http.dev.js file from angular2/bundles, but I think you could also directly reference it in the PATH on top of the gulpfile :
angular: [
            './node_modules/angular2/bundles/angular2.dev.js',
            './node_modules/angular2/bundles/router.dev.js',
            './node_modules/angular2/bundles/http.dev.js'
        ]

I just did a test and it copies the http.dev.js file where it should and injects properly the


Fix area plural issue, add testcase

Fix #168

Added specific case for the word area as discussed in #168

Understood. I put it there for the context of the row above that is probably causing the issues for us. I'll move it.

On Jun 27, 2017, at 06:14, Aaron L<EMAIL_ADDRESS>wrote:
@aarondl requested changes on this pull request.
Sorry this took so long to get to. :(
In strmangle/inflect.go:

@@ -94,6 +94,7 @@ func newBoilRuleset() *inflect.Ruleset {
rs.AddSingular("s", "")
rs.AddSingular("ss", "ss")
rs.AddSingular("as", "as")

rs.AddSingularExact("areas", "area", true)
I hate to make a comment on this PR that requires changes. But this should be with the other AddSingularExact calls.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Squashed updated fix.

Thanks very much. :)


ChannelResourceIdentifier for requests and responses doesn't work with a 'key'

When I use API client to get inventory(-ies) for product, response ApiHttpResponse<InventoryPagedQueryResponse> doesn't contain a key for supplyChannel even if the channel included the key.
Below is a sample of code, I'm using in my app:
apiConfiguration.getClient()                 .withProjectKey(apiConfiguration.getProject())                 .inventory()                 .get()                 .addWhere("sku=\"" + SKU_SAMPLE + "\"")                 .addExpand("supplyChannel")                 .addLimit(1)                 .execute()
"Pure" HTTP response (or response made by Postman, just for checking) looks OK and it contains all needed fields (also the obj for subblyChannel and the key; but it is a Map), but data is not propagated correctly to the InventoryEntry object.
We could find analogy in the Price's channel, where a Channel is defined as a ChannelReference - not a ChannelResourceIdentifier. There is not a problem go deeper into the data structure and get key for the channel.
Similar problem with reference to the channels occurs, when I want to save reference to the channel by key, eg. when I store set of references to the channels for product type. In this case I can not use ChannelResourceIdentifierBuilder.of().key("CHANNEL_SAMPLE_KEY").build() - message from server is 400, but when I use channel ID - everything was fine.
I'm not sure, where the clue of problem is. I can share more data from debug if you like.
EDIT: My suggestion for resolve first of issue is replacing ChannelResourceIdentifier by ChannelReference. I have tested it with customized InventoryEntry where I have used ChannelReference instead of ChannelResourceIdentifier. In case when I don't use .addExpand("supplyChannel") Channel doesn't contain "key" and doesn't contain "obj", but when I use expand - response contains obj with all reference to the right channel.
Stack information:

Java 8 and 11
SDK 4.1.0

:thinking: Class InventoryEntry https://github.com/commercetools/commercetools-sdk-java-v2/blob/master/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/inventory/InventoryEntry.java in this SDK contains expected ChannelReference property.
It looks like the only the jar file commercetools-sdk-java-api-4.1.0.jar from Maven contains wrong (?) type of ChannelReference. Anyway this is the bug - there is no consequence in the data type.

Last commit https://github.com/commercetools/commercetools-sdk-java-v2/commit/ae70556b86a8b5f9eacf5a267838959205bbc5da#diff-63f903b2c35bb86cd01adcaae1167eb75d1ae56fdf590f14685429dcefed59a6 has triggered update for this line, but it looks like the jar for Maven wasn't updated with new content.

ChannelResourceIdentifiers are write models and has been added by mistake to the InventoryEntry read model. The fix has been already added to the repository but the release was not done yet. I just tagged a new version of the SDK and it's in the deployment right now.
As there were some type changes I released it as a new Major version for safety reasons. But overall it should be backwards compatible without big changes.

ChannelReference fixed in last release 5.0.0. :+1:


Feature Request: support Spout or NDI output

Could you add Spout or NDI output so we could use this in VJ software?

Sorry for the slow reply! I don't know anything about the VJing software stack— other than that VJing is really cool— but it looks like most folks who try to do this use something called NDI ScanConverter.
That said, if there's a website that already supports Spout or NDI output somehow, let me know so I can learn more about it.
If you get something working, will you let me know? It sounds like a useful thing to add to the upcoming Examples page.


Model problem

Hello!
When testing fashion compatibility and recommendation tasks, which path is the corresponding pre-trained model?
"--checkpoint checkpoint/FashionRecommend/TypeAware/latest.pth"
"--checkpoint, help='checkpoint file',
default='checkpoint/FashionRecommend/TypeAware/disjoint/l2_embed/epoch_16.pth"
I don't know where the two models are stored. I hope you will take the time to help me answer it.
Thank you!

The path in the code is the default path. You can download the checkpoint and change it according to your own case.

Closed since no activity.

Hello!
Thank you very much for taking the time from your busy schedule to answer my question, but your answer did not solve my problem.
The default path can be modified, but we did not find the download address of the latest.pth and epoch_16.pth models. Please give me the download addresses of these two models, thank you!


BRAS - The input in the search bar returns the company, but also a location

ENVIRONMENT:
url: https://peviitor.ro/
browser: Chrome
device: laptop
OS: Windows
Version: 10
STEPS TO REPRODUCE:
Open url in browser
Type "bras" in the search bar.
Click on "cauta".
EXPECTED RESULTS:
You are redirected to the available jobs for BRAS company, located in Iasi.
ACTUAL RESULTS:
You are redirected to the available jobs for BRAS company from Iasi, but you get another result from Romstal, in Brasov.
The search bar mistakes "BRAS", the company, with the first four letters in "Brasov".
Attachments:
https://github.com/peviitor-ro/search-engine/assets/136991701/34a728fe-c898-41c7-97bc-984c6d8f0b63

That search is not for company name perfect match, that search is for job keywords. People will search for "C# developer" for example they will not use that to search for a specific company.
When you search through that search bar you will be redirected here: https://peviitor.ro/rezultate?q=bras&country=România&page=1
But if you want perfect company name match you can use: https://peviitor.ro/rezultate?company=bras&country=România&page=1


DOCK-2229: added type parameter and removed filtering in ui

Description
This PR adds the type parameter to getUserEntries in the new dashboard to remove filtering steps in the UI
Review Instructions
Verify that all entries are still added and filtering occurs in the webservice instead of the UI
Issue
https://ucsc-cgl.atlassian.net/browse/DOCK-2229
https://ucsc-cgl.atlassian.net/browse/DOCK-2273
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.
[x] Check whether this PR disables tests. If it legitimately needs to disable a test, create a new ticket to re-enable it in a specific milestone.

I know @KimberleyChong originally wrote this code (and created the ticket too, I think), so added her as a reviewer.

Looks like that was Eileen not me :)

https://ucsc-cgl.atlassian.net/browse/DOCK-2229
https://ucsc-cgl.atlassian.net/browse/DOCK-2273

A bit of a do as I say and not as I do thing, but prefer linking to the github issues rather than jira for DOCK tickets since it creates a nice link back to this ticket from the other side without leaving github
i.e.
https://github.com/dockstore/dockstore/issues/5088
https://github.com/dockstore/dockstore/issues/5219

I know @KimberleyChong originally wrote this code (and created the ticket too, I think), so added her as a reviewer.

Looks like that was Eileen not me :)

Whoops, sorry!


GitHub Actions: Consider setting up a cache for build artifacts

This would speed up the CI a bit. Mostly what's needed is to just cache the /target directory and potentially $CARGO_HOME.
As an added perk, if we integrate criterion, this should let us see performance diffs in CI (criterion saves statistics from its last run under /target).
https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows

Thanks @uint.  I've implemented dependency caching in the CI and code coverage jobs.  Caching spans ~/.cargo/registry, ~/.cargo/git, and target.  Do you know if we need separate caches for stable vs. beta vs. nightly channels?  Or can we use a single cache across the three channels?

I think they're all going to produce separate artifacts, so dividing them up might help keep the caches smaller. I don't know if that will affect build times much in practice though.

Released in v0.6.0
https://github.com/ndebuhr/sim/releases/tag/v0.6.0


ResourceReaper binding uses dockerConfigHostPath instead of default value

LGTM, @rnorth @bsideup, can you have a look?

We might need to pass ENV variables to ryukContainer as well so that this container will can use the overridden DOCKER_HOST

@aantoniadisatypon  Sorry that the PR was pending so long. LGTM, but can you please rebase?

Regarding Ryuk, you are right, but I think the code already handles this:
https://github.com/testcontainers/moby-ryuk/blob/master/main.go#L25

@kiview there are some implications, plz don't merge, I'll try to explain tonight

This issue is now bothering me .
I tried running testcontainers with "rootless docker", but Reaper ryuk is not connecting to the correct unix domain socket


Subnet-EVM Configs needed

The Issue
The docs do not contain a page on Subnet-EVM configs.
The Ideal Solution
Add a "Subnet-EVM" page to the Chain Configs dropdown under "Configure". The page should be based on the current configs enabled.
Nice To Have

Put the new .md directly in the Subnet-EVM repo, in the same file location as config.go, naming it config.md. Pull the remote content into the docs via the remoteContent.mts

Review and Update the other Chain Config files.

Additional Context
Note: There is currently a page that explains L1-level configs. This is not the same as what is being requested. Subnet-EVM configs are applied to the VM running a Subnet-EVM chain, while L1-level configs are applied to whole L1, validators and all.
For example, Subnet-EVM configs can specify RPC APIs, changes tx pool config, database configs, etc. All these configs only affect a single chain that it's configured for. The config path should be ~/.avalanchego/configs/chains/<chainID>/config.json.
L1-level configs are applied to all chains running on that L1. They include consensus parameters, gossip configs, validatorOnly relay. The config path is ~/.avalanchego/configs/subnets/<subnetID>.json.

Let's put this is the new EVM L1s section


Open an overlay container based on external props

Bug report
What is the current behavior?
I want to make an overlay visible or not based on an external props.
If the current behavior is a bug, please provide the steps to reproduce.
It's not a bug
What is the expected behavior?
Everytime that props in my component changes, the container should show/hide
Other relevant information:
reakit version:  0.15.x

You can accomplish that using the visible props on Overlay component. You can have a look at this simple example o just put together. https://codesandbox.io/s/rrm2l8xn6p


Update .editorconfig

Improved code

@Deepakksahoo Please don't do such a waste of time for a free t-shirt 🙏🏽 This won't make you a good developer.
On a side note, if you are into web development, check out India's first-ever news channel on Web Development 🔥 👉🏼 https://youtu.be/vLLedNJy7BY

Hi @chinchang 👋
Thanks for these really great library🔥
Just wanted to share that you can add a invalid tag on PR so that the PR is not considered as a contribution for the challenge.
Its sad to see how these challenge is creating spam rather than meaningful contribution.


[MTIVertex]Can I custom the vertices data passing to vertex shader?

MTIVertex contains position and textureCoordinate , in my case, I need add one more component color, is it possible?
struct MTIVertex {
    vector_float4 position;
    vector_float2 textureCoordinate;
};

Yes, just create a class that implements MTIGeometry protocol. Use MTIRenderCommand to create draw calls and MTIRenderCommand.imagesByPerformingRenderCommands(....) to filter image.
See MTIVertex's implementation for reference.

@YuAo Thank you very much.


[WelcomeUX] Disable minimap in Interactive playground

VSCode Version: 1.10-Insider
OS Version: macOS

We may want to disable disable minimap feature explicitly when creating editors in playground as most of them only contain a couple of lines.

How about doing the same thing for the settings pages ?

Not sure, these can be large documents. /cc @sandy081

Neutral to it. Ok to disable mini maps there.


Week of January 11: Cut buildpack releases

Relevant component buildpacks have been released - we will release the language family buildpack once the autobumps take place.

With the release of Ruby Buildpack v0.23.1 this is complete.


Need a collection example

There is https://github.com/stac-extensions/eo/blob/main/examples/item.json.  There needs to be a corresponding examples/collection.json.

This might be a starter example https://gist.github.com/schwehr/8ae153363c744d14d49a7021f5c4cb0b. Thanks to @joshfix for the original that this example comes from

https://gitter.im/SpatioTemporal-Asset-Catalog/1.0-testing?at=60b73a259d18fe19983cba77

Matthias Mohr
eo is only applicable to summaries, assets and item_assets in Collections. properties in collections is not a thing and will not be picked up by tooling. You should put the cloud cover into summaries.

@m-mohr Can you point me at a valid example of using EO in a Collection?
    {
      "$comment": "This is the schema for STAC Collections.",
      "allOf": [
        {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "const": "Collection"
            },
            "assets": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/fields"
              }
            },
            "item_assets": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/fields"
              }
            }
          }
        },
        {
          "$ref": "#/definitions/stac_extensions"
        }
      ]
    }

Sure, our openEO proxy is actually "fixing" the GEE files in such a way: https://earthengine.openeo.org/v1.0/collections/COPERNICUS/S2

@m-mohr , I see that the S2 example has the collection-assets extension:
{
  "stac_version": "1.0.0-rc.2",
  "type": "Collection",
  "stac_extensions": [
    "collection-assets"
  ],
  "id": "COPERNICUS/S2",
  "title": "Sentinel-2 MSI: MultiSpectral Instrument, Level-1C",
  "gee:type": "image_collection",

But the stac-spec changelog for 1.0.0-rc.2 refers to the "former" collection-assets extension:
### Fixed

- Examples
- Collection Assets were specified as required (only in written text, not in JSON Schema), but that was incorrectly copied over from the former `collection-assets` extension. Collection Assets are not required.

That's indeed an oversight on my side. I have to remove it.

Was there a commit that fixed this? @m-mohr

Oh yeah, I forgot to read the initial request. Thought it's just an openEO issue ;-)


Package request: ipu6-softisp (jwrdegoede's open source ipu6 camera stack)

Project description
Enables using ipu6 webcams. Intel's proprietary ipu6 drivers don't work on my device, but the open source one does. Currently it's only installable on Fedora 39 unfortunately.
Metadata

homepage URL: https://hansdegoede.livejournal.com/27909.html
source URL: https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/ (I'm not sure where the source code is)
license: unknown
platforms: linux

Add a :+1: reaction to issues you find important.

Looks like there is a first implementation here: https://code.tvl.fyi/about/users/flokli/ipu6-softisp as reported in  https://github.com/NixOS/nixpkgs/issues/225743#issuecomment-1984955853 and a few users seems happy with it.

Looks like there is a first implementation here: https://code.tvl.fyi/about/users/flokli/ipu6-softisp

How to get the NixOS config to use (also will it work with today's NixOS unstable)?
Btw Fedora 41 now has the (IPU6 hi556) camera working OOTB on Redrix  (HP Elite Dragonfly Chromebook) and it would be great if there was an option for NixOS to have the same packages for this as Fedora 41 does.


ovftool: replace libxcrypt with libxcrypt-legacy

Description of changes
Currently, the application does not build because it requires libcrypt.so.1. #223476 is a similar issue.

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 rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/964


Multiple database connections cause enumeration type to default to int after first first call

My apologies if this is in the wrong place, or if I don't have enough information. This just seemed the most likely package where the issue was occurring.
I have two databases that I am connection to, that both have custom enumeration types. If I new up the first database connection, and access it, then new up a database connection for the second one, and access it, the second one then throws an error, trying to convert the enumeration to an Int32, which is incorrect behavior.
Conversely, if instead both database connections are made first, then are accessed, it does not attempt to convert to an Int32, and everything runs smoothly.
I know this doesn't make a lot of sense, so I created a test project that showcases what is happening, and can be found here: https://github.com/alex-polosky/cs-dotnet-ef-npgsql-multi-db-error
Please let me know if I made this issue in the wrong area, or if anyone thinks it could be an issue with the core Npgsql solution instead. Also, let me know if I need to shave off more code, I know that I have a data access layer in between the access and database connection, however I presume that it'd throw the same error. Actually, that might make for a good test.3 project.

So, upon getting my environment set up with Npgsql.EntityFrameworkCore.PostgreSQL as a Project Reference rather than just an Package Reference (so I can get the associated source code), the error occurs in Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute<bool, bool> , line 29.
Looks like I'm going to have to get the entire EFC stack up and running on my machine to properly debug things (at least via VSCode, I don't have a VS2019 license, nor am I even using sln files), as here is the full exception stack trace inside the package:
Exception has occurred: CLR/System.InvalidCastException
An exception of type 'System.InvalidCastException' occurred in Npgsql.EntityFrameworkCore.PostgreSQL.dll but was not handled in user code: 'Can't cast database type db2.custom_type_2 to Int32'
   at Npgsql.NpgsqlDefaultDataReader.GetFieldValue[T](Int32 column)
   at Microsoft.EntityFrameworkCore.Storage.Internal.TypedRelationalValueBufferFactory.Create(DbDataReader dataReader)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.BufferlessMoveNext(DbContext _, Boolean buffer)
   at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) in /path/to/the/src/code/cs-dotnet-ef-npgsql-multi-db-error/npgsqlEFCPsql/src/EFCore.PG/Storage/Internal/NpgsqlExecutionStrategy.cs:line 29
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.<_TrackEntities>d__17`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()

So, upon getting my environment set up with Npgsql.EntityFrameworkCore.PostgreSQL as a Project Reference rather than just an Package Reference (so I can get the associated source code), the error occurs in Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute<bool, bool> , line 29.
Looks like I'm going to have to get the entire EFC stack up and running on my machine to properly debug things (at least via VSCode, I don't have a VS2019 license, nor am I even using sln files), as here is the full exception stack trace inside the package:
Exception has occurred: CLR/System.InvalidCastException
An exception of type 'System.InvalidCastException' occurred in Npgsql.EntityFrameworkCore.PostgreSQL.dll but was not handled in user code: 'Can't cast database type db2.custom_type_2 to Int32'
   at Npgsql.NpgsqlDefaultDataReader.GetFieldValue[T](Int32 column)
   at Microsoft.EntityFrameworkCore.Storage.Internal.TypedRelationalValueBufferFactory.Create(DbDataReader dataReader)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.BufferlessMoveNext(DbContext _, Boolean buffer)
   at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) in /path/to/the/src/code/cs-dotnet-ef-npgsql-multi-db-error/npgsqlEFCPsql/src/EFCore.PG/Storage/Internal/NpgsqlExecutionStrategy.cs:line 29
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.<_TrackEntities>d__17`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()

Apologies for not answering this sooner, this slipped under my radar.
Unfortunately, this is the way things currently work. Internally, type mappings are managed by NpgsqlTypeMappingSource. As you can see here, when this type is instantiated it consults the ADO.NET layer and extracts all enum mappings that have been registered there by the user; this is why MapEnum() must be called before starting to actually use the DbContext.
Now, (by default) NpgsqlTypeMappingSource is shared by all contexts and context types - this is why you're seeing the behavior you're seeing, and the only way to make sure things work properly is to call both MapEnum()s before starting work. This isn't a perfect solution, since both mappings are in effect for both databases, although each enum is only defined in its own database.
The solution here would probably be to change the way enums work to be more like user-defined ranges, i.e. have these mappings as context options. Since different context options trigger the creation of different service providers, each context type will have its own NpgsqlTypeMappingSource with only the right mappings.
The remaining question would be what to do about the ADO.NET-level mapping. We could still require the user to do that, separately from the EF Core mapping - this is easy, but it seems odd to require the user to express the same thing twice in the two layers. We could also have the EF provider set up the ADO mapping, but then it wouldn't be global, but connection-specific, which currently has a pretty steep perf price (but see https://github.com/npgsql/npgsql/issues/2263). Or we could have an ADO optimization whereby if the user sets up a global mapping, and later EF (or anyone) adds a connection-specific mapping, nothing is done.
What do you think @austindrenski @YohDeadfall @Brar?

The solution here would probably be to change the way enums work to be more like user-defined ranges, i.e. have these mappings as context options. Since different context options trigger the creation of different service providers, each context type will have its own NpgsqlTypeMappingSource with only the right mappings.

I like the sound of of that, but I'm having a bit of deja vu... Let me see if I can track down the related issues.

See #1026 with some thoughts on how to redesign enum mapping to properly fix this.


When you have finished running a task, the terminal panel will always close automatically

VSCode Version:1.15
OS Version:macOS 10.12.6

When you have finished running a task, the terminal panel will always close automatically...
1.14 is no such problem

@ppyupp  This depends on how you have configured the task. Can you provide a setup that demonstrates the problem. Then I can either tell you how to configure it or investigate whether we have a bug.

my task config:
{
"version": "2.0.0",
"tasks": [
{
"taskName": "php",
"command": "/opt/php/bin/php",
"type": "shell",
"args": [
"${file}"
],
"presentation": {
"reveal": "always",
"echo": false
},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

@dbaeumer
my task config:
{
"version": "2.0.0",
"tasks": [
{
"taskName": "php",
"command": "/opt/php/bin/php",
"type": "shell",
"args": [
"${file}"
],
"presentation": {
"reveal": "always",
"echo": false
},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

@dbaeumer
`<?php
echo 123;`
when i run these code,   the terminal panel will always close automatically
<?php sleep(1); echo 123;
but...these code, the terminal panel will not close....

I have the same problem: Tasks automatically close the terminal they opened after they ran.
Example tasks.json:
{
	"tasks": [
		{
			"args": [
				"hello"
			],
			"command": "echo",
			"presentation": {
				"echo": true,
				"focus": true,
				"panel": "new",
				"reveal": "always"
			},
			"problemMatcher": [],
			"taskName": "echo hello",
			"type": "process"
		}
	],
	"version": "2.0.0"
}

Tested with macOS 10.12.6 and vscode 1.15.1.

@ChristianSiegert thanks for the repro.

Moving to August time dependent.

@ChristianSiegert since I can't reproduce this does this happen with the following task as well.
{
	"tasks": [
		{
			"args": [
				"-e", "console.log('Hello')"
			],
			"command": "node",
			"presentation": {
				"echo": true,
				"focus": true,
				"panel": "new",
				"reveal": "always"
			},
			"problemMatcher": [],
			"taskName": "echo hello",
			"type": "process"
		}
	],
	"version": "2.0.0"
}

I suspect that this happens because echo typically executed inside a shell. Does this work if you change the "type" to "shell"?

@dbaeumer If I change “type“ from “process” to “shell” in the task I posted originally, the behavior stays the same (the terminal is closed). If I use your task, the terminal stays open.
I tested further and it seems to be a race condition. I created two shell scripts, script-1.sh and script-2.sh. script-1.sh is simply echo and always triggers the bug. script-2.sh is echo and sleep. For my system, this is the behavior with different sleep values (sleep accepts a float on my system):

sleep 0.09: terminal almost always closes itself
sleep 0.1: terminal closes itself about 50% of the time
sleep 0.11: terminal rarely closes itself
sleep 1: terminal never closes itself

script-1.sh:
#!/bin/bash
echo "hello"

script-2.sh:
#!/bin/bash
echo "hello"
sleep 0.1

tasks.json:
{
	"tasks": [
		{
			"command": "./script-1.sh",
			"problemMatcher": [],
			"taskName": "script 1",
			"type": "shell"
		},
		{
			"command": "./script-2.sh",
			"problemMatcher": [],
			"taskName": "script 2",
			"type": "shell"
		}
	],
	"version": "2.0.0"
}

@ChristianSiegert thanks for the investigation.
@Tyriar in both cases I construct the same command line which I pass to the terminal instance. Could it be that the terminal registers a listener async and in the script-1.sh sample the process already has finished before the listener is registered.

@dbaeumer ah I know what the problem here is... Currently how I know that a shell failed to launch is by seeing if it exited within 500ms:
https://github.com/Microsoft/vscode/blob/751a32c61791b78264a8b90361a0f29fc8377433/src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts#L646-L661
We're only entering the waitOnExit handling block if the terminal state was KILLED_BY_PROCESS which ensures the shell has been running for 500ms+. This just needs to be changed to if (this._shellLaunchConfig.waitOnExit) since we always want to respect this.


Developer Bio and Contact section

Acceptance Criteria
WHEN I load their portfolio
THEN I am presented with the developer's name, a recent photo or avatar, and links to sections about them, their work, and how to contact them
Tips
To link an image to another document, simply nest the  tag inside an  tag (see example below).

Closed issue with most recent commit


SocketModeClient expose async event loop param

Summary
This PR exposes the loop (asyncio event loop) parameter of the async SocketModeClient, so that the socket mode client can be used inside an existing asyncio event loop.
Testing
Ensure that the parameter is actually passed through? This is a rather trivial change just to expose a parameter that currently isn't.
Category

[ ] slack_sdk.web.WebClient (sync/async) (Web API client)
[ ] slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
[x] slack_sdk.socket_mode (Socket Mode client)
[ ] slack_sdk.signature (Request Signature Verifier)
[ ] slack_sdk.oauth (OAuth Flow Utilities)
[ ] slack_sdk.models (UI component builders)
[ ] slack_sdk.scim (SCIM API client)
[ ] slack_sdk.audit_logs (Audit Logs API client)
[ ] slack_sdk.rtm_v2 (RTM client)
[ ] /docs (Documents)
[ ] /tutorial (PythOnBoardingBot tutorial)
[ ] tests/integration_tests (Automated tests for this library)

Requirements

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've run python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.sh after making the changes.

Apologies... my first attempt to sign the CLA resulted in an error, and my second attempt resulted in "You already signed the CLA on 2024-12-04"...

@jantman looks like although the CI checks passed, 3.11 and 3.12 are returning annotations of runtime testing errors: RuntimeError: Event loop is closed. Could you take a look into what might be causing this, or this an expected byproduct of your PR? If so, what can we do to eliminate this error since it seems to be introduced by the PR?

@hello-ashleyintech Thanks for checking this. It seems the warning/error logs can occur without this PR's changes. So, the unit tests might need to be improved, but there is no need to check its details this time.


Extract SpikeTrain from AnalogSignal

@apdavison Is there a function for this yet?  I didn't see it in a brief search.  If not let me know if I should just contribute the old AnalogSignal.threshold_detection code from NeuroTools, and if so to what module (maybe a new module for AnalogSignal manipulations, which could subsume sta.py since it currently only has one function).

No, there isn't a function for this yet; I'd be happy for you to adapt the code from NeuroTools. Not sure about the module. Maybe spike_train_generation?
In general, I'm not too worried at the moment about module naming, and where certain functions should go; I think this is a discussion to have once we have a larger number of functions implemented. At that point we can move things around.

You can also take code from
https://github.com/OpenElectrophy/OpenElectrophy/tree/master/OpenElectrophy/spikesorting/detection
to port it to elephant.
There are several detection methods there.

Excellent idea @samuelgarcia

On looking at this a second time, are your modules for extracting spikes from extracellular recordings, @samuelgarcia ? I think @rgerkin is talking about the easier task of extracting spikes from intracellular recordings; perhaps we should provide both, although I'm not sure Elephant should tackle issues related to spike sorting, as there are already Python packages for that.

Intracellular spike detection is the most simple case of extra cellular spike detection : one electrode + absolut threshold.
The are two algo implemented about that in OpenElectrophy : one with threshold detection and one with peak detection above a threshold. Both are implemented in numpy style or numepxr.
See
https://github.com/OpenElectrophy/OpenElectrophy/blob/master/OpenElectrophy/spikesorting/detection/tools.py
This very simple codes that can be copy/paste/adapted.

@apdavison Yes, it seems like spike sorting is a big enough issue on its own to be outside the scope of elephant.  Having it work well with spike sorters makes sense, but I don't think spike sorting itself belongs in elephant.

Yes, I agree, at least for now spike sorting is too big a topic for Elephant, in particular since spike sorting is also something that profits a lot from visualization.

@apdavison @samuelgarcia OK, I think I will just take it from NeuroTools to keep it simple.  And I will put it in spike_train_generation and update that module's docstring.  The OpenElectrophy version looks more powerful but there are more decisions to make if we want to use it.  For example, to avoid duplication would OpenElectrophy ever import elephant if some of the most basic single channel threshold detection algorithms are moved there?

I finished it and submitted the pull request, but Travis is failing at the virtualenv activation stage (before it gets anywhere near my code). @apdavison Any idea what's happening here?

@rgerkin the errors are partially a Travis problem, it can't initiate the virtual environment. After restarting the  jobs those errors will disappear in most of the cases (but can appear for certain builds again).
But at the moment one of our unittests are broken, because of different library versions. I suggested a quick fix in a pull request (https://github.com/NeuralEnsemble/elephant/pull/46). If this will be merged you could update your pr and rerun the jobs.

@alperyeg OK, thanks. I'll keep an eye on it.

Working except for #54.


Setting sortImports.args produces Invalid patch string

Issue Type: Bug
I recently set the following option to improve the compatibility of isort with black:
"python.sortImports.args": [
    "--profile", "black"
]

However, the following error occurs when activating it:
Invalid patch string: >>>PYTHON-EXEC-OUTPUT

This does not happen if this option is not set. Maybe there is a problem with escaping the parameters?
Extension version: 2022.4.0
VS Code version: Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5, 2022-03-30T05:50:04.419Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (4 x 3100)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
5, 7, 8

Memory (System)
16.00GB (0.34GB free)

Process Argv

Screen Reader
no

VM
0%

@karrtikr This looks like an issue with the conda run marker removal when using observable. For isort I am not sure why we need the observable there? Can we change it to normal exec?

I'm also getting this. Tried multiple vscode versions, tried uninstalling and clearing everything, tried reinstalling Python extension, nothing working. Idk how it started but suddenly I can't run isort or black due to this Invalid Patch String error.

@RamiAwar Please provide the logs which describes the commands we run, after setting python.logging.level to debug in User settings.

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

I have the same issue, and see the following error in my python (debug-level) log when I run isort:
[DEBUG 2022-4-10 3:32:0.486]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_FOLDER_INTERPRETER_PATH_/workspaces/pfs/drp_stella"-Arg-Separator-undefined
[DEBUG 2022-4-10 3:32:0.486]: Cached data exists KeyPrefix=Cache_Method_Output_h.addKeyToStorage-Args="global"-Arg-Separator-"WORKSPACE_INTERPRETER_PATH_/workspaces/pfs/pfs.code-workspace"-Arg-Separator-undefined
[DEBUG 2022-4-10 3:32:0.487]: Cached data exists getEnvironmentVariables, /workspaces/pfs/drp_stella/python/pfs/drp/stella/SpectrumContinued.pyi
[DEBUG 2022-4-10 3:32:0.488]: Cached data exists KeyPrefix=Cache_Method_Output__.getCondaVersion-Args=
> conda run -n base --no-capture-output --live-stream python ~/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/sortImports.py - --diff
cwd: /workspaces/pfs/drp_stella/python/pfs/drp/stella
[ERROR 2022-4-10 3:32:3.251]: Failed to format imports for '/workspaces/pfs/drp_stella/python/pfs/drp/stella/SpectrumContinued.pyi'. [Error: Invalid patch string: <<<PYTHON-EXEC-OUTPUT
	at n.v (/home/pfs/.vscode-server/extensions/ms-python.python-2022.4.1/out/client/extension.js:32:65606)
	at y.getWorkspaceEditsFromPatch (/home/pfs/.vscode-server/extensions/ms-python.python-2022.4.1/out/client/extension.js:32:68472)
	at S._provideDocumentSortImportsEdits (/home/pfs/.vscode-server/extensions/ms-python.python-2022.4.1/out/client/extension.js:65:6858)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)]
[DEBUG 2022-4-10 3:32:9.507]: Cached data exists KeyPrefix=Cache_Method_Output__.ensureEnvironmentContainsPython-Args="/opt/pfs/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-3.0.0/bin/python"

For anyone running into this issue, please try https://marketplace.visualstudio.com/items?itemName=ms-python.isort . It might handle these cases better, and we plan on eventually switching to that extension.

To solve this issue we would need the exact output of the isort command we run:
conda run -n base --no-capture-output --live-stream python ~/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/sortImports.py - --diff

@PaulPrice Can you please help with that? Note you may need to paste the file content as stdin to the command.

I also encountered this error when using vscode remote which has conda installed.

@karrtikr Sorry for the delay. It took a while before I hit this issue again in regular work.
Here's a copy-paste from the VSCode terminal of the entire session. You can see that it does conda activate base automatically; I hope that doesn't affect the results. I needed to change the command slightly, since it seems I've upgraded the extension.
conda activate base
(lsst-scipipe-3.0.0) [pfs@9bf5dd34558f ctrl_bps_parsl]$ conda activate base
(base) [pfs@9bf5dd34558f ctrl_bps_parsl]$ conda run -n base --no-capture-output --live-stream python ~/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/sortImports.py - --diff < python/lsst/ctrl/bps/parsl/site.py
python: can't open file '/home/pfs/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/get_output_via_markers.py': [Errno 2] No such file or directory
ERROR conda.cli.main_run:execute(41): `conda run python /home/pfs/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/get_output_via_markers.py /home/pfs/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/sortImports.py - --diff` failed. (See above for error)
(base) [pfs@9bf5dd34558f ctrl_bps_parsl]$ conda run -n base --no-capture-output --live-stream python ~/.vscode-server/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.8.0/pythonFiles/sortImports.py - --diff < python/lsst/ctrl/bps/parsl/site.py
>>>PYTHON-EXEC-OUTPUT
--- :before     2022-06-24 14:58:40.625837
+++ :after      2022-06-24 14:58:40.626761
@@ -1,15 +1,14 @@
+from abc import ABC, abstractmethod
 from typing import TYPE_CHECKING, List, Optional
-from abc import ABC, abstractmethod

 from lsst.ctrl.bps import BpsConfig
 from lsst.utils import doImport
+from parsl.addresses import address_by_hostname
 from parsl.executors.base import ParslExecutor
 from parsl.monitoring import MonitoringHub
-from parsl.addresses import address_by_hostname

-from .configuration import require_bps_config_value, get_workflow_name
+from .configuration import get_workflow_name, require_bps_config_value
 from .environment import export_environment
-

 if TYPE_CHECKING:
     from .job import ParslJob
<<<PYTHON-EXEC-OUTPUT

And here's what's in the VSCode log when I run the command there:
> conda run -n base --no-capture-output python ~/.vscode-server/extensions/ms-python.python-2022.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2022.8.0/pythonFiles/sortImports.py - --diff
cwd: /workspaces/LSST/ctrl_bps_parsl/python/lsst/ctrl/bps/parsl
[ERROR 2022-5-24 14:59:16.647]: Failed to format imports for '/workspaces/LSST/ctrl_bps_parsl/python/lsst/ctrl/bps/parsl/site.py'. [Error: Invalid patch mode '<' in: <<PYTHON-EXEC-OUTPUT
	at e.v (/home/pfs/.vscode-server/extensions/ms-python.python-2022.8.0/out/client/extension.js:2:140213)
	at y.getWorkspaceEditsFromPatch (/home/pfs/.vscode-server/extensions/ms-python.python-2022.8.0/out/client/extension.js:2:142429)
	at _provideDocumentSortImportsEdits (/home/pfs/.vscode-server/extensions/ms-python.python-2022.8.0/out/client/extension.js:2:523009)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)]

@PaulPrice Thank you for getting back with the info. Actually can you please print the output of https://github.com/microsoft/vscode-python/issues/18831#issuecomment-1165664235 to a file? I would need the exact characters (\n,\r) which are being printed here which are not visible in this view. Apologies and thanks!

Thanks for letting us know, and sorry for not getting back to you earlier.


Error: the fixed layout requires the slimscroll plugin!

Hey there,
I was wondering how do I enable the slimscroll plugin? Thank you!

try [angular-slimscroll] (https://github.com/ziscloud/angular-slimscroll) or ng-slim-scroll

Thank you! Prefer angular-slimscroll anw! 👍


[v2] can't reset ion-infinite-scroll

Short description of the problem:
after the data of an already scrolled ion-list is reset, the value _highestY in infinite-scroll.ts#L171 prevents infinite scrolling.
What behavior are you expecting?
A convenient way to reset the infiniteScroll should be possible, useful for example with search results, where a new search resets the content of the view.
Ionic Version<EMAIL_ADDRESS>

Another option would be to remove the highestY, though that will impact performance.

Since private variables in TypeScript are not realy private in JavaScript I do this now ...
                        // Hack hack until a right way is implemented ... :(
                        //noinspection TypeScriptUnresolvedVariable
                        this.infinite._highestY = 0;
                        //noinspection TypeScriptUnresolvedVariable
                        this.infinite._lastCheck = 0;

Thanks for opening this issue, it definitely helped exposed a problem with it's current API. Like you pointed out, once the data changes and it's height is smaller than before, then infinite scroll no longer works. I just removed the need for highestY checks entirely, since I think requiring the reset() function called every time data changes would be problematic for developers.
https://github.com/driftyco/ionic/commit/fe04c51866860c9e033c960550f16126305ac58f
Thanks!

Hi, I have this issue aswell but I'm confused how do I access the infiniteScroll outside the event emission to perform a reset?

@wieseljonas have a look at the sources you can simply store the passed InfiniteScroll to a member variable and then access it from outside of the event emission.

@sclausen still this seems to be workaround. I wonder if there is any new issue regarding resetting infiniteScroll mentioned by @wieseljonas or should it be created?

@ciekawy I don't think it's needed, since @adamdbradley removed the highestY check, or does it still causes problems for you?

will check it more deeply. I've found it not working and just added the reset by capturing to a member.


json for the same spots returned differently depending on request

@jasonash When I request to get all spots from a user it returns the correct json. But when I get the same spots but using a request to get all spots from a dataset the json is incorrect. Checkout links, groups and group_members in particular. See below.
Get My Features
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[0,0]},"properties":{"name":"1431131994407","type":"Spot Grouping","date":"2015-05-09T00:39:54.407Z","time":"2015-05-09T00:39:00.000Z","id":14311319944073570,"group_relationship":"[\"location\",\"new\",\"larger_structu\",\"feature_type\"]","group_name":"o","larger_structure_is_a":"other","group_members":[{"name":"1431131982645","id":14311319826453242,"type":"Contact"}],"new_similarity_for_grouping":"not specified","self":"http:\/\/strabospot.org\/db\/feature\/14311319944073570"}},{"type":"Feature","geometry":{"type":"Point","coordinates":[0,0]},"properties":{"name":"1431132006015","type":"Orientation","date":"2015-05-09T00:40:06.015Z","strike":5,"dip":5,"time":"2015-05-09T00:40:00.000Z","plane_facing":"not_specified","feature_type":"bedding","orientation_quality":"accurate","links":[{"name":"1431131982645","id":14311319826453242,"type":"Contact","relationship":"has"}],"assoc_linear_feature":"no","id":14311320060151582,"self":"http:\/\/strabospot.org\/db\/feature\/14311320060151582"}},{"type":"Feature","geometry":{"type":"Point","coordinates":[0,0]},"properties":{"name":"1431131982645","type":"Contact","date":"2015-05-09T00:39:42.645Z","contact_type":"depositional","time":"2015-05-09T00:39:00.000Z","links":[{"name":"1431132006015","id":14311320060151582,"type":"Orientation","relationship":"describes"}],"contact_character":"diffuse","depositional_contact_type":"stratigraphic","id":14311319826453242,"groups":[{"name":"1431131994407","id":14311319944073570,"type":"Spot Grouping"}],"self":"http:\/\/strabospot.org\/db\/feature\/14311319826453242"}}]}

Get all Spots for Given Dataset
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[0,0]},"properties":{"name":"1431131982645","type":"Contact","date":"2015-05-09T00:39:42.645Z","contact_type":"depositional","time":"2015-05-09T00:39:00.000Z","links":"[{\"name\":\"1431132006015\",\"id\":14311320060151582,\"type\":\"Orientation\",\"relationship\":\"describes\"}]","contact_character":"diffuse","depositional_contact_type":"stratigraphic","id":14311319826453242,"groups":"[{\"name\":\"1431131994407\",\"id\":14311319944073570,\"type\":\"Spot Grouping\"}]","self":"http:\/\/strabospot.org\/db\/feature\/14311319826453242"}},{"type":"Feature","geometry":{"type":"Point","coordinates":[0,0]},"properties":{"name":"1431132006015","type":"Orientation","date":"2015-05-09T00:40:06.015Z","strike":5,"dip":5,"time":"2015-05-09T00:40:00.000Z","plane_facing":"not_specified","feature_type":"bedding","orientation_quality":"accurate","links":"[{\"name\":\"1431131982645\",\"id\":14311319826453242,\"type\":\"Contact\",\"relationship\":\"has\"}]","assoc_linear_feature":"no","id":14311320060151582,"self":"http:\/\/strabospot.org\/db\/feature\/14311320060151582"}},{"type":"Feature","geometry":{"type":"Point","coordinates":[0,0]},"properties":{"name":"1431131994407","type":"Spot Grouping","date":"2015-05-09T00:39:54.407Z","time":"2015-05-09T00:39:00.000Z","id":14311319944073570,"group_relationship":"[\"location\",\"new\",\"larger_structu\",\"feature_type\"]","group_name":"o","larger_structure_is_a":"other","group_members":"[{\"name\":\"1431131982645\",\"id\":14311319826453242,\"type\":\"Contact\"}]","new_similarity_for_grouping":"not specified","self":"http:\/\/strabospot.org\/db\/feature\/14311319944073570"}}]}

@jessica-azgs  OK, should be fixed. Please try again.


Icon request: Megaphone

Icon Request

Icon name: Megaphone
Tags of this icon:  megaphone, bullhorn, loudspeaker
Use case: The icon could be used to draw attention to something important or new
Screenshots of similar icons:

Thank you!

I think it will be useful
https://fontawesome.com/icons/megaphone?f=classic&s=solid

Hi @la55u and @RanaUbaidullah, please check our latest version 3.1.0 and you'll find this icon.
By the way, please star our project to support us if you like our works.

wow that was fast, thank you!!


GL_INVALID_OPERATION in sharing test

OS and version: Ubuntu 16.4 LTS
Release or commit: 3.1.1 and 3.2.1
Error messages: OpenGl Error
Hello,
I am using the proprietary NVIDIA driver 384.111 and cannot get context sharing to work properly in my application.
To see if this was specific to my code, I compiled and tested the sharing example in the above glfw releases.
In both cases, a GL_INVALID_OPERATION is generated at glEnd() when in the first call to draw_quad() regardless of the chosen OpenGL version.

Adding a link to the GLFW forum post on this issue.

Cannot reproduce on 3.1.1 or 3.2.1, Ubuntu 17.10, driver 384.130.

Thanks for the quick replies. I will update my driver to find out if this is caused by the Ubuntu or driver version.


GWTGraphics not found issue

Hello,
I have a strange issue when using the 'grid-renderers-collection-addon' in a Vaadin project, that used gradle for build management. I created the initial project with the Vaadin Gradle Plugin. I inserted my code and all dependecies and everything works as expected so far, but then I added the 'grid-renderers-collection-addon', because the DeleteButtonRenderer class is deprecated in the GridFastNavigation addon.
And now I can not execute 'VaadinCompile' anymore and get this error:
Unable to find 'org/vaadin/gwtgraphics/GWTGraphics.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
I tried it within Eclipse and on the console, but I always receive the same issue.
I'm not sure what is the reason, but when I remove the addon from the gradle build file everything is fine.
So I guess that it is myabe a problem with the 'grid-renderer-collection-addon'!?
Here is the used gradle build file:
``
plugins {
id 'com.devsoap.plugin.vaadin' version '2.0.0.beta1'
id 'eclipse-wtp'
}
apply plugin: 'java-library'
apply plugin: 'com.devsoap.plugin.vaadin'
apply plugin: 'war'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories{
jcenter()
}
dependencies {
compile group: 'org.glassfish.jersey.core', name: 'jersey-client', version:'2.27'
compile group: 'org.glassfish.jersey.inject', name: 'jersey-hk2', version:'2.27'
compile group: 'commons-fileupload', name: 'commons-fileupload', version:'1.3.3'
compile group: 'com.github.scribejava', name: 'scribejava-apis', version:'3.0.0'
compile group: 'org.json', name: 'json', version:'20180813'
compile group: 'org.vaadin.patrik', name: 'GridFastNavigation', version:'2.4.3'
compile group: 'com.vaadin', name: 'grid-renderers-collection-addon', version:'2.3.3'
compile group: 'org.vaadin.olli', name: 'v8-client-storage', version:'0.1'
compile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.0.1'
}
vaadin {
version '8.4.4'
push true
}
vaadinRun {
server 'jetty'
serverPort 8080
}
``
Any ideas, what could be the reason?

This is not actually issue with GridFastNavigation at all

grid-renderers-collection-addon

This add-on has SparklineRenderer, which uses GWTGraphics. With Maven this transitive dependency works ok. So I really do not know why it does not work with Gradle.
See: https://github.com/vaadin/grid-renderers-collection-addon/blob/vaadin8/grid-renderers-collection-addon/pom.xml#L97

You are right. I tested my project with a Maven build configuration and it worked.
This is really strange ;(  I have no idea why Gradle is unable to resolve the dependency correct...

I have no idea why Gradle is unable to resolve the dependency correct...

Me neither, but I have seen similar questions in our Forum with other add-ons and other places (so I know it is not specific issue to this add-on)


Completely reorder the questions

Instead of asking questions in the same order as the form, try to go with "human" order. Chronological here would be good:

asking questions about the original case first

details: parties involved, what court, etc.
what part are you appealing
judges, what they did

then new info about post judgment orders, and the new docket number, and the CoS

Order has been changed, but unclear if it's what people expected. Going to close, and if it comes up again, I'll open with more info.

Order has been changed, but unclear if it's what people expected. Going to close, and if it comes up again, I'll open with more info.


Death Stranding DLAA Mip Bias Issue

When forcing DLAA (factor of 1.0), it seems there is a mip bias issue. The issue can be seen clearly with low resolution textures on Sam's model. I tried tweaking the LOD bias using NVinspector to -3, but it made no difference. I also tried other scaling factors such as 0.8, but the issue is still present.
Using latest 3.5.10 DLL override
DLSS Quality (0.6666667):

DLAA (1.0):

It'd be great to get DLAA working, as DL-DSR above 4k doesn't seem to work on this game

Compare them using the same preset.  DLAA is using Preset F, which is blurrier than the other presets.  That might just be what you're noticing.

@doktorsleepelss I agree with your assessment. Forcing anisotropic filtering solved the problem for me.


ReferenceError: window is not defined

After cloning project and running npm install, I received:
topher@matrix aframe-exokit-avatars % node index.js
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '/Users/topher/Projects/aframe-exokit-avatars/node_modules/exokit-avatars/' imported from /Users/topher/Projects/aframe-exokit-avatars/index.js
at new NodeError (node:internal/errors:371:5)
at legacyMainResolve (node:internal/modules/esm/resolve:335:9)
at packageResolve (node:internal/modules/esm/resolve:877:14)
at moduleResolve (node:internal/modules/esm/resolve:929:18)
at defaultResolve (node:internal/modules/esm/resolve:1044:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
So I ran npm install exokit-avatars followed by an npm run build which cleared the above error but now I'm getting the following window error:
node index.js
file:///Users/topher/Projects/aframe-exokit-avatars/node_modules/exokit-avatars/dist/avatars.module.js:1868
window.Avatar = Avatar;
^
ReferenceError: window is not defined
at file:///Users/topher/Projects/aframe-exokit-avatars/node_modules/exokit-avatars/dist/avatars.module.js:1868:1
at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
at async loadESM (node:internal/process/esm_loader:88:5)
at async handleMainPromise (node:internal/modules/run_main:65:12)
Any help would be greatly appreciated! Thanks!

It looks like you're trying to run index.js inside Node, which isn't how this is meant to be used. It's designed so that you simply include the built aframe-exokit-avatars.min.js file inside a script tag along with your A-Frame scene (or in a larger bundle file if necessary), similar to other A-Frame components. You can peek in the examples folder for what a minimal but functional scene looks like using it.

Thanks for your quick response!  I can run your example without errors on my Mac but don't see anything but a ground plane. Is this perhaps intended to be run in VR (Oculus)?

Update. I can see my hands and a little bit of my own face if I move backwards fast. I guess that means it's working in 1st person. I tried loading the same page in a new tab but didn't see the other avatar. Perhaps I need to add multiplayer or maybe a mirror into the room to see myself.
I am seeing a bunch of errors on the webserver side that looks like this:
2022-07-02_21:04:25 webserver: module present but fails to load: /Users/topher/Projects/aframe-exokit-avatars
2022-07-02_21:04:25 webserver: Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/topher/Projects/aframe-exokit-avatars/dist/aframe-exokit-avatars.min.js from /usr/local/lib/node_modules/webserver/webserver not supported.
aframe-exokit-avatars.min.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
Instead rename aframe-exokit-avatars.min.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/topher/Projects/aframe-exokit-avatars/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
at globalThis.mod_load (/usr/local/lib/node_modules/webserver/webserver:145:10)
at dispatch (/usr/local/lib/node_modules/webserver/webserver:125:13)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/webserver/webserver:94:4)
at IncomingMessage.emit (node:events:402:35)

BTW, I started a new project and included your aframe-exokit-avatars.min.js and example and there were no errors on the server side. Thanks!
This may be an exokit question but do the hands and head and player position emit events when moving? I would like to bootstrap a multi-player demo using VRM.


ckeditor/ckeditor_uploader/admin_base.css missing, hence browser will HTTP 500 in production mode

hey,
I'm using django-pipeline which compiles all the static assets into their versioned files, and then uses a json file to find those files when serving live content.
When Django is running in live mode, since ckeditor/ckeditor_uploader/admin_base.css is missing, the file browser view which uses this css, will result in a HTTP 500.
please either remove the file requirement from ckeditor_uploader/templates/ckeditor/browse.html, or put the file in place.
cheers,
László

Thanks for the report. This has already been fixed here df2a780a94201438f0cbc05d2c2588ae5865583b but no new release has been rolled yet.


[NG] Set alerts container to display block

fixes 1714

Signed-off-by: Brian Duncan<EMAIL_ADDRESS>

@hippee-lee @gnomeontherun
Can we make sure this is ported to 0.10 too?

I'll do it today.

This has been ported into: https://github.com/vmware/clarity/tree/v0.10


how to pass mapping logic into sharding-algorithm?

we would like to do table sharding by tenant id,  however, it is not good to split data by hash mod, it will be nicer if we can use the following mapping logic, e.g: {tenant1, tenant99, tenant101} ->  table_00, {other_tenant} -> table_01.
But we can not find a way to pass around this kind of mapping logic into XXShardingAlgorithm, as it only accept two parameters:
 /**
     * Sharding.
     *
     * @param availableTargetNames available data sources or tables's names
     * @param shardingValue sharding value
     * @return sharding result for data source or table's name
     */

please advise what we can do to achieve this goal? thx

All examples in here:
https://github.com/sharding-sphere/sharding-sphere-example

@terrymanu thanks for your reply, but I can not find any examples related to our requirement, please point out which one is relevant sample?  thx

@qinnnyul .Hello,my friend.U quit the group of wechat so quickly, as u did not tell which issue number is your concern. Finally, I find your issue. In version <IP_ADDRESS> ,link :https://github.com/apache/incubator-shardingsphere/tree/<IP_ADDRESS>.  com.dangdang.ddframe.rdb.sharding.example.jdbc.algorithm.ModuloTableShardingAlgorithm. It is the example of custom algorithm.U can program your algorithm in java, so as to meet your needs.

@wgy8283335 thanks mate, however, it is a way to "hard coded" your mapping logic in java class, which is NOT friendly to users, what we want is making it configurable, and monitored by etc/zk as well, as sharding logic will be changed in future and also needs to be disturbed dynamically.

Another way is configuring algorithm  with inline expression in yaml file. As the expression is totally surpported by Groovy.Reference to the link:https://shardingsphere.apache.org/document/legacy/3.x/document/cn/features/sharding/other-features/inline-expression/.

@wgy8283335 yep, actually that is the very first solution which I tried, you know, nobody likes writing their own sharding algorithm if inline expression is suitable to this case:)
So what I did today was writing customised spring configuration to capture tenant related mapping logic, then pass it along to XXShardingAlgorithm, it works, but it seems like this kind of configuration will not be watched or monitored by etcd/zk or mysql, which is a new register center, we extended from  sharding-orchestration-reg-api
e.g:
XX.sharding.tenant-id.tables.t_order.1=_0
XX.sharding.tenant-id.tables.t_order.4=_0
XX.sharding.tenant-id.tables.t_order.5=_0
XX.sharding.tenant-id.tables.t_order.7=_0
XX.sharding.tenant-id.tables.t_order.other=_1

XX.sharding.tenant-id.tables.t_order_item.1=_0
XX.sharding.tenant-id.tables.t_order_item.4=_0
XX.sharding.tenant-id.tables.t_order_item.5=_0
XX.sharding.tenant-id.tables.t_order_item.7=_0
XX.sharding.tenant-id.tables.t_order_item.other=_1

what do you recommend?  thx

@terrymanu . Do u have any suggestion?

Closed caused by creator do not reply anymore.

what?


support extractComments in minifyOptions

What problem does this feature solve?
fixes https://github.com/web-infra-dev/rspack/issues/2739
What does the proposed API of configuration look like?
https://github.com/webpack-contrib/terser-webpack-plugin#extractcomments
{
  builtins: {
    minify: {
      extractComments: true | false | Regex // we can support license first
   }
 }
}

api是不是将 minifyOptions 错写成了minify？应该是下面这样子吧？
{
  builtins: {
    minifyOptions: {
      extractComments: true | false | Regex // we can support license first
   }
 }
}

Can you assign this to me?

thanks in advance

What's the default value, if the extractComments is undefined?


Add docker image for an easy installation.

Requirement
Documentation should looks like this:
Running my.saas in your local computer is easy.
Step 1: Pull the docker image of my.saas.
docker pull my.saas

Step 2: Run the docker image with port mapping.
docker run -it -expose 3000 -p 3000:3000 my.saas

Navigate the container website from the host browser:

https://<IP_ADDRESS>:3000

Dockerfile
# syntax=docker/dockerfile:1
FROM ubuntu:20.04
RUN apt-get update && apt-get -y install sudo
RUN sudo hostname mysaas01
EXPOSE 3000

Install Docker on Ubuntu 20.04
Reference:

https://docs.docker.com/engine/install/ubuntu/
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository


Update committer list for new top level DataFusion project

Is your feature request related to a problem or challenge?
Part of https://github.com/apache/datafusion/issues/9691
Now that the repos have been moved, we need to ensure the correct people have commit access -- as the DataFusion project is now distinct from Arrow the committers list did not move too
Describe the solution you'd like
Ensure that the list of committers  on https://people.apache.org/phonebook.html?unix=datafusion
reflects the list on the proposal thread: https://lists.apache.org/thread/tv8s8ootxf7nrsp3vo1mt8mtxxt5qcor
Describe alternatives you've considered
No response
Additional context
No response

I have updated whimsy to reflect the list on reflects the list on the proposal thread
https://whimsy.apache.org/roster/committee/datafusion#committers

https://people.apache.org/phonebook.html?unix=datafusion doesn't yet seem to reflect these changes, so I'll leave this ticket open until it does

cc @sunchao The committer list is updated.

https://people.apache.org/phonebook.html?unix=datafusion
Now shows what I believe to be the correct list and reflects the proposal thread. Please let me know if I missed anything else
datafusion (LDAP unix group)
Roster:

agrove	Andrew Grove
akurmustafa	Mustafa Akur
alamb	Andrew Lamb
avantgardner	Brent Gardner
comphead	Oleks V.
dheres	Daniël Heres
houqp	QP Hou
jakevin	Jie Wen
jayzhan	Jay Zhan
jeffreyvo	Jeffrey Vo
jiayuliu	Liu Jiayu
liukun	Kun Liu
mete	Metehan Yildirim
mingmwang	Wang Mingming
mneumann	Marco Neumann
nju_yaho	Zhong Yanghong
ozankabak	Mehmet Ozan Kabak
paddyhoran	Paddy Horan
rdettai	Rémi Dettai
sunchao	Sun Chao
thinkharderdev	Daniel Harris
tustvold	Raphael Taylor-Davies
viirya	L. C. Hsieh
wayne	Ruihang Xia
wesm	Wes McKinney
wjones127	Will Jones
xudong963	Xudong Wang
yangjiang	Yang Jiang
yjshen	Yijie Shen


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220114043522920 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20220114043522920 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 48.275%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
14747

Relevant Lines:
29007

💛  - Coveralls


Handle non-core endpoints the same way as in FinnGen Risteys

Sorry I forgot: could you remind me how this issues differs from #215? Thanks 🙌

#215 removes from the database such endpoints that are not supposed to be in the portal (F5_SAD is excluded because it's seasonal & other have omit=2 value in the endpoint controls file).
This issue is to show the info banner for non-core endpoints and to point to a counterpart endpoint that is core endpoint, if such endpoint exists. I have this issue for FR-FG Risteys now because this was implemented in FinnGen Risteys R9 but at that time I wasn't able to have it in FR-FG Risteys because it was for R8 data and thus endpoints didn't have core or non-core statuses.

Oh, right! Thanks for the explanation 😃

Solved by bddb859f


combine embeds

ApplyInstantIDAdvanced does not work anymore, I had to move "combine_embeds": (['average', 'norm average', 'concat'], {"default": 'average'}), to optional.

please try to update instantID AND ipadapter

I guess the problem was solved


[VTK-8.1] Building package vtk:x64-linux failed with: POST_BUILD_CHECKS_FAILED

When trying to build VTK 8.1 (Linux) at the final stage I get the following error:
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Performing post-build validation
There should be no empty directories in /home/xubuntu/Software/vcpkg/packages/vtk_x64-linux
The following empty directories were found:

    /home/xubuntu/Software/vcpkg/packages/vtk_x64-linux/tools/vtk

If a directory should be populated but is not, this might indicate an error in the portfile.
If the directories are not needed and their creation cannot be disabled, use something like this in the portfile to remove them:

    file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/a/dir ${CURRENT_PACKAGES_DIR}/some/other/dir)

Found 1 error(s). Please correct the portfile:
    /home/xubuntu/Software/vcpkg/ports/vtk/portfile.cmake
-- Performing post-build validation done
Error: Building package vtk:x64-linux failed with: POST_BUILD_CHECKS_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: vtk:x64-linux
  Vcpkg version: 0.0.113-unknownhash

Although all the files are located in vtk/lib folder, vtk is not listed as installed in vcpkg

This issue fixed now, I tried installed vtk on linux, everything installed successfully.
Starting package 19/19: vtk:x64-linux
Building package vtk[core]:x64-linux...
CMake Warning at ports/vtk/portfile.cmake:2 (message):
You will need to install Xorg dependencies to build vtk:
apt-get install libxt-dev
Call Stack (most recent call first):
scripts/ports.cmake:74 (include)
-- Downloading https://github.com/Kitware/VTK/archive/v8.2.0.tar.gz...
-- Extracting source /home/vwangli/Phoebe/vcpkg/downloads/Kitware-VTK-v8.2.0.tar.gz
-- Applying patch fix-find-lz4.patch
-- Applying patch fix_ogg_linkage.patch
-- Applying patch fix-pugixml-link.patch
-- Applying patch hdf5_static.patch
-- Using source at /home/vwangli/Phoebe/vcpkg/buildtrees/vtk/src/v8.2.0-b37306c27c
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Performing post-build validation
-- Performing post-build validation done
Building package vtk[core]:x64-linux... done
Installing package vtk[core]:x64-linux...
Installing package vtk[core]:x64-linux... done
Elapsed time for package vtk:x64-linux: 19.59 min
Total elapsed time: 24.77 min
The package vtk:x64-linux provides CMake targets:
find_package(VTK CONFIG REQUIRED)
# Note: 105 target(s) were omitted.
target_link_libraries(main PRIVATE foo vtksys ${name} somelib)


fix: do not assume chain on boot

Description:
Do not assume that we are connecting to the bitcoin chain.
Motivation and Context:
Ensure that the state of the app is clean when it starts.
How Has This Been Tested?
Manually + run tests
Screenshots (if appropriate):
This also fixes a related minor display issue in the node info screen:
Before:

After:

Types of changes:
Bug fix.
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage increased (+0.02%) to 18.933% when pulling e282bda18840c89bc6cc214b1928410e871bf31c on mrfelton:fix/do-not-assume-chain-on-boot into a35704c380f9a2839e773bbfe838dc949c254849 on LN-Zap:master.

Coverage increased (+0.02%) to 18.933% when pulling e282bda18840c89bc6cc214b1928410e871bf31c on mrfelton:fix/do-not-assume-chain-on-boot into a35704c380f9a2839e773bbfe838dc949c254849 on LN-Zap:master.

Coverage increased (+0.02%) to 18.933% when pulling e282bda18840c89bc6cc214b1928410e871bf31c on mrfelton:fix/do-not-assume-chain-on-boot into a35704c380f9a2839e773bbfe838dc949c254849 on LN-Zap:master.

Coverage increased (+0.02%) to 18.933% when pulling e282bda18840c89bc6cc214b1928410e871bf31c on mrfelton:fix/do-not-assume-chain-on-boot into a35704c380f9a2839e773bbfe838dc949c254849 on LN-Zap:master.


Next queued track won't start

When a track ends, LavaPlayer doesnt play the next one queued. Im not sure what the cause is, but it started happening when I added stuff to my nextTrack method to add "now playing" stuff, i've added some logging stuff to the onTrackEnd overrided method, but nothing logs so i can only assume that it doesnt get called what so ever
    public void nextTrack() {
        AudioTrack track = player.getPlayingTrack();
        new Response()
                .setColour(Color.ORANGE)
                .setTitle("Now Playing")
                .setMessage(String.format("[%s](%s)", track.getInfo().title, track.getInfo().uri))
                .sendResponse(channel);

        Logger.info(String.format("Now playing %s by %s", track.getInfo().title, track.getInfo().author));
        player.startTrack(queue.poll(), true);
    }

    @Override
    public void onTrackEnd(AudioPlayer player, AudioTrack track, AudioTrackEndReason endReason) {
        if (endReason.mayStartNext) {
            nextTrack();
            Logger.info("Starting next track");
        } else {
            Logger.info("Unable to start next track, end reason was " + endReason.name() + "and value of mayStartNext is " + endReason.mayStartNext);
        }
    }

here are both the methods, i've pushed the rest to the projects github page (https://github.com/MillzyDev/SynthWave/tree/main/src/main/java/dev/millzyg/SynthWave) if you need any more, what's above is in TrackScheduler.java

hi, i'm encountering the same problem and I see that you've closed the issue, did you find any solution to it?

hi, i'm encountering the same problem and I see that you've closed the issue, did you find any solution to it?

This part is generally your code, so there's no telling if their problem was the same as yours. If you need support, i'd recommend asking in the JDA Server, #lavaplayer channel.


 Conditionals Not Working

Hey all,
Sorry to post regarding this but i am trying to use some simple conditionals that work fine on other templates, but are not working with the roots theme.
These are the conditionals i am trying to use:

I mainly need the "is_home" to work.. I am guessing that the roots activation / cleanup process is effecting this somehow.. ive deleted the front-page.php file and am using the index.php / loop.php as my main template files..
Any help on this would be great.
Regards, Darren

I had the issue in the page-header.php template.
Issued a wp_reset_query(); at the top of the file and it fixed the problem.  (hopefully won't cause other issues)


Use calendar for extra free days

While a nice idea I don't like to bother to keep a separate calendar up to date.


feat(eslint): Add NewRelic Eslint plugin and format/fixes

@danielgolden Some of this is autofixes from the eslint plugin, most of the rest are "easy" fixes to satisfy some lint rules that error out when you run eslint-check - mostly fall into 3 categories:

equality operators, changing == to ===
removing unused imports and variables etc.
adding propTypes to functions/classes etc.

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

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


ProjectReference metadata is incomplete

There's more metadata that is not documented on this page, like metadata for controlling global properties and the output item type.

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

ID: 97e663f7-3bac-61af-28bb-f0e471dcdca6
Version Independent ID: 97985f56-e0ac-a03d-f651-b86cc2b85804
Content: Common MSBuild Project Items - Visual Studio
Content Source: docs/msbuild/common-msbuild-project-items.md
Product: visual-studio-windows
Technology: msbuild
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@cdmihai Thank you for the feedback, assigning this to the author for review.

Here's my half-written doc on this which is not ready to publish but may help for now: https://gist.github.com/rainersigwald/1fbd21a24a41b9b7c6204cb9cfcbb1cf

Any update on this?  In the meantime, what is the best reference to use?

This was fixed in the referenced PR.

@rainersigwald
If there's more to do here, please reactivate and let's get the remaining work identified.


Adding AWS SSO dependency & upgrading AWS dependencies to latest

So developers can use this plugin from workstation and get AWS authentication through SSO Profile (Using aws configure sso)

Not sure why CI is mad. It can't find the credentials, even though they are clearly available. I pulled your branch down locally and ran the tests and everything passed. I will merge this and debug CI in a separate PR.
Thank you for your work!


Add addListRow() function.

Used your library in smaller project and have to add rows to worksheet. Tried to follow your style in lib.

Awesome - thanks @mikaere ! I'll give it a review and merge when time allows.
Appreciate the contribution. :+1:

Hello,
I have used this for adding new row, but its not working.
Please help..

Thanks @michalpirgl - added this functionality into 42820c5. Needed a little more work/error handling.
Thanks again!


First attempt at webview restoration api

From #45994
Adds an experimental API that allows extensions to persist webviews and restore them after vscode restarts. Uses this api to restore markdown previews.
This is done by:

Adding a new state field on webviews. This is a json serializable blob of data

Adds a new WebviewReviver interface (name will probably change). This binds a specific viewType to a provider that can restore a webview's contents from its state

In VS Code core, persist webview editors. When we restart and need to show a webview, activate all extensions that may have revivers using the onView:viewType activation event.

Current implementation is sort of a mess. Will try to clean things up

@mjbvz What do you want me to review here?  I think we discussed the API and I still think over-eager state synchronisation isn't the way to go but an explicit hook is way better. For the rest - I am not familiar with the code around webview editor et al anymore.

@jrieken Please take a look at the new vscode.proposed.d.ts API. A few questions:

How does the serializer api look?

Should our activation events make it clear that these are webview activations? The current activation  event is: "onView:markdown.preview". We  could change this to something like: "onWebbiew:markdown.preview" or "onView:webview.markdown.preview"


Get attestation report and build OVMF with TPM2 enabled

This patch series get a vmpl0 attestation report and saves it in the TPM NV. A sha512 hash of the TPM EKpub is fed into the request "user_data" field.

Updated this PR with commits to build OVMF with TPM2 enabled


Multi-page template

It would be nice to introduce multi-page variant of this template, beacuse if someone have little bit larger site, it is not good to show all content on the one (scrollable) page.

You can have as many pages as you wish. See:

https://sourcethemes.com/academic/post/managing-content/#create-a-widget-page
https://sourcethemes.com/academic/post/managing-content/#create-other-pages-e-g-cv

@gcushen O.K. I will try. I want to change template a little bit (another font, size, backgroud, ...). Is this easy to do in this template ?