TypeScriptVersion.isRedirectable is not a function

When running dtslint v0.4.1 with the command dtslint types, I get the following error:
definitelytyped_header_parser_1.TypeScriptVersion.isRedirectable is not a function
    at /home/travis/build/ffflorian/jsrsasign-types/node_modules/dtslint/bin/index.js:148:102
    at Generator.next (<anonymous>)
    at /home/travis/build/ffflorian/jsrsasign-types/node_modules/dtslint/bin/index.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/travis/build/ffflorian/jsrsasign-types/node_modules/dtslint/bin/index.js:4:12)
    at testTypesVersion (/home/travis/build/ffflorian/jsrsasign-types/node_modules/dtslint/bin/index.js:143:12)
    at /home/travis/build/ffflorian/jsrsasign-types/node_modules/dtslint/bin/index.js:128:19
    at Generator.next (<anonymous>)
    at fulfilled (/home/travis/build/ffflorian/jsrsasign-types/node_modules/dtslint/bin/index.js:5:58)

Pinging @andy-ms and @sandersn :slightly_smiling_face:

What was the directory structure where you ran this command? That is, the working directory and child directories like types.
What was the exact command? I wasn't aware that dtslint types did anything. I thought it had to be dtslint types "ansicolors" (for example).

My initial bug report was a bit unclear, sorry.
I am creating types for a big library and, before creating a PR at DefinitelyTyped, I created my own repository to work on the types. To test the compatibility I installed dtslint and ran it with dtslint types, because types is my types directory which includes a index.d.ts file.
This is my directory structure:
.
├── LICENSE
├── node_modules
│   └── [...]
├── package.json
├── README.md
├── types
│   ├── index.d.ts
│   ├── jsrsasign.d.ts
│   ├── modules
│   ├── tsconfig.json
│   └── tslint.json
└── yarn.lock

I locally tried a few commands with different results:
$ npx dtslint
Error: ENOENT: no such file or directory, open '/[redacted]/jsrsasign-types/index.d.ts'

$ npx dtslint types
TypeError: definitelytyped_header_parser_1.TypeScriptVersion.isRedirectable is not a function
    at /[redacted]/jsrsasign-types/node_modules/dtslint/bin/index.js:148:102
    at Generator.next (<anonymous>)
    at /[redacted]/jsrsasign-types/node_modules/dtslint/bin/index.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/[redacted]/jsrsasign-types/node_modules/dtslint/bin/index.js:4:12)
    at testTypesVersion (/[redacted]/jsrsasign-types/node_modules/dtslint/bin/index.js:143:12)
    at /[redacted]/jsrsasign-types/node_modules/dtslint/bin/index.js:128:19
    at Generator.next (<anonymous>)
    at fulfilled (/[redacted]/jsrsasign-types/node_modules/dtslint/bin/index.js:5:58)

$ npx dtslint types/index.d.ts
Error: ENOTDIR: not a directory, open '/[redacted]/jsrsasign-types/types/index.d.ts/index.d.ts'

After the latest release v0.4.2, I get a bit further but in the end still the same error:
$ dtslint types
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.0...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.1...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.2...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.3...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.4...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.5...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.6...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/2.7...

Installed!
Installing to /github/workspace/node_modules/dtslint/typescript-installs/next...

Installed!
TypeError: definitelytyped_header_parser_1.TypeScriptVersion.isRedirectable is not a function
    at /github/workspace/node_modules/dtslint/bin/index.js:153:102
    at Generator.next (<anonymous>)
    at /github/workspace/node_modules/dtslint/bin/index.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/github/workspace/node_modules/dtslint/bin/index.js:4:12)
    at testTypesVersion (/github/workspace/node_modules/dtslint/bin/index.js:148:12)
    at /github/workspace/node_modules/dtslint/bin/index.js:133:19
    at Generator.next (<anonymous>)
    at fulfilled (/github/workspace/node_modules/dtslint/bin/index.js:5:58)
error Command failed with exit code 1.

@sandersn any update on this?

It was fixed with version 0.4.4 for me :tada:


Managed version workflow test into production

Is your feature request related to a problem? Please describe.
There currently is one production system for our managed version, which is being used by trial users and paying clients.
Describe the solution you'd like
Trial users should get access to a dedicated trial system; once they transfer to the production system, their data should be transferred e.g. via project snapshot export/import. Same is true for their user ids.
Describe alternatives you've considered
-
Additional context
Only relevant for the managed version, not for the OS version

solved this internally :)


[FEATURE] create action group for search template permissions

Is your feature request related to a problem?
n/a
What solution would you like?
it'd be great if the permissions for search templates could be grouped in an action group.
namely this should be a cluster-level action group which maps to the following index-level permissions:

indices:data/read/search/template
indices:data/read/msearch/template

What alternatives have you considered?
manually grant the permissions
Do you have any additional context?

