Jira-azuredevops-migrator 3.0.335 random attachment issue

Error in the log file
[System.IO.DirectoryNotFoundException] System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Temp\Attachments\27586\CoreWirelessRules_20July2020.xlsx'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at WorkItemImport.WitClientWrapper.CreateAttachment(WiAttachment attachment)
at WorkItemImport.WitClientUtils.AddSingleAttachmentToWorkItemAndSave(WiAttachment att, WorkItem wi, Settings settings, Nullable1 changedDate, String changedBy)    at WorkItemImport.WitClientUtils.SaveWorkItemAttachments(WiRevision rev, WorkItem wi, Settings settings)    at WorkItemImport.Agent.ImportRevision(WiRevision rev, WorkItem wi, Settings settings):     at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)    at WorkItemImport.WitClientWrapper.CreateAttachment(WiAttachment attachment)    at WorkItemImport.WitClientUtils.AddSingleAttachmentToWorkItemAndSave(WiAttachment att, WorkItem wi, Settings settings, Nullable1 changedDate, String changedBy)
at WorkItemImport.WitClientUtils.SaveWorkItemAttachments(WiRevision rev, WorkItem wi, Settings settings)
at WorkItemImport.Agent.ImportRevision(WiRevision rev, WorkItem wi, Settings settings)
Tool version
jira-azuredevops-migrator-3.0.335
Attachments
Please attach the following files:
wi-import-log-240116-144857.txt

It looks like I have 34 of these attachment issues - I verified that the path exists and the file exists, but cannot determine why the attachment would not import.  Please help, thanks!

Maybe something to do with Windows folder permissions? Did you check that?

@Alexander-Hjelm yes I have checked the folder permissions - there's hundreds of attachments - and only these 34 did not migrate and had the error - any other thoughts / ideas what may be going on?


[WW-5064] Move XWork Spring support into struts2-spring-plugin

Jira Issue: WW-5064
Moved over the spring related classes that were still in core to the spring plugin.
Side-effect:

had to move over the SecurityMemberAccessProxyTest too, since the ProxyUtil relies heavily on the spring related proxies.

Currently bluntly kept the original packages. If you want it moved from xwork packages to struts2 packages, just let me know and i'll change them.

Currently bluntly kept the original packages

That's fine, user won't be confused (too much ;-) )


Get OpenSMTPD working

the focus has only been on getting NSD working, so also start making smtpd work.

Basic setup for opensmtpd is working


take screenshot of whole desktop screen

this package is taking screenshot of the selected area. How to take whole desktop screen with a click of a button.

Macos and linux platforms already support full screen screenshots, please update to v0.1.1

Thank you. I will wait till windows support is also there. Windows is kind of high priority for me.


Resize/convert to JPG strips color profile?

The conversion seems to strip the color profile in some cases. The original has the Adobe RGB (1998) color profile, but the resized version is missing it, and is noticeably desaturated.
Original:
https://syngency-public.s3.amazonaws.com/4/models/45357/galleries/AlexB_resized.jpg
Resized:
https://syngency-public.s3.amazonaws.com/4/models/45357/galleries/large/AlexB_resized.jpg
Is there a setting I should change in config to prevent this from happening?

Hi, I can tell you that we found out that color changes (and metadata being omitted) happen when auto orientation is called (ImageResizer.js:36). When we switched that off, we noticed that colors are preserved.

Interesting - thanks, we will try it.


the library should link against pthread

Right now when using openh264 one gets
//usr/local/lib/libopenh264.so: undefined reference to sem_init' //usr/local/lib/libopenh264.so: undefined reference to sem_destroy'
//usr/local/lib/libopenh264.so: undefined reference to sem_timedwait' //usr/local/lib/libopenh264.so: undefined reference to pthread_create'
//usr/local/lib/libopenh264.so: undefined reference to sem_post' //usr/local/lib/libopenh264.so: undefined reference to sem_trywait'
//usr/local/lib/libopenh264.so: undefined reference to sem_wait' //usr/local/lib/libopenh264.so: undefined reference to pthread_join'
if not happen to already link -lpthread.

I think this issue can be closed now. @ensonic - can you recheck?

Looks good now. Thanks!


add pseudoPercent to backend + adjust price-columns

1. Why is this change necessary?
The management of "Prozentrabatt" isn't clear for users:

who didn't read the documentarion attentively
the position between price and pseudoPrice is confusing as it will indicate to be the discount for pseudoPrice=>price

2. What does this change do, exactly?

move percent before price
make percent empty, if it's 0. so first field will be empty for better reading and unsterstanding, too.
add new column pseudoPercent. this field won't be stored into database, just live calculated. There is no need to store it.

3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
https://docs.shopware.com/de/shopware-5-de/produkte-und-kategorien/produkte-anlegen#preise
I would adjust, if desired :-)
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-23680
Please use this issue to track the state of your pull request.

Thanks for your Contribution! :blue_heart:


Assessment of code and refactoring

Describe the task
Complete an assessment of existing code to determine refactoring needs.
Acceptance Criteria

[ ] first
[ ] second
[ ] third

Additional context

Add any other context about the task here.
Or here

One of the things that the organization does is a code review - where another DDS team spends time looking at our code with fresh eyes, and providing recommendations. It might be interesting to see if we could schedule something like that - granted there is a team available and willing?

@LindsayMacfarlane getting the template used for the internal review of the water team's codebase

Uploaded link to water team technical review. Let me know if you can't access it and I will download and put directly in our scrum channel.

@pbastia - pulling this out of next sprint column as we were denied support. This will also give the team an opportunity to update any documentation. If you have suggestions for others who might be able to help us out, please let me know. I could reach out to Jess W with BC Parks to see if she has capacity on her team.

@pbastia - given you are meeting with TC today, perhaps we should pull this one in and refine.


how to change Bfloat16 to float16 (I can only use a GPU with compute capacity >= 8.0 to run this repo?)

when I run the pipeline
python run_exp.py --method_name 'naive' \
                  --split 'test' \
                  --dataset_name 'nq' \
                  --gpu_id '0,1,2,3'

I get this error: in the last line, I need to append --dtype=half in CLI. I think somewhere the code is using Bfloat 16, not the float16 type.
INFO 07-28 00:30:38 config.py:715] Defaulting to use mp for distributed inference
INFO 07-28 00:30:38 llm_engine.py:176] Initializing an LLM engine (v0.5.3.post1) with config: model='/home/smalldog/Meta-Llama-3-8B-Instruct', speculative_config=None, tokenizer='/home/smalldog/Meta-Llama-3-8B-Instruct', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=8192, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=4, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None), seed=0, served_model_name=/home/smalldog/Meta-Llama-3-8B-Instruct, use_v2_block_manager=False, enable_prefix_caching=False)
INFO 07-28 00:30:38 custom_cache_manager.py:17] Setting Triton cache manager to: vllm.triton_utils.custom_cache_manager:CustomCacheManager
INFO 07-28 00:30:38 selector.py:151] Cannot use FlashAttention-2 backend for Volta and Turing GPUs.
INFO 07-28 00:30:38 selector.py:54] Using XFormers backend.
(VllmWorkerProcess pid=242034) INFO 07-28 00:30:38 selector.py:151] Cannot use FlashAttention-2 backend for Volta and Turing GPUs.
(VllmWorkerProcess pid=242034) INFO 07-28 00:30:38 selector.py:54] Using XFormers backend.
(VllmWorkerProcess pid=242036) INFO 07-28 00:30:38 selector.py:151] Cannot use FlashAttention-2 backend for Volta and Turing GPUs.
(VllmWorkerProcess pid=242036) INFO 07-28 00:30:38 selector.py:54] Using XFormers backend.
(VllmWorkerProcess pid=242035) INFO 07-28 00:30:38 selector.py:151] Cannot use FlashAttention-2 backend for Volta and Turing GPUs.
(VllmWorkerProcess pid=242035) INFO 07-28 00:30:38 selector.py:54] Using XFormers backend.
(VllmWorkerProcess pid=242035) Process VllmWorkerProcess:
ValueError: Bfloat16 is only supported on GPUs with compute capability of at least 8.0. Your Tesla T4 GPU has compute capability 7.5. You can use float16 instead by explicitly setting the`dtype` flag in CLI, for example: --dtype=half.

I am using 4 T4 GPU.
I am not sure where to add --dtype=half into the command or modify source file to fix this issue. Could you please help me? Thank you in advance!

In the implementation of VLLM generator, the default setting for dtype is' auto '. The following is an explanation about this parameter in VLLM:
The data type for the model weights and activations. Currently, we support `float32`, `float16`, and `bfloat16`. If `auto`, we use
the `torch_dtype` attribute specified in the model config file. However, if the `torch_dtype` in the config is `float32`, we will use `float16` instead.

FlashRAG currently does not support modifying the dtype of model loading in config files. You can achieve this by modifying the reading of vllm models in our source code:

In line 164-167 of flashrag/generator/generator.py, add dtype='float16'.

Hello,
Thanks for your answer above! It solves the Bfloat16 problem.
However, I encountered another issue:
(VllmWorkerProcess pid=4500) RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method

I am not quite sure how this error occurs. I tried to modify the code inside run_exp.py and use mp.set_start_method('spawn', force=True) before a main call, but this doesn't work.
Can you help me with this? Thank you!
ps: a quick question, what GPU do you recommend to run the repo? Is one A100 40G enough or I need one A100 80G.

It seems to be a VLLM related issue, you can try the following two solutions:

