Adding my own place names

rasa NLU version:  0.10.0a2
Used backend / pipeline : mitie_sklearn
Operating system:  CentoOS 7
Issue:  This is great work and I am getting good result. I want to know one thing that for sure must be available. I am extracting the place names by training the entities marked place_name in training set. Its working fine, the issue arises when place name is comprised of more than one word.
Examples:
word1 word2: It extracts two entities as place_name word1 and word2 e.g "Khanjr Pur"
or the words which are from dictionary, dropped and remaining is returned as  entity e.g "Gateway of India"
I have all place names for my region. So is it possible to add all place names somewhere so that proper place_name entity is extracted?

I'm sorry but what you want to achieve is not very clear 😐
Entities can span several words, so you should have no issue defining "Khanjr Pur" as an example of place_name in your dataset. Is that your problem?

I have these ~30,000 place names already, you mean I should add these words in training set each as entity "place".
If we do this training would take too much of time.
My question is, can we not add these as place names somewhere in MITIE NER data?

@amn41 I don't see any good solution here considering the actual processing pipeline. Would an hypothetical keyword_entity_extractor fit this usecase? 😕

One solution is to handle those entities yourself and replace them with a token, such as {PLACE_NAME}
Then the training will be done not on the concrete entity value but on the token.
Tokenize it the input string, as a preprocessing step, before you pass the string to Rasa

@bigman73 You mean to say that I should change all place names in a sentence to token. Like:
book my flight from Mumbai to London
will be changed before passing to Rasa as:
book my flight from PLACE_NAME to PLACE_NAME

Yes, or:
"book my flight from PLACE_NAME1 to PLACE_NAME2"

Ok now its quite clear before passing to Rasa I have to pre-process the text to find locations ("Gateway of India" or "New Bombay" ) using trie or some other algo and then change to PLACE_NAME1 and PLACE_NAME2.
Same should  be done for training data also and should be tagged PLACE_NAME1 and PLACE_NAME2 as entities source and destination respectively.
Thanks


Error compiling within -Pbackends-xx,spark-3.3,spark-ut

