Microk8s certificate issue on clean install, loopback interface is not included in certificate

I have an issue with microk8s on a clean install.
Wheb issuing “microk8s kubectl logs “podname” -n “namespace” i get:
Error from server: Get "https://<IP_ADDRESS>:10250/containerLogs/kube-system/calico-node-qm4hm/calico-node": tls: failed to verify certificate: x509: certificate is valid for <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, not <IP_ADDRESS>
If i look at the interfaces on the host i get:
br-5d5df39e9204: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
ether 02:42:de:a0:96:e5  txqueuelen 0  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
br-8ebd9329fc32: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
ether 02:42:c8:85:0f:bf  txqueuelen 0  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
cali4d2417c4519: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1450
inet6 fe80::ecee:eeff:feee:eeee  prefixlen 64  scopeid 0x20
ether ee:ee:ee:ee:ee:ee  txqueuelen 0  (Ethernet)
RX packets 1174  bytes 115481 (115.4 KB)
RX errors 0  dropped 1  overruns 0  frame 0
TX packets 1143  bytes 627759 (627.7 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
cali9608299badf: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1450
inet6 fe80::ecee:eeff:feee:eeee  prefixlen 64  scopeid 0x20
ether ee:ee:ee:ee:ee:ee  txqueuelen 0  (Ethernet)
RX packets 2004  bytes 194330 (194.3 KB)
RX errors 0  dropped 1  overruns 0  frame 0
TX packets 2052  bytes 205419 (205.4 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
ether 02:42:db:24:32:43  txqueuelen 0  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::2e0:4cff:fe01:2774  prefixlen 64  scopeid 0x20
ether 00:e0:4c:01:27:74  txqueuelen 1000  (Ethernet)
RX packets 1431866  bytes<PHONE_NUMBER> (1.5 GB)
RX errors 0  dropped 144548  overruns 0  frame 0
TX packets 423364  bytes 61323721 (61.3 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet <IP_ADDRESS>  netmask <IP_ADDRESS>
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 10692977  bytes<PHONE_NUMBER> (6.7 GB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 10692977  bytes<PHONE_NUMBER> (6.7 GB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo:microk8s: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet <IP_ADDRESS>  netmask <IP_ADDRESS>
loop  txqueuelen 1000  (Local Loopback)
vxlan.calico: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1450
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::64bc:cdff:fe1b:8317  prefixlen 64  scopeid 0x20
ether 66:bc:cd:1b:83:17  txqueuelen 0  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 49 overruns 0  carrier 0  collisions 0
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::24a7:5a8c:7a26:ae32  prefixlen 64  scopeid 0x20
ether f8:e4:e3:77:83:fa  txqueuelen 1000  (Ethernet)
RX packets 368730  bytes 114797664 (114.7 MB)
RX errors 0  dropped 71665  overruns 0  frame 0
TX packets 10563  bytes 1292726 (1.2 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
It seems that the loopback interface is not included in the certificate.
I am running ubuntu jammy
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Hardware is a Latte Panda Alpha

Hi @AllardKrings
Unfortunately, this is an issue with the host-access addon. The addon adds a lo:microk8s loopback interface with the IP <IP_ADDRESS>, and it looks like kubelet picks it up for the default node IP.
Two ways around it:

Do you need the host-access addon? Under normal circumstances, you probably do not, therefore you can just remove it.
Edit the kubelet arguments file /var/snap/microk8s/current/args/kubelet and add a line with --node-ip=<IP_ADDRESS> (based on your network interfaces output in the description. Then restart microk8s with sudo snap restart microk8s. This way, Kubelet will always use this IP address instead of relying on auto-detection.

Thanks a lot!
I disabled host-access as a temporaly fix and will wait until it is fixed.
I found another way work-around: use --insecure-skip-tls-verify-backend=true
Op ma 1 apr 2024 om 18:26 schreef Angelos Kolaitis @.***

Hi @AllardKrings https://github.com/AllardKrings
Unfortunately, this is an issue with the host-access addon. The addon
adds a lo:microk8s loopback interface with the IP <IP_ADDRESS>, and it looks
like kubelet picks it up for the default node IP.
Two ways around it:

Do you need the host-access addon? Under normal circumstances, you
probably do not, therefore you can just remove it.
Edit the kubelet arguments file
/var/snap/microk8s/current/args/kubelet and add a line with
--node-ip=<IP_ADDRESS> (based on your network interfaces output in
the description. Then restart microk8s with sudo snap restart microk8s.
This way, Kubelet will always use this IP address instead of relying on
auto-detection.

—
Reply to this email directly, view it on GitHub
https://github.com/canonical/microk8s/issues/4477#issuecomment-2030101979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AET5SGIQEWYNPU6MK6FVU2LY3GDEZAVCNFSM6AAAAABFRELUTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGEYDCOJXHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @AllardKrings Im have same issue, are you solved that? Can share me solution.
Many thankyou.
tls: failed to verify certificate: x509: certificate is valid for <IP_ADDRESS>, <IP_ADDRESS>, not <IP_ADDRESS>
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet <IP_ADDRESS>/32 scope global lo:microk8s
valid_lft forever preferred_lft forever

hello @minhvn ,
I used the work-around describe above:
use --insecure-skip-tls-verify-backend=true in your kubectl command


Timout is never used in the init function

I'm using this package and I've noticed that the timeout parameter is never used in the __init__ function of the OpenInferenceClient class
https://github.com/open-inference/python-clients/blob/16531cd4555c5137081d84cd4d4a585045b18657/packages/open-inference-openapi/generated/open_inference/openapi/client.py#L68

Thanks @allilou, this is generated code but this repo contains functionality to patch the generated code. It looks like you're correct about the timeout not being applied.
I'm currently on holidays, but will be back next week and I can fix this then!

Thanks @allilou, this is generated code but this repo contains functionality to patch the generated code. It looks like you're correct about the timeout not being applied.
I'm currently on holidays, but will be back next week and I can fix this then!

Thank's for your response.
I diden't figure out how to patch the generated code.
I will be grateful if you can fix it or tell how can you do that and I will create a pull request with a patch.
Envoy your holiday.

Released as v<IP_ADDRESS> in 584355ed51cc4218047b7fc5237b78afaccc674e - I want to keep the X.Y.Z version of the clients the same as the spec version for now; which is unchanged here - it remains at v2.0.0
https://pypi.org/project/open-inference-openapi/<IP_ADDRESS>/


Create update procedure for v1.5

📚 Context
Release v1.5 comes with a breaking change in the way epochs are calculated when compared to any previous v1.x release.
Such change objectively fixes #432 and, in doing so, requires that existing applications upgrade their version of the node and their instances of the History contract to have their history rewritten.
✔ Solution
Define and test all steps required for upgrading an application from v1.4.
Such procedure should:

describe how to upgrade the version of the node
describe the steps to be taken by the application owner to prepare the application to have its history rewritten
describe how to check that the application state was kept after the upgrade is done

[!NOTE]
New history instances can be created with HistoryFactory.newHistory()

[!NOTE]
In order to update an application history, is necessary to call Authority.setHistory()

📈 Subtasks

[ ] TBD

✅ Definition of Done

[ ] Update procedure properly created
[ ] Reproduceable steps demonstrating a test application has been successfully upgraded an d its state has been kept after the upgrade

Notice that History contract holds claims for several applications.
Changing the History affects all applications managed by that History.

Done at #507


Create game brand

I’m interested in this one.

Can I handle this task?

Is it okay if I take this?


Unknown has_many component 'Fields' on class 'MemberProfilePage' Error on creating new Member Profile Page

I installed the module using composer on Silverstripe 3.1 - my cms/framework code base is totally up to date.
When I try to create a new "Member Profile Page" in the CMS the following errors are generated:
[09-Jun-2014 03:59:24] Error at \framework\model\DataObject.php line 1534: Uncaught Exception: Unknown has_many component 'Fields' on class 'MemberProfilePage' (http://localhost.example/admin/pages/edit/show/21)
[09-Jun-2014 04:00:39] Error at \framework\model\DataObject.php line 1454: DataObject::getComponents(): Unknown 1-to-many component 'Fields' on class 'MemberProfilePage' (http://localhost.example/admin/pages/edit/show/22)

Thank you for your contribution here. I just wanted to let you know that we’re looking to improve our management of issues and pull requests, with a goal to providing clear direction on how Symbiote contributes to the open source community. As part of this ongoing effort:

issues and pull requests that have been open prior to December 2017 with no recent activity are being closed

this is included

if you can confirm this remains applicable for SS3.6+ please do open it again

remaining issues and pull requests will be

categorised

on a clear path to resolution (whatever the next step may be).

This ultimately brings us one step closer to our ambition; being able to prioritise current issues and contributions in a timely manner. If you have any questions, please see https://www.symbiote.com.au/contributing for further information.


Upload GLFW profile/release builds for Linux

Required to unblock landing of profile/release mode build/run in the tool

@stuartmorgan I created this as a tracker so I can mark the tools PR as blocked by something

Sounds good. Coincidentally, I was just kicking off the test run of the new recipe :)

https://flutter-review.googlesource.com/c/recipes/+/2901

This was fixed by the PR above; I forgot to close the issue.


Just the basics.

Opening this now to see if it triggers Travis.

Hmmm, Julia packages seem to be very tightly coupled to the git repo that you store them in. I suspect that I will need the package name to match the name of the Julia module.

looks good! :cactus:

:moneybag:

This fixes #3

This closes #2


assign a node to the parent category or this case comments here:NestedSet extension

Hey @stof  !!
I am using extension tree with pattern "Nested Set" and I am applying to the comments that is related to the messages.
My question is:
How I can assign a node to be the father of comments, for all children through the post id?
I.e. have different Root for post_id
Thanks

Are not you can change the root id? Or assign or id itself, example: the news?
If you can not, what options I have to create a tree of comments based on the id of a story in a single table
thanks!!

this should be asked on the extensions repo. the bundle only contains the Symfony-specific integrations


Migrate to Parcel

Apologies for the large change, but the majority of this diff is from the lockfile. I thought it would be a good idea to move off of Create React App since I need to refactor most of the build tooling anyway to make things work nicely with Node.js.
I understand if switching the build tooling entirely is too big a change to make, but we will need to sacrifice a lot of developer experience on the server-side code if we stay with CRA. This change makes hot reload on the frontend dramatically faster, and it obviously makes backend HMR much more doable.
I did consider using ts-node-dev in parallel with the current CRA infrastructure, but I don't think it would be nearly as nice for DX. If you don't like this change we can do that instead though.
I'll highlight the parts of this diff that actually should get reviewed; the rest aren't very relevant.

also thanks for the work!!

Updated the docs a little but they're obviously not close to done. I'd like to be able to make the backend switch incrementally in a few separate PRs by the way; could you make a feature branch (node-backend or something) so I can PR to that without screwing up the main branch in the meanwhile? That should also make the incomplete docs less of an issue.

As you mentioned it would be a good idea to get Prettier set up and make the Fastify backend actually work in a separate PR, but I'd prefer to do that after this is merged to avoid merge conflicts.
Also, it's possible (but a pretty big pain) to undo some of the changes that aren't strictly related to Parcel (e.g. the beginnings of the backend) and redo them in a PR without ejecting CRA. I decided to do them in one go because the backend's development lifecycle actually depends on Parcel too, and doing them separately would've been pretty annoying, but I can still undo it if needed.

FYI I started some work on the Fastify server. Zod + Fastify is so much nicer to work with than Express!

Hi! Is there any desire to rebase this PR on main? Migrating off of CRA would be really nice, but if not, I can open a new pull request


LIBITD-1564. Initial implementation of "unmatched_accessions" command

Added "unmatched_accessions" command, which finds accessions in a batch
that do not have perfect matches and (optionally) deletes them.
https://issues.umd.edu/browse/LIBITD-1564

looks good


Cask: use browser user agent when checking for homepage HTTPS availability

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Some casks (mostly opera) are failing this check with the default user agent. Realistically, we only care if an homepage is available through the browser, so that’s the user agent we should use.

Makes sense to me, thanks @vitorgalvao!


Use constants instead of hardcoding strings

Follow up to comment in #401.
Integration tests pass.

Codecov Report
Patch and project coverage have no change.

Comparison is base (7ebeb6d) 19.15% compared to head (d0c7465) 19.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #402   +/-   ##
=======================================
  Coverage   19.15%   19.15%
=======================================
  Files          82       82
  Lines        8683     8683
=======================================
  Hits         1663     1663
  Misses       6874     6874
  Partials      146      146

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


RFC: add the Boltzmann distribution

Checklist

Please ensure the following tasks are completed before filing an issue.

[x] Read and understood the Code of Conduct.
[x] Searched for existing issues and pull requests.
[x] If this is a general question, searched the FAQ for an existing answer.
[x] If this is a feature request, the issue name begins with RFC:.

Description

Description of the issue (or feature request).

This RFC proposes adding the Boltzmann distribution. Similar to other distribution namespaces, adding support for the Boltzmann distribution would entail a family of packages for evaluating the PMF, CDF, mean, median, etc.
Namespace: @stdlib/stats/base/dists/boltzmann
Reference: @stdlib/stats/base/dists/*
Related Issues

Does this issue (or feature request) have any related issues?

No.
Questions

Any questions for reviewers?

No.
Other

Any other information relevant to this issue (or feature request)? This may include screenshots, references, stack traces, sample output, and/or implementation notes.

Reference implementations:

SciPy

@kgryte I would like to work on this issue.

@AgPriyanshu18 Thanks for volunteering to work on this. Feel free to submit one or more PRs implementing this functionality. In fact, it may be good to split it over multiple PRs just to simplify review.

@kgryte @Planeshifter, I have stuck on linkting issues with Readme file.

The code block on readme file giving issue is

PMF Factory method code block is

There is no variable named fact in Readme. I would request your help in this issue.

But there is a variable named fact in your pmf function, and you haven't declared it. You need to add var fact; to the pmf function you show in your last screenshot.

@kgryte @Planeshifter Thanks for your help.
I have added the PMF function for Boltzmann distribution.


Update da-dynamodb-client, ... to 0.1.29

About this PR
📦 Updates

uk.gov.nationalarchives:da-dynamodb-client
uk.gov.nationalarchives:da-eventbridge-client

from 0.1.28 to 0.1.29
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #51.


dump output straight to stdout

I've been trying to speed up the nextcloud updater script in nixpkgs https://github.com/NixOS/nixpkgs/pull/244057#issuecomment-1638949136  but I am limited by the opiniated choices made in nc4nix. Could nc4nix output to stdout its content ? the caller could then choose where to output the generated content via shell redirection ?
aka nc4nix > nc27.nix (and print errors to stderr).
This may be annoying if nc4nix is called for different versions of nextcloud but as mentioned here https://github.com/helsinki-systems/nc4nix/issues/8 maybe it would be more flexible to accept only one version, e.g. nc4nix 27 > nc27.nix and have the callee call several nc4nix in parallel.
Is there any advantage of the current infrastructure with nc4nix ? does it gain anything from having several  versions in NEXTCLOUD_VERSIONS ?

I see that nc4nix creates a $VERSION.json upon successful run in the current working directory, e.g. 28.json. This certainly isn't nice, but works fine for our intended purposes. Also it allows for concurrent updates of multiple version files (doesn't look like this is implemented as of now though).
Want to give this a try @teto?


Longest common prefix

Description
strings question gssoc 2022
i want to add this too
Domain
Algorithm
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

@Lakhankumawat I can do this using 5 approch , assign me

/assign

@rashita79  you can work on this issue but make sure that this thing is not present in Repo before making a pull request .


Fix a few doc issues in quota adapters.

Update the links of docs in quota adapters.
Update the years of copyright to 2019.

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

Needs approval from an approver in each of these files:

OWNERS

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

Hi @caohe. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/test

/assign @geeknoid

/assign @rshriram

/unassign @geeknoid

/unassign @rshriram

/assign @rshriram
/assign @geeknoid

Hi there,
We generally don't update copyrights, they should just reflect the year of the file's creation.
And the updates for the front-matter stuff aren't correct or necessary. This is how they're supposed to be, like in all the other adapters.
Since this doesn't leave anything in this PR, I'm closing it.
Thanks.

ok. thx.


Make element builders namespace aware & add/fix caption methods

I haven't found exact details on when to build HTMLUnknownElement vs Element in the spec. Chrome constructs HTMLUnknownElements if the namespace is xhtml, and Elements otherwise. Should we add that as well?

I think what you want for HTMLUnknownElement vs. Element is https://html.spec.whatwg.org/#elements-in-the-dom:element-interface . (Nothing in the HTML namespace should fall back to Element.)

Lots of single-quotes seem to have snuck in (I suggest installing VSCode's ESLint extension!) but the code LGTM once CI passes. Hooray!

So we want to emulate chrome's behaviour then? That is: changing non-html createElementNSs to return Element instead?

Well, so far we only implement the HTML namespace, so yeah, that seems right. If we ever implemented SVG or MathML (haha, MathML), the "element interface" algorithm would gain extra branches, but until then, yeah, Element is the fallback (per https://dom.spec.whatwg.org/#concept-element-interface ).


Bluocean git and github plugins deploy permission

(This PR template only applies to permission changes -- ignore for changes to the tool)
Description
Permission to deploy blueocean-git-pipeline and blueocean-github-pipeline plugins.
Permissions pull request checklist
Always

[x] Add link to plugin/component Git repository in description above

https://github.com/jenkinsci/blueocean-plugin/tree/story/JENKINS-38847/blueocean-git-pipeline
https://github.com/jenkinsci/blueocean-plugin/tree/story/JENKINS-38847/blueocean-github-pipeline
For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable

@vivek

[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Nice - thanks vivek. I hope all user names are legit, had some hassles with it granting access in the past.

@michaelneale I copied these users from existing blueocean plugin yaml, I can limit it to just yours and mine as I know we have permission for sure.

@michaelneale One way to check for you is e.g. https://issues.jenkins-ci.org/secure/ViewProfile.jspa?name=INSERTUSERNAMEHERE
It's not 100% – it shows users that don't have an Artifactory account by logging in – but as close as you can get.


Can't change model

Hello. I can't change from chatgpt-3 to 4. I have checked using openAI python tool that I have access to gpt-4.
`local:.chatgpt-cli yasin$ chatgpt -l
Available models:

gpt-3.5-turbo-0613
gpt-4-0314
gpt-4-0613

gpt-4 (current)

gpt-3.5-turbo-instruct-0914
gpt-3.5-turbo-instruct
gpt-3.5-turbo-0301
gpt-3.5-turbo-16k
gpt-3.5-turbo
gpt-3.5-turbo-16k-0613
local:.chatgpt which model are you
As an AI developed by OpenAI, I don't have a specific model number. I'm based on the GPT-3 (Generative Pretrained Transformer 3) architecture. My primary function is to assist and facilitate efficient communication.`

Not sure how I should go about debugging this.

Hi @tariqyasin! Thanks for submitting the issue and providing feedback.
Did you encounter an error with the --set-model command?
I tried reproducing your issue. I may be missing something, but it appears to be working:
 2023-09-26 20:35:48 ⌚  Guillermos-MacBook-Pro in ~/workspace/chatgpt-cli
± |main {3} ✓| → chatgpt -v
ChatGPT CLI version v1.3.2 (commit 1c073b18b87914c37c2ae0b624ae5e95b52c5965)

 2023-09-26 20:35:31 ⌚  Guillermos-MacBook-Pro in ~/workspace/chatgpt-cli
± |main {3} ✓| → chatgpt -l
Available models:
- gpt-3.5-turbo-0613
- gpt-4-0314
- gpt-4-0613
* gpt-4 (current)
- gpt-3.5-turbo-instruct-0914
- gpt-3.5-turbo-instruct
- gpt-3.5-turbo-0301
- gpt-3.5-turbo-16k
- gpt-3.5-turbo
- gpt-3.5-turbo-16k-0613

 2023-09-26 20:35:34 ⌚  Guillermos-MacBook-Pro in ~/workspace/chatgpt-cli
± |main {3} ✓| → chatgpt --set-model gpt-4-0613
Model successfully updated to gpt-4-0613

 2023-09-26 20:35:45 ⌚  Guillermos-MacBook-Pro in ~/workspace/chatgpt-cli
± |main {3} ✓| → chatgpt -l
Available models:
- gpt-3.5-turbo-0613
- gpt-4-0314
* gpt-4-0613 (current)
- gpt-4
- gpt-3.5-turbo-instruct-0914
- gpt-3.5-turbo-instruct
- gpt-3.5-turbo-0301
- gpt-3.5-turbo-16k
- gpt-3.5-turbo
- gpt-3.5-turbo-16k-0613

Here's the unit test that verifies that the model is changed as expected:
https://github.com/kardolus/chatgpt-cli/blob/5c3206fbdc4ea918035941480384e3a23a3f7af3/client/client_test.go#L196
I am going to close this issue since I am unable to reproduce it. Feel free to reopen it with an example. An action item for me is to add a --debug flag that shows the actual callouts and responses to and from OpenAI.


Custom Theme not getting applied.

Bug report 🐞
Version & Environment

Version of browser: Chrome Version 97.0.4692.71 (Offizieller Build) (64-Bit)
Version of geist-ui/core: 2.2.3

Expected Behaviour
The behavior I expect is that a custom theme created through the customization interface changes the way components (e.g.: Button) look like.
I am testing this in a default CRA with TypeScript app.
Actual results (or Errors)
The Button component uses the default "lite" theme.
I checked via the "Component" explorer of the React devtools. There is a "GeistProvider" with my custom theme and themeType: "Custom".  Further down the tree there is a "ThemeProvider" with the same values, followed by two "ContextProvider". The first of which holds all the themes (light, dark and custom) while the second one only holds the custom theme. Moving further down I find "ScalableGeistButton" which uses a Theme hook that returns the light theme as the Context. Super confused how that happens.
// Inside index.tsx.
// Copied from the customization page.

const myTheme = Themes.createFromDark({
  type: "Custom",
  palette: {
    accents_1: "#111",
    accents_2: "#333",
    accents_3: "#444",
    accents_4: "#666",
    accents_5: "#a6156d",
    accents_6: "#999",
    accents_7: "#eaeaea",
    accents_8: "#fafafa",
    background: "#000",
    foreground: "#2d80f2",
    selection: "#f81ce5",
    secondary: "#888",
    code: "#79ffe1",
    border: "#333",
    link: "#3291ff",
  },
  expressiveness: {
    dropdownBoxShadow: "0 0 0 1px #333",
    shadowSmall: "0 0 0 1px #333",
    shadowMedium: "0 0 0 1px #333",
    shadowLarge: "0 0 0 1px #333",
    portalOpacity: 0.75,
  },
});

ReactDOM.render(
  <React.StrictMode>
    <GeistProvider themes={[myTheme]} themeType="Custom">
      <CssBaseline />
      <App />
    </GeistProvider>
  </React.StrictMode>,
  document.getElementById("root")

// App.tsx

<Button>Click me </Button>

Thank you for your feedback, this issue has been fixed in version 2.2.4. Now we can install the latest version via yarn add @geist-ui/core.
If that doesn't solve it, please reopen it.

Working fine with version 2.2.4 👍


Revert "fix: ci github clone edge case"

Reverts AztecProtocol/aztec-packages#9320

Reasoning?

Closing as it's spam account doing spam things.


Convert Estimate Self Assessment Penalties flow tests

Trello: https://trello.com/c/cIlIuTHe
What's changed and why?
Converts the Estimate Self Assessment Penalties flow tests to use the node based testing approach introduced in ADR-3.
Also removes the existing flow integration and unit tests as they are no longer needed.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

filed_and_paid_on_time

No, it doesn't have any conditional logic in it, and assert_next_node checks that the template renders.


Fix paging for archive

The archive page shows a second page, but clicking on the 2 does nothing.

This is fixed on the #668 branch


Can someone please help me with coordinates?

I keep trying to go to Rainier, WA but the coordinates I have (46.73944444,<PHONE_NUMBER>3) don't work, it just keeps telling me that all the clients need to be numbers or something like that

Try it without the , in between

Also West/South Correspond to negative numbers so 46.73944444 -121.91833333 is in Washington wheras 46.73944444,<PHONE_NUMBER>3 is in easten China. Be careful with that. Use "/tpll 46.73944444 -121.91833333" without quotes


Add driven controls

Adding driven controls to the library. Includes several predefined driven controls + tests and an example notebook.

Few more changes.
The module name is driven controls (this is fine because it contains multiple driven controls).
However the class name should be DrivenControl (not DrivenContorls) furthermore the file containing DrivenControl should also be named DrivenControl.
The names of the driven controls would be better if we use the common abbreviation, similar to BLACK OPAL. This is within our conventions as most of the DrivenContorl names are longer than three words.
'wimperis_1' => 'BB1'
'solovay_kitaev_1' => 'SK1'
'walsh_amplitude_modulated_filter_1' => 'WAMF1'
'compensating_for_off_resonance_with_a_pulse_sequence' => 'CORPSE'
'compensating_for_off_resonance_with_a_pulse_sequence_with_wimperis' => 'CORPSE in BB1'
'compensating_for_off_resonance_with_a_pulse_sequence_with_solovay_kitaev' => 'CORPSE in SK1'
'short_composite_rotation_for_undoing_length_over_and_under_shoot' => 'SCROFULOUS'
'corpse_in_scrofulous_pulse' => 'CORPSE in SCROFULOUS'
Note in all cases the variable name should be the capitalized version of the same words. So for the last one it would be:
CORPSE_IN_SCROFULOUS = 'CORPSE in SCROFULOUS'

The get_plot_formatted_arrays method should return a dictionary rather than a tuple to match the dynamical decoupling sequence pattern.
The name of the arrays should change depending on the coordinates.
'cylindrical'
rabi_rate
azimuthal_angle
detuning
'cartesian'
amplitude_x
amplitude_y
detuning

The keyword dimensionless should be changed to dimensionless_rabi_rate throughout the driven controls module.

The driven controls constructor need to be brought inline with the constructor of the dynamical decoupling sequence.
Instead of simply providing segments, four arrays should be passed:
rabi_rates
azimuthal_angles
detunings
durations
The following defaults and checks should occurs:

Check all the Rabi rates are greater or equal to zero
Check all of these arrays are the same length.
If the rabi_rates, azimuthal_angles or detunings are not provided i.e. are None then they should be created with zeros for all values with the same length as the others.
If durations is not provided it i.e. None then it should be create with ones for all the values and be the same length as the others

This is now in the "cylindrical" coordinates and provided with a set of meaningfully named arrays, which brings driven controls in line with the dynamical decoupling sequences.
In terms of attributes for the driven controls class:

self.segments should no longer be an attribute (and shouldn't be anywhere anymore).
self.number_of_segments should remain an attribute.
self.amplitudes doesn't seem to be used anywhere and should be removed.
self.segment_durations should be removed (it is now covered by self.durations in the constructor).
self.angles should be a property not an attribute.
self. directions should be a property not an attribute.
self.segment_times should be renamed to self.times and should be a property.
self.maximum_amplitude should be removed.
self.maximum_rabi_rate  should be a property.
self.maximum_detuning should be a property.
self.minimum_duration should be a property.
self.amplitudes_x should be added as a property.
self.amplitudes_y should be added a property.

With the deletion of segments, and the changes above, get_transformed_segments no longer adds much value. It should be deleted. As far as I can tell it is only used in one part, and it's functionality will be largely replaced with all the properties that are defined above.
The pretty print str also needs to be updated to display the
rabi_rates
azimuthal_angles
detunings
durations
Also I made a mistake WRT to the plotting function, I forgot the plural forms for some of the words, these need to be changed to:
rabi_rate -> rabi_rates
azimuthal_angle -> azimuthal_angles
detuning -> detunings
amplitude_x -> amplitudes_x
amplitude_y -> amplitudes_y

Hi Rajib,
Can you please change the constructor such that it explicitly converts any input to a numpy array? Then the input can be a Python list or a numpy array.


Include common geofences into distribution

It would be nice to have some geofences predefined like

all Tesla Superchargers
all Tesla Destination Chargers
Other Points of Interest that are more or less Tesla-specific like Tesla Service Centers, Tesla Show Rooms
Maybe even other charging stations like IONITY, FastNed or smaller providers

The list could be maintained by a community or taken from an existing data source like

supercharge.info -> https://forum.supercharge.info/t/downloading-supercharger-data/215/4
goingelectric.de
Tesla Location Finder -> https://www.tesla.com/findus

I'd prefer to keep it as a user defined thing. For example I may not want all Destination chargers or some such thing. If its a separate list then it MIGHT make sense but not sure about that either.

Well, what about an import of a defined format? We could have predefined set of locations and one could construct an individual set.

Ideally, all chargers would be directly retrievable from OpenStreetMap, right? Perhaps we should promote this topic in the OSM community? Since there are apparently already lists of all (super)chargers in a machine-readable format, an automated import into OSM should be possible? Many other projects would benefit from this as well.

@adriankumpf you're probably right. If the data goes into OSM, it would be the best place to be.
But according to https://wiki.openstreetmap.org/wiki/Import it looks like a fairly complicated process.

I've taken to exporting the Supercharger data from the OpenChargeMap API and importing it directly into Postgres, at least for my in-country stations.
https://openchargemap.org/site/develop/api
Ideally this wouldn't be necessary though, perhaps instead Teslamate could dynamically populate a Geo-Fence based on OCM data and the Lat/Long of the Charging session? Pricing is included in OCM's data for most locations (though costs are often per-country anyway!).

I think if we are looking in to storing the pricing in the DB then we need to think about changing it over to a slowly changing dimension so that historical or even time based tariffs could be calculated. This is however quite a major change to the DB schema and would have to be looked into at quite a look of detail.

I think if we are looking in to storing the pricing in the DB then we need to think about changing it over to a slowly changing dimension so that historical or even time based tariffs could be calculated. This is however quite a major change to the DB schema and would have to be looked into at quite a look of detail.

I took a look at this because when I saw https://github.com/adriankumpf/teslamate/issues/655 because I thought it would be a cool feature despite my own charge pricing being completely static. Moving the charge pricing out of the geo-fence table would probably be easy enough, but charge cost is calculated once at the end of every charge, and not dynamically (on every grafana query) nor retroactively, Having historical data wouldn't be particularly useful for anything except fixing old charge costs.

Ah, i assumed pricing was dynamic. If it's not then that makes it a little bit easier.

pricing even varies for the same charging spot, depending on which card you use there.
I don't think it makes sense trying to gain that data and keep it updated. Other sites on the web are trying to do only that and it seems like a full-time job and an endless fight

I agree that trying to dynamically price every charging station is an overly complex task.
However covering the Superchargers with their simplified pricing is an easy win, the only issue is with currency conversion (which could again be resolved relatively easily).

I agree that trying to dynamically price every charging station is an overly complex task.
However covering the Superchargers with their simplified pricing is an easy win, the only issue is with currency conversion (which could again be resolved relatively easily).

For time-metered superchargers, does the API tell you what tier pricing you're on? Other than the 60kW threshold, it also says if you're sharing power, which could theoretically happen beyond 60kW, up to 75kW and maybe even 125ish kW (if there are in fact V3 chargers that share power cabinets).


Investigate optimizer numerical correctness vs Python reference implementations

https://github.com/tensorflow/swift-apis/pull/758 adds Python TensorFlow reference implementations for optimizer numerical correctness.
This issue tracks numerical differences between Swift optimizer implementations and the reference implementations. See references to TF-759 in Tests/TensorFlowTests/OptimizerTests.swift for occurrences.

Some differences are larger than others. I think we should strive for exact numerical equality if possible, for the same optimizer parameters.
Current examples:

SGD(for: values, learningRate: 1e-3): big difference

Swift: [0.49999535, -0.10000112, -3.000017]
Python: [ 0.49999967, -0.00999999, -0.01999998]

AdaGrad(for: values, learningRate: 1e-3, epsilon: 1e-7): big difference for the third value

Swift: [0.061354622, -0.057095252, -0.061786927]
Python: [ 0.06179592, -0.05709525, -0.05987222]

AdaMax(for: values, learningRate: 1e-3, epsilon: 1e-7): small difference

Swift: [0.9999907, -0.99999064, -0.9999907]
Python: [ 0.99999076, -0.99999064, -0.99999064]

Adam(for: values, learningRate: 1e-3, epsilon: 1e-7): smallest difference

Swift: [0.9999906, -0.9999898, -0.99999064]
Python: [ 0.9999907, -0.9999898, -0.9999904]

Is it possible that the small differences are actually respective language's precision differences since Swift's default Float precision is Float32 but Python's Float precision is Float64 ?

The Python TensorFlow optimizer reference implementation use tf.float32 precision, which should match Swift: https://github.com/tensorflow/swift-apis/blob/b7a9e56efc08f683733433ba3c7eee4966570213/Utilities/ReferenceImplementations/optimizers.py#L16-L17

These example float32 programs produce the exact same output, which give me hope that exact numerical equality is attainable:
import tensorflow as tf
x = tf.constant(1, dtype=tf.float32)
dx = tf.constant(0.1, dtype=tf.float32)
for _ in range(1000):
  x += dx
print(x.numpy())
# 100.99903

var x: Float = 1
let dx: Float = 0.1
for _ in 0..<1000 {
  x += dx
}
print(x)
// 100.99903


File-Header is messed up

I've got an E-Mail of somebody who get only cryptic stuff as decrypt-result. It seems that the file is decrypted but the header is messed up.
I asked for files to reproduce the problem but for me it was decrypted like normal. Maybe some other have the same issue please tell me here!
The bad result look like this:
`‰PNG
���
IHDR�� °�� Ð  ���€ ‰¯���	pHYs�� Ä�� Ä •+  ��9ìiTXtXML:com.adobe.xmp�����
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c132 79.159284, 2016/04/19-13:13:40        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/">
xmp:CreatorToolAdobe Photoshop CC 2015.5 (Windows)</xmp:CreatorTool>
xmp:CreateDate2016-07-13T00:34:07+02:00</xmp:CreateDate>
xmp:ModifyDate2016-07-13T00:37+02:00</xmp:ModifyDate>
xmp:MetadataDate2016-07-13T00:37+02:00</xmp:MetadataDate>
dc:formatimage/png</dc:format>
photoshop:ColorMode3</photoshop:ColorMode>
xmpMM:InstanceIDxmp.iid:5e95182a-00f0-6547-87c8-7448816dbccc</xmpMM:InstanceID>
xmpMM:DocumentIDadobe:docid:photoshop:1be91543-4881-11e6-a4c6-f9df7db8ff39</xmpMM:DocumentID>
xmpMM:OriginalDocumentIDxmp.did:f215f640-69ff-bc4f-9f59-da40c09785c5</xmpMM:OriginalDocumentID>
xmpMM:History
rdf:Seq
<rdf:li rdf:parseType="Resource">
stEvt:actioncreated</stEvt:action>
stEvt:instanceIDxmp.iid:f215f640-69ff-bc4f-9f59-da40c09785c5</stEvt:instanceID>
stEvt:when2016-07-13T00:34:07+02:00</stEvt:when>
stEvt:softwareAgentAdobe Photoshop CC 2015.5 (Windows)</stEvt:softwareAgent>
</rdf:li>
<rdf:li rdf:parseType="Resource">
stEvt:actionsaved</stEvt:action>
stEvt:instanceIDxmp.iid:5e95182a-00f0-6547-87c8-7448816dbccc</stEvt:instanceID>
stEvt:when2016-07-13T00:37+02:00</stEvt:when>
stEvt:softwareAgentAdobe Photoshop CC 2015.5 (Windows)</stEvt:softwareAgent>
stEvt:changed/</stEvt:changed>
</rdf:li>
</rdf:Seq>
</xmpMM:History>
tiff:Orientation1</tiff:Orientation>
tiff:XResolution960000/10000</tiff:XResolution>
tiff:YResolution960000/10000</tiff:YResolution>
tiff:ResolutionUnit2</tiff:ResolutionUnit>
exif:ColorSpace65535</exif:ColorSpace>
exif:PixelXDimension1200</exif:PixelXDimension>
exif:PixelYDimension720</exif:PixelYDimension>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>`

Please tell me if somebody is able to reproduce this problem... Please tell me which Browser (+Version) you use. Please also tell me your OS. I need more information to remove this bug because I'm not able to reproduce it...

Bug occours on:

Chrome:  Version 55.0.2883.75 m (todo: test)
Firefox:  50.0.2 - Its my version to and It works fine I guess thats not important
Within US (Maybe the charset I have to test)

Bug seems to appear only in chrome

I'm writing this as Java-App I won't support the Web-Version anymore^^

Checked this one again. You can't view it in the Browser. But if you Download it, you get the right image... so its works, may Google-Chrome has some problems displaying blob-files?

A little hint where to dig:
https://github.com/Petschko/RPG-Maker-MV-Decrypter/blob/33d8db9ff03ad1d7a08b2215108afcdd721bdea3/scripts/RPGFile.js#L189
Blob() constructor can handle MIME type in second parameter, like Blob([ buf ], { type: mediaType }).

Oooh!
Thank you for the information, I will try that out!

And what about saving files on IE:  data URI is not supported, so check out navigator.msSaveBlob. Set it on "Save" onclick option like navigator.msSaveBlob(blob, fileName), where blob is this.blob in previous comment.


Logs from wrong container are displayed

Hello,
Thanks for the great tool!
I think I might have found a bug where logs from the wrong container are being displayed. See screenshot below of logs from task e1fd60503c464114964fd0bb89622f0e showing the container printing its own task ID as e9a5d8f337084920bf203b2087711fa3 which it fetched from the metadata endpoint.
I've verified by checking the CloudWatch logs that each task does indeed correctly print its own task ID, so it's not an issue with the ECS metadata endpoint or with CloudWatch. So I figure it must be e1s showing the logs from the wrong task.
Cheers!

@jlsalmon
Hi, thank you for using e1s.
The logic here is getting the first log stream name by log group and getting logs by log stream which could cause your issue.
Can you help me understand whether generated log streams have any conventions? And can you show the REDACTED task definition?

The relevant parts of my task definition look like this:
{
  "family": "my-ecs-service",
  "containerDefinitions": [
    {
      "name": "server",
      "logConfiguration": {
        "logDriver": "awslogs",
        "options": {
          "awslogs-group": "my-ecs-service",
          "awslogs-stream-prefix": "server"
        }
      }
    }
  ]
}

The log group is named to match the ECS service. This config results in one log stream per container, named server/server/{task_id}, all inside a single log group.
So yes, I think you are right - since I have log streams for all service containers in the same log group, and since the e1s logic is only looking at the latest log stream, it's possible that we can end up looking at the wrong log stream if a different container happens to append to the log more recently.
Do you have any suggestions on how to tackle this?

@jlsalmon Thank you! No, problem. I can make e1s support that!

@jlsalmon Hi, please check the latest version


FIX FOR LOGIN & SLOW DOWNLOAD SPEEDS!

Login issue: Run Disk Cleanup - Delete the Temp files...
Slow Downloads: Install "Download Accelerator Plus" - Plus is actually free!

For organization login it doesnt work

business login does not work

Login issue: Run Disk Cleanup - Delete the Temp files...
Slow Downloads: Install "Download Accelerator Plus" - Plus is actually free!

Login issue: Run Disk Cleanup - Delete the Temp files... Doesn't work for me

Not working!

For me guys this worked 👍
https://github.com/FaisalUmair/udemy-downloader-gui/releases/tag/v1.5.0
Download this older version of them its working fine !


Preflight check: prevent k3d cluster creation if a launch console one exist & vice versa

Which version of kubefirst are you using?
v2.1.1
Which cloud provider?
k3d (local)
Which installation type?
None specific
Which distributed Git provider?
None specific
What is the issue?
Prevent k3d cluster creation if a launch console one exist & vice versa as they both use the same ports, and it will create creation errors like those. We could also use different port for each of these use case which would also solve the issue.
2023-06-12T17:57 INF cmd/k3d/create.go:728 > Creating k3d cluster
2023-06-12T17:57 INF pkg/k3d/create.go:28 > creating K3d cluster...
2023-06-12T17:57 ERR pkg/shell.go:29 > error executing command error="exit status 1"
2023-06-12T17:57 ERR pkg/shell.go:33 > error executing command: [31mERRO[0m[0012] Failed Cluster Start: Failed to add one or more helper nodes: runtime failed to start node 'k3d-kubefirst-serverlb': docker failed to start container for node 'k3d-kubefirst-serverlb': Error response from daemon: driver failed programming external connectivity on endpoint k3d-kubefirst-serverlb (139c5afb6869912e7e1b78837162fbdb2467fd85322371540ac6c0ff32e0e3fa): Bind for <IP_ADDRESS>:443 failed: port is already allocated
[31mERRO[0m[0012] Failed to create cluster >>> Rolling Back
[33mWARN[0m[0014] Failed to delete volume 'k3d-kubefirst-images' of cluster 'kubefirst': failed to find volume 'k3d-kubefirst-images': Error: No such volume: k3d-kubefirst-images -> Try to delete it manually
[31mFATA[0m[0014] Cluster creation FAILED, all changes have been rolled back!

2023-06-12T17:57 INF pkg/shell.go:36 > OUT: [36mINFO[0m[0000] portmapping '443:443' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
[36mINFO[0m[0000] Prep: Network
[36mINFO[0m[0000] Created network 'k3d-kubefirst'
[36mINFO[0m[0000] Created image volume k3d-kubefirst-images
[36mINFO[0m[0000] Creating node 'k3d-kubefirst-registry'
[36mINFO[0m[0000] Successfully created registry 'k3d-kubefirst-registry'
[36mINFO[0m[0000] Starting new tools node...
[36mINFO[0m[0000] Starting Node 'k3d-kubefirst-tools'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-server-0'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-agent-0'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-agent-1'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-agent-2'
[36mINFO[0m[0002] Creating LoadBalancer 'k3d-kubefirst-serverlb'
[36mINFO[0m[0002] Using the k3d-tools node to gather environment information
[36mINFO[0m[0002] Starting new tools node...
[36mINFO[0m[0002] Starting Node 'k3d-kubefirst-tools'
[36mINFO[0m[0003] Starting cluster 'kubefirst'
[36mINFO[0m[0003] Starting servers...
[36mINFO[0m[0003] Starting Node 'k3d-kubefirst-server-0'
[36mINFO[0m[0007] Starting agents...
[36mINFO[0m[0007] Starting Node 'k3d-kubefirst-agent-1'
[36mINFO[0m[0007] Starting Node 'k3d-kubefirst-agent-2'
[36mINFO[0m[0007] Starting Node 'k3d-kubefirst-agent-0'
[36mINFO[0m[0012] Starting helpers...
[36mINFO[0m[0012] Starting Node 'k3d-kubefirst-registry'
[36mINFO[0m[0012] Starting Node 'k3d-kubefirst-serverlb'
[36mINFO[0m[0012] Deleting cluster 'kubefirst'
[36mINFO[0m[0013] Deleting cluster network 'k3d-kubefirst'
[36mINFO[0m[0014] Deleting 2 attached volumes...

2023-06-12T17:57 INF pkg/shell.go:37 > Command: /Users/fharper/.k1/kubefirst/tools/k3d
2023-06-12T17:57 INF pkg/k3d/create.go:49 > error creating k3d cluster
2023-06-12T17:57 INF pkg/k3d/create.go:50 >  err: [36mINFO[0m[0000] portmapping '443:443' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
[36mINFO[0m[0000] Prep: Network
[36mINFO[0m[0000] Created network 'k3d-kubefirst'
[36mINFO[0m[0000] Created image volume k3d-kubefirst-images
[36mINFO[0m[0000] Creating node 'k3d-kubefirst-registry'
[36mINFO[0m[0000] Successfully created registry 'k3d-kubefirst-registry'
[36mINFO[0m[0000] Starting new tools node...
[36mINFO[0m[0000] Starting Node 'k3d-kubefirst-tools'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-server-0'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-agent-0'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-agent-1'
[36mINFO[0m[0001] Creating node 'k3d-kubefirst-agent-2'
[36mINFO[0m[0002] Creating LoadBalancer 'k3d-kubefirst-serverlb'
[36mINFO[0m[0002] Using the k3d-tools node to gather environment information
[36mINFO[0m[0002] Starting new tools node...
[36mINFO[0m[0002] Starting Node 'k3d-kubefirst-tools'
[36mINFO[0m[0003] Starting cluster 'kubefirst'
[36mINFO[0m[0003] Starting servers...
[36mINFO[0m[0003] Starting Node 'k3d-kubefirst-server-0'
[36mINFO[0m[0007] Starting agents...
[36mINFO[0m[0007] Starting Node 'k3d-kubefirst-agent-1'
[36mINFO[0m[0007] Starting Node 'k3d-kubefirst-agent-2'
[36mINFO[0m[0007] Starting Node 'k3d-kubefirst-agent-0'
[36mINFO[0m[0012] Starting helpers...
[36mINFO[0m[0012] Starting Node 'k3d-kubefirst-registry'
[36mINFO[0m[0012] Starting Node 'k3d-kubefirst-serverlb'
[36mINFO[0m[0012] Deleting cluster 'kubefirst'
[36mINFO[0m[0013] Deleting cluster network 'k3d-kubefirst'
[36mINFO[0m[0014] Deleting 2 attached volumes...
 [31mERRO[0m[0012] Failed Cluster Start: Failed to add one or more helper nodes: runtime failed to start node 'k3d-kubefirst-serverlb': docker failed to start container for node 'k3d-kubefirst-serverlb': Error response from daemon: driver failed programming external connectivity on endpoint k3d-kubefirst-serverlb (139c5afb6869912e7e1b78837162fbdb2467fd85322371540ac6c0ff32e0e3fa): Bind for <IP_ADDRESS>:443 failed: port is already allocated
[31mERRO[0m[0012] Failed to create cluster >>> Rolling Back
[33mWARN[0m[0014] Failed to delete volume 'k3d-kubefirst-images' of cluster 'kubefirst': failed to find volume 'k3d-kubefirst-images': Error: No such volume: k3d-kubefirst-images -> Try to delete it manually
[31mFATA[0m[0014] Cluster creation FAILED, all changes have been rolled back!
 exit status 1

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fixed with release v2.1.6.


clock skew trouble with vmmc_bistro

if the operator has a skewed clock in respect to the albatross server, vmmc_bistro will produce a signed certificate that is not yet / not anymore valid on the server side. there are no good ways to protect, but a workaround is to sign the certificate with a timestamp of now - 1m to allow for a clock skew of 1 minute that the server may be behind the client.

fixed in dce477a01e7db649a23822c17a251e3cd05eaf4b -- uses (now - 10 sec)


METRON-1094: MaaS will not start due to classpath error relating to Yarn

Contributor Comments
The MaaS service won't start with an stack trace:
java.lang.NoSuchMethodError: org.apache.hadoop.io.retry.RetryPolicies.retryOtherThanRemoteException(Lorg/apache/hadoop/io/retry/RetryPolicy;Ljava/util/Map;)Lorg/apache/hadoop/io/retry/RetryPolicy;
        at org.apache.hadoop.yarn.client.RMProxy.createRetryPolicy(RMProxy.java:304)
        at org.apache.hadoop.yarn.client.RMProxy.createRetryPolicy(RMProxy.java:211)
        at org.apache.hadoop.yarn.client.RMProxy.createRMProxy(RMProxy.java:93)
        at org.apache.hadoop.yarn.client.ClientRMProxy.createRMProxy(ClientRMProxy.java:72)
        at org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.serviceStart(AMRMClientImpl.java:186)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl.serviceStart(AMRMClientAsyncImpl.java:96)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.metron.maas.service.ApplicationMaster.run(ApplicationMaster.java:457)
        at org.apache.metron.maas.service.ApplicationMaster.main(ApplicationMaster.java:312)

This is due to us packaging up yarn libraries with the maas service app rather than picking them up from Yarn.
You can test this by executing the example detailed here.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && build_utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

I'm +1 (non-binding)
Fired up a full dev and was able to test that maas_service.sh starts up fine. No errors seen in the YARN application logs.
A few observations though:
a) I am not sure if its my setup, but the maas uber jar, maas_deploy and maas_service scripts were missing from $METRON_HOME/bin folder on my quick dev. I had to SCP metron-maas-service-0.4.1-archive.tar.gz and untar to get these binaries. Is this expected?
b) The maas_service.sh script can only be started as hdfs user. Please let me know if this needs to be updated in the README, and I can add this.

@anandsubbu I normally run maas_service.sh as root on full-dev and we tested it run as metron earlier.  Are you seeing errors around running as non-hdfs?

+1 by inspection. Thank you for the contribution @cestella


BUG: $ionicHistory.removeBackView()

from the history.js
this line:
self.clearCache([backView.viewId]);
viewId should be change to stateId
like this:
self.clearCache([backView.stateId]);

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


Cmake's Python path breaks after using west build --pristine

I have two python 3 installations, but cmake fails to find the correct one after using --pristine build option
To Reproduce
Steps to reproduce the behavior:

After correctly building a hello world example i used --pristine option to build another example
 west build -b sam4e_xpro samples/subsys/usb/cdc_acm --pristine
which caused the following error:

(base) C:\Users\Axel\zephyrproject\zephyr>west -v build -b sam4e_xpro samples/subsys/usb/cdc_acm --pristine
ZEPHYR_BASE=C:\Users\Axel\zephyrproject\zephyr (origin: configfile)
-- west build: generating a build system
cmake version 3.20.1 is OK; minimum version is 3.13.1
Running CMake: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=c:\users\axel\.platformio\penv\scripts\python.exe' '-BC:\Users\Axel\zephyrproject\zephyr\build' '-SC:\Users\Axel\zephyrproject\zephyr\samples\subsys\usb\cdc_acm' -GNinja -DBOARD=sam4e_xpro
Including boilerplate (Zephyr base): C:/Users/Axel/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/Users/Axel/zephyrproject/zephyr/samples/subsys/usb/cdc_acm
-- Zephyr version: 2.5.99 (C:/Users/Axel/zephyrproject/zephyr)
-- Found Python3: C:/ProgramData/Anaconda3/python.exe (found suitable exact version "3.7.1") found components: Interpreter
CMake Error at C:/Users/Axel/zephyrproject/zephyr/cmake/west.cmake:48 (message):
  Unable to import west.version from 'C:/ProgramData/Anaconda3/python.exe':

  Traceback (most recent call last):

    File "<string>", line 1, in <module>

  ModuleNotFoundError: No module named 'west'

  Please install with:

      C:/ProgramData/Anaconda3/python.exe -m pip install west

  Or verify these installations:

    The Python version used by west is:  c:\users\axel\.platformio\penv\scripts\python.exe (real path C:/Users/Axel/.platformio/penv/Scripts/python.exe)
    The Python version used by CMake is: C:/ProgramData/Anaconda3/python.exe
Call Stack (most recent call first):
  C:/Users/Axel/zephyrproject/zephyr/cmake/app/boilerplate.cmake:157 (include)
  C:/Users/Axel/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  C:/Users/Axel/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=c:\users\axel\.platformio\penv\scripts\python.exe' '-BC:\Users\Axel\zephyrproject\zephyr\build' '-SC:\Users\Axel\zephyrproject\zephyr\samples\subsys\usb\cdc_acm' -GNinja -DBOARD=sam4e_xpro

Expected behavior
Cmake should pick c:\users\axel.platformio\penv\scripts\python.exe as indicated instead  it auto selects C:/ProgramData/Anaconda3/python.exe
I made it work by changing manually the cmakecache: PYTHON_PREFER_EXECUTABLE:FILEPATH=c:\users\axel\.platformio\penv\scripts\python.exe  after the error is throw, but I have to do it for every new build
Environment (please complete the following information):

OS: Windows
Toolchain (gnuarm?)

Thanks for the verbose logs, @chepo92 !

-- Found Python3: C:/ProgramData/Anaconda3/python.exe (found suitable exact version "3.7.1") found components: Interpreter

@tejlmand that part looks weird, since earlier it says:

Running CMake: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=c:\users\axel.platformio\penv\scripts\python.exe' '-BC:\Users\Axel\zephyrproject\zephyr\build' '-SC:\Users\Axel\zephyrproject\zephyr\samples\subsys\usb\cdc_acm' -GNinja -DBOARD=sam4e_xpro

Seems like there's a bug in the code that should be using WEST_PYTHON for everything  if it is set, no?

Yeah, I was searching for similar issues and there is a findpython script in python.cmake that i think is producing this behaviour, https://github.com/zephyrproject-rtos/zephyr/blob/master/cmake/python.cmake

I'm also surprised you're not hitting https://github.com/zephyrproject-rtos/zephyr/blob/e1a6820e4c470ad5693eef469a0f4b61f868d8ec/cmake/west.cmake#L48

I'm also surprised you're not hitting

He does:

   CMake Error at C:/Users/Axel/zephyrproject/zephyr/cmake/west.cmake:48 (message):
     Unable to import west.version from 'C:/ProgramData/Anaconda3/python.exe':

Fixed here: https://github.com/zephyrproject-rtos/zephyr/pull/34479


Everything is a warning

Some things are errors while others are just warnings in reality, although normal mlint output does not state which is which. Use the information on this page to work this out.

just use a -m2 switch, or better, provide the switch for user.

just use a -m2 switch

Unfortunately it is not quite that simple. The -m2 switch only output errors, so we need to run mlint twice, with the switch and without, and then look at the diff to find proper warnings. I have a development version where these two things are done in separate BufferedProcesses, but as there's no guarantee which one will finish first the results are sometimes wrong. I'm trying to fix this, but my unfamiliarity with Atom development is impeding progress.

Ok, I know nothing about Coffescript or js, wish I could help. Cheers!
On Sun, Oct 18, 2015 at 12:18 PM James Manton<EMAIL_ADDRESS>wrote:

just use a -m2 switch
Unfortunately it is not quite that simple. The -m2 switch only output
errors, so we need to run mlint twice, with the switch and without, and
then look at the diff to find proper warnings. I have a development version
where these two things are done in separate BufferedProcesses, but as
there's no guarantee which one will finish first the results are sometimes
wrong. I'm trying to fix this, but my unfamiliarity with Atom development
is impeding progress.
—
Reply to this email directly or view it on GitHub
https://github.com/ajdm/linter-matlab/issues/2#issuecomment-149027625.

--
from Google Inbox

@ajdm
How about using the -id switch. This displays a code id along with the mlint message in the following form:
L 11 (C 22-33): DEFNU: The function 'xxx' might be unused.

You could then compare the code (DEFNU) against the list of all possible codes as returned by -allmsg switch (there are over 500 codes):
BDOPT     2   Option <name> is ignored because it is invalid.
BADCH     3   Invalid character(s).
DEFNU     1   The function <name> might be unused.
DFLIPDIM  1   FLIPDIM is not recommended. Use FLIP instead.

The first value is the code id (DEFNU), next is the severity of the message (1). Any value >= 2 is considered an error. 0 and 1 are considered warnings only (these actually match the -m0, -m1, and -m2 switches explained in that article).
You could specify both switches in the same command: mlint file.m -allmsg -id.
Even better I would run -allmsg by itself once, then parse and cache its output in a lookup table. You could then efficiently retrieve severity of each -id message code and mark it either as warning or error.

Thanks @amroamroamro, that looks really useful! I'll try implementing that soon, when I get the chance.

Regarding this issue, there's a new solution: the use of the -severity flag of mlint, as reported in this.
The problem is that this only applies to MATLAB versions greater than R2016a , since the flag was introduced in R2016b.
I could try to propose a PR, if @jdmanton agrees. Otherwise I could try to write down @amroamroamro idea, but it will take longer.


teamsfx cli isn't downloading the latest versions

I hope I'm going mad because if not, this is terribly disappointing.
At the command line, the following command:
teamsfx new template graph-connector-app
downloads a repository that is not the latest as per this repository.
The only file I've looked at is README.md but the version downloaded by teamsfx does not include the note about single-tenant provisioning at line 7 that was committed 3 weeks ago. I'm not going to go back and figure out which version it is downloading, assuming it even pulls from this repo.
This is maddening! All this time I've been trying to get stuff working and the tool isn't pulling the latest versions?! Tell me I'm wrong, please. I really want to be wrong.

@johnnydecimal CLI will download from the latest tag (https://github.com/OfficeDev/TeamsFx-Samples/tree/v2.3.0) not from the dev branch.
But the changes you mentioned are included in latest tag. So closing this issue.
Feel free to reopen or create a new issue if you still have problems.


Add comment field to the response of AssessmentsController.show

Fixes #192

Pull Request Test Coverage Report for Build 1363

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.84%

Totals

Change from base Build 1359:
0.0%

Covered Lines:
623

Relevant Lines:
624

💛  - Coveralls


Update SubmissionSuccess.jsx

Slight change to verbiage to emphasize first that the sheet will show up in the site once approved, and the point data will occur...sometime afterwards.

closes #184


emptyMessage has wrong rule

https://github.com/swimlane/ngx-datatable/blob/b02b20e244c402bb29603bddfde707ac7a453939/src/components/body/body.component.ts#L82
based on statement above - emptyMessage won't be shown in case if loadingIndicator option enabled. It should rather not be shown in case if loading still in progress. Otherwise, if I want to have  loading indicator enabled and if there will be no data in table after loading finish - message won't be shown

having same issue any fix?

same here


Create gem

@enlarsen This issue is for you. @ronaldtse Erik is not a member of the organisation, so it's not clear to me whether he's receiving this notification.
Currently the Metanorma suite of gems converts Asciidoctor input into an intermediate Metanorma XML, capturing the semantic content of standards documents, and converts that Metanorma XML into HTML and Word HTML (Doc). The base gem doing the latter conversion is isodoc, and each of the metanorma-* gems customises the isodoc mapping to match the requirements of specific standards. They also make extensive use of HTML CSS stylesheets and Word HTML CSS stylesheets.
https://github.com/riboseinc/metanorma-iso/blob/master/docs/customisation.adoc is as much of a walkthrough of the metanorma gem structure as there is. For the isodoc gem in particular, the current outputs, HTML and Word HTML, are so closely related that they have been formulated as two classes inheriting from a common Convert class.
The task is to generate DOCX output from Metanorma XML. If successful, this will be a third class in the isodoc gem, alongside the HtmlConvert and WordConvert gems, and it will be customised downstream by metanorma-* gems.
I am the maintainer of the metnorma gem stack. I have resisted doing this work myself, for reasons outlined in https://github.com/riboseinc/html2doc/wiki/Why-not-docx%3F. That document also outlines the formatting requirements imposed by the Metanorma stack, and they are prodigious, as the sample documents Ronald will have sent you illustrate. And, as documented there, those documents also appear to defeat the DOCX MHT approach, which only appears to understands HTML 5 in its online version, and does not understand the Word HTML customisations critical to our stack, such as mathematical formatting or headers and footers.
If you know how to introduce that functionality into MHT, that would be a far preferable outcome to coding DOCX from scratch, since it would permit us to stick with an HTML core, and would be far more maintainable. I'm also concerned that if DOCX does not allow us to use the equivalent of external stylesheets, and all styling has to be coded, maintaining the daughter gems is going to be very fragile.
In the first instance, become familiar with the Metanorma XML format (https://github.com/riboseinc/metanorma-model-standoc; @ronaldtse can give you a writeup we have done of what's in it), and the structure of the isodoc gem. Based on that, evaluate how feasible a DOCX (or DOCX HTML) equivalent to isodoc would be, and what the timeframe would be for creating it. Maintainability will also be a concern to evaluate.

See https://github.com/trade-informatics/caracal
My reservation with any SDK approach is, if it doesn't cover the full spec (and NOONE wants to cover the 7500 pp of the full spec), then extending the SDK to cover missing features is going to be a lot of work (they reverse-engineer OOXML, just as I reverse-engineer Word HTML). I note they don't discuss footnotes in their Readme, for example, which suggests they haven't implemented them yet.


Update auto-update: renovate to v37.421.5 (minor)

This PR contains the following updates:

Package
Update
Change

ghcr.io/renovatebot/renovate (source)
minor
37.420.1 -> 37.421.5

renovate (source)
minor
37.420.1 -> 37.421.5

[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Release Notes

renovatebot/renovate (ghcr.io/renovatebot/renovate)
v37.421.5
Compare Source
Bug Fixes

sbt-plugin: add new default registry URL (#29648) (0208d76)

Miscellaneous Chores

add more label-actions for bugs (#29931) (c5eee75)
deps: update containerbase/internal-tools action to v3.3.2 (#29957) (bd269be)
deps: update ghcr.io/containerbase/devcontainer docker tag to v10.12.1 (#29958) (4f38e35)

v37.421.4
Compare Source
Bug Fixes

pypi: add .tgz extension (#29956) (6d30cc9)

v37.421.3
Compare Source
Documentation

update references to renovate/renovate to v37.421.2 (#29954) (6ba2068)

Build System

deps: update aws-sdk-js-v3 monorepo to v3.606.0 (#29953) (72caed7)

v37.421.2
Compare Source
Bug Fixes

example: use dryRun full (#29947) (30ef9ec)

v37.421.1
Compare Source
Bug Fixes

deps: update ghcr.io/renovatebot/base-image docker tag to v2.23.1 (#29945) (d8bf55f)

Code Refactoring

git: prepare support for commit signing with other key formats (#29875) (84ca13a)

v37.421.0
Compare Source
Features

add variable to skip getting labels from docker hub (#29624) (5092366)
datasource/custom: allow isStable in output (#29928) (f921c68)
deps: update ghcr.io/renovatebot/base-image docker tag to v2.23.0 (#29910) (c314022)
hostRules/matchHost: massage and validate  (#29487) (b8b7607)

Bug Fixes

deps: update ghcr.io/containerbase/sidecar docker tag to v10.12.0 (#29908) (6046904)
deps: update ghcr.io/renovatebot/base-image docker tag to v2.22.4 (#29905) (c925350)
Revert "chore(deps): update dependency conventional-changelog-conventionalcommits to v8" (#29936) (8d72518)
Skip unexpected version downgrades (#29921) (1a06b1a)
template: allow prBodyDefinitions in templates (#29893) (9305923)

Miscellaneous Chores

deps: update containerbase/internal-tools action to v3.1.0 (#29888) (2776f1a)
deps: update containerbase/internal-tools action to v3.1.5 (#29896) (d5580d5)
deps: update containerbase/internal-tools action to v3.2.1 (#29900) (97af8df)
deps: update containerbase/internal-tools action to v3.3.0 (#29917) (522ce15)
deps: update dependency conventional-changelog-conventionalcommits to v8 (#29889) (df66b71)
deps: update dependency graphql to v16.9.0 (#29925) (077d87d)
deps: update dependency nyc to v17 (#29890) (1993f4a)
deps: update ghcr.io/containerbase/devcontainer docker tag to v10.12.0 (#29907) (4f39605)
deps: update github/codeql-action action to v3.25.11 (#29926) (a6807d0)
deps: update pnpm/action-setup action to v4 (#29891) (5169215)
improve redis logging (#29883) (966e7a0)

Code Refactoring

sort sub-headings of options (#29798) (a416f77)

Build System

deps: update dependency @yarnpkg/core to v4.1.1 (#29912) (4705dfc)
deps: update opentelemetry-js monorepo (#29895) (ab79b36)

renovatebot/helm-charts (renovate)
v37.421.5
Compare Source
Universal dependency update tool that fits into your workflows.
What's Changed

fix: update references to ghcr.io/renovatebot/renovate to v37.421.5 by @renovate in https://github.com/renovatebot/helm-charts/pull/1513
chore(deps): update ghcr.io/containerbase/devcontainer docker tag to v10.13.0 by @renovate in https://github.com/renovatebot/helm-charts/pull/1514

Full Changelog: https://github.com/renovatebot/helm-charts/compare/renovate-37.421.4...renovate-37.421.5
v37.421.4
Compare Source
Universal dependency update tool that fits into your workflows.
What's Changed

chore(deps): update ghcr.io/containerbase/devcontainer docker tag to v10.12.1 by @renovate in https://github.com/renovatebot/helm-charts/pull/1511
fix: update references to ghcr.io/renovatebot/renovate to v37.421.4 by @renovate in https://github.com/renovatebot/helm-charts/pull/1512

Full Changelog: https://github.com/renovatebot/helm-charts/compare/renovate-37.421.3...renovate-37.421.4
v37.421.3
Compare Source
Universal dependency update tool that fits into your workflows.
What's Changed

fix: update references to ghcr.io/renovatebot/renovate to v37.421.3 by @renovate in https://github.com/renovatebot/helm-charts/pull/1510

Full Changelog: https://github.com/renovatebot/helm-charts/compare/renovate-37.421.2...renovate-37.421.3
v37.421.2
Compare Source
Universal dependency update tool that fits into your workflows.
What's Changed

fix: update references to ghcr.io/renovatebot/renovate to v37.421.2 by @renovate in https://github.com/renovatebot/helm-charts/pull/1509

Full Changelog: https://github.com/renovatebot/helm-charts/compare/renovate-37.421.1...renovate-37.421.2
v37.421.1
Compare Source
Universal dependency update tool that fits into your workflows.
What's Changed

fix: update references to ghcr.io/renovatebot/renovate to v37.421.1 by @renovate in https://github.com/renovatebot/helm-charts/pull/1508

Full Changelog: https://github.com/renovatebot/helm-charts/compare/renovate-37.421.0...renovate-37.421.1
v37.421.0
Compare Source
Universal dependency update tool that fits into your workflows.
What's Changed

chore(deps): update ghcr.io/containerbase/devcontainer docker tag to v10.12.0 by @renovate in https://github.com/renovatebot/helm-charts/pull/1506
fix: update references to ghcr.io/renovatebot/renovate to v37.421.0 by @renovate in https://github.com/renovatebot/helm-charts/pull/1507

Full Changelog: https://github.com/renovatebot/helm-charts/compare/renovate-37.420.1...renovate-37.421.0

Configuration
📅 Schedule: Branch creation - "after 08:30 and before 15:30 every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: undefined
Command failed: install-tool helm v3.14.4
/bin/sh: install-tool: command not found


Pulumi Provider

Implement a pulumi provider as alternative to terraform

[ ] Evaluate if a direct provider makes more sense than wrapping the terraform code
[ ] Implement provider

Acceptance criteria

[ ] ZITADEL Resources are manageable with a (public) pulumi provider

We have a pulumi provider now


Raise GasMinMoles

About the PR
Raises GasMinMoles, the minimum quantity of gas in moles considered to be non-zero, from 0.00000005f to 0.001f.
Why / Balance
The old number is 50 parts-per-billion (ppb), which while is detectable in some contexts IRL, basically doesn't matter in Space Station 14 and results in situations like this where a tiny trace amount of gas stays in the gas analyzer forever:

This change brings the zero-threshold to 0.001f, which is already 10× less than 0.01f, the YAML-hardcoded minimum threshold for most reactions to take place.
Technical details
GasMinMoles is used by the atmosphere system in 3 places:

LINDA to decide when to stop moving gases
By the gas analyzer to decide when a gas mixture is effectively zero
By GasMixture to determine when to zero out that value in gases removed

This change would (marginally) speed up LINDA by ignoring gases that don't matter and also spam the gas analyzer less with gases that basically don't matter.
I double checked that removing small amounts of gas doesn't affect typical tritium setups after this change:

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Investigating (continued) test failure.

This will make it impossible to work with high temperature gases as even 0.001 mols can be thousands of KPA at temperature in the millions. If the concerns you are trying to "fix" are purely UI related, change the UI instead of making gases magically disappear.

I don't think this is a problem. As you know, temperature a measurement of the average velocity of gas molecules. If you have very few gas molecules to begin with, while they may be moving very fast collectively they have very little energy. Standing in a room with 0.000001 moles of gas at 1 million K shouldn't kill you (but will in the current code) because there's only 1 Joule of energy.

If the concerns you are trying to "fix" are purely UI related, change the UI instead of making gases magically disappear.

this is not a ui issue it literally ignores temperature increases from heater
i dont know what you are referring to with gases disappearing

This will make it impossible to work with high temperature gases as even 0.001 mols can be thousands of KPA at temperature in the millions. If the concerns you are trying to "fix" are purely UI related, change the UI instead of making gases magically disappear.

first, gases of temperatures above 140kK are only reachable using specialised setups (i've managed to reach 1.2GK at most so far, though), and second, you'd generally only obtain 0.001mol or less of gas at those temperatures if you're feeding said overheated gas into the TEG a little amount at a time
otherwise, i would support using separate GasMinMoles values for pipe networks and tile atmospheres, so pipes can still have tiny amounts of gas while tiles will be considered empty earlier

this should just be ui change for gas analyzer

this should just be ui change for gas analyzer

gas analyzer uses this exact constant pro

then why not merge if its just a ui thing


Detect when local IP change

Hello everyone,
Is there any way to detect that the local IP Address has changed?
Let's suppose that machine's IP is  <IP_ADDRESS> and somehow the machine receives another IP and now has <IP_ADDRESS>  from DHCP. Is there any listener which 'listens' that kind of changes?
-I have set up ONLY a dhcp client (from DHCP module) -and not a dhcp server from the module - and I receive IPs from default DCHP(router's).
Is there any way to achieve that??
Thanks in advance

You can sniff the DHCP messages and compare the assigned ip address
var dhcp = require('../lib/dhcp.js');

var s = dhcp.createBroadcastHandler();

s.on('message', function (data) {
// compare ip address for mac...
});

s.listen();```


Possible bug in regex implementation resulting in too much time to process

Hi there,
I have this regex /^[ ]*?\b[A-Za-z_][0-9A-Za-z_\?]*?\s*?\(\s*?([^\)])*?\)\s*?\=([^\;]*?\;$)/
I tried this regex too /^\s*?\b[A-Za-z_][0-9A-Za-z_\?]*?\s*?\(\s*?([^\)])*?\)\s*?\=([^\;]*?\;$)/
This regex is supposed to match patterns such

func(x) = x * x;
func(x) = x                        *                     x;
 (insert some spaces/identation)    func(x) = x * x;

First two pattern matches fine but with 3rd type of pattern/procedure definition, it's taking too much time.
I checked this pattern in dev tools, it works there fine with matching, but while using in highlight.js, I seems to spin CPU high and take too much time.
I have some working demo here for the same syntax https://igauravsehrawat.github.io/highlight.js/tools/developer.html
My code for syntax definition is here: https://github.com/igauravsehrawat/highlight.js/blob/gh-pages/src/languages/custom-lang.js
Looking forward for inputs.
Thanks

Hi! I'm slowly working through my bug mail queue :-)
Your pattern is more complicated than it needs to be, this one should work:
/^\s*[A-Za-z_][A-Za-z0-9]*\s*\((.*?)\)\s*=(.*?);$/

Also, I'm going to close the issue, as it doesn't assume any actions on the core team's part.

Ok.
Thanks.


Fix 1543 report end date

Fixes #1543
Changes proposed in this pull request:

adds functionality for reporting modules to automatically select an end date if one was not chosen. It will default to the current date based on the user's system.
updates relevant tests

This autofill functionality is consistent with the Inventory Valuation and Inventory by Location Reports where the single date is auto filled to the current date based on the user's system if one was not provided.
cc @HospitalRun/core-maintainers

I think I completely hosed the git history on this PR.. I'm going to close it and open a different one


UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED <IP_ADDRESS>:8086

I am getting this error when I run SquadJS via node index.js
(node:24761) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED <IP_ADDRESS>:8086
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
(node:24761) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 19)

index.js

import Server from 'squad-server';

import {
  discordTeamkill
} from 'plugins';

async function main() {
  const server = new Server({
    id: 0,

    host: 'xxx',
    rconPort: 21114,
    rconPassword: 'xxx',
    logDir: '/home/squadserver/serverfiles/SquadGame/Saved/Logs/'
  });

  // discord logging
  await discordTeamkill(
  server,
  '695055571639861268',
    { // options
      color: 15844367 // color of embed
    }
  );

  await server.watch();
}

main();

For host I had to put in my actual IP address. The localhost address doesn't work, says connection refused.
Discord login token is configured in core/config.js, and the bot shows as online on my Discord server.
This is on Ubuntu 18.04.
Running latest node as of yesterday.

I see 8086 is the port for InfluxDB, but I don't have that set up in my index.js as you can see above.
Also, since I never actually stated my issue, teamkills aren't being logged to the provided Discord channel.

As a temporary workaround for the InfluxDB Issue
Open plugins/index.js and comment out influxdbLog

Must be some other issue, still not seeing teamkills in Discord.

Thank you for highlighting the InfluxDB connection error... someone messaged it to me previously but I forgot about it. That has now been fixed, so you should pull these changes if you're not using the InfluxDB plugin to prevent that error from occurring.
If teamkills notifications are not working, can you please check the following:

Teamkill logging is enabled in the Squad server Engine.ini file.
Teamkills are being logged in your SquadGame.log file by searching for TeamKill.
You have the latest SquadJS version installed. Linux support, which fixed teamkill logging not working on the OS amongst other things, only just got released the other day.

Yeah teamkills aren't being logged for some reason even though I have enabled it in Engine.ini. I'll see if I can figure out why (and yes I've restarted the server).
I'd say the issue at hand here is resolved though, I no longer get the influxdb error with the latest SquadJS code.


Reconsider hex encoding implementation

Hex encoding implementation is now deeply self-invented, which is of no necessity. Moving implementation to crypto3.codec (https://github.com/nilfoundation/codec) would be fine.

Done witn 382c28c


Created and modififed Markdown version of README.TXT

Love the project and just wanted to help out a bit. I created a Markdown version of the README, which tends to display a little better, and rearranged some of the content to flow a little better, I believe without changing any meaning.
Hope this helps, you guys rock! :+1:
SR

@brenosilva @sroberts , I'm new to this project and I want to learn it. But the first thing I encountered is that the format of the README hurts my eyes :(
I had a read about this thread. It has been 5 years and we are still at GitHub. Moreover, Markdown is a neutral and defacto dominating standard for open-source intro pages. It is not only useful in GitHub but also other places. Even if one day we leave GitHub, we still can utilize the Markdown documents. So I think we should delete TXTs and use Markdown instead. What do you think?

@hsluoyz we are already using a Markdown with the README in the newest version of ModSecurity, libModSecurity (aka v3.0):
https://github.com/SpiderLabs/ModSecurity/blob/v3/master/README.md

Hi @victorhora , my team still believes that ModSecurity 3.0 is not mature enough, there are still many bugs and the performance cannot reach 2.x for now. Moreover, ModSecurity 3.0 is not available on Windows but I'm a Windows user :(
So I think it's still meaningful to port 2.x's README to Markdown. What do you think?


MsalGuard support for app roles

Core Library
MSAL.js v2 (@azure/msal-browser)
Wrapper Library
MSAL Angular (@azure/msal-angular)
Public or Confidential Client?
Public
Description
It will be nice if MsalGuard also could check required app roles for route. App roles could be specified in data. E.g. an roles array, only one role is required to gain access.
data: {       roles: ['Editor', 'Admin'],  },  canActivate: [MsalGuard],
Source
External (Customer)

@jesben at the moment, you could copy MsalGuard and extend for your scenario as in example here. @lalimasharda this seems related to #3406


Mapping DEM: Confirm Vertical Units

When creating the Mapping DEM: after clipping the raw NED 1/3-arcsecond DEM (vert units Meters) and then converting that into a RAS Terrain via the RasProcess.exe CreateTerrain call (with desired output vert units specified as "Feet" in the call), we need to confirm, for each XS, that the final vertical units agree with what was used to build the XS profiles when the model was created.

@ar-siddiqui I believe there are ongoing efforts to add functionality that would do a "sanity check" of the DEM file that RasProcess.exe generates, against the elevations that are already embedded in the model's geometry file.  @mdeshotel please confirm.