SDK: Typescript/Nodejs

Author: Brendan
Summary of the feature being proposed
Implement a Typescript sdk for Nodejs
What value does this feature bring to Temporal?
broadens the number of companies that would consider using temporal, especially those running primarily on nodejs.
Are you willing to implement this feature yourself?
Unfortunately I don't have the resources.

Hey Brendan thanks for the proposal. We most likely won't get to this in the immediate future, but I'm not actively tracking it!

@rylandg coming over to this issue via the discussion here: https://temporalio.slack.com/archives/CTQU95E84/p1592815797106300
You could look at this as two parts of work:

the part talking to the frontend API to schedule, update and/or remove workflows, so a NodeJS application backend can talk to Temporal. I'm in this camp.
ability to implement workflow and activity workers in JS/TS. I do not have this need at the moment

Hey Ringo I completely agree with this separation. It is much easier for us to expose the simple API via Node than it is for us to implement an entire client SDK in TypeScript. Therefore I think it's feasible short-medium term for us to add support for control plane bindings via Node. Until then keep in mind that it's possible to use GRPC via Node (I know this isn't optimal but it can unblock you until we have it).
Let me talk to Maxim and others about length of effort.

@nicolasgere started working on nodejs sdk here https://github.com/nicolasgere/temporal-nodejs-sdk


Delete temporary files when uploading files to OBS fails

What changes are proposed in this pull request?
delete temporary files when uploading files to OBS fails.
Why are the changes needed?
Currently does not delete temporary files when obs delete fails.
Does this PR introduce any user facing changes?
No user facing changes.

alluxio-bot, merge this please


Fix "TODO" issue in src/library/TypedGraph/DPO/GraphProcess.hs

TODO found
https://codeclimate.com/github/Verites/verigraph/src/library/TypedGraph/DPO/GraphProcess.hs#issue_591c5fa4dc3ac5000100007b

File renamed in refactoring


Build advanced wallet setup onboarding UI

Issue #762

[x] Create advanced wallet setup onboarding component

Proof

Hi, @Ovifer13 pls resolve the conflicts!

@sofiaromorales done!


Some options like "Update search paths when adding linked files" are missing

Describe the bug

Steps to Reproduce

Launch VS and select Tools > Options > Python > General

Expected behavior

Actual behavior

These options are no longer supported.


URI of Schema

Can you please provide the URI of the schema for these?  Would be nice to be able to put this in VS for authoring.

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

ID: d956852a-d98e-c022-d6f2-c2910afe6e93
Version Independent ID: 8107b348-d2b4-214e-2b18-bf813f1fe1e8
Content: Azure Policy definition structure
Content Source: articles/azure-policy/policy-definition.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@danmyhre Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@danmyhre I'll talk to the team and see if we can make that available for you.  #in-progress

It is available here:
https://schema.management.azure.com/schemas/2016-12-01/policyDefinitionjson
There are some small changes in the new api-version (2018-03-01) that will be added in the near future at which point a new version will be published under the appropriate version folder.

@danmyhre I've updated the document and it should merge and publish later this morning.  Thank you again for the feedback and helping us improve use of Azure Policy!  #please-close

Actually, it looks like that schema only covers the part of the schema inside the "policyRule" section and not the entire definition.  Can this get updated to add the missing sections?  (name, properties, type)

Yes, right now it is just the policyRule schema.  I'll ensure that we get full schemas published for the 3 policy resource types (policyDefinitions, policyAssignments, and policySetDefinitions).  However, I can't guarantee when those will be available

@danmyhre We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Use uvicorn for running Flask

Current Situation
We currently do not use uvicorn for running flask due to flask-sock's incompatibility with WsgiToAsgi middleware.
Proposed Actions
When/if WsgiToAsgi middleware gets compatibility with flask-sock, we should migrate our flask backend to use uvicorn
Blocked on https://github.com/miguelgrinberg/flask-sock/issues/58

WsgiToAsgi isn't really fully fleshed out, so we really should avoid using it. Unless Flask adds native ASGI support, this issue becomes unreasonable to develop.


Get list of subject from excel sheet

Requirements
Get list of subjects by reading data base from excel sheet
Description of the Change

excel sheet located in /Volumes/Public_JCA/sct_testing/large/_data_mri.xlsx  replaces the .json files
new flags :

-spec : takes the specifications to select subjects with the following format : "field1=val1,val2:field2=val3:field3=val4,val5" (for example: "center=unf,twh:gm_model=0:contrasts=t2,t2s")
-file-spec : path to the excel file to read (default = /Volumes/Public_JCA/sct_testing/large/_data_mri.xlsx)

More detail

the fields in the specifications can be any column name in the ggsheet
not case sensitive
if there is a space in the ggsheet column name, replace it by "_"
for some fields ( 'contrasts', 'sc seg', 'gm seg', 'lesion seg') the subjects are selected if the field contains the requested value (as opposed to the field is equal to the requested value)

Example
sct_pipeline -f sct_propseg -d /Volumes/Public_JCA/sct_testing/large -spec center=unf:study=errsm:subject=16
Running /Users/saradupont/Neuropoly/code/spinalcordtoolbox/scripts/sct_pipeline.py -f sct_propseg -d /Volumes/Public_JCA/sct_testing/large -spec center=unf:study=errsm:subject=16
Check folder existence...
Testing started on: 2017-06-29 18:21:42
SCT commit/branch: 48808508dc2f769c10cf9888b6ac2d5ba261e117/sd_get_list_subj_excel
OS: osx (Darwin-15.6.0-x86_64-i386-64bit)
Hostname: Sansfil-Securise-Employes-Lassonde-232-244.polymtl.ca
CPU cores: 8
RAM: Primary memory available: 16.00 gigabytes

Command: "sct_propseg
Dataset: /Volumes/Public_JCA/sct_testing/large/
reading XLS
Number of subjects to process: 1

GLOBAL RESULTS:
Duration: 33s
Passed: 1/1
Crashed: 0/1
Mean: {'dice_segmentation': 0.9768708739208716, 'duration [s]': 32.002464056015015}
STD: {'dice_segmentation': nan, 'duration [s]': nan}

DETAILED RESULTS:
        subject  dice_segmentation  duration [s]  status
0  unf_errsm_16           0.976871     32.002464       0
Status Legend - 0: Passed | 1: Crashed | 99: Failed | 200: Input file(s) missing | 201: Ground-truth file(s) missing

fantastic PR! Thank you Sara!
very minor detail: i am not a big fan of the field name "spec", because the field relates more to the concept of selection, rather than the specification (ie intrinsic properties). A few suggestions (in order of preference), but this is open to discussion:
-subj
-sel

Okay ! Let's discuss the fields names in the next SCT meeting !


bug: actions checked for AwsSolutions-SNS3 is incorrect

What is the problem?
AwsSolutions-SNS3 expects that a resource policy is applied to SNS topics to enable encryption in-transit in-line with AWS best practices.
When applying the resource policy CDK nag expects the policy action to be either "*" or sns:* which is incompatible with what can be applied to SNS resource policy.
This results in the SNS topic resource failing to deploy with an error.
reference : https://docs.aws.amazon.com/sns/latest/dg/sns-security-best-practices.html#enforce-encryption-data-in-transit
Reproduction Steps
#!/usr/bin/env python3
import aws_cdk as cdk
from aws_cdk import Aspects
from aws_cdk import aws_iam as iam
from aws_cdk import aws_sns as sns
from aws_cdk import aws_kms as kms
from cdk_nag import AwsSolutionsChecks
from constructs import Construct

class SNSStack(cdk.Stack):
    def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
        super().__init__(scope, construct_id, **kwargs)

        notification_topic = sns.Topic(
            self,
            "notification-topic",
            display_name="notification-topic",
            master_key=kms.Alias.from_alias_name(self, 'default-sns-key-alias', alias_name='alias/aws/sns')
        )

        notification_topic.add_to_resource_policy(
            iam.PolicyStatement(
                actions=[
                    "sns:*",
                ],
                principals=[iam.AnyPrincipal()],
                resources=[notification_topic.topic_arn],
                effect=iam.Effect.DENY,
                conditions={"Bool": {"aws:SecureTransport": "false"}},
                sid="Enforce encryption in-transit",
            )
        )

app = cdk.App()
SNSStack(app, "SNSStack")
Aspects.of(app).add(AwsSolutionsChecks())
app.synth()

What did you expect to happen?
The stack/resource to deploy successfully after adding the required resource policy to the SNS topic.
What actually happened?
Stack deployment failed with below error message
Couldn't set topic access policy. Error code: InvalidParameter - Error message: An error occurred while setting the attribute access policy. Invalid parameter: Policy statement action out of service scope!
cdk-nag version
2.7.4
Language
Python
Other information
Code for the cdk_nag rule can be changed to check for sns:Publish in resource policy actions which will ensure the resource is deployed successfully.

Thanks for reporting!


Re-schedule all jobs that might have lost cron-scheduling by any reason

Motivation: If a (repeatable/cron) job loses even one link in the series of scheduling, the job will never run after that.
in the previous PR, I tried to re-schedule the same job that was executed.
Unfortunately, this method might be perfect in theory, but if anything happens, the cron/repeatable job becomes "enabled but not scheduled".
This is a slight modification to allow any finished job to re-heal other jobs.
@cunla What's your insight on this?
Perhaps the end-goal would be to have an "internal" repeatable job (say, every 1 minute) that check for the health of all the other jobs and heals them as necessary?
I did not include tests, but happy to do it (I've tested manually, namely: delete all the jobs in the scheduled registry but 1, and after that one runs, you will get all the scheduled registry back as per the enabled jobs in cron/repeatable. We only use crons though)

Hi, this is good.
I agree the end goal is to have a recurring job to schedule jobs.
I am working on it.

At the moment, the tests are failing because the way is_scheduled is defined.
is_scheduled is meant to be used in admin only, not for logic. I might move the method.

Do you want me to fix is_scheduled() / make tests to push this test.
I want to go back to using the official package so I might as well create a Cron job (or two!) that ensures that any enabled job has its schedule counterpart.

Do you want me to fix is_scheduled() / make tests to push this test. I want to go back to using the official package so I might as well create a Cron job (or two!) that ensures that any enabled job has its schedule counterpart.

If you can wait a day or two, I will release a fix for it.

@cunla Yes! no problem!
I might try to create a job that finds and fixes "orphaned scheduled" (scheduled jobs that are already in the past and are not picked up by the scheduler), which is probably an issue inherent to rq itself.

You have jobs that are scheduled but not picked up?
Do you mind giving me more info?
Can we schedule a short call?


fix(api): ot3 motor status cannot be trusted, yet

Overview
We added a workaround in #11978 to enable hardware testing by forcing the motor status of an axis to report OK if the axis has homed once. This means that after a stall, the motor status will be falsely reporting ok. This leads the hardware controller to trust the motor position when issuing a subsequent move command – even though the motor position has diverged from the actual/encoder position.
Together with the changes added in #12142, the motor can crash into the limit switch during a home command if a stall has occurred beforehand. This PR comments out the if block that checks the motor status. Until we can trust the motor status flag, we should instead only check the encoder position and update motor position before homing any axis.

Okay, sure. So this is basically in until we reenable actually detecting stalls?

Yes, do we know when we can actually re-enable stall detection again?


Use correct path when opening file in tests

When running make test, several tests failed with a similar error:
$ make test
nosetests --with-color ./tests/*
............EEE..............................................EEE...................................................EEE..................................
======================================================================
ERROR: test_POSTBIN_GET_POST_FILES (test_requests_async.RequestsTestSuite)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/home/christopher/code/requests/tests/test_requests.py", line 294, in test_POSTBIN_GET_POST_FILES
    with open('test_requests.py') as f:
IOError: [Errno 2] No such file or directory: 'test_requests.py'

(...)

----------------------------------------------------------------------
Ran 152 tests in 11.122 seconds
FAILED (errors=9)

The problem was that the current working directory was the root of the project, so calling open('test_requests.py') failed because it's now in the tests directory.
After the fix:
$ make test
nosetests --with-color ./tests/*
................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 304 tests in 19.953 seconds
OK

Using __file__ now.

Cool, that makes more sense.


Add explanations to examples in documentation

Without explanations of the many different ways to specify parameters, figuring out how to use this library is harder than it should be.
Also, most of the examples seem to demonstrate passing just a single parameter (or a set of parameters for a single invocation). It's not obvious how to pass several parameters.

We know that our documentation is outdated and lacks many features we introduced. We will tried to update it but any help is appreciated.


Recieving JSON file instead of kext

I installed the latest kext release and placed the USBToolBox.kext file in EFI/OC/Kext.
I then installed the Windows.exe and ran it.
From here, I pressed "D" to discover the ports and once this process was finished, I backed out.
Next I chose "Select Ports and Build Kext" which once I was inside, I pressed "A" to select all before pressing K to build.
The window then closes immediately and I see a JSON file named "USB" produced.
I am expecting a .kext file to be produced.
I am not sure how to debug this.

Hardware:
I am on a lenovo laptop (lenovo flex 5). I am unsure where to find other information but I do know the CPU is AMD Ryzen 7 7730U.
The graphics just says AMD Radeon TM Graphics.

Please let me know what steps I can take from here.

https://dortania.github.io/OpenCore-Install-Guide/find-hardware.html to find more data about your device


DS-4551 Close FileInputStreams

References

Fixes DS-4551

Description
Closes FileInputStreams immediately after they are no longer in use, to avoid an excessive number of open files when processing a large upload. In the original code, only the last FileInputStream was closed, because is.close() was called outside of the loop that opens the streams instead of within the loop. I just moved the is.close() to the appropriate place.
To verify the problem and the result from outside you can profile open files for the process. Description of how to do so can be found in DS-4551.

merged as being tiny and obvious.


project now depends on napari but not listed in deps

#29 added an import-time dependency on napari but didn't add napari to the dependencies...
this is proving problematic for npe2 tests (which were using napari-svg as an example plugin).
npe2 probably shouldn't use this package for testing, but this package should also list its dependencies properly

Ouch, you're right :/ Will add now!

Closed by #34


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3275

Questions ?
Please refer to the Backport tool documentation


Fix documentation Github Action for forks

This is the same as 68de16536e2d55f547e7eab26535a33b0bb8f11a, but for the documentation workflow.
Type of PR

[x] BUG
[ ] FEAT
[ ] MAINT
[ ] DOC

Is your Pull Request linked to an existing Issue or Pull Request?
No.
Give a brief description for the solution you have provided
This GitHub Actions workflow was failing on PRs from forks, such as #2125.
PR Checklist

[ ] Added documentation for changes
[ ] Added feature to example notebooks or tutorial (if appropriate)
[ ] Added tests (if appropriate)
[ ] Updated CHANGELOG.md (if appropriate)
[ ] Made changes based off the latest version of Splink
[ ] Run the linter

Thank you!


Any way to list all projects (similar to the pyodk.projects.list()) method?

Im interested to list all form_id/dataset_ids the logged-in user has access to, if thats possible.

Hello.
I added this method to your class, and it seems to do exactly what is needed. As I understand, it only pulls most recent versions of all forms on server. Would you mind putting this in a new update so I can deploy it without having to piss aroud creating and maintaining a new module:
` def list_forms(self):
"""
Fetches a list of dictionaries, with all forms on server. Includes only the most recent versions.
:return: list of dictionaries, holding form information for all forms on server
"""
headers = self.__auth()
url = f"https://{self.server_name}.surveycto.com/console/forms-groups-datasets/get"
    try:
        response = self._sesh.get(
            url,
            cookies=self._sesh.cookies,
            headers=headers,
        )
        response.raise_for_status()
    except requests.exceptions.HTTPError as e:
        response = False
        raise e

    return response.json().get('forms')`

Hello.
I created the below method for your class that does exactly whats needed. I checked, and it looks like the form versions displayed are all the most recently deployed ones, as there are no duplicates in the list returned in the response.
Any chance you can stick this in an update so I don't need to build/maintain parallel modules to get/keep this running?
Thanks in advance!
    def list_forms(self):
        """
        Fetches a list of dictionaries, with all live forms on server. Includes only the most recent versions.
        :return: list of dictionaries, with each dictionary containing information for each forms on server
        """
        headers = self.__auth()
        url = f"https://{self.server_name}.surveycto.com/console/forms-groups-datasets/get"

        try:
            response = self._sesh.get(
                url,
                cookies=self._sesh.cookies,
                headers=headers,
            )
            response.raise_for_status()
        except requests.exceptions.HTTPError as e:
            response = False
            raise e

        return response.json().get('forms')

Hi @cschulze86 thanks for raising this. Do you think you could create a pull request with the new method (and update the README)? Then we can test and merge it in. Thanks!


Tests are failing

Need to write tests for each component

@gmarupilla Could you work on this as well? We need to get every test passing atleast for the unit tests. As we add more components it will get harder to manage so we should get this done before any further work

Yeah! Sure.

I looked into it. The problem with writing tests right now is that the requirement is not very concrete as of now. If i write tests right now, they'll have to be changed again once we start developing according to OAS file. What do you think?

We should definitely have the tests set up even though the spec is not finalized.
Firstly for unit tests, the majority of the test cases will not be dependent on the structure of objects but tests more basic features like ensuring that a list is properly populated or that the links and routing work. The ones that do rely on the objects Should  fail if the spec changes so that we know that the front end needs updating.
Secondly, the e2e integration tests should not be dependent on the spec at all, but instead ensure that the site is working, regardless of what the api is sending out. Is a spec change breaks the e2e tests then that is a sign that the site needs to be adapted to the new spec, not that the tests must be changed.

@gmarupilla
All the tests have been fixed except for 2, the vega-viewer component and the file-edit component.
Both are giving an error about a parameter being null. For both components, the parameter is set using an HTTP Request.
We need to follow the below directions to mock the HTTPS request and give back a test parameter for the components to render.
https://blog.angulartraining.com/how-to-write-unit-tests-for-angular-code-that-uses-the-httpclient-429fa782eb15

fixed partially by #35
New issues opened for individual tests failing


Mythril terminates with AttributeError

Description
Mythril crashes with an AttributeError exception on a certain byte code input.
How to Reproduce
$ myth -x -c "60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063ca5d088014610051578063eedc966a14610068575b600080fd5b34801561005d57600080fd5b506100666100bf565b005b34801561007457600080fd5b506100a9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506102b0565b6040518082815260200191505060405180910390f35b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414151561010c57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16634d5f327c6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561017057600080fd5b505af1158015610184573d6000803e3d6000fd5b505050506040513d602081101561019a57600080fd5b81019080805190602001909291905050506000191660405160200180807f4e7520546f6b656e00000000000000000000000000000000000000000000000081525060080190506040516020818303038152906040526040518082805190602001908083835b60208310151561022457805182526020820191506020810190506020830392506101ff565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390206000191614151561026157600080fd5b60146000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550565b600060205280600052604060002060009150905054815600a165627a7a7230582010fa64b549bd7ca2c32d19c93cd7595a8bf2bd309f325440d18102a85181b6400029"
Traceback (most recent call last):
  File "/Users/bernhardmueller/.pyenv/versions/mythril/bin/myth", line 11, in <module>
    load_entry_point('mythril==0.19.7', 'console_scripts', 'myth')()
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/interfaces/cli.py", line 413, in main
    transaction_count=args.transaction_count,
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/mythril.py", line 503, in fire_lasers
    transaction_count=transaction_count,
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/analysis/symbolic.py", line 73, in __init__
    creation_code=contract.creation_code, contract_name=contract.name
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/svm.py", line 113, in sym_exec
    self, creation_code, contract_name
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/transaction/symbolic.py", line 74, in execute_contract_creation
    laser_evm.exec(True)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/svm.py", line 188, in exec
    new_states, op_code = self.execute_state(global_state)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/svm.py", line 215, in execute_state
    global_state
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/instructions.py", line 154, in evaluate
    return instruction_mutator(global_state)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/instructions.py", line 113, in wrapper
    new_global_states = self.call_on_state_copy(func, func_obj, global_state)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/instructions.py", line 76, in call_on_state_copy
    return func(func_obj, global_state_copy)
  File "/Users/bernhardmueller/.pyenv/versions/3.6.3/envs/mythril/lib/python3.6/site-packages/mythril/laser/ethereum/instructions.py", line 472, in calldatasize_
    state.stack.append(environment.calldata.calldatasize)
AttributeError: 'NoneType' object has no attribute 'calldatasize'

Mythril version: v0.19.7
Solidity compiler and version: 0.4.24+commit.e67f0147.Darwin.appleclang
Python version: 3.6.4
OS and Version: Mac OS Mojave

I tried fixing it, but then it was hitting a revert, so can you send the source code of the constructor if you have it?As it might be helpful for figuring it out.

Hey, this was reported by @s0b0lev https://github.com/SmartContractSecurity/SWC-registry/blob/master/test_cases/reentracy/modifier_reentrancy.sol. Doesn't happen if you analyze the source though.

Hi! This smart contract was used:
https://github.com/SmartContractSecurity/SWC-registry/blob/master/test_cases/reentracy/modifier_reentrancy.sol
I take source code from bin-runtime key https://github.com/SmartContractSecurity/SWC-registry/blob/master/test_cases/reentracy/modifier_reentrancy.json
I run all swc-registry test cases on mythril, and before the update, I receive reports as expected, but after I update to latest version all calls to myth commands return data to stderr with traceback above

wait! -c runs it as the creation code right?

As calldata for contract creation transaction should be empty, added it instead of None.


path undefined error

Unhandled Runtime Error
TypeError: Path must be a string. Received undefined
Call Stack
assertPath
node_modules\next\dist\compiled\path-browserify\index.js (1:95)
Object.parse
node_modules\next\dist\compiled\path-browserify\index.js (1:4265)
eval
node_modules\destack\build\server\index.js (1886:0)
(app-client)/./node_modules/destack/build/server/index.js
file:///C:/Users/ravic/Desktop/Flugid/nextbuilder/.next/static/chunks/app/page.js (105:1)
options.factory
/_next/static/chunks/webpack.js (704:31)
webpack_require
file:///C:/Users/ravic/Desktop/Flugid/nextbuilder/.next/static/chunks/webpack.js (37:33)
fn
/_next/static/chunks/webpack.js (359:21)
eval
webpack-internal:///(app-client)/./src/app/page.js (7:78)
(app-client)/./src/app/page.js
file:///C:/Users/ravic/Desktop/Flugid/nextbuilder/.next/static/chunks/app/page.js (159:1)
options.factory
/_next/static/chunks/webpack.js (704:31)
webpack_require
file:///C:/Users/ravic/Desktop/Flugid/nextbuilder/.next/static/chunks/webpack.js (37:33)
fn
/_next/static/chunks/webpack.js (359:21)
Next.js
requireModule
node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.browser.development.js (144:0)
initializeModuleChunk
node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.browser.development.js (1205:0)
resolveModuleChunk
node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.browser.development.js (1163:0)
eval
node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.browser.development.js (1590:0)

@chandranfullstack There's not enough information to reproduce the issue. Please share a repo or more info to reproduce or try upgrading the the latest version.
Does it work with the starter projects such as destack-starter?

Thank You for your reply I solved the error  I did't expect your reply


perf: improve compile time

Split UID into a definition (using declaration) and actual implementation, since most of the time it was included the latter wasn't needed
Removed Globals.h, split it into smaller files
Added pre-compiled headers

Profiling compilation time, we can see it has been improved by more than a minute.

Before:

After:

Profiling has been done using DebugEngine configuration.
NOTE: since user scripts will most likely be moved into a different solution, I've excluded them from using the new pre-compiled headers. I'm not sure if new scripts will require them or not.

Latest changes seem to have also positively improved compilation time:

Remaining issues:

Some inlined methods prevent removal of some includes in header files. Might be worth taking a look at "un-inlining" them.
IScript is the biggest include after the changes (and removal of Globals.h), according to the profiling tool. I'll try to tidy it up when the latest scripting changes are merged.

Do we have to review all 226 changed files? Or which will be the ones that we should pay more atention to? @gerard-queralt

Do we have to review all 226 changed files? Or which will be the ones that we should pay more atention to? @gerard-queralt

Most changes in source files are just adding the pre-compiled headers, so no. If you have time, I'd appreciate if you could review:

Pre-compiled headers (StdAfx.h)

This should include headers that won't change and are included a significant amount of times. Basically libraries, and I also added our logging class, since I don't expect it to change much. Thanks to this, we can't get rid of most instances of these includes (except, as said above, when methods are inlined). The main thing I'd like you to consider when reviewing is if there's other stuff that we might want to add.

Defines folder: have I split them too much? Too little?
Any class (header and source) that you're familiar with, maybe you see that some include is not necessary.

But as always, don't feel forced to do so, every piece of feedback is welcomed, even if you didn't review everything 🙂

whoops, conflicts again @gerard-queralt


OpenSource : 5.42 Explain everything related to NATS

Description :

Explain everything related to NATS

Note :

Changes should be made inside the Open_Source/ directory & Opensource branch.
Put  your doc inside section-5
Issue only for GWOC'21 contributors.
Issue will be assigned on a first come first serve basis, 1 Issue  ==  1 PR == 1 Contributor
For Contributor please don't create the same issue again, before creating any issue do visit OpenSource Milestone
Doc name should same as the issue title

Must Follow : Contributing Guidelines & Code of Conduct before start Contributing.
Happy Contributing 🙌

assign me to these @Aryamanz29

Hey!
I would like to contribute on this issue
Batch: 03

@AdityaStark7  Assigning this to you, Happy Learning 🎉🎉


Introduction of val and added some docstrings for pos, ang, val

Ability to use arbitrary returns as explained in #62
Example:
javis(video, [
      BackgroundAction(1:50, :framenumber, ground),
      Action(:same, (args...)->text(val(:framenumber), Point(0, -200))),
], pathname="test.gif")

function ground(video, action, framenumber)
    background("white")
    sethue("blue")
    return "Frame: $framenumber"
end

I assume the current problem is having a different font for different systems.
Using LaTeX will probably fix this


map_response!() combinator

Allow service methods to view the response and map the value internally.

This would indeed be very useful.


Xserver not running

Windows Version
Microsoft Windows [Version 10.0.22631.3958]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Debian bookworm
Other Software
systemd enabled
Repro Steps
wsl -d Debian
ls -la /tmp/.X11-unix
Expected Behavior
As per This link
/tmp/.X11-unix should be linked to /mnt/wslg/.X11-unix
Actual Behavior
/tmp/.X11-unix does not exist.
After ln -s /mnt/wslg/.X11-unix /tmp/.X11-unix, ls /tmp/.X11-unix gives nothing output.
Diagnostic Logs
cat /mnt/wslg/weston.log
Date: 2024-08-03 JST
[22:59:27.095] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0-210-gf227edd6
[22:59:27.095] Command line: /usr/bin/weston --backend=rdp-backend.so --modules=wslgd-notify.so --xwayland --socket=wayland-0 --shell=rdprail-shell.so --log=/mnt/wslg/weston.log --logger-scopes=log,rdp-backend,rdprail-shell
[22:59:27.095] OS: Linux, <IP_ADDRESS>-microsoft-standard-WSL2, #1 SMP Fri Mar 29 23:14:13 UTC 2024, x86_64
[22:59:27.096] Using config file '/home/wslg/.config/weston.ini'
[22:59:27.097] Output repaint window is 7 ms maximum.
[22:59:27.097] Loading module '/usr/lib/libweston-9/rdp-backend.so'
[22:59:27.104] using FreeRDP version 2.4.0
Date: 2024-08-03 JST
[22:59:27.104] RDP backend: WESTON_RDP_DEBUG_LEVEL: 3
[22:59:27.104] RDP backend: rdp_monitor_refresh_rate: 60000
[22:59:27.104] RDP backend: timer resolution tv_sec:0 tv_nsec:1
[22:59:27.104] RDP backend: Environment dump - start
[22:59:27.104]   WSL2_DEFAULT_APP_ICON=/usr/share/icons/wsl/linux.png
[22:59:27.104]   SHELL=/bin/bash
[22:59:27.104]   WSL2_GUI_APPS_ENABLED=1
[22:59:27.104]   WSL_DISTRO_NAME=
[22:59:27.104]   WSL2_VM_ID=94DC2CEF-781E-4859-A2A0-DC8023E024C9
[22:59:27.104]   XCURSOR_PATH=/mnt/wslg/distro/usr/share/icons:/usr/share/icons
[22:59:27.104]   XCURSOR_SIZE=16
[22:59:27.104]   WLOG_APPENDER=file
[22:59:27.104]   NAME=HP-G9
[22:59:27.104]   PWD=/home/wslg
[22:59:27.104]   LOGNAME=wslg
[22:59:27.104]   WSL_FEATURE_FLAGS=cc
[22:59:27.104]   WSL2_USER_PROFILE=C:\Users\wang1zhen
[22:59:27.104]   WSL2_DISTRO_NAME=Debian
[22:59:27.104]   _=/usr/bin/weston
[22:59:27.104]   PULSE_AUDIO_RDP_SINK=/mnt/wslg/PulseAudioRDPSink
[22:59:27.104]   HOME=/home/wslg
[22:59:27.104]   WSLG_SERVICE_ID=00000001-FACB-11E6-BD58-64006A7986D3
[22:59:27.104]   WAYLAND_DISPLAY=wayland-0
[22:59:27.104]   USE_VSOCK=3
[22:59:27.104]   WSL2_EXECUTION_ALIAS_PATH=C:\Program Files\WSL
[22:59:27.104]   WSL2_DEFAULT_APP_OVERLAY_ICON=/usr/share/icons/wsl/linux.png
[22:59:27.104]   USER=wslg
[22:59:27.104]   DISPLAY=:0
[22:59:27.104]   SHLVL=0
[22:59:27.104]   WSLGD_NOTIFY_SOCKET=/mnt/wslg/weston-notify.sock
[22:59:27.104]   WLOG_FILEAPPENDER_OUTPUT_FILE_PATH=/mnt/wslg
[22:59:27.104]   XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir
[22:59:27.104]   WSL2_SHARED_MEMORY_OB_DIRECTORY=WSL\94DC2CEF-781E-4859-A2A0-DC8023E024C9\wslg
[22:59:27.104]   XCURSOR_THEME=whiteglass
[22:59:27.104]   PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
[22:59:27.104]   WESTON_DISABLE_ABSTRACT_FD=1
[22:59:27.104]   WLOG_FILEAPPENDER_OUTPUT_FILE_NAME=wlog.log
[22:59:27.104]   PULSE_AUDIO_RDP_SOURCE=/mnt/wslg/PulseAudioRDPSource
[22:59:27.104]   PULSE_SERVER=unix:/mnt/wslg/PulseServer
[22:59:27.104]   WSL2_INSTALL_PATH=C:\Program Files\WSL
[22:59:27.104]   WSL2_SHARED_MEMORY_MOUNT_POINT=/mnt/shared_memory
[22:59:27.104]   WESTON_CONFIG_FILE=/home/wslg/.config/weston.ini
[22:59:27.104] RDP backend: Environment dump - end
[22:59:27.104] RDP backend: FreeRDP version: 2.4.0
[22:59:27.104] Using external fd for incoming connections: 3
[22:59:27.104] Default head is being added
[22:59:27.104] Registered plugin API 'weston_rdprail_api_v1' of size 72
[22:59:27.104] RDPAPPLIST_MODULEDIR is set to /usr/lib/rdpapplist
[22:59:27.105] RDP backend: use_rdpapplist = 1
[22:59:27.108] RDP backend: use_gfxredir = 1
[22:59:27.108] RDP backend: enable_hi_dpi_support = 1
[22:59:27.108] RDP backend: enable_fractional_hi_dpi_support = 0
[22:59:27.108] RDP backend: enable_fractional_hi_dpi_roundup = 0
[22:59:27.108] RDP backend: debug_desktop_scaling_factor = 0
[22:59:27.108] RDP backend: enable_window_zorder_sync = 1
[22:59:27.108] RDP backend: enable_window_snap_arrange = 1
[22:59:27.108] RDP backend: enable_window_shadow_remoting = 1
[22:59:27.108] RDP backend: enable_display_power_by_screenupdate = 0
[22:59:27.108] RDP backend: enable_distro_name_title = 1
[22:59:27.108] RDP backend: enable_copy_warning_title = 1
[22:59:27.108] Using VSOCK for incoming connections: 3
[22:59:27.110] Registered plugin API 'weston_rdp_output_api_v1' of size 24
[22:59:27.110] Head attaching: rdp-0, index:0, is_primary: 1
[22:59:27.110] Client desktop upper left coordinate (0,0)
[22:59:27.110] disp_monitor_validate_and_compute_layout:---OUTPUT---
[22:59:27.110]  rdpMonitor[0]: x:0, y:0, width:0, height:0, is_primary:1
[22:59:27.110]  rdpMonitor[0]: weston x:0, y:0, width:0, height:0
[22:59:27.110]  rdpMonitor[0]: physicalWidth:0, physicalHeight:0, orientation:0
[22:59:27.110]  rdpMonitor[0]: desktopScaleFactor:0, deviceScaleFactor:0
[22:59:27.110]  rdpMonitor[0]: scale:1, clientScale:1.00
[22:59:27.110] Head mode change:rdp-0 NEW width:0, height:0, scale:1, clientScale:1.000000
[22:59:27.110] move head/output rdp-0 (0,0) -> (0,0)
[22:59:27.110] client origin (0,0) is (0,0) in Weston space
[22:59:27.110] Output 'rdp-0' enabled with head(s) rdp-0
[22:59:27.110] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[22:59:27.110] Loading module '/usr/lib/weston/rdprail-shell.so'
[22:59:27.117] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_DEBUG_LEVEL: 3.
Date: 2024-08-03 JST
[22:59:27.117] RDPRAIL-shell: allow-zap:0
[22:59:27.117] RDPRAIL-shell: allow-alt-f4-to-close-app:1
[22:59:27.117] RDPRAIL-shell: binding-modifier:none
[22:59:27.117] RDPRAIL-shell: local-move:0
[22:59:27.117] RDPRAIL-shell: distro name:Debian (len:6)
[22:59:27.118] RDPRAIL-shell: WSL2_DEFAULT_APP_ICON:/usr/share/icons/wsl/linux.png (loaded:yes)
[22:59:27.118] RDPRAIL-shell: WSL2_DEFAULT_APP_OVERLAY_ICON:/usr/share/icons/wsl/linux.png (loaded:yes)
[22:59:27.118] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_APPEND_DISTRONAME_STARTMEN:1
[22:59:27.118] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_BLEND_OVERLAY_ICON_APPLIST:1
[22:59:27.118] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_BLEND_OVERLAY_ICON_TASKBAR:1
[22:59:27.119] RDPRAIL-shell: WESTON_RDPRAIL_SHELL_USE_WSLPATH:0
[22:59:27.119] rdp_rail_shell_initialize_notify: shell: distro name: Debian
[22:59:27.119] app_list_monitor_thread: running in system-distro with user-distro: Debian
[22:59:27.119] app_list_monitor_thread: open(/proc/self/ns/mnt)
[22:59:27.119] app_list_monitor_thread: open(/proc/2/ns/mnt)
[22:59:27.120] app_list_monitor_thread: inotify_add_watch(/usr/share/applications)
[22:59:27.120] Loading module '/usr/lib/libweston-9/xwayland.so'
[22:59:27.120] app_list_monitor_thread: monitor /usr/share/applications
[22:59:27.121] app_list_monitor_thread: /usr/local/share/applications doesn't exist, skipping.
[22:59:27.121] app_list_monitor_thread: /var/lib/snapd/desktop/applications doesn't exist, skipping.
[22:59:27.121] app_list_monitor_thread: /var/lib/flatpak/exports/share/applications doesn't exist, skipping.
[22:59:27.121] app list folder[0]: /usr/share/applications
[22:59:27.121] Registered plugin API 'weston_xwayland_v1' of size 32
[22:59:27.121] Registered plugin API 'weston_xwayland_surface_v1' of size 48
[22:59:27.121] Not using abstract fd for Xwayland
[22:59:27.122] xserver listening on display :0
[22:59:27.122] Loading module '/usr/lib/weston/wslgd-notify.so'
[22:59:27.122] ../compositor/wslgd-notify.c: socket connected
[22:59:27.122] desktop file: /usr/share/applications/btop.desktop is terminal based app
[22:59:27.122] app list entry failed to update: Key:btop
[22:59:27.122] free_app_entry(): (null): /usr/share/applications/btop.desktop
[22:59:27.124] desktop file: /usr/share/applications/emacs.desktop
[22:59:27.124]     Name[en_US]:Emacs (GUI) (Debian)
[22:59:27.124]     Exec:/usr/bin/emacs
[22:59:27.124]     TryExec:/usr/bin/emacs
[22:59:27.124]     WorkingDir:(null)
[22:59:27.124]     Icon name:emacs
[22:59:27.124]     Icon SVG :0
[22:59:27.124]     Icon file:/usr/share/icons/hicolor/128x128/apps/emacs.png
[22:59:27.124]     Icon image:0x7fbb8800c280
[22:59:27.124] app list entry updated: Key:emacs, Name:Emacs (GUI) (Debian)
[22:59:27.124] desktop file: /usr/share/applications/python3.11.desktop has NoDisplay specified
[22:59:27.124] app list entry failed to update: Key:11
[22:59:27.124] free_app_entry(): (null): /usr/share/applications/python3.11.desktop
[22:59:27.124] desktop file: /usr/share/applications/emacs-mail.desktop has NoDisplay specified
[22:59:27.124] app list entry failed to update: Key:emacs-mail
[22:59:27.124] free_app_entry(): (null): /usr/share/applications/emacs-mail.desktop
[22:59:27.125] desktop file: /usr/share/applications/emacsclient.desktop
[22:59:27.125]     Name[en_US]:Emacs (Client) (Debian)
[22:59:27.125]     Exec:sh -c "if [ -n "$" ]; then exec emacsclient --alternate-editor= --display="$DISPLAY" "$@"; else exec emacsclient --alternate-editor= --create-frame; fi" sh
[22:59:27.125]     TryExec:(null)
[22:59:27.125]     WorkingDir:(null)
[22:59:27.125]     Icon name:emacs
[22:59:27.125]     Icon SVG :0
[22:59:27.125]     Icon file:/usr/share/icons/hicolor/128x128/apps/emacs.png
[22:59:27.125]     Icon image:0x7fbb8800dc40
[22:59:27.125] app list entry updated: Key:emacsclient, Name:Emacs (Client) (Debian)
[22:59:27.125] desktop file: /usr/share/applications/emacs-term.desktop is terminal based app
[22:59:27.125] app list entry failed to update: Key:emacs-term
[22:59:27.125] free_app_entry(): (null): /usr/share/applications/emacs-term.desktop
[22:59:27.125] desktop file: /usr/share/applications/emacsclient-mail.desktop has NoDisplay specified
[22:59:27.125] app list entry failed to update: Key:emacsclient-mail
[22:59:27.125] free_app_entry(): (null): /usr/share/applications/emacsclient-mail.desktop
[22:59:27.125] desktop file: /usr/share/applications/vim.desktop is terminal based app
[22:59:27.125] app list entry failed to update: Key:vim
[22:59:27.125] free_app_entry(): (null): /usr/share/applications/vim.desktop
[22:59:27.126] desktop file: /usr/share/applications/syncthing-start.desktop
[22:59:27.126]     Name[en_US]:Start Syncthing (Debian)
[22:59:27.126]     Exec:/usr/bin/syncthing serve --no-browser --logfile=default
[22:59:27.126]     TryExec:(null)
[22:59:27.126]     WorkingDir:(null)
[22:59:27.126]     Icon name:syncthing
[22:59:27.126]     Icon SVG :0
[22:59:27.126]     Icon file:/usr/share/icons/hicolor/128x128/apps/syncthing.png
[22:59:27.126]     Icon image:0x7fbb8800b7d0
[22:59:27.126] app list entry updated: Key:syncthing-start, Name:Start Syncthing (Debian)
[22:59:27.127] desktop file: /usr/share/applications/syncthing-ui.desktop
[22:59:27.127]     Name[en_US]:Syncthing Web UI (Debian)
[22:59:27.127]     Exec:/usr/bin/syncthing --browser-only
[22:59:27.127]     TryExec:(null)
[22:59:27.127]     WorkingDir:(null)
[22:59:27.127]     Icon name:syncthing
[22:59:27.127]     Icon SVG :0
[22:59:27.127]     Icon file:/usr/share/icons/hicolor/128x128/apps/syncthing.png
[22:59:27.127]     Icon image:0x7fbb88020c50
[22:59:27.127] app list entry updated: Key:syncthing-ui, Name:Syncthing Web UI (Debian)
[22:59:27.127] app list folder[1]: /usr/local/share/applications
[22:59:27.127] app list folder[2]: /var/lib/snapd/desktop/applications
[22:59:27.127] app list folder[3]: /var/lib/flatpak/exports/share/applications
[22:59:27.167] Spawned Xwayland server, pid 33
[22:59:27.671] Client: ClientStatus:0x3f5
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_ALLOWLOCALMOVESIZE
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_ZORDER_SYNC
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_WINDOW_RESIZE_MARGIN_SUPPORTED
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_HIGH_DPI_ICONS_SUPPORTED
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_APPBAR_REMOTING_SUPPORTED
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_POWER_DISPLAY_REQUEST_SUPPORTED
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_GET_APPID_RESPONSE_EX_SUPPORTED
[22:59:27.671]      - TS_RAIL_CLIENTSTATUS_BIDIRECTIONAL_CLOAK_SUPPORTED
[22:59:27.671] Client HandShake buildNumber:22631
[22:59:27.682] Server AppList caps version:4
[22:59:27.682]     appListProviderName:Debian
[22:59:27.682]     appListProviderUniqueId:00000001-FACB-11E6-BD58-64006A7986D3
[22:59:27.702] Client: gfxredir_caps: length:28
[22:59:27.702] Client: gfxredir_caps[0]: signature:0x53504143
[22:59:27.702] Client: gfxredir_caps[0]: version:0x1
[22:59:27.702] Client: gfxredir_caps[0]: length:12
[22:59:27.702] Client: gfxredir_caps[1]: signature:0x53504143
[22:59:27.703] Client: gfxredir_caps[1]: version:0x2000
[22:59:27.703] Client: gfxredir_caps[1]: length:16
[22:59:27.703] Client: gfxredir_caps[1]: supportedFeatures:0x0
[22:59:27.703] Client: gfxredir selected caps: version:0x2000
[22:59:27.763] Client: GrfxCaps count:0xb
[22:59:27.763] Client: GrfxCaps[0] version:0x80004 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_8
[22:59:27.763] Client: GrfxCaps[1] version:0x80105 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_81
[22:59:27.763] Client: GrfxCaps[2] version:0xa0002 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_10
[22:59:27.763] Client: GrfxCaps[3] version:0xa0200 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_102
[22:59:27.763] Client: GrfxCaps[4] version:0xa0301 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_103
[22:59:27.763] Client: GrfxCaps[5] version:0xa0400 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_104
[22:59:27.763] Client: GrfxCaps[6] version:0xa0502 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_105
[22:59:27.763] Client: GrfxCaps[7] version:0xa0600 length:4 flags:0x0
[22:59:27.763]  Version : RDPGFX_CAPVERSION_106
[22:59:27.763] Client: GrfxCaps[8] version:0xa0701 length:4 flags:0x0
[22:59:27.763]  Version : UNKNOWN(657153)
[22:59:27.763] Client: GrfxCaps[9] version:0xb0101 length:4 flags:0x0
[22:59:27.763]  Version : UNKNOWN(721153)
[22:59:27.763] Client: GrfxCaps[10] version:0xb0200 length:4 flags:0x400
[22:59:27.763]  Version : UNKNOWN(721408)
[22:59:27.774] xf_peer_adjust_monitor_layout:
[22:59:27.774]   DesktopWidth:2560, DesktopHeight:1440
[22:59:27.774]   UseMultimon:0
[22:59:27.774]   ForceMultimon:0
[22:59:27.774]   MonitorCount:0
[22:59:27.774]   HasMonitorAttributes:0
[22:59:27.774]   HiDefRemoteApp:1
[22:59:27.774] disp_monitor_sanity_check_layout:---INPUT---
[22:59:27.774]  rdpMonitor[0]: x:0, y:0, width:2560, height:1440, is_primary:1
[22:59:27.774]  rdpMonitor[0]: physicalWidth:527, physicalHeight:296, orientation:0
[22:59:27.774]  rdpMonitor[0]: desktopScaleFactor:125, deviceScaleFactor:100
[22:59:27.774]  rdpMonitor[0]: scale:1, client scale :1.00
[22:59:27.774] kbd_layout:0x804 kbd_type:0x7 kbd_subType:0x0 kbd_functionKeys:0xc
[22:59:27.774] convert_rdp_keyboard_to_xkb_rule_names: matching model=pc105 layout=(null) variant=(null) options=(null)
[22:59:27.784] Client desktop upper left coordinate (0,0)
[22:59:27.784] disp_monitor_validate_and_compute_layout:---OUTPUT---
[22:59:27.784]  rdpMonitor[0]: x:0, y:0, width:2560, height:1440, is_primary:1
[22:59:27.784]  rdpMonitor[0]: weston x:0, y:0, width:2560, height:1440
[22:59:27.784]  rdpMonitor[0]: physicalWidth:527, physicalHeight:296, orientation:0
[22:59:27.784]  rdpMonitor[0]: desktopScaleFactor:0, deviceScaleFactor:100
[22:59:27.784]  rdpMonitor[0]: scale:1, clientScale:1.00
[22:59:27.784] Head mode change:rdp-0 NEW width:2560, height:1440, scale:1, clientScale:1.000000
[22:59:27.784] move head/output rdp-0 (0,0) -> (0,0)
[22:59:27.784] client origin (0,0) is (0,0) in Weston space
[22:59:27.784] Client ExecOrder:0x00000008, Program:dummy-entry, WorkingDir:(null), RemoteApplicationArguments:(null)
[22:59:27.784] Client ExecOrder launching dummy-entry
[22:59:27.784] launching 'dummy-entry'
[22:59:27.784] Client: ClientSysparam: filterKeys
[22:59:27.784] Client: ClientSysparam: toggleKeys:62
[22:59:27.784] Client: ClientSysparam: stickyKeys:510
[22:59:27.784] Client: ClientSysparam: caretWidth:1
[22:59:27.784] Client: ClientSysparam: highContrast
[22:59:27.784] Client: ClientSysparam: taskbarPos:(left:0, top:0, right:75, bottom:1440)
[22:59:27.784] Client: ClientSysparam: mouseButtonSwap:0
[22:59:27.784] Client: ClientSysparam: keyboardPref:0
[22:59:27.784] Client: ClientSysparam: dragFullWindows:1
[22:59:27.784] Client: ClientSysparam: keyboardCues:0
[22:59:27.784] Client: ClientSysparam: workArea:(left:75, top:0, right:2560, bottom:1440)
[22:59:27.784] Translated workarea:(75,0)-(2560,1440) at rdp-0:(0,0)-(2560,1440)
[22:59:27.784] Client AppList caps version:4
[22:59:27.784] Client AppList client language id: en_US
[22:59:27.784] Client: ClientSysparam: filterKeys
[22:59:27.784] Client: ClientSysparam: toggleKeys:62
[22:59:27.784] Client: ClientSysparam: stickyKeys:510
[22:59:27.784] Client: ClientSysparam: caretWidth:1
[22:59:27.784] Client: ClientSysparam: highContrast
[22:59:27.784] app_list_monitor_thread: startRdpNotifyEvent is signalled. 0 - en_US
[22:59:27.784] compositor: executing 'dummy-entry' failed: No such file or directory
[22:59:27.784] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[22:59:27.784]     inSync: 1
[22:59:27.784]     syncStart: 1
[22:59:27.784]     syncEnd: 0
[22:59:27.784] Client: ClientSysparam: taskbarPos:(left:0, top:0, right:75, bottom:1440)
[22:59:27.784]     newAppId: 1
[22:59:27.784] Client: ClientSysparam: mouseButtonSwap:0
[22:59:27.785] Client: ClientSysparam: keyboardPref:0
[22:59:27.785] Client: ClientSysparam: dragFullWindows:1
[22:59:27.785]     deleteAppId: 0
[22:59:27.785] Client: ClientSysparam: keyboardCues:0
[22:59:27.785] Client: ClientSysparam: workArea:(left:75, top:0, right:2560, bottom:1440)
[22:59:27.785] Translated workarea:(75,0)-(2560,1440) at rdp-0:(0,0)-(2560,1440)
[22:59:27.785]     deleteAppProvider: 0
[22:59:27.785]     associateWindowId: 0
[22:59:27.785]     appId: syncthing-ui
[22:59:27.785]     appGroup: (null)
[22:59:27.785]     appExecPath: /usr/bin/syncthing --browser-only
[22:59:27.785]     appWorkingDir: (null)
[22:59:27.785]     appDesc: Syncthing Web UI (Debian)
[22:59:27.785]     appIcon: 0x7fbb88020c50
[22:59:27.785]     appProvider: (null)
[22:59:27.785]     appWindowId: 0x0
[22:59:27.785] Client ExecOrder program terminated
[22:59:27.785] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[22:59:27.785]     inSync: 1
[22:59:27.785]     syncStart: 0
[22:59:27.785]     syncEnd: 0
[22:59:27.785]     newAppId: 1
[22:59:27.785]     deleteAppId: 0
[22:59:27.785]     deleteAppProvider: 0
[22:59:27.785]     associateWindowId: 0
[22:59:27.785]     appId: emacsclient
[22:59:27.785]     appGroup: (null)
[22:59:27.785]     appExecPath: sh -c "if [ -n "$" ]; then exec emacsclient --alternate-editor= --display="$DISPLAY" "$@"; else exec emacsclient --alternate-editor= --create-frame; fi" sh
[22:59:27.785]     appWorkingDir: (null)
[22:59:27.785]     appDesc: Emacs (Client) (Debian)
[22:59:27.785] dummy-entry exited with status 255
[22:59:27.785]     appIcon: 0x7fbb8800dc40
[22:59:27.785]     appProvider: (null)
[22:59:27.785]     appWindowId: 0x0
[22:59:27.785] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[22:59:27.785]     inSync: 1
[22:59:27.785]     syncStart: 0
[22:59:27.785]     syncEnd: 0
[22:59:27.785]     newAppId: 1
[22:59:27.785]     deleteAppId: 0
[22:59:27.785]     deleteAppProvider: 0
[22:59:27.785]     associateWindowId: 0
[22:59:27.785]     appId: emacs
[22:59:27.785]     appGroup: (null)
[22:59:27.785]     appExecPath: /usr/bin/emacs
[22:59:27.785]     appWorkingDir: (null)
[22:59:27.785]     appDesc: Emacs (GUI) (Debian)
[22:59:27.785]     appIcon: 0x7fbb8800c280
[22:59:27.785]     appProvider: (null)
[22:59:27.785]     appWindowId: 0x0
[22:59:27.785] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[22:59:27.785]     inSync: 1
[22:59:27.785]     syncStart: 0
[22:59:27.785]     syncEnd: 1
[22:59:27.785]     newAppId: 1
[22:59:27.785]     deleteAppId: 0
[22:59:27.785]     deleteAppProvider: 0
[22:59:27.785]     associateWindowId: 0
[22:59:27.785]     appId: syncthing-start
[22:59:27.785]     appGroup: (null)
[22:59:27.785]     appExecPath: /usr/bin/syncthing serve --no-browser --logfile=default
[22:59:27.785]     appWorkingDir: (null)
[22:59:27.785]     appDesc: Start Syncthing (Debian)
[22:59:27.785]     appIcon: 0x7fbb8800b7d0
[22:59:27.785]     appProvider: (null)
[22:59:27.785]     appWindowId: 0x0
[22:59:27.815] Pulse Audio Sink listener socket on /mnt/wslg/PulseAudioRDPSink
[22:59:28.683] xfixes version: 5.0
[22:59:28.696] created wm, root 1272
[22:59:28.696] xfixes selection notify event: owner 2097153
[22:59:28.696] our window, skipping
[22:59:28.702] RDP Sink version (1 - 1)
[23:01:44.100] xfixes selection notify event: owner 2097153
[23:01:44.100] our window, skipping
[23:01:44.103] xfixes selection notify event: owner 2097153
[23:01:44.103] our window, skipping
[23:01:55.002] xfixes selection notify event: owner 2097153
[23:01:55.002] our window, skipping
[23:01:55.010] xfixes selection notify event: owner 2097153
[23:01:55.010] our window, skipping
[23:02:44.380] xfixes selection notify event: owner 2097153
[23:02:44.380] our window, skipping
[23:02:44.384] xfixes selection notify event: owner 2097153
[23:02:44.384] our window, skipping
[23:02:52.311] xfixes selection notify event: owner 2097153
[23:02:52.311] our window, skipping
[23:02:52.313]
RDP clipboard_data_source_send new (0x7fbb68000b50:published:fd 95) vs prev (0x7fbb68000d70:cancel pending:fd 94): outstanding RDP data request (client to server)
[23:02:52.313] xfixes selection notify event: owner 2097153
[23:02:52.313] our window, skipping
[23:03:10.951] xfixes selection notify event: owner 2097153
[23:03:10.951] our window, skipping
[23:03:10.953] xfixes selection notify event: owner 2097153
[23:03:10.953] our window, skipping
[23:03:28.835] xfixes selection notify event: owner 2097153
[23:03:28.835] our window, skipping
[23:03:28.837] xfixes selection notify event: owner 2097153
[23:03:28.837] our window, skipping
[23:04:49.907] xfixes selection notify event: owner 2097153
[23:04:49.907] our window, skipping
[23:05:10.909] xfixes selection notify event: owner 2097153
[23:05:10.909] our window, skipping
[23:05:23.578] xfixes selection notify event: owner 2097153
[23:05:23.578] our window, skipping
[23:05:23.580] xfixes selection notify event: owner 2097153
[23:05:23.580] our window, skipping
[23:09:42.410] xfixes selection notify event: owner 2097153
[23:09:42.410] our window, skipping
[23:09:42.414] xfixes selection notify event: owner 2097153
[23:09:42.414] our window, skipping
[23:10:09.020] app_list_monitor_thread: file removed (emacs.desktop)
[23:10:09.020] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[23:10:09.020]     inSync: 0
[23:10:09.020]     syncStart: 0
[23:10:09.020]     syncEnd: 0
[23:10:09.020]     newAppId: 0
[23:10:09.020]     deleteAppId: 1
[23:10:09.020]     deleteAppProvider: 0
[23:10:09.020]     associateWindowId: 0
[23:10:09.020]     appId: emacs
[23:10:09.020]     appGroup: (null)
[23:10:09.020]     appExecPath: (null)
[23:10:09.020]     appWorkingDir: (null)
[23:10:09.020]     appDesc: (null)
[23:10:09.020]     appIcon: (nil)
[23:10:09.020]     appProvider: (null)
[23:10:09.020]     appWindowId: 0x0
[23:10:09.020] free_app_entry(): Emacs (GUI) (Debian): /usr/share/applications/emacs.desktop
[23:10:09.020] app_list_monitor_thread: file removed (emacs-term.desktop)
[23:10:11.999] app_list_monitor_thread: file created/updated (emacs-mail.desktop)
[23:10:11.999] desktop file: /usr/share/applications/emacs-mail.desktop has NoDisplay specified
[23:10:11.999] app list entry failed to update: Key:emacs-mail
[23:10:11.999] free_app_entry(): (null): /usr/share/applications/emacs-mail.desktop
[23:10:12.000] app_list_monitor_thread: file created/updated (emacsclient-mail.desktop)
[23:10:12.000] desktop file: /usr/share/applications/emacsclient-mail.desktop has NoDisplay specified
[23:10:12.000] app list entry failed to update: Key:emacsclient-mail
[23:10:12.000] free_app_entry(): (null): /usr/share/applications/emacsclient-mail.desktop
[23:10:12.001] app_list_monitor_thread: file created/updated (emacsclient.desktop)
[23:10:12.001] desktop file: /usr/share/applications/emacsclient.desktop
[23:10:12.001]     Name[en_US]:Emacs (Client) (Debian)
[23:10:12.001]     Exec:sh -c "if [ -n "$" ]; then exec /usr/bin/emacsclient --alternate-editor= --reuse-frame "$@"; else exec emacsclient --alternate-editor= --create-frame; fi" sh
[23:10:12.001]     TryExec:(null)
[23:10:12.001]     WorkingDir:(null)
[23:10:12.001]     Icon name:emacs
[23:10:12.001]     Icon SVG :0
[23:10:12.001]     Icon file:/usr/share/icons/hicolor/128x128/apps/emacs.png
[23:10:12.001]     Icon image:0x7fbb8800bcc0
[23:10:12.001] app list entry updated: Key:emacsclient, Name:Emacs (Client) (Debian)
[23:10:12.001] free_app_entry(): Emacs (Client) (Debian): /usr/share/applications/emacsclient.desktop
[23:10:12.001] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[23:10:12.001]     inSync: 0
[23:10:12.001]     syncStart: 0
[23:10:12.001]     syncEnd: 0
[23:10:12.001]     newAppId: 0
[23:10:12.001]     deleteAppId: 0
[23:10:12.001]     deleteAppProvider: 0
[23:10:12.001]     associateWindowId: 0
[23:10:12.001]     appId: emacsclient
[23:10:12.001]     appGroup: (null)
[23:10:12.001]     appExecPath: sh -c "if [ -n "$" ]; then exec /usr/bin/emacsclient --alternate-editor= --reuse-frame "$@"; else exec emacsclient --alternate-editor= --create-frame; fi" sh
[23:10:12.001]     appWorkingDir: (null)
[23:10:12.001]     appDesc: Emacs (Client) (Debian)
[23:10:12.001]     appIcon: 0x7fbb8800bcc0
[23:10:12.001]     appProvider: (null)
[23:10:12.001]     appWindowId: 0x0
[23:10:14.739] app_list_monitor_thread: file created/updated (emacs-term.desktop)
[23:10:14.739] desktop file: /usr/share/applications/emacs-term.desktop is terminal based app
[23:10:14.739] app list entry failed to update: Key:emacs-term
[23:10:14.739] free_app_entry(): (null): /usr/share/applications/emacs-term.desktop
[23:10:14.740] app_list_monitor_thread: file created/updated (emacs.desktop)
[23:10:14.740] desktop file: /usr/share/applications/emacs.desktop
[23:10:14.740]     Name[en_US]:Emacs (GUI) (Debian)
[23:10:14.740]     Exec:/usr/bin/emacs
[23:10:14.740]     TryExec:/usr/bin/emacs
[23:10:14.740]     WorkingDir:(null)
[23:10:14.740]     Icon name:emacs
[23:10:14.740]     Icon SVG :0
[23:10:14.740]     Icon file:/usr/share/icons/hicolor/128x128/apps/emacs.png
[23:10:14.740]     Icon image:0x7fbb8800c020
[23:10:14.740] app list entry updated: Key:emacs, Name:Emacs (GUI) (Debian)
[23:10:14.740] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[23:10:14.740]     inSync: 0
[23:10:14.740]     syncStart: 0
[23:10:14.740]     syncEnd: 0
[23:10:14.740]     newAppId: 1
[23:10:14.740]     deleteAppId: 0
[23:10:14.740]     deleteAppProvider: 0
[23:10:14.740]     associateWindowId: 0
[23:10:14.740]     appId: emacs
[23:10:14.740]     appGroup: (null)
[23:10:14.740]     appExecPath: /usr/bin/emacs
[23:10:14.740]     appWorkingDir: (null)
[23:10:14.740]     appDesc: Emacs (GUI) (Debian)
[23:10:14.740]     appIcon: 0x7fbb8800c020
[23:10:14.740]     appProvider: (null)
[23:10:14.740]     appWindowId: 0x0
[23:10:20.071] rdp_rail_wake_handler is called on peer_ctx:0x5563c5f27220
[23:10:20.071] launching '/usr/libexec/weston-rdprail-shell'
[23:10:20.127] !!!cursor role is added after creation - WindowId:0x3
[23:10:20.167] app_list_monitor_thread: loadIconEvent is signalled. emacs
[23:10:20.167] app_list_monitor_thread: entry 0x7fbb88020fd0, image 0x7fbb8800c020
[23:10:20.168] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[23:10:20.168]     inSync: 0
[23:10:20.168]     syncStart: 0
[23:10:20.168]     syncEnd: 0
[23:10:20.168]     newAppId: 0
[23:10:20.168]     deleteAppId: 0
[23:10:20.168]     deleteAppProvider: 0
[23:10:20.168]     associateWindowId: 1
[23:10:20.168]     appId: emacs
[23:10:20.168]     appGroup: (null)
[23:10:20.168]     appExecPath: /usr/bin/emacs
[23:10:20.168]     appWorkingDir: (null)
[23:10:20.168]     appDesc: Emacs (GUI) (Debian)
[23:10:20.168]     appIcon: (nil)
[23:10:20.168]     appProvider: (null)
[23:10:20.168]     appWindowId: 0x4
[23:10:20.168] Client: ClientGetAppidReq: pid:1190 appId:emacs WindowId:0x4
[23:10:25.385] app_list_monitor_thread: loadIconEvent is signalled. emacs
[23:10:25.385] app_list_monitor_thread: entry 0x7fbb88020fd0, image 0x7fbb8800c020
[23:10:25.386] rdp_rail_notify_app_list(): rdp_peer 0x5563c5f27220
[23:10:25.386]     inSync: 0
[23:10:25.386]     syncStart: 0
[23:10:25.386]     syncEnd: 0
[23:10:25.386]     newAppId: 0
[23:10:25.386]     deleteAppId: 0
[23:10:25.386]     deleteAppProvider: 0
[23:10:25.386]     associateWindowId: 1
[23:10:25.386]     appId: emacs
[23:10:25.386]     appGroup: (null)
[23:10:25.386]     appExecPath: /usr/bin/emacs
[23:10:25.386]     appWorkingDir: (null)
[23:10:25.386]     appDesc: Emacs (GUI) (Debian)
[23:10:25.386]     appIcon: (nil)
[23:10:25.386]     appProvider: (null)
[23:10:25.386]     appWindowId: 0xa
[23:10:25.386] Client: ClientGetAppidReq: pid:1210 appId:emacs WindowId:0xa
[23:10:25.386] Client: LanguageImeInfo: ProfileType: 1 (TF_PROFILETYPE_INPUTPROCESSOR)
[23:10:25.386] Client: LanguageImeInfo: LanguageID: 0x804
[23:10:25.386] Client: LanguageImeInfo: LanguageProfileCLSID: GUID_CHSIME : 81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e
[23:10:25.386] Client: LanguageImeInfo: ProfileGUID: GUID_PROFILE_SIMPLEFAST : fa550b04-5ad7-411f-a5ac-ca038ec515d7
[23:10:25.386] Client: LanguageImeInfo: KeyboardLayout: 0x0
[23:13:05.383] xfixes selection notify event: owner 2097153
[23:13:05.383] our window, skipping
[23:13:05.386] xfixes selection notify event: owner 2097153
[23:13:05.386] our window, skipping
[23:13:09.938] xfixes selection notify event: owner 2097153
[23:13:09.938] our window, skipping
[23:13:17.184] xfixes selection notify event: owner 2097153
[23:13:17.184] our window, skipping
[23:13:17.191]
RDP clipboard_data_source_send new (0x7fbb68000e70:published:fd 97) vs prev (0x7fbb68000b20:cancel pending:fd 94): outstanding RDP data request (client to server)
[23:13:17.191] xfixes selection notify event: owner 2097153
[23:13:17.191] our window, skipping
[23:13:37.629] xfixes selection notify event: owner 2097153
[23:13:37.629] our window, skipping
[23:13:37.632]
RDP clipboard_data_source_send new (0x7fbb68000e70:published:fd 97) vs prev (0x7fbb68000ac0:cancel pending:fd 94): outstanding RDP data request (client to server)
[23:13:37.632] xfixes selection notify event: owner 2097153
[23:13:37.632] our window, skipping
[23:13:56.884] xfixes selection notify event: owner 2097153
[23:13:56.884] our window, skipping
[23:13:56.886] xfixes selection notify event: owner 2097153
[23:13:56.886] our window, skipping
[23:14:06.872] xfixes selection notify event: owner 2097153
[23:14:06.872] our window, skipping

WslLogs-2024-08-03_23-36-02.zip
the collected logs are uploaded here.

Some more checks: the /tmp/.X11-unix/X0 exists a few seconds after the debian wsl is invoked, but later it disappeared.

and /mnt/wslg/.X11-unix/X0 file exists, but the /tmp/.X11-unix is no longer linked to /mnt/wslg/.X11-unix.
Manually run
sudo rmdir /tmp/.X11-unix && ln -s /mnt/wslg/.X11-unix /tmp/.X11-unix

fixes the problem, but I think it is a workaround, maybe other permanent fix would be favorable.

@wang1zhen: Is systemd enabled if you distro ? If so, do you see the same behavior is you disable it ?

@OneBlue Yes, systemd was enabled for Debian, and once I turn it off then restart, this problem is also resolved. However, I need systemd for some specific use cases, I will stick to this solution for now.

Ok then there's most likely a systemd unit that clears this file. Most likely systemd-tmpfiles or similar. You might have to disable units via systemctl --disable <unit> to root cause which one is causing the file to be deleted.


position-sensitive attention

Thanks for the great work!
I am a bit confused about this piece of code:
https://github.com/csrhddlam/axial-deeplab/blob/fe1d0523faa7b3068ee59ab13f222a46c511d0aa/lib/models/axialnet.py#L67
According to Eq. 4 in the paper, I have the impression that it should be torch.einsum('bgcj,cij->bgij', k, k_embedding) since p is the varying index. Please correct me if I am wrong. Thanks!

This depends on the varying axis of the embedding you chooce, due to the two axis of the embedding here are two different directions, but both relative.


router.reset() doesn't clear the PipelineProvider

I'm submitting a bug report

Library Version:
1.1.1

Please tell us about your environment:

Operating System:
Windows 10

Node Version:
6.9.1

NPM Version:
3.10.8

Browser:
all

Language:
TypeScript 2.1

Current behavior:
When calling aurelia.setRoot(), this function resets the router. This way you can have 2 different route configs in your different app roots without manually having to clear the router when switching app roots. Right now the steps attached to the router remain active, causing bugs with authorisationSteps. I described my specific issue in detail in the following StackOverflow post: http://stackoverflow.com/questions/41956911/router-authorizestep-from-other-app-root-keeps-triggering
Expected/desired behavior:

What is the expected behavior?
an aurelia.setRoot() should also do a pipelineProvider.reset()
Unless i'm missing something, this can even be included in the router.reset() function

What is the motivation / use case for changing the behavior?
It took some searching to figure out why my authorizeStep was still executing in another app root. I don't think the behavior is logical, when you switch roots, you want a whole 'new' router, without any steps you attached in another root.

If this can be fixed by just including the pipelineProvider.reset() into the router.clear() function, I would be happy to make a pull request for it.

Hi @EisenbergEffect
Am I right to add this to the router.clear()? Of course this would mean a breaking change for people currently relying on these steps not being removed, say you have some global step you want to be used on all roots, you would have to configure them in each individual router config you do.

Thank you so much for discovering this @arnederuwe.  I have been thinking that I was losing my mind by my auth step being re-triggered.  Excited to see what the fix for this will be, but thank you so much for the instruction of how to work around.

I think this is the right place. I may end up adding an options object to
reset though so it's opt in.
On Feb 2, 2017 7:37 AM, "Zachary Avery"<EMAIL_ADDRESS>wrote:

Thank you so much for discovering this @arnederuwe
https://github.com/arnederuwe. I have been thinking that I was losing
my mind by my auth step being re-triggered. Excited to see what the fix for
this will be, but thank you so much for the instruction of how to work
around.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aurelia/router/issues/465#issuecomment-276991378, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIBnb3AiX60FYMMkj0xwTUeqT3e3ZSMks5rYfhEgaJpZM4Lz7Yf
.

while we wait on an official pull, this should work for now:
import { AppRouter } from 'aurelia-router';

const _reset = AppRouter.prototype.reset;
AppRouter.prototype.reset = function reset(this: any, ...args) {
    _reset.call(this, ...args);
    if(this.pipelineProvider) {
        this.pipelineProvider.reset();
    }
}

Its already in I think. Or at least in one of my hanging PR

I think it's in here :https://github.com/aurelia/router/pull/637


Analysis of size param in require doesn't work with variables

This works:
const Picture = ({ path, srcSizes, ...props }: PictureProps) => {
  return (
    <picture>
      {srcSizes &&
        srcSizes.map((size, index) => (
          <source
            key={index}
            media={`(max-width: ${size}`}
            srcSet={require(`~/images/${path}?&webp`)}
            type="image/webp"
          />
        ))}
      {/*
      <source srcSet={require(`~/images/${path}`)} type="image/jpeg" /> */}
      <img src={require(`~/images/${path}?`)} {...props} />
    </picture>
  );
};

