python38Packages.pdfkit: 0.6.1 -> 1.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pdfkit is: "Wkhtmltopdf python wrapper to convert html to pdf using the webkit rendering engine and qt"
meta.homepage for python38Packages.pdfkit is: "https://pypi.python.org/pypi/pdfkit"
meta.changelog for python38Packages.pdfkit is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.0.0 with grep in /nix/store/0vbz4milnyd4vivwl483mn8l7c0ipf3n-python3.8-pdfkit-1.0.0

found 1.0.0 in filename of file in /nix/store/0vbz4milnyd4vivwl483mn8l7c0ipf3n-python3.8-pdfkit-1.0.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python38Packages.pdfkit
python39Packages.pdfkit

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0vbz4milnyd4vivwl483mn8l7c0ipf3n-python3.8-pdfkit-1.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.pdfkit https://github.com/r-ryantm/nixpkgs/archive/d73349bff0767392af829eedd85c6de3cbd4b498.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0vbz4milnyd4vivwl483mn8l7c0ipf3n-python3.8-pdfkit-1.0.0
ls -la /nix/store/0vbz4milnyd4vivwl483mn8l7c0ipf3n-python3.8-pdfkit-1.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python38Packages.pdfkit
python39Packages.pdfkit

Maintainer pings

Result of nixpkgs-review pr 146059 run on x86_64-linux 1

2 packages built:

python38Packages.pdfkit
python39Packages.pdfkit


Leftover AWS resources after stratus warmup error

What is not working?
Leftover created AWS resources that are not transparent to the stratus user.
Running stratus warmup aws.persistence.lambda-overwrite-code yielded the following error message:
Error: creating IAM Role (stratus-red-team-olc-lambda-aqunhnbzot): InvalidClientTokenId: The security token included in the request is invalid
	status code: 403, request id: 9d8a81f5-ab17-4936-a8ca-3cfc12c58425

  with aws_iam_role.lambda-update,
  on main.tf line 31, in resource "aws_iam_role" "lambda-update":  31: resource "aws_iam_role" "lambda-update" {

Underlying root case is that stratus was run in a session that uses temporary credential via aws-vault i.e. aws-vault exec <profile_name>. The limitations are well-known and documented
Temporary credentials limitations with STS, IAM
Stratus warmup, however, only failed after it had already created some resources. In this case e.g. a S3 bucket. These resources are not cleaned-up and also not necessarily transparent for the stratus user with the error message above. Also stratus status aws.persistence.lambda-overwrite-code showed 'COLD'.
Suggestion would be to change runner.go so that a cleanup is attempted when a warmup failure happens, so that there are no leftoever 'hidden' resources:
    if err != nil {
        log.Println("Error during warming up, trying to clean up first.")
        _ = m.TerraformManager.TerraformDestroy(m.TerraformDir)
        return nil, errors.New("unable to run terraform apply on prerequisite: " + errorMessageFromTerraformError(err))
    }

What OS are you using?. Mac OS X
What is your Stratus Red Team version?.  Current HEAD i.e. 42c6b41
Full output? see output above
Files in $HOME/.stratus-red-team?
/Users/user/.stratus-red-team/aws.persistence.lambda-overwrite-code:
drwxr-xr-x user staff  96 B  Fri Jan 20 18:32:43 2023  .terraform
.rw-r--r-- user staff   0 B  Fri Jan 20 18:32:45 2023  .terraform-initialized
.rw-r--r-- user staff 2.4 KB Fri Jan 20 18:32:45 2023  .terraform.lock.hcl
.rw-r--r-- user staff 2.2 KB Fri Jan 20 18:32:37 2023  main.tf
.rw-r--r-- user staff 6.7 KB Fri Jan 20 18:32:53 2023  terraform.tfstate

Looking forward to feedback. Happy to do the PR for this too.

Thanks for the report! I think the behavior you suggests makes sense, happy to accept a PR!

closing as this was solved a while ago by #315


Tests not work with create-electron-vite app running from side panel or inline

The tests work in the cli.
Describe the bug
When try to run a test from the side panel or inline(click en the line of the test) not work.
The app was creating using npm create vite@latest https://electron-vite.github.io/guide/getting-started.html#scaffolding-your-first-vite-project
Case 1: With the normal content of my app
Clone the following repository, and check this test
https://github.com/MiniSuperDev/electron-vite-vitest-bug-4159/blob/21f00245d4aad303693e9f023df0faa1ade73fc4/src/sum.test.ts#L4
It keep loading for ever, so I need to restart vs code, and show this errors:

Output
 DEV  v0.34.5 C:/electron-vite-vitest-bug-4159

      API started at http://<IP_ADDRESS>:52113

vite v4.4.9 building for test...

watching for file changes...

vite v4.4.9 building for test...

watching for file changes...

build started...

build started...

transforming...

✓ 1 modules transformed.

transforming...

✓ 1 modules transformed.

rendering chunks...

rendering chunks...

computing gzip size...

computing gzip size...

dist-electron/preload.js  2.70 kB │ gzip: 1.10 kB

built in 229ms.

dist-electron/main.js  1.23 kB │ gzip: 0.58 kB

built in 231ms.
C:\electron-vite-vitest-bug-4159\dist-electron\main.js:5

process.env.VITE_PUBLIC = electron.app.isPackaged ? process.env.DIST : path.join(process.env.DIST, "../public");

                                       ^

TypeError: Cannot read properties of undefined (reading 'isPackaged')

    at Object.<anonymous> (C:\electron-vite-vitest-bug-4159\dist-electron\main.js:5:40)

    at Module._compile (node:internal/modules/cjs/loader:1271:14)

    at Object..js (node:internal/modules/cjs/loader:1326:10)

    at Module.load (node:internal/modules/cjs/loader:1126:32)

    at node:internal/modules/cjs/loader:967:12

    at Function._load (node:electron/js2c/asar_bundle:2:13377)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:96:12)

    at node:internal/main/run_main_module:23:47

Node.js v18.16.1

Case 2: The  previous app, but I clean the main process of my app (nothing desired, but it was to see what more errors came out),
Clone the following repository, and check this test
https://github.com/MiniSuperDev/electron-vite-vitest-bug-4159/blob/4acbba375b32f1b236adfb8a06196d2a36f54476/src/sum.test.ts#L4

Output
Test result not found.
If you set `vitest.commandLine` please check:
    Did you set `vitest.commandLine` to `run` mode? (This extension requires `watch` mode to get the results from Vitest api)
    Does it have the ability to append extra arguments? (For example it should be `yarn test --` rather than `yarn test`)
Are there tests with the same name?
Can you run vitest successfully on this file? Does it need custom option to run?

Vitest output:

 DEV  v0.34.5 C:/electron-vite-vitest-bug-4159
      API started at http://<IP_ADDRESS>:53143

vite v4.4.9 building for test...

watching for file changes...
vite v4.4.9 building for test...

watching for file changes...

build started...

build started...
transforming...
✓ 1 modules transformed.
transforming...
✓ 1 modules transformed.
Generated an empty chunk: "main".
rendering chunks...
rendering chunks...
computing gzip size...
computing gzip size...
dist-electron/preload.js  2.70 kB │ gzip: 1.10 kB
built in 197ms.
dist-electron/main.js  0.01 kB │ gzip: 0.03 kB
built in 198ms.

Expected behavior
Run the test, like always
Environment

OS: Windows
VSCode version: 1.82.2
Vitest version: ^0.34.5
Vitest plugin version: v0.0.4

Thanks

Maybe is related with this https://github.com/vitest-dev/vitest/issues/4159

I don't think this is an issue with the extension. If this doesn't work with regular Vitest CLI, it won't work here. If it does work, then the extension should now also correctly run it in pre-release 0.5.0 and higher.


How to prepare my own dataset for adapt

Specifically what files should I have and what should be their format, so I can run prepare_callhome_5folds.sh from stage 1 on my own dataset?

Here are my notes:
Since I have only one speaker per utterence,
Use pretrained sad model to generate segments file. then make rttm file.
Get utt2dur for the utterences not the segments.
and spk2idx file using scripts/create_spk2idx.py
Then proceed with stage 1


BAH-2367 | Dockerisation and Helm charts

Added Dockerfile and Helm chart
Refactored Github Actions workflow to build and publish docker image
Added download_artifact to download and bundle hip-omod
Refactored registartion/extenstion.json with the updated path for abha-id verfication pop-up. Refer this PR.
Updated paths to custom sql files in reports.json

We should move download_artifact.sh into bahmni-infra-utils. I am fine if you want to track the cleanup for all repo with a separate story

Yup. We will do that as part of seperate story and the this is the JIRA.


[HELP] Micro v3 and docker-compose

I have used micro v3 to write my service. It work on local but I want to use docker-compose to deploy my service.
My service is pubsub example but I got error:
file=grpc/grpc.go:954 level=error Server register error: {"Id":"go.micro.client","Code":500,
"Detail":"Error creating stream: rpc error: code = Unavailable desc = connection error:
desc = \"transport: Error while dialing dial tcp :8003: connect: connection refused\"","Status":"Internal Server Error"}

My docker-compose file:
version: "3"
services:
  pubsub:
    build:
      context: ../pubsub
      dockerfile: ../deployment/pubsub.Dockerfile
    environment:
      MICRO_REGISTRY_ADDRESS: "micro:8000"
      MICRO_BROKER_ADDRESS: "micro:8003"
  micro:
    image: micro/micro
    command: ["server"]
    container_name: micro

pubsub.Dockerfile
FROM golang:alpine AS builder
# Copy the application source code.
COPY ./ /src
WORKDIR /src
# Build the application.
RUN make proto
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
    go build -o service *.go

FROM alpine:latest
COPY --from=builder /src/service /bin/service
ENTRYPOINT [ "/bin/service" ]

