Circular dependency problem with Blazor WASM (Hosted)

Disclaimer: This is not an issue regarding the functionality. It's more of a problem with the MSBuild integration introduced by the new Blazor WASM (Hosted) template.
I currently have two projects:
1. ASP.NET Core 3.1 Web API + Xamarin
I am using NSwag to automatically generate the C# client in the first project. This is done using an MSBuild target which generates code into a C# Client project. This client project is then used by Xamarin. This works! (Very good! Thanks to Rico Suter for NSwag!)
I currently have my Xamarin project in a separate solution. The client library is pushed to a NuGet feed and then consumed by the Xamarin application. So they are separated. Using this flow makes the usage in the daily workflow very easy.
2. ASP.NET Core 5 Web API + Blazor WebAssembly (Hosted in WebAPI)
Now I started another project and decided to go for an easy to use application (api + frontend shipped from the server - easier to setup). Therefore I made use of the Blazor WASM (ASP.NET Core Hosted) template in Visual Studio. I decided that having the web client (blazor) in the same solution is an acceptable solution regarding debugging and the fact that they are also shipped together. This works like so: The WebAPI project has a reference to the Blazor project to be able to copy it's compiled output during compilation and include it in the WebAPI project. Another library (referenced by the webAPI and using a middleware from that library) then serves the files from this directory which enables me to serve both the api and the frontend static files from my web api project. Blazor is written in C# and therefore compiled.
Introduction to my problem: I want to use the same approach as in the first project. Except the frontend won't consume the NuGet library. Instead it should directly consume the client project. Any optional client in the future then can still consume the NuGet client library.
Now really for my problem: The reference from the webapi to the blazor project is a problem. The NSwag.MSBuild can't work on the compiled output from the web api to generate the client because the blazor project is not yet compiled (as mentioned it's a dependency). The Blazor project is not yet compiled because it does not have the updated client yet.
What I considered: Kind of work around it by decoupling some parts and having to build twice for one real build (generate client + real build). Decoupling includes removing NSwag.MSBuild. The workflow would then be:

Run the project (web api)
Use NSwag Studio with the locally served Swaggerfile to manually regenerate the client
Stop project
Restart project to make blazor to pick up the new changes in the client
Now you got the real build

Do some of you have an idea on how to have a clean solution? The current one is kind of loophole. Am I overseeing something? Having to build a project twice to really start debugging seems wrong to me.
I also asked the question here: https://stackoverflow.com/questions/64927255

I have the exact same problem. Doesn't make much sense that you have to build the BlazorWASM client project to build the server part, since the output is gonna be just static files as I understand. I basically did what you suggested (build 2 times every time to get the real build). Maybe you can somehow take out the dependency and use MSBuild targets to manually put static files where you need them? Probably should ask Blazor devs about this

you mean you put your WebApi controllers in a different project? How does that work exactly?

Not the WebApi controllers. The whole magic works because you have a dependency on the Client Project and a NuGet package which provides you a middleware (look at the Startup class) which then evaluates the reference to auto setup the client. I created a second ASP.NET Core WebAPI without any additional controllers just using the middleware and 404 catch all route. This project references the client just as before.
The down side: Frontend and Backend are separate servers and have to be run in parallel.

I see, I have to put my app in a Docker container and I really don't want to mess with multiple containers (or multiple apps in one container), so this approach is not for me unfortunately.
I think it's possible to put controller classes in a different project and load them in your webapi in startup.cs, maybe this way NSwag doesn't need to build webapi project to genereate client code...

Just some info: NSwag for core is not really reflection based as it has to actually run part of the asp net app to get hold of the asp api explorer which describes the api. But even if it could work on dlls (reflection) you’d probably have the same circular problem because you have to build this dll.

Hey there,
the Issue might be a bit old by now; but I had a similar problem and solved it by setting an inline variable on Build.
Cheers :)
E.g.:
<PropertyGroup>
    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>

<Target Name="NSwag" AfterTargets="PostBuildEvent" Condition=" '$(NO_RECURSE)' != 'true' ">
    <Exec WorkingDirectory="$(ProjectDir)" EnvironmentVariables="NO_RECURSE=true" Command="$(NSwagExe_Net60) run ../nswag.nswag /variables:Configuration=Release" />
</Target>

I think this is still a problem in 2023 as i can't find a solution for this while searching.
We also have a hosted webassembly and want to generate a httpclient in the wasm project that host reference to as it hosts it. But the host does not use anything of the wasm code, the shared code is in another project.
What we did was:

Remove the reference from host => wasam
On post build of host generate a httpclient using nswag into the wasm project.
On post build of the wasm project we copied the x.x.x.staticwebassets.runtime.json in /bin to /bin to the host project and renamed it to {host project}.staticwebassets.runtime.json.
This way the host project still serves the static files from the wasm project without having a reference to it, and wont need multiple builds and stuff like that.

May not work for everyone depending on what reference the wasm project or if the host serves other static files, but worked for us.

I'm running into a similar problem though without any Blazor.

Created a C# ASP .Net Core Web API project running .Net 6.0
Added the relevant nuget packages.  NSwag.MSBuild being the primary one.
Generated a simple nswag.json using the NSwagStudio targetting this project.
Used the following Target inside the csproj file:

From there it loops through my controller, program.cs and two classes endlessly until the dotnet build times out.  Really confused what I'm doing wrong here.


dexie-cloud-addon: Support selecting demo user in db.cloud.userInteraction

Support selecting demo users and skip OTP step in db.cloud.userInteraction (Login Dialog)

Fixed in commit bdbbf9683631d337ef94dd39ba1cd4e038346fa4


How to set  class prefix?

I didn't find how to set class prefix. Can someone help me? Thx

You can use project attributes like the following
attributes:
CLASSPREFIX: SSD


CNCF SIG-Runtime discussion/presentation?

Hello OpenYurt team,
I'm one of the co-chairs of the CNCF SIG-Runtime, and since you are CNCF Sandbox project I think it would be great for you to present/discuss the project in one of our meetings. For example, discuss things such as adoption, architecture, etc.
Let me know if this something you'd be interested in doing. If yes, please feel free to add it to our agenda or reach out to me (raravena80 at gmail.com)
Thanks!

Sure, I will update your agenda soon.

Added to Nov 5th meeting.


Fix for bug # 361 - Responsiveness Issue

Changed '||' to '&&' to fix issue with responsiveness when page is resized below a breakpoint; Bug relating to #361

RE: Pull Request #3 -
Fixed errors in Safari:
camelCase issue for autoheightTem(autoHeightTem);
Variable speedTem wasn't defined in function resizeTasks() - changed to reference options.speed

Hi, when release new version?


Null-check libc::group members before converting

This mirrors the approach used for the From<&libc::passwd> for User impl.

Related: #1977 to guarantee validity of member pointers.


CBOR datum

Adds endpoint for querying CBOR serialised datum(s).
Includes minor fix for scripts CBOR schema.

Re-targeted to vasil branch #202


feature request: status notification during format operation

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
It's better to have a notification on the UI during the format operation, just like null-ls:

Find that the format operation may fail silently with only the first failed format get informed.
Provide background
No response
What is the significance of this feature?
nice to have
Additional details
No response

The first formatter failure will notify, but successive failures do not notify to avoid a noisy UI. Once the formatter successfully runs, it will reset the status and the next failure will display an error again. I haven't yet found a situation where I want to be notified of the same failure multiple times, which seems to be what you're asking for. Could you explain more about your use case and what the value is from more notifications?

The first formatter failure will notify, but successive failures do not notify to avoid a noisy UI. Once the formatter successfully runs, it will reset the status and the next failure will display an error again. I haven't yet found a situation where I want to be notified of the same failure multiple times, which seems to be what you're asking for. Could you explain more about your use case and what the value is from more notifications?

I have a key binding for the format and disabled auto format. The formatter may fail for different reason while I'm coding:

debug the external formatter, maybe related to the formatter's config or system environment.
edit the code (and there may be errors, for example: script with shfmt) and retry format

For UI notification like null-ls, it would be useful for long-running format operation that may take several seconds to finish. And with async mode, edit during formatting may invalidate the format task, with the indicator on UI, user will know the status of the format operation.
Currently, without formatting indicator, it'd be hard to tell that: whether it fails silently, not configured for current ft, or not finished yet.

I don't think this is something that should be built-in to conform, which is trying to be more of the low-level formatting API. It's something that could be built on top fairly easily, because the conform.format command takes a callback and the callback receives an error message. For example, you could do something like
local bufnr = vim.api.nvim_create_buf(false, true)
vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, { "Formatting..." })
local winid = vim.api.nvim_open_win(bufnr, false, {
  relative = "editor",
  anchor = "SE",
  row = vim.o.lines - 2,
  col = vim.o.columns,
  width = 20,
  height = 1,
  style = "minimal",
  border = "rounded",
  focusable = false,
  noautocmd = true,
})
vim.bo[bufnr].bufhidden = "wipe"
require("conform").format({ async = true, quiet = true, lsp_fallback = true }, function(err)
  vim.api.nvim_win_close(winid, true)
  if err then
    vim.notify(err, vim.log.levels.WARN)
  end
end)

I'm trying to add a related wrapper over the format() call, the window solution you provide do works well, however not as pretty as null-ls (lsp message with noice mini view), to implement that, seems that I need to customize the route of notifications on noice, to be continued ..

I'm having a wrapper of format() like this
function M.format()
	local format_args = require('init.options').plugins.format_args

	local have_fmt, fmt_util = pcall(require, 'conform')
	if have_fmt then
		-- get current formatter names
		local formatters = fmt_util.list_formatters()
		local fmt_names = {}

		if not vim.tbl_isempty(formatters) then
			fmt_names = vim.tbl_map(function(f)
				return f.name
			end, formatters)
		elseif fmt_util.will_fallback_lsp(format_args) then
			fmt_names = { 'lsp' }
		else
			return
		end

		local fmt_title = 'conform: ' .. table.concat(fmt_names, '/')
		local fmt_msg = fmt_title .. ' format ..'

		-- TODO: only show 2 echo msg before must enter command mode and exit??
		vim.api.nvim_echo({ { fmt_msg, 'Special' } }, false, {})

		-- format with auto close popup, and notify if err
		fmt_util.format(format_args, function(err)
			if err then
				vim.notify(err, vim.log.levels.WARN, { title = fmt_title })
			end
		end)
	else
		vim.lsp.buf.format(format_args)
	end