Check vllm related processes currently running in the system and kill them (sometimes vllm is not closed correctly). And restart the run_exp.py
Try setting export VLLM_WORKER_MULTIPROC_METHOD=spawn (from vllm issue: https://github.com/vllm-project/vllm/issues/6152)

For 7B/13B model, A100 40G is enough.

Hi,
Thanks again for your quick reply. I tried your second suggestion above, and it works.
I am not 100% sure, but I think we need to run export VLLM_WORKER_MULTIPROC_METHOD=spawn whenever the number of GPU is greater than 1.

Thank you for your attempt. We didn't encounter such problems when testing vllm before. I will take a closer look and add it to the code if necessary.


try new gradle nexus publishing plugin

try https://github.com/gradle-nexus/publish-plugin to avoid the manual close/release publishing step

works


Crash on flood fill

Traceback (most recent call last):
  File "leaf-image-segmentation/segment.py", line 162, in <module>
    segment_leaf(os.path.join(base_folder, file), filling_mode, smooth, args.marker_intensity)
  File "leaf-image-segmentation/segment.py", line 66, in segment_leaf
    select_largest_obj(bin_image, fill_mode=filling_mode,
  File "leaf-image-segmentation/background_marker.py", line 229, in select_largest_obj
    cv2.floodFill(img_floodfill, mask_, seedPoint=bkg_seed,
cv2.error: OpenCV(4.5.1) /tmp/pip-req-build-ms668fyv/opencv/modules/imgproc/src/floodfill.cpp:509: error: (-211:One of the arguments' values is out of range) Seed point is outside of image in function 'floodFill'

Image:

Adding:
def clamp(n, smallest, largest):
    return max(smallest, min(n, largest))

bkg_seed = (clamp(bkg_seed[0], 0, img_bin.shape[1] - 1), clamp(bkg_seed[1], 0, img_bin.shape[0] - 1))

to line 220 of background_marker.py fixes it.

Adding:
def clamp(n, smallest, largest):
    return max(smallest, min(n, largest))

bkg_seed = (clamp(bkg_seed[0], 0, img_bin.shape[1] - 1), clamp(bkg_seed[1], 0, img_bin.shape[0] - 1))

to line 220 of background_marker.py fixes it.


fatal error: aabb.h

Hello, when compile "tangram-es/core/src/labels/label.cpp", has error 'not found aabb.h' where can i find it

Those files are in a submodule of this repository, which you'll have to check out using git:
git submodule update --init --recursive

This is described in the readme as well: https://github.com/tangrams/tangram-es#build

thanks, i had used "git submodule update --init --recursive", but some submodule does not download, so i download it manual，thank you for your reply


fix(ui): Enable row selection on FirestoreDataTable

Description
When using FirestoreDataTable row selection is available only if canDeleteItems = true, but that's not always desired. For example, if you want to execute another actions when clicking a given data row (e.g. navigate to another view).
This PR enables selection when canDeleteItems is true or if onSelectedRows is given.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[X] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[X] The analyzer (melos run analyze) does not report any problems on my PR.
[X] I read and followed the Flutter Style Guide.
[X] I signed the CLA.
[X] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[X] No, this is not a breaking change.

@lesnitsky Can we have an update on this? I need this functionality, and was surprised to find you cannot select items unless you allow deletion

Is this something worthwhile, @lesnitsky?

This should go to the packages/firebase_ui_firestore/lib/src/table_builder.dart

did a rebase with master and changed files in correct places

@grlduarte - could you run melos run format in the repo, please?

@grlduarte - could you run melos run format in the repo, please? Also, merge with master branch. Thanks.

updated my branch to master branch, but melos run format didn't do anything to the files I changed

Any update on this feature?

@grlduarte - Could you merge with latest master, please? We can get this in once it's done 👍

@grlduarte - Could you merge with latest master, please? We can get this in once it's done +1

done :smiley:

@grlduarte I know this is getting ridiculous, but could you please open the same PR in firebase/FirebaseUI-Flutter 😅?


which protocol will be used during image replication if i set verify_remote_cert = off and ui_url_protocol = https

hi
i read the src code, and i think if i  set set verify_remote_cert = off, the images replication will use http to transfer images. But jt@vmware said, even if verify_remote_cert  is set to off,  https will be used.
But i don't think so ,  the following code shows:
statemachine.go
verify, err := config.VerifyRemoteCert() # get the verify_remote_cert config
if err != nil {
return err
}
sm.Parms = &RepJobParm{
LocalRegURL: regURL,
Repository:  job.Repository,
Tags:        job.TagList,
Enabled:     policy.Enabled,
Operation:   job.Operation,
Insecure:    !verify,  # set insecure param, that is ture if verify_remote_cert = off
}
authorizr.go
// NewAuthorizerStore ...
func NewAuthorizerStore(endpoint string, insecure bool, authorizers ...Authorizer) (*AuthorizerStore, error) {
endpoint = utils.FormatEndpoint(endpoint)
client := &http.Client{
	Transport: registry.GetHTTPTransport(insecure),
	Timeout:   30 * time.Second,
}

// GetHTTPTransport returns HttpTransport based on insecure configuration
func GetHTTPTransport(insecure bool) *http.Transport {
if insecure {     # if use insecureHttpTransport
return insecureHTTPTransport
}
return secureHTTPTransport
}

Did you test?  Try blocking 80 port and see if it works :)


Relogin to set some env var

e.g. $USER is not set without that. $USER is used by the build system for OTA generation

This is more of a bug with the OTA generation then this docker file.  I'd recommend setting USER via a script.  Consider using one of the test scripts which with an addition:
export USER=$(whoami)

Quick test to confirm it works:
$ docker run --rm -it kylemanna/aosp sh -c whoami
aosp

Running sudo in a dockerfile several lines after explicitly restricting the user doesn't make sense.
Setting an ENV USER aosp in the Dockerfile might be worthwhile if the OTA generation scripts are that broken and a script isn't necessary.  My experience with OTA generation is that you're going to need to do a handful of other tasks anyways, so might as well set the USER env variable.

I would say that it is a issue with docker.
As you are already logged on the host computer, the container does not go
through the login process and does not read the /etc/profile, .bash_login
...
Force a login with sudo fix that and that's what I want to fix with this
patch.
$USER may be just a small part of the iceberg :)
But, as I did not include in this PR one commit adding the user to the sudo
group, it may just not work ...
Are you interested in this fix? or did you prefer the other way.
A part from that, OTA generation work.
2015-06-29 20:23 GMT+02:00 Kyle Manna<EMAIL_ADDRESS>
This is more of a bug with the OTA generation then this docker file. I'd
recommend setting USER via a script. Consider using one of the test
scripts
https://github.com/kylemanna/docker-aosp/blob/17bc9d864f1ba1eeec8745aa0399d48573cd955b/tests/build-kitkat.sh#L11
which with an addition:
export USER=$(whoami)
Quick test to confirm it works:
$ docker run --rm -it kylemanna/aosp sh -c whoami
aosp
Running sudo in a dockerfile several lines after explicitly restricting
the user doesn't make sense.
Setting an ENV USER aosp in the Dockerfile might be worthwhile if the OTA
generation scripts are that broken and a script isn't necessary. My
experience with OTA generation is that you're going to need to do a handful
of other tasks anyways, so might as well set the USER env variable.
—
Reply to this email directly or view it on GitHub
https://github.com/kylemanna/docker-aosp/pull/8#issuecomment-116784095.

This pull request doesn't make sense.  Docker's job isn't to create an interactive login shell -- It's to run applications and microservices in containers.  If the application in question makes naive assumptions about it's environment, then it needs to fixed or be wrapped with a wrapper script.
Compromising the build principal of running as an unprivileged user isn't an acceptable path forward.


Click on push notification should navigate to the desired screen

I have made an application using the react native and onesignal (thanks for the effort that put in to build this wonderful library).
I am able to receive the notifications from onesignal, but if app is not running and push notification is received then clicking on the push notification doesn't navigate to the desired screen. Please suggest me a solution for this problem. How this can be solved?
I am using the route-flux  for routing in my app.
This is not an issue when app is running and notification is received.

Just a heads up that I've posted a pretty lengthy comment at https://github.com/geektimecoil/react-native-onesignal/issues/332#issuecomment-341326624 discussing this problem.

Closed as duplicate of #332. Please feel free to respond if you are still encountering this issue @mukeshkamboj


fix: notify message use brand insteand of hypervisor

这个 PR 实现什么功能/修复什么问题:
修正：notify里的主机类型应该用brand
是否需要 backport 到之前的 release 分支:

release/2.10.0
release/2.11.0

/area region

Codecov Report

Merging #1686 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1686      +/-   ##
=========================================
+ Coverage    7.64%   7.65%   +0.01%
=========================================
  Files         412     412
  Lines       63096   63109      +13
=========================================
+ Hits         4821    4834      +13
- Misses      57865   57867       +2
+ Partials      410     408       -2

Flag
Coverage Δ

#aFlag
7.65% <0%> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/managedresource.go
0% <0%> (ø)
:arrow_up:

pkg/compute/models/guest_actions.go
0% <0%> (ø)
:arrow_up:

pkg/compute/guestdrivers/utils.go
0% <0%> (ø)
:arrow_up:

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

pkg/util/rbacutils/rbac.go
74.76% <0%> (+3.42%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm
/approve


Update crud_user.py

fixed a bug when updating the user without updating the password

Hello!
Could we merge it as it doesn't dramatically change the code and is helpful to edit a user without editing password in the same time?
Thanks!

Could we merge it as it doesn't dramatically change the code and is helpful to edit a user without editing password in the same time?
Thanks!

@thomas-chauvet
Maybe this hasn't been merged because of it conflicting with #348

Thanks! This was handled in another PR, so I'll close this one. But thanks for the effort! :coffee:


Export error in Firefox: CSS2Properties doesn't have an indexed property setter for '346'

Describe the bug
When trying to export the diagram using toSVG or toJPEG, the operation failed and threw error:
CSS2Properties doesn't have an indexed property setter for '346'

After some digging into the code, the cause is from https://github.com/antvis/X6/blob/master/packages/x6/src/graph/format.ts#L85:
      const defaultComputedStyles: KeyValue<KeyValue<string>> = {}
      raws.forEach((elem, index) => {
        const computedStyle = window.getComputedStyle(elem, null)
        // We're making a deep copy of the `computedStyle` so that it's not affected
        // by that next step when all the stylesheets are re-enabled again.
        const defaultComputedStyle: KeyValue<string> = {}
        Object.keys(computedStyle).forEach((property) => {
          defaultComputedStyle[property] =
            computedStyle.getPropertyValue(property)
        })

        defaultComputedStyles[index] = defaultComputedStyle
      })

In Firefox, the Object.keys(computedStyle) will only return the numeric keys:

While in Chrome, it will return both the numeric keys and the style sheet keys:

This difference causes the incorrect customStyles value used for later element clone.
In Firefox:

In Chrome:

Your Example Website or App
Can't get a simplied version outside of my project yet, but from the debugging info, we can see a potential issue with the current approach
Steps to Reproduce the Bug or Issue
In firefox, create a diagram and use toSVG()
Expected behavior
should export diagram on Firefox
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Firefox
Version: 97.01

Additional context
We see if I can create a simplified version that I can reproduce the issue. Try some simply demo and the reason they works seems like most of the time the calculated customStyles is empty so wont break on Firefox... In my case the customStyle ends up like in the screenshot which causes the issue.

/cib


Beautify app modal

1. Why is this change necessary?
This change enhances the design of the app modal. Firstly, it allows the title to be wider than 30px if there is no app icon. Secondly, the pr removes the border around the modal window in order to enhance the overall appearance.
Before:

After:

2. What does this change do, exactly?

It allows the title to be wider than 30px if there is no icon. (An in case of an icon, the icon is still only 30px wide.)
If removes the border around the iframe.

3. Describe each step to reproduce the issue or behaviour.

Create an app with an action button that opens a modal.
Open the modal.

4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Thanks for your contribution! :blue_heart:
We've just set your PR to "Scheduled".
This means our initial screening is passed.
Your PR will now be reviewed and tested before being put through our internal extended test suite and review process.
We will keep you informed whether something has to be done by you or when the PR is merged 🙂
If you have any questions, feel free to ask.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-16504
Please use this issue to track the state of your pull request.

Should be fixed now with https://github.com/shopware/platform/commit/fd441dbb0a2b8692f985730980ea6eedf75ffe14
Can you verify that, so we can close the PR?

Hey,
I am closing this as inactive for a while. If the referenced commit didn't fixed it, please create a new PR


Problem setting matrixtype in pyculib.sparse.Sparse.matdescr

I have a problem with the matrix descriptor class, when giving parameters different from default ones :
>>> import pyculib
>>> handle = pyculib.sparse.Sparse()
>>> handle
<pyculib.sparse.api.Sparse object at 0x7f2bc75dbe48>
>>> descr = handle.matdescr()
>>> descr.matrixtype
'G'
>>> descrS = handle.matdescr(matrixtype='S')
>>> descrS.matrixtype
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "~/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/sparse/binding.py", line 201, in matrixtype
    return MATRIXTYPECHAR[self._api.cusparseGetMatType(self._handle)]
  File "~/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/utils/libutils.py", line 48, in wrapped
    self.check_error(status)
  File "~/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/utils/libutils.py", line 54, in check_error
    raise self.ErrorType(status)
pyculib.sparse.binding.CuSparseError: CUSPARSE_STATUS_NOT_INITIALIZED

>>> descrT = handle.matdescr(matrixtype='T')
>>> descrT.matrixtype
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/home/matthieu/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/sparse/binding.py", line 201, in matrixtype
    return MATRIXTYPECHAR[self._api.cusparseGetMatType(self._handle)]
  File "/home/matthieu/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/utils/libutils.py", line 48, in wrapped
    self.check_error(status)
  File "/home/matthieu/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/utils/libutils.py", line 54, in check_error
    raise self.ErrorType(status)
pyculib.sparse.binding.CuSparseError: CUSPARSE_STATUS_INVALID_VALUE

>>> descrH = handle.matdescr(matrixtype='H')
>>> descrH.matrixtype
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/home/matthieu/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/sparse/binding.py", line 201, in matrixtype
    return MATRIXTYPECHAR[self._api.cusparseGetMatType(self._handle)]
  File "/home/matthieu/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/utils/libutils.py", line 48, in wrapped
    self.check_error(status)
  File "/home/matthieu/anaconda3/envs/OTML/lib/python3.6/site-packages/pyculib/utils/libutils.py", line 54, in check_error
    raise self.ErrorType(status)
pyculib.sparse.binding.CuSparseError: CUSPARSE_STATUS_ALLOC_FAILED

Any ideas of what could be happening ? I tried to debug it, but the function that returns the error is self._api.cusparseGetMatType and I can't access inside.
Other than that, I am also confused by the matrix descriptor documentation in CUDA. The text says:

This type indicates the type of matrix stored in sparse storage. Notice that for symmetric, Hermitian and triangular matrices only their lower or upper part is assumed to be stored.
The whole idea of matrix type and fill mode is to keep minimum storage for symmetric/Hermitian matrix, and also to take advantage of symmetric property on SpMV (Sparse Matrix Vector multiplication). To compute y=A*x when A is symmetric and only lower triangular part is stored, two steps are needed. First step is to compute y=(L+D)*x and second step is to compute y=L^T*x + y. Given the fact that the transpose operation y=L^T*x is 10x slower than non-transpose version y=L*x, the symmetric property does not show up any performance gain. It is better for the user to extend the symmetric matrix to a general matrix and apply y=A*x with matrix type CUSPARSE_MATRIX_TYPE_GENERAL.

Does that mean I should just use the General matrix type even if my matrix is symmetric ? But then why say that The whole idea of matrix type and fill mode is to keep minimum storage for symmetric/Hermitian matrix, **and also to take advantage of symmetric property on SpMV** ?
I know that this might be more a CUDA question than a pyculib, but maybe someone has the answer...
My config:
CUDA 8.0
Ubuntu 16.04
pyculib 1.0.2+2.g7ae9662
$ conda info
     active environment : None
                 ...
          conda version : 4.5.12
    conda-build version : 3.0.27
         python version : 3.6.8.final.0
                    ...
               platform : linux-64
             user-agent : conda/4.5.12 requests/2.18.4 CPython/3.6.8 Linux/4.4.0-141-generic ubuntu/16.04 glibc/2.23
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Thanks for the report. I think there may be a bug in the CUDA initialisation sequence logic, I can produce what you see.

Other than that, I am also confused by the matrix descriptor documentation in CUDA. The text says:

I think what it means is that if you want to compute  y := A * x where A is symmetric but specifically only the lower part is stored, then better performance is achieved through storing A as a sparse general matrix type, as doing y=:(L+D)*x (compute the (lower triangle + diagonal) * x product), then doing y: =  L^T * x + y (compute the lower triangle transposed * x + the result of the first computation) is really expensive as L^T * x is very slow.

Thanks for the report. I think there may be a bug in the CUDA initialisation sequence logic, I can produce what you see.

Okay, did you find a corresponding bug report in the CUDA project, or should we file it ?
For the documentation, I guess what confuses me is this sentence:

To compute y=A*x when A is symmetric and only lower triangular part is stored

Does it mean that A is not a "real" object, and that you only have L and D as real objects in memory ?
Or is there a documented way to have a real object A of a symmetric matrix but that only stores the lower part ?
I don't understand the point of having a descriptor for symmetric/hermitian/triangular matrices if it is actually advised to use the general type. In which case is this cusparseMatrixType_t useful ?

Okay, did you find a corresponding bug report in the CUDA project, or should we file it ?

The bug is in this project's CUDA initialisation sequence logic, not in the CUDA driver or runtime itself.

For the documentation, I guess what confuses me is this sentence:

It's really common to use a variety of storage schemes to reduce memory use, improve locality, etc. Here's some common ones:
Dense: https://www.netlib.org/lapack/lug/node121.html
Sparse: http://netlib.org/linalg/html_templates/node90.html

Does it mean that A is not a "real" object, and that you only have L and D as real objects in memory ?
Or is there a documented way to have a real object A of a symmetric matrix but that only stores the lower part ?

Conceptually, A here is just a matrix, how it is stored and how the multiplication operation with a vector x is performed is implementation detail. The cusparseMatDescr_t documentation explains how to indicate that a stored matrix has certain properties and then based on those properties CUDA will run an appropriate algorithm for the matrix vector product.

I don't understand the point of having a descriptor for symmetric/hermitian/triangular matrices if it is actually advised to use the general type. In which case is this cusparseMatrixType_t useful ?

The only case for which the general type is advised is if you have a sparse matrix which is symmetrical but to save space you have decided to store only the lower triangular part. Then with this matrix if you want to compute the matrix-vector product the CUDA docs are advising to switch the storage format to a general type (by using more memory through transposing and copying the lower triangle into the upper to form a "general" sparse matrix) as this will yield better performance.
Here is an example of performing two mat-vec products y:=A*x, using exactly the same sparse matrix data throughout, first doing a mat-vec operation telling CUDA that it is a general sparse matrix (i.e. CUDA will interpret the matrix literally as it is presented), and then subsequently, with no change to the original sparse matrix data, telling CUDA to interpret the sparse matrix data as a symmetric matrix where the data is stored in the upper triangle.
import numpy as np
import scipy.sparse.linalg
import pyculib

handle = pyculib.sparse.Sparse()
dtype = np.float32
m = n = 3
trans = 'N'

# Initialize the CSR matrix on the host and GPU.
row = np.array([0, 0, 0, 1, 2])
col = np.array([0, 1, 2, 1, 2])
data = np.array([0.431663, 0.955176, 0.925239, 0.569277, 0.48015], dtype=dtype)

csrMatrixCpu = scipy.sparse.csr_matrix((data, (row, col)), shape=(m, n))
csrMatrixGpu = pyculib.sparse.csr_matrix((data, (row, col)), shape=(m, n))

x = np.ones((3,), dtype)

print("Upper triangular CPU matrix:")
print(csrMatrixCpu)
print(csrMatrixCpu.todense())

# grab the properties
nnz = csrMatrixGpu.nnz
csrVal = csrMatrixGpu.data
csrRowPtr = csrMatrixGpu.indptr
csrColInd = csrMatrixGpu.indices

alpha = 1.0
beta = 0.

# get cpu result
cpuResult = csrMatrixCpu.dot(x)

# get gpu result
descr = handle.matdescr(0, 'N', 'U', 'G') # NOTE THE 'G'
gpuResult = np.zeros(m, dtype=dtype)
handle.csrmv(trans, m, n, nnz, alpha, descr, csrVal, csrRowPtr, csrColInd, x, beta, gpuResult)

print("Results of y:=A*x")
print('gpu result = ' + str(gpuResult))
print('cpu result = ' + str(cpuResult))

# now tell CUDA that our matrix, which is upper triangular, should be interpreted
# as being symmetric, the matrix data doesn't change, but the algorithm used by
# CUDA internally does.
descr = handle.matdescr(0, 'N', 'U', 'S') # NOTE THE 'S'
gpuResult = np.zeros(m, dtype=dtype)
handle.csrmv(trans, m, n, nnz, alpha, descr, csrVal, csrRowPtr, csrColInd, x, beta, gpuResult)

# create a new CPU matrix that is symmetric to check CUDA result
csrMatrixCpuSymmetric = scipy.sparse.csr_matrix((data, (row, col)), shape=(m, n))
csrMatrixCpuSymmetric += scipy.sparse.tril(csrMatrixCpuSymmetric.T, -1)
cpuResult = csrMatrixCpuSymmetric.dot(x)

print("\n\nSymmetric CPU matrix:")
print(csrMatrixCpuSymmetric.todense())
print(csrMatrixCpuSymmetric)

print("Results of y:=A*x:")
print('gpu result = ' + str(gpuResult))
print('cpu result = ' + str(cpuResult))

Oh okay thanks, now I understand better :+1:
I didn't know that there existed specific storage for non-sparse symmetric matrices, as mentioned here https://www.netlib.org/lapack/lug/node121.html, since I haven't seen an implementation of it yet.
Your example is great for how to only store one half of a symmetric matrix, if it's sparse.
If I understand correctly:

Performing a mat-vec product with a sparse symmetric matrix, storing only half of it, is possible in pyculib, but not in scipy
Performing a mat-vec product with a non-sparse symmetric matrix, storing only half of it, is not possible in pyculib, nor in scipy, unless you use a sparse container for your non-sparse matrix and you come back to the previous case.

I think what confused me in the doc was:

It is better for the user to extend the symmetric matrix to a general matrix

I didn't understand that "symmetric matrix" here, means a matrix of which you only store half of the non-zeros, and "general matrix" means that you store all non-zero elements. Because in both cases, your matrix is still technically symmetric. There was a confusion on whereas 'symmetric' and 'general' referred to the mathematical object or the way it is stored.
Anyway, thank you very much for these clarifications ! :)

Oh okay thanks, now I understand better +1

Excellent, glad this has helped.

I didn't know that there existed specific storage for non-sparse symmetric matrices, as mentioned here https://www.netlib.org/lapack/lug/node121.html, since I haven't seen an implementation of it yet.

It is unlikely you'll hit them/see them unless you work at a much lower level (C/Fortran), but it's something of which to be aware.

If I understand correctly:

Performing a mat-vec product with a sparse symmetric matrix, storing only half of it, is possible in pyculib, but not in scipy

I believe that's the case. PyCulib exposes the sparse BLAS routines in a relatively raw fashion and its matrix layout representation is necessarily raw/complicated in comparison to a e.g. SciPy CSR.

Performing a mat-vec product with a non-sparse symmetric matrix, storing only half of it, is not possible in pyculib, nor in scipy, unless you use a sparse container for your non-sparse matrix and you come back to the previous case.

If you use a packed matrix format then the BLAS {s,d}spmv routine will permit a symmetric matrix vector product using just the upper or lower triangle in packed storage (use {c,z}hpmv for Hermitian) . https://pyculib.readthedocs.io/en/latest/cublas.html#pyculib.blas.Blas.spmv. This has the minimal storage requirement for a symmetric/Hermitian dense matrix system and also uses an optimised routine for performing mat-vec on such a system as the algorithm makes use of the fact it knows it is symmetric. I don't think SciPy has this exposed other than in the raw cython bindings (scipy.linalg.cython_blas).

I didn't understand that "symmetric matrix" here, means a matrix of which you only store half of the non-zeros, and "general matrix" means that you store all non-zero elements. Because in both cases, your matrix is still technically symmetric. There was a confusion on whereas 'symmetric' and 'general' referred to the mathematical object or the way it is stored.

It can certainly be confusing at times. In general there's a necessity to consider the nature of the mathematical operation, the data storage layout, and what an algorithm performing the operation expects of the stored data. This is in part why the interfaces for linear algebra libraries are large, the combinations expand quite rapidly!

Anyway, thank you very much for these clarifications ! :)

No problem at all.


Update TorrentGalaxy Color

Can't accept this as it will break providers sorting. There is a separate field for provider color in general.

Can't accept this as it will break providers sorting. There is a separate field for provider color in general.

what do you mean "break providers sorting"? I don't have issues with this configuration.
I tried using the "Color" setting but couldn't get the two colors to show up properly.

what do you mean "break providers sorting"? I don't have issues with this configuration.
I tried using the "Color" setting but couldn't get the two colors to show up properly.

@ShlomiD83 There are scripts that do generation of settings.xml depending on providers.json content.

@ShlomiD83 There are scripts that do generation of settings.xml depending on providers.json content.

If you say so, I didn't run into any problems.
I guess I'll add the color manually after each update just on my side :)

If you say so, I didn't run into any problems.
I guess I'll add the color manually after each update just on my side :)


Fehler nach HOOBS 4 Update

Describe the bug
Nach dem Update auf Hoobs 4 startet der Plugin nicht und es kommt zu einem Error
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
LOG->

7.7.2021, 20:51:27 HOOBS HOOBS starting
7.7.2021, 20:51:30 HOOBS [ DEBUG ] Initializing HAP-NodeJS v0.9.4...
7.7.2021, 20:51:31 HOOBS Loaded plugin 'homebridge-fritz-platform'
7.7.2021, 20:51:33 HOOBS [ ERROR ] Error initializing plugin 'homebridge-fritz-platform'
7.7.2021, 20:51:33 HOOBS [ ERROR ] Error: Cannot find module '/var/lib/hoobs/hoobs/node_modules/underscore/underscore-node.cjs'
at createEsmNotFoundErr (internal/modules/cjs/loader.js:929:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:922:15)
at resolveExports (internal/modules/cjs/loader.js:450:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:490:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (/var/lib/hoobs/hoobs/node_modules/ping/lib/ping-promise.js:21:10)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (/var/lib/hoobs/hoobs/node_modules/ping/lib/ping-sys.js:14:12)
7.7.2021, 20:51:36 HOOBS Loaded plugin 'homebridge-hue'
7.7.2021, 20:51:36 HOOBS [ DEBUG ] Registering platform 'homebridge-hue.Hue'
7.7.2021, 20:51:36 HOOBS Loaded plugin 'homebridge-shelly'
7.7.2021, 20:51:37 HOOBS [ DEBUG ] Registering platform 'homebridge-shelly.Shelly'
7.7.2021, 20:51:37 HOOBS Loaded plugin 'homebridge-tplink-smarthome'
7.7.2021, 20:51:37 HOOBS [ DEBUG ] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
7.7.2021, 20:51:37 HOOBS Loading 4 platforms...
7.7.2021, 20:51:37 HOOBS Conbee 2 homebridge-hue v0.13.17, node v14.17.2, homebridge v1.3.4
7.7.2021, 20:51:37 HOOBS TplinkSmarthome homebridge-tplink-smarthome v6.4.0, node v14.17.2, homebridge v1.3.4, api v2.7
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Configuring cached accessory: [Entertainment] UUID: 24a8344c-a947-4e09-9252-06a74f77d2ce deviceId: 80064E1CF85D392673FCD9771CC424561CF9018C
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Configuring cached accessory: [Sofa] UUID: db2a8f18-53c8-4e88-bfa6-624fb5f36ea7 deviceId: 800627A2E2C453A29362DB45CB9EA9A61CF9FADA
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Configuring cached accessory: [3D Drucker] UUID: 8920bc37-4259-4078-b64e-62053cccef73 deviceId: 8006E73680FDB007C69EB4421D3F21461CF9E5EF
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Configuring cached accessory: [PC] UUID: 0d939ba7-f8ef-4257-8abf-385c57ff7dd3 deviceId:<PHONE_NUMBER>4524D00A3D1E13294B19CB18E77D7A
7.7.2021, 20:51:38 HOOBS Shelly 1 accessory loaded from cache
7.7.2021, 20:51:38 HOOBS Shelly [ WARNING ] Ignoring unknown network interface name or address <IP_ADDRESS>
7.7.2021, 20:51:38 HOOBS Shelly Admin server is running on port 8181
7.7.2021, 20:51:38 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 20:51:38 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 20:51:38 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 20:51:38 HOOBS TplinkSmarthome New Device Online: [Entertainment] plug [80064E1CF85D392673FCD9771CC424561CF9018C] <IP_ADDRESS> 9999
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Adding: [Entertainment] plug [80064E1CF85D392673FCD9771CC424561CF9018C]
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Amperes] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Total Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Apparent Power] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Volts] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS TplinkSmarthome New Device Online: [3D Drucker] plug [8006E73680FDB007C69EB4421D3F21461CF9E5EF] <IP_ADDRESS> 9999
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Adding: [3D Drucker] plug [8006E73680FDB007C69EB4421D3F21461CF9E5EF]
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Amperes] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Apparent Power] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Total Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Volts] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Adding: [Sofa] plug [800627A2E2C453A29362DB45CB9EA9A61CF9FADA]
7.7.2021, 20:51:38 HOOBS TplinkSmarthome New Device Online: [Sofa] plug [800627A2E2C453A29362DB45CB9EA9A61CF9FADA] <IP_ADDRESS> 9999
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Amperes] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Total Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Apparent Power] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Volts] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 20:51:38 HOOBS TplinkSmarthome Adding: [PC] plug [80060294194524D00A3D1E13294B19CB18E77D7A]
7.7.2021, 20:51:38 HOOBS TplinkSmarthome New Device Online: [PC] plug [80060294194524D00A3D1E13294B19CB18E77D7A] <IP_ADDRESS> 9999
7.7.2021, 20:52:08 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 20:52:08 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 20:52:08 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 20:52:38 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 20:52:38 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 20:52:38 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 20:53:08 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 20:53:08 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 20:53:08 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 20:53:38 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 20:53:38 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 20:53:38 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 20:54:08 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 20:54:08 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 20:54:08 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 20:54:38 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 20:54:38 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 20:54:38 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect:
7.7.2021, 21:12:03 Hub hub is running on port 80
7.7.2021, 21:12:08 Hub HOOBS starting
7.7.2021, 21:12:10 HOOBS [ DEBUG ] Initializing HAP-NodeJS v0.9.4...
7.7.2021, 21:12:12 HOOBS Loaded plugin 'homebridge-fritz-platform'
7.7.2021, 21:12:15 HOOBS [ ERROR ] Error initializing plugin 'homebridge-fritz-platform'
7.7.2021, 21:12:15 HOOBS [ ERROR ] Error: Cannot find module '/var/lib/hoobs/hoobs/node_modules/underscore/underscore-node.cjs'
at createEsmNotFoundErr (internal/modules/cjs/loader.js:929:15)
at finalizeEsmResolution (internal/modules/cjs/loader.js:922:15)
at resolveExports (internal/modules/cjs/loader.js:450:14)
at Function.Module._findPath (internal/modules/cjs/loader.js:490:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (/var/lib/hoobs/hoobs/node_modules/ping/lib/ping-promise.js:21:10)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (/var/lib/hoobs/hoobs/node_modules/ping/lib/ping-sys.js:14:12)
7.7.2021, 21:12:22 HOOBS Loaded plugin 'homebridge-hue'
7.7.2021, 21:12:22 HOOBS [ DEBUG ] Registering platform 'homebridge-hue.Hue'
7.7.2021, 21:12:22 HOOBS Loaded plugin 'homebridge-shelly'
7.7.2021, 21:12:23 HOOBS [ DEBUG ] Registering platform 'homebridge-shelly.Shelly'
7.7.2021, 21:12:24 HOOBS Loaded plugin 'homebridge-tplink-smarthome'
7.7.2021, 21:12:24 HOOBS [ DEBUG ] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
7.7.2021, 21:12:24 HOOBS Loading 4 platforms...
7.7.2021, 21:12:24 HOOBS Conbee 2 homebridge-hue v0.13.17, node v14.17.2, homebridge v1.3.4
7.7.2021, 21:12:24 HOOBS TplinkSmarthome homebridge-tplink-smarthome v6.4.0, node v14.17.2, homebridge v1.3.4, api v2.7
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Configuring cached accessory: [Entertainment] UUID: 24a8344c-a947-4e09-9252-06a74f77d2ce deviceId: 80064E1CF85D392673FCD9771CC424561CF9018C
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Configuring cached accessory: [Sofa] UUID: db2a8f18-53c8-4e88-bfa6-624fb5f36ea7 deviceId: 800627A2E2C453A29362DB45CB9EA9A61CF9FADA
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Configuring cached accessory: [3D Drucker] UUID: 8920bc37-4259-4078-b64e-62053cccef73 deviceId: 8006E73680FDB007C69EB4421D3F21461CF9E5EF
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Configuring cached accessory: [PC] UUID: 0d939ba7-f8ef-4257-8abf-385c57ff7dd3 deviceId:<PHONE_NUMBER>4524D00A3D1E13294B19CB18E77D7A
7.7.2021, 21:12:25 HOOBS Shelly 1 accessory loaded from cache
7.7.2021, 21:12:25 HOOBS Shelly [ WARNING ] Ignoring unknown network interface name or address <IP_ADDRESS>
7.7.2021, 21:12:25 HOOBS Shelly Admin server is running on port 8181
7.7.2021, 21:12:25 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 21:12:25 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 21:12:25 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 21:12:25 HOOBS TplinkSmarthome New Device Online: [Entertainment] plug [80064E1CF85D392673FCD9771CC424561CF9018C] <IP_ADDRESS> 9999
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Adding: [Entertainment] plug [80064E1CF85D392673FCD9771CC424561CF9018C]
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Amperes] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Total Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Apparent Power] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Volts] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Entertainment@Entertainment@Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS TplinkSmarthome New Device Online: [3D Drucker] plug [8006E73680FDB007C69EB4421D3F21461CF9E5EF] <IP_ADDRESS> 9999
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Adding: [3D Drucker] plug [8006E73680FDB007C69EB4421D3F21461CF9E5EF]
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Amperes] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Total Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Apparent Power] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Volts] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@3D Drucker@3D Drucker@Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS TplinkSmarthome New Device Online: [Sofa] plug [800627A2E2C453A29362DB45CB9EA9A61CF9FADA] <IP_ADDRESS> 9999
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Adding: [Sofa] plug [800627A2E2C453A29362DB45CB9EA9A61CF9FADA]
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Amperes] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Total Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Apparent Power] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Volts] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS [ ERROR ] [HOOBS@Sofa@Sofa@Consumption] Characteristic not in required or optional characteristic section for service Outlet. Adding anyway.
7.7.2021, 21:12:25 HOOBS TplinkSmarthome New Device Online: [PC] plug [80060294194524D00A3D1E13294B19CB18E77D7A] <IP_ADDRESS> 9999
7.7.2021, 21:12:25 HOOBS TplinkSmarthome Adding: [PC] plug [80060294194524D00A3D1E13294B19CB18E77D7A]
7.7.2021, 21:12:55 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 21:12:55 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 21:12:55 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 21:13:25 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 21:13:25 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 21:13:25 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s
7.7.2021, 21:13:55 HOOBS Conbee 2 192...35: request 1: GET /config
7.7.2021, 21:13:55 HOOBS Conbee 2 [ WARNING ] <IP_ADDRESS>: request 1: <IP_ADDRESS>:1881: cannot connect: ECONNREFUSED
7.7.2021, 21:13:55 HOOBS Conbee 2 [ ERROR ] <IP_ADDRESS>:1881: not found - retrying in 30s

