rewrite clipboard handling

fixes #386, #397
As "discussed" in #386 (it was mostly a monologue), I've moved away from system clipboard when copying elements. The reason is mainly because of browser support when trying to paste using contextMenu (FF/safari doesn't support navigator.clipboard.readText).
As a side-effect, users should no longer be asked for permissions (this isn't 100% guaranteed, as I'm still using clipboard.writeText() as a preferred method to clear system clip, but AFAIK it doesn't require permissions if called within a user-triggered event callback).
System clipboard is also used when copying backend link to clip, and when exporting PNG to clipboard (in which case, async clipboard API is still required).
Note, to implement #397 I have to clear system clip when user copies scene elements, because I'm prioritizing system clipboard text during pasting. Thus, if system clip doesn't contain text (trimmed), scene elements are pasted.

@fernandoalava I haven't made the refactor of export dialog as promised because it turned out it was unrelated to this PR after all. I can make this in another PR, tomorrow, or if you feel like it (and don't want to wait), you can try something yourself.

I played with it for a few minutes trying to break copy paste but it keeps working. So it looks definitely better than the status quo!

Hi @dwelle, sadly today I'm running out of time :(, if you work on it today I will continue from there if not I can try something following your advice moving all the export logic in the export dialog.


Handle breaking change in FlowRouter SSR

After FlowRouter@07c1d3, trigger functions only receive some context properties, and do not receive the entire context.
This breaking change is only present in the SSR branch.
Please review the proposed change which maintains compatibility with the master as well as the ssr branch.

+1

@rikonor Thanks for the PR. I'm really sorry it took this long to get this merged in.
This works for me, I'll merge, and bump the version of the package


draft: etcdv3 optimized

this is just a draft. The content may cause BC.
This PR is forwarded to solve the problem that may affect the performance under multi servers.
@smallnest please have a look

@Stonexxxx thanks for your PR.
Yes, as you mentioned, it causes BC.
SOo I suggest you add as a new EtcdV3RegisterPlugin, for example, EtcdV3SingleRegisterPlugin or others.


ngrok: enable darwin build

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build ngrok

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: ngrok
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: ngrok
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: ngrok
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


retored the edit server back into assign server role

@GarySmith  I rebased with latest and applied the changes you suggested , move the common functionalities to ModelUtils.js. I have to use -f to push ...however the conversations you and me had seem to lost.

Thanks for making the change


Error - npx : - Initializing Project Directory

I'm not having the best of luck building my first app.
Both Prerequisites is installed.

Looks like its looking for Git?

Installing Git resolved the actual issue - I'm leaving this issue open as the addition of git as a prerequisite needs to be mentioned somewhere.

Well, Git solved the Git part of the issue.
Still getting this on 2 different machines, does not look healthy

Are those actually errors or is npm just using the error stream to write output? That's very strange because I don't see that in Windows PowerShell or PWSH. What version of PS\Windows are you running here? I didn't realize this thing needed git. I will add that to the pre-reqs.

W10 1903, latest version of powershell.

From: Adam Driscoll<EMAIL_ADDRESS>Sent: Monday, October 7, 2019 4:48:41 PM
To: ironmansoftware/ud-forge<EMAIL_ADDRESS>Cc: Rene Hansen<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ironmansoftware/ud-forge] Error - npx : - Initializing Project Directory (#17)
Are those actually errors or is npm just using the error stream to write output? That's very strange because I don't see that in Windows PowerShell or PWSH. What version of PS\Windows are you running here? I didn't realize this thing needed git. I will add that to the pre-reqs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fironmansoftware%2Fud-forge%2Fissues%2F17%3Femail_source%3Dnotifications%26email_token%3DAE5MLTW3SQ3DFXWNA6OUTW3QNND4TA5CNFSM4I5BCOW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQTWTY%23issuecomment-539048783&data=02|01||99d59bfb42cc414674ca08d74b35728b|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637060565229697220&sdata=9%2FHdZE5qWoByGbIb6yTdBcot%2BBcvQ0DJWt2wTIM3Wug%3D&reserved=0, or mute the threadhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE5MLTSEUU44JZ4MLPRCMXLQNND4TANCNFSM4I5BCOWQ&data=02|01||99d59bfb42cc414674ca08d74b35728b|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637060565229707230&sdata=9%2BoD7hOchmIGbleJ95cf%2FknH2eOotNvUa573ZXdHe7c%3D&reserved=0.

It does indeed not look like actual errors no. I'm able to run the dashboard, and find the installer.


GitHub: Validate the wrapper only if it was changed

Unfortunately, the same is not possible for individual jobs / steps yet
[1], but we might consider using [2] eventually, e.g. to only run the
github-action-markdown-link-check when Markdown files were changed.
[1] https://github.com/actions/runner/issues/456
[2] https://github.com/dorny/paths-filter
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Argh, applying this changes makes the "validation" check go stuck as the check is mandatory on the one hand, but might not run on the other hand:

And it looks like GitHub it not going to fix this any time soon, so I'll close this optimization unmerged.


[BUG] Missing Keys

Describe the bug
I have this running via Docker connected to Plex and Overseerr. When view the logs, I get zero new requests and just see tons of errors like this.
2024-10-25 01:46:15,870 - ContentAutomation - WARNING - Error while processing item: Missing key for movie 'Monsters, Inc.'. Cannot process this item. Skipping I see similar errors for all movies and shows.
To Reproduce
Steps to reproduce the behavior:

Configure the app
Run
View the docker log

Expected behavior
Shouldn’t have tons of missing keys errors.
Screenshots
N/A
Desktop (please complete the following information):

OS: MacOS
Browser Brave
Version latest

Smartphone (please complete the following information):

Device: iPhone 14 Pro
OS: iOS18
Browser Brave
Version latest

Can you share your Plex library settings? Which agent are you using?

Sure! For movies, I'm using the Plex Movie agent and for TV Shows, I'm using the Plex Series agent. I'm on Plex Media Server version <IP_ADDRESS>92.

Thanks for the speedy response! I've upgraded to the latest version of SuggestArr.  I was still met with the same errors.  So, I changed the agent on my movie library to TMDB, restarted SuggestArr, and forced a re-run.  I'm still seeing the same errors.
2024-10-25 14:03:14,955 - ContentAutomation - WARNING - Error while processing item: Missing key for movie 'The Fall Guy'. Cannot process this item. Skipping.

Thanks for the speedy response! I've upgraded to the latest version of SuggestArr. I was still met with the same errors. So, I changed the agent on my movie library to TMDB, restarted SuggestArr, and forced a re-run. I'm still seeing the same errors.
2024-10-25 14:03:14,955 - ContentAutomation - WARNING - Error while processing item: Missing key for movie 'The Fall Guy'. Cannot process this item. Skipping.

Could you please run the following command and paste the output here? This will help me identify what’s causing the issue:
curl -X GET "{YOUR_PLEX_URL}/status/sessions/history/all" -H "X-Plex-Token: {YOUR_PLEX_TOKEN}" -H "Accept: application/json"
You can find your Plex token in the config_file.yaml or by following these steps:

Open your Plex application.
Navigate to the information panel for any movie.
Click on "Show XML" in the options.
Your Plex token will be at the end of the URL.

Thank you!

I did that and dumped the output to a json file. It's 31.5MB. Here is a link to it https://mega.nz/file/NUlnmIaK#1PW3I3Zf2MqY4wYs-iWXQ91hEg-iBGLemBnpCgQl2U8

Thank you! Please give me some time to check it, and I promise to return with a fix soon. :)

I did that and dumped the output to a json file. It's 31.5MB. Here is a link to it https://mega.nz/file/NUlnmIaK#1PW3I3Zf2MqY4wYs-iWXQ91hEg-iBGLemBnpCgQl2U8

Can you please try to rebuild with the nightly tag? I've just release an update that should fix your problem

That did it! Thank you :)


Knob does not work in my IE 8

Hi.
I have just tested jQuery-Knob in my IE 8 on demo page http://anthonyterrien.com/knob/.

Thanks

How can I make revert counting? For example, from 30 to 0.

I faced the same, and the issue seems to be only the fact that the plugin is initializing canvas before excanvas gets ready: "ready" event is fired to early in IE8
To make it work, I used $(window).load instead of $(document).ready


Message Type Out Of Office AutoReplay

Good morning,
I've noticed an anomaly regarding the automatic out of office response when you have a signature in HTML format. It is necessary to set the message text in "Rich formatting" rather than "Plain Text".
Is it possible to set it massively Out-of-Office AutoReply in Rich formatting from GAM?

Please post "how do I?" type questions to the discussion forum:
https://groups.google.com/forum/#!forum/google-apps-manager
thanks,
Jay


Add Readme

@maxbrunsfeld here's a readme, lemme know if I've missed something :sparkles:

Very nice! Thanks for writing this up; I think the screenshots pointing it out will be super helpful for people.

@jlord I think we should actually remove the section about installing the package, because we're going to bundle it, so it actually becomes a bit of a problem if people install another copy of it into ~/.atom/packages.

Oh yeah, sounds good :+1:

:sparkles:


Allow categories: true to make feeds for all categories

Motivation
Fixes #361
Summary
This change behaves like how tags: true works, and like how @parkr suggested
in the comments of #361.
If there's anything you'd like changed in the implementation, please let me know.
Test plan
I've written a test case for this and also verified that it works for my
personal blog when I pass categories: true in my feed: settings.

(This is based on the fixed master commit now)

Sorry about that, I didn’t realize that rubocop was set up for the repo, and I had forgotten to run that locally.
I fixed the rubocop errors by factoring out my changes to a new method. Feel free to suggest any tweaks as you wish.