Search Guard has this feature (and it's ALv2 as far as I can see): https://docs.search-guard.com/latest/changelog-searchguard-7x-51_0_0#support-for-search-templates

https://git.floragunn.com/search-guard/search-guard-suite/-/issues/35
https://git.floragunn.com/search-guard/search-guard-suite/-/merge_requests/129

list of action groups
list of permissions

@rursprung Thanks for filing the feature request! We would love to review a PR.


Signing html body content

When signing an email with html content, dkim will not verify with  dkim=neutral (body hash did not verify). Switch body content to simple text, dkim will verify.
Any ideas?

Could you provide your options and your email sample ?

header := <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">                                                                                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
footer :=
htmlFull := header + footer
bodyLen := len(htmlFull)
options := dkim.NewSigOptions()
options.PrivateKey = []byte(privateKey)
options.Domain = domain
options.Selector = selector
options.SignatureExpireIn = 3600
options.BodyLength = uint(bodyLen)
options.Headers = []string{"From","To","Subject"}
options.AddSignatureTimestamp = true
options.Canonicalization = "simple/simple"
options.QueryMethods = []string{"dns"}

Additional  information, if header is a single line, no line feed, then body passes.

Hum what are you trying to do ?
header is relative to email headers not html "head" part. And more genaraly you sign an email not an HTML doc/part.
See: http://www.dkim.org/ for more info about DKIM

Trying to send an email with HTML content

So sign the mail not the html part. See example on main page.

Am thinking that's what am doing,
msg := []byte(qTo + qReturnPath + qFrom + qMimeVersion + qContentType + qSubject + "\r\n" + htmlFull)
errDkim := dkim.Sign(&msg, options)
if errDkim != nil {
fmt.Println("DKIM error")
log.Fatal(errDkim)
}

it's not what you have done with:
header :=
footer :=
htmlFull := header + footer
bodyLen := len(htmlFull)
And i don't know if it is what you do with:
msg := []byte(qTo + qReturnPath + qFrom + qMimeVersion + qContentType + qSubject + "\r\n" + htmlFull)
errDkim := dkim.Sign(&msg, options)
init msg with a plain mail not with var otherwise i can't help you. I must be able to run your code with your mail

Am not following you on, init msg with a plain mail, here is he full example code.
auth := smtp.PlainAuth("","foo","testing",<IP_ADDRESS>,)
header := <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 	   	   	  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
footer :=
htmlDocument := header  + footer
bodyLen := len(htmlDocument)
options := dkim.NewSigOptions()
options.PrivateKey = []byte(privateKey)
options.Domain = domain
options.Selector = selector
options.SignatureExpireIn = 3600
options.BodyLength = uint(bodyLen)
options.Headers = []string{"From","To","Subject"}
options.AddSignatureTimestamp = true
options.Canonicalization = "simple/simple"
options.QueryMethods = []string{"dns"}
qTo := "To<EMAIL_ADDRESS>qReturnPath := "Return-Path<EMAIL_ADDRESS>qFrom := "From<EMAIL_ADDRESS>qMimeVersion := "MIME-Version: 1.0\r\n"
qContentType := "Content-Type: text/html; charset=UTF-8\r\n"
qSubject := "Subject: " + subject + "\r\n"
email := []byte(qTo + qReturnPath + qFrom + qMimeVersion + qContentType + qSubject + "\r\n" + htmlDocument)
errDkim := dkim.Sign(&email, options)
if errDkim != nil {
fmt.Println("DKIM error")
log.Fatal(errDkim)
}
smtpError := smtp.SendMail("localhost:25", auth<EMAIL_ADDRESS><EMAIL_ADDRESS>email)
if smtpError != nil {
log.Fatal(strings.Split(smtpError.Error(), "\n"))
}


Suppress all output

Hi,
Thanks for making this. It's quite helpful :)
I have a request. Could it be possible to add an option to supress all output from the tool? I would like to get read of this "info" messages

you can do that now with --quiet
dotenvx run --quiet -- node index.js

under the hood it says your log-level to error rather than info.
does that work for your needs?
(i realize haven't documented that anywhere outside of the help command. will add shortly)

also, can i ask, how did you come across dotenvx ?


changed character in GuidedDecisionTableConstants_zh_TW.properties fo…

this change is for kie-wb-distribution to compile.
Michael Anstis fixed this on Zanata server but it is not yet "available" doing zanata:pull-module.

+1 to merge.
I've also updated in Zanata: https://translate.jboss.org/webtrans/translate?project=drools-wb&iteration=7.0.0&localeId=zh-Hant&locale=en#view:doc;doc:org.drools/drools-wb-guided-dtable-editor-client/org/drools/workbench/screens/guided/dtable/client/resources/i18n/GuidedDecisionTableConstants (page 6)


JSON RPC interface spec: chainHead_v1

More work for #801
This is the most important group of functions to be implemented from the spec. This makes PAPI already compatible except to send transactions (which needs the transaction_v1 group of functions).
It's not fully spec-compliant, specifically for the chainHead_v1_storage call, which has 2 variations that are more complex (closestDescendantMerkleValue, hash,  descendantsHashes, and dealing with childTrie), but none of those features are used by PAPI. I rather make small incremental PRs, so I would initially focus on having full PAPI compatibility, and later on we can make it full spec compliant.
I'd also like to add tests, what do you prefer? Should I raise them as a separate PR or would you like it in this one? I'm thinking on keep raising incremental PRs, first I'll work on the tests for chainHead_v1, then implement transaction_v1 and its tests, and lastly chainSpec_v1 (the last group used by PAPI, but the least important).

Please add tests into this PR

@ermalkaleci I see that the e2e tests use PolkadotJS to test everything works as expected, but PolkadotJS doesn't use the new RPC-interface
Is it alright if I add polkadot-api (or a lower level sub-package) as a devDependency to run the e2e tests for the new rpc spec?

of course, go ahead

you could add a new env for papi tests if it helps


Add non-windows support for PWSTR and PCWSTR

As described in #2996, PWSTR and PCWSTR currently has undocumented undefined behaviour in the as_wide method.
This fixes this by using a different implementation on non-windows targets.
Fixes: #2996, #1874

@microsoft-github-policy-service agree company="Princh"

You can use #3005 for test coverage.


Demo Scene is missing in 1.1 package

There is no functional demo scene Included in the 1.1 unity package.

Demo scene is only in git, not package


call for APN manipulation and roaming settings added

Adding and deleting of APN as well as setting data roaming works for HUAWEI E3372

I'm willing to merge this, but there some changes / work needs to be done:

Fix the comments on ProfileAdd and ProfileDel
Please ensure after you have updated the documentation to run go generate in the cmd/hlcli directory in order to update the command line help
Please rebase to a single commit


[Intel MKL] Remove check for native format for INT8

Since all INT8 native-related PRs are merged now, we need to remove the check for native format.

@mahmoud-abuzaina  Can you please address Ubuntu Sanity errors? Thanks!

@gbaned I see "do_pylint" is failing, but this PR does not touch any python code. Wondering if the error is not related to this PR?

@gbaned @mahmoud-abuzaina Yes, the Sanity error is unrelated (existing failure).


Add wp-json to endpoint URL in README example

As I was setting up a project locally, I was not able to get the example to work, then I figured out I needed to add wp-json to the end of the endpoint URL.

:+1: Good catch. I should also open a ticket to track progress on making a discovery-based endpoint binding, so that we can look this up from the header.


Flutter AOT builds crashing on some Fuchsia hardware

https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=39188. Conversation should occur there. cc @cbracken, to whom the Fuchsia issue is assigned. Also cc @iskakaushik

removing the critical label as this doesn't block any customer workflows.

Touching issue for triage purposes

Closed upstream issue.


Add Korean translation

WE MERGE PULL REQUESTS SUBMITTED HERE AFTER REVIEWED BY CORE DEVELOPER
If you are submitting any patches kindly wait for Core Developers to review.
You can join our community on Telegram

Community Group

Test Build & Build Help Group

@jjhitel The current font doesn't supports Korean ?

@jjhitel The current font doesn't supports Korean ?

Yes, Korean has own special characters, which are completely different from Chinese, Japanese, and the others.

@manjotsidhu That's forked before changes merged, New support support I think

@jjhitel
Which is korean language?

@raza231198 I've pushed some commits to display Korean correctly.

@jjhitel please check when you have selected English language, it's correct or not


chore: bdd-nh-1592563482 to 0.0.1

chore: Promote bdd-nh-1592563482 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


INTERNAL_CATCH_MSG compilation error without variadic macro support

Description
Simple statements like FAIL( "Here" ); do not compile if the compiler does not support variadic macros.
It appears that the INTERNAL_CATCH_MSG macro has a different, and incorrect, order of declaration of its parameters for compilers without variadic macro support.
Extra information

Catch version: v1.9.3
Operating System: Windows 7 x64
Compiler+version: Visual Studio 2008

This should be fixed in master (commit 5ffc8a84cda91b5da037a923480236450f7f4586) but it hasn't gotten into official release yet.

It took me longer than I expected to get around making a new release, but it is out.
Can you check whether 1.9.4 fixed this issue for you?

Confirmed as fixed with 1.9.4


MINOR: Fix tile key labels created by DebugTile.

Now text elements get coordinates in world space.
Signed-off-by: Andres Mandado<EMAIL_ADDRESS>Thank you for contributing to harp.gl!
Before requesting a pull request, please remember to check the following documents:

contribution guidelines
coding style

If you are adding new functionality we would highly appreciate if you can describe what is the capability you are adding and even better if you can add some examples. Please also remember to add tests for it.
CI Check
Our bots will check whether your PR can be directly integrated into the mainline. We have some internal integration tests running on the background, our bots will inform you of the next steps and someone from our team will take a look and help if needed!
And please do not forget to sign-off your commit! You can read more about DCO here. But, in short, you just need to use git commit -s or append --signoff when you are committing to the repo.
Happy contributing!

Codecov Report

Merging #1105 into master will decrease coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1105      +/-   ##
==========================================
- Coverage   46.26%   46.14%   -0.13%
==========================================
  Files         251      238      -13
  Lines       22455    22230     -225
  Branches     5035     4996      -39
==========================================
- Hits        10388    10257     -131
+ Misses      12067    11973      -94

Impacted Files
Coverage Δ

...re/harp-text-canvas/lib/rendering/TextMaterials.ts
50% <0%> (-26.93%)
:arrow_down:

@here/harp-mapview/lib/ThemeHelpers.ts
6.55% <0%> (-0.68%)
:arrow_down:

...rp-mapview/lib/text/TextElementsRendererOptions.ts
100% <0%> (ø)
:arrow_up:

@here/harp-datasource-protocol/lib/Outliner.ts
100% <0%> (ø)
:arrow_up:

...ere/harp-materials/lib/LuminosityHighPassShader.ts
100% <0%> (ø)
:arrow_up:

@here/harp-test-utils/lib/WebGLStub.ts
100% <0%> (ø)
:arrow_up:

...p-geoutils/lib/tiling/QuadTreeSubdivisionScheme.ts
100% <0%> (ø)
:arrow_up:

@here/harp-utils/lib/Mixins.ts
70% <0%> (ø)
:arrow_up:

@here/harp-materials/lib/CopyMaterial.ts
100% <0%> (ø)
:arrow_up:

...e/harp-geoutils/lib/tiling/MercatorTilingScheme.ts
100% <0%> (ø)
:arrow_up:

... and 27 more

Continue to review full report at Codecov.

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


Create using_your_router_after_31_july_2021.md

Context
Changes proposed in this pull request
Guidance to review

Closing and reopening to recreate the review app in heroku.

Amy Laurence said this could be closed on morning of 18 May 21


Write Apple bug report for resilience against broken playlists

If one of the qualities available in the HLS playlist is broken for some reason, and especially if this quality is the start one, AVPlayer fails. ExoPlayer or other implementations are smarter and use other available qualities.
Write an Apple bug report about such issues.

No similar problems were reported recently. We can close the issue.


Upgrade to jQuery 3.1.1 for security reasons

modified:   _layouts/default.html
modified:   _layouts/home.html
@KaptenJansson re b/32231896

LGTM


Estimator shows estimated lag but processor is not processing

It seems that scaling metric is not precise enough.
Scaler is reporting items to process:
Lease [0] owned by host Instance-cosmosdb-order-processor-585d7b9bc5-gnb88 reports 37 as estimated lag.
Lease [1] owned by host Instance-cosmosdb-order-processor-585d7b9bc5-5jdb2 reports 38 as estimated lag.
There are 2 partitions with estimated lag.

But processor is not getting any items:
k logs cosmosdb-order-processor-585d7b9bc5-gnb88 -n cosmosdb-order-processor
2024-06-13 01:39:00 info: Keda.CosmosDb.Scaler.Demo.OrderProcessor.Worker[0]
      Started change feed processor instance Instance-cosmosdb-order-processor-585d7b9bc5-gnb88
2024-06-13 01:39:00 info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
2024-06-13 01:39:00 info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
2024-06-13 01:39:00 info: Microsoft.Hosting.Lifetime[0]
      Content root path: /app

I verified both are connected to the same DB using a test app that used same client for estimator and feed processor.
Expected Behavior
Pods are scaled to 0 when there's nothing to process.
Pods are processing items when scaler reports estimated changes.
Actual Behavior
Scaler reports changes but processor is not doing anything.
Steps to Reproduce the Problem

Run Demo App on a multi-partition container
Generate some data (may need to do it few times)
Observe the pods

Specifications

KEDA Version: 2.11.2
Platform & Version: AKS
Kubernetes Version: 1.29.4
Scaler(s):  Running workload identity version of the scaler from #68

This may have to do more with the order processor not finding any items to process than the scaler reporting incorrect estimated lag. Is it possible that the old processor pod completed processing all changes in its change-feed, then shifted to second change-feed and processed items there too, before KEDA could increase the replica count for order processor? Is the estimate lag not going down to zero, even after giving some time, say minutes or so?


Font consistency on all sites (DEV.to issue)

Currently, there is a problem of font type on DEV.to that seems not to use Verdana/sans-serif but use the default font.
Solution: try to solve this issue using SVG or CSS properties.

Link of the issue: https://dev.to/cicirello/comment/2073k

Update
Since DEV.to (probably) renders all images with an headless browser and sends only .png to clients, there isn't an actual way to resolve this issue.

This is NOT actually a Profilator issue, but a bad image rendering of DEV.to, which seems not to respect SVG font types to render.

Update

This could be due to sans-serif font missing on Linux.

More info here: https://github.com/Bellisario/profilator/pull/21#issue-1346932874


ci: add secrets.CODECOV_TOKEN to codecov

Closes https://github.com/celestiaorg/nmt/issues/250

Overview

@staheri14 noticed rate limiting in CI when sending data to CODECOV. This uses the org wide secret to ensure we are free from public usage/rate limiting

FYI @MSevey this is still being odd, can you verify the secret is available here and i believe there might be some admin on the codecov side maybe, see: https://github.com/celestiaorg/nmt/actions/runs/9077675099/job/24943089833?pr=255#step:8:33

there might be some admin on the codecov side maybe

+1 per this line maybe we need to enable the NMT in CodeCov UI so I deactivated and activated the repo.
I can't change the default branch context to main perhaps b/c we haven't had a successful CodeCov upload from main yet

@rootulp bumped the action version to @v4 and that took care of some stuff, seems like it fails on a "test coverage regression" which I assume is maybe it comparing head to wrong primary branch? Otherwise, whatever was acting wild stopped

Does anything hinder this PR from being merged?

IMO no, I didn't hit merge b/c we usually let PR authors merge their own PRs but in this case, seems safe to merge it b/c it fixes CI for other PRs


Fix _build_queries

Resolves issue #802.
The real question is: Why is this code path never used, and can we remove it?

Since this code is unused, I think we might as well remove _build_queries, fqdn_search, and fqdn_exists. It seems like these functions were obsoleted by smart_fqdn_exists.

Looks fine.


Output dir option

Motivation
At the moment, the generator simply outputs the files around the CWD. This is probably not as much of a problem for CLI users (although in any automated workflow, this is going to make everyone's life a bit harder), but it's not so great for programatic use. At the moment, I have a workspace project which generates the types programatically. The generator outputs the files around the root of this workspace, which muddies the project. I have to run a script to move the files to where I actually want them to be, which is in my main project.
Proposed solution
Provide an outputDir option.

@WoodyWoodsta There is a workaround for this.
You can use the contentTypeFileResolver and assign a function to this.
In this way you can make it generate to a separate folder.


INSPECT crashes frontend

Enter in editor (Source §3) the following program and hit Run:
function f(x) {
    const a = x * 2;
    return a;
}

map(f, list(1,2,3));

set breakpoint on "return a;"
click on INSPECT
enter "x;" in REPL
enter "a;" in REPL
click Run

This crashes the frontend:

Clicking on Run after that crashes the frontend:

@martin-henz @blackening has a workaround to prevent the problem crashing the interpreter on the frontend in PR #865. A thorough fix would however require rewriting the offending script to (1) preferably avoid accessing HTML elements directly on the page and (2) if so, employ proper guards to prevent undefined behaviour.

Thanks! This is not mission critical. We don't want to make changes on the Academy this close to the PA, unless it's necessary for actually conducting the PA.

It is fairly easy to fix the JS errors in the screenshots above, that was from a careless guard condition. However after fixing them, and performing the same steps you get the error in the REPL: Line 33: Name xs not declared.. xs here must be from map. It would seem like this is a regression. Now evaluating in the REPL after pausing at a breakpoint wipes out the old context.

The JS errors are quite easily fixed, it is caused by a poor guard statement and I have a new branch to fix it. However it only exposes another problem.
Same program, but with for_each instead because it's cleaner. Same way of pausing, and executing on the REPL. This is before executing on the REPL. All OK, and if we don't execute anything on the REPL, you will be able to step through till the end like this.

After executing on the REPL this happens.

I have been out of the loop for some time so I am not sure why this is occuring. The inspector caches a copy of the paused state when the interpreter hits the breakpoint. It is this saved state that is drawn by the visualizer. I am not sure why this state is being changed and am also not sure where it is being changed from, hopefully someone else will be able to solve this.

This is the old env viz. Can you try branch sa_2021?

The issue described initially no longer occurs. I suppose the environment visualiser will be revamped anyway, so I will close this issue.


Reenable and benchmark mainnet inscriptions

We need to be making sure that inscription performance isn't terrible on mainnet, since we do plan on enabling it eventually. It's dangerous to leave it disabled, so we should re-enable it and make sure it's fast before we launch prototype inscriptions.

See https://github.com/casey/ord/issues/813 - disabling the inscriptions roughly halves the time to index mainnet on my Mac. There still seems to be some other slowdown, so will investigate that in new issue https://github.com/casey/ord/issues/819

Nice, thanks for the report. There's a lot we can do here, so reenabling it eventually should be no problem.

Closing in favor of #798.


Filter by level

It'd be nice if you could remove the filter by pressing again on it. Right now once you've pressed it once it becomes impossible to turn back unless you reload

Best I could do is add a clear button.


Allow mocking of 'window'

refs #1003
Now that I've done this I'm wondering if it might actually make more sense not to have the "base\mocks" module and expect the developer to mock the global window variable when they run their tests instead?@clappr/core ?
This PR allows
var Clappr = require("clappr");
Clappr.mocks.window = myFakeWindow;

var player = new Clappr.Player() //etc

Coverage decreased (-0.5%) to 69.72% when pulling 6966729e686f9a549eda440663e48db7f8c4018c on feat-mock-window into 8be7b95660992f80576cace89dc0d2e8dc9fd4cf on master.

Think it makes more sense just to mock the browser completely than add this.


Improvements to PrivateChat

This is still a WIP. The player list seems to be at least partially broken.

Optimized code.
Improved interface, including a different appearance for system messages.

Show screens plz

Dead PR


Page thumbnail upload image not working

Page thumbnail upload image from page properties is not working. nothing happens after clicking on "Upload Image" and selecting an image. no indication of any error in browser console and it seems no upload request is being made to AEM.
reverting to v1.0.4 fixes this issue.

@awadheshv - we've been unable to replicate this issue on AEM 6.3 General Availability with both v1.0.6 and v1.0.4.
Please reopen the issue if it's still a problem for you, answering the additional questions below:
• Do you see the same problem cross-browser?
• Are you editing the page properties from the Sites console or the Editor? Or is the problem seen in both locations?
• Is there any other information that you think may help us in replicating?

Hi @richardhand thank for looking into this, I can confirm that on a vanilla instance this issue is not reproducible with we retail content. I incorrectly assumed this to be an issue with new version since it works with 1.0.4


Signing signup forms

@rpavlovs

Add has dependency label and put #14 in description

Also add screenshots of new components

Reassign when dependency is merged


Note field containing planned orders seems to contradict itself

Reading through the website it appears that the 'Note' contradicts' itself. Given that the majority of production related planning functionality is not planned to be available before October 20201 its is not feasible for any discrete, lean or process manufacturer using the planning optimization.
Also companies relying on Intercompany calculation will be hit hard.

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

ID: a36c4831-276b-03c6-6f92-532746789338
Version Independent ID: 5fdd62c5-5a0a-bf23-6dab-ad3717f5f70d
Content: Get started with Planning Optimization - Supply Chain Management | Dynamics 365
Content Source: articles/supply-chain/master-planning/planning-optimization/get-started.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @ChristianRytt
Microsoft Alias: crytt

@SXDJoe, thanks for the feedback.
@ChristianRytt, please review.

@SXDJoe, please point to the exact text that you believe contradict it self. Thanks.
Text in Note is: "You need to request an exception from migration to Planning Optimization if your master planning process does not include production (master planning generated planned production orders) and you require the built-in master planning engine beyond version 10.0.15. Starting in version 10.0.16, an error will be shown in environments when running built-in master planning without generation of planned production orders. Planning Optimization should be used for all new deployments that do not generate planned production orders during master planning. Owners of existing environments running the built-in master planning engine without generation of Planned production orders, will receive a mail with details about the exception process. We recommend that you work with a partner to evaluate and plan the migration to Planning Optimization."

Hello,
I believe these two are in contradiction.
You need to request an exception from migration to Planning Optimization if your master planning process does not include production (master planning generated planned production orders) and you require the built-in master planning engine beyond version 10.0.15.
Planning Optimization should be used for all new deployments that do not generate planned production orders during master planning.
Best regards
Joe Gramann
<EMAIL_ADDRESS>From: Christian Rytt<EMAIL_ADDRESS>Sent: Tuesday, December 1, 2020 8:09 PM
To: MicrosoftDocs/dynamics-365-unified-operations-public<EMAIL_ADDRESS>Cc: Joe Gramann<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/dynamics-365-unified-operations-public] Note field containing planned orders seems to contradict itself (#2985)
@SXDJoehttps://github.com/SXDJoe, please point to the exact text that you believe contradict it self. Thanks.
Text in Note is: "You need to request an exception from migration to Planning Optimization if your master planning process does not include production (master planning generated planned production orders) and you require the built-in master planning engine beyond version 10.0.15. Starting in version 10.0.16, an error will be shown in environments when running built-in master planning without generation of planned production orders. Planning Optimization should be used for all new deployments that do not generate planned production orders during master planning. Owners of existing environments running the built-in master planning engine without generation of Planned production orders, will receive a mail with details about the exception process. We recommend that you work with a partner to evaluate and plan the migration to Planning Optimization."
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/2985#issuecomment-736758308, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APXGFMTUMXG5TUKNE2UHPDDSSU5ORANCNFSM4UI4WP4Q.


[SP-6510]-Backport of PDI-19780 - purge-utility is giving an error Unable to find plugin with ID 'kettle'" (10.1 Suite)

SP-6510-Backport of PDI-19780 - purge-utility is giving an error Unable to find plugin with ID 'kettle'" (10.1 Suite)

:x: Build failed in 4m 33s
Build command:
mvn clean verify -B -e -Daudit -amd -Djs.no.sandbox -pl \
assemblies/static

:exclamation: No tests found!
:information_source:  This is an automatic message


Bugfix: Initialization of allocationBuckets in multi-thread env

In #1363, I added a static AllocationBuckets 2D matrix for JavascriptArray that will be initialize at runtime. However it can be simultaneously accessed by 2 threads (runtime and code-gen) and one thread might use old information of this matrix. Fixed it by adding a boolean flag to indicate when the initialization of matrix is done.
For ARM, since order of reads/writes are not guaranteed, added MemoryBarrier before reading and after writing to this boolean variable.
Test: Unit test passes.

@digitalinfinity , can you please help review?

@dotnet-bot test ubuntu_linux_debug_static  please

:shipit:

Thanks @satheeshravi  and @curtisman  for the review.

Landed in 8983758


enhancement: Support :enabled? prop on tab components

Tabs are clickable components like buttons, dropdowns and the like and in turn represent a selection. To be consistent with the other components, Tabs in all their variations, should support the optional :disabled? property (default false). This setting represents the entire list of tabs being disabled. We can also consider the usecase where this is supported at the element level whereby some elements of the tabs list are disabled if they include a prop :disabled? This would only apply if the component is not disabled.

Nice. Thank @kimo-k


Ufunc atribute wrappers and documentation

I'm opening this to possibly discuss in the future, but mainly I want to see what happens with the docs. I pinged ReadTheDocs to get build on pull request enabled, we'll see if it works.

Interesting that all of the tests passed. @caspervdw, do you think that you could check if the webhook is properly configured, just so I can play around with these options some more and see how that impacts the documentation?

@adriangb  Thanks for looking into this. The RTD webhook is setup properly, but I don't know how to setup builds for PRs.
Maybe you can try installing sphinx and running make html yourself?
About this issue: I actually took a great deal of time myself on this problem. At the end I concluding it wasn't worth the complexity. You went quite far down the rabbit hole already, but still, I think we need to discuss if this is worth it.
Complexity brings extra bugs, extra maintenance on numpy releases. Also the code becomes harder to understand. While we can also direct users that need ufunc functionality to pygeos.lib.

The RTD webhook is setup properly, but I don't know how to setup builds for PRs.

I think (not sure) that it might be related to what is checked in the "Which events would you like to trigger this webhook?" setting.

Complexity brings extra bugs, extra maintenance on numpy releases. Also the code becomes harder to understand. While we can also direct users that need ufunc functionality to pygeos.lib.

Agreed. I do see that any of these solutions is pretty complex. There are pros and cons, which you can probably judge much better than I can. I'll just leave this here in case there is any future interest, at least we know what some of the options are and what their implementation might look like.

To answer the documentation question: as is, the callable classes do not show up in the documentation.


Hero 4 Black - change in Address

I created my own guide before realising this repo was available.
I noted today that in firmware HD<IP_ADDRESS>.01, the new stream URL to access is http://<IP_ADDRESS>/gp/gpExec?p1=gpStreamA9&c1=restart
This should probably be reflected in the documentation 👍

Hi, I am based all my API research on the latest firmware for all cameras, currently the HERO4 Black and Silver latest firmware update is HD<IP_ADDRESS>.00 from July 30, 2015 as time of writing. I recommend you update your camera not only to get performance improvements and new features but also to maintain compatibility with this API.

Thanks for the tip, I wasn't aware the firmware hadn't been updated. The option to update wasn't immediately available within the software, but it is now. Thanks


[WIP] Primitives with multiple columns

This pull request updates the API for handling features that output multiple columns of values.  In the past these were referred to in the code as "expanding" features.  A brief rundown of the changes:

Multiple columns in the feature matrix can now correspond to the same feature.  Where before a feature with multiple outputs would have a list of values per instance, these features now get one column per value.

Column names do not always match a feature name.  With features having multiple columns it's necessary to modify the column names to distinguish between the various output columns of a feature.

feature.expanding (bool) replaced with feature.number_output_features (int). Instead of a feature either being expanding or not, it has an integer corresponding to the number of output features (columns) it has.

feature.get_expanded_names() replaced with feature.output_feature_names().  Feature.output_feature_names is now the method to call when generating a feature matrix's column names.

new feature.suffix customizes feature.output_feature_names(). By default output_feature_names will append "__X" to the feature name to create multiple output feature names:  Feature(...)__1, Feature(...)__2, etc.  Modifying feature.suffix is a simple way to customize how feature names are created.

feature.default_value is a singular value that becomes the default for all output features.  Instead of a list of default values, one for each output feature, each output features shares the same default value.

TODO: integrate with custom primitive maker functions

let's also support returning multiple features for transform primitives


Add rickroll function to fix issue #42

Issue #42 says that the rickroll button in the bottom right of the page stopped working, possibly due to issues while merging. Turns out, the entire rickroll function got deleted. I went into the history of script.js and found the original function and put it back where it was originally. Yes, I got rickrolled while testing my changes.

 Thanks for this.


FHIR extension failing to register some classes for reflection

Bug description
Issue
During a native build compilation, some classes related to the FHIR extension are failing to be registered for reflection and causing the entire build to fail. I tried adding an empty META-INF/beans.xml file, using a reflection configuration file, and adding the jandex-maven-plugin. Nothing has worked so far despite those being the recommendations that Quarkus gives in the log output.
Quarkus version: 3.2.3.Final
quarkus-camel-fhir version: 3.0.0-RC2
JDK Version: 17
Screenshot of log output:

Please can you share the application code? Or at least an example app that allows us to reproduce the problem.


Two passing leaders for each team

Probably I do something wrong... but here is my problem.
I try to find 2 passing leaders for each team for each season.
I have a list of all teams, so I do a loop over all teams and all years.
years=range(2009,2016)
for cur_year in years :
    print cur_year
    for cur_team in all_teams :
        print cur_team
        cur_query=nfldb.Query(db)
        cur_query.game(season_year=cur_year, season_type='Regular',team=cur_team)
        cur_query.player(team=cur_team)
        for pp in cur_query.sort('passing_yds').limit(2).as_aggregate():
            print pp.player, pp.passing_yds
        print "______________"

For the moment I have at least two problems with 2015 season.
a) No data for STL;
b) No data for DEN
Probably because Case Keenum play now for LA and Nick Foles for KC.
The same for Denver, because Peyton Manning marked as UNK.
I could remove the line cur_query.player(team=cur_team),
but in this case I get not the two bests passers of the team, but the best passer of the team and his best opponent passer for this season.
Example for 2015 for NYJ I got :

NYJ
Ryan Fitzpatrick (NYJ, QB) 3905
Tom Brady (NE, QB) 586

So, probably it's not an issue... but may be you could give a clue how I could solve this problem?

it might relate to this:
game.players is a list of tuples of player data. The first element is the team the player was on during the game and the second element is a Player object corresponding to that player's meta data (including the team he's currently on).
Cur_team is the team the player is currently on, not necessarily the team he was on when the game was played?