The NPM repos have been acting wired the last few days.
Can you try to reinstall the plugin.

Go to the Plugins screen
Go to the Fritz Platform plugin
Click on the Versions tab
Click the Download Icon on the latest version
Select the Bridge you have this installed on, from your logs, this is the HOOBS bridge.

If this doesn't work you can install this plugin to it's own bridge and move your config over.


[Enhancement] The Numbers Need to Be Left Justified

In GitLab by @yhua123 on Aug 23, 2017, 22:45
show realtime status in red cycle

In GitLab by @liyanq528 on Nov 8, 2019, 07:35
fixed by push request #206

In GitLab by @yhua123 on Nov 8, 2019, 07:35
LGTM

In GitLab by @sokril on Nov 8, 2019, 08:08
closed

In GitLab by @sokril on Nov 8, 2019, 08:08
assigned to @liyanq528


withMessage docs incorrect.

Happy to fix this typo if someone points me to the proper repo!
http://aurelia.io/hub.html#/doc/article/aurelia/validation/latest/validation-basics/1
The "withMessage" example has the escape \ in the wrong location, should be:
.withMessage(`"\${$value}" is not a valid \${$displayName}.`)

There's an edit button at the top of that article ;)

Totally missed that, thanks!


Get All Files selected as List in upload servlet

