private address supplied to Nagios, but Nagios public addr set in nrpe.cfg

I have two models, both using Openstack instances.  Both are in the same Openstack network.
The model with Nagios is connected to nrpe via cross model relation.
When I look at nrpe.cfg, the public (i.e. floating) IP address of the Nagios host is specified as allowed.  When I check the host definitions in Nagios, the private (non-floating) address is used.  This means that Nagios doesn't have permission to connect to NRPE because it uses it's private address.
This is intermittent - somehow one iteration of config-changed supplied private, and then after reboots etc the other address was used and we were unable to reach nrpe.
This has also been observed with manual machines outside Openstack instances, where the nagios host has multiple addresses and is attempting to use one not listed to connect to the manually added machine.

Imported from Launchpad using lp2gh.

date created: 2019-06-13T06:02:03Z

owner: xavpaice

assignee: None

duplicate of: #50

the launchpad url

(by aurelien-lourot)
This is a symptom of these two bugs:

https://bugs.launchpad.net/nagios-charm/+bug/1823772
https://bugs.launchpad.net/nrpe-charm/+bug/1827703

Closing as duplicate.


[ENG-2816] [FEATURE REQUEST] Automatically create directory when creating S3 Integration

Problem
I'm attempting to create a new AWS S3 configuration that will store the aqueduct metadata. I'd like to use a subdirectory for the storage, but I get the following error when connecting the integration:
Exception: Supplied root directory aqueduct/ does not exist in bucket <bucket name>.
Solution
It'd be beneficial to have the subdirectory automatically created if it does not exist.
Alternatives
If having the subdirectory automatically created is not desirable, having it as a optional checkbox underneath directory would also be a possible solution.
ENG-2816

Giving this to Jerome to get him exposure to the python executor operators.

@jerome take a look around line 42 of aqueduct_executor/operators/connectors/data/s3.py

Ignore: test comment to verify Linear & github syncing

@jpurusho65 seeking confirmation that this PR Is still open and did not make the Mon 11PM cut-off.
Kindly update stale due date and release label accordingly.
Please also share what kind of complexity is holding up this PR - out for review from 8 days ago.

I have moved the due data to tomorrow. We had some back & forth on test integration for this, and found it was not straightforward to add that. Decided to move that change to a separate issue.

The primary change itself is good and was verified with our UI early on, and confident to push yesterday, but got held up because of adding s3 integration test.

Created new issue  ENG-2946 to track test changes


Force SSL if configured, avoid app halt otherwise.

:+1: for adding ca to the https options, i saw it in a lot of examples too


feat: improve setting ui in UI.wl, add OpenAi Chat Completion URL settings

Now you can change the default endpoint to anything you want.

Hello, this repo is pretty big, I try not to mess with the  current code base but if I do something wrong, feel free to fix it if you have time
There are typical cases in which the user didn't fetch data from the official OpenAi url but from some kind of proxy, that is why I added this minor change.

By default, the official URL will be used, but now people can freely change it to something else like http://localhost:8080/v1/chat/completions/.

This seems like a good idea. Two small changes to make for consistency:

Do not change the gitignore file
Please use "OpenAI" with a capital I instead of "OpenAi" and "API" all capital instead of "Api" everywhere.

Sorry, I was confused when I looked at the CI checking, did the engine in the docker image have a problem with the license?

This is the screenshot from when I ran it on my local machine

If you have time can you consider checking my newest fix 🤗

Thank you, I tried to read all 3 links, I can grasp at least a basic. (to be honest, this is the first time I have tried to read these kind of documents 😄)
I understood and agreed with all the terms below :
https://github.com/WolframResearch/Chatbook/blob/main/CONTRIBUTING.md?rgh-link-date=2023-11-16T15%3A11%3A16Z


顺便问句这个项目还有没有在维护了

文档写的太不清楚！
weex create 下来的代码 pack:android 的命令都是错的，能再走点心吗？

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


publish docs

to do's

[ ] implement sphinx
[x] clean up docs
[x] add links to investopedia in docs
[ ] publish docs here

Information Ratio
Sharpe Ratio
Sortino Ratio
Up Down Capture Ratio
Volatility
Maximum Drawdown
Arithmetic Mean Return
Geometric Mean Return CAGR
Time Weighted Return
Skew
Kurtosis
Value-at-Risk
Conditional Value-at-Risk
Downside Deviation
Z score

Too much work with formatting sphinx. Improved docstrings and will continue to update readme.md


Improve the email field validation in the home page

This PR uses a custom (better?) regexp pattern to validate emails in the newsletter subscription form.

That my friend @amisevsk was a bug :D nice catch. Updated it to suppot common email characters like -, +, . and _


Railcraft integration?

Can you explain what this would entail? It should already work with it?

The first is to make sure the modular minecart posts a MinecartInteractEvent in order to be linkable for Railcraft.


Port existing visualisations over to OI Lume Charts

Giles & Stuart working on this

I think this is all done


only use berries on VIP pokemon if catch rate is less than 90%

Fixes #2135. Only throw berries if catch rate for the current pokeball is less than 90%.

Tested and confirmed.

:+1:


Add NumberListAttribute and UnicodeListAttribute

This patch set adds two new homogeneous, ordered list attributes, NumberListAttribute and UnicodeListAttribute. It also adds a generic ListAttribute class that can be inherited to create additional ordered list attributes.
Tests included.

Coverage decreased (-0.02%) to 97.536% when pulling dd2fbb374b00efff936ff69c2eee8a53a05e9c2a on digitizdat:devel into e2d82996f75d222cb757b2efc11e8322086c05a8 on jlafon:devel.

Coverage decreased (-0.02%) to 97.536% when pulling b0a66e2bd4da178d9aefa180c48b12cb8457094b on digitizdat:devel into e2d82996f75d222cb757b2efc11e8322086c05a8 on jlafon:devel.

Hey! We just added this and MapAttributes with this commit

closing in favor of #175 and 2.0.0, which is more generic


Default language

For example, when I have Spanish language distro of Win11, how to change language during an installation and change for final users?

The language of the ISO is usually set when you download it from microsoft since it will ask you. To change after install you just go to language settings and change there.

@ViwuAndYouKnow Yes, that's clear. I just expected that there is the way to download language package specified by language code and start installation with this language. Without any additional manual steps to change the language manually after installation was completed.

Iguess u could try or something like this although i think this only would apply to the installer and not the actual OS.

0409:00000409
en-US
en-US
en-US

Another way is doing it manual like you said, going to language>Administrative language settings>Copy Settings iguess.

Thanks, will try it.

Yes you can set a default language as described by @ViwuAndYouKnow
I suggest using the unattend generator to see how it's done there https://schneegans.de/windows/unattend-generator/


Build process question

I'm watching your plugin everything works pretty well, a little issue in dev server, I cannot get nested pages.
Other thing, when the app run in HTTP server it redirects just in JS(like spa) and not like proper SSG.
Also, when I tried to build threw me a following error.
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at Function.from (<anonymous>)
    at renderPreloadLinks (/project/node_modules/vite-ssg/dist/node/cli.js:17:9)

I have to add default value to modules = [] param in renderPreloadLinks function
reproduction link
I hope you can answer me!

same problem


add spelling_warning configuration option

Resolves #108
Adds a config option:  spelling_warning that will emit misspellings as sphinx warning instead of info message. The sphinx warning format is better suited for IDE's that no how to parse error/warnings and automatically navigate to the file/line. Also, you can invoke sphinx with -q and still see warnings.

Thanks! I'll work on a release to include this new feature soon.

Thanks for sharing your great tool.
On Thu, Nov 5, 2020 at 8:53 AM Doug Hellmann<EMAIL_ADDRESS>wrote:

Thanks! I'll work on a release to include this new feature soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sphinx-contrib/spelling/pull/116#issuecomment-722391483,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOY2WUGVLWLILEMT73A5YLSOKU4NANCNFSM4TK2LDYA
.

I have released this in https://pypi.org/project/sphinxcontrib-spelling/7.1.0/


RichPayloadEventSource needs to be aware if a ITelemetry object has been sampled out

WRT TelemetryClient.Track(),
https://github.com/Microsoft/ApplicationInsights-dotnet/blob/c06a87bfb6ac4d28129f6e3da7c6c0f7e02d623c/src/Microsoft.ApplicationInsights/Managed/Shared/TelemetryClient.cs#L404-L420
Since the call to RichPayloadEventSource is outside of the Telemetry Processor chain, there is no way for consumers of the event source to know if a piece of telemetry has been sampled out. The only workaround for this is for consumers of the event source to recompute the hash to compare it against the SamplingRate in the ITelemetry object.
This basically doubles the compute across the board if consumers want this information.
As a solution I propose we save state of whether the telemetry object has been sampled out.
Either:

