Typo Managment in Microsoft.CostManagement

Should be "Management". These are in the operationId so it would be a breaking change to fix I'm guessing
Forecast_UsageByManagmentGroup:
https://github.com/Azure/azure-rest-api-specs/blob/dd2a88f3c528ef69fc81123eb4481196a3690b66/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-12-01-preview/costmanagement.json#L1104
Query_UsageByManagmentGroup:
https://github.com/Azure/azure-rest-api-specs/blob/48ef7a0be13ac575d74e2deb4ec391ee6b8e97fe/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2018-08-31/costmanagement.json#L791
https://github.com/Azure/azure-rest-api-specs/blob/dd2a88f3c528ef69fc81123eb4481196a3690b66/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-12-01-preview/costmanagement.json#L1050

/cc @olrakovs


Imagediff typo

Will close #9.
Fixes typo.  This also contains changes from pull request #4, so that should get merged first probably.

This MR can be accepted.
No code (RAVEN framework) changed. Only removes a typo in the ImageDiff.py test (that was hit only in case of a failure)


[SPARK-19818][SparkR] union should check for name consistency of input data frames

What changes were proposed in this pull request?
Added checks for name consistency of input data frames in union.
How was this patch tested?
new test.

The current implementation accepts data frames with different schemas. See issues below:
df <- createDataFrame(data.frame(name = c("Michael", "Andy", "Justin"), age = c(1, 30, 19)))
union(df, df[, c(2, 1)])
     name     age
1 Michael     1.0
2    Andy    30.0
3  Justin    19.0
4     1.0 Michael

@felixcheung

Test build #73888 has started for PR 17159 at commit 7697806.

Test build #73888 has finished for PR 17159 at commit 7697806.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73888/
Test FAILed.

Test build #73895 has started for PR 17159 at commit 293dc35.

Test build #73895 has finished for PR 17159 at commit 293dc35.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73895/
Test FAILed.

Test build #73897 has started for PR 17159 at commit ef84501.

Test build #73897 has finished for PR 17159 at commit ef84501.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73897/
Test PASSed.

Merged build finished. Test PASSed.

hmm... this is somewhat by design - union could take in 2 DataFrames that might not match in column names or type. In that case values in one of the DataFrame will be coerced to make things fit
>>> d = spark.createDataFrame([{'name': 'Alice', 'age': 1}])
>>> l = spark.createDataFrame([(1, 2)])
>>> d.union(l).head(2)
[Row(age=1, name=u'Alice'), Row(age=1, name=u'2')]

>>> l.dtypes
[('_1', 'bigint'), ('_2', 'bigint')]
>>> d.dtypes
[('age', 'bigint'), ('name', 'string')]

Do you see this as something that might be unexpected for R users (in which case rbind might be the overload to look into) or SQL users (documented as equivalent to SQL UNION ALL)?

@felixcheung  OK, did not know it was by design. It does seem that the union behavior is similar to R's SQL (in sqldf), but as you pointed out, the overload method rbind is different from base R, which checks  name consistency. See examples below. Should I make the change to rbind, or leave it as is and close this PR? Thanks.
df <- data.frame(name = c("Michael", "Andy", "Justin"), age = c(1, 30, 19))
df2 <- df
names(df2)[1] <- "name2"

# 1. SQL
library(sqldf)
query <- "select * from df union all select * from df2"
sqldf(query)

     name age
1 Michael   1
2    Andy  30
3  Justin  19
4 Michael   1
5    Andy  30
6  Justin  19

# 2. rbind
rbind(df, df2)
Error in match.names(clabs, names(xi)) :
  names do not match previous names

I think it's a good idea to get SparkR rbind to match behavior of R data.frame rbind.
We should clearly indicate the difference between SparkR union and rbind then

Test build #73941 has started for PR 17159 at commit decc468.

Makes sense. Made changes to rbind and added tests. Please take a look. Thanks.

Test build #73941 has finished for PR 17159 at commit decc468.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73941/
Test FAILed.

Test build #73947 has started for PR 17159 at commit cc80de3.

Test build #73947 has finished for PR 17159 at commit cc80de3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73947/
Test PASSed.

Merged build finished. Test PASSed.

Test build #73954 has started for PR 17159 at commit 54427d5.

Test build #73954 has finished for PR 17159 at commit 54427d5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73954/
Test PASSed.

merged to master. thanks


Wrong Rendering Animation (1.16.5)

Forge version: 36.2.34 (1.16.5)
Mod version: SW Ice and Fire-1.16.5-1.1.0
The Javelins from this mod use the Tomahawk animation when charging the attack with right click, while instead it should use the Javelin animations, you can check the picture to understand what i'm saying:
the first picture of each pair looks how the javelin animations is in the original mod, while the second one shows how it looks in your mod

The javelin renders opposite when in 3rd person, looking like im about to throw a Tomahawk instead of a Javelin

From a different point of view:

Thanks for pointing this out, I'll fix it in the next update along with the parrying daggers not having a blocking model.

No problem! Just wondering, when will you release the next update? Because I want to start a modpack but im not sure if updating the mod may cause some bugs/problems, so I'd rather wait for it if it's happening soon

The update won't break anything, It'll only change the items' models

Oh okay, nice to know!

I've just seen I accidentally closed the issue, mb


feat: try to make DocList an actual Python List

This PR needs to make sure that DocList is a List, thus fixing the issue that I cannot call schema  of a BaseDoc having nested DocList.

this line is the problem
https://github.com/docarray/docarray/blob/8df9e7f3ae700ee84f766d38fd4cc2fb63908567/docarray/index/abstract.py#L424
after this change, it's always true
we could do this
if not isinstance(docs, DocList) and isinstance(docs, List):


chore(security): change hsts to 180 days

Pull Request Test Coverage Report for Build 1682

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 63.793%

Totals

Change from base Build 1681:
0.0%

Covered Lines:
101

Relevant Lines:
152

💛  - Coveralls


General Question: How to integrate appliocation logic the flexbe app?

Hi all!
First of all: Thank you. Flexbe looks really interesting. I am rather new in the field of robotics and ROS. I found flexbe while looking for a hierarchical state machine.
I am building a voice user interface for one of our robots. A state machine is a very neat wait to structure and streamline the process, since there are many steps involved (STT, NLU, TTS,..).
However: I followed the Flexbe tutorials and I have a basic understanding of the tool. Yet one essential question remained. Maybe its obvious for you, but for a newbie it no: How do I integrate my application logic with the statemachine? Where do I actually put my files (python) to work with states and transitions?
I am very thankful for any help and I hope will contribute to this project as well in the future.
Best
Areindl

Hey, thanks for the feedback!
The place to put your application logic are the states. Each state is implemented by a Python class and some of its methods as described in the tutorials. For example, you can have a TTS state implementation that expects as input data a string and then plays the audio while being active. Or an NLU state that gets the user's request and has multiple outcomes to denote the potential types that should be treated differently by the robot.
Then, the question is how to interface the state implementation with your existing libraries. Either you simply import them in the Python code or, the way that is most ROS-like, your libraries expose ROS interfaces and the state implementations then simply publish, subscribe, or send action goals.
I would recommend you take a look at existing state implementations here on Github to get some inspiration what works best in your case.


News Function Not Connecting.

Hi @tayormi, Is there a server error or does the news function not work? It shows the connecting animation but doesn't load any news blocs. The other functions work fine though thanks.

yes，I am。


Basic keycloak to support CoMPAS authorisation

As a risk owner
I want manage users and rights
So I can control who can access CoMPAS components
Background:
To support user-rights, we need to have a place that manages the user-rights. Keycloak is planned for this in the first release. Key-cloak fits well in many environments. Keycloak supports many open standards e.g. openID connect and Oauth.
Acceptance criteria:
Running container with demo users and rights
Separate repository with configuration and build scripts

@jeanetiennelemaire does this work for you as well? We can refine this on monday.


Secret Env Not available, container couldn't start

25m       15h       9         api-cmd-4281948355-qecb1   Pod       spec.containers{api-cmd}   Normal    Pulling      {kubelet ip-10-0-10-170.eu-central-1.compute.internal}   pulling image "bannerwise/core:production-735dd428f31808e52bd422e6e54f5d78bddde289"
25m       15h       9         api-cmd-4281948355-qecb1   Pod       spec.containers{api-cmd}   Normal    Pulled       {kubelet ip-10-0-10-170.eu-central-1.compute.internal}   Successfully pulled image "bannerwise/core:production-735dd428f31808e52bd422e6e54f5d78bddde289"
25m       31m       8         api-cmd-4281948355-qecb1   Pod                                  Warning   FailedSync   {kubelet ip-10-0-10-170.eu-central-1.compute.internal}   Error syncing pod, skipping: failed to "StartContainer" for "api-cmd" with RunContainerError: "GenerateRunContainerOptions: secrets \"api-v115-env\" not found"

What happens is, one of my containers died, a new machine which hasn’t pulled the image yet tried to pull but it somehow didn’t have the latest env secret and thus the container could not start, eventually this resulted in all api containers being not available, still investigating why but if you know something please let me know :stuck_out_tongue: It’s an annoying little thing happening every now and then and I till can’t put my finger on it
Kube version
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:38:31Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}

Deis version
v2.4.0

Cloud Provider: AWS
4.7.3-coreos-r2

@pixeleet can you please try upgrading to something more recent like v2.13.0? There have been plenty of significant changes/bugfixes in the last 11 months and we haven't seen this in recent versions. I'm inclined to think this is long past, and I'd try upgrading first.

Sorry this ticket fell through the cracks, by the way. We do appreciate the bug report!

Sure, already put upgrading to the latest and greatest deis on the roadmap.
It's rarely occuring anyway.
On Tue, 28 Mar 2017 at 21:59, Matthew Fisher<EMAIL_ADDRESS>wrote:

Sorry this ticket fell through the cracks, by the way. We do appreciate
the bug report!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/deis/workflow/issues/736#issuecomment-289886394, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFgmZVbKSWOogw8xNTbhEHutTIJdI5vzks5rqWaMgaJpZM4MAOfX
.

This issue was moved to teamhephy/workflow#37


prune option '--max-unused' missing

Output of restic version
restic 0.11.0 compiled with go1.15.3 on windows/amd64
How did you run restic exactly?
"c:\Program Files\Restic\restic_0.11.0_windows_amd64.exe" prune --help
The "prune" command checks the repository and removes data that is not
referenced and therefore not needed any more.

EXIT STATUS
===========

Exit status is 0 if the command was successful, and non-zero if there was any error.

Usage:
  restic prune [flags]

Flags:
  -h, --help   help for prune

