feature: allow pushing built images to multiple target registries

Environment:

Jib version: jib-cli v0.11.0
Build tool: jib-cli
OS: N/A

Description of the issue:
Using jib-cli, we need to push our image build results into multiple docker registries (different cloud providers, etc). Currently jib-cli only takes one target repo URL. To push to multiple repos, we'd need to invoke jib multiple times.
Expected behavior:
Ideally, we would like for jib to support multiple --target parameters. Jib would then build layer data once and push bits to all destinations in parallel.
Internally, Image should be built once and then uploaded to all target repos in parallel to achieve optimal build time.
Workaround:
Invoke jib-cli multiple times. Second and following builds of a target should come from cache mostly, which will cut down build times. The downside is that uploading to multiple repos will still be sequential where it could ideally happen in parallel.

Sorry, this isn't something we are planning to support in Jib. Configuring authentication to a single registry already causes a lot of user issues; designing user-friendly support for multiple registry authentication is going to increase support burden disproportionately to the value added.
See #2299 for full discussion and examples of workaround flows others came up with.


Resolve: Add validation rules by attribute name or pattern #30

Fixes https://github.com/php-openapi/yii2-openapi/issues/30

Thank you!


Update README.md

Loopholes software subscription service is a fantastic tool to help you make your own payments and receive royalties from the software provider.
For the price of £37 pounds per person you can reap the rewards by using this tool to help your business and personal financial stability prosper


Cursor in textarea shows Â

The cursor in the textarea looks like a normal cursor but with Â to the right of it. Currently happening in Chrome. It also leaves a trace when I enter a new line.

I am having the same issue on the deployed site. Works fine on localhost.

I am having the same issue on a localhost site


[QUESTION] PiHole Widget Does not Work

Question
Hi,
I am runnind Dashy 2.1.1 on Docker and PiHole Pi-hole v5.17- FTL v5.23 - Web Interface v5.20.1
When I add PiHole Stats Widget I got this:

No error in Dashy logs in Docker's container logs, perhaps logs level is not set properly.
How can I procede with Troubleshoot?
Many Thanks
Category
Configuration
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this question hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Could you pop open the browser console, and share the outut?
https://github.com/Lissy93/dashy/blob/master/docs/troubleshooting.md#how-to-open-browser-console

Hi,
it is a CORS issue, but I added in my reverse proxy Access-Control-Allow-Origin *
Access to XMLHttpRequest at 'http://pihole.xxxxxxx.me/admin/api.php?summary&auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' from origin 'http://192.168.x.x:8089' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
All URL are HTTP
Thanks

So that's a CORS error, take a look here for how to solve: Troubleshooting - Fixing Wiget CORS Errors