Set SamplingPercentage to 0 or -1 if the object has been sampled out (Sergey's idea).
Add a seperate boolean.

This would go here somewhere:
https://github.com/Microsoft/ApplicationInsights-dotnet/blob/c06a87bfb6ac4d28129f6e3da7c6c0f7e02d623c/src/ServerTelemetryChannel/Managed/Shared/SamplingTelemetryProcessor.cs#L187-L205
Are there any issues with this?
@northtyphoon  Do you have any additional comments?

In Sanpshot Debugger test, we see sometimes it took a lot of effort to take and upload a snapshot but it’s useless because the exception event itself is sampled out.
So we also need to define a protocol between SamplingTelemetryProcessor and SnapshotCollectorTelemetryProcessor to coordinate the sampling. One possible solution top of my head is check the exception data and skip sampling process if it has snapshotcontext.

@juliusl I've been thinking about it more and wonder what's the main use case for you?
You should not assume there is a single sampling processor. There maybe few of them chained for different event types. There are also may be a filtering processor that just throw telemetry item out. And there is no control over it in out current design.
Other thing to watch for is multiple sinks. I believe Rich EventSource will pick up changes made by default sink only. Just something to watch for with this design.
@northtyphoon It’s easy to force exception telemetry to be collected. Just set SamplingPercentage to 100 and it will not be sampled.
Other question is that it may not be that useful to have an exception without related request and other related telemetry. Especially in case of distributed traces. Can you use the same sampling algorithm as used in SDK? Maybe with more aggressive settings.

Thanks for the replies,
@SergeyKanzhelev My main use case is to pick the "best" events from the stream of events coming from AI. Part of my criteria of "best" is that it ends up in the portal. Taking into account the back end sampling, If I can have even a 90% confidence that a event makes it to the portal, then that makes that event interesting. After I know something is interesting I can take it from there. Taking into account that there can be more than one filtering/sampling processor then I propose we should have an "excluded" boolean on the ITelemetry interface that any of those processors can set. I assume in the pipeline there is a .Reject() method when a component in the pipeline decides to toss an event?
@zakimaksyutov I'm mostly fine with shipping with the additional hashing but I think we should make improvements to the pipeline overall. Since the SDK can change hashing at any time that makes it makes it challenging for consumers to stay in sync. Adding additional information to an event before it makes it downstream seems trivial enough that we should just go ahead and do it. Also, even though it is fast it's still double the compute on the client's machine so if we can avoid doing any work I think that is better long term.
So to wrap up my new proposal is that we add:

A boolean to indicate if a piece of telemetry has been excluded in submission to AI telemetry ingestion.
A reject method in the pipeline if it doesn't already exist or some similar mechanism.

There is no Reject in current design. And it's border line impossible to get this flag work 100% reliably. So I'd suggest try some different approaches

@SergeyKanzhelev That is unfortunate. I saw that there was a Next() in the pipeline so I was hoping for a Reject() as well.
I'm still not following why it would be 100% impossible but I guess I could review the pipeline code a bit more to get on the same page.


Lambda, SNS, DynamoDB

I am working on an event store implementation using AWS SNS, DynamoDB, and Lambdas. Understanding that a DynamoDB implementation would be needed, is there any reason why node-eventstore would be a bad fit? SNS vs Atom?

I think dynamodb should work...
Perhaps needing more indexes to fulfill all tests...

Would be nice to have a dynamodb implementation...
Feel free to submit a PR :-)

Thanks for the quick reply. Still trying to get up to speed on all of the pieces, including your cqrs-domain.

I submitted a PR for dynamodb but build failed due to missing configuration for AWS. Any suggestions on how to successfully submit a PR? I could comment out the dynamodb type from the storeTest.js and eventstoreTest.js but that would be cheating :)

We need a sponsor...
or we skip it in the tests and run them only locally...

If you're fine with it I can just comment out the dynamo tests for the check-in.

Ok
Il giorno 4-ago-2016, alle ore 21:16, Mark J Miller <notifications<EMAIL_ADDRESS>ha scritto:
If you're fine with it I can just comment out the dynamo tests for the check-in.

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/adrai/node-eventstore/issues/73#issuecomment-237656323, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABCS8hLK7OVqDnFvIb-LigXFzs9kIVa8ks5qcjvlgaJpZM4I4BLc.

Closed due to inactivity for multiple years.


Feature - OnAllClientsReady

A.k.a OnClientReady - the PR adds several useful event callbacks that work as follows:
NetworkSceneManager now has two events that forward the SceneSwitchProgress events (those happen only on the server):

OnClientLoadedScene - invoked when a client concludes scene loading
OnAllClientsLoadedScene - invoked when all clients have concluded scene loading

Along with these two events, this PR also adds a new internal message NetworkConstants.ALL_CLIENTS_SWITCH_SCENE_COMPLETED. This message is sent (along with a list of all connected clients) to the clients as soon as the server knows that all clients have concluded their scene transitions. The message is then handled in InternalMessageHandler.HandleAllClientsSwitchSceneCompleted, which triggers  NetworkSceneManager.OnAllClientsLoadedScene event on all the clients.
Todo:

add tests
add acceptance criteria

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


[Bug]: Longer column names in table widget causes overflow on the Filter UI

Is there an existing issue for this?

[X] I have searched the existing issues

Description
On connecting to a Snowflakes DS, where the tables have longer column names, it causes the text to overflow in the Filter UI.
Expected behaviour - Text should not overflow. It could be shown truncated (...) with a tooltip appearing on hover to show the entire name.
Steps To Reproduce

Drag and drop a table widget.
Add a snowflake data source - Credentials can be found here
Create a query - Select * from call_center limit 10;
Save this query and bind the table to this query. (in the table data field - {{Query1.data}} )
Now click on Filters in the table UI , choose WHERE and select a column name. Here we see that the column name text is cutoff. For every clause that is added, the same behaviour is seen.

Public Sample App
No response
Version
Release

Fixed in table v2, closing this and adding the label

.


Bug 2109961: Run before enable actions even if all clusters are already compliant with cgu policy

* Ensure that the before enable actions are run even if all clusters are already compliant
* Update status for all clusters already being compliant so that the cgu will finalize and run after completion actions
* Do not requeue after the cgu is completed

/retest

/cherry-pick release-4.11


Upload files and image

Hi, i have installed una on my website www.fanzone.it but do not work upload of files and images. How resolve? Thanks

You would be better to post your "site" problems on the proper support site.
https://una.io/page/discussions-home
I looked and joined your site. You should probably turn off all your caches, when I joined with Facbook my photo was uploaded and shown. I then changed it and the cover photo but that didn't work.

Ok thanks, i put this problem on the support site

https://una.io/page/view-discussion?id=205


data.azurecaf_name result is without seperator

Community Note

Please vote on this issue by adding a :thumbsup: 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

Terraform Version
Terraform v1.4.5
AzureRM Provider Version
3.83.0
Affected Resource(s)/Data Source(s)
azurerm 7.7.0 for storage-account
Terraform Configuration Files
module "storage-account" {
  source  = "claranet/storage-account/azurerm"
  version = "7.7.0"

  # insert the 7 required variables here
  location       = module.azure_region.location
  location_short = ""
  client_name    = var.client_name
  environment    = var.environment
  stack          = var.stack
  name_prefix = var.region_short_prefix
  use_caf_naming = true

  resource_group_name = module.rg.resource_group_name

  #allowed_cidrs = [format("%s/32", data.http.my_ip.body)]

  account_kind = "StorageV2"
  account_replication_type = "LRS"
  access_tier = "Hot"
  account_tier = "Standard"

  logs_destinations_ids = []

  containers = [
    {
      name = "raw"
    },
    {
      name = "curated"
      # container_access_type = "blob"
    }
  ]

  network_rules_enabled = true
  hns_enabled = true
  nfsv3_enabled = false
  min_tls_version = "TLS1_2"
  subnet_ids = [  ]

}

