when set transition-duration, there's no animation

Problem:
when set transition-duration, there's no animation.
JSBin/JSFiddle demonstrating the problem:
https://jsfiddle.net/8uymvg9L/4/

@zimocode Why do you need it set if you can set the animation: 200 option?
The problem is Sortable's animation works by transitioning to the old position and then animating it to the new position, so I think you are negating it if you set the transition-duration.

@owen-m1 Thanks Reply.

If I set duration in my css file, and , do not set the animation option for sortable, there's no animations when drag the list.
Sometimes, we will set ourselves animations in the css file. no animation, whether or not the animations option is set.

@zimocode
You have to be more specific when setting your own transitions, otherwise it clashes with sortable.
I'm unsure which properties sortable uses, but if your transition is only for opacity (example) then you'll also need to specify it under transition-property:

.classname element {
  transition-duration: 0.2s;
  transition-property: opacity;
}

I am having similar problem too.
I am using tailwind css and I need to add something like this to sortable item.
transition ease-in-out duration-500
Any transition class except opacity is breaking animation effect.


Syntax error highlights

Issue Type: Feature Request
At the moment a syntax error is flagged by the first character being underlined. I find this can be hard to spot so could we have the option to underline the whole line or better still make the line number red for example.
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Remote OS version: Linux x64 5.1.16-200.fc29.x86_64

what language are you using? can you please attach a gif or screenshot?

Language in this case is 'go'. Here are two examples, a mssing param to a
function and a typo - missing comma
On Tue, 11 Jan 2022 at 04:05, Megan Rogge @.***> wrote:

what language are you using? can you please attach a gif or screenshot?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/140411#issuecomment-1009579695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD52VKRUMS7PGCVTAAY3D2LUVOT63ANCNFSM5LTT3QHA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Please file this issue against the Go Extension


How can i add my Nextcloud Calendars?

Nowadays it's good to have your data at home and not on Google or Apple. That's why I have a Nextcloud at home. How can I display the appointments in Magic Mirror?

you will have to download them to a local file...
lots of folks do this..
i know the forums have people doing this..
https://forum.magicmirror.builders

I tried these, put the local path in the cinfig file, but the ics would not be shown. Most online calendars have no ics, most you gent a link like http:zztztt.com/caldav.php/user/8787765654 or http:zztztt.com/caldav.php/user/calendarname
No other solution possible?

local path must be in MagicMirror folder tree.
mm web server root is the mm foldr  so /modules...... whereever.. it works..
of fike:///....

Thanks, these is working very well
url: "https://nextcloud.MYDOMAIN.xyz/remote.php/dav/calendars/USER/personal/?export",
user: "USER",
pass: "PASSW",
method: "basic",

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.


Articulated Hand Mesh stuck when hand is occluded

Describe the bug
There is a Articulated Hand Mesh tracking regression when switching from Windows XR plugin to OpenXR.
In situations where the hand is still tracked, but the hand mesh/joints are not, on OpenXR the hand mesh is stuck at the last tracked position instead of moving with the still tracked wrist.
To reproduce
Steps to reproduce the behavior:

Run a scene with the hand mesh visualizer enabled on the device
Stretch you arm forward away from you, like you're pointing towards something in the distance.
Tilt your hand slightly lower, so it is occluded by your wrist.
Move your arm around while keeping the hand occluded.

Expected behavior
Hand Mesh will move with your wrist position.
Screenshots
Issue when using OpenXR (ignore the hand mesh coloring, this build is using linear color space)
https://user-images.githubusercontent.com/4631548/180179997-de3abf3f-1299-4b9e-a4cd-fc4aef863687.mp4
Expected behavopr using Windows XR plugin
https://user-images.githubusercontent.com/4631548/180180059-959527fa-091e-473a-9b9f-17294585ebaf.mp4
Your setup (please complete the following information)

Unity 2020.3.20f1
MRTK 2.8.2
OpenXR

Target platform (please complete the following information)

HoloLens
HoloLens 2
WMR immersive
(MR) OpenXR 1.4.2

Additional context
I tried to investigate this and come up with a fix. Here are my findings:
The difference between WindowsMixedRealityXRSDKArticulatedHand (Windows XR Plugin) and MicrosoftArticulatedHand (OpenXR) is that the former is calling the handMeshProvider?.UpdateHandMesh outside of the if (inputDevice.TryGetFeatureValue(CommonUsages.handData, out Hand hand)) check, while OpenXR does so inside.
I tried to move the handMeshProvider?.UpdateHandMesh out of the condiditional (with an additional guard that it is only running once per frame), and it did fix the issue. Unfortunately it did came with a huge performance impact.

I am getting the "desired" behavior on MRTK3 on OpenXR. @keveleigh , this is probably something to do with the whole tracked/valid/etc headache.

I have another question.
Is it normal for the hand model of the editor to appear when the hand is detected?

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Add a mode to execute a Wasm program without an incoming request

Viceroy should be able to execute a C@E Wasm program from the command line as just a one-shot without requiring an external process to send it a request. This would enable the use of Viceroy to run test suites that are compiled to a wasm32-wasi target with the C@E Wasm imports, such as those produced by cargo test --target wasm32-wasi.
The wasmtime CLI could be a useful model here. In a Rust project, I am able to run my test suite in both native code and Wasm simply by adding a .cargo/config:
[target.wasm32-wasi]
runner = "wasmtime"

In addition to providing the one-shot execution model, wasmtime also hooks up stdio and such to make it look like the Wasm program is executing within the host environment. That's pretty different from the headless daemon approach that Viceroy currently supports.
Finally, we'll need to figure out what to do about hostcalls. For the purposes of running a test suite, we'd get a lot of value even if the C@E hostcalls didn't do all that much. There are many useful tests to write that don't even use the C@E APIs, and many more that only would need, e.g., the ability to read and write to a body. Eventually I could imagine wanting some more sophisticated behavior even in a unit test, but since the daemonized version is already there I don't think the needs are as pressing.

Ha! I wrote a script to approximate exactly this (poorly)
#!/usr/bin/env fish

set host <IP_ADDRESS>
set port 7878

trap "lsof -i :$port -t | xargs kill | wait" EXIT

fastly compute serve --file main.wasm --skip-build --addr=$host:$port 2>&1 | sed -l -e "s/^/[Server       ] /" &

while not nc -z $host $port
	sleep 0.25
end

curl --silent --show-error --verbose --no-buffer -XGET $host:$port 2>&1 | sed -l -e "s/^/[       Client] /"

I think #211 fixed this.


feat: add gridtables support

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

v1.1.0
v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Removing ApplicationServices from HttpContext #466

This will impact other repos,
Hosting: https://github.com/aspnet/Hosting/pull/490
Diagnostics: https://github.com/aspnet/Diagnostics/pull/211
Routing: https://github.com/aspnet/Routing/pull/232
Mvc: https://github.com/aspnet/Mvc/pull/3589
Entropy: https://github.com/aspnet/Entropy/pull/73

@Tratcher @davidfowl

:shipit:


Added James Molloy kernel development ressource

i'm not shure if the james molloy tutorial is a good tutorial now (https://wiki.osdev.org/James_Molloy's_Tutorial_Known_Bugs) as there is a lot of bug in it

I totaly agree with @Supercip971

ok sure


Add optional setting to enable interpolation in configuration during deployments

Issue #, if available:
N/A
Description of changes:
Added a new setting, interpolateConfiguration to nucleus config that allows configuration to be interpolated during a deployment. Extended interpolation to handle lists.
Why is this change necessary:
We want to be able to deploy the LegacySubscriptionRouter in a thinggroup deployment, but have it create subscriptions to device specific topics. For example, we may wish to create a subscription to the thing's shadow topics which currently would either require subscribing all greengrass devices to all thing's shadow changes (through a wildcard subscription) which is obviously untenable, or deploy the LegacySubscriptionRouter component individually to each device. The latter option however means that we have to build up a separate infrastructure for keeping those deployments up to date any time we need to add a new subscription across to the devices in our fleet. By allowing interpolation inside configuration, we could create a single fleet-wide deployment which references {iot:thingName}.
How was this change tested:
I have done some preliminary testing using our real world scenario, as well having added several unit tests to confirm the behavior of the interpolation. To keep the change backwards compatible, the new behavior defaults to off.
Any additional information or context required to review the change:
Checklist:

[X] Updated the README if applicable
[X] Updated or added new unit tests
[ ] Updated or added new integration tests
[ ] Updated or added new end-to-end tests
[ ] If your code makes a remote network call, it was tested with a proxy
[X] You confirm that the change is backwards compatible

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Have you used this build in your own testing and found that this works for your use case of using the thing name?

I also messed up the build by merging from main into your branch here. If you could, please rebase your change on the latest main and then update this PR again so that we can have passing tests. Thank you.

Have you used this build in your own testing and found that this works for your use case of using the thing name?

Yeah, I've been using a similar build for some testing for a little bit, and just yesterday tried using this specific build as well.

I also messed up the build by merging from main into your branch here. If you could, please rebase your change on the latest main and then update this PR again so that we can have passing tests. Thank you.

Will do

Please update your commit message to conform to convention commits format, for example "feat: enable interpolation in configuration during deployments".
In discussion with the team, we decided that this does not need to be an optional feature.


Expose multiple metrics files via oy-expose

From what I can see, this exporter requires you to specify a specific log file.   It would be beneficial to give the ability to specify a file pattern or even a directory that contains multiple files.   Could this be a modification that would be reasonable to make to the application?   I would be glad to attempt to make it myself and create a pull request although I just wanted to confirm if this would be something you would accept.
Thank you