end

and have a route configured for noice:
routes = {
	{ -- show format msg in the mini view
		filter = {
			event = 'msg_show',
			kind = 'echo',
			find = 'conform: ',
		},
		view = 'mini',
	},
},

But I find no way to hide the message once format is done, the message disappears only on timeout.
Maybe the right way to do that is to register a callback for lsp progress, I'll check that later.

With fidget, finally I get what I want!
function M.init_msg_progress(title, msg)
	return require('fidget.progress').handle.create({
		title = title,
		message = msg,
		lsp_client = { name = '>>' }, -- the fake lsp client name
		percentage = nil, -- skip percentage field
	})
end

function M.format()
	local format_args = require('init.options').plugins.format_args

	local have_fmt, fmt_util = pcall(require, 'conform')
	if have_fmt then
		-- get current formatter names
		local formatters = fmt_util.list_formatters()
		local fmt_names = {}

		if not vim.tbl_isempty(formatters) then
			fmt_names = vim.tbl_map(function(f)
				return f.name
			end, formatters)
		elseif fmt_util.will_fallback_lsp(format_args) then
			fmt_names = { 'lsp' }
		else
			return
		end

		local fmt_info = 'fmt: ' .. table.concat(fmt_names, '/')
		local msg_handle = M.init_msg_progress(fmt_info)

		-- format with auto close popup, and notify if err
		fmt_util.format(format_args, function(err)
			msg_handle:finish()
			if err then
				vim.notify(err, vim.log.levels.WARN, { title = fmt_info })
			end
		end)
	else
		vim.lsp.buf.format(format_args)
	end
end

Effects:

Would this be possible to achieve with format_on_save too?
format_on_save = function(_)
    if vim.g.try_format_on_save == true then
        local conform = require("conform")
        local formatters = conform.list_formatters()
        local fmt_names = {}

        if not vim.tbl_isempty(formatters) then
            fmt_names = vim.tbl_map(function(f)
                return f.name
            end, formatters)
        elseif conform.will_fallback_lsp(format_opts) then
            fmt_names = { "lsp" }
        else
            return
        end

        local fmt_info = "fmt: " .. table.concat(fmt_names, "/")
        local msg_handle = init_msg_progress(fmt_info)

        return format_options,
            function(err)
                -- run notify send as a system cmd
                -- vim.fn.system("notify-send 'Formatted'")
                msg_handle:finish()
            end
    end
end,

This is what I have right now, using the same init_msg_progress function as the reply above. But the start message and the done message come at the same time

Now it's done with the following wrapper and the the PR for noice
function M.format()
	local format_args = require('init.options').plugins.format_args

	local have_fmt, fmt_util = pcall(require, 'conform')
	if have_fmt then
		-- get current formatter names
		local formatters = fmt_util.list_formatters()
		local fmt_names = {}

		if not vim.tbl_isempty(formatters) then
			fmt_names = vim.tbl_map(function(f)
				return f.name
			end, formatters)
		elseif fmt_util.will_fallback_lsp(format_args) then
			fmt_names = { 'lsp' }
		else
			return
		end

		-- notify with noice progress api
		local noice_progress = require('noice.lsp.progress')

		local fmt_info = 'fmt: ' .. table.concat(fmt_names, '/')
		local msg_id = noice_progress.progress_msg(fmt_info)

		-- format with auto close popup, and notify if err
		fmt_util.format(format_args, function(err)
			noice_progress.progress_msg_end(msg_id)
			if err then
				vim.notify(err, vim.log.levels.WARN, { title = fmt_info })
			end
		end)
	else
		vim.lsp.buf.format(format_args)
	end
end

@stevearc

This is what I have right now, using the same init_msg_progress function as the reply above. But the start message and the done message come at the same time

What do you mean by come at the same time, two different message? would you like to provide any screenshot?
The format operation generally finished very fast, and the begin message will be updated with the end message (it's progress message), if there is only one format operation, you should get just one message, either begin or end.
Now the progress message is done with noice (the PR is not merged at the time), just like null-ls before, for which all the status appears in a single line.

What I meant was that when using your wrapper around manual formatting it works as expected. First a fidget notification is shown that formatting started and then once its completed it shows the check mark. But when using the code I sent (I want to see the fidget notification when using format_on_save), the start message is shown when the formatting is completed, and then the check mark comes instantly after. This is usually not noticable but when formatting takes a bit of time it is

For anyone reading this and prepare to use the wrapper above, there is a critical bug in the wrapper which cause #260 ,
I will update the wrapper in case it causes trouble.

What I meant was that when using your wrapper around manual formatting it works as expected. First a fidget notification is shown that formatting started and then once its completed it shows the check mark. But when using the code I sent (I want to see the fidget notification when using format_on_save), the start message is shown when the formatting is completed, and then the check mark comes instantly after. This is usually not noticable but when formatting takes a bit of time it is

Not sure for the case, if possible you may provide a screen recording, quite busy at the time 😂

Would this be possible to achieve with format_on_save too?

If you define format_on_save you can actually have it return a callback as its second return value and it will function the same as the callback parameter passed to conform.format. Modifying my example above:
local function open_progress_win()
  local bufnr = vim.api.nvim_create_buf(false, true)
  vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, { "Formatting..." })
  local winid = vim.api.nvim_open_win(bufnr, false, {
    relative = "editor",
    anchor = "SE",
    row = vim.o.lines - 2,
    col = vim.o.columns,
    width = 20,
    height = 1,
    style = "minimal",
    border = "rounded",
    focusable = false,
    noautocmd = true,
  })
  vim.bo[bufnr].bufhidden = "wipe"
  return winid
end

local function format()
  require("conform").format({ async = true, quiet = true, lsp_fallback = true }, function(err)
    local winid = open_progress_win()
    vim.api.nvim_win_close(winid, true)
    if err then
      vim.notify(err, vim.log.levels.WARN)
    end
  end)
end

require("conform").setup({
  format_on_save = function()
    local winid = open_progress_win()
    return {
      lsp_fallback = true,
    }, function(err)
      vim.api.nvim_win_close(winid, true)
      if err then
        vim.notify(err, vim.log.levels.WARN)
      end
    end
  end,
})


feat: support multiple allowIPs for a remote connection from one of KMS servers

Description

ASIS: support only one ip address for a connection from a remote KMS server
TOBE: support multiple ip addresses as allowList for a connection from one of remote KMS servers

Is there a valid address checking?

There is no validation logic for valid address.

Is it possible using url not ip? if then, are there any security issues?

For now, it's not possible because when accepting a connection what I can receive is (net.Conn, error) which has only net.Addr for local and remote. There's no way to find out url.

Is there a valid address checking?

There is no validation logic for valid address.

Is it possible using url not ip? if then, are there any security issues?

For now, it's not possible because when accepting a connection what I can receive is (net.Conn, error) which has only net.Addr for local and remote. There's no way to find out url.

Then, what happen if I write 127.0.1?


vscode unable to open files, change settings. Dev tools explode with errors with every action.

VSCode Version: 1044 user setup
OS Version: Windows 10 Home 18362

Steps to Reproduce:

I don't know how to reproduce it. I believe it started after i changed a color setting, but hard to imagine that has resulted in a meltdown

Does this issue occur when all extensions are disabled?: Yes/No Yes.
Program fires off with errors in the dev tools with every move. It can't locate any file I try to open, sometimes can't open UI menus (sometimes it can),  and eventually just freezes up and asks to be reloaded. I've tried uninstalling and reinstalling with 3 different versions from the site, but each time loads up like it never was uninstalled (I thought I deleted all the residual files after uninstall). Also, the the install on a different account for this computer works just fine.
Don't know what else to tell you specifcally, but I have plenty of logs and error reports.  Let me know if you need anything else and appreciate any help.
-1586643907344.log
-1586643745720.log
renderer1.1.log
main.log

Duplicate of https://github.com/microsoft/vscode/issues/94931


MacForge doesn't allow work mail, safari and other build-in mac app

Bug Report
Current Behavior
While macforge is working i cant use mail, safari and other apps. let's say safari - having opened the app, it cant load any website even local websites(im a developer), and says error in webkit:300. or take mail, in default mail app behaviour is same - doen't load any new mails and doesn't open any mails, but if i use other mail apps like outlook or airmail new mails come but i cant open the body part of the mail. BUT everything works fine, unless Disable Injection is ticked, but in that case some features of macforge stop working.
Environment

MacForge version(s): v1.1.0
OS version: macOS 13.2
Plugins: colorfulSidebarX

Yep. Hope that could be fixed

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me. Environment: macOS 13.5 with M2 Pro

can you please send the instructions of how you do that, or just send the link please

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me. Environment: macOS 13.5 with M2 Pro

can you please send the instructions of how you do that, or just send the link please

just manual add "com.apple.WebKit.Networking" to "com.macenhance.MacForgeHelper.plist" in "~/Library/Preferences"

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me. Environment: macOS 13.5 with M2 Pro

can you please send the instructions of how you do that, or just send the link please

just manual add "com.apple.WebKit.Networking" to "com.macenhance.MacForgeHelper.plist" in "~/Library/Preferences"

I followed your instructions to add that item in the .plist file and relaunched Macforge, only to find it can't recognize the change and Safari still won't work once injected.

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me. Environment: macOS 13.5 with M2 Pro

can you please send the instructions of how you do that, or just send the link please

just manual add "com.apple.WebKit.Networking" to "com.macenhance.MacForgeHelper.plist" in "~/Library/Preferences"

I followed your instructions to add that item in the .plist file and relaunched Macforge, only to find it can't recognize the change and Safari still won't work once injected.
ps: could you please leave a copy of your build? I'm not certain about how to operate on Xcode(on macOS Monterey)

Note：It's not provide or test by me, but maybe it will work.
https://github.com/jslegendre/appcast/raw/master/Beta/MacForge/MacForge.1.2.2-2.zip

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me. Environment: macOS 13.5 with M2 Pro

can you please send the instructions of how you do that, or just send the link please

just manual add "com.apple.WebKit.Networking" to "com.macenhance.MacForgeHelper.plist" in "~/Library/Preferences"

I followed your instructions to add that item in the .plist file and relaunched Macforge, only to find it can't recognize the change and Safari still won't work once injected.
ps: could you please leave a copy of your build? I'm not certain about how to operate on Xcode(on macOS Monterey)