How is it possible to invoke the upload functionality only once and get all the files as List ? The upload servlet is getting invoked as many files are browsed. I need it to be invoked once with all the files selected/browsed. Can you help me on this?
What I am doing:
while using Spring MVC @ModelAttribute. I am having the model which has List fileUpload.
I am using autosubmit as false, multiple as true. Every thing is fine. I am able to get Form data, and able to fire upload manually on click of button. But the issue is when user selects multiple file, my model has only 1 file in the List, The Latest file browsed got into the model (List).

I Got it. Can you set option serialize: false and try
On Tue, 16 May 2017 at 19:52 probaner<EMAIL_ADDRESS>wrote:

How is it possible to invoke the upload functionality only once and get
all the files as List ? The upload servlet is getting invoked as many files
are browsed. I need it to be invoked once with all the files
selected/browsed. Can you help me on this?
What I am doing:
while using Spring MVC @modelattribute. I am having the model which has
List fileUpload.
I am using autosubmit as false, multiple as true. Every thing is fine. I
am able to get Form data, and able to fire upload manually on click of
button. But the issue is when user selects multiple file, my model has only
1 file in the List, The Latest file browsed got into the model (List).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hayageek/jquery-upload-file/issues/151, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AChS7ttAYwWZC_9j1U6udRqg-Hy4Of0Vks5r6Y3kgaJpZM4NcYFB
.