[ERROR] /opt/code/gluten/gluten-ut/src/test/scala/org/apache/spark/sql/catalyst/expressions/GlutenCastSuite.scala:22: error: overriding method beforeAll in class CastSuite of type ()Unit;
[ERROR]  method beforeAll in trait GlutenTestsTrait of type ()Unit has weaker access privileges; it should be public;
[ERROR]  other members with override errors are: afterAll
[INFO] class GlutenCastSuite extends CastSuite with GlutenTestsTrait {
[INFO]       ^
[WARNING] one warning found
[ERROR] one error found

In this https://github.com/oap-project/gluten/pull/604, I will enable test spark33 gluten-ut


dependencies errors and wandb

Sorry, I'm not familiar with this kind of code, so under questions can be ridiculous.

The torch version in the requirement.txt and dependencies of MAPE are different from 1.8.0 and 1.11.0. So should I install 1.11.0?

When I pip install libraries, torch-* things are not installed well.

I'm not familiar with wandb. Do you know if the next error is usual?
wandb: ERROR Error while calling W&B API: permission denied (<Response [403]>)
Should I get your permission...? Or do you mean I should turn off the wandb.

Thanks for your help.

Hi @DH-O no worries at all!

I think we trained/tested our models on torch==1.11.0. Are you getting an error when you try to install MAPE? I have updated the requirement.txt file.
Could you show the errors you are getting while installing the torch related libraries?
You will need to change the --user_name flag to your wandb username. Refer this: https://docs.wandb.ai/guides/app/settings-page/user-settings. You will need to get an API key from wandb as well (it is free to use)

Hi @DH-O no worries at all!

I think we trained/tested our models on torch==1.11.0. Are you getting an error when you try to install MAPE? I have updated the requirement.txt file.
Could you show the errors you are getting while installing the torch related libraries?
You will need to change the --user_name flag to your wandb username. Refer this: https://docs.wandb.ai/guides/app/settings-page/user-settings. You will need to get an API key from wandb as well (it is free to use)

I am also trying to install the repository. I have tried with python 3.7, 3.8, and 3.10 and I get a subprocess-exited-with-error when installing requirements. This happens when the install gets to torch-cluster. Could you please let me know what python version was originally used for this? Maybe that will help.

1, 2.
I solved the issues by installing torch-* things through conda install as below
conda install -c esri torch-cluster
[(https://anaconda.org/Esri/torch-cluster)]
The problem was that torch==1.11.0 is not compatible with torch-cluster==1.5.9
In my case, requirement.txt should be like this
absl-py
gym==0.10.5
numpy==1.19.4
pyglet==1.5.26
protobuff==3.20.0
PyOpenGL==3.1.5
PyQt5==5.9.2
requests==2.22.0
tensorboard==2.4.0
tensorboard-plugin-wit==1.7.0
tensorboardX==2.1
torch==1.8.1
torch-cluster==1.5.9
torch-geometric==2.0.4
torch-scatter==2.0.7
torch-sparse==0.6.10
torch-spline-conv==1.2.1
torchvision==0.9.1
tqdm==4.44.1
typing==3.6.4
typing-extensions==<IP_ADDRESS>
wandb==0.10.31

after that, there seem to be no library issues.

Thank you after changing the user_name flag, it works well.

@DH-O glad that everything works well now. I will update the requirements.txt. Thanks a lot!

@reidsouchultralabs we tested using python 3.8 and 3.10.
Could you try installing all torch related stuff using this:
TORCH="1.8.0"
CUDA="cu102"
pip install --no-index torch-scatter -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html --user
pip install --no-index torch-sparse -f https://data.pyg.org/whl/torch-${TORCH}+${CUDA}.html --user
pip install torch-geometric --user```

@reidsouchultralabs were you able to install it? Do you need help in debugging? Can I close this issue?

@reidsouchultralabs were you able to install it? Do you need help in debugging? Can I close this issue?

Hey. I cannot get it installed. I tried with both Python 3.8 and 3.10. With conda, I get dependency errors with the versions in requirement.txt... Do you have any suggestions?

Can you show the dependency errors you are getting?

With python 3.10, using pip install -r requirement.txt:
`Collecting numpy==1.19.4
Using cached numpy-1.19.4.zip (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [288 lines of output]
setup.py:67: RuntimeWarning: NumPy 1.19.4 may not yet support Python 3.10.`
Removing numpy and installing separately, I get: ERROR: Could not find a version that satisfies the requirement protobuff==3.20.0 (from versions: none) ERROR: No matching distribution found for protobuff==3.20.0
similarly... ERROR: Could not find a version that satisfies the requirement torch==1.8.1 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0) ERROR: No matching distribution found for torch==1.8.1

Did you try installing one library at a time instead of pip install -r requirements.txt? Can you give more information about your OS and if you are using conda or not?

Did you try installing one library at a time instead of pip install -r requirements.txt? Can you give more information about your OS and if you are using conda or not?

I am using linux through WSL. When installing with pip individually, I get the same errors. I will try one by one with conda and get back to you.

Did you try installing one library at a time instead of pip install -r requirements.txt? Can you give more information about your OS and if you are using conda or not?

I am using linux through WSL. When installing with pip individually, I get the same errors. I will try one by one with conda and get back to you.

@nsidn98 I was able to get everything installed. I wanted to let you know - to run your base train_mpe script. The requirement.txt file is missing: absl-py and setproctitle

@reidsouchultralabs Great! I'll close the issue now. Reopen if you need help with it!


Updated usage Readme

In this PR

Updated readme with examples

Checklist

[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

[x] Have you lint your code with pnpm lint locally prior to submission?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran build with pnpm build of your changes locally?
[x] Have you successfully ran tests with pnpm test of your changes locally?
[x] Have you commit using Conventional Commits?

@all-contributors please add @andrew-hu368  for doc


[netcore][52.enterprise] Following steps doesn't result in successful build for LUIS

Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information

Sample type: [\samples\ or \solutions]
samples
Sample language: [dotnetcore or webapi or es6 or nodejs or typescript]
dotnet
Sample name:
enterprise bot

Describe the bug
Give a clear and concise description of what the bug is.
The instructions say
"There are two locations that need to be updated in the code to resolve the LUIS service. In the following files: MainDialog.cs EnterpriseDialog.cs The following line needs to be updated in both files: var luisService = _services.LuisServices[_General]; The must be replaced with the provided in step 4 above."
but (1) this line doesn't exist in either file, and (2) replacing the closest line to it results in a "null", it's not actually hitting the service for some reason
Is there a known fix for this?
Thanks!
Anna
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

Hi Anna, can you point me to where you saw these instructions? They are out of date and you no longer need to modify this code for the enterprise template to work. I will update the docs accordingly.

You do need to modify the code, at least as of this morning, to update the within the two dialogs the "name" of the luis services. for QnA, you no longer have to because it's default is FAQ
It's not in the docs but it is in the readme which you referenced

It looks like the code in the repo is out of date with the published Visual Studio Marketplace template. We've moved to https://github.com/Microsoft/AI for the latest builds. Would you mind trying to install and build from the template here and let me know if you have the same issues?

Maybe this will help. I'm pulling straight from the samples repo - could that be an issue? These are the steps I'm following (preparing an integration course and this will be part of setup, using the template as a base):
Lab 1.3: Setting up an instance of the Enterprise Bot Template
In this lab, we'll walk through how to get a base Enterprise Bot downloaded and deployed with the initial services, including Dispatch, LUIS, QnA Maker, Application Insights, Cosmos DB, Azure Web App Bot, and Azure Storage.
Step 1.3.1: Clone the samples repository
In the future, you may just want to use the VSIX template you downloaded in the previous lab (and now you know how). However, for this solution, the sample is still being updated, and, for now, we want to make sure we're using the most up-to-date template.
In the Cortana search bar, type "git bash" and select "Git Bash Desktop App", or type "cmd" and select "Command Prompt". Next, type cd c: then enter, and git clone https://github.com/Microsoft/BotBuilder-Samples.git then enter. This copies down all of the files from the GitHub site to C:\BotBuilder-Samples.
Step 1.3.2: Create a base solution
Open File Explorer and create a new folder on your desktop called "CSAgent". Next, navigate to "C:\BotBuilder-Samples\samples\csharp_dotnetcore\52.enterprise-bot". Use CTRL+A to select all the files, then CTRL+C to copy them. Navigate to the folder you just created on your Desktop, and use CTRL+V to paste the files into your "CSAgent" folder. Finally, double-click on the "EnterpriseBot" project file (of type "Visual C# Project File") to open it in Visual Studio 2017.
Step 1.3.3: Build the solution
In the solution explorer, right click on the solution and select "Rebuild Solution".
Step 1.3.4: Deploy the related services
This step has multiple steps.

Install the BotBuilder-Tools (you can read about them here) by opening the Command Prompt and running:
npm install -g chatdown msbot ludown luis-apis qnamaker botdispatch luisgen
Open Windows PowerShell (on the DSVM this should be pinned to the taskbar).

To login, run Connect-AzureRmAccount
To select your Azure subscription, run `Select-AzureRmSubscription -Subscription "subscription-name".

Sign in to luis.ai (in your browser of choice) and obtain your LUIS Authoring Key. You can find it by select Your Name > Settings from the top right corner. Copy the Authoring Key and open "keys.txt". Put the key and a descriptor so you know what it is.
In the Command Prompt, run cd C:\Users\your-username\AppData\Roaming\npm to move to the project directory.
Next, run the following command:

msbot clone services --name "CSAgent" --luisAuthoringKey "<YOUR AUTHORING KEY>" --folder "C:\Users\<YOUR-USERNAME>\Desktop\CSAgent\DeploymentScripts\msbotClone" --location "westus" --verbose

Note: By default, your Luis Applications will be deployed to your free starter endpoint. An Azure LUIS service will be deployed along with your bot but you must manually add and publish to it from the luis.ai portal and update your key in the .bot file.

Select y then Enter when prompted to create the resources. And enter the device code in the browser when prompted. This will take several minutes, so be patient, but observe all the things that are being created for you! Want to review line-by-line with us?
You need to save the bot secret within your "keys.txt" file.

Step 1.3.5: Updating the base solution

Return to Visual Studio, and in appsettings.json, fill in your botFileSecret with the bot secret you collected in the previous step. Save the file.
Right-click on the solution and select "Manage NuGet packages for solution". Under the installed tab, select "Microsoft.AspNetCore.All" and update the package to "2.1.4". Then, rebuild the solution.
In File Explorer, navigate to C:\Users\your-username\AppData\Roaming\npm, copy the BOT File, and paste it into the root of your project (should be in a location similar to C:\Users\your-username\Desktop\CSAgent).
Return to Visual Studio and open the file ending in ".bot". This file should contain all of the services created in step 6 along with their keys and any other information your bot will need to communicate with the services. One important thing to note is for each service, there is an item called "name". Sometimes the bot will find the service via "type" and sometimes via "name". You can set it to whatever you want, but leaving it as the default should be fine. In the "dispatch" service, you may note that it also has "serviceIds" that point to the LUIS and QnA services that Dispatch will route between.
Note the "name" value for the LUIS model that has "_General" in the name. Within Dialogs > Main > MainDialog.cs and within Dialogs > Shared > EnterpriseDialog.cs, replace "General" (in the line that calls _services.LuisServices) with the value for "name" (make sure it's placed within quotes).
Return to the ".bot" file and note the "name" value for the QnA Maker service. In Dialogs > Main > MainDialog.cs, replace "FAQ" (in the line that calls _services.QnAServices) with the value for "name" (make sure it's placed within quotes).
Finally, within appsettings.json, replace the "botFilePath" value with the name of your ".bot" file (and including ".bot" in the name). Save all files.

Step 1.3.6: Publishing the base solution

Right-click on the project within Solution Explorer and select "Publish...". In the pop-up window, select "Select Existing", and use the drop-down next to the Publish button to select "Create Profile".
Find and select the service that was created in an earlier step. Select OK.
Select Configure > Settings > File Publish Options and check the box "Remove additional files at destination". Click "Save".
Select "Publish" to publish your bot back up to the service.

As clarification, I've been writing and tweaking these steps as I run into issues. The VSIX template (which I think is what you linked to when you said "here") is out of date isn't it?

I guess my question is - is the most updated version the GitHub samples repo or VSIX template in marketplace?

The VSIX is actually the most up to date because the code is being managed in a separate repo from this one.

Also, the most up to date documentation is on the public docs site here: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-enterprise-template-deployment?view=azure-bot-service-4.0,

OK that is good to know. I'll start over from the VSIX template and report on any errors I come across. Bugs/comments for VSIX go https://github.com/Microsoft/AI/tree/master/templates/Enterprise-Template and bugs/comments for instructions go https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-enterprise-template-deployment?view=azure-bot-service-4.0 . Correct?

Please submit all bugs and issues to https://github.com/Microsoft/AI/issues. We can update the public docs based on your feedback there!

Will do. thanks

Thanks for your patience!
Moving conversation to AI repo.


Need to build python binding separately

I need to build python bindings separately, because on FreeBSD we can have multiple python versions installed, and each needs its own binding. Currently, RDK_BUILD_PYTHON_WRAPPERS turns bindings option within the project, not separating the two. I am trying to make FreeBSD ports right, this is the reason I am asking this here.
I noticed that RDK_BUILD_PYTHON_WRAPPERS installs these files:
include/rdkit/RDBoost/PySequenceHolder.h
include/rdkit/RDBoost/Wrap.h
include/rdkit/RDBoost/boost_numpy.h
include/rdkit/RDBoost/list_indexing_suite.hpp
include/rdkit/RDBoost/python.h
include/rdkit/RDBoost/python_streambuf.h
lib/libRDKitRDBoost.so
lib/libRDKitRDBoost.so.1
lib/libRDKitRDBoost.so.1.%%SHLIB_VER%%

If these files are only needed for python, you should not install these headers, and should merge shared libs into the python bindings.
I think you should split out python bindings into a separate project.

I can see that this is likely to be challenging for situations where multiple Python installs need to co-exist, but I'm not sure how best to address that.

I'm not sure how best to address that.

Create a separate project with its setup.py, that depends on dkit's headers/libraries.
Here is an example of libsass python binding: https://github.com/sass/libsass-python that works exactly this way for its corresponding C++ library libsass.

not stale


Art: New Scythe / Rifle

Scythe

https://www.pinterest.com/pin/452119250097901239/

https://www.deviantart.com/epic-soldier/art/Halloween-special-2-CLOSED-641584132

https://www.pinterest.com/pin/621004236095971009/

https://www.pinterest.com/pin/498492252502189129/

two versions

That looks good for an easy to remix template
More scythes:

https://www.artstation.com/artwork/4DEYY

https://www.pinterest.com/pin/759982505845214794/
https://www.pinterest.com/pin/786511522405567266/

What about Axe instead of Scythe?

Rifle with decals on it

https://www.pinterest.com/pin/669417932105472210/

Perhaps we can optimize these assets for use
CC0 Rifles: https://sketchfab.com/search?features=downloadable&licenses=7c23a1ba438d4306920229c12afcb5f9&q=rifle&sort_by=-relevance&type=models

CC0 Pistols: https://sketchfab.com/search?features=downloadable&licenses=7c23a1ba438d4306920229c12afcb5f9&q=pistol&sort_by=-relevance&type=models

scythe is no longer needed

Most likely replaced by via's multitool.


Latest release from OMW to vscode plugin

The current release of plugin's wmlandscape is 1.268.1, which is very old:
cat node_modules/wmlandscape/package.json | grep version
	"version": "1.268.1",

What would it take to pick up the version currently published on https://onlinewardleymaps.com/?

Hi @Preskton
The following file needs updating to include recent pipeline work from OWM. https://github.com/damonsk/onlinewardleymaps/blob/master/frontend/wmlandscape/src/index.js
The following will also need some work:
Update the language file: https://github.com/damonsk/vscode-wardley-maps/blob/master/syntaxes/wardleymap.tmLanguage.json
Include new snippets: https://github.com/damonsk/vscode-wardley-maps/blob/master/snippets/snippets.code-snippets
It's on my todo list however if you'd like to contribute a PR would be great.

Great, happy to try to contrib. I'll poke around and assemble a list of questions. :)
One that comes to mind immediately - is it safe to assume the Iterations function depends on AWS Amplify and wouldn't be something that would end up in the vscode plugin?

Wouldn't want amplify to be pulled in, which file has the dependency?

Wouldn't want amplify to be pulled in, which file has the dependency?

I don't think it needs to be pulled in as part of hosting wmlandscape. A different way to phrase my question -- and I think I know the answer -- is the "iterations" feature part of wmlandscape? And I'm pretty sure the answer is "no".

After upgrading dependencies in #23, I didn't end up having to pull in amplify.

PR merged and published to marketplace.  https://marketplace.visualstudio.com/items?itemName=damonsk.vscode-wardley-maps

Looks great, thanks for fixing up those dangling dependencies! :)


fix notification translation after add to cart

Related issues

closes #3716
Short description and why it's useful

It fixes issue, but I think much better solution would be if we remove all direct i18n imports and make some stateless plugin/service which will always take fresh instance of i18n. This plugin will create message objects. :thinking:
Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[x] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and currently important rules acceptance

[x] I read and followed contribution rules

@gibkigonzo Basically notifications are a theme thing. This is the component that is really related and depends only on installed theme. Our vuex / core logic should return only the data / codes that could be handled by theme and then that theme would decide whether it wants to do something with that fact (something happened) or not. Of course don't refactor this now, but keep in mind about that for the future.

@pkarw @andrzejewsky I've updated pr. This change https://github.com/DivanteLtd/vue-storefront/pull/3724/commits/b921d0ef7d757b2ed5307c9b16f077bfa714fe9a resolves problem from issue https://github.com/DivanteLtd/vue-storefront/issues/3716#issuecomment-543153445 We already wait for language to load in prepareStoreView, so this loading is unnecessary. It's async so it can load after one from prepareStoreView

Ok after tests :)


Installed via homebrew and docker, never produces any output.

$ brew update
Updated Homebrew from 2b33f995f to 0fdf8f2e6.
# ... output skipped ...
$ brew install dnsprobe
==> Downloading https://homebrew.bintray.com/bottles/dnsprobe-1.0.3.mojave.bottle.tar.gz
Already downloaded: /Users/plambert/Library/Caches/Homebrew/downloads/68bced0371ed5c938a4c56d0e3e9120d7edcb8bce173caa8b26042c9e0d8e164--dnsprobe-1.0.3.mojave.bottle.tar.gz
==> Pouring dnsprobe-1.0.3.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/dnsprobe/1.0.3: 5 files, 6.7MB
==> Installation times
dnsprobe                  0.218 s
$ echo yahoo.com | dnsprobe

       __                            __
  ____/ /___  _________  _________  / /_  ___
 / __  / __ \/ ___/ __ \/ ___/ __ \/ __ \/ _ \
/ /_/ / / / (__  ) /_/ / /  / /_/ / /_/ /  __/
\__,_/_/ /_/____/ .___/_/   \____/_.___/\___/
               /_/

		projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
$

I have tried putting domains in a file and using the -l option, using the -s option and a file with the dns server listed, everything, and I never receive any output.  I've tried specifying A records, json output format, etc, and still no output whatsoever.
I also tried running it in Docker:
$ git clone https://github.com/projectdiscovery/dnsprobe.git
# ...
$ cd dnsprobe
$ docker build -t projectdiscovery/dnsprobe .
# ...
$ echo yahoo.com | docker run -i projectdiscovery/dnsprobe

       __                            __
  ____/ /___  _________  _________  / /_  ___
 / __  / __ \/ ___/ __ \/ ___/ __ \/ __ \/ _ \
/ /_/ / / / (__  ) /_/ / /  / /_/ / /_/ /  __/
\__,_/_/ /_/____/ .___/_/   \____/_.___/\___/
               /_/

		projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
$

Still no output.
What am I doing wrong?

Hi @plambert,
I'm not sure what going on that side, I just tried docker and it's working fine
> echo yahoo.com | docker run -i projectdiscovery/dnsprobe -silent

yahoo.com <IP_ADDRESS>
yahoo.com <IP_ADDRESS>
yahoo.com <IP_ADDRESS>
yahoo.com <IP_ADDRESS>
yahoo.com <IP_ADDRESS>
yahoo.com <IP_ADDRESS>

Is there a way to debug the tool?  For example, can it tell me what requests it makes to where, and what response it gets, so I can try the same from outside the tool to be sure they're working?
It returns immediately, so I don't think it's timing out on anything.

Hey @plambert,
-raw flag will show all the details you need.
echo test.com | dnsprobe -raw

;; opcode: QUERY, status: NOERROR, id: 3707
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;test.com.	IN	 A

;; ANSWER SECTION:
test.com.	3386	IN	A	<IP_ADDRESS>


Remove unused line of code

The first line in the shouldHotReload() method in Mix.js
creates a new file and then immediately deletes it. Removing
the line does not affect the tests.

new File(…) doesn't create a file. The File class is a collection of utilities for working with files. In this case it finds a file located at a given path and removes it if it exists.


Investigate an extension contribution point for a notebook type debugger

Breakpoints in notebook cells show up when there is a debugger registered for that language, same as editors. This isn't really right for notebooks where the Python DA doesn't work for Python cells, the Jupyter DA is separate. So we should consider a change to the package.json contribution. Have discussed this a little the past couple months but haven't done any work for it.

There is a breakpoints contribution point which is a list of { language: string }. That object could also include notebookType
When deciding to show the breakpoint margin in a notebook, we would check this property and not check the language property

cc @weinand @isidorn does this sound ok?
Something that I don't remember is why the debug adapter has a "languages" property which isn't used for this, and the breakpoints config is separate from the debug adapter. Would there be debug adapters that don't support breakpoints?

@roblourens you said

Breakpoints in notebook cells show up when there is a debugger registered for that language, same as editors

The "same as editors" part is not true. Here is why:
Breakpoints are independent from debuggers and they are not "owned" by a specific debugger; breakpoints don't have a "type" that ties them to a debugger.
Editors will have the breakpoint gutter enabled and allow adding breakpoints if there is a breakpoints contribution for the language shown in the editor (or if the debug.allowBreakpointsEverywhere setting is true). So users will be able to set breakpoints even if they don't have a debugger for them (Sounds strange but some users are using breakpoints as bookmarks).

Something that I don't remember is why the debug adapter has a "languages" property which isn't used for this, and the breakpoints config is separate from the debug adapter. Would there be debug adapters that don't support breakpoints?

The breakpoints contribution is independent from debuggers for two reasons:

breakpoints exist independent from debuggers,
debuggers don't know how languages are transpiled into other languages. So the breakpoints contribution for TS comes from the typescript language extension (same for coffeescript), and not from js-debug.

The debuggers.languages contribution point lists languages for which the debugger is the "default" debugger.
This property is used by VS Code if no launch.json exists and a users presses "F5" in an open editor. It is not used to enable breakpoints.
@isidorn is my explanation of the current implementation correct?

Introducing a breakpoint.notebookType is a bit against the model explained above.
Do we really need this? What is the problem if we don't have the notebookType property?
Another problem is the semantic of the extended breakpoint type (assuming that notebookType is a bool):
    "breakpoints": [
      {
        "language": "python",
        "notebookType": true
      }
    ],

What does this mean? "breakpoints are enabled in python notebook cells" and in "python editors"? or just "breakpoints are enabled in python notebook cells"?
This is complicated by the fact that "breakpoint" contributions for the same language can come from different extensions and they have to be merged with predictable semantics.
A better approach would be something like this:
    "breakpoints": [
      {
        "language": "python",
        "target": [ "editor", "notebook" ]
      }
    ],

with the additional rule: if target is missing, "editor" is assumed.

@weinand your description of the implementation above is correct.  We have a bit more use cases, best is to look for references of isDebuggerInterestedIn
@roblourens in short think of the language contribution as a hint from the debug extension in what languages it is interested in (independent of breakpoints).
I like @weinand proposal from above with the target.

Thanks @weinand for reminding me how this works. It turns out that for Jupyter at least, we require the Python extension to be installed to run cells, at least in some cases. It's not clear whether debugging will be supported without the Python extension installed. If it is required, then this isn't needed after all because the Python extension will provide the breakpoints registration. It might still be relevant for another notebook type but I wouldn't implement this without a consumer.

@roblourens does this mean that we do not have to introduce a "notebook debugger" contribution point (at least not in September)?
If this is the case, please close the issue and update the plan.

For now we are assuming that the Python extension will be installed when debugging Python cells, so we don't need this for now.


NMS.GEN.MCTS.006 - Ability to modify kilkari beneficiary address via UI or CSV

The NMS system shall provide means to modify the address/location of a Kilkari Beneficiary by providing new address/location information along with existing MCTS ID using CSV upload or MDS UI.
A history/change table shall be created with old and new address/location for the existing beneficiary.
The language mapping for the beneficiary does not change due to change in location information.

@llavoie @pankajnagpal30 Is there a file for this upload?

I have it and I'm working on this. Sorry I forgot to assign it to myself.
I'm going to make sure all of the Kilkari beneficiary tickets are assigned
to me right now...
On Wed, Jun 24, 2015 at 2:48 PM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

@llavoie https://github.com/llavoie @pankajnagpal30
https://github.com/pankajnagpal30 Is there a file for this upload?
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/114#issuecomment-115021436
.

--
Lauren Lavoie
Software Development Manager, Mobile Health Innovations
Grameen Foundation
2101 4th Ave | Suite 1550 | Seattle, WA 98121
206-325-6690 ext 254
<EMAIL_ADDRESS>| Skype:laurenlavoie
Facebook http://www.facebook.com/StopPovertyNow│Twitter
http://twitter.com/grameenfdn│YouTube
http://www.youtube.com/user/grameen?blend=6&ob=5 | www.motechsuite.org
Connecting the World's Poor to Their Potential


Update higher-order-components.md

Spell change.

I can see where this wording might be confusing, but I'm pretty sure "specially" is actually the word we intended to use here! 😄  Thanks though!

No worries. I had to search the term. Honest mistake! Thanks guys.
On Wed, Dec 13, 2017 at 12:53 AM, Brian Vaughn<EMAIL_ADDRESS>wrote:

I can see where this wording might be confusing, but I'm pretty sure
"specially" is actually the word we intended to use here! 😄 Thanks
though!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/reactjs.org/pull/411#issuecomment-351113205,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACDuyXb11eJIOLZ3hGaU_aAIE7YtDe2rks5s_q97gaJpZM4Q_GWW
.

--
Mark Chavez
Ruby/Javascript Developer
m: +639178574111
a: Parañaque, Philippines
w: markjoelchavez.com  e<EMAIL_ADDRESS>


Add bulk export options

Summary
https://github.com/mattermost/mattermost-server/pull/16614
The above PR adds two options (--attachments and -archive) for bulk export command, but documentation doesn't have it.
https://docs.mattermost.com/administration/command-line-tools.html#mattermost-export-bulk
Ticket Link
N/A

Hello @kaakaa,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


test/ux-general-comment

⛔ Snyk has found 3 issues.

Icon
Severity
Issues

Critical
0

High
3

Medium
0

Low
0

✅ security/snyk check is completed. Snyk found no issues. (View Details)
⛔ code/snyk check is completed. Snyk found 3 issues. (View Details)

  Use of Hardcoded Credentials Outside changed files
http.createServer uses HTTP which is an insecure protocol and should not be used in code due to cleartext transmission of information. Data in cleartext in a communication channel can be sniffed by unauthorized actors. Consider using the https module instead.
Path: public/css/screen.css#L23
CWE-352 | Priority score 560

Data flow: 3 steps
https://github.com/trailblazing-dx/tiago_pr_playground/blob/855a1fa7877e00fd6c9f4c15ef769d8f5ea3b0cf/app.js#L52
https://github.com/trailblazing-dx/tiago_pr_playground/blob/855a1fa7877e00fd6c9f4c15ef769d8f5ea3b0cf/app.js#L75
https://github.com/trailblazing-dx/tiago_pr_playground/blob/855a1fa7877e00fd6c9f4c15ef769d8f5ea3b0cf/app.js#L80

⛔ code/snyk check found 3 issues[^1]:

1 issue was discovered outside of the modified code.
2 issues were discovered within the modified code. (see line comments 👇).

[^1]: The status for each issue might be different from the initial scan (issues might be marked as resolved).
For a full report, visit the Snyk PR Check report.


Fixes the analytics automated report job deploy error

WHAT DOES THIS PR DO?

Fixes the analytics deploy job typo
use env vars described in file

I am about to merge this PR. Thanks @123MwanjeMike .
cc: @NoahNsimbe


Cannot update count on delete

Hello everyone!
I implemented one logic where on the creation of records in the detail section the count of the rows will be shown in the textbox in the master section
The problem is when I delete items from the detail section the count does not reduce as it remains the same
Here is the code for calculating rows
(this.form.DetailList.view as any).onDataChanged.subscribe(() => {
var total = 0;
for (var k of this.form.DetailList.getItems()) {
if (k != null) {
var count = this.form.DetailList.rowCount();
this.form.BomCount.value = count.toString();
}
}
});
Hope this is enough!
Thank you

Closing due to inactivity.


Cask update request: update Calibre to 2.74.0

Cask details
Calibre has been updated to 2.74.0 today.
https://calibre-ebook.com/whats-new
Name: Calibre
Homepage: https://calibre-ebook.com/
Download URL: https://download.calibre-ebook.com/2.74.0/calibre-2.74.0.dmg

I just found these excellent instructions and will try to take care of it myself: https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#updating-a-cask

Done in #27543.


Hiding Backdrop on Custom CSS options prevents images from being closed

Select "Hide Backdrop" on Custom CSS and accept.
Upload an image and open it
Try and close the image by clicking in other place but the image.

Press escape?


KAFKA-13791: Fix FetchResponse#fetchData and forgottenTopics: Assignment of lazy-initialized members should be the last step with double-checked locking

Double-checked locking can be used for lazy initialization of volatile fields, but only if field assignment is the last step in the synchronized block. Otherwise, you run the risk of threads accessing a half-initialized object.
The problem is consistent with KAFKA-13777
#https://github.com/apache/kafka/pull/11963

Hi @showuon , can this PR be merged?

Failed tests are unrelated.
    Build / JDK 11 and Scala 2.13 / kafka.api.ClientIdQuotaTest.testProducerConsumerOverrideUnthrottled()
    Build / JDK 17 and Scala 2.13 / kafka.admin.LeaderElectionCommandTest.[1] Type=Raft, Name=testElectionResultOutput, Security=PLAINTEXT


Tasks - Filter Sources - make order of CSV download more intuitive

As a curator, when I first see columns, I want to see an order like author, year, title, serial, volume, number, pages ... other stuff
@jlpereira how are the columns ordered at present? Are they just taken from the JSON response?

Yes, we're taking the order from the json response

Will be addressed when we unify column sorting options.


ButterKnife 8.0

Hi,
The custom toolbar with textview is not working with new version of ButterKnife, but it is working with version 7.1
Please help to fix it.

You have provided no information in order to assist in anyway. This sounds like a usage question and not a bug. Please ask on StackOverflow with the 'butterknife' tag with a lot more information.


Extended compatibility matrix

Which problem is this PR solving?
Resolves https://github.com/jaegertracing/jaeger-operator/issues/2506
Description of the changes
This PR extends the compatibility matrix by adding the missing Jaeger Operator versions.
How was this change tested?
Ran the command: make lint test
Checklist

[x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[x] I have signed all commits
[ ] I have added unit tests for the new functionality
[x] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

I see that Jaeger Operator v1.50 is present in the documentation but I couldn't find the relevant tag in the codebase for it.
Inferring from the compatibility matrix of the versions, I added the compatibility for v1.50 base on the assumption that it would be compatible with the same Kubernetes, Strimzi Operator, and Cert-Manager as the versions above it.
Please let me know if that's alright?

Thanks for brining this up :)
Let me check ^^

Thanks for brining this up :) Let me check ^^

Thank you!
I just realised I actually forgot to push the compatibility for v1.50. I'll do that once you give me the go ahead.
Another thing, shall I also update the text at the top of the Compatibility.md?
- The following table shows the compatibility of jaeger operator with different components, in this particular case we shows Kubernetes and Strimzi operator compatibility
+ The following table shows the compatibility of Jaeger Operator with three different components: Kubernetes, Strimzi Operator, and Cert-Manager.

Another thing, shall I also update the text at the top of the Compatibility.md as follows (if you think this change is needed i.e.):

Yes, please!

@

Another thing, shall I also update the text at the top of the Compatibility.md as follows (if you think this change is needed i.e.):

Yes, please!

Updated :)
The only thing left is the compatibility for v1.50 and whether I should add that to the table. Need your guidance there.

Yes. Add it. That data is correct.


Create Your Own Blog About Key Management for DIDs

Create Your Own Blog About Key Management for DIDs
🚀 Goal
We want you to share what you've learned about key management in your own blog post.
🤔 Background
This issue focuses specifically on creating a blog post to teach others about DID key management. Your contribution here will help developers learn about this topic!
🤝 How You Can Contribute
We've broken it down into smaller tasks. Every contribution counts!
🔑 Tasks and Acceptance Criteria

[ ] You must host your content on your own channel or website.
[ ] Submit your content to our External Contributions as a PR.

You must include the following in your PR:

[ ] Thumbnail
[ ] Title
[ ] Link to content
[ ] Your name

🌟 Resources

[ ] Our Blogs
[ ] Our YouTube channel

Getting Started
This content task is part of Hacktoberfest! We welcome contributions from creators of all skill levels. Here's how you can get started:

Read the contribution guidelines
Read the code of conduct
Choose a content-specific task from the list above
Comment ".take" on the corresponding issue to get assigned the task
Fork the repository and create a new branch for your work
Make your changes and submit a pull request
Wait for review and address any feedback

Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

Hello @KiranBaliga, thank you for your comment! As I mentioned in previous comments, we are officially assigning tasks for Hacktoberfest when it officially starts, which is tomorrow October 1st! Thank you so much for waiting in the meantime 🙏

.take

Hey @KiranBaliga! Hacktoberfest is now live, so if you wanted to try assigning yourself to the issue again, please retry your comment, and you should get auto-assigned the issue. Also, I'd kindly ask that you finish one issue before you assign yourself a new issue. Thank you!

.take

Hey @KiranBaliga I saw you assigned yourself to one issue already. We kindly ask that you finish an issue before you assign yourself to another issue. We want to give room for others to participate as well. Do you have a preference in one of the issues that you would like to get started on?

@blackgirlbytes I would like to work on this one first!

@KiranBaliga The steps to complete this ticket have been updated. Instead of opening an issue, you can now add your content directly to our repo. If you have any questions after reviewing the updated instructions, feel free to reach out.
I'm happy to help!

@EbonyLouis Please review the PR and action accordingly. Thank you!

Hi @KiranBaliga - In order to accept your submission, your blog post is meant to talk strictly within the context of and about Web5, not Web3. While we update our guidance for these tasks, would you please edit your post after you've reviewed DID Key Management from a Web5 context? Thank you so much! 🙏🖤

@taniashiba I have made the changes. Please review.


Add dct_source and suppressed fields to geoblacklight solr document

Adds dct_source_sm and suppressed_b to Image Work geoblacklight documents. Closes #1320

Coverage increased (+9.0e-05%) to 99.814% when pulling 0035009fbef25d1207d920897855343825391887 on 1320-dct-source into 819616abfdf86c512ec65e0c3f03152122ac3216 on master.


Add option to align text left or right, center text on vertical image gen

Would be good to be able to separate it for theme and game library

Fixed with commit f2be5fe71168515cff155a5830504f8d7159b5f8


Add SIMBL v0.9.9

Adding a new cask

[X] Checked there aren’t open pull requests for the same cask.
[X] Checked there aren’t closed issues where that cask was already refused.
[X] When naming the cask, followed the token reference.
[X] Commit message includes cask’s name.
[X] brew cask audit --download {{cask_file}} is error-free.
[X] brew cask style --fix {{cask_file}} left no offenses.
[X] brew cask install {{cask_file}} worked successfully.
[X] brew cask uninstall {{cask_file}} worked successfully.

Thank you for the contribution. It needed some fixes, so they were made in 9672cacf95199fed41097a28e05f73722691ef59. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Add Source lineage to MlModel

Iterate on MlModel features to be able to optionally, have an EntityReference in the sources.
Then, make sure we store the proper relationship and we can find out the lineage from Pipeline -> Table -> MlModel, if the Table contains the source data for an ML Feature

Will prepare a couple of PRs. First one to prepare the backend code and another updating the Python API. Thanks


Difference in ownership between different log files at different days.

SUMMARY
Difference in ownership between different log files. AMQ creates a new log file each day. The log file in the directory  /var/log/activemq/amq-broker are owner by either amq-broker or by root. For our monitoring solution it would be best if they are not owned by root. The initial file is owned by amq-broker, but later ones are owned by root.
We are running AMQ 7.11
#<EMAIL_ADDRESS>Collection                                Version
----------------------------------------- -------
ansible.posix                             1.5.2
community.general                         6.0.1
middleware_automation.amq                 1.3.5
middleware_automation.common              1.1.0
middleware_automation.redhat_csp_download 1.2.2

/var/log/activemq/amq-broker
bash-4.4$ ls -alh
total 172K
drwxr-xr-x. 2 amq-broker amq-broker  102 Jun  5 10:20 .
drwxrwxr-x. 9 amq-broker amq-broker   85 May 22 16:48 ..
-rw-r--r--. 1 root       root        49K Jun  5 13:43 artemis.log
-rw-r--r--. 1 amq-broker amq-broker  16K May 22 16:51 artemis.log.2023-05-22
-rw-r--r--. 1 root       root       103K Jun  2 15:38 artemis.log.2023-06-02
-rw-r--r--. 1 root       root          0 Jun  5 10:20 audit.log

ISSUE TYPE
improvement

A second issue with logging, I cannot see failed login attempts in the artemis.log and the audit log is empty.

It may mean the process runs as the root user after it's restarted in systemd, not good; about the audit, have you turned it on with activemq_enable_audit?

Any idear how we can fix this?

Working on it; unfortunately it depends on the logging library change on 7.11 which went to Log4j 2 logging utility instead of the JBoss Logging framework.

Hello Robert, there were several issues related to this one; first and foremost the log4j2 template would not be deployed at all (so the audit log would not honor the variable to enable it). Plus, the service was running as the root user, because at some point in time the ACTIVEMQ_USER environment variable has disappeared from the configuration file for the systemd unit. The attached PR, which I merged, tries to put everything back in place, while trying to be backwards compatible, I'd really appreciate if you could test the current HEAD in your environment (or I can make a release on galaxy eventually)

I will check it

Unfortuately systemd does not want to start it says
 amq-broker.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /opt/amq/amq-broker/data/artemis.pid

RUNNING HANDLER [middleware_automation.amq.activemq : Restart and enable instance amq-broker for activemq service] *********************************************************************************** task path: /home/robert/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/restart.yml:2 fatal: [amq1]: FAILED! => changed=false   msg: |-     Unable to start service amq-broker: Job for amq-broker.service failed because the service did not take the steps required by its unit configuration.     See "systemctl status amq-broker.service" and "journalctl -xe" for details. fatal: [amq2]: FAILED! => changed=false   msg: |-     Unable to start service amq-broker: Job for amq-broker.service failed because the service did not take the steps required by its unit configuration.     See "systemctl status amq-broker.service" and "journalctl -xe" for details.
-------------------------------------------------------------------------------------------
`[ansible@amq1 ~]$ sudo systemctl status amq-broker.service

● amq-broker.service - amq-broker Apache ActiveMQ Service
Loaded: loaded (/etc/systemd/system/amq-broker.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: protocol) since Wed 2023-06-21 15:20:32 UTC; 44s ago
Process: 56327 ExecStop=/opt/amq/amq-broker/bin/artemis-service stop (code=exited, status=0/SUCCESS)
Process: 56295 ExecStartPost=/usr/bin/timeout 60 sh -c tail -n 15 -f /opt/amq/amq-broker/log/artemis.log | sed "/AMQ221034/ q" && /bin/sleep 10 (code=exited, status=0/SUCCESS)
Process: 56247 ExecStart=/opt/amq/amq-broker/bin/artemis-service start (code=exited, status=0/SUCCESS)
Main PID: 43056 (code=exited, status=143)
Jun 21 15:20:32 amq1.test.local systemd[1]: amq-broker.service: Failed with result 'protocol'.
Jun 21 15:20:32 amq1.test.local systemd[1]: Failed to start amq-broker Apache ActiveMQ Service.`
`[ansible@amq1 ~]$ sudo journalctl -xe
-- Unit session-c21.scope has finished starting up.
-- The start-up result is done.
Jun 21 15:22:32 amq1.test.local sudo[56402]: pam_unix(sudo:session): session opened for user amq-broker by (uid=0)
Jun 21 15:22:33 amq1.test.local artemis-service[56399]: artemis-service is now running (56402)
Jun 21 15:22:33 amq1.test.local systemd[1]: amq-broker.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /opt/amq/amq-broker/data/artemis.pid
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,183 WARN  [org.apache.activemq.artemis.core.server] AMQ222269: Please use a fixed value for "journal-pool-files". Default changed>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,200 INFO  [org.apache.activemq.artemis.core.server] AMQ221082: Initializing metrics plugin com.redhat.amq.broker.core.server.metr>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,240 INFO  [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server version 2.28.0.redhat-0>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,333 INFO  [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configur>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,334 INFO  [org.apache.activemq.artemis.core.server] AMQ221006: Waiting to obtain live lock
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,402 INFO  [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,468 INFO  [org.apache.activemq.artemis.core.server] AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,547 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support f>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,548 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol su>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,548 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,549 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol su>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,549 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protoco>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,550 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol s>
Jun 21 15:22:33 amq1.test.local timeout[56449]: 2023-06-21 15:20:23,899 INFO  [org.apache.activemq.artemis.core.server] AMQ221034: Waiting indefinitely to obtain live lock
Jun 21 15:22:43 amq1.test.local systemd[1]: amq-broker.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /opt/amq/amq-broker/data/artemis.pid
Jun 21 15:22:43 amq1.test.local systemd[1]: amq-broker.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /opt/amq/amq-broker/data/artemis.pid
Jun 21 15:22:43 amq1.test.local artemis-service[56476]: Gracefully Stopping artemis-service
Jun 21 15:22:44 amq1.test.local sudo[56402]: pam_unix(sudo:session): session closed for user amq-broker
Jun 21 15:22:44 amq1.test.local systemd[1]: session-c21.scope: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- The unit session-c21.scope has successfully entered the 'dead' state.
Jun 21 15:22:44 amq1.test.local systemd[1]: amq-broker.service: Failed with result 'protocol'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- The unit amq-broker.service has entered the 'failed' state with result 'protocol'.
Jun 21 15:22:44 amq1.test.local systemd[1]: Failed to start amq-broker Apache ActiveMQ Service.
-- Subject: Unit amq-broker.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- Unit amq-broker.service has failed.
-- The result is failed.
Jun 21 15:22:44 amq1.test.local sudo[56491]:  ansible : TTY=pts/0 ; PWD=/home/ansible ; USER=root ; COMMAND=/bin/journalctl -xe
Jun 21 15:22:44 amq1.test.local sudo[56491]: pam_unix(sudo:session): session opened for user root by ansible(uid=0)`

[ansible@amq1 system]$ cat amq-broker.service
# Ansible managed
[Unit]
Description=amq-broker Apache ActiveMQ Service
After=network.target
RequiresMountsFor=/data/amq-broker/shared/mount

[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/amq-broker
PIDFile=/opt/amq/amq-broker/data/artemis.pid
ExecStart=/opt/amq/amq-broker/bin/artemis-service start
ExecStop=/opt/amq/amq-broker/bin/artemis-service stop
SuccessExitStatus = 0 143
RestartSec = 120
Restart = on-failure
LimitNOFILE=102642
TimeoutSec=600
ExecStartPost=/usr/bin/timeout 60 sh -c 'tail -n 15 -f /opt/amq/amq-broker/log/artemis.log | sed "/AMQ221034/ q" && /bin/sleep 10'

[Install]
WantedBy=multi-user.target
[ansible@amq1 system]$ cat /opt/amq/amq-broker/data/artemis.pid
cat: /opt/amq/amq-broker/data/artemis.pid: Permission denied
[ansible@amq1 system]$ sudo cat /opt/amq/amq-broker/data/artemis.pid
cat: /opt/amq/amq-broker/data/artemis.pid: No such file or directory
[ansible@amq1 system]$ ls  /opt/amq/amq-broker/data/
ls: cannot access '/opt/amq/amq-broker/data/': Permission denied
[ansible@amq1 system]$ sudo ls  /opt/amq/amq-broker/data/
[ansible@amq1 system]$ sudo ls -alh  /opt/amq/amq-broker/data/
total 0
drwxr-xr-x. 2 root       root        6 Jun 21 15:27 .
drwxr-x---. 9 amq-broker amq-broker 85 Jun 21 15:18 ..
[ansible@amq1 system]$

I am trying to reproduce but at the moment I couldn't. Can you verify no symlink is in the path to pidfile please? /opt/amq/amq-broker/data/artemis.pid
Also, I'd need to know the owner:group of the data directory and the contents of /etc/sysconfig/amq-broker if possible

[root@amq2 data]# cat /etc/sysconfig/amq-broker
# Ansible managed
JAVA_ARGS='-Xms512M -Xmx2G -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+UseStringDeduplication -Dhawtio.disableProxy=true -Dhawtio.realm=activemq -Dhawtio.offline=true -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=file:/opt/amq/amq-broker/etc/jolokia-access.xml'
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-<IP_ADDRESS>.7-4.el8.x86_64
HAWTIO_ROLE='amq'
ARTEMIS_INSTANCE_URI='file:/opt/amq/amq-broker/'
ARTEMIS_INSTANCE_ETC_URI='file:/opt/amq/amq-broker/etc/'
ARTEMIS_HOME='/opt/amq/amq-broker-7.11.0'
ARTEMIS_INSTANCE='/opt/amq/amq-broker'
ARTEMIS_DATA_DIR='/data/amq-broker/shared/mount'
ARTEMIS_ETC_DIR='/opt/amq/amq-broker/etc'

I only see a symlink here but not in the directories itself.
/opt/amq
[root@amq2 amq]# ls -l
total 59640
drwxr-x---. 9 amq-broker amq-broker       85 Jun 21 18:53 amq-broker
lrwxrwxrwx. 1 root       root             44 Jun 21 18:51 amq-broker-7.11.0 -> /opt/amq/apache-artemis-2.28.0.redhat-00003/
-rwxr-x---. 1 amq-broker amq-broker 61070103 Jun 21 18:51 amq-broker-7.11.0-bin.zip
drwxr-xr-x. 9 amq-broker amq-broker      149 Jun 21 18:51 apache-artemis-2.28.0.redhat-00003

Owner of the data dir
[root@amq2 data]# ls -alh
total 0
drwxr-xr-x. 2 root       root        6 Jun 21 19:08 .
drwxr-x---. 9 amq-broker amq-broker 85 Jun 21 18:53 ..
[root@amq2 data]# pwd
/opt/amq/amq-broker/data
[root@amq2 data]#

I can confirm again that 1.3.5 is working fine with the same playbook. Is there a way to compare the two releases file by file?

If I removed this line from /etc/sysconfig/amq-broker, systemctl starts again
ARTEMIS_USER=amq-broker

Could it be that the earlier artemis create command from the playbook  created a process with a pid under root? Ans the second time you run the command you want to start it under the amq-broker user?

So the line: ARTEMIS_USER=amq-broker is in your /etc/sysconfig/amq-broker.conf or not?
Ideally, the pidfile would be owned by root, the systemd unit would be run by root too, while the artemis scripts does the user switching from root to amq-broker.
But at this point, I am tending towards making all run under amq-broker user

Can you try HEAD after this merged PR?

Thanks I can confirm it works now :) Also the log files are owned by amq-broker now and I see data in the audit log after setting activemq_enable_audit: true
[root@amq1 log]# pwd
/opt/amq/amq-broker/log
[root@amq1 log]# ls -alh
total 12K
drwxr-xr-x. 2 amq-broker amq-broker   42 Jun 22 14:35 .
drwxr-xr-x. 9 amq-broker amq-broker   85 Jun 22 14:35 ..
-rw-r--r--. 1 amq-broker amq-broker 8.0K Jun 22 14:38 artemis.log
-rw-r--r--. 1 amq-broker amq-broker 3.7K Jun 22 14:38 audit.log

Fair enough; CI tests are also good so I'll release. Thanks for the help!


first pass at observability.md

solves #19

I think this looks great! I kind of stumbled over this, though: "Observability is a measure of how a system's state..." Is it a measure or is it the ability measure? Also, feel like measure isn't the right word but can't think of a better one.
Full disclosure: I'm not too familiar with observability and this may just reflect my lack of knowledge.
For the last paragraph, I'd suggest the changes in bold:
The observability of a system has a significant impact on its cost. Observable systems yield meaningful, actionable data to their users, leading to more favorable outcomes and less downtime. But note, more information does not necessarily mean your system is more observable. Decision-makers should consider the tools and metrics that are feeding information for their specific decisions (or needs?).

@CathPag How about
Observability is a measurement of how well a system's state, or status, can be understood from its external outputs.
Observability is typically defined as a measurement. I'd be wary of moving away from a previously defined term.

Ok, if that's the way it's generally described, that's how we should describe it :)


add :include relation

On proposal
This can work for WAC, WAC+ and with some thought needed for ACP. The namespace for this relation is
thus to be decided later.
Details
When creating any ldp:Resource, the corresponding Access Control Resource (ACR) need only include the following triple, assuming here that the parent container's ACR is in </.acx>
<> :include </.acx> .

For a newly created ldp:Container (as used in Solid) the parent ACR would look more like this:
<> :include <../.acx> .

This brings in all the access control statements into the current ACR, where they act as if they had been placed there.
The :include relation can be transitive, or another transitive relation can be found that would include the ACR's included in the included ACR)
As a result anyone with creation rights to the created resource gets rights to the newly created resource, but this link can be broken by removing that link from the newly created ACR, and adding links to individual Rules/Policies
Behavior for verification:

A client or guard follows a Link: <doc.acl>; rel="...accessControll" header to from the document that returned 401 to the Access Control Resource (ACR)
It looks to see if any rules stated there apply to the resource, and to the user, if allowed it stops there. (this may not work if we have negative rules, in which case the whole inclusion tree may need to be walked)
If none of them do, it looks for :include graphs, and tries the same there.

Addendum
This work if rules have specified :accessToClass relations so that rules written higher up can express that they apply to all children.
<#r1> acl:agent  [ cert:key </keys#k>; ]
    acl:mode acl:read;
    acl:accessToClass [ allLdpContainsOf <.> ] . ## see below for a precise definition

An implementation of this used Regexes  as written up in the ESW WAC Wiki, but that would not work for the Tor use case.
Nevertheless, the same effect and many others can be had by building up concepts from OWL.
We can build up a simple relation for the transitive closure of the inverse of ldp:contains:
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .

ldp:isContainedIn owl:inverseOf ldp:contains ;
   rdfs:comment "related an ldp:Resource to its container" .

ldp:isPartOf a owl:TransitiveProperty;
     rdfs:comment """the transitive closure of the ldp:isContainedIn relation. Ie, it relates a resource to all
                 the containers it is in.""";
     rdfs:subPropertyOf ldp:isContainedIn .

And then we can define precisely what we gave a sketch of above as
@prefix acl: <http://www.w3.org/ns/auth/acl> .

<#r1> acl:agent  [ cert:key </keys#k> ];
    acl:mode acl:Control;
    acl:accessToClass [ a owl:Restriction;
       owl:onProperty ldp:isContainedIn;
       owl:hasValue <.> ] .

Now this states precisely that there is a Right for the agent with the given key to be the controller of all child resources.
But such a Right is only in effect if it is linked to from a Link: ... rel="acl" header from a given resource, and its inclusions.
Problems solved

It accepts ACP's view that every resource should have an ACR, solving issue 259 of solid/specification: how does one create an ACP resource
It allows a client to follow a link to an ACR by follow-your-nose principle, find all the rules that apply to the Resource, (which does not hold with acl:default see ACL Inheritance Problem
Solves the problem of scalability of ACP since changing a rule in a container closer to the root would not require changing all the ACRs in the children
it allows one to mix default type behavior with rules: current defaults only apply to resources that have no ACR (as explained in issue 191). So the current acl:default forces one either to have no ACR, or to set all the rules in that document. It makes simple enrichment of rules complicated.
It may allow one to deprecated acl:default whose behavior is clearly non-monotonic.

Acceptance criteria
What actions are needed to resolve this issue? (checklist)

[] decide whether the relation is transitive or if another transitive relation is also needed
[] add relation(s) to acp or acl ontology
[] document it this in the relevant specifications
[] implement clients and servers

It may be that a better name for this would be :import.
Indeed the idea came from owl:imports.
Could one re-use owl:imports for this?

I feel like it might be a cousin of owl:imports, i.e. that there could some generic import directive that then gets type-specific overloads. The OWL spec doesn't really talk about an import directive so much as it talks about imports and directlyImports "assocations". (It turns out that the RDF predicate owl:imports corresponds to directlyImports.)
So basically, these talk about a relationships between ontologies rather than protocol stuff like primacy and error resolution. The other challenge is that imports describes onotologies, not HTTP resources with some RDF media type, implying that whatever you're importing, it damn well better be an ontology. If you import X and X dereferences to a OWL/XML, it MUST have exactly one ontology declaration of X, e.g. <owl:Ontology rdf:about=""> or <owl:Ontology rdf:about="X">. Likewise turtle MUST have <> rdf:type owl:Ontology or <X> rdf:type owl:Ontology.
If you want to special-purpose owl:imports (or anything else) for ACLs, you'll probably want to define an ACL "document" or some similar mechanism upon which to hang the expectations of what will be accepted in an imported ACL doc.
I think Timothy Redmond managed this stuff for the Protege folks but I have no idea if he's still at Stanford.


Implement a prefix for uploading to S3

Closes #7

@mlefringhausen would this solve your issue?

@sneben care to review?

Looks good! Thanks for the fast solution.

Cool, I'll merge now and a new version should be available via PyPI shortly thereafter. Please do test it and report back an issues you might have.

works perfect!


Mock setupDevtools for RN 0.36

Summary
This adds a mock for InitializeCore.js (duplicated the module from RN and removed some stuff).
With this change and #1989  tests in RN 0.36 or master will work (for now). However I am not sure that mocking this file is the best way to go. feedback are welcome.

I am not entirely sure why the test breaks now but I think it might be because the react-native version Jest uses in tests is < 0.36 which doesn't have the InitializeCore module.

Hmm maybe this won't work for 0.36. It works for master but 0.36 doesn't seem to have the refactoring of core.

I changed the PR to only mock setupDevtools. This should work for both master and 0.36 now

Awesome, I was literally about to write the same line of code in setup.js just now.

cc @kentaromiura you'll need to add this to react-native's setup.js as well.

I actually think that's not nescceary. https://github.com/facebook/jest/pull/2002 seems to fix it without mocking devtools

Any plans on when to do a release with this fix?

You can try jest-react-native@test and jest@test. We'll make a real release next week.


Extention doesn't can open a .venv in the root project using WSL

Type: Bug

Behaviour
Expected vs. Actual
I have the .venv file in the project's root so the extention opens automatically the virtual enviroment as Python interpreter every time I open vscode.
But after the update of the vscode server in WSL this is not happening anymore. Even if I try to do it manully from the extension Python: Select Interpreter option selecting the .venv/bin/activate.
Note: I'm using pyenv and poetry to create the .venv dir. The virtual env is created  when I execute poetry install but the problem arise after the update of vscode server.
Steps to reproduce:

Start vscode
Select Python: Select Interpreter

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda):
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
Value of the python.languageServer setting: Default

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

Experiment 'pythonPromptNewToolsExtNonExistantcf' is active
LSP Notebooks experiment is enabled
LSP Notebooks interactive window support is enabled
> conda info --json
> poetry env list --full-path
cwd: .
> ~/.pyenv/versions/3.10.10/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
> ./.venv/bin/activate -I ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
[ERROR 2023-2-11 2:10:47.807]: [Error: Command failed: /home/standardio/repos/drfbackend-example/.venv/bin/activate -I /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
/bin/sh: 1: /home/standardio/repos/drfbackend-example/.venv/bin/activate: Permission denied

	at ChildProcess.exithandler (node:child_process:399:12)
	at ChildProcess.emit (node:events:526:28)
	at maybeClose (node:internal/child_process:1092:16)
	at Socket.<anonymous> (node:internal/child_process:451:11)
	at Socket.emit (node:events:526:28)
	at Pipe.<anonymous> (node:net:687:12)] {
  killed: false,
  code: 126,
  signal: null,
  cmd: '/home/standardio/repos/drfbackend-example/.venv/bin/activate -I /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py'
}
> ./.venv/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
> ~/.pyenv/versions/3.11.2/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
> /bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
> /usr/bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
> ./.venv/bin/activate -I ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
[ERROR 2023-2-11 2:10:49.824]: [Error: Command failed: /home/standardio/repos/drfbackend-example/.venv/bin/activate -I /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py
/bin/sh: 1: /home/standardio/repos/drfbackend-example/.venv/bin/activate: Permission denied

	at ChildProcess.exithandler (node:child_process:399:12)
	at ChildProcess.emit (node:events:526:28)
	at maybeClose (node:internal/child_process:1092:16)
	at Socket.<anonymous> (node:internal/child_process:451:11)
	at Socket.emit (node:events:526:28)
	at Pipe.<anonymous> (node:net:687:12)] {
  killed: false,
  code: 126,
  signal: null,
  cmd: '/home/standardio/repos/drfbackend-example/.venv/bin/activate -I /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py /home/standardio/.vscode-server/extensions/ms-python.python-2023.4.1/pythonFiles/interpreterInfo.py'
}
Starting Pylance language server.

User Settings

languageServer: "Pylance"

formatting
• provider: "black"

Extension version: 2023.4.1
VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.86GB (6.87GB free)

Process Argv
--folder-uri=vscode-remote://wsl+Ubuntu/home/standardio/repos/drfbackend-example --remote=wsl+Ubuntu --crash-reporter-id 8d335ee9-e2d1-4e37-839e-2fe4c1947e27

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)

Memory (System)
7.69GB (6.70GB free)

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewvextcfv2:30681851
azure-dev_surveyone:30548225
pyindex848:30662994
nodejswelcome1:30587005
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
vsctsb:30677850
funwalk2cf:30682975

Ok, Now it is working because I'm giving it execution permissions to the activate file (chmod u+x). I'm not sure if this is the intended behaviour.

Thanks for the bug report! We just wanted to quickly acknowledge we received it and we will triage this as soon as we can.

I am seeing something similar but not quite the same in hatch with vscode trying to use venv python:
This is happening on both old and newly created ones in /run/user/1000/doc/
> /run/user/1000/doc/af893b2b/python3.11 -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
[ERROR 2023-3-17 10:27:5.246]: [Error: Command failed: /run/user/1000/doc/af893b2b/python3.11 -I /home/myusername/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py /home/myusername/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
/bin/sh: 1: /run/user/1000/doc/af893b2b/python3.11: Permission denied

/run/user/1000/doc/af893b2b$ ./python3.11
bash: ./python3.11: Permission denied

The origin venv copy works fine
...../.hatch/test.py3.11$ ./bin/python3.11
Python 3.11.2 (main, Mar 15 2023, 12:01:50) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()

It only began for me after the vscode 1.77.3 update, it is happening with any version of python I use.

The origin venv copy works fine

Please keep using the original instead, so that appropriate permissions are available to execute it. If for reason the issue persists, please open a feature request to support Hatch as we do not have support for it right now.

This is somewhat dismissive. It's a basic venv directory with nothing custom to hatch other than there being multiple venvs you can switch between, and whatever vscode-python is doing with it in xdg-document service is broken. This worked fine for 2 years across multiple projects and now any venv I try to use breaks in this way.

@karrtikr the hatch part is fairly irrelevant as it is mostly just creating the venv and managing pyproject.toml flow. I get that it isn't supported as an audodiscover, but it should be fine otherwise.
$ .hatch/test.py3.11/bin/python3.11 -I /home/myusername/.vscode/extensions/ms-python.python-2023.7.11011538/pythonFiles/get_output_via_markers.py /home/myusername/.vscode/extensions/ms-python.python-2023.7.11011538/pythonFiles/interpreterInfo.py
>>>PYTHON-EXEC-OUTPUT
{"versionInfo": [3, 11, 2, "final", 0], "sysPrefix": "/development/myusername_mount/teamname/src/main/application/projectname/.hatch/test.py3.11", "sysVersion": "3.11.2 (main, Mar 15 2023, 12:01:50) [GCC 9.4.0]", "is64Bit": true}
<<<PYTHON-EXEC-OUTPUT

I see nothing going wrong until I try to use it as an interpreter in vscode and it interfaces with XDG documents, a new behavior from the other day.
I've found if I explicitly set the interpreter to the full absolute path vscode will accept it, but selecting a file in the menu causes the /run/user/1000 issue.

I've found if I explicitly set the interpreter to the full absolute path vscode will accept it, but selecting a file in the menu causes the /run/user/1000 issue.

Ah, now that's due to VSCode issue: https://github.com/microsoft/vscode/issues/169563. Unfortunately they're not willing to work on it, and force resolve the symlink when browsing in menu.
Your issue should also be solved with https://github.com/microsoft/vscode-python/issues/16231, after which you can auto-discover the env (using python.venvFolders setting) and select it without entering the full path.


Float textures and Chromium 56

Detection of support for float textures no longer works in Chromium 56.

This can be fixed by partly reverting d2b624ee29e13f9810ba6b74a9fd556f72ec3582. IMPLEMENTATION_COLOR_READ_TYPE seems to always be UNSIGNED_BYTE in Chromium 56+.

Fixed in 6b818843081b23282b172ee7acdb34ee6db897fc.


Add _.findLastIndex and handle NaN in *IndexOf

This fixes https://github.com/jashkenas/underscore/issues/1750 and adds a _.findLastIndex function

Any objections to this current implementation?


youtube sign up issues - keyboard takes over, can't continue

When registering to your site/app, we are quickly led to a sync youtube channel stage.
At this stage, the keyboard blocks half the screen and there is no way to validate input and go forward. Only solution is to force the app closed.
I'm on iPhone SE 2020 and I am running latest OS.

Fixed to allow scrolling when the soft keyboard is displayed.


Maybe a bug :)

$ python smtp_smuggling_scanner.py --setup-check
smtp_smuggling_scanner.py, line 275, in <module>
    run_check(args.sender_domain, args.receiver_address, args.inbound_smtp_server, args.setup_check, args.tls, args.port)
 File "SMTP-Smuggling-Tools/smtp_smuggling_scanner.py", line 239, in run_check
    receiver_domain = receiver_address.split("@")[1]
                     ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split
python version -> 3.11.2 (cython)

usage instructions clearly states
python smtp_smuggling_scanner.py --setup-check<EMAIL_ADDRESS>

As already mentioned by @RvdHout, the missing receiver e-mail address seems to be the issue! I have updated argument parsing to require this positional argument!


Adding support for text elements to be used as test Data for mapping test flow

Summary
Adding support for text elements to be used as test Data for mapping test flow.
Refactoring the mapping test flow to use the new end-point
allowing text elements to be passed as request body for resolution

Can we get screenshots or video snippets if there are UI changes please. See other MRs for examples. Thanks

also wanted to delete the runtime code in MappingTestState.ts, but it seems to be used for generating plan for a mapping test

Not completely done with the review but 2 major things. The sdlc change is good to go as its not much to review. For the engine change, I have not had a chance to look at but I think either ways based on feedback on this review you will need to make changes to the engine PR.

Let's go ahead and as Pierre would say bite the bullet :) and ensure the mapping test api handles running one, some and all mapping tests. It should take a list of testIds. If empty or null we should run all of them. The return type should be a list of MappingTestResult. We should add a bit more to the test result as mentioned in the comments.
Let's ensure the InputData model change we made is backward compatible for both engine and studio. I know its a bit annoying but we can't break existing projects :)

