Support custom 'wei' name in charts and stats

Description
We've added an ability to customize wei name on frontend here: https://github.com/blockscout/frontend/pull/1517
It's necessary to support it on charts and stats via NEXT_PUBLIC_NETWORK_CURRENCY_WEI_NAME env variable

Technical view:
Json config in stats supports templating from field template_values. Just add variable wei_name there and template average_gas_price chart:
https://github.com/sevenzing/blockscout-rs/blob/d35d07606ffdb95afa1242469f47b4e9e70293f2/stats/config/charts.json#L198


Transient PAPI errors are not retry-able

bossman apply evaluates if a revision should be applied based on the presence of git notes.
When a transient API error occurs (e.g. 500) during the property hostname or rule tree update,
bossman stores notes, setting has_error: true. The next apply command considers that the
revision had errors and shouldn't be retried.
We should instead be storing notes with has_error: true only when the error is caused by
invalid content in git (and it would be useless to retry).

fixed in 0.35.2


Boba Gateway - Close Network Switcher (Rinkeby)

When you change your mind of switching networks, the pop-up only has one option to close. Many users just want the pop-up to close, when they click randomly on the page.

The network switcher will be (removed for most users) within the next few days - they will choose networks by choosing either gateway.boba.network or gateway.rinkeby.boba.network - this will simplify the user experience.


Gene expression tool

I am worried that it is not obvious how to use the Diff. Expression Import tool.  First you must know that you have to click on the row with the gene statistics.  Then you must know that you have to click the gene list in the green column in order to see your data.  To my knowledge, this is the only app where you have to click on the green bar in order to get it to work.

I think it would be good to have an "eye" icon above the table that directly take you to the gene list page with all the comparisons in the experiment.
-Maulik

We have the view and Experiment icons at the top now, which show the gene list without selecting the conditions from the table below.
-Maulik


Make executor use multiple threads for pod update + delete

On large clusters (or when there is a very high pod churn).
Doing these operations in a single thread means the executor can never keep up:

As it can only process things as fast as the kube-api responds.
Meaning at 30ms response time, the executor can only handle updating/deleting 30 pods/second

Making the executor use more than 1 thread to handle update + delete operations

The number of threads can be configured, to suit different needs

Set the concurrency limits in the ratio explained about - Although I don't think following the exact ratio above is 100% relevant.
We have discussed and ideally we'd move to a global concurrency limit, however that'd be a larger change than this PR.

This would be simpler than having several independent values that makes it hard to know what the right value is


qt6.qtbase: fix macdeployqt would not find qmlimportscanner

Description of changes
The qmlimportscanner tool is provided by qtdeclarative. Because of the modularized installation in Nix, it can not be found via the usual mechanisms.  Also, hard-coding it like we do for Qt5 would also not work, as it would require making qtbase depend on qtdeclarative.
Here we add an option to provide its location via the environment. While this means macdeployqt does not work out of the box, it provides a workaround for users.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I just pushed some tweaks.
I have verified in another project that with all these tweaks, using macdeploytool produces valid MacOS app bundles that are usable in foreign installations (without Nix).

This closes #63093

Any news on this? I'd love to get this in as I have a PR on another project pending on these changes. But of course take as much time as you need, the work you're all doing on taking care of Nixpkgs is wonderful! :pray:

Any news on this? I'd love to get this in as I have a PR on another project pending on these changes. But of course take as much time as you need, the work you're all doing on taking care of Nixpkgs is wonderful! pray

@K900 might be too busy to take a look, let's merge this and see.

Thank you so much @NickCao !


qpp update

Hi,
By when we can expect the QPP validation tool update with 2022 changes?

Any update on this?

Hi,
We are waiting for QPP tool update with 2022 changes. Could you please let us know if there will be any ETA.


DISCSUBTITLE

First of all I have to say that the 'Material' skin has given my music server a new lease of life.
Realy fantastic.
Here is my question:
With an album that consists of several CDs (multi CD set) the Disc number, Total number of tracks and Total playing time is shown, but not the DISCSUBTITLE.
Is there a setting that i can set to show it?
Kind regards,
Wessel

Please look or existing, even closed, issues before creating new ones. Duplicate of #257

Thank you,
Sorry for the inconvenience.
I don't know about api but who can change it?
Regards,
Wessel
Op do 29 jul. 2021 om 15:57 schreef CraigD @.***>:

Please look or existing, even closed, issues before creating new ones.
Duplicate of #257 https://github.com/CDrummond/lms-material/issues/257
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CDrummond/lms-material/issues/510#issuecomment-889166917,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVAQMNMQ7EPO6JWQ5NBNQ6TT2FM5BANCNFSM5BGO7TNQ
.


Replace PROJECT_NAME with user-supplied name

In README.md: use Title Case and replace '-' with spaces.
In package.json: use kebab-casing (ensure it's lowercase, but it's likely to be supplied in this format already.)

implemented


Scrapoxy 4 is coming

Dear Webscraping Community,
Scrapoxy 4, the super proxies aggregator, is currently in heavy preparation and will soon be released. This latest version represents a full rewrite, the results of almost two years of dedicated investment, and is tailored for the webscraping industry.
I would like to thanks all the contributors who have helped me during these years to make this project a reality.
Today, I am now fully dedicated to this project, for the next years ahead thanks to Wiremind.
The tech stack is built on the latest NodeJS, Typescript, utilizing the NestJS and Angular frameworks.
Here are the included features:

Support for Cloud providers such as AWS, Azure, GCP, OVH, Digital Ocean, and many more on the horizon
Compatibility with Proxies providers like Zyte, Rayobyte, IPRoyal, Proxyrack, with additional providers being added regularly
Integration with Hardware providers like Proxidize
Seamless compatibility with free HTTP/HTTPS proxies
Intelligent traffic routing across proxies, following a robust anti-ban strategy
Effortless management of sticky sessions (including web browser support)
Autoscaling proxies to optimize costs with both upscale and downscale capabilities
Real-time request and response rewriting on-the-fly
Modern authentication methods, including Google and Github
End-to-end encryption of traffic between the master and proxies
Distributed architecture on Docker, Kubernetes, RabbitMQ and MongoDB
Stability with more than 500 end-to-end tests
And there's a lot more exciting features in the pipeline!

As always, Scrapoxy remains open source, ensuring that the web scraping community can continue to benefit from its capabilities.
Stay tuned Github for the official release announcement, and I can't wait to see how Scrapoxy 4 elevates your webscraping projects to new heights!
Fabien.
PS: Here are some screenshots of the 4.0.0 version running in a production environment
Modern Authentication with Google (or Github)

Support multiple projects

Support multiple connectors and regions in a single project

Support also proxies providers (residential network here with proxyrack)

Many options are availables

Advanced metrics

Proxies coverage over the world

🙌

yeah this looks interesting and we are very excited. Any tentative timeline when 4.0.0 will be releasing?

idea is to release the next very in between october and november

Can't wait @fabienvauchelles 😍

Hi,
I'm looking for beta testers for the next version.
Are you interesting @aloysius-tim ? Release for that should be in the next week.
Thanks!

I'm in :)

Hey @fabienvauchelles,
Yes would love to beta-test it :-)
Looking forward to it
Thanks

Hey! I'm very happy with the development of version 4! Will there be support for brightdata too? And do you have already a set date to launch it?
Looking forward to it
Thanks :))

@fabienvauchelles, will help beta test on Azure if that's something that's needed.

@GRodrig  it will be available in this week :)
However, there is no Brightdata support yet. I just have to discuss with Brightdata for that.
@matt-gorman for sure! Azure will be in the release.

Hey there! 🌟 Exciting news! Scrapoxy 4 is ready to rock 🚀. Check it out at Scrapoxy.io (explore the "get started" guide, deployment documentation, and more 📚).
I can't wait to hear your feedback on this new version! Send me your coolest screenshots with as many proxies as possible! 📸💻
Join the Discord community if you have any questions or just want to chat. You can also open a GitHub issue for any bug or feature request 🐞✨.
See you soon!  😎
Fabien

Hi @Prozpe , @josselinlbe , @aloysius-tim , @GRodrig ,
Did you have any chance to try ?
Your feedbacks are precious!
Thanks


Compatibility with empty chapters

Hi,
Sorry to bug you again!
In GitBook (combined with the plugins ungrey and toggle-chapters), it is possible to define empty chapters in SUMMARY.md like this:
# Summary

* [Welcome](README.md)
* [Ascii](ascii.adoc)
   * [rST](sdk.rst)
* New Section
   * [Chapter 1](chapter1.md)

In this way, we can create a chapter which acts like just a folder for other chapters.
But when I enable the ToC in atom, it removes the lines with no link syntax. Same thing if I change it back and force reload it, it overwrites the SUMMARY.md by removing that particular line(s).
Could you please check if you could make the plugin ignore the lines with no link syntax?
Thanks a lot!
Cheers,
Imre

Sure, I can see about ensuring it doesn't remove items when it persists the file. For showing them it sorta depends on how gitbook-parsers handles it for when I finally have time to work on #56.

Awesome, thanks a ton! :beers:

There's a branch up now issue-56 which implements #56, that solves this problem...sort of... currently it still assumes that the file name should exist, so double clicking on the element and telling it to create the file will cause a :boom: .
Working on that. Also some weirdness in Linux with the drag + drop, but it seems mostly alright. I'll work on getting it stable in the next couple of days, but feel free to give it a shot if you want to try it out.
apm rebuild or npm install will probably be necessary as I added an npm module.

Thanks for working on this!
Yup, tested it, and it works, mostly.
Basically, if you don't poke around the ToC, just displaying it for reference, or opening files from it, it's fine.
As soon as you start drag+dropping chapters, it immediately creates a new_section folder and puts it in the summary like this:
Before:
* [Welcome](README.md)
* [Ascii](ascii.adoc)
   * [rST](sdk.rst)
* New Section
   * [Chapter 1](chapter1.md)

After:
* [Welcome](welcome.md)
* [Ascii](ascii\README.md)
  * [rST](ascii\rst.md)