Global Flags:
      --cacert file                file to load root certificates from (default: use system certificates)
      --cache-dir directory        set the cache directory. (default: use system default cache directory)
      --cleanup-cache              auto remove old cache directories
      --json                       set output mode to JSON for commands that support it
      --key-hint key               key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
      --limit-download int         limits downloads to a maximum rate in KiB/s. (default: unlimited)
      --limit-upload int           limits uploads to a maximum rate in KiB/s. (default: unlimited)
      --no-cache                   do not use a local cache
      --no-lock                    do not lock the repository, this allows some operations on read-only repositories
  -o, --option key=value           set extended option (key=value, can be specified multiple times)
      --password-command command   shell command to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
  -p, --password-file file         file to read the repository password from (default: $RESTIC_PASSWORD_FILE)
  -q, --quiet                      do not output comprehensive progress report
  -r, --repo repository            repository to backup to or restore from (default: $RESTIC_REPOSITORY)
      --repository-file file       file to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
      --tls-client-cert file       path to a file containing PEM encoded TLS client certificate and private key
  -v, --verbose n                  be verbose (specify multiple times or a level using --verbose=n, max level/times is 3)

Expected behavior
The option --max-unused is listed as described here.
Also invoking prune with the option will not fail with the option unknown flag: --max-unused.
Actual behavior
The option is not listed and prune cannot be invoked with  --max-unused
Steps to reproduce the behavior
See above.
Do you have any idea what may have caused this?
No, the code actually contains the option. Maybe the option is not registered properly?
Did restic help you today? Did it make you happy in any way?
I am currently trying to setup a small backup solution at home via sftp onto an old arm odroid c1 device. The restic approach looks very promising to me, far better than all the other applications I looked at before. So thank a lot for writing it!

Thank you for keeping an eye on the documentation!
In this case you are looking at the documentation in the master branch, which is the development branch which has not yet been released in a version that includes the changes to prune that you mention. The next restic release will contain these changes.
If you want to look at the documentation for the latest stable release, you need to select the "v: stable" option at the bottom of the documentation website.

Thank you for keeping an eye on the documentation!
In this case you are looking at the documentation in the master branch, which is the development branch which has not yet been released in a version that includes the changes to prune that you mention. The next restic release will contain these changes.
If you want to look at the documentation for the latest stable release, you need to select the "v: stable" option at the bottom of the documentation website.

I see, my mistake, sry and thanks for the fast reply. Greetings Tony

I see, my mistake, sry and thanks for the fast reply. Greetings Tony

Heh, thanks for the hint! I've configured readthedocs so that by default the stable version of the docs is shown (which matches the latest released version of restic). That should prevent some confusion for users. :)

Heh, thanks for the hint! I've configured readthedocs so that by default the stable version of the docs is shown (which matches the latest released version of restic). That should prevent some confusion for users. :)

Awesome :)

Awesome :)


Swagger/OpenAPI specification for Gorjun

This is really nice stuff to have to describe the Gorjun REST interface. In fact, we need to do this for all REST interfaces in Subutai. The Gorjun API is small and a great example project to write a spec for. Here's a really nice tutorial to start doing something like this:
https://apihandyman.io/writing-openapi-swagger-specification-tutorial-part-1-introduction/

Use this to generate drivers for Java, Golang, Javascript, and Ruby: https://github.com/Azure/autorest

Please quickly just produce a simple specification with a few of the REST operations for testing. See if we can produce some golang and java library from it using this autorest. Then report back here.


Multiple strings in a DNS record joined with space

https://github.com/zaccone/spf/blob/master/spf.go#L109
strings joined with " " (Space), while RFC says they must be joined without adding space.

As defined in [RFC1035], Sections 3.3 and 3.3.14, a single text DNS
record can be composed of more than one string.  If a published
record contains multiple character-strings, then the record MUST be
treated as if those strings are concatenated together without adding
spaces.

https://tools.ietf.org/html/rfc7208#section-3.3

Thanks for opening the issue.  I will fix it over the weekend or feel free to file a pull request!


Do a better job of explaining dynamicUrlToDependencies

dynamicUrlToDependencies important concept for any site that includes server-side rendering and which uses partial templates/includes to produce a final HTML resource. However, it's importance and use cases aren't explained as well as they should be in the documentation.
I think the actual https://github.com/GoogleChrome/sw-precache#dynamicurltodependencies-objectstringarraystring entry can be expanded some, as well as incorporating an explanation of why it's useful into the main text of the docs.
Also, renaming it as part of a major version change could help.
CC: @addyosmani @jpmedley

After re-reading our current docs around dynamicUrlToDependencies a few times, I think the current naming is actually fine.
What we could do is expand the paragraph explaining why it's useful to include a few more practical examples. The current Jade one is great. Maybe include a PHP one (it's sadly still super popular on the server) .

Agree on explaining about the benefit of using it and possibly issues if not using it.

If I get it correctly, setting a dynamicUrlToDependencies results in that URL being cached (pre-cached?) and only updated if that template changes. It should never be used if that URL contains dynamic content.

@jeffposnick @addyosmani related to this, it'd be nice if I could supply my own hash or even have the "dependency" part of this just be a string of HTML. We have a scenario where we're the HTML is mostly static, but a few environment-specific items get changed depending on where it's running.
So the we're generating html on the fly, once... based on an aggregated config object. So, there isn't really a single file somewhere (like a .jade file) that we can point to and say, "any time this changes the content is different." Instead, we generate an HTML string that is essentially "static" for that environment.
I'm not sure how to best support this from an API perspective.
Perhaps something like this?
dynamicUrlToDependencies: {
   //  if it's an array just have it work as it does currently but... if I'm supplying a string
   // assume that it's already a hash?
   '/': someHashStringDerivedFromMyHTMLString
}

I'd be willing to take a stab at sending a PR wit this functionality if you think that would be good. Thoughts??

or even just:
dynamicUrlToDependencies: {
   //  if it's an array just have it work as it does currently but... if I'm supplying a string
   // assume that it's already a hash?
   '/': {
     size: 1639, // whatever stat.size
     hash: '944c9aef2dfdc2b0f3b00c0b861028af' // whatever derived hash
   }
}

☝ with this approach there's less magic strings, and you'd still retain "total size" calculations