Hello @jez, you needn't apologize for overlooking RuboCop offenses. It's part of the process.
Anyways, I'm finding the use of param name meta confusing now that the logic has been abstracted to a separate definition.
How about using collection itself:
site.collections.each_value do |collection|
  normalize_categories(collection)
end

@ashmaroli I saw you crossed out your request–is there anything else you'd like me to change about this PR?
(otherwise, I think this change is ready to go)

@ashmaroli friendly bump!

Thanks for the ping, @jez. This had fallen off my radar.


Floats in exponent notation

As a new addition to the parser, as requested in #1261, literal floating-point values in exponent notation.

+1

@privat I could, but would it simplify the whole process ? I mean we already do such a thing for int literals with the different bases, it simplifies the code in literal, why do it differently in Float then ?

The separation is more acceptable with integer because they have a specific notation with refused/accepted characters.
With floats, one can define a common more general token with an optional exponent part, therefore having two tokens make less sense.

+1

Reroll: Float with expoenents are now a facultative exponent part, good call @privat, this removes a lot of code !

@privat Admittedly, I forgot that, this should be fixed with this reroll

+1


Defensive player stats

Defensive TDS or safety's dont seem to get pulled after running livestats.py........Although, running nflgame and pulling stats from a player, i don't think they show up either.
An example would be 1 defensive TD from Kwon Alexander, week 3, TB vs LA
Any hints on where to look next. probably a nflgame issue tho....

This has been added to the develop branch.

It's now part of the latest release.


Add RDF export support to Nunaliit

