Add original code to generate drought timeline chart

This PR adds in all of the code from what-is-drought that created the original national drought timeline chart. Note that this code has already been reviewed here. The purpose of this PR is to simply shift the code to a separate repo.
I tested the full build using both a 2-year and a 5-year period for creating the event swarm, and it all ran fine.
Since the code has been reviewed, I think all that's needed is a test that the pipeline and website builds fine for  you.
As written, the pipeline builds the chart for 60 years, and the full build would take over an hour. For testing, I recommend doing the following:
Update the target recipe for p2_site_swarm to only span a 2-year period:
  tar_target(p2_site_swarm,
             create_event_swarm(event_data = p2_site_prop_2,
                                start_period = as.Date('2000-01-01'),
                                end_period = as.Date('2001-12-31'))),

Then, update the recipe for p3_swarm_1980_2020 like so:
  tar_target(
    p3_swarm_1980_2020,
    event_swarm_plot(swarm_data = p2_site_swarm)
  ),

Then run tar_make(p3_swarm_national_png) to build an abbreviated 2-year version of the timeline plot. It built for me in ~ 3.5 minutes.
Then test if the website builds for you - make sure you're using node version 14.17.0 and run npm install before running npm run serve.
Here's what I see when I open the site:

I would suggest adding the package-lock.json to the .gitignore

Note: Althea and I (and Cee) are trying to figure out what the best practice is for this file

Yes, the package-lock.json should be committed to the repo to make the page build fully reproducible


class type inference error

the following code cannot be compiled in 0.1.6.
it complains " wrong number of arguments for 'A.new'".
class A
  def initialize(@a : Int32, @b : Int32)
  end
end

class B < A
  def initialize(@a : Int32)
    super(@a, 1)
  end
end

class C < A
  def initialize(@a : Int32)
    super(@a, 1)
  end
end

class D < A
end

class E
  getter :e

  def initialize(@e : (B.class | C.class))
  end
end

e = E.new B

e.e.new 1 # it compiles ,if you comment this line.

class F < B
end

class G < B
end

class H
  getter :h

  def initialize(@h : (F.class | G.class))
  end
end

h = H.new F
h.h.new 1 # this is correct