* [New Section](new_section\README.md)
  * [Chapter 1](new_section\chapter_1.md)

Note, that it also created a folder for the file named ascii.adoc, although it has a valid source file.
The resulting folders (ascii and new_folder) are empty, so I assume it will break the references.
Cheers,
Imre

The behaviour you're describing is actually expected, but there's a config setting to turn it off called "Reorder Files on Table of Contents Change". Let me know if turning that off doesn't disable that.
And the empty folders are fine, as soon as you double click on a reference it will ask you to create the file if it doesn't exist. (It should, however, move any files that already existed).

Another update, I pushed a few commits about this, now it won't write (null) after empty filenames and it'll properly not attempt to open the editor if you double click on it.
Outstanding thing:

The moving of files is based on the filename, and not any other kind of identifier, so I'll have to fix that. Hashing the name + the filename probably.

I tried to test it, but now the ToC won't show (empty). I thought it was that I had 2 projects open.
I removed one of them, but still not showing.
Tried Add as a chapter function, following error:
Uncaught TypeError: Cannot read property 'length' of undefined
.atom/packages/atom-gitbook/lib/helper/summary-parser.coffee:88
Hide Stack Trace
TypeError: Cannot read property 'length' of undefined
    at SummaryParser.module.exports.SummaryParser.addSection (file:///C:/Users/.atom/packages/atom-gitbook/lib/helper/summary-parser.coffee:64:51)
    at Object.module.exports.addFileAsChapter (file:///C:/Users/.atom/packages/atom-gitbook/lib/main.coffee:99:12)
    at HTMLOListElement.subscriptions.add.atom.commands.add.atom-gitbook:add-file-as-chapter (file:///C:/Users/.atom/packages/atom-gitbook/lib/main.coffee:52:106)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\atom-environment.js:1019:28)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
    at EventEmitter.ipc.sendSync (C:\Users\AppData\Local\atom\app-1.5.3\resources\atom.asar\renderer\api\lib\ipc.js:21:31)
    at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\AppData\Local\atom\app-1.5.3\resources\atom.asar\renderer\api\lib\remote.js:143:29)
    at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\context-menu-manager.js:156:33)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentContextmenu (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\window-event-handler.js:250:47)
    at HTMLDocument.<anonymous> (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\window-event-handler.js:3:61)

Tried to force reload ToC, following error:
Uncaught TypeError: Cannot read property 'length' of undefined
.atom/packages/atom-gitbook/lib/helper/summary-parser.coffee:189
Hide Stack Trace
TypeError: Cannot read property 'length' of undefined
    at SummaryParser.module.exports.SummaryParser.organizeFilesFromTree (file:///C:/Users/.atom/packages/atom-gitbook/lib/helper/summary-parser.coffee:135:5)
    at NavigationPane.module.exports.NavigationPane.refresh (file:///C:/Users/.atom/packages/atom-gitbook/lib/nav-pane.coffee:31:18)
    at AtomGitbookView.module.exports.AtomGitbookView.refresh (file:///C:/Users/.atom/packages/atom-gitbook/lib/atom-gitbook-view.coffee:22:14)
    at Object.module.exports.forceReloadToC (file:///C:/Users/.atom/packages/atom-gitbook/lib/main.coffee:136:19)
    at atom-workspace.subscriptions.add.atom.commands.add.atom-gitbook:force-reload-toc (file:///C:/Users/.atom/packages/atom-gitbook/lib/main.coffee:48:97)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (C:\Users\AppData\Local\atom\app-1.5.3\resources\app.asar\src\atom-environment.js:1013:28)
    at emitOne (events.js:77:13)
    at EventEmitter.emit (events.js:169:7)

Thanks!

@nagim - Is this using the same summary file earlier in the issue thread or a different one?

No, it's another one:
= Summary

. link:README.adoc[Welcome]

Shouldn't be a problem with it.

Hmmm, that's odd. I'll have a look.

Hmm, the adoc file is working for me.

I'm using book.json to point directly at the summary.adoc file there, and it appears to load okay. Can you give me any more information on the issue?
There is still a secondary issue with Adding as chapter, in that it assumes the file is a markdown file and formats the output accordingly which is a problem. I think I'll open up a second issue for that and merge in #56.

Hi,
Thanks a lot for the efforts!
I've not had the time to test it out fully, but I will.
However, I noticed that the "Insert as a GitBook include" function (which
is very handy, by the way), inserts include path with wrong slashes.
{% include "....\ instead of {% include "../../ which causes builds to
fail (online). Also, absolute paths might be more useful, if we move around
the doc files, it wouldn't break the reference to the includes.
Thanks again!
Cheers,
Imre

Hmm, are you on Windows? The paths are just generated from whatever Atom reports the path to the file is:
https://github.com/cthos/atom-gitbook/blob/master/lib/main.coffee#L119
Should be relatively easy to normalize those to forward slashes.
As for the relative path, that's there because the absolute path would need to be normalized from the project root, right?

Yes, forgot to mention, I'm on Windows. I think it should be fixed to
forward slash, because GitBook won't accept anything else, regardless of
the used OS.
Well, for GitBook, absolute paths are resolved to the project folder, so
instead of {% include "../../Includes/test.adoc" %}, {% include
"/Includes/test.adoc" %}  will always work.
Cheers,
Imre
2016-04-01 2:01 GMT+02:00 Alexander Ward<EMAIL_ADDRESS>
Hmm, are you on Windows? The paths are just generated from whatever Atom
reports the path to the file is:
https://github.com/cthos/atom-gitbook/blob/master/lib/main.coffee#L119
Should be relatively easy to normalize those to forward slashes.
As for the relative path, that's there because the absolute path would
need to be normalized from the project root, right?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/cthos/atom-gitbook/issues/59#issuecomment-204180366

@nagim - Sorry for the delay, been pretty busy. #66 should fix the issue for inserts.

I also merged the other PR into master.
I'm going to close this issue, feel free to continue to comment or open another issue for anything else you need.

Thanks a lot for all the effort. The insert as include is pretty sweet, I use it all the time.
BTW, I tried to test all the previous updates, but the ToC just didn't load somehow.
It turns out that the key is to explicitly point to the summary file in book.json.
Now it loads and displays fine.
Cheers,
Imre

Thanks! Made #69 to track that, not sure when I'll have a chance to get to it though. I'll shoot for Sunday or Monday night.


Stuck at pending with new version

Hi, I get this error in the subscription tab and it's stuck at pending in Openshift 4.11.21
error validating existing CRs against new CRD's schema for "addresspools.metallb.io": error listing resources in GroupVersionResource schema.GroupVersionResource{Group:"metallb.io", Version:"v1alpha1", Resource:"addresspools"}: conversion webhook for metallb.io/v1beta1, Kind=AddressPool failed: no kind "AddressPool" is registered for version "metallb.io/v1alpha1" in scheme "/metallb/internal/k8s/k8s.go:59"
I deleted the address pool that I had, but the error still there.

Hello, we have same issue any idea ? Thanks

A fix have come for this I think, but a workaround is to delete the addresspool and re-apply it.


Add user accounts displaying section under authentication in the settings.

Is your feature request related to a problem? Please describe.
User accounts displaying section can be added under authentication in the settings in the same way as it is currently in the flood web app.
Describe the solution you'd like
User accounts displaying section under authentication in the settings can be added.
Additional context

Requesting to be assigned.

@letsintegreat assigning the issue to you. Hope to see the enhancement soon :)

Hey @letsintegreat are you working on this issue?

Hey @letsintegreat if you are not working on this issue then I want to work on this issue.

Hey @amitamrutiya2210 if you still want to work on this issue then please let me know and I will assign this issue to you.

I want to work on this issue.

I want to work on this issue.

Sure @amitamrutiya2210 I will assign this issue to you. Continue in the same PR from where @letsintegreat left. See what were the last changes requested by me from @letsintegreat in the PR and are yet to be implemented.


TUF Offline Functionality

Fixes #2359
This implements an offline configuration for Python TUF. It allows for the updater to exclusively function off of local metadata, given that a configuration in its constructor is set.
Changes are located within ngclient; specifically to config.py, updater.py, and to _internal/trusted_metadata_set.py. These changes include adding an additional configuration option to config.py, changing refresh() within updater.py to use said configuration option, and changing the load functions to support exclusive usage of local data.
Test implementation of this within sigstore can be found here:
https://github.com/emilejbm/sigstore-python/tree/offline-flag

I'll keep an eye on this PR too but if you want to discuss things more interactively the python-tuf slack channel is a good choice  (I know slack is a pain if you're not on it already, sorry)
On the test results:

squashing to a single commit is fine by me for something as well contained as your work is (then you'll only have to deal with DCO signed-off-by in that one commit and not try to edit all commits)
linting is available locally as well, it just doesn't run automatically when the actual test suite runs: tox -e lint

@jku we've implemented the changes you've suggested and ran a lint on our code, is there anything else we need to do?

Have not looked at code yet but quick comments:

the doc build failure is unrelated, don't mind that
something wen't wrong with the signed-off-by: it looks like you've added signed-off-bys to commits that already exist in develop branch: this is not ok. Squashing your changes to single commit is ok if you'd rather do that.

Code looks pretty good.

linter is correctly flagging some expression-not-assigned -- I think these are just leftovers from the first version
linter complaint too-many-instance-attributes can be disabled for this specific case in config.py. git grep "pylint: disable" will show examples of this
I would like download_target() to fail if offline (RuntimeError("Cannot download when offline") maybe?)

I've not tested this yet myself or looked at the test code, was planning to do that once lint and tests are passing -- let me know if you'd like assistance before that

Have not looked at code yet but quick comments:

the doc build failure is unrelated, don't mind that

something wen't wrong with the signed-off-by: it looks like you've added signed-off-bys to commits that already exist in develop branch: this is not ok. Squashing your changes to single commit is ok if you'd rather do that.

Yea, believe it's an issue with catching commits that were picked up when syncing our fork. We should be able to revert back to before the retroactive signing and just do a final signed squash

Code looks pretty good.

linter is correctly flagging some expression-not-assigned -- I think these are just leftovers from the first version

linter complaint too-many-instance-attributes can be disabled for this specific case in config.py. git grep "pylint: disable" will show examples of this

I would like download_target() to fail if updater is offline (RuntimeError("Cannot download when offline") maybe?)

what happens when you do get_targetinfo() while offline, when the target is delegated, and our local cache does not contain the delegated roles metadata? I think this should fail instead of downloading the metadata.

I've not tested this yet myself or looked at the test code, was planning to do that once lint and tests are passing -- let me know if you'd like assistance before that

Will take a look into this first chance I get.

Sorry for the delay. We have been busy with graduation/post-graduation travels. We will be looking into this this weekend.

We've made the changes you recommended; are there any other fixes you want us to make before this is in a state to merge? We do think our test cases are a little rudimentary at the moment and could use some outside input. @jku

Yes the test case(s) do need a bit of work...

there seems to be some confusion about how TestCase.assertRaises() TestCase.assertTrue() work. The test file has usage examples and unittest docs are decent: https://docs.python.org/3/library/unittest.html
the usage of this new API within the test seems a bit weird now after the latest changes as the updater is created with default config (this creates TrustedMetadataSet with offline argument)... and then afterwards updater.config.offline is set. This seems wrong and I'd rather see the configuration being a constructor argument to Updater -- in the test code you could add an optional "offline" argument to _init_updater()
find_cached_target() should also be tested while offline

but lets's get the PR to an otherwise good state first: there is still something wrong in the first commit. It now contains changes that are clearly unrelated -- I'm guessing these are merged commits from upstream develop to your branch that were all squashed into one commit with your changes? I did say that "Squashing your changes to single commit is ok" but the effective term there was your changes :)  Please try to fix that. If it feels like you can't salvage it, let me know and I'll give it a shot.
Rough outline of what I'd try:

rebase the branch on top of current develop -- expect a few conflicts because of the strange changes
fix any conflicts and finish the rebase
check that unrelated files are not being changed in the commits in your branch (basically git diff --stat origin/main..<mybranch> assuming origin is upstre python-tuf repo) -- if they are, remove those changes in a new commit
final check that changes in the branch look correct

For next PR I would suggest using a topic branch (like in this case a branch called "offline" instead of "develop"): keeping rebases and merges in check is easier when branches don't all have the same name

Yes the test case(s) do need a bit of work...

there seems to be some confusion about how TestCase.assertRaises() TestCase.assertTrue() work. The test file has usage examples and unittest docs are decent: https://docs.python.org/3/library/unittest.html

the usage of this new API within the test seems a bit weird now after the latest changes as the updater is created with default config (I assume this creates TrustedMetadataSet with offline=False argument)... and then afterwards updater.config.offline is set. This seems wrong and I'd rather see the configuration being a constructor argument to Updater -- in the test code you could add an optional "offline" argument to _init_updater()

find_cached_target() should also be tested while offline

but lets's get the PR to an otherwise good state first: there is still something wrong in the first commit. It now contains changes that are clearly unrelated -- I'm guessing these are merged commits from upstream develop to your branch that were all squashed into one commit with your changes? I did say that "Squashing your changes to single commit is ok" but the effective term there was your changes :)  Please try to fix that. If it feels like you can't salvage it, let me know and I'll give it a shot.
Rough outline of what I'd try:

rebase the branch on top of current develop -- expect a few conflicts because of the strange changes

fix any conflicts and finish the rebase

check that unrelated files are not being changed in the commits in your branch (basically git diff --stat origin/main..<mybranch> assuming origin is upstream python-tuf repo) -- if there are still changes are, remove them in a new commit

final check that changes in the branch look correct

For next PR I would suggest using a topic branch (like in this case a branch called "offline" instead of "develop"): keeping rebases and merges in check is easier when branches don't all have the same name

I should be able to directly fix the conflicts via text editor here. I'm pretty sure just discarding all the code on this fork that's conflicting with the main repo should fix the issue

We realized the first case we had written might not be needed at all. Here, we wanted to make sure the Updater (without metadata) behaved as it did before, with the addition of having the offline flag (set to False). Before committing anything, do you think we should remove this case altogether, given that it should technically already be tested for?

I'm not quite sure how to answer since the test as is does not quite work... I'll write some thoughts down hope it helps.

only mock the time (by patching datetime) if you need to, and when you do please add comment why
possible test cases at least following cases in test_updater_top_level_update:

initialize new Updater with offline=True, refresh. Expect failure because top level metadata is missing locally
initialize an Updater, refresh to get metadata in local cache. initialize new Updater with offline=True, refresh. Expect success, use fetch_tracker.metadata to ensure nothing was downloaded while offline
initialize an Updater, refresh. mock time so that some metadata is now expired. Initialize new Updater with offline=True, refresh. Expect success because expiry is no longer a failure case when offline. use fetch_tracker.metadata to ensure nothing was downloaded

possible test cases for artifact download tests (assume test repository that contains at least one target file in a delegated role):

initialize an Updater, refresh to get local metadata. initialize new Updater with offline=True. Run get_targetinfo+download_target(), expect failure because offline. Run find_cached_target(), expect failure because there is no target in local cache
initialize an Updater, run get_targetinfo+download_target() to get the toplevel and delegated metadata and target file in local cache.  initialize a new Updater with offline=True, run get_targetinfo+find_cached_target(). Expect Success because the target and all metadata is in cache

Gentle ping on this: https://github.com/sigstore/sigstore-python/issues/483 is blocked upstream by an offline configuration for TUF; it'd be great to have an expected/supported API here rather than brute-forcing offline support in on our end 🙂

Can you confirm that #2359 (comment) describes the functionality you want? There's clearly multiple possible definitions of "offline" and I don't want python-tuf to end up with one that isn't useful: adding complexity to the verification code is not great so I want to be sure it's at least useful complexity

Yep, I just took a look and left a follow-up there -- I think it's 99% of what we want, with one open question about whether we should "fail open" in offline mode with expired metadata.

I've dropped the ball on this one (I think I was waiting for some tests to appear), sorry. I will have a look this week

This has been superseded by #2472 which contains this branch contents, loads of tests and some improvements from me.
I'm sorry for not including the original commits in that branch: this because of some merge issues in this branch. I've preserved the author info with a "Co-Authored-By", I hope that is acceptable to everyone. If there's feedback on this or anything else, please comment in #2472.


Authenticate on android and or IOS with Xamarin

Hi
Is there something planned to support android and IOS as well? For example together with Xamarin.Auth this could get a pretty nice out of the box experience.

That would be nice... :)


Docker image does not work with Google Memorystore Redis instances

The Docker image is using Sidekiq 5.2.8. That version of Sidekiq still tries to set a client name for the Redis connection. This feature has been disabled by default in Sidekiq 6.0.7 by mperham/sidekiq#4479.
The problem is that SaaS providers, e.g. Google Cloud, might block calls to the CLIENT command in Redis. Thus sidekiq-prometheus-exporter fails to connect to Google Memorystore Redis instances.
There probably two options to fix this:

Update the sidekiq gem version used by the Docker image. However, I don't know if there was a specific reason to pick that version.
Update config.ru to handle some additional environment variable, e.g. REDIS_DISABLE_ID, and based on that add id: nil to the config hash for Sidekiq.

I'm happy to prepare a PR if needed. But I would need to know, what the preferred approach would be.

@ckoenig Hey! Yes, to nil the id is the correct approach 👍🏼
Any help is welcome ❤


Add minimal case cfgs

Add minimal case cfgs. Addresses 'Automated testing of the "combinatorial explosion" of parameter options. Often we need to know how zppy behaves when different combination of parameters are applied. Setting up automatic cfg generation and testing of these cases would be immensely helpful.' in #572.
This pull request aims to add some important "minimal cases" -- i.e., cfgs with as few parameters as possible to test specific cases.

I've broken up the complete_run test into components or "minimal cases" as I call them here.
I've also moved the input over from v2 to v3, in some sense resolving #552. To fully resolve #552, we'd need to have an actual test call (as #604 would do with the complete_run test) rather than just producing output (as these cfgs do).
My plan going forward is to use these minimal case cfgs to test future pull requests -- only running the relevant cfgs. E.g., no sense running ILAMB if I'm changing global_time_series code.
As for testing the main branch on some recurring basis, we need to either A) automate running every single one of these minimal cases and somehow checking their results, or B) convert the complete_run tests from v2 to v3 so we have some method of testing main. (A) is more comprehensive, (B) is more practical.
Now, two caveats:

I haven't actually run these minimal cases because there are quite a few of them. My plan is to modify them as needed when actually using them to debug/test future pull requests.
The v3 input is currently hard coded to a simulation on Chrysalis. We'll need to copy over the input data to Perlmutter and Compy (or be content running these minimal cases on Chrysalis only).


How to convert from Markdown content to PDF with Easy markdown editor?

Like the export function in dillinger .I search a markdown plugin ,easy markdown editor can't include it.

This is currently not possible from the editor itself, and building this function would be a lot of work.
You can extract the context of the editor using either editor.value() for the markdown or editor.markdown(easyMDE.value()) for the HTML. You can then convert and export this to any format you desire.

@Ionaru Appreciate the look... That should work,I'll try my best to get it.


[Bug]: xwindow module seems to sabotage xworkspaces urgency notifications

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce

Run polybar with Xmonad as the windows manager and Xmonad's EWMH functionality enabled.
Run alacritty, or xterm with XTerm.VT100.bellIsUrgent: true in ~/.Xresources, run sleep 10 && echo -e "\a" then switch to another workspace.

Actual behavior
The workspace containing the alert does not change appearance even after a long wait.
Switching to a different workspace causes the workspace containing the alerting shell to be marked red.
Moving the mouse around (which on Xmonad causes the window focus to change) can also be used to cause the urgency colour to appear but it seems non-deterministic, with at least two focus changes necessary before this happens.
Window Manager and Version
xmonad 0.17.2
Linux Distribution
Debian bookworm (but polybar installed from unstable)
Polybar version
polybar 3.7.1

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Debian package, build flags removed from output for build reproducibility
You can refer to the build logs of your package at:
https://buildd.debian.org/status/package.php?p=polybar

Additional Context / Screenshots
While attempting to produce a minimal example, I discovered the problem vanished. If I remove the xwindow entry from modules-left the workspace is immediately marked urgent when the echo occurs as expected.

Same issue here, tested with xmonad, i3, and openbox.
While removing xwindow module seemingly fixes handling of urgency events, it's not really sensible workaround because xwindow is somewhat essential.


Bugfix/evcoupling server residue numbering

Codecov Report

Merging #120 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #120     +/-   ##
=========================================
+ Coverage    85.5%   85.61%   +0.1%
=========================================
  Files          58       58
  Lines        2090     2099      +9
  Branches      364      368      +4
=========================================
+ Hits         1787     1797     +10
+ Misses        299      298      -1
  Partials        4        4

Impacted Files
Coverage Δ

src/component/chart/ContactMapChart.tsx
97.95% <ø> (ø)
:arrow_up:

src/data/CouplingContainer.ts
100% <100%> (+1.11%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 870c145...fedd26f. Read the comment docs.


Make lib more performant by allowing to provide local key objects and shared secrets

This pull request adds the ability to generate the local keys before hand and provide them to the WebPush client. This way it does not generate a new local key object for each notification.
This also opens the possibility to generate the shared secret before hand so that this is also skipped when you send the notification.
Here is an example:
Generate the local public and private key and store them
use Jose\Component\Core\Util\Ecc\NistCurve;
use Minishlink\WebPush\Encryption;
use Minishlink\WebPush\Utils;
use Base64Url\Base64Url;

[$localPublicKeyObject, $localPrivateKeyObject] = Encryption::createLocalKeyObject();

// Store these variables
$localPublicKey = Base64Url::encode(Utils::serializePublicKey($localPublicKeyObject));
$localPrivateKey = Base64Url::encode(Utils::serializePrivateKey($localPrivateKeyObject));

When a user subscribes we generate the shared secret and store it with all the other info
use Minishlink\WebPush\Encryption;
use Minishlink\WebPush\Utils;
use Base64Url\Base64Url;

$localPrivateKey = Base64Url::decode('storedLocalPrivateKey');
$userPublicKey = "TheUsersPublicKey";

// Store the shared secret with the subscription
$sharedSecret = Encryption::createSharedSecret($userPublicKey, Utils::unserializePrivateKey($localPrivateKey));

When you want to send a notification
use Minishlink\WebPush\Encryption;
use Minishlink\WebPush\Utils;
use Base64Url\Base64Url;

$localPublicKey = 'storedLocalPublicKey';
$localPrivateKey = 'storedLocalPrivateKey';

$webPush = new WebPush();
$webPush->setLocalKeys($localPublicKey, $localPrivateKey);

$endpoint = 'endpoint'; // From your data store
$publicKey = 'publicKey'; // From your data store
$authToken = 'authToken'; // From your data store
$contentEncoding= 'contentEncoding'; // From your data store
$sharedSecret = 'sharedSecret'; // From your data store, previously created

$subscriptions = new Subscription($endpoint, $publicKey, $authToken, $contentEncoding, $sharedSecret);

$webPush->sendNotification($subscription, '{"test":"payload"}');

Fixed the static errors, is it possible for you to rebase and merge pull request?

Pinging @Minishlink Can we move forward with this? I'm unable to rebase the current merge request

@marcvdm Thanks Marc, I'll work on it probably this week-end

Closing this merge request for the rebased version #227


Melodic release for some packages

Hi
This is related to https://github.com/tuw-robotics/tuw_multi_robot/issues/22
There are no melodic binaries for some packages in the repo's master branch.
tuw_local_controller_msgs is present in master branch but not in melodic-devel branch, which hasn't been updated for quite a long time. I am not sure from which branch melodic binaries for tuw_msgs are made.
I can confirm that the master branch can be built without any errors for melodic.
@maxbader @axelbr

At the moment, we have to less time to make a cleared commits for every new ROS version. The master branch should work.

compiling tuw_msgs from source allowed me to compile tuw_multi_robot-master on melodic.
I added both tuw_msgs and tuw_multi_robot to my catkin_ws and the compilation worked, I also did not install tuw-msgs from the apt repository for melodic


Unable to submit form

Describe the bug

If I select "other" from first select "Rappresento", I get the error in screen
To Reproduce

Open Form
Fill information selecting "Altro" from "Rappresento" select
Send

Screenshots

closed by #184


Bump zwave2 to 2.5.0

Automated adapter checker
ioBroker.zwave2

:thumbsup: No errors found
Add comment "RE-CHECK!" to start check anew


[Issue 2118] Update transferable balance calculation

Related issues:
#2118

🚀 Deployed on https://pr-3042--sw-web-runner.netlify.app


Ear plugin validates application.xml file if DTD is set at configuration phase

Expected Behavior
The gradle ear plugin should not read a specified DTD in a custom application.xml descriptor at gradle configuration time.
Current Behavior
At gradle configuration time, if a DTD is specified in a custom application.xml descriptor, the DTD is read, and possibly downloaded if external.  If the external site is not available, gradle stops with an error.
Context
We specify a DTD and gradle hits this site everytime it is configuring our project and sporadically failing when not available.
Steps to Reproduce (for bugs)
See this project here: https://github.com/petehayes/ear-xml-validation
Clone and run ./gradlew tasks
It will fail with a no such host exception as I intentionally gave the DTD reference a bad host name
Your Environment
Ubuntu 16.04 machine

@bmuschko or any other gradle dev would it be possible to take a look at this and/or provide a work around? This breaks running our build with --offline mode.

Any updates here? Our CI infrastructure was crippled due to the oracle endpoint that serves this going up and down throughout the day today.

I checked the code: We cannot turn off downloading the DTD because the XML parser has XMLConstants.FEATURE_SECURE_PROCESSING enabled which requires access to external DTDs.
However, you should be able to workaround the connectivity issues by specifying the javax.xml.catalog.files system property and adding a catalog file that "redirects" the URI to a local copy of the DTD. See https://docs.oracle.com/javase/9/docs/api/javax/xml/catalog/CatalogFeatures.html for details.

Thanks @marcphilipp we'll look into this and get back.

Just wanted to post my experience with creating a local catalog to work around this problem. Note that I was NOT successful in getting it to work, so decide if you want to read further.
I have an 'application.xml' file defined with -
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
I get this error when the Gradle ear task runs -
> Failed to apply plugin [id 'org.gradle.ear']
   > java.io.IOException: Server returned HTTP response code: 403 for URL: http://java.sun.com/dtd/application_1_3.dtd

I am using OpenJDK 12.
I created a catalog file called 'catalog.xml' and saved it to the folder 'c:\xml'. Here are its contents -
<?xml version="1.0" encoding="UTF-8"?>
<catalog  xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
    <public
       publicId="-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
       uri="file:///c:/xml/application_1_3.dtd"/>
</catalog>

Source
I manually downloaded http://java.sun.com/dtd/application_1_3.dtd and saved it to 'c:\xml\application_1_3.dtd'. Note how the catalog file above "redirects" the publicId to a local URI.
I then created a file called 'jaxp.properties' and saved it to 'JAVA_HOME/lib' (source). Note that the source states that this file should go into the JRE/lib folder under JAVA_HOME. But there's no JRE folder under OpenJDK 12, so I put it into 'lib'. Here are the contents of 'jaxp.properties' -
javax.xml.catalog.files=file:///c:/xml/catalog.xml
This basic setup would not work around the issue. So I tried a few flavors of the above -

I tried saving 'jaxp.properties' to 'JAVA_HOME/conf' (source)
I tried making the URI in the catalog file relative (source)
There is an interesting property called 'javax.xml.accessExternalDTD' which lets you control whether external DTDs should be accessed. I set this in 'jaxp.properties' as -

javax.xml.accessExternalDTD=""
I could not get any of these to work. I was curious as to why option 3 above didn't work, but looking at the createParser() method, I at least understand why. The statement -
parser.setProperty(ACCESS_EXTERNAL_DTD, ALLOW_ANY_EXTERNAL_DTD)
overrides my system property with "all". What is interesting though is that there's a comment above that line that says -

// If not set for >= JAXP 1.5 / Java8 won't allow referencing DTDs, e.g.
// using http URLs, because Groovy's XmlParser requests FEATURE_SECURE_PROCESSING

But the Javadoc for ACCESS_EXTERNAL_DTD suggests that FEATURE_SECURE_PROCESSING should be restricting external access, not allowing it. (source)

When FEATURE_SECURE_PROCESSING is enabled, it is recommended that implementations restrict external connections by default, though this may cause problems for applications that process XML/XSD/XSL with external references.

I may have misunderstood that comment in the code, but wanted to point it out anyway.
After spending about 4 hours trying this and that, I reluctantly removed the DOCTYPE from my application.xml to get past the problem.


Group CI/CD Variables (group_secret_variables) not honoring protected and masked values

Describe the bug
When adding a group_secret_variable like this:
    group_secret_variables:
      variable1:
        key: VARIABLE1
        value: VALUE1
        protected: false
        masked: false

The variable will be created with protected and masked as true.
Successive runs shows that the difference is understood:
Editing VARIABLE1 of group_secret_variables in group1

But it still doesn't update their values.
Only when you manually change the values to both false in the GitLab UI, will you get the following verbose output from gitlabform:
VARIABLE1 of group_secret_variables in group1 doesn't need an update.

GitLabForm version
GitLabForm version: 2.11.1.post3 = the latest stable
GitLab version
GitLab.com SaaS Premium Subscription on 15.1-pre

Interesting. I have the same issue. The workaround is to double quote the boolean values of those keys ("false").
For CI CD variables, I'm still using gitlabform v1. Haven't had time to upgrade to v2. I was curious if the issue exists in v2. Sounds like it probably does.
Not sure if it's an issue with gitlabform or gitlab api. Didn't get time to investigate.

Debug output shows that it seems to be a GitLab API bug as the request looks as in the GitLab API docs:
@ (1/1) Processing group: gitlabform_test_group
Processing section 'group_secret_variables'
https://git.company.com:443 "GET /api/v4/groups/gitlabform_test_group/variables?per_page=100 HTTP/1.1" 200 2
<--- json = (empty))
group_secret_variables BEFORE: ^^^
Adding variable1 of group_secret_variables in gitlabform_test_group
https://git.company.com:443 "POST /api/v4/groups/gitlabform_test_group/variables HTTP/1.1" 201 119
===> data = {"key": "VARIABLE1", "masked": false, "protected": false, "value": "VALUE123"}
<--- json = {"environment_scope": "*", "key": "VARIABLE1", "masked": true, "protected": true, "value": "VALUE123", "variable_type": "env_var"}
group_secret_variables AFTER: ^^^

Notably the project-level variables API does not behave like this.

That's right. For project level variables, those values can be boolean type.

I have merged the workaround and released v2.12.0 with it. I will remove the workaround when/if GitLab will fix the bug in their code.
I reported the bug to GitLab here https://gitlab.com/gitlab-org/gitlab/-/issues/365317.
@rossbeehler, @amimas : can you please share your GitLab versions in case GitLab Devs will need this info?

Closing as v2.12.0 effectively resolves the issue for the GitLabForm users.

I'm currently using GitLab EE version 14.10. Can't recall how far in previous versions this bug exists. It's probably in 13.x.


Fix error on remote ssh server

SSH error: remote ssh server of windows local machine responds: command " name' " not found. (with single quote at the end)
That update fix it!

threre are few simple fails in tests. Could you fix them?

Please see my comments on #133...

Closed due to lack of activity.


Missing documentation for using Sol to write Lua C libraries

This is a follow-up, and generally a re-opening of this previous issue:
https://github.com/ThePhD/sol2/issues/222
Sol can be used to implement C libraries. I understand from the previous issue linked above it is not the intended scope of Sol, but it is possible and would be helpful to document this unintentional feature.
You will see in my example below that I use existing Sol features and API to implement a C library. In this case, I'm just making some hypothetical C++ functions callable from Lua.
Obviously there's no need to document every scenario and use case (Sol's doc is already quite complete in this respect), but providing a simple demonstration of the capability and a working example would help others.
#include <sol/sol.hpp>

extern void foo(void);
extern int bar(int val);
extern std::string bas(const std::string& val);
extern double bat(double val);

extern "C" int luaopen_app(lua_State *L)
{
    sol::state_view lua(L);
    sol::table app = lua.create_table_with(
        "foo", &foo,
        "bar", &bar,
        "bas", &bas,
        "bat", &bat
    );

    sol::stack::push(L, app);
    return 1;
}

You're right, we only have 2 requires examples and probably need a basic "Create C library" version of that. This will probably work for that, but I'd need to set up a small CMake app that'll compile this as a static lib and then open it from a library and then make sure it works across lua versions.
One more thing on the list of things to do...

I'd need to set up a small CMake app that'll compile this as a static lib

In my tinkering, I had been compiling my example code as a shared object and let Lua's C library loader find the .so and load it.


[fix][txn] Ack all message ids when ack chunk messages with transaction.

Motivation
Now, only the last chunk will be acknowledged when acknowledging chunk messages with transactions.
Modifications
Flow the common message handle logic, ack all the chunks when acknowledging messages with transactions.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

We may need a proposal for modifying newMultiTransactionMessageAck.


Using it as a jQuery extension under Laravel Mix environment

Hi, I've been trying to set inputmask to work as a jQuery(selector).inputmask(options) but after compiling (webpack under laravel mix settings), jQuery(selector).inputmask is undefined. How should I install and set my environment to work as desired? Are there aditional steps other than the ones you described in your 'Setup' section to make it work under Laravel Mix?

@mmorote ,
You also need to import jquery.inputmask.js
Also see #1795


Added ECOS support in DIFFCP

This PR adds ECOS support within DIFFCP calls from CVXPY.  It is done by passing the solver-specific option solve_method, for example,
problem.solve(requires_grad=True, solver=cp.DIFFCP, solve_method="ECOS")

As expected, it does not support warm-starting, but it can be much more reliable than SCS for some problems.
This  PR depends on https://github.com/cvxgrp/diffcp/pull/42 (the returned ECOS info needs to match SCS format).
I have modified the test_derivative.py file to test also ECOS (and excluded the exponential cone examples).

Looks pretty good. Any idea what's going on with the tests?

Thanks for checking this, @SteveDiamond. The diffcp PR  https://github.com/cvxgrp/diffcp/pull/42 needs to be merged first.

@bstellato could you resolve the merge conflict? Not sure what changes are present here.

@akshayka technically this changes the API right, so we need two reviewers?

Shouldn't some of the tests exercise ECOS? It looks like the tests only use SCS right now.

Guys, I have updated the branch with the latest master. @akshayka, I have disabled some derivative tests with ECOS because some cones are unsupported and I was getting an error. If you check test_derivative.py, only some of the tests run just cp.SCS.
I believe tests are still failing because diffcp package has not been updated after https://github.com/cvxgrp/diffcp/pull/42 was merged.

Thanks @akshayka for making a new diffcp release. It looks like all tests are passing now.

@bstellato, want to rebase this change on top of master? Looks like there are conflicts.

@akshayka if you have time, I have rebased it.


Class 'Container' defines instance member property 'renderCanvas', but extended class 'LinkedListContainer' defines it as in stance member function.

Hello. I found one issue with typing Class 'Container' defines instance member property 'renderCanvas', but extended class 'LinkedListContainer' defines it as inst ance member function.
It happened in pixi-particles/index.d.ts:854:2 when I try to build the project.
And it's related to interface DisplayObject  and  LinkedListContainer.renderCanvas()
Of cource I can use "skipLibCheck": true in tsconfig.json to not check all d.ts files, but I know about the error :)