serialize: false is making ModelAttribute List as empty. I am using Spring MVC to invoke my controller. So the form data is coming null. This does not solve my problem. I want no matter how many files are selected, the upload controller should be invoked only once.

I think your client code & server code does not match. Did you check the request  in Browser's Network tab ?
Can you share how you are initializing the plugin at client, and how you are handling the files at server side.


Add dark mode..

Use something like
@Environment(\.colorScheme) private var colorScheme

To update the button style for "dark mode"

fixed in #5


Mark error_message in numeric_cast as unused

In a release build without assertions or exceptions enabled, TSL_RH_THROW_OR_TERMINATE is essentially a no-op and we get a compiler warning that the error_message is unused:
In file included from .../robin-map/include/tsl/robin_map.h:34:
.../robin-map/include/tsl/robin_hash.h:77:35: warning: unused parameter 'error_message' [-Wunused-parameter]
                      const char* error_message = "numeric_cast() failed.") {
                                  ^
1 warning generated

Fix this by adding a TSL_RH_UNUSED for the error message here. In C++17, the [[maybe_unused]] should be used instead.

Thanks, looks good.

There's a semicolon missing, leading to a build error.

Thanks, sorry I missed that. The CI effectively failed but I didn't get any GitHub notification, I'll need to check that.
I fixed it.

oops, sorry - and I blindly submitted this after fixing it in a copy of this file in a repo where this is included, instead of properly cherry picking.
my bad! thanks for fixing it


Getting error when I try to use AWS::EC2::KeyPair::KeyName as parameter type

StackTrace:
Traceback (most recent call last):
File "/home/sreekanth/font/sample.py", line 246, in
print(t.to_json())
File "/home/sreekanth/.local/lib/python2.7/site-packages/troposphere/init.py", line 455, in to_json
sort_keys=sort_keys, separators=separators)
File "/usr/lib/python2.7/json/init.py", line 250, in dumps
sort_keys=sort_keys, **kw).encode(obj)
File "/usr/lib/python2.7/json/encoder.py", line 209, in encode
chunks = list(chunks)
File "/usr/lib/python2.7/json/encoder.py", line 434, in _iterencode
for chunk in _iterencode_dict(o, _current_indent_level):
File "/usr/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict
for chunk in chunks:
File "/usr/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict
for chunk in chunks:
File "/usr/lib/python2.7/json/encoder.py", line 442, in _iterencode
o = _default(o)
File "/home/sreekanth/.local/lib/python2.7/site-packages/troposphere/init.py", line 352, in default
return obj.JSONrepr()
File "/home/sreekanth/.local/lib/python2.7/site-packages/troposphere/init.py", line 162, in JSONrepr
self.validate()
File "/home/sreekanth/.local/lib/python2.7/site-packages/troposphere/init.py", line 490, in validate
"the String type." % p)
ValueError: AllowedPattern can only be used with parameters of the String type.

