Scope & build initial MVP

Details to follow...

Additional info on the Add support for an Ethereum PK elliptic curve (secp256k1) to ts-ucan & hs-ucan task above.

Add an extra column (or info) to the database on the public key algorithm (instead of checking for the MII prefix to see if it's RSA)
Alternatively, instead of the above, store the DID instead of the parsed public key.
Either add support for did:pkh or did:key:SECP_KEY. The PKH key might not be possible, or require a lot of changes, since you'll always need an accompanied UCAN (or other signed item) to get the signature from (because we need the signature to get the public key from the ethereum address in the PKH DID).


Error: when using the layer in Node v18

Hi @charoitel  - thank you for this work. Really helped me out.
We built the layer using your AWS serverless application. It works fine in v16, though when using as a layer in Node v18 we get intermittent errors:
    "errorType": "Error",
    "errorMessage": "The module '/opt/nodejs/node_modules/canvas/build/Release/canvas.node'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 93. This version of Node.js requires\nNODE_MODULE_VERSION 108. Please try re-compiling or re-installing\nthe module (for instance, using `npm rebuild` or `npm install`).",
    "code": "ERR_DLOPEN_FAILED",

We also used Cloud9 to step through your code and run it just for Node v18 and it gives a similar error:
 "errorType": "Error",
  "errorMessage": "The module '/opt/nodejs/node_modules/canvas/build/Release/canvas.node'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 93. This version of Node.js requires\nNODE_MODULE_VERSION 108. Please try re-compiling or re-installing\nthe module (for instance, using `npm rebuild` or `npm install`).",
  "trace": [
    "Error: The module '/opt/nodejs/node_modules/canvas/build/Release/canvas.node'",
    "was compiled against a different Node.js version using",
    "NODE_MODULE_VERSION 93. This version of Node.js requires",
    "NODE_MODULE_VERSION 108. Please try re-compiling or re-installing",
    "the module (for instance, using `npm rebuild` or `npm install`).",

Thank you so much in advance!

I have the same error

This was a mistake on my end, I can't replicate this error

@DavidVaness I found the build script should move the node_modules folder to either node16 or node18 and ensure there should be no /opt/nodejs/node_modules folder, still have to fix it. May I know if you could run your Lambda function or not at the moment?

I am sorry, I have this error on node18, must have been some caching issue
{     "errorType": "Error",     "errorMessage": "/var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header",     "code": "ERR_DLOPEN_FAILED",     "stack": [         "Error: /var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header",         "    at Module._extensions..node (node:internal/modules/cjs/loader:1243:18)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at Object.<anonymous> (/var/task/node_modules/canvas/lib/bindings.js:3:18)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at Object.<anonymous> (/var/task/node_modules/canvas/lib/canvas.js:9:18)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at Object.<anonymous> (/var/task/node_modules/canvas/index.js:1:16)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at node_modules/konva/cmj/index-node.js (/node_modules/konva/cmj/index-node.js:4:16)",         "    at __require (/var/task/src/functions/render/handler.js:9:51)",         "    at Object.<anonymous> (/src/libs/canvas-creatives/entities/socialmedia/socialmedia.entity.ts:1:19)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at _tryRequireFile (file:///var/runtime/index.mjs:915:37)",         "    at _tryRequire (file:///var/runtime/index.mjs:965:25)",         "    at _loadUserApp (file:///var/runtime/index.mjs:994:22)",         "    at UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1035:27)",         "    at start (file:///var/runtime/index.mjs:1200:42)",         "    at file:///var/runtime/index.mjs:1206:7",         "    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)",         "    at async Promise.all (index 0)",         "    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)",         "    at async loadESM (node:internal/process/esm_loader:91:5)",         "    at async handleMainPromise (node:internal/modules/run_main:65:12)"     ] } | 2023-01-16T14:57:22.300Z undefined ERROR Uncaught Exception {"errorType":"Error","errorMessage":"/var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header","code":"ERR_DLOPEN_FAILED","stack":["Error: /var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header"," at Module._extensions..node (node:internal/modules/cjs/loader:1243:18)"," at Module.load (node:internal/modules/cjs/loader:1037:32)"," at Module._load (node:internal/modules/cjs/loader:878:12)"," at Module.require (node:internal/modules/cjs/loader:1061:19)"," at require (node:internal/modules/cjs/helpers:103:18)"," at Object.<anonymous> (/var/task/node_modules/canvas/lib/bindings.js:3:18)"," at Module._compile (node:internal/modules/cjs/loader:1159:14)"," at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)"," at Module.load (node:internal/modules/cjs/loader:1037:32)"," at Module._load (node:internal/modules/cjs/loader:878:12)"," at Module.require (node:internal/modules/cjs/loader:1061:19)"," at require (node:internal/modules/cjs/helpers:103:18)"," at Object.<anonymous> (/var/task/node_modules/canvas/lib/canvas.js:9:18)"," at Module._compile (node:internal/modules/cjs/loader:1159:14)"," at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)"," at Module.load (node:internal/modules/cjs/loader:1037:32)"," at Module._load (node:internal/modules/cjs/loader:878:12)"," at Module.require (node:internal/modules/cjs/loader:1061:19)"," at require (node:internal/modules/cjs/helpers:103:18)"," at Object.<anonymous> (/var/task/node_modules/canvas/index.js:1:16)"," at Module._compile (node:internal/modules/cjs/loader:1159:14)"," at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)"," at Module.load (node:internal/modules/cjs/loader:1037:32)"," at Module._load (node:internal/modules/cjs/loader:878:12)"," at Module.require (node:internal/modules/cjs/loader:1061:19)"," at require (node:internal/modules/cjs/helpers:103:18)"," at node_modules/konva/cmj/index-node.js (/node_modules/konva/cmj/index-node.js:4:16)"," at __require (/var/task/src/functions/render/handler.js:9:51)"," at Object.<anonymous> (/src/libs/canvas-creatives/entities/socialmedia/socialmedia.entity.ts:1:19)"," at Module._compile (node:internal/modules/cjs/loader:1159:14)"," at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)"," at Module.load (node:internal/modules/cjs/loader:1037:32)"," at Module._load (node:internal/modules/cjs/loader:878:12)"," at Module.require (node:internal/modules/cjs/loader:1061:19)"," at require (node:internal/modules/cjs/helpers:103:18)"," at _tryRequireFile (file:///var/runtime/index.mjs:915:37)"," at _tryRequire (file:///var/runtime/index.mjs:965:25)"," at _loadUserApp (file:///var/runtime/index.mjs:994:22)"," at UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1035:27)"," at start (file:///var/runtime/index.mjs:1200:42)"," at file:///var/runtime/index.mjs:1206:7"," at ModuleJob.run (node:internal/modules/esm/module_job:193:25)"," at async Promise.all (index 0)"," at async ESMLoader.import (node:internal/modules/esm/loader:530:24)"," at async loadESM (node:internal/process/esm_loader:91:5)"," at async handleMainPromise (node:internal/modules/run_main:65:12)"]}
-- | --
  | 2023-01-16T15:57:22.895+01:00Copy2023-01-16T14:57:22.895Z	undefined	ERROR	Uncaught Exception 	{     "errorType": "Error",     "errorMessage": "/var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header",     "code": "ERR_DLOPEN_FAILED",     "stack": [         "Error: /var/task/node_modules/canvas/build/Release/canvas.node: invalid ELF header",         "    at Module._extensions..node (node:internal/modules/cjs/loader:1243:18)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at Object.<anonymous> (/var/task/node_modules/canvas/lib/bindings.js:3:18)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at Object.<anonymous> (/var/task/node_modules/canvas/lib/canvas.js:9:18)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at Object.<anonymous> (/var/task/node_modules/canvas/index.js:1:16)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at node_modules/konva/cmj/index-node.js (/node_modules/konva/cmj/index-node.js:4:16)",         "    at __require (/var/task/src/functions/render/handler.js:9:51)",         "    at Object.<anonymous> (/src/libs/canvas-creatives/entities/socialmedia/socialmedia.entity.ts:1:19)",         "    at Module._compile (node:internal/modules/cjs/loader:1159:14)",         "    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)",         "    at Module.load (node:internal/modules/cjs/loader:1037:32)",         "    at Module._load (node:internal/modules/cjs/loader:878:12)",         "    at Module.require (node:internal/modules/cjs/loader:1061:19)",         "    at require (node:internal/modules/cjs/helpers:103:18)",         "    at _tryRequireFile (file:///var/runtime/index.mjs:915:37)",         "    at _tryRequire (file:///var/runtime/index.mjs:965:25)",         "    at _loadUserApp (file:///var/runtime/index.mjs:994:22)",         "    at UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1035:27)",         "    at start (file:///var/runtime/index.mjs:1200:42)",         "    at file:///var/runtime/index.mjs:1206:7",         "    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)",         "    at async Promise.all (index 0)",         "    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)",         "    at async loadESM (node:internal/process/esm_loader:91:5)",         "    at async handleMainPromise (node:internal/modules/run_main:65:12)"     ] }

<br class="Apple-interchange-newline">

@DavidVaness, @stuharben,
The maintenance release v2.11.1 of the canvas layer has just been updated on serverless repo, could you please try the latest release? You may deploy the latest layer through the serverless repo or upload the latest release from the Releases section. Please let me know if the release works stable at your side or not. Thank you.


Added new company logos

Added the 4 new logos mentioned in #441  and #612 to prometheus.io homepage.
Any objections @beorn7 @RichiH @dominikschulz ?

@juliusv might care about alignment (I don't); else it looks good to me.

Finally! No objections, great stuff. (But I'm essentially design-illiterate if you apply common standards...)


Update CAN18YETax.md

updating

Docs Build status updates of commit 52078bb:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/payroll/CAN18YETax.md
:warning:Warning
View
Details

dynamics-gp/payroll/CAN18YETax.md

Line 79, Column 9: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/dynamics/s-e/gp/cagptuye2018_285' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 79, Column 9: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/dynamics/s-e/gp/cagptuye2018_285' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Django 1.9 fixes for MarkupField within a model form

Closes #13

Second commit should have fix. Turned out to be identical to this fix from another project. Lol!
https://github.com/jamesturk/django-markupfield/pull/37

Would really appreciate a PyPI release if you accept this PR. I would like to be able to address this django-andablog issue by incrementing the PyPI version of markitup. Thanks!

@zsiciarz Post holiday ping. :)

Hi Ivan! Sorry for the late response, thanks for the report and fix! Merged and released in 2.3.0.


Duplicated instance domain while redirecting

This behavior was observed while trying to redirect from @mastodon.social. For what I can tell, redirecting from other instances seem to be working fine (I haven't tried many, though), however redirecting from @mastodon.social ends up with the following URL pattern: https://myinstance.org/<EMAIL_ADDRESS>I'm on Firefox 124.0.1
Arch Linux

Ran into the same issue.
I changed both of those lines:
https://github.com/bramus/mastodon-redirector/blob/5ea830c1dc4876146fc1476ebdca1663f084f5ea/src/content.js#L16
https://github.com/bramus/mastodon-redirector/blob/5ea830c1dc4876146fc1476ebdca1663f084f5ea/src/background.js#L13
to
const userFromProfilePage = document.head.querySelector('meta[property="profile:username"]')?.content;

which seems to have worked. I'm not that familiar with all various versions and/or mods of mastodon, so I'll refrain from opening a PR, but maybe changing those two lines might work for some.

I've hit this also. It's a legit bug

The reason why I don’t rely on meta[property="profile:username"] is that it’s not always set correctly, as reported in https://github.com/mastodon/mastodon/issues/21591. The suggested fix in https://github.com/bramus/mastodon-redirector/issues/10#issuecomment-2058550115 therefore won’t cut it.
To dig into this myself I’m gonna need a reproduction. Which steps on which URL do I need to do in order to hit this?

My steps to reproduce:

Install Mastodon Redirector and set the LOCAL_DOMAIN to nyan.lol and leave the WEB_DOMAIN blank.
Visit https://journa.host/@AdminTeam and click Mastodon Redirector
Tab navigates to https://nyan.lol/<EMAIL_ADDRESS>
Expected result: Tab navigates to https://nyan.lol/<EMAIL_ADDRESS>Note: https://journa.host/@AdminTeam/111216986599770977 successfully navigates to https://nyan.lol/<EMAIL_ADDRESS>

Similar results to @wafflefin, redirecting from profiles does not work but posts do. I have LOCAL_DOMAIN set to hachyderm.io and WEB_DOMAIN blank.
Some profile examples:

https://journa.host/@AdminTeam redirects to https://hachyderm.io/<EMAIL_ADDRESS>https://social.overheid.nl/@knmi redirects to https://hachyderm.io/<EMAIL_ADDRESS>https://mastodon.social/@Mastodon redirects to https://hachyderm.io/<EMAIL_ADDRESS>
Redirecting from posts work fine, for example:

https://ec.social-network.europa.eu/@EUCommission/113723890623008924 redirects to https://hachyderm.io/<EMAIL_ADDRESS>
Hope this helps.

I've done some digging, in Mastodon v4.3.x and v4.4.x there's an UI change which results in the profile redirects not working. The query selector picks up the instance domain twice, once for the invisible text and the second for the visible text on screen. The extension works fine for the two other profiles I listed because those servers are still running v4.2.x.
Here's the current query selector:
https://github.com/bramus/mastodon-redirector/blob/5ea830c1dc4876146fc1476ebdca1663f084f5ea/src/background.js#L13
https://github.com/bramus/mastodon-redirector/blob/5ea830c1dc4876146fc1476ebdca1663f084f5ea/src/content.js#L16
I've tested the following code snippet which works with the new (>= v4.3.x) and old (v4.2.x) UI. You can test this from the browser console on Mastodon profiles:
const userFromProfilePage = document.querySelector('.account__header .account__header__tabs__name small')?.innerText.split('\n');
if (userFromProfilePage) {
    if (userFromProfilePage.length == 1) {
        console.log(userFromProfilePage[0].substring(1));
    }
    else if (userFromProfilePage.length == 3) {
        console.log(userFromProfilePage[0].substring(1) + userFromProfilePage[1]);
    }
}

Feel free to use this code or the information I've written above in a PR.

Created a PR (#12) so others can test, ran it through a number of profiles on my feed and seems to work across profile pages from v4.2.x, v4.3.x and v4.4.x.

Thanks for digging in and filing the PR. I merged #12 and will publish a new version soon.

Version 0.4.1. was submitted to the Extension “App Stores” just now.

Thank you @bramus for the quick reply and action!


How to use non-commonjs library with browserify?

I want to use OpenLayers with borowserify-middleware, here are my code files [app.js] (https://gist.github.com/gagan-bansal/6495291), main.js and index.html
I am able to display map properly, but there are few issues regarding the proper usage of browserify-middleware

when downloaded in browser, main.js file size is double of the original files (main.js + OpenLayers.js), so it takes too much time to load. Why the file size is double? there is some encoded text at end of the file.
how to define non-commonjs library as external? I followed the instructions as here but could not achieve it. I have added {module.exports = OpenLayers} in the end of OpenLayers.js

@ForbesLindesay hey, any chance you could copy-paste your answer here: http://stackoverflow.com/questions/34962506/how-to-include-my-ownnon-moduled-scripts-using-browserify ? (Since you're an active SO user and all and you should get credit for it - excellent writeup btw)


Added Azure.BV.Immutable

PR Summary
Fixes #2387
Added Azure.BV.Immutable rule.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[x] This PR is ready to merge and is not Work in Progress
Rule changes

[x] Unit tests created/ updated
[x] Rule documentation created/ updated
[x] Link to a filed issue
[x] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

@BernieWhite You let me know :)

@BernieWhite Adjusted accordingly.


Template contains errors.: Template format error: Unrecognized resource types: [AWSUtility::CloudFormation::CommandRunner]

Hi,
In Cloudformation I keep getting this error
Template` contains errors.: Template format error: Unrecognized resource types: `[AWSUtility::CloudFormation::CommandRunner]

This is my CloudFormation template
AWSTemplateFormatVersion: 2010-09-09
Resources:
  Command:
    Type: 'AWSUtility::CloudFormation::Command'
    Properties:
      Command: aws s3 ls | sed -n 1p | cut -d " " -f3 > /command-output.txt
      Role: <ADDED_IAM_ROLE>
Outputs:
    Output:
        Description: The output of the CommandRunner.
        Value: !GetAtt Command.Output

I have added IAM permissions as per documentation
                  "cloudformation:ValidateTemplate",
                  "cloudformation:GetTemplateSummary",
                  "cloudformation:*",
                  "s3:CreateBucket",
                  "s3:DeleteBucket",
                  "s3:PutBucketPolicy",
                  "s3:PutObject",
                  "cloudformation:RegisterType",
                  "cloudformation:DescribeTypeRegistration",
                  "iam:createRole"
                ],
                "Resource": ["*"]

Tried Role ARN as well
Any help appreciated :)

Hello, have you installed the resource using the User Installation Steps first?


Wiki needs to be updated to point to the irods namespace

No longer necessary because the wiki is going to be replaced.
See #15 for details.


Investigate LS behaviour when handler execution timeouts

This task is automatically imported from the old Task Issue Board and it was originally created by Hubert Plociniczak.
Original issue is here.

One of the logs representing issues at startup shows a corner case which I'm not sure is handled correctly.
From the stacktrace it seems that if a timeout occurs while executing the operation in zio execution context. The timeout in itself is not a problem as it can happen anyway.
What is peculiar is that a connection is closed for whatever reason (pay attention to timestamps to notice the order of the logs):
[info] [2023-01-29T17:38:11.456Z] [org.enso.languageserver.boot.resource.TruffleContextInitialization] Initialized Runtime context.
[info] [2023-01-29T17:38:11.456Z] [org.enso.languageserver.search.SuggestionsHandler] Initializing: Truffle context initialized.
[info] [2023-01-29T17:38:11.456Z] [org.enso.languageserver.protocol.json.JsonConnectionController] RPC session initialized for client [d2cf6682-b278-4956-9470-6413baa173cd].
[info] [2023-01-29T17:38:11.584Z] [org.enso.languageserver.protocol.binary.BinaryConnectionController] Data session initialized for client: d2cf6682-b278-4956-9470-6413baa173cd [<IP_ADDRESS>:51391].
[info] [2023-01-29T17:38:11.646Z] [org.enso.languageserver.search.SuggestionsHandler] Initializing: project name is updated to [Unnamed].
[info] [2023-01-29T17:38:12.074Z] [org.enso.languageserver.search.SuggestionsHandler] Initializing: got type graph response.
[info] [2023-01-29T17:38:12.226Z] [org.enso.languageserver.search.SuggestionsHandler] Verifying: got verification response.
[info] [2023-01-29T17:38:12.306Z] [org.enso.languageserver.search.SuggestionsHandler] Verified.
[info] [2023-01-29T17:38:15.958Z] [org.enso.languageserver.protocol.binary.BinaryConnectionController] Connection closed [<IP_ADDRESS>:51391].
[error] [2023-01-29T17:38:15.938Z] [org.enso.languageserver.requesthandler.vcs.InitVcsHandler] Initialize project request [Number(2)] for [d2cf6682-b278-4956-9470-6413baa173cd] failed with: null.
java.util.concurrent.TimeoutException: None
  at org.enso.languageserver.effect.ZioExec$.<clinit>(Exec.scala:123)
  at org.enso.languageserver.effect.ZioExec.$anonfun$execTimed$5(Exec.scala:79)
  at scala.Option.fold(Option.scala:263)
  at org.enso.languageserver.effect.ZioExec.$anonfun$execTimed$4(Exec.scala:79)
  at zio.Exit.fold(Exit.scala:97)
  at org.enso.languageserver.effect.ZioExec.$anonfun$execTimed$2(Exec.scala:79)
  at zio.internal.FiberContext.$anonfun$runAsync$1(FiberContext.scala:148)
  at zio.internal.FiberContext.$anonfun$notifyObservers$1(FiberContext.scala:1068)
  at scala.collection.immutable.List.foreach(List.scala:333)
  at zio.internal.FiberContext.notifyObservers(FiberContext.scala:1068)
  at zio.internal.FiberContext.zio$internal$FiberContext$$done(FiberContext.scala:948)
  at zio.internal.FiberContext.evaluateNow(FiberContext.scala:915)
  at zio.internal.FiberContext.$anonfun$evaluateLater$1(FiberContext.scala:776)
  at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)
  at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
  at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
  at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
  at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
  at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
  at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
[info] [2023-01-29T17:38:40.422Z] [org.enso.projectmanager.protocol.ClientController] Client disconnected from the Project Manager [9b415e1b-e070-4aac-ad2e-1a97ae07803e]
[info] [2023-01-29T17:38:40.428Z] [org.enso.languageserver.runtime.RuntimeKiller] Shutting down the runtime server [Actor[akka://language-server/user/runtime-connector#1354295160]].
[error] [2023-01-29T17:38:40.458Z] [org.enso.projectmanager.boot.ProjectManager$] Main process execution failed.

We should really be able to recover from such an error and potentially even restart the operation.
Comments:
So the conclusion of the ticket is that timeouts are OK, irrespective of the fact whether they are desirable. We've already increased LS's timeout for init operation but IDE should a) make vcs requests asynchronously b) it shouldn't really error on them as the project can continue to work as is. This is the job for #184370352 (Hubert Plociniczak - Feb 1, 2023)

We have reduced the time spent in the initialization so this specific timeout does not happen anymore.
However, timeouts on their own can and will probably and we will be fixing them, if possible, on a per-need basis.


Add-in Deployment: Prerequisite Roles

Need clarification on the following, as there's no documentation found that relate to "Other Admin roles" and add-in deployment:

Global Admin is the recommended role with complete access to add-in management lifecycle. Other Admin roles have a limited access to add-in deployment lifecycle. If you're the person who purchased your Microsoft 365 for business subscription, you are the Global admin.

Is there anything that specifies which roles (other than Global Admin) can perform which actions with add-in deployment?

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

ID: 32aaf301-bc79-ea37-f3fd-94ae9e9ab02f
Version Independent ID: 7482cca5-faac-3276-8481-e6323cafef31
Content: Centralized Deployment FAQ - Microsoft 365 admin
Content Source: microsoft-365/admin/manage/centralized-deployment-FAQ.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@SeanTGeoghegan Thank you for your feedback. Earlier, Exchange and Office apps admin used to have limited access to deploying add-in. However, the options are no longer available after the change to integrated apps. I have updated the document accordingly via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/5293
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @SeanTGeoghegan Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Add runtime label to metrics

This change extends TaskMonitor interface to provide optional map of labels to be added to task's metrics namespace.
Shim runtime now adds runtime label to be able to differentiate containers by runtime class on dashboards.
Output example: https://gist.github.com/mxpv/171ebdc312499493df9833899433ccda
note: this doesn't handle daemon restarts, for kube that's not the case (as we usually drain node before doing anything), I'll follow up later if this something we want to have as well.
Signed-off-by: Maksym Pavlenko<EMAIL_ADDRESS>

https://gist.github.pie.apple.com/mxpv/f354a70c53bfacea41e7d3f47d391770

unreachable to me 😂

@fuweid oops. fixed/updated.

Why is the label runtime_class rather than just runtime. The term "runtime class" isn't used anywhere else in containerd outside of CRI. Is the "runtime_class" always the same here as the "runtime class" used through CRI?

@dmcgowan I guess this make sense, since io.containerd.runtime.v1.linux is not exactly a RuntimeClass, but rather containerd's runtime name. Renamed.

Do we need to update the commit message and PR title to reflect the new name? (IIUC, it's now runtime instead of runtimeClass)

I agree with @thaJeztah. At least the commit message should be updated before merge.

Updated

Thanks! Can you update the PR title as well? (looks like "triage permissions" doesn't allow me doing so 🙄)

Both Cgroup V2 tests were green between restart attempts. Likely they'll not be both green simultaneously due to "429 Too Many Requests".

Yes! It's green!


FR: Mem-style note aware prompts

Would it be possible to do a mem-style feature by utilizing search first within the vault then sending the relevant results as part of the prompt to gpt3?

Love this idea! I’ve been looking for something similar in Obsidian!!

Could this be helpful?
https://openai.com/blog/new-and-improved-embedding-model/

Also https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb


Add initContainers to ambassador helm chart

I've submitted a pull request on the datawire/charts repo to add initContainers to the helm chart, but it seems like it hasn't been looked at. We need this to be able to mount a TLS certificate from an Azure KeyVault - the initContainer loads the certificate from the KeyVault and converts it to the necessary format.

I believe the PR should be against master in the official Helm charts repo: https://hub.helm.sh/charts/stable/ambassador.

It seemed like changes to the ambassador charts went through the datawire/charts repo, so I wanted to follow that pattern (especially since I don't own the chart). Should I recreate and resubmit the changes in the helm/charts repo?

Yes that would be great.

Created a new pull request: https://github.com/helm/charts/pull/13424

Any idea when this might be looked at?


size of APK after adding dependency

Can you tell how much addition size is added to the APK after adding this dependency?

people relaying too much on gradle have stopped calculating!😄

I don't know but it's very small compared to many other libraries. The aar file is 81Kb and the only dependency you're unlikely to have is the EXIF library.


[WIP] Hoodie Demo automation

https://github.com/vinothchandar/incubator-hudi/tree/pom-cleanup has both the commits and still fails

182743 [main] ERROR com.uber.hoodie.integ.ITTestBase  - Stderr is :ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Exception in thread "main" com.uber.hoodie.exception.HoodieIOException: Could not load Hoodie properties from /user/hive/warehouse/stock_ticks_cow/.hoodie/hoodie.properties
	at com.uber.hoodie.common.table.HoodieTableConfig.<init>(HoodieTableConfig.java:77)
	at com.uber.hoodie.common.table.HoodieTableMetaClient.<init>(HoodieTableMetaClient.java:106)
	at com.uber.hoodie.common.table.HoodieTableMetaClient.<init>(HoodieTableMetaClient.java:91)
	at com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer$DeltaSyncService.<init>(HoodieDeltaStreamer.java:343)
	at com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.<init>(HoodieDeltaStreamer.java:100)
	at com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.<init>(HoodieDeltaStreamer.java:94)
	at com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.main(HoodieDeltaStreamer.java:284)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:894)
	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:198)
	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:228)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:137)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-681376592-<IP_ADDRESS>-1563217137227:blk_1073741833_1009 file=/user/hive/warehouse/stock_ticks_cow/.hoodie/hoodie.properties
	at org.apache.hadoop.hdfs.DFSInputStream.chooseDataNode(DFSInputStream.java:984)
	at org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:642)
	at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:882)
	at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:934)
	at java.io.DataInputStream.read(DataInputStream.java:100)
	at java.util.Properties$LineReader.readLine(Properties.java:435)
	at java.util.Properties.load0(Properties.java:353)
	at java.util.Properties.load(Properties.java:341)
	at com.uber.hoodie.common.table.HoodieTableConfig.<init>(HoodieTableConfig.java:74)
	... 16 more

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.559 s <<< FAILURE! - in com.uber.hoodie.integ.ITTestHoodieDemo
[ERROR] testDemo(com.uber.hoodie.integ.ITTestHoodieDemo)  Time elapsed: 30.558 s  <<< FAILURE!
java.lang.AssertionError: Command ([spark-submit, --class, com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer, /var/hoodie/ws/docker/hoodie/hadoop/hive_base/target/hoodie-utilities.jar, --storage-type, COPY_ON_WRITE, --source-class, com.uber.hoodie.utilities.sources.JsonDFSSource, --source-ordering-field, ts, --target-base-path, /user/hive/warehouse/stock_ticks_cow, --target-table, stock_ticks_cow, --props, /var/demo/config/dfs-source.properties, --schemaprovider-class, com.uber.hoodie.utilities.schema.FilebasedSchemaProvider]) expected to succeed. Exit (1)
	at com.uber.hoodie.integ.ITTestHoodieDemo.ingestFirstBatchAndHiveSync(ITTestHoodieDemo.java:95)
	at com.uber.hoodie.integ.ITTestHoodieDemo.testDemo(ITTestHoodieDemo.java:55)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ITTestHoodieDemo.testDemo:55->ingestFirstBatchAndHiveSync:95->ITTestBase.executeCommandsInDocker:152->ITTestBase.executeCommandInDocker:140 Command ([spark-submit, --class, com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer, /var/hoodie/ws/docker/hoodie/hadoop/hive_base/target/hoodie-utilities.jar, --storage-type, COPY_ON_WRITE, --source-class, com.uber.hoodie.utilities.sources.JsonDFSSource, --source-ordering-field, ts, --target-base-path, /user/hive/warehouse/stock_ticks_cow, --target-table, stock_ticks_cow, --props, /var/demo/config/dfs-source.properties, --schemaprovider-class, com.uber.hoodie.utilities.schema.FilebasedSchemaProvider]) expected to succeed. Exit (1)