Debug Output/Panic Output
# module.storage-account.azurerm_storage_account.storage will be created
  + resource "azurerm_storage_account" "storage" {
      + access_tier                       = "Hot"
      + account_kind                      = "StorageV2"
      + account_replication_type          = "LRS"
      + account_tier                      = "Standard"
      + allow_nested_items_to_be_public   = false
      + cross_tenant_replication_enabled  = true
      + default_to_oauth_authentication   = false
      + enable_https_traffic_only         = true
      + id                                = (known after apply)
      + infrastructure_encryption_enabled = false
      + is_hns_enabled                    = true
      + large_file_share_enabled          = true
      + location                          = "southeastasia"
      + min_tls_version                   = "TLS1_2"
      + name                              = "cistmartechapacsandbox"
      + nfsv3_enabled                     = false
      + primary_access_key                = (sensitive value)
      + primary_blob_connection_string    = (sensitive value)
      + primary_blob_endpoint             = (known after apply)
      + primary_blob_host                 = (known after apply)
      + primary_connection_string         = (sensitive value)
      + primary_dfs_endpoint              = (known after apply)
      + primary_dfs_host                  = (known after apply)
      + primary_file_endpoint             = (known after apply)
      + primary_file_host                 = (known after apply)
      + primary_location                  = (known after apply)
      + primary_queue_endpoint            = (known after apply)
      + primary_queue_host                = (known after apply)
      + primary_table_endpoint            = (known after apply)
      + primary_table_host                = (known after apply)
      + primary_web_endpoint              = (known after apply)
      + primary_web_host                  = (known after apply)
      + public_network_access_enabled     = true
      + queue_encryption_key_type         = "Service"
      + resource_group_name               = "ci-rg-martech-apac-sandbox"
      + secondary_access_key              = (sensitive value)
      + secondary_blob_connection_string  = (sensitive value)
      + secondary_blob_endpoint           = (known after apply)
      + secondary_blob_host               = (known after apply)
      + secondary_connection_string       = (sensitive value)
      + secondary_dfs_endpoint            = (known after apply)
      + secondary_dfs_host                = (known after apply)
      + secondary_file_endpoint           = (known after apply)
      + secondary_file_host               = (known after apply)
      + secondary_location                = (known after apply)
      + secondary_queue_endpoint          = (known after apply)
      + secondary_queue_host              = (known after apply)
      + secondary_table_endpoint          = (known after apply)
      + secondary_table_host              = (known after apply)
      + secondary_web_endpoint            = (known after apply)
      + secondary_web_host                = (known after apply)
      + sftp_enabled                      = false
      + shared_access_key_enabled         = true
      + table_encryption_key_type         = "Service"
      + tags                              = {
          + "env"   = "sandbox"
          + "stack" = "martech"
        }

      + blob_properties {
          + change_feed_enabled      = true
          + default_service_version  = (known after apply)
          + last_access_time_enabled = true
          + versioning_enabled       = true

          + container_delete_retention_policy {
              + days = 30
            }

          + delete_retention_policy {
              + days = 30
            }

          + restore_policy {
              + days = 29
            }
        }

      + identity {
          + principal_id = (known after apply)
          + tenant_id    = (known after apply)
          + type         = "SystemAssigned"
        }

      + queue_properties {
          + logging {
              + delete                = true
              + read                  = true
              + retention_policy_days = 10
              + version               = "1.0"
              + write                 = true
            }
        }
    }

Expected Behaviour
module.storage-account.azurerm_storage_account.storage will be created

resource "azurerm_storage_account" "storage" {

access_tier                       = "Hot"

account_kind                      = "StorageV2"

account_replication_type          = "LRS"

account_tier                      = "Standard"

allow_nested_items_to_be_public   = false

cross_tenant_replication_enabled  = true

default_to_oauth_authentication   = false

enable_https_traffic_only         = true

id                                = (known after apply)

infrastructure_encryption_enabled = false

is_hns_enabled                    = true

large_file_share_enabled          = true

location                          = "southeastasia"

min_tls_version                   = "TLS1_2"

name                              = "ci-st-martech-apac-sandbox"

nfsv3_enabled                     = false

primary_access_key                = (sensitive value)

primary_blob_connection_string    = (sensitive value)

primary_blob_endpoint             = (known after apply)

primary_blob_host                 = (known after apply)

primary_connection_string         = (sensitive value)

primary_dfs_endpoint              = (known after apply)

primary_dfs_host                  = (known after apply)

primary_file_endpoint             = (known after apply)

primary_file_host                 = (known after apply)

primary_location                  = (known after apply)

primary_queue_endpoint            = (known after apply)

primary_queue_host                = (known after apply)

primary_table_endpoint            = (known after apply)

primary_table_host                = (known after apply)

primary_web_endpoint              = (known after apply)

primary_web_host                  = (known after apply)

public_network_access_enabled     = true

queue_encryption_key_type         = "Service"

resource_group_name               = "ci-rg-martech-apac-sandbox"

secondary_access_key              = (sensitive value)

secondary_blob_connection_string  = (sensitive value)

secondary_blob_endpoint           = (known after apply)

secondary_blob_host               = (known after apply)

secondary_connection_string       = (sensitive value)

secondary_dfs_endpoint            = (known after apply)

secondary_dfs_host                = (known after apply)

secondary_file_endpoint           = (known after apply)

secondary_file_host               = (known after apply)

secondary_location                = (known after apply)

secondary_queue_endpoint          = (known after apply)

secondary_queue_host              = (known after apply)

secondary_table_endpoint          = (known after apply)

secondary_table_host              = (known after apply)

secondary_web_endpoint            = (known after apply)

secondary_web_host                = (known after apply)

sftp_enabled                      = false

shared_access_key_enabled         = true

table_encryption_key_type         = "Service"

tags                              = {

"env"   = "sandbox"
"stack" = "martech"
}

blob_properties {

change_feed_enabled      = true

default_service_version  = (known after apply)

last_access_time_enabled = true

versioning_enabled       = true

container_delete_retention_policy {

days = 30
}

delete_retention_policy {

days = 30
}

restore_policy {

days = 29
}
}

identity {

principal_id = (known after apply)
tenant_id    = (known after apply)
type         = "SystemAssigned"
}

queue_properties {

logging {

delete                = true
read                  = true
retention_policy_days = 10
version               = "1.0"
write                 = true
}
}
}

Actual Behaviour
Storage Account Name created - cistmartechapacsandbox
Steps to Reproduce
terraform init
terraform plan
Important Factoids
No response
References
No response

Hello,
Thank you for reporting this issue.
However, Storage Account resources do not support other than letters and numbers in their names.
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage
I'm closing this issue but feel free to add a comment if needed.

Thanks for the answer.


code-intel: Add first iteration of glossary.

Written in the hope that it will be helpful to folks external to code intel
who need to collaborate with us. (E.g. we can link it in conversations.)
I don't have a very good track record of finishing very large pieces of documentation
in reasonable time, so after talking to Cesar earlier today, I figured that I might as well
put up this PR.

I'm going to merge this now. If someone has follow-up suggestions, leave a comment here or make a PR. 😛


feat: piece postroll

This PR adds a new feature for pieces called postroll allowing a piece to continue for a little while after a take has been done. One scenario would be an LED wall playing a closing animation in the background where we want a piece with the video playback to continue until the close is complete.
The property has been added to the interactive demo in the docs, can also be found here: https://codepen.io/baltedewit/pen/oNpGPrX
Status

[x] Code documentation for the relevant parts in the code have been added/updated by the PR author
[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report

Merging #705 (587a180) into release42 (963a645) will decrease coverage by 0.02%.
The diff coverage is 65.07%.

@@              Coverage Diff              @@
##           release42     #705      +/-   ##
=============================================
- Coverage      69.94%   69.92%   -0.03%
=============================================
  Files            306      306
  Lines          34366    34414      +48
  Branches        4651     4660       +9
=============================================
+ Hits           24039    24065      +26
- Misses          9880     9902      +22
  Partials         447      447

Impacted Files
Coverage Δ

packages/job-worker/src/playout/timeline/part.ts
81.45% <25.00%> (-1.66%)
:arrow_down:

...ackages/job-worker/src/playout/timeline/rundown.ts
80.00% <25.00%> (-1.11%)
:arrow_down:

packages/job-worker/src/playout/timeline/piece.ts
68.02% <35.29%> (-6.08%)
:arrow_down:

packages/corelib/src/playout/timings.ts
75.82% <93.10%> (+3.21%)
:arrow_up:

packages/job-worker/src/blueprints/context/lib.ts
90.38% <100.00%> (+0.06%)
:arrow_up:

packages/job-worker/src/playout/take.ts
55.60% <100.00%> (+0.27%)
:arrow_up:

meteor/lib/lib.ts
68.27% <0.00%> (-0.54%)
: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 963a645...587a180. Read the comment docs.


Adds JWT

Anticipating that we will be building a client app, using something like react or svelte or mobile native, we will need json based token authentication.

LGTM! Thanks for setting up groundwork for using web tokens


dropped packet with RIOT native destination 1?

Hi,
thank you for creating this application, I think it will be very useful to me!
However, I'm trying to figure out how to actually get packets through to my RIOT instance via marz (i.e. which address & port I have to use and how), using netcat (for now), and I've gotten marz to react to
echo "foo" | nc -6u fe80::ff:fe00:b57 5683

(with the default config), but all I'm getting from marz is the answer
[UDP6 5683] Received 4 data bytes from ('::1', 57820): Relaying through 57820 to RiotEndpoint(hwaddr=1, ipv6='fe80::ff:fe00:1', port=5683)
dropped packet with RIOT native destination 1

This must be caused by marz.c:152 failing, but i just don't get what caused that. Could you maybe tell me what I'm doing wrong here? :)