Sorry, I missed the notification.
Yes, feel free to open a pull request :-)


⚠ ClamAV has degraded performance

In 0c03479, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 205 ms

Resolved: ClamAV performance has improved in d8c1d77.


[WIP] [FINE] ContainerLabelTagMapping::Mapper class, separate tag creation

Backport to Fine branch of #16098 and associated PRs.
#16098 changed tag mapper interface used by refresh parsers; backporting it will allow backporting current refresh code, specifically for Azure and maybe Amazon.
https://bugzilla.redhat.com/show_bug.cgi?id=1493041
also backporting:

[ ] #14849 TODO how is this related, can it be fine/yes separately?
reverting #16511 which was modified for fine version of #16453, applying #16453 as-is now it's possible.
one rubocop fix from #15561 needed for #16098 cherry pick to apply cleanly.
https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/130, simultaneous with #16098, in Fine belonged in this repo.
[ ] TODO simultaneous https://github.com/ManageIQ/manageiq-providers-amazon/pull/316

TODO tests:

[ ] fails a core test!
[ ] test provider repos!

closing as we decided on simpler way to backport, https://github.com/ManageIQ/manageiq-providers-azure/pull/231 will be changed on fine to use old interface .cache and ContainerLabelTagMapping.map_labels()


Create Image for Social Media

Problem: We need an image for our next Twitter thread on "Why contribute to open source?"
Solution: Check this document,
A similar image we have created in the past: https://twitter.com/chaoss_africa/status/1603346592597262340?s=46&t=nqcSPG0qLrEVxdAEyOPh1g
Have questions tag @iamkingsleey

@iamkingsleey I'll love to get into this

@iamkingsleey I'll love to get into this

Okay great NyiaJoe

Hi @NyiaJoe, I have assigned this issue to you!

Sure, @Ruth-ikegah

Thank you @NyiaJoe. Create job! I think I prefer the second concept. Though I am stuck with interpreting the icon; Not sure it best represents the idea of contribution. Just my thought... Lol, What do you think? @Ruth-ikegah

Okay, @Ruth-ikegah has accepted the second design @NyiaJoe.
Thank you!


braces in PV names requires 4 sets of braces in prefix

`#!/usr/bin/env python3
from caproto.server import pvproperty, PVGroup, ioc_arg_parser, run
class ZebraIOC(PVGroup):
PC_DIR = pvproperty(value=1, mock_record='ai')
PC_PULSE_STEP = pvproperty(value=10, mock_record='ai')
if name == 'main':
ioc_options, run_options = ioc_arg_parser(
default_prefix="C-ES:FMX{{{{Zeb:3}}}}:",
desc='run an IOC to mock the Zebra box')
ioc = ZebraIOC(**ioc_options)
print('PVs:', list(ioc.pvdb))
run(ioc.pvdb, **run_options)
`
Reducing the number of braces in the prefix C-ES:FMX{Zeb:3}: results in the following output:
(local_lsdc) [jaishima@130-199-219-91 ophjects]$ python test2.py  /home/jaishima/anaconda3/envs/local_lsdc/lib/python3.7/site-packages/caproto/_utils.py:246: UserWarning: EPICS_CA_ADDR_LIST is set but will be ignored because EPICS_CA_AUTO_ADDR_LIST is not set to 'no'. EPICS_CA_ADDR_LIST='<IP_ADDRESS>' EPICS_CA_AUTO_ADDR_LIST=''   result.get('EPICS_CA_AUTO_ADDR_LIST', '')) Traceback (most recent call last):   File "test2.py", line 13, in <module>     ioc = ZebraIOC(**ioc_options)   File "/home/jaishima/anaconda3/envs/local_lsdc/lib/python3.7/site-packages/caproto/server/server.py", line 1144, in __init__     self.prefix = expand_macros(prefix, self.macros)   File "/home/jaishima/anaconda3/envs/local_lsdc/lib/python3.7/site-packages/caproto/server/server.py", line 975, in expand_macros     return pv.format(**macros) KeyError: 'Zeb'

I think you mean this to be a caproto issue.

oh my...
not sure what went through my head 🙂
Jun

