text:
trio-websocket hangs on custom streams

This code doesn't work:
import uuid
import logging
import trio_websocket
import trio.testing
import trio
import typing

CONNECTED_WS_TUPLE = typing.Tuple[trio_websocket.WebSocketConnection, trio_websocket.WebSocketConnection]

async def connected_websockets(nursery: trio.Nursery) -> CONNECTED_WS_TUPLE:
    left, right = trio.testing.memory_stream_pair()

    left = await trio_websocket.wrap_client_stream(nursery, left, '<URL WITHOUT "wss://">', '/')
    right = await trio_websocket.wrap_server_stream(nursery, right)

    return left, right

logging.basicConfig(level='DEBUG')

async def test_correctness(nursery):
    left, right = await connected_websockets(nursery)

    message = str(uuid.uuid4())
    await left.send_message(message)
    assert await right.get_message() == message

async def main():
    async with trio.open_nursery() as nursery:
        nursery.start_soon(test_correctness, nursery)

trio.run(main)

As far as I can see, there shouldn't be anything wrong with what I did, but you never know. My problem is that all the program does is this:
$ python test_mockws.py
DEBUG:trio-websocket:client-0 sending 157 bytes

I would think the only special thing is that I am using trio.testing.memory_stream_pair(), but that returns a StapledStream, which is a stream type.
TL;DR trio.testing.memory_stream_pair and trio_websocket.wrap_client/server_stream don't seem to be working together very well. But they should.

From the little digging I just did, the cause seems to be await right.get_message().
Code reference: https://github.com/HyperionGray/trio-websocket/blob/master/trio_websocket/_impl.py#L821

Correction: It seems await left.send_message(message) never returns. I have no idea what may be causing this behavior.
Something to consider is that await self._send(event) does in fact return. That's the last statement in send_message though, so like I said, I have no ideas as for what is happening.

Sorry, it seems I was being dumb.

repo: HyperionGray/trio-websocket


text:
not loading the interface

press 3 because i have amd gpu then

it showing how to resolve it

https://raw.githubusercontent.com/

then what should i do

Without antivirus, try it again

source: gharchive/issue

repo: IAHispano/Applio-RVC-Fork

license: MIT

license_type: permissive

license_source: github-api


text:
i686 architecture not handled

The setup shell script expects only 64 bit architecture, but even on a 64 bit machine it appears the the git shell launched from git desktop sets arch to i686, which is the 32 bit equivalent. So perhaps it would make sense to add it in, as in:
case $arch in
"i686")
export ARCH_TAG="x86_64-0.6.1-preview"
;;
"x86_64")
export ARCH_TAG="x86_64-0.6.1-preview"
;;

Thanks @kletkeman, can you do a PR?

I tried, but I don't have permission to push my local changes on a branch ... PR fails.

@kletkeman You should be able to fork the project and do a PR from your fork. I will do it today, no problem.

authors: kletkeman mrshah-at-ibm

repo: IBM-Blockchain/fabric-images


text:
Added inclusion of Privacy Notice as a To Use step

This is a fix for issue #3 .

:+1:

source: gharchive/pull-request

license_source: bigquery


text:
IBM Cloud CLI does not set the ssh key at VM creation

Hi,
Using the following command to provision this server:
ibmcloud sl vs create --hostname icpmgm001 --domain mydomain.com --datacenter dal13 --cpu 8 --memory 16 --os CENTOS_7_64 --key 1188623 --force
The ssh key is not set on the vm once built.  It works when selecting the key via ui.
Regards. Olivier.

Using -k instead of --key does work

@youhwsh@cn.ibm.com
pls take a look at it

Hi @ochamber @sbockelman , which ibmcloud version do you use? I can't reproduce this on my side.
Also, can you please post the trace log here by using 'ibmcloud config --trace=true'

Hi,
#ibmcloud --version
ibmcloud version 0.9.0+929f34d-2018-08-21T07:17:55+00:00
root@olivier-VB:~# ibmcloud config --trace=true
Option 1
root@olivier-VB:~# ibmcloud sl vs create --hostname icpmgm001-ho --domain irblab.com --datacenter fra02 --cpu 8 --memory 16 --os CENTOS_7_64 --key 1184733 --force
2018/09/17 11:37:42 [DEBUG] Request URL:  POST https://api.softlayer.com/mobile/v3.1/SoftLayer_Virtual_Guest.json
2018/09/17 11:37:42 [DEBUG] Parameters:  {"parameters":[{"datacenter":{"name":"fra02"},"dedicatedAccountHostOnlyFlag":false,"domain":"irblab.com","hostname":"icpmgm001-ho","hourlyBillingFlag":true,"localDiskFlag":true,"maxMemory":16,"operatingSystemReferenceCode":"CENTOS_7_64","privateNetworkOnlyFlag":false,"startCpus":8}]}
2018/09/17 11:37:48 [DEBUG] Status Code:  201
2018/09/17 11:37:48 [DEBUG] Response:  {"accountId":1687615,"createDate":"2018-09-17T04:48:15-05:00","domain":"irblab.com","fullyQualifiedDomainName":"icpmgm001-ho.irblab.com","hostname":"icpmgm001-ho","id":61732767,"lastPowerStateId":null,"lastVerifiedDate":null,"maxCpu":8,"maxCpuUnits":"CORE","maxMemory":16384,"metricPollDate":null,"modifyDate":null,"provisionDate":null,"startCpus":8,"statusId":1001,"uuid":"e52a36e0-a289-4352-9d56-e4bcf7093f75","globalIdentifier":"6bf4d4ad-cdc1-458a-a26d-7b381fc5d86f"}
name      value
ID        61732767
FQDN      icpmgm001-ho.irblab.com
created   2018-09-17T09:48:15Z
guid      6bf4d4ad-cdc1-458a-a26d-7b381fc5d86f
Option 2
root@olivier-VB:~# ibmcloud sl vs create --hostname icpmgm002-ho --domain irblab.com --datacenter fra02 --cpu 8 --memory 16 --os CENTOS_7_64 -k 1184733 --force
2018/09/17 15:24:19 [DEBUG] Request URL:  POST https://api.softlayer.com/mobile/v3.1/SoftLayer_Virtual_Guest.json
2018/09/17 15:24:19 [DEBUG] Parameters:  {"parameters":[{"datacenter":{"name":"fra02"},"dedicatedAccountHostOnlyFlag":false,"domain":"irblab.com","hostname":"icpmgm002-ho","hourlyBillingFlag":true,"localDiskFlag":true,"maxMemory":16,"operatingSystemReferenceCode":"CENTOS_7_64","privateNetworkOnlyFlag":false,"sshKeys":[{"id":1184733}],"startCpus":8}]}
2018/09/17 15:24:24 [DEBUG] Status Code:  201
2018/09/17 15:24:24 [DEBUG] Response:  {"accountId":1687615,"createDate":"2018-09-17T08:24:22-05:00","domain":"irblab.com","fullyQualifiedDomainName":"icpmgm002-ho.irblab.com","hostname":"icpmgm002-ho","id":61744877,"lastPowerStateId":null,"lastVerifiedDate":null,"maxCpu":8,"maxCpuUnits":"CORE","maxMemory":16384,"metricPollDate":null,"modifyDate":null,"provisionDate":null,"startCpus":8,"statusId":1001,"uuid":"67b16f61-b3ea-4767-93e6-b9ba3d8c95a2","globalIdentifier":"3007c56b-4561-4ff9-99c0-2ba84089f537"}
name      value
ID        61744877
FQDN      icpmgm002-ho.irblab.com
created   2018-09-17T13:24:22Z
guid      3007c56b-4561-4ff9-99c0-2ba84089f537
icpmgm001-ho.irblab.com - 158.177.65.157
icpmgm002-ho.irblab.com - 158.177.65.147
#ssh root@158.177.65.157
The authenticity of host '158.177.65.157 (158.177.65.157)' can't be established.
ECDSA key fingerprint is SHA256:ofVwydZN9ygvHZDGms6PJnj6jeCN00j9B9LSnHWaJOk.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '158.177.65.157' (ECDSA) to the list of known hosts.
root@158.177.65.157's password:
Last failed login: Mon Sep 17 05:12:33 CDT 2018 from 66.35.51.199 on ssh:notty
There were 6 failed login attempts since the last successful login.
[root@icpmgm001-ho ~]#
MacBook-de-Olivier:.ssh ochamberaud$ ssh root@158.177.65.147
The authenticity of host '158.177.65.147 (158.177.65.147)' can't be established.
ECDSA key fingerprint is SHA256:LVY1gq7pkiXrzqrh6lVfmSSl9aV4jkyGlj9SlQuZFt0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '158.177.65.147' (ECDSA) to the list of known hosts.
[root@icpmgm002-ho ~]#
in option 1, I need to type the server password while I don't need to do it in option2.
So as stated by Scott, -k is working fine while --key is not
#ibmcloud sl vs create --help
Options shows
-k value, --key value                     The IDs of the SSH keys to add to the root user (multiple occurrence permitted)
So both option should work. Hope it helps.

Thanks!  @ochamber We are working on it

It has been fixed. we will add this fix in the next release version.
Currently, you can use -k to work around...

close this issue given it is fixed

authors: YouHang boyang9527 ochamber sbockelman

repo: IBM-Cloud/ibm-cloud-cli-release


text:
The BlueXolo icon does not appear in the browser tab in some pages

Describe the bug
In the login / request-access / password_reset pages the BlueXolo icon does not appear in the browser tab
To Reproduce
Steps to reproduce the behavior:

Go to http://localhost/login/
See the browser tab
Go to http://localhost/request-access/
See the browser tab
Go to http://localhost/password_reset/
See the browser tab

Expected behavior
You should see the BlueXolo icon in each of the aforementioned tabs.
Screenshots

Desktop:

OS: Ubuntu 20.04.3 LTS
Browser Firefox
Version 3.1.0

Additional context
.

I would like to take this issue : )

repo: IBM/BlueXolo


text:
Fix secret usage of the helm charts and misconfiguration of estap ser…

…vice target.
Missed using a template variable for the secret name when using tokens from the collector
Don't need to (or want to) use an initContainer when using tokens from the collector

No guarantee that the secret will contain default certificates, so don't rely on it unless we need them.
Correct the naming of the estap deployment to use common.name so that it matches the service

Verified the fix for GRD-55836/GRD-55789/GRD-55786

authors: pengj-ibm rojerrell-ibm


text:
pip install from requirements.txt

Example PR:
https://github.com/IBM/MAX-Review-Text-Generator/pull/7

Since this is downloading pytorch from a URL I don't think this is practical

repo: IBM/MAX-Fast-Neural-Style-Transfer


text:
RL model cannot apply this toolbox

Is your feature request related to a problem? Please describe.
The ART can only accept the classifier trained by ART itself?
Describe the solution you'd like
When I try to apply the attack algorithm on the RL policy, I got the error below:
TypeError: For FastGradientMethod classifier must be an instance of art.classifiers.classifier.Classifier, the provided classifier is instance of (<class 'stable_baselines.common.base_class.OffPolicyRLModel'>,).
Describe alternatives you've considered
Does this mean that ART does not accept the model trained from outside?
Additional context
Add any other context or screenshots about the feature request here.