And for the generate plan for mapping test, go ahead and kill that button. Hoping that allows us to remove the runtime code.

@gs-gunjan @MauricioUyaguari Will close this for now as this implementation will be superseded by the new service test flow that @dave-wathen proposed.


MQTT over WebSocket: Error while authenticating. The operation has timed out.

Describe the bug
I've forked the example given in README.md and have updated the project to the latest version of MQTTnet. I also added another authentication method using certificates.  I can confirm that certificate authentication works well, but when attempting MQTT over WebSocket, I receive the following exception;

Error while authenticating. The operation has timed out.

I've also verified that the code I've forked compiles the sigv4 URL properly based on the AWS documentation and it really seems to be fine.
Which component is your bug related to?

Client

To Reproduce
Steps to reproduce the behavior:

Clone this fork
Load and run the solution Dotnet win app\awsiotmqttoverwebsocketswinapp\awsiotmqttoverwebsocketswinapp.sln.
Enter the AWS IoT Endpoint, Access Key, Secret Key, and the Region and hit the Connect button.
Either examine the log file as indicated in the App.config or put a breakpoint in AwsIotPresenter.cs:154 to see the error message.

Additional context / logging
After reading up on some of the AWS documentation, there have been a few different things that I have tried as you may see from the repo:

removing the scheme wss:// from .WithWebSocketServer(signedRequestUrl)
using var factory = new MqttFactory().UseWebSocket4Net();
adding .WithClientId("mqttnet-ID")
adding .WithTls()
adding