Another question,
If i click on Refresh icon of the widget, I got this error in the console logs:
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.     at e.value (http://192.168.x.x:8089/js/chunk-50f31ec3.f351de1e.js:1:41997)     at e.value (http://192.168.x.x:8089/js/chunk-50f31ec3.f351de1e.js:1:41517)     at ResizeObserver.boundDrawFn (http://<IP_ADDRESS>:8089/js/chunk-50f31ec3.f351de1e.js:1:40370) value @ frappe-charts.min.esm.js:1 value @ frappe-charts.min.esm.js:1 boundDrawFn @ frappe-charts.min.esm.js:1
and graph disappear:

Hmm, now that one is an error. Weirdly it seems to work okay for me, but I'll look into it.
Btw you can also have widgets continuously update when new data comes in, by setting like updateInterval: 6 (although I guess you'll have the same bug here)

@Lissy93 continuously update is working fine
Marco


EnMasse Console empty

With EnMasse 0.18.0, we often see the EnMasse Console not showing any addresses or connections in our deployment scenario.
Agent pod log excerpt:
2018-04-12T14:55:28.504Z agent warn GET /websocket => %i 404 { Error: ENOENT: no such file or directory, open '/opt/app-root/src/www/websocket'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/opt/app-root/src/www/websocket' }

This doesn't always happen, though.

The issue here turned out to be our AWS load balancer configuration for the "console-external" service. It was set in such a way that websocket requests didn't go through correctly.
Setting "aws-load-balancer-backend-protocol" to "ssl" instead of "https" has fixed this.


[aws-stepfunctions] Support for ResultSelector

I have trying to find a way of using the ResultSelector with the stef functions python sdk just like with have input_path, result_path or output_path. Seems like there is not a method to implemnet this feature.
There is a similar issue but for the cdk project: cdk_issue
In my case I want to select the output of a LambdaStep to only consider the Payload. Something like this:
lambda_step= steps.compute.LambdaStep(
    "Lambda ID",
    parameters={"FunctionName": "function_name"}
    result_selector: {"output.$": "$.output.Payload"}
   )

This is a :rocket: Feature Request

Thanks for the feature request. This is a missing capability in the Python SDK. Closing as a duplicate of https://github.com/aws/aws-step-functions-data-science-sdk-python/issues/95
There is an open PR to add it (https://github.com/aws/aws-step-functions-data-science-sdk-python/pull/102). I'll follow up with the team to see how we can get this shipped.


Slimefun (add-on) ExtraHeads: does not load the texture of some heads!

I just installed this add-on and as the title suggests, I encountered a problem.
Most of the heads are not loaded. I tried to update everything but nothing.
I think it's a problem with this add-on, since the rest of the heads like food and pets are working properly.
Screenshot:
https://imgur.com/a/jcq8srU
Plugins (36): EZColors, dynmap, LuckPerms, WorldEdit, LoginSecurity, PlaceholderAPI, MySkin, WorldGuard, WolfyUtilities, KixsChatAnnouncer, SurvivalPlus, RandomTeleport, EasyWhitelist, MOTD, CS-CoreLib, Vault, Statz, SimpleScore, Essentials, CustomCrafting, KillerMoney, ActionHealth, Shopkeepers, Slimefun, BetterSleeping, EmeraldEnchants, HotbarPets, SlimefunLuckyBlocks, EssentialsChat, ExoticGarden, Barrels, SoulJars, EssentialsSpawn, ExtraGear, ExtraHeads, PrivateStorage
-     Minecraft Version: 1.14.4
-     Server: Spigot
-     Slimefun Version: DEV 259
-     CS-CoreLib Version: DEV 76

The heads are rendered client-side, so it is definitely not a problem with this plugin, it uses the same mechanic as all the other Addons.
The only way something like that could happen is if Mojangs Servers are having problems, your server runs in offline mode or it could be a caching problem.
But definitely not caused by the plugin itself.


window / buffer number

I would like to have the window and buffer number in the statusline.
I could not find any default parts for this to easily enable / configure this.
Am I missing something?

I am also having this problem and finally I figured out the following:
let g:airline_section_c =
      \"%{bufnr('%')}: ".
      \"%<%f%m %#__accent_red#".
      \"%{airline#util#wrap(airline#parts#readonly(),0)}%#__restore__#"

The main problem I was having is that I want to keep the original section_c (which wrap long filepaths) as well as add a new buffer number.


Added a class to the import popover and used it as a selector for sty…

Added a class to the import popover and used it as a selector for styling.
Removed styling for default popovers to prevent effecting other popovers.
Removed styling made previously to overwrite default popovers styling.

@sanjuroj  I updated all the class names to be more BEMish.

@sanjuroj I updated the class names again.


Signed installers CEP

Proposing an enhancement to Constructor to sign installers that it creates.

Hi @CheeseMochi! I am implementing this for a project and will be happy to upstream. I have added support for Windows and we will have macOS notarization soon too. Let's stay in touch!

Great news and thanks for commenting. If you have any other comments/proposals/suggestions on the CEP, definitely let me know and I'll be happy to update it.
I'm also planning on mentioning this in the next community sync, so we can touch base there as well.


Internal Server Error

After following the web server installation instructions, I get an "Internal Server Error" message when accessing it.
I am using OpenSUSE Leap 15.5 and a Conda Python installation.

Hi! First of all, thank you for sharing this fantastic repo!
I also get the same error mentioned above using macOS Monterey with Apple M1 Pro. Attached is my conda environment just in case this helps in anyway.
myenv.yaml.txt

If you're struggling to run Admet_AI locally, feel free to try https://www.tamarind.bio/admet. Tamarind is an online platform for bioinformatics tools that offers property prediction workflows, including ADMET, for free.

It seems like a quick solution is to pass the absolute pass for static_folder and template_folder in web/app/__init__.py.

It seems like a quick solution is to pass the absolute pass for static_folder and template_folder in web/app/__init__.py.

Hi! I have the same issue. Could you please provide more information on how to solve this? I did not find anything about 'static_folder or template_folder' in 'miniconda3\envs\admet_ai\Lib\site-packages\admet_ai\web/app/__init__.py' . Thank you!

@rwmontalvao thank you for bringing up this issue!
@kntkb thank you for the suggested solution!
@RuikangSun, I think @kntkb has the solution. To provide some more detail, what you need to do is go into admet_ai/web/app/__init__.py and modify app = Flask(__name__) to instead be:
app = Flask(__name__, template_folder='/path/to/admet_ai/web/app/templates', static_folder='/path/to/admet_ai/web/app/static')

where the paths are the absolute paths on your system. By default, Flask uses the relative paths template_folder='template' and static_folder='static' which work for me, but the absolute paths might help on other systems.
Please let me know if you're still having trouble getting it to work.
Best,
Kyle

@rwmontalvao thank you for bringing up this issue!
@kntkb thank you for the suggested solution!
@RuikangSun, I think @kntkb has the solution. To provide some more detail, what you need to do is go into admet_ai/web/app/__init__.py and modify app = Flask(__name__) to instead be:
app = Flask(__name__, template_folder='/path/to/admet_ai/web/app/templates', static_folder='/path/to/admet_ai/web/app/static')

where the paths are the absolute paths on your system. By default, Flask uses the relative paths template_folder='template' and static_folder='static' which work for me, but the absolute paths might help on other systems.
Please let me know if you're still having trouble getting it to work.
Best, Kyle

Thank you! It works now.
I found there is no 'static' or 'templates' folder in '/path/to/admet_ai/web/app/' folder after default installation via pip, so I downloaded the 'web' folder and pasted it in '/path/to/admet_ai/web/app/'. Now everything works well.

Great, I'm glad that worked!


iOS does not support VoiceOver scrub back gesture

In iOS native, VoiceOver can use the gesture of scrub back and forth with two fingers to return to the page.
The steps for scrub gestures are:

Press and hold the screen with two fingers, slide to the left first, don't let go.
Swipe back with two fingers to the right, and still don't let go.
Slide two fingers to the left again, and then let go.

The following is my operation video of returning to the page using the scrub gesture in the iOS native settings:
https://user-images.githubusercontent.com/41097395/146786623-51cc9482-b1d2-4482-a813-f25ffca0798a.mp4
However, in flutter, this gesture cannot be used.
For example, I use the following code to jump to the page:
Navigator.push(
context,
MaterialPageRoute(builder: (context) {
return NewRoute();
}),
);
In the page after the jump, I tried to return to the page with two fingers, but nothing happened and the page would not return.
I am using the stable version of flutter 2.8.

Duplicate of https://github.com/flutter/flutter/issues/74246
@luomo-pro see here for a workaround
https://github.com/flutter/flutter/issues/74246#issuecomment-971326926

hi
@yasargil
I read this issue, and according to the comments inside, it is possible to solve this problem.
But I think this is not a good plan.
In iOS native, this gesture is supported by default.
It is very important for blind users, and we should not expect everyone from the developer to manually set it up to support it.
Flutter should be supported by default, which will help countless applications that use flutter to support this gesture by default.

Hi @luomo-pro, thank you for filing this issue.
Please follow up on this issue https://github.com/flutter/flutter/issues/74246, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you

@mamuseferha
Okay, then I will follow up in that issue.
However, I think that the issue was submitted in January this year, and it has been a year since it has not been resolved.
Can you help copy to the person responsible for this? Or raise its priority
After all, this problem has a great impact on blind users, and it is very easy to fix.
It has been a year, and I hope it can be repaired soon.
Many thanks!


Apply YARN-2233...Test not working

https://issues.apache.org/jira/secure/attachment/12655816/apache-yarn-2233.5.patch

Can one of the admins verify this patch?


Error attempting to compile

Hi
may be I'm not so skilled just now, but I attempt to compile in order to contribute. I'm new to javascript , my exeperience is mainly in C++ and oo programming (more than 15 years) under windows. I followed the instruction for contributing:
git clone https://github.com/namespace-ee/react-calendar-timeline.git react-calendar-timeline
cd react-calendar-timeline
yarn
yarn start
I cloned the project, entered in the dir (first two instructions) but when I issue yarn command the result is:
C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23284
throw new UsageError(This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field);
^
UsageError: This project is configured to use npm because c:\Projects\JSON\react-calendar-timeline\package.json has a "packageManager" field
at Engine.findProjectSpec (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23284:21)
at async Engine.executePackageManagerRequest (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23314:24)
at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:24007:5) {
clipanion: { type: 'usage' }
}
Node.js v20.16.0
How can I overcome ?
Regards

The error already says it :-)
"UsageError: This project is configured to use npm because c:\Projects\JSON\react-calendar-timeline\package.json has a 'packagemanager' field"
Instead of yarn, use npm.
so checkout, run npm install and run npm run build or
cd into demos dir, run npm install again and run npm run dev


Is there way to say Entity Generator to skip processing some tables and/or columns?

Hello guys and thanks to a amazing work! I am wonder if there is a way to say entities generator to ignore/skip some tables (and/or some table columns) while generating entity schema? I have in my DB some tables that just ties some records from table A to some records from table B — for example, users to roles.
Currently, when I run
generator.generate({
    save: true,
    baseDir: process.cwd() + '/src/entities-schemas',
});

I got an error  UsersXRoles entity is missing @PrimaryKey().
I'd prefer to work with this table not as Entity, but with plain SQL. But I want to use DB-first approach, so it will be nice to have option in generate method like skipTables: string[] and skipColumns: string[], for example
generator.generate({
    save: true,
    baseDir: process.cwd() + '/src/entities-schemas',
    skipTables: ['users_x_roles'],
});

I didn't found an option in documentation, please tell me if such option exists already!
Best regards and many thanks for your project and work!

that just ties some records from table A to some records from table B — for example, users to roles.

Those are called pivot tables and will be mapped to M:N relations if you define them properly. You should have a primary key on those as well, a composite one. If you don't have one, the entity generator won't understand this is a pivot table.

that just ties some records from table A to some records from table B — for example, users to roles.

Those are called pivot tables and will be mapped to M:N relations if you define them properly. You should have a primary key on those as well, a composite one. If you don't have one, the entity generator won't understand this is a pivot table.

Hm... Ok, it might be useful in some cases, but not in described above: I'd prefer to avoid using collections at all, especially for pivot tables. I'm not going to introduce primary keys in that tables — there is no any reason to do this (and get unneeded extra index).
So, for now I managed to workaround using the following scenario:

I run ./node_modules/.bin/tsx ./generate-entities.ts using entitySchema: true flag (avoiding unneeded decorators in generated code)

After code is generated, in some files there are missing imports, so I run ts-morph fixMissingImports on each file (and it works perfectly).

Because I really want to skip generation of some entities, I just delete some generated files matching blacklisted ones.

When DB schema changes (using some migrations tool), I repeat this procedure, keeping entities in sync to actual DB structure.
I wonder if I do missing some Enitiy Generator configuration options that will just skip some tables to be reflected to generated entities files.
And... Is not entitySchema-style deprecated, I hope? Is it still maintained (because it has issues with missing imports already)?

Yeah, I don't mind adding something like skipTables, it just feels weird not to have a primary key in general, but the use case is valid regardless of that.


Add information about Asset 223

Image:

About can be "For educational purposes only"

Hey @adamsteeber, thanks for this issue, but can you represent Bill to post his photo? Or do you have the approval from Bill?

I don't represent him but I thought I would take the liberty to suggest it for the aesthetic :) But you're right, Bill should approve first. If we can get Bill in here to get his thoughts that would be ideal!

Of course. I appreciated the suggestion, but we'd better have Bill's approval or Bill has announced this logo.

I don't represent him but I thought I would take the liberty to suggest it for the aesthetic :) But you're right, Bill should approve first. If we can get Bill in here to get his thoughts that would be ideal!

Hi @adamsteeber, If you get Bill's approval, you can submit the information need to update here(Google Form), refer to RMRK.

Oi, is that a bad picture of me!  Why don't you use the Billcoin logo that sub.id ( https://sub.id/ ) uses?

I technically say Billcoin is "just for fun" but "educational purposes only" is also fine.

Thanks @laboon , will update it with the one on sub.id soon.

Replace asset icon
files
icons-asset-bill.zip


Install spatie/laravel-backup for automated & easy backups

Description
spatie/laravel-backup is a package for automated backup creation.
The default configuration includes the following data in a backup:

Complete database dump
public/uploads
storage/uploads
.env

I incorporated the data mentioned in the docs.
This does not add any possibility to create backups from the UI. Backups can be created by running the following Artisan command:
php artisan backup:run

If the user wishes he may create a database-only backup:
php artisan backup:run --only-db

I like this package because it lets me create backups with ease and without having to deal with custom scripts. And I'm lazy ¯\_(ツ)_/¯
Points to discuss
Configuration
The package is highly configurable and I already changed some of the defaults, for example the following:
https://github.com/axelrindle/BookStack/blob/336bd2204614de3f20016e4eb4dc12e1a113ca26/app/Config/backup.php#L119-L122
In my eyes the biggest point to discuss is: should there be anything else to configure via environment variables? I'd say no to keep the complexity of the config file small.
Restore
The package does not provide the possibility to restore backups which still leaves that up to the user.

I don't think it'd be worth maintaining such logic in the core project [...]
-- https://github.com/BookStackApp/BookStack/issues/723#issuecomment-1110220775

I agree with that.
Resources
The packages published a lot of language resources. I'm currently questioning whether they should reside in the application's resources as I don't think there will be any changes to them.
Relations
I read through the comments in #185, #723 and #2405.
Closes #723, closes #2405.

Thanks for offering this @axelrindle!
To be honest though, I was hoping for some discussion in regards to the options presented in my #723 comment, before diving into an implementation.
Even taking this approach of using the Spatie package, I reflect some concerns, such as the compatibility of support pattern. Additionally, the surface area of the library is quite large in terms of what it does, while it also introduces some system requirements. We could lock down any exposed options to reduce supported surface area, but then it becomes more viable to support our own logic instead of introducing additional dependencies.

I'm going to go ahead and close this off in favour of exploring options as per my message above.


The best way to keep .dnx versions synchronised with Visual Studio?

I realize that neither the whole dnvm, dnx, etc and Visual Studio 2015 are released yet.
But, is there a recommended way to ensure that the runtimes, sdks, etc are up to date and working together?
For example, I have so far been unable to use the SecretManager, with a default install of Visual Studio 2015 RC, or though the command line utilities. When trying to install it via dnx, it either wants a version of a dependency that is later than that which is available to Visual Studio, or after trying upgrades to dnvm and dnx, when eventually it was able to be installed by forcing the using of the myget feed, it just failed at its constructor. And it is out of synch with the .Net version available in Visual Studio 2015 RC. I give up on SecretManager.
But the point is, there are many places where version, paths, sdks etc have to be entered to both dnx and Visual Studio. It is not a good experience for Visual Studio at all.  Visual Studio is due to be released in 20 days, but there will be lots of work to be able to use ASP.Net 5. Any advice on how will that be rolled out?

To give more information, in case it helps:
Try to follow the process said here:
https://github.com/aspnet/Home/wiki/DNX-Secret-Configuration
Clean install Visual Studio 2015 RC, you have DNVM 1.0.0-beta4 appear in Programs and Features on Windows 8.1 - it is installed with Visual Studio 2015 RC.
You can run DNVM - that is fine - version 1.0.0-beta4.
You can check installed versions of dnx using dnvm list:
All is fine, 1.0.0-beta4 is 'active', and aliased as 'default'.
Visual Studio advice is to use Secrets Manager through command line - ok, we try. No, it does not work, as it is not installed.
Ok, try dnu commands install SecretManager
The result:
Unable to locate the package SecretManager.
The name of the package to be installed was not specified.
Ok, it was specified, it was copied and pasted, it was written by hand. It was just not found.
Next try, upgrade DNX. ok, we get another version 1.0.0-beta6, from a myget site that is apparently temporary. Try dnu commands install SecretManager:
Cannot find Microsoft.Framework.Abstractions.Logging >=1.0.0-beta5
Ok, try something else from web, setting new default dnx version to 1.0.0-beta5, try something else from comments, here on Github, get message commands installed - user-secret. Maybe it works!!
Try to use user-secret -h, response is Error in constructor.
It does not work and It seems you do not really work with Visual Studio team. Difficult to believe it at all. People are trying this and it has good intentions, but it is just not working. Maybe it works on a Mac but not Windows, I dont know.

For example, I have so far been unable to use the SecretManager, with a default install of Visual Studio 2015 RC, or though the command line utilities. When trying to install it via dnx, it either wants a version of a dependency that is later than that which is available to Visual Studio, or after trying upgrades to dnvm and dnx, when eventually it was able to be installed by forcing the using of the myget feed, it just failed at its constructor. And it is out of synch with the .Net version available in Visual Studio 2015 RC. I give up on SecretManager.

Yep that's likely because the dnx version and package version is incompatible.

But the point is, there are many places where version, paths, sdks etc have to be entered to both dnx and Visual Studio. It is not a good experience for Visual Studio at all. Visual Studio is due to be released in 20 days, but there will be lots of work to be able to use ASP.Net 5. Any advice on how will that be rolled out?

But, is there a recommended way to ensure that the runtimes, sdks, etc are up to date and working together?

There are a few questions you need to answer before getting advice:

Do you want to used fixed betas or do you want to use ci builds?

Versions exist in a few places:

The dnvm version (mostly irrelevant)
The dnx version
The various package versions

Fixed betas are the happy path. Those betas are tested together and should work well.
If you want to use nightlies then you need to be aware of the places where versions can appear:
global.json tells visual studio what version of the dnx to use for the solution. The package versions should be in the sync with them. When running from the command line look at the active version (using dnvm list). If you want to use nightly packages, then use -* on your dependencies. It's nearly impossible to choose a set of packages from a single ci build that were designed work together (we're working to make this better). That's because its still early beta and we're making breaking changes.

@davidfowl
Hi, and thanks for the answer.
I am preferring beta builds, of course, to get as much chance of compatibility as is currently available.
So, to clarify, I should try the following:
a) Upgrade the dnvm version (although this is not critical)
b) I should upgrade dnx version, and specify that as the active, and default version (dnx use -p for example).
c) I should also update global.json to list this same version.
d) Update my project.json to specify the versions of packages, and then Visual Studio should attempt to locate the packages.
One point though, dnvm specifies a myget package source. Should I also be using that in Visual Studio? As Visual Studio has a different nuget package source.
Thanks.