Unfortunately I was using MaxLength="255" in keyname parameter
like below
KeyName = t.add_parameter(Parameter(
"KeyName",
Type="AWS::EC2::KeyPair::KeyName",
Description="Name of an existing EC2 KeyPair to enable SSH access",
MaxLength="255",
ConstraintDescription="can contain only ASCII characters.",
))
Probably I should remove this
Later I found there is a check for validity by debugging code.


Make Elyra pipelines more flexible to enable better support for sharing via GitHub or other packaging

Umbrella task for handling pipeline editor enhancements focused around enabling "moving" pipelines

[x] Validate pipeline which includes validation of file location #815

[x] Consider developing lifecycle, some types of validation only applies to when executing versus opening/saving

[ ] Enhance the pipeline editor to enable updates to the location of the notebook (including changing the notebook) #732
[ ] Support relative location of the notebook (relative to pipeline file) #823

[ ] When opening
[ ] When drag-and-drop
[ ] When submitting the pipeline

[ ] Pipeline migration #825
[ ] Documentation

[x] Best practices (Elyra 1.0) #820
[ ] Validation #824

This umbrella should address the following issues:
#608 #659 #815

Note: all issues under this umbrella now have open or merged PRs


Please merge revision 5363e5c into stable channel

@whesse @mit-mit @kasperl
This commit fixes a customer facing issue where they can't extract a stack trace from an asynchornous error, and therefore they have a hard time debugging issues discovered in production. This is forcing them to use 1.12 and wait until 1.14 hits the stable channel (issue #25235 has more details).
Revisions to be merged:
5363e5c
The code changes and tests merged cleanly, only the status file lib.status had a conflict and need to be fixed after cherry-picking this commit.

Merged into Version 1.13.2


Impossible to install successfully new ports after a custom port has been installed