Note：It's not provide or test by me, but maybe it will work. https://github.com/jslegendre/appcast/raw/master/Beta/MacForge/MacForge.1.2.2-2.zip

Hello, this link has expired. Can you send me a new address? I urgently need this installation package now，thanks

I add "com.apple.WebKit.Networking" to blacklist with "fix-beta" branch latest code build, looks working fine to me. Environment: macOS 13.5 with M2 Pro

can you please send the instructions of how you do that, or just send the link please

just manual add "com.apple.WebKit.Networking" to "com.macenhance.MacForgeHelper.plist" in "~/Library/Preferences"

I followed your instructions to add that item in the .plist file and relaunched Macforge, only to find it can't recognize the change and Safari still won't work once injected.
ps: could you please leave a copy of your build? I'm not certain about how to operate on Xcode(on macOS Monterey)

Note：It's not provide or test by me, but maybe it will work. https://github.com/jslegendre/appcast/raw/master/Beta/MacForge/MacForge.1.2.2-2.zip

Hello, this link has expired. Can you send me a new address? I urgently need this installation package now，thanks

the beta version is released at https://github.com/jslegendre/appcast/tree/master/Beta/MacForge by @ jslegendre


Add [Okcoin okcoin.com] #memo-required GDCDYZ…IIAECE

Address: GDCDYZ42EOC4UBLKLOA6ZR5OSXL5WHLWAJLXJ7O646FQ5EMUG6IIAECE
Tags: memo-required
Title: Okcoin  Domain: okcoin.com
Requested by @rulisboy

XLM MEMO 6016184

@rulisboy hello can you explain what you would like Stellar Expert to do with this address. Stellar Expert is only a Stellar Blockchain explorer and database. It is not connected to any exchange or specific transactions. If you had a question about OKcoin you should contact their support team and give then the transaction number and your public Stellar Address.  You could get people posing as support to "help you" but they are just trying to get your assets.


What are list of environments currently solvable by PPO

In the list of current environments what are practically solvable by current RL algorithms?

I'm not sure. There's a handful of papers citing miniworld: https://scholar.google.ca/scholar?oi=bibs&hl=en&cites=16015822555890054842
But to my knowledge, outside of the trivial environments (i.e. corridor), these are quite hard to solve because of the sparse rewards.


originalEvent property is not available on L.Marker 'dragstart' event

According to leaflet documentation L.Marker 'dragstart' event is of type: https://leafletjs.com/reference-1.6.0.html#event. And that implies that it should have originalEvent property (I need to detect alt/shift key press state from that).
        const marker = L.marker(markerPosition, {
            icon: getIcon(),
            draggable: true,
        });
        marker.on('drag', (event: L.LeafletEvent) => {
            console.log(event);
        });
        marker.on('dragstart', (event: L.LeafletEvent) => {
            console.log(event);
        });

Now if I debug console statements in Chrome, in case of dragstart I get something this:

while on 'drag' it's working and I would expect:

Environment

Leaflet version: 1.6.0
Browser (with version): Chrome, latest
OS/Platform (with version): windows 10.

It looks like some information might be able via event.target. _lastEvent, does this satisfy the requirements @karolis-k ?

There's no such thing as _lastEvent:

Ahh I was dabbling with some code which added the _lastEvent, however it looks like it's subject to some race conditions.

Just wanted to admit, even though I verified this issue on 1.6.0, I am at the moment testing it on 1.5.1. Not sure if it matters in this case.


Measure bounce rate delta

Description
See #33041
Page URL
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/building-net-docker-images?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/docker/building-net-docker-images.md
Document ID
80c1ce51-46fb-0693-525a-7cad37150c7b
Article author
@Rick-Anderson

Associated WorkItem - 283993

Aug 22 report, BR = 10.5 %, before title change 70%  BR as recorded in #33041


CustomProDB update for PSM2SAM and MVP

Update customProDB to use my GitHub codebase (currently 1.16.0)

requires adding many conda requirements; if official customProDB merges my changes, these can be removed

Make output_indel.fasta optional
Add RData variant annotation output for PSM2SAM
Add SQLite genomic mapping and variant annotation outputs for Galaxy-P MVP viewer
Add tests using dbSNP and COSMIC annotations and reorganize test files to make it clear they are only for hg19

TODO: add tests for different genomes

@chambm @bgruening
Here is the schema for genomic mapping, for the CDS sequence of the variant Search DB protein
( with name being the the one supplied in the Search DB ):
sqlite> .schema
CREATE TABLE feature_cds_map (
name TEXT,
cds_start INTEGER,
cds_end INTEGER,
chrom TEXT,
start INTEGER,
end INTEGER,
strand TEXT
);
This is similar to GFF in that contiguous genome-mapped region is a single row in the table.  Genomic locations for amino acids in the protein can be queried.   In addition, proteins in a genomic region can be queried.
This schema allows us to combine customProDB generated variants with structural variants from RNAseq structural variant applications such as deFuse and StarFusion.    Section 5.4 of https://github.com/samtools/hts-specs/blob/master/VCFv4.3.pdf
shows the variety of variants we'd like to be able to contain in the genomic mapping table.  I've worked with a few cancer researchers over past few years and providing a convenient jump from a protein-centric view to these more complicated genomics locations can be very useful.
The reason I put in the "CDS" start and end is to allow for cases where only parts of the constructed proteins search sequence can be mapped to a reference.
Assume:
#CHROM  POS     ID     REF  ALT               QUAL  FILTER  INFO
2       321682  bnd_V  T    ]13:123456]AGTCAT 6     PASS    SVTYPE=BND;MATEID=bnd_U
13      123456  bnd_U  C    C'[2:321682[  6     PASS    SVTYPE=BND;MATEID=bnd_V
We take a portion from chr13 before the break:  chr13: chr13:123430-123456  GAGACAGCCGAGAGTAGGGAGGTGGC
We have the inserted sequence (exluding the REF matching parts):  CAGTCA
We take a portion from chr2 after the break: chr2:321682-321704  TTCCACATGGCTGGGGAGGTTT
The constructed CDS: GAGACAGCCGAGAGTAGGGAGGTGGCCAGTCATTCCACATGGCTGGGGAGGTTT
The Search DB Protein:

Variant_1
ETAESREVASHSTWLGRF

The genomic mapping:
Variant_1    0    26    chr13    123430    123456    +
Variant_1    32   54    chr2     321682    321704    +
When MVP displays the genomic mapping bars over the Variant_1 AA sequence
there will be a gap over AAs: AS
since they are an insertion with no known genomic mapping

Currently waiting on conda-forge/staged-recipes/pull/2952

@chambm @bgruening I see conda-forge/staged-recipes#2952 got merged.  Is there any way to rerun the test without doing another commit?

You can restart every travis job on the travis website, or simple close and reopen a PR.

The package isn't uploaded to conda yet. Also, it may get built for the wrong R version. :-/

I love it when a plan comes together. Even if it takes a while. :laughing:

Great work @chambm! Sorry for the hassle we are working to improve it.


[Sponge] Crash on Block-Placing Creeper explosion

Expected Behavior
Update:Seems to be specific creepers.
So far Stone and cake creeper cause crashes.
Actual Behavior
Causes server crash.
Steps to Reproduce (including precondition)
spongeapi-7.0.0-shaded
spongeforge-1.12.2-2611-7.1.0-BETA-2990
Place any block placing creeper and have him explode
Screenshot of this Problem
Crash report: https://pastebin.com/1KKgP3Ci
Full mod list in the link.
Your Environment

OS: Win10 64bit
Minecraft version: 1.12.2
Elemental Creepers version: ElementalCreepers-v<IP_ADDRESS>.g84e9cc0
Forge version: forge-1.12.2-<IP_ADDRESS>11-universal

This error is caused b/c Sponge hasn’t implemented ‘setPos’ in its version of ‘MutableBlockPos’, which is actually hilarious. I’ll look into what can be done on my end w/out compromising the mod’s current efficiency.

Alrighty. I was really confused when I saw that sponge was crashing to this. This is honestly funny.
I might want to post a thread in regards to this not existing at the moment. I'll try to look into that too.
For now I'll have to disable the mod but I do hope you can find a workaround. I enjoy the silliness of it.
Thanks.

I'm actually also experiencing this issue on a standard Forge (2675) server. Admittedly there are a lot of mods so there might be some ASM tomfoolery. I will do further research and post my findings.

Hm quite strange. Thank you for the research @CerulanLumina! I'll look into the problem when graduation and finals hype has settled down.


Add danger

Fix #93

SwiftLint found issues

Severity
File
Reason

Warning
Fake.swift:1
SwiftLint rule 'trailing_newline' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

  Generated by :no_entry_sign: Danger Swift against b2a274ac57b2a5ec3b83c2a5206433f85549505b


Active Provider can register data set on blockchain

Done but needs tested.

https://github.com/prosopo-io/provider/issues/18


Trying to get in touch regarding a security issue

Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)

Hi @zidingz ,
Please email me at<EMAIL_ADDRESS>Setting up the SECURITY.md is something we will do - thanks for the suggestion.

Thanks! And if it'll save you time: https://github.com/ratchetphp/Ratchet/pull/900


how to make log format configuration my own log format?

We are using below own log format. but I have no idea how to set 00log-format & --date-format && --time-format.
2019/07/22 15:16:23 [info] 43891#43891: *72832 proxy [2001:db8:a01:2101:9::a102]:38302 connected to [2001:db8:a01:2053:4::16]:4430

GoAccess requires the following fields:

a valid IPv4/6 %h
a valid date %d
the request %r

You've got the date and IP but doesn't look like there's a request. Is this an access log?

Closing this. Feel free to reopen it if needed.


Vue forum down

Version
3.0.5 (irrelevant)
Reproduction link
https://forum.vuejs.org
Steps to reproduce
Visit https://forum.vuejs.org
What is expected?
Vue forum works
What is actually happening?
Vue forum returns status 500

Confirmed.

Confirmed.

Closed because it's now available

Closed because it's now available


xdp-tools: 1.2.9 -> 1.3.1

Needs a small patch, because since 1.3.0 btf__type_cnt detection is broken. Will be in next release.
Description of changes

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
[ ] 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

[ ] Fits CONTRIBUTING.md.