[ERROR]   ITTestHoodieSanity.testRunHoodieJavaAppOnMultiPartitionKeysCOWTable:66->testRunHoodieJavaAppOnCOWTable:139->ITTestBase.executeCommandInDocker:140 Command ([/var/hoodie/ws/hoodie-spark/run_hoodie_app.sh, --hive-sync, --table-path, hdfs://namenode/docker_hoodie_multi_partition_key_cow_test, --hive-url, jdbc:hive2://hiveserver:10000, --use-multi-partition-keys, --hive-table, docker_hoodie_multi_partition_key_cow_test]) expected to succeed. Exit (1)
[ERROR]   ITTestHoodieSanity.testRunHoodieJavaAppOnNonPartitionedCOWTable:77->testRunHoodieJavaAppOnCOWTable:139->ITTestBase.executeCommandInDocker:140 Command ([/var/hoodie/ws/hoodie-spark/run_hoodie_app.sh, --hive-sync, --table-path, hdfs://namenode/docker_hoodie_non_partition_key_cow_test, --hive-url, jdbc:hive2://hiveserver:10000, --non-partitioned, --hive-table, docker_hoodie_non_partition_key_cow_test]) expected to succeed. Exit (1)
[ERROR]   ITTestHoodieSanity.testRunHoodieJavaAppOnSinglePartitionKeyCOWTable:55->testRunHoodieJavaAppOnCOWTable:139->ITTestBase.executeCommandInDocker:140 Command ([/var/hoodie/ws/hoodie-spark/run_hoodie_app.sh, --hive-sync, --table-path, hdfs://namenode/docker_hoodie_single_partition_key_cow_test, --hive-url, jdbc:hive2://hiveserver:10000, --hive-table, docker_hoodie_single_partition_key_cow_test]) expected to succeed.  SUCCESS [  1.588 s]
[INFO] hoodie-common ...................................... SUCCESS [ 10.354 s]
[INFO] hoodie-timeline-service ............................ SUCCESS [  8.044 s]
[INFO] hoodie-hadoop-mr ................................... SUCCESS [  1.690 s]
[INFO] hoodie-client ...................................... SUCCESS [  3.978 s]
[INFO] hoodie-hive ........................................ SUCCESS [  1.072 s]
[INFO] hoodie-spark ....................................... SUCCESS [ 22.175 s]
[INFO] hoodie-utilities ................................... SUCCESS [  2.226 s]
[INFO] hoodie-cli ......................................... SUCCESS [  8.503 s]
[INFO] hoodie-hadoop-mr-bundle ............................ SUCCESS [  1.916 s]
[INFO] hoodie-hive-bundle ................................. SUCCESS [ 11.984 s]
[INFO] hoodie-spark-bundle ................................ SUCCESS [01:14 min]
[INFO] hoodie-presto-bundle ............................... SUCCESS [  9.329 s]
[INFO] hoodie-utilities-bundle ............................ SUCCESS [ 19.238 s]
[INFO] hoodie-hadoop-docker ............................... SUCCESS [  0.350 s]
[INFO] hoodie-hadoop-base-docker .......................... SUCCESS [  0.325 s]
[INFO] hoodie-hadoop-namenode-docker ...................... SUCCESS [  0.073 s]
[INFO] hoodie-hadoop-datanode-docker ...................... SUCCESS [  0.081 s]
[INFO] hoodie-hadoop-history-docker ....................... SUCCESS [  0.068 s]
[INFO] hoodie-hadoop-hive-docker .......................... SUCCESS [  0.456 s]
[INFO] hoodie-hadoop-sparkbase-docker ..................... SUCCESS [  0.079 s]
[INFO] hoodie-hadoop-sparkmaster-docker ................... SUCCESS [  0.070 s]
[INFO] hoodie-hadoop-sparkworker-docker ................... SUCCESS [  0.069 s]
[INFO] hoodie-hadoop-sparkadhoc-docker .................... SUCCESS [  0.072 s]
[INFO] hoodie-integ-test .................................. FAILURE [04:09 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:07 min
[INFO] Finished at: 2019-07-24T19:49:17-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.0:verify (verify) on project hoodie-integ-test: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/vchandar/Code/incubator-hudi/hoodie-integ-test/target/failsafe-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hoodie-integ-test

@vinothchandar : After rebasing master and fixing/workingaround a connectivity issue with hivemetastore, the demo is passing. the sanity tests though fails with "NoSuchMethodError xxx" . I had applied #780 on top of this change and created a new test PR #803.  All the tests are passing here. We can use this as a baseline and apply #751 and fix any new failures.
@bhasudha @n3nash : On a related note, I saw a different failure in RT query on one of Travis CI runs : https://api.travis-ci.org/v3/job/563406198/log.txt
I did not see the same issue in subsequent runs. Please also include this in your investigation and see your potential fix also addresses this.
"""
[ERROR] testDemo(com.uber.hoodie.integ.ITTestHoodieDemo)  Time elapsed: 243.786 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<GOOG	2018-08-31 [10]:59:00> but was:<GOOG	2018-08-31 [09]:59:00>
"""

is this what you fixed on top of what I had?
$ gd bvaradar/demo_automat_with_pom_dep_order_fixes
diff --git a/.travis.yml b/.travis.yml
index e4b23f79..493270ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@ sudo: required
 env:
   - HUDI_QUIETER_LOGGING=1 TEST_SUITE=unit
   - TEST_SUITE=integration
-install: true
 services:
 - docker
 cache:
diff --git a/hoodie-integ-test/src/test/java/com/uber/hoodie/integ/ITTestHoodieSanity.java b/hoodie-integ-test/src/test/java/com/uber/hoodie/integ/ITTestHoodieSanity.java
index 9335fe6e..d5d5220d 100644
--- a/hoodie-integ-test/src/test/java/com/uber/hoodie/integ/ITTestHoodieSanity.java
+++ b/hoodie-integ-test/src/test/java/com/uber/hoodie/integ/ITTestHoodieSanity.java
@@ -91,14 +91,7 @@ public class ITTestHoodieSanity extends ITTestBase {
     // Drop Table if it exists
     {
       String[] hiveDropCmd = getHiveConsoleCommand("drop table if exists " + hiveTableName);
-      try {
-        executeCommandInDocker(HIVESERVER, hiveDropCmd, true);
-      } catch (AssertionError ex) {
-        // In travis, sometimes, the hivemetastore is not ready even though we wait for the port to be up
-        // Workaround to sleep for 5 secs and retry
-        Thread.sleep(5000);
-        executeCommandInDocker(HIVESERVER, hiveDropCmd, true);
-      }
+      executeCommandInDocker(HIVESERVER, hiveDropCmd, true);
     }

@bvaradar general question.. are the changes to /etc/hosts needs for the integ-tests as well?

Made #804 with three comments..we can focus efforts there.. (the test still does not pass for me locally. as long as it passes in travis, lets go with it for now. I ll circle back and fix it) ..

@bvaradar general question.. are the changes to /etc/hosts needs for the integ-tests as well (both local and on travis)?

it worked without changes to /etc/hosts


slots filling question

Rasa Core version: 0.9.6
Python version: 3.6
Operating system (windows, osx, ...): win10
Issue: I have a problem with filling the slots and call it back. I want the bot reply the "essay_topic" after the user types an essay topic, such as motivation. But after I type "motivation", the bot replied "so your topic is None"
Content of domain file (if used & relevant):
intents:
  - greet
  - good_bye
  - request
  - choose_topic_yes_confirm
  - deny_topic
  - essay_topic
  - choose_type_of_paper

actions:
- utter_greet
- utter_what_topic
- utter_essay_topic
- actions.ActionTopic

entities:
  - essay_topic

slots:
  essay_topic:
    type: text
  requested_slot:
    type: unfeaturized

templates:
  utter_greet:
  - text: "How may I help you?"

  utter_what_topic:
  - text: "What is your topic?"

  utter_essay_topic:
  - text: "so your topic is {essay_topic}"

Story.md
## writing path 1<!-- name of the story - just for debugging -->
* greet
  - utter_greet <!-- action of the bot to execute -->
* request
  - utter_what_topic
* essay_topic
  - utter_essay_topic
  - slot{"requested_slot": "essay_topic"}

actions.py
class ActionTopic(FormAction):

    RANDOMIZE = False

    @staticmethod
    def required_fields():
        return [
            EntityFormField("essay_topic", "essay_topic"),

        ]
    def name(self):
        return 'action_topic'

    def run(self, dispatcher, tracker, domain):
        essay_topic = tracker.get_slot("essay_topic")
        dispatcher.utter_message(essay_topic)
        return []

Good question! thanks for raising it.
Slots are only automatically filled by entities with the same name. In this case you are trying to populate it with the name of an intent.
Option 1: Use a FreeTextFormField instead of an EntityFormField
Option 2: get NLU to parse something like (as NLU data)
# intent:inform
my essay topic is [economic development](essay_topic)

so then your story will look ilke:
* greet
  - utter_greet <!-- action of the bot to execute -->
* request
  - utter_what_topic
* inform{"essay_topic": "economic development"}
  - utter_essay_topic

Hi @amn41
I tried the option 1 and I replaced slots & entities: essay_topic as inform_essay_topic as well as in the actions.py
But when I run interactive learning, after I type /motivation, the slot still shows None
we currently have slots: inform_essay_topic: None, requested_slot: None
intents:
  - greet
  - good_bye
  - request
  - choose_topic_yes_confirm
  - deny_topic
  - essay_topic
  - choose_type_of_paper

actions:
- utter_greet
- utter_what_topic
- utter_ask_essay_topic
- actions.ActionTopic

entities:
  - inform_essay_topic

slots:
  inform_essay_topic:
    type: text
  requested_slot:
    type: unfeaturized

templates:
  utter_greet:
  - text: "How may I help you?"

  utter_what_topic:
  - text: "What is your topic?"

  utter_ask_essay_topic:
  - text: "so your topic is {inform_essay_topic}"

stories.md
## writing path 1<!-- name of the story - just for debugging -->
* greet
  - utter_greet <!-- action of the bot to execute -->
* request
  - utter_what_topic
* essay_topic{"requested_slot": "inform_essay_topic"}
  - utter_ask_essay_topic
  - slot{"requested_slot": "inform_essay_topic"}

actions.py
class RestaurantAPI(object):
    def search(self, info):
        logger.debug("-------city---------")
        logger.debug(format(info))
        logger.debug("-------city---------")
        return "papi's pizza place"

class BookingInfo(object):
    def save(self, inform_essay_topic):
        logger.debug("-------inform_essay_topic---------")
        logger.debug(format(inform_essay_topic))
        logger.debug("-------inform_essay_topic---------")

        return

class ActionTopic(FormAction):

    RANDOMIZE = False

    @staticmethod
    def required_fields():
        return [
            FreeTextFormFieldFormField("inform_essay_topic", "inform_essay_topic"),

        ]

    def name(self):
        return 'action_topic'

    def submit(self, dispatcher, tracker, domain):

        Bookinginfo = BookingInfo()
        booking = Bookinginfo.save(tracker.get_slot("inform_essay_topic"))
        return[]

FreeTextFormField("essay_topic", "essay_topic") can only have 1 parameter.
I guess it should be FreeTextFormField("essay_topic")

@saivisal1 it doesn't work though, still the same.

anyone can help with this?

I fixed it. I just figure out I didn't have the policy file and the action.py was incomplete.
Option 2 is also working now, but have other problems, which I will pose in another thread.

What do you mean by policy file?
Do you need one in order to carry out slotfitting with FormAction?


Support for Deutsche Bahn IC Bus Entertainment system

Since I could not use subtitles with the Deutsche Bahn IC Bus Entertainment system, I figured out how to download the videos. They are at XPath //*[@id="VideoPlayer_html5_api"], and I attached a sample web page whose URL is http://entertainment.db/de/Filme/Lucy-en .
DB IC BUS Entertainment.html.zip

@remitamine I would have appreciated a reason, but I guess it's because this enables download of copyrighted material, which was not my intention, but which is not going to be added to youtube-dl.

you didn't fill the issue template.


fix: [PIPE-20256]: Add updates to tag overview page

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66951291aa2ab117d53ff21b--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66951296d13a7c1739672776--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6695217bb2875d29f9b6de85--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66961a490dc845be0b4dc02a--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66962432fb4c60492ffc6638--harness-developer.netlify.app


4418 add bitoverlay tests

Hi guys, I tried to add some tests for BitOverlay due issue #4418 .
I appreciate your feedback

Thanks for submitting this PR.
I'll start reviewing it ASAP.


Add cover image

Fixes #16

Oh, it seems i committed it in main by mistake.

Merging for now, but may need to make the page a little bit bigger.

I had some time to think about this and I decided that only, if #20 comes into the website, will we do this. Reverting the changes shortly.
Reverted changes in commit 8bdd192

I had some time to think about this and I decided that only, if #20 comes into the website, will we do this. Reverting the changes shortly.
Reverted changes in commit 8bdd192

#20 is completed, so lemme see how it looks now and may consider adding it back.


emacsPackages.evil-escape: fix build

Motivation for this change
evil-escape doesn't build due to https://github.com/syl20bnr/evil-escape/pull/86
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @BrianHicks

thanks for the ping! I no longer use emacs so I am not set up to test this patch now. Buuuut this patch did fix the issue for me for a long time.


Optimize guessType for arrays

Current coverage is 81.58% (diff: 100%)

Merging #4755 into master will increase coverage by 0.01%

@@             master      #4755   diff @@
==========================================
  Files          1314       1314
  Lines         45081      45077     -4
  Methods           0          0
  Messages          0          0
  Branches       7062       7061     -1
==========================================
+ Hits          36771      36774     +3
+ Misses         5635       5626     -9
- Partials       2675       2677     +2

Powered by Codecov. Last update e02883a...c14cad0


[Feature]: Integration to Neo4j Aura via Cypher (GQL)

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Neo4j Aura Graph database Integration to retrieve and create/update data via Cypher/GQL.
Why should this be worked on?
In May 2024, ISO published a GQL standard language for querying Graph data databases (https://www.iso.org/standard/76120.html). This is as relevant as SQL for RDBMSs and opens the door to a new type of application that can be developed using Graph instead of RDBMSs.
GQL is almost entirely based on Neo4j's Cypher, and now, most (if not all) Graph database vendors will include QGL as a query language. Having an integration to Neo4j Aura via Cypher/GQL would enable developers to start building Graph applications. There are new approaches to developing applications using Graphs (read my article: https://medium.com/@marcospinedo/a-new-approach-to-application-development-using-cypher-gql-graphs-7d191e0c55d3).

I'm just going to link this to the original ticket #14197
It will make sense for it to be implemented as part of that


[Bug] echarts的柱状图下钻，当返回到第一层时，Back按钮依旧存在，且可以点击

Version
5.4.3
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=bar-drilldown
Steps to Reproduce
echarts的柱状图下钻，当返回到第一层时，Back按钮依旧存在，且可以点击
Current Behavior
echarts的柱状图下钻，当返回到第一层时，Back按钮依旧存在，且可以点击
Expected Behavior
希望返回到第一层时，BACK按钮消失不见
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

This is only a demo rather than a feature so I would not mark this as a bug. You are welcomed to make a PR to examples.


[dashboard] prometheus scrape monitor

background：
Our k8s cluster has 1000 k8s nodes with 4 scrape jobs and 600,000 samples per minute. Found that the data in grafana's dashboard is incorrect. After a week of trouble shooting, we found that the ability of scrape was insufficient.
trouble shooting：
We find 5 very important metric(scrape_duration_seconds,scrape_samples_scraped,scrape_samples_post_metric_relabeling,scrape_series_added,up) in the prometheus scrape module. And we exported to the dashboard of grafana.
solution：
https://www.robustperception.io/scaling-and-federating-prometheus   。we hope to share a very effective monitoring dashboard
test url :
http://arms-prom-grafana-hz.aliyun.com/dashboard/snapshot/6B55kHhcdiWKKVHWo6I7feZBT5Oj0HRT

I've looked into the details of the dashboard but we've recently started an effort to maintain dashboards and alerts using Jsonnet. Have a look at https://github.com/prometheus/prometheus/tree/master/documentation/prometheus-mixin.

I've looked into the details of the dashboard but we've recently started an effort to maintain dashboards and alerts using Jsonnet. Have a look at https://github.com/prometheus/prometheus/tree/master/documentation/prometheus-mixin.

Thank you very much for taking the time to review the code we submitted. We will revoke this submission.
In addition, we found a bug in the scrape module through this dashboard.
We will submit a PR. Please help us review the code at the time.


TypeError: Cannot read property 'getChildren' of undefined

Issue Type: Performance Issue
TypeError: Cannot read property 'getChildren' of undefined
Don't know why I'm encountering this error but whenever I'm starting to type lines except keywords on MySQL I'm getting this error
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 6.3.9600
Restricted Mode: No

Process Info
CPU %	Mem MB	   PID	Process
    0	    63	  1000	code main
    0	    20	   256	   utility-network-service
    0	    65	   660	   shared-process
    0	    25	  2528	     watcherServiceParcelSharedProcess
    0	    26	  2568	     ptyHost
    0	     3	  3468	       winpty-process
    0	     5	   380	         console-window-host (Windows internal process)
    0	    19	  3264	         C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    11	  2520	   crashpad-handler
    0	    71	  3136	   window (undefined)
    0	   142	  3488	   window (create-db-template.sql - SQL - Visual Studio Code)
    0	    83	  3640	   gpu-process
    0	    68	  3832	   extensionHost
    0	    25	  5500	     "C:\Users\Sthuthi\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\Sthuthi\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=3832
    0	    66	  4568	   window (undefined)
    0	    49	  5840	   issue-reporter

Workspace Info
|  Window (create-db-template.sql - SQL - Visual Studio Code)
|    Folder (SQL): 1 files
|      File types: sql(1)
|      Conf files:;

Extensions (16)

Extension
Author (truncated)
Version

doxdocgen
csc
1.3.2

vscode-mysql-client2
cwe
4.5.6

vscode-mysql
for
0.4.1

live-html-previewer
hdg
0.3.0

better-cpp-syntax
jef
1.15.10

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2022.1.5

jupyter
ms-
2021.11.1001550889

remote-containers
ms-
0.209.6

remote-ssh
ms-
0.70.0

remote-wsl
ms-
0.63.13

cmake-tools
ms-
1.9.2

cpptools
ms-
1.7.1

cpptools-extension-pack
ms-
1.1.0

LiveServer
rit
5.7.4

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392cf:30425750
pythontb:30283811
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscorecescf:30429732
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30428979
pythonvs932:30410667
wslgetstartedc:30426334
vscop804cf:30404767
vscop453:30404998
vsrem710cf:30416617
vscop841cf:30430978

/needsMoreInfo
Does it happens only in some specific file types or everywhere?
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled

/needsMoreInfo
Does it happen only in some specific file types or everywhere?
Is it reproducible with all extensions disabled? You can try this with F1 and >Developer: Reload Window With Extensions Disabled

It is happening only in MySQL and only when I'm typing words 'otherthan' reserved keywords like
1.show tables;
2.select * from info;
3.alter table info change column old_name new_name datatype
In the third line of code starting from old_name it's showing the error for every letter I type like
2022-01-30 11:08:26 TypeError: Cannot read property 'getChildren' of undefined
2022-01-30 11:08:30 TypeError: Cannot read property 'getChildren' of undefined
2022-01-30 11:15:42 TypeError: Cannot read property 'getChildren' of undefined
2022-01-30 11:15:45 TypeError: Cannot read property 'getChildren' of undefined


Fail of create conda package tests

🐛 Bug

Conda creates package fail with:
Adding in variants from argument_variants
/home/runner/work/_temp/edcbc389-633a-4961-a9a1-fa7d8a87c0ff.sh: line 12:  2943 Killed                  conda-smithy rerender

To Reproduce
https://github.com/napari/napari/runs/6958614736?check_suite_focus=true

Expected behavior

Environment
last main

Please copy and paste the information at napari info option in help menubar here:

Any other relevant information:

Additional context

cc @jaimergp @goanpeca

Looks like out-of-memory during the feedstock rerender. We can temporarily comment that line out; it's just "nice-to-have".

Looks like it fixed itself (or thanks to this?). We can close!


Infinite loop in mother tracker

The infinite loop problem in the mother tracker is happening again
After some testing I have confirmed that it happens in mashlib 0.7.19 but not in mashlib 0.7.18
Here is the diff between the two of them for your reference<EMAIL_ADDRESS>I have already tried and confirmed that it is NOT only due to the upgrade to rdflib 0.20.1 from rdflib 0.19.1
It could be partially due to that, but simply downgrading rdflib on mashlib 0.7.19 did not fix the problem
Unfortunately, the data that replicates this problem is very private, so maybe myself and tim are the only ones who can debug this.

@jaxoncreed You mentioned elsewhere that this was caused by a bug in rdflib - can I close this, and should this still be reported there?


catalog frontend: component list page

Implement a simple page that lists all components in the catalog.

PR: https://github.com/spotify/backstage/pull/848

Fixed in #848


squid:S2864 - "entrySet()" should be iterated when both the key and v…

This pull request is focused on resolving occurrences of Sonar rule squid:S2864 - "entrySet()" should be iterated when both the key and value are needed
You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S2864
Please let me know if you have any questions.
M-Ezzat

Не согласен с данным правилом и считаю его наслоением излишней сложности


[BACKLOG-24066] Add Metadata Injection (MDI) support to the String op…

…erations step

update access level to static methods

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/steps/stringoperations/StringOperationsMeta.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -1.5% :small_red_triangle_down:
Complexity Change: -2% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Method Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.excelwriter.ExcelWriterStepMeta

Branch Change: -1.3% :small_red_triangle_down:
Complexity Change: -0.7% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -3% :small_red_triangle_down:
Complexity Change: -3.2% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:
Line Change: -0.7% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapinput.LDAPInputMeta

Branch Change: -1.6% :small_red_triangle_down:
Complexity Change: -0.9% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -1.8% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

please review @pentaho/r2d2


Allow doc attributes in ioctl

fixes #571 . Note that this is a breaking change because it also changes
ioctl!(some_name with 12);

to
ioctl!(bad some_name with 12);

This is to work around a bug in the rust compiler whereby rules around matching idents are overly strict. See https://github.com/rust-lang/rust/issues/24189
It doesn't break anything else though.

I'd also like to see this refactored into 2 commits. First fix the bad version of the macro and update the tests in one commit. Then change the macros to support doccomments, update the docs, and add tests for the documented version of all forms of the ioctl! macro. I prefer to keep commits to a single issue as it's easier to read through version history if you do that. In this case since it will break code, I'd like a nice clear commit that we can point to for someone what shows the exact change clearly and how they can update their code.

I did a bunch of minor cleanup in ioctl while I was there to improve the docs. I'd like to have you rebase this PR once we get that merged so this just adds the comments and tests.

I rebased on top of master, and made some of the requested modifications. Is this good enough ?

This looks good. Can you squash this into a single commit? Then we can merge it.

Done.

bors r+ susurrus

I missed this on the original PR, but this should also have added a CHANGELOG entry. @roblabla Could you add one to the Added section for this?


[Bug]: Download failed for burst [] "noiseRangeVectorList"

Describe the bug
When trying to download a burst from 2017 or earlier, the asf.download(DATADIR, BURSTS) returns an error "Bursts downloading failed for X bursts". However the bursts is still downloaded but the files under the "annotation" folder are not created. After further research, it seams that the error is cause by the modification of the download_burst function introduced in version 2024.8.30.post4. When creating annotation files, the function try to read a "noiseRangeVectorList" from an XML file (see screenshot). However, in early S1 bursts XML files, only "noiseVectorList" is defined, causing the error.
To Reproduce
Steps to reproduce the behavior:

Define Bursts from 2017 or before
Download them using the asf.download(DATADIR, BURSTS)

This error can be found in the Lake Sarez Landslide example notebook
Screenshots

System and software version:

OS: Linux (Google Colab Notebook)
PyGMTSAR version: 2024.8.30.post4

Ok, fixed in today’s update.

Thank you very much !


Fixed remark code example takes 15 seconds to run

This seems to be only only slower computers. My main desktop runs this example in a second.


Rebornix/commentcontroller

Comment API Sample

 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: ransum27 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add support for Linux and global python installations

This PR adds 2 new features, namely support for Python scripting on Linux and support for global Python installations.
Support for Linux OS
Previously, the way the RuntimeManager and EnvironmentHelper configured the path variables and python engine were hard-coded and specific to the Windows OS. I have added several lines of code in both of these which will 1) determine the current OS; and 2) configure path and python engine based on the OS detected.
Support for global python installations
In the previous version, if no virtual environment was detected, then creation of the python engine would fail due to incorrect loading of the python DLL. With the newly added feature, the EnvironmentHelper will search for a global python installation on the system path by performing a directory search through the directories in the system's path. It will then initialize the Python engine using the first available python DLL, which should pick up the global python installation environment.

@glopesdev Here are the workflows I was using to test the speed of the interpreter lock feature.
python-interpreter-lock-test.zip
I tested the interpreter lock by doing 3 successive set/get operations compared to 3 successive set/get operations with no lock. The mean number of ticks that elapsed between successive elements in the withLock workflow was higher than the noLock workflow after 1000 samples, suggesting no improvements from using the lock.

I also tested the lock with 10 successive set/get operations and I started to see a small performance improvement.


Enhancement: Parse and validate JSON as response for API monitoring.

Fixed here: https://github.com/OneUptime/oneuptime/pull/796


freeCodeCamp Mila, Algeria

Please provide the following information to aid in adding your group to the directory:
Esssential

[https://web.facebook.com/groups/free.code.camp.mila/] Group URL (Web address)
[Mila] Town or City group is located in
[Mila] State / County / Region
[Algeria] Country

Nice to have

[ 36.4512° N, 6.2535° E ] Co-ordinates

PR submitted for this issue


#561 -  Cannot use JsonSerde for both key and value serialization in a stream

GH-561 Add a test to json serialize both a key and value in a stream.
GH-561 - Configure Jackson2JavaKeyTypeMapper in JsonDeserializer and JsonSerializer when the isKey flag is present.
GH-561 - Add collection json serialization tests.
GH-561 - Use isKey to set json headers.

@garyrussell ,
please, take a look here. I wonder if it is related somehow to your resolution in the #578
Thanks

Looks OK to me, I imagine most use cases use simple types in keys that can be handled by standard SerDes, but it won't hurt to provide more complex types this way; I don't think it's worth adding logic to the message converters, though.


perf-test: broken text color from light mode

The text "player" should be always white color.

Confirmed:


IntelliSense not working for UI5

Hi apazureck,
First thanks for the great UI5 TS extension.
After install this extension, intelliSense still not work, example below: no intelliSense is showed for oModel, could you share any clue on this?
sap.ui.define([
"sap/ui/model/json/JSONModel"
], function( JSONModel ) {
return Controller.extend("Demo.controller.App", {
Init : function(){
var oModel = new JSONModel();
oModel. (no intellisense)
}
});
});

Hi,

make sure your file is a typescript file (.ts) to get vscode to use the right language.
You have to import your json model like this:
import JSONModel = sap.ui.model.json.JSONModel;
After that you should get intellisense.
If you are using my declarations you will get a model with a generic parameter. There you can specify which type you want to use. For example:

interface IMyInterface {
  propertyA: string,
  propertyB: string,
}

let mymodel = new sap.ui.model.json.JSONModel<IMyInterface>(...);

Here is a short example: https://github.com/apazureck/openui5vscodeTypescriptTools/wiki
have a look at this template:
https://github.com/apazureck/UI5TypescriptDeclarations/tree/master/generator
which uses gulp to transpile the typescript files (ctrl+shift+b to start the watch task, after that all in out folder will be supervised and built on save.
Here are some examples from the ui5 walkthrough:
https://github.com/apazureck/openui5TypescriptGenerator/tree/master/Walkthrough
If you like the extension please rate it on the marketplace or contribute (For example extending the wiki with your experience)
Regards


Value of header "To: Undisclosed recipients:;" is missing space ("Undisclosedrecipients")

It's probably not very important, but there's an inconsistency between version 2.x and 3.x concerning the To header when it has the value "Undisclosed recipients:;".
Source:
From: Test<EMAIL_ADDRESS>Subject: Subject
To: Undisclosed recipients:;

Code:
$mailParser = new MailMimeParser();
$message = $mailParser->parse($source, false);
$headerTo = $message->getHeader('To');
echo $headerTo->getParts()[0]->getValue()

Output in release 2.4.1: "Undisclosed recipients"
Output in release 3.0.2: "Undisclosedrecipients"
Attached, dump of $headerTo->getParts() for both releases:
dump.txt

Good find, that one could've lingered, thank you!

Released in 3.0.3, let me know if you have any issues.


exiv2: 0.27.1 -> 0.27.2

Motivation for this change
Fixes #67194
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build empathy

I have
    # Fix tests on Aarch64

in the expression. Can we check if that's fixed?

Can we check if that's fixed?

It looks like it does, yay.

Did a full rebuild over night, no new broken packages.

Did a full rebuild over night, no new broken packages.

Excellent, thanks :+1:


TotalDownload returns the file name as id instead than label

Describe the bug
If you look to the total download report of an item you will note that all the data points have a null label. The file name is used as id, this lead angular to produce a table with no label over the rows (each file will be a different row)
To Reproduce
Steps to reproduce the behavior:

find an item with some file
visit the statistics page of this item and look to the File visits table

An example is https://demo7.dspace.org/statistics/items/beab7608-ab45-43f7-b630-210f1e515e0b

This appears like it may be the same issue as https://github.com/DSpace/dspace-angular/issues/1369

It is not the same issue, here the issue is on the REST side it is not related to authorisation permission. Our estimation is 4 hours

@abollini : This appears to have been fixed in 7.4 (at least I'm no longer able to reproduce it with the given example).  Perhaps it was fixed by #8446?

yes, it is


Adding setTypeCacheControls method.

SonarQube analysis reported 2 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 index.ts#L609: Remove this unnecessary cast.
 index.ts#L652: Remove this unnecessary cast.


update copyright year across source code

I don't think you should. Here is an explanation why updating it is unnecessary -> http://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated

huh, thanks for pointing that out! makes sense; closing this issue.


Stability issue - wrong bytes WrongNumberReceivedBytes

I am using the library for continuous reading of data from 1200 PLC. Often I run into state, where I can not successfully open connection to the PLC because I keep getting wrong number of bytes in the first test.
_mSocket.Send(bSend1, 22, SocketFlags.None);  if (_mSocket.Receive(bReceive, 22, SocketFlags.None) != 22) 			    { 			        throw new Exception(ErrorCode.WrongNumberReceivedBytes.ToString()); 			    }
The problem is usually solved after some time and without my intervention. Any suggestion, what might be the issue?

Are you opening and closing the connection often ? Is the same issue than this : https://github.com/killnine/s7netplus/issues/29
I would start by shutdown the two sockets, as suggested by oiisamio.
public bool Close() {     if (this._mSocket != null && _mSocket.Connected)     {         this._mSocket.Shutdown(SocketShutdown.Both);         this._mSocket.Disconnect(false);         this._mSocket.Close(100);     }     return this.IsConnected; }
Tell us if it works for you.

This has been fixed in version 0.1.4 on NuGet.


Overviews work

This branch changes the tiler to use overviews metadata if available in MapConfig to alter the SQL queries and make use of overviews for rendering

@rochoa @rafatower can you CR this?
Some test should be added for the MapnikFactory handling mapconfigs with overviews, though, but I think this is ready for CRing...

Overall looks good to me.

In general I'm a bit worried about the complexity of the code.
I also would like to see some acceptance tests using overviews in the mapconfig.
Also, will this work with a query like:
select populated_places_simple.* from populated_places_simple join world_borders
on st_intersects(populated_places_simple.the_geom, world_borders.the_geom)
where world_borders.name = 'France'

I know this is not an easy problem at all, and the work put on this is pretty amazing but I'm worried and I'm starting to think if we should go with a simpler approach for now.
I mean: if you have simple queries like:

select * from table
select cartodb_id, the_geom_webmercator from table

You can do an initial query with limit 0 to get the column names and the prepare a query using the overviews:

WITH
  _user_query AS (SELECT * FROM table),
  _vovw_scale AS ( SELECT 1 AS _vovw_z ),
  _vovw_table AS (
    SELECT cartodb_id, the_geom_webmercator, the_geom, other_table_column FROM table_ov08, _vovw_scale WHERE _vovw_z <= 8
    UNION ALL
    SELECT cartodb_id, the_geom_webmercator, the_geom, other_table_column FROM _user_query, _vovw_scale WHERE _vovw_z > 8
  )
  SELECT * FROM _vovw_table

WITH
  _user_query AS (SELECT cartodb_id, the_geom_webmercator FROM table),
  _vovw_scale AS ( SELECT 1 AS _vovw_z ),
  _vovw_table AS (
    SELECT cartodb_id, the_geom_webmercator FROM table_ov08, _vovw_scale WHERE _vovw_z <= 8
    UNION ALL
    SELECT cartodb_id, the_geom_webmercator FROM _user_query, _vovw_scale WHERE _vovw_z > 8
  )
  SELECT * FROM _vovw_table

If we still want to go with complex queries and query replacements I would start considering the use of Postgresql parser, as per https://github.com/lfittl/libpg_query.

I agree some acceptance tests are needed, I meant to work on that but have put it off at the moment.
Regarding your proposed simplified approach, as I see it, its main advantage is that we eliminate the string substitutions for table names, that could be a source of problems. I'm not sure the code would become significantly more simple, am I missing anything?
Maybe we could leave the current complex queries (supporting more general input queries) in a branch for further testing and implement your approach at the moment, let's discuss it.

This needs to be reviewed @rochoa @rafatower can you take a look?
I've added an acceptance test and also have make some relevant refactoring so that the detail of using CDB_ZooomFromScale is not defined here (but in Windshaft-cartodb). This also opens the door of providing different ways for constructing the overviews queries outside from Windshaft.

Here are the modifications needed in Windshaft-cartodb:
https://github.com/CartoDB/Windshaft-cartodb/commit/8348f745134704ef99d6af169f79d39d96aeabab

Maybe the implementation of OverviewsHandler could be moved completely out of here (to WIndshaft-cartodb). Then we would perform there the kind of acceptance tests done here and replace theses by something simpler using a mockup OverviewsHander.

Now this should be ready for release, @rochoa can you CR/approve?
Note: Windshaft-cartodb is adapted for this here: https://github.com/CartoDB/Windshaft/pull/419


Implement Secure WebSockets (WSS://) support

^
With the upgraded underlying WebSocket library, this shouldn't be too difficult.
https://websockets.readthedocs.io/en/stable/howto/quickstart.html#encrypt-connections

Forgot to mark this as done. Natively supported in Python client/server 0.2.0.


Allow Slack API Tokens to be passed in via constructor

This way we don't force our users to have to mess with environment variables

I don't recall when this was done, but its supported on master.


Suggestion for improvement on Mac M1 chipset

Currently, the documentation recommends installing cocoapods from gem.
Some users are asking for M1 support, especially on expo (eas-cli). Which makes it hard to play with rosetta CLI (arch -x86_64 pod install) bypass. (https://expo.canny.io/feature-requests/p/eas-build-support-for-mac-m1)
As seen here https://github.com/CocoaPods/CocoaPods/issues/9907 cocoapods has been updated to support arm64 m1 architecture, but you need to install it from brew.

Hello @ScreamZ, according to #3384 it looks like the M1 workaround is no longer needed, and we plan to remove the M1 notes all along, so I'm going to close this PR.
Feel free to jump into the conversation in the mentioned PR, if you think that we are missing something.


Encoding of index.html file in UTF-8

I am packaging an application using html-webpack-plugin. Everything is going fine but index.html is getting generated in ANSI format. This is causing the extra junk characters (like Â) in my html page UI.
I resolved this issue using the help from below post:
_http://stackoverflow.com/a/11325511/1606668_
But I don't want to follow these steps manually. Is there anything in the parameter below template in below code?
new HtmlWebpackPlugin({
template: 'src/index.html'
});
I have tried using encoding: 'utf-8', but it is not working for me. Please let me know if anybody has any idea for this.

Sorry only utf8 is supported by now

@jantimon Yes, you are right. But my question is:
Index.html file generated by html-webpack-plugin is in ANSI format by default. I want it to be generated in UTF-8 format with the configuration.

Well the file generation is done by webpack - not by this plugin.
It happens here:
https://github.com/ampedandwired/html-webpack-plugin/blob/master/index.js#L179-L185

Let me check that. Thanks for your important input @jantimon :)


catchup

Codecov Report

Merging #1 into master will decrease coverage by 0.4%.
The diff coverage is 62.22%.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage   91.12%   90.71%   -0.41%
==========================================
  Files          40       41       +1
  Lines        2692     2724      +32
==========================================
+ Hits         2453     2471      +18
- Misses        239      253      +14

Impacted Files
Coverage Δ

django_q/signals.py
91.3% <100%> (+0.82%)
:arrow_up:

django_q/__init__.py
100% <100%> (ø)
:arrow_up:

django_q/tests/test_monitor.py
100% <100%> (ø)
:arrow_up:

django_q/tests/test_cluster.py
100% <100%> (ø)
:arrow_up:

django_q/cluster.py
91.34% <100%> (+0.02%)
:arrow_up:

django_q/tasks.py
99.72% <100%> (ø)
:arrow_up:

django_q/compat.py
100% <100%> (ø)

django_q/tests/test_cached.py
100% <100%> (ø)
:arrow_up:

django_q/monitor.py
83.33% <14.28%> (-3.87%)
:arrow_down:

django_q/management/commands/qinfo.py
95.45% <80%> (-4.55%)
:arrow_down:

... and 2 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 571676e...d33752f. Read the comment docs.


Refactored high CCN class NavigationCaseActivity.java

Fixes issue #23.
Reduced class CCN to 1.9 from 2.5.
Reduced CCN of onBackPressed to 10 from 11.
The function is simplified by separating action identification and action handling. The main goal was to bring the class complexity down whilst maintaining functionality.

LGTM!


Selecting value from drop-down does not work with 'xpath'

Is there any way to write a helper function in Puppeteer to select a value from drop-down using "xpath"(not CSS) as locator. If yes, please share the exact code snippet. I tried with below helper function.
async function select(xpath, value) {
const elements = await page.$x(xpath);
await elements[0].select(value);
}
getting below error
TypeError: elements[0].select is not a function...any idea where I am doing mistake

Yeah, well, I don't really think it's possible.
@JoelEinbinder wdyt about adding elementHandle.select()? I remember you had some naming concerns, but given that we already have page.select() forever with us, I think elementHandle.select() is nice to have for these kind of usecases.

@aslushnikov @JoelEinbinder
How did we go here? I'm also facing a similar issue the html is as below. Am I required to use eval here?
`
0
1
2
3
4
5+
`


[stable/mysql] Add existing secret config options

What this PR does / why we need it:
Allow the user to specify an existing secret containing passwords so that they are not regenerated during updates. Same solution as: #5413
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/ok-to-test

/lgtm


Fix the ReadMe so that it has valuable information

I want to see a better title, description, and maybe a roadmap.

Working on this now.

Included in pre-release v0.0.1-alpha


Test sqlite backend instead of filesystem

The file approach works well for the use-case, there's not a big reason to switch to using a "real" database.
However, having a centralised db could be useful for future, or for heavy users of this application
Stack to test with

DB - sqlite (simple file-based db)
Interfacing with the DB from backend - sqlx
Schema - TBD

Startup

Schema

(Had a good chat with @jaysc and @O0mix0O where they suggested that the dates table is not really needed - so worth looking into this)

The SQLite backend is now at feature parity with the file-based backend approach (changes on the sql-db branch)
It feels a little over-engineered, the file-based version is much easier to reason about. However, I'll dog-food the SQL version for a while day-to-day, and see if there are any actual differences


Requests the ability to save a movie with a specified aspect ratio (area).

hello.
I would like to upload a game screen video in conjunction with social media.
However, all parts are not required. For Instagram, an aspect ratio of 4:3 is best. I'd like to make this automatically adjustable.
I tried to use the Texture Input part, but it seems that it is not possible to modify the script manually.
Are there any plans to create a screen recording function for each area?

Hey @ghkd3930 , I think this is generally a good feature request. That being said, VideoKit might be able to handle this already. Are you saying you want to record a video in one specific aspect ratio for Instagram? If so, currently you can record with a custom resolution that has the aspect ratio you want. We can then add resolution presets for Instagram and other platforms as they come up.
If you're trying to record multiple videos at once, each with its own different aspect, then it gets much more complicated. Let me know what you're thinking.

As you say, using resolution naturally plays a role in aspect ratio? If the aspect ratio can be specified separately, where can I specify it? I couldn't find that function.

The aspect ratio is a direct consequence of the resolution you choose. In your case, you will need to specify a custom resolution, and you can do so by setting the video resolution setting to Custom.

Do you mean custom modifying the resolution? If so, how much is the appropriate width for mobile devices? Also, is there any way to specify where to start shooting? (I want to shoot from height 300, which is the screen where the game score is displayed, but doesn't the starting shooting position start from 0?)

The width and height of the recording is up to you. For cropping the video, this is a feature request we've received, and will likely be adding soon.

The only way I found was to use CropTextureInput, but this cannot modify the script.

Yup, we'll be exposing this in the next update.

Succeeded by #52 where we'll be exposing a way for devs to attach their own transformations on the texture sent to the recorder.


"Convert parameters to destructured object": enable for functions with just one parameter

Search Terms

Suggestion

Back when this refactor was added in #30089, it was decided that the refactor would not be available for functions with less than 2 parameters.

The refactor will not be available on:

functions with less than 2 parameters

https://github.com/microsoft/TypeScript/pull/30089#pullrequest-256073137-permalink:~:text=functions with less than 2 parameters
I would like to suggest that this refactor should be available for functions with just one parameter.
Use Cases
The reason is because I often use this refactoring to make a function into a React component (which always receive their parameters aka props as an object), and it's not infrequent that I need to do this for a function that receives just one parameter.
Furthermore, it would be useful to run this refactoring if you plan to add more parameters immediately afterwards—as opposed to adding more parameters and then converting to an object.
Examples
declare const add: (n1: number, n2: number) => number;

const fn = (a: number) => add(a, 1);

should convert to
declare const add: (n1: number, n2: number) => number;

const fn = ({ a }: { a: number }) => add(a, 1);

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Thanks for pushing this forward @OliverJAsh. Really looking forward to this landing at some point! 🙏

@RyanCavanaugh I would like to raise a PR to fix this, can you accept this issue and add it to the backlog?

The React scenario makes a lot of sense; sure

Thanks, PR here: https://github.com/microsoft/TypeScript/pull/46945


Rebroadcast when One SocketInterface is subscribed to Multiple Channels

I see from source code that library is rebroadcasting the event
$rootScope.$broadcast("socket:" + eventData.$event, eventData);
when we publish event to a some-channel
SocketInterface.publish("SomeChannel", {
       $event: 'send-chat',
       data : message
});

How do I use this re-broadcasted event if my socketInterface is listening to more than one Channel.
Clearly we publish event to a channel but while re-broadcasting it , event is missing the channel information to which it is meant to?
Please correct me if my understanding is wrong or if am right, how do we solve this problem?

May be this works, if the event name ($event) is unique across all channels.  But cant we have the same event name


[Bug] Grey overlay appears over screen when physical controller is activated

Platform Android

Device name: Ayn Odin2
Device type (phone/TV): Handheld console
Android version: 13
App version: 0.4
Script version: ...

When controller is activated a grey overlay appears over app screen making colours dull and washed out. Issue only present in app, running better xcloud in Kiwi browser is fine.
...
Screenshots/Videos
If applicable, add screenshots/videos to help explain your problem.

Please provide a video.
Does it happen in the app's Settings screen?
Please check which verison of Android System WebView app you have.

Doesn't happen in setting screen, webview version is 101.0.4951.61
https://github.com/redphx/better-xcloud-android/assets/112777118/7f13a311-7cc3-4199-98f4-12f5c8346569

101.x is too old.
Try updating the Android System WebView app, either on Play Store or APKMirror. The current version is 122.x

Updated to latest version but no change sadly, even uninstalled and reinstalled and tried v0.3 but does the same thing. It's not a major issue for me as have installed via Kiwi but very strange.

Open the script's Settings, then click on the Help button to go to the homepage. Only then activate the gamepad, and see if it still happens on other pages.

Yep sadly still happens, I should probably test on another device, am assuming this is probably unique to Ayn Odin 2, hopefully isn't experienced across the board as the app makes it brilliantly simple for those less tech savvy to use better xcloud on Android, appreciate your support as always

Try this one: com.redphx.betterxc_0.4-4.apk.zip
This is the first time I hear about this bug.

@voxdub did you test with the latest version?

Yep still persists on latest version

Try to disable the "force 60hz refresh rate" setting

@voxdub try this version: https://we.tl/t-bJbU3P35JB

Amazing that's fixed it, I was gonna reply today as it seemed like just an Odin 2 issue as tested on phone and tablet and couldn't replicate with any external controllers on those. But whatever you've done in this version of the app it doesn't put a grey overlay over screen, thanks and hopefully it's prevented potential similar issues for others

fixed in 0.7


Synchronous WAL only writes

Let's try to make following changes.
This idea was discussed long time ago but after the last discussion with @taburet I wanted to write it down.
Let's change commit of atomic operation in following way:

When we make changes in data files we write changes only to WAL and do not apply them to data files.
We keep changes in WAL till either WAL cache will not be completely filled or some time interval (1s. by default) is passed but we introduce several additional concepts:
Background thread which will continuously run in the background and inspect WAL cache. This thread will read changes from WAL cache and put them into write cache.
Because we do not have complete page data we introduce the concept of a partial page, a page which does not contain all data and will load them upon request to cache. Such pages will be created if  background thread will not find pages related to WAL data mentioned above.
Small index inside of WAL which shows which page changes are not moved to write cache.
Every time when we read page we check WAL index and if there are still data not moved to write cache we apply those changes from WAL to the page (that is fast because they are contained in WAL cache).

Such approach will not speed up write operations on data which are not cached by the cache (or in other words rarely used) but will provide noticeable speed up for data which are frequently used.

This looks like the same of my issue: https://github.com/orientechnologies/orientdb/issues/5638.

Could you please explain why "will provide noticeable speed up for data which are frequently used"?

@lvca It is not the same. The big difference is that this issue safe for synchronous writes, but the issue which you link is not safe. Because any mix of reading and writing data from different threads of the same data will crash not only data consistency, but data structure itself.

@lvca for rare data, we have the following workflow:

Read from the disk.
Process data which we read.
Read from the  R cache
Write to the W cache.

For frequently used data:

Read from the R cache.
Process data which we read.
Read from the  R cache
Write to the W cache.

In both cases, we omit the last operation from operation set. But apparently read from the disk is much longer than read from the cache. So there will be minor speed improvement for not cached data.

Also, target of this issue is not performance but changes which avoid for data crash in case of OOM.

Not actual


Add additional package for aufs support; fixes #74

Signed-off-by: Matt Bentley<EMAIL_ADDRESS>

Also removed now unnecessary reboot due to the extra package; removed  the unsupported operating system documentation.

LGTM from a docs perspective, waiting from feedback on whether CS engine supports Debian or not.

ping @cpuguy83 ptal

Whoops, accidentally deleted the branch before this was merged

@cpuguy83 can you take a look?

Thanks to @cpuguy83 for the LGTM offline. :) Merging.