As an atlas builder, I would like to export Nunaliit documents in the RDF(s) model.  Two formats would be useful:   I) Turtle because it is mature, broadly implemented, is easy for a trained human to read and understand, and a W3C standard (https://www.w3.org/TR/turtle/); ii) JSON-LD because it is now widely used by web developers and other users and has also recently become a standard (https://www.w3.org/TR/json-ld11/).  There are many tools to convert from Turtle to JSON-LD and other RDF serializations (formats), so the support of JSON-LD is initially not critical.
The atlas builder should be able to qualify attributes in the schema with a namespace URI and a short form that identifies the vocabulary(ies) being used for a particular data value.  For example, short form = rdf:  namespace URI  = http://www.w3.org/1999/02/22-rdf-syntax-ns#.  These prefixes and namespaces should be used in the export files.  If no namespace is asserted, then a unique, default prefix:namespace should be generated and assigned using some form of the atlas URL, for example (mpde: HTTP://mpde.gcrc.carleton.ca/ontology/).  This will help to avoid term collisions when the data is used in broader contexts.
The atlas builder should be able to customize the schema elements that are exported.  Ideally, the atlas developer could use the Nunaliit export tool and the export functionality in the data modification tool to execute the export.  Additionally, an API that supports export would have very, very high value.
A specific use case for this functionality is to export the graph in the MPDE atlas for import into a triple store such as Fuseki, or visualization in a tool such as http://vowl.visualdataweb.org/webvowl.html.

TODO:

[ ] Add more logger statements?
[ ] Handle how the user defined semantic annotations should be created, parsed, and written out as


RFC: Scheduled daily task for specific repos to know show how different staging / prod is

Proposal:
Once a day, ideally in the morning, Peril runs a job that shows how many commits are in staging but are not deployed to master.
Reasoning
Metaphysics staging today is 9 days different from production, it would have been nice to keep track of that difference over time rather than when someone noticed that a bug wasn't fixed.
As we should be using the same naming conventions everywhere it's a matter of looking at the diff between master and production (or something like that)
This would be set up as a map, so artsy/metaphysics => #graphql,  artsy/gravity => #frontend-notifications.
Exceptions:
Opt-in, so no exceptions.

We've built this once: https://github.com/joeyAghion/releasecop


automate rhbz numbers in %changelog

Currently the workflow for adding rhbz numbers looks like:

cherry-pick new patches onto the -patches branch
rdopkg patch
vi *.spec
Jump down to the %changelog section and add the rhbz numbers next to the entries.
rdopkg amend

It would be great to automate this so we don't have to fix up the %changelog by hand.
During rdopkg patch, it would be nice to search the commit log of each patch, and if the commit log contains an rhbz number, note that number in the %changelog entry that we write.
This would allow us to keep the rhbz number information in the -patches branch itself.

Note that I added rdopkg patchlog action in 28fd799c0b to show patches in patches branch. So I suggest modifying patchlog to list rhbzs and reuse the same code to generate changelog messages.

Hi,
I think ktdreyer's suggestion would be a great addition.
This could really help to automate the usage of rdopkg.

Yes, please make ktdreyers suggestion happen. All info is already there, no need to inspect patches again.

I have made the rdopkg patchlog change, so we're a little closer :)

PR #68 completes this.

This much anticipated feature will be included in 0.37 bugfix release soon, thanks @ktdreyer!

To build on this feature, @alfredodeza has written a prepare-commit-msg hook that adds the rhbz numbers to commits automatically when you are cherry-picking them to a named branch: https://gist.github.com/alfredodeza/252d66dbf4a5c36cfb7b1cb3c0faf445
This is useful if you need to cherry-pick many commits to fix one bug.


can write on input search in jquery mobile popup

HI
in jquery mobile popups... i cant write on search input.
This is the Jsfiddle example: http://jsfiddle.net/Q35Em/
Please help

Closing this off because of the lack of activity. If this is not fixed in 4.0, and you are interested in seeing it fixed, add a :+1: to the ticket to bring it to our attention.
If you can add additional details, that would also be useful.

Is there a fix for this issue? Still present in current 4.0.0 build

@backlashs PRs are welcome, if you have some workaround :+1:


A nice try, but some issues

after 7k iterations of training on truck dataset, very blur rendering result, but in SIBR, the result is good.
very low FPS indeed harms user experience.

another question, why not render in remote server and keep the viewer just showing the render result?


chore(docs): update README for KIC 3.0.0

What this PR does / why we need it:
Brush up documentation for release 3.0.0. Showcase Gateway API.  As mentioned in the issue document that it is still in beta and will be GA soon.

Which issue this PR fixes:
Closes https://github.com/Kong/kubernetes-ingress-controller/issues/4714

Special notes for your reviewer:
After the release of https://docs.konghq.com/kubernetes-ingress-controller/latest/ for KIC 3.0.0 double-check every link in that README.

It's added to acceptance criteria of https://github.com/Kong/kubernetes-ingress-controller/issues/4998


"Unable to read file katex.min.css" error on markdown files

Open up markdown file (such as in a Jupyter book). This error appears in the console. I'm not seeing this in 1.37 stable
k {originalStack: "Error: Unable to read file 'c:\\Users\\chgagnon\\AppD…vs/workbench/workbench.desktop.main.js:855:21993)", zoneAwareStack: "Error: Unable to read file 'c:\\Users\\chgagnon\\AppD…nch/workbench.desktop.main.js:855:21993) [<root>]", stack: "Error: Unable to read file 'c:\\Users\\chgagnon\\AppD…nch/workbench.desktop.main.js:855:21993) [<root>]", message: "Unable to read file 'c:\\Users\\chgagnon\\AppData\\Loc…down-math\\node_modules\\katex\\dist\\katex.min.css')", fileOperationResult: 1, …}
fileOperationResult: 1
message: "Unable to read file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css' (Error: Unable to resolve nonexistent file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css')"
options: {etag: undefined}
originalStack: "Error: Unable to read file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css' (Error: Unable to resolve nonexistent file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css')\n    at new ZoneAwareError (C:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\node_modules.asar\\zone.js\\dist\\zone-error.js:99:37)\n    at new k (vscode-file://vscode-app/c:/Users/chgagnon/AppData/Local/Programs/Azure%20Data%20Studio%20-%20RC1/resources/app/out/vs/workbench/workbench.desktop.main.js:850:18986)\n    at Ai.doReadFileStream (vscode-file://vscode-app/c:/Users/chgagnon/AppData/Local/Programs/Azure%20Data%20Studio%20-%20RC1/resources/app/out/vs/workbench/workbench.desktop.main.js:855:21993)"
stack: "Error: Unable to read file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css' (Error: Unable to resolve nonexistent file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css')\n    at new k (vscode-file://vscode-app/c:/Users/chgagnon/AppData/Local/Programs/Azure%20Data%20Studio%20-%20RC1/resources/app/out/vs/workbench/workbench.desktop.main.js:850:18986) [<root>]\n    at Ai.doReadFileStream (vscode-file://vscode-app/c:/Users/chgagnon/AppData/Local/Programs/Azure%20Data%20Studio%20-%20RC1/resources/app/out/vs/workbench/workbench.desktop.main.js:855:21993) [<root>]"
zoneAwareStack: "Error: Unable to read file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css' (Error: Unable to resolve nonexistent file 'c:\\Users\\chgagnon\\AppData\\Local\\Programs\\Azure Data Studio - RC1\\resources\\app\\extensions\\markdown-math\\node_modules\\katex\\dist\\katex.min.css')\n    at new k (vscode-file://vscode-app/c:/Users/chgagnon/AppData/Local/Programs/Azure%20Data%20Studio%20-%20RC1/resources/app/out/vs/workbench/workbench.desktop.main.js:850:18986) [<root>]\n    at Ai.doReadFileStream (vscode-file://vscode-app/c:/Users/chgagnon/AppData/Local/Programs/Azure%20Data%20Studio%20-%20RC1/resources/app/out/vs/workbench/workbench.desktop.main.js:855:21993) [<root>]"
__proto__: Error

@barbaravaldez can you see if you can repro this?

I can repro. The issue looks very similar to this other issue in vscode https://github.com/microsoft/vscode/issues/127761

@barbaravaldez where did we land on this issue? Is it already fixed in main?

@chlafreniere I can still repro. There's another issue that is similar to this in vscode. i'm going to try that approach and see if it works

@barbaravaldez what did you end up finding?

@chlafreniere Just found out the issue, the css file path wasn't updated

I haven't seen this since the original issue was fixed so closing for now


Terminal: A right click paste what you have in your clipboard.

VSCode Version: 1.28.1
OS Version: Windows10   1809   64 bits

Steps to Reproduce:
Terminal :
A right click sticks what you have in your clipboard.

Does this issue occur when all extensions are disabled?: Yes

Settings => "terminal.integrated.rightClickBehavior": "default",

It works how it is expected to work with the "default" value.
"Show the context Menu"
Thank you.

@christalk it was designed to work the same as conhost which is also the way other popular terminals work like cmder.


[ISSUE #7724] Fix revive incorrect message when the original message is not alive

Which Issue(s) This PR Fixes

Fixes #7724
Brief Description

Check the offset of got message before reviving it.

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (3f99b1e) 43.19% compared to head (87cb899) 43.19%.

Files
Patch %
Lines

...he/rocketmq/broker/processor/PopReviveService.java
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #7739   +/-   ##
==========================================
  Coverage      43.19%   43.19%
+ Complexity      9829     9827    -2
==========================================
  Files           1166     1166
  Lines          84564    84568    +4
  Branches       10985    10986    +1
==========================================
+ Hits           36527    36531    +4
  Misses         43499    43499
  Partials        4538     4538

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

CompletableFuture<Pair<Long, Boolean>> future = getBizMessage(popCheckPoint.getTopic(), msgOffset, popCheckPoint.getQueueId(), popCheckPoint.getBrokerName())
这里建议加个注释，Boolean 表示消费结果，false 时需要 rePutCk()

ok，加了


Bug/stale cert expiration logs

Please provide a description of this PR:
There is a bug where we update the metrics for cert expiration when only when creating the metrics server.
So if a cert changes, these changes would not be reflected in istiod's metrics.
There could be a situation where istiod reports expired certs when they are not expired.
I tested this by loosely following the Plug in Certs guide. I created a root cert and two intermediate certificates one with a 10 year expiry and one with a 1 day expiry.
I uploaded the first intermediate cert to the cacert secret and observed the metrics.
Then, I deleted the cacert secret and recreated it, but with the second intermediate cert, and observed the metric.

IDK if this needs a release note

Also, do we have ways to directly test metrics?

Also, do we have ways to directly test metrics?

The existing unit tests in server_test.go initialize metrics for the test context AFAICT, I'd assume we could add a test there to check those (which would be good).

IDK if this needs a release note

This needs a release note (it fixed a bug). Thanks for including a release note!

/retest

@Stevenjin8: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
5a61c2e54897583a94f05ff87663b7ae7952cd42
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Stevenjin8: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
5a61c2e54897583a94f05ff87663b7ae7952cd42
link
true
/test gencheck

lint_istio
5a61c2e54897583a94f05ff87663b7ae7952cd42
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

I really wanted to test the file watcher handler, but that involved to much filesystem stuff.

@Stevenjin8: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
5a61c2e54897583a94f05ff87663b7ae7952cd42
link
true
/test lint

gencheck_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Stevenjin8: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
5a61c2e54897583a94f05ff87663b7ae7952cd42
link
true
/test lint

gencheck_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test gencheck

integ-security_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Stevenjin8: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test gencheck

integ-security_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test integ-security

lint_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Stevenjin8: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test gencheck

integ-security_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test integ-security

lint_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test lint

integ-pilot-istiodremote_istio
a0cd6ffc7ebf83a774ddaa591b613b690308daa7
link
true
/test integ-pilot-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

I really wanted to test the file watcher handler, but that involved to much filesystem stuff.

Yep - ty for adding tests. It's a net-add of coverage so I'm good.


Add a way for custom post effects to access latest projection matrix.

Add handling for the "u_projection_matrix" uniform, that will
automatically get the mapping of the predicted projection matrix when
used in a custom shader.
GearVRf-DCO-1.0-Signed-off-by: Benoit Fouet<EMAIL_ADDRESS>

Thanks for the pull request! Can you provide samples to test the new code?

Thanks for your contribution. Since we already have another pull request merged with modification on renderer.* or perhaps another files which conflict with your current pull request, can you help do a manual rebase at your repo? This will automatically update this pull request.
Thanks in advance.

I'll try to come up with a short test, just to see that the matrix is set and is changing when moving the device. I hope that'll be enough for you.
And yes, I'll rebase that tomorrow and update my tree, no problem.

ok, looks good to me at this point.  Chao?

Code looks good. Tested and everything looks fine.  Going to merge if there is no other objection.
Thanks


Add Ruby 3.1 and JRuby 9.3 to the CI matrix

This PR adds Ruby 3.1 and JRuby 9.3 to the CI matrix.  No other changes.  Everything runs green.

Thanks!


Update glutin to 0.17

Follow-up of https://github.com/servo/servo/pull/21087

This change is

@bors-servo r+

:pushpin: Commit aa5a011 has been approved by emilio

:hourglass: Testing commit aa5a01152236a887ed53925bb971a0689f8aae77 with merge c29de41d2a4566847b319bae70168e1bf3bd7648...

Thank you :)

:sunny: Test successful - status-travis
Approved by: emilio
Pushing c29de41d2a4566847b319bae70168e1bf3bd7648 to master...


Unavailable sensor fix

I found the issue causing the sensors to become unavailable was due to some very choppy performance with the Octopus APIs moving form a call time of 1-3 seconds to 30 seconds or greater at times. This longer call duration then exceeded to timeout that was defined for the HA poll of 30 secs and therefore left the sensors unavailable. Fix is simple increase HA async task timeout to 60 seconds. Also changed the polling to every 2 mins and all is good.

I've just updated the timeout value and published a new release.  Thanks


Apps: bugfix pixelsplosion depth buffer

The explosions firing from our gun are a sub-app of https://github.com/webaverse/pistol, which is called  https://github.com/webaverse/pixelsplosion. Currently it is incorrectly depth sorted due to missing the shader chunks. We need to add the shader chunks.
Note that to work on this, you need to check out both pistol and pixelsplosion: https://github.com/webaverse/pistol/blob/3a1025a912d0eaf6acedb29a5aa5a429c135433b/index.js#L57

You can find the pistol at shadows.scn: https://github.com/webaverse/app/blob/d4a43f0da1b67471bf1c382de8b31f56a277b93a/scenes/shadows.scn#L150

Merged
https://github.com/webaverse/pixelsplosion/commit/ecb1f6e73eacfbd01a3c82809b4f58bebd9a0532


NoMethodError: undefined method `send_failsafe' for nil:NilClass

I'm getting the following error:
NoMethodError: undefined method `send_failsafe' for nil:NilClass
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar/item.rb", line 108, in dump
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar.rb", line 445, in send_item
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar.rb", line 191, in process_item
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar.rb", line 228, in block in process_from_async_handler
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar.rb", line 96, in silenced
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/2.2.0/forwardable.rb", line 188, in silenced
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar.rb", line 226, in process_from_async_handler
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/2.2.0/forwardable.rb", line 188, in process_from_async_handler
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar/delay/sidekiq.rb", line 20, in perform
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/processor.rb", line 152, in execute_job
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/processor.rb", line 134, in block (2 levels) in process
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 128, in block in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/rollbar-2.11.3/lib/rollbar/plugins/sidekiq/plugin.rb", line 9, in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>4/lib/new_relic/agent/instrumentation/sidekiq.rb", line 33, in block in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>4/lib/new_relic/agent/instrumentation/controller_instrumentation.rb", line 353, in perform_action_with_newrelic_trace
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/newrelic_rpm-<IP_ADDRESS>4/lib/new_relic/agent/instrumentation/sidekiq.rb", line 29, in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/bundler/gems/sidetiq-979335567ace/lib/sidetiq/middleware/history.rb", line 8, in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/server/active_record.rb", line 6, in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/server/retry_jobs.rb", line 74, in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/server/logging.rb", line 11, in block in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/logging.rb", line 32, in with_context
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/server/logging.rb", line 7, in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 133, in call
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/middleware/chain.rb", line 133, in invoke
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/processor.rb", line 129, in block in process
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/processor.rb", line 168, in stats
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/processor.rb", line 128, in process
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/processor.rb", line 80, in process_one
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/processor.rb", line 68, in run
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/util.rb", line 17, in watchdog
  File "/home/ubuntu/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sidekiq-4.1.2/lib/sidekiq/util.rb", line 25, in block in safe_thread

Usually happens between deploys. I wouldn't mind making this small change:
diff --git a/lib/rollbar/item.rb b/lib/rollbar/item.rb
index 0a424eb..e91030d 100644
--- a/lib/rollbar/item.rb
+++ b/lib/rollbar/item.rb
@@ -105,7 +105,7 @@ module Rollbar

       original_size = Rollbar::JSON.dump(payload).bytesize
       final_size = result.bytesize
-      notifier.send_failsafe("Could not send payload due to it being too large after truncating attempts. Original size: #{original_size} Final size: #{final_size}", nil)
+      notifier.send_failsafe("Could not send payload due to it being too large after truncating attempts. Original size: #{original_size} Final size: #{final_size}", nil) if notifier.present?
       logger.error("[Rollbar] Payload too large to be sent: #{Rollbar::JSON.dump(payload)}")

       nil

but I wouldn't like to suppress a bigger issue with it.
Thanks in advance.

Hey @jlhonora, thank you very much for opening this issue. I think I've found the reason of this crash. I'll fix this and release a new gem version in few hours ok?
Thanks again.

Awesome, thanks for the fast response.


Finalize resource-oriented API doc generation

Finalize resource-oriented doc gen, with any follow-ups that came out of #2263 (e.g. missing data in schema, refinements to the style/design of page, etc.).

The final page anatomy is as follows:

Generate real docs pages for Data Sources (prototype was focused on Resources only)
Declarations in each language

Call into individual language generators to generate these declarations in each language

Emit nested types inline
Linking of types within declarations

Make the declaration gen smarter to include links
Linking within the page (e.g. anchor links to nested structures)
Linking within the site (e.g. linking types like pulumi.Input to their associated SDK doc link https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#Input)

Show how to read an existing resource (i.e. static get function)

A few remaining layout-specific questions remain:

[x] Import an existing resource on the bottom of the page

We will not do this for Q1. Based on the final docs experience, we will see how this can be best documented.
In Pulumi, a resource can be imported by passing the custom resource option import with the appropriate resource ID as its value.

[x] How do we handle rendering of Comment for each language? (see https://github.com/pulumi/pulumi-terraform-bridge/issues/122)

i.e. if the “comment” for a resource’s property contains symbols, how do we “fix-up” the symbol to have the correct casing for the specified language?

[x] Do we need any special handling of aliases?

Aliases will be added to the docs after Q1.

[x] How do we handle language-specific overlays? (e.g. NodeJS-specific  functions like onObjectCreated on Bucket):

With the "old way", we show these in the docs, since they are members on the resource class.
For Q1, we decided this is not essential. However, certain types of overlays are necessary for language-specific things such as enums, which we plan on including in the resource-level docs. For that see https://github.com/pulumi/pulumi/issues/4003.

Closing this issue as the outstanding questions have been resolved. I will open separate work items for the applicable ones.


fet(share/eds): Cancel the retrieval when enough shares are collected

Overview
Previously reconstruction will be started after 1/4 of total shares are collected, but ipld retrieval would continue collecting shares despite there is already enough shares. Cancel the retrieval of nodes early, when there is enough shares collected for eds reconstruction.

We cancel the context inside of the Retrieve method

Closing in favour of better rework described in: https://github.com/celestiaorg/celestia-node/issues/2446


mpvc: 1.3 -> 1.5-test

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/lwilletts/mpvc/releases.
meta.description for mpvc is: A mpc-like control interface for mpv
meta.homepage for mpvc is: https://github.com/lwilletts/mpvc
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.5-test in filename of file in /nix/store/q55lwvhq376p02242psrw5r4zxfl7x8f-mpvc-1.5-test

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
mpvc

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/b5f5f5fa46383888739e9b39f1dbea0fce14abf4#mpvc

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

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

1 package built:

mpvc

Maintainer pings
cc @neeasade for testing.

Looks like @neeasade does not touch this code since 2017...


Fix: code examples does not match with NameRegistry contract

https://book.cairo-lang.org/ch14-01-00-contract-storage.html
Change code snippets on pages that rely on the NameRegistry contract (p14.1, p14.2, p14.13) to match the contract (p14).

Hi @Thibrac, here's a proposal on how to do these things:

Remove the NameRegistry contract example from https://book.cairo-lang.org/ch14-00-building-starknet-smart-contracts.html and put it in https://book.cairo-lang.org/ch14-02-contract-functions.html. It will only be used in ch14-02.

Because we no longer need as many examples regarding storage in our NameRegistry contract, simplify the contract to only keep simple storage variables: remove registrations, the get_registration_info function. The goal of the contract is now to simply show all the different kind of functions, we can also remove events.

Change the code examples in https://book.cairo-lang.org/ch14-02-contract-functions.html from {{#include...}} to`{{#rustdoc_include ...}}# to enable the small "expand" button

Add a listing with the full SimpleStorage contract in https://book.cairo-lang.org/ch14-01-00-contract-storage.html (the one used in the isolated listings with hidden context)

Feel free to add any suggestion


Dataset preprocessing

Hi,
I am wondering about the pre-processing techniques that you use on your dataset. From what I could see, you save the frames where face is detected. But you don't consider clipping the audio based on whether face is detected or not. In that case how do ensure time alignment of the audio and video streams for training?
If I am wrong about my assumption, could you please point me to the correct pre-processing code.
Thanks!
Nabarun

For how we choose a video window, you can look at the feeder.py's getitem function which has several checks including the case when the sampled video window is missing a face. Once we get a contiguous video window (with all the faces present), we choose a corresponding audio window using the crop_audio_window function. There is also a check in the returned audio window.


Moved directory creation outside of container to maintain permissions…

...., set version variable for nodejs image.

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4027

retest this, please

@dan-palmer1 - I'm kicking off the tests again in case it was a fluke.  Otherwise, looks like there are some tests failing.

@sblack-usu I’ll retest tomorrow, I did not see any issues prior to submitting the PR.

retest this, please

retest this, please


Jupyter extension %matplotlib inline plot background issue

Issue: matplotlib plots rendered poorly when using "%matplotlib inline"
Does this issue occur when all extensions are disabled?: Yes (have to enable python and Jupiter only in order to run), everything else disabled, same issue

VS Code Version: 1.59
OS Version: Windows 10

Steps to Reproduce:

%matplotlib inline, plot background is full width (although saving the image to pdf is the correct size), the issue appears to be the way it is rendered in the notebook
Remove %matplotlib inline and call plt.show() to fix

Using %matplotlib inline

Using plt.show()

Thanks for the bug.
Likely a CSS problem that we're not handling when matplotlib inline is used.

Also, maybe the plot should be centered like it is done in jupyterlab?

do you guys have an idea in vscode what we use instead of this  %matplotlib inline . because in jupiter it is correct .

I've tested this against the latest pre-release version and the output seems to be as per Jupyter Lab
Here are the screenshots


Mongoid support

Thank you for creating such a valuable gem.  I see that there is a support for Mongo generic Ruby driver.  Is there a way to make Flipper work with Mongoid?  Especially 4x version since it still uses the previous Moped driver vs Mongoid 5 (which uses Mongo Ruby driver)

Yes, there definitely is. You can easily create an adapter of your own for any data store. The docs are here: https://github.com/jnunemaker/flipper/blob/9ea8a7df5aad222bd3332f09c082071a1898c835/docs/Adapters.md. I'm not interested in personally supporting a mongoid adapter, but you can create your own gem or even just an adapter for only your application. I'd be happy to link to it if you do make one as a gem.

Just for the reference for those using (newer) versions of Mongoid that uses mongo:
Flipper.configure do |config|
  config.default do
    collection = Mongoid.default_client['flipper']
    adapter = Flipper::Adapters::Mongo.new(collection)
    Flipper.new(adapter)
  end
end

I ended up creating a mongoid model.
class FlipperGate
  include Mongoid::Document

  store_in collection: "flipper"

  def self.flipper
    adapter = Flipper::Adapters::Mongo.new(collection)
    Flipper.new(adapter)
  end
end

Just for the reference for those using mongoid >= 5.0.0
Flipper.configure do |config|
  config.default do
    collection = Mongoid.default_client['flipper']
    adapter = Flipper::Adapters::Mongo.new(collection)
    Flipper.new(adapter)
  end
end

This would be great to have in the readme @jnunemaker.


Error when using YOLO model

Hi,
When i try to use the models to detect object in an image. The resnet and Yolotiny are working fine. But when i use Yolo.h5 as model, I get the following error:

Please help me as i want to try out the yolo model to detect object.
Regards,
Zohair

I  have the same problem  as you ,  have you solve this problem yet?
Please help us to find out why.
many thanks~

Hello, do you have the latest versions of Keras installed?

Install latest version of  ImageAI
pip3 install imageai --upgrade


Output in a particular unit, such that the output is purely numeric

useful for composing

✔ ~/Downloads $ ll -h | bs -i
7.4G
✔ ~/Downloads $ ll -h | bs -i -u K
7404641.0
✔ ~/Downloads $ ll -h | bs -i -u B
7404640987
✔ ~/Downloads $ ll -h | bs -i -u M
7404.6
✔ ~/Downloads $ ll -h | bs -i -u G
7.4


Yang to Json Schema

Hi ,
can you please provide and example to convert yang to a json schema, is it supported? javadoc is not working btw

sorry, this function is not supported yet. Would you like contribute it? And,  you may download the javadoc to your local system,:)


Search option in findMany misses a row with only two letters

Bug description
Suppose there is a user with a last_name column of "An"
When I do a prisma.users.findMany({ where: { last_name: { search: "An", mode: 'insensitive'}}});, it misses them entirely, and doesn't return any results. The same is true if I go to Prisma Studio and apply the search filter there.
But when I do a prisma.users.findMany({ where: { last_name: { equals: "An"}}});, it returns that exact user.
How come search is unable to find that user?
Interestingly enough if I change the user's last_name to Ab, then the search finds the user just fine.
How to reproduce

Create a users table with last_name as a field
Create a user with last_name: 'An'
Go to Prisma Studio and do a search filter for 'An' and see if the user appears
Try console logging the result of prisma.users.findMany({ where: { last_name: { search: "An", mode: 'insensitive'}}}); and see if the user appears.

Expected behavior
The user should appear as one of the matches
Prisma information

// schema.prisma
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["fullTextSearch"]
}

datasource db {
  provider          = "postgresql"
  url               = env("DATABASE_URL")
  shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
}

model users {
  id                   Int       @id @default(autoincrement())
  first_name           String?
  last_name            String?
  created_at           DateTime  @default(now()) @db.Timestamptz(6)
  updated_at           DateTime  @updatedAt @db.Timestamptz(6)
}

Environment & setup

OS: Ubuntu 20.04 LTS
Database: PostgreSQL
Node.js version: v16.19.0

Prisma Version
prisma                  : 4.14.1
@prisma/client    : 4.14.1
Current platform : debian-openssl-1.1.x

Hi @VVekslyer, it's been a while since this issue was opened, but I've reproduced this:
import { PrismaClient } from '.prisma/client'

const prisma = new PrismaClient()

async function main() {
  await prisma.users.deleteMany()

  await prisma.users.create({
    data: {
      id: 1,
      first_name: 'John',
      last_name: 'An',
    },
  })

  await prisma.users.create({
    data: {
      id: 2,
      first_name: 'Jane',
      last_name: 'Anderson',
    },
  })

  await prisma.users.create({
    data: {
      id: 3,
      first_name: 'Alice',
      last_name: 'Tuy An',
    },
  })

  const resultsInsensitive = await prisma.users.findMany({
    where: { last_name: { search: 'An', mode: 'insensitive' }},
  })
  console.log('[resultsInsensitive]')
  console.dir(resultsInsensitive, { depth: null })

  const resultsEquals = await prisma.users.findMany({
    where: { last_name: { equals: 'An' }},
  })
  console.log('[resultsEquals]')
  console.dir(resultsEquals, { depth: null })
}

main()
  .then(async () => {
    await prisma.$disconnect()
  })
  .catch(async (e) => {
    console.error(e)
    await prisma.$disconnect()
    process.exit(1)
  })

[resultsInsensitive]
[]
[resultsEquals]
[
  {
    id: 1,
    first_name: 'John',
    last_name: 'An',
    created_at: 2024-11-01T16:12:18.978Z,
    updated_at: 2024-11-01T16:12:18.978Z
  }
]

I can also provide some insights as to why this happens.
Under the hood, Prisma creates a query that looks like
SELECT
  "public"."users"."id",
  "public"."users"."first_name",
  "public"."users"."last_name"
FROM "public"."users"
WHERE
  to_tsvector(concat_ws(' ', "public"."users"."last_name")) @@ to_tsquery("An")

to_tsvector, a full-text search utility provided by Postgres, applies a stemming step that removes every stopword for the configured language (which, by default, is English).
Whenever you're looking for a specific term, I'd recommend using Prisma's equals or contains.

Hi Alberto,
Thank you for looking into this.
It was definetely a surprise when I first ran into this issue. I did indeed end up using equals or contains as well as some "sanity check" searches which definetely worked better.


Print does not work in exe file

Hello. I made the output for the developer to a file via loguru(debug.log) and for the user to the Status window via print:
from gooey import Gooey, GooeyParser
from loguru import logger
from selenium import webdriver
from time import sleep
from webdriver_manager.chrome import ChromeDriverManager

logger.remove()
logger.add(
    'debug.log',
    encoding='utf8',
    format='{time} {level} {message}',
    level='DEBUG',
    rotation='10 MB',
    compression='zip',
)

@Gooey()
def main():
    parser = GooeyParser(description='Driver')
    parser.parse_args()
    logger.debug('Information for developers')
    print('Information for users')
    driver = webdriver.Chrome(ChromeDriverManager().install())
    while True:
    	print('Driver started')
    	sleep(5)

if __name__ == '__main__':
    main()

The source code works well. But in the exe file made using PyInstaller(pyinstaller --onedir .\demo.py), print does not work. I only see messages from WebDriver manager:

Development environment:

Windows 10 x64;
Python 3.8.3;
Gooey 1.0.8;
PyInstaller 4.3;

@Podolyan98 you need to use the flush option.
print('Driver started', flush=True)


fix: cope with pubCommonUids being an empty list

This fixes an error "TypeError: Cannot read properties of undefined (reading 'uids') at https://cdn.jsdelivr.net/gh/prebid/shared-id/pubcid.js/docs/pubcid.min.js:1:595 ...

Should we also check if uids has length or are we confident that will never be empty if the parent object is not?


feat: add kubectl command reference

Adding the overall kubectl command reference

Sounds great! Let's see the CI success and then merge :)


add: video of pipeline

Adding the video of the End-to-End pipeline
GIF exports from Arcade are of lower-quality
Any way to add videos directly?

@ritwikraha We can serve the video from clouflare on the docs. It would be faster. Slack me the link to the video


Enable lints in npc_simulator

There was an interesting case where linters conflicted: uncrustify arranges the else clause like so:
else if (
    obj.lane_change_dir.dir == npc_simulator::msg::LaneChangeDir::LEFT_LANE_CHANGE ||
    obj.lane_change_dir.dir == npc_simulator::msg::LaneChangeDir::RIGHT_LANE_CHANGE)
  {

But then ament_cpplint complains

If an else has a brace on one side, it should have it on both  [readability/braces] [5]

I ended up adding a // NOLINT comment for ament_cpplint.

@esteve Could you give it a final look and then merge if there are no issues?

LGTM, merging.


Check DSA parameters for excessive sizes before validating

This avoids overly long computation of various validation checks.
Fixes CVE-2024-4603
(Low severity)

@paulidale please reconfirm, I was too eager with always checking the g value - it cannot be mandatory in the ACVP tests.

@paulidale please reconfirm again

This pull request is ready to merge

Merged to all the active branches. Thank you for the reviews.


Add admin functions to core

Not going to do this since it should be handled by a client wrapper around cow.


Set template literals for ts,tsx,js files to green for improved clarity and also fix depreciation

Hi @theohogberg , I've reviewed the changes, thank you for the contribution.


Benchmark along with a modular inference endpoint provider.

Since we are adding the inference logic for each benchmark, so why not provide a framework (like an unified framework), that provides the inference logic for any backend. Because for all the frameworks, some arguments like (prompt, temp, top_p, seq_len etc) are agnostic to framework.
So, that user can also use  ...
a very vague example:
from benchmarks import InferenceEngine

engine = InferenceEngine(engine='ctransformers', model_path=..., *args, **kwargs)
engine.generate('Hello world')

We do not requiere this, and already provided a base class (issue: #160 )with good amount of modularity. So closing this issue.


Added more translations

Includes also the .ts file for croatian  and its changes needed.

Closes also https://github.com/lxqt/sddm-config-editor/issues/21

Among new files, only hr, it, ru have non-empty translations. Is there a reason to add languages without translations?
By the way, CMake seems the future for the C++ part of sddm-config-editor - https://github.com/lxqt/sddm-config-editor/issues/20. Please also modify CMakeLists.txt.

Croatian (hr) is new, pt is done now in https://translate.lxqt-project.org/projects/lxqt-configuration/sddm-config-editor/ and hebrew partly. I added just the most common languages.
I always compiled using  qmake && make in cpp as stated in cpp/README.md
The usual
mkdir build && cd build && cmake ..  -DCMAKE_INSTALL_PREFIX=/usr  -DCMAKE_BUILD_TYPE=Debug && make -j4
works as well but language is not included then, turns back to english here.

Croatian (hr) is new, pt is done now in https://translate.lxqt-project.org/projects/lxqt-configuration/sddm-config-editor/ and hebrew partly.

Oh got it. But I think Weblate will create *.ts files when necessary? That is also what I see in ~/data/vcs/lxqt-configuration/sddm-config-editor on translate.lxqt-project.org.

works as well but language is not included then, turns back to english here.

I guess things will work after https://github.com/lxqt/sddm-config-editor/blob/master/CMakeLists.txt#L25-L29 is updated?
Another point: if you want to include Croatian translations in this PR, please add Co-authored-by: milotype<EMAIL_ADDRESS>to preserve credits.

But I think Weblate will create *.ts files when necessary?

Yes, and if this happens we have to update all those files again, that's the reason why I added already some empty files now to cover most common languages.

Co-authored-by: milotype ....

done hopefully

Will check what goes on in cmake.

I can confirm translations do not work with cmake. Left a comment in #20.

done hopefully

Somehow GitHub does not recognize that line if the second line in the commit message is not a blank line. I fixed that.
I think everything other than the cmake issue is fixed - gonna merge. Thanks for the work!

Sorry, but I have no idea how to fix so many conflicts between this pull request and commits from weblate, so I take a different route - revert this pull request in #32, merge the Croatian translation in #29 and weblate commits in #31. For remaining parts of this pull request (updating project files and .desktop), please open another pull request.

Made a new PR https://github.com/lxqt/sddm-config-editor/pull/33 including also hebrew and the clean .desktop file.


Add multi-select and select all

Look at checkbox cards https://www.radix-ui.com/blog/themes-3?tab-nav=account#checkbox-cards


Fix deprecation message from GatherV2Grad

This PR tries to fix the issue in #39701 where there are deprecation message from GatherV2Grad:
WARNING:tensorflow:From /usr/local/lib/python3.7/site-packages/tensorflow/python/ops/array_grad.py:644: _EagerTensorBase.cpu (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.identity instead.

This PR fixes the message and use array_ops.identity instead (as was suggested by message).
This PR fixes #39701.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Thanks @jaingaurav for the review. The PR has been updated with cpu constraint added. Please take a look.

Because if you don't have the CPU placement there's a risk we'll bounce the
int64 shape tensor to a GPU and back, which is pretty slow.
On Sun, May 24, 2020 at 11:39 PM Gaurav Jain<EMAIL_ADDRESS>wrote:

@jaingaurav commented on this pull request.
In tensorflow/python/ops/array_grad.py
https://github.com/tensorflow/tensorflow/pull/39731#discussion_r429755494
:

@@ -641,7 +641,7 @@ def _GatherV2Grad(op, grad):

For axis 0 gathers, build an appropriately shaped IndexedSlices.
if axis_static == 0:
if context.executing_eagerly():

 params_tail_shape = params_shape.cpu()[1:]

 params_tail_shape = array_ops.identity(params_shape)[1:]

@alextp https://github.com/alextp: Is this CPU placement necessary? I
looked at the history of this code and couldn't quite figure out why the
CPU placement is needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/39731#discussion_r429755494,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABHRNVYZVQQ76KPIWFOYDRTIHCPANCNFSM4NGGYUUA
.

--

Alex

@yongtang Can you please check @alextp's comments and keep us posted. Thanks!

ping @alextp @jaingaurav to see if there are any thing else that needs to address?


Calendar doesn't work

Describe the bug
I have installed and enabled Calendar on both my systems, but on either of them the "calendar view" does not appear anywhere, and I don't have "Calendar: Open View" when I look for it in Command Palette. Reloading the app didn't help either.
Screenshots

OS
iMac (MacOS Monterey) and MacBook Pro (macOS Ventura).
Obsidian Version
version 1.3.5 (installer)
Theme:
Default

I have the same problem. "Calendar: Open View" does appear in the keybind options for the plugin, but assigning it to a key doesn't allow it to work either. I am using Windows 11 and a Redmi Note 11 (Android), but otherwise have the same specifications as above.

Same issue
On Linux Ubuntu 22.04 with Obsidian 1.3.5, Calendar 1.5.10

Same issue

Have you checked the right side panel?
I had the same issue. Turns out I've hidden my right side panel

I face the same issue. i use windows 11, and obsidian version 1.3.7
ive looked everywhere and i cant find the calendar. Not even the command palate options.

Same issue, Windows 11 and Obsidian 1.3.7
It looks like the latest commit for this project was 9 months ago - is it abandoned?

apparently the calendar view was getting cut out due to the reduced width of my sidebar. now i can view it.
Thanks for the help!!

same issue here


Export Feature

Is there any chance we could get an export feature in this application?

Hi. Why would you need that? All data is already stored in the sqlite file.

So that if I need to redeploy on another server or just have a backup of my settings I don't have to go through and set up all my settings/links, etc. again.

Everything is saved in the mounted volume. Can you just copy files from there?
/uploads - all uploaded icons if any
config.json - your whole app config
customQueries.json - user defined search engines
db.sqlite - all apps, categories and bookmarks
flame.css - custom styles

I suppose I could, but I set a volume and mounted it to that rather than mounting it to a folder on my server. I guess I'll have to redeploy using a mounted folder instead of a mounted volume...


LAGG & VLAN status on dashboard

I'd like to see LAGG & VLAN status on the dashboard under Interfaces (or in some new panel).
In the provided screen shot, COSPIX and LAN interfaces are each VLANs which share a common LAGG interface.
Things I'd like to see on the dashboard (and this list may increase over time, too)

VLAN ID
Parent LAGG interface
LAGG parent adapters
The status of each LAGG parent adapter (UP/DOWN, link speed)

For my example, one possible solution would be to replace "Ethernet autoselect" with the parent interface. This would be VLAN-5 on LAGG-1 for example.
Right now, the LAGGs themselves can be added as interfaces under Assign Interfaces page, but once they're added, they display no useful information in the Interfaces dashboard. Instead of "Ethernet autoselect", it would be nice to see all of its parent interfaces as well, along with their link speeds and statuses.

Is there some kind of documentation regarding the development / customizing of widgets?

@botboe unfortunately not, no, it's legacy code, which so-far hasn't been very much on our radar other than performing cleanups and small rewrites.
If your looking for a simple example, this might help https://github.com/opnsense/plugins/tree/master/security/etpro-telemetry/src/www/widgets
The interfaces widget consists of https://github.com/opnsense/core/blob/master/src/www/widgets/widgets/interface_list.widget.php for the static frontend code, which has an update hook here
https://github.com/opnsense/core/blob/f394fed/src/www/widgets/widgets/interface_list.widget.php#L115
which is being served data on intervals from here https://github.com/opnsense/core/blob/master/src/www/widgets/api/plugins/interfaces.inc
using this to update: https://github.com/opnsense/core/blob/f394fed/src/www/widgets/widgets/interface_list.widget.php#L67

Thank you @AdSchellevis, after finishing my radsecproxy-plugin I will give it a try :-)

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.


Packaging/tranform into package

Someone at my organization wants to be able to use this in a project, but it's not currently set up as a pip-installable python package, nor does it have a container package to refer to it in other code. After this it's easy to install this into a virtualenv with
$ pip install git+http://github.com/richzhang/PerceptualSimilarity.git

And then you could use it in your code as
from perceptualsimilarity.models import dist_models

This changes that in the simplest way possible: by moving it all into a perceptualsimilarity directory and adding a basic setup.py to allow it to be installed. With a bit more metadata in setup.py, you could upload it to PyPI as well.
If you like this, we could also transform the scripts to entry-points that get installed on the command-line PATH when you install from PyPI as well.

We've found some issues with the import statements in the existing code...I'll get to fixing these things soon and update this PR

Thanks a lot for making the package! Was the PR fixed with changes?

No I'm sorry I've been busy due to release pressure at work. There's a few
things that got broken when I changed this, but my boy Karl assures me that
he has fixes. Once I get back from vacation in a few weeks I'll get that
integrated, and I'll push my changes.
Sorry that the vicissitudes of work life keep me from following up on my
promise, but I'll get there 😉
On Mon, Sep 3, 2018, 21:28 Richard Zhang<EMAIL_ADDRESS>wrote:

Thanks a lot for making the package! Was the PR fixed with changes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/richzhang/PerceptualSimilarity/pull/13#issuecomment-418237790,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_aH_I_6nznXQnKwhR5pF2Sm4olW9ayks5uXgGJgaJpZM4VUkok
.

Of course I understand that. Thanks so much!

Hey just saw this, I can give this another go if you're interested, but this PR was so old it was stale.
Are you still interested in making this into a pip-distributable package? So it go on PyPI and such?

Hi, I finally got around to this. pip install lpips :)


Add Poker Games Rules

Put poker game rules directly within poker game. This could be a documents or a screen with all of the rules listed.
Estimate - 150

F16 CLOSED: This has been implemented


Add (remainder) to the sicp on BiwaScheme website page

In section 1.2 of SICP they use the procedure remainder, which in Biwa should be the same as mod. Can you add
(define (remainder a b) (mod a b))
to the page?

Correction: it should be the same for positive integers, which I think it's the case every time in SICP.

There is also a need for modulo function, it's not the same as JavaScript %.
it took me a while to understand how it works.
Scheme module works like this (taken from my Scheme interpreter):
(define (modulo a b)
  "(modulo a b)

   Function return modulo operation on its arguments."
  (typecheck "modulo" a "number" 1)
  (typecheck "modulo" b "number" 2)
  (- a (* b (floor (/ a b)))))

Also not that you can use point free style:
(define remainder mod)

Hmm R7RS Small defines six functions (and three aliases) for division. I'll try implementing them.
(floor/ n n )
(floor-quotient n1 n2)
(floor-remainder n1 n2) == (modulo n1 n2)
(truncate/ n1 n2)
(truncate-quotient n1 n2) == (quotient n1 n2)
(truncate-remainder n1 n2 ) == (remainder n1 n2)


Faraday tech sessions

We have two session in the Faraday Tech Series:
Tues 2nd June 10:00-11:30. Python Battery Mathematical Modelling (PyBaMM) Part 1: Demonstrating the basics of PyBaMM and how you can use it. Register here: PyBaMM, Part 1
Tues 9th June 10:00-11:30. Demonstrating more advanced features of PyBaMM. Register here: PyBaMM, Part 2
In this session we will demonstrate the speed and flexibility of PyBaMM through a series of case studies, followed by a Q&A discussion on how to utilise PyBaMM in your research.
The idea is the first of these will basically be a condensed version of the user workshop and the second will be more in depth with some case studies. I think it makes sense to do a new release before this.
Possible timetable could be:
2nd June
10:00-10:05 - show how to install/point to website
10:05-10:20 - pybamm overview (explain motivation/core idea. show off functionality and give an outline for this and the next session)
10:20-10:55 - running a simulation, running an experiment, plotting etc.
10:55-11:15 - changing parameters, settings etc.
11:15-11:30 - questions/discussion
9th June
10:00-10:05 - intro/welcome
10:05-11:00 - case studies (@ferranbrosa @TomTranter ?)
11:00 - 11:15 - workflow for contributing
11:15-11:30 discussion
I'm happy to do the first session (unless anyone wants to volunteer for parts of it!), but it would be good if some others could be online to help troubleshoot/answer questions live. The plan is to run on teams/slack as before.
Things to include in release

update parameters cli so you can grab an entire directly (just so it is easy for users to see e.g. all lithium-ion parameters in their local directory)
interactive plot (#985) might be nice, but not essential
should we add a dimensional "basic" DFN model so that people who aren't familiar with non-dimensionalisation can hack away at it? could even define params locally to show how to truly do thing self-contained, though maybe this is best left as a separate example (by this I mean explicitly doing a = pybamm.Parameter("name") rather than using pybamm.standard_parameters, I think having the actual values defined in the script too might be too much)
???

non-dimensionalisation is definitely a popular issue

non-dimensionalisation is definitely a popular issue

as in people find it a barrier to entry for understanding/contributing? or debate about which is the "best"/preferred way to scale things?
I think the former is important for us, but I'd like to avoid discussion of the latter

Agreed – both are interesting to pursue, but for the workshop, an example to show how it works is all we need for now.
From: Robert Timms<EMAIL_ADDRESS>Sent: 15 May 2020 10:31
To: pybamm-team/PyBaMM<EMAIL_ADDRESS>Cc: Edge, Jacqueline<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [pybamm-team/PyBaMM] Faraday tech sessions (#998)
This email from notifications<EMAIL_ADDRESS>originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
non-dimensionalisation is definitely a popular issue
as in people find it a barrier to entry for understanding/contributing? or debate about which is the "best"/preferred way to scale things?
I think the former is important for us, but I'd like to avoid discussion of the latter
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/pybamm-team/PyBaMM/issues/998#issuecomment-629134380, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJMVMSXMDPI2BHFXE32SA6TRRUDTRANCNFSM4NBMLYDA.

ok. I think we probbaly don't want to go down the route of showing how the equations are non-dimensionalised in the workshop, just point out that the models in pybamm are dimensionless. Then point out we have the dimensional "basic" there for people to use if they wish. This won't have the flexibility of the submodel structure, but a possible workflow for people learning/contributing who aren't familiar with non-dim is -> follow/edit "basic" model to do what they want -> ask us for help with non-dim after -> ask for help turning their new addition into a submodel which fits into the structure. Hopefully as we get more users there will be more people that can be asked for help at each stage and the burden on us will be smaller.

The timetable looks good to me! I think an interesting case study could be how to add a new parameter set. Some people might be working with own parameters or from a paper that is not included and defining them in the main script takes a lot of space.
For this, I think the update parameters cli would be necessary so we can show how to incorporate the new parameter set. We would also need to have the blank templates available somewhere. Also related to that, are we thinking of changing the format of the parameter sets (as @tinosulzer suggested over Slack)? Is it worth pushing it to have it for the workshop or given that it would only be a change in the template it is OK if we change it afterwards?

should we do #920 before this, just so that all user interfaces are in dimensional form?

Hey guys, I'm happy to contribute to the session on the 9th? Is there an outline for what we want to include and for how long to spend on each case study?

Thanks @TomTranter . I think if we aim for ~25 mins per case study that would be good (shorter is ok too, I think it it fine to finish early and leave more time for discussion/people to leave early).
I think @ferranbrosa was going to do something related to parameters?
In terms of what to cover I guess it is pretty open. Maybe if you have a good example of using pybamm to do something outside of just running a simulation that would be good (e.g. your rate capability example or similar?). But basically do whatever you think is interesting and goes a little beyond just using the defaults


[BUG] Error waiting for dynamic schema to be populated for machine pool is seen initially when creating an RKE2 cluster, before the cluster proceeds provisioning

Rancher Server Setup

Rancher version: 2.7-head commit id: cd1a716
Installation option (Docker install/Helm Chart): Helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2 - v1.24.10+rke2r1

Information about the Cluster

Kubernetes version: v1.25.7+rke2r1
Cluster Type (Local/Downstream): Downstream - 1 etcd+cp and 3 worker nodes

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): Admin

Describe the bug
[BUG] Error waiting for dynamic schema to be populated for machine pool is seen initially when creating an RKE2 cluster, before the cluster proceeds provisioning
To Reproduce

Deploy an RKE2 cluster.
Error waiting for dynamic schema to be populated for machine pool is seen initially when creating an RKE2 cluster, before the cluster proceeds provisioning

Result

Rancher server logs

2023/03/15 04:45:09 [ERROR] error syncing 'fleet-default/sowmya-rke2-3': handler rke-cluster: waiting for dynamic schema to be populated for machine pool sowmya-rke2-3-pool1, requeuing

Expected result:
Initial Error should not be seen on the cluster. The cluster must go into Provisioning directly.

Test Environment:
Rancher version: v2.7-head 8835c43
Rancher cluster type: HA
Docker version: 20.10
Downstream cluster type: rke2

Testing:
Tested this issue with the following steps:

Deploy an rke2 cluster
Verify there are no errors while cluster is provisioning
Verify cluster comes up active

Result
The error is no longer seen but I did notice that in 2.7.0, once creating the cluster, the cluster status goes from provisioning to updating. In 2.7-head, I noticed the cluster went into reconciling first and then to updating @jakefhyde with the new dynamic schema changes, is it possible to address this issue?

Sounds good, new ticket created here
Closing this issue as new issue is being tracked in ticket above.


make bootstrap is throwing error.

Bug Report
When running the command make bootstrap It is throwing an error below is the traceback
.
make bootstrap
Preparing media volume...
Preparing db volume...
Stopping edustation-richie-site-factory_db_1 ... done
Creating edustation-richie-site-factory_node_run ... done
yarn install v1.22.19
warning package.json: No license field
warning<EMAIL_ADDRESS>No license field
[1/4] Resolving packages...
success Already up-to-date.
Done in 1.33s.
Creating edustation-richie-site-factory_node_run ... done
yarn run v1.22.19
warning package.json: No license field
$ webpack --config node_modules/richie-education/webpack.config.js --output-path ../backend/base/static/richie/js/build --env richie-dependent-build --env richie-settings=overrides.json
assets by status 9.22 MiB [cached] 1177 assets
asset index.js 4.9 MiB [compared for emit] (name: main) 1 related asset
orphan modules 1.07 MiB [orphan] 605 modules
runtime modules 8.62 KiB 14 modules
javascript modules 9.93 MiB 2246 modules
json modules 553 KiB
  modules by path ./node_modules/i18n-iso-countries/langs/ 332 KiB
    ./node_modules/i18n-iso-countries/langs/af.json 4.44 KiB [optional] [built] [code generated]
    ./node_modules/i18n-iso-countries/langs/am.json 3.5 KiB [optional] [built] [code generated]
    + 73 modules
  modules by path ./node_modules/richie-education/ 212 KiB
    ./node_modules/richie-education/js/translations/ar-SA.json 25.7 KiB [optional] [built] [code generated]
    ./node_modules/richie-education/js/translations/es-ES.json 26 KiB [optional] [built] [code generated]
    + 6 modules
  modules by path ./node_modules/i18n-iso-countries/*.json 8.93 KiB
    ./node_modules/i18n-iso-countries/codes.json 8.56 KiB [built] [code generated]
    ./node_modules/i18n-iso-countries/supportedLocales.json 386 bytes [built] [code generated]
webpack 5.88.1 compiled successfully in 40815 ms
Done in 42.47s.
Creating edustation-richie-site-factory_node_run ... done
yarn run v1.22.19
warning package.json: No license field
$ sass scss/_main.scss ../backend/base/static/richie/css/main.css --load-path=node_modules
Warning: [DEPRECATION] - $palette will be removed on the next major release. Use map-get($theme, 'colors') instead.
    richie-education/scss/colors/_palette.scss 7:1  @import
    scss/_main.scss 13:9                            root stylesheet

Error: Undefined variable.
  ╷
8 │ $palette: map-get($theme, 'colors') !default;
  │                   ^^^^^^
  ╵
  richie-education/scss/colors/_palette.scss 8:19  @import
  scss/_main.scss 13:9                             root stylesheet
error Command failed with exit code 65.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: 65
make: *** [Makefile:119: build-sass] Error 65
ubuntu@rechie:~/edustation-richie-site-factory$

Problematic Behavior
A clear and concise description of the problem you encountered.
Expected behavior/code
A clear and concise description of what you expected to happen (or code).
Steps to Reproduce

Create a site with make add-site
Run  make bootstrap

Environment

Richie version:2.24.1
Platform: Linux Ubuntu 20.04

Hi @amitv9493.
Indeed, an sass import is missing within our cookiecutter template. We will fix it at the next Richie release.
From your side, you can fix this issue by adding those imports at the top of your /sites/<YOUR_SITE>/src/frontend/scss/main.scss file
// Import Cunningham tokens and icons
@import '@openfun/cunningham-react/dist/icons';
@import '@openfun/cunningham-react/dist/style';
@import 'richie-education/scss/vendors/cunningham-tokens';
@import 'richie-education/scss/vendors/css/cunningham-tokens';

...

Thanks for the help @jbpenrath


Fix validator for elasticsearch strategy

Description

Related Issues

Fixes #647.
Besides the fix, the PR fixes an issue with generated payload for strategy attribute that prevented the provider from sending correct values for strategy (strategy should be specified as "strategy":{"grow_and_shrink":{}} while it used to be specified as "strategy":{"grow_and_shrink":null}}).
Motivation and Context

How Has This Been Tested?

Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improves code quality but has no user-facing effect)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation

Readiness Checklist

[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] All new and existing tests passed

@tobio , can you please have a look again - I changed the implementation a bit.


[3.x] Project manager code cleanup

The goal of this PR isn't to change much of the functionality of the project manager, just to tidy up the code and make it more understandable.
This was approved on rocket chat a couple of weeks ago.

Screenshot

The PR mostly consists of:

Remove the massive and cluttered ProjectDialog and break it into smaller parts (To each problem, its own solution)
Combine project manager's class's declarations and definitions when possible (less duplicated code) (only the project manager's declaration is in its header)
Other minor readability improvements

Closes https://github.com/godotengine/godot-proposals/issues/2483
I'm opening this against 3.x since my computer doesn't support vulkan so I can't test these changes against 4.0. Once this PR is  ready and approved I can do my best to forward port it.

I'm going to close this, at least for now as I don't feel like working on it and there's been a number of changes to project manager from 3.x -> master which it'll make it annoying for me to forward port, especially because I can't test the master branch right now since my computer doesn't support Vulkan. Anyone can pick up where I left off if they feel like it.


Docs: Update postgres-on-docker readme

Change-Id: I73aed93d00f3d7f81c0b8f1f3eec548e1194ad1d

Code Review comments can be found at https://gerrithub.io/q/I73aed93d00f3d7f81c0b8f1f3eec548e1194ad1d


QRCode is not found in .NET 7

I just upgraded my project to .NET 7 and this is not working, QRCode is not found.
When is this going to be compatible with .NET 7 ?
Thanks !

Same problem here in version 1.4.3, downgrading to 1.4.2 solve for me.

Same issue when using with .Net 6 version 1.4.3 works fine with .Net 5, after upgrade to .Net 6 I needed to downgrade to 1.4.2
The issue is related to https://github.com/codebude/QRCoder/blob/master/QRCoder/QRCode.cs#L9 which makes it .Net 6 windows only. Be good to know why?

still not found with .NET 7

Same issue when using with .Net 6 version 1.4.3 works fine with .Net 5, after upgrade to .Net 6 I needed to downgrade to 1.4.2 The issue is related to https://github.com/codebude/QRCoder/blob/master/QRCoder/QRCode.cs#L9 which makes it .Net 6 windows only. Be good to know why?

System.Drawing is depreciated starting .NET 6
A reimplementation with a open source alternative is necessary.
A PR using SkiaSharp exists but I don't know if it is going to be merge any time soon

Same issue when using with .Net 6 version 1.4.3 works fine with .Net 5, after upgrade to .Net 6 I needed to downgrade to 1.4.2 The issue is related to https://github.com/codebude/QRCoder/blob/master/QRCoder/QRCode.cs#L9 which makes it .Net 6 windows only. Be good to know why?

See: https://github.com/codebude/QRCoder/issues/361#issuecomment-992152570

See my solution: #450 (comment)

On NET6 I had this problem. In project settings, I changed Target OS from None to Windows and the error went away.


Fix unit tests

Coverage increased (+1.009%) to 35.207% when pulling e68e0b9b8f9c2ed5dafd840ac2d9f8167ccd78c7 on fix-notification-service-test into 52f68810264ddd101b7913c805012b000624c4ab on master.


Migrate from Akka to Pekko

Thanks for your pull request.  Please review the following guidelines.

[ ] Title includes issue id.
[ ] Description of the change added.
[ ] Commits are squashed.
[ ] Tests added.
[ ] Documentation added/updated.
[ ] Also please review CONTRIBUTING.md.

This is great but I don't see any CI build results here.  Can we setup a CI build?


USD Value Display Not Updating for STX and Other Tokens

The displayed STX USD value isn't updating to current pricing.
It appears other token USD values aren't updating either. This could be expected with $ALEX and ALEX exchange tokens as pools were temporarily closed and token migrations are taking place.

Additional context https://github.com/leather-wallet/extension/issues/5004

Another screenshot several hours later. STX USD value remained the same.

I am not seeing any errors in the console.

if those 451's are causing this it is odd they are seeing a dollar quote at all? that is a localization restriction.
We should show a loading error and/or no price quote when the required endpoint can't be reached for a price update.

This seems like an edge case in which 451s are encountered but only after the user is able to load balance-related data successfully? I would indeed expect the balance to simply error out if we aren't able to refresh the data.
@fabric-8 do we have design guidance for the error state of balances? I can't recall personally if we've produced that yet.

@markmhendrickson We did capture this case in the past, but didn't fully conclude and wrapped up temporarily with the newly added loading states.
Since this is affecting USD values specifically, how about we:

Don't display USD values within the affected token balances
Give the user a heads-up in the context of the total available balance, ie by changing the color + adding an indicator icon which upon hovering reveals further information

I like it! Though it may be more generic and accurate to say Value may be inaccurate due to issue with loading new data for whenever we need to use this pattern for any data across the UI that fails to refresh?
Also, do we need a failure state for when the data can't be pulled for the first time i.e. when we don't have any previously cached value to show?


add round to the calculation of the currentIndex in ExpandingViewController

Thx for this cool library. I'm trying to add to my project.
Right now I have an issue with the currentIndex. When I peek at the card, the collectionView.contentOffset.x is 221.5, but when I go to the ExpandingTableViewController and then return, the collectionView.contentOffset.x changes to 221.0. This leads to currentIndex pointing at the previous card.
I guess it could be easily fixed by rounding the result.

I can't repeat issues in demo example. What device are you using ?

I'm testing it on an iPhone 6s. Your demo runs fine.
I guess I have some minor misalignment in my UI.
Nonetheless I thing that rounding the currentIndex value would be more appropriate than truncating the value.

Thanks! Version 0.0.6 works fine now.


Update imagePullPolicy to Always

https://github.com/HobOps/helm-charts/blob/dd22b7e144460e0b4530bb27499d3ff391dd0df5/baseline/values.yaml#L10

Done in https://github.com/HobOps/helm-charts/issues/19


DDR3 decode: allow CS# to not be specified (assume chip is always selected)

Never seen this actually used. WONTFIX


Add ability to disable log parameters values

Passwords and any confidential info can be accidentally logged if parameter values are logged. We can put an attribute [NoTrace] but I think can be better to disable it globally. A new value on FodyWeawers.Xml will be also dangerous because an admin user can comment this 'disable' option.
An attribute by assembly?
Thanks for your work and your time!!

I can add an attribute, but I don't see how we can mark the confidential parameters. The weaver needs to decide whether to include it the param arrays or not. Alternatively the log adapter can decide (this time it gets the data, but it won't write it to the log), but the question still remains, how to decide what is confidential.

Added the possibility to use NoTrace on parameters and use NoReturnTrace on method to disable return value tracing.

Cool!
But can you tell how I use these in my config?
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">   <Tracer adapterAssembly="Tracer.NLog" logManager="Tracer.NLog.Adapters.LogManagerAdapter" logger="Tracer.NLog.Adapters.LoggerAdapter" staticLogger="Tracer.NLog.Log" traceConstructors="true" traceProperties="false">     <TraceOn class="private" method="private" />   </Tracer> </Weavers>


feat(Edr API): associates contractNegotiationId  EdrEntry

WHAT
Adds contractNegotiationId as additional field in EpointDataReferenceEntry.
Changes:

Supported the new field in the EDR InMemory Impl
Supported the new field in the Sql Impl
Add the additional filter  in the edrs endpoint of querying EDRs

WHY
enabling correlation between POST|/edrs and GET|/erds
Closes #836

cc/ @matgnt


Randomise the ordering of the C unit tests.

[x] tests are added or updated

This PR provides the capability to randomise the ordering of the C unit tests.  This can be used to help detect inter-test dependencies.
By default, the order randomisation is disabled.  It can be turned on by setting the OPENSSL_TEST_RAND_ORDER environment variable.  If this environment variable is set to a positive numeric value, that value is used as the seed (which allows test runs to be accurately repeated). Otherwise, the current time is used as a seed.  In either case, the seed used is printed out at the top of the test's run.
The bioprinttest.c has inter-test dependencies which have been addressed as well.

The Travis failures seem to be unrelated to this change.
The big question is should the randomised tests be made default (& explicitly disablable) rather than disabled but enableable?  There is some small potential for confusion from the output as a downside.  The upside is the knowledge that the tests don't interact with each other (at least to some degree).
This will become more important when more extensive interop testing is undertaken.

I think the default really has to be repeatable output and therefore non-random testing.
But a CI build that turns on randomization is very worthwhile.

I've updated the output and added randomised ordering to one of the Travis tests.

@pauli-oracle, if you want to have that Travis build job exercised, please add the following line to your last commit message:
[extended tests]

Hmmmm, I must have missed something with the Travis config.
I'll make the change in the morning.

Hmmmm, I must have missed something with the Travis config.

The jobs with EXTENDED_TESTS=yes will only actually be performed with the last commit message contains [extended tests].

I'll make the change in the morning.

Is it morning yet?  ;-)

In @pauli-oracle's timezone it is pre-6am so from his view not yet "morning".

Okie

I've made the update.  I perhaps should have modified a different test so the randomised tests always run.
Tim, your up early :)

reconfirm

Merged.  5584fd7f3d306ea0f610be9d69e64050421b2a0d and 4861933a135658a85eaaab80ce2133af4a9d413c


Title should be same as menu. The tab name should be 'List', 'Edit', 'Create'.

-Title should be same as menu. That means it should be dynamic. If change the menu name then title will be changed automatically.

Please contact with Mohit for these changes. He already implemented it in PMIS.

fixed

Solved


Installation guides should list OS prerequisites for installation

The laptop installation guide is missing the information that install needs to be done on a linux OS.
Windows installation instructions should be provided as a separate section.
The same should be applied for the medium sized installation guide. Some parts of the application may not run on windows. The appropriate sections must be updated to indicate this.

Issue moved to project-sunbird/project-sunbird.github.io #23 via ZenHub


Fails to work when GitHub Token is read only

The action fails when the github token is read only and throws Error: HttpError: Resource not accessible by integration
This happen due a change in GitHub Actions: Workflows triggered by Dependabot PRs will run with read-only permissions

Thanks for reporting the issue.
I'll try to deal with it now.

@leosuncin
It turns out that this problem cannot be solved.
This is due to the fact that we are writing to checks, and we should not include in this action whether we have permission to do so or not.
Since we are now creating actions to get permissions, it seems reasonable to change this action to run only if we have write permission on checks.

I now understand that there is no way to find out the permissions of GITHUB-TOKEN.
I also understand that a job can't skip itself when it doesn't have permissions.
Can you please try to work around the current situation in the following way?
     - run: yarn test --coverage --json --outputFile=result.json --testLocationInResults
        id: test
        env:
          CI: true
      - uses: tanmen/jest-reporter@v1
        if: failure() && steps.test.outcome == 'failure'
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

I also found it annoying and responded by letting it succeed and skipping it.
If you have any comments, please feel free to create another issue :)))
https://github.com/tanmen/jest-reporter/commit/bff08bbc39ba5d1bb6ac54436fa8558baac18ced

The action needs the following permissions:
permissions:
      contents: read
      checks: write
      pull-requests: write

Reference: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
@tanmen, I will open a PR to update the README


How can I set value for required argument using config file?

Seems it's not working now

fixed in 0.6.0 release