I am preferring beta builds, of course, to get as much chance of compatibility as is currently available.

beta builds meaning the ones that are on NuGet.org right? Not our ci builds that are on myget.

b) I should upgrade dnx version, and specify that as the active, and default version (dnx use -p for example).

Yes, set the default and active version to the specific beta you are using.

c) I should also update global.json to list this same version.

Yes, otherwise visual studio will use the wrong version of the SDK.

d) Update my project.json to specify the versions of packages, and then Visual Studio should attempt to locate the packages.

Yes.

One point though, dnvm specifies a myget package source. Should I also be using that in Visual Studio? As Visual Studio has a different nuget package source.

If you're using the RC of VS it has a busted installation of dnvm. You can uninstall it and use dnvm from ASP.NET Home.

For SecretManager (and global commands in general) we have a bug tracking that. We might add support to keep dnx and the app in sync: https://github.com/aspnet/dnx/issues/1326

@davidfowl
"If you're using the RC of VS it has a busted installation of dnvm. You can uninstall it and use dnvm from ASP.NET Home."
I had no idea that was the case, will try that.
@victorhurdugaci
Interesting - I will keep an eye on this. In project properties I can specify a dnx version (this is the same list as is specified in DNVM) - does that not achieve what you need?

BTW don't uninstall the VS RC, uninstall the DNVM that came with the RC. You should have an entry in the Add/Remove programs for it  Microsoft .NET Version Manager

Question from a complete newbie here - I blindlessly followed some instructions to create some scaffolding and now my project doesn't build on VS2015, but it run beautiful with dnx . web.
I get some grim looking errors like CS0234	The type or namespace name 'Data' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?).
I'm still not clear what dnvm nor dnx means, but it sounded correctly, it worked, it busted my VS2015 - is there a magic incantation to bring it back?


Exclude Web Platform Test links as "potential normative references"

The checker considers any outgoing link as a potential reference that might need to be made normative.
Fair enough, but as specs increasingly link to WPT to demonstrate test coverage for each section, then there are a lot of false positives. Can the checker treat WPT as a known source which is NOT a potential normative reference?
Here is a recent example with 623 potential normative references (CSS Color 4). 615 of those are WPT links, which tends to hide the 8 potential normative references which are actually worth checking.
(From https://github.com/w3c/transitions/issues/434 )

Seems reasonable to me.

I hope we can rely on the community to flag an (hopefully unlikely) case where a true normative reference to WPT is used.

I hope so too, and would generally regard such a case as an error in the specification.


I have a problem

i cant find my fork in the file ;-)

Arnaud this is a unconvicing way of testing


Added a ExcludesFilter. Bumped pypika's version.

Coverage increased (+0.02%) to 97.552% when pulling 7bf27938fef0987bc3755a130b1195df89d5542d on x8lucas8x:add-excludes-filter into 15ebf0a8e0c5f97befe694b1cbf064e316407475 on kayak:master.


Implement RW and R ref structs for Stream.For and Stream.Job

stream.For(
    uniform: Time.Delta,
    action: (in Entity e, float dt, ref Vector3 velocity) =>
    {
        velocity.Y -= 9.81f * dt;
    }
);

Disadvantages