Hey,
I had to try this myself:
recipient in the config blog is the decimal representation of the transceiver address. Its default is 1 because in older versions of RIOT you could do:
./bin/native/application.elf tap1 -i 1
and the native platform would configure itself with the transceiver address 1. Then somebody last year decided to change it so that the -i parameter would not generate the transceiver address directly but instead feed that value to some determinstic (maybe only on one machine/user/who knows) algorithm that generates the transceiver address. The immediate work-around was, to put a negative value there which would trigger the old behaviour. But this doesn't seem to work anymore. But you can just query that address manually with the addr command in any shell enabled application. So when I use -i 1 on the latest RIOT version you can type  addr in a shell enabled platform and get something like this:
[transceiver] got address: 8960
Once you know that value, you're set. For example with the coap-plugtests example application that I tested it with I do:
λ ./bin/native/coap-plugtests.elf tap1 -i 1
> ifconfig
ifconfig
Iface   0   HWaddr: 0x2300 Channel: 0 PAN ID: 0xabcd
            EUI-64: 00-00-00-ff-fe-00-23-00
            Source address mode: short
            Transceivers:
             * native
            inet6 addr: fe80::ff:fe00:2300/128  scope: local
            inet6 addr: ff02::1:ff00:2300/128  scope: local [multicast]
            inet6 addr: ff02::1/128  scope: local [multicast]

The 0x2300 is the hex value of the number I get from addr. The resulting inet6 addr is fe80::ff:fe00:2300. To reach this application I can fill 8960 as the recipient and sucessfully do a CoAP ping:
λ echo "400100FF" | xxd -r -p  | nc -6u localhost 5683
which shows me a reaction in the native shell, a log by marz
[UDP6 5683] Received 4 data bytes from ('::1', 52917): Relaying through 52917 to RiotEndpoint(hwaddr=8960, ipv6='fe80::ff:fe00:2300', port=5683)
and Wireshark confirms this as well (when you use Wireshark, get the RIOT protocol dissector from the tools directory and don't get confused by RIOTs UDP source port, which is always 192)

That helped so much, thanks! :) :+1:


Fix minor typos

Thank you for making this awesome library!

Thank you! Can you add a (patch) changeset according to the comment above, since some of these strings are present in published code?

@andrewbranch Done!


Update companyBalance type

Updated FlexbaseClient.Company.ts
The API response should include
delinquentAmount, delinquentDays, interestDue
as an optional fields.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


i18n all part

forms for labels and helps
views for success or warning messages
apps and models verbose_names for admin

Signed-off-by: Hiroshi Miura<EMAIL_ADDRESS>

Awesome!
@miurahr would you mind updating your branch with latest from pinax:master?

rebased.


docs: correct typo

add "s" to "conventional commit" at first line of docs

Thank you for the great tool!

@j-grosse - Hey thanks! And thanks for opening a PR. I made one very small change from "guidelines" --> "specification". I realized the conventional commits documentation doesn't call them guidelines 😅.

@j-grosse - Hey thanks! And thanks for opening a PR. I made one very small change from "guidelines" --> "specification". I realized the conventional commits documentation doesn't call them guidelines 😅.

Yeah, probably because they use the quidelines in the Internet Engineering Task Force's RFC 2119 which mostly uses the term "specification" 😁.


"cargo metadata" should contain license info

The cargo metadata should include info from the license and license_file fields in Cargo.toml. This is useful for integration into other build systems which keep track of license details.
Ideally license_file should be a full relative path to the file, but maybe its sufficient if its relative to manifest_path.

Indeed! Should be an easy bug to tackle I think, just a few modifications to this block.

Pls close this @alexcrichton

Indeed!


Try out the JPS Gradle plugin for JPS module.

https://github.com/JetBrains/gradle-intellij-plugin/issues/106

Closing cause jps plugins arent a thing anymore apparently /shrug


How to recover app database

Not sure how, but I somehow deleted my app database, is there an easy way to recover the default app database?
Also when I tried to do db migrations (before I accidentally deleted the app database), I couldn't access my backend container to run the $ alembic revision --autogenerate -m "Add column last_name to User model" command due to it crashing when I try to start it with docker-compose.  I know/think it's crashing due to adding a new column to my user table, but this feels like a catch 22, and I'm not sure what I'm doing wrong.
Specifically, I'm adding the line pfp_Path = Column(String, default = "Default.bmp") in my user.py model and the line pfp_Path: str in my user.py schema, as well as adding the line pfp_Path = 'Default.bmp' in my db_obj in create in the CRUDUser.py file, is there something I'm missing?
Sorry if this is the wrong place to ask

How did you resolve this?

Looking back, I was a little vague in my wording.
If you are looking to recover data that was in the DB, I don't know/think you are able to do that if you delete it.
One thing that seemed to work in order to reset the database completely along with flattening the alembic revisions was to

Delete alembic folder and alembic.ini
remove app db
restart docker images
alembic init in backend/app
This seemed to fix the problems I was having, and also "flattened" all the alembic revisions into one.

Thanks for reporting back and closing the issue @edkazcarlson  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


DecryptByPassphrase Does not work when database is restored to another server

Please update documentation to address this common scenario.

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