Full log:
micro   | 2020-09-03 06:18:45  file=server/server.go:111 level=info Starting server
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering network
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering runtime
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering registry
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering config
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering store
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering broker
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering events
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering auth
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering proxy
micro   | 2020-09-03 06:18:45  file=server/server.go:122 level=info Registering api
micro   | 2020-09-03 06:18:45  file=server/server.go:187 level=info Starting server runtime
micro   | 2020-09-03 06:18:45  file=service/service.go:195 level=info Starting [service] server
micro   | 2020-09-03 06:18:45  file=grpc/grpc.go:902 level=info Server [grpc] Listening on [::]:10001
micro   | 2020-09-03 06:18:45  file=grpc/grpc.go:732 level=info Registry [mdns] Registering node: server-8954ce69-c64c-47a3-9c56-3ee7e831baf0
pubsub  | 2020-09-03 06:18:48  file=service/service.go:195 level=info Starting [service] pubsub
pubsub  | 2020-09-03 06:18:48  file=grpc/grpc.go:898 level=info Server [grpc] Listening on [::]:39391
pubsub  | 2020-09-03 06:18:48  file=grpc/grpc.go:915 level=info Broker [service] Connected to :8003
pubsub  | 2020-09-03 06:18:48  file=grpc/grpc.go:728 level=info Registry [service] Registering node: pubsub-a31ed470-544d-4ee9-af7e-e01cc162dbf2
pubsub  | 2020-09-03 06:18:48  file=grpc/grpc.go:757 level=info Subscribing to topic: messages
pubsub  | 2020-09-03 06:18:48  file=grpc/grpc.go:922 level=error Server register error: {"Id":"go.micro.client","Code":500,"Detail":"Error creating stream: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp :8003: connect: connection refused\"","Status":"Internal Server Error"}

It seems that your environment args not work, pubsub program still try to connect :8083, which should be micro:8083.


Can't run post deployment scripts on the web app

Can't run post deployment scripts on the web app. Web App action doesn't support running post deployment scripts.

It would definitely be a nice feature being able to easily run commands on the new app once it's deployed. From what I can tell the only way this is possible at the moment is by adding a startup command but you cannot see the output of these commands anywhere.
I have played with trying to SSH to the newly deployed app using the Azure CLI (az webapp ssh) but this is no use in an acton because you are not able to run any commands once SSH'd in and the deployment will hang. If there was a similar Azure CLI command to run a command on the app remotely (like docker exec) that would work but unfortunately that doesn't exist.

Would be an opportunity for app.yaml. But streaming any runtime logs back to the action might be blocked w/o Service Prinicipal auth (can publish profile fetch sufficient logs from Kudu APIs)?

#252 is also similar ask.


False positive as per #2821

Fixes Issue
Fixes #2821
Description of Change
Suppress false positive in base
Have test cases been added to cover the new functionality?
N/A

Thanks for the PR


Env picker

Add a picker from env

Done https://github.com/allohamora/config-manager/commit/30e2dcbbc637891d18272116b4186b3ea5035565


Plakat (information folder) draft done

closes #7

Before uploading to SPG we need to fill the screenshot from the simulator

Before uploading to SPG we need to fill the screenshot from the simulator

done


Refactor/UI kit 3187/migrate sendbird provider to ts

For Internal Contributors
UIKIT-3187
Description Of Changes

Migrate Sendbird.js and pubSub files into the TypeScript

Types Of Changes
What types of changes does your code introduce to this project?
Put an x in the boxes that apply_

[ ] Bugfix
[ ] New feature
[ ] Documentation (correction or otherwise)
[ ] Cosmetics (whitespace, appearance (ex) Prettier)
[ ] Build configuration
[x] Improvement (refactor code)

I rebased the branch because Github said there was a complex conflict


[UBUNTU] Only works on 1 screen the other remains the same.

I have this problem too

Which hardware, which driver, X11 settings?
No problem here with AMD/Nvidia with propritary driver. I never tried f.lux with Nouveau or the RadeonDriver.
Only on my workstation in the office with two AMD cards, fglrx and Xinerana enabled f.lux doesn't work on all screens..without Xinerama it works.