pbkdf2  package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted

Ubuntu 14.04 with pyenv and python 2.7.6.  Running python setup.py install failed with:
Processing dependencies for pyethapp==0.9.19
Searching for pbkdf2
Reading https://pypi.python.org/simple/pbkdf2/
Best match: pbkdf2 1.3
Downloading https://pypi.python.org/packages/source/p/pbkdf2/pbkdf2-1.3.tar.gz#md5=40cda566f61420490206597243dd869f
Processing pbkdf2-1.3.tar.gz
Writing /tmp/easy_install-n0GUK_/pbkdf2-1.3/setup.cfg
Running pbkdf2-1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-n0GUK_/pbkdf2-1.3/egg-dist-tmp-e4V6PE
error: SandboxViolation: chmod('/home/user/.python-eggs/pycrypto-2.6.1-py2.7-linux-x86_64.egg-tmp/Crypto/Cipher/tmpjfOjGv.$extract', 493) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

I was able to get around it by manually running pip install pbkdf2 and then python setup.py install

are you using a virtual env? if not you need to install with root privileges.

the version manager i'm using is pyenv.  i'll close this since it seems to be an issue between pyenv and pbkdf2, instead of pyethapp


Gitlens is hidden in the activity bar

The icon is hidden in activity bar. How to recover it?