.WithTls(new MqttClientOptionsBuilderTlsParameters
{
    SslProtocol = System.Security.Authentication.SslProtocols.Tls12,
    UseTls = true,
};

Is the result any different when using the WebSocket4Net extension?
var mqttFactory = new MqttFactory();
mqttFactory.UseWebSocket4Net();

The ComputeSignature method seems to add a Host header and includes that in the signature by default. Can you try adding the Host header to the MQTTnet WebSocket? I.e.,
var webSocketParams = new MqttClientOptionsBuilderWebSocketParameters();
webSocketParams.RequestHeaders = new Dictionary<string, string>();
webSocketParams.RequestHeaders.Add("Host", cloudConnectionConfig.Host);

mqttClientOptions = new MqttClientOptionsBuilder()
    .WithWebSocketServer(signedRequestUrl, webSocketParams)
    . . .

Does that make any difference?

I assume this is done.


Permission issues after updating to Node 8

RxJS version: 5.4.0
Additional information: After updating my node/npm versions to latest (8.0.0 and 5.0.2) removing the node_modules folder and running npm install I have a weird issue where rxjs doesnt install into node_modules with the proper permissions. It isnt allowing read access at all to the user, therefore it breaks my app with a bunch of 403 errors on rxjs dependencies. I'm unable to determine if this is an issue with rxjs or with npm. My hunch is its originating from rxjs, as all my other packages install correctly with proper permissions.
I tried completely removing and uninstalling node and reinstalling, clearing the cache, etc but with no success. I just had my coworker upgrade his node/npm version and he began having the exact same issue.

Would you able to confirm if this is https://github.com/npm/npm/issues/16766 ?

No, thanks for linking - similar issue but on mine the owner/group is indeed correct - its the permissions that are incorrect, and only on files inside node_modules/rxjs folder. My coworker upgraded his npm version and did an npm install and is having the same problem as me now. In the meantime I just ran chmod -R 755 /node_modules/rxjs/*

🤔 weird. Somewhat looks similar to https://github.com/ReactiveX/rxjs/issues/2522 but doesn't explain npm 5 specific...

Yeah, we spent several hours on it today but are totally stumped. I did see that issue but we arent getting any EACCES errors, or any errors at all from npm. it appears to install perfectly fine. The only error is when loading the site in the browser (403 errors on all rxjs stuff)

I'd suggest to file on npm issue as well meanwhile. It could reveal more detail to triage this issues.

Willdo, thanks. Ill update and link here if I find a resolution.

Seems this issue has been dealt with npm side, closing for now.


Only show app logs

The logs currently show logs from the OpenAI and standard library. Restrict it to only this app's logs.

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Video embeds sometimes not working in Telegram

Videos/GIFs are sometimes embedded as files:

You can test for yourself with these tweets:

https://fixupx.com/TheSillySnail/status/1847399773285786026
https://fxtwitter.com/ihybratz/status/1847276121416499276

I made a tweak that should work around this issue. Let me know if it's working now!

Here's another tweet where it happens, worth noting too that using Webpage Bot doesn't fix the situation. https://fxtwitter.com/fatherstink/status/1847411896376283248

@adueppen Weird, the one you sent me literally works o.O

It's working fine now, thank you very much!


Add modifyXcodeproj param to opt out of .xcodeproj codegen

Modifying the .xcodeproj with codegen is a powerful feature -- but we would like to disable this for the font and color extension files.

Why don't you want figma-export to edit .xcodeproj file?? Do you use XcodeGen?

Why don't you want figma-export to edit .xcodeproj file?? Do you use XcodeGen?

We don't use XcodeGen. I'll take a look into the framework and let you know if I still want the option to opt out of the project codegen


SET, DROP followed by any other statement fails with JS error

Describe the bug
A clear and concise description of what the bug is.
Using the SET or DROP sql statement on its own works. However, if it is part of a series of statements, it fails with the error Cannot destructure property 'name' of 'undefined' as it is undefined.
To Reproduce
Steps to reproduce the behavior:
Connect to a database, and type something like:
USE innodb;
SET FOREIGN_KEY_CHECKS = 0;

Select both lines and run the query.
Expected behavior
A clear and concise description of what you expected to happen.
Expected the query to be run with 0 returned rows.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

SQLTools Version 0.20.9
VSCode Version: 1.47.0
OS: Windows_NT x64 10.0.19041
Driver:

[ ] PostgreSQL/Redshift
[x] MySQL/MariaDB
[ ] MSSQL/Azure
[ ] SQLite
[ ] Other? Which...

Database version: MySQL v5.7

I would be using 0.20.10 but I'm having the blank screen issue #648
Additional context
Add any other context about the problem here.
The set line by itself (SET FOREIGN_KEY_CHECKS = 0;) runs without error. Any query with multiple statements fails if any of them are SET, regardless of where SET appears (top, middle, or bottom of list).
The set syntax must be valid for the issue to present. SET foobar_baz = 0; fails with ER_UNKNOWN_SYSTEM_VARIABLE, as expected. This makes me think the JS error is happening while parsing the response, rather than sending the request.
I've only tested DROP TABLE IF EXISTS <table name> for the DROP error. I don't want to experiment with dropping tables. The drop line by itself runs without error, just like SET.

i am having the same problem, did you manage to fix it ?

Not sure if related but I am trying to run this simple query:

But get an error:
Cannot destructure property name of 'undefined' or 'null'.

Hello.
Probably related: When running single statements, it works:
DROP DATABASE IF EXISTS myproject;

CREATE DATABASE myproject;

but not when run together:
DROP DATABASE IF EXISTS myproject;
CREATE DATABASE myproject;

Fun fact: if I comment one line, it sill doesn't work which I find very weird...
Not working:
DROP DATABASE IF EXISTS myproject;
-- CREATE DATABASE myproject;

-- DROP DATABASE IF EXISTS myproject;
CREATE DATABASE myproject;

Thanks.

Will be fixed once #950 merges.


Removed required property from UNI tag

Closes #219
Summary
Removed required property from #/components/schemas/Tag
Allow string values in uni.tag.value, (only "any" and "untagged" for now)
Local Tests
New allowed requests:
curl -H 'Content-type: application/json' -X POST http://<IP_ADDRESS>:8181/api/kytos/mef_eline/v2/evc -d '{"name": "my evc1", "dynamic_backup_path": true, "enabled": true, "uni_z": {"tag": {"value": "any", "tag_type": 1}, "interface_id": "00:00:00:00:00:00:00:02:1"}, "uni_a": {"tag": {"value": "any", "tag_type": 1}, "interface_id": "00:00:00:00:00:00:00:01:1"}}'

curl -H 'Content-type: application/json' -X POST http://<IP_ADDRESS>:8181/api/kytos/mef_eline/v2/evc -d '{"name": "another", "dynamic_backup_path": true, "enabled": true, "uni_z": {"tag": {"value": "untagged", "tag_type": 1}, "interface_id": "00:00:00:00:00:00:00:02:2"}, "uni_a": {"tag": {"value": "untagged", "tag_type": 1}, "interface_id": "00:00:00:00:00:00:00:03:1"}}'

curl -H 'Content-type: application/json' -X POST http://<IP_ADDRESS>:8181/api/kytos/mef_eline/v2/evc -d '{"name": "other", "dynamic_backup_path": true, "enabled": true, "uni_z":{"interface_id": "00:00:00:00:00:00:00:02:2"}, "uni_a":{"interface_id": "00:00:00:00:00:00:00:03:1"}}'

REMINDER: Tests missing.

As discussed:
For tag.value to be 0 and -1 are not the best option. They are replaced with any and untagged respectively.
On commit d6772b39f12f35aa3493b498da74494b6aaa9801:

mef_eline is change so it supports strings in uni.tag.value. For now, the string values can only be any and untagged. This restriction is validated on TAGDoc.
For any the action {"action_type": "set_vlan", "vlan_id": "any"} is not being added to flow_mods. nni and direct_uni missing changes (testing).

@Alopalao, thanks for anticipating some PRs, as we've just briefly talked on the planning meeting today, let's also make sure that the approach we end up is aligned with MEF vlan range, here's some initial points to include in the discussion:

In the short-term, dl_vlan with a mask will need to be supported on https://github.com/kytos-ng/mef_eline/issues/18, currently of_core is structured to handle either an int or a string containing an integer and its mask "int/int". 0's in the mask means don't care, so "an int/0" means any vlan. flow_manager exposes a relatively low-level OpenFlow API, so we should model in a way that facilitates for building the messages. On higher level APIs, such as mef_eline's since it's also driving the range of VLANs, we could use higher level values there such as "untagged" or "any" but it'll need to translate to what flow_manager expects, and it also needs to be able to express a range in the vlan range feature, let's assess the trade offs and try to keep as simple and compatible as we can.

Regarding "untagged", I've noticed that OvS - the default switches platform that we use on mininet uses vlan 0, vlan_tci=0 Match only packets without an 802.1Q header, (vlan_tci is 16 bits in total 12 bits for vlan and 4 for priority + one extra bit). This also resembles the concept of a native vlan that network operators are familiar with as well. Maybe this is something that we could consider and see if it can simplify on our end.

sdntrace_cp relies on stored flows, so whatever is stored on dl_vlan is important to sdntrace_cp. @gretelliz will also need to adapt sdntrace_cp. Maybe we could always have a mask all 1s (0xfff) if it's not set? So this would also be aligned with vlan range? Something like str "int/mask". We don't expect to have direct queries on the flows.flow.match.dl_type document attribute. So not storing the result int might not be an issue, and having it as str "int/mask"? would also facilitate for sdntrace_cp? Something to think about.

Get more insights about this functionality exploring on OpenFlow switches first. I'd also recommend to explore on OvS (and later on NoviFlow) to install dl_vlan flows that means untagged or any there and see how they ended up shown in the control-plane (dump-flows on OvS for instance) and generate some traffic. Having this data and information at least on OvS initially would be very helpful for us to ensure that our implementation end up installing equivalent flows.

Double check and document which modes are supported to be installed in the same UNI, probably check with @italovalcy the valid combinations that we'd need to support in prod, for instance, should it be allowed to have an EPL and untagged in the same interface? Also check the default priorities flows implications we want to set.

cc'ing also @ajoaoff since he'll work on mef eline vlan range

Commit eac6bf0fdb30997a9d82e06a3cecabd2ba3b4699:
Added more possible strings to value from TagDoc, now it allows strings like a/b where:

a and b are numbers, each have a maximum value of 4097

Commit 6f82d45628cd580878c039930d836fbdbc1fd357
Closes #282
The result of the EVC combinations can be seen in this [google sheet].(https://docs.google.com/spreadsheets/d/1QNZJrB163oqgsaZAtEebsywmRlMlzQzhRNBNtC68iWE/edit#gid=0)

@Alopalao the diffs of this PR is showing changes that have already been merged, I'll suggest you to try to git rebase master. Aldo, I'll wait for the UNI flow priority discussion of this comment to be confirmed/sorted out https://github.com/kytos-ng/mef_eline/issues/219#issuecomment-1452234821. Appreciated you managing to advance the code parts that were already clear.

Aldo, the chagelog aldo needs to be updated if you could updated it.
I've just reviewed your e2e tests too, nicely done.
Once these minor suggestions here are addressed I'll approve this PR, and once @italovalcy  approves the e2e too since he was also interested in ensuring some flows being asserted then we'll merge this PR here OK?


javascript help has no search feature

I cannot search for things in the javascript help as I cannot find a search box or button

We do have search in our documentation now.