Hi All. I'm having a difficult time understanding dynamicUrlToDependencies in a server-rendered react app, where there are on static assets -- the "app shell" / initial markup is a template string, returned from a function.. ie:
function pageTemplate(html, injectedStyles) {
  return `
	<!DOCTYPE html>

			<meta charset="UTF-8">

${html}


Store scraping stats

What does this PR do?
Solves https://github.com/CodeForAfrica-SCRAPERS/healthtools_ke/issues/41
It stores stats in s3 in a stats.json file. This includes:

Count of each data scraped.
Dates of last successfully scraped for each and date of last successful scrape as a whole.
How long each scrape took and all the scrapers.

Any background context you want to provide?
None


Update TestScript V0.5

Coverage remained the same at 89.226% when pulling 3a596a375033a0ac25aaf6d30195ad0a84e02673 on joelleejh:v0.5 into 4e553fb78e4ca3e86f849220ee20d7d1aa9d68c2 on CS2103JAN2017-T11-B1:V0.5.

Coverage remained the same at 89.226% when pulling 3a596a375033a0ac25aaf6d30195ad0a84e02673 on joelleejh:v0.5 into 4e553fb78e4ca3e86f849220ee20d7d1aa9d68c2 on CS2103JAN2017-T11-B1:V0.5.


chemicalStructure

This concept is currently being used out in the wild but is not found in the schema. It seems sufficiently useful, and no term of same meaning already exists in schema.
Recommendation: add concept to schema

syn11614200 is the only project that has this annotation. Will look into conversion.

discussed in mtg that rather the possibility of using InChI per say - we could use LLMs to provide mapping to to them


[ENH] migrate annotator to alpaca eval

Planning / have to do:

[x] migrate annotators to alpaca eval
[x] inherit from alpaca eval to split instruction/input (need to make changes upstream to simplify inheritance)
[x] update configs to work with alpaca eval
[x] update documentation
[x] update notebooks
[x] test code for eval and annotations
[x] test variance (should be smaller than before)
[x] rerun the minimal leaderboard

Thins that I would ideally do but not planning to:

use the open AI generation from alpaca_eval instead of code duplication
remove alpaca_leaderboard and use alpaca_eval functions

closes https://github.com/tatsu-lab/alpaca_eval/issues/11

[ ] fix example table in README
[ ] bump pypi package version


FHIR Search Guide

Our existing guide on FHIR search was too basic (and not visible in the navbar). A lot of our users still had  questions about some of the basics of making FHIR queries, so I wrote this guide to explain some key concepts:

Search Parameters
Making Searches
Search Modifiers
Search Prefixes

Coverage: 93.98%. Remained the same when pulling 0f77dc3a12ac4b0f404d5034b676b71b9af63266 on rahul-search-pages into ee64d72c4f0a4f31a1fa3d36f01466aad25ad025 on main.

@rahul1 - How do you think about this being peer with "FHIR Datastore" vs being a child of "FHIR Datastore"?

Direct link to new doc: https://medplum-www-git-rahul-search-pages-medplum.vercel.app/docs/search/basic-search

@codyebberson I see your logic, but I was trying to follow our product ontology. Since our product page, GH labels, all have search as top-level, I tried to keep it parallel.  https://www.medplum.com/products
Also, want try to avoid 3-level hierarchy where possible.

Sorry for weighing in late here.  @rahul1 - search is in the product ontology https://www.medplum.com/products#search
I neglected to make it a top level item (pure oversight) when refactoring the docs in Sept.  Possible to create the heading?

There is already a base document https://www.medplum.com/docs/search - it's just not in the side nav.

@rahul1 @reshmakh

I was trying to follow our product ontology. Since our product page, GH labels, all have search as top-level, I tried to keep it parallel. https://www.medplum.com/products

Got it, this makes sense.

There is already a base document https://www.medplum.com/docs/search - it's just not in the side nav.

Rahul did exactly that in this PR.
This all lgtm 👍


Terminal random missing first character because parsing data " $" [[13,36,27,91,75,27,91,49,67]]

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.80.0 (user setup)
OS Version: Windows 11 10.0.22631
Git bash for Windows: 2.41.0.windows.1

Steps to Reproduce:

type gitk --all in terminal
it will random sometime missing first character -> itk --all
check terminal trace log showing parsing data " $" [[13,36,27,91,75,27,91,49,67]]

2023-07-13 15:07:52.341 [trace] terminalMultiLineLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:07:52.341 [trace] terminalLocalLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:07:52.341 [trace] terminalLocalLinkDetector#detect parsedLinks [[{"path":{"index":30,"text":"REMOVED_INFO"}}]]
2023-07-13 15:07:52.341 [trace] terminalLocalLinkDetector#detect linkCandidates [["REMOVED_INFO"]]
2023-07-13 15:07:52.354 [trace] terminalMultiLineLinkDetector#detect text ["$"]
2023-07-13 15:07:52.354 [trace] terminalLocalLinkDetector#detect text ["$"]
2023-07-13 15:07:52.355 [trace] terminalLocalLinkDetector#detect parsedLinks [[]]
2023-07-13 15:07:53.113 [debug] sending data "g" [[103]]
2023-07-13 15:07:53.129 [debug] parsing data "
$" [[13,36,27,91,75,27,91,49,67]]
2023-07-13 15:07:53.187 [debug] sending data "i" [[105]]
2023-07-13 15:07:53.208 [debug] parsing data "i" [[105]]
2023-07-13 15:07:53.297 [debug] sending data "t" [[116]]
2023-07-13 15:07:53.315 [debug] parsing data "t" [[116]]
2023-07-13 15:07:53.392 [debug] sending data "k" [[107]]
2023-07-13 15:07:53.423 [debug] parsing data "k" [[107]]
2023-07-13 15:07:54.395 [trace] terminalMultiLineLinkDetector#detect text ["$ itk"]
2023-07-13 15:07:54.395 [trace] terminalLocalLinkDetector#detect text ["$ itk"]
2023-07-13 15:07:54.395 [trace] terminalLocalLinkDetector#detect parsedLinks [[]]
2023-07-13 15:07:54.546 [trace] terminalMultiLineLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:07:54.546 [trace] terminalLocalLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:07:54.546 [trace] terminalLocalLinkDetector#detect parsedLinks [[{"path":{"index":30,"text":"REMOVED_INFO"}}]]
2023-07-13 15:07:54.546 [trace] terminalLocalLinkDetector#detect linkCandidates [["REMOVED_INFO"]]
2023-07-13 15:09:57.693 [trace] terminalMultiLineLinkDetector#detect text ["$ itk"]
2023-07-13 15:09:57.694 [trace] terminalLocalLinkDetector#detect text ["$ itk"]
2023-07-13 15:09:57.694 [trace] terminalLocalLinkDetector#detect parsedLinks [[]]
2023-07-13 15:09:58.312 [trace] terminalMultiLineLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:09:58.312 [trace] terminalLocalLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:09:58.312 [trace] terminalLocalLinkDetector#detect parsedLinks [[{"path":{"index":30,"text":"REMOVED_INFO"}}]]
2023-07-13 15:09:58.313 [trace] terminalLocalLinkDetector#detect linkCandidates [["REMOVED_INFO"]]
2023-07-13 15:09:58.432 [trace] terminalMultiLineLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:09:58.432 [trace] terminalLocalLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:09:58.433 [trace] terminalLocalLinkDetector#detect parsedLinks [[{"path":{"index":30,"text":"REMOVED_INFO"}}]]
2023-07-13 15:09:58.433 [trace] terminalLocalLinkDetector#detect linkCandidates [["REMOVED_INFO"]]
2023-07-13 15:09:58.472 [trace] terminalMultiLineLinkDetector#detect text ["$ itk"]
2023-07-13 15:09:58.472 [trace] terminalLocalLinkDetector#detect text ["$ itk"]
2023-07-13 15:09:58.473 [trace] terminalLocalLinkDetector#detect parsedLinks [[]]
2023-07-13 15:09:59.339 [trace] terminalMultiLineLinkDetector#detect text ["$ itk"]
2023-07-13 15:09:59.339 [trace] terminalLocalLinkDetector#detect text ["$ itk"]
2023-07-13 15:09:59.340 [trace] terminalLocalLinkDetector#detect parsedLinks [[]]
2023-07-13 15:09:59.353 [trace] terminalMultiLineLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:09:59.353 [trace] terminalLocalLinkDetector#detect text ["REMOVED_INFO"]
2023-07-13 15:09:59.353 [trace] terminalLocalLinkDetector#detect parsedLinks [[{"path":{"index":30,"text":"REMOVED_INFO"}}]]
2023-07-13 15:09:59.353 [trace] terminalLocalLinkDetector#detect linkCandidates [["REMOVED_INFO"]]

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.
/label upstream terminal-conpty windows


question regarding index with subject but without artifactType

OCI image spec 1.1.0-rc4 allows image index to have subject(updated in this commit) and artifactType(update in this commit). Since both fields are optional, it's possible that user can push an index with subject but no artifactType like below.
flowchart
index --subject--> image

My questions is: should such index be considered as valid when being pushed? If yes,

When Referrers API is enabled and user is trying to get the referrers of image, should the descriptor of index be included in the returned value of Referrers API?
When Referrers API is not enabled, client need to add a descriptor to the referrers index, what should the artifactType be in the newly added descriptor? Distribution-spec 1.1.0 rc3  only covers image referrer but not mentioning index.

resolved in #500


ERROR: This video is DRM protected

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.01.16
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

Microsoft Windows [Version 10.0.19041.746]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\yewhe\OneDrive\Desktop\bin>youtube-dl -v https://www.youtube.com/watch?v=WGTlO_GO29I
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=WGTlO_GO29I']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg git-2020-04-22-2e38c63, ffprobe git-2020-04-22-2e38c63
[debug] Proxy map: {}
[youtube] WGTlO_GO29I: Downloading webpage
[youtube] WGTlO_GO29I: Downloading embed webpage
[youtube] WGTlO_GO29I: Refetching age-gated info webpage
[youtube] WGTlO_GO29I: Downloading MPD manifest
ERROR: This video is DRM protected.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpfnvjp7pc\build\youtube_dl\YoutubeDL.py", line 805, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpfnvjp7pc\build\youtube_dl\YoutubeDL.py", line 826, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpfnvjp7pc\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpfnvjp7pc\build\youtube_dl\extractor\youtube.py", line 2427, in _real_extract
youtube_dl.utils.ExtractorError: This video is DRM protected.

Description

As far as I know, YouTube Movies is an official channel allowing films to be watched with payment or free with ads. This service was previously only available in the U.S., but since yesterday, the free-to-watch-with-ads films are available to watch outside of U.S. as well.
I was trying to download one of such films with youtube-dl (in this case the 1980 film 'Raging Bull'), but the results say that the video's DRM-protected.

If the video is in fact encrypted, why doesn't it download any of it? I would see for myself if it was encrypted if I could download it


Fix docs

Thanks for the PR! Looks good to me apart from one small nit.

Also I found a bug:
//! ```compile_fail
//!# use compact_arena::mk_nano_arena;
//! mk_nano_arena!(a);
//! mk_nano_arena!(b);
//! let i = a.add(1usize);
//! let j = b.add(1usize);
//! let _ = b[i];
//! ```

Oh dear. This seems to hinge on the fact that the arena is not Copy, because in that case the drop check doesn't apply.  @RalfJung can you confirm this or is there a different reason?
In any case, we better remove the uninit feature then, make that code the default and create a new nightly feature that uses MaybeUninit.

Uh, not sure, what is going on here?

Hm, this also gets accepted. So maybe one cannot use the lifetime of a local after all? Seems like NLL has too much control here.

In that case, we best reactivate the unique type tags. It appears the invariant lifetime catches recursion, so having both might suffice. However I wouldn't want to be the one to prove this...

So, this means we can no longer have mk_arena!, because that would mean using two of them would give us two Tag types in the same scope which is an error. However, this might work, using the previous in_arena! macro with a side of invariant lifetime.

Otherwise we'd need to get a scope-unique identifier for the lifetime.

Otherwise we'd need to get a scope-unique identifier for the Tag.

How about creating a unique ident for a Tag struct with file! line! column! ? To get struct Tag_name_line_column {}

I reverted that:
//! ```compile_fail
//!# use compact_arena::mk_nano_arena;
//! mk_nano_arena!(a);
//! mk_nano_arena!(b);
//! let i = a.add(1usize);
//! let j = b.add(1usize);
//! let _ = b[i];
//! ```

This should be fixed in another issue

In that case, we best reactivate the unique type tags. It appears the invariant lifetime catches recursion, so having both might suffice. However I wouldn't want to be the one to prove this...

Well, clearly the borrow checker is doing something here that we don't want it to do, and without understand what that is I'd not trust any of these schemes.

An interesting fact is that it appears to work when the Arena can drop.

It may be interesting to look if we can get the correct lifetime check by adding a value with drop to the arena.

Even more interestingly, I couldn't reproduce the error by copying your playground example into a doctest. Maybe the crate barrier does something that fails within a single crate?

@llogiq would you please merge this PR and create a special issue for this case?

Sure!


[QUESTION] The server has been rebooted, but the CSI plugin cannot start, causing all services to be paralyzed. What should I do?

I also attempted to restore using the etcd backup of k3s, but still cannot start. What else can I do?

longhorn-csi-plugin is waiting for the longhorn-admission-webhook, The replicaset for longhorn-admission-webhook is reporting an error with the following message: 'Error creating: Internal error occurred: failed calling webhook "consul-connect-injector.consul.hashicorp.com": failed to call webhook: Post "https://consul-connect-injector.consul.svc:443/mutate?timeout=10s": no endpoints available for service "consul-connect-injector." why need consul？

Unfortunately, this error message has very little to do with Longhorn. It sounds like your Kubernetes cluster is configured to use a Consul service mesh. The webhook being called here is a Consul-maintained mutating webhook intended to inject some or all of the pods in your cluster with sidecar containers (https://developer.hashicorp.com/consul/docs/k8s/connect#installation-and-configuration). The CSI plugin pods cannot start because communication with the Consul webhook is failing. You will have to troubleshoot and/or remove your Consul deployment. Please consult the Consul maintainers as necessary for help.
I'm going to close this one for now. Please feel free to open a new discussion or issue if you manage to get past this Consul issue and are still having trouble with Longhorn.


Show path of Het solutions

It would be useful if it highlighted the tiles where mirrors need to be placed to solve the puzzle

I wrote a solver for path of het last night as a standalone plugin. Is there still any interest in me integrating this into the plugin?

I am still interested

I've pushed a solver in 113a296c44aac40ca5fa4d43071e8f840481c6d8
Will test a bit more tomorrow then release

Released


Update Python3 to 3.8.11

Motivation
3.8.11 has been out for a while and fixes some issues in 3.8.10
Describe how to test your changes

Verify that Python checks still run

Checklist

[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] The appropriate team/.. label has been applied, if known.
[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.

(I'll merge this when it's green(ish..)


Bot Version 2.0.0

This version now comes with slash command /unbann-all for unbanning users. (Thus removing the legacy command !unbanall)
Updated the README.md to reflect the following changes.
Added README_old.md for v1.x bots (v1.0.0 & v1.1.0)

Along with these changes, it would be nice to edit the description in the releases page.
For the initial release, add "Bot version 1.0.0"
For the 2nd release, add "Bot version 1.1.0"

This time the PR will have conflicts, so do not worry, accept the changes I have made

I like the idea of using Slash commands with this, but the main reason I would like to keep it the way it is because operations are simple and easy. Theres a few things that could make the current code better like giving the user an invite of the bot without input of a client id. I feel like theres just to many steps when your setting this up for someone who may not know whats happening when they come accross errors. In the end I made this for someone who doesn't know how to code or set something up if they search like "discord mass unbanner" on google.

Also the wording of the readme I made is somewhat bad so I think that could be redone

To be real, Discord themselves will remove the support for prefix-based commands (which rely on the Privileged Message Intent) by April 2022 (or was it 2024🤔)
Anyways, I have an idea, I'll separate the slash command version & prefix version into different README files and the code itself as well.
So, the users will have both choices to go for. In this way your thought process is satisfied and my so-called urge to encourage people to use Slash commands will also get fulfilled.

Here is what i'm thinking:
Renaming index.js to botv2.js
Adding botv1.js
in the package.json scripts, I'll add 2 scripts - npm run bot1 & npm run bot2

I didn't have time to actually run the code earlier when I commented, but I actually think it's good and not hard.


[RFC] Notification on index operation statuses

Problem statement
Index operations may take tens of minutes or even hours to complete (e.g. reindex, split). However, there is no way for admins to get informed on status or the completion of long running operations. Admins also do not currently have any visibility to track their jobs and get notified when an operation is complete through the channel of their choice. Currently they have to be actively on Dashboards UI to see updates via toast notification banners, but others won’t be able to see the toast because they are not in the same UI session. Another workaround is to manually run different APIs to check the operation status until it’s done, which is not convenient at all. We plan to enhance this experience through this notification feature.
What are you proposing?
We’d like to increase visibility on monitoring long-running index operations through notifications. Admins can get notified through their email or slack channels (channels defined in Notification framework) on upcoming operations that have been completed or failed. In addition, admins can configure these notifications globally, so they will not need to manually configure notifications for every single operation. Users can also add run time notifications when submit those long-running index operations. For this feature, we will be focusing on operations that are long running and not notify users for create/read/update where it can be done quickly and currently has the toast functionality.
This issue focuses on the user experience of configuring notifications for index operations in Dashboards. It's based on this API propsal issue.
What is the user experience going to be?
Global notifications on index operation statuses
Admin can also define global notification settings for long running operations. Admins can go to “Index management” section of Dashboards to configure global notifications for index operations. Admins can then choose who to get notified, so users don’t need to configure notification every time they trigger an operation.

View notification settings while starting shrink or other index operations
If the notification settings is defined globally, users who trigger an operation (e.g. Shrink index flow) will see the notification channels selected for them. Users will have the option to add additional notification channels for this workflow, but users won’t be able to remove the channels defined globally by the admin.

If there are not global notification settings defined, users can opt-in to get notified on this operation’s status (Failed/ completed). Users can select who to get notified from a list of channels defined in notification framework. The notification settings will only be for this particular operation.

Notified on operation statuses
Users who triggered operations within Dashboards will be informed of the operation’s status (Failed/completed) through in-app toast messages.

Users who set up notification will receive status updates through the defined channels. In this example receive via a slack channel:

Your feedback is needed!
Any comments about the overall direction are welcome. Some specific questions:

When managing and administrating OpenSearch, what are your use cases where notification would be useful?
What statuses do you find useful to get notified?

Thank you!

Closing issue. Feature has been released in OpenSearch 2.8.


Error message while running the app

Describe the bug
It gives me a Module not found error message
/usr/bin/python3: can't find '__main__' module in '/home/griphcode/Griphitor-Rewrite/.'
Expected behavior
Opens app without problems
Screenshots

Desktop (please complete the following information):

OS: [Linux Debian 11]
Python Version [2.7.18]

Don't use python2, use python3.9.7
Install dependencies before anything:

sudo apt update
sudo apt install python3-tk

git clone it
cd to repo
cd to src
run:

python3 .

Also.
STOP RENAMING THE REPO

you forgot to cd to src dumass


question about guessing multiple valid hashids given one valid hashid

I have noticed a pattern with hashids where if you have one hashid, you can easily find other hashids  by removing individual characters.
For example, with a particular salt i generate a hashid jnmq4r.  Using that hashid, if I remove characters from the string and try to decode those shorter strings, i get a valid number.
for example:

hashid
decoded number

jnmq4r
214003

jmq4r
54003

jnq4r
14003

jnm4r
10403

jnmqr
10703

jn4r
403

jq4r
6003

This means that if a user is given a hashid, they can easily guess numerous other valid hashids.  It also means that if i want to do a quick check that a typed string is a valid hashid that can be mapped back to an integer using our salt, and there is a typo where a single letter is omitted, there is a very high probability that the error will not be detected.
I get that hashids are not meant to be cryptograhically secure or strong, but I need something where given a set of valid codes it is still somewhat difficult go guess or generate additional valid codes.
Is there any way I can still accomplish this with hashids, or do I need to go looking somewhere else?

Correct.
It's the same with regular hex -- if you remove characters, you'll get valid numbers. The "salt" is there so that your 214003 differs from another project's 214003, and so that its harder to guesstimate what the next number in the sequence (214004) will convert to.
Sounds like you need another lib.

Actually, I have been experimenting a bit and it seems like I can accomplish what I need by encoding multiple values into a single hashid.  if I encode(214003,1) instead of encode(214003) and remove single characters from the encoded hashid, those do not readily decode back to a valid pair of numbers.  Adding the second number seems to scramble the characters better.
I had tried encode(214003, Date.now() %100) but I don't even think that is necessary, simply adding a static 1 seems to work.

When "guessing" the numbers, one would also need to know the salt used, (as well as the order of the alphabet used) when the numbers were encoded in order to properly decode the value.
If you are using the default alphabet and no salt, then the hasid can easily be decoded..
Hashids is an obfuscation library, not an encryption library.  Anyone with the cpu power of a pocket calculator could probably decode any hashid given enough samples.

If you add a number in the front (i.e. a random number) and encode that random number and your regular sequential number, you will get more obfuscation., and less patterns will show.

I get that, and that's fine for my purposes.  I just don't want it to be trivially easy to stumble across another valid hashid by slightly varying a hashid that has been issued

Entropy is your friend.
Encode two numbers to generate your hashids, with the first number being the entropy (and discardable, usually a random number),and the second number is your sequential value (i.e. primary key ID).  This will generate slinger hashids, but will make them appear more random. Taking the idea a step further would be to encode a 3rd number (random as well) at the end.  Ensure the random numbers vary in the number of digits they have as well (i.e. from 1 to 6 digits).
The only issue is if you re generating the IDs every time then you would need to store the entropy value alongside the sequential number so you can regenerate it.  But if you are storing the calculated hashid, then you wouldn't need to.

That's perfect.  Thank you  for your quick responses!


[FLINK-19012][task] Check AsyncCheckpointRunnable status before throwing an exception

What is the purpose of the change
Currently, AsyncCheckpointRunnable throws an exception if SubtaskCheckpointCoordinatorImpl is closed.
However, it should also check its own status as it might be a normal case.
Verifying this change
The change is covered by existing end-to-end tests which are currently failing.
Unit testing would involve concurrency which I think would be overkill for essentially a logging problem.
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 changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

I don't see any easy way to test it because there are 2 threads involved and SubtaskCheckpointCoordinatorImpl and AsyncCheckpointRunnable being tightly coupled.
Given that the only issue impact is CI failures, I think we can skip testing this fix.

Thanks for reviewing and merging!


Define data model for Charge Link (and Metering Point)

Synopsis
Define the data model needed for storing charge links
Acceptance criteria:

The data model has been defined and documented in GitHub
It has been approved by PO (and preferably a SME)
If new stories are needed to implement/refactor this data model output, they have been added.

Draft PR is up: https://github.com/Energinet-DataHub/geh-charges/pull/506

@prtandrup, we use the term "data model" for both the .NET/EFCore data model and the storage model. Could we perhaps agree on a naming without this ambiguity?


adding jupyter notebook output format to bigmler reify

Yes, I just realized I did not update the documents.
mercè
On Wed, Nov 7, 2018 at 9:37 PM, jao<EMAIL_ADDRESS>wrote:

@jaor commented on this pull request.
looks good, but shouldn't we document this feature somewhere? it's pretty
neat we can generate notebooks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bigmlcom/bigmler/pull/214#pullrequestreview-172687633,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsFG-utY7FU2y2b7MwdVvpiTPpQiwzDks5us0R2gaJpZM4YRlW2
.


Card component

Duplicate of https://github.com/aemsites/jet2holidays-portugal/issues/9 and coverd by https://github.com/aemsites/jet2holidays-portugal/pull/76


Feature Request:  raw_filter and tgt_filter parameters

Feature Idea
Introduce functionality to filter the raw and target datasets while performing a mapping.
Example If conditions

Involving raw_dat

If [AESOS.AESO] == 1 and [AESOS.AESOSP] is null then hardcode  OE.OEORRES = 'Y'
AESOS is the raw dataset and AESO, AESOSP are variables in the raw dataset. OE is the target domain and OEORRES is the target variable.

hardcode_no_ct(
  raw_dat = AESOS,
  raw_var = AESO,
  tgt_var = OEORRES,
  tgt_val = "Y",
  tgt_dat = OE_INTER,
  raw_filter = (AESO == 1 && !is.na(AESOSP)),
  tgt_filter = NULL,
  id_vars =[ oak_id_vars](https://pharmaverse.github.io/sdtm.oak/reference/oak_id_vars.html)()
)

If [AESOS.AESO] == 1 and [AESOS.AESOSP] is null then hardcode OE.OETESTCD = 'IOISYMPO'
hardcode_ct(
  raw_dat = AESOS,
  raw_var = AETERM,
  tgt_var = OETESTCD,
  tgt_val = 'IOISYMPO',
  ct_spec = study_ct,
  ct_clst = "C123456",
  tgt_dat = NULL,
  raw_filter = (AESO == 1 && is.null(AESOSP)),
  tgt_filter = NULL,
  id_vars =[ oak_id_vars](https://pharmaverse.github.io/sdtm.oak/reference/oak_id_vars.html)()
)

Involving tgt_dat

If VS.VSTESTCD = 'TEMP', assign the value collected in VTLS1.TEMPLOC to VS.VSLOC.
VTLS1 is the raw dataset name and TEMPLOC is a variable in the raw dataset. VS is the target domain and VSLOC is derived.
assign_ct(
  raw_dat = VTLS1,
  raw_var = "TEMPLOC",
  tgt_var = "VSLOC",
  ct_spec = study_ct,
  ct_clst = "C12123431",
  tgt_dat = vs_inter,
  raw_filter = NULL,
  tgt_filter = (VSTESTCD == "TEMP"),
  id_vars =[ oak_id_vars](https://pharmaverse.github.io/sdtm.oak/reference/oak_id_vars.html)()
)

Involving raw_dat and tgt_dat but separate conditions
If [AECOV19.SPECTYP] is not null, and FA.FATESTCD = 'STATUS' and FA.FAOBJ = 'Severe Acute Resp Syndrome Coronavirus 2' assign the value collected in SPCNM to then FA.FASPEC.
In this example AECOV19 is the raw dataset name, SPECTYP is a variable in the raw dataset. THe condition also involved the target domain FA, FAOBJ nad FATESTCD are previously derived SDTM variables and FASPEC is the SDTM variable that is currently derived.
assign_ct(
  raw_dat = AECOV19,
  raw_var = "SPCNM",
  tgt_var = "FASPEC",
  ct_spec = study_ct,
  ct_clst = "C1212121",
  tgt_dat = fa_inter,
  raw_filter = (is.null(SPECTYP)),
  tgt_filter = (FATESTCD == "STATUS" && FAOBJ  == "Severe Acute Resp Syndrome Coronavirus 2"),
  id_vars =[ oak_id_vars](https://pharmaverse.github.io/sdtm.oak/reference/oak_id_vars.html)()
)

Involving raw_dat and tgt_dat in the same condition
We may not be able to support this.
MH.MHLOC when MH.MHTERM = [GCAHX.NCITERM] or [GCAHX.NCITERMO]
Relevant Input
No response
Relevant Output
No response
Reproducible Example/Pseudo Code
No response

As per discussion with @rammprasad  I will implement instead a separate function to mark records in tibbles for filtering. The new function will be: condition_by().

As per discussion with @rammprasad I will implement instead a separate function to mark records in tibbles for filtering. The new function will be: condition_by().

Shall we name the function add_cond() or add_condition()?

The example will look like below.
Example If conditions
Involving raw_dat
If [AESOS.AESO] == 1 and [AESOS.AESOSP] is null then hardcode OE.OEORRES = 'Y'
AESOS is the raw dataset and AESO, AESOSP are variables in the raw dataset. OE is the target domain and OEORRES is the target variable.

hardcode_no_ct(
  raw_dat = add_cond(AESOS, AESO == 1 && !is.na(AESOSP)),
  raw_var = AESO,
  tgt_var = OEORRES,
  tgt_val = "Y",
  tgt_dat = OE_INTER,
  id_vars = oak_id_vars()
)

If [AESOS.AESO] == 1 and [AESOS.AESOSP] is null then hardcode OE.OETESTCD = 'IOISYMPO'
hardcode_ct(
  raw_dat = add_cond(AESOS, AESO == 1 && is.null(AESOSP)),
  raw_var = AETERM,
  tgt_var = OETESTCD,
  tgt_val = 'IOISYMPO',
  ct_spec = study_ct,
  ct_clst = "C123456",
 id_vars = oak_id_vars()
)

Involving tgt_dat
If VS.VSTESTCD = 'TEMP', assign the value collected in VTLS1.TEMPLOC to VS.VSLOC.
VTLS1 is the raw dataset name and TEMPLOC is a variable in the raw dataset. VS is the target domain and VSLOC is derived.
assign_ct(
  raw_dat = VTLS1,
  raw_var = "TEMPLOC",
  tgt_var = "VSLOC",
  ct_spec = study_ct,
  ct_clst = "C12123431",
  tgt_dat = add_cond(vs_inter, VSTESTCD == "TEMP"),
  raw_filter = NULL,
  id_vars = oak_id_vars()
)

Involving raw_dat and tgt_dat but separate conditions
If [AECOV19.SPECTYP] is not null, and FA.FATESTCD = 'STATUS' and FA.FAOBJ = 'Severe Acute Resp Syndrome Coronavirus 2' assign the value collected in SPCNM to then FA.FASPEC.
In this example, AECOV19 is the raw dataset name, and SPECTYP is a variable in the raw dataset. The condition also involved the target domain FA. FAOBJ and FATESTCD are previously derived SDTM variables, and FASPEC is the SDTM variable that is currently derived.
assign_ct(
  raw_dat = add_cond(AECOV19,  is.null(SPECTYP)),
  raw_var = "SPCNM",
  tgt_var = "FASPEC",
  ct_spec = study_ct,
  ct_clst = "C1212121",
  tgt_dat = add_cond(fa_inter,  FATESTCD == "STATUS" && FAOBJ  == "Severe Acute Resp Syndrome Coronavirus 2"),
  id_vars = oak_id_vars()
)

Involving raw_dat and tgt_dat in the same condition
We may not be able to support this. Take a look and let me know @ramiromagno
MH.MHLOC when MH.MHTERM = [GCAHX.NCITERM] or [GCAHX.NCITERMO]
Map the collected value in GCAHX raw_dat locat raw_varialble to MH.MHLOC when this condition is met MH.MHTERM = [GCAHX.NCITERM] or [GCAHX.NCITERMO]
assign_ct(
  raw_dat = GCAHX
  raw_var = "SPCNM",
  tgt_var = "FASPEC",
  ct_spec = study_ct,
  ct_clst = "C1212121",
  tgt_dat = add_cond(mh_inter,  MHTERM %in% GCAHX$NCITERM || MHTERM %in% GCAHX$NCITERM O),
  id_vars = oak_id_vars()
)

To help understand that use case involving variables of raw_dat and tgt_dat in the same condition, could you share how you currently do it with roak if_then_else() interface?

What should happen if the condition results in NA?

To help understand that use case involving variables of raw_dat and tgt_dat in the same condition, could you share how you currently do it with roak's if_then_else() interface?

The {roak} processes it very differently, and it is driven by metadata. The main branch has an example. Please refer to the example mapping CMMODIFTY with the annotation text If different to CM.CMTRT, then CM.CMMODIFY means if the value in the collected column CMMODIFY is different from the CMTRT, the mapping will happen. It is carried out using the spec parameters condition_left, condition_right, and condition_operator. {roak} reads it and processes the logical condition.

What should happen if the condition results in NA?

If no records match the criteria, we create the tgt_var as an empty column.

Preferred option to handle complex if condition.
#when using in-pipe
|>
assign_ct(
raw_dat = GCAHX
raw_var = "SPCNM",
tgt_var = "FASPEC",
ct_spec = study_ct,
ct_clst = "C1212121",
tgt_dat = add_cond(.data$MHTERM %in% GCAHX$NCITERM || .data$MHTERM %in% GCAHX$NCITERMO),
id_vars = oak_id_vars()
)


Updates for LinkOut file generation

Discovered that some of the datasets were blowing out the MySQL TEXT field size on the stash_engine_external_reference table that stores the GenBank sequence ids! So converting the field to LONGTEXT (one dataset on stage had over 100k sequences 😱 .
Updated the DTD location and enabled the DTD validation code (the old linkout DTD did not validate)
Added rescue block so that the Genbank Sequence will continue on if one of the records causes an error

Hi Brian,
Can you do a quick run of bundle exec rubocop -a over the stash engine class to fix issues it mentions?
It looks like there are a couple of minor style things.  It also seems like it's suggesting to catching StandardError rather than the exception class since I think it catches a more limited set of errors (but still most)
Thanks for looking at this.


niri: fix regression introduced in 0.1.3

Description of changes
Shortly after releasing v0.1.3 of niri, it was discovered that https://github.com/YaLTeR/niri/commit/348690afb637514a38ad53fd61bf5e0102e419d6 introduced a regression that caused input to break in Chromium, and thus also all Electron apps.
To reproduce this issue:

run niri v0.1.3 without this patch
open an Electron app, for example Element which i tried it with.
resize the electron window. by default, this is Alt+R when running in nested mode
the right side of the window will be unresponsive to mouse clicks

The release notes for v0.1.3 have been amended to suggest packagers include a patch to revert the offending commit: https://github.com/YaLTeR/niri/releases/tag/v0.1.3
This PR adds the recommended patch (https://github.com/YaLTeR/niri/commit/40cec34aa4a7f99ab12b30cba1a0ee83a706a413)
I also added myself as a maintainer, since I'm a contributor to niri and I manage a set of nix packages and modules on my own. I'd be happy to maintain it on nixpkgs as well.

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Package was successfully built. I can confirm the regression is fixed. All looks good to me.

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

1 package built:

niri


[Grid] initial component

As a consumer of Mineral I would like a grid component to layout pages and content in our application.
AC:
Responsiveness
Show your work
Build a component
Thoughts/Ideas:
Grid Container
Grid Row
Grid Item
Follow Up / Addition:
Apply Grid to Site
Apply Grid to first targeted product Layout as some example
Other Considerations:

Multiple Components
Multiple Packages?
Grid Layout (probably not CSS Grid, sorry Rachel)
Left/Right Support
Distribution of Space
RTL Support (start/end)

For reference: https://www.rachelandrew.co.uk/archives/2017/07/01/you-do-not-need-a-css-grid-based-grid-system/

Possible follow-up:

Add support for offset (margin-start), push (relative positioning from the left), pull (relative positioning from the right) props
Default breakpoints prop to available breakpoint theme variables

Not done in first PR as Flex and StartEnd should likely change to work in the same manner
And getResponsiveStyles should probably be updated

Nested Grid example?


⚠ Bofrost.lu has degraded performance

In e55fe15, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1361 ms

Resolved: Bofrost.lu performance has improved in 7d7b141.


Applied fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Not got sublime setup right yet, lol.

lol


Add methods to test Google Cloud Build resources

This PR adds methods to test Google Cloud Build resources.
Update: I also had to bump the Azure SDK as https://github.com/google/go-containerregistry also depends on it and the older versions were causing a conflict.

Merging


I487 handle duplicate when sorting

Sorting function now handles duplicates in df.index. A few associated bugs also fixed.

This PR resolves #487.


Unbreak ruby install by pinning brew gnupg (backport to v1.34.x)

Backports https://github.com/grpc/grpc/pull/24837
This is necessary for being able to build artifacts and run distribtest on the release branch.

Failed tests are also failing on master.


DBZ-1209 Remove events skipped metric form common metrics

https://issues.jboss.org/browse/DBZ-1209

Applied; thanks, @jpechane!


Model instance as a parameter for update / delete ?

Hello,
I have noticed that you are using the findOrFail method for the following methods : update or delete.
But what if the app retrieves the model with an other attribute than the ID ?
Example :
The user request a blog article. The url is http://myblog.com/posts/the-prettus-repository.
The route parameter is not an ID but a slug. Since the repository accepts only an ID, we should find the model by its slug attribute and then pass the model's ID to the update / delete method. And then, the repository makes another query to retrieve (again) the model from the database.
So we perform two queries for a simple update or delete, when we can perform only one query. If there is any FormRequest with a unique check involved, it makes three requests for the same model.
What about :

Allow to pass the model instance to the update / delete method so that the repository doesn't make another query ?
Completely remove the find query from the update / delete method since i'm not sure finding the model to be updated or deleted is the repository responsibility ? (at least not in the update / delete method)

Thanks,

Also,
When using softDeletes, you can not update a deleted model because the update method use the findOrFail() method without the "withTrashed()" parameter.
And it seems impossible to change the way the update method retrieves the model instance.

I've been very busy in recent months with my work projects, which eventually pulling away of my personal projects, so it could not provide the necessary support to you, I am more relaxed now and I'm checking all the issues in order to work on fixes and new implementations, apologize to everyone.

You could just overwrite the update method for your special post repository or add a new updateBySlug() / updateByModel.
I agree that update and create should use scopes/criteria as well.


Upgrade versions-maven-plugin 2.15.0 -> 2.16.0

This PR contains the following updates:

Package
Type
Update
Change

versions-maven-plugin (source)
build
minor
2.15.0 -> 2.16.0

Release Notes

mojohaus/versions-maven-plugin
v2.16.0
Compare Source
Changes
🚀 New features and improvements

Use update policy DAILY instead of NEVER for remote repositories (#957) @slawekjaranowski
Issue #74: Add display-extension-updates (#908) @ajarmoniuk

🐛 Bug Fixes

Resolves: display-dependency-updates only shows updates from the most major allowed segment (#966) @ajarmoniuk
Resolves #931: Fixing problems with encoding in UseDepVersion and PomHelper (#932) @ajarmoniuk
Resolves #916: Partially reverted #799. (#924) @ajarmoniuk
Resolves #954: Excluded plexus-container-default (#955) @ajarmoniuk
Resolves #951: DefaultArtifactVersion::getVersion can be null (#952) @ajarmoniuk
BoundArtifactVersion.toString() to work with NumericVersionComparator (#930) @ajarmoniuk
Issue #925: Protect against an NPE if a dependency version is defined in dependencyManagement (#926) @ajarmoniuk

📦 Dependency updates

Bump mojo-parent from 74 to 75 (#970) @dependabot
Bump commons-io from 2.11.0 to 2.12.0 (#958) @dependabot
Bump plexus-archiver from 4.6.3 to 4.7.1 (#950) @dependabot
Bump junit-bom from 5.9.2 to 5.9.3 (#947) @dependabot
Bump mojo-parent from 73 to 74 (#936) @dependabot
Bump woodstox-core from 6.5.0 to 6.5.1 (#944) @dependabot
Bump plexus-archiver from 4.6.2 to 4.6.3 (#937) @dependabot
Bump plexus-utils from 3.5.0 to 3.5.1 (#928) @dependabot
Bump plexus-archiver from 4.6.1 to 4.6.2 (#927) @dependabot

📝 Documentation updates

Resolves #921: Clarify dependencyIncludes/dependencyExcludes (#956) @ajarmoniuk

👻 Maintenance

Fix deprecated goals in ITs poms (#953) @slawekjaranowski
Bump actions/stale from 7 to 8 (#938) @dependabot

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

Warning
Renovate's suggested commit message is being replaced with improved initial commits to enable automerging. As a side effect, these suggested commit messages might have changed. Consider comparing the initial commit message and this message to determine the most suitable one. Please leave feedback in #sys-renovate.

Suggested commit message:
Upgrade versions-maven-plugin 2.15.0 -> 2.16.0

See:
- https://github.com/mojohaus/versions/releases/tag/2.16.0
- https://github.com/mojohaus/versions-maven-plugin/compare/2.15.0...2.16.0


logout feature

add logout feature which will clear the  browser local storage

Thank you

add this code  with logout button
localStorage.clear();

I would not suggest clearing the whole localStorage. I'm using this project on a subdirectory of my domain, and I also have some very important data stored in localStorage.
It would be better if we clear only those keys which are set by Admin UI.

@fahadpf
i agree with you

It would be really great if this could be implemented

@Thomas-1985 could you please explain your use case?
I'm not sure about the feature that is requested here. Should we overload the "update" button?

Well there should be a "logout" button that logs you out of the ui. Like @fahadpf mentioned, the code should only clear the set localStorage keys and not clear it out completely (there could be other data stored).

This excellent piece of software is sorely lacking this feature - it would make this product almost PERFECT.  Please implement.


Allow for not using any pidfile

It's pointless to require a pidfile with any modern process supervisor, or when just running acmed locally in a terminal for debug purposes, especially that it just serves as a lockfile with extra steps.

even when not supervising (i.e. default openrc service manager that just starts something and forgets about it), the service manager is supposed to background and manage pidfiles itself, as letting processes create/write pidfiles with their own permissions is useless for the service manager, as that means it will later trust the process to not have written something like 1 into the pidfile and accidentally kill pid 1. not exactly sure when the --pid-file is ever useful here, as it's not really the 'ideal' way for any form of service management.

Indeed. Thanx for the request, I'll add it today.


Is there any readme file to install this Extension on Visual Studio 2019 or 2022?

This is a Visual Studio Code extension, you can download and install it form here


Image fallback placeholder and spinner

Is it possible to have the image fallback placehoder and the spinner enabled at the same time?
I see it is this line of code here.
<ion-spinner *ngIf="spinner && isLoading && !fallbackAsPlaceholder"

I just extended the class and did it myself =)


Limit size of Knowledge Panel lists

Knowledge Panel lists of authors and works can be indefinitely long. Their size should be limited, with a "more" link to expand.

Resolved a merge conflict with this branch

An improvement to this feature, including "less" links, is in pull request https://github.com/LD4P/discovery/pull/56


Add support for shape property in dataset and support for read function that returns multi-dimensional array

Dataset sometimes includes multi-dimensional array. For example, a weights parameter of convolution layer has 4 axes (e.g. 3, 3, 1, 32). In h5py, group[parameter_name] returns multi-dimensional array and group[parameter_name].shape returns a tuple like (3, 3, 1, 32). To handle multi-dimentional operation, I need this support.
Regarding for read function that returns multi-dimensional array, related code in h5py might be found here: https://github.com/h5py/h5py/blob/master/h5py/h5d.pyx#L145
Regarding for shape property, it use get_space()that uses SpaceID(H5Dget_space(self.id)) and get_simple_extent_dims(): https://github.com/h5py/h5py/blob/master/h5py/h5d.pyx#L126
I really need these API. Please let me know if you have any other ways to get them. Thank you for your support!

For the second part (shape property), I now found that I can use dataSet.space.dims to get the information. I'm still not sure how to get the multi-dimensional array.

You can use read it will flatten the data into a 1-dimensional array but then you can use Upsurge if you want to perform tensor/matrix operations on it.

After getting multi-dimensional array, I'd like to do swapaxes operation.
https://docs.scipy.org/doc/numpy/reference/generated/numpy.swapaxes.html
Does Upsurge have that method?

I can do manually like this:
var newArray = Array<T>()

if ((axis1 == 0 && axis2 == 1) || (axis1 == 1 && axis2 == 0)) {

  for j in 0..<dimensionOfArray[1] {
    for i in 0..<dimensionOfArray[0] {
      for k in 0..<dimensionOfArray[2] {
        for l in 0..<dimensionOfArray[3] {
          newArray.append(originalArray[i*dimensionOfArray[1]*dimensionOfArray[2]*dimensionOfArray[3] + j*dimensionOfArray[2]*dimensionOfArray[3] + k*dimensionOfArray[3] + l])
        }
      }
    }
  }


Add a Test_MDBT_nRF52833 Board

Test

@MWLEEmwlee thanks for the PR!
Please take a look at https://docs.zephyrproject.org/latest/contribute/guidelines.html#pull-requests-and-issues to correctly format your commits.
Please do not close this PR, and instead use git push -f to fix the commits.


Log unexpected warnings during fetching as additional error

Shorten Selenium error messages sent via Signal or API response

Codecov Report

Merging #93 (e2c8d87) into main (d880513) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #93   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           40        40
  Lines          578       578
  Branches       208       208
=========================================
  Hits           578       578

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Migrate Dagger Hilt to KSP

Unfortunately, Dagger's KSP support is far from being ready to be used. Closing for now.


if Time and space are fixed variables.

Time and space are fixed measurements therefore it can be calculated the objects in a photo and their relative size proportional to scale of other objects to provide relative manipulation of digital images in real time simulations or for mixed reality viewing used for object insertions in virtual environments. Some of us are still windows lovers. Linux sometimes doesn't play nice in sandbox. This information will be valuable in proving real-time data image collection for legal issues. Time stamps and metadata can be used if not altered, can digital images be used in court without metatags?

@jwmsft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mijacobs  - Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
Thanks!
#label:"aq-pr-triaged"

I don't work on this content, adding @John Kennedy Direct @.***>, the team that does.
From: Anna Huff @.>
Sent: Monday, May 16, 2022 9:59 AM
To: MicrosoftDocs/windows-uwp @.>
Cc: Mike Jacobs @.>; Mention @.>
Subject: Re: [MicrosoftDocs/windows-uwp] if Time and space are fixed variables. (PR #3838)
@mijacobshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmijacobs&data=05|01|Michael.Jacobs%40microsoft.com|3611b8f196fd4e1ae96f08da375d658c|72f988bf86f141af91ab2d7cd011db47|1|0|637883171521448671|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=K2D3NAZynzCniz6Fn%2FGu0HyYnyaLMQKqqs0kftOufp0%3D&reserved=0 - Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
Thanks!
#label:"aq-pr-triaged"

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-uwp%2Fpull%2F3838%23issuecomment-1127912450&data=05|01|Michael.Jacobs%40microsoft.com|3611b8f196fd4e1ae96f08da375d658c|72f988bf86f141af91ab2d7cd011db47|1|0|637883171521448671|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2FKKzkdbTy5r0DFcDT0vmA8hloV21%2FA6rnSfvSCbyEF4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD7PIIERQPA5QGZVJ5UQJ5LVKJ5F3ANCNFSM5WAMDXGQ&data=05|01|Michael.Jacobs%40microsoft.com|3611b8f196fd4e1ae96f08da375d658c|72f988bf86f141af91ab2d7cd011db47|1|0|637883171521448671|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=WvJ%2F%2BGBEI364n8mejFyBG3NfZ7St9%2FiMVO2qdjSTvS0%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

The title and text confuse me, but the update seems legit, thanks!
-John


Absolute paths in public/dist/web/loadable-stats.json

💬 Questions and Help

Search if your answer has already been answered in old issues

done

First of all thanks for your job!
On local comp, app based on your package works, but if i deploy it to production, in loadable-stats.json remain absolute "outputPath": "/home/myuser/projects/lc0/public/dist/web", and prod app dont work as expected
UnhandledPromiseRejectionWarning: Error: Cannot find module '/home/xxxxxx/projects/lc0/public/dist/node/main-bundle-4fcad2fb.js'
what can be done with it? Thanks.

Hello @valorloff, you have to specify the outputPath in the ChunkExtractor, this way it will override it. https://www.smooth-code.com/open-source/loadable-components/docs/api-loadable-server/#chunkextractor

But this is the default resolving outputPath to absolute path like:
/home/xxxxxx/projects/lc0/public/dist/node/
which correct on local comp only!
in stats.json file paths should look like /public/dist/...,  not /home/user/....,
no?

after I changed by this way:
const nodeExtractor = new ChunkExtractor({
            statsFile: nodeStats,
            outputPath: path.resolve('public/dist/node')
        });

and
        const webExtractor = new ChunkExtractor({
            statsFile: webStats,
            outputPath: path.resolve('public/dist/web')
        });

works as expected! Thanks!


Gateway timeout return code 504

Environment info:

KrakenD version: Run krakend help | grep Version and copy the output here
v2.8.0

System info: Run uname -srm or write docker when using containers
docker

Hardware specs: Number of CPUs, RAM, etc

Backend technology: Node, PHP, Java, Go, etc.
external api

Additional environment information:

Describe the bug
A clear and concise description of what the bug is.
Your configuration file:

{
  "$schema": "https://www.krakend.io/schema/v2.4/krakend.json",
  "version": 3,
  "name": "API Gateway - KrakenD",
  "port": 8080,
  "endpoints": [
    {
      "endpoint": "/time",
      "input_query_strings": [
        "timeZone"
      ],
      "backend": [
        {
          "host": ["https://timeapi.io"],
          "url_pattern": "/api/time/current/zone"
        }
      ]
    }
  ]
}

Commands used
How did you start the software?
#Example:
docker run --rm -it -v $PWD:/etc/krakend \
        -e FC_ENABLE=1 \
        -e FC_SETTINGS="/etc/krakend/config/settings" \
        -e FC_PARTIALS="/etc/krakend/config/partials" \
        -e FC_OUT=out.json \
        devopsfaith/krakend \
        run -c /etc/krakend/config/krakend.json -d

Expected behavior
The return status code is 500 but in case of gateway timeout, it should be 504 : https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504
The error 'context deadline exceeded' is too generic, a more explicit error message could be displayed
Logs
If applicable, any logs you saw in the console and debugging information
[GIN] 2024/12/13 - 15:18:06 | 500 |  2.000455084s |     <IP_ADDRESS> | GET      "/time?timeZone=Europe%2FAmsterdam"
Error #01: context deadline exceeded

Hi @sylvainmouquet
KrakenD is not designed to function as a reverse proxy by default. To enhance security, it hides errors and status codes to prevent exposing backend details to end users. This behavior also applies to backend timeouts.
That said, you can override this default behavior by customizing backend errors and headers. Take a look at this:: https://www.krakend.io/docs/backends/detailed-errors/

Hello @thedae
Ok the api gateway has been designed for interaction with a frontend and security is set by default.


Handle tailwindcss:watch[always]

Passes -w always along to tailwindcss, which keeps the watch going even if stdin closes (https://github.com/tailwindlabs/tailwindcss/pull/9966).

Any reason why this can't be the default of tailwindcss:watch?

@rafaelfranca the default behaviour is IMO better.  In most environments, the default mode cleans up its own orphaned processes.  The tailwind developers added --watch always with reluctance, and I think it's only useful for niche environments where developers don't have control of their Docker config.

@GoodForOneFare I could use your help to understand what we should add to the "troubleshooting" section to help users understand when to use this feature. What will people see if they need to set this?

See https://github.com/rails/tailwindcss-rails/commit/e665b097ae51e4e4d388370352a6390d41e685fd


[BUG] Error when forecasting with exogenous regressors for each of the nodes

Describe the bug
When I'm passing a different exogenous regressor for each of the nodes in the hierarchy. I'm getting an error related to the shape of the data frame.
To Reproduce
I have a three-level hierarchy tree just like load_mobility_data() but the columns have one external regressor each. I'm passing the data along with the regressors but still, I'm getting an error during the predict() method.
htsmodel = hts.HTSRegressor(model = 'auto_arima', revision_method = 'BU', n_jobs = 0)
htsfit = htsmodel.fit(trainSet, hierarchy, exogenous = exogenous_hier)
pred = htsfit.predict(steps_ahead = forecast_horizon, exogenous_df = testSet[exog_reorder])

Here's the stack trace for the same.
Fitting models:   4%|▍         | 87/2157 [00:00<00:07, 286.59it/s]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~/.local/lib/python3.6/site-packages/statsmodels/tsa/statespace/mlemodel.py in _validate_out_of_sample_exog(self, exog, out_of_sample)
   1757             try:
-> 1758                 exog = exog.reshape(required_exog_shape)
   1759             except ValueError:

ValueError: cannot reshape array of size 24840 into shape (6,1)

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
<ipython-input-217-a527e0f5f0c9> in <module>
----> 1 pred = htsfit.predict(steps_ahead = forecast_horizon, exogenous_df = testSet[exog_reorder])

~/.local/lib/python3.6/site-packages/hts/core/regressor.py in predict(self, exogenous_df, steps_ahead, distributor, disable_progressbar, show_warnings, **predict_kwargs)
    344             disable_progressbar=disable_progressbar,
    345             show_warnings=show_warnings,
--> 346             distributor=distributor,
    347         )
    348         for key, forecast, error, residual in results:

~/.local/lib/python3.6/site-packages/hts/core/utils.py in _do_predict(models, function_kwargs, n_jobs, disable_progressbar, show_warnings, distributor)
     86
     87     result = distributor.map_reduce(
---> 88         _do_actual_predict, data=models, function_kwargs=function_kwargs
     89     )
     90     distributor.close()

~/.local/lib/python3.6/site-packages/hts/utilities/distribution.py in map_reduce(self, map_function, data, function_kwargs, chunk_size, data_length)
    174         )
    175
--> 176         result = list(itertools.chain.from_iterable(result))
    177
    178         return result

~/.local/lib/python3.6/site-packages/tqdm/std.py in __iter__(self)
   1176
   1177         try:
-> 1178             for obj in iterable:
   1179                 yield obj
   1180                 # Update and possibly print the progressbar.

~/.local/lib/python3.6/site-packages/hts/utilities/distribution.py in _function_with_partly_reduce(chunk_list, map_function, kwargs)
     39     kwargs = kwargs or {}
     40     results = (map_function(chunk, kwargs) for chunk in chunk_list)
---> 41     return list(results)
     42
     43

~/.local/lib/python3.6/site-packages/hts/utilities/distribution.py in <genexpr>(.0)
     38
     39     kwargs = kwargs or {}
---> 40     results = (map_function(chunk, kwargs) for chunk in chunk_list)
     41     return list(results)
     42

~/.local/lib/python3.6/site-packages/hts/core/utils.py in _do_actual_predict(model, function_kwargs)
    119         node=node,
    120         steps_ahead=function_kwargs["steps_ahead"],
--> 121         **function_kwargs["predict_kwargs"]
    122     )
    123     return key, model_instance.forecast, model_instance.mse, model_instance.residual

~/.local/lib/python3.6/site-packages/hts/model/ar.py in predict(self, node, steps_ahead, alpha, exogenous_df)
     62             ex = None
     63         in_sample_preds = self.model.predict_in_sample(X=ex, alpha=alpha)
---> 64         y_hat = self.model.predict(X=exogenous_df, alpha=alpha, n_periods=steps_ahead)
     65         return self._set_results_return_self(in_sample_preds, y_hat)
     66

~/.local/lib/python3.6/site-packages/pmdarima/utils/metaestimators.py in <lambda>(*args, **kwargs)
     51
     52         # lambda, but not partial, allows help() to work with update_wrapper
---> 53         out = (lambda *args, **kwargs: self.fn(obj, *args, **kwargs))
     54         # update the docstring of the returned function
     55         update_wrapper(out, self.fn)

~/.local/lib/python3.6/site-packages/pmdarima/arima/auto.py in predict(self, n_periods, X, return_conf_int, alpha, **kwargs)
    259             X=X,
    260             return_conf_int=return_conf_int,
--> 261             alpha=alpha,
    262         )
    263

~/.local/lib/python3.6/site-packages/pmdarima/arima/arima.py in predict(self, n_periods, X, return_conf_int, alpha, **kwargs)
    679             end=end,
    680             X=X,
--> 681             alpha=alpha)
    682
    683         if return_conf_int:

~/.local/lib/python3.6/site-packages/pmdarima/arima/arima.py in _seasonal_prediction_with_confidence(arima_res, start, end, X, alpha, **kwargs)
     81         end=end,
     82         exog=X,
---> 83         **kwargs)
     84
     85     f = results.predicted_mean

~/.local/lib/python3.6/site-packages/statsmodels/tsa/statespace/mlemodel.py in get_prediction(self, start, end, dynamic, index, exog, extend_model, extend_kwargs, **kwargs)
   3301             kwargs = self.model._get_extension_time_varying_matrices(
   3302                 self.params, exog, out_of_sample, extend_kwargs,
-> 3303                 transformed=True, includes_fixed=True, **kwargs)
   3304
   3305         # Make sure the model class has the current parameters

~/.local/lib/python3.6/site-packages/statsmodels/tsa/statespace/sarimax.py in _get_extension_time_varying_matrices(self, params, exog, out_of_sample, extend_kwargs, transformed, includes_fixed, **kwargs)
   1716
   1717         # Get the appropriate exog for the extended sample
-> 1718         exog = self._validate_out_of_sample_exog(exog, out_of_sample)
   1719
   1720         # Get the tmp endog, exog

~/.local/lib/python3.6/site-packages/statsmodels/tsa/statespace/mlemodel.py in _validate_out_of_sample_exog(self, exog, out_of_sample)
   1761                                  ' appropriate shape. Required %s, got %s.'
   1762                                  % (str(required_exog_shape),
-> 1763                                     str(exog.shape)))
   1764         elif self.k_exog > 0:
   1765             exog = None

ValueError: Provided exogenous values are not of the appropriate shape. Required (6, 1), got (6, 4140).

Expected behavior
Since the scikit-hts documentation clearly mentions that we have to pass a data frame containing the exogenous data for each of the nodes. So, this should not happen.
Desktop (please complete the following information):

OS: Windows 10
scikit-hts version: 0.5.11
Python version: 3.6.9

I've also tried the same using the prophet model there were no issues. Everything was working fine.

https://github.com/carlomazzaferro/scikit-hts/blob/b9615b1c65c590449d27eced7b8a43fd16cea59a/hts/model/ar.py#L64
I guess we are passing the entire exogenous data frame every time to the predict() function instead, we can pass only the exogenous data frame that is required for a given node in the tree.
Updating the code like this
y_hat = self.model.predict(X=exogenous_df[self.node.exogenous], alpha=alpha, n_periods=steps_ahead)
fixed the issue.

Hello, I'm facing the same problem here (see my post on SO.
).
Thanks in advance for the fix !

@Downfor-u To fix negative forecasts, you could try square root transformation.


A $button_label attribute to Kirki_Control_Repeater

The __construct method of WP_Customize_Control strips out not set object vars. So, if Kirki_Control_Repeater doesn't have a $button_label attribute, the existing test if ( empty( $this->button_label ) ) { will always be true.
Creating this attribute seems to solve the problem completely.

Good catch! Merging 👍

Thanks @aristath :) I'd like to help updating the repeater page on docs (the button_label argument isn't there yet). Including a
'button_label' => esc_attr__('"Add new" button label (optional) ', 'textdomain' ),
after the row_label attribute would be OK for you? If so I can make another PR with it

sure, go ahead. Any help is greatly appreciated 👍


[REVIEW] Add Q to requirements

From looking at the source code in qscripts_config.py it appears that an installation of Q is required along with the versions it is tested to work with. This should be added to the list of requirements in the README, including that it needs to be installed by the user and available in the PATH.

I updated the README.md accordingly. (in devel)

I would also suggest including a requirements.txt file with matplotlib just because it is not really optional if you want to use the full capabilities of the software.

Also maybe worth adding jupyter notebooks as a requirement or at least mention that it is needed to check out some of the examples.


clip plugin

Would like to ask if i can get the square image before it transform to circle using clip plugin? is is possible?
or can i add something like overlay circle in the canvas for avatar purposes? tia

if i can get the square image before it transform to circle using clip plugin?

Do you mean that what users see is square image but output is cliped? I think that's against the "what you see is what you get" principle.

add something like overlay circle in the canvas

Do you mean something like this:

If so, maybe you should try vue-croppie. It has a different way for user interaction, a more traditional way that many people are familiar with.

yes, something like that, but i still need to save the original image or what i need is just a overlay placeholder which is the circle. but will take a look vue-croppie
or change my approach. thanks man.

I'm closing this. Feel free to reopen.


"3 validation errors for PipelineSpec" for a pipeline that is working in the cloud

The error below is too obscure. The pipeline has been working the cloud, so I would guess that that is valid.
Error: Invalid pipelines file:
  3 validation errors for PipelineSpec
  pipelines.pull-requests.{feature/*,bugfix/*,chore/*,refactor/*,acceptance-test-issues/*}.2.StepWrapper.step
    Field required [type=missing, input_value={'parallel': [{'step': {'...'flutter analyze .']}}]}, input_type=dict]
      For further information visit https://errors.pydantic.dev/2.10/v/missing
  pipelines.pull-requests.{feature/*,bugfix/*,chore/*,refactor/*,acceptance-test-issues/*}.2.ParallelStep.parallel
    List should have at least 2 items after validation, not 1 [type=too_short, input_value=[{'step': {'name': 'Code ... 'flutter analyze .']}}], input_type=list]
      For further information visit https://errors.pydantic.dev/2.10/v/too_short
  pipelines.pull-requests.{feature/*,bugfix/*,chore/*,refactor/*,acceptance-test-issues/*}.2.Variables.variables
    Field required [type=missing, input_value={'parallel': [{'step': {'...'flutter analyze .']}}]}, input_type=dict]
      For further information visit https://errors.pydantic.dev/2.10/v/missing

My BitBucket yaml file:
bitbucket-pipelines copy.yml.txt

Pydantic's validation errors can be a bit hard to read indeed. I might look into that later on.
In the meantime, the issue is due to the wrong assumption that parallel entries must contain at least two steps. This may or may not have been true in the past, but it is definitely valid now, so I'm fixing that.
Fix will be released in a few minutes, in version 0.4.8.


Checking for the fields' presence should not be done by unmarshalers

most of the lib data structures provide Unmarshal/UnmarshalJSON interface. Implementations do not check for presence of the fields required by the protocol (example). However, since structure is fully decoded and then verified (as in the example), checking of complex fields requires calling ReadFromV2 (https://github.com/nspcc-dev/neofs-sdk-go/blob/2da6182d23f5677889219e0aaa84930e487ef363/bearer/bearer.go#L48) which expects all required fields to be set
this makes it impossible to set partially filled complex sub-field, encode the whole message, and then decode without an error. Although such a process does not seem to be in demand, in general it can cause a problem. Let's say in tests at the moment
Steps to Reproduce
func TestContainerPolicyUnmarshal(t *testing.T) {
	var policy netmap.PlacementPolicy
	var cnr container.Container
	cnr.SetPlacementPolicy(policy)

	b := cnr.Marshal()

	var cnr2 container.Container
	require.NoError(t, cnr2.Unmarshal(b))
	require.Zero(t, cnr2.PlacementPolicy())
}

Current Behavior
=== RUN   TestContainerPolicyUnmarshal
    container_test.go:1017:
        	Error Trace:	/home/ll/projects/neo/sdk/container/container_test.go:1017
        	Error:      	Received unexpected error:
        	            	invalid placement policy: missing replicas
        	Test:       	TestContainerPolicyUnmarshal
--- FAIL: TestContainerPolicyUnmarshal (0.00s)

Expected Behavior
passed test
being a user, i expect to set the instance in any form (*), encode it and successfully decode it. I also expect to be able to check any field for presence
(*) mostly without specifying required fields. I still expect decoder to make sanity checks for some type of fields. For example, fixed-len IDs must have the exact size: this is just cuz project type system is stronger than Protocol Buffers. If protobuf would have fixed-len array type, we would use it and decoding would fail on the protolib stage
Possible Solution
i see 2 ones:

provide additional method ReadOptionalFromV2 which will check specified fields only (e.g. that IDs have exact bytelen) and use it instead of ReadFromV2
decode the message field-by-field using unmarshalers. This would fasten catching errors overall: if 1st field is invalid, no need to decode the rest. At the same time, implementation will definitely become more complicated, especially for JSON, so i dont actually consider this approach and left it JFYI

Context
https://github.com/nspcc-dev/neofs-node/pull/3005#issuecomment-2483371807
Regression
not really. For example, this became actual for Object after https://github.com/nspcc-dev/neofs-sdk-go/pull/634/commits/3c47093ae4c28b62afba3e3f34bb270d39cf3137, but there were no checks at all before

Who cares about these problem except for obscure tests? Current behavior is more suitable for generic users, so it should stay. Tests can find some ways to break things when they need to.

any user passing data back and forth i'd say. The main goal of this issue is to highlight current that at the moment the behavior is not strictly fixed, and can sometimes change in one direction or another. I suggest to choose and fix the one

for example, https://github.com/nspcc-dev/neofs-node/pull/3005#issuecomment-2483371807 (p.3) encountered a regression when tested object has session token w/o an issuer (required by the protocol). In the latest lib version, object cannot be received due to recently added invalid header: invalid session token: missing session issuer decoding error. Previously, there was no such error
so, protocol requirement to specify the session issuer now also affects binary objects stored by nodes:

this check is missing at the upload stage. If the error is legit, it must be thrown before attempt to access the object
theoretically, some previously objects could become inaccessible because of this. This follows from the previous fact

in total, smth should be done anyway:

decoding requirements must be weakened (back) as proposed here or
objects must be pre-checked before encoding

im leaning towards the 1 as its more flexible for the general-purpose library

My expectation is that no real objects have these problems, so we can catch everything needed at decoding level and have an always nice object structures. Creating an object that violates basic rules must be hard enough for most checks to be not needed at the encoding stage at the same time.

i think all requirements imposed on the object and returned by Unmarshal should be transparent and checked before storing the object. This can be covered by SDK docs and changes in the storage


[Keyboard Manager] Disable some remapped keys

It would be great to have the option to disable some remaps.
Scenario:

4 remapped keys
Laptop with external usb keyboard which is used occasionally.
When using external keyboard 2 of the remaps are not needed.
I have the option to disable the whole functionality but for this scenario it would be really useful to be able to disable just the remaps that I don't want.

Thank you for this amazing toolset !

I think this could be achieved through the profiles feature #1881

Closing as duplicate of 1881


AT:  S-1.3 - As a user, I want to switch between Loyola and SGW campus.

This acceptance test is in reference to issues #18, #19
Acceptance Criteria
Given

that the map is open

When

I open the drawer menu and select a campus,

Then

the map should focus/zoom on the selected campus

Steps

Open the app.
Open the drawer menu on the left side of the screen by clicking on the menu button
Click the "Campus" sub menu
Click on a campus name
Alternatively, the switch button can used to switch in-between campuses

Example

ACCEPTED.


Wiki Link Broken on main page

On page: https://github.com/FullstackAcademy/fsg
wiki link: https://github.com/FullstackAcademy/fsg/wiki/01.-Getting-Started
should be: https://github.com/FullstackAcademy/fsg/wiki/Getting-Started

completed by Ash: "#8 opened 23 hours ago by ashryanbeats"


[WIP]ci: Separate CI build by flavor

To do this a shared go template is used and a
values yaml file to contain values when executing
the template
A small golang utility is provided so it can be used to
generate the different gihub actions yaml files and
expanded in the future in case we need extra actions
or values for flavours
The generated yamls for both opensuse and fedora are added
as well, while the old one with both in the matrix key is
removed
Signed-off-by: Itxaka<EMAIL_ADDRESS>

This blocked until we got the other patches for ci merged, makes no sense to rebase it until then.

I dont think this is necessary now, we can reopen it later if needed