Map beaconChainExplorerUriTemplate property

Summary
Resolves #1974
In order to make the beacon chain explorer URL dynamic for clients, a new beaconChainExplorerUriTemplate property has been added to the Config Service.
This validates and maps the value on the relevant layers.
Changes

Add new BeaconChainExplorerUriTemplateSchema and infer entity from it.
Add new entity to ChainSchema.
Map property accordingly.
Add relative builder.
Add/update tests accordingly.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

9 of 12 (75.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 90.859%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/chains/entities/beacon-chain-explorer-uri-template.entity.ts
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.007%

Covered Lines:
8436

Relevant Lines:
8915

💛  - Coveralls


Question: Can I generate a list of files between local and remote whose checksums don't match?

Hello! I hope this is okay to post here, since it isn't an issue with rclone per se. I'm pretty sure there's a way to do this, I just can't quite figure out for myself what the command is I need to run.
 (Side note, if Windows ever says that a disc needs to be repaired, back up EVERYTHING before saying yes; the repair deleted some files which I know were perfectly fine!). I was able to recover these files via testdisc's undelete tool, but I'm now somewhat concerned about the integrity of my data.
I have a one-month-old backup of this hard disc sitting on Amazon Cloud Drive.
I would like to generate a list of files on my hard drive whose checksums do not match the ones on ACD. I do not want to do any actual syncing, because there are some files that I've updated since the last time I ran rclone. Furthermore, I'd like to ignore any files that don't exist on BOTH my hard disc and ACD.
What is the best way to accomplish this? I think I need to use --dry-run, but I'm not sure exactly what parameters I need to give. Thank you so much!

Use the rclone check command that is what it is for. You might want the -v flag too. This will tell you about files which don't exist in one place or the other and tell you about checksum mismatches on files which exist in both places.

facepalm
I'm an idiot. I completely missed that section of the documentation, I guess because it's shorter than the sections around it.
This helped a lot, thank you! It wasn't perfect because I also got a lot of data about files that were only on either the source or destination, but I was able to filter most of it out!

Glad you found that useful :-)


Fix when statement error in etcd member handler

Closes #15
It appears that the original was being parsed as (inventory_hostname is not in groups)[etcd_master_group_name]

thanks for the contribution! published to the galaxy as v1.2.5


Bug Report

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Describe the bug
Trying to deploy with the input.json file. But get Follwing Error.
Deploying manual works with the same values.
Terraform init has completed, now running the apply...
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:

create

Terraform planned the following actions, but then encountered a problem:
module.resource_names.random_string.alz will be created

resource "random_string" "alz" {

id          = (known after apply)
length      = 4
lower       = true
min_lower   = 0
min_numeric = 0
min_special = 0
min_upper   = 0
number      = false
numeric     = false
result      = (known after apply)
special     = false
upper       = false
}