From: Dan Allan<EMAIL_ADDRESS>Sent: Tuesday, February 25, 2020 3:46 PM
To: bluesky/ophyd<EMAIL_ADDRESS>Cc: Aishima, Jun<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [bluesky/ophyd] braces in PV names requires 4 sets of braces in prefix (#808)
I think you mean this to be a caproto issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/bluesky/ophyd/issues/808?email_source=notifications&email_token=AA3AKDOJ2S6VRMUWXOLWETTREV7S5A5CNFSM4K3R2GQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM5N4VI#issuecomment-591060565, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3AKDMZDGIARKOC6DWQYMLREV7S5ANCNFSM4K3R2GQQ.

Wrong project, this has also been correctly submitted to caproto. closing.


fix(get_task): fix tool version with cache

Hi guys,
We've found a bug with the cache ID generation (when checking if a cache entry exists).
The service tool version is not taken in account for get cache entry, but we'll be used to write the result.
The result is that service with tool version could not use cache.
Thanks for your work.

First off, thank you for contributing back to the project! But I'm not sure if this particular patch has any effect to the problem mentioned.
When the service client gets initialized, the service_tool_version header is initially null. Upon start(), the service manifest is loaded and we use the tool version, if any, as the service_tool_version and the headers for the session get updated, so by the time get_task() is called, at least the first time, it should already have the headers set to what's defined in the manifest.
If the service_tool_version changes over time, like if there is a different ruleset for YARA that was fetched, that should also be updated in both the client's attribute and the session headers.
Perhaps I'm missing something in particular that you could elaborate on?

I'm still gathering information and do more debugging. Perhaps it's best to not merge it as it.
I tried something to understand what is happening. It's use a modified version of my patch to add service_tool_version2 instead of service_tool_version while a service run, most of the time a see something like this in my network capture:

after the first analysis the service_tool_version2 is correctly set and no service_tool_version
sometimes after the analysis, both header are there

My suggestion is not a real solution, just a workaround. You could leave it like it, I'll do more digging to find a real solution and come here later.
I put here a cleaned dump of a network capture (the service is running for days and have already handle hundreds of files (in the container))
POST /api/v1/task/ HTTP/1.1
Host: service-server:5003
User-Agent: python-requests/2.28.1
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
X_APIKEY: XXXXXXXXXXXXXXXXXXXXXXXXXX
service_name: SVCX
timeout: 30
sha256: 8ffe255bceddb1a9a9bb1811f0a3a8f92e787d3ce0124350e8781d4622db7bca
classification: TLP:W
ttl: 30
is_section_image: False
Content-Length: 1965
Content-Type: application/json

{"task": {"sid": "4EOJWTscQ8fpXXXXI", "metadata": {"dispatcher__": "04395552cb694a809ca029ce3eac7bbf", ... "service_tool_version": "27043:Tue Sep 26 07:37:41 2023:-4897317332869671175", ..., "freshen": true}HTTP/1.1 200 OK
...

GET /api/v1/task/ HTTP/1.1
Host: service-server:5003
User-Agent: python-requests/2.28.1
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
X_APIKEY: XXXXXXXXXXXXXXXXXXXXXXXXXXX
service_name: SVCX
timeout: 30
sha256: 8ffe255bceddb1a9a9bb1811f0a3a8f92e787d3ce0124350e8781d4622db7bca
classification: TLP:W
ttl: 30
is_section_image: False

The capture here show that after sending a response task, the service still does not set service_tool_version
If a find a solution I'll come here later.
Thank you again.

Are you able to comment on whether or not this is happening on a particular service or across all services that are unprivileged?

I have updated my patch, the bug was not where I thought.
The bug is in download_file 372.
Here the code uses self.headers to call with_retry but self.headers is never updated with the service_tool_version.
I suggest to update self.headers at the same time that self.session.headers

@glimps-jbo  Can you please add another test underneath this line
https://github.com/CybercentreCanada/assemblyline-service-client/blob/ebd3f6bcbd70f15b235fe5a6ddb75b1aecbb202d/tests/test_task_handler.py#L509
to confirm that assert default_th.headers["service_tool_version"] == "123"

Well the download_file API doesn't use the service_tool_version since it's just fetching the file based on the given SHA256, so adding the header for the API call shouldn't really do anything.
If the issue at hand pertains to result caching, then I would expect the get_task API to be involved in the issue.

The real issue here is that when a call to download_file is called the code override self.sessions['service_tool_version'] with the value of self.headers['service_tool_version']. From here, the API will never reset self.sessions['service_tool_version'] with the real tool version.
So it should have a self.headers and self.sessions.headers synchronized.

Alright, let's take a step back (at least so I can wrap my head around this 😅):

init(): Client is initialized, self.headers = None
start():

self.service_tool_version is set to whatever is in the manifest. (ie. for YARA there is no tool_version set, therefore it remains None)
So self.headers['service_tool_version'] = None && self.session.headers['service_tool_version'] = None

try_run() 1:

get_task()is called with self.service_tool_version still null so the header isn't changed when asking SS for a task (so caching doesn't work here)
download_file() is then called which causes self.session.headers to update with self.headers, 'service_tool_version' header still isn't changed but doesn't matter for this API called
Assuming no service error, handle_task_result() is called

new_tool_version should be the value that's assigned to the service's results (in the case of YARA, it's a combination of the YARA version and the ruleset version given here)
new_tool_version should definitely not be null and shouldn't match the current self.service_tool_version which is null

So self.service_tool_version should be assigned the value from the service's results and self.session.headers['service_tool_version'] gets updated with the new version

Extracted/Supplementary, if any, and the completed result gets pushed back to SS

try_run() 2:

get_task()is called again and this time self.service_tool_version has a value based on the previous completed result. So it will update the headers with the new value which will update the self.session.headers in the request_with_retries() call

At this point, caching should work if the next file that's tasked hasn't already been analyzed by this service. SS will determine this based on the service information that's passed in the headers

download_file() is then called which causes self.session.headers to update with self.headers, this does cause self.session.headers['service_tool_version'] to be null but for this API call, it doesn't matter
Assuming the service_tool_version value doesn't change in the results, then self.service_tool_version doesn't change and self.session.headers doesn't change (so self.session.headers['service_tool_version'] = None)

try_run() 3+: The results will be similar to 4. because the self.session.headers['service_tool_version'] will always be updated before the  request_with_retries() call as long as self.service_tool_version is not null

So this means that the service_tool_version should always be set in the get_task() call except for the first task, depending on if the tool_version is set in the service manifest that's on disk.

I Agree, except that get_task does not update session.headers for service_tool_version. That's what I suggested to do in my first version, before finding that the call to download_file was removing that header.

Right sorry, I didn't realize I was looking at your first commit when I was doing the write up.
In which case, that would've solved the issue at hand. The more recent commit also does solve this issue and helps maintain synchronicity of the headers.
Happy to merge, thanks for bearing with me! 😅


docs: Renaming AzureAD to Entra ID, part two.

This is a follow-up to #32693, which missed a bunch of places due to varying ways of typing Azure AD. (Azure AD, Azure Active Directory etc.)
In the diff there's an apparent inconsistency with renaming, in some places renaming to just "Microsoft Entra ID" and in others "Microsoft Entra ID (AzureAD)".
The idea is to add (AzureAD) in ordinary documentation, as it can help clarity since many people still think of this as AzureAD, while sticking with brevity and cleanliness of just using the official name in marketing focused material.

The most important place to consider renaming is the:

in Organization settings -> Authentication methods we still show AzureAD
If enabled, on the login page the 'Login with AzureAD' button. The logo it uses is also outdated I think:

So we should probably change that, but on the other hand it might cause user confusion? Not sure...
And finally, less important, there's the non-user-facing backend name in the codebase:
zproject.backends.AzureADAuthBackend as @timabbott pointed out. This is just admin-facing and if we rename it, then servers will either have to rename it in their settings.py when upgrading or we need to add backwards-compatibility translation. Honestly I'd rather leave it as it is, any admin using this backend probably knows this product as AzureAD anyway. python-social-auth hasn't renamed these either.
I'll open a #backend thread later. Just not sure if we want to discuss just the backend name change there, or also the UI elements from point (1) and (2) above.

Updating the logo sounds right to me. I'm sure it's changed on the other products they use with that auth method.

Merged, thanks @mateuszmandera!


Powershell.exe

Hello,
In a standard WSL2 image I am able to run powershell.exe in the WSL bash terminal in order to interact with the host Powershell.
I am unable to do so from the Fedora image.
This would be useful to allow automated port mapping on the HOST IP to podman services.
I could add the following lines to my service file as ExecStartPost and add the appropriate lines for the ExecStopPost to remove the entries.
netsh interface portproxy add v4tov4 listenport=<HOST PORT> connectport=<PODMAN MACHINE PORT> connectaddress=<PODMAN MACHINE IP>
New-NetFirewallRule -DisplayName "$($RuleName)" -Description "Rule to allow incoming traffic to port proxy to the Podman WSL2 machine instance." -Group "Podman Port Proxy" -Enabled True -Profile Any -Direction Inbound -Action Allow -Protocol TCP -LocalPort <HOST PORT>

This needs a binfmt registration. I think this can be set with:
sudo echo ":WSLInterop:M::MZ::/init:" > /proc/sys/fs/binfmt_misc/register

If this works this could be set from the podman machine init. I don't think this needs an image change.

Thanks for your input, unfortunately, I no longer have a Windows Podman setup to test this with.

This needs a binfmt registration. I think this can be set with:
sudo echo ":WSLInterop:M::MZ::/init:" > /proc/sys/fs/binfmt_misc/register

If this works this could be set from the podman machine init. I don't think this needs an image change.

I didn't try this, as one only needs to exit the nested namespace. pwsh.exe can be run from the parent namespace.


Expose Header component

Summary

Users should be able to import { Header } from 'carbon-addons-iot-react'

Change List (commits, features, bugs, etc)

src/index.js

Related Issues

Closes IBM/carbon-addons-iot-react#142

Acceptance Test (how to verify the PR)

Verify if the Header component can be used externally.

canceled in favor of the other PR


Added web-push support

Motivation
JIRA: https://issues.jboss.org/browse/AEROGEAR-9895
Description

Added support for the webpush
Changed the library so that it can used without cordova (for webpush)
Refactored the code adding some OO structure

Checklist

[x] npm test passes
[x] npm run build works
[x] tests are included
[ ] documentation is changed or added

@ziccardi Initial idea of the package was that it will handle registration only and it could be used in cordova and other plugins. Then we kinda brought some Cordova specific code here, but we might revise this completely and move out cordova and have a separate packages for webpush.
Generally, all depends on how much code/changes/dependencies we will need to add here.
At this point, it looks like the amount of the changes will be small and we are ok with this.

Just a quick note,
Chrome and firefox both work great on Windows with this.
Edge can register just fine, but unregistration causes a problem due to the "?" token in the endpoint field in the registration info.  We use this registration info in place of the device token.
Perhaps we should discuss transforming the webpush registration information into some way (base64 encode?) and change how the server treats the it.

Just a quick note,
Chrome and firefox both work great on Windows with this.
Edge can register just fine, but unregistration causes a problem due to the "?" token in the endpoint field in the registration info. We use this registration info in place of the device token.
Perhaps we should discuss transforming the webpush registration information into some way (base64 encode?) and change how the server treats the it.

Done!


Certificate's style places top border above viewport on certain viewport sizes

Issue Description
When viewing certificates, if:

the viewport width is greater than 768px, and
the viewport height is less than ~1000px,

then the top border of the certificate is rendered above the top of the viewport, and thus cut off. This looks unprofessional.
This issue does not appear to happen at smaller screen sizes as the media queries remove the .container div's border.
Software
I'm seeing this issue on a 64-bit W10 machine, both in Chrome (75.0.3770) and Firefox (67.0.4).
Proposed solution

For @media (min-width: 768px), update the .certificate-wrapper to have margin-top: 30px.
For @media (min-width: 992px), update the .certificate-wrapper to have margin-top: 90px.

Hey, thanks for the report.  Could you take a screenshot of the problem?  I tried various window sizes and could not find one which cut off the border.  Generally it looks like this:

In the console so you can see the size of the window.

Sure thing!

Thanks!  I've finally managed to reproduce it - I just need to figure out why it only seems to be an issue on Windows.

@JulianNF I had a look at this on master and discovered that the buggy behaviour isn't there any more.  In the process I found that there is some redundant css associated with this, which I'll see about removing.
However, I'm closing this, since the fix is on the way.  Thanks again for the report!


Not-null constraint not working for types that encode and decode with a SingleValuedContainer

I am having an issue with storing the following model in my database:
final class User {
    var id: String?
    var name: CiString36?
}
extension User: PostgreSQLStringModel {}
extension User: Migration {}

Where CiString36 is defined as:
final class CiString36: Codable {
    var MAX_STRING_LENGTH: Int = 36
    var value: String

    init(_ string: String) throws {
        if string.count <= MAX_STRING_LENGTH {
            value = string
        } else {
            throw ModelError.SizeError("Got string of size \(string.count), expected <= \(MAX_STRING_LENGTH)")
        }
    }
    init(from decoder: Decoder) throws {
        let container = try decoder.singleValueContainer()
        let string = try container.decode(String.self)
        if string.count <= MAX_STRING_LENGTH {
            value = string
        } else {
            throw ModelError.SizeError("Got string of size \(string.count), expected <= \(MAX_STRING_LENGTH)")
        }
    }
    func encode(to encoder: Encoder) throws {
        var container = encoder.singleValueContainer()
        try container.encode(value)
    }
}

When I try to store a User with name set to nil in my database, I get the error:
"null value in column \"name\" violates not-null constraint"

When I look at the SQL queries that are executed when creating the table, I see that the NOT-NULL constraint is not properly handled:
CREATE TABLE "User" ("id" TEXT NOT NULL CONSTRAINT "pk:User.id" PRIMARY KEY, "name" TEXT NOT NULL)

It recognizes that CiString36 Encodes and Decodes to a string, and creates the column of type text. However, the name field from User is set to NOT NULL despite name being an optional variable.
Optional types seem to work fine in all other situations. Only types that encode and decode using a SingleValuedContainer have this issue.
Is this intended behaviour? And if so, is there a different way to do this?
Edit: Also if I remove the NOT NULL constraint from the name column manually using for example PGAdmin, everything works fine again until I recreate the table.

@olijzenga for this, I'd recommend implementing the prepare method for the migration. The auto-migrations have very limited ability to infer things like this.
Check out the docs here: https://docs.vapor.codes/3.0/fluent/migrations/#custom-migrations
Lmk if you have any other questions, thanks :)


Added Channels enum in botbuilder-schema for ChannelIds constants

Fixes #1100
Description

Currently Channel Ids were defined tucked away in prompt choices, but were being used by other dialogs (such as OAuthPrompt)
Additionally we have new adapters for new channels coming, and each one has a const for the channelId
It's better to have the channelIds in botframework-schema, to help avoid future collisions

Can't put the channelIds in bb-connector as in C#, because the dialogs library is supposed to be browser-friendly, and connector has node dependencies

Specific Changes

Created readonly string enum in botbuilder-schema to define channelId constants
Changed references in the various classes and tests to point to new channels enum

Note to self: want to fix import statements --got it to work using relative path, but it's not letting me (without finicking with it some more) reference via module

(Breaking on the postinstalls step again, like in abortWebSocketUpgrade() PR )
Note: package.json of botbuilder-dialogs currently is pointing to relative path to botframework-schema, as the current published version doesn't have the new Channels enum bits.
Consider changing to version number once it is published?

@Zerryth CAn we get this resolved & closed out today?

Pull Request Test Coverage Report for Build 108409

22 of 22 (100.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.03%) to 72.924%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-dialogs/src/prompts/oauthPrompt.ts
1
71.19%

Totals

Change from base Build 108222:
0.03%

Covered Lines:
8781

Relevant Lines:
11501

💛  - Coveralls

@stevengum @cleemullins fixed bb-core references in OauthPrompt and OAuthPrompt's tests
Right now it looks like check that is failing is unrelated to this PR? (It's that non-deterministic TokenResolver test:

)

@Zerryth can you file a bug for that failing test, and label it as R9, engineering, P1?

Done! Michael beat me to it :satisfied:.


[automate-2104] reset items in ngrx/store betweeen GET requests

:nut_and_bolt: Description: What code changed, and why?
We have some data leakage issues between the auth list and details pages. If you navigate to the list page and then go to one of the details pages, the data still exists in the store and gets loaded on the details page. This is a problem in cases when a user might have List permission but not Get permission.

[x] tokens
[x] users
[x] teams

:chains: Related Resources

follow-up: https://github.com/chef/automate/issues/2138
in the future we may rethink what data our List and Get APIs should be returning

:+1: Definition of Done

[x] the tokens details page always displays fresh data from the API instead of pulling stale data from the store
[x] the teams details page always displays fresh data from the API instead of pulling stale data from the store
[x] the users details page always displays fresh data from the API instead of pulling stale data from the store

:athletic_shoe: How to Build and Test the Change
$ export TOK=`chef-automate iam token create adm --admin`

$ echo '{
    "name": "testing",
    "id": "test1",
    "members": [
      "user:local:coolbean"
    ],
    "statements": [
      {
        "effect": "ALLOW",
        "actions": ["iam:*:list"],
        "projects": [
          "*"
        ]
      }
    ],
    "projects": []
  }' >> pol.json

$ curl -kH "api-token: $TOK" -X POST -d @pol.json https://localhost/apis/iam/v2beta/policies | jq

{
  "policy": {
    "name": "testing",
    "id": "test1",
    "type": "CUSTOM",
    "members": [
      "user:local:coolbean"
    ],
    "statements": [
      {
        "effect": "ALLOW",
        "actions": [
          "iam:*:list"
        ],
        "role": "",
        "resources": [
          "*"
        ],
        "projects": [
          "*"
        ]
      }
    ],
    "projects": []
  }
}

Log in to the UI
Create some tokens, users, teams
Create user coolbean and log in as that user
Navigate to https://a2-dev.test/settings/tokens
Make a token and go to its details page
None of that token's data will load, all the fields will be blank
Repeat with teams and users

:white_check_mark: Checklist

[ ] Tests added/updated?
[ ] Docs added/updated?

:camera: Screenshots, if applicable

I am seeing this problem on this branch. When you delete a user on the Users page the row is not removed until the page is refreshed. I did not see where this change was in the code though.

I think I found another error that may be related to what @lancewf reported: Users >> Create User >> [x], i.e., after opening the "create user" modal attempt to close it with the [x] and it does not close. The "cancel" button, however does work correctly.


PReLU num_parameters

Hi,
In your SRResNet model, you define PReLU num_parameters = 256 in the upscale block. Shouldn't it be 64? I mean, after the PixelShuffle you should have 64 channels.

Hi,
the figure in the paper is a bit ambiguous about that, but I think you are right.
Thanks for the hint. Unfortunately, I cannot fix that issue without retraining the pretrained checkpoints, for which I do not have the resources right now. It would be interesting if it makes a big difference at all.

I'm not sure it would make difference at all on second thought, because you used more parameters than necessary. I think it would make difference if you used less than 64 parameters.
I have a special interest in your implementation because I'm working on an improvement for this network, but I had some problems reproducing the original paper. Taking a look at what you've done, made me learn a bit more about it. Currently I made some changes on my model based on what you've done.
For now I have implemented the reflection padding layer (which I wasn't using prior to seeing your implementation). The main question I have about this is: is there any reason for not using nn.ReflectionPad2d? In your code you defined a function to take care of it, but at first glance I couldn't see much of a difference.
Also, you say your metrics grew monotonically during training process. My metrics are bouncing a bit and I'm unsure if it's going well. I'm using 450k images from Imagenet and after 16 epochs the best PSNR for Set5 I've got was 30.37 (4x). I'm training for 50 epochs, which is quite equivalent to the suggested 10^6 iterations in the original paper. Would you by chance have some detailed info on how your PSNR metrics developed, compared to Set5 HR images, through your training iterations?

For now I have implemented the reflection padding layer (which I wasn't using prior to seeing your implementation). The main question I have about this is: is there any reason for not using nn.ReflectionPad2d? In your code you defined a function to take care of it, but at first glance I couldn't see much of a difference.

I actually also use nn.ReflectionPad2d, as you can see here:
https://github.com/mseitzer/srgan/blob/70f88fbac26b5a3659847965befea2fdd49eb625/models/utils.py#L49
This is just a wrapper function so the padding can be chosen from the configuration file.

Also, you say your metrics grew monotonically during training process. My metrics are bouncing a bit and I'm unsure if it's going well. I'm using 450k images from Imagenet and after 16 epochs the best PSNR for Set5 I've got was 30.37 (4x). I'm training for 50 epochs, which is quite equivalent to the suggested 10^6 iterations in the original paper. Would you by chance have some detailed info on how your PSNR metrics developed, compared to Set5 HR images, through your training iterations?

I am sorry, I don't have any of the training metrics anymore I think, and also I did not evaluate on Set5 during training, but on BSDS100. It makes sense to me that PSNR on Set5 bounces around more, as it's just 5 images, so the variance of PSNR is larger. You could also try to evaluate on BSDS100, which is 100 images, and see if this makes the PSNR curve smoother. What about PSNR on the training set?


AShowMore Missing translation (DE)

URL: https://ilia-brykin.github.io/aloha/#/show-more
language: DE

fixed

Well done.


[DO NOT MREGE][CSL-1952] Rename 'wallet-new-server' into 'cardano-node'.

https://iohk.myjetbrains.com/youtrack/issue/CSL-1952
As discussed with @adinapoli-iohk - we need to eventually completely replace the calls, renaming the old to simply cardano-node-old and the new as cardano-node would do the trick and I think we should go for it, but then we shouldn’t merge the PR until this one is merged - https://github.com/input-output-hk/cardano-sl/pull/1986
This is because we want master to incorporate the current wallet-new whilst it's still not invoked. Then once we port completely the API we merge this PR and on the next merge of alfredo/wallet-new into master we should be in the position of start using wallet-new as if it was “the normal wallet”.

No merging until #1986 is merged.

Rebased to branch feature/new-wallet - https://github.com/input-output-hk/cardano-sl/pull/2021


Adding SQL Mgmt

Coverage increased (+0.002%) to 55.902% when pulling 579d7b3791aac84690283c355965e5bd756299f9 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.0003%) to 55.899% when pulling e79cb85f3f34970a96df3bf23f0940c4a3c5b882 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.0003%) to 55.899% when pulling e79cb85f3f34970a96df3bf23f0940c4a3c5b882 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.0003%) to 55.899% when pulling e79cb85f3f34970a96df3bf23f0940c4a3c5b882 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.0003%) to 55.899% when pulling e79cb85f3f34970a96df3bf23f0940c4a3c5b882 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.6%) to 55.343% when pulling db41f01ade986251556c1e753c3aa72bf91f9e16 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.6%) to 55.343% when pulling db41f01ade986251556c1e753c3aa72bf91f9e16 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.6%) to 55.343% when pulling db41f01ade986251556c1e753c3aa72bf91f9e16 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