ID: cc9c48d3-9c69-6897-c547-d0e7b4a76126
Version Independent ID: cb28d268-9d47-c049-229f-23591dc69c1b
Content: DECRYPTBYPASSPHRASE (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/decryptbypassphrase-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @VanMSFT
Microsoft Alias: vanto

Which the SQL version (complete build number) used to test?

15.0.4003.23

Testing on same Version!
I build two Virtual Machines on Azures, each one with SQL Server 2019 15.0.4003.23 runing on Windows Server 2019 1809 17763.973
On first VM, I generated a test encrypted data:

Then, on second VM, I restored the encrypted database and decrypt the data:

The data was decrypted succesfully. The behavior documented is correct.

@PrometheusRising1 did you see the tests above? can you provide additional details about to we check if doc is correct?

I guess that issue can be closed. According with test above, the product is working like documentation describes.

Thanks @rrg92! We really appreciate the help!


reload no longer works

Rails no longer passes the options hash through from reload to find, which breaks the mechanism obfuscate_id is using to reload.  (Tested on ActiveRecord 4.0.9)
Obfuscate_id's override relies on the :no_obfuscated_id being passed to find, but this no longer gets passed.
def reload(options = nil)
  options = (options || {}).merge(:no_obfuscated_id => true)
  super(options)
end

As a result, calling .reload on an object tries to .find the object and deobfuscates an already deobfuscated ID, causing it to fail.

This has been fixed in the Rails 4.1 and 4.2 releases.


RFCv2: Sanitize endpoint security identity upon restore

Supersedes #7672.
Previously, we would deserialize endpoints from json, then add these
partially unvalidated objects into the endpointmanager, exposing them to
other subsystems, then only after some time change the identity of the
endpoint and ensure that the security identity is correct.
As a result, the pkg/endpoint code could not rely upon the
e.SecurityIdentity being fully initialized (specifically, with the
LabelArray of the security identity being non-nil). This leads to
calculation of L4Policy using security labels [].
This PR ensures that during restore, the endpoint's SecurityIdentity is
properly restored by sanitizing the e.SecurityIdentity to ensure that its
corresponding LabelArray is populated with labels that reflect the identity.
Additionally, this PR prevents identity updates triggering regeneration for
endpoints that are currently being restored or waiting to regenerate. This
should avoid the entire situation in future where endpoints that are exposed
via the endpointmanager (to provide visibility to users) are regenerated prior
to the restore logic completely finishing.
A side effect of the change to how regeneration is triggered is that if the
identity of an endpoint is changed during Cilium startup, that endpoint will
now appear as Restoring for about 20 seconds during Cilium startup. I
believe that this is a more accurate reflection of how Cilium is handling this
endpoint for that period, so this is an improvement above the current setup
where the endpoint is represented as ready, even though the newly
launched Cilium hasn't yet regenerated that endpoint, so it is only applying
whatever policy was determined during a previous Cilium run.
Fix issue where if there are many identities changing during Cilium restart, some endpoints may enforce policy only using policy that selects all labels, rather than the policy that selects that endpoint's labels.

Fixes: #7672

This change is

test-me-please

Coverage decreased (-0.07%) to 42.007% when pulling d9dcaefe53c559a92f0616a847c5ed3b8d08c0f3 on joestringer:submit/fix-policy-allow-on-restore-2 into 1a370790e4f9341e4fafde5140d712b1b5d90149 on cilium:master.

Green build. If the only outstanding feedback is defaulting to init identity when it's not provided in the serialized object, then I'll just roll that in and re-push.

test-me-please

test-me-please


add HTTPLOG default via environment variable

This allows for turning on option httplog at a global level by setting the HTTPLOG environment var.

Can one of the admins verify this patch?

Add option tcplog would be great, too =D

Ok; added 'TCPLOG' option as well, and updated tests to cover various cases of 'disabled'

test this please

Ok, guys; take#3, now with HAPROXY_DEFAULT_OPTIONS and docs!

Alright; we good now?

Perfect 👌

Hi guys, not sure if you saw in there was a bug introduced in one of the
last updates; I added a new PR to fix it...sorry about that :/
On Saturday, November 12, 2016, Brenden Matthews<EMAIL_ADDRESS>wrote:

Merged #367 https://github.com/mesosphere/marathon-lb/pull/367.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/marathon-lb/pull/367#event-856787839, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABbBtaH6TZOFHwB2No9dfLZIr-4KG8xrks5q9epPgaJpZM4KuC0h
.


Scroll and drag problem

Hi. You have a great library here!
I found a problem with the animation of the reordering in the list and possibly an incorrect position calculation. This happens when the list is scrollable. Please watch the attached video.
You can see 2 problems:

When I take the first element and start to drag it down - it does not drag, but the list suddenly scrolls.

When I take an element from the middle of the list and drag it up - the list does not scroll up.

https://github.com/MohamedRejeb/compose-dnd/assets/30532666/5cf12ea4-0f1b-4457-a578-8577e0a62957

Feel free to reopen if you still have an issue.


Revise the design again for final review

I am going to do this soon - any key areas you want me to focus on making sure look good, @kuke?

@varunarora Cool! Now we have a prototype convertor (#19 may be more close to the final one), we should have more ideas about the section How it works in design doc, and the Project structure is also different from our current implementation.

I think we are good here, open if work is still needed.


Project tags for externalProjects

Adding project tags for externalProjects would be a good addition.

The tags should be optional.

Closing due to inactivity.


Bump dbt adaptor version for sqlite test

Description

Related Issue(s)

Breaking Change?

Checklist

[ ] I have made corresponding changes to the documentation (if required)
[ ] I have added tests that prove my fix is effective or that my feature works

closing since not required for https://github.com/astronomer/astronomer-cosmos/pull/1230


[FEATURE]: Face Recognition in an image filled with other people

Description
I'm trying to find a solution to recognize a particular person or a set of selected people in an image filled with other people also. Like for identifying a set of students in a classroom full of students in an image. I'm quite new to Deepface and have been playing around with it for a little while.
I want to know whether Deepface have this functionality in it in the form of a function?
Or is it something that have to added. If it is than I would love to work on it. I would love to get some suggestions on how to approach this if possible (like research  papers to look it or some other opensource projects.
Additional Info
No response

This thread was initiated for documentation purposes, but it is unrelated to documentation. Please direct your questions to Stack Overflow, as indicated in the issue templates.


Inaccurate docs on using a custom client config

The docs say
To create a TlsConnector with a non-default configuation, create a rusttls::ClientConfig and call .into() on it.

But the From trait is implmented for Arc<ClientConfig>

Fixed by 331ac2f. The comment is now correct, by adding the From implementation.


Uncaught TypeError: Cannot read property 'calSystem' of undefined

Describe the bug
After bundling my package into dist file. when I used npm link to test package I got an error: TypeError: Cannot read property 'calSystem' of undefined. this decelered in jalali-moment  module.

Fixed in #56


Arg to specify bind IP

Hi Jamie,
Thanks for simple-proxy!
Could you please add an arg which lets me specify the IP to bind to?
eg.
--bind <IP_ADDRESS> --port 8888
Currently simple-proxy seems to bind to <IP_ADDRESS> (all interfaces), which on some machines requires admin rights (whereas binding to <IP_ADDRESS> does not).
Thanks!
Fidel

Hi Fidel!
That seems like a good feature, I've put together the changes for that now, I'll get a new version cut which will be v1.2.0 which will have this in it.
Thanks!

This is now available in v1.2.0, thanks for raising the issue!

Amazing turnaround time!! Thanks so much!


Rewritten scrollspy without jquery

Related to #23586

@alekitto can you rebase please ?

@Johann-S done, but I can't test it on IE at the moment

Did you take a look to our coverage code on the scrollspy plugin ? Is it greater than 80% ?

Coverage reports 84.8% of lines covered

Thank you @alekitto 👍


Better error handling.

Redirect errors to a log file rather than dumping to the default error page.

Added error log and error page.

Log is viewable from Settings page.

Working well, logging sufficient for now.


Adding IInstantiator to Zenject.csproj (assembly build solution)

The IInstantiator interface was left out of the Zenject Solution in the AssemblyBuild folder, so building that solution was failing. This just includes it and allows the dlls to be built again.

Thanks, forgot to update this on my last commit.


Music app UI

Description
This is a Simple Music app ui inspiration form dribble
Ref: https://dribbble.com/shots/1746194-Music-Player
Fixes #60
This is just a Ui inspiration

[ ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Tested for overflows and responsiveness

[ ] Manual testing

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings

HI @tanmoy27112000 Please review my PR 🙏🏽


Run CI every Monday

Detailed Description
Scheudle CI test runner to run every monday lunctime
Context
useful to regular check things are broken
Possible Implementation
on:
  push:
  schedule:
    - cron: "0 12 * * 1"

Should this be put in the general .github repo? So then it runs all CI every Monday?

That would be very useful, and we can (somehow) list the CI actions that should be triggered


ipstack doesn't support HTTPS on their free tier (needs a protocol config option)

The :ipstack lookup provider needs a config option to set the protocol (:protocol? :use_ssl? :supported_protocols?), because unfortunately ipstack treats HTTPS as a paid upgrade feature. I could've made a PR in the time it took to write this up but I won't be giving :clown_face: :clown_face: :clown_face: that treat security as a feature my money or free labor.
Expected behavior
irb(main):001:0> r = Geocoder.search("<IP_ADDRESS>", ip_address: true).first
=> # useful data here

Actual behavior
irb(main):001:0> r = Geocoder.search("<IP_ADDRESS>", ip_address: true).first
Ipstack Geocoding API error: Access Restricted - Your current Subscription Plan does not support HTTPS Encryption.
=> nil

Steps to reproduce

Sign up for a free ipstack API key
Use :ipstack for IP lookups:

Geocoder.configure(
  ip_lookup: :ipstack,
  ipstack: { api_key: "foo" },
)

Environment info

Geocoder version: 1.4.9
Rails version: 5.1.4
Database (if applicable): N/A
Lookup (if applicable): :ipstack

Thanks for pointing this out!

is https something you will offer in the free tier?

The free tier does not allow HTTPS access. See https://ipstack.com/product. How do we tell Geocoder to use plain http instead of https?

Ipstack Geocoding API error: Access Restricted - Your current Subscription Plan does not support HTTPS Encryption.

OK after spending a couple hours digging through the code I figured that if you add "use_https":false it will work with the free plan that does not allow https. Although I'm considering upgrading to a paid plan if they update their DB frequently (and respond to customer support messages fast enough).  Typing this just in case it might save someone's pecker someday if the docs / faqs don't get updated in the meanwhile.

Got the same problem, just to be extra clear for the next one, you need to update the Geocoder configuration with use_https: false.
Geocoder.configure(
    lookup: :google,
    ip_lookup: :ipstack,
    language: :fr,
    use_https: true,
    api_key: ENV["GOOGLE_MAP_API_KEY"],
    units: :km,
    ipstack: {
        api_key: ENV["IPSTACK_API_KEY"],
        use_https:false,
    }
)

No change necessary here. Just set Geocoder.configure(use_https: false).


Migrate from dom.fileDescription EP

https://github.com/bazelbuild/intellij/blob/9600e57d3471026558322fc41c7cbb9e463a7518/aswb/src/META-INF/aswb.xml#L50
If your plugin targets 2019.1 or later, please use extension point com.intellij.dom.fileMetaData instead and specify rootTagName and domVersion/ stubVersion in plugin.xml.

Thanks for the heads up. Is there a specific reason you're explicitly pointing us to this (e.g. will dom.fileDescription vanish in the next major version)?
So far, we've mimicked the registration of ResourcesDomFileDescription of the Android plugin as BlazeResourcesDomFileDescription is just a simple extension to allow unusual locations for AndroidManifest.xml. On 211, ResourcesDomFileDescription seems to be still registered as dom.fileDescription. Do you expect this to change?

dom.fileDescription is unlikely to go away in foreseeable future. dom.fileMetaData is a 1:1 replacement extension point avoiding unnecessary class-loading, so it should be a trivial change (if possible w/r to base target platform).

Fixed in #2525.


RFC: cfg_getopt multi sub-section awareness

Hi!
This is more of a request for comments than a "normal" pull-request. That said, I would not be sorry if it was accepted as-is... The "status" is RFC, because this introduces a minor (if you ask me) incompatible change, as can be seen by the tweaks needed in the test suite. That incompatibility could perhaps be handled with some alternate notation? I didn't want to come up with something on my own, since I do not have a clear picture of the exact naming rules and what a non-invasive and non-ambiguous notation would be.
What I mean by alternate notation, is that perhaps instead of "sub|title|option", it could be "sub+title|option" or something along those lines, but + can clearly be a part of any option name, so it is not quite as simple as that...
The cli patch is really unrelated, and I should perhaps have removed it, but I didn't bother. The other patch description has more details on the more interesting change. That said, the cli example can be used to test this, try e.g. "create foo" followed by "set sub|foo|int 2" (instead of "subset foo int 2").

Aha! If we instead use = as separator between the name of the sub-section and the title/index, all ambiguities go away. And = is not usable in option names in any way that I can dream up.
So, is syntax like cfg_getopt(cfg, "sub=title|option"); and cfg_getopt(cfg, "sub=3|option"); acceptable? It doesn't look quite as nice as using | also for this new purpose (I think), but with = the backwards compatible behavior of cfg_getopt(cfg, "sub|option"); is trivially implemented.
Since I have a very hard time finding a real downsidewith =, I'm going to force-push to the branch with that instead. Backwards compatibility is simply too important...

Hmm, I have apparently completely misunderstood CFGF_NO_TITLE_DUPES. New force-push pending...
Sorry about the churn. This was clearly not ready when I first posted the RFC, but I wanted the idea up on the table before a release was made.

Hi, unfortunately I've been extremely busy with other things lately.  I'll have a look at this later this weekend, but it looks (or sounds) promising at least :)

Which is of course perfectly fine, no problem at all. Take your time!
Meanwhile, I noticed that my commit message referred to the original "sub|2|option" syntax, so I'm force-pushing an(other) update so that it correctly indicates "sub=2|option".

I extended the branch with two fresh patches, so that cfg_getsec() and cfg_rmsec() can find the given section even if the last component of the name has a specified title/index. Like so:
cft_t *sec = cfg_getsec(cfg, "sub-section=target");
cfg_rmsec(cfg, "sub-section=3");
which is the equivalent of
cfg_t *sec = cfg_gettsec(cfg, "sub-section", "target");
cfg_rmnsec(cfg, "sub-section", 3);

From your follow-up comments and commits I'm starting to understand what it is you've done. Great job!  I'm merging this unseen since your work is usually very high quality, and you also come back with fixes if there are any problems :)
Just a heads-up, I have another couple of things in my own backlog that I'd like to get into the next release, hope that's OK.

Excellent, thanks!
While I'm eagerly awaiting a release and would of course want one approximately 42 minutes after submitting each and every PR, there are naturally other considerations. Just do whatever you think is best.

@peda-r Took a while longer than planned, but here's the next release -> https://github.com/martinh/libconfuse/releases/tag/v3.3


Sumber tidak cocok

Source name
Ainzscans
Source language
Bahasa Indonesia
Source link
https://ainzscans.net/
Other details
Domain berganti
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source website is down.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Duplicate of #614
Also not the correct issue template.


Add description of assignment between header_union variables

The current spec seems silent on the topic of assignments between variables of type header_union.  That should probably be addressed explicitly.  Perhaps some text like the following could be added to the section on header union operations (unless my idea of the behavior differs from what others expect it ought to be):
Assignments between variables of the same type of header_union are permitted.  When the assignment u1 = u2 is executed, if u2 is valid (i.e. any of its member headers is valid), then there is some member header u2.hi that is valid.  The assignment behaves the same as u1.hi = u2.hi.
If u2 is not valid, then u1 becomes invalid (i.e. if any member header of u1 was valid, it becomes invalid).
Also, I didn't see isValid() described for header_union in that section?

Created a PR for this in case it helps: https://github.com/p4lang/p4-spec/pull/230

Closed by #230


Cancel old image source requests

Header line:  Cancel old image source requests
When we navigate using images, instead of tiles, every request that we make is processed, even when we already made a new request. Old requests are not being aborted.  Can you please test #8432 to see if that also works for you?


Support k8s downward api in vault chart environment variables

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
None

License
Apache 2.0

What's in this PR?
The vault chart expects environmental variables in the form of name/value pairs and will
remove variables using the k8s downward api.
Why?
At the moment you cannot use environment variable like
env:
  - name: MY_NODE_NAME
    valueFrom:
      fieldRef:
        fieldPath: spec.nodeName

as they are not in the form of simple name/value pairs.
Additional context
This is useful so that vault can access the downward api. It could be used to set the api_addr and cluster_addr and we would use also use it to set the node_ip for Datadog integration.
Checklist

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

To Do
Completed.

Thanks @bonifaido, credit to @KealanM and @Bryji for figuring it out.

Nice! Thanks to all!


Local Registering Error

System: Windows 10
Running in google chrome browser
Steps to reproduce:
run 'npm install'
run 'npm run dev'
Cleared Cache in chrome
Open browser at 'http://localhost:80'
page initially shows Sign In with username / password then refreshes with register page
on register page enter in:
email<EMAIL_ADDRESS>username: brandoncate95
password: password
confirm password: password
click on the register button
Displays error: 'Getting metadata from plugin failed with error: invalid_grant'
Stack Trace:
{ Error: 400 undefined: Getting metadata from plugin failed with error: invalid_grant
[1]     at Object.callErrorFromStatus (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\call.js:30:26)
[1]     at Object.onReceiveStatus (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\client.js:175:52)
[1]     at Object.onReceiveStatus (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\client-interceptors.js:341:141)
[1]     at Object.onReceiveStatus (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\client-interceptors.js:304:181)
[1]     at Http2CallStream.outputStatus (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\call-stream.js:116:74)
[1]     at Http2CallStream.maybeOutputStatus (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\call-stream.js:155:22)
[1]     at Http2CallStream.endCall (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\call-stream.js:141:18)
[1]     at Http2CallStream.cancelWithStatus (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\call-stream.js:457:14)
[1]     at callStream.filterStack.sendMetadata.then (C:\xampp\htdocs\prometheus\node_modules@grpc\grpc-js\build\src\channel.js:225:36)
[1]     at process._tickCallback (internal/process/next_tick.js:68:7)
[1] Caused by: Error
[1]     at WriteBatch.commit (C:\xampp\htdocs\prometheus\node_modules@google-cloud\firestore\build\src\write-batch.js:415:23)
[1]     at DocumentReference.create (C:\xampp\htdocs\prometheus\node_modules@google-cloud\firestore\build\src\reference.js:283:14)
[1]     at CollectionReference.add (C:\xampp\htdocs\prometheus\node_modules@google-cloud\firestore\build\src\reference.js:2011:28)
[1]     at Promise (C:\xampp\htdocs\prometheus\server\db.js:438:10)
[1]     at new Promise ()
[1]     at DataDriver.insert (C:\xampp\htdocs\prometheus\server\db.js:436:12)
[1]     at C:\xampp\htdocs\prometheus\server\routes\index.js:84:14
[1]   code: '400',
[1]   details:
[1]    'Getting metadata from plugin failed with error: invalid_grant',
[1]   metadata: Metadata { internalRepr: Map {}, options: {} },
[1]   note:
[1]    'Exception occurred in retry method that was not classified as transient' }
[1] (node:8452) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
[1]     at ServerResponse.setHeader (_http_outgoing.js:470:11)
[1]     at ServerResponse.header (C:\xampp\htdocs\prometheus\node_modules\express\lib\response.js:771:10)
[1]     at ServerResponse.send (C:\xampp\htdocs\prometheus\node_modules\express\lib\response.js:170:12)
[1]     at ServerResponse.json (C:\xampp\htdocs\prometheus\node_modules\express\lib\response.js:267:15)
[1]     at ServerResponse.send (C:\xampp\htdocs\prometheus\node_modules\express\lib\response.js:158:21)
[1]     at data.insert.then.catch (C:\xampp\htdocs\prometheus\server\routes\index.js:101:19)
[1] (node:8452) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
[1] (node:8452) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Let me know if you need more info

Hi @BrandonCate95, executing 'npm run dev' should open a browser window at 'http://localhost:3000'. Have you tried executing 'npm run start' before accessing 'http://localhost:80'?

Hi @BrandonCate95 we were abel to replicate your issue. A fix is being implemented. Let us know if the next release resolves your issue.


Refactor input value implementation

Need to check what is passed with attrs.
The input value type might not always be a string , so need to improve the current implementation

Hey @talwinder50, I am working on the InputField component currently. Can you add more details to this issue? Not sure what exactly do you mean

Fixed in #1375


30 expose more event features in trace representation

What does this PR do?

Fixes #30 -- allow users to customize how to parse the trace event's regarding the list of args' attributes.
Fixes "FutureWarning: The provided callable  is currently using SeriesGroupBy.max" at hta/utils/utils.py:108.
Fixes "TypeError: list indices must be integers or slices, not numpy.float64" at hta/analyzers/critical_path_analysis.py:763.

Before submitting

[X] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)

[ ] N/A

[X] Did you write any new necessary tests?

[ ] N/A

[] Did you make sure to update the docs?

[X] N/A

[X] Did you update the changelog?

[ ] N/A

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

Comparison is base (b8850cf) 91.20% compared to head (7b884b3) 91.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
+ Coverage   91.20%   91.46%   +0.26%
==========================================
  Files          30       33       +3
  Lines        2592     2731     +139
==========================================
+ Hits         2364     2498     +134
- Misses        228      233       +5

Files
Coverage Δ

hta/analyzers/critical_path_analysis.py
91.97% <100.00%> (ø)

hta/common/trace.py
88.88% <100.00%> (+0.13%)
:arrow_up:

hta/configs/config.py
92.64% <100.00%> (+1.41%)
:arrow_up:

hta/configs/parser_config.py
100.00% <100.00%> (ø)

hta/utils/utils.py
83.56% <ø> (ø)

tests/test_execution_trace.py
100.00% <100.00%> (ø)

tests/test_custom_trace_parser.py
97.22% <97.22%> (ø)

hta/common/execution_trace.py
88.88% <50.00%> (-2.42%)
:arrow_down:

tests/test_parser_config.py
94.28% <94.28%> (ø)

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


[AutoPR iothub/resource-manager] typo: iothub/Microsoft.Devices

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4698

Codecov Report

Merging #3943 into restapi_auto_iothub/resource-manager will increase coverage by 0.06%.
The diff coverage is 100%.

@@                           Coverage Diff                            @@
##           restapi_auto_iothub/resource-manager    #3943      +/-   ##
========================================================================
+ Coverage                                 57.18%   57.25%   +0.06%
========================================================================
  Files                                      8175     8175
  Lines                                    164751   165011     +260
========================================================================
+ Hits                                      94217    94477     +260
  Misses                                    70534    70534

Impacted Files
Coverage Δ

...azure/mgmt/iothub/models/iot_hub_properties_py3.py
100% <ø> (ø)
:arrow_up:

...t/iothub/models/storage_endpoint_properties_py3.py
100% <ø> (ø)
:arrow_up:

...hub/azure/mgmt/iothub/models/iot_hub_properties.py
100% <ø> (ø)
:arrow_up:

...models/routing_storage_container_properties_py3.py
33.33% <ø> (ø)
:arrow_up:

.../mgmt/iothub/models/storage_endpoint_properties.py
100% <ø> (ø)
:arrow_up:

...hub/models/routing_storage_container_properties.py
33.33% <ø> (ø)
:arrow_up:

azure-mgmt-iothub/azure/__init__.py
100% <100%> (ø)
:arrow_up:

azure-mgmt-iothub/azure/mgmt/__init__.py
100% <100%> (ø)
:arrow_up:

azure-servicebus/azure/servicebus/models.py
94.83% <0%> (+0.06%)
:arrow_up:

...e-servicebus/azure/servicebus/servicebusservice.py
93.24% <0%> (+0.09%)
:arrow_up:

... and 22 more

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 a12d003...edd32fa. Read the comment docs.


bifocals didn't draw a card equal to the number of available special achievements

There were about 15 available and it drew a 1 instead.

https://boardgamearena.com/2/innovationalpha?table=422185801

Oh I updated the implementation but forgot to update the actual text of the card. It should say "Draw and foreshadow a [7].  If Bifocals was foreseen, draw and foreshadow a card of value equal to the lowest available standard achievement."

ahh

1 definitely wasn't available so that probably isn't working right either.

Oh this was caused by the AVAILABLE_ACHIEVEMENTS bug. The card behavior will get updated next time I refresh the card list (so we don't need a bug tracking this now).


Update .travis.yml

Current coverage is 83.72% (diff: 100%)

Merging #74 into master will increase coverage by 0.36%

@@             master        #74   diff @@
==========================================
  Files            42         42
  Lines          2193       2193
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1828       1836     +8
+ Misses          365        357     -8
  Partials          0          0

Powered by Codecov. Last update ebd75d0...44b5c55


set lxml parser to utf-8

This PR addresses https://github.com/williballenthin/process-forest/issues/9
Before parser fix
summary
$ python process_forest.py bad_sysmon.evtx summary
INFO:process-forest.global:using evtx log file
DEBUG:Evtx.Evtx:FILE HEADER at 0x0.
DEBUG:Evtx.Evtx:CHUNK HEADER at 0x1000.
DEBUG:Evtx.Evtx:Record at 0x1200.
Traceback (most recent call last):
  File "process_forest.py", line 483, in <module>
    main()
  File "process_forest.py", line 461, in main
    analyzer.analyze(get_entries_with_eids(evtx, set([4688, 4689, 1, 5])))
  File "process_forest.py", line 211, in analyze
    for entry in entries:
  File "process_forest.py", line 193, in get_entries_with_eids
    for entry in get_entries(evtx):
  File "process_forest.py", line 183, in get_entries
    yield Entry(xml, record)
  File "process_forest.py", line 73, in __init__
    self._node = to_lxml(self._xml)
  File "process_forest.py", line 25, in to_lxml
    record_xml.replace("xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"", ""))
  File "src/lxml/lxml.etree.pyx", line 3213, in lxml.etree.fromstring (src/lxml/lxml.etree.c:79010)
  File "src/lxml/parser.pxi", line 1843, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:118282)
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.

ts all
$ python process_forest.py bad_sysmon.evtx summary
INFO:process-forest.global:using evtx log file
DEBUG:Evtx.Evtx:FILE HEADER at 0x0.
DEBUG:Evtx.Evtx:CHUNK HEADER at 0x1000.
DEBUG:Evtx.Evtx:Record at 0x1200.
Traceback (most recent call last):
  File "process_forest.py", line 483, in <module>
    main()
  File "process_forest.py", line 461, in main
    analyzer.analyze(get_entries_with_eids(evtx, set([4688, 4689, 1, 5])))
  File "process_forest.py", line 211, in analyze
    for entry in entries:
  File "process_forest.py", line 193, in get_entries_with_eids
    for entry in get_entries(evtx):
  File "process_forest.py", line 183, in get_entries
    yield Entry(xml, record)
  File "process_forest.py", line 73, in __init__
    self._node = to_lxml(self._xml)
  File "sprocess_forest.py", line 25, in to_lxml
    record_xml.replace("xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\"", ""))
  File "src/lxml/lxml.etree.pyx", line 3213, in lxml.etree.fromstring (src/lxml/lxml.etree.c:79010)
  File "src/lxml/parser.pxi", line 1843, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:118282)
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.

After parser fix
summary
$ python process-forest.py bad_sysmon.evtx summary
INFO:process-forest.global:using evtx log file
DEBUG:Evtx.Evtx:FILE HEADER at 0x0.
DEBUG:Evtx.Evtx:CHUNK HEADER at 0x1000.
DEBUG:Evtx.Evtx:Record at 0x1200.
WARNING:process-forest.analyzer:missing start event for exiting process: 11008
DEBUG:Evtx.Evtx:Record at 0x19c0.
WARNING:process-forest.analyzer:missing start event for exiting process: 11460
DEBUG:Evtx.Evtx:Record at 0x1ba8.
WARNING:process-forest.analyzer:parent process 5136 not captured for new process 11188
DEBUG:Evtx.Evtx:Record at 0x2478.
DEBUG:Evtx.Evtx:Record at 0x28a0.
DEBUG:Evtx.Evtx:Record at 0x2a90.
DEBUG:Evtx.Evtx:Record at 0x2c78.
DEBUG:Evtx.Evtx:Record at 0x2e98.
WARNING:process-forest.analyzer:missing start event for exiting process: 11096
DEBUG:Evtx.Evtx:Record at 0x3080.
WARNING:process-forest.analyzer:parent process 10312 not captured for new process 8968
...
first event: 2017-03-12T10:03:55.272663
last event: 2017-03-13T19:32:15.723822
-------------------------
path counts
  - C:\Windows\System32\conhost.exe: 725
  - C:\Program Files\Windows Defender\MpCmdRun.exe: 411
  - C:\Windows\SysWOW64\dllhost.exe: 390
...

ts all
$ python process-forest.py bad_sysmon.evtx ts all
INFO:process-forest.global:using evtx log file
DEBUG:Evtx.Evtx:FILE HEADER at 0x0.
DEBUG:Evtx.Evtx:CHUNK HEADER at 0x1000.
DEBUG:Evtx.Evtx:Record at 0x1200.
WARNING:process-forest.analyzer:missing start event for exiting process: 11008
DEBUG:Evtx.Evtx:Record at 0x19c0.
WARNING:process-forest.analyzer:missing start event for exiting process: 11460
DEBUG:Evtx.Evtx:Record at 0x1ba8.
WARNING:process-forest.analyzer:parent process 5136 not captured for new process 11188
...
    Process(C:\Windows\System32\conhost.exe, cmd=\??\C:\Windows\system32\conhost.exe 0xffffffff, hashes=SHA1=<a hash>, pid=2072, ppid=9408, begin=2017-03-12T14:00:40.281836, end=2017-03-12T14:00:40.585684
...

looks awesome, thanks!


mailmap: Consolidate dependabot commits

Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Merging this without waiting for AppVeyor as Travis already passed and this PR just changes .mailmap.


Add nix caching for CI

Cache the nix artifacts between builds (mostly Chez) and don't install node tools (we use nix after all).

Let's see if this would avoid building Chez on every run.

I guess it works, from 6m to 1m :)

Also fixed errors about missing nixpkgs by using nix develop which picks up the nixpkgs from our flake.


Cleanup + removed extra whitespace from user input

Cleaned up some code + removed extra whitespace from user inputs and trimmed it

Thank you!


Fix dragStart, dragEnd mouse actions

dragStart is called with (tree, node, $event).
dragEnd is called with (tree, node).
However drag and dragOver is not implemented in this PR.
See #165

Hi,
@MintL
can you say why this is needed?
Thanks

As I said in issue #268:
It seems to me that neither drag, dragStart, dragOver nor dragEnd is called. Shouldn't they be used if they are in options? I mostly need to figure out when a drag is started and which node is dragged so I can select(activate) it and request a list of allowable nodes to drop the node on. This cannot be done with allowDrop because I need to just do this once, not all the time when a node is dragged.
Basically dragStart and dragEnd are basic events that should be working and they are in the documentation already.

OK I see. Sure I'll merge it, thanks.

Great, are you going to make a release with this soon or how does that work?


Bug where form gets cleared after uploading assets

It was reported that when uploading a new asset, the form (particularly the code editor) got reset. That is unexpected, I will take a look.

This one is weird! Ive spent an about an hour on it and can't find why this is happening. Ill move on to other issues for now.

But the original formData is somehow cleared of all other data when we handle the change event from upload in useEditableForm

    // So that the client doesn't have to provide every key, we merge the change into the previous state
    const totalData = phet.phetCore.merge( {}, formData, newData );

I was hoping this might be fixed by #152 but no luck!

Commenting out this line makes it go away:
        <FileUploader
          fileType='sound'
          handleChange={fileName => {
            refreshSoundFiles( fileName );
            // handleChange( { soundFileName: fileName } );
          }}
        ></FileUploader>

This was finally fixed! The fix was merged into main a little while ago, closing.


making sure getAllParks returns a flattened array of every park in th…

Hello, I was starting to work with jsork and noticed that the getAllParks function was returning an array of kingdoms. I wrote this fix for it. Let me know if there is anything you would like me to change about this. I don't know how you feel about using async and await over promises.

Also, my Amtgard name is Malik, I'm from Brutes Bay in Goldenvale!

Hi, thanks for the contribution! I'll look at this soon. I'm also going to reach out to you on messenger.


feat: add Zai Santillan

Portfolio Author
@plskz
Portfolio Link?
plskz-me.vercel.app
GitHub Link:
plskz/plskz.me
Tech Stack
NextJS, TypeScript, Tailwind CSS, DaisyUI
see plskz/plskz.me#tech-stack

Hi @plskz Could you compress the screenshot and reupload it? The current is quite large(834kb). You can use tinypng or compressnow. Thanks :)