Plan: 1 to add, 0 to change, 0 to destroy.
╷
│ Error: Error ensuring Resource Providers are registered.
│
│ Terraform automatically attempts to register the Resource Providers it supports to
│ ensure it's able to provision resources.
│
│ If you don't have permission to register Resource Providers you may wish to use the
│ "skip_provider_registration" flag in the Provider block to disable this functionality.
│
│ Please note that if you opt out of Resource Provider Registration and Terraform tries
│ to provision a resource from a Resource Provider which is unregistered, then the errors
│ may appear misleading - for example:
│
│ > API version 2019-XX-XX was not found for Microsoft.Foo
│
│ Could indicate either that the Resource Provider "Microsoft.Foo" requires registration,
│ but this could also indicate that this Azure Region doesn't support this API version.
│
│ More information on the "skip_provider_registration" flag can be found here:
│ https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#skip_provider_registration
│
│ Original Error: Cannot register providers: Microsoft.OperationalInsights. Errors were: waiting for Subscription Provider (Subscription: "a00c29c9-ccac-4e7c-9396-17efce429ae3"
│ Provider Name: "Microsoft.OperationalInsights") to be registered: retrieving Subscription Provider (Subscription: "a00c29c9-ccac-4e7c-9396-17efce429ae3"
│ Provider Name: "Microsoft.OperationalInsights"): authorizing request: running Azure CLI: exit status 1: ERROR: Failed to connect to MSI. Please make sure MSI is configured correctly.
│ Get Token request returned: <Response [400]>
│
│   with provider["registry.terraform.io/hashicorp/azurerm"],
│   on providers.tf line 27, in provider "azurerm":
│   27: provider "azurerm" {
│
╵
╷
│ Error: The resource cannot be found.
│
│   with provider["registry.terraform.io/microsoft/azuredevops"],
│   on providers.tf line 36, in provider "azuredevops":
│   36: provider "azuredevops" {
Steps to Reproduce

New-ALZEnvironment -IaC "terraform" -Cicd "azuredevops" -Inputs "~/config/inputs.json" -autoApprove

inputs.json
{
starter_module: "Complete",
azure_devops_personal_access_token: "",
azure_devops_organization_name: "",
bootstrap_location: "westeurope",
use_separate_repository_for_pipeline_templates: "true",
bootstrap_subscription_id: "",
service_name: "",
environment_name: "*******",
postfix_number: "1",
azure_devops_use_organisation_legacy_url: "false",
azure_devops_create_project: "true",
azure_devops_project_name: "",
azure_devops_authentication_scheme: "WorkloadIdentityFederation",
use_self_hosted_agents: "false",
use_private_networking: "false",
allow_storage_access_from_my_ip: "false",
apply_approvers: "",
root_parent_management_group_display_name: "Tenant Root Group",
additional_files: "",
default_location: "westeurope",
subscription_id_connectivity: "",
subscription_id_identity: "",
subscription_id_management: "***",
root_id: "es",
root_name: "Enterprise-Scale",
hub_virtual_network_address_prefix: "<IP_ADDRESS>/16",
firewall_subnet_address_prefix: "<IP_ADDRESS>/24",
gateway_subnet_address_prefix: "<IP_ADDRESS>/24",
virtual_network_gateway_creation_enabled: "true"
}

Actually, having looked at the code, I see that this should already be handled, since we set the subscription id to the bootstrap subscription in the provider config.
Therefore, there is nothing that needs changing in the code.
You must be hitting one of the two issues mentioned above.
The error seems to indicate you are using MSI auth? We have not tested with MSI auth. If you are using MSI, check that the identity has owner perms on the target sub for bootstrap resources.
Closing for now.

Checked the user right that must be ok. Could be there was an error on the Personal Acces Code to devops. So i created a new one.
But still get an error. What i noticed is that when i started my terrafrom version was 1.66 but if i send the start command the version changed to v.7.0
Now i got the following Error
module.resource_names.random_string.alz will be created

resource "random_string" "alz" {

id          = (known after apply)
length      = 4
lower       = true
min_lower   = 0
min_numeric = 0
min_special = 0
min_upper   = 0
number      = false
numeric     = false
result      = (known after apply)
special     = false
upper       = false
}

Plan: 208 to add, 0 to change, 0 to destroy.
╷
│ Error: The resource cannot be found.
│
│   with provider["registry.terraform.io/microsoft/azuredevops"],
│   on providers.tf line 36, in provider "azuredevops":
│   36: provider "azuredevops" {


Structuring and documenting top-level code

The code at the top level (mirbft.go mostly) needs to be documented and structured to an easy-to-understand form, probably involving splitting it in multiple files or even packages.

The branch top-level-refactor implements those changes now. mirbft.go does not exist any more and most of the code is better structured and documented.


Caption hidden

Description
Captions written alongside an uploaded image in portrait hides behind the image. Kindly assign under hacktoberfest label
Steps to reproduce
Upload a picture in portrait mode, Add a caption, click on post. On the homepage, the image overshadows it
Screenshots

Desktop (please complete the following information)
ubuntu, Firefox
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[ ] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Description
Captions written alongside an uploaded image in portrait hides behind the image. Kindly assign under hacktoberfest label
Steps to reproduce
Upload a picture in portrait mode, Add a caption, click on post. On the homepage, the image overshadows it
Screenshots

Desktop (please complete the following information)
ubuntu, Firefox
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[ ]  I'm a GSSoC'23 contributor
[x]  I want to work on this issue

thanks for spotting this, you can work on this :)


Latest commit caused model_vs_model.py to not start + a feature suggestion

Hello,
I would like to start off by saying that I came from unsuccessful attempts at using NEAT, and I love what you have done here! It really makes it easy for me to experiment with artificial intelligence in video gaming.
Anyway, I have a rather unfortunate (possible) bug to report.
While I was testing things out, model_vs_model.py struggled to run:
$ python3.7 model_vs_model.py --env=UrbanChampion-Nes --state=GameB --load_p1_model=~/OUTPUT/UrbanChampion-Nes-2021-12-21_16-10-11/UrbanChampion-Nes-ppo2-CnnPolicy-5000000.zip --load_p2_model=~/OUTPUT/UrbanChampion-Nes-2021-12-21_16-10-11/UrbanChampion-Nes-ppo2-CnnPolicy-5000000.zip

pygame 2.1.0 (SDL 2.0.16, Python 3.7.12)
Hello from the pygame community. https://www.pygame.org/contribute.html
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
  * https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

/home/rein/.local/lib/python3.7/site-packages/stable_baselines/__init__.py:33: UserWarning: stable-baselines is in maintenance mode, please use [Stable-Baselines3 (SB3)](https://github.com/DLR-RM/stable-baselines3) for an up-to-date version. You can find a [migration guide](https://stable-baselines3.readthedocs.io/en/master/guide/migration.html) in SB3 documentation.
  "stable-baselines is in maintenance mode, please use [Stable-Baselines3 (SB3)](https://github.com/DLR-RM/stable-baselines3) for an up-to-date version. You can find a [migration guide](https://stable-baselines3.readthedocs.io/en/master/guide/migration.html) in SB3 documentation."
=========== Params ===========
['--state=GameB', '--load_p1_model=~/OUTPUT/UrbanChampion-Nes-2021-12-21_16-10-11/UrbanChampion-Nes-ppo2-CnnPolicy-5000000.zip', '--load_p2_model=~/OUTPUT/UrbanChampion-Nes-2021-12-21_16-10-11/UrbanChampion-Nes-ppo2-CnnPolicy-5000000.zip']
========= Init =============
Traceback (most recent call last):
  File "model_vs_model.py", line 95, in <module>
    main(sys.argv)
  File "model_vs_model.py", line 49, in main
    play_env = init_play_env(args)
  File "/home/rein/git/retro-scripts/common.py", line 81, in init_play_env
    display_env = env = GameDisplayEnv(env, args, 0, args.model_desc, None)
AttributeError: 'Namespace' object has no attribute 'model_desc'

model_vs_game.py and model_trainer.py start up just fine. I've looked into it and the previous commit has a model_vs_model.py that starts up just fine, too. It appears to be some new code in common.py that caused the breakage.

I might as well kill two birds with one stone and suggest something while I'm at it:
Do you think potential player vs AI capability is possible (preferably with the ability to choose whether you're player 1 or player 2)? It's one thing to see AI play the game against another AI, but it's another to be able to go against the artificial intelligence in my favorite competitive video games, even more if I can train both player 1 and player 2 AI at the same time. I know Gym Retro already has an "interactive" mode (python3 -m retro.examples.interactive UrbanChampion-Nes or python3.7 -m retro.examples.interactive --game UrbanChampion-Nes), so I was just curious. I feel like it'd honestly be a real game changer.
Thanks in advance.

Thanks for the feedback!
Player vs AI model is certainly possible, I have an example working in this project:
https://github.com/MatPoliquin/nhl94-ai
I plan to integrate it in retro-scripts when it's more mature and eventually add more options like the ones you suggested.
As for the bug, I will check it out in January hopefully.

model vs model should be fixed now in master branch, also note that I migrated to pytorch and SB3


cleaning up instructions for adding order-model and adding enum compator

closes https://github.com/donejs/donejs/issues/803.

Coverage remained the same at 96.396% when pulling 3c492bf505ddd9f6d019810b4356fb8080042fb5 on order-model into bc6abdc1e05ea4b15be562ab534d57b31c43bbfa on major.

Coverage remained the same at 96.396% when pulling 3c492bf505ddd9f6d019810b4356fb8080042fb5 on order-model into bc6abdc1e05ea4b15be562ab534d57b31c43bbfa on major.


[T3A5][T09-A3]Chew Wan Theng Ruth

ready for review

generally well done on this activity.

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.


Implement document thumbnailing

This implements a new route at /forms/libreoffice/thumbnail for the purposes of "thumbnailing" the first page of a document format.
It takes a single imageFormat parameter, allowing conversion of a docx/pdf to jpg/tiff/png etc...
If you're willing to accept, I will also add some unit tests, or do some suggested refactoring

Hello @Jasonkingsmill 👋
Thanks for your PR! The feature is really interesting, but I guess folks will want conversions to image formats for whole documents as well.
Right now, I'll prefer to stick to PDF only 😄

Hi @gulien
Would you accept this feature if it were to follow the existing pattern - using the same "/forms/libreoffice/convert" endpoint behavior, adding an additional option for the outputFormat as the image format (with zip result for image formats that don't support multi-page - Ie, anything other than tiff), or you still want to keep it as PDF only?

Hello @Jasonkingsmill,
For now I still want to keep it as PDF only. The truth is that I don't have much time available for maintaining Gotenberg currently, so adding a whole new output format is too risky for me.
That being said, a lot of users have requested images as output format, so maybe in the future 😄

Hi @gulien,
Firstly, thanks for Gotenberg.
Just wondering if this could be packaged as a module or something we could include in a custom docker image? This way it would a plugin and not part of the Gotenberg you currently maintain?
Regards,
Tarek

Hello @thaoula,
Definitely! Take a look at the https://github.com/gotenberg/gotenberg-template-repository 😄


Instances of ResourceLeakDetector are created even io.netty.leakDetection.level is disabled

Expected behavior
No instances of ResourceLeakDetector when used ResourceLeakDetector.setLevel(ResourceLeakDetector.Level.DISABLED);.
Actual behavior
Few instances of ResourceLeakDetector are still created.
Steps to reproduce
Set ResourceLeakDetector.setLevel(ResourceLeakDetector.Level.DISABLED); on start.
Case 1:
Create new HashedWheelTimer().
Field initialized:
    private static final ResourceLeakDetector<HashedWheelTimer> leakDetector = ResourceLeakDetectorFactory.instance()
            .newResourceLeakDetector(HashedWheelTimer.class, 1);

Case 2:
new SelfSignedCertificate()
    static String[] newSelfSignedCertificate(
            String fqdn, PrivateKey key, X509Certificate cert) throws IOException, CertificateEncodingException {
        // Encode the private key into a file.
        ByteBuf wrappedBuf = Unpooled.wrappedBuffer(key.getEncoded());

Field of AbstractByteBuf initialized:
    static final ResourceLeakDetector<ByteBuf> leakDetector =
            ResourceLeakDetectorFactory.instance().newResourceLeakDetector(ByteBuf.class);

Netty version
4.1.11-Final

The level is allowed to change dynamically via ResourceLeakDetector#setLevel. So it will not be trivial to eliminate this allocation. What is the problem with allocating instances of ResourceLeakDetector in this case?

@doom369 as @Scottmitch said ....

@Scottmitch no problem. Just seems a bit wrong. I looked through code, yeap, seems like fix wouldn't be easy. Let's close as minor issue.


Remove or comment the deprecated APIs zesPowerGetLimits && zesPowerSetLimits

In the spec, new APIs zesPowerGetLimitsExt && zesPowerSetLimitsExt introduced but why we are still maintaining the old APIS
zesPowerGetLimits
zesPowerSetLimits
https://spec.oneapi.io/level-zero/latest/sysman/api.html#zespowergetlimits
it is better to remove them or comment in the API's saying deprecated and use new APIs

In the spec, new APIs zesPowerGetLimitsExt && zesPowerSetLimitsExt introduced but why we are still maintaining the old APIS zesPowerGetLimits zesPowerSetLimits
https://spec.oneapi.io/level-zero/latest/sysman/api.html#zespowergetlimits
it is better to remove them or comment in the API's saying deprecated and use new APIs

I find handling of this deprecation deeply unsatisfying:

When looking at at above API link, there's still no mention of the deprecation in latest spec version
When looking at the commit closing this

It adds deprecation note only to API itself, not to a separate spec section listing all deprecated APIs (where developers maintaining already existing SW that uses Sysman could actually find that information)
It mentions when API is deprecated, but not whether / when the deprecated API will be removed

Spec release notes should obviously also mentioned this kind of changes.  Deprecated APIs list page would help in making sure that API deprecations & removals are not forgotten from the release notes.

hi @eero-t . You are correct. Once we release v1.5, we will have in the release notes a statement indicating that these APIs have been deprecated. The reason why you dont see yet the deprecation note in https://spec.oneapi.io/level-zero/latest/sysman/api.html#zespowergetlimits is because we haven't released yet 1.5 (you can see in the link above, the HTML pages still mention 1.4.8)

Level Zero Specification
1.4.8

Once we release the v1.5 spec, HTML documentation will be updated, including the notes on deprecated APIs.

thanks @eero-t . That's a good suggestion, and we were thinking on something like that. We will take a look.


Merge code for FreeCEN

We need to test this from a FreeCEN perspective.

See #579 for testing details

Done and now testing, so closing this issue.


I cann't  find Tilemap from Tiled Editor in Godot3.0

This is a tiled map editor plugin, After install it  in Godot 2.0 it will be under  Import -> Tilemap from Tiled Editor . But In Godot3.0 where could I find it?

not sure there is importer for it, but anyway, did you try to just copy it in to project directory?

Plugins for Godot 2 won't work on Godot 3, you need a new version of the plugin.

This is outside the scope of the engine itself. Please ask to the plugin maintainer to update the plugin for 3.0.

Arf lol, just figured out it was you @vnen.
@flashice2030  You have to install this plugin for 3.0: https://github.com/vnen/godot-tiled-importer

Yes , I've already installed it through the assetlib, I mean how to use it after I installed.
At 2018-02-13 00:38:43, "Gilles Roudiere"<EMAIL_ADDRESS>wrote:
Arf lol, just figured out it was you @vnen.
@flashice2030 You have to install this plugin for 3.0: https://github.com/vnen/godot-tiled-importer
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

https://github.com/vnen/godot-tiled-importer#usage-once-the-plugin-is-enabled

thanks ,I 'll take a look into it.
在 2018-02-13 11:42:09，"Poommetee Ketson"<EMAIL_ADDRESS>写道：
https://github.com/vnen/godot-tiled-importer#usage-once-the-plugin-is-enabled
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Pin courses to the top

I added a context menu to each course-card and the ability to pin/unpin courses to the top by clicking on the pin button in the context menu. Currently I am storing the html data of the course-card in local storage and using it to render the "Pinned Courses" section. I think the functionality is complete, but I will be on the lookout for potential bugs.

I really like this UI wise, also works well +1
Personally I constantly switch devices and want always want to have my settings there. For that it would be cool to actually save it in the database instead of local storage.
Maybe we could also have PinnedCourses in the user model like it is done for Courses and AdministeredCourses? The frontend logic should stay more or less the same.

Alright, I think that should be doable. If we do it like that I can also use the gotemplate "course-card" for generating the divs under Pinned Courses, since the page will be delivered from the server with the Pinned Courses section already constructed, as opposed to re-rendering it via javascript.

I think two additional REST calls for pin and unpin should be enough. Maybe you can do the initialization like I did it for the marked watch feature, where I initalize the go template with the database entries as JSON.


Knight's Tour

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
I've solved this problem using backtracking in python.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
#526
Fill up the DCP form
If you are a part of DCP 21, fill up this form after the PR is merged.
The links provided in the form will be checked thoroughly, if someone tries fooling around, strict actions will be taken against the individual.

Cool question, but the time complexity is way too high, if there is a better approach to the question, do consider adding that!


⚠ ClamAV has degraded performance

In 0ec3a91, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 53 ms

Resolved: ClamAV performance has improved in da733c5 after 5 minutes.


Atom and RSS feed use pattern matching for redirect

I noticed we had a misspelled feature test file so went to fix that. And then I noticed we could use pattern matching for the rss and atom format query params instead of doing a Map.get/2 and subsequent Enum.member/2 calls.

Great catch! Thank you! 👍


QQ plots

I'm just going through some of the ggplot2 geoms for comparison.
library(tinyplot)
tinyplot(~mpg, data = mtcars, type = type_qq(lty = 3))

library(ggplot2)
ggplot(mtcars, aes(sample = mpg)) +
  geom_qq() + geom_qq_line()

Created on 2024-11-12 with reprex v2.1.0

Let me know if that is of interest and I'll write some tests.


[AIRFLOW-3011][CLI] Add cmd function printing config

…efined
Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-3011] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-3011
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
Example of usage:
Bash command: airflow config`
Example of printed config is described on a screenshoot below.

Output of the same command could be redirected into file and then used for further operations.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[ ] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3867 into master will decrease coverage by 0.01%.
The diff coverage is 20%.

@@            Coverage Diff             @@
##           master    #3867      +/-   ##
==========================================
- Coverage   77.51%   77.49%   -0.02%
==========================================
  Files         200      200
  Lines       15815    15820       +5
==========================================
+ Hits        12259    12260       +1
- Misses       3556     3560       +4

Impacted Files
Coverage Δ

airflow/bin/cli.py
65.2% <20%> (-0.28%)
:arrow_down:

Continue to review full report at Codecov.

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

@dispower  the output (to the file) should not contain the logs of the cli, it defeats the purpose (to get a working config file). Not sure how to handle that though.

Can you give an example when you want to use this? The config is likely to contain secrets, so we should be careful exposing this.

@Fokko my initial use was to:

create a container that was setup with environment variables (including some in the entrypoint.sh, as in https://github.com/puckel/docker-airflow) and no custom configuration.
generate the config file to persist it so that when executing commands in the container, airflow CLI would work without having to setup all the environment variables needed

The problem being that the CLI (and I suppose other daemons) needs some of the same environment variables than the running webserver.
My current workaround is to run commands through entrypoint.sh, which sets up all the needed environment variables. This works as long as the entrypoint script is not making mutations to the filesystem.
Maybe the original issue wasn't the correct way to tackle this problem though... I will leave that decision to the airflow team :)

Thanks @victornoel
This won't fix the problem, since the original configuration file will be read, and the environment variables are ignored. Then you should generate a config using the configuration class: https://github.com/apache/incubator-airflow/blob/master/airflow/configuration.py
This isn't trivial though since you will need to iterate over all the environment variables, and populate the keys in the conf file, while keeping the order into account (environment variables have priority over the config file).

@Fokko thanks for clarifying this: basically what you just described is the original requirement of the jira issue: https://issues.apache.org/jira/browse/AIRFLOW-3011
So the PR does not solve the opened issue at all @dispower :)


Keyboard doesn't close after Prompt Alert input on iOS

Short description of the problem:
The input field on prompt alerts doesn't get automatically focused anymore. Furthermore, the keyboard doesn't close when the users cancels or submits the prompt. I get this error on iOS 10.1.1 (no errors in the console). It works perfectly with $ ionic serve on the browser.
What behavior are you expecting?
Prompt alert shows, input field is automatically focused and keyboard get opened.
After entering text and clicking on a button, the prompt and the keyboard will hide.
Steps to reproduce:

Generate blank Ionic 2 project: $ ionic start PromtAlert --v2
Customize /src/pages/home/home.html and /src/pages/home/home.ts like below.
Build iOS project: $ ionic prepare && ionic build ios
Open project with Xcode from PromtAlert/platforms/ios/PromtAlert.xcodeproj
Run on real device running iOS 10.1.1

home.html
<ion-header>
  <ion-navbar>
    <ion-title>Home</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>

  <button ion-button (click)="showPrompt()">Show Prompt</button>

</ion-content>

home.ts
import { Component } from '@angular/core';
import { AlertController, NavController } from 'ionic-angular';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {

  constructor(public alertCtrl: AlertController, public navCtrl: NavController) {}

  showPrompt() {
    let prompt = this.alertCtrl.create({
      title: 'Login',
      message: "Enter a name for this new album you're so keen on adding",
      inputs: [
        {
          name: 'title',
          placeholder: 'Title'
        },
      ],
      buttons: [
        {
          text: 'Cancel',
          handler: data => {
            console.log('Cancel clicked');
          }
        },
        {
          text: 'Save',
          handler: data => {
            console.log('Saved clicked', data.title);
          }
        }
      ]
    });
    prompt.present();
  }

}

Other information:
Which Ionic Version?
Ionic 2 RC.2
Excerpt from package.json:
  "dependencies": {
    "@angular/common": "2.1.1",
    "@angular/compiler": "2.1.1",
    "@angular/compiler-cli": "2.1.1",
    "@angular/core": "2.1.1",
    "@angular/forms": "2.1.1",
    "@angular/http": "2.1.1",
    "@angular/platform-browser": "2.1.1",
    "@angular/platform-browser-dynamic": "2.1.1",
    "@angular/platform-server": "2.1.1",
    "@ionic/storage": "1.1.6",
    "ionic-angular": "2.0.0-rc.2",
    "ionic-native": "2.2.3",
    "ionicons": "3.0.0",
    "rxjs": "5.0.0-beta.12",
    "zone.js": "0.6.21"
  },
  "devDependencies": {
    "@ionic/app-scripts": "0.0.39",
    "typescript": "2.0.6"
  }

Video that shows an example of your issue
Video of the issue
Run ionic info from terminal/cmd prompt:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
ios-deploy version: 1.9.0
ios-sim version: 5.0.9
OS: Mac OS X Sierra
Node Version: v7.0.0
Xcode version: Xcode 8.1 Build version 8B62

Today my tester noticed the same problem on his iPhone 6 with iOS 10 when he open the Modal of my application, open the keyboard and close the modal. The keyboard stay open.
I could then reproduce the same behavior in the debugger, even it's complicated to read the currently logs of iOS10 in Xcode, seems no errors are thrown
Related: https://forum.ionicframework.com/t/ios-10-keyboard-stay-open/69528/2

Hello, thanks for opening an issue with us! We are currently tracking this issue here.


[WIP]Paralellize CI Jobs

WIP: GetPropertyCommandTest.kt issues
Parallalized CI Jobs:
Actions looked like:

and will now look like:

Pretty much tranformed test.sh into github action features with built in parallelization. Performance increase: About half the time needed
Old:

New:

I've had problems with a UnitTest: GetPropertyCommandTest.kt in georocket-cli/src/test/kotlin/io/georocket/commands/GetPropertyCommandTest.kt
which caused to occasionally fail builds. Is there a known issue?

I fixed the unit test, by the way.


[BUG] Dirvish crashes emacs on $HOME

Describe the bug
Running dirvish on $HOME causes emacs to crash.
Emacs version
GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) as of 2024-04-24

Checkup list

[x] You've tested disabling your config.el using MINEMACS_IGNORE_CONFIG_EL=1 emacs?

To Reproduce
Steps to reproduce the behavior:

Open emacs from terminal or app launcher
Open dirvish with SPC o -
Emacs crashes

Expected behavior
Dirvish should display my home directory without crashing.
Backtrace
*** stack smashing detected ***: terminated
Fatal error 6: Aborted
Backtrace:
emacs(+0x188df6)[0x5c1bb0c1cdf6]
emacs(+0x23de6)[0x5c1bb0ab7de6]
emacs(+0x24cf4)[0x5c1bb0ab8cf4]
emacs(+0x2c050d)[0x5c1bb0d5450d]
/usr/lib/libc.so.6(+0x3c770)[0x7478c7da4770]
/usr/lib/libc.so.6(+0x8d32c)[0x7478c7df532c]
/usr/lib/libc.so.6(gsignal+0x18)[0x7478c7da46c8]
/usr/lib/libc.so.6(abort+0xd7)[0x7478c7d8c4b8]
/usr/lib/libc.so.6(+0x25395)[0x7478c7d8d395]
/usr/lib/libc.so.6(+0x11475b)[0x7478c7e7c75b]
/usr/lib/libc.so.6(+0x115a76)[0x7478c7e7da76]
emacs(+0x28cf03)[0x5c1bb0d20f03]
emacs(+0x250ae6)[0x5c1bb0ce4ae6]
emacs(+0x20da3e)[0x5c1bb0ca1a3e]
emacs(+0x20db61)[0x5c1bb0ca1b61]
emacs(+0x20b23c)[0x5c1bb0c9f23c]
emacs(+0x250ae6)[0x5c1bb0ce4ae6]
emacs(+0x20da3e)[0x5c1bb0ca1a3e]
emacs(+0x2c4c31)[0x5c1bb0d58c31]
emacs(+0x55abb)[0x5c1bb0ae9abb]
emacs(+0x59950)[0x5c1bb0aed950]
emacs(+0x5aad6)[0x5c1bb0aeead6]
emacs(+0x5ca86)[0x5c1bb0af0a86]
emacs(+0x5ad06)[0x5c1bb0aeed06]
emacs(+0x8152b)[0x5c1bb0b1552b]
emacs(+0x722b3)[0x5c1bb0b062b3]
emacs(+0x1fcdfc)[0x5c1bb0c90dfc]
emacs(+0x72208)[0x5c1bb0b06208]
emacs(+0x7222d)[0x5c1bb0b0622d]
emacs(+0x75f02)[0x5c1bb0b09f02]
emacs(+0x2da1f5)[0x5c1bb0d6e1f5]
emacs(+0x2602da)[0x5c1bb0cf42da]
emacs(+0x41092)[0x5c1bb0ad5092]
emacs(+0x177de4)[0x5c1bb0c0bde4]
emacs(+0x182221)[0x5c1bb0c16221]
emacs(+0x16c1df)[0x5c1bb0c001df]
emacs(+0x1fcd67)[0x5c1bb0c90d67]
emacs(+0x169cae)[0x5c1bb0bfdcae]
emacs(+0x1fccaa)[0x5c1bb0c90caa]
emacs(+0x16bf49)[0x5c1bb0bfff49]
emacs(+0x2d680b)[0x5c1bb0d6a80b]
...
zsh: IOT instruction (core dumped)  MINEMACS_DEBUG=1 MINEMACS_VERBOSE=1 emacs

Additional context
This is a fresh install of minemacs from master (1e2e6e3), and I discovered this bug while playing around with minemacs. This bug does not occur on any directory other than $HOME. I'm also not 100% sure if this is the correct place to report this, so please let me know if there is somewhere else this report should go.

Hi @kayew
Thank you for reporting this.
I've faced a similar issue with my installation.
You can try to cleanup all the installed and bytecompiled packages and try to run Emacs again:
cd ~/.emacs.d/
make clean_all
emacs

Unfortunately that didn't work, it's still crashing.

Are you using a version of Emacs compiled from source ?
In my case, I experiences a lot of crashes recently, I recompiled Emacs from source followed by the steps above and it fixed the problem.
Another question: does this happens only when you are in the $HOME directory or anywhere you want to launch Dirvish ?

Are you using a version of Emacs compiled from source ?

No. Emacs was installed from pacman.

Another question: does this happens only when you are in the $HOME directory or anywhere you want to launch Dirvish ?

Specifically in $HOME. If I launch emacs from .emacs.d/ and open dirvish, everything is fine. The moment I try to load my home (by moving up a directory), it crashes.
I also did try the last commit, but it still crashes.

Tried the commit, it didn't work.
I agree, this is very well likely a problem with Emacs/Dirvish. I'll probably end up opening a bug there at some point. Thanks for your help, much appreciated.


[fix](delete bitmap) fix update delete bitmap when rowset is blank

Proposed changes
If the rowset (derived from a clone) does not have a segment, there is no need  to update the delete bitmap.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Fix cython performance regression

Fixes #721.
With cython 3, a major change in the way functions deal with exceptions happened. Before cython 3, if a function didn't have an explicit handling of exception, exceptions were ignored. With cython 3, the default is for a function to always propagate. This leads to a significant performance hit for us. This PR reverts to cython <3 behavior by using the legacy_implicit_noexcept compiler directive.
At the same time, I moved the compiler directives from a comment at the top of the cython files and centralized them in the setup.py file.
Testing with the code snippet in the linked issue gives me back the old performance (around 2ms)

Checklist

[ ] Added a CHANGELOG.rst entry

Most probably, yes. I will do the same fix there as well.


[MRG]License update 2021

Reference issue

Fixes issue #9738

What does this implement/fix?

Updates License on README.rst
Updates License on LICENSE file

Additional information
Checkout this action https://github.com/marketplace/actions/update-license-copyright-year-s and see if it can be used within the project.

thx @stevemats


Hash order

Created puppet_x for sort_hash method

Type uses sort_hash on input
Provider uses sort_hash when reading classes

Moved hashify_group_array method to puppet_x

As a note, I originally used the .to_h method in sort_hash.  The workflow was:

Convert hash into an array
Sort array
Convert back to hash with to.h

This failed on Travis with anything < Ruby 2.1.x.  Refactored to use each_slice and a lambda to be compatible across Ruby versions.

This is in regards to https://github.com/WhatsARanjit/prosvcs-node_manager/issues/9.


Crashing on "BadDrawable"

Hi,
I'm currently using your script but i have a issue with it when it randomly crashes on a page (http://player.publish-engine.nl/status.php?status=123). I've tacked the crashing down to the "z-index: 100;" but it could happen on any page. Any idea what it can be? Thanks!
(browser:15642): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised
pi@raspberrypi ~/kiosk-browser $ ./browser http://player.publish-engine.nl/status.php?status=123

(browser:15652): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised
pi@raspberrypi ~/kiosk-browser $ ./browser http://player.publish-engine.nl/status.php?status=123

(browser:15661): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised
The program 'browser' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 338 error_code 9 request_code 62 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
pi@raspberrypi ~/kiosk-browser $

There is something wrong with the site it seems. It crashes my Android Browser too.

I'm now back on my desktop and can see that the page is really simple. There can't see anything that should be able to crash a browser. Did you try removing the background-image yet?

Thank you for checking. Am able to check it out on monday, will let you know the result. Seems like removing the "z-index" works, but had some issues with other sites as well. Will try to make a list with sites that crash it!
It should be running the latests WebKit right?

Tried it with the libwebkit3 branch, and that seems to work.

Glad to hear that.


Results are not good

i use this picture

and use Vincent van Gogh’s Starry Night as text prompt
the result is not as good as expected

Hi, please note that this work is designed to use image input to condition the style and text input to condition the content. If you wish to condition on 'Starry Night', it would be better to use an image as the input. I have just updated a demo, which you can find here. Please take a look.


Support FX pools (apr, swap fee)

Apparently FX pools have a dynamic swapfee. It seems we use a fixed one meaning that also the swap fee apr is off.
Info from Minteo

About the pool fee:

The fee is dynamic based on the pool ratio, so its a bit complex, but maybe it is a good idea to display the epsilon from the pool contracts viewParameters (the minimum fee charged when the pool is within range which is charged most of the time) + a tooltip to explain this.
https://docs.xave.co/product-overview/fxpools/invariant-faqs
pool contract for reference: https://polygonscan.com/address/0xd4cc1afe3430c6c227f8f640d022bf5747538f53#readContract

I am not sure about the apr, but that one is already visible in the old ui

https://app.balancer.fi/#/polygon/pool/0xd4cc1afe3430c6c227f8f640d022bf5747538f53000200000000000000000ebb

hi @franzns Xave team member here.
Yes, epsilon is the "static fee" parameter. That is a percentage value of the swap amount charged within a specific range (based on beta param) called the BETA range. If a swap is trying to take the pool outside that range, an added fee is charged which we call Dynamic Fee.

FX swap fees in the SG are negative when amountOut > amountIn resulting in negative cumulative snapshot values total swap fees on a pool.


Asking to merge my indicator rmd file

I'm finished!

Great , but can you change this and that...


Improve the error message for port collision

Currently when there is a collision in port mapping, swarm returns error with service ID:
Error response from daemon: rpc error: code = 3 desc = port '80' is already
in use by service cquoc5o30b8c9qlv9x1x1wu4n

This might be improved by returning the service name as well, e.g.:
Error response from daemon: rpc error: code = 3 desc = port '80' is already
in use by service 'myservice' (cquoc5o30b8c9qlv9x1x1wu4n)

This fix adds the service name to the error message.
This fix is related to the comment in:
https://github.com/docker/docker/pull/25428#issuecomment-237841041
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

LGTM, I think this is a solid improvement.

Current coverage is 55.26% (diff: 50.00%)

Merging #1324 into master will increase coverage by 0.03%

@@             master      #1324   diff @@
==========================================
  Files            80         80
  Lines         12562      12562
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6937       6942     +5
+ Misses         4673       4671     -2
+ Partials        952        949     -3

Powered by Codecov. Last update e076a8d...25970a7

LGTM
@thaJeztah: Is this fix requested for 1.12.1.?

@aaronlehmann not strictly, but it came up while reviewing https://github.com/docker/docker/pull/25428#issuecomment-237841041, so it's a nice to have, but I'm perfectly fine if it goes into 1.13 (although, it's a small change so, I don't think it'll hurt)

The chance of this change introducing a regression is negligible, so I think it is safe to include in 1.12.1 and I move to include it in that release.


Option to unselect user selection

Hi there!
Wonderful plugin of yours! Thank you!
But I think it would be crucial to have a field option to unset any selection, e.g. by simply clicking a selected color once again... Would be usefull, don't you think?
Regards, Hendrik

Now possible in 1.1.1, if you set a default value though it will take this one when unchecked.


Error when running

While running, it starts and returns:
Processing frame #60
Couldn't load models/VGG_ILSVRC_19_layers.caffemodel
/home/ubuntu/torch/install/bin/luajit: neural_style.lua:51: attempt to index a nil value
stack traceback:
neural_style.lua:51: in function 'main'
neural_style.lua:350: in main chunk
[C]: in function 'dofile'
...untu/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x00406670
any suggestions on how to get this to work?  I can get neural-style to work with gpu just not neural-animation

It means you have to run the download_models.sh script in models

cd models
chmod +x download_models.sh
./download_models.sh

will solve your problem


Setup Apt Pinning for local RHCS repos

Using origin "" in the apt pinning config will apply to all
local repos - e.g. anything starting with file:///
Put the config in a new rhcs.pref file so that if someone used
ceph-deploy repo command to add other repos, those will get pinned
in the ceph.pref file separately.
Here is output showing the pinning in action on  Trusty machine with RHCS 1.3.0 installed, but also with cloud-archive kilo installed (which has higher Ceph versions in it)
# apt-cache policy ceph
ceph:
  Installed: <IP_ADDRESS>-1trusty
  Candidate: <IP_ADDRESS>-1trusty
  Version table:
     0.94.2-0ubuntu<IP_ADDRESS>~cloud0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/kilo/main amd64 Packages
 *** <IP_ADDRESS>-1trusty 0
        999 file:/opt/ICE/Tools/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     0.80.9-0ubuntu<IP_ADDRESS> 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     0.79-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Note that <IP_ADDRESS> wins out (with prio 999) over the 0.94.2 version from ubuntu-cloud.archive.

awesome!

The commit msg sorta starts at the end.  Scrabbling for context here; reading everything and then trying to understand the commit msg


Simplify backfill

@askeys the backfill code is more straightforward now

Looks reasonable to me.  I will test it on the offending DAG.

Bad approach, bail. Turns out all that code was there for good reasons :)
Restarted here: https://github.com/airbnb/airflow/pull/597/files


[WIP] experiments, including category aware weights for triplets

I'm closing the PR because categories aware sampling did not work.


Add ability to use the annotation on parameter, add classpath usage

Thank you for your extension :) Please check the comments and then we can merge it!

@JanLoebel Could you make release as well?

Done :)
On Fri, Mar 27, 2020 at 12:36 PM Arseny Nasokin<EMAIL_ADDRESS>wrote:

@JanLoebel https://github.com/JanLoebel Could you make release as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JanLoebel/json-schema-validation-starter/pull/1#issuecomment-604953349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANO5SY32J4GGRZ4JHHJZ4DRJSFSNANCNFSM4LUZ3AXQ
.


Executing commands in bungee doesnt work

Whenever i try to use the "Bungee Player Command" it doesnt work and it just makes the player send the command into the spigot server not making them execute a bungee command
What code im using:
execute player "%player%" to execute command  "/server 7155" on the bungee

There is a connect effect. Also try Skungee 2.0.0


[IDEA] Is there a way to change the web logo background?

Hello
As tittle says.. I don't find how to change background of weblogo..
So is this implemented and i don't see it or is not ?
Thank you :)

There are many tutorials and examples available to help achieve this. Please see:
https://logomaker.readthedocs.io/en/latest/examples.html#ars-enrichment-logo
Also please note that this is not web logo.


refactor(iframe): move to main.js

@yinonov
The layout component doesn't look good.

@yinonov
The layout component doesn't look good.

will check but not related to this PR


Contradictory license terms for ROME Modules

=== This issue was migrated from JIRA ===
Type: Bug
Priority: Major
Status: Open
Resolution: UNRESOLVED
Reported by: danrabe
Assigned to: ROME Jira Lead
Created: Tue Jul 27 20:05:17 CEST 2010
Updated: Thu Aug 05 07:30:40 CEST 2010
Resolved: Thu Aug 05 07:30:40 CEST 2010
Version: current
Fix version: milestone 1
JIRA Link: https://rometools.jira.com/browse/ROME-147
=========================================
The main ROME page states that ROME is licensed under Apache 2.0.  However, some of the ROME Modules files contain copyright statements that are contradictory to Apache 2.0.  The following files appear to be LGPL only: ./com/sun/syndication/feed/module/base/CustomTag.java ./com/sun/syndication/feed/module/base/CustomTagImpl.java ./com/sun/syndication/feed/module/base/CustomTags.java ./com/sun/syndication/feed/module/base/CustomTagsImpl.java ./com/sun/syndication/feed/module/base/io/CustomTagGenerator.java ./com/sun/syndication/feed/module/base/io/CustomTagParser.java ./com/sun/syndication/feed/module/base/ValidationException.java ./com/sun/syndication/feed/module/itunes/io/ITunesParserOldNamespace.java  The following files do not contain a copyright or license statement: ./com/sun/syndication/feed/module/georss/geometries/AbstractCurve.java ./com/sun/syndication/feed/module/georss/geometries/AbstractGeometricPrimitive.java ./com/sun/syndication/feed/module/georss/geometries/AbstractGeometry.java ./com/sun/syndication/feed/module/georss/geometries/AbstractRing.java ./com/sun/syndication/feed/module/georss/geometries/AbstractSurface.java ./com/sun/syndication/feed/module/georss/geometries/Envelope.java ./com/sun/syndication/feed/module/georss/geometries/LinearRing.java ./com/sun/syndication/feed/module/georss/geometries/LineString.java ./com/sun/syndication/feed/module/georss/geometries/Point.java ./com/sun/syndication/feed/module/georss/geometries/Polygon.java ./com/sun/syndication/feed/module/georss/geometries/Position.java ./com/sun/syndication/feed/module/georss/geometries/PositionList.java ./com/sun/syndication/feed/module/mediarss/io/AlternateMediaModuleParser.java ./com/sun/syndication/feed/module/sle/io/LabelNamespaceElement.java ./com/sun/syndication/feed/module/sle/io/ModuleGenerator.java ./com/sun/syndication/feed/module/sse/modules/Conflict.java ./com/sun/syndication/feed/module/sse/modules/Conflicts.java ./com/sun/syndication/feed/module/sse/modules/History.java ./com/sun/syndication/feed/module/sse/modules/Related.java ./com/sun/syndication/feed/module/sse/modules/Sharing.java ./com/sun/syndication/feed/module/sse/modules/SSEModule.java ./com/sun/syndication/feed/module/sse/modules/Sync.java ./com/sun/syndication/feed/module/sse/modules/Update.java ./com/sun/syndication/feed/module/sse/SSE091Generator.java ./com/sun/syndication/feed/module/sse/SSE091Parser.java  We would like to use this library in a commercial product, but our corporate lawyers require that every source code file be explicit about its licensing terms. If the intent of the ROME modules project is to release this software under an Apache 2.0 license, then we would request that this be made explicit in all of the files.

I just send an email to Robert asking for permission to relicense those files.

I got permission from Robert to add ASLv2 header to all files. Some of his contributions are dual licensed under LGPL and ASLv2.


panic:runtime error

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8ad41b]
goroutine 1 [running]:
github.com/replicate/cog/pkg/cli.predictIndividualInputs({{{0x0, 0x0, 0x0}, {0xc000234250, 0x1, 0x1}, {0x0, 0x0}, {0xc000027278, 0x16}, ...}, ...}, ...)
/home/runner/work/cog/cog/pkg/cli/predict.go:198 +0x41b
github.com/replicate/cog/pkg/cli.cmdPredict(0xc000005200?, {0xc0001b6680?, 0x4?, 0x4?})
/home/runner/work/cog/cog/pkg/cli/predict.go:153 +0x9be
github.com/spf13/cobra.(*Command).execute(0xc000005200, {0xc0001b6640, 0x4, 0x4})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000004300)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).Execute(0xd92780?)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 +0x19
main.main()
/home/runner/work/cog/cog/cmd/cog/cog.go:14 +0x6f
can anyone fix this ?

Hi @tzktz. Can you share any details about what you did to produce this error? It'd be helpful to know what version of Cog you're using, what command you ran, and what your project looks like.

here is my predict.py file..
from PIL import Image
from rembg import remove, new_session
import tempfile
from cog import BasePredictor, Input, Path
from pathlib import Path
class Predictor(BasePredictor):
def predict(
self, input_image_path: str,
model: str = Input(description="select model",
choices=["u2net", "u2net_human_seg", "u2net_cloth_seg", "u2netp"],
default="u2net_human_seg")
) -> str:
if not input_image_path:
raise ValueError("No input image selected")
    input_image = Image.open(input_image_path)
    # Remove background
    match model:
        case "u2net":
            model = u2net
        case "u2net_human_seg":
            model = u2net_human_seg
        case "u2net_cloth_seg":
            model = u2net_cloth_seg
        case "u2netp":
            model = u2netp
    model_name = model
    session = new_session(model_name)
    output_image = remove(input_image, session=session)

    background_color = (192, 192, 192)

    new_image = Image.new("RGB", input_image.size, background_color)

    # Paste the original input image (with the background removed) onto the new image
    new_image.paste(output_image, (0, 0), output_image)

    output_path = Path(tempfile.mkdtemp()) / "color_change_background.jpg"
    new_image.save(output_path)

    return str(output_path)

run comment :  cog predict -i<EMAIL_ADDRESS>

here is my predict.py file
from PIL import Image
from rembg import remove, new_session
import tempfile
from cog import BasePredictor, Input, Path
from pathlib import Path
class Predictor(BasePredictor):
def predict(
        self, input_image_path: str,
        model: str = Input(description="select model",
                           choices=["u2net", "u2net_human_seg", "u2net_cloth_seg", "u2netp"],
                           default="u2net_human_seg")
) -> str:
    if not input_image_path:
        raise ValueError("No input image selected")

    input_image = Image.open(input_image_path)
    # Remove background
    match model:
        case "u2net":
            model = u2net
        case "u2net_human_seg":
            model = u2net_human_seg
        case "u2net_cloth_seg":
            model = u2net_cloth_seg
        case "u2netp":
            model = u2netp
    model_name = model
    session = new_session(model_name)
    output_image = remove(input_image, session=session)

    background_color = (192, 192, 192)

    new_image = Image.new("RGB", input_image.size, background_color)

    # Paste the original input image (with the background removed) onto the new image
    new_image.paste(output_image, (0, 0), output_image)

    output_path = Path(tempfile.mkdtemp()) / "color_change_background.jpg"
    new_image.save(output_path)

    return str(output_path)

run commend : $ cog predict -i<EMAIL_ADDRESS>-i model=u2net_human_seg

cog version : 0.8.6
python : 3.10

@tzktz Thanks for sharing that. Cog is crashing around the code where it's handling the output. I think the problem is that your predictor is returning a str instead of the path itself. Can you try updating your predict function to return Path? You can find an example of how to do this with image generation models like SDXL.

@tzktz Thanks for sharing that. Cog is crashing around the code where it's handling prediction output. I think the problem is that your predictor is returning a str instead of the path itself. Can you try updating your predict function to return Path? You can find an example of how to do this with image generation models like SDXL.

@mattt after retrun predict function to 'path'  face the same error..

hello, could you solve this? i'm facing the same issue

@alesuae uninstall cog and reinstall it..it will works fine


Fix: Comments posted empty

PR Fixes:

Request goes to backend even if the comment box is empty.
Comment shouldn't be posted if the comment input field consists entirely of whitesapces.

Resolves #1060
Checklist before requesting a review

[Y] I have performed a self-review of my code
[Y] I assure there is no similar/duplicate pull request regarding same issue

After fix:-
https://github.com/user-attachments/assets/4c1b3f88-357b-494b-b821-71f2d6bcf377

hey may i try i have also fixed this issue

@noobpiyush go ahead.


Question

for example, if i put the endpoint in multiple exe's, will it show on panel?

Yes, if you compile many miners with your panel in the "API Endpoint URL" then they will all show up in the web panel when they run.


Maximum call stack size exceeded when using angular 10 for my shell and angular 11 for my custom element

Hello, is it possible to use different angular versions like this scenario? with the same version the lib is working very nice. However when I am using different versions it throws the following error:
error
Uncaught RangeError: Maximum call stack size exceeded     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)     at P._.<computed>.get (loginApp-elements-es2015.js:1)
shell package.json
`
{
"name": "main-app",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "~10.2.4",
"@angular/common": "~10.2.4",
"@angular/compiler": "~10.2.4",
"@angular/core": "~10.2.4",
"@angular/forms": "~10.2.4",
"@angular/platform-browser": "~10.2.4",
"@angular/platform-browser-dynamic": "~10.2.4",
"@angular/router": "~10.2.4",
"ngx-elements-router": "^0.1.2",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.3",
"@angular/cli": "~10.2.3",
"@angular/compiler-cli": "~10.2.4",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
}
`
custom element package.json
`
{
"name": "ng-hend-workspace",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall:bak": "",
"postinstall": "ngcc",
"export": "ng build --extra-webpack-config projects/login-app//webpack.externals.js --prod --project loginApp --single-bundle --output-hashing none && node build-elements.js loginApp",
"concat": "node build-elements.js"
},
"private": true,
"dependencies": {
"@angular/animations": "~11.2.3",
"@angular/common": "~11.2.3",
"@angular/compiler": "~11.2.3",
"@angular/core": "~11.2.3",
"@angular/elements": "^11.2.3",
"@angular/forms": "~11.2.3",
"@angular/platform-browser": "~11.2.3",
"@angular/platform-browser-dynamic": "~11.2.3",
"@angular/router": "~11.2.3",
"@webcomponents/webcomponentsjs": "^2.5.0",
"document-register-element": "^1.7.2",
"ngx-build-plus": "^11.0.0",
"ngx-elements-router": "^0.1.2",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.2",
"@angular/cli": "~11.2.2",
"@angular/compiler-cli": "~11.2.3",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"concat": "^1.0.3",
"fs-extra": "^4.0.2",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.1.2"
}
}
`

Hey @dhiegoatencio!
I'll take a look at that, I haven't specifically tested the versions between 10.2.0 and 11.1.0 so far.

Hey @dhiegoatencio !
I've tried to reproduce the error given your two package.jsons but could not reproduce it, the platform with Angular 10.2.4 works fine with the micro frontend in Angular 11.2.3 for me. I assume there must be some other difference in there on how it's build or integrated.
I've put the setup that's working for me into these GitHub repos:
https://github.com/fboeller/ngx-elements-router-micro-frontend
https://github.com/fboeller/ngx-elements-router-platform
Those are the two example applications with the versions adjusted to the ones you shared.
After npm install in both repos, npm start example-platform in the platform repo and npm run build example-micro-frontend && http-server dist/example-micro-frontend --port 4201 in the micro frontend repo, the application works fine for me on localhost:4200.
I hope this helps you narrowing the issue down. If the issue persists, feel free to share a reproducible example, then I can take a further look.


Can't parse files with BOM

absolufy-imports 0.3.0 cannot parse a python file with a BOM.
For example, download bom.py.txt and rename it bom.py (this is a necessary step on GitHub as only *.txt files can be attached), move it into an example project (e.g. src), see the following:
$ cat src/bom.py
import sys
$ file src/bom.py
src/bom.py: UTF-8 Unicode (with BOM) text
$ python src/bom.py
$ absolufy-imports src/bom.py
Traceback (most recent call last):
  File "/tmp/py310/bin/absolufy-imports", line 8, in <module>
    sys.exit(main())
  File "/tmp/py310/lib/python3.10/site-packages/absolufy_imports.py", line 208, in main
    absolute_imports(
  File "/tmp/py310/lib/python3.10/site-packages/absolufy_imports.py", line 151, in absolute_imports
    tree = ast.parse(txt)
  File "/opt/python-3.10.0/lib/python3.10/ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 1
    import sys
    ^
SyntaxError: invalid non-printable character U+FEFF

Perhaps a better message could help? Or try to compare these two uses reading the source file, the last with encoding='utf-8-sig':
$ python -c "from ast import parse; from pathlib import Path; parse(Path('src/bom.py').read_text())"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/python-3.10.0/lib/python3.10/ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 1
    import sys
    ^
SyntaxError: invalid non-printable character U+FEFF
$ python -c "from ast import parse; from pathlib import Path; parse(Path('src/bom.py').read_text(encoding='utf-8-sig'))"
$

I suppose the other facet is if the file needs to be rewritten, does it get rewritten with the BOM if it had one before? (I also noticed that DOS files get re-written as UNIX files, which is a separate issue...)

Hi @mwtoews
Thanks for your report - do you want to submit a pull request to fix this?

I'll take a look...

I think something like this
    with open(file, 'rb') as fb:
        contents_bytes = fb.read()
    try:
        contents_text = contents_bytes.decode()
    except UnicodeDecodeError:
        print(f'{file} is non-utf-8 (not supported)')
        return 1
    tree = ast.parse(contents_text)

should be enough. I'll try to get something out today, there's another issue to fix

I have something similar, but I'm also looking at line breaks too ...


az sql server ad-admin create failure

This is autogenerated. Please review and update as needed.
Describe the bug
Fails with error below
Command Name
az sql server ad-admin create
Errors:
az sql server ad-admin create: error: the following arguments are required: --display-name/-u, --object-id/-i

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...

az sql server ad-admin create --displayname {} --objectid {} --resource-group {} --server {} --subscription {}

Expected Behavior
Environment Summary

Additional Context
The command failed with an unexpected error. Here is the traceback:
create_or_update() missing 1 required positional argument: 'parameters'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 608, in execute
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 666, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 659, in _run_job
six.reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 636, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 306, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 493, in default_command_handler
return op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/sql/custom.py", line 2074, in server_ad_admin_set
properties=kwargs)
TypeError: create_or_update() missing 1 required positional argument: 'parameters'

sql

Same error.

try running those commands separately.
Here is one approach:
az sql server ad-admin create --display-name/-u  az sql server ad-admin create --object-id/-i

@troyridge This is fixed. Please upgrade to the latest version of az cli 2.38.0


fixing issue when formatting with tabs that would convert tabs in com…

…ments into spaces.
closes #1343

This was a pretty quick fix, but leads to a question of what to do when the line in the comments is tabs followed by spaces. This is what I ended up doing. All the leading whitespace in here is tabs unless otherwise indicated by the comments. I think the altenative would be to turn anything less than a full tab into 1 tab, unless it matches the pattern of that first comment.
Or another alternative would be to try to leave alone any whitespace that is "part of the block". Meaning the 3 comments below all start with 2 indents that are tabs, and any whitespace after that is left alone because it is in the block of the multiline comment.
public class Foo
{
	/**
	 * comment - existing behavior, keeps the single space to align the *
	 */
	public class Bar { }

	public void SomeFunction()
	{
		/*
		The following line is an example with an indent:
			This line is indented by one tab.
		*/
		/*
		The following line is an example with an indent:
			This line is indented by 4 spaces but will be converted to 1 tab
		*/
		/*
		The following line is an example with an indent:
		   This line is indented by 3 spaces but will be left as 3 spaces
		*/
	}
}


Can you provide some results of some public datasets ?

Thank you for your implement version for SiameseRPN. But I don't know if it can achieve the performance in the paper.  Can you provide some results of some public datasets, like OTB100 or VOT2016/2017 ?
Thank u.

The Latest version is on testing phase which I have not upload yet.
Please pay attention to this work, thank u.

The Latest version is on testing phase which I have not upload yet.
Please pay attention to this work, thank u.

do you have evaluation results on OTB100 or other mainstream datasets?


Last crucial step before completing the 'Beginning Git' course.

Hi,
So that's it! Would only need to practice now... and follow the 'Mastering Git' course in a little while.
Thanks.

Hey @ansh-chopra—congrats on submitting a PR at the end of the git course. I hope that you enjoyed the course and that you learnt a lot in doing it.
You're correct—a bit of practice is all you need—if you weren't already using git for your code, hopefully this has inspired you to do so. I hope that you enjoy the "Mastering Git" video course as well—you'll soon be able to get git to bend to your will :)
You can now wear this #GitWarrior badge with pride—and Tweet your historic victory!

sam


1.20.1  Energy conduit not working

.20.1-forge-47.1.44
mcjtylib-1.20-8.0.2
rftoolsutility-1.20-6.0.1
rftoolsbase-1.20-5.0.1
xnet-1.20-6.0.
industrial-foregoing-1.20.1-3.5.9.
EnderIO-1.20.1-6.0.18-alpha
placing Dim cell connect to e.g BUILDER by ENDER-IO Energy conduit,
no power on Quarry
same on industrial-foregoing machines
ok with xnet, ok when cell sie on side
I know, it's early state, so this may already known, if not, then now
Keep on very advanced peogramming
regards

As far as I can see the problem seems to be that EnderIO is trying to extract energy from the RFTools powercell. But that's not a good idea. Forge Energy is a push system. You should never extract energy from something. It's the purpose of the generator or cell to push energy to adjacent containers. It's unfortunate that the FE interface even allows extractEnergy. It shouldn't be used

As far as I can see the problem seems to be that EnderIO is trying to extract energy from the RFTools powercell. But that's not a good idea. Forge Energy is a push system. You should never extract energy from something. It's the purpose of the generator or cell to push energy to adjacent containers. It's unfortunate that the FE interface even allows extractEnergy. It shouldn't be used

Thanks a lot for the insight, CC: @agnor99 for conduits changes.
Changing to respect this rule will also fix #360.

I mentioned it in #360 already, but the same kind of problem seems to happen with Mekanism cables and energy conduits.
The situation is just a bit more strange, when the internal energy buffer of the mekanism power cables is full, the conduits can work with them without a problem. Once the internal buffer from the mekanism cables is not full, the energy conduits will stop working and all connected machines stop receiving energy. Once the internal cable buffer is full again everything starts back up. Maybe the root of the problem is the same issue, just wanted to leave some information here.


[BEAM-2280] Remove generated archetype folders.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @davorbonaci @dhalperi
I think we should fix BEAM-2280 before the release in master, but I think it doesn't have to be cherry-picked.

R: @jbonofre

Already fixed by https://github.com/apache/beam/pull/2913
Can you please close this PR ? Thanks !

Cool, thanks @jbonofre


This application is blocked

https://accounts.google.com/o/oauth2/auth?client_id=********-**********.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&state=********
This application is blocked This app tries to access sensitive information on your Google Account. To keep your account safe, Google blocks this access

I'm facing the same issue.

I found i got this response when the GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET was not set in the docker container.
After I correctly set them, it allowed me through.


Fix multi-output features not created when there is no child data

Fix multi-ouput features not created when there is no child data
When there is no child data, calculate_feature_matrix raises a KeyError because multi-output features are not created. The expected behaviour is to have those features represented by columns filled by numpy.nan, as it is the case with regular features.
Here is minimal reproducible example:
import numpy as np
import pandas as pd

import featuretools as ft
from featuretools.primitives import NMostCommon

parent_df = pd.DataFrame({"id": [1]})
child_df = pd.DataFrame({"id": [1, 2, 3],
                         "parent_id": [1, 1, 1],
                         "time_index": pd.date_range(start='1/1/2018', periods=3),
                         "cat": ['a', 'a', 'b']})

es = ft.EntitySet(id="blah")
es.entity_from_dataframe(entity_id="parent", dataframe=parent_df, index="id")
es.entity_from_dataframe(entity_id="child", dataframe=child_df, index="id", time_index="time_index")
es.add_relationship(ft.Relationship(es["parent"]["id"], es["child"]["parent_id"]))

n_most_common = ft.Feature(es["child"]['cat'], parent_entity=es["parent"], primitive=NMostCommon)

# cutoff time before all rows
# We expect N_MOST_COMMON features to be np.nan
ft.calculate_feature_matrix(entityset=es,
                            features=[n_most_common],
                            cutoff_time=pd.Timestamp("12/31/2017"))
#> [ ... ]
#> KeyError: "None of [Index(['N_MOST_COMMON(child.cat)[0]', 'N_MOST_COMMON(child.cat)[1]',\n       'N_MOST_COMMON(child.cat)[2]'],\n      dtype='object')] are in the [columns]"

Created on 2019-12-05 by the reprexpy package
This PR fixes the bug and adds a test for multi-output feature in test_empty_child_dataframe

I think the PR looks good, once the PR fixing the issue with sklearn and the tests goes through I think this will be good to go.

Codecov Report

Merging #834 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #834      +/-   ##
==========================================
+ Coverage   98.15%   98.16%   +<.01%
==========================================
  Files         117      117
  Lines       10848    10851       +3
==========================================
+ Hits        10648    10652       +4
+ Misses        200      199       -1

Impacted Files
Coverage Δ

...mputational_backend/test_feature_set_calculator.py
100% <100%> (ø)
:arrow_up:

...s/computational_backends/feature_set_calculator.py
98.55% <100%> (ø)
:arrow_up:

...computational_backends/calculate_feature_matrix.py
98.58% <0%> (+0.35%)
:arrow_up:

Continue to review full report at Codecov.

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


Removed unnecessary space in DSGVO notice

No related issue.
The removed space caused a mis-alignment of the text:

Dear @ironjan ,
thank your very much for your contribution! The project team is working tirelessly on getting the app ready in time and working on many backlog items in parallel. This also means that some implementations cannot be done, yet, as we are, for example, waiting for final texts and translations from dedicated streams as these are not provided by the development team.
Therefore, we unfortunately have to reject your PR for now.
To avoid this situation in the future, please open an issue for your fixes first, and wait until the team assigns you to the issue. We will further create issues with the community label, which you can claim by commenting on them and don't have to wait for the assignment.
Thank you for your understanding!


[Roadmap] Automated setup experience.

Why
This project is great in many ways as it incorporates lots of features in accordance with the current development of AGI. However, some users who do not process a background in tech or not fluent in computers (senior people) may have troubles when using. People may find it uneasy to deal with so much settings (api_keys, models, temperatures, etc ... ).
Description
A common usecase will be that ITs will setup the api_keys in .env, so that model selection will default to the first modal option in the model list, and the rest models will stay in a selection list for later use. Users can start typing prompts once logged in without having to setup models.
Requirements
ITs setup environment variables in .env -> Users logged in -> Typing prompts directly (no need to setup modals)

This feature could be small (auto-setup OpenAI or another engine and picking the first) or larger (defining the models available to the user on the backend so they're backend controlled all the time and could be a mix of different vendors).
In a simple case, we could auto-setup sources that have a _API_KEY set, but we'll also need one Env var to choose which is the default model (sources and models are unsorted, so we don't have a default model to pick).
In a more controlled and complex case, the IT will need to define a file with the models setup, which every user will use.
Which of the 2 options is more important?

Ideally, I'd like to try option 2 as it is easy to scale for an enterprise environment with everyone have the equal access to the modal from a specific service provider (OpenAI, Google, etc).

Is there a sample .env file ?

Is there a sample .env file ?

See the docs/environment-variables.md file. Has sample .env contents and a detailed description of each variable.

Just a quick remark here, I don't get how but if you deploy Azure OpenAI and setup the key in the .env, but don't deploy a GPT3.5, then, by default, nothing work. I opened a separate issues here: #611


Can STUD be applied to yolov6 (1-stage detector) rather than 2-stage detector?

Dear authors,
Can STUD be applied to yolov6 (1-stage detector) rather than 2-stage detector?

hi @ChangGiMoon , I think it might be feasible for such extension. since the yolo also has a classification head. There are some differences between them as well, such as the training objectives and the meaning of the objects/anchors. You are encouraged to have a try.


Tweak style autodetect

Rearrange style autodetection so that it can come before LST serialization

@shanman190 I believe the other PR is only failing because this one hasn't been integrated yet.


Add CI based on GitHub Actions and Badges

Since I am making major changes, and the testing is currently manual, I thought I'd add this before going much further.
It doesn't do everything, but it should be a good starting point if you want to improve it.

Somehow, I didn't notice you had Travis CI already. :facepalm:
If you'd like to switch given the state that product is in, feel free. Otherwise, you can close this PR.

Alright, I think it's ready to go!
In addition to getting everything that your Travis CI did, I also added clippy in warning-only mode. As you fix things, you can start switching thing to deny in order to have CI enforce them.
Because of the in-between state things are in right now, the CI will not trigger on this PR. But here is what it will look like, minus the rustfmt adjustments I made:
https://github.com/jhwgh1968/warc/actions/runs/200819003
Also, I added badges! (The "build status" badge will be fixed once this merges.)
https://github.com/jhwgh1968/warc/blob/master/README.md

Rad.

Indeed I can! :smile:

@jedireza, I did look into the config in Travis CI, and I don't have permission disable it for that project. Only you can turn it off. I think that might be necessary to make sure future PRs do the right thing.

I logged into Travis and disabled it for this repo. I also went through the repo settings and I cleared up anything referring to Travis.
I noticed there is a busted badge image on the readme:

I figured that out, and have a PR open now.


Report remote write success on any 2xx response

Fixes #24

Hi thanks for this PR :bow:.
Given the comment from @replay  this seems great, thanks :bow:


nodejs: Allow running two processes in the same net namespace

Description
This PR adds closing debugger after his job is done.
Related Issue
https://github.com/Granulate/gprofiler/issues/497
How Has This Been Tested?
Run two nodejs applications, then run gprofiler. Previously such situation resulted in "Could not clean up debug symbols for pid Y. Reason: Wrong pid, expected Y, actual X"

Good solution.
Can you add a test that runs 2 node apps and proves both are profiled? You can convert the test_nodejs_attach_maps test (in its container mode) to use application_factory, then you can use it like:
with application_factory() as pid1:
  with application_factory() as pid2:
    # profile here

I think that'll work. Then you use profiler.snapshot() and run the standard assert_collapsed on profiles of both PIDs.

Very weird. FAILED tests/test_node.py::test_nodejs_matrix[nodejs-attach-maps-12-musl-True] on 4 but passed on one. Does it pass locally for you?

Very weird. FAILED tests/test_node.py::test_nodejs_matrix[nodejs-attach-maps-12-musl-True] on 4 but passed on one. Does it pass locally for you?

Huh I thought I wrote it in #543 :sweat_smile:

Conflicts exist - merge master?

Yep, done

Let's merge master & remove the test_preconditions.py change and see if now things pass :)

All tests passed :)


Are the licenses correct?

Comment:
Hi.
Thanks for maintaining this feedstock, much appreciated!
I've noticed, that the metadata lists the licenses to be Apache-2.0 AND Python-2.0 AND MulanPSL-2.0. Where does MulanPSL come from? The driver repository does not list it at all.
https://github.com/conda-forge/neo4j-python-driver-feedstock/blob/742dad566c8bf4f6be7058de02dd6f6ff701b692/recipe/meta.yaml#L39

@robsdedude, that's likely my mistake.  We use a software, grayskull, to generate the recipes and I probably just didn't notice that MulanPSL wasn't a correct match.  I'll remove it.


Important Linked List Questions

Hey I want to add Important linked list question which is asked in many interview

Hey , can you assign me this task

I have uploaded the linked list solution of most important questions

Please assign this issue to me

Hey!! I can make a complete document on this with the solutions along with the difficulty level of each question in the stipulated time. Please assign me this.


User or NameID not found

It is generating error: "User or NameID not found". I gave you the details by email, if you can help me.

Once authenticated, should the plugin automatically create the user in the GLPI database or do I have to create manual users (and passwords are under SAML control)?

I use ldap integration to create the user.  Then SAML for authentication.  It works well.  Otherwise, you can just create the user manually.
Sent from my iPhone
On Aug 24, 2021, at 8:32 PM, matheussinnis @.***> wrote:

Once authenticated, should the plugin automatically create the user in the GLPI database or do I have to create manual users (and passwords are under SAML control)?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/derricksmith/phpsaml/issues/63#issuecomment-905129456, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABWQAN4XY3WSRP2KI3C4523T6RI4ZANCNFSM5CXRUHTA.

Once authenticated, should the plugin automatically create the user in the GLPI database or do I have to create manual users (and passwords are under SAML control)?

Unfortunately there isn't any type of user provisioning. I explored around under "Other Authentication Methods" and the rules management, but I don't think the plugin interacts with it. I know with the official SSO GLPI plugin, I believe it works, but this plugin is pretty good. But on our end we don't do any ldap integration so we might be stuck manually adding users.

JIT provisioning is on the roadmap but I haven't had time to work on it.  It shouldn't be too difficult to implement.  This is how I see it working in the plugin.

Add a configuration option to enable JIT provisioning.
Add if statement to the glpiLogin method of the PluginPhpsamlPhpsaml class near line 69 to conditionally create a new user if JIT provisioning is enabled.
Create the user based on email NAMEID, First Name and Last Name claims.

I haven't had the time to dig through the GLPI code to figure out the method/function for creating users.  Once I have that this should be easy to include in the next release.  If someone would be so kind to help with that function we will be much closer for this functionality.

Spent considerable time on this today.  Check JIT in PR 1.1.3.  If this works for you, I'll merge.

Spent considerable time on this today. Check JIT in PR 1.1.3. If this works for you, I'll merge.

Thanks for this dude, I'll test it when I get into work tomorrow. We just started using GLPI and I'm testing plugs and whatnot. When I get some time I'll try and see what I can do to help maintain this plugin.

No problem. Just want to confirm how you adjusted the password? I believe GLPI should create a new user with password. I create a cryptographically secure random 20 character alphanumeric key for the password. It can always be changed later but it's better than a null password.

For reasons of the "Information Security" sector, I cannot keep passwords in the GLPI database. Authentication and password data are in SAML only.
The change I made to the plugin code was to comment out these lines - https://ibb.co/HG129mL

Thanks.  I dug into this some and confirmed that GLPI creates a null database value for the password if you do not supply a password.  This is not an issue while SSO is enforced but large issue if SSO was ever turned off.


Update Azure SDK Identity docs to have consistent auth story across languages

Work to be completed for the Nickel semester.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 036cc96e-fbb8-bced-0a5b-ef6e332264b8
Version Independent ID: 7b70016c-feb0-7da1-5995-2d1fa8bce9a9
Content: How to authenticate Python applications with Azure services
Content Source: articles/python/azure-sdk-authenticate.md
Product: azure-python
GitHub Login: @kraigb
Microsoft Alias: kraigb

#KarlErickson can you clarify why this issue was closed? Just wondering if there was another conversation I missed while I was away.


Original master

Merged original repo https://github.com/onsip/SIP.js

Hi @edmunfollen ,
Thank you for contributing to SIP.js! It looks like you have some interesting changes, could you please give a little description of what this Pull Request is attempting to do? From a brief look at the overall diff, It looks like there is a Freeswitch specific hack (the piece starting with if(/[F|f]rom:(\s)*<sip:[0-9]*@pstn(.)*>/.test(request.data)){), if that is true, I would recommend moving it to the hacks file.
Also, I'm not sure if the 11 commits are necessary, so if the commits could be cleaned up and explained, that would be great. Lastly, it looks like the travis tests are failing, but it seems it's just a small change for 'jshint', so that would also need to be changed before a merge.
I'm sure we could do the rearranging and jshint fixing on our end, but at minimum an explanation would still be necessary (with potential details of how this code has been tested, if at all).
Thanks,
James

Hi James,
Sorry for the massive pull request. To be honest, it was a mistake. I
thought I was merging into our own Master branch. My apologies.
This week has been quite hectic due to several issues we had with
FreeSwitch and frozen media. So I didn't find the time to look into this
properly.
Maybe, if you want, you can ignore all those 11 commits and during the
weekend I can create a formal pull request with a better explanation and
less commits. What's your thinking?
Regards,
Arturo.
On 25 January 2016 at 16:05, James Criscuolo<EMAIL_ADDRESS>wrote:

Hi @edmunfollen https://github.com/edmunfollen ,
Thank you for contributing to SIP.js! It looks like you have some
interesting changes, could you please give a little description of what
this Pull Request is attempting to do? From a brief look at the overall
diff, It looks like there is a Freeswitch specific hack (the piece starting
with if(/[F|f]rom:(\s)*sip:[0-9]*@pstn(.)*/.test(request.data)){), if
that is true, I would recommend moving it to the hacks file.
Also, I'm not sure if the 11 commits are necessary, so if the commits
could be cleaned up and explained, that would be great. Lastly, it looks
like the travis tests are failing, but it seems it's just a small change
for 'jshint', so that would also need to be changed before a merge.
I'm sure we could do the rearranging and jshint fixing on our end, but at
minimum an explanation would still be necessary (with potential details of
how this code has been tested, if at all).
Thanks,
James
—
Reply to this email directly or view it on GitHub
https://github.com/onsip/SIP.js/pull/278#issuecomment-174535335.

--
Arturo

Hi Arturo,
I've had quite a few weeks of FreeSwitch chaos as well, no need for apologies. Closing this in favor of a formal PR sounds like a good idea. Please don't feel the need to immediately commit this stuff back because you've let the rabbit out of the hat, if it's still a work in development (or just never meant for SIP.js proper) that's ok. It does look like there is some interesting stuff that I'm sure would no doubt be useful for some community members (myself included), but the choice is yours.
Thanks,
James


Credscan the entire repo

Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[ ] C++ Guidelines
[ ] Doxygen docs
[ ] Unit tests
[ ] No unwanted commits/changes
[ ] Descriptive title/description

[ ] PR is single purpose
[ ] Related issue listed

[ ] Comments in source
[ ] No typos
[ ] Update changelog
[ ] Not work-in-progress
[ ] External references or docs updated
[ ] Self review of PR done
[ ] Any breaking changes?

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1513274&view=logs&j=a129effc-2dd1-54d1-fb5a-ad7bdc0e851d&t=9036d097-2774-5136-505e-b4dc0a37f42d

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1516538&view=results

/azp run cpp - core - ci

Credscan results -- https://dev.azure.com/azure-sdk/public/_build/results?buildId=1594399&view=logs&j=a129effc-2dd1-54d1-fb5a-ad7bdc0e851d&t=9036d097-2774-5136-505e-b4dc0a37f42d

/azp run cpp - core - ci

/azp run cpp - core - ci

@sima-zhu Can you complete this PR and enable the process?  If this is no longer applicable work, the PR should be closed.

Pre-requisite:
https://github.com/Azure/azure-sdk-for-cpp/issues/3837
@RickWinter I will enable the PR validation once the errors get cleanup. :)


"npm run gen" required for solution to build / run

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Follow Getting Started -> Quickstart in readme to step 8

Any log messages given by the failure

graphql/data/cosmos/GameDataSource.ts(3,27): error TS2307: Cannot find module '../../generated' or its corresponding type declarations.
graphql/data/inMemory/GameDataSource.ts(3,27): error TS2307: Cannot find module '../../generated' or its corresponding type declarations.
graphql/data/types.ts(1,27): error TS2307: Cannot find module '../generated' or its corresponding type declarations.
graphql/resolvers.ts(3,38): error TS2307: Cannot find module './generated' or its corresponding type declarations.
Expected/desired behavior

Solution should build / run.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful
Manually running "npm run gen" in the /api folder resolves the issue.

Thanks! We'll be in touch soon.

@mormond Thanks for reporting. I hit this recently too. It does seem like you have to run it manually the first time. I'll note that in the readme and related content.
@aaronpowell have you seen this before?

I've just tried to replicate on Windows and WSL, both worked as expected (didn't have to generate the file). I'm using Node 16 and here's the steps:

Clone repo
cd js-e2e-graphql-cosmosdb-static-web-app\api
npm i
npm run build

Can you share the repo steps, plus OS and Node versions?

@aaronpowell  I think I was on a mac and node 14. If I hit it again, I'll post back here.


waitForJobs: don't wait for setInterval() jobs.

In JavaScriptJobManagerImpl, method waitForJobs() waits for all kinds of
jobs, including never-ending jobs created by setInterval(). The caller
wouldn't expect this method to block indefinitely and it causes some
scenarios to get stuck.
Also, for correctness - synchronized block should wrap final job count
check as well.

What about using waitForJobsStartingBefore(final long delayMillis, final JavaScriptJobFilter filter)?

I am thinking about the user of HtmlUnit - it will be more simpler for him to say "wait for all tasks", instead of defining filter + delay (which is not always clear as it depends on the performance of the website).
The wait command is mostly used as part of a larger test scenario, and therefore the user just wants the website to finish loading and become ready, including all tasks. It's easier to call waitForJobs - and there shouldn't be a scenario in which a user expects this call to block forever (like happens in case of setInterval() jobs)


Fix: Track endorser and author roles in per-tenant settings

Bug fixes #2233

@swcurran should this be included in 0.9.0?


sparse_placeholder is not compatible with eager execution.

hi
when i try to run tutor1 by tensorflow in pycharm,this issue raises:
"RuntimeError: sparse_placeholder is not compatible with eager execution."
i suspect it may due to the tensorflow version.but i found the code above("import tensorflow.compat.v1 as tf").It seems no problem.
so..then..i don't konw what's the matter?
can anybody help me?

Hi, have you solved this? I've encountered it as well. I've tried to add "tf.compat.v1.disable_eager_execution()" in "def build_placeholders(self):", but it still doesn't work.

Hi. I've encountered it as well, ant it seems attribute to the version of tensorflow. I've tried to add "tf.compat.v1.disable_eager_execution()" before "def build_placeholders(self):", and it works now. Hope it helps.

Thanks for your constructive help! Your solution is indeed effective and has resolved the compatibility issue with the eager execution mode that I encountered while using STAGATE. I added tf.compat.v1.disable_eager_execution(), and now everything is running smoothly.
In fact, the initial problem I encountered was that the X in my anndata was in numpy format, which does not require and cannot call the toarray() method. I used sp.csr_matrix to convert it back to a sparse matrix, and then the aforementioned problem occurred. If anyone encounters a similar error, they can try the steps mentioned above.


Custom Overlay

Description
While iD provides the option to add a custom background, it's not currently possible to add a custom transparent overlay.
Ideally, there should be:

a "Custom" item in the Overlays section as designed below:

A similar configuration popup would open:

an optional URL parameter that can receive overlay input e.g.

https://www.openstreetmap.org/id#overlay:custom=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Happy to help implement this if you don't see any concerns with the feature.
Screenshots
No response

Fyi there is an issue about is over at the RapID Repo. It might get fixed there. (Don't have the URL At hand ATM.)

Fyi there is an issue about is over at the RapID Repo. It might get fixed there. (Don't have the URL At hand ATM.)

Here is the link I believe: https://github.com/facebookincubator/RapiD/issues/545
I am not familiar with Rapid history, so out of curiosity, why Facebook didn't offer a chrome extension instead of forking iD and duplicating codebases?
I recall Strava building their own iD fork with their great "slide" tool to only give up support a few years later...

This seems to be a duplicate of #3773? Strava is specifically tracked in #9129.

I second this. Was testing a transparent WMS recently and discovered iD doesn't support custom overlays.


fix Makefile on branch release-0.5

What this PR does / why we need it:
Fix the Makefile from below error
docker buildx build --output=type=registry --platform linux/amd64,linux/arm64
--tag aws-iam-authenticator:v0.5.11_5848ac2e8a0b25c2fed5d1f5eaf6f08dd20e6bcb_20221123T210711Z .
ERROR: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")
make[1]: *** [Makefile:83: image] Error 1
make[1]: Leaving directory '/home/prow/go/src/github.com/kubernetes-sigs/aws-iam-authenticator'
make: *** [Makefile:107: e2e] Error 2
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@nnmin-aws refer to this pr  https://github.com/kubernetes-sigs/aws-iam-authenticator/pull/522

@nnmin-aws refer to this pr #522

thank you @fengshunli. I will check #522 and get back soon.

/lgtm
/approve


MNT Delete the delete doc workflows

What does this PR do?
They are failing because the corresponding GH action no longer exists. Docs are now cleaned up automatically.
See discussion in #open-source-interal

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.