I'm not having any success in generating docs for the mgmt.sql stuff. I can generate ref/azure.mgmt.sql.rst but the resultant html files end up empty. (python ./generate_doc.py; make). Am I missing a step?

Hi @thenewwazoo
This is a work in progress, I didn't try yet to generate the documentation of SQL. However, you find the good way to add a new client into the documentation, this should work.
I plan to merge this PR this week, and should be able to publish the package on PyPI with documentation on readthedocs.

No worries - I'm working on adopting this branch and discovered that doc generation didn't seem to be succeeding. If I find any other issues, is this the best place to report them?

@thenewwazoo Any SQL feedbacks are welcome! Here if the PR is still opened, on issue if released.
Thanks!

Coverage decreased (-0.6%) to 55.253% when pulling 46a0804bfe1f6f5d4949bd18a2a875301bfbec94 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

Coverage decreased (-0.6%) to 55.253% when pulling 9ee91bd0ce2292b4fc9fecfc7e7d962d1b6a7bc2 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.

@thenewwazoo Built the readthedocs doc with no problem:

Coverage decreased (-0.3%) to 55.557% when pulling fe00c063aa1cc1c3235f69d25cf791fb1eb7beb9 on sql_mgmt into 098e4e9f5d373a07527ca234b68d71d0a7552019 on master.