Here is a repo to reproduce the error https://github.com/konan21/new_blank_pixijs_app

The current release doesn't support PixiJS 6 - you'll have to build the current master branch for that.

Do you plan to make a release version to support PixiJS 6 soon?

Soon-ish. I want to get https://github.com/pixijs/pixi-particles/pull/158 in to concentrate all the breaking changes into one release. The runtime is complete, but I want to finish the data provided for editor usage.

Release 5.0.0 is now out.


Icon request: VIPTel

URL for the brand / site / app
https://www.viptel.sk/en/
Logo resources for the icon
https://www.viptel.sk/templates/viptel/images/viptel-logo.svg
Proof of the Aegis-compatible 2FA

TOTP support can also be checked on the customer portal login page which has an (initially hidden) TOTP input field with a tooltip referencing Google Authenticator:

open https://www.viptel.sk/customer/auth/sign/in
switch to English (country flag dropdown)
view page source
search for 2-step verification string

Anything else?
No response
Confirmation

[X] I have read and followed the issue guidelines & issue form.

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/icons/1_Primary/VIPTel.svg

:question: How to add icon(s) to Aegis?
:star: Support this project by giving a star! Just adding like to this comment is also appreciated.


Feature: Add support for wechat

Feature

[x] I have read the comment above and have completed each step
[x] I have filled in each heading below