but using size param doesn't work (and it's installed and works otherwise outside the map):
<source
            key={index}
            media={`(max-width: ${size}`}
            srcSet={require(`~/images/${path}?size=${size}&webp`)}
            type="image/webp"
          />

More tests...
this works:
const sources = srcSizes.map((size) =>
    require("~/images/" + path + "?size=" + 48 + "&webp")
  );

but this doesn't work:
const sources = srcSizes.map((size) =>
    require("~/images/" + path + "?size=" + size + "&webp")
  );

Error:

This is not an issue with this repo, but I guess this repo could work around it.
here's the limitation:
https://github.com/webpack/webpack/issues/2992


Validation: problem when more than once same niche veg type in a polygon

niche_vlaanderen version: dev as of 12/12/2022 15h
Python version: 3
Operating System: Win

When the same vegetation type occurs several times in a polygon, the total effective area is not correct. I suspect other derived variables could also be wrong (but not tested yet)
This can happen in a real dataset, e.g. in the habitat map for Brasschaat BWK_2020_clip_Brasschaat.shp for polygon with TAG = 629464_v2020: both 4010,4030 and 4010 are present and both will be translated into niche vegetation type 22.
Here is an example with a dummy dataset:
from niche_vlaanderen.validation import NicheValidation

simplebr = nv.Niche()
simplebr.run_config_file("../tests/data/bwk/niche_brasschaat/simple.yaml")