Uniform gets copied each time and can't possibly be a ref (but can be a ref type)
Entity struct needs be created and copied each time, this was improved 50% with the in keyword
verbose (only explicit parameters supported, no type infernece possible, in keyword sadly not an option as low-level C# can't tell it apart from ref)
no way to detect write modifications

Change

We want to replace the refs with ref structs R<C> and RW<C that can be read or written.

Advantages
Syntax / Semantics

no more explicit requirements: together with .NET 9.0 OverloadResolutionPriorityAttribute, this means the entire signature of the Runner can be inferred from what happens inside the runner.

 stream.For(
    uniform: Time.Delta,
    action: (e, dt, velocity) =>
    {
        velocity.Y -= 9.81f * dt;
    }
);

code completion plays more nicely with this
explicit syntax still available, and actually shorter than the old explicit syntax
uniform could in theory now be a ref

Read Write Detection

reading components requires the user to type .read or .write to access the specific struct, improving code readability
these accessors will be used to notify subscribers to write changes to components (See fennecs.events.Added/Removed/Modified)
internal reflection usage results in 0 performance impact for components without listener support
these accessors can be used to lock and unlock chunks or archetypes (for parallelization)
the struct has an internal ref to the Entity, and can expose a convenient Remove() directly on the component.
this enables various shortcuts, including .consume semantics

Disadvantages

Entity can't be a ref or in (requires explicit syntax), but in overloads could be provided.
.read or .write is technically more boilerplate

Once R/W notifications are in place, are you considering adding Changed/Removed query matchers?


The functions of pf.get_bounds()

❓ Questions and Help
What kind of bounds are returned form def get_bounds(self, /)?

Is it a bound in top-down view or world coordinate?

They are in world coordinates


Add README instructions on running a local copy of a production build with a remote backend

#2788  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

Jun 26, 6:17 PM EDT: @nickgraz merged this pull request with Graphite.


lib.path.subpath.join: init

Description of changes
This function can be used to safely join subpaths together, a bit like concatStringsSep "/", but safer. Relates to other work in the path library effort.
This work is sponsored by Antithesis :sparkles:
Things done

[x] Wrote documentation
[x] Added and ran tests

@fricklerhandwerk @roberth I'm now working on https://github.com/NixOS/nix/pull/7735 to have better Nix testing support in the future. For now I removed the more hacky property tests from this PR so it's not blocked on that, there's still unit tests in any case.
I also rebased this PR after the merge of #208887, to me this PR looks good like this

This PR isn't strictly blocked by anything, so I'm going to merge this soon


Rename tools/buildtools_wrappers to tools/bazel_tools fixes #355

Fixes #355
I've reviewed and submitted a CLA.

Thank you :smile:


samples(securitycenter): Fix conflict tag introduced in #7421

Last one hopefully.
Fixing a conflicting tag introduced in #7421 . I overlooked this and added the same tag twice, sorry about the PR blast!

Please prioritize this last PR so I can submit doc-side fixes for Security Command Center. Thank you!

Pinging this for visibility - this PR blocks the bulk of the work to get SCC onboarded to the code sample browser. Thank you!


testimonials added in navbar

Pull Request
Description
I added testimonials link in navbar
Closes #695
Type of change

[ ] Adding a new Resource
[x] Adding a new Category
[ ] Documentation enhancement or fixes
[ ] Website enhancement or fixes

Checklist:

[x] I read carefully CONTRIBUTING.md
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

Screenshots (if appropriate):

Additional

Currently redesigning the website. read https://github.com/jfmartinz/ResourceHub/issues/998


Can not store passwds?

I have installed terminus on my gnome DE for fedora workstation. It is simple and beautiful, very nice.
But when I tried ssh client, I can't find options for storing the passwords.
But I found this #297 . Terminus can store passwords, right? how can I do that?

Terminus will ask for password if the key auth doesn't succeed. Successfully authenticated passwords are stored in the system keychain.

I need to install the gnome-keyring python binding.
[root@me platforms]# dnf remove gnome-python2-gnomekeyring

or the python script will fail.
[root@me platforms]# python gkeyring.py --help
Traceback (most recent call last):
  File "gkeyring.py", line 13, in <module>
    import gnomekeyring as gk
ImportError: No module named gnomekeyring

Yes, now it works fine.

Thank you for debugging! I've added the RPM dependency

Hello @Eugeny, the RPM in question (gnome-python2-gnomekeyring) is not available on Fedora 33. Are you aware of any alternatives we can use?


readdir for 9p2000.L

Working read of 9P2000.L directories. Note that you can cat
but not ls -l yet, as we don't have stat, and the first thing
ls does is stat the directory.
This works with a 9P2000.L server running at <IP_ADDRESS>!8080
srv tcp!<IP_ADDRESS>!8080 x
mount -M N /srv/x /n/x
cat /n/x
Signed-off-by: Ronald G Minnich<EMAIL_ADDRESS>

PTAL


Unable to connect AAD enabled AKS Cluster ... KubeLogin Not found ... But Kubelogin is installed

Describe the bug
Unable to connect AAD enabled AKS Cluster ... KubeLogin Not found ... But Kubelogin is installed and path is added in ENV PATH on Win 10 OS CLient
1014 13:05:26.101230 5608 proxy_server.go:147] Error while proxying request: getting credentials: exec: executable kubelogin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
kubelogin is not installed which is required to connect to AAD enabled cluster.
To learn more, please go to https://aka.ms/aks/kubelogin
getting credentials: exec: executable kubelogin not found

To Reproduce
Steps to reproduce the behavior:
Use below version to connect to AAD enabled AKS Cluster

Install instructions for kubelogin: https://azure.github.io/kubelogin/install.html

I have the same issue.
I've experimented with the MSI of Lens versus the installer, I've put kubelogin.exe into every place I can find in %APPDATA%\Local\Programs\open-lens, everywhere in the Program Files\OpenLens directory (and every subdirectory). I can't get it to work.
I can run kubelogin from a command prompt and powershell as well, so it appears to be in the path. I assume I'm missing something simple but I can't work it out.

Same here,
kubectl is working fine through kubelogin, but Lens keep reporting same error...

Same issue here:

I can login and run Kubectl in powershell, but Lens cannot connect to the cluster

Same problem here

I fixed it moving kubelogin.exe into my OpenLens Installation directory:
C:\Users[USERNAME]\AppData\Local\Programs\OpenLens
I installed kubelogin via scoop, so the executable can be found here:
C:\Users[USERNAME]\scoop\apps\azure-kubelogin\0.1.0\bin\windows_amd64

On my machine, it was only solved until I copied kubelogin.exe to %USERPROFILE%\AppData\Local\Programs\Lens\resources and %USERPROFILE%\AppData\Local\Programs\Lens\resources\cli.

Any update on this?

For me it only worked when I copied kubelogin.exe to %USERPROFILE%\AppData\Local\Programs\Lens\resources\cli\bin

For me it only worked when I copied kubelogin.exe to %USERPROFILE%\AppData\Local\Programs\Lens\resources\cli\bin

This worked for me, many thanks! 🫶.
Seems odd to me having to copy a binary like into random folders until the application actually works.


SARS outbreak dataset

Description
The file contains SARS number outbreak confirmed cases, deaths, recovered from March to July 2003 across the world.

Issue Ticket Number
Fixes #173

Checklist:

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] I have cross-checked that the dataset I'm uploading is not present in the project
[x] I have cross-checked that the dataset is present in the correct folder

Good one @Tribhuvan0
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.

Hey, I am not clear where to comment on my profile. I have created the
account
On Thu, 13 Oct 2022 at 10:50, Nikhil Raj @.***> wrote:

Good one @Tribhuvan0 https://github.com/Tribhuvan0
Congrats 🎉, your PR got merged. To be eligible for the swags from
ClueLess. Follow these steps.

Star this repository. ⭐
SignIn / SignUp in ClueLess Website https://www.clueless.tech/ .
Go to the profile section from the top right-hand corner.

[image:
https://s3.us-west-2.amazonaws.com/secure.notion-static.com/74339abf-adaf-4b25-8496-7642f08f7c03/Screenshot_2022-09-30_at_2.40.58_PM.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAT73L2G45EIPT3X45%2F20220930%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20220930T091323Z&X-Amz-Expires=86400&X-Amz-Signature=346a58118a3686075c16e368b225e3c9ec7cb48c7a90c70903ff788e0812832f&X-Amz-SignedHeaders=host&response-content-disposition=filename %3D"Screenshot%25202022-09-30%2520at%25202.40.58%2520PM.png"&x-id=GetObject]
https://camo.githubusercontent.com/1b580b98ebd3959fa079183b5d9930d6c99947df6e1cd2b21b7b0d15dd8e93c0/68747470733a2f2f73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f7365637572652e6e6f74696f6e2d7374617469632e636f6d2f37343333396162662d616461662d346232352d383439362d3736343266303866376330332f53637265656e73686f745f323032322d30392d33305f61745f322e34302e35385f504d2e706e673f582d416d7a2d416c676f726974686d3d415753342d484d41432d53484132353626582d416d7a2d436f6e74656e742d5368613235363d554e5349474e45442d5041594c4f414426582d416d7a2d43726564656e7469616c3d414b49415437334c324734354549505433583435253246323032323039333025324675732d776573742d322532467333253246617773345f7265717565737426582d416d7a2d446174653d3230323230393330543039313332335a26582d416d7a2d457870697265733d383634303026582d416d7a2d5369676e61747572653d3334366135383131386133363836303735633136653336386232323565336339656337636234386337613930633730393033666637383865303831323833326626582d416d7a2d5369676e6564486561646572733d686f737426726573706f6e73652d636f6e74656e742d646973706f736974696f6e3d66696c656e616d6525323025334425323253637265656e73686f742532353230323032322d30392d3330253235323061742532353230322e34302e35382532353230504d2e706e6725323226782d69643d4765744f626a656374

Comment your profile URL under this comment tagging the person who
merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.
—
Reply to this email directly, view it on GitHub
https://github.com/Clueless-Community/Datasets/pull/173#issuecomment-1277044510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARUVPGHDTS7OMT6PZ5G5HS3WC6LYTANCNFSM6AAAAAARDI3D24
.
You are receiving this because you were mentioned.Message ID:
@.***>

https://www.clueless.tech/profile/admin/117724050336165010318
@nikhil25803


Refactoring

Just an issue to use, when someone refactors the code and has no need to link it to the original issue.
(Use this alone only if no functionality was added or removed).

Some refactoring done with commit 75cdea42eedc4d1bdfa9e1b2445e621b2bf49c7f


Feature to disable caching

I just found a situation where govendor would always fetch the cached version rather than master.
Can we have an option to disable cache altogether? Some users do not need the "benefits" of caching.

Fair option. I'd rather fix caching though. Any thoughts on why the cache isn't correctly updating from master?

@kardianos I'd have to reproduce again the situation, I will report back if I do (although I'd treat that as a separate issue)

What is the status of this? caching is misbehaving again today (it did not correctly fetch master).
I do not want to fix caching, I would like to have it disabled because it affects build reproducibility, is that possible?


Add charging_state to VehicleSummary

Fixes: #3078
This will publish the state to MQTT and allow sensing of the NoPower state.

Notes:

Not tested yet. About to do that.
Wondering if I should add to @always_published which will publish nil values. But most likely reason for nil value is because vehicle.charge_state is nil, which means we don't know this value just yet, which means we shouldn't publish.

Actually thinking we shouldn't publish any vehicle.charge_state values if that value is nil, because it does mean we don't know what the value is. But fixing this beyond the scope of this simple pull request.

As far as I can tell the CI test failures are unrelated.

Preliminary testing seems to indicate it is working...

Not tested yet. About to do that.

Did you test it in the meantime?

Yes, is tested and working. I see there is a conflict, will try to resolve that.

I rebased this against the latest master.

I think the test cases are not connected to this PR.


How to configure the datasource properties in the configuration file

Hello,
I am trying to configure the datasource properties as they are here:
https://github.com/brettwooldridge/HikariCP#initialization
However, I can not find a way to configure them within the configuration file. Is there a possibility to do this?

The link you listed shows an example of using a .properties file. see under Example property file: Is this not what you were looking for? If you want to use some other configuration framework just pass the config to some helper method and construct the datasource yourself.