Is your feature request related to a problem? Please describe

I can't send stickers in wechat.
Describe the solution you'd like

This app currently cannot send stickers in wechat, but gboard can send stickers in the way of system sharesheets.

Describe alternatives you've considered

Use the same method of gboard to send stickers in other apps with similar situations?
Additional context

Samsung keyboard is similar to the gboard.

Hi finally got around to implementing this :)
Will be available in the next update


Create 0133-clone-graph.kt

File(s) Modified: 0133-clone-graph.kt
Language(s) Used: Kotlin
Submission URL: _https://leetcode.com/problems/clone-graph/submissions/793825719/_

The submission urls for the other ways of solving this problem (included all 3 ways in the file):
https://leetcode.com/problems/clone-graph/submissions/793816844/
https://leetcode.com/problems/clone-graph/submissions/793824774/

Thanks, @a93a!


Add link to Operating System Compatibility table from Download page

Is your feature request related to a problem? Please describe.
This is a request to add a link to the Downloads page: "Operating system compatibility" - https://opensearch.org/docs/latest/install-and-configure/install-opensearch/index/#operating-system-compatibility
See https://github.com/opensearch-project/documentation-website/pull/4218
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context

@nateynateynate @astephanus can you work on the template to propose a permanent place for this on the page?


Syl/productionize mlc