smalltime always advancing the day on drag

Hi unsol,
every time I change the time in my world by dragging the slider small time advances by a day.
the buttons on the bottom are moving the date in the expected but time in the wrong direction.
The world clock is missing a minute every time.
Modules: About time
System: pf2e
I can give you access to a world where this is happening, you know who I am :)

Heya. I'm assuming latest versions of everything? I think we're pretty in sync with both AT and PF2 now, can't repro this. Thing to try: Make a note of your current date/time if it's important to you, then in the PF2 clock settings screen hit the reset button. See if things sync up after that.

just updated, so yeah. will try that after my game today.

Got back to it.
The issue appears when you move the world time to the past. (just advance backwards a bit in a new world and see the magic)
insert :stress:

Okay, I'm seeing something here, but want to clarify:
If the current time is earlier than the world-start date, dragging the sun/moon still sets the time as expected, and the date remains accurate, but the decrement buttons work backwards — they only advance the time. That's what I'm able to reproduce here, but I don't see any of the other things in your original post.

Fixed the increment/decrement buttons in pre-epoch times in 1.8.8 — hope that clears this up, lemme know if there's still some other buggy aspect here.


Unwanted __typename in generated queries and mutations

How did you install the Amplify CLI?
npm, amplify upgrade
If applicable, what version of Node.js are you using?
18.16
Amplify CLI Version
12.1.0
What operating system are you using?
Windows 11
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

Describe the bug
export const lookupStuff = /* GraphQL */   query LookupStuff($lookuptype: LookupType!, $lookupvalue: String!) {     lookupStuff(lookuptype: $lookuptype, lookupvalue: $lookupvalue) {       Success       ErrorCode       ErrorMessage       Stuff {         name         twolettercode         threelettercode         member         __typename       }       __typename     }   };
Version 12.0.3 did not generate the __typename field in the generated queries via CodeGen statements.
Expected behavior
I would not expect the __typename fields in the queries.ts and the mutations.ts.
Reproduction steps
Project type is a React web-app in TypeScript.
Schema.Graphql:
type Query {
lookupStuff(lookuptype: StuffLookupType!, lookupvalue: String!): StuffResponse
}
Command:
amplify codegen statements
Project Identifier
I have already switched back to 12.0.3 to have the statements as we expect.
Log output

# Put your logs below this line

Additional information

Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

hey @roelvandenbrand ,👋 thanks for raising this! I'm going to transfer this over to our Amplify codegen repo for better assistance 🙂

Thx! But it seems to have occurred after the cli update to 12.1, the latest version of codegen has not changed for a few weeks.

__typename was added to align with the generated TypeScript types.
@roelvandenbrand could you share what issues this is causing for you?
You can remove __typename by modifying .graphqlconfig.yml at the root of your project.
projects:
  <project-name>:
    extensions:
      amplify:
        typenameIntrospection: false

Thx! I will try that, it was already in the model, but it just appeared in the generated queries after the 12.1 release.

export type Organisation = {
__typename: "Organisation",
id: string,
name: string,
description?: string | null,
isdeleted?: boolean | null,
cnumber: number,
logourl?: string | null,
createdAt: string,
updatedAt: string,
};
Even with the setting, it is still in the models. but not in the queries.ts and mutations.ts even with the latest version of Amplify, thx!