this question is same to https://github.com/eamodio/vscode-gitlens/issues/1162


Event not fired in socket on client

When using this plugin, I can see that when an action happens, the event is fired and received by the server, but it does not get received on the client via the socket connection. When I remove this plugin, the socket events fire again. Am I missing something?
Any help is appreciated!

What does your setup look like? Is the database connection working?

@nicksrandall do you mind posting a gist of your setup? We'd love to verify if this is a legit bug or not. Otherwise we are just going to close this out in the next day or two.

Going to close this since we don't have more information to work with and from everything I could tell it works.


Mail template components button the formatting is off

Laravel Version
11.10.0 or 10.48.4
PHP Version
8.3.4
Database Driver & Version
No response
Description
I use the default template components
<x-mail::message>
    # Order Shipped

    Your order has been shipped!

    <x-mail::button :url="$url" color="success">
        View Order
    </x-mail::button>

    Thanks,

    {{ config('app.name') }}
</x-mail::message>

Steps To Reproduce
I tried to eliminate this problem and found that if I add a full blank to the first line of the template, the problem is solved.
resources/views/vendor/mail/html/button.blade.php

So I thought it might be a bug

You will need to remove the indentation. Mail does not work with indenting of Markdown.
<x-mail::message>
# Order Shipped

Your order has been shipped!