use slim torch, clean up tensorizer & lora logic

alright, tested with mlc, training, and vllm and everything works, should be good to review/merge
I guess should still be tested with 70b


Update bcpkix-jdk18on to 1.78

About this PR
📦 Updates org.bouncycastle:bcpkix-jdk18on from 1.77 to 1.78
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.bouncycastle", artifactId = "bcpkix-jdk18on" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.bouncycastle", artifactId = "bcpkix-jdk18on" }
}]

labels: library-update, commit-count:1

Superseded by #3173.


[native_assets_builder] Fix dry run directory structure

https://github.com/dart-lang/native/issues/98 forgot to add the out subfolder to dry runs.

coverage: 98.649%. remained the same when pulling 3a2e7ede6d3efb5ab74ed87cb587e80881b5c449 on fix-dry-run-directory into 3f26f20ea75055dc3b2bd7561f5f6aaf40599832 on main.


i got this error: Something went wrong whilst creating your site on Netlify.

Describe the bug
i keep gettings this error which is completely preventing me from deploying: Something went wrong whilst creating your site on Netlify.
Link to the Bolt URL that caused the error
https://bolt.new/~/bolt-vite-react-izwjcd
Steps to reproduce
deploy the site either with the button or into the chat. it works once in so many tries
Expected behavior
to give error
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 86456554,
  "usedJSHeapSize": 82410622,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = helmik514
Chat ID = 08464042ea36