@synthor It could be related to the version of xflux installed. Manually installing a newer version by replacing the one in /usr/bin (as mentioned in #57) should help.

Thx for the info, I'll check that tomorrow in the morning and provide feedback.

Negative. I already have the 706kB, created 2013-09-27 01:42:30, on my workstation here in the office.
This machine here is a Debian 8.3 x64 with XFCE 4.10 and not Xubuntu...


Format dates properly (especially in ListDisplay)

@williamdclt for whatever reason the times entered seem to be converted from the user's local TZ to UTC on save, but not back on display. It's causing tests to fail on CI but not locally (UTC vs BST). We should probably work out out approach to timezones before we merge this - thoughts?


Latest stable Py3 version on its way to master...

Coverage decreased (-0.02%) to 83.17% when pulling ee548f5fb73325c837fbdb1c50d4f9bff98230a0 on devel-mp into b855bb5a8a4dd9faa538ac831a5ff0d9f440fb47 on devel.


RabbitMQ Resiliency workshops git repo -  Investigate getting this repo handed over to the Spring ATP team going forward

The Git repo is here: https://github.com/rabbitmq/workloads/tree/master/resiliency
Wrote this repo for Ford. Ford developers were having many issues with their applications. They were forced to restart their applications every time they upgraded RabbitMQ. Ed Byford was in a customer call where customers were complaining about issues during the upgrade so this was the reason this content was developed. Other customers were also complaining about these issues. Initially the customer calls were mainly about issues about performance but in these calls, customers also mentioned the issues they were having with resiliency.
This workshop was written for Ford who used Spring ATP and Spring Cloud Stream to develop applications. There is loads of code in this repo. This creates a problem to maintain it. This work was done by the RabbitMQ Platform team so we cannot expect the RabbitMQ Core team to maintain this repo now.
The VMWare Spring team in the US should probably own it. Gary Russell is the lead of Spring AMQP team. There is loads of documentation about Spring ATP, documentation is extensive however customers were still having problems.  Marcial and his team realised there was a gap and wrote this repo to address this gap.

Would it make sense to move this issue there?


Update title.service.ts

What: Maybe in this case it is worth unsubscribing from observable?

Issue number: N/A

I don't think this is needed because the the service exists as long as the application's life cycle.
Thoughts @tomastrajan ?

@DmitriyPotapov I agree with the @timdeschryver  here, the service exists for the whole duration of the application life and so there is no reason to make things more complicated. Thanks for your effort and hope you enjoy the starter project!


Add Terms of Deposit link to header on all pages

See example in wireframes: https://projects.invisionapp.com/share/EQXC9CLKCR2#/screens/428088403
When clicked, this should bring up the Terms of Deposit modal.

@peetucket @amyehodge When I browse to https://sul-h2-stage.stanford.edu/, I see this link in the header and it renders the modal. Can we close this or is there more work to be done? (Trying to clear out Review/QA tickets that may not need to be in Review/QA.)

@mjgiarlo I thought the same thing about this ticket yesterday, but never got around to sending a note about it. Looks good to me.


Update App Launcher App Sharing based on new design

Reference Issues or PRs
N/A
What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[x] Did you test the pull request locally?
[x] Did you add new tests?

Screenshots

Any other comments?

Added new App Sharing Component and updated App Form
Misc styling updates

Closing, will create new PR when backend is integrated


seeking surface model with holes

I noted that there is a model like "beetle.obj" used as an example in README.md.
However, when I try to load "beetle.obj", the program says it cannot open it because it is a non-manifold mesh.
Could someone give me a surface model with holes that can be loaded by the program?

Is the rightmot model "beetle.obj" in link ?

I'm also seeing the error "Mesh has non-manifold vertices" if I try to open a mesh that has holes.
This is such a great project!  Eager to be able to play with it on the kinds of surfaces I'm interested in.
Thank you!

There's now full support for meshes with (and without) boundary, holes, handles, multiple components and non-manifold connectivity.


Key vault containg secrets and keys dont move

Key vault has some limitations, key vault containg encrypted vms secretes and key dont supports move, this document has to update about that, its miselding our customers.

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

ID: 76c1c185-685f-27e0-e634-844b510b1834
Version Independent ID: 09375778-5354-ab44-c5c6-94c2aebe34bc
Content: Move Azure resources to new subscription or resource group
Content Source: articles/azure-resource-manager/resource-group-move-resources.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@Anmolgan81 Thanks for the feedback! We are currently investigating and will update you shortly.

Article is SEVERELY misleading. Specifically the workaround for VMs with backups. The suggested "workaround" destroys your entire backup history and DOES NOT restore it so you must manually re-enable backups for every VM individually.
Azure seems to REALLY enjoy telling its clients to delete all their backups. Really glad a support tech pointed this out before we found out the fun way.

@adamstadnick - thanks for this feedback. I have removed the steps about VMs with backups, and instead point to new content about Recovery Services. The change should get published this morning.

@Anmolgan81 - thanks for the notification about this issue. Key Vault used with encryption has been updated.

#please-close


refactor(rt): make SdkClient implement Closeable

Issue #

closes #248
closes https://github.com/awslabs/aws-sdk-kotlin/issues/102
Description of changes

Have SdkClient (which all generated clients implement already) implement Closeable rather than defining a separate close() method
This will mean that generated clients can now make use of use where a client is closed automatically
e.g.

S3Client{ region = "us-east-1" }.use { client ->
      client.putObject { ... }
}

Scope

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The files changed look correct. Should we update any of our documentation to show/suggest wrapping client interaction in use?

Yes probably. We could demonstrate in examples and getting started. All of that would be in aws-sdk-kotlin I think.


Unify Server and Client ThemeProviders and pass apolloClient as prop

Also pass context on serverside.
The Client version of wrapWithMuiTheme was using Components.ThemeProvider while the server version was using the default ThemeProvider, so you could overwrite it client-side but not server-side.
I introduced this three years ago in a PR to ErikDakoda's package).
Now both the server and the client ThemeProvider uses the Components system, so they can be overwritten. The implementation for the default ThemeProvider was the same on client and server, so I implemented it directly in the components/theme folder which is common to both server and client environments.
Also, I add the apolloClient prop that lets you query data right inside the ThemeProvider to be able to have a dynamic theme depending on a graphql query. We need it because the ThemeProvider is higher than the ApolloClientProvider in the react tree, so a useQuery would not have the context for it.
Here is an example of dynamic ThemeProvider:
const CustomThemeProvider = ({ children, apolloClient }) => {
  const { data } = useQuery(currentThemeQuery, { client: apolloClient });
  const primaryColor = data?.currentTheme?.primaryColor || DEFAULT_PRIMARY_COLOR;
  const secondaryColor = data?.currentTheme?.secondaryColor || DEFAULT_SECONDARY_COLOR;

  const memoizedTheme = useMemo(() => {
    return createTheme({ primaryColor, secondaryColor });
  }, [primaryColor, secondaryColor]);

  return (
    <ThemeProvider theme={memoizedTheme}>
      <JssCleanup>{children}</JssCleanup>
    </ThemeProvider>
  );
};

Sounds good, but why is the theme provider higher than Apollo provider in the first place?

Sounds good, but why is the theme provider higher than Apollo provider in the first place?

That's a good question. It's probably worth trying to switch their order - if that's reasonably easy.

I have been thinking about how to offer a light/dark theme toggle

That was my use case three years ago when I submitted a PR to you, had it working, but the theme we had was filled with hardcoded colors so dark version was ugly and unreadable.

why is the theme provider higher than Apollo provider in the first place?

I'll get a try at this

why is the theme provider higher than Apollo provider in the first place?

I think it's because it's more convienient to do it that way in the server-render. I managed to invert that easily for the client render, but for the server render we do two "passes" on the React tree: one to get the initial Apollo Cache, and one to do the actual HTML render.
I'm not confident enough to touch this, and I think that for this PR, we can stick to the minor modifications that I initially submitted.

Fine then, it lacks some testing beforehand indeed

@ErikDakoda I made the changes you asked for, tell me if that fits your needs!


Shared coordinate support for linked models

Adds support for shared coordinates in linked models.
See the issue reported here: https://speckle.community/t/can-not-link-revit-models-with-shared-coordinates/5058
The current solution ensures that linked model stay aligned with the main model despite the selected reference point;
Project Base, Survey and Internal Origin should all be supported.
Test files: https://speckle.community/t/can-not-link-revit-models-with-shared-coordinates/5058/5

Hey @chuongmep I just tried again with the latest beta and it works fine for me with any coordinate setting (internal origin, project base and survey point).
What Revit version did you use? Can you make sure you local env is clean and try with the pre-release instead?
There is a new issue regarding the hosted elements (door), which I'll investigate soon:

@teocomi I tried with version Revit 2023, may be I will try clear all and try again, thank you.

After clear all cache with previous version, it is  good now.


fix: Typo in Package Author (Cargo.toml)

Description
Minor typo fix in Cargo Package Author
Checklist:

[ n.a] I have updated the documentation if necessary.
[ n.a] I have added tests to cover my changes, regression test if fixing an issue.
[ ] This is a breaking change.

Fixed. Thank you.


Bernstein Yang Modular Inversion submit to Category 2: A new idea that could be the basis for a future tapeout.

Due to multiple requests. We have decided to extend the deadline to the 25th Nov. so that, hopefully, you have enough time to review your submissions.

Should that be moved in the Notebooks directory?

There is a few like that actually..


interface/grpc/core: ListenTask gets canceled

This happened to me with a service that uses go-service. And several times more in back with some other services that I don't remember (maybe webhook service). I'm not sure if I faced with this issue with mesg-js. So this might be relavent with go-service or can be caused from something totally else. The problem occurs a while after (<=40mins) starting the service which causes service to not react further task executions.
✔ Core stopped
✔ Core started
time="2018-10-23T09:18:11Z" level=info msg="deploying (2) system services..."
time="2018-10-23T09:18:12Z" level=info msg="'resolver' system service deployed"
time="2018-10-23T09:18:19Z" level=info msg="'workflow' system service deployed"
time="2018-10-23T09:18:19Z" level=info msg="starting system services..."
time="2018-10-23T09:18:20Z" level=info msg="all system services started"
time="2018-10-23T09:18:20Z" level=info msg="starting MESG Core version local"
time="2018-10-23T09:18:20Z" level=info msg="server listens on [::]:50052"
time="2018-10-23T09:18:27Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=CreateWorkflow grpc.service=api.Core grpc.start_time="2018-10-23T09:18:26Z" grpc.time_ms=1019.393 span.kind=server system=grpc
time="2018-10-23T09:18:27Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=SubmitResult grpc.request.deadline="2018-10-23T09:18:37Z" grpc.service=api.Service grpc.start_time="2018-10-23T09:18:27Z" grpc.time_ms=0.07 span.kind=server system=grpc
time="2018-10-23T09:18:36Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=SubmitResult grpc.request.deadline="2018-10-23T09:18:46Z" grpc.service=api.Service grpc.start_time="2018-10-23T09:18:36Z" grpc.time_ms=0.087 span.kind=server system=grpc
time="2018-10-23T09:18:36Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=CreateWorkflow grpc.service=api.Core grpc.start_time="2018-10-23T09:18:35Z" grpc.time_ms=1012.981 span.kind=server system=grpc
>> time="2018-10-23T09:59:56Z" level=error msg="finished streaming call with code Unknown" error="context canceled" grpc.code=Unknown grpc.method=ListenTask grpc.service=api.Service grpc.start_time="2018-10-23T09:18:21Z" grpc.time_ms=2.4979815e+06 span.kind=server system=grpc

I got this issue also working with only javascript services. This is the actual project I was working on https://github.com/antho1404/pegasys-hackathon but I couldn't find a way to reproduce yet

What if is it because the MacBook go to sleep and close the tcp connection?
Maybe it’s because we don’t have any auto retry on the tcp connection.

On 7 Nov 2018, at 21:31, Anthony<EMAIL_ADDRESS>wrote:
I got this issue also working with only javascript services. This is the actual project I was working on https://github.com/antho1404/pegasys-hackathon but I couldn't find a way to reproduce yet
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@NicolasMahe yes, we should check that one as well.

This is not relevant with mac going to sleep. I started a service and haven't put my mac on sleep. After one hour I tried to execute a task on that service and here I got the listen task canceled error at the bottom:
✔ Core started
time="2018-12-03T07:35:29Z" level=info msg="deploying (0) system services..."
time="2018-12-03T07:35:29Z" level=info msg="starting system services..."
time="2018-12-03T07:35:29Z" level=info msg="all system services have been started"
time="2018-12-03T07:35:29Z" level=info msg="starting MESG Core version local"
time="2018-12-03T07:35:29Z" level=info msg="server listens on [::]:50052"
time="2018-12-03T07:35:57Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=ListServices grpc.service=api.Core grpc.start_time="2018-12-03T07:35:57Z" grpc.time_ms=14.637 span.kind=server system=grpc
time="2018-12-03T07:36:04Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=StartService grpc.service=api.Core grpc.start_time="2018-12-03T07:36:02Z" grpc.time_ms=2241.19 span.kind=server system=grpc
time="2018-12-03T07:36:17Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=GetService grpc.service=api.Core grpc.start_time="2018-12-03T07:36:17Z" grpc.time_ms=4.547 span.kind=server system=grpc
time="2018-12-03T07:36:18Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=ExecuteTask grpc.service=api.Core grpc.start_time="2018-12-03T07:36:18Z" grpc.time_ms=16.073 span.kind=server system=grpc
time="2018-12-03T07:36:18Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=SubmitResult grpc.request.deadline="2018-12-03T07:36:28Z" grpc.service=api.Service grpc.start_time="2018-12-03T07:36:18Z" grpc.time_ms=1.131 span.kind=server system=grpc
time="2018-12-03T07:36:18Z" level=error msg="finished streaming call with code Unknown" error="context canceled" grpc.code=Unknown grpc.method=ListenResult grpc.service=api.Core grpc.start_time="2018-12-03T07:36:17Z" grpc.time_ms=1037.138 span.kind=server system=grpc
time="2018-12-03T08:32:14Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=GetService grpc.service=api.Core grpc.start_time="2018-12-03T08:32:14Z" grpc.time_ms=6.482 span.kind=server system=grpc
time="2018-12-03T08:32:15Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=ExecuteTask grpc.service=api.Core grpc.start_time="2018-12-03T08:32:15Z" grpc.time_ms=16.376 span.kind=server system=grpc
time="2018-12-03T08:32:15Z" level=error msg="finished streaming call with code Unknown" error="context canceled" grpc.code=Unknown grpc.method=ListenTask grpc.service=api.Service grpc.start_time="2018-12-03T07:36:04Z" grpc.time_ms=3.375066e+06 span.kind=server system=grpc

For information, there is an error not returned here. If there is an error at the creation of the stream this error is not shown, maybe this is related.
https://github.com/mesg-foundation/core/blob/925cd85930975f2171aa0786cb1fb4bfab643173/commands/provider/service_provider.go#L186-L192

Long story short:

Network sometimes goes crazy in docker swarm and lost some packets (https://github.com/grpc/grpc-go/issues/870) - it's a common case
when such network pbm occurs the grpc close the stream

INFO: 2018/12/18 20:56:14 transport: loopyWriter.run returning. connection error: desc = "transport is closing"
WARNING: 2018/12/18 21:03:52 transport: http2Server.HandleStreams failed to read frame: read tcp <IP_ADDRESS>:50052-><IP_ADDRESS>:36348: read: connection reset by peer
``

The INFO tells us an interesting thing - the error type is ErrConnClosing (https://github.com/grpc/grpc-go/blob/master/internal/transport/transport.go#L676)
and the grpc stream treats this as NORMAL stream close - https://github.com/grpc/grpc-go/blob/master/internal/transport/controlbuf.go#L425

In such situation, client sees this as close stream.

A solution, implement reconnection policy in the client, but this is the funniest part, not only in case of error, but also in case of normal connection close!

```go
func listen() {
  for {
    // increas sleep with every faild connection (restart after successful conneciton0)
    // first try 1s, 5s, 20s
    time.Sleep(1 * time.Second)

    // (re)connect listen task api
    stream, err := ListenTask(context.Background())
    if err != nil {
      // connect to listen task failed
      continue
    }

    // buffered channel, because it might happen that ctx.Done
    // will be notifed first before stream.Recv in for loop.
    done := make(chan struct{}, 1)

    go func(ctx context.Context) {
      select {
      case <-ctx.Done():
        // log error from  ctx.Err()
      case <-done:
        // do nothing
      }
    }(stream.Context())

    for {
      td, err := stream.Recv()
      if err != nil {
        // notify goroutine on any kind of error
        done <- struct{}{}
        break
      }
      // normal path with submit errors/results
    }

    // NOTE: even if listen task will be canceled without error
    // it will still reconnect. So we need to create issue in grpc how to solve this (haven't seen)
    // or implement this in our rpc protocol layer
  }
}

other solution: maybe there is an api that will allow us to distinguish normal connection close and ErrConnClosing
above code dosne't allow us to remove this behavior (it will always exists - even without docker) so we need to be prepared
one more thing, cli execute should never hang forever. Core dosen't have any mechanism to recognize if someone is listening for specific event (for example list of ListenTask caller)

@krhubert nice summary of the problem 👍

We also have a problem when we need to execute a task and listen for its result. We solve it by adding a time.Sleep between listenResult and executeTask, eg:
https://github.com/mesg-foundation/core/blob/85edf1fd53630682a93810154a7796154add575b/commands/service_execute.go#L82-L92
One suggestion we spoke with Anthony recently that could solve it and also notified when the core quits gracefully is to add an acknowledgement system:

core send a ready message when the client open a stream. client wait for this message to continue. if it doesn't receive a message because a certain timeout, it should return an error.
core send a closed message just before the core do a "graceful" close of the stream. if the client doesn't receive this message and the stream closed, then it retry the connection.


multiple queues

Is it possible to configure multiple queues with django-q?

django-q2 supports multiple queues. Django-q2 will be copied over to this repo at some point (hopefully soon).


Increase SSH key security

Read these pages:

https://security.stackexchange.com/questions/143442/what-are-ssh-keygen-best-practices
https://blog.stribik.technology/2015/01/04/secure-secure-shell.html

Write a new ssh-keygen command based on this.

Here's another source:
https://www.brandonchecketts.com/archives/its-2023-you-should-be-using-an-ed25519-ssh-key-and-other-current-best-practices

This is what I used for now on my 2017 MacBook Pro:
ssh-keygen -t ed25519 -C SeanFiskPersonal

Next, I should investigate a custom file, passphrase, and using ssh-agent.


how to explain "Autoformat -h" ?

i try to excute :Autoformat -h and fount it will format my comment in C file。
my question is how to understant this option -h?

I don't know, I don't think it is a valid option. You should only pass filetypes as argument as stated in the readme.


test: empty Observable.toPromise

Description:
show that an empty Observable results in a promise resolved with a
value of undefined
Related issue (if exists):

Coverage increased (+0.2%) to 96.727% when pulling 8c51a765758a4032a0a67ffc1937ba8d63b87a50 on NickLydon:empty-observable-topromise-test into 8c5d680494a8bc986e638f6138447917c7ba180f on ReactiveX:master.

Thank you for the thoughtful contribution, @NickLydon!


Legend dataset visibility toggle wont work with animation duration 0

Expected Behavior
The visibility of a dataset should always been able to change with a click in the legend.
Current Behavior
Unfortunately this wont work with animation duration set to 0
Steps to Reproduce
Set animation.duration: 0 in the config => Dataset stays visible after click
Set animation.duration: >0 in the config => Datasets visibility can be changed
Environment

Chart.js version: 2.9.3
Browser Chrome 83.0.4

Debugging shows, that somehow the click event is handled twice (with animation.duration: 0). So the dataset is set hidden and immediately visible with one mouse click.

Fixed in master: https://codepen.io/kurkle/pen/wvMxWXZ


Collect steps doesnt generate ALL possible steps for quicksort

Quicksort generates steps which are order dependent. It would need maximum steps if the entire input is already sorted. But since we now have a random shuffle before we call quicksort, there is no sure shot way of generating ALL the steps apart from hacking the code for "step-trace".
Some options to try

Run protocol for a LOT many users to ensure atleast one hits the scenario
Send in sorted inputs for "step-trace", make shuffle run but not let it modify the inputs

For now, we have just generated "random" number of steps which collect_steps just gave which might fail when we run tests.

This was somewhat mitigated by my PR that improved quicksort. Now the steps only relate to the depth. The issue is still unresolved however as the number of steps generated will vary each time the script is run.


Automatically start application when turn on the computer

When restart the mac os and before start LinearMouse, My mouse moves very slowly. After start linear mouse application, Mouse speed is recovered as setting before turn off mac os.
Can you make automatically turn on LinearMouse and apply prior settings?
thank you

That's weird. LinearMouse should start at login unless you manually quit it from the menu before you shutdown your computer.
What's the LinearMouse version you are using? Could you check if LinearMouse is in your login items when it is running?
Choose Apple menu > System Preferences, then click Users & Groups. Select your user account, then click Login Items at the top of the window.

Hi there, I ran into the same issue after a fresh install of Monterey 12.4.
My Login Items was empty.

I had to manually add LinearMouse into Login Items to get it automatically start at login.
Tried reinstalling the app (through brew reinstall) a few times, no luck there.
My LinearMouse version is 0.6.0, I think it is the newest stable version at the time of writing this.

Are there any other items in Login Items in addition to LinearMouse?
I'm not sure if you encountered Clipy/LoginServiceKit#29. I haven't updated this library for a long time so this bug should still exist.
In #132, I switched to another implementation, mainly to resolve a new issue in macOS 13. I believe the latest beta version should have resolved this issue as well. The new implementation uses a launch helper so you wouldn't see it in Login Items, but it should work.

For me there was nothing in my Login Items when I installed LinearMouse.
It was a fresh install of Monterey and I was doing the initial setup. LinearMouse sits on the very top of my initial setup todo list, along with install homebrew, git, etc.

I can confirm Linear Mouse v 0.6.2 is unable to start on macOS 12.4 startup. I can add it to login items. But after I restart the OS the program it is no longer on the login items list. It looks like the system removes it, or the program does not add itself properly, or the program crashes on startup launch and the system removes it:
Maybe this has something to do with it?
Process:               LinearMouse [553]
Path:                  /Applications/LinearMouse.app/Contents/MacOS/LinearMouse
Identifier:            com.lujjjh.LinearMouse
Version:               0.6.2 (0.6.2)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]

Date/Time:             2022-06-21 07:29:21.7149 +0200
OS Version:            macOS 12.4 (21F79)

Time Awake Since Boot: 18 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [553]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   LinearMouse                   	       0x1095e72f7 0x1095c2000 + 152311
1   LinearMouse                   	       0x1095e67e4 0x1095c2000 + 149476
2   LinearMouse                   	       0x1095e6534 0x1095c2000 + 148788
3   LinearMouse                   	       0x1095e6366 0x1095c2000 + 148326
4   libdispatch.dylib             	    0x7ff8081d1317 _dispatch_client_callout + 8
5   libdispatch.dylib             	    0x7ff8081d24fa _dispatch_once_callout + 20
6   LinearMouse                   	       0x1095f0b45 0x1095c2000 + 191301
7   LinearMouse                   	       0x1095ef42e 0x1095c2000 + 185390
8   LinearMouse                   	       0x1095ef00b 0x1095c2000 + 184331
9   LinearMouse                   	       0x1095efdca 0x1095c2000 + 187850
10  CoreFoundation                	    0x7ff80844475c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
11  CoreFoundation                	    0x7ff8084e1b52 ___CFXRegistrationPost_block_invoke + 49
12  CoreFoundation                	    0x7ff8084e1ad0 _CFXRegistrationPost + 496
13  CoreFoundation                	    0x7ff808416398 _CFXNotificationPost + 735
14  Foundation                    	    0x7ff80925a80e -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
15  AppKit                        	    0x7ff80ae94aae -[NSApplication _postDidFinishNotification] + 305
16  AppKit                        	    0x7ff80ae947fc -[NSApplication _sendFinishLaunchingNotification] + 208
17  AppKit                        	    0x7ff80ae923cc -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 541
18  AppKit                        	    0x7ff80ae92020 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665
19  Foundation                    	    0x7ff809285734 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
20  Foundation                    	    0x7ff8092855a6 _NSAppleEventManagerGenericHandler + 80
21  AE                            	    0x7ff80eb073f0 0x7ff80eafc000 + 46064
22  AE                            	    0x7ff80eb06c5a 0x7ff80eafc000 + 44122
23  AE                            	    0x7ff80eb0038f aeProcessAppleEvent + 419
24  HIToolbox                     	    0x7ff811105ce2 AEProcessAppleEvent + 54
25  AppKit                        	    0x7ff80ae8c652 _DPSNextEvent + 2036
26  AppKit                        	    0x7ff80ae8a8ba -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
27  AppKit                        	    0x7ff80ae7cf69 -[NSApplication run] + 586
28  AppKit                        	    0x7ff80ae50ee7 NSApplicationMain + 817
29  LinearMouse                   	       0x1095c568c 0x1095c2000 + 13964
30  dyld                          	       0x10be3151e start + 462

Hey, @tomasznazarenko!
Thank you for your feedback.
To make launch at login work on macOS Ventura, LinearMouse now uses a launch helper instead of adding itself to login items in version 0.6.2. So, it is an expected behavior that LinearMouse is not shown in login items any longer.
To switch from login items to a launch helper, LinearMouse removes itself from login items automatically:
https://github.com/linearmouse/linearmouse/blob/8c7834f29911a3a3950f1fc29a7db99c4e6da5a6/LinearMouse/AutoStartManager.swift#L8-L19
According to your crash logs, launchd launched LinearMouse, and then LinearMouse crashed.
Could you please verify if this crash is reproducible on each startup? Are crashes also happen when you start LinearMouse manually? I couldn't find a way to reproduce it on macOS 12.4 with my Intel Mac. Any additional information could be helpful.


Extract not working

Hi,
I am doing an app that is compressing in C# and extracting the content in electron (JS).
The extract is not working for any content that has been compressed to zip using the MS C# lib System.IO.Compression with ZipFile.CreateFromDirectory(pathFolderToZip, Destination.zip)
Not sure if this is a security, encoding or a mime type issue.
Hope this help to make the module better.
Kind regards,
C

What error do you have while extracting? Could you please try to use yauzl, is it works for you?

So I am using "extract-zip" module now, and everything works fine.
I was getting the event "extracting started" and then I get a
Error: ENOENT: No such file or directory, open "path/to/file.exe"
It is like the extract is looking for directory instead of files, but this only happened with zip files I was creating from a C# app. Using 7zip for example (on the same directory than my C# app), your module worked fine.. So i am a bit confused what could be the error.
Hope this help.

Could you please attach zip file?

Closed due to absence of archive example.


Template deployment failed

I have been following the steps defined in the Readme file.I am facing deployment error in 3rd step as -
**{
    "status": "Failed",
    "error": {
        "code": "ResourceDeploymentFailure",
        "message": "The resource operation completed with terminal provisioning state 'Failed'."
    }
}**

Any help is appreciated.
Thanks

@NamanGupta001 Thank you for letting us know.  I will forward to the appropriate person.

This repo is for the legacy v2 API which is being deprecated on Feb 29, 2024.
Don't use this repo!
Important : The Media Services v2 SDK is deprecated and will be retired after 29 February 2024. Please migrate to Azure Media Services v3 API. For functions and logic apps samples using the v3 API, please go to this repo.


Provide libraries for the other CDK languages

:tada: This PR is included in version 2.0.0-alpha.1 :tada:
The release is available on:

GitHub release
v2.0.0-alpha.1

Your semantic-release bot :package::rocket:

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

GitHub release
v2.0.0

Your semantic-release bot :package::rocket:


Handle hosted object redirection cases

Currently in badgecheck/tasks/graph.py jsonld_compact_data():
def jsonld_compact_data(state, task_meta):
    try:
        input_data = json.loads(task_meta.get('data'))
    except TypeError:
        return task_result(False, "Could not load data")

    options = {'documentLoader': CachableDocumentLoader(cachable=task_meta.get('use_cache', True))}
    result = jsonld.compact(input_data, OPENBADGES_CONTEXT_V2_URI, options=options)
    # TODO: We should not necessarily trust this ID over the source URL
    node_id = result.get('id', task_meta.get('node_id', get_next_blank_node_id()))
    # ...

The node has a published id that is different from the URL we used to fetch it (the fetch URL was redirected to the embedded id)
The node has a published id that is different from the URL we used to fetch it (the fetch URL was not redirected but just responded with the document that included a different id that is its canonical URL -- it can also be fetched from this URL.)
The node has a published HTTP id that it cannot be fetched from (404/ConnectionError). We fetched it from a different URL.
The node has a published HTTP id that it cannot be fetched from (404/ConnectionError). We did not fetch it but found it embedded in another resource (such as a BadgeClass inside an Assertion).

Expected behavior for following cases:

The node has a published id that is different from the URL we used to fetch it (the fetch URL was redirected to the embedded id)

We refetch from the embedded id. If refetch is successful, update the references to this object from the old url to the embedded id and raise a WARNING in the messages to describe what was done.

The node has a published id that is different from the URL we used to fetch it (the fetch URL was not redirected but just responded with the document that included a different id that is its canonical URL -- it can also be fetched from this URL.)

Same as above: refetch from the published id, update references and report a WARNING.

The node has a published HTTP id that it cannot be fetched from (404/ConnectionError). We fetched it from a different URL.

Report an ERROR. The badge is invalid.

The node has a published HTTP id that it cannot be fetched from (404/ConnectionError). We did not fetch it but found it embedded in another resource (such as a BadgeClass inside an Assertion).

Same as above: Report an ERROR. The badge is invalid.


Update 4_Dependency.md

let's see if this works

Hi @LawrenceHecht
I assume you are still waiting for more feedback. When you are ready, you can make the changes in your repository to the branch patch-2 and it should update the pull-request.

Hi @LawrenceHecht,
I'm closing this issue as we are moving the dependencies into the value metric. You'll see this captured in the V-index as a way to determine dependency relationships. Happy to chat more on this issue.


Dynamic components based on state

Is there a way to show a dynamic component based on state? It might eliminate the need for all of the if statements and static tree in the router example, etc.. something like
FamousFramework.scene('andrewreedy:dynamic-test', {
     // The contents of the #right element is dynamic based on the 'right-view' state
    tree: `

            <mobile-header id="header">
                <node id="left">

Left

                    <button data-action="open-menu">Menu</button>
                </node>
                <node id="center">

Header4

                </node>
                <node id="right"></node>
            </mobile-header>
            <scroll-view id="body">
                <node class="scroll-view-item" data-action="open-subview"></node>
            </scroll-view>
            <node id="footer">

Footer

            </node>

    `,
    behaviors: {
        '#right': {
            // Linking this element to the component type pulled from the state value 'right-view'
            '$dynamic': 'right-view'
        }
    },
    state: {
        // The component 'top-icon-b' is set in the state here.. this could change to another
        // component and that would be rendered into #right
        'right-view': 'top-icon-b'
    }
})
.config({
    imports: {
        'famous:layouts': ['header-footer', 'scroll-view'],
        'hybrid': ['mobile-header'],
        'andrewreedy': ['top-icon-b']
    }
});

That's pretty interesting. We can definitely look into something like this that makes this type of toggling a bit "sweeter." cc @zackbrown who may want to weigh in on this approach and separation of concerns.

I think I thought of a better way to do this using a component. The approach I illustrated is actually pretty limited. Feel free to close this one.


Ensure that we're using atleast lodash 4.17.13

CVE-2019-10744 More information

high severity
Vulnerable versions: < 4.17.13
Patched version: 4.17.13
Affected versions of lodash are vulnerable to Prototype Pollution.
The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.

For more on how resolutions work refer to: https://yarnpkg.com/lang/en/docs/selective-version-resolutions/

They pass 🎉

Shall we release it this morning?

yes let's


TS support fails with incorrect browser import

For example, when you import a TS file into App.vue and access an exported member...
// App.vue
<script lang="ts">
import { count } from "./foo"

export default {
  data: () => ({ count })
}
</script>

... you get an Failed to load module script error:

vite/esbuild creates a foo resource without the .js extension. The JS file is also not accessible if you call it directly like http://localhost:3000/<path/to/foo.js>?t=<hash>.

give full file name import { count } from "./foo.js"

No, this does not work because a .js was not created.
GET http://localhost:3000/<path/to/foo.js> net::ERR_ABORTED 404 (Not Found) App.vue:1
But you can access the TS file directly in the browser http://localhost:3000/<path/to/foo.ts> (a source mapping URL was added).

This works import { count } from "./foo.ts" but Vetur is not happy with it
An import path cannot end with a '.ts' extension. Consider importing './foo' instead.Vetur(2691)

It works for me. Are you on windows? A reproduction with your system information would help when reporting issues.

Ah yeah, sorry! Here are the system information:
macOS Catalina 10.15.4 (19E287)
node v13.7.0
yarn 1.22.0

I took a closer look at this. The problem occurs to me when App.vue is located in a folder (e.g. /src).
https://github.com/akaufmann/vite-bug-61

@akaufmann if I understand your problem correctly, this should be the correct behaviour, you are trying to import a file that doesn't exist.
In Node, it would throw an error as well (Error [ERR_MODULE_NOT_FOUND]: Cannot find module '{path}/foo' [...]), even if the file was a .js one.
import tries to resolve the exact path one's giving it as a URL, no post-processing is done, while require used to do some magic behind the scenes, like adding the extension for you.
I see that if I change the file's extension from .ts to .js it works, but I think that that is the real problem: it shouldn't work!
If you use something that doesn't need a transpiler or a bundler, like Preact + HTM, as I've seen from @yyx990803's tweets that is possible, and you use Vite just as a development server, well... the code that works on the development server wouldn't work in our production environment (if you can call it that) because the extensions are missing from the import statements.


There are no documation for localStorage

The wiki https://github.com/agershun/alasql/wiki/LocalStorage have only keyword localstorage.
I've tried to relpace indexdb keyword with localstorage but it don't work.
How to use localStorage? Are there any docs elsewhere?

Ok found this example on SO and update my demo:
alasql('CREATE LOCALSTORAGE DATABASE IF NOT EXISTS MyBase; \
        ATTACH LOCALSTORAGE DATABASE MyBase; \
        USE MyBase;');

I've would update the wiki but I think it's disabled

iit seems that indexedDB demo have the keyword for both of statements so replacing the keyword actually work sorry.


Is this project still alive? I can't reach typedoc.io at all...

@supermarcos Website was moved to typedoc.org.


Back key handling fix: let backends decide to just exit on pressing

Oculus still works the same.
GearVRf-DCO-1.0-Signed-off-by: Mihail Marinov<EMAIL_ADDRESS>

@sivapenke Please try it out

@liaxim It works now.

Planning to merge in the afternoon.


Support filter(None)

Codecov Report

Merging #68 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   96.99%   97.01%   +0.02%
==========================================
  Files           9        9
  Lines        1097     1107      +10
==========================================
+ Hits         1064     1074      +10
  Misses         33       33

Impacted Files
Coverage Δ

streamz/tests/test_core.py
99.48% <100%> (ø)
:arrow_up:

streamz/core.py
98.25% <100%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


Manual Mediaflux installation

Go through the installation instructions and manually build a mediaflux server
Acceptance criteria

[ ] Get a copy of mediaflux
[ ] Go through the installation guide and install it manually
[ ] Document the process in markdown to make it easier to automate

Mediaflux Installation Guide 4.x.pdf

mf_licenses.tar.gz

Configuring authentication_AD binding for Mediaflux.docx
Installation Steps for td-mf-db1.docx
mediaflux.service.docx
mediaflux.service.txt


Fix some mypy warnings

Codecov Report
Patch coverage: 83.33% and no project coverage change.

Comparison is base (ab4ab3d) 94.00% compared to head (c714a40) 94.00%.

Additional details and impacted files
@@                 Coverage Diff                  @@
##           pydantic_experiment     #406   +/-   ##
====================================================
  Coverage                94.00%   94.00%
====================================================
  Files                       72       72
  Lines                     9593     9596    +3
====================================================
+ Hits                      9018     9021    +3
  Misses                     575      575

Files Changed
Coverage Δ

weaviate/connect/connection.py
89.34% <ø> (ø)

weaviate/collection/collection_base.py
59.05% <75.00%> (+0.17%)
:arrow_up:

weaviate/collection/collection.py
73.22% <100.00%> (+0.42%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Online Gaming Portal Template

Have you read the Contributing Guidelines ?
Yes, totally.
Description
A frontend template of an online gaming service portal that has features like game search, activity and social media accounts
Fixes #437
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#437

@kaustav202 Please rename your PR Title appropriately with regards to your Issue Title.

Made the requested changes @photon149

@photon149 check .

@kaustav202 Looks good.
No Duplicity ✅
@Kushal997-das @prakhar3062 have a look.


Vertical format for chained methods.

Hey @eureka-cpu, i've made the required changes, kindly review the pull request & hopefully merge it :))
Thank you so much for assigning this issue to me💯💯💯

It seems the same is happening here as mentioned in #3918
You can safely close this PR since there was a misunderstanding and I will update the issue to be more clear

To add to @eureka-cpu 's comments, you could use some of the previous PRs to the formatter as points of reference for how you might make changes here. This latest PR by @eureka-cpu fixing a bug with code block formatting could be a good starting point: https://github.com/FuelLabs/sway/pull/3915


@remindme bot support

Description
Closes #510
This PR adds support for a @remindme bot, similar to the @delete bot.
It uses the same directive pattern, meaning you mention @remindme followed by a known syntax to enable the functionality. The pattern is as follows:
@remindme in <num> <units>
where <num> is a positive integer with no separators, and <units> is one of second, minute, hours, day, week, month, year, or their plural counterparts. Some examples:

@remindme in 1 day
@remindme in 2 minutes
@remindme in 4 months
etc.

When you include this in either a post or a comment, a reminder is scheduled and you are given feedback in the UI that tells you when you will be reminded of this item, localized to your browser's timezone/locale.
If you have a mention of @remindme but the reminder was not scheduled, a toast message is shown to help guide you to the correct syntax for using the bot.
If you delete an item that has a @remindme bot mention, the reminder is canceled (deleted). Note: if the reminder has already occurred, it is not deleted, since we can't "unremind" you. That means it will still show up in your notification history.
If you edit an item that has a @remindme bot mention, the existing reminder is canceled (deleted). If the updated text contains another @remindme bot mention, the new reminder is scheduled accordingly. Similar to deleting an item with a @remindme mention, if the reminder has already occurred before you edit the containing item, the reminder is not deleted, so it will still show up in your notification history.
Reminders are sent via notifications in your notifications page, as well as via push notification, if you have that enabled. The reminder links you to the item in which you mentioned @remindme.
So, for example, if someone else makes a post and you want to be reminded of it, you would reply via comment to the post with @remindme in 1 week. 1 week later, you will be notified of your comment, and therefore the parent item implicitly.
Technical overview:

New Reminder model added to the DB. It has 3 interesting fields:

itemId
userId
remindAt

Updated item API resolver for create/update/delete item, to parse for @remindme mentions and extract the configuration, and create the Reminder instances, and also schedule the reminder jobs.
New worker job type reminder - scheduled via the item API resolver, and handled via a new worker module
Updates to all UI forms to surface feedback via toasts, for either a successful reminder scheduled, or a failed attempt to schedule reminder.
Updates to the user API resolver to include reminder notifications in hasNewNotes
Updates to the notifications API resolver to include reminders that have occurred (i.e. remindAt in the past) in the notifications listing
Updates to the notifications UI to render reminder notifications appropriately

Screenshots
Successful reminder scheduled toast

Reminders in notifications page

Additional Context

We could get away with removing userId from the Reminder model, since with the implementation, the userId in the Reminder is always the owner of the item corresponding to itemId, so we could just look up the user id when needed. I originally modeled it with both userId and itemId since that seemed natural, but it might be overkill.
This approach does future-proof us if we ever decide to allow you to be directly reminded of someone else's items, though. So maybe it's fine? Open to input here.

Checklist
Are your changes backwards compatible? Please answer below:
Yes. New DB model but it is backwards compatible.
Did you QA this? Could we deploy this straight to production? Please answer below:
Yes.
For frontend changes: Tested on mobile? Please answer below:
No new patterns implemented, so I didn't test it on mobile.
Did you introduce any new environment variables? If so, call them out explicitly here:
No.

Awesome! Thank you for the feedback, I'll work on it as soon as I can

FYI I've made the changes myself which I just need to test now.


Add SET support

Let me know if this thing looks ok then I will do some cleanup.
Basically, it adds 2 things:

Push set count
Push set elment

Thank you! I squashed the commit to remove some unrelated changes.


Block: Card-Slider

Fix #38
🔗 Test URLs:

Before: https://main--caesars--hlxsites.hlx.page/caesars-palace/
After: https://issue-38-card-slider--caesars--hlxsites.hlx.page/caesars-palace/drafts/swbarman/card-slider

📝 Description:

Add a card-slider component

(With the mouse = Desktop mode)

Title of card is missing on mobile:

Should look like this instead:

Card titles are still missing when changing screen direction on tablet, see screenshots (pay attention to what is width/height, as it;s the thing showing the switch):
Example 1:

Example 2:

The key element is the screen-size change handling.

Also, some padding seems off:

Card titles are still missing when changing screen direction on tablet, see screenshots (pay attention to what is width/height, as it;s the thing showing the switch):
Example 1:
Example 2:
The key element is the screen-size change handling.

Max-width for tablet was written as :
@media only screen and (min-width: 481px) and (max-width: 768px)
I could change it to: @media only screen and (min-width: 481px) and (max-width: 1024px)


make ipc crashes

Hi, using your script with python 3.5 crashes with the following error:
Generating KiCad library...
Traceback (most recent call last):
  File "download_ipc.py", line 192, in <module>
    main ()
  File "download_ipc.py", line 154, in main
    main_2 (args, tempdir, ipc_zip)
  File "download_ipc.py", line 189, in main_2
    freepcb2kicad.main (fpargs, zipfile=zipfile)
  File "freepcb2pretty.py", line 807, in main
    SexpDump (sexp, f)
  File "freepcb2pretty.py", line 91, in SexpDump
    SexpDump (i, f, indentlevel + 1)
  File "freepcb2pretty.py", line 94, in SexpDump
    elif isinstance (sexp, (str, unicode)):
NameError: name 'unicode' is not defined

Hope you can fix it, thanks!

No need to run this script anymore, I've included its generated output. I'll look at this though.


open_basedir set inside config.php

Hi,
looking at the resulting config.php there is set a line 'open_basedir' => '/dev/urandom'.
https://github.com/nextcloud/ansible-collection-nextcloud-admin/blob/40710864b8336cbc6884bfb39b02e29de2146bab/roles/install_nextcloud/defaults/main.yml#L77
I can't find anything on this in the Nextcloud documentation for configuration parameters and "normally" this is set inside the php.ini.
Can the open_basedir really be set inside the config.php?

Fair point.. it seems not.


Licence for import export plugin

We would like to use this plugin in one of our projects and also contribute to the development. As there is no licence on this project currently we are not aloowed to use it in commercial products.
It would be great if you could add a licence to clarify if you want to publish this plugin as OSS or not.

We would also use this plugin in our commercial projects.


LilyPond: fix wrong lexing of name containing builtin name

Non-builtin names were scanned character by character, possibly
causing recognition of a suffix as builtin.

Apparently this was the 6000th commit in Pygments :)


chore: change context defaults to null - fixes flexiblestrat

Description
This fixes an issue with Flexible rollout strategy - stickiness would be resolved to an empty (non null) string instead of defaulting to random number when context isn't provided
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

[x] Created new unit tests
[x] Ran existing tests

Checklist:

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

Nice! smile This is very nice 100 How does it handle cases where the rollout isn't 100? Like 97? Is that done randomly then, or is it always false?

Should fallback to the original calculation - so random

Yes, there's a random calculation and compared with stickiness


  This is for a host on uname 17.7.0 Darwin.  Is this a wrong install of XCode or somehow a flag needed to compile, well, anything really, that includes ordinary system headers.  Looks weird to have that for every compile.  So I guess the set up of the compiler has an issue, where it cannot find its own files?

Checking on another mac machine, clang works fine without the problems you have.  A plain Xcode install.  However, that does not have openssl headers and so on in usr/include, and that directory seems to give you problems too, so I think it may be related to the Xcode install, or, the package system you are using to put other libraries and tools on there.   You would need openssl and libevent, and autoconf, libtool, flex, bison for compilation.

Also see PR #69. It adds Travis OS X testing to nsd.


Add native unit tests to iOS and macOS templates

Adds an example native unit test to the templates for iOS and macOS, matching the format we use for our 1P plugin example app unit tests. Once these have been added for all platforms+languages, they will be documented on a new plugin development page to explain their use.
For plugin example apps, the test shows an example of an actual plugin test. For standard apps, the test is an empty placeholder (similar to what Xcode would create when adding a unit test target). Although most people aren't likely to use the unit test targets in apps currently, having it be unconditional makes it much easier to maintain the project.
Also updates the Swift plugin example itself to show handling methods by name, matching the macOS Swift plugin example, since it makes it provides a better foundation for real-world plugin development (where there is very often more than one method name).
Part of https://github.com/flutter/flutter/issues/82458
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

Updated with everything but the device lab tests; I'll update again with those when I have a chance.

Looks like the devicelab tests are working, thanks for all the pointers!


Crash in [MXKEventFormatter renderHTMLString:forEvent:] on 0.7.6

Reported at https://matrix.to/#/!DdJkzRliezrwpNebLk:matrix.org/$15396563361781LnhXR:matrix.ordoevangelistarum.com.
Rageshake available.

https://matrix.to/#/!ZrZoyXEyFrzcBZKNis:matrix.org/$15397144342292656Rkoxi:matrix.org contains a bad formatted m.relates_to value:
    "m.relates_to": [
      "m.in_reply_to",
      {
        "event_id": "$15397143222292107tZTHu:matrix.org"
      }
    ]

Thanks for fixing this, and my apologies for sending the malformed events.
This makes me wonder how many similar bugs are lurking in a variety of clients.  It could be trivial to cause DoS crashes by sending slightly malformed events. I can't even run Riot on iOS right now because I'm in some rooms with the malformed events.


web install doc

Generate install web doc for debian
See
https://trello.com/c/00CYQi2t/29-debian-installation-page
and https://github.com/ome/omeroweb-install/pull/17
To test:

Check that the correct value is used for the doc i.e. debian
The doc generation will have already been tested by travis see https://github.com/ome/omeroweb-install/pull/17

👍  looks good to me, {"os": "debian"} and the travis passed. Merge away.


First person model breaks player ragdoll when holding any item in Physics mod 2.0.0 and above

when using physics mod 2.00 and above, if I toggle the first-person model, it doesn't break, but if I toggle it and have an item in hand when I die, it breaks, it also breaks even if you detoggle it and have an item in the main hand.

It stopped happening so I think it got fixed.


readme.md: adding accounts and generating DKIM keys, why not with setup.sh?

Thanks for a great project, preparing to start using it very soon.
There exists the highly convenient setup.sh script, but readme.md is still showing "full" examples of adding email accounts and generating DKIM keys. Is this left so on purpose? If not, then I can update the readme.md to show setup.sh commands instead.

Hi @spock, a lot of things were existing in README but there was too much information.
We only want to keep what allows you to start a container with an email account (and a default security). "Advanced" options are detailed in wiki.
Fee free to add a note/link to the wiki for setup.sh if you think it's necessary.

Hi @spock, a lot of things were existing in README but there was too much information.
We only want to keep what allows you to start a container with an email account (and a default security). "Advanced" options are detailed in wiki.
Fee free to add a note/link to the wiki for setup.sh if you think it's necessary.

Fixed by #453


SRVLOGIC-382: SonataFlow Management Console productization setup in midstream

Jira: https://issues.redhat.com/browse/SRVLOGIC-382
Description:
Create a setup to productize SonataFlow Management Console in midstream kie-tools repo
**IMPORTANT :warning: **
This requires a sync-pr first to bring SonataFlow Management Console in this repo.

Too many unrelated commits and conflicts.
I will reopen with a new branch


[BACKPORT][v1.0.2] - [Elasticsearch] Error when having multiple VMs and non-clustered mode

Source issue 2332
Pull request 2426

DoD checklist

[ ] Changelog updated
[ ] COMPONENTS.md updated / doesn't need to be updated
[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade

[ ] Idempotency tested
[ ] Documentation added / updated / doesn't need to be updated
[ ] All conversations in PR resolved
[ ] Solution meets requirements and is done according to design doc
[ ] Usage compliant with license
[ ] Backport tasks created / doesn't need to be backported

:heavy_check_mark: Clustering of logging component is set depending on the number of nodes


Unable to receive push notification on IOS

Hello,
Thanks for nice plugin.
But i have tried all the steps trice but still i can't get notification on my ionic app.

Crate push certificates.
Upload to firebase console. etc...

In firebase console it says sent successfully but unable to receive it on application side.
Using this tutorial for integration https://ionicframework.com/docs/native/firebase/
Please advise.

@05bca054 if you're using cordova v7, the latest release is broken for iOS.  I had to sync from master to get this plugin working.

Ignore my previous comment, I just noticed 0.1.22 was recently released

@Soumak77 I tried both the version today but none of them work it gives error in console like.
Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
I think firebase faces problem to obtain APNS token somewhere
I have checked both(Dev & Prod) my p12 files working correctly for apns and same was uploaded to firebase ios app console.

I had the same issue.
But believe or not, the issue is resolved once I turn off the notification and turn it on again.

Please ignore my previous comment. That method worked only for iOS9. In iOS 10, the same issue is still there.

Same for me on iOS 10 no notifications received. Anyone found a fix for that ?

Same here, no notification received no the device but I correctly get a message_id from fcm-push server side.

closing for now, reopen if still an issue with the latest version of the plugin


error displaying tags on mobile devices

Hi, there is an error displaying tags on mobile devices. Link with full description and screenshots on flarum   link

Hi.
You are not really describing what you see as the issue. When creating an issue, please make sure you do not only add references to a discuss topic and images. I've visited your comment on the topic, but still find it very unclear.

How can we reproduce the issue?
How would you like Flarum Blog to behave?


Missing 4.0.0 git release tag

NPM latest version is 4.0.0, but git latest release is 3.3.7.
Until a new release is made, webjars  cannot update to new version.

A v4.0.0 tag might line up with 5319dac50d21e67d3191a0092989c33e096d4264, I think (based on some analysis to figure out potential breaking changes in an upgrade from v4.0.0)


define consume operator

The typical usage of a concurrent traversal of a directory tree requires no use of the result. However, the design of the worker pool requires some other entity to consume the results it produces otherwise at some point (depending on the size of the buffered channel passed in) will become full and therefore block until it is consumed.
The implementation here should define a new operator Consume. By default, the accelerated navigator will assume that the client is not interested in the result and should therefore provide a dummy consumer. If the client requires the result, then they can register this interest using the Consume operator, eg:
session.Init().WithCPUPool().Consume().Run(...)

There's a problem with this commit (see gh-actions). For some strange reason. the update to version 0.2.6 of lorax is not working on ci but it works on the local branch. I don't understand why this is happening. I might have to rebase the branch regardless and break the main branch so I can see clearly what is broken.

I've misunderstood this. The problem is in 0.2.6 of lorax:

worker-pool.go

func (p *WorkerPool[I, O]) Start(
	ctx context.Context,
	outputsChOut OutputStreamW[O],
) {
	p.run(ctx, p.private.workersJobsCh, outputsChOut)
}

the pool requires ___	outputsChOut OutputStreamW[O],___ which should be ___	outputsChOut OutputStream[O],___
So lorax needs a new release


Hotfix "Stop" button

Features

More reliable behaviour by keeping track and actively changing an isRunning property (as opposed to #39)
Stop button and eval button should appear and disappear respectively when code is running

Pull Request Test Coverage Report for Build 523

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 25.517%

Files with Coverage Reduction
New Missed Lines
%

src/reducers/workspaces.ts
2
8.09%

Totals

Change from base Build 515:
0.0%

Covered Lines:
806

Relevant Lines:
2702

💛  - Coveralls


CubeView swiping bug on larger resolutions

Dear Andrei!
As we have talked this about, here are the visual representations of the issue i'm having with the CubeView control, using your sample code on larger resolutions and Android platform, the device is a Galaxy S10 running Android 10, though i have tested this on a Galaxy S8 running Android 9 with the same result!
Video of the behaviour at 3040x1440: you can observe the bug here
Video of the behaviour at 1520x720: this is perfect
Thank you very much for your hard work!

reproduced as described :(

RotationY and RotationX don't work as expected. So it's Xamarin.Forms issue

can you confirm that the issue is reproducible on real android devices?

can you confirm that the issue is reproducible on real android devices?

of course, i have tried it on Galaxies S8 & 10

https://twitter.com/jfversluis/status/1225545608196431874

@z07713 I delegated this bug to Xamarin.Forms team)

@AndreiMisiukevich Thank you Andrei!

I am closing this ticket as XF bug. It should be fixed there :(

v.2.7.0

v.2.7.0


docs: remove firenvim from the description of the cond property

The preferred configuration to lazy-load the firenvim  plugin is the subject of debate in this discussion
That configuration has been revised recently, because the behavior of the cond property has changed:

issue: "keys ignore cond"
commit: "cond and enabled"

This PR only updates the README and removes firenvim from the description of the cond property.
Additional context
Original config
{
    'glacambre/firenvim',

    -- Lazy load firenvim
    cond = not not vim.g.started_by_firenvim,
    build = function()
        require("lazy").load({ plugins = "firenvim", wait = true })
        vim.fn["firenvim#install"](0)
    end
}

After the aforementioned change, the following problems occur:

The plugin is not installed
The plugin is not updated

New config
{
    "glacambre/firenvim",
    lazy = not vim.g.started_by_firenvim,
    module = false,
    build = function()
        vim.fn["firenvim#install"](0)
    end,
}

it can still be useful wen using firenvim

Hi @folke,
Welcome back!
Out of curiosity: How can it be useful to firenvim, specifically? I thought hard about that, and can't figure it out.

@folke,
You're right.
I even use the cond keyword myself in firenvim's spec...
Moreover, I answered a question in LazyVim's discussion forum, using that spec, conditionally disabling noice and lualine.
My apologies for missing that obvious part!

haha, no worries :)


Remove disabled breakpoints

Searched for words in title, nothing found.

On right click there are "Remove breakpoint" and "Remove All Breakpoints", I suggest : "Remove (only) disabled breakpoints"
Thanks

We will not add this to the core. Closing this as an extension candidate, since an extension could use the vscode api to get all breakpoints check which are disabled and then use the removeBreakpoints api to only remove the disabled ones

Ok, I'll try to add this to my todo list. Thank you


namespaces and environments

I adjusted the structure regarding where the storybook stories are placed. This is a good solution in my opinion. As always I'm open to feedback.

the structure regarding where the storybook stories are placed

I don't love it. But when I experimented with having a top level story dir the storybook build would not compile. So for right now we'll keep this

Since there's a small backup of PRs, I'm going to go ahead and merge this PR myself


Analyzer performance

https://github.com/scikit-learn/scikit-learn takes 2 hours to analyze

Depends on #425

All associated items are closed.


Make it work on JupyterLab 4, fix dependencies and misc

After fiddling with this around, I have managed to make the extension work on Jupyter Lab 4

[x] JupyterLab 4 upgrade
[x] Fix CI
[x] Upgrade dependencies

I'll create follow up PRs to add a test and end-to-end working.

I have the CI working on my fork here: https://github.com/aktech/papyri-lab/actions/runs/5495125761

Great thanks !


feat: adds @cron task decorator

What I did
Adds the @cron task decorator so we can execute arbitrary tasks according to a crontab schedule.
How I did it
Adds an event loop to the runner that checks if cron tasks should be executes.  If true, it will kiq the tasks off.
How to verify it
@app.cron("*/5 * * * *")
def every_five_minutes():
    return {"crontime": datetime.utcnow()}

Checklist

[x] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[x] Documentation has been updated
[x] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Upgraded this, but need to figure out why crons aren't triggering

p.s. this website had some good test cases: https://crontab.guru/


[ Feat ]: Add session flash message for new code requests.

Currently, it appears there is no feedback in the UI when a new OTP is requested, ie something like a "New Code Sent" flash message.
One way to enable this would be to set a session flash message once when a the TOTP is re-sent.
Thoughts?

Sounds good to me @andersr.
It'll improve user experience and minimize client-side state management.
Thank you for the feedback!

@dev-xo I can help with this. Should I go ahead and send Pull request for same?

Absolutely, @shyamlohar! Feel free to open a PR on it!

@andersr: The title of your issue seems to focus on new code requests while the body of the issue mentions re-sent codes. New code logic is a bit separated from re-sent code logic. So anything flashy done with re-sent codes would not necessarily appear with new code requests.
Can you walk us through the new code and re-sent code flow that you are trying to achieve and where remix-auth-totp is not helpful. Any details on the /verify loader/action would be very helpful to see.
We are currently discussing PR #40 which may be relevant and feel free to join the discussion.


Fix definition of trait on member

This PR fixes #42.
This fixes returning the correct definition location for a trait applied to a member. It also adds a test for the definition location of a trait at the top level.
Previously, only the non-member shapes were walked to find the target of a specific location within a model. This adds logic to also check the traits applied to members within the shape.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Happy to report that both #43  and #40 address all of the issues I have found with the latest change. When they're merged, we'll cut a release for via our fork, and that should be pulled by the Smithy extension


Terminal hover labels don't go away

Issue Type: Bug
When moving my mouse over the terminal shell, the "follow link" and "open file in editor" frequently (90% of the time) don't disappear on mouseout. If I slowly/carefully mouse in and out then they do but if I just move my cursor over the terminal on my way somewhere else, this distracting hover thing stays there.
Is there a workaround whereby I simply disable this hover? I know how to command-click, I don't need to see it all the time :)
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:30:02.420Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.26GB free)

Process Argv
--crash-reporter-id d86f84f4-11a3-40aa-8322-22bc71e01d57

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.1.14

prettier-vscode
esb
5.8.0

vscode-pull-request-github
Git
0.22.0

markdown-shortcuts
mdi
0.12.0

rainbow-csv
mec
1.8.0

python
ms-
2020.12.424452561

jupyter
ms-
2020.12.414227025

sublime-keybindings
ms-
4.0.7

sass-indented
rob
1.5.1

markdown-all-in-one
yzh
3.4.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python763:30178808
python383cf:30185419
vspyt653:30237719
vspor879:30202332
vspor708:30202333
vspor363:30204092
python504:30227505
vswsl492cf:30211402
wsl2prompt:30224612
pythonvsdeb440cf:30237828
unusedprompt:30224610
folderexplorercf:30224615
openfilemenucf:30224648
pythonvsded773:30236629
vsjup459:30237187

FWIW the hover actually displays dynamic information depending on the type of link, for example:

I'm open to creating a setting to disabling the hover outright though.
I'd also like to get to the bottom of the problem you're seeing of the hover not going away, can you record a gif using https://gifcap.dev/ of the problem case(s) you see? Also knowing if there are errors in the devtools console would be helpful (Help > Toggle Developer Tools).

FWIW the hover actually displays dynamic information depending on the type of link, for example:

I'm open to creating a setting to disabling the hover outright though.
I'd also like to get to the bottom of the problem you're seeing of the hover not going away, can you record a gif using https://gifcap.dev/ of the problem case(s) you see? Also knowing if there are errors in the devtools console would be helpful (Help > Toggle Developer Tools).

So poking at it a bit more, it seems to mostly happen when I'm moving my cursor over a list of files, and "90% of the time" seems to be an exaggeration due to the annoyance factor of this one frequent issue in an otherwise-amazing and critical tool for me (so thank you to all the devs and apologies for the hyperbole ;)
Here's a GIF:

So poking at it a bit more, it seems to mostly happen when I'm moving my cursor over a list of files, and "90% of the time" seems to be an exaggeration due to the annoyance factor of this one frequent issue in an otherwise-amazing and critical tool for me (so thank you to all the devs and apologies for the hyperbole ;)
Here's a GIF:

Ah, the way to get it to happen more often, which is quite common for me, is when the list of many files goes to the top of the terminal, and the final destination of the cursor is the main editor window (see gif). Note also that when the hover label is stuck, scrolling up and down causes the little blue outline to stay as well.

Ah, the way to get it to happen more often, which is quite common for me, is when the list of many files goes to the top of the terminal, and the final destination of the cursor is the main editor window (see gif). Note also that when the hover label is stuck, scrolling up and down causes the little blue outline to stay as well.

Ahh I think I found the problem! I had "terminal.external.osxExec": "iTerm2.app" in my settings. I can't remember why just now... what does that setting do, materially? :)


Add access key when user clicks "authorize"

Tested on localhost: key is added and page is redirected to success url


psgan model doesn't convert to onnx model

I use this command to convert onnx model:
paddle2onnx --model_filename /home/Paddle2ONNX/model/psgan_weight.pdparams --sa
ve_file save_model --opset_version 10 --enable_onnx_checker True

please help me, thank you my friens.

please help me, thank you my friends.

How to convert a PaddlePaddle model to ONNX model, follow 3 steps

Get a paddlepaddle inference model, which means the model is exported to deploy, it contains 2 files include model.pdmodel and model.pdiparams(filename is defined by user)

Use command paddle2onnx --model_dir paddle_model_dirname --model_filename model.pdmodel --params_filename model.pdiparams --opset_version 10 --save_file export_model.onnx( 3 parameters should be defined, model_dir, model_filename and params_filename

I almost understand your meaning, but I don't knowledge which is model_filename or params_filename in psgan's directory.

I almost understand your meaning, but I don't knowledge which is model_filename or params_filename in psgan's directory.

This relate to the problem of how to export inference model of psgan， you may need to ask for help from psgan

Thank you very much


CORGI-494: Upgrade syft to 0.72.0

Includes support for new package types that we can add later on as well as tons of performance improvements.

@jasinner Please review.


Update to simpla-richtext 0.4.x

Updated toolbar logic for RichText 0.4.x logic, but now one of the tests are failing and can't figure out why.
@bedeoverend can you review?

Well, apparently it was just my local testing environment... Okay, I'll merge 👍


Serve in SSL?

I have some difficulties in serving the UIPort & TilePort on SSL Port 443. How could I serve it with https for my TileLayers?

Wondering if you ever found a solution to this @kyroskoh ?

@osharifali I have switched to another solution

Which solution did you switch to?

See pull request #157