<x-mail::button :url="$url" color="success">
    View Order
</x-mail::button>

Thanks,

{{ config('app.name') }}
</x-mail::message>


Support chirality when determining if a molecule is a reaction reactant

Is your feature request related to a problem? Please describe.
Given this chemical transform:

This structure

Will match and produce this product

Describe the solution you'd like
I'd like to restrict the reactant substructure matching in runReactants to use chirality when matching the transform.  In this example the reaction would not run.
Perhaps an additional argument of substructure search parameters to runReactants.
Describe alternatives you've considered
For the simple case of one reactant it is easy, but unsatisfactory, to extract the reactant template and check that a substructure match including chirality works.
Additional context
If others think this is a good idea I could put together a PR.
Python code:
# %%

from rdkit import Chem
from rdkit.Chem import AllChem
from rdkit.Chem.Draw import IPythonConsole

IPythonConsole.ipython_useSVG = True

# %%
block2="""
  ChemDraw03172310462D

 10 10  0  0  1  0  0  0  0  0999 V2000
    0.7434   -0.2723    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
    0.5298    0.5246    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.2940    0.5678    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.5897   -0.2024    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    0.0515   -0.7216    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
    0.0083   -1.5455    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    0.7002   -1.9948    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.7268   -1.9200    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
   -0.7434    1.2597    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.3688    1.9948    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
  1  2  2  0        0
  2  3  1  0        0
  3  4  2  0        0
  4  5  1  0        0
  5  1  1  0        0
  6  5  1  1        0
  6  7  1  0        0
  6  8  1  0        0
  3  9  1  0        0
  9 10  1  0        0
M  END
"""
mol2 = Chem.MolFromMolBlock(block2)
mol2

# %%
rxn_block = """$RXN

  ChemDraw03162316262D

  1  1
$MOL

  9  9  0  0  1  0  0  0  0  0999 V2000
    0.7434    0.0953    0.0000 N   0  0  0  0  0  0  0  0  0  2  0  0
    0.5298    0.8922    0.0000 C   0  0  0  0  0  0  0  0  0  1  0  0
   -0.2940    0.9353    0.0000 C   0  0  0  0  0  0  0  0  0  3  0  0
   -0.5897    0.1651    0.0000 C   0  0  0  0  0  0  0  0  0  4  0  0
    0.0515   -0.3540    0.0000 N   0  0  0  0  0  0  0  0  0  5  0  0
    0.0083   -1.1779    0.0000 C   0  0  0  0  0  0  0  0  0  6  0  0
    0.7002   -1.6272    0.0000 C   0  0  0  0  0  0  0  0  0  7  0  0
   -0.7268   -1.5525    0.0000 O   0  0  0  0  0  0  0  0  0  8  0  0
   -0.7434    1.6272    0.0000 C   0  0  0  0  0  0  0  0  0  9  0  0
  1  2  2  0        0
  2  3  1  0        0
  3  4  2  0        0
  4  5  1  0        0
  5  1  1  0        0
  6  5  1  6        0
  6  7  1  0        0
  6  8  1  0        0
  3  9  1  0        0
M  END
$MOL

  9  9  0  0  1  0  0  0  0  0999 V2000
    0.7434    0.0953    0.0000 N   0  0  0  0  0  0  0  0  0  2  0  0
    0.5298    0.8922    0.0000 C   0  0  0  0  0  0  0  0  0  1  0  0
   -0.2940    0.9353    0.0000 C   0  0  0  0  0  0  0  0  0  3  0  0
   -0.5897    0.1651    0.0000 C   0  0  0  0  0  0  0  0  0  4  0  0
    0.0515   -0.3540    0.0000 N   0  0  0  0  0  0  0  0  0  5  0  0
    0.0083   -1.1779    0.0000 C   0  0  0  0  0  0  0  0  0  6  0  0
    0.7002   -1.6272    0.0000 C   0  0  0  0  0  0  0  0  0  7  0  0
   -0.7268   -1.5525    0.0000 O   0  0  0  0  0  0  0  0  0  8  0  0
   -0.7434    1.6272    0.0000 C   0  0  0  0  0  0  0  0  0  9  0  0
  1  2  2  0        0
  2  3  1  0        0
  3  4  2  0        0
  4  5  1  0        0
  5  1  1  0        0
  6  5  1  1        0
  6  7  1  0        0
  6  8  1  0        0
  3  9  1  0        0
M  END

"""
rxn = AllChem.ReactionFromRxnBlock(rxn_block, True, False)
rxn

# %%
products = rxn.RunReactants([mol2])
product = products[0][0]
product

# %%
# reactant does not match reaction template when using chirality
reactant = rxn.GetReactants()[0]
mol2.HasSubstructMatch(reactant, useChirality=True)

@jones-gareth I definitely think that this is a good idea and would be happy to do the implementation if you want to "outsource" it. This has been on the list for a while.
One question is whether the parameter object should be stored as a property of the reaction (and pickled with it) or if all of the isMolecule{Product,Reactant,Agent}OfReaction() functions also should be modified to take the extra argument as well as runReactants() and runReactant().
I'd lean towards making it a property rather than adding that degree of API complexity, but I don't feel super strongly about it.

@greglandrum Works for me if you want to do it.  Otherwise I am also happy to do it, though I have some other things to take care of first.

@jones-gareth ok, I will try to get a PR in this week.


Add option to disable actions in mirror creation dialog

As discussed in #71 it makes sense to create a mirror with actions disabled (this will come with its own caveats but we can cross that bridge when we get there 🌉)
This will be an option that will be off be default in the creation dialog
Let’s also add an env variable that can force this option to be always on, always off, or toggle-able

I feel like there will almost certainly be additional settings that people would want. Not sure if this is feasible, but rather than hardcode just actions on/off, could there be a config stanza of settings names -> values that would be enforced on new repo creation? like this one would be
settings:
  actions:
    permissions:
      enabled: false

... which would map to the repos/actions/permissions API path.

That’s a good point, I was thinking about how we could setup a “default” set of permissions on a mirror. Having a config file wouldn’t be hard to implement on self-deployments. I’ll do some more investigating

I know lots of folks use github/safe-settings for general-purpose repo creation policy - maybe there's some prior art there?


the windows_service resource overwrites builtin service account passwords

Description
the embedded windows_service resource overwrites builtin service account passwords.
Chef Version
14.3.37
Platform Version
Windows Server 2008 R2
Replication Case
Given a recipe which contains a windows_service resource and a service which is already created and configured to run as the builtin Local Service account, the password is overwritten, causing the service to fail to start and requires manually re configuring the service's log on account in services.msc.  The password for this account is unknown therefore a password cannot be supplied and is auto entered when configuring the service.
If the service is stopped and needs to start, I get this error due to the password being trampled on:
Please adjust this behavior so that the password isn't changed every time this runs or this builtin account is excluded or add an option for builtin accounts to automatically get the password and add it.
windows_service 'w32time' do
action [ :enable, :start]
run_as_user 'NT AUTHORITY\Local Service'
end
Client Output
Error message received If the service needs to be started:
The account specified for this service is different from the account specified for other services running in the same process. - StartService: The account specified for this service is different from the account specified for other services running in the same process.'

@joshs85 As per https://docs.microsoft.com/en-us/windows/desktop/services/localservice-account you should specify the run_as_user as 'NT AUTHORITY\LocalService' then this shouldn't happen.
I'm going to close this issue.  Please join us in the #windows community at our Chef Community Slack if you continue to have problems here.


allowBackgroundPlayback no longer works in video_player_android

This is a placeholder issue to track the fact that allowBackgroundPlayback is non-functional in video_player_android.
We are discussing technical solutions in https://github.com/flutter/flutter/issues/156488, this issue will track actually fixing the plugin.

Ok, so our plan is as follows:

Accept that video_player_android does not support background video playback at the moment
After this stable release:

patch SurfaceProducer to use SurfaceTexture on Android 14
patch SurfaceProducer to no longer release textures aggressively

There might be some edge-cases around platform views v external textures to consider.

This will not be fixed in the upcoming release and there is no workaround.


Allow setting of path_patterns via service

Currently we have a multisite setup and change the theme in an kernel event handler.  In this handle I would like to be able to update path_patterns so i can set them fallbacks differently based on the site.
Should I make the liip_theme.file_locator service public and add a public method to allow path_patterns to be changed?
Is this useful to others?  Should I create a PR for the change?

ping

We just settled on just one fall back for all sites instead of allowing each site to have a different fall back.  Though this feature would be nice we do not need it any more.


refactor file to take better account of layers.

Made changes to the layout of the Dockerfile in typescript containers to make more efficient use of layers.

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