The configuration will only affect the selection set and not the generated TypeScript types. __typename has been included in the generated TypeScript types for some time. (At least since v7.6.21 according to this issue: https://github.com/aws-amplify/amplify-codegen/issues/445)
Adding __typename to the selection set was done so that the generated TypeScript types were actually accurate to data being transmitted. The configuration was added at the same time in case of any unseen adverse effects.

Hi, is there any option field to turn off the "typeNames" from data ?, many of my queries are now broken because I was matching the old object (without typeNames) when sending mutations and other requests, but now I have mutations / requests that don't match , thanks by advance

You can remove __typename by modifying .graphqlconfig.yml at the root of your project.
projects:
  <project-name>:
    extensions:
      amplify:
        typenameIntrospection: false

Then run amplify codegen statements.

__typename was added to align with the generated TypeScript types.
@roelvandenbrand could you share what issues this is causing for you?
You can remove __typename by modifying .graphqlconfig.yml at the root of your project.
projects:
  <project-name>:
    extensions:
      amplify:
        typenameIntrospection: false

Fixed my problem which occurs when I upgraded the cli. Thanks

You can remove __typename by modifying .graphqlconfig.yml at the root of your project.
projects:
  <project-name>:
    extensions:
      amplify:
        typenameIntrospection: false

Then run amplify codegen statements.

Is it possible to find documentation on this configuration file?

There is not much documentation on the config file. https://docs.amplify.aws/cli/graphql/client-code-generation/#create-api-then-automatically-generate-code
Most parameters in this file are set by amplify add codegen/amplify configure codegen.


pull request for e2e test at 11/20/2016 11:26:05

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Call for help. It dosent work when I run demo.py with iphone datasets.

I think I run the setup stuff well. But when I run demo, it dosent work.I realy dont know why.Call for help.

@jiadeng Please give me some advise to figure out.

I get it with "export LD_LIBRARY_PATH=/usr/local/lib"

I suggest using our Docker container which has the visualization libraries pre-installed.
You can also remove --viz which disables the visualization altogether.


Cannot read property 'Manager' of undefined

Description
Previously I was getting error "anonymous define" related to hammerjs and I read the conversations in https://github.com/Dogfalo/materialize/pull/794 and I updated the library. Now I am consistently getting "Cannot read property 'Manager' of undefined" error. It points out line 258 in materialize.js :
Hammer.Manager.prototype.emit = (function(originalEmit) {         return function(type, data) {             originalEmit.call(this, type, data);             $(this.element).trigger({                 type: type,                 gesture: data             });         };     })(Hammer.Manager.prototype.emit);
I am using it with requirejs and sharing the related part of the config file :
paths: {         // libs         "angular": "lib/angular/angular",         "angularAMD" : "lib/angularAMD/angularAMD",         "angular-ui-router": "lib/angular-ui-router/angular-ui-router",         "angular-file-upload": "lib/angular-file-upload/angular-file-upload",         "angular-animate": "lib/angular-animate/angular-animate",         "angular-translate": "lib/angular-translate/angular-translate",         "angular-sanitize": "lib/angular-sanitize/angular-sanitize",         "jquery": "lib/jquery/jquery",         "materialize": "lib/materialize/materialize",         "hammerjs": "lib/hammer/hammer",         "picker": "lib/date-picker/picker",         "picker-date": "lib/date-picker/picker.date",         "pub-sub": "lib/pub-sub/pubsub",         "emojione": "lib/emojione/emojione",     },     // modules that does not support AMD out of the box, put it in a shim     shim: {         "jquery": {             exports: "$"         },         "angular": {             deps: ["jquery"],             exports: "angular"         },         "angular-ui-router": ["angular"],         "angularAMD": ["angular"],         "hammerjs": ["jquery"],         "picker": ["jquery"],         "picker-date": ["jquery"],         "materialize": ["jquery", "hammerjs", "picker", "picker-date"],         "angular-file-upload": ["angular"],          "angular-animate": ["angular"],         "angular-translate": ["angular"],         "angular-sanitize": ["angular"]     },

Where you able to reslove the problem?

Closed due inactivity. Feel free to reopen it, if it's still necessary.

I'm facing the same problem. How you fixed this issue?

Ok I solved this issue by running command npm i --save-dev @types/hammerjs and adding import * as hammer from 'hammerjs'; in code.


Detach view from presenter to avoid memory leaks

Currently, the MainActivity is never detached from the presenter that will hold on to that reference forever, thus, leaking memory.
With this change we call the presenter's detachView() when the MainActivity is destroyed.
Otherwise, this is what happens after rotating the screen (27 instances of MainActivity):

Can one of the admins verify this patch?

Good one, thanks!

@bhurling @ivacf Hi, i',m having difficulty to understand the leak. Can you explain why there is a leak? When Activity is destroyed, all of its variables are assigned to null, so Presenter object as well? If Presenter object in Activity is null, what happens to Presenter's objects? Are they assigned to null or still holds reference?
If there is leak in here, is it same in case of creating Adapter in Activity for RecyclerView? I always pass Activity Context to adapter so it was always a leak?
Thanks in advance

@ribotaccounts

It's the Subscription object that is created in the loadRibots() method and
that we only unsubscribe from when we detach the view. This object holds a
reference to its outer class (MainPresenter) and that one holds a reference
to the MainActivity via mMvpView.
The Subscription object itself is referenced by the static singleton
instance of DatabaseHelper through lots of intermediate references. I
attached the full reference stack as a picture:

All of that will only be cleaned up when we unsubscribe as we do in
onDetach()
Hope I could help.
2016-02-22 10:34 GMT+01:00 Jemshit Iskenderov<EMAIL_ADDRESS>
@ribotaccounts https://github.com/ribotaccounts
—
Reply to this email directly or view it on GitHub
https://github.com/ribot/android-boilerplate/pull/31#issuecomment-187093916
.

@bhurling thanks a lot :+1:


Why database reference being posted as an argument in the example?

Hey,
Is this a common practice to initialize db on server start and then push it as am argument everywhere? I used to initialize it and expose it as a module to all other modules, so i can do something like this anywhere:
import {update} from '../database'

export default (req, res) => {
  // yet another api method
}

Is the solution from this repo somehow better? It doesn't look more convenient.
Thank you!

Hi there! Exposing an instance of something stateful like a database connection by exporting it from a module is called a singleton. It works, but it makes things more difficult down the line - you can't instantiate anything that depends on the DB module because you cant pass things a different db.
The technique shown here is just to use factories within each module, basically acting as a form of lightweight Dependency Injection. That way you can mix and match instances without running into cases that require mocking out the DB module.
Hope that explanation helps!

Well explained @developit! this has been inactive for a while and rather close it for now, hoping @anton-aleksandrov will re-open in case they've got any further question we are always happy to assist!


fix:更正source/01_welcome_to_swift/03_a_swift_tour.md中代码错误

更正代码块内容，否则运行完上文代码后，运行该代码会提示未找到nickname变量
error: cannot find 'nickname' in scope

We appreciate your feedback. Our current focus is on translating Swift 6 content, while older versions will remain as is. Thank you for your understanding


Can't send/receive audio

Please describe the problem you are having in as much detail as possible:
I tried the examples from https://discord.js.org/#/docs/main/stable/topics/voice and I can't get my bot to play any audio to the voice channel. (using .playFile or .playStream)
The console log also shows that the end event is called right after the start event.

(Not the main topic here, but receiving audio also doesn't seem to work)
Include a reproducible code sample here, if possible:
if (message.content === '/join') {
        // Only try to join the sender's voice channel if they are in one themselves
        if (message.member.voiceChannel) {
            message.member.voiceChannel.join()
                .then(connection => { // Connection is an instance of VoiceConnection
                    message.reply('I have successfully connected to the channel!');
                    console.log(fs.existsSync("/home/inventivetalent/discordBot/test/test.mp3"))
                    const dispatcher = connection.playFile('/home/inventivetalent/discordBot/test/test.mp3');
                    dispatcher.on("start",()=>{
                        console.log("START")
                    })
                    dispatcher.on("end",()=>{
                        console.log("END")
                    })
                    dispatcher.on('error', e => {
                        console.log(e);
                    });
                })
                .catch(console.log);
        } else {
            message.reply('You need to join a voice channel first!');
        }
    }

Further details:

discord.js version: 11.2.1
node.js version: v6.11.3
Operating system: Linux (Ubuntu 14.04.5 LTS)
Priority this issue should have: Would be nice to get some help , or a fix c:

Nevermind. The sending-audio issue was solved by updating to Node >8.0.0


Clarify default queue

Fix for #980
Thanks for raising @niceking !

Good point. Let's add it if folks start asking about that.


Bug: Imposter transforms variables with namespace keyword

Hi,
While working with sabre/xml package I found that Imposter transforms variables with namespace keyword, used as a function argument or just in code.
For example,
function dummyFunction(string $namespace = null) : array {
  // code
}

becomes:
function dummyFunction(string $namespace MyPlugin\Vendor\= null) : array {
  // code
}

which caused PHP Fatal error (syntax error).

Not only variables, also comments that contain the word "namespace".

Can confirm, same thing happened to me. It wasn't immediately obvious either what the problem was since autoloading fails halfway through and PHP simply reports 'Class not found' during runtime.

Same here.
$_namespace = var_export($ns, true);

Gets replaced with
$_namespace Prefixed\Namespace\Vendor\= var_export($ns, true);

Sorry for the delay.
It should be fixed by #82
Can you guys test it (dev-master)?
Re-open this issue if the problem persists

Seem to work well in my case now!


Feature: Unique Column Values (Aggregation)

SDK
Python
Description
I needed a list of values for a given column. In the future, I may actually want this to be a facet (unique value with counts).
Here is how I implemented it:
    def labels(self) -> List[str]:
        # Access the scanner
        # noinspection PyProtectedMember
        scanner = self.table._dataset.scanner(columns=["label"])

        # Extract the 'label' column and find unique values
        unique_labels = set()
        for batch in scanner.to_batches():
            unique_labels.update(batch.column("label").to_pylist())

        # Return the sorted list of unique labels
        return sorted(unique_labels)

With larger datasets I am worried this will become very inefficient and would appreciate a more scalable apporach.

For aggregation queries, we recommend using the DuckDB integration. They have some of the fastest and most efficient aggregation algorithms around, so I think it would be a much more scalable approach. Data is streamed from LanceDB to DuckDB using Apache Arrow.
https://lancedb.github.io/lancedb/python/duckdb/

Tantivy does have a facet search feature, but is this just not as performant to use compared to DuckDB?
Is it still possible to use this tantivy feature in LanceDB even though it may be less performant?


Is Private Endpoint ASG Support on the Roadmap?

Does Azure plan to support associating private endpoint with ASG?
Thank you!
[Enter feedback here]

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

ID: b006a616-2f2f-8ecf-8b80-fd0a3cc62090
Version Independent ID: 92c54dc6-8ddf-b1f7-4a58-d61b8cd7fe25
Content: What is an Azure Private Endpoint?
Content Source: articles/private-link/private-endpoint-overview.md
Service: private-link
GitHub Login: @malopMSFT
Microsoft Alias: allensu

@RonnieQuan Thanks for the comment. We are checking on this and will get back to you shortly.

@RonnieQuan , I checked with the Private Endpoint PG team and they informed - Yes, Azure plan to support associating private endpoint with ASG and the approx. ETA is Q1 of calendar year 2021.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


custom datasource sample

Is it possible to add a new search provider (eg. elastic) as a custom datasource? Is there any sample or which is the right extension point for doing this?

There is no easy way today as an ext the two sources we have are hard coded in. That said, you can extend the approach and add more sources - as it's built to be extensible. Check the SP and Graph data sources in the v4 source code.

@schlechtweg custom data sources are not supported in this version. You can certainly add a new hard coded data source based on existing code for your own requirements. However, this solution main goal is to target SharePoint and Microsoft Search only. Elastic search is not in the scope.

Thanks for the answers. Elasticsearch is only given as an example. The primary concern is that many companies already have a commercial search engine in use and want to display it in the M365.

@schlechtweg Assuming the reach for a provider is large enough we can accept PR's to have them added as default in the web parts. M365 is a big eco system and as OOB search (Microsoft Search) is adding in external data in different ways going forward there is no reason this project should not follow to support federation.
Ideally we would have extension to have more providers, but then we need the work done to support this. And you are free to help out 👍


Migrate to slash commands

I think we should start migrating to slash commands.
It will especially be useful for commands like !d and !rule, other than those, there are many cool commands which the server's users may not even know of, for example: !listcomp or ;) !or and so on. I think if we migrated to slash commands and added autofill for some commands, it would really help people who are helping others to pull up examples faster.
Many times, I had the issue of not knowing the exact command, for !list-comp or !list-comprehension or !listcomp and that was quite annoying, if we have some kind of completions for the commands, the community could profit, in time, and ease of use of the bot.
disnake server has an amazing command for this:

Well this would be cool, I believe with the commands !rule and !d it would be too cluttered (especially on mobile) and it would be easier to leave it as is.

there are many cool commands which the server's users may not even know of, for example: !listcomp or ;) !or

Thats why there is a !tags command, although I do agree they are still hidden.
Would love to continue this discussion, if you have any more ideas.

I am going to be honest, I've been on the server for quite a long time now and I've never seen the !tags command, only now, once you've told me it exists, did I check it out. That command is very useful indeed to remember all the tags and give people formatted, clean, pretty descriptions to poythonic or general computer topics.
Though I still think the community would gain more from slash commands than suffer from the clutter on mobiles. Without a doubt the discord slash command view is terrible on mobile, nevertheless, I think the server is constantly evolving, from ticket-like channel help system to forum pages, from event to event to server is quickly evolving and adapting to changes, so it's really puzzling when there are no slash commands on the server yet.
I think the main benefits of slash commands would be to allow the users of the server to view all the commands that are available at their screen's reach, without having to dig through the source code here or go through any other troubles. Just my opinion tho

We've already begun a slow but steady migration to using the new features. We already have a bunch of buttons in places, and we're about to start using context menus for bookmarks. Our approach to all of these is to create these new slash commands as alternatives, while keeping the text commands as they are. People can use whichever they prefer the most. I am completely in favor of creating these alternative slash commands for commands that would benefit from them (not all commands do, it's important to keep that in mind).

Oh, and this would probably have to be a whole project on it's own as we have quite a few commands and migrating to slash commands would be a lot of work.

Duplicate of #2188, will close that one since this has more discussion, but please check for existing issues before opening a new one in the future.

While I agree most of our commands could work as slash commands, I do not believe one mega-issue is the best approach for migrating.
Instead I'd suggest raiding raising an issue on a per-command basis, describing the benefit of migrating it to a slash command, and a proposed implementation. Each issue can then be separately approved by a core dev when appropriate.


v0.0.6

Refactor + cleaning
Update deps
Introduce docker plugin tag -with-mount to store cache rclone volume (experimental)
Updated rclone
Based on rclone official image (version configurable)

Codecov Report

Merging #19 into master will increase coverage by 0.4%.
The diff coverage is 0%.

@@           Coverage Diff            @@
##           master     #19     +/-   ##
========================================
+ Coverage    6.41%   6.81%   +0.4%
========================================
  Files           2       2
  Lines         234     220     -14
========================================
  Hits           15      15
+ Misses        218     204     -14
  Partials        1       1

Impacted Files
Coverage Δ

rclone/driver/tools.go
9.52% <ø> (+3.46%)
:arrow_up:

rclone/driver/driver.go
6.53% <0%> (+0.06%)
: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 e2a50c2...f2f5925. Read the comment docs.


Usage on Pro Dashboard should indicate that time period is monthly

Description
On the current Dashboard for Pro users, the PearAI Credit usage doesn't say that the time period is monthly, so it's not clear (and also sandwiched between two "annuals."
(originally opened incorrectly at: https://github.com/trypear/pearai-app/issues/330)
Steps to Reproduce

View Subscription & Usage at https://trypear.ai/dashboard with an annual Pro plan.

Expected Behavior
A clear indication that the time period is monthly
Actual Behavior
The usage is displayed with no indication of how long the time period is and it is sandwiched between the "annual" plan labels giving the impression that the usage is for the "Current Period" which is one year.
Additional Information

Sprint Board Tag

Related: #283

This seems to be handled by https://github.com/trypear/pear-landing-page/pull/285

outdated - new landng page


Fix bug causing intervals of cache not containing any groups

Fixes #129

Coverage increased (+0.09%) to 92.642% when pulling 437fc0dc06361f985e165cbd0ca069dcada01650 on bug/sync-ticker-set into 22ac4ed09d4c7c3bd44d4d2c509e1fb201e46eb7 on main.

Coverage increased (+0.2%) to 92.803% when pulling 437fc0dc06361f985e165cbd0ca069dcada01650 on bug/sync-ticker-set into 22ac4ed09d4c7c3bd44d4d2c509e1fb201e46eb7 on main.


Fix compilation errors while running Test class

Ran into the exact same issues, and fixed them the same way.

Thx for the contribution


Async

Just curious, because I see that your webclient has async code: Are there any plans to implement something like Entity Framework's ToListAsync?

I am not good in async programming, do you mean something similar to this? Or you need a full implementation of calling async methods of webclient?
public static System.Threading.Tasks.Task<List<TSource>> ToListAsync<TSource>(this IQueryable<TSource> source)
        {
           return System.Threading.Tasks.Task.Run(() => source.ToList());
        }

I thought about that as well, but when looking at the code in Entity Framework, it seems they have an IDbAsyncEnumerable that handles things. The "correct" way would probably be a ToListAsync that calls the webclient's async methods, but I'm no expert in LinqProviders/IQueryable. Don't know if Task.Run is just as good performance wise. Oh well, hopefully I get the time to look into it. Do you want me to close the issue or should it remain open?

thanks for your comment. I think this is a good request. Leave it opened for a while. I will also try to look how they implemented it in EF.

ToListAsync is available in version3
    public async Task SelectWithWhereToStringListTest()
    {
        var docs = await Service.AsQueryable<SolrDocument>().Take(50).Where(x => x.Name.StartsWith("A")).ToListAsync();
     }


Fix PropertiesToExcludeOnUpdate column selection issue with postgres.

Hello. I faced this bug recently and glad to find out it's already fixed. Is it possible that a fixed version will be released any time soon?


Add Tensat Examples

This PR adds some examples from Tensat. The Tensat repo dynamically estimates costs of certain operators based on the hardware on which it is run. I wrote some code to "scrape" these costs and then write them to the extraction-gym format.
A couple notes on this one:

The "bottom-up" algorithm appeared to infinite-loop for the nasneta examples here. I dug into this a bit and found that we were spending all of the time in tree_cost: the fix is to memoize duplicate calls in tree_cost and dag_cost. Things finish pretty fast after that.
One lesson from that paper is that ILPs can be encoded "naively" (without any constraints around cycles) if the e-graph is pruned ahead of time. The "acyclic" examples here include the results of that process.

I'm changed the format, but hopefully you can use the convert.py script to easily convert to the new format.

Will do! Need to re-merge some of the memoization stuff but that actually looks like it'll be easier to add with the new structure. I should have it done soon.

Should be good to go!

@ezrosent do you recall the pruning process? #14 notices some cycles present in even the _acyclic variants.

I just used https://github.com/uwplse/tensat + the sample code for exporting egg to the extraction-gym format. I don't think I modified tensat at all.
Maybe some of the cycle pruning happens during extraction in tensat? It's also possible that I invoked the tool incorrectly (though the acyclic variants are smaller here, so something is happening at least).

I can try and dig up the specific setup I had that generated this (old windows machine with an nvidia GPU), but in the near-term, we can probably just remove the _acyclic egraphs that have cycles in them?


Use compression for payloads

This should be possible with a custom converter

[ ] Build sample

This can be done with a custom converter, see the /converter sample


[Fix] Prevent outside click events for unmounted component

I have two nested components, each wrapped into own OutsideClickHandler. Both components is unmouning on outside clicks by calling a handler function. This handler functions are located in their parents and passed to the components in props. Handler functions are setting this.state which in turn unmount the child (our component, wrapped into OutsideClickHandler).
The problem appears when user make click out of the outer component of this pair. In this case the click event is emitting for both OutsideClickHandler components but the order of called handlers is:

outer/parent component
inner/child component

And therefore the inner/child component receive the outside click event after outer/parent component unmounted. In turn it's also trying to set state to unmount itself. At this moment the ReactJs show his warning:

Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.

I see that current implementation removes event listeners in the componentWillUnmount but this is not enough in the case of nested components, because event is already in queue and will call the handler anyway even after component is unmouned.

P.S. I used _isMounted because components still contains deprecated read-only isMounted property which always undefined.

I can try, but I have no experience with test frameworks.


[automate-2216] Supply missing field caption for team details

:nut_and_bolt: Description: What code changed, and why?
A bug was recently introduced that caused a field caption for team details
to disappear:

:+1: Definition of Done
Caption now appears on V2:

Caption now appears on V1:

:athletic_shoe: How to Build and Test the Change
rebuild automate-ui
Navigate to Settings >> Teams >> [team] >> Details
Try on both v1 and v2

@msorens does this also take care of the error message?

@blakestier : Yes, should have said. I have updated the images to show it.

yup 30px of space, @msorens is gonna add it when hes back


视频发布有文件大小限制吗？

报错内容
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 867, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 852, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/xhs_uploade/./api/app.py", line 33, in handle_upload_videos
result =upload_videos(cookies, title,videoPathUrl,coverPath,publishDatetimes,tags)
File "/xhs_uploade/api/upload_video_to_xhs_api.py", line 78, in upload_videos
note = xhs_client.create_video_note(
File "/usr/local/lib/python3.10/site-packages/xhs/core.py", line 940, in create_video_note
res = self.upload_file(
File "/usr/local/lib/python3.10/site-packages/xhs/core.py", line 767, in upload_file
raise Exception("video too large, < 5M")

5M 限制，因为超过 5M 用的分片上传我还没调通（不过有一点时间没调了）


TypeError: Cannot read property 'ɵcmp' of undefined

Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?

iOS/Android/Both: Android
iOS/Android versions: tested for Android 9-12
emulator or device. What type of device?: both, Pixel emulator and Samsung Note device

Please, provide the following version numbers that your issue occurs with:

CLI: (run tns --version to fetch it): 8.3
Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.json file in your project)
Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project): 8.3
Plugin(s): (look for the version numbers in the package.json file of your
project and paste your dependencies and devDependencies here)

Please, tell us how to recreate the issue in as much detail as possible.
I upgraded to NativeScript 8.3 from 8.2, and since that, I am getting this error every time when image-cache-it is in use:
  JS: ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'ɵcmp' of undefined
  JS: TypeError: Cannot read property 'ɵcmp' of undefined
  JS:     at getComponentDef (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:1121:0)
  JS:     at extractDirectiveDef (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:945:0)
  JS:     at Array.map (<anonymous>)
  JS:     at def.directiveDefs (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:922:0)
  JS:     at createTView (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:9823:0)
  JS:     at getOrCreateTComponentView (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:9771:0)
  JS:     at addComponentLogic (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:10542:0)
  JS:     at instantiateAllDirectives (file: src/webpack:/app/node_modules/@angular/core/fesm2015/core.js:10383:0)

I am on Angular 12 because NS has routing issues with Angular 13/14. I can't install the latest version of your plugin because it requires Angular 14 :/
UPDATE:
I found a clue:
export 'ImageCacheItDirective' (imported as 'i1') was not found in '@triniwiz/nativescript-image-cache-it/angular' (possible exports: ImageCacheItModule, ɵa)

this doesn't appear when I use the latest version, but since it requires Angular 14 that breaks NS + Angular routing this plugin is bugged

Just noticed you have the newer package you can by pass the need to import the module by adding the following to your main.ts
import { ImageCacheIt } from '@triniwiz/nativescript-image-cache-it';
import { registerElement } from '@nativescript/angular';

registerElement('ImageCacheIt', () => ImageCacheIt);


Add "/coords help" option for new players

There should be an option to type "/coords help" to view the command instructions listed on the README.md file.

I will look into this


ci: Moving server builds to Buildjet to confirm if it's faster and more reliable

Description
This PR moves the server compilation for in standalone workflow, ok-to-test and test-build-push workflows to Buildjet. This is an experiment to see if we can prevent jobs from being queued in Github and also if there is greater reliability when server JUnit tests run on self-hosted runners via Buildjet.
Also, cleaning up some CI workflows to remove references to release-frozen branch.
Type of change

Tech debt

How Has This Been Tested?

CI run in this PR

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=f31e00c


Peer access error in muti-nodes

Context

Hi, I am testing a fabric network with caliper. And the nework contains 1 orderer 2 orgs (org1 has 2peers and org2 has 1 peer) with kafka ordering mode. I have successly create a channel on the three peers. But when I start the caliper it report the err msg: error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [] creator org [Org1MSP]. Then I check the peer log, it says that: 2018-11-21 17:00:52.775 CST [protoutils] ValidateProposalMessage -> WARN 04d channel []: MSP error: the supplied identity is not valid: x509: certificate signed by unknown authority . So I think the client access peer node with wrong msp. But I don't where to configurate this item. Who can help me with this problem. Very Thanks.
Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

Existing issues

[ ] Stack Overflow issues
[ ] GitHub Issues
[ ] Rocket Chat history

Context

Your Environment

Version used:
Environment name and version (e.g. Chrome 39, node.js 5.4):
Operating System and version (desktop or mobile):
Link to your project:

@funkol2007

i want to know how to define your network, and can you list the error detailedly ?
do you want to produce the msp of the peer?

@funkol2007

i want to know how you define your network, and can you list the error detailedly ?
do you want to produce the msp of the peer?

hi   I  define my network with crypto-config.yaml and generate orgs with command "cryptogen" . And I have  deploy my network with 1 orderer and 3peers successfully (No CA and orderer an peers deployed in different machine and not use docker) .
Errors below:
（caplier console）

(fabric peer)

this error is not same with the error in chat , do you solve the error in chat? @funkol2007
chat中是这个错误“But when I start the caliper it report the err msg: error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [] creator org [Org1MSP]. Then I check the peer log, it says that: 2018-11-21 17:00:52.775 CST [protoutils] ValidateProposalMessage -> WARN 04d channel []: MSP error: the supplied identity is not valid: x509: certificate signed by unknown authority . So I think the client access peer node with wrong msp. But I don't where to configurate this item. Who can help me with this problem. Very Thanks.”

yes .. but I don't know why. I pull the newest code and do the same work again.

This pr #162 may resolve your problem. But we have not merged it because the proposer did not squash. When using this, the first time you have to set the deplyed to true and from the second time it should be set to false.

This pr #162 may resolve your problem. But we have not merged it because the proposer did not squash. When using this, the first time you have to set the deployed to false and from then on it should be set to true.
According to your error, you can set the deployed to true.

You can see the config file. I have setted the deployed to true.  But the fabric peer error show that the chainID  is "" not "mychannel" ... I don't konw why..

@funkol2007 , I mean you should use the Pr162 which add a property "deployed" in chaincode section. And in order to avoid the repeated chaincode  installation you can set the property deployed in chaincode section

I have down as you say about Pr162. And it still not working.  @panyu4
Caliper error

I have down with Pr162 but it still not working. @panyu4

@funkol2007 ,  please check if  your endorsement policy is corresponding to  your chaincode

I just use the default chaincode and  endorsement policy.  "policy": { "2-of": [{"signed-by": 0},{"signed-by": 1}]}   chaincode source code :src/contract/fabric/simple/go/simpletest.go

@funkol2007 ， I'm wondering if your network is running well without caliper.

@panyu4  According to the Pr162 I finished the multi-node testing successfully. Thank you for your help！！

@funkol2007  That's ok .  Good News.  BTW, how did you deal with the error you encountered in chaincode and endorsement policy?
PS: If you think this issue is resolved, you can close it.

@panyu4  I think the problem is due to my environment.  When I clean my  environment and rerun the test and it worked.  I should set the  'deployed' item to 'false' when I run the test at first time and then I should change it to be 'true'  In the following tests.


General improvements and fixes

New reports via Makefile;
Minor code cleanup;

@willf Please check the target/report/errcheck.txt report, there are 3 ignored errors (also reported by AST scan). You may want report them back eventually. I haven't fixed these to not change the functions' signatures.

Coverage remained the same at 92.638% when pulling ae433ef7b2c1d1011ea88f764c784de06e022124 on tecnickcom:master into c94658585882dfee6fc54c8ed65d12acf0daafe9 on willf:master.

Thanks, @nicolaasuni I'll look at the AST errors at some point.


Add letsencrypt.org support

Once letsencrypt.org is available, add easy SSL to service.

This is really part #2 (SSL Support). Node4ORDS doesn't need to provide LetsEncrypt functionality.  LetsEncrypt scripts will be provided in OXAR (https://github.com/OraOpenSource/OXAR/issues/33)


⚠ Bofrost.be has degraded performance

In 23ae5dd, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1526 ms

Resolved: Bofrost.be performance has improved in 49cf20c.


update file names, file name references, and DOI configuration for UWL RDA extension

AND:

Publish RDF serializations in a uwlib-cams repo, following naming conventions
Update DOI worksheet 2.0*

*Restricted access
See steps taken for Newspaper Genre List at https://github.com/uwlib-cams/uwlswd_vocabs/issues/8#issuecomment-1426246993

Note that changing file locations/URLs for this vocab will affect sinopia_maps code. See https://github.com/uwlib-cams/map_storage/issues/49#issuecomment-1635043160.

map_storage has also been updated.

I had not thought of that!!! Thank you for catching that @cspayne


Bump Dependencies #3298452429

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/3298452429

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

closing old dependency updater PRs


Monorepo support

Right now an artifact is tied to a repo and git sha.
We should introduce a logical app concept to be able to control which apps need to be released from a monorepo.

This issue can be closed, if Gimlet CLI gets the feature, and if policies in the Gimlet manifest file support automation for a single app.

Gimlet CLI supports now the --app argument on gimlet release make in v0.9.4
The manifest doesn't need any change, since the release policies can be controlled per manifest in a repo. Given a monorepo, you are already in control of which manifest is released on what events.


Update the button styling on the homepage

Add React Icons to enhance the visual appeal of the homepage, and ensure that the multiple buttons & icons are styled consistently with the updated buttons and are responsive across different screen sizes.

Can I work on this

@Shinu-ster why not!

Hi @vishalverma9572 ,
I would love to help resolve this issue if it's still available. Please consider reassigning it to me.
Thank you!

I also interested with the same to show my creativity and knowledge.
If you need any kind of help, please feel free to reach out me.

i would like to solve this issue here. pleasured to do this.


Add few information to memory assert message.

What changes were proposed in this pull request?
Add few information to assert message to help debugging.
How was this patch tested?
mvn passes.

merged to master and branch-0.3


Replace Singleton rewriter with has_attached_class!

Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NsWcAmMGU3yQsj
→ https://go/builds/bui_NsWcJCxQaOtTwF
→ https://go/builds/bui_NsWc352Ka0IHAm


Adjust rhs shape width to account for next line indentation

Fixes #5321
Previously the Shape returned from expr::shape_from_rhs_tactic would always return a Shape with a width == config.max_width when the rhs_tactic was RhsTactics::ForceNextLineWithoutIndent and the
indentation was 0. For example, when rewriting generic trait bounds at the top level of a file.
In this case, trait bounds that were between (max_width - tab_spaces) and max_width, would be considered properly formatted and wouldn't wrap.
Now, the shape takes into account the whitespace to properly wrap when the max_width is exceeded.

@calebcartwright I went ahead and version gated the changes. If we decide that It doesn't need to be version gated it should be easy to revert the 2nd commit.


Problems

Type: Bug
Constantly listing problems that don`t exist underlining correct lines of code.
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz (4 x 2304)

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

Load (avg)
undefined

Memory (System)
7.89GB (2.68GB free)

Process Argv
--crash-reporter-id db78a79b-30f8-48f0-bc4b-15c049005ef2

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

code-runner
for
0.11.8

cloudcode
goo
1.20.4

isort
ms-
2022.8.0

python
ms-
2022.18.2

vscode-pylance
ms-
2022.11.30

jupyter
ms-
2022.9.1303220346

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.12

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

cmake-tools
ms-
1.12.27

cpptools
ms-
1.12.4

cpptools-extension-pack
ms-
1.3.0

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1:30587005
282f8724:30602487
gswce1:30612156
3d0df643:30613357
dbltrim-noruby:30604474
89544117:30613380

Constantly listing problems that don`t exist underlining correct lines of code.

More details needed to enable anyone to be able to help you here.

@87lst please provide a minimal repro e.g. code snippet or sample repository. Please also check whether this is caused by a specific extension (e.g. by disabling all extensions or using the Start Extension Bisect command).

Hi Joyce
The problem was with Pylance, I have disabled it and don't have these
issues anymore.
Thank you for looking into it for me.
Kind regards
Yuri
On Mon, 28 Nov 2022, 17:11 Joyce Er, @.***> wrote:

@87lst https://github.com/87lst please provide a minimal repro e.g.
code snippet or sample repository. Please also check whether this is caused
by a specific extension (e.g. by disabling all extensions or using the Start
Extension Bisect command).
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/167280#issuecomment-1329452898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24YIP3LGHHFLL44S7BUCUDWKTRUJANCNFSM6AAAAAASLRSVVE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks--closing as this is caused by an extension, please consider reporting a bug on https://github.com/microsoft/pylance-release instead.


No module name 'src'

I have been attempting to set up Jarvis on messenger on my local machine, but I have run into a problem that I cannot seem to figure out.  First of all I am on a Windows machine and am using Python 3.4 (I searched and didn't see a reference to not using python 3).   When I attempt to run jarvis.py on the command prompt I get this error.
C:\Python34\python.exe C:/Python34/Jarvis/JARVIS-on-Messenger/jarvis.py
Traceback (most recent call last):
  File "C:/Python34/Jarvis/JARVIS-on-Messenger/jarvis.py", line 6, in <module>
    import modules
  File "C:\Python34\Jarvis\JARVIS-on-Messenger\modules\__init__.py", line 6, in <module>
    from src import *
ImportError: No module named 'src'

Process finished with exit code 1

It seems that the __init__.py isn't finding 'src'.  I thought about adding the package to the PYTHONPATH, but it doesn't seem like it should be necessary.
Any feedback would be appreciated, I would love to contribute to this project.

I have the same issue. Followed the steps and got the same traceback.

Jarvis runs on Python 2.