Describe the bug
With the current master branch (commit https://github.com/microsoft/vcpkg/commit/1be75a28bfce2084bb0b59ec92a6853f13d7be66) the use of custom ports at some point prevents to install any further non-custom port from vcpkg.
Environment

OS: Windows
Compiler: VS2019

To Reproduce
git clone https://github.com/microsoft/vcpkg  C:/vcpkg
git clone https://github.com/robotology/robotology-vcpkg-binary-ports C:/robotology-vcpkg-binary-ports
C:/vcpkg/bootstrap-vcpkg.sh
C:/vcpkg/vcpkg.exe --overlay-ports=C:/robotology-vcpkg-binary-ports install --triplet x64-windows ipopt-binary
C:/vcpkg/vcpkg.exe  install --triplet x64-windows asio

The last command will fail with the following error:
Computing installation plan...
Error: while loading ipopt-binary:x64-windows: Port definition not found.
Please run "vcpkg remove ipopt-binary:x64-windows" and re-attempt.

Expected behavior
The asio port should be installed correctly, even if the custom port ipopt-binary had been installed before.
Failure logs
See https://github.com/robotology/robotology-vcpkg-binary-ports/pull/5 for a CI script that is working fine in 2020.01 and 2019.12, and failing in master due to this bug.

cc @pattacini

At a first glance, this seems to be related to https://github.com/microsoft/vcpkg/pull/9895, fyi @ras0219-msft

Looks like after the changes in #9895 you have to specify the --overlay-ports location on each install command 😟

Hi @traversaro
Can this work for you after add --overlay-ports?

Hi @traversaro
Can this work for you after add --overlay-ports?

Hi @NancyLi1013, what you mean by "this"?  Specifying --overlay-ports for every install command, as @vicroms suggested?
To be honest it seems quite a big drawback the need to explicitly mention all the --overlay-ports that you have used in the past for every execution, especially if you have a lot of them. However I don't pay for vcpkg,  so I am not in a position to complain. : )
Jokes apart, probably this problem could mitigated if there was a way to specify overlay-ports not through the command line but with a way that can be done only once, for example with a config file added in the vcpkg directory, or with an enviroment variable.

To provide an additional data point, I just come across another repo containing instructions are broken by this change: https://github.com/qis/toolchains#compiler .

Hi @vicroms @NancyLi1013 ,  this issue is kind  of preventing us to update our  internal vcpkg version. If you could let us know which kind of solution or mitigation (see  https://github.com/microsoft/vcpkg/issues/10119#issuecomment-588164699) it would  make sense to implement for you, I  would be happy to submit a PR.

I remember this bug has been fixed, you can update and rebuild vcpkg to remove the wrong port using the remove command as prompted.

Hi @JackBoosY, I am not sure what you mean, I created a new build in https://github.com/robotology/robotology-vcpkg-binary-ports/pull/9 and apparently the problem is still present in the latest commit on the master branch, while everything is fine in 2019.10 and 2020.1 . Just to clarify, the problem was exactly that before February 2020 it was possible  to install new ports after a custom port has  been installed without removing the custom port.

I investigated a bit the issue.
The root  cause is that in https://github.com/microsoft/vcpkg/blob/941d5464544eb5812b2cbd6e687c3ebc78ed2624/toolsrc/src/vcpkg/dependencies.cpp#L593 for every install action a complete graph of the installed ports and their source CONTROL file is constructed, and that is where it fails for ports that are installed via overlay-ports . Note that this information is then not used if the installed package is not related to the missing port. However, modifying this part to build a graph of just the ports connected to the port that is being installed seems to be a non-trivial modification.
Furthermore, more in general I think that if after https://github.com/microsoft/vcpkg/pull/9895 the assumption is that the available sources CONTROL reflects the configuration used when a port have been installed, I think that leaving to the user to specify via the command line every time the used overlay-ports as described in https://github.com/microsoft/vcpkg/blob/941d5464544eb5812b2cbd6e687c3ebc78ed2624/docs/specifications/ports-overlay.md seems to be error prone. In particular, the actual ports installed strongly depend on the order of the passed overlay-ports, and for a user it is quite difficult to get exactly the same order every time.
For these reasons, I think the best solution to be able to use the overlay-ports features after the modifications in https://github.com/microsoft/vcpkg/pull/9895 is to add the possibility to have a default-overlay-ports.txt file in the  vcpkg root. If this files is not present, the functionality of vcpkg and the overlay-ports are the same. If instead the file default-overlay-ports.txt is present in the vcpkg root directory, it is used to be passed as an overlay-ports  options automatically. In particular, if  default-overlay-ports.txt is present, then every call to vcpkg:
./vcpkg.exe --opt1 arg1 --opt2 arg2 ... --optN argN verb argVerb

is actually equivalent to the call:
./vcpkg.exe --opt1 arg1 --opt2 arg2 ... --optN argN --overlay-ports ./default-overlay-ports.txt verb argVerb

In this way, adding an overlay port can be done permanently with a few commands (in Powershell or bash):
cd $VCPKG_ROOT
git clone https://github.com/robotology/robotology-vcpkg-binary-ports ./overlay-ports/robotology-vcpkg-binary-ports
echo "./overlay-ports/robotology-vcpkg-binary-ports" >>  ./default-overlay-ports.txt

If this seems a reasonable solution I would be happy to provide a PR.

For these reasons, I think the best solution to be able to use the overlay-ports features after the modifications in #9895 is to add the possibility to have a default-overlay-ports.txt file in the vcpkg root. If this files is not present, the functionality of vcpkg and the overlay-ports are the same. If instead the file default-overlay-ports.txt is present in the vcpkg root directory, it is used to be passed as an overlay-ports options automatically.

To validate this feature, I tried to implement it in https://github.com/traversaro/vcpkg/tree/fix/10119 . While it still needs to be completed (the relative paths in the files are  now resolved as the relative paths passed to the overlay-ports command line parameters, instead of being resolved relative to the file location) but it seems to be working as intended.

Could we, or should we open an issue to deal with implementing a mechanism to persist --overlay-ports for an installation? Having to specify --overlay-ports on every vcpkg invocation is fairly painful.

Hi @michaelkonecny ! I proposed such a mechanism in the previous comments, but unfortunately it did not received any feedback. If you are interested in this, feel free to continue to work on it (I do not currently plan to work on that), I suspect that if we open a PR with a concrete proposal it would be much easier to get feedback rather then opening another issue with just abstract discussions.

Note that I also saw mentioned in the Roadmap (https://github.com/microsoft/vcpkg/wiki/Roadmap) that upstream is working on a Feature called "Package federation" that should allow "Vcpkg will allow you to easily install packages from multiple sources". I do not have any further info on this, but it may be possible that this new feature will render --overlay-ports and this issue obsolete, and that is the main reason I stopped working on solving this issue.

@traversaro what about the new environment variable VCPKG_OVERLAY_PORTS. (see #12640)

@traversaro what about the new environment variable VCPKG_OVERLAY_PORTS. (see #12640)

Thanks, that is indeed a convenient feature. For some corner use cases (such as distributing a ready to use archive with vcpkg + some repo of custom ports) the file variant was more convenient, but the env variable can be used instead with some tricks. In any case, before closing this issue it could make sense to explicitly document that once you install a port from a overlay you need to always keep the overlay directory in VCPKG_OVERLAY_PORTS.

If I understand correctly, this issue should be fixed by https://github.com/microsoft/vcpkg/pull/13231 .

Fixed in #13231 :D

Thanks a lot to everyone that contributed to fixing this bug!

Back in time I set up a regression test to check if this bug ever emerged again, and this night it failed with the latest vcpkg master version, see https://github.com/robotology/robotology-vcpkg-ports/issues/18 . I will investigate a bit, and open a new issue if this is confirmed.

Back in time I set up a regression test to check if this bug ever emerged again, and this night it failed with the latest vcpkg master version, see https://github.com/robotology/robotology-vcpkg-ports/issues/18 . I will investigate a bit, and open a new issue if this is confirmed.

Back in time I set up a regression test to check if this bug ever emerged again, and this night it failed with the latest vcpkg master version, see robotology/robotology-vcpkg-ports#18 . I will investigate a bit, and open a new issue if this is confirmed.

The issue has been confirmed, I have opened a new one for visibility at https://github.com/microsoft/vcpkg/issues/15836 .

Back in time I set up a regression test to check if this bug ever emerged again, and this night it failed with the latest vcpkg master version, see robotology/robotology-vcpkg-ports#18 . I will investigate a bit, and open a new issue if this is confirmed.

The issue has been confirmed, I have opened a new one for visibility at https://github.com/microsoft/vcpkg/issues/15836 .


:bug: Upgrade issues

Original report by Piyush Kumar:

While doing upgrade on 3-node cluster, upgrade succeeded on one node and failed on other two even if it says that in the end that upgrade is completed. Attaching two logs file from the nodes where one failed and succeeded. One the failed upgrade node, we see the msg as upgrade completed but cat /proc/cmdline indicates upgrade_failure

Private discussion: https://spectrocloud.slack.com/archives/C056VJ4V1HP/p1702485749281219

It was communicated internally that the failing cluster was under heavy load. By switching to another cluster the problem went away. Closing.


Label info missing in grafana/prometheus for services running outside kubernetes

In current architecture we use 'mixer adapter for Kubernetes' which generate additional attributes like labels for the given service by looking up POD description.
Since service that run outside Kubernetes say in VM expansion do not use POD, it is registered as endpoint objects and endpoint labels. 'Mixer adapter for Kubernetes' does not look up for endpoints object to generate label attributes ?
Bellow image - Find versions unknown

If I am not wrong - the 'Mixer adapter for Kubernetes' will be replaced by 'pilot pushing necessary information to envoy' ? That might be right place to fix this issue ?
Is there a fix for this problem in current architecture ?

https://github.com/istio/istio/issues/2367


[BEAM-287] adjust README to changed Maven layout

LGTM

It should be rebased and updated in regards of the latest Maven coordinates change.

Thanks! Rebased and merged.


No licence stated for project

Hi - I love the work you have done here and have found it useful in some of my own personal projects, however I note that you have not provided a license for the project.  Would be good if you could either provide express permissions, or include a license to let others know if and how they can utilise your work within their own project.s

I hope MIT is suitable for your use case

MIT is fine. Thanks.


Add "radial topology on the plane"

Willard 3.A.4
This is NOT regular

https://math.stackexchange.com/questions/2250999/is-the-core-topology-on-mathbbr2-a-group-topology

Info from KP Hart (PDFs of citations are in my gmail)

Hi Steven,
here's the background on the radial topology.
Klee-1951 contains the definition
Klee-1955 contains his proof that the core topology is not regular
Williams-Franklin-1968 contains Stan Franklin's proof of this, as a solution to a monthly problem posed by Scott Williams.
Best wishes,
KP


Use newSession instead of withSession

This is in response to issue #81 "It shall be reasonable to add a standalone newSession action"

The wreq-examples project fails.  Missing changes:
Network/Wreq/Session.hs:-- main = Sess.'withSession' $ \\sess ->
Network/Wreq/Session.hs:-- We create a 'Session' using 'withSession', then pass the session to
changelog.md:* New withAPISession and withSessionControl functions make talking to
examples/SimpleSession.hs:main = S.withSession $ \sess -> do
tests/UnitTests.hs:cookieSession site = Session.withSession $ \s -> do
tests/UnitTests.hs:snapHeadSessionBug site = Session.withSession $ \s -> do
tests/UnitTests.hs:  Session.withSession $ \s ->
www/tutorial.md:main = S.withSession $ \sess -> do
www/tutorial.md:* To create a `Session`, we use `S.withSession`. It calls our code

This breaks the public API unnecessarily. Please add new entrypoints instead of renaming and changing the types of those that already exist.

@bos roger

Implemented seperately, deprecating the former functions.


It is not working with Github

I can't get the list of repos, it just gets stuck in there:

I'm using it with Google Spreadsheets and logged trough personal access token.
I try to re-install the extension and all those things but it is no longer working.
Something similar happening to you ?

Had the same issue when trying to use a personal token with the "repo" and "gist" scopes, using my password makes it work fine though. I noticed that I was receiving an error every time I opened a Script but I couldn't replicate it again, @ignaciolarranaga are you also seeing an error on opening a Script? If so could you try to take screenshot of the error?


Support user heading update map 2.6.1

Rebased on maps 2.6.1 to make our fork work with latest react-native
The diff seems to be the same as https://github.com/react-native-community/react-native-maps/compare/v0.26.0...v0.26.1

Merging this in for testing with release.
Will revert if needed.


GitHub Action Updates & Dependabot Implementation

Update GitHub action versions
Add dependabot package updates for github-actions and nuget

Added @dlamkins as auto assigner and reviewer for all of the automated PRs
Check for updates on a daily interval
Note: Will need to create the labels assigned to the PRs, such as dependencies, github-actions, and .NET if you want them to be assigned to the PRs

Running it to see if there are any deviations from our standard builds with the new action versions.


[stable/kibana] Add PVC support and security context for Kibana

What this PR does / why we need it:
Add PVC support for Kibana plugins to persist plugins and avoid plugins installation at startup.
Add security context for PVC.
Special notes for your reviewer:
Tested in Kibana 6.4.2 with elastalert plugin. 3 cases tested :

without plugins
with plugins without PVC
with plugins and PVC and security context to true with default values
I did not test with custom PVC.

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

Tell me if you need something like pvc-test.yaml in the ci directory.
Feedback are welcome... !

@jbdelpech I do think it would be good to include a test sequence for both the pvc's and security contexts.
One thing we should probably do is to add in a note into to README (and into the values.yaml as a comment) that lower resource constraints given to the chart + plugins are likely not going to work well. In our testing we found the same issue @keithlayne (https://github.com/helm/charts/pull/8896#issuecomment-437077017) had as to the very long plugin install time because we run kibana with fairly low resource limits.

/retest

/lgtm
/approve

/ok-to-test


[Proposal] Drag image directly into editor

One feature that would be useful would be the ability to click and drag an image file from a filesystem browser directly onto the node editor, which would auto-create an image node using the image that was dragged in.

I must admit I NEVER use that image node. But why not! :D


Add Shapefile Results Writer

Is your feature request related to a problem? Please describe.
To improve usability of the results we should add the ability to write output to a shapefile.
Describe the solution you'd like
The shapefile writer should look much like the geojson output, converted to the esri shapefile specification.
Describe alternatives you've considered
I think the only option is to leverage the gdal library to write the shapefile.

This is completed _ shapefiles do not work as a direct file output in AWS, you have to write local and then push the files.


Trouble exporting pdf/pptx

Hello,
I am trying to export a marp slide deck from VSCode. I have no trouble exporting html, but when I try to export as pdf or pptx, the action doesn't complete. Everything seems up-to-date for both extension and VSCode.

Did you read the error message that is shown when you've act for exporting? The extension should have outputted a helpful message:

No error message comes up. It just runs indefinitely (even after 20 minutes) until I close VScode.

This error came up when I checked runtime status.

May be related to https://github.com/puppeteer/puppeteer/issues/4609: You may be using too old Chromium/Chrome (76 and older). Please check the version of installed Chromium/Chrome and upgrade to the latest version (92).
If still not fixed, please share more details:

Which OS you are using?
Are there other extensions that are using together with Marp?
Where is a Markdown that you have tried to export located in? (e.g. Local workspace, Remote container such as WSL/SSH/Docker/Live share)
After acted the export command, What were outputted in a "Console" tab on the developer tool? (Help -> "Toggle Developer Tools" -> "Console" tab)

My Chrome seems to be up-to-date:

I am using Windows Version 10.0.19042.
I am using Markdown linit in addition to the Marp extension. I deactivated it but it did not resolve the issue.
The markdown is located on my local workspace and I am trying to export to the same folder.
 If so, please check its version too. Chrome launcher that is used by Marp is prefer a canary build than the stable release.
If that does not work, try setting the path to the stable Chrome executable in the extension setting: Markdown > Marp: Chrome Path.

I installed Chrome Canary and it now works. Thank you!


What about to add DDOS modules?

Not a problem but a possible new feature: what about to add ddos module?

It already has that, it’s under the tasks tab
On Fri, Oct 19, 2018 at 2:15 PM Angelo Rosa<EMAIL_ADDRESS>wrote:

Not a problem but a possible new feature: what about to add ddos module?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Pure-L0G1C/Loki/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/ATFT1_mb7iRww_sCb24pxOqTgxSsucbJks5umhTTgaJpZM4XxK8Q
.

Perfect!


mask and box appear in the upper left corner of the fixed area

I use MacBookPro, device=mps,torch=2.0, mac system version 13.3.1, no matter where I click, mask and box appear in the upper left corner of the fixed area, may I ask why, the code shows:
[WARNING] ML backend returned empty prediction for project SAM (id=12, url=http://<IP_ADDRESS>:8000/)

when i use device=cpu:0, the labeling is normal. Why is the annotation only displayed in the upper left corner when device=mps


wrong resource file name

I continued to build gpu-agent and found that ts_agent.yaml in
https://github.com/nebuly-ai/nos/blob/a32426d8d47649e91b874ffecb8df793159d7a5f/config/gpuagent/manager/kustomization.yaml#L2
was missing.
I think it should be gpu_agent.yaml?

You are right, it should be gpu_agent.yaml.
We did some renaming some time ago while developing the Helm chart, which created typos like this one. I'm thinking to add a step to the CI pipeline to check that all Kustomizations are at least generated correctly so that we can avoid errors like this one in the future.
Anyway, thank you for spotting the problem! As always, if you have already fixed it and want to open a PR it is highly appreciated 😄


WIP several fixes around stdandalone container upgrade

Previous revision to instance
TBD - @joshwget this will be the fix for the issue you saw when revision id wasn't returned to you on the instance.upgrade. Marking WIP till we figure the issue out.

Addressed as a part of https://github.com/rancher/cattle/pull/2560, closing


multiple server instance with one database,  the posts list can't be updated

Ghost Version:2.3.0
Node Version:10.x
Browser/OS:mac
Database:mysql

when I am serving one ghost blog in 5 instance, they are using one database. I noticed that when I publish an article in admin client, only one of them will be updated by an event like 'add', so the other server will still return the old posts list.
So, have you ever serve your ghost at multiple instance? How can I fix it. ~
_.each(resourcesConfig, (resourceConfig) => {
            this.data[resourceConfig.type] = [];
            ops.push(this._fetch(resourceConfig));

            this._listenOn(resourceConfig.events.add, (model) => {
                return this._onResourceAdded.bind(this)(resourceConfig.type, model);
            });

            this._listenOn(resourceConfig.events.update, (model) => {
                return this._onResourceUpdated.bind(this)(resourceConfig.type, model);
            });

            this._listenOn(resourceConfig.events.remove, (model) => {
                return this._onResourceRemoved.bind(this)(resourceConfig.type, model);
            });
        });

https://docs.ghost.org/faq/clustering-sharding-multi-server/


feat: update to tauri v2 stable, promote all packages to 2.0.0

wasn't the idea to not do this? don't care too much, i can introduce breaking changes in a non breaking way if needed, just surprised. I guess this is easier for consumers 🤷

we agreed on possibly doing some breaking changes on minor releases - though we won't need that for the most used plugins out of the gate (but store, NFC rust api still needs some work)

ok


MIT license condition unmet

Hi. I was looking over your LICENSE file and noticed you haven't included Copyright (c) 2017 Yue Yang which is a requirement of the license. You should probably add that as there are now 58 forks of your work which may be infringing the rights of the original creator.

@jhabdas I'm not well versed with licensing as such. Shouldn't his name in the README be enough? After all I'm not using his theme as it was. I'm fact there are multitudes of distinctions between our themes currently. Therefore shouldn't it be correct for me to put my name?

You simply need to update your LICENSE file with his name (and year, if present) in the copyright line.

You simply need to update your LICENSE file with their name (and year, if present) in the copyright line. Here's an example. I'm sorry GitHub doesn't do a better job of this. If you have questions about how to use software licenses I recommend opensource.stackexchange.com. You should probably get to know the MIT license a little better if you plan on using it in our work. Thanks.

You should probably get to know the MIT license a little better if you plan on using it in your work.
Even if you based your work off theirs it doesn't make yours unique (which is probably what prompted you to add their name to your README). You simply need to update your LICENSE file with their name (and year, if present) in the copyright line. Here's an example. If you have questions about how to use software licenses I recommend https://opensource.stackexchange.com.

And I can see you've already discovered the last link I mentioned.

@jhabdas Thanks. I'll be including it shortly when I'll be back on my PC today.

Thanks for your diligence and FWIW software licenses with restrictions and conditions such as (well, almost all of them—except for one) are my least favorite part of open source.

You've got it backwards. I should be the one thanking you for pointing out the license mistake or else I might have faced hurdles in the near future.
Btw, licenses are my least favourite as well.


Add setting for cc.core_file_pattern

Add default value for cc.core_file_pattern added in https://github.com/cloudfoundry/capi-release/pull/3 / https://github.com/cloudfoundry/cloud_controller_ng/pull/566.

Closing as this can be handled as a default in the CC spec.


size/positioning doesn't match native PPT

I have a sample source PowerPoint from which I am copying the size and position of sample objects.
When I run a PptxGenJS script to generate the output, there is a slight discrepancy in position/size of the objects
let pptx = new PptxGenJS();
pptx.layout = 'LAYOUT_WIDE'

slide = pptx.addSlide();
slide.addShape(pptx.ShapeType.hexagon,{x: 11.04,y: 3.36,w: 1.64,h: 1.43,rotate: 90, fill:{ type:'solid', color:'7F7F7F' }})
slide.addShape(pptx.ShapeType.hexagon,{x: 12.52,y: 3.33,w: 1.64,h: 1.43,rotate: 90, fill:{ type:'solid', color:'000000' }})
slide.addShape(pptx.ShapeType.hexagon,{x: 11.78,y: 2.08,w: 1.64,h: 1.43,rotate: 90, fill:{ type:'solid', color:'DE1D16' }})

pptx.writeFile();Please see attached sample and output for an example
test_orig.pptx
Presenation.pptx
Is there anything I am doing wrong, perhaps a missed step?
Also, is there any way to support providing the x,y, width, and height as points so it's possible to use VBA to query positions in a template and use those values without conversion to inches (would that possibly help with this issue)?

Unable to reproduce in v3.2.0.
All 3 shapes' positions and sizes in PowerPoint match the input code above.


Fix issue where large response never resolves

We were seeing that when we had a folder that  exceeded ~70 files and called filesListFolder with the folder's path, the promise would never respond.
This is on a project that uses isomorphic-fetch to support dropbox sdk's fetch methods.
Digging into the problem, I found that it was the use of cloning the response from fetch by parseBodyToType.  When the response is sufficiently large, there is a known issue in node_fetch ( which is a dependency of isomorphic-fetch ) in which clone never responds, see https://github.com/bitinn/node-fetch/issues/396
The .clone was used to be able to re-read the stream as text in the case of .json() rejecting.  This happens when.json() rejects because the server responds with text instead of a JSON object.
We fix this by: instead of catching the rejection of .json() to recognize when text is returned by the server, we instead check the headers of the return response to evaluate whether or not the response contains json.
This allows us to get rid of .clone, and always just read the response stream once.
We are using this fork in our code base and it fixes the problem.  Large responses now resolve correctly.
Also, fixes https://github.com/dropbox/dropbox-sdk-js/issues/199

Thanks!
On Wed, Jun 6, 2018, 3:36 PM Steve Klebanoff<EMAIL_ADDRESS>wrote:

@steveklebanoff commented on this pull request.
In generator/typescript/dropbox_types.d.tstemplate
https://github.com/dropbox/dropbox-sdk-js/pull/203#discussion_r193580350
:

@@ -29,7 +29,7 @@ declare module DropboxTypes {
* @param state State that will be returned in the redirect URL to help
*   prevent cross site scripting attacks.
*/

getAuthenticationUrl(redirectUri: string, state?: string, authType = 'token'): string;

getAuthenticationUrl(redirectUri: string, state?: string, authType?: 'token' | 'code'): string;

This fixes #199 https://github.com/dropbox/dropbox-sdk-js/issues/199
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dropbox/dropbox-sdk-js/pull/203#pullrequestreview-126580425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE2ScK-1uJoie-u1v5Mp-gTo-ukD7Yu4ks5t6FlZgaJpZM4UdeRK
.

CI is passing on node 6-8, but failing on node 4-5. This is the same behavior as master: https://travis-ci.org/dropbox/dropbox-sdk-js/builds/380890886

@pran1990 please let me know if I can do anything to help push this forward

merging this, the CI failures. weren't caused by this diff.

thanks for the merge 🙌


fix: truncate blogpost properly with truncate-html

Motivation
Fix #719
Instead of naively cutting down markdown at certain length and then render it to HTML, we render markdown to HTML first and then truncate it (keeping html tag safe) using https://www.npmjs.com/package/truncate-html
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Consider this blogpost file
---
title: Docusaurus
author: Endilie
authorURL: https://github.com/endiliey
authorFBID:<PHONE_NUMBER>03620
authorTwitter: endiliey
---

Hi, this is just a test blog post. Please be a nice person. Hehehehehe

[Docusaurus](https://github.com/facebook/Docusaurus)
[Prettier](https://github.com/prettier/prettier)
[Jest](https://github.com/facebook/jest)
[ReasonML](https://github.com/reasonml)
[Reason React](https://github.com/reasonml/reason-react)

Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum
Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum

Before
Notice how the URL got cut naively, resulting on broken link like below
[ReasonML](https://github.com/reaso

After
Notice how the URL is preserved
ReasonML Reason React

@JoelMarcey i'm betting on the package 6,937 downloads per week credibility 😭


LP5523: LED Driver

I tried to stick to the data sheet nomenclature, looking back, I'm not sure that was the best way to go as it isn't very consistent, any thoughts?

Which nomenclature are you talking about exactly, the instructions ?

The nomenclature I was referring to is some places with CNTRL is used and others where CTRL or CONTROL are used, ENG and ENGINE, TEMP and TEMPERATURE, PROG and PROGRAM etc. You also brought up the 1-relative indexing for engines and outputs above, which is in line with the datasheet, but with the shell module needing to be 1-relative at runtime, the compiler would probably not optimise this to 0-relative for the internal API. It might also be more confusing for some?

Ah! I see. I don't think that should be an issue as these are driver specific #defines and anything you use is probably fine enough :-). About the outputs and engines, it would be nice if we had some specific #defines.

I think I managed to cover most of your requests, I did not implement a lp5523_priv.h file b/c I can't think of much that I would want to remove from the public API. I also went a little bit further with the #defines than you suggested, I hope that's OK.


How to combine Epoxy and flexLayout?

I want to keep the declarative syntax while adopting FlexLayout. SwiftUI is very unfriendly, the layout is not very customizable, and there are some bugs.
Can Epoxy do it?

Hi @tigerAndBull, at Airbnb we create Flexbox style layouts using the https://github.com/airbnb/MagazineLayout UICollectionViewLayout combined with Epoxy's CollectionView. Please feel free to reopen this issue if this doesn't work for your use case.