Hi @QuXinghuaNTU Thank you for using ART!
ART does accept trained models as input to its classifiers. From the error message that you have shared above it looks like you are providing a model class 'stable_baselines.common.base_class.OffPolicyRLModel' directly to an attack FastGradientMethod. You have to first wrap your model inside an ART classifier (art.classifiers.classifier.*). The specific classifier type depends on your machine learning framework, e.g. art.classifiers.classifier.PyTorchClassifier for PyTorch, etc.

I use the code below to transfer the RL model to ART model. It works.
`
your_RLmodel.load_weights("your_model.hdf5")
this line change your model to ART model
classifier = KerasClassifier(model=your_RLmodel)`

authors: QuXinghuaNTU beat-buesser

repo: IBM/adversarial-robustness-toolbox


text:
aoc: Deleting broken link for shared folder

Aspera CLI version: 3.x, 4.x
Problem:
I am unable to delete an orphaned link to shared folder. We can get such broken/invalid link if the user who shared a folder with us (adds as a collaborator) has revoked the permissions or has deleted the source folder.
There is a command ascli aoc files delete ... but if we try to delete a broken link then we will receive an error "404 Not Found".
I would expect that a broken link would get removed.

Did you try to delete it using "admin" rights, i.e. using the access key secret ?
ascli aoc admin res node do name '_name_of_node_here' --secret='_node_secret_here' br /