no_simplebr_fkok = NicheValidation(niche=simplebr, map= "bwk_fake_extentok.shp") # see zip attached
no_simplebr_fkok.overlay()

no_simplebr_fkok.area_effective

For shape_id = 6 (polygon = ca 33 ha with 80% 4010 and 20% 4010, 4030):

veg 28 = 6.78 ha as expected ( 20% of 33 ha for 4010,4030)
veg 22 = 6.78 ha - wrong (should be 80% of 33 ha for 4010 + 20% of 33 ha for 4010,4030)

bwk_fake_extentok.zip

I can confirm the issue:
>>> no_simplebr_fkok.map.iloc[6]

id                                                            7
HAB1                                                       4010
HAB2                                                  4010,4030
HAB3                                                       None
HAB4                                                       None
HAB5                                                       None
pHAB1                                                        80
pHAB2                                                      20.0
pHAB3                                                       NaN
pHAB4                                                      None
pHAB5                                                      None
area_ha                                               33.874943
geometry      POLYGON ((159967.1008254092<PHONE_NUMBER>029091,...
area_shape                                            33.876981
NICH_1_1                                                   22.0
NICH_1_2                                                    NaN
NICH_2_1                                                   22.0
NICH_2_2                                                   28.0
NICH_3_1                                                    NaN
NICH_3_2                                                    NaN
NICH_4_1                                                    NaN
NICH_4_2                                                    NaN
NICH_5_1                                                    NaN
NICH_5_2                                                    NaN
Name: 6, dtype: object

just as a reference in the future: this a better version of test shapefile:
bwk_fake_extentok.zip


input type="tel" hides nav-bar

When using input type="tel", the nav-bar scrolls up and out of sight.
type="input" (Test 1)

type="tel" (Test 2)

Greetings @ikkentim!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Aparently it is an issue on my end; while making a codepen it didn't happen.


nextcloud deployement fails with caching.apcu  set to false

Describe the bug
when I try to deploy my server with deploy-rs:
Jul 10 17:26:29 neotokyo systemd[1]: Starting nextcloud-add-user.service...
Jul 10 17:26:30 neotokyo nextcloud-setup-start[33153]: An unhandled exception has been thrown:
Jul 10 17:26:30 neotokyo nextcloud-setup-start[33153]: OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

Steps To Reproduce
  services.nextcloud = {
    enable = true;
    package = pkgs.nextcloud27;

    # Use HTTPS for links
    https = true;

    # New option since NixOS 23.05
    configureRedis = true;
    caching.apcu = false;  ### <<< When set to false I get the previous error, with true (the default), it works fine.

    config = {
      # Further forces Nextcloud to use HTTPS
      overwriteProtocol = "https";
      # loaded via sops
      adminpassFile = "/run/secrets/${nextcloudAdminPasswordSopsPath}";
    };
    maxUploadSize = "512M";
    logLevel = 0;
    enableBrokenCiphersForSSE = false;
    # increase security
    enableImagemagick = false;
    autoUpdateApps.enable = true;

    extraApps = with config.services.nextcloud.package.packages.apps; {

     # inherit news; # removed 'cos gives a wrong error
     inherit contacts;
    };
    extraAppsEnable = true;
  };

  networking.firewall.allowedTCPPorts = [ 80 443 ];

Expected behavior
deploy ok
Additional context
what it is a bit troubling to me is that the same config
Notify maintainers

@Ma27 @Misterio77
Metadata
nixos-unstable  408c0e8c15a1c9cf5c3226931b6f283c9867c484
NB: unrelated but logs contain
Jul 10 23:29:53 neotokyo Nextcloud[36584]: {"reqId":"wfn0gXaD7BYqFt7XDmS9","level":0,"time":"2023-07-10T21:29:53+00:00","remoteAddr":"","user":"--","app":"serverDI","method":"","url":"--","message":"The requested alias \"SystemConfig\" is deprecated. Please request \"OC\\SystemConfig\" directly. This alias will be removed in a future Nextcloud version.","userAgent":"--","version":"<IP_ADDRESS>","data":{"app":"serverDI"}}

I am not sure where that comes from

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-get-beyond-the-current-nextcloud-module/30533/1

configureRedis only sets memcache.distributed & memcache.locking to \OC\Memcache\Redis while memcache.local remains using APCu.
See also the administrator manual: https://docs.nextcloud.com/server/27/admin_manual/configuration_server/caching_configuration.html
Basically, it's recommended to use Redis in case of larger setups (or clustered setups), but even then the upstream recommendation is to use APCu for local caching:

APCu is faster at local caching than Redis. If you have enough memory, use APCu for Memory Caching and Redis for File Locking. If you are low on memory, use Redis for both.

So basically, configureRedis follows the upstream recommendation. Of course, you're free to use Redis for local caching as well, but you have to configure it manually:
services.nextcloud.extraOptions."memcache.local" = ''\OC\Memcache\Redis'';


[Feature Request] Threshold Switch "respect/ignore data" and "respect/ignore filters" buttons

Describe the Suggestion
If a threshold switch is reading a chest containing multiple list/attribute filters with different data, and you put a blank filter on the threshold switch, it doesn't register any of them except for the blank ones in its output. It's behaving like the respect data option is stuck on.
In addition, using a list/attribute filter on the switch wouldn't actually look for things matching the filter, even with respect data enabled, so this would require a button for whether the switch should look for filter items, or items matching the filter.
This could be done pretty easily with a 3-state toggle, since the combination of ignore data and respect filters wouldn't work well. Ignore Data→Respect Data→Respect filters
Screenshots and Videos
(Screenshot showing the demo setup to show it's not user error, and also there's plenty of room there on the GUI for a few more buttons)

Using a blank filter as the input, it doesn't register the filters with data

Using a filter set to vegetables

Switch is behaving like it is in "respect data mode". If it was in "ignore data mode", the small chest's lamp would be lit. If it was in "respect filter mode" the large chest's lamp would be lit

Additional Context
Bonus content!
(on the left side) What I currently have to do if I want all 17 items in the c:vegetables tag to link up to a single redstone link vs what it should be (right side, non-functional).

If for any reason something were to be added or removed from that tag, because the modpack changed something slightly (which can happen at any time, especially in singleplayer), I would have to go in and rebuild the entire thing. And c:vegetables is relatively small. The attribute "is furnace fuel", for example, has over a hundred just from vanilla and baseline create. Any mod that adds a new type of wood adds over a dozen items to that attribute on its own, not counting mods that add new burnable wooden items. That is definitely a tag that I use frequently to shut things down if my systems are unable to keep up with the fuel demand, but I do NOT want to build a massive databank vault just to deal with that.
Dealing with it manually, as I have here (as a temporary quick-fix, but one that still took 20 minutes to set up), doesn't scale up, and is completely untenable.
Edit: I forgot about banners. Every single possible banner pattern is technically a unique item due to NBT data. There's 12,696,344,039,844,551,126,101,565,750,244,757,433,489,827,856 (12.7 quattuordecillion) possible banners in vanilla, and all of them would need their own threshold switch and redstone stuff if I wanted to be absolutely certain I was out of fuel for my furnaces. That random chest of messed-up banners, randomly buried somewhere deep within my storage system? It could be enough to restart my entire power plant after a meltdown. Good luck getting to it though, let alone knowing it was there.
I think I've made my point

we don't add features, suggest to the forge repo.

whoops, my bad, thought I was there!


Censorship circumvention: share IP configurations between TDLib instances

For now TDLib instances do not help each other while finding their way to Telegram servers.
Sharing some configuration between instances could improve some cases:

When user has multiple accounts, one account works properly, other does not. If they are located in the same DC, sharing information between instances would help user getting the second account online.
When adding new account, new TDLib instance gets created. If existing TDLib instances would share some configuration information with it, it could reduce time needed for the initial connection.
If multiple accounts are located in the same DC, there's (most likely) no need in doing all censorship circumvention methods on both instances. If only one instance would do it, CPU / data usage needed by censorship circumvention methods could be reduced.

Censorship circumvention is much harder then just finding a working IP through different sources. There is a lot of important implementation details, dependent on exact user account, which can't be easily shared between different accounts. Despite it seems to be right thing to share working IPs between different accounts running on the same device, there is really a lot of things that could go wrong if that happens.


Update date time picker

https://github.com/OA-PASS/pass-ember/issues/583

@jabrah The embargo end date is saved on the metadata blog, It is explicitly not shown to the user as this was a previous requirement. see below the metadata blob.
[
{
"id":"JScholarship",
"data":{
"embargo":"NON-EXCLUSIVE LICENSE FOR USE OF MATERIALS This non-exclusive license defines the terms for the deposit of Materials in all formats into the digital repository of materials collected, preserved and made available through the Johns Hopkins Digital Repository, JScholarship. The Contributor hereby grants to Johns Hopkins a royalty free, non-exclusive worldwide license to use, re-use, display, distribute, transmit, publish, re-publish or copy the Materials, either digitally or in print, or in any other medium, now or hereafter known, for the purpose of including the Materials hereby licensed in the collection of materials in the Johns Hopkins Digital Repository for educational use worldwide. In some cases, access to content may be restricted according to provisions established in negotiation with the copyright holder. This license shall not authorize the commercial use of the Materials by Johns Hopkins or any other person or organization, but such Materials shall be restricted to non-profit educational use. Persons may apply for commercial use by contacting the copyright holder. Copyright and any other intellectual property right in or to the Materials shall not be transferred by this agreement and shall remain with the Contributor, or the Copyright holder if different from the Contributor. Other than this limited license, the Contributor or Copyright holder retains all rights, title, copyright and other interest in the images licensed. If the submission contains material for which the Contributor does not hold copyright, the Contributor represents that s/he has obtained the permission of the Copyright owner to grant Johns Hopkins the rights required by this license, and that such third-party owned material is clearly identified and acknowledged within the text or content of the submission. If the submission is based upon work that has been sponsored or supported by an agency or organization other than Johns Hopkins, the Contributor represents that s/he has fulfilled any right of review or other obligations required by such contract or agreement. Johns Hopkins will not make any alteration, other than as allowed by this license, to your submission. This agreement embodies the entire agreement of the parties. No modification of this agreement shall be of any effect unless it is made in writing and signed by all of the parties to the agreement.",
"agreement-to-deposit":"true"
}
},
{
"id":"common",
"data":{
"title":"ijijjiji\na",
"container-title":"ACS Medicinal Chemistry Letters",
"authors":[
],
"Embargo-end-date":"2018-06-14"
}
},
{
"id":"crossref",
"data":{
}
}
]


Why is the slider of the song list gone?

Why is the slider of the song list gone?
怎么歌曲列表的滑动条没了？ 有参数控制吗？

Can confirm it is not showing for me either.

@lmh30600690 I found a workaround.
Contain the player in a new div element, and create a style with height: 100% and remove the listMaxHeight line from your config.js. Unfortunately, it seems to fallback on whatever the default height is, so you're stuck with that until they make a proper fix.
Regardless if this works or not, please do not close the issue. To help others, please change the issue title to listMaxHeight does not work and removes scroll as it will make it easier for people to figure this out.

Style:
.container {
	height: 100%;
	width: 480px;
}

HTML:

APlayer example

	<link rel="stylesheet" href="APlayer.min.css">


FINERACT-1868: Paging fix for 1.8.x

Paging fix

would you mind to write a test to cover the fixed behaviour?


Remove ArrayList boxing

Arrays.asList() returns a private inner class implementation of ArrayList see here. This class is not register with kryo by default and it is a tedious to
do so. The fallout of this is that anyone who uses the RawScheme will receive the following exception:
java.lang.RuntimeException: java.lang.IllegalArgumentException: Class is not registered: java.util.Arrays$ArrayList

Thanks @ajorgensen, looks good!


add arbiter configuration

Closes #172 because it's just a rebase to get travisci to work.

Awesome, thanks!


Set to true nullable bool arguments without the value

Consider the following class:
class Parameters
{
    [Option("bool")]
    public bool Bool { get; set; }

    [Option("nullable-bool")]
    public bool? NullableBool { get; set; }
}

It works fine for such arguments: --bool --nullable-bool true but doesn't work for --bool --nullable-bool.
I suggest making it working for nullable bool types.

I think that no need for nullable bool arguments because you can set the default value in option (true/false)
Without passing the parameter, you get the default value true or false
With passing the parameter you get true value
see  my answer and demo case

same issue, same usecase.
@moh-hassan that solution does not work.
since if I want to explicitly override a default value that is true with a false value, it can't be handled properly.
you just can't differentiate between the "don't want to override" and a "want to override with false" intent.

Flags as the standard in linux/unix and window Environment is an option of boolean type, and is always false by default (e.g. --verbose, --quiet, --all)
if its a bool? its not a flag anymore.

Finally, I've developed own light cli processor with such feature support, see CliParametersParser

I'm with @KvanTT on this. I want nullable support for bools. I want an option flag to be able to override a setting that is independent of command-line invocation. Example: My app prints. Users can set landscape/portrait orientation in Windows' printer settings.
    [Option('l', "landscape", Required = false, HelpText = "Print in landscape mode.")]
    public bool? Landscape { get; set; }

    [Option('p', "printer", Default = "", HelpText = "Printer name to print to.")]
    public string Printer { get; set; }

The customer should NOT have to specify a command line flag for landscape if they've already set the printer up for landscape mode.
winprint -p "Laserjet in landscape mode" file.txt

Without bool? support, the line above will surprise the user because it will set Landscape == false.

@tig
Do you mean to use nullable bool Landscape  as scalar token like:
landscape true
OR
landscape false

//scalar token should have a value

Similar use-case. I want to allow --verbose or --quiet, but in my case, command line args are just one possible source for this (another is saved configuration). So I'd like it to be able to infer that for bool?, it will accept:

--{option} => true
--{option}=true|false => value
(omitted) => null

2 and 3 work just fine, but command-line users are used to using 1 for quickly switching things on, and I'd like to accomodate that.

It's a total lame that there's no such feature...

up

@moh-hassan Please introduce support for Option 1. suggested by @mansellan

@aaronenberg, as I said in my PR that implements this feature, it's not gonna happen. Forget about this legacy, and embrace something clean and fresh - dotnet/command-line-api.


Deleting single message from a queue

I would like the ability to delete a single message from a queue! thanks.

@chuckdawit please elaborate on your use case. Are you referring to deletion by sequence number?

Hi Sean.
Yes, by sequence number. Right now it seems like the only way I can delete
a single message is by code/script or by deleting the entire queue.
If there is a way to delete a single message by sequence number in service
bus explorer please let me know.
I can see the data associated with each message, I just would like the
ability to delete a message in a queue without removing the whole queue.
Thanks for any advice!
Chuck
On Thu, Jun 14, 2018 at 10:33 PM, Sean Feldman<EMAIL_ADDRESS>wrote:

@chuckdawit https://github.com/chuckdawit please elaborate on your use
case. Are you referring to deletion by sequence number?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paolosalvatori/ServiceBusExplorer/issues/228#issuecomment-397518188,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjrsvMq9y-1DmonfD8dXppi6MzoO5o7Rks5t80cegaJpZM4UpCMs
.

As of today you can purge or receive and delte number of messages, but you can delete a message by sequence number. This would be a feature to add.

If I understand you correctly, I can purge a queue and that will delete all
messages in the queue, but not the queue itself?
But I can't delete a single message by sequence number.
Is that correct?
Chuck
On Thu, Jun 14, 2018 at 11:15 PM, Sean Feldman<EMAIL_ADDRESS>wrote:

As of today you can purge or receive and delte number of messages, but you
can delete a message by sequence number. This would be a feature to add.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paolosalvatori/ServiceBusExplorer/issues/228#issuecomment-397524279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjrsvG-7RrZ6NzZUcM0wCli1IHtw2Cztks5t81D_gaJpZM4UpCMs
.

This seems to be a duplicate of #135.

@chuckdawit , on deadletter subqueues it is possible to delete a specific message as long it is not too far down (depending upon settings, location, message size and other things). Is that what you are looking for?

possibly but I'll have to look to see what deadletter means. I'm a little
new to messing queues in Azure.
My message is pretty simple, no info, just the sequence number.
Chuck
On Fri, Jun 15, 2018 at 4:53 AM, Erik Mogensen<EMAIL_ADDRESS>wrote:

@chuckdawit https://github.com/chuckdawit , on deadletter subqueues it
is possible to delete a specific message as long it is not too far down
(depending upon settings, location, message size and other things). Is that
what you are looking for?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paolosalvatori/ServiceBusExplorer/issues/228#issuecomment-397597787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjrsvMVrfypokQGU3ao4DOA8JmQfBgN8ks5t86A1gaJpZM4UpCMs
.

Closing due to inactivity

See the discussion at #771