Add a business scenario slide

Add a business scenarion slide, basically try to explain to people Carrier Billing Check Out API's value. Why they should use the api for the checkout and payment function, instead of developing their own.

Probably need to be discussed during next CarrierBillingCheckOut meeting. I'm not sure how 'business' related documentation should be now managed as we moved to integrate documentation within API OAS definition.
WDYT @PedroDiez?

Sure, no problem we can discuss. :)  BTW, we have a weekly meeting today or next Wed? @PedroDiez @bigludo7

@ShutingQing : Next Wed (May 24th).

@ShutingQing : Next Wed (May 24th).

Okay, thanks

Yes, usually before making PR it is commonly to generate an issue in order to debate/discuss on the topic

usually

Ok, got it. We can discuss it on next meeting. And then to see whether we need this PR or modify or something.

@bigludo7 @PedroDiez Hi Ludovic, Pedro, please take a look, WDYT

Hi @ShutingQing
Thanks for that.
I appreciate the contribution but as I have stated previously I'm not sure about business documentation as we are working on API definition.

Hi @ShutingQing I think this is more for the GSMA OGW Carrier Billing Track

Welcome for the contribution. :)
Cuz now CAMARA is getting hotter, I believe more and more end users will come here for infos than OPW. CAMARA github is a more straight forward place for new comers. Like in many places, people use credit card, QR code to pay. So for app developers, hardly can they realize why they need call operators' API, even they have to pay for this. So i think it's a good time to give them an idea here at their first glance.

Hi @ShutingQing,
Understand you comment, however that is information suited for GSMA OGW because at that level is where such a business information can be managed and adapted to provide the suitable business message.
That is managed in GSMA, you can ping Gareth Williams for that aim


Immutable

How to apply Immutable for reducers?
Currently having this error message
"The previous state received by the reducer has unexpected type of "Object". Expected argument to be an object"

not that familiar with Immutable. Did you use redux-immutable or Immutable.js? If you still experiencing the issue, maybe can share code snippets and I'll see if I could help debug it.


[Bug]: Inline edit is broken for Anthropic Adapter

Your minimal.lua config
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
	vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({
		"git",
		"clone",
		"--filter=blob:none",
		"--single-branch",
		"https://github.com/folke/lazy.nvim.git",
		lazypath,
	})
end
vim.opt.runtimepath:prepend(lazypath)