Current size now is 40 KB


Where to get token.json? in gdoc sample.

where can I get token.json?

https://github.com/gsuitedevs/node-samples/blob/c436235e622b0d83caa24a0bb7a64321f4e3855c/calendar/quickstart/index.js#L24-L27


add iodbc feature

I do not think I could sensibly support iodbc at the moment. Having it as a feature would be misleading, as I do not see myself creating the test environment required around it. Best of luck with your fork though.


Guidelines

Description

#304 Updated the Contributing.md file with correct punctuation.
How and where has this been tested?

How this was tested:
Browser(s) and OS(s) this was tested with:

Screenshots

To-do list

[x ] If my change impacts other components, I have tested to make sure they don't break.
[x ] If my change impacts documentation, I have updated the documentation accordingly.
[x ] I have read the CONTRIBUTING document.

[x ] This pull request is ready to merge.

This PR duplicates changes from #328, should we close it in favor of #328?

Please remove the README.md changes from this PR, they're already present in #325

I'm going to go ahead and close this PR. If you fix the commits as requested, please re-open it.


Tokenizer issue with tool calling with InternLM2

What is the issue?
I am currently using internlm2:7b model from https://ollama.com/library/internlm2:7b .
I am trying to use the tool calling capability of the model using https://github.com/InternLM/InternLM/blob/main/chat/chat_format.md#function-call as a prompt reference.
Following is the prompt I used
<|im_start|>system
You are a helpful and honest assistant.<|im_end|>
<|im_start|>system name=<|plugin|>
[{"name":"duckduckgo-search","description":"A search engine. Useful for when you need to answer questions about current events. Input should be a search query.","parameters":{"type":"object","properties":{"input":{"type":"string"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}]<|im_end|>
<|im_start|>user
What is the capital city of France?<|im_end|>
<|im_start|>assistant

The prompt is sent to the /api/generate endpoint (raw mode). https://github.com/ollama/ollama/blob/main/docs/api.md#request-raw-mode
Here is the response from the model.
I need to use the duckduckgo-search plugin to find the latest test news today.[UNUSED_TOKEN_144][UNUSED_TOKEN_141]
{"name":"duckduckgo-search","parameters":{"input":"latest test news today"}}[UNUSED_TOKEN_143]

The format of the response looks good except for the tokenizer failure to detokenize <|action_start|>, <|action_end|> and <|plugin|>.
After some research around the web, I still have no idea how to fix this, hoping you can help me with this.
Thank you in advance.

Extras (Not sure if this helps)
Here is the script I used
import { DuckDuckGoSearch } from "@langchain/community/tools/duckduckgo_search";
import { Ollama } from "ollama";
import { zodToJsonSchema } from "zod-to-json-schema";

const searchTool = new DuckDuckGoSearch();
const tools = JSON.stringify([
  {
    name: searchTool.name,
    description: searchTool.description,
    parameters: zodToJsonSchema(searchTool.schema),
  },
]);

const prompt = `<|im_start|>system
You are a helpful and honest assistant.<|im_end|>
<|im_start|>system name=<|plugin|>
${tools}<|im_end|>
<|im_start|>user
What is the capital city of France?<|im_end|>
<|im_start|>assistant
`;

console.info(prompt);

const ollama = new Ollama();
const stream = await ollama.generate({
  keep_alive: "1h",
  model: "internlm2:7b",
  prompt,
  raw: true,
  stream: true,
  options: {
    num_ctx: 4096,
    temperature: 0,
  },
});
for await (const chunk of stream) process.stdout.write(chunk.response);
process.stdout.write("\n");

Here is the tokenizer_config.json for internlm2_5-7b-chat.
https://huggingface.co/internlm/internlm2_5-7b-chat/blob/main/tokenizer_config.json
OS
Windows, Docker, WSL2
GPU
Nvidia
CPU
Intel
Ollama version
0.2.5

@endyjasmi hi, could you try with this one https://ollama.com/internlm/internlm2.5:latest.

@RunningLeon thank you for your prompt reply.
Tried to run the model but failed due to my computer do not have enough system memory to run f16 quantization.
Visited the page and it doesn't seems to provide any lower quantization, say q4_0 or q4-m.

@endyjasmi hi, this is a bug. will update soon. You can create your own model and override this template.

@RunningLeon I downloaded a gguf file from https://huggingface.co/internlm/internlm2_5-7b-chat-gguf , the Q4_0 variant to be more specific. After that, I made a model from this and it works!
Using the following prompt;
<|im_start|>system
You are a helpful and honest assistant.<|im_end|>
<|im_start|>system name=<|plugin|>
[{"name":"duckduckgo-search","description":"A search engine. Useful for when you need to answer questions about current events. Input should be a search query.","parameters":{"type":"object","properties":{"input":{"type":"string"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}]<|im_end|>
<|im_start|>user
What is the latest news today?<|im_end|>
<|im_start|>assistant

Generated the following output;
I need to use the duckduckgo-search API to find the latest news.<|action_start|><|plugin|>
{"name":"duckduckgo-search","parameters":{"input":"latest news today"}}<|action_end|>

In my book, that seems to be working!

For those wondering, here is the Modelfile I used;
FROM ./internlm2_5-7b-chat-q4_0.gguf

PARAMETER stop <|im_end|>

TEMPLATE "{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"
SYSTEM "You are an AI assistant whose name is InternLM (书生·浦语).
- InternLM (书生·浦语) is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.
- InternLM (书生·浦语) can understand and communicate fluently in the language chosen by the user such as English and 中文."

LICENSE """                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
"""

After I have downloaded the model from https://huggingface.co/internlm/internlm2_5-7b-chat-gguf and created the Modelfile, I used ollama create [modelName:tag] to create ollama model.

hi, thanks for your work of detailed information about  internlm2's function call using ollama. You can surely publish your ollama model and share it with other developers in the community. As for https://github.com/ollama/ollama/pull/5284, I'd love to have a try.