Additional context
Error:
Something went wrong whilst creating your site on Netlify.

we're aware of this issue it's due to netlify rate limiting us we're trying to resolve the issue. Closing this issue in favour of tracking at https://github.com/stackblitz/bolt.new/issues/365 instead.


plan9port: update darwin inputs

Description of changes
Refactor to the modern style of calling darwin deps, as promised in https://github.com/NixOS/nixpkgs/pull/148087#issuecomment-984201791. Does not appear to cause rebuilds on any platform.
Also adding myself as a maintainer. A few more changes (which will cause rebuilds) are forthcoming.
Things done

Built on platform(s)

[X] x86_64-linux
[X] aarch64-linux
[ ] x86_64-darwin
[X] aarch64-darwin

[X] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

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

[X] Fits CONTRIBUTING.md.

Ofborg doesn't appear to be requesting reviewers because it doesn't cause any rebuilds? Or something? And I can't appear to request them "properly" myself so uh
cc @ehmry @AndersonTorres

Result of nixpkgs-review pr 182352 run on aarch64-darwin 1

No rebuilds, LGTM. Please address the comment by @AndersonTorres.

Sure. Do you mean split the commit in two and open a separate PR for the second, or force push this PR to a branch with two commits?

Please split it into two commits.

Yes. But split it then push the first of those two, or both, to this branch? I'll assume the latter.

Yes. But split it then push the first of those two, or both, to this branch? I'll assume the latter.

We rarely ask for separate pull requests. In a github-like workflow it is easier to split a commit and force-push it.


output of "at" command directed to stderr instead of stdout

expecting:
>>> from sh import at, ls
>>> print(at(ls('/'), 'now', '+', '5', 'minutes'))
job 6 at Thu Oct  3 14:53:00 2019
actual result:
>>> from sh import at, ls
>>> print(at(ls('/'), 'now', '+', '5', 'minutes'))

however:
>>> from sh import at, ls
>>> print(at(ls('/'), 'now', '+', '5', 'minutes').stderr)
job 6 at Thu Oct  3 14:53:00 2019
Observed on python 3.6.8 and python 2.7 on Ubuntu 18.04.3 LTS as well as python 2.7 on CentOS.
Anyway, great package!!  Has really helped me a lot with my most recent project and I plan to add it to some older projects for improved readability and code quality.
Many thanks.
-Mike
keywords: empty, blank, linux at command

Hey @MikeBusuttil, this looks by design of the at command:

   In the POSIX locale, the following shall be written to standard error when a job has  been
   successfully submitted:

          "job %s at %s\n", at_job_id, <date>

   where  date has the same format as that described in the STDOUT section. Neither this, nor
   warning messages concerning the selection of the command interpreter, shall be  considered
   a diagnostic that changes the exit status.

   Diagnostic messages, if any, shall be written to standard error.

http://manpages.ubuntu.com/manpages/trusty/man1/at.1posix.html
You are probably looking for this though http://amoffat.github.io/sh/sections/special_arguments.html#err-to-out

Thanks so much @amoffat !  Look at that - it's by design.  I appreciate your help and thank you for the great package :)


tests: add more verbosity for ceph logs

To be reverted once the error reported in
https://tracker.ceph.com/issues/39156 is reproduced.
This commit will add more verbosity only in CI so we can get more
verbose logs when the error will show up.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test dev-ubuntu-non_container-purge

jenkins test dev-ubuntu-container-purge

jenkins test dev-ubuntu-non_container-purge

jenkins test dev-ubuntu-container-purge

closing in favor of #3791


Layout with Bootstrap template

Good evening,
i would like to know, how could it be possible to work with a bootstrap template,
for exemple, one of these ? https://startbootstrap.com/template-categories/all/
Thank you for your kind collaboration
Amaury

For exemple, is it compatible with http://jekyllbootstrap.com/ ?

Not exactly, but if you wanted to use elements from bootstrap you can always include the CSS and JavaScript elements needed. But a full column grid, no.

Thank you,
i'm still looking for a tutorial in order to learn how to do it,
(more than manually copy/paste, there is maybe a way that i didn't know or didn't understand to use twitter bootstrap template & framework).
Thank you for your kind answer =)
One more question, could you tell me (or let me know where i can get the right doc) why is it no possible to work with column in jerkyll ?
Thanks,
Amaury

For the themes found on Startbootstrap some individuals have modified the html template to work with jekyll by creating an includes, posts, etc pages and folders. Jekyll in itself is only a platform and programming language like PHP or ASP and the like.
Jekyll is based off Ruby and uses what is called Front Matter and Liquid tags. Twitter Bootstrap is the html framework to render the html pages. Jekyll in this case is the compiler and backend for the hosting off Github pages. Jekyll Now was created by Barry Clark as a one column blog style website.
I think this issue can be closed, but feel free to reach out to me and I can explain more on a different platform.
Resources:

Jekyll
Jekyll Docs
Github pages
Barry Clark
Jekyll Now


Suggest project reloading after the changes in settings that require it

Describe the project you are working on
I think it is a general feature and is applicable to any project.
Describe the problem or limitation you are having in your project
I've been stuck for a while trying to grasp why editing C# Project Directory (project/c#_project_directory) setting has no effect. Later on just through trial and error I've figured out that it only applies after re-opening the project.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add a popup window that appears when you change such a setting that suggests reloading the project.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
When the user changes a setting in menu that requires project reload to take effect (such as C# Project Directory), show modal window that asks if he wants to reload the project and describes why it is necessary.
If this enhancement will not be used often, can it be worked around with a few lines of script?
No, i don't think so. The problem is mostly due to the lack of knowledge about which setting does require project reload to take effect.
Is there a reason why this should be core and not an add-on in the asset library?
I think it is vital to the core user experience of the editor.

Transferred to issues because this feature already exists in the form of the PROPERTY_USAGE_RESTART_IF_CHANGED hint and ProjectSettings::set_restart_if_changed. It just doesn't seem to be used for that particular setting.
The setting was removed or renamed in 4.0, btw, but this can still be fixed in 3.x.

Fixed by #71358.

Thanks!


Network Drives not showing up.

Hi there,
Firstly may I say, what a great tool Files is, love it!
One thing I have noticed is that our home network drives are not showing up within Files.  On the old windows explorer, they are showing up.
Is there something in need to turn on or off for these drives to show up?
Thank you for any help you can give me with this.
All the very best.
Cheers
John

Have you assigned them as a drive with a drive letter or are you using the network search page.

For me they don't show up until they are connected

Merging with #7843 / #7627


fixed state inconstancy when cancelling task

I encountered a problem when cancelling a task that's in pending state because it has a dependency on another task that's still running. As you just returned true for isReady property when in pending state start() is called on the cancelled task calling moveToFinishedState() leading to an illegal state transition from .pending to .finished. I solved this issue by setting the task's state to .ready as soon as super.isReady returns true.

Hi @RaimarT, can you fix the code styling violations?


Fix and re-enable mirroring e2e test

Ensure that route mirroring works.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ijsnellf
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: yutongz
If they are not already assigned, you can assign the PR to them by writing /assign @yutongz in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ijsnellf: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
c5300cbfac5b7ecf71a53f0cecbc09d44dcf2b58
link
/test istio-pilot-e2e-envoyv2-v1alpha3

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/test-infra repository. I understand the commands that are listed here.

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: GregHanson, ijsnellf
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: yutongz
If they are not already assigned, you can assign the PR to them by writing /assign @yutongz in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Extrapolate preds

This PR modifies the pred-obs matching code such that the GLM predictions are extrapolated to the full depth of the lake before being matched to the observations. Since we have landed on interpolating predictions to match observation depths, this means that we can now interpolate predictions to match all observations that are shallower than or equal to the lake depth. Per Lindsay's summary, that allows us to retain 19,372 additional observations.
Closes #59

For reference, here is a summary of the failed matches we were previously seeing. From Lindsay's summary looks like we've regained all but those 71,167 of the first class, as expected:

Those final 5 shouldn't have been missed originally, but were. They seem to be matching fine now.


gui: fix gui::unminimize on Ubuntu 24.04

Always broken on Wayland, sometimes broken on xcb.
Apparently this part of the Qt API is a bit fickle w.r.t. initial conditions
fixes #6172

@oharboe can you provide a reference to the API which suggests this solution?

@oharboe can you provide a reference to the API which suggests this solution?

No, this is pinata programming: I hit it blindfolded until the candy fell out.

No, this is pinata programming: I hit it blindfolded until the candy fell out.

@oharboe that implies this is not a true statement then Apparently this part of the Qt API is a bit fickle w.r.t. initial conditions

No, this is pinata programming: I hit it blindfolded until the candy fell out.

@oharboe that implies this is not a true statement then Apparently this part of the Qt API is a bit fickle w.r.t. initial conditions

Meaning: same Qt program gives different results.

I gave it a quick try and it doesn't seem right.  openroad -gui -minimize shows no icon at all as presumably the window is not visible rather than hidden.  I don't think this is viable.


The map is not shown.

Expected Behavior
I should see my map like I have done before the update to Foundry version 10.
Current Behavior
The map is not shows, all is black even as the gamemaster.
Steps to Reproduce

enable the module
restart the system after enabeling
==> black map is shown.

Context
No response
Version
v4.0.7
Foundry VTT Version
v10.284
Operating System
Linux
Browser / App
Chrome
Game System
dnd5e
Relevant Modules
too many

Please check the console for error messages: F12 (or Option+Command+I on Mac) and then navigate to the Console tab. Let me know what you find.

foundry.js:711 TypeError: Canvas drawing failed: Cannot set property drawMode of #<SmoothMesh> which has only a getter. Cannot set property drawMode of #<SmoothMesh> which has only a getter     at LightSource._createMesh (foundry.js:47819:19)     at LightSource._createMeshes (foundry.js:48113:28)     at LightSource._initializeMeshes (foundry.js:47803:12)     at LightSource.initialize (foundry.js:48079:10)     at AmbientLight.updateSource (foundry.js:42285:19)     at AmbientLight._draw (foundry.js:42205:10)     at AmbientLight.draw (foundry.js:24869:16)     at foundry.js:30447:26     at EmbeddedCollection.map (commons.js:2869:26)     at LightingLayer._draw (foundry.js:30445:32) onError @ foundry.js:711 foundry.js:58303 Canvas drawing failed: Cannot set property drawMode of #<SmoothMesh> which has only a getter fetch @ foundry.js:58303 foundry.js:4950 Foundry VTT | Rendering HeadsUpDisplay foundry.js:711 TypeError: Failed to render WebGL canvas. Cannot set properties of null (setting 'visible')     at NotesLayer._deactivate (foundry.js:30510:26)     at NotesLayer._deactivate (foundry.js:35625:11)     at NotesLayer.deactivate (foundry.js:30096:10)     at TokenLayer.activate (foundry.js:30061:76)     at #initializeCanvasLayer (foundry.js:23575:11)     at #initialize (foundry.js:23525:32)     at Canvas.draw (foundry.js:23419:29)     at async Scene.view (foundry.js:20727:7)     at async Game.initializeCanvas (foundry.js:7909:20)     at async Game.setupGame (foundry.js:7747:5) onError @ foundry.js:711 foundry.js:6752 Foundry VTT | Retrieved and compiled template templates/hud/hud.html

I see these 2 errors at the End. I disabled all other modules. I guess you can reproduce maybe, too?

It must be one of the earlier error messages that contains the clue. Those that you've shown me can only occur if something else has gone wrong. Could you show me the rest of all of them?
Did you try CTRL+F5 yet? (Reload that clears the cache)
Does it occur in a new scene as well or only particular scenes? If it's only particular scenes, please export one of them and attach it here (I don't need the assets).