-- Your CodeCompanion setup
local plugins = {
	{
		"olimorris/codecompanion.nvim",
		dependencies = {
			{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
			"nvim-lua/plenary.nvim",
			"nvim-telescope/telescope.nvim",
			{
				"stevearc/dressing.nvim",
				opts = {},
			},
		},
		config = function()
			local adapters = require("codecompanion.adapters")
			require("codecompanion").setup({
				adapters = {
					anthropic = adapters.use("anthropic", {
						schema = {
							model = {
								default = "claude-3-5-sonnet-20240620",
							},
						},
					}),
				},
				strategies = {
					chat = "anthropic",
					inline = "anthropic",
					tools = "anthropic",
				},
				log_level = "TRACE",
			})
		end,
	},
}

require("lazy").setup(plugins, {
	root = root .. "/plugins",
})

-- setup treesitter
local ok, treesitter = pcall(require, "nvim-treesitter.configs")
if ok then
	treesitter.setup({
		ensure_installed = "all",
		ignore_install = { "phpdoc" }, -- list of parser which cause issues or crashes
		highlight = { enable = true },
	})
end

Error messages
No response
Health check output
codecompanion: require("codecompanion.health").check()
codecompanion.nvim report

Log file: /home/user/.repro/state/nvim/codecompanion.log
OK plenary.nvim installed
OK nvim-treesitter installed
OK telescope.nvim installed
OK dressing.nvim installed
OK curl installed
OK base64 installed

Log output
The log is empty.
Describe the bug
When using the Anthropic adapter as in the modified minimal config, visually selecting a code block and typing :CodeCompanion, followed by a prompt, results in no LLM response being inserted into the buffer. Instead, a string like "replace|true" gets inserted at the location of the selection. This string appears to be the value of the placement variable in inline.lua: https://github.com/olimorris/codecompanion.nvim/blob/41f64e2589b490758d6db2418e67da8e704eda2b/lua/codecompanion/strategies/inline.lua#L186
When using the OpenAI adapter, this does not happen, and the LLM response is inserted into the buffer as expected.
Reproduce the bug

Visually select lines of code
Type :CodeCompanion
Write a prompt

Final checks

[X] I have made sure this issue exists in the latest version of the plugin
[X] I have tested with the minimal.lua config file above and still get the issue
[X] I have shared the contents of the log file

Thanks for this! Coincidentally I found this at the same time as have been enjoying claude-3-5-sonnet 😄 .
This should now be fixed as per https://github.com/olimorris/codecompanion.nvim/commit/4eb71e61b6b95bdc777e6191b0c598ba9d2f3135.


Is there a way to set alignment for the printed text?

Title. Also, is there a way to print an image? Thanks in advance.

To print pictures and make advanced ticket shaping we have to use some other native libraries for image processing. Unfortunatly due to authors copyrights I'm unable to share the updated version of this package with these features.
You can however try to make your own Javascript function to indent the lines depending on the ticket width. Take a look at the following issue #3 maybe that will help you.


Update reference-azdata-bdc-spark-session.md

bdc was missing from the azdata command

@alhandra : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


[Feature Request/Enhancement] Batch File Convert/Operation

Add batch file convert as independent/native tab with option to disable before/after previews while converting for low end devices and if possible the option to apply filters directly before converting files (Just like Photo Edit or app on Google play store. Package name: com.iudesk.android.photo.editor)

It's already available, just pick multiple files in corresponding options


ID Notes prompt needs to be corrected

The text box added by #94 is badly written and contains a misspelling. It should read:

Our ID Notes may contain important tips necessary for distinguishing this gall from similar galls and/or important information about the taxonomic status of this gall inducer.


scrolling playlist

hi guys,
as i am a daily kodi user over the years i was extremly enthousiast that kodi sensors were developed.
oveerall i am pleased except the fact that the playlists are not scrollable.
this means that when i use music plylists which contains a large amount of songs, the list in my view is extremly long.
therefore as in many other applications, a scrollable list would be a very welcome gesture.
what do you think, is that do-able?

Hi,
This feature is still in the list of enhancements of the playlist card; it's not linked to the sensors.
Do you have an example of another card that would be scrollable? I searched a little bit, but didn't find how to do that. Not sure Lovelace permits it.

Hey Gautier, i will have a look in my HA if i find such a thing. As far i
know i didn't see that either. But let me check and i get back to you asap
On Mon, Jun 20, 2022, 14:58 Gautier Vanderslyen @.***>
wrote:

Hi,
This feature is still in the list of enhancements of the playlist card;
it's not linked to the sensors.
Do you have an example of another card that would be scrollable? I
searched a little bit, but didn't find how to do that. Not sure Lovelace
permits it.
—
Reply to this email directly, view it on GitHub
https://github.com/jtbgroup/kodi-media-sensors/issues/14#issuecomment-1160416651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJDBJ3NWIWLAIFT4WVIH53VQBTGPANCNFSM5WPDSFTQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

hi again,
i've installetd the beta and the scroplling works as a charm!!!!
what a game changer! i thank you upfront for the effort that is made.
but... strangly enough only the playing song is highlighted as shown in the picture

any idea how that might happen?

Hi, I close this request as the feature is ok. I created another issue for your problem. Please have a look at it as I need more information about your problem.


Update Composer dependencies (2022-04-23-00-12)

Visual regression test passed!
View the visual regression test report


Error make maskKey (Node v10.0)

After updating Node.js (v10.0.0, Ubuntu 17.10 x64), an error occurred:
RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <=<PHONE_NUMBER>. Received -1314506580
    at checkInt (internal/buffer.js:35:11)
    at writeU_Int32BE (internal/buffer.js:625:3)
    at Buffer.writeUInt32BE (internal/buffer.js:638:10)
    at WebSocketFrame.toBuffer (PATH/node_modules/websocket/lib/WebSocketFrame.js:262:24)

The code that causes the error:
maskKey = nullMask ? 0 : (Math.random()*0xFFFFFFFF) | 0;
this.maskBytes.writeUInt32BE(maskKey, 0, true);

Bringing to an integer in this way now causes an error. When you replace with parseInt() it works correctly, but it will probably affect the speed?
(Google Translate)

This should have been fixed by the v1.0.26 release I just published.


Add warning about changing import code on revisions

It is often the case that newer Workshoppers will not realize that they are able to upload updates to their gamemodes to the existing associated import code. This warning will help educate those people.

Looks great, thank you! Merging it in

Looks great, thank you! Merging it in


Trigger ncov counts

Description of proposed changes
Add trigger for nexstrain/counts clade counts to run after the metadata TSV has been uploaded to S3.
Cannot be fully tested until https://github.com/nextstrain/counts/pull/2 has been merged since repository dispatch events only run on the default branch.

Tested locally with:
touch data/genbank/upload.done
envdir ../env.d/github_pat/ snakemake --cores all --configfile config/genbank.yaml --config trigger_rebuild=True

and
touch data/genbank/upload.done
envdir ../env.d/github_pat/ snakemake --cores all --configfile config/genbank.yaml --config trigger_counts=True

Both the genbank rebuild and the genbank clade counts workflows were successfully triggered and then manually cancelled. Trusting the minimal additions the workflow YAMLs will work fine.


Profile has Out of Date Ratings Data

When ob/profile/QmfY12upDQTdi1AUp4EmimpeVhezfq8ZY9MPkhoAcggKRJ is called, the rating data returned is
"stats": {
        "followerCount": 0,
        "followingCount": 1,
        "listingCount": 1,
        "ratingCount": 0,
        "averageRating": 0
    },

This is inaccurate. 3 of the listings in the store have a total of 5 ratings.
The store was updated and published, with a change to the profile, before getting the data above. The ratings left on the listings were more than a day old.

Still cannot verify this issue. I've created many review for different types of orders and have tried on both linux and windows. So far I'm unable to reproduce.


mixed: apply fixes recommended by staticcheck and dead code removal

This PR fixes the most important recommendations from staticcheck while also removes some dead/unused code.

Weirdly the unused logClosure isn't catched by staticcheck everywhere, but imho it could be removed from mostly everywhere. Also I can squash those commits to one of everyone agrees.

Reviews are requested from too many people (five). Probably happened accidentally.

Reviews are requested from too many people (five). Probably happened accidentally.

I believe reviewers were auto selected based on code ownership. I'll remove a a few people.

Nice fixes, always love to see code quality improvements 100
I can confirm the changes all look safe. Found just one small improvement.
What I asked myself was: If we already have staticcheck enabled in our linter (#4204), why didn't it find those fixes? Do we need to update golangci-lint or tune its settings?

Yeah weird. I'll investigate this.

Landing this now so it doesn't have to go through rebase hell.


Little improvements

This repository has been closed and moved to laminas/laminas-servicemanager; a new issue has been opened at https://github.com/laminas/laminas-servicemanager/issues/9.

This repository has been moved to laminas/laminas-servicemanager. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:

Squash all commits in your branch (git rebase -i origin/{branch})
Make a note of all changed files (`git diff --name-only origin/{branch}...HEAD
Run the laminas/laminas-migration tool on the code.
Clone laminas/laminas-servicemanager to another directory.
Copy the files from the second bullet point to the clone of laminas/laminas-servicemanager.
In your clone of laminas/laminas-servicemanager, commit the files, push to your fork, and open the new PR.
We will be providing tooling via laminas/laminas-migration soon to help  automate the process.


vite  element-plus build release style was not successfully introduced

vite element-plus build release style was not successfully introduced ，dev is normal
tool：element-plus 1.1.0-beta.17   +  vite2.5.10 + vue3.2 + javascript

Same problem here, for the build I am required to include styling separately

example：https://github.com/mxp131011/zlt9_erp_pc_vite

it is ok on vite, but webpack failed

Seems duplicate of #159


question: handling in-app payment/iframes/etc?

I'm trying to conceive of how one might handle receive payments in-app, e.g. from paypal. Do you know / have you experimented with having something like a payment page iframe featured in-app, without being pulled out to a new tab?

I have forgotten but I think it was not possible to translate iframe elements. If its not needed to go on separate payment page you can just call a fetch REST API and design your own html input on the same page.

As far as I know, generally payment processors don't allow that (just calling an API with someone's credit card info), since it would be too insecure. If I'm wrong I'd like to know, but it's an interesting gap. How could one possibly do secure input of sensitive info in webxr? seems impossible. guess we'd have to implement the portals API--maybe implement a 'bubble' for an iframe, where when you go in, none of your movements or inputs are tracked by the parent webxr context?
I wonder if anyone in the webxr space / w3c is really engaging with this question?


Add an rc strategy, start delta validating updates

Teaches replication controller to validate updates by giving the controller's RESTStorage a RESTUpdateStrategy. Validation now happens via BeforeUpdate, which compares the existing object with the update before applying it. This is the first step to moving the replication controller to using generic etcd, it also fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/4973.

LGTM, just a few minor questions/nits

LGTM


A/B test: Discussion vs talk label on event cards

Date
TBD
Page
/whats-on
/events
/
Purpose / Hypothesis
To validate whether the user feedback that discussion can be somewhat daunting, and potentially misleading as to what we offer.
Discussion seems to imply that you will need to take part, where as what we offer is a discussion between panellists with a Q&A at the end, none of which requires mandatory participation.
Other organisations seem to use talk:
https://www.vam.ac.uk/whatson?type=talk
https://www.royalacademy.org.uk/exhibitions-and-events?group=talks_and_lectures
Primary outcome
Primary: CTR on event cards will increase when labelled talk vs discussion
Secondary: Ticket booking on events labelled talk vs discussion
Sample size / power
TBD
Notes

To me, Library Insights are good examples of Talks, whereas Grief Gatherings is definitely a Discussion.
I don’t think an AB test would be useful at this stage because the content of the events actually is quite nuanced and I don’t think it’s an either/or situation.


Question about the inconsistence of depth

Hi, thanks for your great work!
And I have a question about the detail of your implementation. As shown in the attached image, the depth estimated by nerf usually refer to the range between object and camera. But the DPT depth output is the perpendicular distance between object and camera plane (the definition of depth). Did you consider the difference between them?
Please correct me if I were wrong. Looking forward to your early reply.

Hi, sorry for my late reply. The difference between depth (perpendicular distance) and distance(the actual range) is considered. During training, the depth value of DPT is changed to distance at https://github.com/ActiveVisionLab/nope-nerf/blob/47c861f6259fb0f3921be3a19385feebfa769325/model/rendering.py#L60C12-L60C12. The ray vector of NeRF is also normalised, so they should be consistent.

Got It, Thanks!


Inconsistent behavior before and after spirv-opt on float/uint conversion

Converting a float to uint and then back to float gives inconsistent result before and after running spirv-opt.
Consider the following expression:
float t = -1.0;
float c = float(uint(t));

When a floating-point variable t holds the value of -1.0, the expression float(uint(t)) gives 0.0 without optimization, but is folded to the constant 4.2949673e+09 after running spirv-opt with the -O flag.
However, when slightly tweaking the value of t to be between -1.0 and 0.0, e.g., -0.9999, the spirv-opt optimization folds the expression to 0.0, which is consistent with the unoptimized version.
Steps to reproduce:
I made a minimal fragment shader that simply outputs the value of float(uint(t)) as the fragment color. I also provide a Vulkan application that loads the fragment shader. The full package can be downloaded here. It also contains a detailed README file to show the execution environment, reproduction steps and analysis with spirv-dis. It should take less than a minute to reproduce the issue.

This is undefined behaviour. When you cast -1.0 to a uint, there is no -1 for uint. From the spir-v spec, this would be undefined. You cannot represent a negative value as a uint.
You need to change your shader because you cannot count on any particular result being consistent across devices, driver versions, or compilers.


Display the end time of the build

Expected Behavior
Display the current time once the build has finished
Current Behavior
At the moment we only get a duration displayed. Sometimes it is useful to know when the build finished.
 When that happens you may be unsure if you have changed the code or not since the build finished. Having a time stamp displayed at the end of the build will help with that.

You can do this with a build listener and put that into an init script so it applies to all builds on your machine.


24th pull request missing

🐞 Problem

At 7:53PM EST I submitted a pull request. When I click Synchronize Pull Requests in my dashboard, the 24th pull request does not show up. Under my profile, it shows that it is December 25th, even though it is December 25th.
🎯 Goal

I put a lot of work into getting 24 pull requests out and I'd like my profile to convey it.
💡 Possible solutions

Please give us the ability to fix the time zone usage or at least count pull requests made after the 24th in a 24 hour period to allow for differences in time zones.

@andrew Was this related to the timezone issue fixed in #3479 (PR for #2402)?

@emclaughlin1215 yes I believe so, I think this can be closed now


maint: change pyansys/actions

As title says

I don't know why they kept failing. Seemed to me like a runner issue. But it looks like it's working now. Thank you all =)


[FR] New mergeMethod merge-ff to only merge when un-fast-forwardable, otherwise hard reset

A nice mix of two current mergeMethod: hardreset and merge. Effectively simulate the default git merge behavior and make the commit history clean.
A use case:
DIYgod/RSSHub has a pull.yml configuration file with mergeMethod: merge to prevent pull[bot] from overriding downstream manipulated forks (https://github.com/DIYgod/RSSHub/pull/9710). In such a case, merge-ff is a better solution.

merge ff isn't a supported merge method on GitHub pull requests. I recommend using a github actions to achieve your specific use-case.

merge ff isn't a supported merge method on GitHub pull requests. I recommend using a github actions to achieve your specific use-case.

Nope. It seems that you misunderstood my words. I did know and didn't mean to use the nonexistent ff-merge method. Instead, if the PR is ff-able, hardreset instead of merge it.
The title is：

[FR] New mergeMethod merge-ff to only merge when un-fast-forwardable, otherwise hard reset

Could you help me identify if ff-able status on a PR can be retrieved using GitHub API?
https://docs.github.com/en/rest/pulls/pulls#get-a-pull-request

Some techniques are needed. It must be a fork of the upstream repo.
Any commits of any forks can be visited from the upstream repo. Thanks to this feature, we can simply compare the branch HEAD between the fork and its upstream repo:
https://api.github.com/repos/{upstream_owner}/{upstream_repo}/compare/{upstream_branch_HEAD}...{fork_branch_HEAD}

https://docs.github.com/en/rest/commits/commits#compare-two-commits
An un-ff-able sample here:
https://api.github.com/repos/DIYgod/RSSHub/compare/0397ca906561bfc760bc2dcf9043dd3121d2294e...eb1a55f5fe356070091b29656af3c3b63ff4b8aa

{
  "status": "diverged",
  "ahead_by": 133, // the fork is ahead upstream by 133 commits
  "behind_by": 1 // the fork is behind upstream by 1 commit
}

An ff-able sample here:
https://api.github.com/repos/DIYgod/RSSHub/compare/0397ca906561bfc760bc2dcf9043dd3121d2294e...ce92931478e6deae9c22cfbad3fcf37e72927cc4

{
  "status": "behind", // ff-able
  "ahead_by": 0,
  "behind_by": 1 // the fork is behind upstream by 1 commit
}

Note: I use a commit SHA for upstream_branch_HEAD to make the result reproducible, but I recommend using its branch name instead, sample here:
https://api.github.com/repos/DIYgod/RSSHub/compare/master...ce92931478e6deae9c22cfbad3fcf37e72927cc4

Alternatively, if it is a fork and does not use a branch name different from upstream, maybe https://docs.github.com/en/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository? It defaults to ff-merge if ff-able. But the disadvantage is it will create a merge commit automatically if un-ff-able and we can't take the control of this behavior.

Thanks for the thorough example! It looks like pull just needs to call the compare endpoint when the mergeMethod: merge-ff is specified. Sounds like a great workaround.


Ie 195

Q
A

Bug fix?
no/yes

New feature?
no/yes

API breaks?
no/yes

Deprecations?
no/yes

Related tickets
fixes #X, partially #Y, mentioned in #Z

License
Apache 2.0

What's in this PR?

Why?

Additional context

Checklist

[ ] Code meets the Developer Guide
[ ] User guide and development docs updated (if needed)
[ ] Related Helm chart(s) updated (if needed)

To Do

[ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 8 committers have signed the CLA.:x: Utsav Krishnan:x: hitesharinga:x: nikunj-badjatya:x: abhinavsingh-ccm:x: sdsingh07:x: arya-harness:x: Vbhatia20:x: rdsozeUtsav Krishnan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[WFCORE-4905] Provide common capability for Remoting connectors.

This PR allows Remoting subsystem connector elements to be referenced by a common capability reference.
For details, see: https://issues.redhat.com/browse/WFCORE-4905

This is ok to test.

Dependency Tree Analyzer Output:
New Dependencies:

ch.qos.cal10n:cal10n-api:jar:0.8.1:compile
org.slf4j:slf4j-ext:jar:1.7.22.jbossorg-1:compile

Major Version Changes:

org.wildfly.core:wildfly-cli:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-controller-client:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-controller:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-core-management-client:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-core-management-subsystem:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-core-model-test-framework:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-core-security-api:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-core-security:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-deployment-repository:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-deployment-scanner:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-discovery:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-domain-http-error-context:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-domain-http-interface:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-domain-management:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-elytron-integration:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-embedded:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-event-logger:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-host-controller:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-io:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-jmx:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-launcher:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-logging:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-management-client-content:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-network:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-patching:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-platform-mbean:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-process-controller:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-protocol:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-remoting:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-request-controller:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-security-manager:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-server:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-threads:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT
org.wildfly.core:wildfly-version:jar:12.0.0.Beta2-SNAPSHOT:compile -> 11.0.1.Final-SNAPSHOT

CC @wildfly/prod

Core - Full Integration Build 9569 outcome was FAILURE using a merge of 64d9899a63e721d34806135b65af407d0db20d62
Summary: Execution timeout (new); tests passed: 6351, ignored: 104 Build time: 05:00:34

Removing the deps changed label as the comment was also removed.

I will include this in an aggregate PR for an additional CI run.

@rachmatowicz I just accidentally merged this against 11.0.x which I will now revert - can you please resubmit your PR against master.
If anything is deliberately targeting the 11.0.x branch it should also have a PR against master in parallel as the branches are not synchronised, however I don't believe this is a change needed for WildFly 19.1.0.

This was merged on 20 March 2020: https://github.com/wildfly/wildfly-core/pull/4099

@rachmatowicz thank you, I have just rejected the Jira for 11.0.x as we should not need this in 11.0.x


Drop Down List Not Displaying

Have an issue with the the drop down list not displaying always.  Below are the steps to recreate.
Open page with combo-box
Initial focus is placed in combo-box
Note combo-box list is populated and displays
Click combo-box drop down arrow
Note combo-box list is no longer displayed
Click combo-box drop down arrow
Note combo-box list briefly appears and then is no longer displayed
Note repeated clicks of combo-box drop down arrow cannot force list to be displayed again
Place focus elsewhere on page
Return focus to combo-box
Note that combo-box list is populated and displays

Which browsers are affected? Any chance you could put together a demo to show the problems?

Have you styled the trigger in any way? Sounds like it covers up the field and prevents the click.


Extend support from memberof to other multi-value attribute for group membership

MiqLdap currently has the group membership attribute hardcodes to memberof.
This PR moves this same hardcoded value into ::Settings.authentication.group_attribute.
The result being that by default the current functionality will not change but it will now be
possible for uses who want to use a different multi-value attribute for group membership
to do so by manually setting the Advanced Configuration option group_attribute.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1353037
Steps for Testing/QA [Optional]

Configure your LDAP directory to have groupMembership attribute to contain a user's group membership
Configure MiQ authentication mode LDAP or LDAPS.
Manually configure group_attribute in MiQ UI under Configuration/Advanced
-- From:  :group_attribute: memberof
--  To:  :group_attribute: groupmembership
Test by adding a group for the user configured in you LDAP directory with the groupMembership attribute  by looking up groups by checking: (Look up LDAP Groups) and providing the needed input.

Note: ldapsearch can be used to confirm the multi-value attribute,  groupmembership, is correctly configured in LDAP:
ldapsearch -x -LLL -H ldap://<my ldap>:389  -b "dc=example,dc=com"  -D "cn=Manager,dc=example,dc=com" -w ******** -s sub "(CN=ldaptest1)" "groupmembership"
dn: cn=ldaptest1,ou=people,ou=prod,dc=example,dc=com
groupmembership: cn=ldap-group-2,ou=groups,ou=prod,dc=example,dc=com
groupmembership: cn=ldap-group-1,ou=groups,ou=prod,dc=example,dc=com

@miq-bot add_label bug

@miq-bot add_label authentication

@miq-bot assign @abellotti

@abellotti Please review.

just saw this,  LGTM!!  Thanks @jvlcek for the enhancement 👍


Under module resolution NodeNext declaration file lookup does not use "types" property of package.json

Bug Report
Under module resolution NodeNext declaration files (*.d.ts) need to be right next to the corresponding js files. It does not work to have them elsewhere but point to the right location with the "types" property of package.json.
For example, aws-jwt-verify has the following installed directory structure, with both CJS and ESM files (using exports to select the right file at runtime), but 1 set of typings at the root:
.
└── node_modules/
    └── aws-jwt-verify/
        ├── dist/
        │   ├── esm/
        │   │   ├── index.js
        │   │   ├── package.json // type: "module"
        │   │   └── ...
        │   └── cjs/
        │       ├── index.js
        │       ├── package.json // type: "commonjs"
        │       └── ...
        ├── package.json // type: "commonjs", types: "index.d.ts", exports: { ... }
        ├── index.d.ts
        └── ...

importing aws-jwt-verify fails with:
index.ts:1:32 - error TS7016: Could not find a declaration file for module 'aws-jwt-verify'. '/private/tmp/nodenext-resolution-issue/node_modules/aws-jwt-verify/dist/cjs/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/aws-jwt-verify` if it exists or add a new declaration (.d.ts) file containing `declare module 'aws-jwt-verify';`

Setting module resolution to "node" fixes this.
(Our library does work under NodeJS and ESM, so it works with NodeJS module resolution. I.e. this a typings issue only.)
🔎 Search Terms
moduleresolution nodenext
🕗 Version & Regression Information
moduleResolution NodeNext was introduced in TypeScript 4.7
⏯ Playground Link
I can't reproduce this in the playground (a different error is thrown), but this would be it:
// @moduleResolution NodeNext

import { JwtRsaVerifier } from "aws-jwt-verify";

console.log(JwtRsaVerifier);

Workbench Repro
💻 Code
Repo with code that reproduces the issue:
https://github.com/ottokruse/nodenext-resolution-issue
🙁 Actual behavior
Module declaration can't be found.
🙂 Expected behavior
Module declaration can be found.

exports has priority over types. If a package has types and an exports map, it should have types entries in its export map.  It has to be this way or we can't respect export maps and their ability to block entrypoints from being accessible.

Makes total sense, thanks for the help.


Add test that populates and reads from a PVC

Proposed Changes

Add an e2e test that creates a PVC, runs a build that populates that PVC, then runs a build that reads from it, demonstrating simple inter-build caching.

Release Note
NONE

/hold
I hadn't been actually testing that the builds succeeded.

Fixed up the test, should work now.
/hold cancel

/assign shashwathi

/lgtm


Crashing on trying to change settings.

I've currently pointed the app to my roms directory (which is relatively big; contains 10492 roms), and also added a cover folder that should cover all, if not most, of these. The app first crashed when I tried to update the rom list; eventually I managed to do that, but now I cannot change the cover type from "List" to anything else as, after a while, the app crashes.
The obvious guess would be it's not being able to cope with the large database or something like that.
Here I'm attaching a crash report...
https://www.dropbox.com/s/c6e2a6vflvgylnj/nwjs Helper_2015-08-16-200326_Tiamat.crash?dl=0

Hmm. You are the first person who tries with such a big library. I don't even have that much game at all :) The crash is probably the same reason. Application tries to load all games into the app's DOM. And that is probably such a big data for this kind of web app. I'll test it with all MAME games and I'll try to optimize and fix it for large databases as soon as possible.
Thanks for report btw...

Yeah, I figure... and also the fact that the way the database is currently organized... the whole DB basically ends up inside a BLOB field, that's hardly optimal.
I also noticed that not all covers will load in in "large" mode (perhaps in small also, but haven't tried that mode) although I am chalking it up to the same thing. Probably the DOM is so cluttered it has trouble loading all images.
BTW, so far what I'm using for covers is the MAME Titles pack (you can find them for download if you google, basically screens of the title screen for most if not every games.)


Update to overwrite variables for tests

Signed-off-by: Tim Liu<EMAIL_ADDRESS>

@NvTimLiu let's target this PR to dev branch.


wallet key/address gen - confirm password

ask to confirm the password (input it twice) when running anomaw key gen or anomaw address gen

Cf. https://github.com/anoma/anoma/pull/810

done in #810


Associations use :create strategy when parent strategy is :build

TLDR: Why do associations always use the :create build strategy rather than defaulting to the strategy used for the parent/calling factory?
This is half a question and half a real issue.  I haven't created a PR yet because I wanted to discuss the issue first.
When explicitly defining associations and/or using the default association mechanism in FactoryGirl, if the :build strategy is not explicitly specified for an association, FactoryGirl will always :create the association, even when the parent factory is called by the user via the :build strategy.
This produced real failures in (system integration) tests because associations were actually created rather than only being built.  To make a long story short, it resulted in uniqueness violations when the tests were executed, causing the tests to fail.
After some experimentation, I found that using :build for associations seems to work just as well as :create, without persisting the associated model to the database, while the same traits which build associations also correctly persist the associated records on :create of the parent factory.
Given:
FactoryGirl.define do
  factory :user do
    sequence(:email) { |n|<EMAIL_ADDRESS>}

    ### A default association, will :create a Person on :build of the user factory.
    person
    ### Will :build an Address on :build of the user factory.
    association :address, strategy: :build

   ### A strategy to build has_many associations on build or create, associations are persisted successfully on :create of the parent factory
    trait :posts do
      posts { build_list(:post, 1) }
    end
  end
end

user = FactoryGirl.build(:user)
user.posts.count #=> 1
User.count #=> 0
Post.count #=> 0 because we used build_list in the trait block
Person.count #=> 1 because FactoryGirl defaults to :create rather than :build by default for assocations

## Now, suppose we have a uniqueness constraint on Person.
## Building another user would fail, even though we didn't call create on the :user factory, nor save the resulting record:
FactoryGirl.build(:user)
#=> uniqueness error because the Person was already created on building the first :user.

Where this became a real issue was when we were using FactoryGirl.build to generate data for filling forms for front-end testing, which would result in persisted associations and thus issues related to record/data uniqueness when submitting data from the front-end.
We're presently working around this issue in our factories by explicitly declaring the build strategy for associations, but the question remains why :create is the default, rather than the strategy used for the parent/calling factory.

Closing due to inactivity.


Refacto: replace click by argparse

Goal: reduce number of dependencies

Codecov Report

Merging #194 (6fd4750) into main (b304e40) will decrease coverage by 3.34%.
The diff coverage is 81.37%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #194      +/-   ##
==========================================
- Coverage   64.65%   61.32%   -3.34%
==========================================
  Files          32       34       +2
  Lines        1757     1771      +14
  Branches      389      374      -15
==========================================
- Hits         1136     1086      -50
- Misses        521      580      +59
- Partials      100      105       +5

Impacted Files
Coverage Δ

qgis_deployment_toolbelt/utils/bouncer.py
50.00% <50.00%> (-15.22%)
:arrow_down:

qgis_deployment_toolbelt/commands/upgrade.py
68.49% <73.33%> (ø)

qgis_deployment_toolbelt/cli.py
83.33% <82.35%> (+0.23%)
:arrow_up:

qgis_deployment_toolbelt/commands/deployment.py
84.78% <84.78%> (ø)

qgis_deployment_toolbelt/__about__.py
100.00% <100.00%> (ø)

qgis_deployment_toolbelt/commands/__init__.py
100.00% <100.00%> (ø)

qgis_deployment_toolbelt/utils/win32utils.py
40.00% <0.00%> (-40.00%)
:arrow_down:

qgis_deployment_toolbelt/profiles/shortcuts.py
49.46% <0.00%> (-21.51%)
:arrow_down:

...loyment_toolbelt/jobs/job_profiles_synchronizer.py
59.25% <0.00%> (-9.88%)
:arrow_down:

...loyment_toolbelt/jobs/job_environment_variables.py
91.37% <0.00%> (-8.63%)
:arrow_down:

... and 5 more


Enable CENM CLI for Corda Enterprise

Description
As a Corda Network Operator I want to use Corda CENM CLI  so that I can do all the supported operations via the CLI.
https://docs.corda.net/docs/cenm/1.5/cenm-cli-tool.html
https://docs.corda.net/docs/cenm/1.5/updating-network-parameters.html
Acceptance Criteria

Enable CENM CLI pods/jobs
Use CENM cli job to set network parameter update

I will work on this

I will work on this issue


LDAP AD Primary Group and Roles

Describe the Bug
I've associated our Domain Admin group to the Admin role in BookStack. I have one user who had the Domain Admin group set as the primary group for that user. In BookStack that user would not get associated to the Admin Role until I set the user's primary group to a different group.
Steps to Reproduce

Setup LDAP for AD
Associate Domain Admin Group to Admin Role
Set user's primary group to Domain Admin in AD
Login as user and see that Admin Role is not associated appropriately

Expected Behaviour
Admin access in BookStack regardless of Primary Group setup in AD.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
23.01.1
PHP Version
8.1.2-1
Hosting Environment
Ubuntu 22.04 LTS

Understood, and thanks. I agree that's it quite possibly not BookStack's
issue at all. I partially just wanted to get it posted somewhere to help
someone who may see a similar issue in the future and save them some time
and trouble, but couldn't find a forum or anything I could just post it in.
Thanks for all your work on BookStack!
On Fri, Feb 24, 2023 at 9:54 AM Dan Brown @.***> wrote:

Hi @JamHeHe https://github.com/JamHeHe,
I can't really help from an active directory point of view.
I don't really know how steps 2 or 3 of your reproduction steps are
performed or what they would actually result in.
All that BookStack cares about is that groups are provided on the
LDAP_GROUP_ATTRIBUTE of the user fetched from the LDAP system upon login,
and that group sync has been configured correctly.
I'm going to re-label this as a support issue since it's not clear there's
any bug in BookStack.
—
Reply to this email directly, view it on GitHub
https://github.com/BookStackApp/BookStack/issues/4064#issuecomment-1443886357,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3ZVCF6Q5GO3VM6SDVFAXW3WZDKTVANCNFSM6AAAAAAVG7TQSE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@JamHeHe Ah, okay and thanks!
I'll therefore close this off but if you need any additional help, from a BookStack specific perspective, or you do find a proven issue with BookStack's handling, feel free to still comment or open a new issue.


Separate token types from the actual language types

While unification of the two type systems was useful initially, both quickly outgrew each other, leading to many annoying workarounds.

Solved by #7


Add BusLine Component

Transports infrastructures need special components, such as thermometer-like schematic maps.
It would probably be a good idea to use SVG.
An interesting library could be https://github.com/runemadsen/rune.js

A must have for some people I know ;)
Careful though, Rune.js seems quite heavy: https://bundlephobia.com/result?p=rune.js@latest


Time Series Plot with data gaps

Describe the feature you'd like and what it will do
If a dataset has a gap between data points larger than the intended time spacing value, we should show that gap (break the line) on the Time Series Plot.
Why is this feature important?
If there's no data for a given time period, we want the user to be aware of that
Is your feature request related to a problem? Please describe.
No response
Any additional comments?
@horsburgh I'm thinking we'll need to restrict the intended_time_spacing_units_id to just seconds, minutes, hours, and days otherwise the time unit conversions will get out of hand. Is that something we can do?

I think limitation of the units for intended time spacing to seconds, minutes, hours, and days is reasonable.


break_contigs_start: not found

Hey,
I followed Arima genomics pipeline to generate my bed files and use python run_pipeline.py -a contigs.fasta -l contigs.fasta.fai -b alignment.bed -e {GATC,GANTC} -o scaffolds -m yes to run but got a bunch of errors:
/bin/sh: 1: /mnt/e/Process/SALSA/break_contigs_start: not found
Error, your fasta records contain a ':' (HLA-DQB1*06:03:01). SALSA requires fasta to not contain this character, please update your fasta and re-try
The fasta reference is hg38
TZ

The missing file looks like SALSA wasn't compiled. Did you run make in the SALSA folder after getting it from GitHub? Did that give any error messages?
The second message is warning you that SALSA does not support fasta headers with ":" in the name, you'll have to rename your fasta records.

Hey Skoren,
This is what I got after run make in the Salsa folder
g++ -O3 -Wall -Wextra -std=c++11 -o break_contigs break_contigs.cpp
make: execvp: g++: Permission denied
make: *** [Makefile:9: break_contigs] Error 127
I installed the boost and networkx as described in the Readme file.
I saw #20 is related to the ":". Will correct this.
Thanks

That error looks like you don't have a C++ compiler (g++) installed on your system. Try installing one and then confirm which g++ returns a path to an executable and run make again.


Fix: implement deterministic backward in mha

https://github.com/Dao-AILab/flash-attention/issues/746

Thanks!


Query parameter: useQueryEqualsOneAttributeInRanking

The parameter useQueryEqualsOneAttributeInRanking can not be set in the Query

This parameter is not part of the public API. -> Won't be implemented as such.
As a side note, in the v3 branch, non-public (or not yet implemented) parameters can now be set with a low-level, untyped set(@NonNull String name, Object value) method. For public parameters, typed accessors are also available and, of course, encouraged.

Superseded by #66.


[BUG] - Package taking time to render JSON

Describe the bug
Observed a case where when the query string is long, Package is taking more time to render data. Also ran a profiler and checked that database is returning result instantly (less than 500ms) but django is taking more 30-35 seconds.
Query string length is 575316 characters, this is raw SQL length
With lower query string it works fine.
To Reproduce
Trigger API with higher query string (approx more than 575316)
Expected behavior
Django should return response within 1-2 seconds
Versions

ClickHouse server version. Version can be obtained by running SELECT version() query. - <IP_ADDRESS>6
Python version. - 3.11
Clickhouse-driver version. 0.26
Django version. - 4.2
Django clickhouse backend version. 1.14

Is it caused by a SELECT query filtering JSON field?

Is it caused by a SELECT query filtering JSON field?

No, we don't have JSON field @jayvynl

Let us know if you need more info, we can share. @jayvynl

@vigneshshettyin What is the query like

WITH "cte" AS (
        SELECT "test_data"."CMO_ID",
               uniq("test_data"."CLP_ID") AS "no_clp",
               uniq("test_data"."PATIENT_ID") AS "no_clp"
          FROM "test_data"
         WHERE "test_data"."CODE" IN (..............)
         GROUP BY "test_data"."CMO_ID"
       ) SELECT "entity_ui_ch_entityagg"."id",
       "entity_ui_ch_entityagg"."address",
       "entity_ui_ch_entityagg"."city",
       "entity_ui_ch_entityagg"."dimid_c",
       "entity_ui_ch_entityagg"."dx_list",
       "entity_ui_ch_entityagg"."list_filter",
       "entity_ui_ch_entityagg"."full_name",
       "entity_ui_ch_entityagg"."cmo_id",
       "entity_ui_ch_entityagg"."dimid_m",
       "entity_ui_ch_entityagg"."state",
       "entity_ui_ch_entityagg"."data_tax",
       COALESCE("cte"."no_clp", 0) AS "no_clp",
       COALESCE("cte"."no_clp", 0) AS "no_clp"
  FROM "entity_ui_ch_entityagg"
  LEFT OUTER JOIN "cte"
    ON "entity_ui_ch_entityagg"."cmo_id" = ("cte"."CMO_ID")
 ORDER BY 12 DESC
 LIMIT 10

Pls, find the above query, where CODE is the dynamic filter when (CODE eg are like PLO92, PLO393, HJO93). When the number of codes are like 10,000 django app performs well. But when the number of codes are more than 40,000 we are facing this issue.

As shown in your profiling, clickhouse_driver.varint.read_varint take most of the execution time. The problem is not caused by this project.

Check if Django queryset generate expected SQL query, check if Django gives the correct result.
Test the same query with another clickhouse driver, for example: http endpoint/clickhouse go driver. If they are significantly faster than clickhouse_driver, then your can open an issue to clickhouse_driver.

Ok, let me raise a issue ticket for https://github.com/mymarilyn/clickhouse-driver


Tiny fixes

I added the python gitignore file from https://github.com/github/gitignore/blob/master/Python.gitignore and a requirements.txt file to the repo (commits 4abb222 & 92ff97c). Besides that, I fixed some tiny bugs and flake8 errors/warnings in commits 919e5ea and d8a48e4.

Looks good, and thanks @henrykrumb !


Update DD SDK dependency to 1.9.1, bump version to 0.4.2

Codecov Report

Merging #24 (fcbe223) into main (f5bdc3e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #24   +/-   ##
=========================================
  Coverage     78.84%   78.84%
  Complexity       65       65
=========================================
  Files             7        7
  Lines           189      189
  Branches         19       19
=========================================
  Hits            149      149
  Misses           29       29
  Partials         11       11

Impacted Files
Coverage Δ

...n/com/datadog/android/bridge/internal/BridgeRum.kt
74.03% <0.00%> (ø)


Hidden columns showing up in print for spreadsheets with many columns

Plugin Name with version
Print Version 2.1.2
JSpreadsheet version
v9.x
Describe the bug
I'm experiencing an issue with the print plugin when printing large spreadsheets with many that have hidden columns. It happens when one of the last of many columns is hidden and then when printing "all rows of the spreadsheet", some of the data from the hidden column will show up in the neighbor column of the spreadsheet or sometimes outside of the print area.
Here is an example file that causes the issue. https://viztech360-my.sharepoint.com/:x:/p/stephen/EaRupSRL07BEoUmP8Yrnq9ABWSFfQwurj1tn4Asof76WwA?e=iodLjs
Please let me know if this is something you can replicate.
Thanks,
Stephen
Reproduction steps
1. Import the example spreadsheet (https://viztech360-my.sharepoint.com/:x:/p/stephen/EaRupSRL07BEoUmP8Yrnq9ABWSFfQwurj1tn4Asof76WwA?e=iodLjs)
2. Hide column "O"
3. Print "all rows of sheet"
4. See if any data from Column "O" appears in column "P" or elsewhere on print out.

Hi,
Thanks for signaling. This bug is fixed on 2.1.3.


Ecs 463/convert the jhipster blueprint to the new docker oc iv5 format

close because the blueprint should drive the project architecture


#Android 12 Crashing Issue

This app is crashing on android 12 and ask for Bluetooth permissions which is already mentioned in Manifest file.

This has now been resolved, check out https://github.com/PunchThrough/ble-starter-android/tree/api-34


add gatsby-plugin-pinterest

Plugin Repository
https://github.com/robinmetral/gatsby-plugin-pinterest
Plugin Package
https://www.npmjs.com/package/gatsby-plugin-pinterest
Plugin Description
Plugin to inject Pinterest's script at runtime. There are two main use-cases of it:

Pinterest embeds (for example, the plugin is used under the hood by gatsby-remark-embedder)
Show the Pinterest "save" button on images (with options)

Further Details
I was happy with the transfer of gatsby-source-s3 and since I'm less involved with Gatsby in general, I'd love to transfer my other plugin. Let me know if you're happy to have it @moonmeister, and I'll be happy to help with ownership transfers, PRs or the like!
Tasks
Contributor Tasks:

[x] transfer the repo to the gatsby-uc organization.
[x] Add moonmeister as a maintainer on your npm package.

Admin Tasks:

[ ] Move code into gatsby-uc/plugins repo

[ ] Update Readme in old repo to redirect folks to new location using template.
[ ] Archive old Repo
[ ] Close any irrelevant PRs/issues
[ ] Move/Comment on still applicable PRs/issues

[ ] Update Plugin with best practices
[ ] Publish new version

Hey! Yup, happy to take it. I am traveling without a computer for the summer which means I can really only review PRs. But happy to do so. Fyi, connectivity is limited so it may take me a while.

I've got some availability if we want to pick this back up.

Hey @moonmeister, sorry again for the radio silence over the past half year 🙈 notifications for this repo are back on so i (hopefully) won't miss future pings.
Let's pick this up if that's still alright with you—how do we proceed?

I'll hit you up next week

Sounds good, thanks 🙌

@robinmetral Updated the top posts with tasks. Start by transfering the repo and updating the NPM package permissions. You or I can do the Admin tasks after those are done.

@moonmeister done! 🙂


Other requirements

Hi, awesome research.
Much appreciated if you could provide torch, cuda, and other library versions.

Hi, thank you for your comments!
Please refer to pyproject.toml for other requirements.
As for CUDA, any version is fine as long as torch supports it.

Thank you very much. I want to confirm hardware requirements as well.
How much GPU memory we need for inference?

I think 12GB is enough, but not confirmed...


Why is the default training setting different from the paper?

I have a question that if I changed the setting as:
    lr = [0.002, 0.0002, 0.00002, 0.00002],
    end_lr = 1e-6,
    step_lr = dict(
        COCO = [6, 90, 120, 150],
        )

is it same as the setting in the paper?

Yes, either is OK.
We got the results in paper through the above strategy that you mentioned.
We share the strategy in this Repo is always better than the one in paper, you can tune them actually.

Yes, either is OK.
We got the results in paper through the above strategy that you mentioned.
The strategy that share in this Repo is always better than the one in paper, you can tune them actually.

Well,  thanks


Works with multiple audio parts not displaying transcripts or poster images

Background
Works containing multiple audio files are not able to render a transcript or an associated poster image
Examples

https://wellcomecollection.org/works/b4tj49m4 – transcript is not displayed
https://wellcomecollection.org/works/dmpcsthv – transcript is not displayed
https://wellcomecollection.org/works/ve8mk3c2 – associated poster image is not displayed

User story
As a user
I want to be able to access all content digitally
So I don't need to request / go into the building without needing to
As an organisation
We'd like all users to have access to the content we have digitised
So that our digitisation work is positively affecting the access people have to our collections
Acceptance criteria

All relevant media is accessible on works containing audio

Work to move to IIIF v3 for audio has been started in #7637

Closed by #7637.
The code required to display thumbnails is still commented out until we have removed placeholder thumbnails from the manifests (opened #8440 to track this).


Salt components are un-styled on initial render when used in server side rendering

Package name(s)
Core (@salt-ds/core)
Package version(s)
1.8.1
Description
Salt uses client-side style injection to include component css in the page. This runs only after the component has mounted in an useEffect. Therefore, this css is not available on first render causing a flash of un-styled content on the page.
Steps to reproduce
Render any Salt component in a framework like Next.js.
Expected behavior
I should have a way of importing/including component css on the server like I can do already with @salt-ds/theme so I can avoid the flash of un-styled content.

[X] I am an employee of JPMorgan Chase & Co.

What version of react are you using?

This is now do-able from #2655


jekyll: force ruby platform when updating dependencies

Description of changes
Fixes #202506 where an updated jekyll couldn't be used because the platform-specific and ruby version of the nokogiri dependency got confused. Inspiration for this fix from
https://github.com/nix-community/bundix/issues/88
Things done

Built on platform(s)

[ ] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nokogiri-error-with-jekyll-on-nixos/23933/2


lint:accessibility throws error in clean standard installation

Type of issue

[x] Bug report
[ ] Feature request
[ ] Documentation issue or request

The issue refers to:

[ ] The generator
[x] A generated nitro project

Environment
macOS High Sierra 10.13.3
Node.js v8.9.4
darwin 17.4.0
npm 5.6.0
generator-nitro 3.1.3
Expected behavior
Linter runs throug without errors
Current behavior
error An unexpected error occurred: "Command failed.\nExit code: 1\nCommand: sh\nArguments: -c gulp lint-accessibility\nDirectory: ...
ERROR: "lint:accessibility" exited with 1.

Steps to reproduce the behavior
Clean install of nitro
yo nitro
Run linters
yarn lint

You are right. Thank you for this report.
I will remove the exit process.exit part to make it work again.
This will change to not failing the lint task on errors.
Generally i'm not happy with the chosen lint:accessibility solution and the gulp plugin seems to have some issues.
We're looking for alternatives #120. Any help is very welcome ;-)

published version 3.1.4 with a workaround ;-)
https://www.npmjs.com/package/generator-nitro


Can't disable folder creation for control path

I saw this PR: https://github.com/moul/assh/pull/183 . If I understand correctly, the creation will only happen after I enabled the ControlMasterMkdir.
These are the debug messages
DEBUG   Proxying
DEBUG   Creating control path   {"path": "/Users/wd/.ssh/cm"}
DEBUG   Trying gateways {"gateways": "bastion-staging"}
2021/01/25 17:11:56 bastion-staging
DEBUG   getHostByName direct matching   {"name": "bastion-staging"}
DEBUG   Creating control path   {"path": "/Users/wd/.ssh/cm/172.x.x.x"}
DEBUG   Using gateway   {"gateway": "bastion-staging", "command": "ssh -W 172.x.x.x:22 %name"}
DEBUG   ProxyCommand    {"command": "ssh -W 172.x.x.x:22 bastion-staging"}

My settings in defaults, I only have this ControlPath set in defaults section.
defaults:
    ControlMaster: auto
    ControlPath: ~/.ssh/cm/%h-%p-%r.sock
    IdentitiesOnly: yes
    ControlPersist: yes
    UseKeychain: yes
    AddKeysToAgent: yes
    ServerAliveInterval: 30

$ brew info assh
assh: stable 2.11.0 (bottled), HEAD
Advanced SSH config - Regex, aliases, gateways, includes and dynamic hosts
https://manfred.life/assh
/usr/local/Cellar/assh/2.10.0 (6 files, 12.3MB) *

$ brew info assh
assh: stable 2.11.0 (bottled), HEAD
Advanced SSH config - Regex, aliases, gateways, includes and dynamic hosts
https://manfred.life/assh
/usr/local/Cellar/assh/2.10.0 (6 files, 12.3MB) *


Update package.json and publish completed build to NPM

[ ] Set up official user account on npmjs.org.
[x] Update package.json metadata file.
[ ] Publish as an NPM package.

[x] Set up Github Action workflow to publish to npm when a release is published.

Hi! Can I know when this package is planned to be published to NPM? Thanks!

Hey @agentcap! This package will be published to NPM as soon as it has been tested by expert users with disabilities as part of issue #21. My team at @Accessible360 is currently focused on a heavy end-of-year workload as our clients are rushing to hit their 2020 targets, but after New Years I expect their availability to open up.
I would estimate that this package will be officially published before the end of January 2021.

Testing has been completed with a native screen reader user, and I've finished making some small updates based on their feedback (see #21). This is now ready to officially launch!
I've created a Github workflow to publish to both npm and Github Packages registry when a new release is published.
Now I'm trying to figure out how to set up the credentials and tokens properly, which is a little more complicated since there is an org account involved.

Testing has been completed with a native screen reader user, and I've finished making some small updates based on their feedback (see #21). This is now ready to officially launch!
I've created a Github workflow to publish to both npm and Github Packages registry when a new release is published.
Now I'm trying to figure out how to set up the credentials and tokens properly, which is a little more complicated since there is an org account involved.

While doing some dry runs, I learned that NPM requires strict semver naming in the package.json > version field. I was hoping to release this package with a that piggybacks on the original Slick repo's version number (1.8.1), but that does not seem possible now.
Instead I'll go ahead and use the version number 1.0.0, and indicate which Slick version this was forked from in the README.

While doing some dry runs, I learned that NPM requires strict semver naming in the package.json > version field. I was hoping to release this package with a that piggybacks on the original Slick repo's version number (1.8.1), but that does not seem possible now.
Instead I'll go ahead and use the version number 1.0.0, and indicate which Slick version this was forked from in the README.

accessible-slick is now officially released!!
I had to do a bit of fussing to get the publish workflow Action to work, and learned a couple new Git tidbits along the way. Unfortunately I had to increment the version number because the package was prematurely published to NPM while I was fussing around, and NPM does not allow reuse or deletion of version numbers.
You can now grab this package and start using it right away the following ways:

Install the package via NPM with the command npm install accessible-slick. See the package page for more.
Download a zip file with the repo contents by going to the Releases section of this repo.

accessible-slick is now officially released!!
I had to do a bit of fussing to get the publish workflow Action to work, and learned a couple new Git tidbits along the way. Unfortunately I had to increment the version number because the package was prematurely published to NPM while I was fussing around, and NPM does not allow reuse or deletion of version numbers.
You can now grab this package and start using it right away the following ways:

Install the package via NPM with the command npm install accessible-slick. See the package page for more.
Download a zip file with the repo contents by going to the Releases section of this repo.


Pirates gamemode

Roundstart antag min 3 max 6 pirates. They start at pirate cove, it has armory, bar,docks, selling zone. Illegal bounties - main task of pirates,this console will give bounties for most syndie/theif items tasks and other valuables found on station. Console will give bounty papers as cargo one does but bounties will vary from 5k - 30k. Pirate vault -  Pirates should put earned money in the vault so its counted, pirates should earn as much money as they can. Pirates cant murderbone like nukies, but they can kill sec, command(cap,hos,hop) and armed crew that are fighting against them/protecting their task. They can take hostages(purely RP), Pirate turrets that protect the pirate cove. Should be counted as medium antag since they have lots of restrictions to their antagonism unlike nukies.

Piras gamemode real?

Idea! give pirates a very loud payday style drill that is placed in-front of the cargo buy console and would alert the crew of its location similar to the space dragon portals. Once the drill is done it would spit money out for the pirates that they could use to buy better equipment. The drill would of course only be activate-able on the station.


Basic usage example doesn't compile on rustc 1.9

When trying to compile the basic usage example, some errors are thrown:
src/main.rs:104:35:` 104:55 error: mismatched types:
 expected `rustless::server::status::StatusCode`,
    found `hyper::status::StatusCode`
(expected enum `rustless::server::status::StatusCode`,
    found enum `hyper::status::StatusCode`) [E0308]
src/main.rs:104                 client.set_status(StatusCode::NotFound);
                                                  ^~~~~~~~~~~~~~~~~~~~
src/main.rs:104:35: 104:55 help: run `rustc --explain E0308` to see a detailed explanation
src/main.rs:113:44: 113:59 error: mismatched types:
 expected `Box<valico::json_dsl::coercers::Coercer + Send + Sync + 'static>`,
    found `Box<valico::json_dsl::Coercer + Send + Sync + 'static>`
(expected trait `valico::json_dsl::coercers::Coercer`,
    found trait `valico::json_dsl::Coercer`) [E0308]
src/main.rs:113                     params.req_typed("id", json_dsl::u64())
                                                           ^~~~~~~~~~~~~~~
src/main.rs:113:44: 113:59 help: run `rustc --explain E0308` to see a detailed explanation
src/main.rs:124:53: 124:68 error: mismatched types:
 expected `Box<valico::json_dsl::coercers::Coercer + Send + Sync + 'static>`,
    found `Box<valico::json_dsl::Coercer + Send + Sync + 'static>`
(expected trait `valico::json_dsl::coercers::Coercer`,
    found trait `valico::json_dsl::Coercer`) [E0308]
src/main.rs:124                         params.req_typed("user_id", json_dsl::u64());
                                                                    ^~~~~~~~~~~~~~~
src/main.rs:124:53: 124:68 help: run `rustc --explain E0308` to see a detailed explanation
src/main.rs:125:50: 125:68 error: mismatched types:
 expected `Box<valico::json_dsl::coercers::Coercer + Send + Sync + 'static>`,
    found `Box<valico::json_dsl::Coercer + Send + Sync + 'static>`
(expected trait `valico::json_dsl::coercers::Coercer`,
    found trait `valico::json_dsl::Coercer`) [E0308]
src/main.rs:125                         params.req_typed("name", json_dsl::string())
                                                                 ^~~~~~~~~~~~~~~~~~
src/main.rs:125:50: 125:68 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to 4 previous errors
Could not compile `beam6`.

The first one is easy, instead of use hyper::status::StatusCode;, use use rustless::server::status::StatusCode;.
I don't understand how to fix the three other errors. Any idea?

@ekatsah thanks for your report, I'll take a look today.

Just tried to run the basic example code and I am also experiencing this issue. Did you find a resolution?

The problem is that the README doesn't specify what version of the dependencies are needed. In this case setting valico = "0.8" in Cargo.toml solves the problem.

Changed to rustless::server::status::StatusCode and the code compiles and runs on port 4000, but I still get a 404 Not Found.

curl -i -H Accept:application/vnd.chat.v1+json -X POST http://localhost:4000/chats/1/users/1
HTTP/1.1 404 Not Found
Content-Length: 0
Date: Sat, 02 Jul 2016 21:15:18 GMT

What is wrong?

I believe this is fixed in 0.9.0. Please try


Willm/doc reader

Add DataReader abstraction and a PileReader that can be used to directly read compressed .jsonl files in the Pile format
Some questions:

Do I need to check for null (whitespace/empty) lines while reading?
Do I need to make text, meta, pile_set_name optional? I saw @epwalsh did this in his code but the Pile documentation suggests they will always be there.

Do I need to make text, meta, pile_set_name optional?

Probably not. I'm not sure why the text field was optional in the DataInstance struct. Maybe to accommodate a particular dataset where that field was optional...


Update time stamp vector to hold a list of response times

Update time stamp vector to now include a list of end times for responses.
For now, to preserve the functionality of PA, the final entry in the time stamp vector is used in place of the previous single entry to the end times. This should make this change invisible to the current implementation until the final response parameter can get bubbled up from the grpc client.

Can you set target branch to decoupled-model-support?

Yup yup. Updated

LGTM. Can approve once Tim's feedback is addressed.


adds static library, man page, and install target to Makefile

I would like to be able to use the library as all other libraries,
by linking with -l and <including.h>.
By copying 1000 SLOC into my projects, I would clutter them
and also miss new updates.
I also changed a few things, but if you don't like them they should hopefully
be trivial to revert.

I like the man page idea, you should do that, and only that as a pull request.

This provides 3 valuable contributions, but needs to be split into separate PRs.
needs work.

Merged https://github.com/rain-1/linenoise/commit/b01335152b982b00bbcfb80e24f26e73ba18ee78


Certificate error not reported to the user

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.202
Where did you get the app from?
F-Droid
Android version
12
Device model
Galaxy S21
Steps to reproduce
When using a secured connection to a SMTP server, if the certificate becomes invalid, the error is not reported to the user.
The mail is silently kept in the folder "to be sent".
If you go to your account parameters, then sending server parameters, you just have to validate the data without changing a thing in order for an error to pop-up.
You confirm the security exception and that's OK.
Please note that the same applies to IMAP server, but you can see that something goes wrong because you receive no more emails on a particular account.
Expected behavior
I think that the certificate error should be reported at least once each time you run K9.run
Actual behavior
No error is reported, people that send you emails get upset and that's a drama.
Logs
No response

The same issue happens when importing an account settings export to a fresh install. If there is a certificate error (e.g. from a self-signed certificate on the IMAP server), no user-visible notification is made, the account just silently fails to load any messages. Going through the Account settings -> Fetching mail -> Incoming server flow allows you to see the error and accept the cert.
Tested on Android 13 (Lineage 20), K-9 v6.602.

When an untrusted server certificate is encountered the app should display an error notification. Apparently that's not always working. It would be helpful if someone could provide step by step instructions on how to reproduce the error (using concrete hostnames) or a debug log.

I do not have a step by step scenario to reproduce, but here is a more detailled description of how I think it happens in a case :

smtp server host : smtp.myprovider.com
smtp server has self-signed certificate that expires
your domain : yourdomain.com
in your domain DNS, alias smtp.yourdomain.com to smtp.myprovider.com
configure smtp.yourdomain.com in K9
successfully send emails, you will have to accept the security exception for the certificate on the way
wait for the certificate to expire
try to send an email : you get no error report, the email is not sent
go to your preferences in order to « refresh » your conf
the security exception has to be accepted anew
try to send an email : the email is sent

When an invalid certificate is accepted by the user, the app only makes sure it's the same certificate every time a connection is established. Whether or not the certificate is expired doesn't matter and is not treated as a certificate error. A certificate error will only be reported if the server certificate changes to a different invalid certificate.
The send error might have been unrelated to the server certificate. Anyway, there's not much we can do without more information. The next time this happens, please record a debug log while trying to send a message and open a new issue.


Consider option of pulling code directly from GitHub.

It would be great to be able to post a demo of console apps, etc. that are in GitHub.
This is straightforward for web sites, but the only option for other types of apps is download and run. I have copied my code to tools like this, but then I have a maintenance issue.
Thanks for your consideration.

@GrantErickson we already support loading content from GitHub Gists. Take a look at:
https://try.dot.net/?bufferId=FibonacciGenerator.cs&fromGist=df44833326fcc575e8169fccb9d41fc7&canshowgithubpanel=true
the bufferId describes the file to show from the gist [though all files are considered during compilation]
the fromGist describes the ID of the GIST to load
the canshowgithubpanel controls the hosted with <3... UI element

@GrantErickson  feature describe something you might be interested in?


[fix] Adjust type imports to satisfy TS NodeNext moduleResolution

Discovered through comment in #2040
This is necessary so people can use this new resolution mode and still get proper typings for things like $app/stores
This isn't all that's needed though:

Vite 3 is needed so we get their exports map which makes vite/client resolve correctly
Svelte bump needed to properly expose CompileOptions. It's imported from a path which isn't accessible when adhering to export maps

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

There's value in merging as-is already, it makes most of the types usable again with the new mode


Data Science with Python : Mathematics behind ML Algorithms

Welcome to 'DSWP' Team, good to see you here
This issue will helps readers in giving all the guidance that one needs to learn about working on Mathematics behind ML Algorithms. Tutorial to Mathematics behind ML Algorithms and how it's applied using sample code.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly if you had used datasets, include them in "DS Datasets".
Domain : Machine Learning
Mentors Assigned : Jivitesh Jain / Dhruv Bajaj
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎

I want to be assigned.
Name - SHREYA KUMARI
Serial Number - 457
Type - Documentation
Approach: I will explain whole mathematics behind different Regression and Classification models. How each model works on backend with code snippets.

Issue assigned to @ishreyakumari for documentation

Sarmsitha Sarna
Serial Number - 457
Type - Audio

I want to contribute to this, as I got an idea of Linear algebra for ML
Name : Anindyadeep
Batch 1
type: Documentation
Approach :

basics of Math for ML, like Linear algebra concepts, and stats concept
Using those to understand some basic ML algorithms
Coding them if required,

@prathimacode-hub , Mam
I am M. Ashish Reddy. I would like to do video on this issue.
Batch number: 5
serial number:174.
Approach: A detailed explanation with examples and real life uses

Issue assigned to @ashish-reddy-20-08 for video contribution

Hello, I am Deepthi M with serial number:172, Batch-5. I would like to do audio on this issue.
My approach: a detailed explanation

Issue assigned to @deepthi1107 for audio contribution


remove unused images from Getting Started

this PR removes some legacy PNG/SVG in the Getting Started folder

@zijianjoy can you please review this before we cut the 1.4 branch (it's really small, literally just removing 3 files)!

/lgtm
/approve
Thank you for the cleanup!


The message was sent successfully, but the phone could not receive it

Hi ~ I found this module today, It's very nice , I can send it normally at noon,  but now my test phone There's no information
This is result
result: '{"sent":[{"device":'xxx"}],"failed":[]}' }

My code is
    const providerOptions = {
            cert:certPath,
            key:keyPath,
            geteway:GATE_WAY,
            passphrase: PROD_PASSWORD, //pem证书密码
            production:mode == "development" ? false : true
        }
        const service = new apn.Provider(providerOptions)
        const note = new apn.Notification()
        note.expiry = Math.floor(Date.now() / 1000) + 3600; // 有效期  一小时.
        note.badge = Number(badge) || 0
        note.sound = "default"
        note.alert = `${messageTitle} : ${messageContent}`
        note.payload = {'messageFrom':"legendpoker"}
        note.topic = BUNDLE_ID;

 service.send(note,deviceTokens).then((result)=>{
     ...
 }

I don't know why , can you help me ?

I'm also facing the same problem!

Same issue.

I'm facing the same problem. Also, de iOS app doesn't show the dialog asking permission for the push notifications, is this the same case for you?
Anyone has found a solution?
Thanks!

@diemto @yury-kalinkin @sebastiandanilonr  Hi~ , I found out if I wasn't in the app ( In the home page ) ,  is can Accept to of the iOS push message,
Every time I run the test code , my app is open, the message is not accept, Then i toggle my phone in the home page,  run my code again, Successful message accept
of course , you shoud promise your key,pem and topic  no problem

@lijinke666 Yes, this is the normal behavior if you don't handle the notifications when your app is on focus. The problem is that the notifications don't reach the device in any case.

@sebastiandanilonr If your iOS app does not ask for permisson at least once, it is not registered for APN. If you have a valid device token you must have at least once been asked for permission. If you really never have been ask for permisson, you can't have a device token, and therefore can't send to this particular device.
Also make sure you are using the correct environment. Eventhough the certificates may now be usable for sandbox and production, you must specify whether your build is a develpment or production build.

@wiggisser Your explanation is not correct.
Apple changed this a while ago. You now get a device token without asking for permission. This allows you to send silent notifications that are received by your app in the background.
However, if you want to show a notification to the user, you need to request permission.
I am closing this issue. This is a configuration issue in your iOS apps.


[module/date] Zone and UTC feature support request

Hello,
That's why I request to:

Each user may want to see their own time zone. (Like I would like to see the time of Turkey and my brother may want to see Germany time.)
We don't have to change the zoneinfo information from /usr/share/ specially
What time zone do we want to see ? LocalTime, UTC, Network Synched, etc...
TimeZone offset support? UTC+1, UTC+2 like that.

Edit: Oh I forgot that trick, each user can have their own time zone. :)
Currently only localtime support is available with the [date] architecture. When we do timedatectl, there are few outputs:
Local time: Wed 2018-06-20 14:02:29 +03
Universal time: Wed 2018-06-20 11:02:29 UTC
RTC time: Wed 2018-06-20 14:02:29
Time zone: Europe/Istanbul (+03, +0300)
System clock synchronized: no

But Polybar uses localtime everytime as long as I do not sync with localtime to network time using timezones from mentioned here https://wiki.archlinux.org/index.php/Time#Time_zone
I don't think that's a rational solution for Polybar. The time module should be further improved. The module I designed in my mind is:
[module/date]
type = internal/date

; New date features
timezone = Europe/Istanbul ; from /usr/share/zoneinfo
timezoneoffset = +3, +2, 0, bla bla...
datetype = UTC, RTC, Local, Universal etc...
autosync = true ; Possibility of system time not synced

; Seconds to sleep between updates
interval = 1.0

; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %Y-%m-%d%

; Optional time format
time = %H:%M

; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
date-alt = %A, %d %B %Y
time-alt = %H:%M:%S

All comments are welcomed. Thanks in advance! :)

Yes, it could be better. Should be considered.

It is bad that this feature became inactive. But it could be a very life-saver feature. ;)

@NBonaparte The Polybar's time is always showing wrong. Although we use GMT+3, it shows 3 hours ahead.
My current time: 03.59
Should be: 00.59
date && sudo hwclock --verbose && timedatectl status && ls -l /etc/localtime output:
hwclock from util-linux 2.32
System Time:<PHONE_NUMBER>.892406
Trying to open: /dev/rtc0
Using the rtc interface to the clock.
Last drift adjustment done at<PHONE_NUMBER> seconds after 1969
Last calibration done at<PHONE_NUMBER> seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2018/07/16 03:58:43
Hw clock time : 2018/07/16 03:58:43 =<PHONE_NUMBER> seconds since 1969
Time since last adjustment is 901 seconds
Calculated Hardware Clock drift is 0.000000 seconds
2018-07-16 03:58:42.499374+03:00
               Local time: Mon 2018-07-16 03:58:43 +03
           Universal time: Mon 2018-07-16 00:58:43 UTC
                 RTC time: Mon 2018-07-16 03:58:43
                Time zone: Europe/Istanbul (+03, +0300)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.
lrwxrwxrwx 1 root root 35 Jul 16 03:55 /etc/localtime -> /usr/share/zoneinfo/Europe/Istanbul

I workaround this by just setting the TZ env variable for polybar. Each user can have his/her own this way.

Closing as @duckie's workaround is the best solution for the original issue.

It's not a perfect workaround. For example, I really want to have two clocks with different timezones (I have a friend in different timezone and I don't want to offset it in my head every time). What works for me for now is this snippet

Hi, I'm not sure if this is useful to you, but you could write a custom script like this, that basically runs the date command with a different TZ variable every time the module is clicked


Benchmarks and improve performance of ServletIo#requestBody

Background
We merged some dependency updates and noticed a spike in CPU usage and in GC frequency/duration. We managed to narrow it down to http4s-servlet:0.23.12 (.13 is also affected). With some git bisection and making local snapshots we managed to pin it down to https://github.com/http4s/http4s-servlet/pull/50.
Changes in this PR
This PR adds a benchmark to compare the performance of requestBody and reader and makes some suggested improvements to requestBody off the back of that. The benchmarks do show a very significant reduction in throughput and increase in allocations when using requestBody. The most significant thing that I found was that the requestBody benchmark was allocating an enormous number of int[] (35-40% of allocations) because we are spawning 3 additional fibers per chunk - one in the parallel Dispatcher and two because the use of Stream#concurrently means that Pull.eval(q.take) is an interruptible eval.
Conequently I made the following changes:

Use a sequential Dispatcher (I was actually confused how the current code works as there are no ordering guarantees for q.submit(chunk).unsafeRunAndForget when running on the parallel Dispatcher?) to eliminate one fiber allocation. I'm only forcing sequential in the benchmarks thus far but this very much supports https://github.com/http4s/http4s-servlet/pull/170
Replace concurrently with flatMap so that Pull.eval(q.take) is no longer interruptible and hence eliminate the other fiber allocations
Remove the boxing on the queue. I didn't see a huge difference with this but given that the benchmarks suggest that the improved requestBody still gives ~50% less throughput and allocates about 10X more, I thought that every little helps.

 We may need to revert the whole queue concept.
Yeah it's a shame because the new code is much easier to understand. I wonder if part of the problem is that we're effectively double-queuing each chunk? Because there's a queue inside the sequential dispatcher as well.

The unsafeRunAndForget does seem dubious here with the parallel dispatcher. I'm now concerned we may have a critical correctness bug in the current version.
Yeah it seems like it shouldn't work to me. But therre may be a critical correctness bug in my understanding 😅

I went ahead and made it a per-request dispatcher.  Quick-and-dirty as of 9210893:
[info] Benchmark                        (iters)  (size)   Mode  Cnt    Score    Error  Units
[info] ServletIoBenchmarks.reader          1000  100000  thrpt    3  828.621 ± 15.904  ops/s
[info] ServletIoBenchmarks.requestBody     1000  100000  thrpt    3   56.251 ± 10.994  ops/s

Here's where requestBody is spending its time:
[info]   3.1%  28.4% sun.misc.Unsafe.unpark
[info]   2.2%  20.3% java.lang.Object.hashCode
[info]   1.5%  13.1% sun.misc.Unsafe.park
[info]   0.9%   8.4% java.io.InputStream.read
[info]   0.8%   6.9% cats.effect.IOPlatform.<init>
[info]   0.8%   6.8% cats.effect.IOFiber.runLoop
[info]   0.2%   2.2% cats.effect.IOFiber.succeeded
[info]   0.2%   1.4% cats.effect.IO.<init>
[info]   0.1%   1.2% java.util.Random.nextBytes
[info]   0.1%   1.1% cats.effect.kernel.Resource.loop$1
[info]   1.1%  10.1% <other>

This is reader:
[info]   1.8%  19.8% org.http4s.servlet.NonBlockingServletIo.org$http4s$servlet$NonBlockingServletIo$$read$1
[info]   1.7%  19.4% java.util.Random.nextBytes
[info]   1.4%  15.5% cats.effect.IOFiber.runLoop
[info]   1.0%  10.6% cats.effect.IOPlatform.<init>
[info]   0.4%   4.3% cats.effect.IOFiber.succeeded
[info]   0.3%   2.8% cats.effect.IO$$anon$4.delay
[info]   0.2%   2.7% cats.effect.IO.flatMap
[info]   0.2%   2.0% cats.effect.kernel.Resource$$Lambda$19/1133484341.<init>
[info]   0.2%   1.9% fs2.Pull$.fs2$Pull$$viewL$1
[info]   0.1%   1.6% cats.effect.IO$.pure
[info]   1.8%  19.5% <other>

Note that stack profile is on Java 8.  We get a different picture on Java 17.  We should be targeting 8 with the library for maximal support, but we should be optimizing for 17.
[info]   7.7%  44.0% <stack is empty, everything is filtered?>
[info]   2.6%  14.7% cats.effect.IOFiber.runLoop
[info]   1.4%   8.2% jdk.internal.misc.Unsafe.unpark
[info]   0.9%   5.1% java.util.Random.nextBytes
[info]   0.7%   4.1% cats.effect.unsafe.ScalQueue.poll
[info]   0.7%   4.1% cats.effect.IOFiber.succeeded
[info]   0.3%   1.5% cats.effect.kernel.Resource.loop$1
[info]   0.2%   1.2% cats.effect.std.Dispatcher.unsafeRunAndForget
[info]   0.2%   1.2% cats.effect.IO.<init>
[info]   0.2%   1.0% cats.Monad.$anonfun$map$1
[info]   2.6%  14.8% <other>

and
[info] ServletIoBenchmarks.requestBody            1000  100000  thrpt    3  77.763 ± 2.734  ops/s

I started a Pull-based implementation that avoids the queues and quickly ran into about a 3x performance loss.  If I change requestBody to be equivalent to reader, so that the only difference is creating and releasing an (unused in this impl) sequential Dispatcher per request, we are already in a mess!
[info] ServletIoBenchmarks.reader                 1000  100000  thrpt    2  470.326          ops/s
[info] ServletIoBenchmarks.requestBody            1000  100000  thrpt    2  153.507          ops/s

What I don't know is how much a decline in these benchmarks translates to a decline in real-world throughput.  But I don't think we can compete with reader with a dispatcher-per-request.

@rossabaker sorry I let this fall off my radar. Is there anything I can do to help get this whole performance thing over the line?

I got distracted by life and a couple other projects this week.  Yeah... the current one is not only not performant, but strikingly incorrect.  My inclination is that we should revert without breaking binary compatibility, and meanwhile keep exploring a way to clean it up and remain performant.

Alright, we can release #175 to undo the damage, and then keep exploring better ways via this PR.


Tracking buttons with the same name

Original issue by amirmk89 on 2023-01-12 15:10:09+00:00
Hi, awesome tool!
I have a use case where several buttons have the same text, and currently the analytics tool tracks all of them as a single button. Each of the buttons has a unique key, and I thought it could be useful to support key based indexing instead of, e.g., button label based.
Is this possible in streamlit-analytics?
Thanks!

Comment by nathanjones4323 on 2023-03-21 15:53:51+00:00
Same here
I believe the issue happens during the "monkey patching" of the widgets inside main.py
Here
&
Here
&
Here
The widget state/key gets set by default to the label of the widget during the "monkey patching", so even if you have a key set for the widget inside of your app, the state_dict used to track widget interaction will use the label of the widget.
Maybe you could move the "monkey patching" inside of your app page, but that seems messy. Ideally, we have the "monkey patched" widgets inside main.py inherit the key from the app file.

@amirmk89 @nathanjones4323  is this still relevant?


Layers & Volume Rendering

Improve layers management:

layers are  independent (no re slice (it still could be done by a preprossessing  if needed),

the first image ROI do not have to include all the next one (feature asked by Im. Team) ;

Improve volume rendering :

no limit on the number of volumes that could be included (used to be 4)

better opacity management

Please Tell if you have any regression in your workflow.
Best regards.

Testing this PR, i have a crash opening a data, then its mesh, and then its mask. I tested on master branch, and i do not have this crash.
By the way, this PR would need to be switched to the master branch, not the 3.1.1 one. Maybe a rebase on master could solve the crash.

@nbaraka  would be interesting to update this PR. Would be cool to have this working.


AdPod support

Does this plugin supports AdPod for preRoll.
In either case how can i display more than one ad before content videos.

@carpasse Any indications on how to implement this too ?

AdPod doc is here at 1.2.4.
After a first look at the code, I see that currently the VASTResponse class has a property named ads containing an array of ads (which is good), but all the ads properties (ex: adTitle, duration, mediaFiles, etc.) are inside the VASTResponse class instead of the Ad class (which doesn't make any sense :wink: )
So I think I'll begin by moving those props and that logic into the Ad class, after that I'll be able to iterate trough ads in the playAd method of the VASTIntegrator.
Is that a good starting point ? :smile:


Use HTML5

less markup :-)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thanks for the feedback and suggestions @XhmikosR !
@bep  could we get this one merged please? or should I add the default lang and lowercase doctype as suggested by @XhmikosR  in this same PR?


HTTP::Server Implement graceful shutdown with timeout

The #close documentation says it should be graceful.  This implements it.
Current problems:

Concerns in #5957 upgraded connections are not addressed
Doesn't set persistent connections to close which may hang listen.  Fixing this would require MT safe connection tracking & state
Limit of 2**32 - 1 active connections
listen never returns if spawn fails on handle_connection or close with timeout

A possible solution for persistent connections is shutdown(SHUT_RD) on each client socket.

Idle persistent connections shut down immediately
Connections processing a request where the input was read finish cleanly
Half read requests are aborted
Websockets ?

Otherwise HTTP::Server::RequestProcessor and upgrade handlers need MT safe close logic

Can specs be added? Descriptions of issues are fine, bu without specs backing them I find it hard to understand the real problem.


deletion of marker from heat map?

Hello,
Thank you for this very useful node-red plugin.
I could not find how a marker gets deleted from the heat map.
The heat map has no delete function (just add) but the markers is "just" an array of (lon, lat).
So removing a marker is removing it from the array of markers.
Maybe worldmap could keep the array and delete from it.
Leaflet.Heat always does a full redraw when a marker is added. So removing a marker could do the same.
Best regards,
Pierre

The underlying library does not have this capability so it would need to be added. Ideally it would be a PR to the Leaflet.heat library - but that seems fairly inactive... so I'd be happy to look at a local pull request if you fancy having a go ?
As you say it looks like is already has the array so maybe extending the prototype to add the remove function is the way forward...

Leaflet.heat has not changed for the last 7 years. Actually, it does not need to change. It has function
setLatLngs(latlngs)

to set an array of [(lat, lon)] ourselves. (Since in all cases it does a redraw() afterwards.)
So rather than adding points to leaflet.heat directly, may be you could add (and remove) points to an array you maintain yourself in world map and use setLatLngs( your_array ) on the heatmap each time it changes.
Just a suggestion.
I need it because I use heat map  to show traffic density over the last 20 minutes, so I need to "remove" points older than 20 minutes from the heat map.
Pierre

as it already has the array, holding it again outside is just a waste.
added to version 2.32.0

So... I have added delLatLng to remove a marker from the array...  but thinking about it - I'm not sure that is really what you want - as that only removes the marker at one specific lat,lng ... I'm guessing from what you said that actually you need to be able to replace the whole array based on time... none of which the current array logs - it just holds latlngs. As a marker moves over the 20 mins it may add lots of points to the array. This is not something I want to track inside the worldmap - so instead I could expose a command to  replace the whole array - and let you create and manage the array yourself, so you can prune it based on whatever criteria you wish ?

Yes, providing a hook/relay to heatmap setLatLngs(latlngs) in worldmap would be perfect. I would indeed maintain my own array of coordinates and pass it to worldmap->heat map (I already do that, but I'm missing the integration to worldmap/heatmap.)
Many thanks.
Pierre

OK - have pushed to git for you to test... -
a payload like
msg.payload = {
    "command": {
            "heatmap":[{"lat":51,"lng":1}]
    }
}

should do the necessary etc...  eg just send a blank array to clear it out is an easy test...


App Overall Rating: allow soft coding

Values: should be soft coded
Label: would be good to allow soft coding, as different orgs might have different names for this

Not sure about soft-coding labels.  There has been a bit of interest in I18N, this could possibly be addressed as part of that.
With regards to soft coded values then I think that should be okay.


refactor(api):  more well and labware refactors

Overview
Another step in Labware refactor. Goals are to reduce the amount of work done by Well and Labware.
This is part of the effort of making the public facing classes in protocol_api package be facades that delegate their work to inner classes.
Changelog

Created a WellImplementation class which Well will delegate all work to. WellImplementation can become our internal replacement for Well. A class that knows nothing of protocols.
Moved Labware._create_indexed_dictionary logic out of Labware and into its own class: WellGrid.
Next Step: move tip tracking from Labware into a separate class. It's only dependency would be the WellGrid

Review requests

Does this approach make sense?
Naming and new module locations make sense?

Risk assessment
Medium. This doesn't touch public interface of Labware or Well, but modifies the guts a lot.
closes #6679

🔢 !