I am sorry, I was not clear enough. I mean that I can not find a way to configure properties that are then configurations for jdbc such as:
 config.addDataSourceProperty("cachePrepStmts", "true");
 config.addDataSourceProperty("prepStmtCacheSize", "250");
 config.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");

Can they not be configured via the properties file?

Take a look at https://github.com/brettwooldridge/HikariCP/blob/dev/src/main/java/com/zaxxer/hikari/util/PropertyElf.java#L45
Looks like you should be able to do
dataSource.cachePrepStmts=true

Alright! Thanks for sorting this out for me!

@billoneil Thanks!

I took this a little further since we are using HikariCP with the PlayFramework:
(https://groups.google.com/d/msg/play-framework/kdFEqPMgqFk/k22DTkc8AQAJ)
In the play framework, the options can be passed to the hikaricp using the application.conf like this:
db {
  default {
	driver=com.mysql.jdbc.Driver
	url="jdbc:mysql://localhost/some_database"
	username=someuser
	password="a strong password"
	hikaricp {
	  dataSource {
		cachePrepStmts=true
		prepStmtCacheSize=250
		prepStmtCacheSqlLimit=2048
	  }
	}
  }
}

I hope this helps people that come across the same problems as I did.


Not an issue - just a question: On your new testing suite, how do you generate the images? What's the role of busybox?

Hi,
I am trying to understand your newly added test suite.
I understand that in this code, you copy your images and push them to git (before you run your workflow over it and test the outcome):
https://github.com/dataaxiom/ghcr-cleanup-action/blob/58c8401f9e9f66de70837069b5118007bdacfd56/src/ci-tester.ts#L38
For the test "multi-untagged", my understanding is that this code translates into this command:

skopeo copy docker://busybox@sha256:97d85ff9630b634ddff3e3ff69fd02bc3b69de8dba0c5002eb0ad6915d1bf4c0  docker://ghcr.io/${owner}/${packageName}:uclibc --dest-creds=token:${token} --all

My reading: skopeo takes the image from busybox and pushes it to git. What I don't get is where that "busybox" repository is located, and how the image got in there in the first place.
Probably a very simple question, would much appreciate your pointer.
It's great work you are putting into this, and as written in the other thread - I am learning a ton ;)
Thanks again.

I think I figured it out.
the "docker://" refers to dockerhub, and you are essentially cloning the busybox images from there.
the above

docker://busybox@sha256:97d85ff9630b634ddff3e3ff69fd02bc3b69de8dba0c5002eb0ad6915d1bf4c0

thus refers to this and you are pushing it to your github project and tag it as "uclibc"
Since you have specified 3 images to clone, which you all tag with "uclibc", and you iterate in the code through these lines, with v1.34 being the last one, the uclibc is lost on 1.35 and 1.36, leaving them untagged.
https://github.com/dataaxiom/ghcr-cleanup-action/blob/58c8401f9e9f66de70837069b5118007bdacfd56/tests/multi-untagged/prime#L1-L3

You got it! that's correct.
Technically docker:// can refer to any registry, but without a host part it defaults back to the docker.io (dockerhub).
I chose busybox image as it's very small and is a multiarch image.

Very neat solution!
Maybe one question/suggestion:

https://github.com/dataaxiom/ghcr-cleanup-action/blob/58c8401f9e9f66de70837069b5118007bdacfd56/tests/multi-untagged/prime#L1-L3

Could this part be written like this instead? E.g. that no tag is specified for those primed packages that should remain untagged (instead of uclibc). Of course, the current implicit logic works as expected (since the uclibc tag overwrites itself and is only kept then on the last package that is pushed). I feel that explicitly not setting a tag would be cleaner & help readability. What do you think?
 busybox@sha256:97d8...||--all //uclibc-1.36
 busybox@sha256:e542...||--all //uclibc-1.35
 busybox@sha256:136c...|uclibc|--all //uclibc-1.34

Could this part be written like below instead? E.g. that no tag is specified for those primed packages that should remain untagged (instead of uclibc). Of course, the current implicit logic works as expected (since the uclibc tag overwrites itself and is only kept then on the last package that is pushed). I feel that explicitly not setting a tag would be cleaner & help readability. What do you think?
 busybox@sha256:97d8...||--all //uclibc-1.36
 busybox@sha256:e542...||--all //uclibc-1.35
 busybox@sha256:136c...|uclibc|--all //uclibc-1.34

Created a PR (https://github.com/dataaxiom/ghcr-cleanup-action/pull/16)for it :)

without a specific label skopeo (and docker) will use the label "latest". it's a good idea though.
So the code would need to use the digest or tag in the first part if there is not one in the second part. It would basically have to interpret an empty 2nd part as if
 busybox@sha256:97d8...|sha256:97d8...|--all //uclibc-1.36

I believe the skopeo command would have to check if it's using a digest on the second part and prefix a '@'

Could we simply label them as ‚dummy‘ and add the dummy image last, so that the packages that should be untagged lose the dummy tag once again?

I'm not sure that would work for the last image and then it might defeat your purpose of making it easier to read. As you'd have to know about that as compared to how it works now. However, when I run these tests in my own fork and there are problems it's better to have named tags/digests to trouble shoot. it gets confusing.
it's a good idea not to use the tag override to create untagged images, just that the skopeo command should be coping direct digests (not tagged ones).
skopeo copy docker://busyboxy@sha256:97d8.....   docker://ghcr.io/repo..../packagename@sha56:97d8...

but it also needs to support (example)
skopeo copy docker://busyboxy@sha256:97d8.....   docker://ghcr.io/repo..../packagename:uclibc-1.32

A even more specific setup would be to support:
 busybox@sha256:97d8...|sha256:97d8...|--all //uclibc-1.36

That way there is no interpretation needed and it would directly push the untagged images.


Fix for Issue 520 - Exception during createSynchronizationProcessor causes imap-sync to skip all other email origins

An attempt to fix: https://github.com/orocrm/platform/issues/520

Bug already has been fixed.


design: consuming k8s clusters

Description of your changes

Design portion of https://github.com/crossplaneio/crossplane/issues/859 and related discussions. Most notable feature is the implementation of a new custom resource WorkloadTarget, which encompasses the functionality of "publishing" a k8s cluster for consumption in a namespace.
How has this code been tested?

[skip ci]
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[x] Updated any relevant documentation and examples.
[x] Reported all new error conditions into the log or as an event, as
appropriate.

For more about what we believe makes a pull request complete, see our
definition of done.

I think that Provider(s) should do the "Managing" of a managed kubernetes cluster (and other service offerings.) So, whether its a public cloud, or some custom on-prem API, that would make sense for me to be a Provider.

https://github.com/crossplaneio/crossplane/blob/09bc80/design/one-pager-k8s-native-providers.md
@zoharm the above design document provides a little context on the "Kubernetes provider". In short, a Crossplane provider represents an external API account that can be used to "provide" (provision) managed resources. i.e. A GCP Provider is basically a GCP service account that can be used to access a GCP project, while an AWS Provider is an AWS IAM user that can be used to access an AWS account.
The Kubernetes provider is a bit of an odd one, in that it's not used to provide Kubernetes clusters, but rather uses Kubernetes to provide other managed resources. An example of this using the Kubernetes provider to provision a CockroachDBCluster managed resource.

The Kubernetes provider is a bit of an odd one, in that it's not used to provide Kubernetes clusters, but rather uses Kubernetes to provide other managed resources. An example of this using the Kubernetes provider to provision a CockroachDBCluster managed resource.

@negz Ok, thank you for this clarification! So, a statically provisioned (custom/on-prem) cluster could be a Kubernetes-Native-Provider provisioning a CockroachDBCluster managed resource as mentioned.
However, is the Kubernetes-Native-Provider the mechanism by which a cluster is consumed by a workload (such as an app's kubernetes resources, like a deployment and service)? It seems to me this path is different than going through a Provider (instead something among the lines of KubernetesApplication > KubernetesCluster(Resource) - where KubernetesApplication is not something that actually consumes a Kubernetes-native-provider?), please correct me if I'm wrong. Thank you!

It seems to me this path is different than going through a Provider (instead something among the lines of KubernetesApplication > KubernetesCluster(Resource) - where KubernetesApplication is not something that actually consumes a Kubernetes-native-provider?), please correct me if I'm wrong.

@zoharm you're right. I also think that the usage of Provider resource has changed in Crossplane and naming could be improved https://github.com/crossplaneio/crossplane/pull/1101#discussion_r351647247

I still see great value in isolating that "publishing" step with a different API object.

I agree. Consider what we might want from a scheduling target**:

A way to declare that a Kubernetes cluster exists as a scheduling target.
Details on how to connect to the Kubernetes cluster (the secret).
Metadata that we could use to schedule on (currently labels, eventually other things like price, latency, and geography).

While I see it solves some problem, I don't love the UX of scheduling a KubernetesApplication across both KubernetesCluster and KubernetesTarget. I imagine KubernetesApplication would need both clusterRef and targetRef under this proposal, and maybe even clusterSelector and targetSelector, with the cluster and target fields being mutually exclusive?
How about:

A KubernetesApplication can only be scheduled to a KubernetesTarget in its namespace.
A KubernetesApplication is scheduled to a KubernetesTarget by setting its targetRef. Its optional targetSelector limits which KubernetesTarget the KubernetesApplication may be scheduled to.
A KubernetesTarget contains a connectionSecretRef and a clusterRef. The former references the connection secret that will be used to connect to the cluster. The latter points to a GKE, EKS, etc cluster whose connection secret will be propagated to the namespace of the KubernetesTarget.

For example:
apiVersion: crossplane.io/v1alpha1
kind: KubernetesTarget
metadata:
  namespace: default
  name: coolcluster
spec:
   # If this reference is set _and_ connectionSecretRef is unset its secret
   # is propagated to the namespace of the KubernetesTarget, whose
   # connectionSecretRef is updated to point to the propagated Secret.
   # The propagation only happens if and when the cluster is bound to a
   # claim.
   clusterRef:
     apiVersion: compute.gcp.crossplane.io/v1alpha3
     kind: GKECluster
     name: coolcluster
  # If this reference is set the secret is assumed to exist and clusterRef is
  # ignored.
  connectionSecretRef:
    coolsecret

The UX for BYO is then, for each namespace in which you want to use that cluster.

Create a connection secret for it.
Point a KubernetesTarget at it.

The UX for clusters the app team claims as their own is then:

Create a KubernetesCluster claim.
Point a KubernetesTarget at the claim's connection secret.

The UX for infra operators wishing to share a cluster with many app teams is:

Create a KubernetesCluster claim in some system namespace, like crossplane-system.
For each app team that you want to use that cluster, create a KubernetesTarget in their namespace and set its clusterRef to the managed resource it is bound to.

The big danger zone with this proposal is that anyone who can create a KubernetesTarget can allow themselves to schedule to and read the connection secret of any bound Kubernetes cluster. I think we can simply state that RBAC will prevent app owners from creating their own KubernetesTarget resources for the first pass of this design. I like the idea of adding a controller that automatically creates a KubernetesTarget for every KubernetesCluster claim as a follow on.
** Given that I keep calling this a "scheduling target", and that part of its job is eventually going to be describing any properties of the Kubernetes cluster it represents that we might want to schedule on, I'm now leaning more toward the KubernetesTarget name than KubernetesConnection. :( The name KubernetesEndpoint (like the Endpoint resources that back a Service) also came to mind while writing this.

@muvaf would you mind approving this? I believe your requested changes will block merging

Thanks for persisting with this @hasheddan.


Improve collectInfo command description

This separates the code change from doc change in favor of https://github.com/Alluxio/alluxio/pull/10926/files

LGTM

@ZacBlanco this is good to go. Do you mind merging this PR? Thanks!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8495/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8497/
Test FAILed.

alluxio-bot, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8498/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8500/
Test PASSed.

Closed as this bases off 2.2, which is an incorrect approach.
Created https://github.com/Alluxio/alluxio/pull/11037 in place of this PR. Please merge #11037 instead. Thank you!


Modify slide backgrounds

There should be a modifier for slide backgrounds. #85

@MP70: Could you please provide a test case to this branch and probably some example code with your required parameters?
I would like to write some docs on how to create a new modifier. :)

Have added a little test. It's only a indicator, there may be a neater way to arrange it, like making the background another type like shape, table etc.

Currently manually getting the <p:bg> / <p:bgPr> element, then modify like:
bg
.getElementsByTagName('a:solidFill')[0]
.getElementsByTagName('a:schemeClr')[0]
.setAttribute('val', 'accent6');  // Change 'accent6' to your desired color value

Hi @MP70, please check out modify-master-background-color.test.ts to see a basic example.

@MP70: It would be great if you could also test modify-master-background-image.test.ts with your real world stuff. It turned that it required a slightly different approach for background images than for "normal" image elements on a slide.
@creedmangrum: This might be useful for you, too.
I'm happy about feedback on this!


Update Container.destroy documentation

Updated the Container.destroy documentation very slightly to make it clear what the function will do if optional parameter passed.

Pull requests should be made to dev and not *master branch. Also, we have recently updated the destroy API, see #2592  for more information.


python311Packages.plugwise: 0.36.2 -> 0.36.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.plugwise is: Python module for Plugwise Smiles, Stretch and USB stick
meta.homepage for python311Packages.plugwise is: https://github.com/plugwise/python-plugwise
meta.changelog for python311Packages.plugwise is: https://github.com/plugwise/python-plugwise/releases/tag/v0.36.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.36.3 with grep in /nix/store/vmhjnp2qvhzmv5giaw3y57k4xgq75vxz-python3.11-plugwise-0.36.3
found 0.36.3 in filename of file in /nix/store/vmhjnp2qvhzmv5giaw3y57k4xgq75vxz-python3.11-plugwise-0.36.3

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.plugwise
python311Packages.plugwise

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vmhjnp2qvhzmv5giaw3y57k4xgq75vxz-python3.11-plugwise-0.36.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/6087581124ef38967d6424754b90603a69f086fa#python311Packages.plugwise

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vmhjnp2qvhzmv5giaw3y57k4xgq75vxz-python3.11-plugwise-0.36.3
ls -la /nix/store/vmhjnp2qvhzmv5giaw3y57k4xgq75vxz-python3.11-plugwise-0.36.3/bin

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

1 package built:

python311Packages.plugwise

Maintainer pings
cc @fabaff for testing.

@ofborg eval

Result of nixpkgs-review pr 282394 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.plugwise
python311Packages.plugwise
python311Packages.plugwise.dist


EOF token instance doesn't have the type property

I noticed that running this.CONSUME(EOF) doesn't give me a token instance with the type property that the other token constructors would. Should they be of the same interface?

Thanks for spotting this bug.
I'm working on a large refactor that will remove the usage of ECMAScript inheritance
in favor of supporting multiple categories for Tokens.

For example, "false" may be both a literal and a keyword.

This will include the fix for the issue you have described.

Thanks! I hope this can be backported early as it would make my flow types correct.

I will release a new version as soon as this large change is ready.

For example:
// Before
class EndOfLineT extends Token {
  static PATTERN = /(?:\r\n|\n)+/;
  static LINE_BREAKS = true;
  static GROUP = Lexer.SKIPPED;
}

// After
// Before
class EndOfLineT extends Token {
  static PATTERN = /(?:\r\n|\n)+/;
  static LINE_BREAKS = true;
  static GROUP = Lexer.SKIPPED;
}

They are still TokenConstructors right? I was using the fact that they all extended from TokenConstructors as a type.

They are still TokenConstructors right? I was using the fact that they all extended from TokenConstructors as a type.

TokenConstructor will be renamed to TokenType.
https://github.com/SAP/chevrotain/pull/608/files#diff-8b37607470f551d2581df1937a6acb79R28

I hope to release 1.0.0 later this week with this fix.

I mean I use flow types, so I give a type to the type parameter returned by a token instance. I am originally doing this:
import typeof { Token as TokenConstructor } from 'chevrotain';
type cstLeaf = {
  image: string,
  type: TokenConstructor
};

But if Token as an extended class is deprecated, instead I can ask for the interface, and say that the type is of interface token instance. Of course flow cannot currently use typescript types, so I just have to write that I mean by a token instance interface.

Sounds reasonable.
Upcoming list of breaking changes due to Tokens refactoring can be found here:
https://github.com/SAP/chevrotain/issues/564#issuecomment-349062346
I think that one more small change and I will be ready to release 1.0.0 😄
I am also attempting to re-name the properties:

tokenType --> tokenTypeIdx
type --> tokenType

As those names would be more meaningful, but once again will create a breaking change 😢


Youtube

Added video position indicator #983 #982

I understand the issue and saw Vu’s comments on discord. My point is that
you are doing an import and not export. The Lottie code you posted is using
export as well.
All other comments still apply.
On Fri, Nov 10, 2023 at 3:35 AM fullstackctp @.***>
wrote:

@.**** commented on this pull request.
In lib/widget/youtube/youtubestate.dart
https://github.com/EnsembleUI/ensemble/pull/960#discussion_r1389285720:

@@ -0,0 +1,7 @@
+import 'package:ensemble/widget/youtube/native/youtube_platform_native.dart'

To fix the issue where the youtubeplayer doesn't work sometimes on the
ensemble web studio. This issue is actually an issue from the package side.
sarbagyastha/youtube_player_flutter#819
https://github.com/sarbagyastha/youtube_player_flutter/issues/819
In the issue, it was said to load the WebYoutubePlayerIframePlatform().
This requires importing libraries that work on the web only.
The native library doesn't get imported for the web. It is actually done
in the same way as the lottie widget.
export 'native/lottiestate.dart' if (dart.library.html) 'web/lottiestate.dart';
I have tested multiple youtube widgets in the same screen. It doesn't load
the video in the player in web. That is why I added the videoList for
loading the multiple video in a single player. This problem exists in the
demo that they provided.
https://sarbagyastha.com.np/youtube_player_flutter/#/
—
Reply to this email directly, view it on GitHub
https://github.com/EnsembleUI/ensemble/pull/960#discussion_r1389285720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMZUAR46JMWPY7T5OSG67DYDYGQDAVCNFSM6AAAAAA7BO655OVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOMRUGU4TONBXG4
.
You are receiving this because you commented.Message ID:
@.***>

@fullstackctp does it fix the multiple youtube players on the page issue?

@fullstackctp please create a ticket or multiple tickets and link here. All your commits must have the ticket as the commit comment

@fullstackctp does it fix the multiple youtube players on the page issue?

Yes. The recent commit i just did fixes that

@fullstackctp please create a ticket or multiple tickets and link here. All your commits must have the ticket as the commit comment

I have added new tickets and linked to this PR.

@snehmehta kindly review this as well. this is deeper into flutter than I am comfortable reviewing

@snehmehta please review this


channels command

Next Centrifugo release will have channels command to get list of active channels in project. Here is a code to support it

+++


Query/Scan limit is ignored

I can specify the limit parameter to query() and scan(), but because the result iterator keeps reading on using lastEvaluatedKey, all result rows are always returned and limit only becomes a batch size parameter.
Perhaps the iterator should manually check that if limit is reached, it stops yielding results?

That's a good point. Right now, that parameter is meant to control batch size, and it uses the same name as the underlying DynamoDB API parameter. That name is misleading when the result pages are being flatmapped into an item iterator.
I could add a separate batchSize parameter that would do what limit is doing now and change limit to act as a bound on the returned iterator, as you suggested.

Hi @jeskew ,
Is there a way you could enable limit as separate purpose for pageSize?
This is my use case:
I want to text search on a table (around 12k items) by using scan, and I want to make batchSize rather big (around 1k) to avoid Lambda Function execution time limit.
But I just want to retrieve first 100 items, not all of them, to suggest user refine their search if the result is too big.
If I set pageSize parameter to 100, I will have Time Limit Exceeded Error on Lambda, but if I set it to 1000, the loop will continue the scan after 100 items found.
Is there a way to achieve this using the current API?

@puzzloholic You can set pageSize and limit separately.
mapper.scan(Ctor, {
    pageSize: 1,
    limit: 10
});

would request pages with 1 element and cease iteration after encountering 10 items.

@jeskew I have already play with that two parameters.
This is result I got:

pageSize: 100, limit: 100, will do scan process every 100 items and stop at 100 items found
pageSize: 1000, limit: 1000, will do scan process every 1000 items and not stopped until scan is finish (maybe because no scan yield more than 1000 result)
pageSize: 1000, limit: 100, will do scan process every 100 items and stop at 100 items found
pageSize: 100, limit: 1000, will do scan process every 100 items and not stopped until scan is finish

The iterator will keep going until all results are exhausted or limit is reached. Do you want to instead process each page of results as it is received? That can be done by detaching the paginator:
const paginator = mapper.scan(Ctor, {pageSize: 100}).pages();
for await (const page of paginator) {
    // do something with a page of results.
    // Each page will contain a maximum of 100 records.
}

See https://awslabs.github.io/dynamodb-data-mapper-js/packages/dynamodb-data-mapper/classes/scaniterator.html#pages for documentation of this feature.


Fix "Incorrect time metrics" (#2510)

This is a fix for #2510 . It tracks the start and end times of operations, and then coalesces overlapping operations until only discontiguous spans remain. The durations of these spans are then used to calculate the overall time spent per category.

Cool!
@matthid can you please review this?

It's a bit of a strange way of doing it and we might want to prefer DateTime.UtcNow, but it could work.
The build is red ;)
As I don't have a better suggestion at the time on how to fix this we can try it :)

thanks


Change from api.neuvector.com to permission.neuvector.com api group

The 1st NeuVector/Rancher SSO design uses a CR for each NeuVector permission.
It causes Rancher UI to display the raw nv-perm.xyz strings in the resource drop-down menu of Role creation pages:
(see https://github.com/rancher/dashboard/pull/11184)
nv-perm.all-permissions
nv-perm.admctrl
nv-perm.audit-events
nv-perm.authentication
nv-perm.authorization
nv-perm.ci-scan
nv-perm.compliance
nv-perm.events
nv-perm.fed
nv-perm.reg-scan
nv-perm.rt-policy
nv-perm.rt-scan
nv-perm.security-events
nv-perm.config
nv-perm.vulnerability

This PR is to change NeuVector apiGroup from api.neuvector.com to permission.neuvector.com and leverage one CRD per NeuVector permission:
> kubectl api-resources | grep permission.neuvector.com
admissioncontrol                                 permission.neuvector.com/v1            false        AdmissionControl
auditevents                                      permission.neuvector.com/v1            false        AuditEvents
authentication                                   permission.neuvector.com/v1            false        Authentication
authorization                                    permission.neuvector.com/v1            false        Authorization
ciscan                                           permission.neuvector.com/v1            false        CIScan
cluster                                          permission.neuvector.com/v1            false        Cluster
compliance                                       permission.neuvector.com/v1            false        Compliance
events                                           permission.neuvector.com/v1            false        Events
federation                                       permission.neuvector.com/v1            false        Federation
namespace                                        permission.neuvector.com/v1            false        Namespace
registryscan                                     permission.neuvector.com/v1            false        RegistryScan
runtimepolicy                                    permission.neuvector.com/v1            false        RuntimePolicy
runtimescan                                      permission.neuvector.com/v1            false        RuntimeScan
securityevents                                   permission.neuvector.com/v1            false        SecurityEvents
systemconfig                                     permission.neuvector.com/v1            false        SystemConfig
vulnerability                                    permission.neuvector.com/v1            false        Vulnerability

In this way, the NeuVector options in the resource drop-down menu will be more readable to users

Once merged this will need backporting to the release-2.9 branch

If it's late to merge this change to Rancher 2.9 branch, NV 5.4 will support both approaches.
Let us know the decision so that we can update NV code accordingly.

@williamlin-suse We might be able to get this in to 2.9.0, would someone your side be able to QA the change?

@richard-cox I am from NeuVector QA team. We will do the testing for this change. I have been testing this feature on Rancher 2.9.0 alpha7 build. Please give us some detail which image need to be tested. Thanks!.

Given some issues e2e test wise lets go with the suggestion from https://github.com/rancher/dashboard/pull/11527#issuecomment-2250230396 .

Update goes in to v2.10.0 (this PR) (rancher/dashboard master branch)
Update goes in to v2.9.next1 (next feature release after 2.9.0) (rancher/dashboard release-2.9 branch ... to merge after 2.9.0 is released).

That gives us plenty of time to discuss (given question in slack), review, merge and QA the changes

https://github.com/rancher/dashboard/pull/11531 has merged, this PR will need to rebase from master and then the gates should pass


Add chromium sandbox to docker image and CI

To improve security: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#setting-up-chrome-linux-sandbox

https://github.com/buildkite/docker-puppeteer/blob/master/Dockerfile

Help testing this required


extended selection-api for nodes

extended selection-api for nodes

by selectedLeafNodes
by hiddenNodes

Published in 8.3.0


Reviewer Panel Updates

@ricardomiron is it still needed?
Formatting of text received back from experts on reviewers panel to show URLs and spacing

@PelinSmines URLs and spacing are working okay, overall text formatting could be improved with the system-wide change to have a proper formatting option but it is not a priority in this section. Closing this for now.
This is how inputs are displayed:


Support separate themes per community or collection (like XMLUI)

Estimate from release plan: 70 hours
Expressing interest: Atmire
From release plan:
Sitewide themes is done (see OR2019 workshops). Community/Collection specific theming is more difficult until we upgrade Angular 9.

This ticket should include our new theme build/switch process

As noted in today's meeting, this ticket will likely be split into two once we upgrade to Angular 10 (see #787 ).  Those two tasks will be similar to the following:

Provide very basic/limited support for Community/Collection styling in Beta 5 (for simple use cases only)
Full Community/Collection theming will likely be delayed for 7,1.

This must wait for Angular 10 upgrade though as our theming strategy depends heavily on Ivy, which is not used by default until Angular 9.  Therefore, after upgrading to Angular 10, it will be much easier to scope & estimate the two new tickets.

During the last meeting we agreed on the following approach:

Create a ThemeService that can provide the name of the active theme, based on the theme config in the environment, and the current route.

other options (such as the language) are possible, but won't be part of the first iteration.

Create a generic ThemeableComponent,

It should get the name of the active theme from the ThemeService
It should contain the logic to lazily load a themed version of the component with the specified name
It should fall back to the default version of that component if no version can be found for the active theme
Create a themed implementation of the ThemeableComponent for the home page

Add support to base our existing dynamically loaded on the theme name

Add an optional theme parameter to the decorators of our existing listable components
Get the theme name from the ThemeService and use it to help determine which listable component to render
Create a themed implementation of the item page, for at least untyped items and publication entities.

Ensure global sass variables can be themed and are stored in the theme directory, either by turning the app component itself into a ThemeableComponent, or by using existing the CSSVariableService

This will take an estimated 20h - 24h
Afterwards we'll create ThemeableComponents for the other public page components as a first priority, and the ones you need to log in for but can access without admin privileges as a second priority. As a last priority we'll add it for admin-only pages, but most likely we won't get to that for 7.0
I already spent 10h on this task for the proof of concept last week

Thanks @artlowel .  I've kept this assigned to you for your team to start work on immediately, but changed the estimate to 30hrs (20hr estimated + 10hr already spent).


Can't install python package through doker file

Here is th template I use to run R code in azure ml using azure cli.
I am using following docker file:
FROM rocker/tidyverse:4.0.0-ubuntu18.04

# Install python
RUN apt-get update -qq && \
 apt-get install -y python3-pip tcl tk libz-dev libpng-dev

RUN ln -f /usr/bin/python3 /usr/bin/python
RUN ln -f /usr/bin/pip3 /usr/bin/pip
RUN pip install -U pip

# Install python packages
RUN pip install azureml-mlflow
# RUN pip install mlfinlab

# Create link for python
RUN ln -f /usr/bin/python3 /usr/bin/python

# Install additional R packages
RUN R -e "install.packages(c('mlflow'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('carrier'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('optparse'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('tcltk2'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('AzureStor'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('data.table'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('https'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('later'), repos = 'https://cloud.r-project.org/')"
RUN R -e "install.packages(c('reticulate'), repos = 'https://cloud.r-project.org/')"

When I start the computin process (az ml job create -f job.yml --web), I get following error:
...

Successfully installed PyJWT-2.3.0 PySocks-1.7.1 adal-1.2.7 argcomplete-1.12.3 azure-common-1.1.28 azure-core-1.21.1 azure-graphrbac-0.61.1 azure-mgmt-authorization-0.61.0 azure-mgmt-containerregistry-8.2.0 azure-mgmt-core-1.3.0 azure-mgmt-keyvault-9.3.0 azure-mgmt-resource-20.1.0 azure-mgmt-storage-19.0.0 azureml-core-1.38.0 azureml-mlflow-1.38.0 backports.tempfile-1.0 backports.weakref-1.0.post1 bcrypt-3.2.0 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.11 click-8.0.3 cloudpickle-2.0.0 colorama-0.4.4 contextlib2-21.6.0 cryptography-36.0.1 databricks-cli-0.16.4 docker-5.0.3 entrypoints-0.4 gitdb-4.0.9 gitpython-3.1.18 humanfriendly-10.0 importlib-metadata-4.8.3 isodate-0.6.1 jmespath-0.10.0 jsonpickle-2.1.0 knack-0.8.2 mlflow-skinny-1.23.1 msal-1.16.0 msal-extensions-0.3.1 msrest-0.6.21 msrestazure-0.6.4 ndg-httpsclient-0.5.1 oauthlib-3.2.0 packaging-21.3 paramiko-2.9.2 pathspec-0.9.0 pkginfo-1.8.2 portalocker-2.3.2 protobuf-3.19.4 pyasn1-0.4.8 pycparser-2.21 pygments-2.11.2 pynacl-1.5.0 pyopenssl-21.0.0 pyparsing-3.0.7 python-dateutil-2.8.2 pytz-2021.3 pyyaml-6.0 requests-2.27.1 requests-oauthlib-1.3.1 smmap-5.0.0 tabulate-0.8.9 typing-extensions-4.0.1 urllib3-1.26.7 websocket-client-1.2.3 zipp-3.6.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 2d0a80a5caac
 ---> 56cd74912a75
Step 7/17 : RUN pip install mlfinlab
 ---> Running in 3b9f5c191996
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
ERROR: Could not find a version that satisfies the requirement mlfinlab (from versions: none)
ERROR: No matching distribution found for mlfinlab
The command '/bin/sh -c pip install mlfinlab' returned a non-zero code: 1
2022/02/11 14:27:58 Container failed during run: acb_step_0. No retries remaining.
failed to run step ID: acb_step_0: exit status 1

Run ID: cb1 failed after 1m51s. Error: failed during run, err: exit status 1

It can't install mlfinlab package.
Is it maybe because of python version? I think mlfinalb works only with python 8.
If that is the true, how can I install python 8?

@jiasli for awareness


Include examples in doc/

Examples available in [[Examples how to use haanga in lodspeakr]] should be available in the doc/ dir

Examples added in 6f848893afbef5698e7deed4fdd86fb6d6e1b610


chore: update trace based tests to test stream events

Changes
This PR adds more validations to the Checkout service and the Frontend service to consider the events that are produced and consumed in Kafka. With that, we can guarantee that the Accountability and Fraud Detection services are properly working and consuming orders.
Also, we are updating the trace-based tests to remove some deprecation notices about test namings definitions that changed (transactions are test suites, and environments are variable sets).
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[x] CHANGELOG.md updated to document new feature additions
[ ] Appropriate documentation updates in the docs
[ ] Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

Hey @danielbdias could you fix the yamllint issue and add a changelog?

@julianocosta89 sure! I'm adding it on commit ae153bca4e1f5503058c59182d7146b4a3069a1a .

Thanks Daniel


[Bug]: Slot viewer incorrect data

Contact Details
No response
Describe the bug!
The slot view displays the current epoch and the previous epoch (justified) correctly. But the previous justified epoch and the finalized epoch is the same, see screenshot.
Attach a Screenshot!

Expected Behaviour
Having the justified and finalized differently
Help us reproduce your bug!
Nimbus, Nethermind (didn't try other clients)
Launcher Version
2.0.0-rc.22
Desktop OS
Mac
Node Server OS
Ubuntu 22.04
Affected Service
Launcher
Relevant log output
No response
Acknowledgment

[X] I looked through the existing bugs of this project

Actually they are written separately in the code.
The Beacon-API is used to catch Epochs & The Beacon-API obtain the same numbers for both previous justified & finalized epochs. I guess that's how beacon-API works so far (at least in my experience I always got same numbers for them)
Try following command to have a look on beacon-API output:
curl -s -X 'GET' 'http://localhost:${beaconAPIPort}/eth/v1/beacon/states/head/finality_checkpoints' -H 'accept: application/json'
e. g:
{   "execution_optimistic": true,   "finalized": false,   "data": {     "previous_justified": {       "epoch": "203435",       "root": "0x37938e0c23a168bab490bc316a312b4c5aa06fa627391ec582c204bc1a298c66"     },     "current_justified": {       "epoch": "203436",       "root": "0x6af3c7670e316481bd141cebe3a3d58b28e5acc994c7c84bbec12fad176a773d"     },     "finalized": {       "epoch": "203435",       "root": "0x37938e0c23a168bab490bc316a312b4c5aa06fa627391ec582c204bc1a298c66"     }   } }

Beacon-API retrieved finalized Epoch Number is manually reduced once (tmp solution :) )


[feature request] Allow page-specific rules and metadata placeholders

My usecase: in notes for projects that have an associated public github repo, I want to be able to link issues via the standard #issuenum syntax. I don't want this rule to fire anywhere else.
The implementation I was imagining was setting a cssclass for which the rule is active, and then allowing a rule to grab metadata via a placeholder like {{meta:FieldName}} (MetaEdit's API could help with this). The final rule would looks something like
cssclass: github-project
regex: #([0-9]+)
link: {{meta:repo-url}}/issue/($1)
I do something similar in  URI Commands, though without setting a cssclass, and might be up for implementing this a little later if you think it's in scope.

Being able to link to a file or directory within the current vault would be really useful to me too - thanks


[Wallet] Define responses for API

Define responses of wallet API using pydantic's BaseModel and fastapi's response_model.

Excellent this should make it a lot easier to follow along and generate better documentation, thank you!


[FEATURE] post_filter to be supported with Hybrid Search

Is your feature request related to a problem?
Currently post_filter sent in query is not supported with Hybrid Query. The results are not reflected as per the filter applied.
What solution would you like?
post_filter should be supported and the results should be filtered from the hybrid query results.

Please implement this feature, it is very needed!

@ulan-yisaev we are actively working on this and hoping to make it to 2.13 release

PR has been merged and we can close the issue now


Unable to edit apps with PVC - K8S

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
Unable to edit the applications which contains PersistentVolumeClaims in kubernetes. When the application does not have the PVC volumes then they are being updated properly. When we try to update the application which has the PVC volumes then it is throwing the following error.

Expected Behavior
In the portainer CE version 2.19.5 the applications can be edited even when they have the PVC Volumes, However in the version 2.21.0 and 2.21.1 this feature is resulting in the above mentioned error.
Actual Behavior
In the portainer CE version 2.19.5 the applications can be edited even when they have the PVC Volumes, However in the version 2.21.0 and 2.21.1 this feature is resulting in the above mentioned error.
Steps to Reproduce

Goto Applications under the Kubernetes environment
Edit an existing Application which has PersistentVolumeClaim
Add a new environment variable with some dummy values
Update the application

Portainer logs or screenshots

Portainer version
2.21.1
Portainer Edition
Community Edition (CE)
Platform and Version
Kubernetes
OS and Architecture
Ubuntu 22.04, ARM64
Browser
Google Chrome
What command did you use to deploy Portainer?
No response
Additional Information
No response

Thanks for flagging this - the team has been able to reproduce this and we've got an internal issue open around resolving it.

Hi @jamescarppe ,
Thank you for looking into this. Do you have any ETA on the Bug fix release ? If the Bug fix release is gonna take longer can you please advise how can we rollback to version to 2.19.5 ?


Adjust some enchantment levels

My intention with this is to categorize enchantments using more objective criteria:

Good = Highest level obtainable from Enchantment Table
Great = Any level only obtainable via Enchanted Books
Perfect = Highest level obtainable under normal circumstances (barring special items like Spring Boots)

I believe this makes more sense. If someone wants to introduce more subjectivity, they can just use NEU enchant color presets.
Note: Good level is sometimes set to a nonexistent level to ensure that the lowest existing level is categorized as Great.
Other changes:

Fixed capitalization of the "Luck of the Sea" enchantment.
Removed Aiming because it's been fully replaced by Dragon Tracer as far as I can tell, they even have the same enchantment ID.

This is exactly the kind of subjective arguments I wanted to avoid. It is pretty common to categorize enchants this way and I feel like there are not too many other ways to do it objectively. But if you don't agree, I guess I can just close this PR and continue using /neuec.

And yes, it may seem weird, but already marking level 1 as "great" for non-Enchantment Table enchants was intentional. Some of them may happen to be really cheap or easy to get, but it's sort of an indicator that they did at least the bare minimum beyond just maxing it out in the Enchantment Table.
A lot of the enchants in the repo seem to follow a similar logic, the ones I've changed are just the few outliers.
I could maybe see there being yet another color for "almost perfect" enchantments (e.g. T6 ones where T7 is the highest), but that isn't exactly being done for most enchantments right now anyway.

No, I agree with the goal of removing subjectivity of the colour palette entirely


[WIP] Set up sphinx-autoapi to generate API docs from docstrings

@benfred Where are the dev dependencies specified? These are the places I know:

requirements-dev.txt
pyproject.toml
conda/environments/*.yml

Are there others?

@benfred Where are the dev dependencies specified? These are the places I know:

requirements-dev.txt

pyproject.toml

conda/environments/*.yml

Are there others?

Those should be all of them - if we are missing packages necessary for development, we should update these

This partially duplicates existing autodoc functionality, so closing for now but may want to resurrect it for 0.5 (or later.)