I'm very sorry, suddenly it is working again if all modules are disables.
But if Light/Sound Mask is enabled it has a conflict with your module. Then there is no map shown.
But when yours is disabled the map is shown.
(https://github.com/caewok/fvtt-light-mask)

Foundry VTT | Rendering HeadsUpDisplay
libWrapper-wrapper.js:673 Uncaught TypeError: Cannot read properties of undefined (reading 'document')
[Detected 2 packages: perfect-vision, lib-wrapper]
at GlobalLightSource.updateCommonUniforms (point-source-uniforms.js:22:42)
at 🎁LightSource.prototype._updateCommonUniforms#0 (libWrapper-wrapper.js:187:52)
at GlobalLightSource._updateBackgroundUniforms (foundry.js:48493:10)
at GlobalLightSource._updateUniforms (foundry.js:48345:10)
at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:511:22)
at GlobalLightSource.updateUniforms (delimiter-effects.js:80:9)
at 🎁LightSource.prototype._updateUniforms#0 (libWrapper-wrapper.js:187:52)
at GlobalLightSource._initializeShaders (foundry.js:48192:10)
at GlobalLightSource.initialize (foundry.js:48083:31)
at EffectsCanvasGroup._updateGlobalLightSource (foundry.js:38275:28)
at EffectsCanvasGroup.initializeLightSources (foundry.js:38253:47)
at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:511:22)
at 🎁CONFIG.Canvas.groups.effects.groupClass.prototype.initializeLightSources#perfect-vision (lighting.js:82:13)
at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:620:16)
at 🎁CONFIG.Canvas.groups.effects.groupClass.prototype.initializeLightSources#0 (libWrapper-wrapper.js:189:20)
at #update (foundry.js:41016:52)
at t.emit (ticker.min.mjs:8:622)
at e.update (ticker.min.mjs:8:3473)
at _tick (ticker.min.mjs:8:1482)

Before I disabled all modules only yours was enabled, but your module need the "libWrapper" so it was not working.
When yours, the "libWrapper" is only enabled all is working.
But when yours, the "libWrapper" and the "Light/Sound Mask" it is also not working.

Fixed in 4.0.8. Thanks for the report!

Yes, the problem is solved. Thanks a lot!! And sorry for my first mistake.


Do not schedule detached entities for orphan removal

Detached entities should not be scheduled for orphan removal,
because they have not yet been persisted and will result in an exception
when the entity manager is flushed.

This makes sense, but requires a test addition. See https://github.com/doctrine/doctrine2/tree/master/tests/Doctrine/Tests/ORM/Functional/Ticket for examples

@Ocramius How should I name the file, and after it's done how can I run the test.. or it's being run automatically after pushing to the branch?

You can name it GH7162Test. It will be executed once you push your branch again 👍

@Ocramius Now I see that some other tests are breaking, because of this, and it's quite logical. Actually, I'm trying to figure out why does a non-persisted entity have a detached state... Any ideas?

I think I caught my error.
In the constructor of my entities, I was setting a default value for each of them to (int) 0
If we take a closer look here: https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L1390
we can see that it checks whether for an identifier value. In my case, it's an array with 1 element (the id), which has a value of zero, meaning the array is not empty, thus the condition will not return true and the state of the object in the collection will not be STATE_NEW, but rather STATE_DETACHED.
I can easily refactor my project and change the $id property to use null value as it's initial value.
@Ocramius is there anything else, that I'm missing? Do you think it's okay to leave it that way, or should we fix the getEntityState method to return STATE_NEW when an identifier value is zero?

I was setting a default value for the id column

Ouch, that can indeed lead to problems.

hould we fix the getEntityState method to return STATE_NEW when an identifier value is zero?

The correct value for "missing identifier" is null, nothing else. The reason is that null has a very specific meaning in DB design and in PHP, as it represents the "absence of value".
I explained it in more detail somewhere on stackoverflow, but can't find the link right now :-(
Similarly related: https://softwareengineering.stackexchange.com/questions/32578/sql-empty-string-vs-null-value

@thexpand thanks a lot for expanding into this and actually digging to the core of the issue: I wish everyone was as determined as you were with this issue. Sorry if it ended up being invalid, but at least you found the culprit.

@Ocramius I'm actually quite happy with the result, despite the issue being invalid. Issues just like this one give me the missing knowledge and experience.


The type integration does not properly support enumType on an array-based type

Currently, the resolution of doctrine types considers that any field that uses enumType will have a PHP type of new ObjectType($enumType) (potentially nullable depending on the nullability of the field).
This is a wrong assumption about the way this feature works in the Doctrine ORM. The enumType feature supports 2 cases:

if the converted field value (based on the DBAL type of the field) is a scalar, it gets turned into an enum instance
if the converted field value is an array, each value of the array gets turned into an enum instance

That second case is not supported by phpstan-doctrine, reporting the wrong type.
Both QueryResultTypeWalker and EntityColumnRule are impacted by that.

This is easy to fix, the right code in EntityColumnRule will make it work.


This application failed to start because it could not find or load the Qt platform plugin "xcb".

This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.

can reproduce on ubuntu 12, after downloading and trying to run the latest dev version of the linux build

xcb dependencies were missing


getFunctionColumns() is missing SPECIFIC_NAME column

according to the Javadocs the getFunctionColumns method is supposed to return a column called SPECIFIC_NAME, but the driver doesn't include it, see here

HI @Impakt
We will investigate the missing column and get back to you soon!

Hi @Impakt ,
I looked into the issue and agree that the returned result set does not contain SPECIFIC_NAME column when it is supposed to.
Please note that SQL Server function names are unique within their schema and FUNCTION_NAME is always the same as SPECIFIC_NAME.  For this reason, sp_sproc_columns (SQL Server procedure that gets invoked when you call getFunctionColumns) does not return SPECIFIC_NAME column in the result set. Would using FUNCTION_NAME instead of SPECIFIC_NAME resolve the issue for you?
I also investigated if the driver can duplicate FUNCTION_NAME column and append it to the result set as SPECIFIC_NAME. To achieve this, the driver would have to create a temporary table to join the output of sp_sproc_columns with the new SPECIFIC_NAME column, which obviously would result in a performance/memory overhead to get redundant information.
Please let us know what you think.

We changed our code to not assume that the 'column' would be there. It sounds like a lot of work to add the column to the result set so maybe just leave it out

Hi @Impakt ,
Glad you could find a workaround. Please let us know if you have any other questions.

getFunctions() also misses the column.

The SPECIFIC_NAME is important that it could(should) be uses the uniqueness of the result.


add custom vts metrics example

I think it is necessary to add vts metrics example

This change is

Coverage decreased (-0.03%) to 43.114% when pulling be05d403ac473545fdfdaf656bc2f7ae856fb159 on zouyee:master into 1739327ec3f1c188b4d07d169e8611a11099edfc on kubernetes:master.

Coverage increased (+0.02%) to 43.163% when pulling 5446208d5fbfaabaa0641d99b349fa144fa2ec1b on zouyee:master into 1739327ec3f1c188b4d07d169e8611a11099edfc on kubernetes:master.

/lgtm

@zouyee thanks!


Bad line wrapping inside blocks passed as marco arguments

The indent of long code lines inside a block that's passed as a marco argument occasionally becomes a dedent.
Steps to reproduce (using rustfmt 0.8.3):
git clone https://github.com/hsivonen/encoding_rs
cd encoding_rs
git checkout afac5e3d9a59ae1b6bc972a3c0673cf15676dfb9
cargo fmt
less src/big5.rs
less src/euc_jp.rs