Thanks for the contribution!
However, these files are intended to be educational for those less familiar with Dockerfiles rather than being optimized for deployment, so we'll definitely want the comments to remain so it is clear as to what is happening.
It's also important to have ENV DEBIAN_FRONTEND=dialog at the very end, since the point of including ENV DEBIAN_FRONTEND=noninteractive is to avoid errors appearing in the output log.  See here.
Finally, to speed up the process of iterating, on the dev container we should keep rm -rf /var/lib/apt/lists/* separate.  This allows developers to add their own content into the dockerfile between the primary "RUN" and this final cleanup step.  The primary "RUN" player is then reused while the developer is iterating, which speeds up the entire process.  We could do the autoremove/clean steps in the layer, but let's leave rm -rf /var/lib/apt/lists/* separate since running this command will force developers to run apt-get update again.

I have altered the front end statement, however, whilst I agree that the comments are useful, if they are intended for an audience that is not familiar with Docker, then perhaps also the layers should be optimal. People new to docker do not necessarily know this is an important thank and increases the size of the image.
Perhaps there is a way to include the comments but also correct the way in which the file is structured.
It is not just an optimisation but indeed it is listed as docker best practise on their website. And perhaps people newer to the technology are best served by following that best practice ?

It looks like we should be able to layer in the comments within the single RUN statement.  This works for typescript-node-8:
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM node:8

ENV DEBIAN_FRONTEND=noninteractive
ENV SHELL /bin/bash

RUN apt-get update \
    #
    # Install apt-utils to avoid warnings
    && apt-get -y install --no-install-recommends apt-utils 2>&1 \
    #
    # Verify git and needed tools are installed
    && apt-get install -y \
        git \
        procps \
        curl \
        apt-transport-https \
        lsb-release \
    #
    # Remove outdated yarn from /opt and install via package
    # so it can be easily updated via apt-get upgrade yarn
    && rm -rf /opt/yarn-* \
    && rm -f /usr/local/bin/yarn \
    && rm -f /usr/local/bin/yarnpkg \
    && curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
    && echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
    && apt-get update \
    && apt-get -y install --no-install-recommends yarn \
    #
    # Install tslint and typescript globally
    && yarn global add \
        tslint \
        typescript \
    #
    # Clean up
    && apt-get autoremove -y \
    && apt-get clean -y \
    && rm -rf /var/lib/apt/lists/*

ENV DEBIAN_FRONTEND=dialog

Great I will make the changes as described, it's all good

changes have been made as suggested, inline comments placed back in, to enable people who are newer to docker to understand what is meant by certain operations.

@krystan So, I'm thinking that if we move forward with this, we'll probably want to do this largely across the board which fortunately isn't too hard -- but I want to get some regression testing scripts in place to make it a bit easier to retest things that are known to work. Looking thorugh @kmehant's comments, I think these are primarily are due to the fact that it looks like the JavaScript flavor didn't get updated like the TypeScript ones (since those already have the updates we discussed).

ok is that something you need some help with or should I leave this for now ?

So what I did was started a working branch for these: https://github.com/microsoft/vscode-dev-containers/tree/layer-consolidation
What might be the best thing to do would be to actually do a PR into this branch instead so we can make these changes w/o impacting releases if needed.  Mainly worrying about unexpected regressions due to small typos, etc.
I did a pass but left the typescript / JS definitions alone so we can merge it in. That work?
//cc: @chrmarti as FYI


Roll Flutter from b05b44e88ad9 to b305eb633780 (2 revisions)

https://github.com/flutter/flutter/compare/b05b44e88ad9...b305eb633780
2022-05-07<EMAIL_ADDRESS>Roll Engine from bfa87fdac664 to 094cb30943a5 (1 revision) (flutter/flutter#103255)
2022-05-07<EMAIL_ADDRESS>Update Cupertino examples and add missing tests (flutter/flutter#103128)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Add option to save Publish profile in VScode

This PR adds the functionality to prompt the user to save publish profile, during the Publish workflow. It then adds the newly created file to the project tree.
Another PR will follow to add the ability of creating a publish profile from within the project's context menu.

Workflow screenshot to save publish profile:
Message pop-up Screenshot:

It then opens a file picker:

And the file gets added in the project tree:

Somehow the default publish deployment options in VSCode projects extension is different than default publish deployment options picked and saved in publish profile generated from within ADS's publish workflow. Creating a separate workitem to keep track of it.

Can you also please add screenshots of the save publish profile prompt? The gif was a little too fast for me to catch it

Can you also please add screenshots of the save publish profile prompt? The gif was a little too fast for me to catch it

My bad, I sped it up because my speed of performing the workflow was too slow. But didn't realize it was too fast. Added the screenshots.


Issue #831: Fix compile issues on MinGW

Issue actions/runner-images#831: Fix compile issues on MinGW

Use WIN32_LEAN_AND_MEAN when building on Windows to avoid pulling in irrelevant headers
Rename "interface" to "interface_inst" to avoid conflicting with system defined class with the same name.
Rename "module" to "module_inst" since the latter is now a C++ reserved word as of C++ 20.

@hs-apotell, I'm just realizing now what changed here.
There was no reason to change vpiModule into vpiModuleInst. Same with vpiInstance,. These are the STANDARD Verilog object model names. They pose no issue to the MinGW compiler....
Please submit a PR ASAP to revert back to vpiModule and vpiInstance.
The "module" class can be changed to module_inst, but not the vpiModule name which is in the standard.

I opened https://github.com/chipsalliance/UHDM/issues/859


Memory fixes. Resolves #10867, and resolves #14080

Description
There were a few memory leaks in executor and some instances of where ResourceScope was causing problems. This should fix those known issues.
To elaborate on the ResourceScope issue: there are some times when classes such as Executor creates other NativeResources (usually NDArrays) after the Executor has been instantiated. The executor then has a dependency on that new NativeResource. Since these happen at different times, they could potentially be created at different ResourceScope levels. The result is an unstable state where exiting the scope would cause a crash. Fixed this by adding a method to NativeResource which allows moving a resource to the same scope as another. This allows the parent class to control the scope of their dependencies.
Resolves #10867, and resolves #14080.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-label-bot add [Memory, Scala, pr-awaiting-review]

NeuralStyle on gpu seems to be failing. I'll have to dig into why. I also think I've thought of a better way to deal with the interdependency of symbol/executor than what is being done right now so I'll update that as well.

If I understood correct(from the description), the problem is Executor creates some NDArrays that gets disposed before the executor?
I am wondering how are these NDArrays getting released before the destruction of the executor?

@nswamy This is because there is no guarantee that they are created at the same ResourceScope level. For example, the Executor gets created and returned to the user. The user then opens up a ResourceScope to do inference. In this scope, the executor might end up creating new resources for itself. Those resources are then in the scope level of the user's ResourceScope and get disposed when that closes. This leaves the Executor without the dependencies it created.
The solution is to have objects like executor put any dependencies that they create into the same ResourceScope as themselves. This way they are all coupled together. I thought about using moveToOuterScope but there's no way to know how many levels of scope could be between the two.

@andrewfayres, thanks for taking care of this, Its a really nice find :)
I find the design of executor less than desirable(where it creates states in a method dynamically) after the
the object is created.
Anyway, here is what we discussed offline:

moveToScopeOf needs cognizant use of it after the creation of the resources
calling moveToScopeOf on a large amount of objects will have performance impact.

My suggestion is to create a couple methods in ResourceScope.
ResourceScope.setScope(scope: ResourceScope)
ResourceScope.resetScope()
We can document these methods to be used when you want to hold NativeResources as state variables inside another NativeResource, in this case the Executor.
Explore to automatically detect(possibly reflection) creation of NativeResource within another NativeResource.
Ideal would have been to pass the scope in which to create to a native resource, unfortunately that would require changing every API of NDArray, Symbol, etc., since most of them are exposed as static methods.
I am open to hear any other interesting ideas that is less intrusive.

I came up with a different solution which we (@nswamy and I) discussed offline. Essentially, ResourceScope.using already has an optional parameter for an existing scope. A few changes minor changes should let us reuse that.
This approach should be more consistent and intuitive. I'll update the PR.

Any updates?

I was on call last week and didn't have time to pick this back up unfortunately. I started working on it again yesterday and finished the code changes. I'm going to do testing today and if all goes well I'll have an update this afternoon.

Found a new bug last night where many of the optimizers cause a seg fault when used with FeedForward in 1.4.0. Surprisingly, no one has filed an issue for this so I went ahead and did so. It's fixed in this PR.
Resolves #14498

CI seems to be experiencing unrelated failures. I'll restart this later once they appear to be resolved.

I am surprised that the tests did not catch the seg-faults, I ran the code through several examples for many days and did not see the seg-faults.

Feedforward is to be deprecated and Module should be used instead, we never deprecated that module, may be we should consider deprecating that.

summary of offline discussion:

The method is private, this needs to be re-evaluate if we can do without adding scope twice into threadlocal. (ResourceScope:L162)
There is a bug in using method that closes the passed in scope(it should not), we will track a JIRA to track and resolve.

Thanks for nailing down this issue, great Job 💯 Please link the JIRA we discussed for fixing the scope closing if passed

Link to Jira for looking into & fixing the ResourceScope.using closing scopes that are passed in.
https://issues.apache.org/jira/browse/MXNET-1376


ci: Refactor cached disk image selection logic

Motivation
Resolve https://github.com/ZcashFoundation/zebra/pull/8908#discussion_r1799946596.
Solution

Try other locations if $PREFER_MAIN_CACHED_STATE is true and find_cached_disk_image doesn't return anything.

Tests
No tests.
PR Author's Checklist

[ ] The PR name is suitable for inclusion in the changelog.
[ ] The solution is tested.
[x] The PR has a priority label.

Solved within https://github.com/ZcashFoundation/zebra/pull/8908


Fixes for pipeline multi sample issue 2159 and 2180

Fixes for https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/2180 and https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/2159
Includes a common code refactor of the CreateGraphicsPipeline setup code for layer_validation_tests.cpp, used by the new cases, but presented here for review/feedback/refinement before refactoring the 20+ other copies in extant test cases to use it.

Can I get a thumbs up or a set of requested changes?

LGTM.


INIT_COMMAND override being ignored in Amazon ECS

Hello, I have the Label Studio (version 0.8.2) docker service running in Amazon ECS, as built from the docker-compose.yml file in your repo. It runs fine, but whenever I pass a container override for the INIT_COMMAND, it is ignored by the service. This is my syntax for the override:
aws ecs run-task ... --overrides '{
                "containerOverrides":
                [
                        {
                                "name":"label-studio",
                                "environment":[{"name":"INIT_COMMAND","value":"--init --force --template text_classification"}]
                        }
                ]}'

As I said, the task runs fine, but it's clearly ignoring this override as the given template is not loaded. I've tried with other label-studio command line arguments with the same result. I also tested setting INIT_COMMAND directly from the terminal using docker-compose, as shown in your README file, and that worked fine. So I don't know if it's an issue with the way I built the image in Docker or pushed it to ECR, and I'm fairly new to both. But can you see something I'm doing wrong?

@sethfarns
Hello, as far as I remember docker-compose command is overridden by tools/run.sh called from Dockerfile.
Could you check this PR and branch: https://github.com/heartexlabs/label-studio/pull/561
I've added INIT_COMMAND to run.sh.

@sethfarns
Hello, as far as I remember docker-compose command is overridden by tools/run.sh called from Dockerfile.
Could you check this PR and branch: https://github.com/heartexlabs/label-studio/pull/561
I've added INIT_COMMAND to run.sh.

Worked like a charm. Thanks!

Worked like a charm. Thanks!

Wow! I was glad to help! :slightly_smiling_face:

Wow! I was glad to help! :slightly_smiling_face:


Deployment fails during installing NPM modules

The deployment just fails during 'Running deployment command...'  I run them separately... It frozen in gulp install

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


[BUG] 旧对文本话丢失

Describe the bug
旧对文本话丢失/不显示
To Reproduce
Steps to reproduce the behavior:
1.新建对话项目
2.对话6~7次
3.滚轮上滚
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Deployment

[ ] Vercel

Desktop (please complete the following information):

OS: [Windows10]
Browser [Firefox 115.0b4 (64 位)]
Version [

]

Additional Logs
Add any logs about the problem here.

是否能在 chrome 中稳定复现？
尝试是否能在 chrome/edge 浏览器上复现。

确认为 bug，今晚修复。


DSD-600: ActionLaunch icon

Fixes JIRA ticket DSD-600
This PR does the following:

adds ActionLaunch icon to Icon component

How has this been tested?

local build of Storybook

Checklist:

[x] I have updated the Storybook documentation accordingly.
[x] All new and existing tests passed.

Front End Review:

[x] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr777-zn3lmgqf7c95oh6jeeqenhob6iyza9jc.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6197f666908ae108445edb42

Tugboat has finished building the preview for this pull request!
Link:

https://pr777-zn3lmgqf7c95oh6jeeqenhob6iyza9jc.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6197f666908ae108445edb42


Option to use superjson to keep furher types (eg. Dates)

Hey guys,
i'm using a few different libraries together: prisma, prisma-redis-middleware(that uses this lib under the hood), and trpc. On the first call, i am receiving a Date object, but on subsequent calls, i am receiving a string. I believe this is because when using JSON stringify and parse, the data types are not kept intact. With the superjson you could keep the types as is.
I dont know the performance hit and i have strong feeling it would be worse than the current soultion, and as someone mentioned the bottleneck is the json parsing.
Thanks

I would accept a PR with an option to pass a custom serialization library. Would you like to contribute that?

Yes, i can do that :)


How can I use one GPU to train the RepViT?

Hi, thank you for your great work! However, I only have one GPU, and I want to know how should I modify the training command line you provided? Do I need to modify the learning rate and batch_size? Thank you very much!

Hi, thanks for your interest! Single gpu training can be enabled by setting the nproc_per_node to 1. For example,
python -m torch.distributed.launch --nproc_per_node=1 --master_port 12346 --use_env main.py --model repvit_m1 --data-path ~/imagenet --dist-eval

And you can modify the batch_size according to your GPU memory. For example, you can specify the batch_size=128 by
python -m torch.distributed.launch --nproc_per_node=1 --master_port 12346 --use_env main.py --model repvit_m1 --data-path ~/imagenet --dist-eval --batch-size 128

The learning rate does not need to be modified, which will be linear scaled by
https://github.com/THU-MIG/RepViT/blob/2d85a4c5b709a99fc81ffe4384333e244fda4ab5/main.py#L314-L315


AsJob is a common parameter for remotely loaded modules

Unbeknownst to me, nearly every Exchange cmdlet has a parameter named AsJob. I understand the functionality of this parameter; I don't need an explanation of what it does.
I confirmed the availability of AsJob in the Exchange Management Shell, and New-MarkdownHelp dutifully detected it.
AsJob isn't mentioned in the Common Parameters (Debug, Verbose, ErrorAction, ErrorVariable, etc.) at https://go.microsoft.com/fwlink/p/?LinkID=113216. But I also confirmed that AsJob isn't present anywhere in the Exchange MAML XML files.
Should AsJob be treated like a Common Parameter? Is there a way to suppress AsJob from platyPS?

Fairly sure this extra-AsJob parameter is related to PS remoting.

@BernieWhite oh, nice catch!

Groovy. But, the only way to interact with Exchange in PowerShell is through remoting. Even when you open the Exchange Management Shell on the local server, you're still remoting into the local server behind-the-scenes.
So, anything that can be done to selectively suppress AsJob would be very helpful.

Fixed in #361


TGA-Bot Dockerfile and Docker image

Create a production ready dockerfile and docker image for the TGA-Bot made available on docker hub.

This has been accomplished in its own repo here.


Development environment on HTTP

Hi, I recently upgraded this library and adapted it to run inside a nestjs controller.
The issue I have is related to the static files it tries to load after loading the main URL. It seems it defaults to https:// by default, but usually on dev there are times when the project is setup without SSL.
Is there a way to tell it to use the same schema as the domain it is running on? Shouldn't this be the default behavior?
Thanks!

Thank you for reporting this issue 🙏🏼
Can you add some more details, what files are the problematic ones?

I know my routes are setup correctly because if I take that last URL and use it with http it loads the resource.
This is my current setup in a NestJS controller. I use wildcard routes to redirect all requests to bull-board
const { createBullBoard } = require('@bull-board/api');
const { BullAdapter } = require('@bull-board/api/bullAdapter');
const { ExpressAdapter } = require('@bull-board/express');

@Controller('admin')
@UseGuards(LegacyAuthGuard)
export class AdminController {
  private readonly bullRouter = new ExpressAdapter();

  constructor(
    @InjectQueue(SOME_QUEUE) private readonly someQueue: Queue,
    @InjectQueue(QUEUE_2) private readonly queue2: Queue,
  ) {
    createBullBoard({
      queues: [new BullAdapter(opaQueue), new BullAdapter(vardaQueue)],
      serverAdapter: this.bullRouter,
    });
  }

  @Get('/queues/?*')
  @ApiExcludeEndpoint(true)
  public async getBullBoard(
    @Req() req: express.Request,
    @Res() res: express.Response,
  ): Promise<any> {
    this.bullBoard(req, res);
  }

  @Put('/queues/?*')
  @ApiExcludeEndpoint(true)
  public async putBullBoard(
    @Req() req: express.Request,
    @Res() res: express.Response,
  ): Promise<any> {
    this.bullBoard(req, res);
  }

  private bullBoard = (req: express.Request, res: express.Response): void => {
    const app = express();
    this.bullRouter.setBasePath('/iam/admin/queues');
    app.use('/iam/admin/queues', this.bullRouter.getRouter());
    app(req, res);
  };
}

I've checked the entire code base, it is not setting anything with schema (http / https).
this is how the HTML file looks like:
<!doctype html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no" />
    <base href="/ui" />
    <title>Bull Dashboard</title>
    <link rel="alternate icon" type="image/png" href="/ui/static/favicon-32x32.png">
    <link rel="icon" type="image/svg+xml" id="fav-logo" href="/ui/static/images/logo.svg">
    <link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500&display=swap"
          rel="stylesheet">

    <link href="/ui/static/main.2f7e95e6f58a385f08ff.css" rel="stylesheet">

Loading...

There is no schema in the HTML.
Can you share your HTML?

@felixmosh
Hmm, weird, I will double check this. Might be so that browser is automatically using secure connection when loading resources? I'll give this a closer look, because I'm certainly running on http only. And from what you pasted above I agree, begin a relative path, it should use the domain and schema it was called from.
Thanks for your help!

By dev environment, do you refer as for developing bull-board it self?
Because when you are using bull-board npm package, it is already "compiled" and ready to prod usage, and the HTML will look like I've mentioned.
If you can post here your HTML file, we will be able to detect the issue.
Anyhow, there is small issue in your snippet, instead of creating each request a new express app, create an app once (in the constructor), setup it, and use the app.handle to hander the request.
const { createBullBoard } = require('@bull-board/api');
const { BullAdapter } = require('@bull-board/api/bullAdapter');
const { ExpressAdapter } = require('@bull-board/express');

@Controller('admin')
@UseGuards(LegacyAuthGuard)
export class AdminController {
  private readonly app = express();

  constructor(
    @InjectQueue(SOME_QUEUE) private readonly someQueue: Queue,
    @InjectQueue(QUEUE_2) private readonly queue2: Queue,
  ) {
    cost bullRouter = new ExpressAdapter();
    createBullBoard({
      queues: [new BullAdapter(opaQueue), new BullAdapter(vardaQueue)],
      serverAdapter: bullRouter,
    });

    bullRouter.setBasePath('/iam/admin/queues');
    this.app.use('/iam/admin/queues', bullRouter.getRouter());
  }

  @Get('/queues/?*')
  @ApiExcludeEndpoint(true)
  public async getBullBoard(
    @Req() req: express.Request,
    @Res() res: express.Response,
  ): Promise<any> {
    this.app.handle(req, res);
  }

  @Put('/queues/?*')
  @ApiExcludeEndpoint(true)
  public async putBullBoard(
    @Req() req: express.Request,
    @Res() res: express.Response,
  ): Promise<any> {
    this.app.handle(req, res);
  }
}

Yes, it is related to Content-Security-Policy. It seems the browser uses upgrade-insecure-requests by default. If I manually change the header to remove that option, it loads correctly. So as a workaround for dev environments, this header option can be disable, maybe based on a NODE_ENV variable

Is this Content-Security-Policy header comes from bull-board?

no, the issue can be closed as it is not related. Most probably browser policy to make sites more secure.
Thanks anyway for pointing me in the right direction

Here's the updated code in case anyone is having the same issue
const { createBullBoard } = require('@bull-board/api');
const { BullAdapter } = require('@bull-board/api/bullAdapter');
const { ExpressAdapter } = require('@bull-board/express');

@Controller('admin')
@UseGuards(LegacyAuthGuard)
export class AdminController {
  private readonly bullRouter = new ExpressAdapter();
  private readonly app = express();

  constructor(
    @InjectQueue(QUEUE_1) private readonly queue1: Queue,
    @InjectQueue(QUEUE_2) private readonly queue2: Queue,
    private readonly config: ConfigService,
  ) {
    this.bullRouter.setBasePath('/iam/admin/queues');
    createBullBoard({
      queues: [new BullAdapter(queue1), new BullAdapter(queue2)],
      serverAdapter: this.bullRouter,
    });

    this.app.use('/iam/admin/queues', this.bullRouter.getRouter());
  }

  @Get('/queues/?*')
  @ApiExcludeEndpoint(true)
  public async getBullBoard(
    @Req() req: express.Request,
    @Res() res: express.Response,
  ): Promise<any> {
    this.bullBoard(req, res);
  }

  @Put('/queues/?*')
  @ApiExcludeEndpoint(true)
  public async putBullBoard(
    @Req() req: express.Request,
    @Res() res: express.Response,
  ): Promise<any> {
    this.bullBoard(req, res);
  }

  private bullBoard = (req: express.Request, res: express.Response): void => {
    if (this.config.get('app.env') !== 'production') {
      res.setHeader('Content-Security-Policy', '');
    }

    this.app(req, res);
  };
}

+1 for stumbling on this issue. In my case I'd guess Chrome was forwarding to https automatically. I'd had to do the following:
router.use('/admin/queues', (req, res, next) => { // whatever your board url is
  res.setHeader('Content-Security-Policy', '');
  next();
}, serverAdapter.getRouter());

Might be worth adding it to some docs, as it seems more people will stumble upon it. Thanks for the board! :)

It is not related to bull-board since your app enforces CSP and you most provide all the things to bull-board.
For example, if your app enforces https, make basePath absolute path containing https.


Fix uninitialized constant MessagePack

Using json type with jruby plugin, I got Fix uninitialized constant MessagePack as https://gist.github.com/sonots/617c7cf246a0c522651c.
I am not sure a correct way to fix, but this patch fixed the issue anyway.

Thanks!


[PyVelox] Add type specification support while creating vectors from list

This PR adds the support to specify data type while creating a vector from a Python list. With this change, the user can also create empty or null vectors.

@sanjibansg Can you fix failing pyvelox build due to this PR ?


Test failure in twiceOpenSession on Windows

https://github.com/IntersectMBO/lsm-tree/actions/runs/9387087243/job/25849161692#step:15:506

Another one: https://github.com/IntersectMBO/lsm-tree/actions/runs/9481332529/job/26123889378

Once again... https://github.com/IntersectMBO/lsm-tree/actions/runs/9758623129/job/26933563088#step:15:809

Again: https://github.com/IntersectMBO/lsm-tree/actions/runs/10348810698/job/28641858731?pr=333#step:16:674

Yup, it's been happening intermittently for a while now. Let's see if anything changes after #300


Add support for getters and setters

…ters

Okay, let's leave this out for now. Won't delete, just in case we want to come back to it in a few months' time or something.


Latest rancher helm charts does not working on k8s version v1.31.0

Rancher Server Setup & errors
I am trying to install rancher helm charts into my Kubernetes  version v1.31.0 by this commands:-
helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
helm install my-rancher rancher-stable/rancher --version 2.9.3 -n cattle-system
but i think your current helm charts does not support in this version, so when it will avaliable for v1.31.0. here is the error logs and screenshot.
Error: INSTALLATION FAILED: chart requires kubeVersion: < 1.31.0-0 which is incompatible with Kubernetes v1.31.0

Please read the support matrix before upgrading. Current Rancher 2.9.3 supports up to v1.30.5.


Dep-Kill-Child-Process

What does this do / why do we need it?
What should your reviewer look out for in this PR?
Do you need help or clarification on anything?
Which issue(s) does this PR fix?

Hey, I'm a little confused here. You're trying to merge master of your fork into a branch of the upstream project. The branch - kill-child-process - has been merged into dep master and frankly we should remove it...
Is there a change you are attempting to make to the dep project? Maybe we can talk about it before we write code down.


"Cannot load StringPrep-0.7.0 bindings" problem

Installed via "Triatomic" starter to Heroku I get:
Cannot load StringPrep-0.7.0 bindings (using fallback). You may need to `npm install node-stringprep`

Including node-stringprep into package.json does not help.
Do you know what can cause this issue?

It's not a real issue -- that's an optional dependency that we don't need.
On Thursday, May 7, 2015, mieciu<EMAIL_ADDRESS>wrote:

Installed via "Triatomic" starter to Heroku I get:
Cannot load StringPrep-0.7.0 bindings (using fallback). You may need to npm install node-stringprep
Including node-stringprep into package.json does not help.
Do you know what can cause this issue?
—
Reply to this email directly or view it on GitHub
https://github.com/hipchat/hubot-hipchat/issues/245.

--
By the power of Greyskull

So isn't it reason why I these:
2015-05-08T10:38:27.115091+00:00 app[web.1]: Cannot load StringPrep-0.7.0 bindings (using fallback). You may need to `npm install node-stringprep`
2015-05-08T10:38:27.672674+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connecting HipChat adapter...
2015-05-08T10:38:27.920838+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connection went offline
2015-05-08T10:38:27.920535+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connection went offline
2015-05-08T10:38:27.921285+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connection went offline

Right, that warning about string prep is a red herring -- it's a harmless
message generated by our node-xmpp dependency that we can't easily omit.  I
should add a mention of that in the readme.
I'm not clear why you are seeing the connection offline issues.  Without
revealing any secrets, can you post your envvar settings for the bot here?
On Friday, May 8, 2015, mieciu<EMAIL_ADDRESS>wrote:

So isn't it reason why I these:
2015-05-08T10:38:27.115091+00:00 app[web.1]: Cannot load StringPrep-0.7.0 bindings (using fallback). You may need to npm install node-stringprep
2015-05-08T10:38:27.672674+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connecting HipChat adapter...
2015-05-08T10:38:27.920838+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connection went offline
2015-05-08T10:38:27.920535+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connection went offline
2015-05-08T10:38:27.921285+00:00 app[web.1]: [Fri May 08 2015 10:38:27 GMT+0000 (UTC)] INFO Connection went offline
—
Reply to this email directly or view it on GitHub
https://github.com/hipchat/hubot-hipchat/issues/245#issuecomment-100187775
.

--
By the power of Greyskull

Hey,
Sure, thanks for helping hand :smile:
=== applause-hubot Config Vars
BUILDPACK_URL:                   https://github.com/heroku/heroku-buildpack-nodejs
HUBOT_HEROKU_KEEPALIVE_URL:      https://my-hubot.herokuapp.com
HUBOT_HIPCHAT_JID<EMAIL_ADDRESS>HUBOT_HIPCHAT_JOIN_PUBLIC_ROOMS:
HUBOT_HIPCHAT_PASSWORD:<PHONE_NUMBER>22
REDISTOGO_URL:                   redis://redistogo:f22e@redistogo.com:9198/

Enabling debug log also doesn't provide much information
2015-05-12T12:40:00.209681+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209682+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209683+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209684+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209685+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209687+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209688+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209689+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209690+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209691+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209692+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209694+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209695+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209696+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209697+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209698+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.209699+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] INFO Connection went offline
2015-05-12T12:40:00.209701+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here
2015-05-12T12:40:00.223008+00:00 app[web.1]: [Tue May 12 2015 12:40:00 GMT+0000 (UTC)] DEBUG Disconnecting here

Were you able to solve this? I get the same message,

fixed in https://github.com/hipchat/hubot-hipchat/pull/261