I think it's generally preferred to fetch patches.  In this case probably fetchpatch on https://github.com/xdp-project/xdp-tools/commit/a7df567634af77381832a2212c5f5099b07734f3.patch

I think it's generally preferred to fetch patches. In this case probably fetchpatch on https://github.com/xdp-project/xdp-tools/commit/a7df567634af77381832a2212c5f5099b07734f3.patch

Alright, done.

Hey @vcunat, thanks for merging!
Looking at the merge commit build on ofborg, it seems that the fetchpatch call has a hash mismatch though.
It doesn't fail locally, the hash is correct, but why does it fail in CI?

Yes, wrong hash from you and bad review from me.

You provided hash of the downloaded patch.  The purpose of fetchpatch is in the fact that these dynamically generated patches tend to be unstable, so some normalization is done and hash is checked after that.

I fixed it on master in 972b0fa87ff.

Sincere Apologies on my part.
So nix-prefetch-url "https://github.com/xdp-project/xdp-tools/commit/a7df567634af77381832a2212c5f5099b07734f3.patch" results in a different hash because fetchpatch changes the downloaded diff itself?

The best way is not to specify a hash (or one that doesn't match anything).  The subsequent failure will tell you the actual hash.  Yeah, I know it's not ideal.

Ah, hm, so the hacky way I've been doing it for everything but this patch is indeed the one that's most likely to get correct results.
Thank you for clarifying! It won't happen again.


Skia related crash report from user side(ios): asyncRescaleAndReadPixelsYUV420

Steps to Reproduce
It's crash report from user side and can't reproduce in the developer side.
Crash Log:
Code Type:           ARM-64
Parent Process:      ??? [1]
Date/Time:           2020-01-31 23:34:39 +0000
OS Version:          iPhone OS 11.3.1 (15E302)
Report Version:      104
Exception Type:  SIGSEGV
Exception Codes: SEGV_ACCERR at 0x18
Triggered by Thread:  31
Thread 31 Crashed:
0   AGXGLDriver                     0x00000001a49fe1f8 0x00000001a49d6000 + 164344
1   AGXGLDriver                     0x00000001a49fcd4c 0x00000001a49d6000 + 159052
2   AGXGLDriver                     0x00000001a49fa4b4 0x00000001a49d6000 + 148660
3   GLEngine                        0x00000001a59c9898 0x00000001a59b2000 + 96408
4   Flutter                         0x0000000103d76b68 0x0000000103b0c000 + 2534248
5   Flutter                         0x0000000103cfd1b8 0x0000000103b0c000 + 2036152
6   Flutter                         0x0000000103ce08d4 0x0000000103b0c000 + 1919188
7   Flutter                         0x0000000103ce12ec 0x0000000103b0c000 + 1921772
8   Flutter                         0x0000000103cfc088 0x0000000103b0c000 + 2031752
9   Flutter                         0x0000000103d8de90 0x0000000103b0c000 + 2629264
10  Flutter                         0x0000000103b6095c 0x0000000103b0c000 + 346460
11  Flutter                         0x0000000103b44dfc 0x0000000103b0c000 + 232956
12  Flutter                         0x0000000103b49330 0x0000000103b0c000 + 250672
13  CoreFoundation                  0x000000018454baa8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
14  CoreFoundation                  0x000000018454b76c __CFRunLoopDoTimer
15  CoreFoundation                  0x000000018454b010 __CFRunLoopDoTimers
16  CoreFoundation                  0x0000000184548b60 __CFRunLoopRun
17  CoreFoundation                  0x0000000184468da8 _CFRunLoopRunSpecific
18  Flutter                         0x0000000103b4920c 0x0000000103b0c000 + 250380
19  Flutter                         0x0000000103b48d68 0x0000000103b0c000 + 249192
20  libsystem_pthread.dylib         0x00000001841c9220 _pthread_body
21  libsystem_pthread.dylib         0x00000001841c9110 _pthread_start
22  libsystem_pthread.dylib         0x00000001841c7b10 _thread_start

Crash callstack symbolicated:
kylewong@KyleWongdeMacBook-Pro ios-release % atos -o Flutter.framework/Flutter -arch arm64 -l 0x0000000103b0c000
0x0000000103d76b68
GrGLGpuRTCommandBuffer::begin() (in Flutter) (GrGLFunctions.h:303)
0x0000000103cfd1b8
GrRenderTargetOpList::onExecute(GrOpFlushState*) (in Flutter) (GrXferProcessor.h:74)
0x0000000103ce08d4
GrDrawingManager::flush(GrSurfaceProxy**, int, SkSurface::BackendSurfaceAccess, GrFlushInfo const&, GrPrepareForExternalIORequests const&) (in Flutter) (GrDrawingManager.cpp:67)
0x0000000103ce12ec
GrDrawingManager::flushSurfaces(GrSurfaceProxy**, int, SkSurface::BackendSurfaceAccess, GrFlushInfo const&) (in Flutter) (GrDrawingManager.cpp:520)
0x0000000103cfc088
GrRenderTargetContext::asyncRescaleAndReadPixelsYUV420(SkYUVColorSpace, sk_sp<SkColorSpace>, SkIRect const&, int, int, SkSurface::RescaleGamma, SkFilterQuality, void (*)(void*, void const**, unsigned long*), void*)::$_1::__invoke(void*) (in Flutter) (GrRenderTargetContext.cpp:1922)
0x0000000103d8de90
SkGpuDevice::Make(GrContext*, sk_sp<GrRenderTargetContext>, int, int, SkGpuDevice::InitContents) (in Flutter) (GrImageContext.cpp:37)
0x0000000103b6095c
flutter::PictureRecorder::~PictureRecorder() (in Flutter) (picture_recorder.cc:40)
0x0000000103b44dfc
void std::__1::vector<std::__1::unique_ptr<std::__1::mutex, std::__1::default_delete<std::__1::mutex> >, std::__1::allocator<std::__1::unique_ptr<std::__1::mutex, std::__1::default_delete<std::__1::mutex> > > >::__push_back_slow_path<std::__1::unique_ptr<std::__1::mutex, std::__1::default_delete<std::__1::mutex> > >(std::__1::unique_ptr<std::__1::mutex, std::__1::default_delete<std::__1::mutex> >&&) (in Flutter) (memory:1677)
0x0000000103b49330
std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >::reset(flutter::LayerTree*) (in Flutter) (memory:2325)
0x0000000103b4920c
fml::paths::FromURI(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (in Flutter) (string:1413)
0x0000000103b48d68
fml::IsDirectory(fml::UniqueObject<int, fml::internal::os_unix::UniqueFDTraits> const&) (in Flutter) (file_posix.cc:132)

kylewong@KyleWongdeMacBook-Pro ios-release % /Users/kylewong/Codes/Flutter/alibaba-flutter/StableV1.9.1/flutter/bin/flutter doctor -v
[✓] Flutter (Channel stable/v1.9.1+hotfix.6, v1.9.1+hotfix.6, on Mac OS X 10.15.3 19D76, locale en-CN)
    • Flutter version 1.9.1+hotfix.6 at /Users/kylewong/Codes/Flutter/alibaba-flutter/StableV1.9.1/flutter
    • Framework revision 68587a0916 (5 months ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

@bsalomon
I noticed there're several skia commits which is related to:
asyncRescaleAndReadPixelsYUV420
Can you have a look at this issue?
Also CC @zoeyfan @liyuqian
This is a severe crash in a negligible amount occurs in an important application but xianyu. It has been published to AppStore , and we want to resolve it(at least a workaround) before we can use flutter to benefit more business.

CC @brianosman

Update: I dug more and noticed that:
In this version, Flutter page is not enabled, i.e., users won't enter a Flutter page. However, the engine is started after application is launched.


Fix typo in Value enum documentation

There were the following issues with your Pull Request

Commit: 83735c14d6b4781cec941a2fdfbc8bacc5384a4a
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/serde-rs/json

This message was auto-generated by https://gitcop.com

I filed an issue about the GitCop message: https://github.com/serde-rs/json/issues/7


Worker getting hung up on Windows Server

I am running the newest Nexrender server CLI on Windows Server 2019. I've got everything working properly; however, the worker seems to get stuck randomly and I have to click enter in the command line for it to continue normally. It happens at random times, such as when a new job is created, I have to click enter for the worker to start processing it.
I am expecting the worker to run from start to finish without intervention; however, that's not the case right now. Any suggestions?

Please check if that issue is not related to any of those:
https://github.com/inlife/nexrender/issues/191#issuecomment-512980182
https://github.com/inlife/nexrender/issues/239


Update repositories.toml

ℹ Repository information
The repository has:

[x] At least three issues with the good first issue label.
[ ] At least 10 contributors.
[x] Detailed setup instructions for the project.
[x] CONTRIBUTING.md
[x] Actively maintained.

Help us : https://github.com/MathExpansion/MathExpansion

Hi @YoshitakaNaraoka — thanks for the PR! I see, however, that the repository has less than 10 contributors. I'd recommend adding this repository to this project at a later time once you have some more contributors. Thank you!

Thank you for your reply.
The organization has more than 10 people and is currently creating educational materials.
This is also a connection, and I would be very happy if you could participate in the project to make this machine tool work...


[IOTDB-1742] Fix test bug caused by restart error of virtual storage groups

Recently, i see following error message in the IoTDBCompleteIT's log:

To resolve this error, there are two places to modify:
Firstly, It is dangerous that IoTDBCompleteIT uses HashVirtualPartitioner's setStorageGroupNum method to set the number of virtual storage groups, because VirtualStorageGroupManager initializes StorageGroupProcessor array when it's constructed and the call of setStorageGroupNum method will cause sg num conflicts between HashVirtualPartitioner and VirtualStorageGroupManager, then throw ArrayIndexOutOfBoundsException. So, i remove the setStorageGroupNum method of HashVirtualPartitioner.
Secondly, the restart of StorageEngine in EnvironmentUtils.restartDaemon() is confusing because the start method only start timed service except the initialization of storage groups. So, i move the initialization of storage groups in StorageEngine from constructor to start method.

Closes issue IOTDB-1742.


docs: add starlight-site-graph and starlight-theme-obsidian

Description
This PR adds my two (now as-good-as-finished) plugins to the community resources.
Announcement of the 'release' of the plugins will also be made tomorrow in the Discord.

Hello! Thank you for opening your first PR to Starlight! ✨
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any issues you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🤩

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
resources/plugins.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Added Issue Template

Fixes #108
Do not merge till we add every necessary point.

Looks great !

@aashutoshrathi  an option regarding better solution can be added

not affecting other code is important I guess here.

Add a check for when a user updates an image/song, make sure he uses a better alternative.

Look I think we went far off the point here, this is Issue Template, not PR template. Let me make one PR Template too.

@Anshuman-Verma @Monal5031 Check it now, I think its GTG.


Installing capybara-webkit 1.1.0 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/kushal/.rvm/gems/ruby-2.3.1/gems/capybara-webkit-1.1.0

/home/kushal/.rvm/rubies/ruby-2.3.1/bin/ruby -r ./siteconf20160927-23636-xrsrmb.rb extconf.rb
Command 'qmake -spec linux-g++ ' not available
Makefile not found
Gem files will remain installed in /home/kushal/.rvm/gems/ruby-2.3.1/gems/capybara-webkit-1.1.0 for inspection.
Results logged to /home/kushal/.rvm/gems/ruby-2.3.1/extensions/x86_64-linux/2.3.0/capybara-webkit-1.1.0/gem_make.out
An error occurred while installing capybara-webkit (1.1.0), and Bundler cannot continue.
Make sure that gem install capybara-webkit -v '1.1.0' succeeds before bundling.

I have ubuntu 14.04
rvm 2.3.1
When i am install this gem got above errors.

Did you follow the installation instructions from the wiki?

Command 'qmake -spec linux-g++ ' not available

This likely means you need to install Qt. The instructions @mike-burns linked to should help you there.

capybara-webkit 1.1.0

This is a very old version of capybara-webkit. We have limited resources to dedicate towards support, so we're focused on supporting recent versions.
This doesn't appear to be a bug in capybara-webkit and is related to an older version, so I'm going to close this issue.


feat(config): added option to enable https for the subscribe endpoint

Ran yarn prettier which formatted a lot of other files.
Main change is the addition of a https option for the subscribe endpoint.
This gives more flexibility to enable https if preferred.

Will take a look at this when I have a minute. Already see a few changes needed. @ElliottCuvelier let me know if you still want to get this in otherwise I’ll create my own PR for this.


PHP Catchable fatal error: Object of class WP_Customize_Manager

Issue description:
Im having issues with one of my sites, where the Kirki_Controls_Radio_Image_Control seems to be somehow associated.
I have quite a few symptoms showing up on the customiser when this error happens:

Nothing shows up on widgets panel
The links for different pages from the main menu won't work
The browser title bar never updates from "Customize: Loading..."

Version used:
Was running the prior version before opening the issue, but tried the update to 2.3.2 with the same results.
Using theme_mods or options?
I use both depending on the settings I need to be permanent between theme changes
Code to reproduce the issue (config + field(s))
	Kirki::add_config( 'kirki_options', array(
      'capability'  => 'edit_theme_options',
      'option_type' => 'theme_mod'
    ) );

	Kirki::add_config( 'kirki_persistent_options', array(
      'capability'  => 'edit_theme_options',
      'option_type' => 'option'
    ) );

The fields are declared in a set of files, which can be downloaded here:
Archive.zip

Can you please send me a complete copy of your theme?

@aristath Just to confirm, did you get my email with the theme files?
Have tried rolling back Kirki to a previous version and have gone to 2.2.0 but still throwing the same error. One interesting aspect, it seems that it only throws the error when the menu item is a page. If it is a category doesn't seem to cause the error.

Hey there!
Downloading the theme now to take a look at what goes on. 👍

Hello my friend. If there's any test I can do on my end to help debug it please let me know.

First of all, in such complex projects debugging can be a bit tricky, so here's the method I followed to figure out where the issue is:
First, I searched all the theme files for Kirki::add_field to see where you're adding the fields, and saw that you have them all in mdf/setup/customizer/
I opened those files one by one and deleted everything in them to see if that fixes the issue, and it did.
So, we now know that the issue is in one of those files.
Next, I started restoring the contents of the files one-by-one and checked each time if the issue re-appeared.
It appeared as soon as I restored the layout.php file, so now we know which file has the issue.
Next, I commented-out everything in that file, and started uncommenting the code in blocks.
This way, I was able to narrow down the issue to these lines:
Kirki::add_field( 'kirki_options', array(
    'type'     => 'radio-image',
    'section'  => 'panel_layout',
    'settings' => 'pages_detail_layout',
    'label'    => __( 'Pages - sidebar position', 'wip' ),
    'choices'     => array(
        'content-full' => PARENT_DIR_URI . '/img/kirki/content.png',
        'content-sidebar' => PARENT_DIR_URI . '/img/kirki/content-sidebar.png',
        'sidebar-content' => PARENT_DIR_URI . '/img/kirki/sidebar-content.png',
  ),
  'default'  => 'content-full',
  'active_callback' => 'is_page',
) );

Kirki::add_field( 'kirki_options', array(
    'type'     => 'radio-image',
    'section'  => 'panel_layout',
    'settings' => 'pages_archive_layout',
    'label'    => __( 'Archives - Sidebar Position', 'wip' ),
    'choices'     => array(
        'content-full' => PARENT_DIR_URI . '/img/kirki/content.png',
        'content-sidebar' => PARENT_DIR_URI . '/img/kirki/content-sidebar.png',
        'sidebar-content' => PARENT_DIR_URI . '/img/kirki/sidebar-content.png',
    ),
    'default'  => 'content-full',
    'active_callback' => 'is_page',
) );

If we now comment-out the active_callback lines, we can see that it works fine.
So, the issue is that for some reason the is_page callback doesn't work.
I don't know why, could be because of Timber/twig...
Timber has the bad habit of hijacking the query, so is_page (which uses the query as you can see on https://developer.wordpress.org/reference/functions/is_page/#source-code) probably has some issues and can't properly detect it.
You'll just have to invent a new way to check if the current object is a page... (perhaps by creating a new function that checks the timber object instead?)
For now you can just remove the callback completely and just add some notes in that section saying that these controls will only apply to pages.
Also, I noticed that in a few places you're using the kirki_get_option function which has been deprecated for a long time. I'd advise you to use get_theme_mod or get_option depending on what you're using for those.
I hope that helps!

Oh man, I feel bad for making you loose time tracking this down. I've tried a similar approach as you've described and for some reason I got the impression it didn't made any difference. I probably forgot to comment some of those.
Thank you so much for the help Ary.

np buddy, I'm glad we could at least figure out what's wrong.


[AutoPR cdn/resource-manager] [Portal Generated] Review request for Microsoft.Cdn to add version 2017-10-12

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4619

(message created by the CI based on PR content)

Closed initial issue


chagne Jade to Pug

Closes #695

Guys, we at @translation-gang are waiting for this changes to be merged to merge our translations for the same thing )


Transaction fee increase

Description
Increases the base transaction fee from 350 RAO per transaction to 0.00012 TAO per transaction.

rebased to be off of main


Plugin no longer works with recent version of web test runner

When trying to run tests, i get the error
Could not resolve import<EMAIL_ADDRESS>

Nevermind, i forgot a dependency :/


Problems with emojis

I stumbled upon a file containing comments with emojis like
// 💰 Thats a comment

I cant jump to the end of the line.
Pressing $ brings me to the the second m in comment.
Any idea on how to fix that?

I've also been having that problem. It seems the emoji takes up multiple cursor "positions".

I also had this problem. Trying to skip ahead or back a word with w or b instead skips to the middle for some reason.

The extension becomes unusable past any multibyte character. Maybe a similar fix to this one applies.


BayesSearchCV: default value mentioned for cv is wrong in the doc

Hi,
Is there a bug in the Docs for BayesSearchCV where it says that the default value for cv is 3 but I see it using 5 as the default when I run it with no explicit value for cv?
https://scikit-optimize.github.io/dev/modules/generated/skopt.BayesSearchCV.html#skopt.BayesSearchCV
I had a quick look in the code as below, the default in the code that is used seems to be 5.
cheers,
Rob.
Versions:
import sklearn
import skopt
print(sklearn.version)
print(skopt.version)
1.0.2
0.9.0

Docs from: https://scikit-optimize.github.io/dev/modules/generated/skopt.BayesSearchCV.html#skopt.BayesSearchCV
cv: int, cross-validation generator or an iterable, optional
Determines the cross-validation splitting strategy. Possible inputs for cv are:

None, to use the default 3-fold cross validation,

scikit-learn/sklearn/model_selection/_split.py
Line 2404 in f2f3b3c
def check_cv(cv=5, y=None, *, classifier=False):
def check_cv(cv=5, y=None, *, classifier=False):
"""Input checker utility for building a cross-validator.

Hi, I also found myself that it is actually 5 and it's different from the description.
Someone who manages skoptimize should fix this ASAP.


Generic: allow manual configuration of (any language) with custom tree-sitter grammar

Check for existing issues

[X] Completed

Language
GENERIC
Tree Sitter parser link
No response
Language server link
No response
Misc notes
It's a very hard task to maintain support for ALL the languages. It's impossible for any one team.
Personally, I'd start using Zed if I could have syntax highlighting. So being able to provide my tree-sitter grammar to Zed somehow would do.

Definitely agree, having custom / configurable syntax highlighting is a very important feature for me.

Since I assume you are using tree sitter, this would be the best way to move forwards. Have existing language / grammar configurations accessible, and allow for adding custom grammars for other languages.
I think it will help advance zed language support much faster.
This is how helix works by using existing tree sitter grammars.


Didn't anyone ever notice this small bug? Or its too small to be mentioned

In the file frame_level_models.py line 102
flags.DEFINE_integer("fv_coupling_factor", 0.01,
                     "Coupling factor")

Yes I did not see that small bug, thank you for noticing it !


Add window_border_radius config to Yabai

Add message
Add entry in struct
Change border refresh in border.c to prevent unnecessary computation

I have completely arbitrarily chosen the limits for this API, and was unsure what value to use for "let yabai do it" and so chose -1 even though it's often used for other things.
The API is:

Value of 0 is of course no radius and so square.
Can go up to and including 20.
Value of -1 means yabai will auto size the border radius as it already does.

Would you mind creating an issue for this, and add it to the list of changes (repo/CHANGELOG.md). Otherwise, it seems fine.

Done and done (https://github.com/koekeishiya/yabai/issues/281) @koekeishiya was my protocol here the right one for a PR? Apologies if I should have made an issue first.

No need to add 2.0.2 yet, just add it under the Unreleased section. I usually don't designate a version number until the release is published. That way it is easier to track all unreleased changes, rather than having to compare the last released version with w/e you are looking at in the changelog.

Whoops, fixed for ya

It appears you don't have the latest change I made recently. Could you fix the merge conflict and rebase the PR into a single commit (cleaner history, usually not too concerned with this, but it's nice for PRs).

Fixed conflict, and squashed all commits into first one.

Thanks

I forgot documentation and sample config was a thing, but I've fixed those now.

Happens to the best of us, I added a simple entry (under title Window modifications) in the wiki at the bottom here: https://github.com/koekeishiya/yabai/wiki/Configuration


pkg/server/sync: doesn't sync sha-224 blobs

seems like the sync handler in pkg/server/sync.go doesn't sync sha-224 blobs

Oh wow:
func (sh *SyncHandler) shardPrefixes() []string {
        var pfx []string
        // TODO(bradfitz): do limit=1 enumerates against sh.from and sh.to with varying
        // "after" values to determine all the blobref types on both sides.
        // For now, be lazy and assume only sha1:
        for i := 0; i < 256; i++ {
                pfx = append(pfx, fmt.Sprintf("sha1-%02x", i))
        }
        return pfx
}

A hidden sha1 hard-coding.
I was even discussing this with @mpl awhile back, but in the context of something else. (I said how we need to test scan all boundaries to discover all possible blobref prefixes and estimate how many blobs we have per hash type so we could have useful progress bars.) But it also applies here.

Submitted https://camlistore-review.googlesource.com/c/camlistore/+/16846

That change seems like a working short-term fix, at least. A longer term fix might be to do, as I saw in a comment later where it compares the prefix, to actually move that kind of logic into pkg/blob. There could also be a function in pkg/blob that returns a list of prefixes of all known hash schemes split into N shards/prefixes.

is this bug closeable?

If we take it literally, yes, as the problem is indeed now fixed for sha224.
Stephen is correct that we should probably fix it in a more generic way, but I suppose that can be considered another issue.
@stephens2424 Are we good to close, or are you working on the better fix?


move the event handlings to the provider instead of using the static instance

Good stuff! I also opened an issue with the SDK where to remove the singleton pattern.

When starting to do this I was think I should also check the spec about events and that is written (seems to me) with the intent of the Events being "global" to the SDK which would then mean that if the SDK runs with multiple providers (something we don't support yet? - but really what is happening when we run tests in parallel), each event should really echo which provider it came from?

@nicklasl if we support multiple providers i don't see another way as stating in the events the provider name or hash or some sort of identifier, means the providers should also have an identifier in the spec. which i believe having the events coming from the providers and hosted and controlled by the providers is a way better setup.

Will using this function on the OpenFeature API work with this implementation?
OpenFeatureAPI.observeEvents
````

@nicklasl
Will using this function on the OpenFeature API work with this implementation?

I believe It does however to support multiple providers we should think of the identifier and pass it to the event observer function as well. right?


Issue with k8s.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive/

Interactive tutorial doesn't open up

I suspect this is fixed. @softforte are the symptoms still present?
/priority awaiting-more-evidence

I checked from different machines under the same public IP address last night - had the same problem. It all worked once I used a different public IP address. Will try again today.
Thank you.
-I.
From: Tim Bannister<EMAIL_ADDRESS>Sent: March 4, 2021 6:14 PM
To: kubernetes/website<EMAIL_ADDRESS>Cc: Ivan Neganov<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [kubernetes/website] Issue with k8s.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive/ (#26845)
I suspect this is fixed. @softfortehttps://github.com/softforte are the symptoms still present?
/priority awaiting-more-evidence

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/kubernetes/website/issues/26845#issuecomment-791020848, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARHLJ3CXGWG4KIRCVOFYHIDTCAH3DANCNFSM4YT5HN6Q.
Internal: for internal use or for sharing with third parties who have signed a non-disclosure agreement.

/close
I'm assuming this is OK.


Please sign  rpms

Summary
Please sign your RPMs with GPG, otherwise it is hard to include the rpms in a (enterprise) deployment process
Actual Behavior
In an enterprise deployment process it is very common to distribute rpms only when they are signed with gpg (and it is desireable for every rpm deployment / install). If the rpms are not signed, you have to to workarounds. IT Security Officers don´t like security workarounds ;). And why should I trust the rpms I download elsewhere?

@malachay Thank you for this, we will definitely look into adding it in an upcoming release.


Bluetooth: Audio: Update BT_BAP_SCAN_DELEGATOR dependency to GATT_DYN…

…AMIC_DB
Changed dependency of the BT_BAP_SCAN_DELEGATOR to GATT_DYNAMIC_DB from 'select' to 'depends on' and solved all loop dependencies caused by this change.
Fixes #79108

I guess mesh changed by coincidence?

I guess mesh changed by coincidence?

I believe this is very relevant for mesh since we change services at run-time after provisioning (removal of Mesh Provisioning Service and exposing Mesh Proxy Service). I also compiled 'light' sample on v2.6.0 and I see CONFIG_BT_GATT_DYNAMIC_DB=y in generated .config file.

Looks good for mesh.

Should be removed. See comment above.

I guess mesh changed by coincidence?

I believe this is very relevant for mesh since we change services at run-time after provisioning (removal of Mesh Provisioning Service and exposing Mesh Proxy Service).
I also compiled 'light' sample on NCSv2.6.0 and I see CONFIG_BT_GATT_DYNAMIC_DB=y in generated .config file. Same observed for Zephyr 'mesh' sample on corresponding zephyr revision.

No need for explicit selection of Kconfig options that have been enabled by default for ages:
https://github.com/zephyrproject-rtos/zephyr/blob/d022d315d2e006ad1eb13f3f72a00a99b4ff7fb0/subsys/bluetooth/mesh/Kconfig#L37-L40

This change is to resolve the dependency loop issue.

I guess mesh changed by coincidence?

I believe this is very relevant for mesh since we change services at run-time after provisioning (removal of Mesh Provisioning Service and exposing Mesh Proxy Service).
I also compiled 'light' sample on NCSv2.6.0 and I see CONFIG_BT_GATT_DYNAMIC_DB=y in generated .config file. Same observed for Zephyr 'mesh' sample on corresponding zephyr revision.

No need for explicit selection of Kconfig options that have been enabled by default for ages:
https://github.com/zephyrproject-rtos/zephyr/blob/d022d315d2e006ad1eb13f3f72a00a99b4ff7fb0/subsys/bluetooth/mesh/Kconfig#L37-L40

This change is to resolve the dependency loop issue.

Could you elaborate more on this? I can't understand what dependency loop happens by reading the description of the issue.

Since this will likely break one or more applications (given the changes required to the .conf files, I suggest we put an entry for both LE Audio and Mesh in the migration guide for this.
Ideally the changes to mesh shouldn't be affected by this, but I assume there's some build errors if not changed?

I agree that it would be better if the mesh wasn’t affected by this change, but as I mentioned before, it was changed to resolve the dependency loop issue. I think this is the easiest way to do it, otherwise we would need to make more changes to avoid circular dependency.

I guess mesh changed by coincidence?

I believe this is very relevant for mesh since we change services at run-time after provisioning (removal of Mesh Provisioning Service and exposing Mesh Proxy Service).
I also compiled 'light' sample on NCSv2.6.0 and I see CONFIG_BT_GATT_DYNAMIC_DB=y in generated .config file. Same observed for Zephyr 'mesh' sample on corresponding zephyr revision.

No need for explicit selection of Kconfig options that have been enabled by default for ages:
https://github.com/zephyrproject-rtos/zephyr/blob/d022d315d2e006ad1eb13f3f72a00a99b4ff7fb0/subsys/bluetooth/mesh/Kconfig#L37-L40

This change is to resolve the dependency loop issue.

Could you elaborate more on this? I can't understand what dependency loop happens by reading the description of the issue.

report.txt
Ok, to describe it in more detail, assume I just change the dependency of ´BT_BAP_SCAN_DELEGATOR´ from ´select´ to ´depends on´ in ´subsys/bluetooth/audio/Kconfig.bap´ (as intended by this issue). Then, for instance, when I build ´bap_broadcast_sink´, I get the dependency loop error (see the attachment file). To resolve it, the dependency loop must be broken. In my opinion, this is the easiest way to solve it, otherwise we would need to change more files and areas.

report.txt
Ok, to describe it in more detail, assume I just change the dependency of ´BT_BAP_SCAN_DELEGATOR´ from ´select´ to ´depends on´ in ´subsys/bluetooth/audio/Kconfig.bap´ (as intended by this issue). Then, for instance, when I build ´bap_broadcast_sink´, I get the dependency loop error (see the attachment file). To resolve it, the dependency loop must be broken. In my opinion, this is the easiest way to solve it, otherwise we would need to change more files and areas.

Why do you want to change select BT_GATT_DYNAMIC_DB to depends on BT_GATT_DYNAMIC_DB for BT_BAP_SCAN_DELEGATOR?

report.txt
Ok, to describe it in more detail, assume I just change the dependency of ´BT_BAP_SCAN_DELEGATOR´ from ´select´ to ´depends on´ in ´subsys/bluetooth/audio/Kconfig.bap´ (as intended by this issue). Then, for instance, when I build ´bap_broadcast_sink´, I get the dependency loop error (see the attachment file). To resolve it, the dependency loop must be broken. In my opinion, this is the easiest way to solve it, otherwise we would need to change more files and areas.

Why do you want to change select BT_GATT_DYNAMIC_DB to depends on BT_GATT_DYNAMIC_DB for BT_BAP_SCAN_DELEGATOR?

Besides being semantically better when dealing with dependencies, our Kconfig page also mentions that depends on is usually better than select for a handful of reason (including these circular dependencies that we have...): https://docs.zephyrproject.org/latest/build/kconfig/tips.html#alternatives-to-select

Why do you want to change select BT_GATT_DYNAMIC_DB to depends on BT_GATT_DYNAMIC_DB for BT_BAP_SCAN_DELEGATOR?

Besides being semantically better when dealing with dependencies, our Kconfig page also mentions that depends on is usually better than select for a handful of reason (including these circular dependencies that we have...): https://docs.zephyrproject.org/latest/build/kconfig/tips.html#alternatives-to-select

Since it was working fine before even being semantically not perfect, I'd really like to know what is actually wrong (not worse/better) before approving because now all users will have to explicitly enable BT_GATT_DYNAMIC_DB in their project files.

Since it was working fine before

The fact that LE audio cannot use depends on (and thus also no other application) with Mesh enabled is evidence, IMO, that it was not working fine before. The current usage of select is effectively forcing others to also using select rather than depends on.
@babrsn It would be interesting to see how the changes are if Mesh wasn't changed. You mentioned that the circular dependency could be fixed in another way, without affecting Mesh?

The fact that LE audio cannot use depends on (and thus also no other application) with Mesh enabled is evidence, IMO, that it was not working fine before.

From what I see this doesn't depend on whether mesh enabled or not:

Ok, to describe it in more detail, assume I just change the dependency of ´BT_BAP_SCAN_DELEGATOR´ from ´select´ to ´depends on´ in ´subsys/bluetooth/audio/Kconfig.bap´ (as intended by this issue). Then, for instance, when I build ´bap_broadcast_sink´, I get the dependency loop error (see the attachment file).

This should be explained in the issue more clearly.

Why do you want to change select BT_GATT_DYNAMIC_DB to depends on BT_GATT_DYNAMIC_DB for BT_BAP_SCAN_DELEGATOR?

Besides being semantically better when dealing with dependencies, our Kconfig page also mentions that depends on is usually better than select for a handful of reason (including these circular dependencies that we have...): https://docs.zephyrproject.org/latest/build/kconfig/tips.html#alternatives-to-select

Since it was working fine before even being semantically not perfect, I'd really like to know what is actually wrong (not worse/better) before approving because now all users will have to explicitly enable BT_GATT_DYNAMIC_DB in their project files.

Since it was working fine before

The fact that LE audio cannot use depends on (and thus also no other application) with Mesh enabled is evidence, IMO, that it was not working fine before. The current usage of select is effectively forcing others to also using select rather than depends on.
@babrsn It would be interesting to see how the changes are if Mesh wasn't changed. You mentioned that the circular dependency could be fixed in another way, without affecting Mesh?

At the moment, I don’t have a ready-to-submit alternative solution. However, I believe there should be more alternatives for this issue. I think the current solution here is the simplest because I have mostly changed the configs which select BT_GATT_DYNAMIC_DB. I suspect that alternative solutions will affect more parameters in more places. If it would be beneficial, I can investigate to see if I can find another good solution that doesn’t affect 'Mesh'. I could do this tomorrow or the day after...

At the moment, I don’t have a ready-to-submit alternative solution. However, I believe there should be more alternatives for this issue. I think the current solution here is the simplest because I have mostly changed the configs which select BT_GATT_DYNAMIC_DB. I suspect that alternative solutions will affect more parameters in more places. If it would be beneficial, I can investigate to see if I can find another good solution that doesn’t affect 'Mesh'. I could do this tomorrow or the day after...

I think it's worth investigating alternative solutions that doesn't affect mesh (and preferably nothing else besides the LE Audio stack). If you do get something else working, please submit that as a separate commit, either in this PR or another for comparison

Perhaps you want something like this: https://github.com/zephyrproject-rtos/zephyr/commit/39eb100948c8380164634bed0a8dfccba31a4c01 ?
All audio and mesh upstream samples compile with this change.
But as you see now you (and all who use audio) need explicitly enable BT_GATT_DYNAMIC_DB and some other Bluetooth options.
If you want to proceed with this, I'd recommend go through audio Kconfigs and replace "select BT_" to "depends on BT_" for all upper Bluetooth Kconfig options.

If you want to proceed with this, I'd recommend go through audio Kconfigs and replace "select BT_" to "depends on BT_" for all upper Bluetooth Kconfig options.

It is not a bad idea, though it will make all "prj.conf" look quite big and littered with many KConfig options.
Then I think, may be it is worth to not introduce this change everywhere and do it only at a place where it actually creates a problem (like proposed in this PR). This could be middle ground even though it is not so pure and pious.

Perhaps you want something like this: 39eb100 ?
All audio and mesh upstream samples compile with this change.
But as you see now you (and all who use audio) need explicitly enable BT_GATT_DYNAMIC_DB and some other Bluetooth options.
If you want to proceed with this, I'd recommend go through audio Kconfigs and replace "select BT_" to "depends on BT_" for all upper Bluetooth Kconfig options.

That's closer to the result I had expected from fixing the issue as well. Ideally we want to replace all select with depends on in LE audio in the future

It is not a bad idea, though it will make all "prj.conf" look quite big and littered with many KConfig options.
Then I think, may be it is worth to not introduce this change everywhere and do it only at a place where it actually creates a problem (like proposed in this PR). This could be middle ground even though it is not so pure and pious.

I think this is a subjective matter.
Besides depends on being suggested by Zephyr over select, forcing applications to enable things explicitly does indeed make the .conf files larger, but also clearer in terms of what is enabled.
For example enabling CONFIG_FOO should in many cases perhaps not enable 10s of other Kconfigs what the knowledge of the user. See https://docs.zephyrproject.org/latest/build/kconfig/tips.html#select-pitfalls for reasons why select should not be overused.

Thanks. Although it involves a considerable number of changes in the config symbols within the Kconfig files

As mentioned earlier, these changes are likely ones we want in the future anyways. We should be able to replace all select by depends on in LE Audio.

Indeed

@babrsn needs a rebase for the CCID changes I believe :)


KitOps / Red Hat blog

Red Hat is interested in co-authoring a blog about KitOps and the RH portfolio. We will have to do most of the writing but can ear-mark sections where we need RH to author based on their expertise.
The overall flow should be:

Why KitOps is the best way to package models
How to package an IBM model from Red Hat InstructLab
Push ModelKit to Quay.io
Create init container from ModelKit
Deploy that to Red Hat OpenShift AI

Daniel Messer (Quay) will help push this through on their side. Jesse has other contacts already. From their perspective it's good to show the use of InstructLab, their models, Quay, and OpenShift AI.

7/10 - Assigned to Dan and in progress

Now scheduled for release on RH Developer Portal for 16-Sep

@Jwilliamsr Can we close this?


Abi 1.1 support

ABI 1.1 was introduced in https://github.com/EOSIO/eos/releases/tag/v1.3.0; it supports these new features:

Variants: These are values which support multiple types. See https://github.com/EOSIO/eos/issues/5599 for details.
Binary extensions: These support extending existing rows and actions with new fields. See https://github.com/EOSIO/eos/issues/5600 for details.

Ready for review


How To Disable Already Running Error?

Fresh installation of Autodesk Fusion 360 that installed Spyder for me. Every time I hit the green run button it forces me to manually confirm to close the existing console and start a new one since my script is already running. No, it's not still running. It has completed "Hello World!" and is done. Same thing for the first debug start button. This would drive me nuts and I've never seen such a bizarre hassle in other Python editors. They just run the script again. This behavior is seen in Fusion 360 Python tutorial videos too.

This error only happens for old Spyder versions, which we don't support anymore.
I think you can fix this by going to the menu
Run > Configure

or maybe an option in
Preferences > Python console

but I'm not really sure anymore.

Ah, Fusion 360 is using an old version then, namely 2.3.2 compared to latest being 3.2.4.
Alas, it's as if Fusion is owning the process, and it doesn't appear anywhere in the Window Task Manager when running, nor as an installed program, and it only appears in an %AppData% directory structure where Fusion hides out. It's a complicated installation, just just a program, so I can't update it. Nor do I have any of those preferences in this jailed version.


In COCO, I Get a very low AP score, how can I fix it?

I get less than 3 AP in COCO, but I get the AP that similar to you in VOC; I check my output log find that many object in COCO get  0 AP; how can I fix it?

[03/13 11:19:10 fewx.evaluation.coco_evaluation]: Evaluation results for Non VOC 60 categories =======> AP  : 0.00
[03/13 11:19:10 fewx.evaluation.coco_evaluation]: Evaluation results for Non VOC 60 categories =======> AP50: 0.00
[03/13 11:19:10 fewx.evaluation.coco_evaluation]: Evaluation results for Non VOC 60 categories =======> AP75: 0.00
[03/13 11:19:10 fewx.evaluation.coco_evaluation]: Evaluation results for Non VOC 60 categories =======> APs : 0.00
[03/13 11:19:10 fewx.evaluation.coco_evaluation]: Evaluation results for Non VOC 60 categories =======> APm : 0.00
[03/13 11:19:10 fewx.evaluation.coco_evaluation]: Evaluation results for Non VOC 60 categories =======> APl : 0.00

How about the novel classes? The test only counts novel classes

In COCO, all novel classes get 0 AP, but in VOC, I can get similar AP like you. May be I split the datasets wrong?

Also check the ID mapper is correct for the VOC classes in COCO

Thanks for your reply! At your reminder, I thought that non_voc60 should get 0AP in the testing stage; After the pre-training model you provided is fine-tuned, the category of nonVoc will not be recognized.

I had the same problem. How did you solve it?

May I ask if this result is obtained after fine-tuning? I can't fine-tune the code once it's running


Error on server stop when no players connect.

So if I start and stop my server pretty quickly, it will spit out this error. If someone connects, it is fine.
Let me know if you need any more details.
[19:15:42 WARN]: [LuckPerms] Plugin LuckPerms v3.2.20 generated an exception while executing task 40
java.lang.NullPointerException: null
at me.lucko.luckperms.common.tasks.UpdateTask.run(UpdateTask.java:43) ~[?:?]
at me.lucko.luckperms.bukkit.LPBukkitPlugin$1.perform(LPBukkitPlugin.java:253) ~[?:?]
at me.lucko.luckperms.bukkit.LPBukkitPlugin$1.perform(LPBukkitPlugin.java:250) ~[?:?]
at me.lucko.luckperms.common.utils.BufferedRequest$Processor.run(BufferedRequest.java:117) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-23b6354-0481ae9]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot.jar:git-Spigot-23b6354-0481ae9]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

It only happens if you quickly stop after starting the server. You'll find that other plugins will have similar issues with this.
The tasks do get cancelled when the server stops, but in some cases, the task has already started.
Anyway, you can just ignore the error. It's not anything to be worried about.


NPM start fails on M1+ (Apple Silicon Macs)

🗣 Description
Amended backend/Dockerfile to fix node-gyp error on Apple Silicon powered Macs.

💭 Motivation and context
Fixes node-gyp error during docker-build.
Closes issue #84

🧪 Testing
Added the additional apk commands.
Re-ran NPM start
App is now up on local host!

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

Would you please create a branch in XFD and make a new PR from that branch? Using a forked branch adds just a little more friction to the review process.

will do
On Tue, Mar 19, 2024 at 11:54 AM Matthew @.***> wrote:

Would you please create a branch in XFD and make a new PR from that
branch? Using a forked branch adds just a little more friction to the
review process.
—
Reply to this email directly, view it on GitHub
https://github.com/cisagov/XFD/pull/85#issuecomment-2007556118, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A5LHYZ3XPYQFD4LOXE6ODMLYZBNTTAVCNFSM6AAAAABEYQEOE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGU2TMMJRHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Closing this because it is duplicated on PR #109.


Price is right game

Request a New Nada Example: Price is right game
Description
Create a “Price is Right” style game where multiple parties guess the price of an item, and the winner is the party whose guess is closest to the actual price without exceeding it.
Use Case
This example can be extended to other types of competitive scenarios, such as auctions or bidding systems, making it valuable for developers interested in game theory, competitive pricing models, or privacy-preserving applications.
Specific Requirements
Inputs:

The actual price of the item as a SecretInteger
The SecretInteger guesses from multiple parties.

Outputs:

The guess that is closest to the actual price without exceeding it.
The identification of the winning party.

Edge Cases:

If all guesses exceed the actual price, the output should indicate that there is no winner.
Handle ties where multiple guesses are the closest without exceeding the actual price.
Consider cases where multiple guesses are equidistant from the actual price, both above and below.

Hello,
I am interested in working on this part. I am confused about this output: 'The guess that is closest to the actual price without exceeding it.' Does this mean the player's input cannot be greater than the price?

Hello,
I am interested in working on this part. I am confused about this output: 'The guess that is closest to the actual price without exceeding it.' Does this mean the player's input cannot be greater than the price?

Yes, if a player's guess is higher than the actual price, they can't be the winner. Check out the game logic in this article: https://en.wikipedia.org/wiki/The_Price_Is_Right

Thank You. I finish and made a pull request. https://github.com/NillionNetwork/nada-by-example/pull/38


Testing Live Swag Bot - First PR - Non Gridder

Hello @audreythomas,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Create page routes.

Create page routes for home, about, team, projects and wrap them in react router.

done


Unused return values are ignored by default?

#import "fmt.odin";

main :: proc()
{
  using fmt;

  Func :: proc() -> int {
    return 10;
  }

  Func();

  printf("Isn't Func supposed to trigger a compile time error?\n");
  printf("And the true way of calling it would be _ := Func()?\n");
}

Calling Func() like that doesn't trigger a compile time error.

I originally made this an error/warning but I found that I was doing so often than I found it annoying.

Is it possible to introduce an explicit #required_return_val?

I don't see why not. I'll see what I can do with. Maybe have the tag be #require_result.

However, even with #require_results the results can be explicitly ignore like:
_ = foo();

@gingerBill Ah, results, that's right, I always forget about multiple return values because of C :) Yes, ignoring it explicitly makes sense too.

I've added it #require_results to Odin.

@gingerBill Thank you! That was fast! :) Can confirm, it works, the issue is closed.


Add collectd network

Add interface to create a network graph from a collectd check bundle.

Coverage remained the same when pulling 704d51534c50bae614294a62a7b42c84e9030ce5 on krismolendyke:collectd-network into 720419405aa64c0e91a0aaea22740a30c685fa25 on monetate:master.

Coverage remained the same when pulling 192a54f4061d832e4d328fc621b47c47411d2575 on krismolendyke:collectd-network into 720419405aa64c0e91a0aaea22740a30c685fa25 on monetate:master.

Coverage remained the same when pulling 41ee5f357940d639be1966b5a392292b5f63a588 on krismolendyke:collectd-network into 720419405aa64c0e91a0aaea22740a30c685fa25 on monetate:master.

Coverage remained the same when pulling 41ee5f357940d639be1966b5a392292b5f63a588 on krismolendyke:collectd-network into 720419405aa64c0e91a0aaea22740a30c685fa25 on monetate:master.


Fix for Bug #15020 dashboard update with multiproject

This PR aims to fix the issue where multiple projects are showing same data for dashboard : #15020
Post fix this is how it looks :

Pull Request Test Coverage Report for Build 727327520

3 of 31 (9.68%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.0e**-05%**) to 43.508%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/data-workspace/src/dialogs/projectDashboard.ts
0
3
0.0%

extensions/sql-database-projects/src/controllers/projectController.ts
1
26
3.85%

Totals

Change from base Build 727287243:
-6.0e-05%

Covered Lines:
26124

Relevant Lines:
54875

💛  - Coveralls

you have to use this format in order to close the issue automatically once the PR is merged: this PR fixes #issuenumber

you have to use this format in order to close the issue automatically once the PR is merged: this PR fixes #issuenumber

you have to use this format in order to close the issue automatically once the PR is merged: this PR fixes #issuenumber

I know but I dont want to close this the port merge happens (thats why went with long line :) )


2.3.0 slightly changes color value

Hi, I notice the generated color in 2.3.0 is slightly different than 2.2.0.
Is this intentional?
https://travis-ci.org/unional/color-map/builds/280895167?utm_source=github_status&utm_medium=notification
Thanks. 🌷

@unional yes, it is, and indeed proper behavior. Before it generated duplicated colors due to wrong interpolation:

Now it is fixed:

Please close if that is what you are addressing.

I think it is a different issue.
It's the alpha that is slightly off.
Nothing major, just want to confirm if that is intentional.
    [
        0,
        241,
        135,
  -     0.943661971830986,
  +     0.9436619718309859,
      ]

That is unintentional, but seems to be related to changed interpolation too. Although considering such precision is there a sense for such rigid comparison?

Not really. :)
I was using colormap to validate my implementation, that's all. 🌷


Manually select icons from the available list

Most of the apps fall into some category. The ability/feature to choose one of the available icons manually would be perfect for the vast number of android apps.
For instance, I would use the

available 'calculator icon' for my day2day app: scientific.calculator.es991.es115.es300
the book-like icon for the dictionary app: livio.pack.lang.en_US
available 'music player icon' for my favourite music app
the instagram icon for instander: com.instander.android
and suitable icons for some native country specific apps
etc etc

This! Please!!!


assignment mismatch: 2 variables but scanner.Run returns 3 values

Hello,
I tried installing the tool on my MacBook and I got this err cmd/gorsair.go:68:18: assignment mismatch: 2 variables but scanner.Run returns 3 values. I looked at the code block and noticed the potential issue:
	results, err := scanner.Run()
	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}

I changed it to handle 3 outputs. I am only creating it here rather than apool request bc I wasn't sure if it would break anything
	results, _, err := scanner.Run()
	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}

@gbiagomba I think you've got the wrong repo, there is no go code in this tool.


Login credentials

mifos/password login credentials aren't working with the swagger-UI documentation. Did the credentials change?

@paynegreen please see #15.


Major add of unit tests for most commands.  Some fixes resulting...

Major add of unit tests for most commands.  Some fixes as a resulting benefit of these new tests to improve the core functionality and handle outlier behavior.

Adds missing options for fileexlusionfilters to TagDiff and TagTest commands preventing ability to use with files under test, docs etc. folders
Adds check for ability to write log file where requested
Adds check for consoleverbosity = none and no output file specified for all i.e. no output anywhere
Standardizes exit code names between tagdiff and tagtest; no values change
Lowercases json tags fields for conformity
Addresses count error in total matches by deducting tagcounters in preferences with includeAsMatch=false
Adds unit tests and source files (early draft for now)


How to add editable cell?

I'd like to add some editable fields in my generated PDF with gofpdf. Make them editable in Safari or Chrome as the following screenshot. How can I do that?

I've already set protection:
pdf.SetProtection(gofpdf.CnProtectPrint|gofpdf.CnProtectCopy|gofpdf.CnProtectModify, "", "")

gofpdf does not currently support editable form fields. Fpdf (from which gofpdf is derived) has the following script: Form filling. Is that the kind of functionality you are after?

Thanks, @lexrus, for the link. I'll label this issue as an enhancement and with luck find some time to work on it. If you're up to the task, it would make a great pull request!

Hello, and thank you for providing a useful tool for the go community!
Just curious if you have any plans to implement editable fields in gofpdf? It would be awesome to generate forms that can be filled out digitally rather than just when printed :)
thanks again!

I agree, this would be a very welcome enhancement. I have not had time to pursue this, but I continue to hope that someone will implement this.

I could attempt a PR with the feature, but I may need some guidance in where to start?

Thanks for your interest, @dhalman!
Rather than extending fpdf.go directly, the best approach is to create a new file that contains the extension logic. See layer.go as an example, and notice that it includes methods like layerPutCatalog and layerPutResourceDict to reduce the changes in fpdf.go to some method calls. You may need to add some fields to the Fpdf type; do this is def.go.
Most of the functionality in gofpdf is ported from the fpdf PHP package. It may be that editable field support can come from there as well. The form filling may be a good start.
Once you get things working, one or more examples in fpdf_test.go provide test coverage and are a real help for people using your extension.
Good luck and don't hesitate to ask questions here along the way.


only upload from azure pipelines

This will only ever upload omnisharp binaries to the storage account from azure pipelines, which will only ever happen when all 3 builds succeed.
cc @rchande @filipw

I think it's time to delete travis and appveyor configurations and disable the hooks too.


Coding style

To unify c++ and python coding style

LGTM!on the one hand, does it need to be reformatted for other files such as json or cmake? On the other hand, it may be necessary to give the installation method of the formatting tool in other editors in the document. Also, do we also need a tool that automatically checks or formats the code every time a PR is submitted?

LGTM! On the one hand, does it need to be reformatted for other files such as json or cmake? On the other hand, it may be necessary to give the installation method of the formatting tool in other editors in the document. Also, do we also need a tool that automatically checks or formats the code every time a PR is submitted?

The installation and usage is different for users, there is already decription in CONTRUBUT.md files
It may not neccessary for json and cmake by now, which will include too much restriction
It will be better if a automatical tool can be integrated into the PR process