(one can also use the numerical node id: node do 12345 ...
For that you need to find out the node on which the broken link.
and then navigate to the shared folder link location on that node.

Hi Martin. Thank you for the reply.
Before creating a issue on GitHub I've reached out to IBM Support and gave instructions how to reproduce the issues I have with Shared Folders and Aspera CLI client  for Aspera On Cloud. What I got is a WebEx call, where a sales person tried to convince me that there is nothing wrong with how Aspera works despite admitting that I can end up with broken links and unmanageable folder hierarchy... Unproductive call. But I was also told that I could try making an enhancement request on IBM portal or feature request directly on GitHub CLI repo.
I've chosen to report the problems here directly as IBM support was not good and maybe other people that can only interact with AOC using the CLI client will end up in similar problems I got hit with. I was able to workaround the issues by getting access to Aspera on Cloud web interface where I could remove the broken links. CLI seems to be missing this, which I would expect to be a basic functionality.
Thank you for fixing the typo in the issue title.

This should be fixed in version 4.14.0

authors: knapsu laurent-martin

repo: IBM/aspera-cli


text:
fix(valuecard): add back id to be passed down to the card (#997)

Closes #997
Summary
The ValueCard had stopped passing down the ID to te underlying Card.
This fix solves that.
Change List (commits, features, bugs, etc)
-Pass down ID prop to Card
-Add unit test to prevent future regression
Acceptance Test (how to verify the PR)
Check the ValueCard stories and make sure the underlying Cardwrapper has an id in the DOM

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: IBM/carbon-addons-iot-react


text:
Custom icon HeaderAction node (UISHell) send SSR error

Using: Sapper v0.28.10 + Carbon-svelte v 0.21
https://carbon-svelte.vercel.app/components/UIShell
Trying to insert custom icon (Notification20) on HeaderAction component (UISHell) is throwing following error:
Error: <svelte:component this={...}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
    at validate_component (/Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:321:15)
    at /Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:665:7
    at Object.$$render (/Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:339:22)
    at /Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:794:265
    at Object.$$render (/Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:339:22)
    at Object.default (/Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:1432:55)
    at /Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:1029:103
    at Object.$$render (/Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:339:22)
    at Object.default (/Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:1421:59)
    at /Users/mikael/Sources/carbon/__sapper__/dev/server/server.js:714:34

And here is my layout svelte file to reproduce:
<script>
	import "carbon-components-svelte/css/all.css";
	import {
		Header,
		HeaderUtilities,
		HeaderAction,
		HeaderActionSearch,
		HeaderGlobalAction,
		HeaderPanelLinks,
		HeaderPanelDivider,
		HeaderPanelLink,
		SideNav,
		SkipToContent,
		Content,
		Grid,
		Row,
		Column,
	} from "carbon-components-svelte";
	import SettingsAdjust20 from "carbon-icons-svelte/lib/SettingsAdjust20";
	import Notification20 from "carbon-icons-svelte/lib/Notification20";
	import Nav from '../components/Nav.svelte';

	export let segment;
	let isSideNavOpen = false;
  	let isOpen = false;
</script>

<style></style>

<Header company="IBM" platformName="Carbon Svelte" bind:isSideNavOpen>
	<div slot="skip-to-content">
	  <SkipToContent />
	</div>
	<HeaderUtilities>
	  <HeaderActionSearch />
	  <HeaderGlobalAction aria-label="Settings" icon={SettingsAdjust20} />
	  <HeaderAction aria-label="Notifications" icon={Notification20} bind:isOpen>
		<HeaderPanelLinks>
		  <HeaderPanelDivider>Switcher subject 1</HeaderPanelDivider>
		  <HeaderPanelLink>Switcher item 1</HeaderPanelLink>
		  <HeaderPanelDivider>Switcher subject 2</HeaderPanelDivider>
		  <HeaderPanelLink>Switcher item 1</HeaderPanelLink>
		  <HeaderPanelLink>Switcher item 2</HeaderPanelLink>
		  <HeaderPanelLink>Switcher item 3</HeaderPanelLink>
		  <HeaderPanelLink>Switcher item 4</HeaderPanelLink>
		  <HeaderPanelLink>Switcher item 5</HeaderPanelLink>
		</HeaderPanelLinks>
	  </HeaderAction>
	</HeaderUtilities>
  </Header>

  <SideNav bind:isOpen={isSideNavOpen}>
	<Nav {segment}/>
  </SideNav>

  <Content>
	<slot></slot>
  </Content>

Thanks for support

The HeaderAction API is a bit different compared to other uses of the icon prop.
Could you try the following?
- <HeaderAction aria-label="Notifications" icon={Notification20} bind:isOpen>
+ <HeaderAction aria-label="Notifications" icon={{ render: Notification20 } bind:isOpen>

The HeaderAction API is a bit different compared to other uses of the icon prop.
Could you try the following?
- <HeaderAction aria-label="Notifications" icon={Notification20} bind:isOpen>
+ <HeaderAction aria-label="Notifications" icon={{ render: Notification20 } bind:isOpen>

Opps!! Definitely do the job. Many thanks.
  /**
   * Specify the icon props
   * @type {{ render: typeof import("carbon-icons-svelte/lib/Add16").default; skeleton: boolean; }} [icon]
   */
  export let icon = undefined;

authors: metonym myangga

repo: IBM/carbon-components-svelte


text:
Accessibility improvement needed for SideNav

I am a user who is legally blind, and tuning colors to high-contrast is crucial for me, and individuals like me. I am trying to set the background, text, and font colors for the SideNav component. However, it is mentioned here that theming options are currently not available, but will be sometime in the future:

Note: The UI Shell does not currently use the Carbon theme tokens; theming options for the shell will be available in the future. All color used in the UI Shell is from the IBM Design Language palette.

Would it please be possible to add some options to allow this -- even if it is just temporary -- until this feature is added? Without it, I am not able to use the SideNav component without rolling my own.
Specifically, the controls needed are as follows:

background color
text color (for the items and menu items, etc.)
icon color
opacity

Any help at all would be greatly appreciated!

Not sure if this will be useful or not, but I use the following styling so the SideNav matches the correct theme. Hopefully you should be able to adjust as needed.
<style global>
    .bx--side-nav {
        background-color: var(--cds-ui-background);
        color: var(--cds-text-02);
        border-right: 1px solid var(--cds-ui-02);
    }
    .bx--side-nav__divider {
        background-color: var(--cds-ui-03);
    }
    a.bx--side-nav__link > .bx--side-nav__link-text {
        color: var(--cds-text-02);
    }
    .bx--side-nav__submenu {
        color: var(--cds-text-02);
    }
    .bx--side-nav__menu a.bx--side-nav__link--current,
    .bx--side-nav__menu a.bx--side-nav__link[aria-current="page"],
    a.bx--side-nav__link--current {
        background-color: var(--cds-hover-ui);
    }

    .bx--side-nav__menu a.bx--side-nav__link--current > span,
    .bx--side-nav__menu a.bx--side-nav__link[aria-current="page"] > span,
    a.bx--side-nav__link--current > span {
        color: var(--cds-text-01);
    }

    .bx--side-nav__icon > svg {
        fill: var(--cds-text-02);
    }
    a.bx--side-nav__link[aria-current="page"],
    a.bx--side-nav__link--current {
        background-color: var(--cds-hover-ui);
    }
    a.bx--side-nav__link[aria-current="page"] .bx--side-nav__link-text,
    a.bx--side-nav__link--current .bx--side-nav__link-text {
        color: var(--cds-text-01);
    }
    .bx--side-nav__item:not(.bx--side-nav__item--active)
        > .bx--side-nav__link:hover,
    .bx--side-nav__menu
        a.bx--side-nav__link:not(.bx--side-nav__link--current):not([aria-current="page"]):hover {
        color: var(--cds-text-01);
        background-color: var(--cds-hover-ui);
    }
    .bx--side-nav__item:not(.bx--side-nav__item--active)
        > .bx--side-nav__link:hover
        > span,
    .bx--side-nav__item:not(.bx--side-nav__item--active)
        .bx--side-nav__menu-item
        > .bx--side-nav__link:hover
        > span {
        color: var(--cds-text-01);
    }
    .bx--side-nav__submenu:hover {
        color: var(--cds-text-01);
        background-color: var(--cds-hover-ui);
    }
</style>

That was absolutely wonderfully helpful! Thank you so very much!


text:
Any example of query documents by selector?

for example: how to query name is tom in users document. Thanks.
Document name: users

{
  "name":"tom",
  "age":19
}
{
  "name":"alex",
  "age":18
}

Hi @mailtokun, our Cloudant Query documentation contains information on how to create an index.
Here's a code sample in our API documentation for querying a Cloudant Query index.

Closing as stale.

authors: emlaver mailtokun

repo: IBM/cloudant-go-sdk


text:
Remove node 12, add node 18

PR summary
This PR removes support for node 12 and adds node 18 into travis matrix
Fixes: #799
Note: An existing issue is required before opening a PR.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the
Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Failed to install 18. Remote repository may not be reachable.

Apparently node 18 is not on travis, so we might have to wait till Apr 25

repo: IBM/cloudant-node-sdk


text:
Package version updates

Updating package versions to resolve image vulnerabilities

Weird that the builds failed with the following because when I run pre-commit run --all-files --show-diff-on-failure it all passes:
pre-commit run --all-files --show-diff-on-failure
[WARNING] The 'exclude' field in hook 'trailing-whitespace' is a regex, not a glob -- matching '/*' probably isn't what you want here
[WARNING] The 'exclude' field in hook 'end-of-file-fixer' is a regex, not a glob -- matching '/*' probably isn't what you want here
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/pycqa/flake8.
[INFO] Initializing environment for https://github.com/pycqa/flake8:pep8-naming.
[INFO] Initializing environment for https://github.com/asottile/reorder_python_imports.
[INFO] Initializing environment for https://github.com/asottile/add-trailing-comma.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8.
[INFO] Initializing environment for https://github.com/ibm/detect-secrets.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/home/travis/virtualenv/python3.9.7/bin/python', '-mvirtualenv', '/home/travis/.cache/pre-commit/repouq9q0rli/py_env-python3.9')
return code: 1
expected return code: 0
stdout:
    AttributeError: module 'virtualenv.create.via_global_ref.builtin.cpython.mac_os' has no attribute 'CPython2macOsFramework'

stderr: (none)
Check the log at /home/travis/.cache/pre-commit/pre-commit.log
Makefile:154: recipe for target 'quality' failed
make: *** [quality] Error 3
The command "make travis-test" exited with 2.

repo: IBM/detect-secrets-stream


text:
For power sys

2 files were added.

@takeshyosh プルリクありがとうございます！
確認したところ、Code scanningで1件引っかかっています。
https://github.com/IBM/japan-technology/pull/10/checks?check_run_id=6317902667
以下に修正例があります。こちらを参考に、修正をお願いできますか？
https://github.com/IBM/japan-technology/security/code-scanning/2

authors: takeshyosh tty-kwn

repo: IBM/japan-technology


text:
wsk -i does not work

to use kui with a self-signed host, you need to start it with IGNORE_CERTS=true (although there is some magic that saves you from that for some hosts).
if you neglect to do that, wsk -i does not work and reports: 'Unsupported optional parameter i`.
i'd think wsk -i should work... but also, this may be more convenient: it would be helpful to host set <...> -i where the -i property here will allow you to eschew it on every wsk command.

moving here https://github.com/kui-shell/oui/issues/55

authors: rabbah starpit

repo: IBM/kui


text:
feat(merge-patch-optional-properties): add new spectral-style rule

PR summary
This commit introduces the new spectral-style
'merge-patch-optional-properties' rule which will verify that
the requestBody schemas for "merge-patch" type operations do not
contain any required properties and do not specify a non-zero
value for the "minProperties" field.
Signed-off-by: Phil Adams phil_adams@us.ibm.com
PR Checklist
General checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[ ] Dependencies have been updated as needed
[ ] .secrets.baseline updated as needed?

Checklist for adding a new validation rule:

[x] Added new validation rule definition (packages/ruleset/src/rules/*.js, index.js)
[x] If necessary, added new validation rule implementation (packages/ruleset/src/functions/*.js, updated index.js)
[x] Added new rule to default configuration (packages/ruleset/src/ibm-oas.js)
[x] Added tests for new rule (packages/ruleset/test/*.test.js)
[x] Added docs for new rule (docs/ibm-cloud-rules.md)

Checklist for removing an old validation rule:

[ ] Removed old rule implementation (packages/validator/src/plugins/validation/*.js)
[ ] Removed or adjusted testcases (packages/validator/test)
[ ] Updated default configuration to deprecate old rule (packages/validator/src/.defaultsForValidator.js)
[ ] Removed docs of old rule (docs/ibm-legacy-rules.md)

:tada: This PR is included in version 0.40.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.91.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

authors: ibm-devx-sdk padamstx

repo: IBM/openapi-validator


text:
feat: add channel and install plan to cat-mgmt offering instance

PR summary
Add capability to provide a channel and install plan to offering instances
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior
Adding new options (optional)
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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

:tada: This PR is included in version 0.18.15 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: CLAassistant JonWoodlief ibm-devx-sdk

repo: IBM/platform-services-go-sdk


text:
fix(IAM Policy Management): add nested conditions to rule.conditions

PR summary

Updated based on minor api definition update.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information
in modules/iam-policy-management
integration test:
mvn clean install
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  27.012 s
[INFO] Finished at: 2023-11-07T07:21:05-05:00
[INFO] ------------------------------------------------------------------------

examples:
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21.718 s
[INFO] Finished at: 2023-11-07T07:23:50-05:00

```

Latest tests:
Running com.ibm.cloud.platform_services.iam_policy_management.v1.IamPolicyManagementIT
[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.72 s -- in com.ibm.cloud.platform_services.iam_policy_management.v1.IamPolicyManagementIT
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- failsafe:3.1.2:verify (default) @ iam-policy-management ---
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ iam-policy-management ---
[INFO] Installing /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-java-sdk/modules/iam-policy-management/pom.xml to /Users/shaunsmacibm/.m2/repository/com/ibm/cloud/iam-policy-management/99-SNAPSHOT/iam-policy-management-99-SNAPSHOT.pom
[INFO] Installing /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-java-sdk/modules/iam-policy-management/target/iam-policy-management-99-SNAPSHOT.jar to /Users/shaunsmacibm/.m2/repository/com/ibm/cloud/iam-policy-management/99-SNAPSHOT/iam-policy-management-99-SNAPSHOT.jar
[INFO] Installing /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-java-sdk/modules/iam-policy-management/target/iam-policy-management-99-SNAPSHOT-javadoc.jar to /Users/shaunsmacibm/.m2/repository/com/ibm/cloud/iam-policy-management/99-SNAPSHOT/iam-policy-management-99-SNAPSHOT-javadoc.jar
[INFO] Installing /Users/shaunsmacibm/Desktop/cloud-platform/iam/sdk/platform-services-java-sdk/modules/iam-policy-management/target/iam-policy-management-99-SNAPSHOT-sources.jar to /Users/shaunsmacibm/.m2/repository/com/ibm/cloud/iam-policy-management/99-SNAPSHOT/iam-policy-management-99-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  49.356 s
[INFO] Finished at: 2023-11-07T12:20:41-05:00
[INFO] ------------------------------------------------------------------------

Examples:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  24.837 s
[INFO] Finished at: 2023-11-07T12:21:29-05:00
[INFO] ------------------------------------------------------------------------

:tada: This PR is included in version 0.45.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: ibm-devx-sdk swcolley

repo: IBM/platform-services-java-sdk


text:
RuntimeError: "ms_deform_attn_forward_cuda" not implemented for 'Half'

RuntimeError: "ms_deform_attn_forward_cuda" not implemented for 'Half'

does not support fp16 yet

Could you please provide more details about the error?

Oh I see. The deformable attention ops did not support fp16 yet. We will fix this in the next update.

We fix the bug by converting all tensors to fp32 when performing deformable attention.

repo: IDEACVR/DINO


text:
🛑 IDR (well 1056578) is down

In 906ce6f, IDR (well 1056578) (https://idr.openmicroscopy.org/webclient/?show=well-1056578) was down:

HTTP code: 502
Response time: 82 ms

Resolved: IDR (well 1056578) is back up in ec9198f after 10 minutes.

repo: IDR/upptime


text:
🛑 IDR (well 590686) is down

In 6314a53, IDR (well 590686) (https://idr.openmicroscopy.org/webclient/?show=well-590686) was down:

HTTP code: 502
Response time: 78 ms

Resolved: IDR (well 590686) is back up in 3129f64 after 42 minutes.


text:
Demo for resolver using updated indy-vdr. Building from custom branch

Signed-off-by: Dominic Wörner dom.woe@gmail.com

Should we create a branch for this here until indy-vdr is merged?

The API is still a bit in flux

Should we create a branch for this here until indy-vdr is merged?

Done: https://github.com/IDunion/indy-did-resolver/tree/did-indy-vdr

repo: IDunion/indy-did-resolver


text:
[Feature] Display local IP address

Please describe the feature you want this project to offer
It would be nice if termiboard can show the local IP address that the computer is currently connected to.
Describe the solution you'd like
You can implement the  GetLocalIPAddress() function in the network.go file. Make sure to handle if the computer isn't connected to a network!

Can you assign it to me?I would like to work on it

Sure @mr-tafreshi , best of luck ! :)

repo: IEEE-VIT/termiboard


text:
About Linked Lists

https://github.com/IEEE-WIE-VIT/WIE-WoC/blob/main/DSA Coding/Linked Lists/Linkedlist.md

Hey I would like to contribute to this. Can you assign this issue to me?

repo: IEEE-WIE-VIT/WIE-WoC


text:
what are the goals of this profile?

https://github.com/IHE/ITI.IUA/blob/master/IHE_ITI_Suppl_IUA.md#introduction-to-this-supplement
When reading through this profile, I jotted down my interpretation of the goals of the profile. They are:

Enable disparate RS and AS to work together.
Defines a format for tokens as JWTs
Enables SAML tokens to be used in OAuth2
Defines a token introspection endpoint
Optionally supports the Device Authorization OAuth2 extension (RFC 8628)
Requires servers to support PKCE
Support POU and BPPC (consent) access token JWT extensions

The problem statement and problem background of the profile make it sound like the primary goal is patient-facing apps using the auth code flow, but the majority of the features introduced by this profile above and beyond SMART don't obviously accomplish patient access, but rather accommodate more complex data/environment architectures.
I'm largely unfamiliar with the format of IHE profiles, I apologize, would it be reasonable to define the goals of the profile in the profile?

Medium: Significant issue or clarification. Requires discussion, but should not lead to long debate.

@isaacvetter
Maybe not the answer to your question, but to give you some background why I engaged in IUA:
When working on the specification of how to enable mobile access for patients and healthcare professionals for the Swiss electronic health record, SMART on FHIR was our first choice. But when trying to apply it to our environment we faced serious problems to apply it.
First, while SMART on FHIR works fine for fully modularized applications with independent views (which is the scope of SMART) we realized that SMART on FHIR produces a lot of overhead, since you need to run the launch sequence for each view, if they have a different scope. Second, SMART on FHIR currently does not specify how to convey information required for the policy enforcement on the resource server side. Obviously, in SMART on FHIR one can extend the token with the required information and we did this, by merging the SMART on FHIR definitions with the one from IUA. But SMART on FHIR alone does not work for us, thus we need IUA.
I'm very interested in an exchange on this topic, since the specification to apply SMART on FHIR and IUA to the Swiss EPR is not finalized yet. Maybe we can reserve a slot for you to present your solution and discuss it in our bi-weekly IUA meeting.

My two cents: Philips as a solution provider must deploy systems in rather heterogeneous environments. Many of the systems that we need to integrate have their own history, and may come with their own user management (at best synchronized through a hospital's AD system), permission models, data storage, deployment models, etc.
To enable these systems to participate in a (distributed) workflow there is a need for an (RESTful) API-based integration. In most cases we use FHIR, utilizing the IHE profiles where possible, but other APIs must be supported as well. To make the API-based integrations work, consensus must exist on the authorization model. This is where IUA comes in for us.
SMART-on-FHIR does not always work for us.  SMART assumes a central repository (the EHR) with a strongly associated authorization server. Clients are assumed to center around that central repository. We found that model too simplistic. As said, many different systems have their own history and may come with their own user management, permission models, data storage, etc. Data and functionality is inherently distributed across these systems. This means that a search for patient data is often a distributed search: it has to be pulled from several repositories. Workflow tasks are not just directed toward that single repository, but need to target different applications.
Utilizing SMART-launch for these integrations would imply that such sequences would need to be executed between each pair of interacting systems. Moreover, as different systems would have their own user and permission models, they would need to act as their own authorization server. This is too complicated to add to most of these (legacy) systems.
Instead we are looking more to service-2-service style of integrations, allowing trusted systems to exchange data and tasks amongst each other, keeping a bit away from user-centric controls and permission models (which are assumed to be managed by participating systems). At best we can indicate the active user (or even the patient that person is working on), but what that exactly implies is typically controlled by the participating systems. As such, the SMART for backend services lies much closer to what we can effectively do than the EMR-related flows.

Summarizing: I see two major use-cases:

A front-end application, being mobile or web, in which a user (patient or professional) logs in and gets (limited) access to patient health data
A system integration in which participating systems, ranging from individual devices to large scale IT systems, need to exchange data and tasks, without mandatory user involvement.

authors: isaacvetter joostreuzel msmock


text:
Revert "added gitbooks build process"

Reverts IIIF/mirador#1117

Coverage remained the same at 55.114% when pulling 60d895d764b668c2cc49a6a3029b9cbd21aaebf9 on revert-1117-addgitbooks into be2fbe929f55173b4d30a76ccfc6d693be6681df on release2.1.

authors: aeschylus coveralls

repo: IIIF/mirador


text:
🛑 brievenalsbuit.ivdnt.org is down

In ec762e8, brievenalsbuit.ivdnt.org (https://brievenalsbuit.ivdnt.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: brievenalsbuit.ivdnt.org is back up in 8d78f21 after 12 minutes.

repo: INL/ivdnt-statusoverzicht


text:
🛑 taaladvies.net is down

In 599afe6, taaladvies.net (https://taaladvies.net) was down:

HTTP code: 503
Response time: 1115 ms

Resolved: taaladvies.net is back up in 035620b.


text:
Data Ingestion stage

[x] update config.YAML
[x] Update parmas.YAML
[x] research or analysis
[x] Update the entity
[x] Update the configuration manger in src config
[x] Update the components
[x] Update the pipeline

dry run successfully

repo: ISHAWANT/deepCNN


text:
Fix - app error

throw the project you might find many approaches :
new AppError(404, 'fail', 'No document found with that id')

new AppError('You are not allowed to update this calendar', 403)

i think that the second one is better since you might find many other status other than fail and success and also the status code is descriptive
tasks

[ ] change the class definition to include only statusCode and message and path(optional)
[ ] remove or update the accruing of the previous approach from the api

can you take this one ?
@muttaqin1

can you take this one ?
@muttaqin1

Sure

I fixed this
@muttaqin1

repo: ISIL-ESTE/Student-Workflow-Organizer


text:
change agent deploy policy

Since the agent registers RPC calls on startup and these cannot overlap, it is required that the service is fully stopped before a new instance is started.
@mrnicegyu11 I hope this is the correct place to change it

required by https://github.com/ITISFoundation/osparc-simcore/pull/3941

thanks a lot for this! It is the correct place to change it! I am not an expert for the particular change you made, i.e. for the restart-policies, maybe sylvain can better assess if this change brings what you need.
Supernice, thanks again!
Please somehow reference/tag this PR in your associated simcore PR so it is not forgotten that they go together :)

@mrnicegyu11 it is linked back with instructions that it is required when deploying to be in the target deployment

repo: ITISFoundation/osparc-ops-environments


text:
KAN implementation in the TEDEouS

1. Change models.py file:
KAN implementation was added to the models.py file. The implementation consists of two classes:

class KANLinear - realization of a linear layer using Kolmogorov-Arnold splines. It allows to model nonlinear dependencies between input and output data using splines.
class KAN - realization of multilayer network using Kolmogorov-Arnold splines.

2. Adding examples of equation solutions:

Adding an example of solving the wave equation using KAN.
Adding an example of solving the Bürgers equation using KAN.

atm we need to find a way out how to properly import efficient-kan to not to take all required code manually and be able to change KAN backbone if it will be the case


text:
Error with solver="exponentiate"

Hi all,
I am running the test_tdvp.jl code and the  exponentiate solver backend throws the following error:
Basic TDVP: Error During Test at /home/lello/GitHub/ITensorTDVP.jl/test/test_tdvp.jl:33
Test threw exception
Expression: ψ1 ≈ tdvp(H, ψ0, -0.1im; nsweeps = 1, cutoff, nsite = 1, solver_backend = "exponentiate")
MethodError: no method matching eigselector(::ProjMPO, ::Type{ComplexF64}; ishermitian=true, issymmetric=true, tol=1.0e-12, krylovdim=30, maxiter=100, verbosity=0, eager=true, current_time=0.0, outputlevel=0)
[....]
Basic TDVP: Error During Test at /home/lello/GitHub/ITensorTDVP.jl/test/test_tdvp.jl:47
Test threw exception
Expression: ψ2 ≈ tdvp(H, 0.1im, ψ1; nsweeps = 1, cutoff, solver_backend = "exponentiate")
MethodError: no method matching eigselector(::ProjMPO, ::Type{ComplexF64}; ishermitian=true, issymmetric=true, tol=1.0e-12, krylovdim=30, maxiter=100, verbosity=0, eager=true, current_time=0.0, outputlevel=0)
How do I solve the problem? it seems to affect all the codes with the exponentiate backend.

I had similar issue. Please, have a look
https://github.com/ITensor/ITensorTDVP.jl/issues/38

Hi, thanks for pointing this.

I just registered a new version so this should be fixed in ITensorTDVP 0.0.4.

authors: kbidzhiev mtfishman rborrelli


text:
🛑 Events is down

In ee69c6b, Events (https://events.pt.ivao.aero) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Events is back up in ea68347.

repo: IVAO-Portugal/status-page


text:
NRE in CustomComponents

Reported by Harkonnen in closed-3449 on RT discord:
Object reference not set to an instance of an object
  at CustomComponents.MechComponentRefExtensions.RefreshDef (BattleTech.BaseComponentRef target) [0x00001] in <b5d0a674b2a34ea8b2659594d32388ef>:0
  at CustomComponents.MechComponentRefExtensions.Is[T] (BattleTech.MechComponentRef target, T& res) [0x00001] in <b5d0a674b2a34ea8b2659594d32388ef>:0
  at FieldRepairs.VehicleRepairState.AnalyzeComponents (BattleTech.Vehicle targetVehicle) [0x0016b] in <107883f850994a32ada819d2b221c15f>:0
  at FieldRepairs.VehicleRepairState..ctor (BattleTech.PoorlyMaintainedEffect effect, BattleTech.Vehicle targetVehicle) [0x0001b] in <107883f850994a32ada819d2b221c15f>:0
  at FieldRepairs.Patches.PoorlyMaintainedEffect_ApplyEffectsToVehicle.Prefix (BattleTech.PoorlyMaintainedEffect __instance, BattleTech.Vehicle targetVehicle) [0x0006f] in <107883f850994a32ada819d2b221c15f>:0

Not sure exactly what's happening here, need to investigate with Denadan.

cleaned_output_log (1).zip

Reported by LA
2020-04-18T13:16:03 FYLS [LOG] UnitSpawnPoint2 (1d32f819-a4d2-4df1-a66b-c641855e3b3b) - Spawning unit - Team [TargetTeam], UnitId [1d32f819-a4d2-4df1-a66b-c641855e3b3b.0], ChassisId [vehiclechassisdef_PEGASUS], PilotId [pilot_d1_recruit_high]
2020-04-18T13:16:03 FYLS [ERROR] CRITICAL ERROR, PLEASE REPORT:
Delegate <InitializeContract>b__0 - Finite for message type DataManagerLoadCompleteMessage failed with exception
Object reference not set to an instance of an object
  at CustomComponents.MechComponentRefExtensions.RefreshDef (BattleTech.BaseComponentRef target) [0x00001] in <def94698a49a43c6bacef0d4d81ae488>:0
  at CustomComponents.MechComponentRefExtensions.Is[T] (BattleTech.MechComponentRef target, T& res) [0x00001] in <def94698a49a43c6bacef0d4d81ae488>:0
  at FieldRepairs.VehicleRepairState.AnalyzeComponents (BattleTech.Vehicle targetVehicle) [0x0016b] in <107883f850994a32ada819d2b221c15f>:0
  at FieldRepairs.VehicleRepairState..ctor (BattleTech.PoorlyMaintainedEffect effect, BattleTech.Vehicle targetVehicle) [0x0001b] in <107883f850994a32ada819d2b221c15f>:0

Fixed - I was calling mechRefs on vehicles and turrets, instead of componentDef.

repo: IceRaptor/FieldRepairs


text:
范围外签到必填内容如何解决

如图，有一个范围外签到的框框，需要填入信息，本人技术有限没抓到包😂😂

这个应该就是abnormalReason，配置里面有

我也没遇到过这个选项，你试试看

我也没遇到过这个选项，你试试看

试了，是这一个，可以签到成功

authors: IceTiki peacemo

repo: IceTiki/ruoli-sign-optimization


text:
[App Request] Portainer

App Information

Name: Portainer
Short Description: Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. It is designed to be as simple to deploy as it is to use. The application allows you to manage all your orchestrator resources (containers, images, volumes, networks and more) through a ‘smart’ GUI and/or an extensive API.

Portainer consists of a single container that can run on any cluster. It can be deployed as a Linux container or a Windows native container.

Official Website: Portainer
GitHub Repository: Portainer
Docker Image: portainer/portainer-ce

Why do you want this app?
Easier to control dockers, pull logs, attach gpu,
Additional information?
No response

This is already in the store? I will also add the Portainer Agent to the store shortly.

repo: IceWhaleTech/CasaOS-AppStore


text:
[Emby] Update image to use latest tag

Updated the image to use the latest version tag

@Natetronn please see https://github.com/IceWhaleTech/CasaOS-AppStore/issues/167

authors: Natetronn tigerinus


text:
review SigninRequest.isOidc

It's looking for response_type='id_token', which is now incorrect w/ code+pkce.

this isn't really a bug, it's just a poorly named API -- it should be called "requiresNonce". will address in 2.0 as breaking change.

repo: IdentityModel/oidc-client-js


text:
Docker Image is really big

Code Version
Satosa Docker Image v7.0.3 (current latest)
Expected Behavior
Docker Images should be small, since it is then easier to work with them and they have in general a smaller attack surface.
Current Behavior
The Docker Image is quite big, see
$ docker images satosa/satosa
REPOSITORY      TAG       IMAGE ID       CREATED       SIZE
satosa/satosa   latest    e4233e2ef414   12 days ago   428MB
satosa/satosa   v7.0.3    e4233e2ef414   12 days ago   428MB

Possible Solution
There are several smaller things that can be done, like removing the /src directory from the image again.
I would suggest not using Debian, but Alpine as a base and maybe also use a multi-stage build or use PyPi for statosa installation.
We are currently building our own image using Alpine and PyPi and have an Image with 86MB.
I would be happy to help with that. So let's discuss what would be a good solution for you.
Steps to Reproduce
$ docker pull satosa/satosa:v7.0.3
$ docker images satosa/satosa

I completely Agree, my demo SATOSA Dockerfile with Alpine is here:
https://github.com/UniversitaDellaCalabria/Satosa-Saml2Spid/blob/master/Dockerfile

Hello,
satosa is a complex system. Users will most probably need to have their own plugins and wire up the system in a way that complies with their use case. Additionally, they will need to control the environment (versions, dependencies, host settings like the network, etc). Thus, I don't aim to have the upstream satosa image be "the" image people should use - it should primarily be used as an example.
Having said this, I do want to fix several aspects of the docker image:

switch gunicorn for uwsgi and allow users to provide a proper config
fix permissions and remove roor user
separate the build-phase that needs network
tidy up the host-dependencies and app-dependencies
manage files better
turn the image into a multi-stage build
use a proper entrypoint and cmd
fix logging
etc.

I don't really mind about the size, but it would be nicer to make the image slimmer (it will happen). What the base image will be, is debatable. Debian is nice as it provides a good common ground for most people.
Do keep in mind, that this is not a high priority item for me, right now.

Putting a note here too;
Work is being done on this aspect under https://github.com/IdentityPython/satosa-docker following the "Docker Official Images" guidelines. Soon, we will remove the Dockerfile from this repo and all related information about Docker and the image will move there.
I will close this issue and I would urge you to open a new issue or new PR there, if the issue persists. While this issue is focused mainly on the size of the image, more aspects will be changing. Thanks for your understanding!
/cc @xenophonf

Dear @shaardie, thank you so much for this suggestion!
SATOSA has recently been accepted into the Docker "Official Images" library:
https://hub.docker.com/_/satosa
https://github.com/IdentityPython/satosa-docker
The new images are much smaller than the previous iteration:
$ docker images satosa
REPOSITORY   TAG        IMAGE ID       CREATED      SIZE
satosa       alpine     7cb5fe08aeff   5 days ago   110MB
satosa       bullseye   31d2ea2bf9e0   5 days ago   222MB

Please let me know if this doesn't meet your needs or if something doesn't work.

authors: c00kiemon5ter niheconomoum peppelinux shaardie

repo: IdentityPython/SATOSA


text:
Authenticating an Outlook Add-in using IdentityServer4 (JWT)

I want to implement an Outlook Add-In for the user to login through the Outlook desktop application into a web application profile and do their necessary changes through the Outlook desktop application itself.
The authentication needs to be done with Identity Server 4.
Please give me some advice for this issue.
Thanks.

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!

authors: leastprivilege sajihkiriwendala


text:
Issue with Single Log-out (SLO) #474

A similar issue for closed case #474 in Production Server. I have 3 .net core Apps running on oidc authentication scheme. When running on localhost it is perfectly fine. But is not working in production. Example i have two clients. Client A: abc.123.com, Client B: 123.abc.com. When A is logout, B is still remain as logged in. I guess somehow, it doesn't clear cookies from a different domain. Is there any similar issues and fixes regards to this problem?

I also want to know.

any update?

We've got a similar or maybe related issue in our Production server. I'll try to explain it clearly.
For apps A and B and Identiy Server S:

Go to A, get redirected to S and login successfully.
Go to B, checks the Authorize endpoint on S and gets auto-logged in via SSO.
Logout from the client app A (correctly hitting the EndSession endpoint: SLO). Get redirected to S after successful logout,
Client cookie still exists on B, so logout from B as well. Get redirected to S after the logout. Am I wrong to assume here that EndSession would fail because of the ID token hint will be invalid for B on S?
Back on A, log back in.
Go to B, browser still on the IS4 login page, trying to login will result into an error.

Hope that makes sense.


text:
EntityFramework Quickstart - Account Controller v4 refactor

Question
Is a Quickstart refactor on the roadmap so that the account controller uses the UserManager for authentication?
Minimal working example
   // <code goes here>

Relevant parts of the log file
   <log goes here>

Have you seen this:
https://github.com/IdentityServer/IdentityServer4.Quickstart.UI.AspNetIdentity

No! I guess I was looking in the wrong place.... sorry...
and thanks!

authors: abritabroad brockallen


text:
Channels mechanism not robust to /var/run/snabb/PID already existing

Kat was just running a test and started to get bizarro segfaults doing simple things like:
./snabb-lwaftr bench \
   program/lwaftr/tests/data/icmp_on_fail.conf \
   program/lwaftr/tests/data/tcp-frominet-bound.pcap \
   program/lwaftr/tests/data/tcp-fromb4-ipv6.pcap

Unfortunately we don't know what git revision the build corresponds to because reasons.  Anyway, the snabb runs were failing with:
zsh: bus error (core dumped)  ./snabb-lwaftr bench ...

Removing the contents of /var/run/snabb "fixed" the problem.
Relatedly, we have seen exceptions on startup if the channels directory for a PID was already there.  I suspect channels somehow in this issue, as we haven't seen this failure mode in other contexts, and in this one, we got this error before we started seeing the segfaults:
apps/lwaftr/channel.lua:51: error creating file "/var/run/snabb/2876/channels/lwaftr/control": File exists

This bug, then, is to first reproduce the issue simply by running a lot of snabb check processes, until we get the error creating the file.  Then see if we can reproduce the segfault.  It's probably due to the file not being mapped correctly or something.  Then we fix.

The revision was e525074bc82627b36dcc02752fb064eab95ef911 - this was after I'd built on your code from #266 .
Possibly unrelated, possibly not, here's an intermittent error I had several snabb launches before this appeared:
Testing: from-to-b4 IPv6 packet, with hairpinning
apps/lwaftr/channel.lua:51: error creating file "/var/run/snabb/2876/channels/lwaftr/control": File exists
stack traceback:
	core/main.lua:122: in function <core/main.lua:120>
	[C]: in function 'error'
	apps/lwaftr/channel.lua:51: in function 'create_ring_buffer'
	apps/lwaftr/channel.lua:169: in function 'create'
	apps/lwaftr/lwaftr.lua:205: in function 'new'
	core/app.lua:165: in function <core/app.lua:162>
	core/app.lua:201: in function 'apply_config_actions'
	core/app.lua:110: in function 'configure'
	program/lwaftr/check/check.lua:29: in function 'run'
	program/lwaftr/lwaftr.lua:17: in function 'run'
	core/main.lua:41: in function <core/main.lua:32>
	[C]: in function 'xpcall'
	core/main.lua:151: in main chunk
	[C]: at 0x0044ff50
	[C]: in function 'pcall'
	core/startup.lua:1: in main chunk
	[C]: in function 'require'
	[string "require "core.startup""]:1: in main chunk
cmp: /tmp/endoutv4.pcap: No such file or directory
-rw-rw-r-- 1 me me 24 Feb 10 23:36 ../data/empty.pcap
ls: cannot access /tmp/endoutv4.pcap: No such file or directory
Failure: ../../../../snabb-lwaftr check ../data/no_icmp.conf ../data/empty.pcap ../data/tcp-fromb4-tob4-ipv6.pcap ../data/empty.pcap ../data/recap-ipv6.pcap

After that, I re-ran the end-to-end tests, and several ran successfully before a failure occurred. After that failure, all invocations of snabb-lwaftr that did more than show help failed, presumably with the bus error shown above.

Closing as the bug refers to an use of channels that it's no longer supported.
In v2, a channel was used to send actions to the lwAFTR data-plane via the "control" subcommand (for instance, reload-binding-table or dump-binding-table). A lwAFTR had access to a ring-buffer (channel) exposed as shared memory. The bug happened when creating a channel in the lwAFTR data-plane.
In v3, the channel code has been refactored and it's now used only for leader/follower communication. Since the data-plane no longer features a channel, this error doesn't happen anymore when running the end-to-end tests.

authors: dpino kbara wingo

repo: Igalia/snabb


text:
Make lwaftr run --reconfigurable uniprocess

Snabb lwaftr run is currently broken with multiprocess leader/follower setups, for durations over 0.1 second. This patch makes it run in one process until that can be fixed.

Tested with:
SNABB_PCI0=82:00.1 ./program/lwaftr/selftest.sh
./snabb lwaftr run -D 2 --conf ~/snabb-lwaftr-v3.1.0/src/program/lwaftr/test/data/icmp_on_fail.conf --reconfigurable --on-a-stick 82:00.1
(Both pass).

SGTM.


text:
Register new users

Create a form that will register new users
React auth research

https://www.youtube.com/watch?v=pAzqscDx580&list=PL0Zuz27SZ-6PRCpm9clX0WiBEMB70FWwd&index=9


text:
Save connection details as GlobalSettings

Server URL, Server Port, and SlotName will be saved as GlobalSettings.
Also adjusts OnLoadLocal to noop if SlotName is empty.  For a real save,
this will never be the case -- but apparently OnLoadLocal is also called
for the menu and in other cases which was causing the restored global
settings to be consistently overridden with their defaults.
Compatible with #60, but does not require it.  Related issue #45

This breaks eventual slot reconnect as local settings are used per save slot. Saving them globally would break Slot #1 if someone uses Slot #2 for AP as well. I am unsure that merging this is best.

They remain saved as local settings as well, so loading any save would overwrite the global settings (and effectively reset them to whatever was in that save file.)
In fact, I spent entirely too long troubleshooting before discovering that OnLoadLocal was being called before a save was loaded before the main menu, so it was consistently overwriting the global settings.

authors: Ijwu dewiniaid


text:
[ISSUE] Skinshops not working now anymore

Hello,
skinshops throws exeptions now. Can you please fix it?
Thank you :)

At least, add the exceptions.

http://prntscr.com/fow3oj

I have no such problem.

.

i installed all fresh and cant choose something on the store without getting execptions

authors: ImagicTheCat SnaiCrys UtraTM VortexRP

repo: ImagicTheCat/vRP

license: mit


text:
Add ability to edit patients data

Right now, it is not possible to change a patients data (like address, contact info...).
We should add those options. I think they should be accessible through the patient-overview page on frontend.

Diese issue wird übergenommen


text:
Factory method for Grid

Description
This PR:

Introduces the Grid.from_config factory method.
Updates the core schema to include all of the arguments to Grid.__init__ to allow full configuration.
Updates the names of the core.grid.nx and core.grid.ny to cell_n... to match the Grid.__init__ arguments.
Adds a test for the Grid.from_config method.
Updates the rest of the test suite for the schema name changes.

Fixes #213
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

Codecov Report

Merging #214 (1edae7c) into develop (084e22d) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #214      +/-   ##
===========================================
+ Coverage    94.53%   94.58%   +0.05%
===========================================
  Files           33       33
  Lines         1373     1386      +13
===========================================
+ Hits          1298     1311      +13
  Misses          75       75

Impacted Files
Coverage Δ

virtual_rainforest/core/grid.py
95.94% <100.00%> (+0.39%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter davidorme


text:
.NET 4.x GS WebSocket Issue

Ever get an extremely-vague { "error" : "timeout" } (or something like this)? Didn't get it before?
^ EDIT: This is deducted to be a 100% unrelated issue, now reposted here: https://github.com/Imperium42/gs-csharp-community-sdk/issues/7
Well, it seems that this is caused by .NET 4.x issues -- specifically with WebSocket (dll). Although rare, this can cause serious damage to the player experience since it's almost impossible to handle all situations containing this. It's also hard to figure out where the timeout happened since absolutely no useful information is contained within this error.
Apparently, we can swap to a community version of WebSocket "with a few lines of code". However, I'm unfamiliar with this. Anyone wanna experiment with this?
Somewhat related
Fixing this bug would also likely resolve this issue: https://github.com/Imperium42/gs-csharp-community-sdk/issues/3
Important Note
Native WebSocket does NOT include support for Windows 7 (Only Win8+). Any "Native" port will not work for us. We need a custom WebSocket implementation only.
Options
It is crucial that there is Windows 7 support included whatever we port to. We must use a non-native, open source edition. There are several 3 options:

https://archive.codeplex.com/?p=websocket4net
https://archive.codeplex.com/?p=superwebsocket
https://github.com/sta/websocket-sharp // We chose this: See bottom comments to contribute.

@the one who should not be named (thx!) found the src of { error : timeout }, the vague C#4 err, here:
https://github.com/Imperium42/gs-csharp-community-sdk/blob/master/Projects/GameSparks.Api/Core/GSInstance.cs#L758

As this ticket has been open for 4 months now, it doesn't look like it's going to happen. @GameSparks, if you are reading this, it would do the community a great favor for one more update to at least make things scalable ... we sort of need a headstart. This isn't just updating a small bug~ No one here is knowledgeable enough for a websocket replacement.

I changed out the websocket to be the same for all platforms - mostly because I didn't care about some like switch or xbox.  I used this websocket as it works on all my target platforms: https://github.com/endel/NativeWebSocket
I no longer get timeouts on iOS after changing the websocket out.

I no longer get timeouts on iOS after changing the websocket out.

Do you mean you just swapped out a DLL, or required code? I have no idea where to even begin for this. Any chance of a pull request, @jconradi ? Also, does that lib support Win7 (when I hear "native" and websocket together, sometimes I'm susp since Microsoft's native version doesn't support it).

I stumbled upon this issue as well, and based on the NativeWebSocket @jconradi linked I made it work within my own project.
My implementation uses a custom websocket implementation to use instead of the SDK's GameSparksWebSocket. This means no changes need to be made to the SDK files. An alternative fix for this repository is to modify the GameSparksWebSocket to use NativeWebSocket.
My custom websocket implementation can be found here
To use it, modify DefaultPlatform in your project. In the GetSocket method, change
GameSparksWebSocket socket = new GameSparksWebSocket();

to
socket = new CustomGamesparksSocket();

Add CustomGamesparksSocket socket = null; as a class member variable, and add the following Update method to process received messages:
protected override void Update()
{
	if (socket != null && socket.State == GameSparksWebSocketState.Open)
		socket.DispatchMessageQueue();
	base.Update();
}

I've tested this solution on Android (Mono and IL2CPP) and iOS.
This may not be a perfect solution to include into the community SDK repository, but hopefully it can help others who are stuck with this problem.

Nice, @zarlin ! I read that custom implementations should work with Win7, too.

Seems like your CustomGamesparksSocket.cs doesn't know where NativeWebSocket is - I tried using GameSparks.Platforms.Native, but still no dice.
I feel like I'm missing something right in front of me.

https://github.com/sta/websocket-sharp feels promising if this doesn't work with Win7

Thanks to your template, @zarlin , I almost got WebSocketSharp working, but 10 errors away:

Download the compiled WS# dll:

Download this gist, similar to @zarlin 's and throw it beside DefaultPlatform.cs:
https://gist.github.com/dylanh724/4f0d2eb278c79bc1a9f5f8a9b4e353e0

Similar instructions as above for DefaultPlatform edits from Zarlin:

Help with remaining errs :) Everything's in place. Just need some help finding replacements.

Update: Errs are gone (thx skoolbusdriver). Ignore above, just drop this:

GS-WebSocketSharp-WIP1.zip

GS-WebSocketSharp-Final.zip
Hey folks, I got it working. Use this .zip to swap out Native socket with WebSocketSharp with alleged win7 support --
Needs testers ~ No need for src code to use :) Just replaces/drops alongside DefaultPlatform.cs area -- structure should be intuitive.

So, this is it! I'm not quite sure how src auto-gen's this stuff ... can anyone throw this in src? We could also use a "release" version, if someone wants to make an empty project with GS already thrown in.

⚠ Getting some kind of race error on init:
Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object.
  at GameSparks.Api.QueuePersistor.Read (GameSparks.Core.GSInstance gsInstance) [0x00000] in <00000000000000000000000000000000>:0
  at GameSparks.Core.GSInstance.InitialisePersistentQueue () [0x00000] in <00000000000000000000000000000000>:0
  at GameSparks.Core.GSInstance.Initialise (GameSparks.Core.IGSPlatform platform) [0x00000] in <00000000000000000000000000000000>:0
  at GameSparks.Platforms.PlatformBase.Start () [0x00000] in <00000000000000000000000000000000>:0

For example with a Win64 Standalone IL2CPP .NET 4 build, on my desktop, I don't see it ... but on my laptop, I see it every time.
Both works fine in editor.
I am stumped.

@Gamesparks - we're 99% done. Can you toss us a bone for the last 1%?

Offering Bounty
Offering 💸 $500 AWS coupon code to anyone that can figure out how to do all of the following:
(1) put my GS fix above in GS community edition >> (2) recompile GS community edition >> (3) make a pull request.

@dylanh724 I believe one thing that was missed was ping/pong requests. Refer to the GameSparksWebSocket.cs implementation. It enabled auto pinging at an interval of 30 seconds. In my testing, without this pinging the server sends a Close opcode which causes the client to close the connection on Stadia.

Thanks @chorakm - after calling Ping(), how do you tell GS there's a heartbeat, assuming IsAlive may still be true? Or do I just "re" set IsAlive back to true? If false, do nothing (GS will handle d/c)?

Hey @dylanh-pt no problem. So to clarify, IsAlive is a computed property that calls Ping(). Ping returns true or false. It sends a Ping OpCode, and blocks to wait for a Pong opcode from the server. Because this is a blocking call, I did something similar to what's going on in WebSocket4Net where they create a Timer to send a ping on an interval in a thread pool. GSConnection doesn't seem to care whats going on underneath, just that the socket is open and ready. Sending the ping every 30 seconds seemed to prevent the GameSparks backend from sending the Close opcode, which I assume they do because they can't tell if the client on the other side of the TCP connection is still there, so they just terminate the connection.
I'm uncertain as to why this is only occurring on Stadia however. May be something specific to Linux
Here is what I did in CustomGameSparksSocket.cs:
private void initAllExceptMsg(string url, Action _onClose, Action _onOpen, Action<string> _onError)
{
    socket = new WebSocket(url);
    socket.OnOpen += (sender, e) => { OnOpen(); _onOpen(); };
    socket.OnClose += (sender, e) => { OnClose(); _onClose(); };
    socket.OnError += (sender, e) => OnSocketError(e.Message, _onError);
}

private void OnOpen()
{
    this.webSocketTimer = new Timer(OnPingTimerCallback, null, 30 * 1000, 30 * 1000);
}

private void OnClose()
{
    this.webSocketTimer.Change(Timeout.Infinite, Timeout.Infinite);
    this.webSocketTimer.Dispose();
}

private void OnPingTimerCallback(object state)
{
    socket.Ping();
}

Thanks for that! When I get to my own time, I'll toss up a new zip and relook over that pull request from the other guy. With his pull request, we can see where to edit and possibly toss this in, too.

GS-WebSocketSharp-Nov28_2020-Final3.zip
Here is the updated patch (v3) - I'll edit above, too.

authors: chorakm dylanh-pt dylanh724 jconradi zarlin


text:
Visual Theme System: Public Files

Describe the feature you'd like
https://github.com/BookStackApp/BookStack/issues/3904
Describe the benefits this would bring to existing BookStack users

Can the goal of this request already be achieved via other means?

Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
Not using yet, just scoping
Additional context

Implementation  Time : 3 Hours
Exploration Time : 2 Hours

Implementation Start

Discussion on weekly (7-10-2024)

right now file is store with filename only, the issue might be arise that two different person can upload file with same name then latest file will be override to previous file

solution : store file name with some random string or any hash value

Exploration:

till now we dont store custom file into database, if we move from local storage to any cloud storage then we have database store then it very convenient  to manage custom files

Discussion on (9-10-24)

discuss about why database is need
we create a migration for move from local storage to s3 and vice-versa
now onwards no need for database firstly try to apply custom added css file into project.
apply as other css do not affect rather than only in file css is update

we need to discuss about the issue in more depth

authors: brijm-improwised tapanbavaliya

repo: Improwised/BookStack


text:
ClipRect behaviour is strange

Hello!
Describe the bug
I am printing long strings to the GUI elements (gslc_ElemCreateTxt), and text gets out of element's boundaries.
I see usage of ClipRect and setViewport in GUIslice, but gslc_DrvSetClipRect is always sets clipping region to 0,0,320,240 - whole screen.
I can not understand how to use gslc_SetClipRect, because it takes only gslc_tsGui* pGui argument, not pElemRef - to stop the text running out of elements' boundaries.
Why clipping every element's contents is not the default behaviour of GUIslice? Or maybe it's GUIslice_drv_tft_espi.cpp bug?
If I change the line
m_disp.drawString(pStr,nTxtX,nTxtY);
in gslc_DrvDrawTxtAlign function to this:
m_disp.setViewport(nX0, nY0, nX1-nX0, nY1-nY0, false);
m_disp.drawString(pStr,nTxtX,nTxtY);
m_disp.resetViewport();
I can get the desired behaviour, but is it the right way?
Device hardware

MCU: ESP32
Display with link: ST7789
GUIslice config selected: esp-tftespi-default-notouch.h

Checklist to try first

Open the example ex19_ard_smooth
Change the text from "Quit" to "Quit12345"
Build and run

Expected behavior
Element's contents are clipped by element's boundaries

@en-ot thank you for the detailed summary!
Many display libraries don’t support clipping (especially when it comes to rendering characters), but thankfully TFT_eSPI recently added it with the setViewport() functionality.
GUIslice already uses this mode when redrawing portions of the display that were updated, but not necessarily in the initial draw (where the clip / invalidation region is the entire screen).
For example, if you had set your initial text to “Quit” and then later called ElemSetTxtStr(“Quit12345”) after a later Update(), you would probably see the text clipping as you expected.
You make a good point as I think we should be able to also use this on the initial draw as well, making the clipping always active. I’ll take a look at the best way to implement this as we might not want to override the viewport in DrvDrawTxtAlign() as it could interfere with cases where multiple items are being redrawn concurrently.
Thanks!

authors: ImpulseAdventure en-ot

repo: ImpulseAdventure/GUIslice


text:
Cache embeddings

Is your suggestion for improvement related to a problem? Please describe.
We have implemented storing of chat history, but currently we haven't implemented storing of embeddings.
Describe the solution you'd like

When user opens a .bib library, a background process should start that generates the embeddings.
Embeddings are stored in a local user directory.
User can access the AI chat only at the end of embeddings generation. Or when all the embeddings for one BibEntry are generated.

Additional context

When user adds a new BibEntry or a LinkedFile the process starts again, but will generate embeddings only for the additions.
[IMPORTANT ONLY FOR NEXT ITERATION] When user changes an EmbeddingModel, all the embeddings should be invalidated.

Challenges

We have two choices for when to allow the user to chat with entries:

When all the embeddings for the library are generated.
Pros: easy.
Cons: the user have to wait.
When the embeddings for one BibEntry are generated the user should have the ability to chat with it. Other generation tasks for other entries should continue in background.
Pros: users doesn't have to wait.
Cons: synchronization. Will it be okay to read embeddings while chatting and in the same time writing embeddings for new entries?

Okay, let's start with simple:

Let's store all embeddings at run-time and throw them away at exit.
When user opens a database, run a background task that will generate embeddings in background.
While embeddings are being generated, the user can't chat with AI.
At the end of generation, user can chat with AI.

Umm, I failed.
So, at first I thought it would be a GUIPostOpenAction, but I need a PreferencesService and AiService, they are not awailable in GUIPostOpenAction classes.
Where to put this code?

repo: InAnYan/jabref


text:
FIX: Update docs

Updating docs to include current favicon and get rid of the separate submission InputFile type

tried deploying docs from the feature branch, and they look good, so merging to master.


text:
Can't bind to 'ngxComponentOutlet'

I followed your steps but facing this error:
core.js:15724 ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'ngxComponentOutlet' since it isn't a known property of 'ng-container'.
1. If 'ngxComponentOutlet' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("<div *ngFor="let widget of widgets.widgets" class="col-lg-4">
                        <ng-container [ERROR ->]*ngxComponentOutlet="widget.component; data: widget.data">
                        </ng-container>
  "): ng:///HomePageModule/HomePage.html@307:38

Here's my codes & env.
html
<div *ngFor="let widget of widgets.widgets" class="col-lg-4">
  <ng-container *ngxComponentOutlet="widget.component; data: widget.data">
  </ng-container>
</div>

app.modules.ts
@NgModule({
  declarations: [AppComponent],
  entryComponents: [],
  imports: [
    BrowserModule, IonicModule.forRoot(), AppRoutingModule,
    NgxdModule],
  providers: [
    StatusBar,
    SplashScreen,
    { provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}

packages.json
"@angular/common": "^7.2.2",
"@angular/core": "^7.2.2",
"@angular/forms": "^7.2.2",
"@angular/http": "^7.2.2",
"@ngxd/core": "^7.0.3",

Thanks

Hello! You need to add context before data:
  <ng-container *ngxComponentOutlet="widget.component; context { data: widget.data }">
  </ng-container>

Thanks for your reply, but it does not fix my problem..

Can you reproduce your problem on stackblitz?

It works perfect with stackbliz, still not working with my project.
I'll close this issue for this moment and reopen it when I able to reproduce it on stackbliz.
Thanks!

repo: IndigoSoft/ngxd


text:
关于推理结果只能返回整型的问题

您好，不好意思打扰了！
想问一下推理结果只能返回整型是为了在平台上可视化画图吗？
这边本地和YMIR平台在相同推理结果的情况下，评估得到的mAP不一致，发现是YMIR平台转换推理结果的时候取了整型，不取整型会报错？由于整型的评估结果 和 不取整型的评估结果存在差距，请问这个接口可以修改吗？在哪里可以修改？谢谢！🙏

这边本地和YMIR平台在相同推理结果的情况下，评估得到的mAP不一致，发现是YMIR平台转换推理结果的时候取了整型
这个结论有点奇怪。如果是目标检测类型的项目，ymir 采用 pycocotools 计算其 mAP，按道理说，结果框取整型和取浮点对于结果的影响并不大，我想进一步了解一下你那边的实验结果，即：取整型和取浮点，其结果差距到底有多少。

如果想将框的整型改为浮点，需要做出以下改动：

推理镜像的改动
a. 改动 rw.Annotation 的结构，里面有个 Box，将其 x, y, w, h 类型全改成 float
b. 同时，改动日志上出错的这行，将其前面的 int 换成 float
YMIR COMMAND 的改动
a. ymir/command/proto/mir_command.proto 文件中的 Rect 结构，将 x, y, w, h 全部改成 float
b. 在 command 目录下执行./update_proto_py.sh
c. ymir/command/mir/tools/annotations.py 文件中的 L110-L113，以及 L149-L152，int 改成 float
d. 重新打包 ymir backend 镜像并运行

authors: CatchBeliF-TAT fenrir-z

repo: IndustryEssentials/ymir


text:
Cannot use Point to correctly assign timestamp

Specifications

Client Version: 0.1.0
InfluxDB Version: Cloud Serverless 3.0, https://us-east-1-1.aws.cloud2.influxdata.com

Code sample to reproduce problem
    const newMeasurement = new Point(measurementTo)
        .timestamp(1687953601688) // Any value here results in the same timestamp appearing in Cloud Serverless
        .tag('device_id', 'testId3')
        .floatField('avgEnergy', 120.10)
    await client.write(newMeasurement, databaseTo)

Any value for timestamp results in 1970-01-01T00:28:07.953Z being written as the timestamp. I've tested with 3 different write operations with completely different data
Expected behavior
The specified timestamp is against the record in InfluxDB
Actual behavior
1970-01-01T00:28:07.953Z is the timestamp on all tests
Additional info
No response

Hi @bcorbett6,
your timestamp 1687953601688 is in milliseconds precision. You have to initialize your client with proper precision:
const client = new InfluxDBClient({host, token, writeOptions: {precision: 'ms'}})

Regards

Thank you for the quick response, this was spot on @bednar !


text:
Apps breaks with Webpack Uglify

Hi there,
I try to launch the build of my application, but I have an error when I display my app on the browser
materialize.js:235 Uncaught TypeError: Cannot convert undefined or null to object(…)
I just read issue #42 and #40. The problem seemed to come from the fact that materialize.js is already minified. But I tried to include exclude and except instructions in my webpack.prod.js, without success...  I also tried to set dead_code to true, same thing. Here is my Uglify option :
new webpack.optimize.UglifyJsPlugin({
  mangle: {
    keep_fnames: true,
    except: ['Materialize']
  },
    exclude: ['/materialize.js/g'],
    dead_code: true
})

Still this error...
I use Webpack v1.13.3. The build is ok when I don't use the Uglify plugin.
Thanks for help

I just tried to copy the sample code from https://github.com/InfomediaLtd/angular2-webpack-starter/blob/master/config/webpack.prod.js
new UglifyJsPlugin({
      // beautify: true, //debug
      // mangle: false, //debug
      // dead_code: false, //debug
      // unused: false, //debug
      // deadCode: false, //debug
      // compress: {
      //   screw_ie8: true,
      //   keep_fnames: true,
      //   drop_debugger: false,
      //   dead_code: false,
      //   unused: false
      // }, // debug
      // comments: true, //debug

      beautify: false, //prod
      mangle: { screw_ie8 : true }, //prod
      compress: { screw_ie8: true }, //prod
      comments: false //prod
    })

And it works...
The difference is the "keep_fnames" option of mangle. I'm not very familiar with Uglify, but setting it to true tells Uglify to not mangle function names. I don't get clearly why it could cause app to crash ?

@supertino7 is this still an issue with the latest versions?


text:
materializeParams problems with angular rc6

After migrating from rc4 to rc6 I'm having problems with the materializeParams attribute:
systemjs parser gives:
Can't bind to 'materializeParams' since it isn't a known property of 'a'

on the html:

         add

I have inspected the html and can see that there has been som javascript magic on the "materialize" keyword, so I'm guessing that materialize-css.js has been run.
Any guesses as to what I am doing wrong?

I was just missing
declarations: [  MaterializeDirective ],
in my @NgModule


text:
Made with InfyOm Generator

Add your website to Made with InfyOm Generator List
I just came to the idea that why don't we have a list of websites/projects which were built or already using InfyOm generator.
I came across lots of websites and admin panel which is using this generator. so preparing one list will be great motivation for the team.
Anyone who wants to add his/her website to the list can comment on this issue.
The list will be updated every week for new comments.

Mentioning some contributors:
@dhcmega @NightZpy @phillipmadsen @jschlies @alexanderreiff @claudiobastos @motia @remxcode @Katenkka @xiaohuilam @uniconstructor @JosueMOsunaG12 @rascoop @jeffschuler

@mitulgolakiya https://app.reantamchet.com/ Thanks for the awesome work!

authors: maulikvora mitulgolakiya

repo: InfyOmLabs/laravel-generator


text:
Document

I am recently working on Infyom and when I reading your documentation I have seen this
" Support for all Laravel versions 5.5, 5.6, 5.7, 5.8, 6.0 & 7.0"
So, my question is, is there no support for Laravel 8? Or document has not updated yet.

It supports 8.0. we will fix it soon. Good catch.

It supports 8.0. we will fix it soon. Good catch.

Hello @bappi2097 we have added documentation for laravel 8 too
Here you go : https://infyom.com/open-source/laravelgenerator/docs/8.0/introduction
Thanks

authors: bappi2097 mitulgolakiya vishalinfyom


text:
feat: this allows to configure traefik in more details

Instead of creating a custom branch as discussed today, I found an "easy" dynamic solution that should allow us to use self signed certificates without breaking compatibility. What do you think about it?

:tada: This PR is included in version 6.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: ci-innoactive klyse


text:
Add multifunction

Can you add multi function variables to the controls?

Will do.

authors: Inserian Trivarian

repo: Inserian/GoodDog


text:
Using accessible color in reports

@CWiswell-IDM commented on the validation report
https://github.com/InstituteforDiseaseModeling/PACE-HRH/blob/main/validation_report.Rmd#L14-L17
https://github.com/InstituteforDiseaseModeling/PACE-HRH/blob/main/ValidateInput_plot.R#L35
may not be color-blind friendly
maybe using these palettes? http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/#a-colorblind-friendly-palette
@ptrdo any suggestions?

IMHO, color-blindness ought not be the prescribing factors unless it's known that a significant number of the intended audience is known to be color blind (~8% of men, but to varying degree, many not severe). More important is that the chosen colors are distinct from one another and express the desired alarm.
Here is a browser plug-in (for Chrome) that will demonstrate various forms of color blindness. Though keep in mind that some of these are very rare and virtually uncorrectable with any feasible palette.
https://chrome.google.com/webstore/detail/colorblindly/floniaahmccleoclneebhhmnjgdfijgg?hl=en
If someone wants to grab a screen capture of the result of this project, I would be happy to assess it (from my opinion).

@ptrdo thanks for the feedback, for the validation report, the color doesn't seem to get adjusted from the plugin (attached one file here if you want to check)
validation_report.zip

@CWiswell-IDM @MeWu-IDM The plug-in won't work with an image, so I used Photoshop to convert the rendered chart for the most common form of color-blindness (red-green, deuteranomaly). The most offensive color is the “limegreen” (#32cd32) which is seen by a color-blind person as very close to the “goldenrod.” However, if instead of “limegreen” we use “downy” (#69d0be), then that color is seen as light grey, and distinguishes itself nicely from the others.

IMHO, downy is a little easier on normal eyes too (as opposed to limegreen).

@ptrdo thanks! I like this!  since I am doing some changes in the report I updated the color https://github.com/InstituteforDiseaseModeling/PACE-HRH/pull/228/commits/bce173e48d2998a57eddea78038415309b10ce2c

authors: MeWu-IDM ptrdo

repo: InstituteforDiseaseModeling/PACE-HRH


text:
feat: dongjun.html 추가

rockstar_newjeans.PNG 추가
배경 색 수정

good

넵 마음껏 바꿔주십셔

authors: SGTRyon ddongjun

repo: Insu-Park/OREUMI-GIT-REVIEW


text:
[0.7.0] Could not init websocket: Interrupted handshake (WouldBlock)

💻3 computers connected via an ethernet switch
📁192.168.1.1 shares a network folder with the game in it
❌ the host fails to connect to itself with the error Could not init websocket: Interrupted handshake (WouldBlock)
⬛ 192.168.1.2 host black screen, 🐛 192.168.1.3 guest bugfree screen
🐛 192.168.1.3 host bugfree screen, ⚡ 192.168.1.2 guest connects with +25k $99k that immediately changes to +25k $100k. Picking up the heart on the left changes the health to 25025.
the guest has to newgame before the host, or it gets the same error. Sometimes it gets the error anyway.
On 0.2.0 I was once able to get 192.168.1.1 and 192.168.2.3 connected right at the beginning, then one disconnected.
🤼 I've played using M-Néé+Kappa (p2 meat shield+infinite wands+slow+immunity), and with Noita Together (weak player dies early, have to decide between killing p2 for multiplayer restart, or p1 gives up and p2 continues in singleplayer), but have yet to play one game with this mod.
♨ 192.168.1.2 Steam networking Could not init steam networking: We cannot connect to Steam, steam probably isn't running
♨ 192.168.1.3 Steam networking Could not init steam networking: Some other failure
🔧 no other mods enabled
🐌 singleplayer performance: 192.168.1.2 has slow movement the whole game, 192.168.1.3 has freezes
🛜 if anything accesses the internet, it goes through a pdanet mobile hotspot
📶the computers can ping each other without packet loss
host 192.168.1.3 when guest connects first:

guest 192.168.1.2:
…and now I can't connect as guest to screenshot the health bar, even by restarting all 4 parts. So here's guest failing to connect multiple times without closing its noita-proxy

You probably have debug mode on. It gives 25k health, gold, and several starting perks

"Can't init websocket" is somewhat new. I'll try to fix it in the next version.

[0.8.0] We can connect, see each other's movement / mouse pointers / shots, then it desyncs fairly quickly (with us just standing there, or around when we kick the minecart). The other player's movement lags behind, then stops completely.
guest: Error while broadcasting message of len 141: Message dropped
host: Peer 1 removed

Try connecting by steam, connection by ip isn't that good and hasn't been worked on since v0.1.

🔌removing the switch and directly connecting ethernet doesn't stop it from desyncing
Yes, steam networking works

authors: IntQuant khonkhortisan


text:
[DO NOT MERGE] Add more metrics in OapFileFormat and CacheStats #506

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)

report cache information by heartbeat, modify customizedInfo -> Seq[(className, customInfo)]
CacheStats support Ser/Deser to/from json, add more metrics into CacheStats:

cache Metrics
backendCache Metrics
dataFiber Metrics
indexFiber Metrics
pendingFiber Metrics

add a OAP tab in SparkUI that monitor FiberCacheManager:

involve the Spark root resource class ApiRootResource
page is similar to Executor Page
support RESTful API: /api/v1/applications/fibercachemanagers

modify and add OapFileFormat accumulators, which are SQL-level.

How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
UT test, and UI Test
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Accumulator: Job-Level -> SQL-Level

OAP UI: FiberCacheManagers

Thanks @TigerSong , @xuanyuanking
Looks like a nice feature. I'm reviewing.

@TigerSong
Hi, I reviewed this PR and it should be separated into several small ones.
Per my understanding, it can be divided into at least below ones:
(1) PR to add a OapTab into spark UI.  -> Only print some hard-coded message in the page is OK
first commit only copy spark code to oap. second commit contain the changes you make.
(2) PR contains the FiberSensor changes -> On need include the real cache stats summary code
I mean the changed related to "customizedInfo -> Seq[(className, customInfo)]"
(3) PR contains the cache stats update to driver code
(4) PR contains the SQL-level OapFileFormat accumulator
(5) Other PRs you may want to add
And let's start with the first one.

This PR will split into small ones. so do not merge

@carsonwang @TigerSong
Can we close this?

close it.

authors: TigerSong linhong-intel

repo: Intel-bigdata/OAP


text:
RE1 - Crash when playing Rebecca, seems like there is an invalid item in the inventory

Version
3.0.1 (98fb96d)
Seed
R710-T1Z4-X5MC60QZ9Y000N82TLP4ZZZZZZZZZZZZA1Z
Scenario
RE 1 (Chris)
What happened?
Hi there!
The game crash when you start controlling Rebecca Chambers (when you need to save Chris from the big Plant). If I open the inventory, the game will crash. I noticed that there is an infinite weapon without any graphic asset (black rectangle), which makes me believe there is an invalid item in the inventory of Rebecca.
I tried to use the debug menu to remove this, but if I try to edit the inventory via the debug menu, the game will also crash.
Note: I am also using the TeamX HD mod to play the game.

Just wondering one thing. With Rebecca, having the inventory full, won't it break the game? You need to create the J-VOLT and for that you need to grab chemical containers, right? And since you can't open Chest when you are playing with her, won't it make me stuck? Or maybe not? I'm not too sure how it is handled in this randomiser and its been years since I played this classic, so my memory on this is a bit fuzzy...
But anyway, her inventory looks like this:

Handgun (loaded with 15 rounds)
MixedHerb (G+R)
Doom Book 1 (Eagle of East Wolf of West)
Grenade Launcher Rounds x117
Shotgun (loaded with 3 rounds)
????? (Balck Rectangle with Infinite quantity)

I tried to dive in the code to see how the inventory is made for this rando, but I do not understand the init.xml vs the Re1ItemIds. Nothing match what Rebecca have.
<Init>
  <Player>
    <Entry id="1" count="1" />
    <Entry id="73" count="1" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
  </Player>
  <Player>
    <Entry id="2" count="15" />
    <Entry id="11" count="66" />
    <Entry id="1" count="1" />
    <Entry id="73" count="1" />
    <Entry id="70" count="1" />
    <Entry id="71" count="1" />
    <Entry id="2" count="15" />
    <Entry id="70" count="1" />
  </Player>
</Init>

Like, the second Player entity does match what Chris starts with, but thats about it. Where does the inventory of Rebecca is being set? ^^'

Though I could give a screenshot just for reference. Also, sorry for the spamming messages. ^^'

Alright, so I decided to generate the seed again, but this time with the actual official build.
(I was messing around with the source code in Visual Studio, but when I generated the seed, I didn't have the "data" folder of biorand in the bin, so I was thinking maybe I screwed something up.)
The generation is the same (init.xml and inventory generation is identical, same logs), but now Rebecca have 3 items.

Maybe there is something wrong with the version of my game? For this test, I did skipped everything just so I can get to the problematic part, but still no luck.

All biorand will be doing is editing init.xml. So you can edit that file manually in mod_biorand to understand what is going on. You must restart the game for it to load init.xml again. If you find the game is doing something different each time you load it without changing anything, then it isn't being patched right.
I might try to patch the inventory myself rather than using rebirth's mechanism, just like I do with RE 2, and RE 3. This also means you do not have to restart the game.

Hi dude! Thanks for the clarification, this sure does help. :)
So after messing around a bit, I think I finally understand the XML structure:

I did a few test and noticed something in particular for Rebecca. If I remove the item from the second slot, I do not have the extra Minimi item.
  <Player>
    <Entry id="2" count="15" />
    <Entry id="11" count="66" />
    <Entry id="1" count="1" />
    <Entry id="73" count="1" />
    <Entry id="70" count="1" />
    <Entry id="71" count="1" />
    <Entry id="2" count="15" />
    <Entry id="0" count="0" />
  </Player>

And If I try to replace set the second item with anything else (does not matter if its an herb or a weapon), I will have the Minimi

And if I remove everything, well my inventory will be empty as expected:
  <Player>
    <Entry id="2" count="15" />
    <Entry id="11" count="66" />
    <Entry id="1" count="1" />
    <Entry id="73" count="1" />
    <Entry id="70" count="1" />
    <Entry id="71" count="1" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
  </Player>

A bit of a weird behavior. ^^'

What happens if you add 4 empty elements after the two items for Rebecca?

Oh, looks like you have found the solution! ;)
Adding those extra empty elements allow me to have the 2 items that was set initially.
  <Player>
    <Entry id="2" count="15" />
    <Entry id="11" count="66" />
    <Entry id="1" count="1" />
    <Entry id="73" count="1" />
    <Entry id="70" count="1" />
    <Entry id="71" count="1" />
    <Entry id="2" count="15" />
    <Entry id="70" count="1" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
    <Entry id="0" count="0" />
  </Player>

I expect it was an initialisation problem. Without those empty slots, the memory was never getting cleared so you would get random items appearing.

authors: IntelOrca PMCDC

repo: IntelOrca/biorand


text:
[D435] point cloud surface is not smooth

Required Info

Camera Model
D435

Firmware Version
05.08.06.00

Operating System & Version
Windows 10

Kernel Version (Linux Only)

SDK Version
RS2

I tested my newly bought Realsense D435, but I found that the quality of point cloud can't meet my requirements. Zoom in to local details,found It has a very obvious undulating wave and not a stable surface. Is that normal and how can i improve it?

Zoom in to detail

Hi @dorodnic
I am experiencing the same problem

Hi @dorodnic thanks for this documentation on tuning the cameras.
I also have problems of ondulations, with L515 and I would like to know if there are similar guidelines (or update) for L515, which is a different technology than the Dxxx products, so it might be different advices for tuning the camera?
thanks

authors: JiaLiangAl agenis stevensu1838

repo: IntelRealSense/librealsense