Actual results:
From line 182 in big5.rs
    ascii_compatible_encoder_functions!({
                                            // For simplicity, unified ideographs
                                            // in the pointer range 11206...11212 are handled
                                            // as Level 1 Hanzi.
                                            if let Some((lead, trail)) =
            big5_level1_hanzi_encode(bmp) {
                                                handle.write_two(lead, trail)
                                            } else {
                                                let pointer = if let Some(pointer) =
                big5_box_encode(bmp) {
                                                    pointer
                                                } else if let Some(pointer) =
                big5_other_encode(bmp) {
                pointer
            } else {
                return (EncoderResult::unmappable_from_bmp(bmp),
                        source.consumed(),
                        handle.written());
            };

From line 71 in euc_jp.rs:
    euc_jp_decoder_functions!({
                                  let trail_minus_offset = byte.wrapping_sub(0xA1);
                                  // Fast-track Hiragana (60% according to Lunde)
                                  // and Katakana (10% acconding to Lunde).
                                  if jis0208_lead_minus_offset == 0x03 &&
                                     trail_minus_offset < 0x53 {
                                      // Hiragana
                                      handle.write_upper_bmp(0x3041 + trail_minus_offset as u16)
                                  } else if jis0208_lead_minus_offset == 0x04 &&
                  trail_minus_offset < 0x56 {
            // Katakana
            handle.write_upper_bmp(0x30A1 + trail_minus_offset as u16)
        } else if trail_minus_offset > (0xFE - 0xA1) {
            if byte < 0x80 {
                return (DecoderResult::Malformed(1, 0),
                        unread_handle_trail.unread(),
                        handle.written());
            }
            return (DecoderResult::Malformed(2, 0),
                    unread_handle_trail.consumed(),
                    handle.written());
        } else {

Expected results:
Expected the wrapped part of a long line not to start to the left of the start of the line that got wrapped.
To make lines less likely to reach the wrapping limit, expected the indent of blocks passed as macro arguments not to depend on the length of the macro name.

For a workaround, you could add fn_call_style = "block" in rustfmt.toml.

For a workaround, you could add fn_call_style = "block" in rustfmt.toml.

Thank you. This workaround works.
However, the referenced pull request, without the configuration change, didn't fix this.

@hsivonen Thanks for your comment!
#1522 fixes the last else block being unindented.
As far as I know, block ({...}) being visually indented is by design. Please take a look at the following example:
fn foo() {
    euc_jp_decoder_functions!({
                                  x
                              },
                              y,
                              z);
}


Version the API

Issue Type

Feature request

Expected Behavior

The API should be version.
Current Behavior

There is no version number associated with the API.
Possible Solution

http://www.django-rest-framework.org/api-guide/versioning/

This will be solved automatically by #60.

Done in #59.


feat(knative-serving-istio): Add service and pod monitors for istiod, gateways and knative serving pods

Motivation
Add Prometheus Monitors for Istiod service, ClusterGateway, IstioIngressgateway (via envoy-state-metrics), and the knative serving pods that are created for the predictors.  These monitors are supposed to be used in conjunction with the Prometheus stack for monitoring. These will be disabled by default When needed users can install Prometheus stack and enable these monitors to pull pod-exposed metrics.
Modification

Add istiod service monitor
Add envoy-state-metrics pod monitor
Add queue-proxy pod monitor for knative serving pods.

Checklist

[x] Chart version bumped
[x] README.md updated

@mbruner  Please have a look at this PR when you can.


hide pdf conditional questions if needed

@dreamfall we want to display all questions on the blank form so that they can see everything.
The point is more if a conditional question is changed, we should clear the values set below the condition when saving.


persistence.xml is not using Jakarta EE 9 schemas

The following file does not reference the Jakarta EE 9 schema https://github.com/eclipse-ee4j/cdi-tck/blob/master/impl/src/main/resources/org/jboss/cdi/tck/tests/implementation/simple/resource/persistenceContext/persistence.xml

The persistence.xml files were updated in 248dbcd0a4c32cdfc55e04b3fd4ddab13c3ac3c7

@starksm64 @smillidge
Jakarta EE 9 schemas are applicable to CDI TCK 3.0+, we should merge the TCK fix to 3.0 CDI TCK branch. when used with Jakarta EE 9 environment, we have encountered similar exception with CDI TCK 3.0.


Add ability to connect to an external cluster

Similar to the work already done for the Node.js version connect java version to an external DSE cluster.
Patrick may decide to drop this one, but putting here to record intent

I created a new Git repo here -> https://github.com/KillrVideo/killrvideo-dse-external that contains the ability to connect to an external DSE cluster using a Docker container.  These scripts will bootstrap a cluster to load KillrVideo data if it does not already exist.


WIP Python 3 Support

So far the following changes have been made:

Adding extra dependency, future, this so you can still use xrange
in python 3 by adding from past.builtins import xrange wherever
needed.

Added a from __future__ import absolute_import so module loading
works in both python 2 and 3

In python 2 you could do generator.next(), however this has been
removed in python 3 in favour of next(generator). Thankfully this
also works in python 2

In python 2 if you did the following:
if 10 < 'Inf':
  ....

python would automatically convert the string to a float. However
python 3 doesn't do this. So pretty much everywhere all 'Infs' have
been converted to float('Inf').
In the case of loading parameters from a YAML file, I had to add the
following to load_paramters in ciw/import_params.py:
parameters['Queue_capacities'] =
     list(map(lambda x: float("Inf") if x == "Inf" else x,
     parameters['Queue_capacities']))

Which simply does the conversion as the parameters are read in and
leaving anything which doesn't need converting alone.
NOTE: My gut tells me that it's this change that's causing the
no such attribute: self.servers error. Since the if statement in
the __init__ method of the Node class:
if self.c < float("Int"):
  ...

would no longer pass and I don't see anywhere else where self.servers
would be assigned.

Finally something that you REALLY need to double check is a list
comprehension on line 136 in import_params.py from:
[len(row) for row in obs for obs in params['Transition_matrices'].values()]

to:
[len(row) for row in [obs for obs in params['Transition_matrices'].values()][0]]

This is due to a bug in python 2 that caused the scope from list
comprehensions to 'leak' into it's surroundings. In python 3 this was
fixed and I think that is why the variable obs is undefined if you
try to use the original code with python 3. However I'm not sure if my
'fix' has changed the semantics of the above expression so I'm
highlightling it here so you can check it over.

That's what I have so far and I don't think I've forgottenany other
changes I've had to make.

Thank you very much! Will take a look over this tomorrow 🐣


[IBM2 Request] Include shape orientation with text writing direction.

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Auto flip shape horizontally when Text direction is right-to-left, and set Text direction to right-to-left for IBM Global Plex Fonts that require it, or if user manually sets Text direction to right-to-left.
Example in attachment shows left-to-right shapes on the left and right-to-left shapes on the right where the text would be replaced by the right-to-left language on the right shape.
Example was created by setting flipH=1 for demonstration purposes.  However, flipH=1 also flips the icon which should not be flipped for this feature.
For left-to-right text direction the badge/multiplicity/etc is on the right, so with right-to-left text direction and shape flipped for this feature would also mean that badge/multiplicity/etc is on the left.
Thanks!
Describe alternatives you've considered
None.
Additional context

Included in 3069.


Rodrigo Vivas Maldonado

Comments added

All my changes have been made. It's ready to be evaluated.


Easiest way for full-width "Bubble container" and "Avatar container" on top

Hello,
I need to change a full-width "Bubble container". Also I want the "Avatar container"'s position on top, as I shown on screen-shoot:

I worked long time on "JSQMessagesCollectionViewCellIncoming.xib" and "JSQMessagesCollectionViewCellOutgoing.xib" but it is not working at all.
Thanks

Hey @novinfard :smile:
I'm cleaning up old issues and trying to finish the next release of the library. I'm sorry I don't have time to respond to all questions.
I'm going to close this issue, but the community should feel free to continue the discussion.
Other ways to get help:

Ask on StackOverflow with the jsqmessagesviewcontroller tag
See the FAQ
Search previous questions


Custom API url option

Ability to pass custom API address as an option for WebAPI and RTMAPI classes.
cc @kogierman @janowsiany

Sure, done ✅

@kogierman I've missed that, sorry! 🙈
I updated the code and npm run build now runs without errors. You'll see a few updates by prettier in my commit as well.


docker/container requirements

in the docs there are 2 different docker command line:
docker run --network host --privileged --rm -d -e NB_SETUP_KEY=<SETUP KEY> -v netbird-client:/etc/netbird netbirdio/netbird:<TAG>
and the other is:
docker run --rm --name PEER_NAME --hostname PEER_NAME --cap-add=NET_ADMIN -d -e NB_SETUP_KEY=<SETUP KEY> -v netbird-client:/etc/netbird netbirdio/netbird:latest
there are a few problem with this docs:

why not use the same cmd line args in all case eg: --rm, --hostname, --name
why use --privileged in the other case --cap-add=NET_ADMIN
why use <TAG> and the other case latest

BUT the biggest problem is the totally inconsistent usage of required capabilities. in another page:
https://docs.netbird.io/how-to/examples#net-bird-client-in-docker use only --cap-add=NET_ADMIN for setup-key too.
Of course using the  --privileged is the easiest way but probably not the most professional ones.
I debug netbird for a few hours and find the out the the real capabilities requirements are:

NET_ADMIN
NET_RAW
BPF

and AFAIS the

SYS_ADMIN is not required but does it true?
SYS_MODULE is required? if the kernel module not already loaded?
SYS_RAWIO is required?

it'd be useful if someone who is in charge can confirm it.
and then all docs can be updated.
Another good question does netbird use the /dev/net/tun device when running in a docker container? other wireguard based solution use tun device kernel interface.

imho currenlty these are the requirements:

SYS_ADMIN
SYS_RESOURCE
NET_ADMIN
NET_RAW
BPF


mypy: Enable Strict-optional checks for messages view

This PR is composed of two commits:

A refactor of create_mirrored_message_users to fail via InvalidMirrorInput rather than a False Tuple element
A general commit enabling strict-optional chcks on message.py, with minor code changes

The refactor, other than resolving the issue of always returning a UserProfile rather than an Optional[UserProfile], also seemed cleaner and more pythonic. The new Exception might belong elsewhere, though?
Other smaller changes in the other commit:

tz_guess parameters - looks reasonable for these to be moved to being Optional
get_messages_backend (and 2 connected functions) - narrows can be None, but num_after doesn't need to be set to None?
fill_edit_history_entries - some extra asserts; I'm less sure of these - please check.

With both of these, views/messages.py can be included in strict-optional checks :+1:

For num_after, I think it should be being set to 0, not None.

Merged after making the change mentioned above, thanks @neiljp!  It's exciting to see the list of outstanding strict optional excludes shrinking again :)