`

don't you have to call super() to use the parent constructor ?

It's "funny", B.new 1 work, and the constructors calls seems good (B, A via super with the right arguments)

When you do B.class | C.class the compiler will actually type it as A+:Class, a virtual metaclass. This is described here: http://crystal-lang.org/docs/syntax_and_semantics/virtual_and_abstract_types.html (I think it might only be described for instances, but it also applies for metaclasses). So, the compiler analyzes all potential A.new, B.new and C.new calls with those arguments, but A.new with a single argument doesn't exist.
This might be improved in the future (we'll probably don't do this type merge automatically).
If A is never supposed to be initialized you can mark it as abstact and it will work... mmm... actually, no, there's also D which inherits A and has two arguments.
What are the real classes behind A, B, C, D...? Maybe it can be modelled in another way (or the current way isn't right)

Is there an issue for A|B => Ancestor? This is really annoying in many cases actually, I don't really see the benefit, but many hassles.

The automatic merge behaviour was mainly to avoid having several "similar" unions. For example the compiler has a huge ASTNode hierarchy. If we didn't do this we'd have Var | Call, Var | Splat, Call | Splat, etc., instead of just ASTNode+ in many places.
This was specially true before 0.16.0:
class Splat
  def initialize(@exp)
  end
end

Splat.new(Call.new) # @exp is now Call
Splat.new(Var.new) # @exp is now Call | Var
Splat.new(NumberLiteral.new(1)) # @exp is now Call | Var | NumberLiteral

Each time the type changes, potentially a lot of code needs to be re-typed. You can imagine this to be very slow.
However, and because now instance variables types must be specified, this becomes:
class Splat
  # @exp is now ASTNode (well, ASTNode+, the compiler does this without you noticing it)
  # and the type can never change
  def initialize(@exp : ASTNode)
  end
end

Splat.new(Call.new) # @exp is still ASTNode+, merging ASTNode+ with Call is ASTNode+
Splat.new(Var.new) # same...

So now that the global type inference changed we can improve this too :-)
I'll probably try to implement it after 0.17.0, right now I'm more focused on method arguments, splats, double splats, etc.

Ah, neat! :-)

What's the status here? Why is this issue open with no tags? Is it a compiler bug? Is it a duplicate of some other issue? Is it a question, if so answered?

We should probably create a separate issue that proposes not merging types under the same hierarchy as a base "virtual" type.

Could you do that please and close here then?

Closed in favor of #2661


update link to weekly meeting

hold up, need to fix the DCO signoff

thanks for the fix, but I think #786 is slightly preferable, so going to land that instead


Allure returns error when JMX is activated for Bamboo

Hello, Team!
First of all, I successfully installed Allure Bamboo plugin and got report for my test project (see below):

Then, I configured JMX for monitoring Bamboo application and selected JMX port 8090. After that Allure stopped working due to the following error:
	at java.lang.Thread.run(Thread.java:748) Caused by: org.buildobjects.process.ExternalProcessFailureException: External process '/bin/bash /opt/allure/allure-2.7.0/bin/binary/bin/allure generate -o /opt/bamboo/temp/1564740678695-1/report /opt/bamboo/temp/1564740678695-0/bba07b02-c926-4d9e-aac1-1d919dae756f' returned 1 after 706ms Error: JMX connector server communication error: service:jmx:rmi://bamboo.server.com:8090 sun.management.AgentConfigurationError: **java.rmi.server.ExportException: Port already in use: 8090**; nested exception is:  	java.net.BindException: Address already in use (Bind failed)
I tried to changed JMX port and got the same issue but for the new port (ex: 8097)
JMX options which I used:
JMX_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8090 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.access.file=/home/bamboo/jmx/jmxremote.access -Dcom.sun.management.jmxremote.password.file=/home/bamboo/jmx/jmxremote.password -Dcom.sun.management.jmxremote.rmi.port=8090"
Please help to understand why Allure needs JMX and help to resolve the problem.
Regards,
Andrey

Hello.
We found the solution https://bowerstudios.com/node/636 of the problem.
Regards,
Andrey


Add ClickHouse Jdbc driver

Any idea why this was closed?

Sure, why not. Clickhouse jdbc driver sends data not in value tuples as any other db driver but in RowBinary format and this makes things a bit more difficult and different. Anyways there were no response and native Clickhouse Kafka-Connect plugin does pretty good job since they've introduced table to topic mapping.


WG: Create GitHub Pages site for TAG Observability

Create a visually engaging  site for the TAG!
https://pages.github.com

@halcyondude I can help on this one. 😅 Although am pretty new to TAG Observability so if you can give me some ideas as to how I should start that will help me to make a PR quickly :)

Hello! Are we allowed to work on this issue?

Hi, I am new to TAG Observability. I attended KubeConfon NA first time last month and am keen to get involved.
I wonder whether there has been any progress on this task. I am happy to contribute.

We have used Hugo and Netlify in K8sGPT -- you can see the site here: https://k8sgpt.ai/
https://gohugo.io/hosting-and-deployment/hosting-on-netlify/
It makes it possible to add blogs and similar in a straightforward way through GitHub.
https://github.com/k8sgpt-ai/website
Instead of using Netlify, the page can also be served through GitHub pages https://gohugo.io/hosting-and-deployment/hosting-on-github/ -- I would generally start with a site template of sorts
I'm wondering, are there other TAGs with a website? Do they need to follow the CNCF brand guidelines https://www.cncf.io/brand-guidelines/

@AnaisUrlichs I was also researching on this subject after reading a thread on Slack #tag-observability and got to the same conclusion that we should use the HUGO framework because it seems like a standard across other TAGs. And answering your question, yes, my researches let me conclude that all of the other TAGs that have a website are using HUGO.
This slack message explains that better, but in short, all of the CNCF websites listed here are making use of HUGO.
Also, a recently launched CNCF Platform Whitepaper is making use of the same framework. Take a look at this CNCF Platform Paper under this app-delivery-tag repo.

Hi, the CNCF can help with this. @halcyondude could you open a service desk ticket?

Some more context, our team has stood up contribute.cncf.io and tag-env-sustainability.cncf.io recently for other TAGs. They use Hugo with a Docsy theme.


Unable to refresh keys automatically without using sentinel

I have problem with receiving updates made in a Configuration Explorer. I don't want to use sentinel keys, I would like my provider to consume updates to all configuration values but the Config Map is not refreshed upon adding and updating configuration settings.
I tried specifying something like this but the error is: spec.configuration.refresh.monitoring: Required value
apiVersion: azconfig.io/v1
kind: AzureAppConfigurationProvider
  name: <REDACTED>
  namespace: demo
spec:
  auth:
    workloadIdentity:
      managedIdentityClientId: <REDACTED>
  configuration:
    refresh:
      enabled: true
      interval: 30s
    selectors:
    - keyFilter: '*'

The documentation says that you can use a key-value to signal the completion of your update. This key-value is known as the sentinel key.  Seems that it's something that you must use in order to consume the updates of all keys, not something you can use. Am I correct?
I expected the functionality to download updates to all configuration keys and their updates as the fundamental functionality of the provider but maybe I'm doing something wrong.

Sentinel key is required for refreshing now, the feature of refreshing by watching all keys is in our roadmap. Although we don't have an ETA of having this feature, it won't take very long I think.

Hi @nosalan , refresh by watching all keys is supported in v2.1.0 , where sentinel keys are not required. You can refer the releaseNotes for more information. Thanks


compressed big decimal - module

Description
Compressed Big Decimal is an extension which provides support for Mutable big decimal value that can be used to accumulate values without losing precision or reallocating memory. This type helps in absolute precision arithmetic on large numbers in applications, where  greater level of accuracy is required, such as financial applications, currency based transactions.  This helps avoid rounding issues where in potentially large amount of money can be lost.
Accumulation requires that the two numbers have the same scale, but does not require that they are  of the same size. If the value being accumulated has a larger underlying array than this value (the result), then the higher order bits are dropped, similar to  what happens when adding a long to an int and storing the result in an int. A compressed big decimal that holds its data with an embedded array.
Compressed big decimal is an absolute number based complex type based on big decimal in Java. This supports all the functionalities supported by Java Big Decimal.     Compressed big decimal is needed to mutate the value in the accumulator.
This is in reference to the Issue https://github.com/apache/druid/issues/10668.

This PR has:

[ x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[x ] added documentation for new or modified features or behaviors.
[ x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[x ] added or updated version, license, or notice information in licenses.yaml
[x ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ x] been tested in a test Druid cluster.

I would like to resurrect this PR.  There currently are some conflicts in the pom and the .spelling file, neither of which are actually material to the content of the PR.  As this is currently a contrib extension and the PR is so old, the path we are going to take is that I am going to resolve the conflicts and merge the PR so that all of the credit for the original files goes to the original author.  We will then start making adjustments post-merge.

Alright, all checks have passed now, so going to merge.


VPL merged tilesets behaviour at higher zoom levels

Currently, in a tileset merged through from_vectortiles_merged, if a certain zoom level does not exist for a specific source, versatiles does not return it. It would be brilliant if there would be some way to configure it to behave like MapLibre does when a maximum zoom level for a source is specified, namely to re-use the highest existing zoom level for zoom levels above this.

If I understand your issue correctly:

Consider a scenario with data source A covering zoom levels 1 to 3 and data source B covering zoom levels 2 to 4.
The expected behavior for from_vectortiles_merged is to provide merged vector tiles for zoom levels 1 through 4.

As far as I can tell, this should already work as described. Could you share a specific scenario where this isn’t the case?


What class to band or other artistic group?

Would a band or other artistic group be just Agent?
Best regards,
Tommi Lehtonen

In my mind, a band is just an organisation.
Large bands like Oslo Philharmonic are registered as and work like an organisation.
Smaller groups that play together will be comparable to the larger ones.
Best regards
Tormod

I agree with Tormod. How about adding a class "ArtisticGroup" as subclass to "Organisation" to the standard? It could represent orchestras, music bands, dance groups, artist collectives, ...

I think class ArtisticGroup would make good distinction from companies and others alike.
best regards,
Tommi

Just a thought: Being ”artistic” is perhaps difficult to define - by definition art can be anything. So any organization could be more or less also artistic by nature. How can we define which groups are artistic and which are not? For example, a broadcasting company or movie production company might consider itself to be artistic. For example the music band Queen or Madonna might consider them to be an artistic group or individual, but they are very much about business and brand management too. Hence, it might not make sense to create a separate subclass for ArtisticGroup but consider artistic as a goal or vision of an organization, such as a music band (organization) or movie production company.
I chose Madonna as one example, because it highlights one challenge: some artistic entities are individuals (e.g. Madonna), so defining a person to be a group is somewhat odd.
So all in all, both individuals and organisations may produce artistic outcomes or define themselves to be artistic. I’m not sure if that however means that we should reserve a class for them.

@kimviljanen makes a good point. Maybe something like "genre" or other definition/type could be added to organisation.

It is already a :objectType only skos:Concept on the class in question, so it is possible to make a list of different organizations expressed as skos concepts.


liveness probe queries causing high database IO usage on airflow 2.5.3

Checks

[X] I have checked for existing issues.
[X] This report is about the User-Community Airflow Helm Chart.

Chart Version
8.7.1
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:38:26Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.17-eks-5e0fdde", GitCommit:"221f136737816ce068aa975f082cd0bf81c7ad5f", GitTreeState:"clean", BuildDate:"2024-01-02T20:35:57Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}

Helm Version
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.6"}

Description
This change to the liveness probes in support of airflow 2.6.0 is causing high usage database on IO when using airflow 2.5.3.
From what I can tell, the part of the query that is causing poor performance is this change:
-                          .query(SchedulerJob) \
+                          .query(Job) \
+                          .filter_by(job_type=SchedulerJobRunner.job_type)

I believe the issue is that the SchedulerJob class in 2.5.3 doesn't set a value for job_type.
The new query doesn't correctly filter by job_type (notice the filter clause is job.job_type = job.job_type):
SELECT job.id, job.dag_id, job.state, job.job_type, job.start_date, job.end_date, job.latest_heartbeat, job.executor_class, job.hostname, job.unixname
FROM job
WHERE job.job_type = job.job_type AND job.hostname = %(hostname_1)s ORDER BY job.latest_heartbeat DESC
 LIMIT %(param_1)s

Old query used in helm chart v8.7.0 and earlier used to filter by job_type:
SELECT job.id, job.dag_id, job.state, job.job_type, job.start_date, job.end_date, job.latest_heartbeat, job.executor_class, job.hostname, job.unixname
FROM job
WHERE job.hostname = %(hostname_1)s AND job.job_type IN (__[POSTCOMPILE_job_type_1]) ORDER BY job.latest_heartbeat DESC
 LIMIT %(param_1)s

While the new query does work, its inefficiency is can cause database IO to be throttled, resulting in liveness probe failures due to query timeouts.
Relevant Logs
Warning  Unhealthy         7m29s (x5 over 10m)    kubelet             Liveness probe failed: The SchedulerJob (id=97704647) for hostname 'airflow-scheduler-8586fc7d9f-br7vb' is not alive

Custom Helm Values
No response

@bitsofdave this was a great find!
It will be resolved by https://github.com/airflow-helm/charts/pull/853, which will be part of the 8.9.0 version of the chart.


⚠ Bofrost.at has degraded performance

In d588f2d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1597 ms

Resolved: Bofrost.at performance has improved in bd4a6cd.


Mica for Everyone asks for .NET Core even tho its installed

[ ] This is not about other apps being displayed weird or etc.
[ ] This is not about rendering issues that caused by a bug in the Windows.
[ ] I've read FAQ.
[ ] I've checked other issues and this is not a duplicate.
Describe the bug
Lauching Mica for Everyone asks to install .NET Core which ive already installed (3.1.32 and 8.0.403) Pressing yes on the promt seems to do nothing
To Reproduce
Open MFA I guess?
Expected behavior
MFA Not launching
Screenshots

Windows Version
Windows 11 Pro 24H2
Additional context

Hey bro did solve it? cuz i run to same problem


⚠ ETF has degraded performance

In 3492ba9, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 5613 ms

Resolved: 한경메인 performance has improved in 9d735ba.


[BUG] SubMenu problem

What happened?
Dear Thomas
I am asking for your help again. While testing SubMenu.ino, I noticed that the submenu text does not appear on the lcd when running SubMenu. This is also the case if I call the submenu from a submenu. I don't know if the problem is known. I couldn't find it on the github pages. The menu item syntax is good. The program editor does not give any errors, there are no translation errors. I looked through the .h files, but I don't know what I'm looking for. I thought it might be a type conflict, but I couldn't find any indication of this, or a version update...? Please deal with the problem.
#include <ItemSubMenu.h>
#include <LcdMenu.h>
Arduino: 1.8.19 (Windows 7), Motherboard: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)", LcdMenu version 3.0.0
Postscript:
I promise I'll close the topic when it's finished :)
Hi
Andrew
Version
3.0.0
What environment are you seeing the problem on?
Arduino
Board type
Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)
Relevant log output
No response

I'll have a look and try to reproduce the issue.

Hello,
I have the same problem, the submenu name is not displayed.
gr
Marc-Andre
Code:
example SubMenu.ino
environment :
Arduino: 1.8.19 (Linux),
Board Typ:
AZ-Delivery ESP-32Development-Boards
ESP-WROOM-32 Prozessor  160MHz Tensilica L108 32 bit Dual-Core CPU
» 512 KB SRAM & 16 MB Flashspeicher
LcdMenu Version 3.0.0

tested with v3.1.1 , nothing changed

Release is still planned

tested with v3.2.0 , it works :+1:
thanks

Thanks, it works for me too 😀✌💯
maansch @.***> ezt írta (időpont: 2023. jún. 18., V
12:47):

tested with v3.2.0 , it works 👍
thanks
—
Reply to this email directly, view it on GitHub
https://github.com/forntoh/LcdMenu/issues/96#issuecomment-1596097460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFWG627DF3BKRY2IBN2FHLXL3MELANCNFSM6AAAAAAZFNHXL4
.
You are receiving this because you authored the thread.Message ID:
@.***>


toml_edit produces invalid TOML

See the reproduction here: https://github.com/messense/toml-edit-repro, cargo run outputs
[dependencies]
polars-error = { version = "0.32.0", path = "../polars-error" }
atoi = { workspace = true, optional = true }

[dependencies.
arrow ]
package = "arrow2"
git = "https://github.com/jorgecarleitao/arrow2"
# git = "https://github.com/ritchie46/arrow2"
rev = "9beabec8cfb5502582d31ab898fdd36e7af0873c"
# path = "../arrow2"
# branch = "duration_json"
version = "0.17.2"
default-features = false
features = [
  "compute_aggregate",
  "compute_arithmetics",
  "compute_boolean",
  "compute_boolean_kleene",
  "compute_cast",
  "compute_comparison",
  "compute_concatenate",
  "compute_filter",
  "compute_if_then_else",
]

the
[dependencies.
arrow ]

part is invalid TOML.
See also:

https://github.com/PyO3/maturin/issues/1732
https://github.com/pola-rs/polars/issues/10366

This is a variant of #267 and I'd be tempted to close in favor of that and likely that is an issue we'll just be living with and not doing anything about.
The problem in this particular case is that we are providing a &mut and the user is overriding it.  We cannot intercept this to change what is happening.
Our best option is to check every value on serialization and rewrite it behind the users back, leading to extra work and user confusion
Depending on where this is being done, a caller could just force-reformat the moved section or the entire toml.

Thanks for the quick reply!
I think I can workaround it by calling doc2_deps.remove("arrow") first, so feel free to close this issue.


fix(extra_packages): avoid package installation under sudo

This PR is included in version 3.1.4 :tada:


test: test timed out after 10m0s even with GO_TEST_TIMEOUT_SCALE=10

With Go tip I'm no longer able to get ./all.bash to pass on a SiFive HiFive Unleashed board (linux/riscv64), even with GO_TEST_TIMEOUT_SCALE=10 exported the ../test now fails consistently with:
...

##### Testing cgo
ok      cmd/cgo/internal/test   3.377s
ok      cmd/cgo/internal/testtls        0.045s
ok      cmd/cgo/internal/testtls        0.021s
ok      cmd/cgo/internal/testnocgo      0.024s
ok      cmd/cgo/internal/testnocgo      0.022s
ok      cmd/cgo/internal/test   4.830s
ok      cmd/cgo/internal/test   3.014s
ok      cmd/cgo/internal/test   3.190s
ok      cmd/cgo/internal/testtls        0.023s
ok      cmd/cgo/internal/testnocgo      0.021s
...
##### ../test
panic: test timed out after 10m0s
running tests:
        Test (10m0s)
        Test/printbig.go (1s)
        Test/recover.go (2s)
        Test/rotate0.go (32s)
        Test/rotate1.go (46s)
goroutine 7219 [running]:
panic({0x16fda0?, 0x3f74b00640?})
        /home/joel/src/go/src/runtime/panic.go:1017 +0x3a0 fp=0x3f7412ef10 sp=0x3f7412ee60 pc=0x47170
testing.(*M).startAlarm.func1()
        /home/joel/src/go/src/testing/testing.go:2259 +0x304 fp=0x3f7412efd8 sp=0x3f7412ef10 pc=0xed65c
runtime.goexit()
        /home/joel/src/go/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f7412efd8 sp=0x3f7412efd8 pc=0x7b004
created by time.goFunc
        /home/joel/src/go/src/time/sleep.go:176 +0x50
...
[another 2000 lines of goroutine traces]

Contrary to this, an ./all.bash run with Go 1.21.6 passes successfully.
I'm not currently sure if GO_TEST_TIMEOUT_SCALE is no longer being correctly honoured, or if the tests being run have now tipped over some threshold. Either way, not being able to run ./all.bash to completion is not an ideal situation...

Looks like the same issue occurs on openbsd/arm, which means its not platform specific.
I'm slowly bisecting, however my current guess is it relates to commit 7a0799b2c0bdfaf745dbd8c74a3db2f3d238fd1b.

I'm not currently sure if GO_TEST_TIMEOUT_SCALE is no longer being correctly honoured

The fact that the test timed out after 10m0s suggests that it is not.
It looks like the goTest registration for ../test is not setting the timeout field:
https://cs.opensource.google/go/go/+/refs/heads/master:src/cmd/dist/test.go;l=822-828;drc=5fe3f0a265c90a9c0346403742c6cafeb154503b
If it is not set, the -timeout flag is not passed to go test at all:
https://cs.opensource.google/go/go/+/refs/heads/master:src/cmd/dist/test.go;l=405-408;drc=5fe3f0a265c90a9c0346403742c6cafeb154503b
And the default timeout for go test is 10 minutes, which matches the timeout observed in your test log.
Probably we should treat a missing opts.timeout as 10 minutes instead of “omit flag”. 🤔
(CC @aclements @dmitshur)

Thanks for reporting, I'll look.


Rancher 2 - API certs failed to find cert that matched private key - when using wildcard certificate

Rancher versions:
rancher/server or rancher/rancher:2.0.6
Steps to Reproduce:
I have a wildcard certificate and the  key/cert combination does not load with error API certs failed to find cert that matched private key.
I can load the same cert/key files in Rancher 1.6 and was able to load it in Rancher 2.0.3
I couldn't find more details in logs.
I am able to load a certificate / key created by the same openssl configuration, but for a single domain, not a wildcard.

Please provide information on what certificate headers (first line in the file) are used, and possibly what CA so we can try to reproduce.

This is an internal CA, with openssl. The internal CA has a Root CA and an Intermediate CA. The wildcard cert is signed by the Intermediate CA.
Private key for wildcard cert
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA0o+vrIV/Znm/2nZvtBiGkbekD+gZ86d6ZqPLIjnP9zx4RYC7

Wildcard certificate
-----BEGIN CERTIFICATE-----
MIIGtjCCBJ6gAwIBAgICEEMwDQYJKoZIhvcNAQELBQAwgbkxCzAJBgNVBAYTAlVT

Intermediate CA cert
-----BEGIN CERTIFICATE-----
MIIGUjCCBDqgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgbUxCzAJBgNVBAYTAlVT

Root CA cert
-----BEGIN CERTIFICATE-----
MIIGUjCCBDqgAwIBAgIJAOEPiXeyY0upMA0GCSqGSIb3DQEBCwUAMIG1MQswCQYD

Just tested created a wildcard certificate with and without intermediate, both got accepted. Can you share how the certificates are created and what exactly you are putting into both fields? (And I don't mean the content, just what certificate(s) you are putting in what order and where.)
Only way I could trigger the error was when using the key file and only the intermediate cert as Certificate (without the actual certificate before).

It is strange and I might have been doing something wrong. The same cert and key worked perfectly fine today on Rancher 1.6. I remember loading it in an earlier test cluster on 2.0.3 or so.
So in the 1st field, private key, I load the RSA private key. The key was created with:
openssl genrsa -out file.key 2048

In the certificate field, I put in the signed certificate, then the intermediate and finally the root ca cert. I tried also with only the domain cert without the chain.
The CSR was generated with:
openssl req -config intermediate.conf -key file.key -new -sha256 -out file.csr -subj "/C=US/ST=Florida/.../CN=*.example.com"

Then signed the certificate:
openssl ca -config < (cat ${CONFIG}<(printf "[alt_names]\nDNS.1=*.example.com\n")) -extensions server_cert -days 365 -notext -md sha256 -in file.csr -out file.crt

The whole "cat ${CONFIG} ..." thing is, as you probably know, to add the "Subject Alternative Name" that is now required by Chrome (CN no longer being sufficient).
If I open the signed certificate, Windows show me:
Issued to: *.example.com
Issued by: Example Intermediate CA
Valid from 5/27/2018 to 4/4/2028

I must be going crazy... I just compared the modulus of the key and certificate and they don't match...

This is embarrassing. The key got messed up. Anyway, it's all fine now that I remade it.
It is worth nothing that Rancher 1.1.2 took it - but that's an old version...

just for information purpose: I ran into the same issue, but changing the line break encoding from Unix (LF) to WIndows (CR LF) helped me out.


Other bundlers support

I want to contribute with support for other bundlers. Right now i am working at a website which uses metro bundler. Which files in the project should i take into consideration for doing this? and would you consider this as something feasible to implement?

Hey, take a look at these files for reference:

It starts by traversing over the AST once, and whichever bundle type is detected first sets options.bundle and stops:
https://github.com/j4k0xb/webcrack/blob/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/packages/webcrack/src/unpack/index.ts#L28-L33
Browserify unpacking is simpler than webpack:
https://github.com/j4k0xb/webcrack/tree/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/packages/webcrack/src/unpack/browserify
Add a new type:
https://github.com/j4k0xb/webcrack/blob/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/packages/webcrack/src/unpack/bundle.ts#L6-L12

and would you consider this as something feasible to implement?

Yeah the bundle format looks pretty straight-forward.
I suggest you look through https://github.com/j4k0xb/webcrack/blob/master/CONTRIBUTING.md first and try debugging to get a better idea on how the existing unpacker works (only reading the code may be a bit confusing).
Then start by creating the boilerplate files and use a { VariableDeclaration(path) { visitor in src/unpack/metro/index.ts to check if var __METRO_GLOBAL_PREFIX__ is present.
Highly recommend using @codemod/matchers to help with finding AST nodes.
The next easiest thing would be extracting the entry module id from __r(0); (could use path.getAllNextSiblings()).
Example bundle:
var __BUNDLE_START_TIME__ = this.nativePerformanceNow ? nativePerformanceNow() : Date.now();
var __DEV__ = false;
var process = this.process || {};
var __METRO_GLOBAL_PREFIX__ = "";
process.env = process.env || {};
process.env.NODE_ENV = process.env.NODE_ENV || "production";
(function (global) {
  // ...
})(typeof globalThis !== "undefined" ? globalThis : typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : this);
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
  "use strict";

  const lib = _$$_REQUIRE(_dependencyMap[0]);
  console.log(lib.foo);
}, 0, [1]);
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
  "use strict";

  exports.foo = "bar";
}, 1, []);
__r(0);

great. ill give it a check!

 I did this notes the other day, and i was expecting to work on the implementation, but i have had little to no time, so in the mean time ill share this with you, so you can give me a sanity check. I tried to map the concepts from a post i red about the webpack require function, and i think it is pretty similar. Basically the same.
MetroRequire.<hash>.js
The runtime is usually called MetroRequire.<hash>.js and it defines these variables:
var __BUNDLE_START_TIME__ = this.nativePerformanceNow
    ? nativePerformanceNow()
    : Date.now(),
  __DEV__ = false,
  process = this.process || {};
process.env = process.env || {};
process.env.NODE_ENV = process.env.NODE_ENV || "production";

It then calls an IIFE, which accepts only one parameter, this parameter is meant to be the global object
(function(e){ ... })(
"undefined" != typeof globalThis
    ? globalThis
    : "undefined" != typeof global
    ? global
    : "undefined" != typeof window
        ? window
        : this,
);

We will now define five fundamentals objects (which ill explain their functionality further on):

The global object. e, is the only parameter received by the IIFE

Modules. A loaded module is defined as an object which is stored in a cache object (the next fundamental object), this cache stores the module as:
{
    dependencyMap: o,
    factory: e,
    hasError: !1,
    importedAll: r,
    importedDefault: r,
    isInitialized: !1,
    publicModule: { exports: {} },
}

In which:

factory is the module accessible as a function that receives a fixed number of parameters
dependecyMap is an array of modulesId that will be provided to module.factory as a parameter to be able to load files (more on this later)
publicModule has an exports property, which after the module's factory function has been called, it'll contain the exported objects of the module

The t object: It is basically a cache for modules that already have been loaded, it' ll store every module as an object mapped by its id as a key that can be accessed trough t[moduleId]. This object is accesible trough window, as it is defined as a global variable.

The function o (this method is defined as (e.__c = o)) is sort of a constructor function for the cache variable t, because it is defined as:

function o() {
    return (t = Object.create(null));
}

It creates an object with null as a prototype, assigns it to a global variable t, and returns t.
After the assignment of o to e.__c, the cache variable is defined calling this function var t = o();

The require function. The __r method is an object, also attached to the global object, which is assigned an i function (e.__r = i),, this function serves as a require function, because it'll load any module, given an id. It works as follows:

This i is defined as:

  function i(e) {
    const r = e,
    n = t[r]; // t is the cache object
    return n && n.isInitialized ? n.publicModule.exports : d(r, n);
}

For this section i will use r, as the module id and n as the module object, both initialy passed to the d(r,n) function in i() (the function above, the definition of the require function). If the module has already been initialized, then it returns its exports, if not, it then calls d(r,n), which does nothing but returning the returned value of a funtion call m(r,n) (and handle errors if any) that receives the exact same parameters as d().
This m funciton is where the interesting stuff happens. It makes some checks on the n module, then it sets its propery n.isInitialized to true, and calls the module, eventually returning its exports. As shown below:
    n.isInitialized = !0;
    const { factory: c, dependencyMap: d } = n;
    try {
    const t = n.publicModule;
    return (
        (t.id = r),
        c(e, i, l, u, t, t.exports, d),
        (n.factory = void 0),
        (n.dependencyMap = void 0),
        t.exports
    );
    } catch (e) { ... }

This is interesting because it calls the factory function (the c function on top), which is the module itself, this function receives 7 parameters making accesible certain objects to the module:

The first parameter e is the global object,
The second parameter, i is the __r function, which is the require function (checks if a module exists in the cache and returns its exports, if is not cached, it calls the module, caches it, and then returns its exports)
the third parameter is a function that receives a module id, and returns its property importedDefault, which for what ive seen is a global variable, initialized an empty object {}, and for what iv've seen, it is not modified in this file.
The fourth parameter, is similar to the third, a function that receives a module id and returns a property importedAll, which for every module, it is initially the same object as importedDefault.
The fifth is the publicModule property of the module ( which is the exports )
The sixth is the publicModule.exports property that is the exports, (is the exports property of the fifth parameter)
The seventh is the dependencyMap property of the module.

The __d method. The __d method loads modules into the cache. Also attached to the global object the method __d is defined as:
(e.__d = function (e, n, o) {
    if (null != t[n]) return;
    const i = {
        dependencyMap: o,
        factory: e,
        hasError: !1,
        importedAll: r,
        importedDefault: r,
        isInitialized: !1,
        publicModule: { exports: {} },
    };
    t[n] = i;
}),

It receives three parameters, the first is the module source code, the second is the module Id, and the third is the require object, called dependencyMap. As an example of a call to this method is:

__d(
    function (g, r, i, a, m, e, d) {
        "use strict";
        const t = r(d[0]).default || r(d[0]);
        let c;
        m.exports = () => c || ((c = t("locale")), c || "en");
    },
    "44cd5c",
    ["b2dff4"],
);

In the __d method definition, we observe that it checks in t (cache) if the module id (second paramter) is an existing key, if it is, it returns (because is loaded already), if not, it assigns the object i into t[n] (where n is the module id), where i represents the loaded module in t.

asyncRequire.\<hash\>.js

The asyncRequire file, is apparently what loads lazy loaded files. Modules that call lazy loaded files, call this module as r(d[4])(d[3]) where 4 is the mapping inside the calling module of the id of the module of asyncRequire. So the function r(d[4]) is loading asyncRequire, and then it receives the parameter d[3] which points to the id of the lazy loaded file. In this file there is a function passed as a parameter to __d, in where a function T is defined, this function is then assigned to a method of the exports object ( the one returned by __r),called setData, this method it is called at the end of the file __r("057569").setData( .. ) and what it seems to do is:

Recieves three parameters, the first is a url to a CDN package repo, then the second is an array of js bundle names, and the third is an object that seems to map a sort of  bundle id,  to an array of indexes that point to an element of the second argument (that is, they point to a name of a js bundle file). What the function do, is assign to a global's variable property h[o] a mapped array of arrays, which contains the links of to which every

    function T(t, n, o) {
    Object.entries(o).forEach(([o, s]) => {
        const c = s.map((s) => {
        if (void 0 === n[s])
            throw new ReferenceError(
            `Bad async module data, cannot locate index ${s} in the bundleRequestPaths array for segmentId=${o}`,
            );
        return `${t}${n[s]}`;
        });
        h[o] = c;
    });
    }

So how all of this holds up together?

It all begins by running the IIFE at metroRequire file, which will define the cache t, the require function __r, and the __d method and attaches all of these into the global object. Then there are some bundles that call the __r function directly, this i think are the entrypoints these bundles are:

"routeHandler.hash.js"
"initializer.hash.js":
"coreV2.hash.js": It looks like it manages some different domains for translations to other languages and countries.
"shims_post_modules.hash.js": Doesn't load any module, it seems just to add some scrolling behaviour
"client.hash.js"
(I need to see which one is the entry point, i'd guess all of them are entry points) from there a chain begins by loadind modules which are dependencies of the current module, if this modules are lazy loaded, then theyll call the module (__r("<asyncRequireModuleId>")("<lazyLoadedModuleId>")) defined in async require.

Translations

Other than the special bundles that call __r directly, other bundles call the same moduleId and then run the extends() method over the exports object that __r returns. This are bundles that need translations to another language:

When extends() is called after the __r return value, this is used to make translations, in this bundles, it uses the module id __r("a9f4b1") to load this translations, and all of the modules that need translation in that bundle, loads it.

this is the metroRequire fail. The one that contains the runtime.
var __BUNDLE_START_TIME__ = this.nativePerformanceNow
    ? nativePerformanceNow()
    : Date.now(),
  __DEV__ = false,
  process = this.process || {};
process.env = process.env || {};
process.env.NODE_ENV = process.env.NODE_ENV || "production";
!(function (e) {
  "use strict";
  (e.__r = i),
    (e.__d = function (e, n, o) {
      if (null != t[n]) return;
      const i = {
        dependencyMap: o,
        factory: e,
        hasError: !1,
        importedAll: r,
        importedDefault: r,
        isInitialized: !1,
        publicModule: { exports: {} },
      };
      t[n] = i;
    }),
    (e.__c = o),
    (e.__registerSegment = function (e, r, n) {
      (p[e] = r),
        n &&
          n.forEach((r) => {
            t[r] || h.has(r) || h.set(r, e);
          });
    });
  var t = o();
  const r = {},
    { hasOwnProperty: n } = {};
  function o() {
    return (t = Object.create(null));
  }
  function i(e) {
    const r = e,
      n = t[r];
    return n && n.isInitialized ? n.publicModule.exports : d(r, n);
  }
  function l(e) {
    const n = e;
    if (t[n] && t[n].importedDefault !== r) return t[n].importedDefault;
    const o = i(n),
      l = o && o.__esModule ? o.default : o;
    return (t[n].importedDefault = l);
  }
  function u(e) {
    const o = e;
    if (t[o] && t[o].importedAll !== r) return t[o].importedAll;
    const l = i(o);
    let u;
    if (l && l.__esModule) u = l;
    else {
      if (((u = {}), l)) for (const e in l) n.call(l, e) && (u[e] = l[e]);
      u.default = l;
    }
    return (t[o].importedAll = u);
  }
  (i.importDefault = l), (i.importAll = u);
  let c = !1;
  function d(t, r) {
    if (!c && e.ErrorUtils) {
      let n;
      c = !0;
      try {
        n = m(t, r);
      } catch (t) {
        e.ErrorUtils.reportFatalError(t);
      }
      return (c = !1), n;
    }
    return m(t, r);
  }
  const s = 16,
    a = 65535;
  function f(e) {
    return { segmentId: e >>> s, localId: e & a };
  }
  (i.unpackModuleId = f),
    (i.packModuleId = function (e) {
      return (e.segmentId << s) + e.localId;
    });
  const p = [],
    h = new Map();
  function m(r, n) {
    if (!n && p.length > 0) {
      const e = h.get(r) ?? 0,
        o = p[e];
      null != o && (o(r), (n = t[r]), h.delete(r));
    }
    const o = e.nativeRequire;
    if (!n && o) {
      const { segmentId: e, localId: i } = f(r);
      o(i, e), (n = t[r]);
    }
    if (!n) throw g(r);
    if (n.hasError) throw w(r, n.error);
    n.isInitialized = !0;
    const { factory: c, dependencyMap: d } = n;
    try {
      const t = n.publicModule;
      return (
        (t.id = r),
        c(e, i, l, u, t, t.exports, d),
        (n.factory = void 0),
        (n.dependencyMap = void 0),
        t.exports
      );
    } catch (e) {
      throw (
        ((n.hasError = !0),
        (n.error = e),
        (n.isInitialized = !1),
        (n.publicModule.exports = void 0),
        e)
      );
    }
  }
  function g(e) {
    return Error('Requiring unknown module "' + e + '".');
  }
  function w(e, t) {
    return Error(
      'Requiring module "' + e + '", which threw an exception: ' + t,
    );
  }
})(
  "undefined" != typeof globalThis
    ? globalThis
    : "undefined" != typeof global
      ? global
      : "undefined" != typeof window
        ? window
        : this,
);

seems right so far
for analyzing how the runtime works, its easier to create your own test bundles without minifying or to search in the source code of metro.
also helpful to compare it with other bundles:

runtime
module definitions

supporting multi-file bundles is not gonna be easy but can be added later, so for now it would be enough to focus on the __d(...) calls of a single script.
example:
__d(
    function (g, r, i, a, m, e, d) {
        "use strict";
        const t = r(d[0]).default || r(d[0]);
        let c;
        m.exports = () => c || ((c = t("locale")), c || "en");
    },
    "44cd5c",
    ["b2dff4"],
);

to
"use strict";
const t = require("./b2dff4.js").default || require("./b2dff4.js");
let c;
module.exports = () => c || ((c = t("locale")), c || "en");

the third parameter is a function that receives a module id, and returns its property importedDefault, which for what ive seen is a global variable, initialized an empty object {}, and for what iv've seen, it is not modified in this file.
The fourth parameter, is similar to the third, a function that receives a module id and returns a property importedAll, which for every module, it is initially the same object as importedDefault.

they are used for import v from 'foo' and import * as w from 'bar'; in ESM

Then there are some bundles that call the __r function directly, this i think are the entrypoints

yes.
apparently there can even be multiple top-level __r calls: https://github.com/getsentry/sentry-cli/blob/844cee0d263204b0b2fb75688b58fd83f13b15b9/tests/integration/_fixtures/file-ram-bundle/index.android.bundle


Feature(transloco): Routes localization

Is there an existing issue for this?

[X] I have searched the existing issues

Which Transloco package(s) will this feature affect?
Transloco, Persist Lang
Is your feature request related to a problem? Please describe
I want to add the current Lang to the route of my website like: domain.com/currentLang/blabla.
My idea was now to write a guard like this:
export class LanguageGuard {
  constructor(
    private translocoService: TranslocoService,
    private router: Router
  ) {}

  canActivate(): (
    route: ActivatedRouteSnapshot,
    state: RouterStateSnapshot
  ) => boolean | UrlTree {
    return (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {
      const currentLang = this.translocoService.getActiveLang();
      if (!state.url.startsWith(`/${currentLang}`)) {
        return this.router.parseUrl(`/${currentLang}${state.url}`);
      }
      return true;
    };
  }
}

And have a router like this:
export const appRoutes: Route[] = [
  {
    path: ':lang',
    canActivate: [() => inject(LanguageGuard).canActivate()],
    loadComponent: () =>
      import('./frames/frame-default/frame-default.component').then(
        (m) => m.FrameDefaultComponent
      ),
    children: [
      {
        path: '',
        loadComponent: () =>
          import('./views/view-home/view-home.component').then(
            (m) => m.ViewHomeComponent
          ),
      },
    ],
  },
  { path: '**', redirectTo: '/' },
];

And now i need to add the currentLang somehow to ALL of my routerLinks in my entire App:

{{ 'common.gallery' | transloco }}

Because i dont want to inject in all my 1000 components the currentLang like
currentLang = this.translocoService.getActiveLang();

i thinked about using a global state manager. so i found Elf. Because i use the Persist module for transloco: https://ngneat.github.io/transloco/docs/plugins/persist-lang/ i ask my self now, if it makes maybe sense to ask you, to add Elf support for it? Something like useValue: Elf
Describe the solution you'd like
No response
Describe alternatives you've considered
And... I asked a year or two ago about a module that automatically prefixes the current language to every route. At that time, this request was rejected on the grounds that anyone could program this themselves with a few lines of code. However, I find this to be extremely cumbersome. Therefore, I would like to take this opportunity to ask again if you have changed your mind and would like to implement this feature at some point? To make all the problems mentioned here a thing of the past?

Additional context
No response
I would like to make a pull request for this feature
No

I'm not even sure what solution you are looking for/need TBH.

Because i dont want to inject in all my 1000 components the currentLang like

Why not create a new directive that does that for you? it's even easier now that Angular has HostDirectives
Regarding:

And... I asked a year or two ago about...

I also recall that you commented:

Sry but this is insane.... this makes the whole package useless...

As said many times before, this is an open-source project, if you want this feature you are welcome to open a PR 🙂
You can also try ngx-transloco-router, I'll add him to our 3rd party plugin section.
I'll consider pinning an issue to see if it gets enough attraction then maybe will finally open a PR for this instead of waiting for us.

Maybe it helps someone. I solvede it now in this way:
language.service.ts
import { Injectable } from '@angular/core';
import { Event, NavigationEnd, Router } from '@angular/router';
import { TranslocoService } from '@ngneat/transloco';
import { filter, take } from 'rxjs';

@Injectable({
  providedIn: 'root',
})
export class LanguageService {
  constructor(
    private router: Router,
    private translocoService: TranslocoService
  ) {}

  public init() {
    this.router.events
      .pipe(
        filter(
          (e: NavigationEnd | Event): e is NavigationEnd =>
            e instanceof NavigationEnd
        ),
        take(1)
      )
      .subscribe((evt: NavigationEnd) => {
        if (evt.url === '/') {
          const sessionLang = this.getSessionLanguage();
          const preferredLang = this.getPreferredLanguage();
          const currentLang =
            sessionLang ||
            preferredLang ||
            this.translocoService.getActiveLang();
          this.router.navigate([currentLang]);
        }
      });
  }

  public storeSessionLanguage(lang: string) {
    sessionStorage.setItem('sessionLang', lang);
  }

  public getSessionLanguage(): string | null {
    return sessionStorage.getItem('sessionLang');
  }

  public storePreferredLanguage(lang: string) {
    localStorage.setItem('preferredLang', lang);
  }

  public getPreferredLanguage(): string | null {
    return localStorage.getItem('preferredLang');
  }

  public changeLanguage(lang: string) {
    this.translocoService.setActiveLang(lang);
    this.storePreferredLanguage(lang);
    this.updateUrlLang(lang);
  }

  updateUrlLang(lang: string) {
    const urlSegments = this.router.url.split('/');
    urlSegments[1] = lang;
    const newUrl = urlSegments.join('/');
    this.router.navigateByUrl(newUrl); // ensure the entire URL is considered
  }

  getLocalizedRoute(path: string | string[]): string[] {
    const currentLang = this.translocoService.getActiveLang();
    if (Array.isArray(path)) {
      return [`/${currentLang}`, ...path];
    } else {
      return [`/${currentLang}`, path];
    }
  }
}

language.guard.ts
import { inject } from '@angular/core';
import { ActivatedRouteSnapshot, UrlTree } from '@angular/router';
import { TranslocoService } from '@ngneat/transloco';

import { LanguageService } from '../../../services/src';

export const LanguageGuard = (
  route: ActivatedRouteSnapshot
): boolean | Promise<boolean | UrlTree> => {
  const translocoService = inject(TranslocoService);
  const languageService = inject(LanguageService);

  const urlLang = route.params['lang'];
  const currentLang = translocoService.getActiveLang();

  if (urlLang && urlLang !== currentLang) {
    languageService.changeLanguage(urlLang);
  }

  return true; // allow navigation to continue
};

localize-route.pipe.ts
import { Pipe, PipeTransform } from '@angular/core';
import { TranslocoService } from '@ngneat/transloco';

@Pipe({
  name: 'localizeRoute',
})
export class LocalizeRoutePipe implements PipeTransform {
  constructor(private translocoService: TranslocoService) {}

  transform(path: string | string[]): string[] {
    const currentLang = this.translocoService.getActiveLang();
    if (Array.isArray(path)) {
      return [`/${currentLang}`, ...path];
    } else {
      return [`/${currentLang}`, path];
    }
  }
}

app.router.ts
const routes: Routes = [
  {
    path: ':lang',
    canActivate: [LanguageGuard],
    ...

app.component.ts
constructor(private languageService: LanguageService) {
  this.languageService.init();
}

When I get a link to my website in another currentLang (for example, from a friend who speaks another language), that language is stored in the sessionStorage as sessionLang. When I leave the site and call it up again with domain.com, my preferredLang stored in localStorage is loaded again.
To keep the routerLinks working, I've written a pipe that prefixes every route with the currentLang: [routerLink]="'gallery' | localizeRoute"
This is all very cumbersome and the maintenance is not very good either, but at least it works. Maybe someone can use the code. Or even improve it and make a PR out of it.

So with regard to this feature you are just waiting for PR contributions?

Now that SSR (Server-Side Rendering) has been brought to the forefront with Angular 17, this feature has become essential.

@tayambamwanza I have no objection to including this as a new package, as the label says, PRs are welcome.
I can't commit to a specific timeline since I'm currently in reserve duty and it's hard for me to even get to relevant bugs.

That's perfectly fine, I understand this is an  open source library, what do you think of the example code posted earlier, would that suffice?

@tayambamwanza TBH I never needed this feature so I can't answer with a full heart.
Research must be done to understand all the common use cases and the best way to answer them. I'd start by seeing how ngx-translate-router is implemented to understand its pitfuls (see open issues, try to improve the API and usage)
BTW, did you try ngx-transloco-router? Where is the gap there?


Remove/fix or suppress null-forgiving operator usage in src/, enable warning/build errors

Description
As a sort of followup on #625, this PR

fixes/removes null-forgiving operator usage where possible
suppresses with TODO comment where fixing would require making breaking changes (API or behavior)

only in src/ folder for now
Related Issue(s)

N/A

Verification

[x] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[x] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Great comments as always!

Not sure of the value of banning !

I should have stated my intentions in the description, so it is not to ban !, but rather raise the bar for using it. I find that in the vast majority of !-uses (in any codebase I've seen) end up in one of the following categories

Throw NREs, so we can improve the code by throwing contextualized exceptions, ArgumentNullException etc
Are easily fixed by helping the compiler flow analysis with attributes or other means
Can be fixed by improving the domain modelling

So my hope is that this diagnostic being emitted will lead us to better habits essentially, and actually deal with the nulls. Even if we ignore the above and it is supressed - we have to give a reason in a comment


Rename .img-rounded to .rounded

I suggest changing .img-rounded to just plain .rounded, as .img-rounded only applies border-radius, and can be applied to any element anyways. However, it's a bit awkward to add .img-rounded to an element that is not <img>.

What you need to be wary of when doing changes like that is that they tend to turn into api bloat unexpectedly and quickly, ergo, leading to .rounded-sm, .rounded-lg kind of stuff and then to ".btn .btn-primary .btn-lg .rounded-lg radius incorrect!" kind of issues and maintenance burden.
IMHO if you need .radius class you should define custom one instead and keep .img-rounded class around for explicit use for rounded images.

I wasn't suggesting adding more classes to bloat the code. I was suggesting renaming an already existing class to be more versatile. To be able to add rounded corners to any element that can have  a background-color or a border. div or it's more semantic cousins, forms, lists...
I didn't suggest separating border-radius from buttons. Having rounded-lg and rounded-sm is not a terrible idea though. Let the button have it's border-radius, and override it with the rounding you prefer. .btn-lg.rounded-sm? Cool.
Also, if $enable-rounded is set to false, having a class to set border-radius on certain elements could be useful.

The point I was making is that when change API in such manner it may lead others to request futher changes and cause it grow organically and get bloated. The buttons was only example of one way in which it may be abused.

I dig it—it's a utility class and it should be treated as such.

Do you think that .img-circle or .img-thumbnail (also in _images.scss) should receive the same treatment for consistency?

I can see some uses for .circle, such as a circular button or text block, but those would require having equal width and height. Although, aesthetically speaking, a non-square image with border-radius: 50% doesn't look very good either. It's a tough one, but I'm slightly on the side of changing .img-circle to .circle for consistency and potential uses, and leaving it as .img-circle feels like it's restricting where it can be used.
Thumbnail as a word would be strange to use outside the context of images. However, being able to style for example, a text block, to look the same as image thumbnails could be useful.
TL;DR; having .img- in the front makes it seem like the classes are only to be used with images

More changes coming in #20684.


helm: add common labels to objects

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Add a way to set common labels across helm managed objects.  This should help keep things uniform and permit easily adding extra labels as standards emerge
helm: add common labels to objects (with user extension)

Oh my, I fear that may lead me out of my depth.... I'm not proficient in go and from reading the linked ticket, there are some risks in letting folks fiddle with the labels...  I honestly don't know what the well known identities bits are doing.
I'll confess I'm unsure what makes the most sense here.  Having the app version in the labels gives me some useful data to track and expose - particularly when trying to track down when a given secret/configmap came into being.

I clearly don't understand how this works as my reading of the code pick out an 'exclusive' search (ie one where extra labels cause resources to be excluded) - it may be that I really really don't understand golang or am looking in the wrong place.
Can you point me towards that bit so I can learn more about what is going on?


[Cloud Sec] Removed Legacy PCDS topics

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--prisma-cloud-docs--hlxsites.hlx.page/
After: https://--prisma-cloud-docs--hlxsites.hlx.page/
Worker: https://prisma-cloud-docs-production.adobeaem.workers.dev/?branch=

Removed legacy Data Security content since DSPM is GA


Add ansible_managed to ansible config template

PR for #106.

I think that since this is closer to the default that ships with Ansible, it would be better.
ansible_managed = Ansible managed: Do NOT edit this file manually!
(Not that it matters what we do, but by way of example, we actually have something that greps for 'Ansible managed' at the beginning of the file|line)

Done.

:+1:


Account Management

🚀 Feature Request
Account creation and Account UI is currently a demo feature. We should add the ability for users to login and store their credentials within our database.

🔈 Objectives

Investigate current data fetching of users within the frontend
Implement for Amazon login, Linkedin, Github auth
Implement auth via auth framework such as

🛰 Alternatives
Auth providers (search Auth)

https://github.com/RunaCapital/awesome-oss-alternatives

📎 Additional context
Resources

https://nextjs.org/docs/pages/building-your-application/routing/authenticating
https://github.com/nextauthjs/next-auth-example
https://next-auth-example.vercel.app/

Going with https://www.hanko.io/ for Auth management


[Maintenance] Deprecate usage of META_FIELDS_BEFORE_7DOT8

MapperService.META_FIELDS_BEFORE_7DOT8 is marked as deprecated and will be deleted.
We need to migrate to MapperService.isMetadataField to continue distinguishing metadata fields.
MapperService.META_FIELDS_BEFORE_7DOT8 is used in legacy engine to distinguish metadata fields and document fields. Current usage refer the constants, but the constant is no longer correct since there could be more metadata fields used by other plugins.

Catch All Triage - 1 2 3 4 5 6


[WIP] Provide AnnotatedServiceConfigurator

Motivation:
This is a preliminary work to solve the previously mentioned issue.
Modifications:

Add class(AnnotatedServiceConfigurator, AnnotatedServiceConfiguratorSetters) relates to configuration
Add method relates to configuration from ServerBuilder, VirtualHostBuilder, AnnotatedServiceBindingBuilder and VirtualHostAnnotatedServiceBindingBuilder
ex.

Server server = Server.builder()
                      .annotatedService(new TestService(), setters -> {
                              setters.configureExceptionHandlers(...);
                              setters.configureResponseConverters(...);
                              setters.configureRequestConverters(...);
                      })
                      .build();

Result:
User friendliness.

This is draft PR.
I have question.

how about current worked directions?
Should methods like Object... exceptionAndConverters be deprecated?
Do he/she needs class like AnnotationServiceConfiguratorSettersBuilder that make for AnnotationServiceConfiguratorSetters?
What do you think about where the current default ExceptionHandlerFunction, {Request,Response}ConvertFunction is created?

I wish there was something like DefaultAnnotationServiceConfiguratorSetters.

The situation has been changed a little bit since the initial discussion. Now that we have a fluent builder API for annotated services thanks to @sivaalli, how about just adding the builder methods for ExceptionHandlerFunction and Request/ResponseConverterFunction directly to AnnotatedServiceBindingBuilder? That would simplify things a lot. What do you think?

good idea! :smile:
I would like to proceed as follows:

there is remove AnnotatedHttpServiceFactory.find(...) from ServiceBuilder and replace to AnnotatedServiceBindingBuilder.
there is add ExceptionHandlerFunction and Request/ResponseConverterFunction created by AnnotatedHttpServiceConfigurator to builder methods of AnnotatedServiceBindingBuilder.

SGTM, @heowc

Please let me know if it's ready for a review. :smile:

Yes! I would like to request a code review :)

Thanks for reviews!
I will remove relate to AnnotatedHttpServiceConfiguratorSetters.

LGTM, Thanks!
Your PR direction has been changed from the original. AnnotatedHttpServiceConfigurator does not exist anymore. Could you update this PR description and title?

Yes! I agree.
I think need to update PR description and title.

Thanks a lot, @heowc!


package name inconsistency between GH/PyPI/conda-forge

I was looking into updating the conda-forge feedstock (https://github.com/conda-forge/sk-video-feedstock) but I am not sure what is going on with the package naming here on GH and on PyPI. I see that there are two PyPI entries:

https://pypi.org/project/sk-video/
https://pypi.org/project/scikit-video/

Which is the correct one that I should use to build the feedstock? Up to now I was using sk-video.
@beyondmetis we were discussing this here https://github.com/scikit-video/scikit-video/issues/61#issuecomment-351635488 but I don't know if anything has changed in between.

The only thing that has changed is that scikit-video is at 1.1.11, and sk-video is at 1.1.10. I'm not sure if they will let me remove the sk-video package from pypi. How hard is it to update conda-forge to point to scikit-video?

so the sk-video name is officially abandoned in favor of scikit-video?

I don't see a point in keeping both around. It's official.

ok, sure. So sk-video on conda-forge will be renamed to scikit-video. I don't know how complicated this is, I will ask there with an appropriate issue. Let's keep this open until things are settled.

I can easily do this tonight
On Wed, Sep 19, 2018 at 9:22 AM, Carlo<EMAIL_ADDRESS>wrote:

@beyondmetis https://github.com/beyondmetis could you please also
upload also the sdist to pypi as you did with sk-video?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scikit-video/scikit-video/issues/110#issuecomment-422866820,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIAHzUWBHOR25BxmS0dMX54gbTzO37Z_ks5ucm8sgaJpZM4WwA6-
.

--
Todd Goodall
Graduate Student at Laboratory for Image and Video Engineering (LIVE)
http://live.ece.utexas.edu
University of Texas at Austin

Done!

Thanks! I'm working on the PR at conda-forge: https://github.com/conda-forge/sk-video-feedstock/pull/7

Done!
the new conda feedstock will be soon available here: https://github.com/conda-forge/scikit-video-feedstock whereas the old sk-video feedstock is archived (https://github.com/conda-forge/sk-video-feedstock)


Feat(ux): Add additional request tab visual status indicators when tab actually contains data inside

Describe the solution you'd like
Just like how postman does it, it would be nice if keyrunner could show some visual status indicator next to a request tab name, if the tab contains some user-provided data (e..g non-empty), to make it easier to navigate tabs that actually contain something, without having to click on all tabs to discover if it contains some user-provided data or not, this includes the internal pre and post script sections.. (useful, when plenty of collection requests to maintain etc).
Describe alternatives you've considered
Currently, one has to click on all tabs one by one to find if there's user defined data inside, which takes additional time and clicks to navigate etc.
Additional context
Here's how Postman is doing it:

Here's Keyrunner, as of 1.0.67, showing where new visual indicators could be added:

thanks

@frank-duq we currently have this feature implemented  for params, authorization ,headers & body tabs . We will add that for scripts & tests.

hmm, that's not the current behaviour that I'm observing (1.0.67), what I'm actually seeing, is that the green dot indicator shows up when I do some updates (e.g. unsaved changes), but it disappear as soon as I hit the save button.
so those are actually 2 separate things, e.g.:
1- having an indicator to tell the user that you have unsaved changes is super important and definitely needed; however, that's not what I was referring here in current issue, but the next point..
2- having 'permanent indicators' telling the user which tabs/sections contain actual data, that's the one current ticket is talking about, and which doesn't seem to be supported for all tabs EXCEPT:  "Params" and "Headers", for which, both are showing a number to the right of the tab name, which could also be added for the tab "Tests" since it can be measured, but can't be done for "Authorization" and "Scripts" tabs, so for those ones, just some kind of 'dot' icon/indicator would be enough to tell the user that the tab does contain user-provided data (I'm not talking about unsaved changes here, but just whether or not the tab contains data......just like what Postman does with their 'dot' indicators next to tabs' names..).
thanks

Got it! Thank you for clarifying. We will work on enhancing this feature to have permanent indicators when there is actual data.

@frank-duq  This has been addressed with our latest release (V#1.0.69), Please update to latest version.

@frank-duq Based on your feedback, we have addressed the above in the latest release, v1.0.70. Please update to the latest version.

Awesome updates, much better overall UX, I like it great work.
One tiny feedback though, when I update the body of a request, it does add the star () icon next to the "Body" tab label, however it ALSO adds a star () to the "Headers" tab label as well, just like if I had modified both at the same time, which is not the case, I've only modified the "Body".
But so far, all the rest seems to be working very nicely, e.g. all blue dot indicators showing what panel contains actual data, and then the green stars that appear when we modify some content and needs to save, very great experience.

thank you for the feedback , we will fix that "Body" label bug in our next release. Our main focus for this release was the Request Body Variables Update(https://github.com/launchiamenterprise/keyrunner/issues/84).
we will keep this issue open.


Add "Climbing Stairs" problem in dynamic programming

Is your feature request related to a problem? Please describe.
This code is the solution to the leetcode problem "climbing stairs".
Describe the solution you'd like
The solution consists of implementation of fibonacci series.

This repo is not for LeetCode problems


Whitelist speaker files that have no language associated with them

This enables the use of speaker_0-9.npz files that currently get blocked.
If they should be blocked then they could be deleted.

thanks should get deleted. also, will update those with better ones in the next couple of days, stay tuned


[NFC] 32-bit-safe ImportDiagnosticTarget

Previously, ImportDiagnosticTarget was a PointerUnion of five types. This required more spare bits than were available on 32-bit platforms, so the compiler (and more importantly, lldb) could not be built for those.
This commit makes ImportDiagnosticTarget a class which is still backed by a PointerUnion on 64-bit platforms, but uses TaggedUnion on 32-bit platforms. The API is designed to be a drop-in replacement; we might want to evolve it into something a little more like ClangNode in the future.
Update for new implementation: Fortunately, it turns out that there’s no good reason for clang::ModuleMacro to be part of the pointer union—we always convert it to clang::MacroInfo before looking up diagnostics anyway. Removing it gets us back into territory which ought to be 32-bit-safe.
Fixes rdar://88922618.

@swift-ci please test

The second commit simply forces the TaggedUnion implementation on 64-bit platforms so I can test it; I'll revert it before merging.

@swift-ci test


nuxt 3.14, readme up

up nuxt and deps
up readme with reset

https://github.com/vuejs/language-tools/issues/4860
remove shared-workspace-lockfile=false from .npmrc


Fix animation from being execute under UWP.

GitHub Issue: #
Remove SkipAnimation for UWP. It causing animation to stop so it never complete.

What is the current behavior?
Never focus on desired point.
What is the new behavior?
Focus on the point.
Checklist
Please check if your PR fulfills the following requirements:

[ ] Documentation has been added/updated
[ ] Automated Unit / Integration tests for the changes have been added/updated
[ ] Contains NO breaking changes
[ ] Updated the Changelog
[ ] Associated with an issue

Other information
UWP Don't look useful in USP context.

Fix by another branch


Avoid unnecessary terraform plans for closed (unmerged) PRs

This change avoids unnecessary terraform plan operations.
When closing a PR without merging, the github workflow still kicks off and runs a terraform plan. This is a minor issue, but it surprised me. In this PR I've added a conditional check to avoid running unnecessary plans when a PR is discarded.
Checklist

I applicable, I acknowledge that I have:

[X] Read the contributing guide
[X] Ran terraform fmt on all modified files
[X] Regenerated the relevant README.md files using tools/tfdoc.py
[X] Made sure all relevant tests pass

@ludoo does it make sense to try to replicate the same functionality in the gitlab workflow?

@lodoo - I've updated the other three files in stages 0 and 1 for this PR.

Thanks!!! We will log an issue to trakc this for gitlab too, as Julio suggests. I'll put this on automerge so it should go in as soon as all tests pass.

Checks seem to be stuck for some reason...


Broker - retry queries to different tiers

If a query from broker to historical failed, it may be useful to retry this query to a different historical tier.

This issue was mentioned here: #7087, "Fault tolerance" section.


Unable to install extensions due to certificates

Issue Type: Bug

Install either mssql or intellisense extensions
Receive an error "UNABLE_TO_GET_ISSUER_CERT_LOCALLY"

e.g.   (happens with both mssql and intellicode installs)

Platform: win32, x86_64 (Windows)
Installing SQL tools service to c:\Users\BRITTG2.vscode\extensions\ms-mssql.mssql-1.8.0\sqltoolsservice\1.8.0\Windows. Downloading https://download.microsoft.com/download/e/7/8/e781cf8f-9c3f-4ad5-bd0c-f3c62b8bc6bd/microsoft.sqltools.servicelayer-win-x64-netcoreapp2.2.zip [ERROR] Error: Request error: UNABLE_TO_GET_ISSUER_CERT_LOCALLY

Note: I am behind a corp fw.  FWIW I tried the suggestion here:  Network Connections in Visual Studio Code
where it says, in part:

If all else fails, you can tell VS Code to ignore all certificate errors using the --ignore-certificate-errors command-line flag. Warning: This is dangerous and not recommended, since it opens the door to security issues.

However, that is an invalid flag :
> code --ignore-certificate-errors
Option 'ignore-certificate-errors' is unknown. Ignoring.

Version: 1.41.1 (system setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18362
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.88GB (2.82GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

githistory
don
0.4.13

gitlens
eam
10.2.0

code-runner
for
0.9.15

gc-excelviewer
Gra
2.1.32

mssql
ms-
1.8.0

python
ms-
2020.1.57204

powershell
ms-
2019.12.0

partial-diff
ryu
1.4.0

vscode-hexdump
sle
1.7.2

This is a feature specific to the mssql tools, please open an issue on their repo
/causedByExtension


Integrate with Auth0 (OAUTH2 meta-authentication provider)

Further to @dweldon's comment on #176:

Integrating with a meta-authentication provider like auth0 could be really useful.

Auth0's back end identity providers include:

Most of the OAUTH2 social providers you'd expect
ADFS, Active Directory, LDAP, and SAML-P for enterprise SSO
Password-less authentication via email, SMS, and the iOS touch sensor
Auth0's own cloud identity service
The database of your choice

That, plus a free tier for 7K users across Auth0's database plus 1-2 social providers, could reduce the urgency to hook up all of the above. It'd certainly make life easier for me. ツ

This sounds reasonable. I think we should probably work on getting something like #428 so that it's easier to build 3rd party modules to different auth types

This was done in #601  and #733


Installing Java without a dependency manager

Add some instructions for adding jars manually.

Closing based on feedback from mpkorstanje.

Thanks @mpkorstanje - fully agree ;)


Applied visual indicators for required fields to product edit forms.

Also added required validator to SizeTier as is implicitly required due to component logic.
Not sure if there is a more automated way of implementing this as the form management is heavily manually created. I have implemented form field components in other applications, however I am unsure if there is a clean way of achieving this using angular.
Overall, this is a UX improvement and while I have only covered the the product forms for now, the intention is apply the required field indicators to the remaining forms, unless another approach is suggested.

I have used form fields in other projects. If we can get the parent form and the form control name we can do all kinds of things like tell whether or not the field is required, or readonly, or has some other validation error and present it consistently which would be quite nice.
My only friction with using such components is that they can be a bit rigid if there isn't enough thought given to the design of it to allow customizability and extensibility and then developers just build it up manually which defeats the purpose. As long as we avoid that, I think that would be a great addition.
I'll merge this in and if that's something you want to take on I'd be happy to have it in the codebase


Feature Request - Deploy / Use muliple Log Analytics Workspaces

Community Note

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

Description
Is your feature request related to a problem?
Currently we have a requirement that we deploy two different log analytics workspaces within different regions and configure resources to send logs to both log analytics workspaces.
Justification for this is LAW, is region bound and in the event Azure region was to have an issue, and we need to review logs from resources in a different region, we be unable to.
Describe the solution you'd like
Ability to create two different LAW instances and configure policy to configure logging to multiple instances.
And / Or
Provide the ability to give multiple LAW instance ID to configure policy to send logs to multiple LAW Instances
Additional context

Hi,
We currently have no plans to support this as a core feature of this module. It's not currently a recommendation for ALZ.

we also have the same requierement. Is this at the moment maybe planed ? Because it ll be great if we can use that.

same here. Is there any chance to see this feature soon? It would be great to have this integrated natively, than creating our own stuff around CAF.
I cannot imagine that other customers do not need this, since data residency is a big topic for companies which act globally.


[WIP] update to api level 1

Citing the nvim help:

The Python client is the reference implementation for API clients. It is
always up-to-date with the Nvim API, so its source code and test suite are
authoritative references.

Obviously, shouldn't be merged until 0.1.6 is released. As the tests show, this is a slightly breaking change for obj.api.method(...). We could mitigate that by letting the RemoteApi contain a whitelist of deprecated and renamed methods, but I doubt that it would affect any plugin as all the functionality of the deprecated and renamed methods are more conveniently exposed through the standard (hard-coded) python interface.

Also added proposal for exposing versions and version check for recent enough nvim.


Patterns folder

@cearls Is there any reference for a suggested way to use the /patterns area? I get the idea but would want to know if there's documentation or a template or example on how to get the best of it. Thanks.

Moving this to discussion, apologies.


SpecFlow 2.4

Update required to use Ghpr plugin with SpecFlow v2.4 because the interfaces were changed

Fixed now


Feature: Create a Tony Stark Appearances Page with Famous Dialogues

I would like to add a new page to the Stark Tech Portfolio that features a chronological list of Tony Stark's appearances in Marvel movies along with his most famous dialogues.
This page will contain the chronological list of movies featuring tony stark no matter as guest appearance or main character and with each movie there will be mention of the famous dialogue of iron man from that movie.
Could you assign me this issue with gssoc extd 24, level and hacktoberfest labels please.

@Tamanna225 Great.
Please Add that page link in the navbar. (Follow the website's color theme)
Page name : "Appearances"

Ask me if any doubts.

@Tamanna225 Any updates?

@aslams2020  Yuup working on it taking time to make it responsive... Will surely raise the PR by today evening


snapd malfunctioning on Hyper-V Ubuntu 18.04 Quick Create VM

     Setting up snapd (2.39.2+19.04)
     Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine real ...
     md5sum: /etc/apparmor.d/usr.lib.snapd.snap-confine: No such file or directory snapd.failure.service is a
     disabled or static unit, not starting it.
     snapd.snap-repair.service is a disabled or static unit, not starting it.

https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1835102
There is no way to use snap and even when i try to uninstall and reinstall snapd it wont let me.  This only seems to happen on the specific Quick Create image provided by windows 10.
All the workarounds listed have not worked for me because snapd is needed to be in working condition in order to be uninstalled.

I'm facing the same problem, both with 18.04 and 19.04.
This bug is already fixed according to this:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500
But it appears that the image provided using Quick Create hasn't been updated yet.

Confirmed with 19.04.  Hope the image is updated soon, since the problem has already been fixed.

I've faced the same problem, tried almost every workaround found, none worked.  Until I tried
the below approach which was the only one that worked for me:
https://askubuntu.com/questions/1143436/snap-not-working/1147199#1147199
Basically you have to set the env variables:
sudo mkdir /etc/environment.d
sudo echo -e "PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/snap/bin"\nXDG_DATA_DIRS="/usr/local/share:/usr/share:/var/lib/snapd/desktop"" > /etc/environment.d/60-snap-icons-and-bin.conf
sudo reboot now

This worked for me: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500/comments/5
However, I just gave up and went back to Linux.  I applaud Microsoft's efforts, but there seems to always be friction and it's simpler to just use the real thing.

Glad you could sort it out. There will always be some kind of problems, I agree on issues of this kind should have been addressed before its release. For some of us who rarely need Linux (or not at all, just playing around) this is a great approach though.

This worked for me: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500/comments/5

This plus https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500/comments/8 did the trick for me.

This repo is being archived, so closing this issue.

This repo is being archived, so closing this issue.


Management of client (JS-side) configuration for WS server

So in your JS "client" you have to call something like Cable.createConsumer('ws://example.com:12345') to create your App.cable. But in development you probably want to call something like Cable.createConsumer('ws://<IP_ADDRESS>:12345') instead. Not sure how it'd work, but maybe there needs to be some configuration management for the JS side of things?
The only idea I have is a .yml or .json file somewhere that causes the js asset pipeline to create/include some sort of App.settings or Rails.settings object of config key/vals based on the current environment so that you can just call something like Cable.createConsumer(App.settings.websocket_host) and have it be the right host for the env.
Anyway, just some thoughts. There are probably other approaches that make sense.

Here's what I've been doing so far... in my layout in the head, I add a section with a meta tag:
<% if Rails.env.production? %>
  <meta name="websocket-url" content="wss://example.com:12345" />
<% else %>
  <meta name="websocket-url" content="ws://localhost:12345" />
<% end %>

Then, in my CoffeeScript, I connect like so:
App.cable = Cable.createConsumer $("meta[name='websocket-url']").attr("content")

You could pretty easily move the content for the meta tag into your environment.rb, then have just 1 meta tag which grabs the config value.
I found something like this absolutely necessary, as in development I am using "ws" versus production I am using "wss" (otherwise I get errors due to it not being SSL).

Yeah, I'm doing something similar, looked into using Gon, but ultimately decided to just put my own script tag in the header of a special layout for pages that use ActionCable. It just seems like there ought to be a convention that matches other Rails conventions.

Cable.createConsumer('ws://' + window.location.hostname + ':12345') would work if you're just using port.
My implementation will use Cable.createConsumer('ws://' + window.location.host + '/websocket')

Continuing the discussion in the PR.


Add image title support

Modifies the regular expression to cover image titles, provided in quotation marks:
![Image alt](image.png "Image title")
Should resolve https://github.com/midnightprioriem/mkdocs-autolinks-plugin/issues/8

@midnightprioriem, is there anything I can/should do to get this PR merged? We want to start using your plugin in our documentation, but due to a big number of images with title this reduces the plugin's usefulness.


Add in missing operators for llama run

Description

Add additional operators added to MIGraphX to support llama
Motivation and Context

Removed int4 changes for now as its handled internally with MatMulNBits


[CI] Helm Chart Releaser

What is the purpose of the change
A better integration Flink Operator and Helm with GitHub.
Brief change log

Added host Helm Charts from Flink Operator using GitHub Releases, GitHub Pages and GitHub Actions.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

A GitHub branch called gh-pages would be needed to store the published charts. It's a pre-requisite for chart-releaser-action.
This change would store the Helm Chart release for Apache Flink Operator in the GitHub repo similar to this.

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

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changes to the CustomResourceDescriptors: no
Core observer or reconciler logic that is regularly executed: no

Documentation

Does this pull request introduce a new feature? no

We had a similar attempt in the past that was abandoned: https://github.com/apache/flink-kubernetes-operator/pull/170
Could you please check and explain what is different now?

Closing due to over a month of inactivity.


Users can update their info through the profile page

[t:60]
Working with Docker and setting up the database as well as my .env file

[t:75]
Working on turning my form into an angular form

[t180]
Worked on getting the parent page of the profile to talk to the backend, most of the stuff is close to being there, need to get the handlers done before i can completely finish

[t:360]
I know this is a big time chunk but it incorporates all of the time i have worked on this in sprint 4 which was over several days and also included creating the code to get the data from the back end

[t:60]
Fixed validators

[t:60]
Helped with fixing validators


feat: breaking change: v1 release

Summary
What is the background of this pull request?

V1 release for TrustVC

BREAKING CHANGE: v1 release

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Object.Object.defineProperty.get is deprecated.

Requiring $ from atom is no longer supported.
If you are using space-pen, please require $ from atom-space-pen-views. Otherwise require jquery instead:
{$} = require 'atom-space-pen-views'
or
$ = require 'jquery'
Add "atom-space-pen-views": "^2.0.3" to your package dependencies.
Or add "jquery": "^2" to your package dependencies.
Object.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app.asar/exports/atom.js:48:11)
Object.<anonymous> (/Users/Gaantz/.atom/packages/autocomplete-plus-jedi/lib/jedi-provider.coffee:1:1)
Object.<anonymous> (/Users/Gaantz/.atom/packages/autocomplete-plus-jedi/lib/jedi-provider.coffee:65:4)
Module._compile (module.js:452:26)

as discussed here we try to consolidate all jedi providers - therefore this repo will be closed. https://github.com/tinloaf/autocomplete-plus-python-jedi/issues/16


feat/add arangodb support

What does this PR do?

Allow users to connect to the ArangoDB instance and have auth layer on top of that

Which issue(s) does this PR fix?
If this PR affects any API reference documentation, please share the updated endpoint references

Add docs for DATABASE_NAME in env section. Default value is authorizer this is applicable to arangodb only

Your support for ArangoDB rocks! Thanks for adding that. So pleased to witness. Keep up the excellent work.

Thank you @mysticaltech


Pass DRM errors back to Python without crashing

Fixes Xilinx/PYNQ-Dev#335

Codecov Report

Merging #1245 (fb9e755) into image_v2.7 (2e317aa) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           image_v2.7    #1245   +/-   ##
===========================================
  Coverage       46.74%   46.74%
===========================================
  Files              27       27
  Lines            4895     4895
  Branches          818      818
===========================================
  Hits             2288     2288
  Misses           2550     2550
  Partials           57       57

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 2e317aa...fb9e755. Read the comment docs.

I’ve been trying to unsubscribe from this and have lost access to my github account.
Under the law, you are required to provide a functioning unsubscribe without need for login
I have written about this in the past and nothing has been done.
I am now reporting this via the CANSPAM act
Please clean up your act.
From: Peter Ogden @.>
Sent: Wednesday, September 1, 2021 12:42 PM
To: Xilinx/PYNQ @.>
Cc: Subscribed @.***>
Subject: [Xilinx/PYNQ] Pass DRM errors back to Python without crashing (#1245)
Fixes Xilinx/PYNQ-Dev#335 https://github.com/Xilinx/PYNQ-Dev/issues/335

You can view, comment on, or merge this pull request online at:
https://github.com/Xilinx/PYNQ/pull/1245
Commit Summary

Pass DRM errors back to Python without crashing

File Changes

M pynq/lib/_pynq/_displayport/displayport.cpp https://github.com/Xilinx/PYNQ/pull/1245/files#diff-2e22ed37142846de3d98d2466499fd9a0246268dd954a873cf01aa338cb69db4  (32)
M pynq/lib/video/drm.py https://github.com/Xilinx/PYNQ/pull/1245/files#diff-40f131300875eff1dca75a74607bcceff09d20ee36efc19b9a742bed159964f4  (17)

Patch Links:

https://github.com/Xilinx/PYNQ/pull/1245.patch
https://github.com/Xilinx/PYNQ/pull/1245.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/Xilinx/PYNQ/pull/1245 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMN7LYXNZJY3NZBB7BJLICLT7XYOXANCNFSM5DGB7J6Q .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .   https://github.com/notifications/beacon/AMN7LYWD775EIQZLSYD7BULT7XYOXA5CNFSM5DGB7J62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OVU5ZEQ.gif

hi @biztechenabler - I would recommend raising your account issue with GitHub.  They manage accounts and unsubscribing mechanisms.