Fix for CASSANDRA-12024: pick a real token range to signal copy child processes to fail

Here is a tentative fix for  CASSANDRA-12024, don't merge until it has been tested with a repeated batch of tests.

@smccarthy788 Multiplex this please. +1 after nit and CI pass

http://cassci.datastax.com/view/Parameterized/job/parameterized_dtest_multiplexer/140/

+1, merging. I'll change the nit

Thank you for testing and taking care of the nit!


fix(ripple): camel-cased CSS properties

A few CSS classes got camel cased, by accident, as a part of #2244.

LGTM


Added code for polynomial addition in c #3083

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Yes
Description
(Write your answer here.)
Checklist

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

Related Issues or Pull Requests
(Write your answer here.)

Hey @ankitaggarwal23 I have written the code.

Already assigned at issue #2389
Kindly close this PR.
@bhav09

Already assigned at issue #2389
Kindly close this PR.

Thank you @Suvraneel for informing us. Will take necessary action.


Move the CI to use the refactored schematic version

This should speed up conversion to JSON-LD which is currently our bottleneck.

Not sure why this has been sitting as Done in the project board but left open. Moving back into backlog


Problem with background

When I'm trying to do the things like =
id: data.id,                         start: start,                         end: end,                         column: i,                         rendering: 'background',                         color: 'lightgray'
for background, column doesn't work in some cases but in some cases do, please help me, deadline is coming!!!

I'm sorry but I also have deadlines coming and don't have time to look into this.
If you find a solution, I'd be happy to merge any Pull Requests.

Could you give me a path to explore what to do? I don't even realise how to solve that issue...

I'm sorry I have no idea :/

Ok then =(


Drop Spek

Tying off some loose ends to close #4450.
CI on this PR will fail until #4575 is merged and this is rebased, but I'm putting it out in case there's feedback since the style rule migration to JUnit will take time to review because of its size.

To my understanding (or wishful thinking) we decided to stay with the Spec suffix for the initial migration to be able to process the change set. Personally I think we should switch to the Test suffix. This should probably be a separate PR but the documentation changed here should then reflect that.

I think we should switch to the Test suffix

I'm not too bothered personally, it seems the JUnit convention is for Tests (plural) to be the suffix, though that would depend on the number of tests in the class... Also this convention makes sense for inner classes too so perhaps it's not just files and top level classes to rename.
I don't think there's anything wrong with Spec though. If the current suffix was Spek that would be different!

I'd like to merge this and prepare 1.20.0 just after it 👍

LGTM?


Bridge Message Edits

This is how the gitter bridge shows message edits without the ability to edit messages on the matrix side and I thought it was gorgeous. The repo for that bridge is here.
I do not believe you can edit webhook messages, but once/if matrix gets message editing capabilities, we can send a similar message on the discord side, however perhaps with italics rather than colors, as discord is monocolor.

Done thanks to @anoadragon453 !


Checks the permissions

If the user has not the permissions to edit mediafiles, than he cannot edit or delete any files.

fixed it.
columns.push('menu');
to
columns = columns.concat(['menu']);


Fix: Update README links to CI tests and status badge

Description
Fixes the link under the CI badge so it points to the builds history instead of 404. Also fixed badge rendering in many langages
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[ ] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Before

After

Merged!
Thanks for taking care of this @pietrygamat !


Maintenance and related updates/tweaks

React Boilerplate
Maintenance on all our dependencies. Regression tested.

Thanks @jwinn!

Coverage remained the same at 100.0% when pulling e5a6165732bd052f0935977c6781930dee9e2790 on maintenance into 9ab64f2fe7aa2a6642fb0781c39d67976c3d1829 on dev.

Coverage remained the same at 100.0% when pulling e5a6165732bd052f0935977c6781930dee9e2790 on maintenance into 9ab64f2fe7aa2a6642fb0781c39d67976c3d1829 on dev.


Embedded Tooltips - Incorrect data in tooltip

Tags showing in tooltip here

This just needs the text passed through the gw2 text parser in gw2/lib

can you give me a specialisation id for this


Add some guardrails to prevent segfaulting.

I was playing around with some bad inputs and managed to trigger a segfault with this improper struct declaration:
struct foo {
 x: int64
}

This confuses the parser, triggering an "unknown parse error" that contains zero lines of context, which leads to a hard crash when attempting to print the error message.
I don't know enough to actually fix this, so for now I've just added some extra guardrails to the error path.

Also I modified the Debug function to call stringify() on the tag values, but I didn't include my changes to stringify() here because it's a hacky mess.

Also the --debug-parser flag might be of some use to you. It lets you step through the shift/reduce one by one. The UI isn't great, but it can be quite useful.


composer fails

❯ composer require beryllium/silex-cache-provider

  [InvalidArgumentException]
  Could not find package beryllium/silex-cache-provider at any version for your minimum-stability (stable).  I've just tagged a 1.0, so it should work now. There's a chance I might have to update the project's composer.json, but i'm not sure at the moment.

Just tested this locally and the issue seems to be resolved. Thanks for the heads up, and sorry for the initial inconvenience.

Thank you for the quick reply! 👍


Where to find the following tow parameters in mobilenetv2.py?

To evaluate mobilenetv2 in my dataset, I don't know where to find the following tow parameters.
overall_channel_ids = [14, 12, 11, 11, 8, 8, 8, 7, 7, 7, 7, 8, 8, 8, 14, 14, 14, 8]
mid_channel_ids = [6, 5, 2, 15, 7, 17, 14, 5, 11, 12, 12, 11, 6, 16, 14, 13, 14]

After the search step, I got the following files in the search directory:

Waiting for your reply!

You can find it in these two log files. At the end of these file, it will print the top-1 rngs.


Bundle chor-js

To avoid problems when using and make it less complicated to integrate chor-js, we should somehow package/bundle the project.
Babel or Typescript could be used to transpile into a single, compatible source file.

Is there any progress on this issue? An all-in-one pre-packaged version of the library, similar to the pre-packaged version offered by bpmn-js (https://bpmn.io/toolkit/bpmn-js/walkthrough/) would be very handy.

@jmosen We have recently updated our demo application https://github.com/bptlab/chor-js-demo/commit/9c3a902c6855c518c53c69426ba3059fcc00fd01 to use a new build system (Parcel), which apparently could also be used to build pre-packaged versions of chor-js.
@yT0n1 is currently looking into that, but it's hard to give a timeline.

@jmosen We now provide a pre-packaged version!
There is a full example here: https://github.com/bptlab/chor-js/blob/master/docs/prepackaged.html
Let us know if that works for you. :-)

Wow, thank you very much. I was able to integrate ChorJS into my application. Thanks for the quick response!


[4pt]  - Create feature: add new reservation - Student C

Implement the "add new reservation" form on the Reservations pop up according to the wireframe:

When the user clicks on the "Reserve" button, the data is recorded in the Involvement API and the screen is updated

Since we are working as a group of two people, this task would not be required as necessary.


Minimum Width

Option to change Minimum Width in the app just to make it a bit easier to navigate to the option.

What do you mean?


💡 [REQUEST] - Tidy up CSS and UI Inconsistencies

Start Date
No response
Implementation PR
No response
Reference Issues
No response
Summary

[ ] Some styling is still found in the FXML file. Would be good to have them all centralised in a single CSS file.
[ ] Check and fix UI inconsistencies across screens
[ ] Change food item border
[ ] Restrict window resizing to only vertical

Basic Example
Move FXML styling in #111 to CSS file
https://github.com/SE310-Team1/ShoppIt/pull/118#discussion_r997585145
Drawbacks
No response
Unresolved questions
No response

Good to do at the end to improve the quality and user experience! Approved.


fix column pruning should prune map in cte consumer

we save bimap in cte consumer to get the maping between producer and consumer.
the consumer's output is decided by the map in it.
so, cte consumer should be output prunable, and should remove useless entry from map when do column pruning

run buildall

run buildall

run buildall

run buildall

run cloud_p1

run cloud_p1

run cloud_p1


Ensure only persons not registered for any event can be deleted, that deleting an event "deregisters" all persons previously in it, and implement undo/redo for add/delete person/event

Travis is failing due to trying to access http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-linux-x64.tar.gz to download java 8, called during apt-get install. All tests passed locally, please review and merge.


[Dispatching]Cannot add 2 different API resources with same end URL Template - 404 Error

Description:
Cannot use 2 different API resources with same last URL template values. When invoking the 2nd API resource, will receive 404 response code.
Steps to reproduce:
You can reproduce the issue by using the below code segment.

Resource 1: /path/{id}
Resource 2: /path/{noteasdf}/aa/{id}

import ballerina/http;
http:ListenerConfiguration helloWorldEPConfig = {
    secureSocket: {
        keyStore: {
            path: "/Users/viraj/Documents/APIM-2/resolve_merge/viraj_4/product-microgateway/distribution/target/wso2am-micro-gw-macos-3.2.2-SNAPSHOT/runtime/bre/security/ballerinaKeystore.p12",
            password: "ballerina"
        }
    }
};
service hello on new http:Listener(8181, helloWorldEPConfig) {
    @http:ResourceConfig {
        methods: ["GET"],
        path: "/path/{id}"
    }
    resource function sayHello2(http:Caller caller,
        http:Request req) returns error? {
        check caller->respond("Hello, World - 2!");
    }
    @http:ResourceConfig {
        methods: ["GET"],
        path: "/path/{noteasdf}/aa/{id}"
    }
    resource function sayHello3(http:Caller caller,
        http:Request req) returns error? {
        check caller->respond("Hello, World! 3");
    }
}

Suggested solution might help to understand the behaviour when fixing the issue. Hence.
These are the three main resources of the API which are subjected to the fore-mentioned issue.

notebook/{id}
notebook/{notebookId}/entry/{id}
/notebook/{notebookId}/entry/{notebookEntryId}/content/{id}

Here, the id parameter has three separate meanings across the three resources. What we have to suggest is to make it consistent such that the same parameter does not have various meanings. And that is the best practice to follow when writing an API (even though it is not governed by the openapi spec). This approach can be used until this issue is fixed. In that case, the resources would look like this.

notebook/{notebookId}
notebook/{notebookId}/entry/{notebookEntryId}
/notebook/{notebookId}/entry/{notebookEntryId}/content/{id}

Duplicate of https://github.com/ballerina-platform/ballerina-standard-library/issues/342


Fix ui_write in apps/apps.c

It used the default UI reader as fallback instead of the UI writer.
Fixes #4147
Fixes #4195

Merged. 72460149dbb6c13b073c2ac8b70df816ef362679


Upload users problem

Hello,
I can not upload more then 36 users.
The service comes with no error and when I look into the list of users there is only the 2 example users in there.
What can be the problem?
How can I fix this?
Kind regards,
Bart Engelen

Any updates on this?

esphome cant compile this project. How i make? @BartEngelen


Improve spinner on full text search

The placement of the spinner on the full text search could get some love

Idee: Loading skeleton for better expectation management.
Right now: Loading spinner is badly placed

Qucik fix: Better CSS padding and centering
Long Fix: Loading Skeleton Component

PR can be found here: https://github.com/berlin/haushaltsdaten/pull/96


Kofwana's-branch

Completed the logistic regression part (Logistic Regression Model Training, Model Evaluation, Prediction) and defined reusable modules for data prep

This looks really good. 95% accuracy is insane! I have a couple comments, maybe we can discuss them in class

[ ] It looks like you did your work in Logistic_reg.py and not algos/Logisitic_reg.py. I would like to delete algos/Logistic_reg.py and then move your work from Logistic_reg.py to algos/Logistic_reg.py
[ ] Once your work has been moved into the algos/ folder, I would like to call your functionality from main.py. Specifically, I was thinking in the main.py we would have three functions log_reg(), bayes(), svm(), which is the main function for each of the algorithms, and our main function runs all three of these.
[ ] Remove the NLTK import as it is not needed for the functionality of your algo
[ ] More print statements as the algo is running. I see it show a few examples of the data and then it just goes quite for a while during training. I would love to see a progress bar or some reporting while it is training so we know how far along it is.

These are small nitpicky things. The work itself is excellent and I am pleasantly surprised at the accuracy of the model with JUST logistic regression.
@afq5024 could you please also review


Speed Up bpfman-agent and bpfman-operator Build

Summary
This PR introduces changes aimed at speeding up the Go builds for bpfman-agent and bpfman-operator by leveraging Podman to mount the host's GOCACHE directory into the container. This enhancement allows subsequent container builds to reuse existing Go build artefacts, significantly reducing build times. Additionally, various improvements and cleanups have been made to streamline the build process. Note: CI uses Docker, which does not support volume mounts during a build, so this specific enhancement will not affect CI builds.
Key Changes

GOCACHE Directory Mounting:

If using Podman (make OCI_BIN=podman), the host's GOCACHE directory is mounted into the container. This enables the reuse of existing Go build artefacts from previous make build runs, speeding up subsequent builds.
Implemented via conditional volume mounts in the Makefile.

Makefile Improvements:

Added logic to conditionally mount GOCACHE volumes when using Podman.

Simplified Container Build Files:

Consolidated file copy rules into a single rule that copies everything except what's excluded by the .dockerignore file.
Introduced a .dockerignore file to exclude the bin directory, preventing unnecessary copying of ~360MB of binaries.

Optimized Go Build:

Removed the -a flag from go build to avoid unnecessary rebuilding of all packages. In CI, we would always rebuild because it's an ephemeral container that has no existing build artefacts. For local development, there's little point in forcefully rebuilding everything.

Security Improvements:

Removed the --no-check-certificate option when fetching the crictl tarball from GitHub. This ensures that if GitHub fails a certificate check, the binary isn't downloaded.
Added ca-certificates package to the build container to keep certificates up to date.

Build Time Improvement

Command
User Time (s)
System Time (s)
CPU (%)
Total Time (m:s)

make build-images OCI_BIN=podman (before changes)
335.52
61.30
563%
1:10.45

make build-images OCI_BIN=podman (after changes)
18.63
10.59
190%
0:15.31

Test/job: bpfman-agent-on-pull-request: is failing due to rate limits:
Error: creating build container: initializing source docker://golang:1.22: reading manifest 1.22 in docker.io/library/golang:
toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

I haven't tried debugging yet, but I'm getting the following error with your pr.  I seem to be missing some packages.
--> 548cf06e9df6
[1/2] STEP 9/9: RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -mod vendor -o bpfman-agent ./cmd/bpfman-agent/main.go
cmd/bpfman-agent/main.go:20:2: package context is not in std (/usr/local/go/src/context)
cmd/bpfman-agent/main.go:21:2: package crypto/tls is not in std (/usr/local/go/src/crypto/tls)
cmd/bpfman-agent/main.go:22:2: package flag is not in std (/usr/local/go/src/flag)
cmd/bpfman-agent/main.go:23:2: package fmt is not in std (/usr/local/go/src/fmt)
cmd/bpfman-agent/main.go:26:2: open /root/.cache/go-build/d0/d0171bee7b50d69c53ffb406e9fcd1e99a28177b902afda565563f219133d5c4-d: permission denied
cmd/bpfman-agent/main.go:27:2: open /root/.cache/go-build/26/265e9b176b0699e13a3ab27561fd5e3f731481624f7d3e024a69b835f1cf5bb9-d: permission denied
cmd/bpfman-agent/main.go:29:2: open /root/.cache/go-build/f3/f3e0b438151c3f13c3d7bdfe2f688ca06fa5898c7adf1108901b479b17b84799-d: permission denied
cmd/bpfman-agent/main.go:30:2: cannot find module providing package github.com/bpfman/bpfman/clients/gobpfman/v1: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:32:2: cannot find module providing package go.uber.org/zap/zapcore: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:33:2: cannot find module providing package google.golang.org/grpc/credentials/insecure: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:34:2: cannot find module providing package k8s.io/api/core/v1: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:35:2: cannot find module providing package k8s.io/apimachinery/pkg/runtime: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:36:2: cannot find module providing package k8s.io/apimachinery/pkg/util/runtime: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:37:2: cannot find module providing package k8s.io/client-go/kubernetes/scheme: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:38:2: cannot find module providing package k8s.io/client-go/plugin/pkg/client/auth: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:24:2: package os is not in std (/usr/local/go/src/os)
cmd/bpfman-agent/main.go:39:2: cannot find module providing package sigs.k8s.io/controller-runtime: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:40:2: cannot find module providing package sigs.k8s.io/controller-runtime/pkg/client: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:41:2: cannot find module providing package sigs.k8s.io/controller-runtime/pkg/healthz: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:42:2: cannot find module providing package sigs.k8s.io/controller-runtime/pkg/log/zap: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:43:2: cannot find module providing package sigs.k8s.io/controller-runtime/pkg/metrics/server: import lookup disabled by -mod=vendor
cmd/bpfman-agent/main.go:44:2: cannot find module providing package sigs.k8s.io/controller-runtime/pkg/webhook: import lookup disabled by -mod=vendor
package command-line-arguments: cannot find package
Error: building at STEP "RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -mod vendor -o bpfman-agent ./cmd/bpfman-agent/main.go": while running runtime: exit status 1
make: *** [Makefile:335: build-images] Error 1

I haven't tried debugging yet, but I'm getting the following error with your pr. I seem to be missing some packages.

FYI, here's the log from when I checked out this pr to the error: https://gist.github.com/anfredette/1e1548c79d451179128e20cb23e58afb

@anfredette could you try again based on my last push https://github.com/bpfman/bpfman-operator/pull/95/commits/b59aa6cdb912e242ef8e9639dfa931340b4dd425.

@anfredette could you try again based on my last push b59aa6c.

Here's what I get:
https://gist.github.com/anfredette/68afb1ecb9262b645a32495e53018568

@anfredette could you try again based on my last push b59aa6c.

Here's what I get: https://gist.github.com/anfredette/68afb1ecb9262b645a32495e53018568

I see permission denied errors writing to your Go cache (on the host as the PR mounts your host directory).

If anything is not owned by your user/uid then perhaps in the past you've run sudo podman ... (Just guessing here.)

@anfredette could you try again based on my last push b59aa6c.

Here's what I get: https://gist.github.com/anfredette/68afb1ecb9262b645a32495e53018568

I see permission denied errors writing to your Go cache (on the host as the PR mounts your host directory).

If anything is not owned by your user/uid then perhaps in the past you've run sudo podman ... (Just guessing here.)

If you want the brute force approach you could:
rm -rf $(go env GOCACHE)

and try building again.

It looks like I own everything there.  However, I'll do the rm and give it another try with your latest.

rm -rf $(go env GOCACHE) didn't complain, so I think that means I owned everything.

It's still failing.  Why don't we try to get together tomorrow morning to debug it?

It's still failing. Why don't we try to get together tomorrow morning to debug it?

Last gasp (until tomorrow): My Fedora machine has SELinux disabled. I wonder if there's any connection.

That was it. I disabled SE Linux and it worked.

The changes in commit dfda635128ee571a31fa9a5a4bac709d3501481d should allow you to re-enable SELinux and for the build to work.

It works now.  Thanks!

LTGM

Typo? Anything else that needs doing here?

LTGM

Typo? Anything else that needs doing here?

What do you mean?  It looks to me good :-)
Since @Billy99 was added as a reviewer, the auto-merge rules say he has to at least comment on it.  However, I'll go ahead and merge it, and he can comment later if he sees anything.


'config.example.js': No such file or directory

After cloning the Ghost from github, I found 'config.example.js' missing.
Actually it was there just few minutes ago when I tried to install Ghost the first time.
Technical details:

Ghost Version: The lastest
Node Version: v6.13.1
Browser/OS: Ubuntu 16.04

Hey @IcyW 👋  config.example.js has not existed since Ghost 1.0. If you need help with an installation please first read the docs and if you're still having issues please swing by our Slack channel which is where you can get community support - we use GitHub solely for bug tracking and on-going feature work, any install/help/support requests will be closed.

@kevinansfield Thank you for your responding!


Running atomic-server as a service (auto-restart, start on boot) using systemd

Since I wanted to start atomic-server whenever it crashes because of my memory issue #270, I created a systemd setup. Might be useful to others.
Also, I'm considering to add similar functionality to the server itself. Maybe add a setup-service or daemon subcommand that installs something like this.
How to make atomic-server a service
Create a service:
vim /etc/sytemd/system/atomic.service
Paste this:
[Unit]
Description=Atomic-Server
#After=network.targetdd
StartLimitIntervalSec=0[Service]

[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/root/atomic-server
WorkingDirectory=/root/
EnvironmentFil=/root/.env

[Install]
WantedBy=multi-user.target

# start service
systemctl run atomic
# check status
systemctl status atomic
# restart
systemctl restart atomic
# logs
journalctl -u atomic.service
# logs, since one hour, follow
journalctl -u atomic.service --since "1 hour ago" -f

Nice. But wrong place to put it: Only the project author will generally read tickets in an issue tracker, whereas others (developers of related projects and users) will generally only write to the issue tracker.
Simplest way to (more likely, but not ensured) reach sysadmins is to mention this info in README.md.
More elegantly, however, is to include a file examples/atomic-server.service with the content and mention more briefly its existence in README.md.
Maybe there is more formal support in Rust crates to declare example files, or maybe even system config files, but lacking that, I recommend using directory examples as described above.

Your systemd service unit file contains several typos, and is tailored for a service executed as root which is generally frowned upon.
I suggest taking inspiration from my file at https://salsa.debian.org/debian/atomic-data-rust/-/blob/debian/latest/debian/atomic-server.service if you decide to include a systemd service unit file as an example file with the project.

@jonassmedegaard agreed that an example in the repo is the way to go, as soon as one is good enough. I can't access the link you provided, can you directly post the .service here or open a PR?

I can't access the link you provided

That's odd! That repo should certainly be public readable, and I just tested logging out from that Gitlab instance and could still read it.
What error message do you get, or in what other way does it fail for you?

can you directly post the .service here, or (even better) open a PR?

I won't push PRs to Github due to their problematic terms of service automatically granting them certain licensing implicitly by simply using their service.
So I would much prefer that you can access the Debian repo, as I might very well update data there.


node: The exit command will throw exception

Summary
It will throw a akka exception, when enter the exit command in neo-cli.
This error occurs in NeoSystem.Dispose.
public void Dispose()
        {
            RpcServer?.Dispose();
            EnsureStoped(LocalNode);
            // Dispose will call ActorSystem.Terminate()
            ActorSystem.Dispose(); // <----- here
            ActorSystem.WhenTerminated.Wait();
        }

After investigation, the problem may be in the release of LocalNode's network resources, but I still don't know how to fix it.
Screenshots

Platform:

OS: Centos 7.0
Version neo-cli 3.0.0 preview

@Tommo-L, I was checking this yesterday as well.
There are other 2-3 actors, do you think that they may also need EnsureStoped();?

Is solved?

Hi @Tommo-L, #327 only fixes the "control-c" issue, I prefer to have this issue open to deal with the exception messages, ok? Thanks

Old, if remains, please re-open


Woox R7060 Smart Garden Irrigation Control / Woox _TZ3210_eymunffl TS0101

Hi,
I saw you commented on forum it's on your todo list however I don't see it here on Github, so I hope you don't mind ;-)
https://community.athom.com/t/app-tuya-zigbee-app/26439/1128
https://zigbee.blakadder.com/Woox_R7060.html
Product page: https://wooxhome.com/products-c10/other-c4/woox-r7060-smart-garden-irrigation-control-p61
Thank you.
"ids": {
    "modelId": "TS0101",
    "manufacturerName": "_TZ3210_eymunffl"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 81,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          0,
          4,
          5,
          6,
          61184,
          1
        ],
        "outputClusters": [
          25,
          10
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource"
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 65502
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65534,
                "name": "attributeReportingStatus"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65504
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65505
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65506
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65507
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "groups": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "nameSupport",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0
                  ]
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "scenes": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "onOff": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "onOff",
                "value": true
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 16385,
                "name": "onTime",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 16386,
                "name": "offWaitTime",
                "value": 0
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "powerConfiguration": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 32,
                "name": "batteryVoltage",
                "value": 9
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 33,
                "name": "batteryPercentageRemaining",
                "value": 198
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        },
        "bindings": {
          "ota": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "time": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        }
      }
    }
  }

Added to next release.

Hi Johan,
thank you, working great for on/off ;-) , just one question - I guess this device can't provide battery level, right ?
Based on :
                "name": "batteryVoltage",                 "value": 9               },               {                 "acl": [                   "readable",                   "reportable"                 ],                 "id": 33,                 "name": "batteryPercentageRemaining",                 "value": 198
And today it shows....
     `      "id": 32,
            "name": "batteryVoltage",
            "value": 9
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 33,
            "name": "batteryPercentageRemaining",
            "value": 170`


Consider event-specific handlers for activityOf

Inspired by @alphalambda's discussion of handling state at NY Haskell.
We could add these to CodeWorld:
onKeyPress        :: (Text, state -> state)     -> ((state, Event) -> state)
onAnyKeyPress     :: ((state, Text) -> state)   -> ((state, Event) -> state)
onKeyRelease      :: (Text, state -> state)     -> ((state, Event) -> state)
onAnyKeyRelease   :: ((state, Text) -> state)   -> ((state, Event) -> state)
onPointerPress    :: ((state, Point) -> state)  -> ((state, Event) -> state)
onPointerRelease  :: ((state, Point) -> state)  -> ((state, Event) -> state)
onPointerMovement :: ((state, Point) -> state)  -> ((state, Event) -> state)
onTimePassing     :: ((state, Number) -> state) -> ((state, Event) -> state)
onTextEntry       :: ((state, Text) -> state)   -> ((state, Event) -> state)
onAll             :: [(state, Event) -> state]  -> ((state, Event) -> state)

Implementation is trivial.  Sample usage like this:
program = activityOf(initial, change, picture)

change = onAll([
    onKeyPress("Enter", fire),
    onKeyPress("W", moveUp),
    onKeyPress("A", moveLeft),
    onKeyPress("S", moveDown),
    onKeyPress("D", moveRight),
    onTimePassing(time)
    ])

Advantages:

Encourages students to break down event handling with functions.
Autocomplete with on prefix is powerful

Disadvantages:

This is a kind of magic that applies to one specific function.  Doesn't apply to functions in general.

I initially thought about something like, where the first parameter is the constructor:
on :: (a -> Event, (state, a) -> state) -> ((state, Event) -> state)
onExact :: (Event, state -> state) -> ((state, Event) -> state)

However, on isn't cleanly implementable.  I suppose one could do something like:
on(constructor, f)(state, ev) = case (constructor undefined, ev) of
    (PointerPress _, PointerPress pt) -> f(state, pt)
    (PointerRelease _, PointerRelease pt) -> f(state, pt)
    ...

but that feels very hacky.  The function will accept a bunch of non-constructor-like functions that look at their argument, and will crash at runtime.  Maybe that's okay?

Before implementing this, I'd like to get a better feeling for if and why this would be better than the current system.  Is it really worth this much just to prevent users from having to write a default case?

So the second version of the proposal would be:
on      :: (a -> Event, (state, a) -> state) -> ((state, Event) -> state)
onExact :: (Event, state -> state)           -> ((state, Event) -> state)
onAll   :: [(state, Event) -> state]         -> ((state, Event) -> state)

And the example:
program = activityOf(initial, change, picture)

change = onAll([
    on(MousePress, click),
    on(TimePassing, time),
    onExact(KeyPress("Enter"), fire),
    onExact(KeyPress("W"), moveUp),
    onExact(KeyPress("A"), moveLeft),
    onExact(KeyPress("S"), moveDown),
    onExact(KeyPress("D"), moveRight)
    ])

Smaller API, but slightly longer lines, especially for onExact lines.


feat:Bump the version of prettier and related prettier libraries to support typescript 4.3 new syntax

The current prettier it depends on its the prettier 2.0.2
The latest version of the prettier 2.3.1 has solved the problem and support typescript 4.3
https://github.com/prettier/prettier/issues/10642
It would be good to have it support in the pretty-quick package instead of having it installed the prettier package again.
It will unblock the user who are trying to use pretty-quick with typescript 4.3

@azz will it be good if we update the prettier version to the latest to support more features ?

The current prettier it depends on its the prettier 2.0.2

That's only for developing pretty-quick itself - this will have no effect on users of pretty-quick.
The current peer dependency is set to >= 2.0.0 which already allows to use the latest prettier version.

i do installed the prettier latest version to support that. Found it more easy for the ts 4.3 user to use the pretty quick with this update. But it might not be necessary since not everyone is switching to 4.3

This bumps the minimum version of prettier required to use this package. Not really understanding why we'd want to do that?

This bumps the minimum version of prettier required to use this package. Not really understanding why we'd want to do that?

make sense it bump the min requirement. its not really what we want to do. Closing it


Make client cards more responsive

This Makes the client cards more responsive by fully expanding them on mobile and removing the text from the buttons. I also added tooltips to the buttons so on smaller screens there is still more information about what the button does even though the text is gone.
Partly fixes #14.

Wow thank you so much! Appreciate it

@jrester thanks a lot - this really improves the interface (I opened https://github.com/vx3r/wg-gen-web/issues/14 which if fixed by this PR)


Prevent Discord from caching stream previews

Added a random number version string to the end of the preview URL to prevent Discord from caching the preview which was causing every stream to use the same preview image. *could also be done with something like a timestamp but I thought this would come out cleaner.

Ah, thanks. I will look into that.


chore: create workflow to build and deploy website

Create new workflow .github/workflows/build_website.yml which builds and deploys the website

Closed because pull request was made to wrong branch


[BUG]: inconsistancy between currentTime and playableDuration in onProgress callback

Version
6.1.2
What platforms are you having the problem on?
iOS, Android
Architecture
Old architecture
What happened?
I have differencies between currentTime and playableDuration params from onProgress.
When video plays and stops at the end I expect that currentTime will be equal to playableDuration. But actual result is currentTime less than playableDuration for couple of milliseconds (dependent on video duration).
I also compare currentTime at the end of video with the video duration value returned from onLoad callback; the issue is the same.
It's become more critical for small videos less than 10 sec.
Reproduction
repository link
Reproduction
Step to reproduce this bug are:
I provide simple code that shows what I do and under comments you can see what I receive in callbacks.
So, when video finishes playing I expect that currentTime === playableDuration
  const handleVideoProgress = useCallback(
    ({ currentTime, playableDuration, seekableDuration }: OnProgressData) => {
      console.log(currentTime, playableDuration); //<PHONE_NUMBER>382812<PHONE_NUMBER>33
    },
    [],
  );
  const handleLoad = useCallback(({ duration }: OnLoadData) => {
      console.log(duration); //<PHONE_NUMBER>33
  }, []);

        <Video
          source={{ uri: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4' }}
          ref={videoRef}
          style={styles.video}
          resizeMode={ResizeMode.CONTAIN}
          controls={false}
          onProgress={handleVideoProgress}
          onLoad={handleLoad}
        />

You can use Math.floor to avoid conflict.

I disagree @Ibad9 Math.floor will just "corrupt data and behavior".
We can add a last onProgress call at the end of playback, It is not an issue.
But why doin't you use onEnd callback to catch playback end ?

I created a pull request to fullfil your requierment as I think it make sense, but you need to use onEnd anyway !
Please let me know if it works for you please !

Hey @freeboub ! Thanks for quick reply.
In my case, I implemented custom controls, especially video progress bar, and using onProgress prop to retrieve current position. And every time video finishes, progress bar does not end because of this difference (especially on short videos). Maybe you could suggest a better way to do this?
Currently, I fixed it as you suggested with onEnd - just moving progress bar to end manually once onEnd is triggered.

@yahacom Yes, that's clear, I think you can just test the PR I opened, it should fix the issue, I just force sending onProgress before the onEnd.

@freeboub I checked your PR with fix. It works fine.
Thanks.

fix will be available in 6.2


warning produced by gcc

The following warning is produced from the header with gcc 7:
TextEditor.h:125:30: warning: 'TextEditor::Glyph::mColorIndex' is too small to hold all values of 'enum class TextEditor::PaletteIndex'
   PaletteIndex mColorIndex : 7;

on the default warning level - and it cannot be easily silenced (without disabling all warnings with -w)

Hm... GCC probably checks against the underlying type, not the actual values.... I removed the type specifier from the enum class declaration. Can you please check whether the warning is gone now?


update dashboard

Hey, should we close this PR as won't merge, or do you plan on pushing enhancements once you find some time?


Allow empty ListTag for conversion and adding elements to empty lists

Currently, empty ListTags are not useful for modification as you cannot add elements to the empty list (because the tag type will differ).
This proposes the following:

Allow empty lists to inherit the first element added (this is what Minecraft does)
Allow empty lists when converting between NBT -> Maps (makes it more useful when dealing with proper NBT data)

I'm welcome to any feedback etc :)

Merged and made some additional changes here: https://github.com/Steveice10/OpenNBT/commit/88bc7e581d6e24cbb1b5fddb142db5504af00f54


Linux issue

Hey, theme has a weird artefact on Linux on the bottom right corner:
here is a capture:

@fwhcat Super strange! Thanks for reporting.

Does it disappear if the window size changes or you switch tabs/views?
Do you have any plugins enabled that might be causing it?

Sorry for the delay @dizzyup.

it doesn't disappear while dragging/resizing, however it disappears when I'm in the settings page.
I only had minimap plugin, I tried without it, same issue.

@fwhcat No problem! That's useful info, means it's something specific to the editor views at least.
Would you mind sharing the contents of your config.cson file? Not exactly sure where the menu item lives on Linux but it should be named Config... or similar. There shouldn't be any secrets in there but please double check!

Here is the content of the file:
"*":
  core:
    disabledPackages: [
      "spell-check"
      "metrics"
    ]
    telemetryConsent: "no"
    themes: [
      "hypest-dark"
      "hypest-dark-syntax"
    ]
  "exception-reporting":
    userId: "some guid here"
  "hypest-dark":
    tabCloseButton: "Right"
    vibrancy: true
  minimap:
    absoluteMode: true
    adjustAbsoluteModeHeight: true
  welcome:
    showOnStartup: false

I tried with or without vibrancy option, doesn't change.

I haven't been able to track this down, @fwhcat - I'm not on Linux here which unfortunately makes it almost impossible to properly debug - I haven't been able to replicate anything like this locally here on macOS.
The only thing I can suggest is to open the developer console in Atom (https://flight-manual.atom.io/hacking-atom/sections/debugging/#check-for-errors-in-the-developer-tools), and try and find whatever that element is in the dom. If you were able to work out what the element was and what the classes/styles were applied to it I might be able to work out what's causing it.
Sorry I can't be more help!

Hi,
I found out with the developer console. The artefact I was seeing is :

@fwhcat I think I might have this addressed in v0.8.0 which I've just published. That update adds styling for scollbars - I don't have a way to check it on Linux but it works well here on macOS.
The styling isn't enabled by default (to prevent it interfering with native styles on macOS) but if you enable the new setting for Theme scrollbars you should see the new styles, and I'm hoping they fix the issue you've been seeing.

You may want to close any active windows and reopen them if they don't take effect at first.

@dizzyup Nice work it indeed fixes the issue !


feat: bookMark #1597

bookmark #1597

hii @JasonDsouza212  i have added pls check and merge my pr.

Thanks @JasonDsouza212


Calling Signalr Rest Api endpoint form postman

I am calling https://[myaccount].service.signalr.net/api/v1/hubs/[myhub] endpoint from postman, the request and response seems to be fine because it's getting 202 Accepted http status code. The problem is that any client connectred to the hub in Azure SignalR Service do not  receive the message.
this is the data about my request
url POST https://[myaccount].service.signalr.net/api/v1/hubs/[myhub]
headers
Authorization Bearer [token]
Content-Type :  application/json
body
{
"Target": "broadcastMessage",
"Arguments": [
"server",
"hello from server"
]
}
Response
Status Code : 202 accepted
Date →Thu, 28 Mar 2019 14:00:53 GMT
Content-Length →0
Connection →keep-alive
Strict-Transport-Security →max-age=15724800; includeSubDomains

Is the client method named "broadcastMessage", and receives 2 strings?

By the way, Management SDK just released for Azure SignalR Service. It can be used in serverless environment. You can use this SDK to manage your SignalR clients connected to your Azure SignalR Service directly such as broadcast messages. samples can be found here.

@realwanpengli I am going to check all your suggestions. below my client side code

@ernestotw85  Since you get 202, your messages should be sent successfully. You can use this chatroom sample to verify that messages sent successfully so that clients can receive messages.
You should double check your client side code.
p.s. Hub name is "chat" in chatroom sample.

I am using Chatroom sample. I opened two clients and the communication between these clients works fine . I can see the messages in both sides. then I created a POST request to send a message to both client using REST API endpoint from Azure SignalR service using Postman. If I go to one of the clients and inspect the objects this is the results

But I can't see the message that I am sending from Postman trough the SignalR REST API.

Azure SignalR REST API only support ASP.NET CORE SignalR applications.
You are using the asp.net chat room sample.
You can use this asp.net core chat room sample instead.

Thank you @realwanpengli


Custom webhooks

Hello 👋
Any chance we could add custom webhooks and option to filter based on different events such as client joined/active, client inactive for 5 minutes?
Would be useful for various use cases such as presence detection, time logging etc.

@lazmo88 what type of webhook are you looking for? Would this just be a JSON payload of when a client joins and details about that client?
The other items seem out of scope for this app as it would require significant rework to have events pushed out. If you wanted to look into building something like this, I'm happy to help out! Check out the https://github.com/Art-of-WiFi/UniFi-API-client library.


Add link to this repo from the rabbitmq.com webpage

We should link to this repo from the footer, and possibly add direct links from each page to their source here.

Footer or header on every page is what I had in mind.

I've added the link to a few relevant places, including site footer. We'll have to look into adding page-specific links later, so no closing this just yet.

We have a contribution-encouraging footer on every page and other links to this site, given the rate of contributions (in particular smaller corrections), this seems sufficient.


[Java] Update Unit Tests for Algorithm Module

Describe the enhancement requested
This is a sub-issue of the issue below.

#41680

The unit tests should use the org.junit.jupiter.api package. This issue deals with the algorithm module.
Component(s)
Java

@vibhatha I’ll handle this issue the same way as PR #42019.

Great. Looking forward to it.

Issue resolved by pull request 42029
https://github.com/apache/arrow/pull/42029


README diagram has gone full camo in dark theme :(

Love the diagram on the README, but it seems like it has a transparent background which doesn't work well with the dark theme

I just faced this issue myself the other day and I tired to add a style tag to the image, but apparently github strips off any style tags when rendering the image
https://github.com/orgs/community/discussions/41899
So instead, I added a style tag in my svg since they support style tags. Something like <svg style='background-color:white' ..... >
I have a fix for it that introduces the above, so do leme know if its ok for me to send in a PR (or if you would like a different fix)
https://github.com/soonann/edge-runtime/tree/fix-edge-diagram

@soonann Good catch and a smart solution! Can you open a PR please?


Don't convert '<' or '>'

I have php tags in my svg, for dynamic colouring reasons, and svgo destroys my php tags by converting the < and > to < and >
I've looked to see if there was a setting to disable this "functionality", but there doesn't seem to be.

Any ideas?

No ideas, sorry.

If you really want to have PHP tags in an SVG file, you will need to run it through some kind of preprocessor before it hits svgo, as your file is invalid.
A better approach would likely be not running SVG as PHP on your server; use XML valid placeholders instead and process in separate PHP script. That would allow you to use vanilla svgo on the command line.

Yeaa it took some reworking but I ended up just swapping out the php with classes and using php on the other end


About Aod_sketch performance

Hi~
I want to use aod_sketch in our company project. But i meet performance issues that use aod_sketch.
I run this query in the PostgreSQL with version postgresql10-10.9-1PGDG.rhel7.x86_64.rpm. And the machine is AWS ec2, Redhat, C5.9Xlarge ( 36 vCPUs, 72G memory).
And the data size is very small.
Data size: Just one 4k sketch data intersection one 4K sketch data. But the SQL runs for almost 10 seconds.
Are there any performance know issues  ? Or other parameters that can improve the performance. Did you meet the same problem?
SQL like this:
with
a as(select sk from test_ds_sketch where id ='3113'),   # just one record
b as ( select sk from  test_ds_sketch where id='2662')  # just one record
,
c as (select 171213 as network_id,aod_sketch_get_estimate(aod_sketch_intersection(a.sk,b.sk))/aod_sketch_get_estimate(a.sk)
as ratio from  a,b),
select * from c

I don't have an answer, but a few suggestions:

Try simplifying the query to identify which part of it leads to this poor performance
Try the same thing with theta sketch. This particular query does not use the payload (array of doubles).
Try a newer version of PostgreSQL (why version 10? the current one is 14)

Thank you for your response.
I will try your suggestions. I'm going to try it. Then send you a response.

Thank you for your response.
I'm going to try it. Then send you a response.

@developerwxl did you have a chance to gather some more information about this?


Installation on third party webhosting servers

How can we use this "Foxpages"  using third party webhosting.
if yes : suggest some sites fulfill requirement for it.
because it is very hard to setup 24x7 dedicated server for it in normal case.

I presume your are talking about your own dedicated server. I agree that might be hard to find a good ISP, setup a server, DNS, Reverse DNS, Routers, Firewalls, Digital Certificates, Email server, Antivirus, SPAM Filters, Blocklists and of couse Backup System...
In this case you can start with a Virtual Private Server (VPS) like this:
https://www.godaddy.com/hosting/windows-vps?isc=hosstbr02
Or a with a Dedicate Server like this:
https://www.godaddy.com/hosting/windows-dedicated-server?isc=hosstbr02
This was only examples, there are many hosting companies on the internet.
Some tips:

Find good reputation hosting company.

Find the datacenter with lowest latency to your customers.

You'll need support to setup your server.

Regards,
Arquimedes Crivelari


Add tests for environment marker precedence logic

This confirms #1757 is fixed. There is one potential discussion here, however.
Currently if your dependencies specify conflicting environment markers, Pipenv will only choose one of them, as demonstrated in the test_specific_package_environment_markers test case. I would instead argue Pipenv should try to aggregate the conditions, i.e. with two markers sys_plarform=='win32' and os_name=='splashwear', the lockfile should contain something like
"markers": "sys_plarform=='win32' or os_name=='splashwear'"

Thanks, waiting on CI and then merging :D


prompt-for-impl and support-qlot

正直あまり好きではないけど。

Could you tell me how to run SLIME with Qlot (project local QUICKLISP_HOME)?
I don't know inside of Lem at all and can't get it from the changes.

M-x change-directory
C-u M-x slime

Then You'll find something in completion.


update mapzen ui

Lgtm, please merge.
Doesn't require any release.

On Nov 4, 2016, at 08:51, Peter Richardson<EMAIL_ADDRESS>wrote:
You can view, comment on, or merge this pull request online at:
https://github.com/tangrams/zinc-style/pull/8
Commit Summary
update mapzen ui
File Changes
M index.html (2)
Patch Links:
https://github.com/tangrams/zinc-style/pull/8.patch
https://github.com/tangrams/zinc-style/pull/8.diff
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


fix electrs is ready for btc-rpc-explorer prestart

After reboot btc-rpc-explorer service gets trapped in a reboot loop as the check if elelctrs is running and ready always fails.
netstat -n does not show connections in LISTEN state.
netstat -tan shows all tcp connections -t in all states -a without resolving names -n to prvent dns spam

thx - good catch

merging for v1.8.0 release


Put NeutralsSOL2D in NESO/src/nektar/NeutralsSOL2D/

Follows #100

Putting them in neso/solvers/<name>


CSS framework

Note: this is a work in progress trying to see if Susy is the right tool for the job.
See https://github.com/potomak/tomatoes/issues/147 and https://github.com/potomak/tomatoes/issues/212.

Superseded by #220.


Update chunks: out with the old, in with the new

What kind of an issue is this?

Fix plz

What is the expected behaviour?

Chunks that represent the current status of dotkom.

What is the current behaviour?

Chunks that don't represent the current status of dotkom.

How do you reproduce this problem?

Look at chunks, and see that they don't represent the current status of dotkom

Other information

Remove all old people that aren't Katrine, move her up to active, and set Andrea as being on temporary leave
Also add the newcomers. Their names are as follows:

Tor Berre
Marius Tobiassen
Kevin Midbøe
August Solvang
Mathias Brekkan
Monika Muzyk
Siddise Hirpa
Herman Henriksen

You are absolutely correct, but I was clearly instructed to leave it as an issue for the newcomers, instead of handling it myself.

The idea was to leave a super simple task for our new friends, so someone gets to touch the dashboard very quickly.

I think we should rather use an dotkom/issues for this kind of issues rather than the public GitHub issue tracker, which is for code. Chunks can be edited at /dashboard/chunks/ and has nothing to do with the code.

👍


[CS2103-T14-2] Priority class

Implementation of priority class and support its usage in add and edit command. (eg: edit p/high)

Codecov Report

Merging #228 into master will decrease coverage by 2.55%.
The diff coverage is 84.75%.

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

Closing as this PR is not coming from a team repo.


Fixed the loading overlay when uploading a bad file

When you select a bad file (xlsx, dll or anything that is not an image) the loading overlay shows. When you after this select a valid image, the image is shown with the loading overlay.
This is because there are now two loading overlays (the first one is not removed).
The pull request removes all loading children messages within the element thus fixing the problem stated above.
To reproduce:

Go to http://codepen.io/Crackeraki/pen/avYNKP
Select anything other than an image
Select a proper image
The loading overlay is still visible

Test again with this fix :-).

This fix is not jquery? correct me if i am wrong.

jQuery lite as with the default angular element logic (https://docs.angularjs.org/api/ng/function/angular.element). No more jQuery than you originally had.

Hmm wait (https://gist.github.com/esfand/9638882): children(): http://api.jquery.com/children/ - Does not support selectors.
Might not work with the default jQuery lite :/. I'll make another fix

Sorry, I've gotten so used to the entire jQuery arsenal that I missed that one. I've created a new pull request that removes the jQuery dependency: https://github.com/CrackerakiUA/ngImgCropFullExtended/pull/112


Why mounting /var/lib/docker/containers ?

Hi,
I'm also trying to use filebeat + ELK instead of a default fluentd solution to collect k8s logs, and this repository is really helpful. Thank you!
Could I just ask you why you're mounting the original log stored location /var/lib/docker/containers, not only /var/log/containers with readonly permission? Is it necessary to run this container?

log files in /var/log/containers are actually symlinks to the /var/lib/docker/containers, thus it requires /var/lib/docker/containers to be mounted as well

I see, it's just necessary to mount /var/log/containers.
Thank you for the quick reply!😀


DU Agent Receives Incorrect workflow version during new deployment

Expected Behavior
Correct ADU package version should be deployed to devices when deployment is initiated from IoT hub.  Older device updates should not be deployed to a system.
Current Behavior
The device in this example was previously deployed with update version <IP_ADDRESS>.  Upon deploying <IP_ADDRESS> from the IoT Hub UI, the device's module twin first is updated with the manifest for <IP_ADDRESS> (an older update in our system).  While the <IP_ADDRESS> update is installing, the device's module twin is updated with the correct manifest for the target deployment (<IP_ADDRESS>).  The <IP_ADDRESS> deployment is cancelled and the <IP_ADDRESS> deployment begins.
Steps to Reproduce
Issue specific to IoT Hub configuration
Device Information

Host OS [e.g. Ubuntu 18.04, Windows Server IoT 2019]:  Ubuntu 20.04
Architecture [e.g. amd64, arm32, arm64]:  x86
Provisioning Method: module
*DU Agent Version (run 'sudo -u adu /usr/bin/AducIotAgent -v'): 0.8.2

Logs
Previously Deployed Version
du-agent showing correct update version and no action take since all packages installed.
Jan 12 18:20:21 XXXX AducIotAgent[77741]: 2023-01-12T05:32:01.4840Z [D] Update Action info string ({"workflow":{"action":3,"id":"0af489f5-ccad-4cd6-b624-7c572aea1bd2"},"updateManifest":"{\"manifestVersion\":\"4\",\"updateId\":{\"provider\":\"XXXX\",\"name\":\"YYYY\",\"version\":\"<IP_ADDRESS>\"},\"compatibility\":[{\"deviceManufacturer\":\"xxxx\",\"deviceModel\":\"yyyy\"}],\"instructions\":{\"steps\":[{\"handler\":\"microsoft\/script:1\",\"files\":[\"ff74f2a642325e68f\",\"f192e901f06b56880\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_a\",\"installedCriteria\":\"0.0.1-alpha\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"ff74f2a642325e68f\",\"f4c1608c3c78c7093\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_b",\"installedCriteria\":\"0.0.1-alpha\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"ff74f2a642325e68f\",\"f021d426f2689b798\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_c\",\"installedCriteria\":\"0.0.1-alpha\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"ff74f2a642325e68f\",\"f08fb711f03fa86e5\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_d\",\"installedCriteria\":\"0.0.1-alpha\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"ff74f2a642325e68f\",\"fdea22cfc768e03ca\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_e\",\"installedCriteria\":\"0.18.5\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"ff74f2a642325e68f\",\"f2c8f58305f525eb8\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_f\",\"installedCriteria\":\"0.17.20\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"ff74f2a642325e68f\",\"f268d71a06ee1e5cd\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_g\",\"installedCriteria\":\"0.1.74\"}}]}

New Deployment
After deploying a newer version <IP_ADDRESS> from the IoT Hub, the adu-agent shows the device's module was updated with the manifest for version <IP_ADDRESS>.  This isn't correct as we deployed <IP_ADDRESS> from the cloud.
Jan 12 18:30:51 XXXX AducIotAgent[77741]: 2023-01-12T18:30:51.6180Z [D] Update Action info string ({"workflow":{"action":3,"id":"c7249219-3ae6-4a45-86b9-16d407a011e9"},"updateManifest":"{\"manifestVersion\":\"4\",\"updateId\":{\"provider\":\"XXXX\",\"name\":\"YYYY\"
,\"version\":\"<IP_ADDRESS>\"},\"compatibility\":[{\"deviceManufacturer\":\"xxxx\",\"deviceModel\":\"yyyy\"}],\"instructions\":{\"steps\":[{\"handler\":\"microsoft\/script:1\",\"files\":[\"f262c7d179f69f2d0\",\"fdf367d2cf3909d7a\"],\"handlerProperties\":{\"scriptFileName\":\"in
stall-deb-pkg.sh\",\"arguments\":\"--package-name package_a\",\"installedCriteria\":\"0.0.1\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"f262c7d179f69f2d0\",\"fc34a16dc855fc4fa
\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_b\",\"installedCriteria\":\"0.0.1\"}},{\"handler\":\"microsoft\/script:1\",
\"files\":[\"f262c7d179f69f2d0\",\"f04e69f5ab399de96\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_c\",\"installedCriteria
\":\"0.0.1\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"f262c7d179f69f2d0\",\"fd5ef4343fb6f691a\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_d\",\"installedCriteria\":\"0.0.1\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"f262c7d179f69f2d0\",\"fc882f02c8089c18d\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--package-name package_e\",\"installedCriteria\":\"0.18.1\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"f262c7d179f69f2d0\",\"f72747612cbf3d06e\"],\"handlerProperties\":{\"scriptFileName\":\"install-deb-pkg.sh\",\"arguments\":\"--pa
ckage-name package_f\",\"installedCriteria\":\"0.17.18\"}},{\"handler\":\"microsoft\/script:1\",\"files\":[\"f262c7d179f69f2d0\",\"f5db98f1ed7a0cc09\"],\"handlerProperties\":{\"scriptFileName\":\"install-de
b-pkg.sh\",\"arguments\":\"--package-name package_g",\"installedCriteria\":\"0.1.74\"}}]}

New Deployment
While the older version is being installed, the device's module twin receives the correct update (<IP_ADDRESS>) and the current deployment is cancelled.
Jan 12 18:36:25 XXX AducIotAgent[77741]: 2023-01-12T18:36:25.4657Z [D] Update Action info string ({"workflow":{"action":3,"id":"bd6d23c5-0e0c-409a-85cc-ed4b53576c8b"},"...

Jan 12 18:36:25 XXXX AducIotAgent[77741]: 2023-01-12T18:36:25.4681Z [I] Replacement. workflow 'c7249219-3ae6-4a45-86b9-16d407a011e9' is being replaced with workflow 'bd6d23c5-0e0c-409a-85cc-ed4b53576c8b'. [ADUC_Workflow_HandlePropertyUpdate]
Jan 12 18:36:25 XXXX AducIotAgent[77741]: 2023-01-12T18:36:25.4681Z [I] Deferred Replacement workflow id [bd6d23c5-0e0c-409a-85cc-ed4b53576c8b] since current workflow id [c7249219-3ae6-4a45-86b9-16d407a011e9] was still in progress. [ADUC_Workflow_HandlePropertyUpdate]
Jan 12 18:36:25 XXXX AducIotAgent[77741]: 2023-01-12T18:36:25.4682Z [D] cancellationType(2) => Replacement [ADUC_Workflow_HandleUpdateAction]
Jan 12 18:36:25 XXXX AducIotAgent[77741]: 2023-01-12T18:36:25.4682Z [I] Canceling request for in-progress operation. desiredAction: ProcessDeployment, cancelationType: Replacement [ADUC_Workflow_HandleUpdateAction]
Jan 12 18:36:25 XXXX AducIotAgent[77741]: 2023-01-12T18:36:25.4682Z [I] Requesting cancel for ongoing operation. [ADUC_Workflow_MethodCall_Cancel]

Hi Dan,
Could you please check module twin to see which configuration is applied to your device?
You should expect to see below section:
"configurations": {
    "<configurationId>": {
        "status": "Applied"
    },
    "adu-nodeployment": {
        "status": "Targeted"
    }
},

If you have seen more than one Targeted section, you will need to follow below steps to fix this issue:

Find the configuration with Status = Targeted
https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-automatic-device-management

Check Device/Module Twin Settings to confirm whether it is for old version (<IP_ADDRESS>)

Delete the related configurations.
There are two configurations: one for device with adu- prefix and one for module with adu-module- prefix. Both configurations' names contain configurationId in above secition of module twin.

@dsburns : Were you able to get the configuration information? Was this issue resolved for you?

Closing this issue as there is no recent activity.


[feat] Output in BPMN format

Hi,
I was looking through the source code to figure out if it is possible to change the output from PNG to BPMN format. However, I did not spot the part where it is converted to the PNG. This would be very nice for keeping the diagram editable.
Is this already supported functionality, or easy to implement?
Thanks

Hi,
PNG file is created when calling .save() method. When you say save to BPMN format, are you referring to BPEL? Currently there is no plan to save output as BPEL.
The diagram is generated by code, so it is editable 😄
CS

Hi,
I was referring to this specification and I was assuming that somewhere in the code this format is used. But now its obvious why I did not find it - because you are directly creating the PNG without making use of the BPMN formar, right?
(I am currently looking for a solution with which it is possible to create BPMN-files (diagrams in xml) with the help of a syntax like this project supports.)

Hi, BPMN is just the specification. If you want something that is executable by a process engine, you are referring to Business Process Execution Language (BPEL) which is in XML format.

I am not sure what you mean by "executable by a process engine".  But yes, I am referring to a XML format.
My problem is that I want to create such a XML from code without having to code the transformation myself.
So if BPEL is the format the the .bpmn files use, then this is what I was referring to. This is a very simple example:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_0obm7bs" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="15.1.3">
  <bpmn:process id="Process_0whtdb4" isExecutable="false">
    <bpmn:startEvent id="StartEvent_033fdj1" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0whtdb4">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_033fdj1">
        <dc:Bounds x="156" y="82" width="36" height="36" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>

If, as you already suggested, this output format is not planned, feel free to close this issue.


Use form tags when available

Describe the PR
swaggo doesn't look at the form tag on structs to determine field names, only the json tag. This update sets the field name in the swagger files to the form tag if it exists. This will match what gin binds to.
Relation issue
This issue was also raised here:
https://github.com/swaggo/swag/discussions/1411
Additional context
Add any other context about the problem here.

Why do we want to introduce such a fallback?

The swagger file that's currently generated is incorrect. For example, I have a struct of the form:
type form struct {
	// UserID userID for whom the query is being performed
	UserID string `form:"user_id" binding:"required,uuid"`
}

which represents the GET input parameters for my handler.
Before this fix, the generated YAML output says the parameter name is userID. The introspection looks for JSON tags on the struct but doesn't check for the presence of the form tag so it falls back to the field name.
By including the change, developers who explicitly set the json tag won't see any change in output, but those who provided only a form tag will set a result that will make the swagger file compatible with gin.
More generally, the form tag is not currently supported. This change will add support for it.

What if a struct is shared by two routers, one use it as form request model, the other use it as response model?

Is there a better way to support this? Such as parsing form tag into extensions with a special extension name and pick it when parsing request according to @accept, finally remove all the form extensions from all exported struct fields schemas.

Yes. An optimal solution might be to select the json vs. form tag based on the @accept tag to allow for the reuse of structs both as query parameters as well as JSON responses where you want (for reasons I can't imagine) to have inconsistent names. However, even in those cases, the likely scenario is that the json and form tags will match. In general, a tag is only provided when the default field name is not desired.
The only need for that enhancement is specificity when the tags are not consistent.
The current behavior on master is wrong for query parameters. It fails to generate correct parameter names for GET and POST parameter requests when form tags are used.
My change is an improvement in that JSON still takes priority when no other tag is used OR when the json tag is used. The  form tag will work if no other is tag specified. So it reduces the number of bugs without adding any new ones.
Without this change, how is one supposed to define an OPENAPI definition for query parameters using a struct?

This pull request is using the same approach for query tags.
https://github.com/swaggo/swag/pull/1251
@Ferrany1

@pconstantinou As @sdghchj suggested, the struct can be shared between "accept" and "query", but after it gets parsed which models should we store into documentation the one handling JSON tags, the one with form tags, or the one with query tags?

Any updates on this? I'm also having some trouble using the uppercase acronym pattern naming in Go and requesting the camelcase style in the API with the form tag (e.g: TaxID  struct field name with the tag form:"taxId" becomes taxID, event with the default camelcase strategy).

Anyway, this is a temporary solution.


Bug 1549450 - Better to use the same name for Clear filters, Clear Filter, Clear All Filters

Catalog version of https://github.com/openshift/origin-web-console/pull/2870

Thanks, @jhadvig. Will need dist files.


Problems with 'tkinter_designer.py'

I run 'tkinter_designer.py' and entered the following data:
Token ID: 111
File URL: https://github.com/ParthJadhav/Tkinter-Designer/
Output path: R:/w/x
Problem 1:
If I enter the above path manually, I get "Invalid Output path" error. However, if I use the File selector the path is accepted, although and it is exactly the same with the one I set manually!!
Problem 2:
When I click on "Generate", I receive the error "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)"
Here's the full traceback:
File "G:\Python3\python-3.7.7\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "tkinter_designer.py", line 29, in btn_clicked
backend.generate_code(token,URL, output_path)
File "R:\W\x\backend.py", line 86, in generate_code
data = response.json()
File "G:\Python3\python-3.7.7\lib\site-packages\requests\models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "G:\Python3\python-3.7.7\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "G:\Python3\python-3.7.7\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "G:\Python3\python-3.7.7\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Is this PY file published without being tested?

Thanks for creating an Issue, We will be eager to solve it.

Hello Alkis,
Thanks for trying the program. Sorry to say but you entered both things wrong. Please read the documentation correctly or watch this YouTube video -
https://youtu.be/mFjE2-rbpm8
Token is - Figma API token
URL is - the Url of the file you’ve designed before hand.
And for the file path you should choose a directory you have access to. Try choosing desktop.


trigger builds

trigger builds for fbc images

/override ci/prow/ci-index-securesign-bundle

/override ci/prow/images

/override ci/prow/tas-operator-e2e


Resourcesync implementation fixes

Hi @dimitrispie : Thanks for starting your work on cleaning up the original ResourceSync PR #2065!
Just as a note, it's difficult to see exactly what has changed in between this PR and #2065, as it looks like everything has been squashed into a single commit.
Is there any chance you could recreate this PR by cherry-picking the commits of #2065 (i.e. copying them as-is), and then adding your commits on top of it?  That'd make the changes much easier to see & review.
In case you are not familiar with cherry-picking, the basic process would be something like this:

First we should close out this PR (as it's also based on your "master" branch, and we should switch it to a branch where you can do Resource Sync work).
Create a new branch (name it something like "resource_sync") based on master:  git checkout -b resource_sync
Cherry-pick each of the 5 commits from #2065 (in order):git cherry-pick 17cfd43a5133c8eeda466744dd37b3bdbf81a9a3
git cherry-pick 91a6e951d63d09abab4c187220e4d2c17b6638fe
git cherry-pick 2fa176f31ff6688d978f32a41592e4f008795c77
git cherry-pick 44b363de69799dddc5e70e47398c9aaa6e52276b
git cherry-pick 2fb82199a2ac00ae66f44cd42347a3fdb4713853

If any merge conflicts occurred with those cherry-picks, resolve them.  Hopefully none will occur, or they will be minor -- as most of this ResourceSync code is standalone.
Now, make your additional code fixes and git commit each them to the same branch.
Finally, create a new PR from your resource_sync branch.  The final PR should show each of the 5 initial commits along with your fixes (in additional commits).


add start of repl

re #250 . Need to finish a few things:

[ ] decide on a name
[ ] decide if we want to support non-interactive commands as well
[ ] move to ./repl package
[ ] change log level to warn
[ ] add documentation / feature list item

Should the prompt be apex, as apposed to lambda?
What sorts of tasks will the REPL add? Is it just to enable sharing of state between commands?

Ah it's actually executing commands in a Lambda function, so I think "lambda> " or similar would be good. The primary use-case is to debug AWS roles and inspect the lambda container (check environment variables available etc).
The use-case might not strong enough to have in core. The only way I could see it working for core is if we injected the ability to run commands in any deployed function, so you can inspect local state etc haha, but that's a little weird too. I'd be happy to move it to another repo

I'm also not sure about having it in core :) For starting container purpose invoke is fine. Other stuff like debugging/testing can be done inside function IMHO.

Yea I think I'll move it to apex-shell, thanks guys!


Order bulk create allow to import archive orders

Fix: https://github.com/saleor/saleor/issues/11720
To enable importing archive orders, we for now we introduce 2 changes to bulk create:

allow to not provide user at all
allow to skip variants

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations

Docs

[ ] Link to documentation: https://github.com/saleor/saleor-docs/pull/968

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases

Just for clarification: we can now set variant and product name and if the product/variants do not exist yet in Saleor, Saleor will just store this information and will provide it later when querying the order? Saleor variantId will be empty in this case?


domain restriction

I am referring from https://stackoverflow.com/questions/71112928/nginx-rtmp-video-is-out-of-sync/71273264
I have installed srs successfully and yes there is no sync issue. But Now I want to restrict access of live stream with only my domain. In nginx-rtmp it was very easy to add CORS setup valid_referers blocked mydomain.com; Is there any method so that stream can only be played on my domain only?
Additionally, how can I set atc on ? Can you please tell me the path of exact file in which I can edit and set atc on?

If you have fixed the issue, you don't have to set the atc on, it's an optional config, not required.
If you want to set CORS, you could use NGINX to proxy to SRS, and set the CORS in NGINX as you wish.
For detail about nginx proxy, please read https://github.com/ossrs/srs/issues/2881


Consolidate audience pagination

Will wait for https://github.com/Evocalize/lithium/pull/3571 to make it into production before merging.


[Google Drive] Show helpful animated toast during initial files cache indexing

Description
During the initial load, the extension would try to build an initial files cache index. But there's no indication of what's happening. This could confuse the users as to why the extension is loading infinitely.
This PR adds a helpful animated toast during the initial load to reduce such confusion.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Awesome @vishaltelangre 🔥


Deleting a draft redirects to a hardcoded URL

In deposit.js the delete_ function has the redirect URL after deleting a draft hardcoded: https://github.com/inveniosoftware/invenio-rdm-records/blob/0d313c61bda1c509c8518c1c30f8abc337e96967/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/deposit.js#L262
This should be read from the config value APP_RDM_DASHBOARD_ROUTES["uploads"] instead.

@zzacharo as discussed tuesday in the telecon, could you provide some insight here as to how the flask config could best be read from the deposit.js? Thanks! The config object doesn't contain it.

Hello,
I think it should be enough to inject the new variables in the form config:

On create
and edit

That would go down to the deposit form state here and then it is available in the actions because of how we configure the redux store
Give it a go and let me know!

Hi @zzacharo, thanks for your help! It will be fixed with https://github.com/inveniosoftware/invenio-app-rdm/pull/2889 and https://github.com/inveniosoftware/invenio-rdm-records/pull/1859


Minor changes for project 3

Thank you Felix for the change. I have noted the additions you made to the contribution guidelines for Project 3 and will fix them accordingly. I am doing this because I cannot merge your pull request as it seems that you have pushed library packages along with the code. I can see changes to over 2,000 files here with library scripts.


Showing URL on website while navigation

Hi, I haven't used the package yet. I'm looking for a persistent sidebar that the sidebar is persistent and screens on the right side are navigating because through navigation you can show routes in URL tab.

+bump I need this feature as well, thanks in advance!

This feature is outside the scope of this package. You can implement this easily with go_router
Check out these links:

https://stackoverflow.com/questions/75486115/flutter-nested-navigation-inside-a-page-using-go-router
https://pub.dev/documentation/go_router/latest/topics/Navigation-topic.html

@Jamalianpour Thanks for your comment. I did shell routing using go_router


Runelite crashes when NVDA screen-reader is running

Describe the bug
When Runelite is running, opening "NVDA" one of the most common screen readers for people with disabilities causes Runelite to crash immediately. I definitely wouldn't expect Runelite (or Runescape) to be announce everything correctly, but allowing NVDA to run at the same time allows users to have other content read aloud, such as quest guides in their browser.
To Reproduce
Steps to reproduce the behavior:

Open Runelite client, no need to log in
Open NVDA screen reader
As NVDA launches Runelite will close completely

If you have NVDA open already:

Have NVDA running normally
Launch Runelite
Runelite never opens

Expected behavior
NVDA running in the background without the client crashing, so users can use the screen reader with their browser while they grind.
Environment (please complete the following information):

OS: Windows 10 Pro 21H1
RuneLite version: 1.8.0
Launcher version: 1.6.0
NVDA Version: 2020.4

Additional context
This issue does not happen using the normal OSRS client downloaded through the website.
Logs below:
launcher.log
client.log

I just installed NVDA and had it running in the background. I opened up runelite fine. Have you tried updating to the latest NVDA? That appears to be 2021.2 and you are on 2020.4. I didn't see any errors in those logs.

I just installed NVDA and had it running in the background. I opened up runelite fine. Have you tried updating to the latest NVDA? That appears to be 2021.2 and you are on 2020.4. I didn't see any errors in those logs.

Interesting. I've uninstalled & reinstalled NVDA & updated to 2021.2, and the issue still happens.
Runelite also crashes on my roommate's desktop when NVDA starts, however I just tried it on my laptop and it works fine, same Runelite account & same plugins. The main difference I can think of is my roommate & I's desktop use AMD Ryzen CPUs (1600x &  3700x) and my laptop uses an Intel Core i7 10th gen, though at that point it could be any of the hardware.
I have noticed some weird startup behavior with NVDA & web browsers, occasionally it zooms your current tab out to around 60% zoom when NVDA starts up. If NVDA is sending out commands or something on startup it could be just closing Runelite out, do you know I could check that?

I have an AMD Ryzen 7 3700X so the CPU probably isn't the issue. Just curious I see that there are two types of NVDA installations a normal installation and a portable installation. Have you tried the portable version? Also does NVDA have any logs? Also if you could find the runelite logs from the time it started crashing there might be a better error message there.

Are you using 32 bit or 64 bit runelite? I'm seeing some mentions of issues with 64 bit java applications on NVDA's github: https://github.com/nvaccess/nvda/wiki/GSOC-2020-Ideas-List

Just uninstalled NVDA & made a portable version, starting that also crashes Runelite.
Using 64bit Runelite on all computers, even the laptop that has no issues.
I made a 32bit Runelite installation and that seems to run just fine with NVDA running, so it seems like it may be that "NVDA cannot currently interact with 64 bit Java applications" issue they mention. Seems like the issue may be on NVDA then, correct?

Ya if you can get the NVDA logs perhaps open an issue with them and see what they say?


How to adjust the tabs bottom container in the size automatically.

Hi,
I'm using NativeBase in my project. I'm facing an issue with the tabs container adjustment scrolling.
Here is the scenario.
I have a screen design like the image height of 100 and after the image, I'm displaying the tabs. I have 20 tabs and 20 arrays. I placed the flat list in the tab container without scrolling option (i.e when the array is loaded in a flat list, it is not scrolled down . container size will be increased.). The tab bar bottom container size is not adjusting according to the flat list height. (i.e when flat list height is greater than the screen height tab bar container is scrolling is fine. In the next tab when the flat list height is small, the container not need to scroll. But the container is scrolling. container size needs to adjust automatically.) How to adjust the tabs bottom container size automatically.

Hi @ajay2c9 , can you just add snack for minimal reproduction for the same with the screenshots? Is that FlatList with Sticky Header?

Hi @ajay2c9 , closing for now due to inactivity. Let us know if the issue still persists.


demo problem

HI @yajra ,
Can I ask about your demo, I installed it on my local windows 8, but some of your examples have problem in loading the datatables. but it works fine in linux machine. is there something difference if we code to linux then we transfer it to windows ?.I have notice that if we use datatables on linux then we run it to windows ,the datatables will have problem in loading.
Thank you in advance.

@ezekel, not sure on windows and linux as I am using mac as my dev machine. But one thing is for sure that the php environments do differ on these OS. I suggest you use homestead if possible to avoid this environment issues that most of us developers encounter. But generally, it should should work on any LAMP stack.

Ok thanks.


Antiforgery token integration

For components with @attribute [RequireAntiforgeryToken(required: true)], do the following:

[ ] An element has an hx- action attribute (except GET) NOT inside a form, add a hxor-aft attribute whose value is the antiforgery token to the element.
[ ] Update htmxor.js to look for an hxor-aft when triggered on an element.
[ ] An element has an hx- action attribute (except GET) inside a form, ensure the standard hidden input field is rendered to the dom with the antiforgery token before the end of the form, if not already provided.

It looks as if this would require searching through up the render tree during HTML writing, so the current solution is probably better for now.


Fix and improve README

Checklist

[ ] Closing issues:
[ ] Tests have been added or updated if necessary
[ ] Documentation has been updated

Description

The error:
[...]
mkdir build && cmake ..
[...]

[gusta@note hexxed]$ mkdir build && cmake ..
CMake Error: The source directory "/home/gusta/Desktop" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Probably, it should be:
mkdir build && cd build
cmake .. && make

In addition, I added instructions for Fedora.

Thanks, is this ready to merge?
I appreciate your contributions to Hexxed, and as this is a public domain project, please confirm that you are OK with your current and future changes being released into the public domain by stating the following (a GitHub comment is fine, you may also choose to sign this with your GPG key):
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Thanks, is this ready to merge?
I appreciate your contributions to Hexxed, and as this is a public domain project, please confirm that you are OK with your current and future changes being released into the public domain by stating the following (a GitHub comment is fine, you may also choose to sign this with your GPG key):
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Yes, it is ready to be merged. Also, I totally agree with all terms.
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Yes, it is ready to be merged. Also, I totally agree with all terms.
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Thanks!


Update SwiftllamaActor.swift

The actor need to be public because it's used on public APIs.

I don't think it's needed. The test project runs fine without it.

Without the change, archiving fails


Add imgs folder under snippets

I do think there should be a folder named imgs or pics under snippets for storing some pics that illustrated the code if needed.

You mean a folder for storing rendered examples of the codes output?

You mean a folder for storing rendered examples of the codes output?

some .gif files is better.

That's a rendered example of the codes output XD

Yes it is!The example can demostrate the code clearly.So it's better to add a folder for storing rendered examples, then we can refer it in the markdown.

GitHub repo can store files less than 1GB.A short demo .gif only takes no more than 200KB, for example :gif demo.
So that I think Digital Ocean sponsorship is not necessary,u can store files in GitHub repo tentatively.
@fejes713

@zhongdeming428 yes, but with no telling how big our repo may get it's a 'limited storage of unlimited potential' design flaw

All depend on u.Appreciate for ur receiving my suggestions.Thx!

Maybe using an online IDE to demonstrate the demo which allows people to fiddle with code ? Like stackblitz or jsfiddle.

@getdaydream that's not such a bad idea. If they have an API we can use to send the code over on click that might be useful. Or if they have an embedded one...

@skatcat31 I have tried StackBlitz API. You can either create a new project & open it in a new tab or create a new project & embed it on the current page. See sdk.openProject(project[, opts]), sdk.embedProject(elementOrId, project[, embedOpts]).

@getdaydream it's so nice! Looks like VS Code,more useful than codepen

I like this idea as well. It will require some additional work but is definitely worth the effort. Being able to live test something before implementing is definitely a good addition.

So does this mean we'll have to go and create projects for each approved snippet? I feel like they probably have a web api somewhere for doing it programatically

@skatcat31 don't have to go and create projects. Just extract code from every markdown and send the code to this api(sdk.embedProject(elementOrId, project[, embedOpts])). It will create an anonymous project and embed it on the current page. In this way, we can generate live demo for every markdown and use it in docs website.And yes, additional scripts is needed.

@zhongdeming428 We can also use mdxjs if we want to display any demo or example since that would be easier to do rather than separately adding and managing assets.

We can also use mdxjs if we want to display any demo or example since that would be easier to do rather than separately adding and managing assets.

Closing this due to inactivity. We might move with this in the future.


Auto Login Old User

We will put a check on the static splash page before user clicks. It may not work too


[Question] Is it possible to manipulate the captured variables in fix mode?

playground
I am attempting to change the file extension from .js to .cjs .

Sadly no. I didn't have a concrete plan to support manipulating meta variables in fix mode.
It is quite hard to support a solution flexible enough to support even 80% scenarios, without bringing a lot of ast-grep specific shenanigans. I really want users can learn the tool in minutes.
That said, I'm still open to have a manipulation for meta variables. Let me know if you have any idea!
Meanwhile, you can use napi interface to write a small program.

The transform looks like an interesting and viable solution to this problem. However the operators used here CONCAT, SLICE may introduce extra learning overhead for end users.

Meanwhile, you can use napi interface to write a small program.

Yes, I thisnk I should use ast-grep in node side with magic-string.

I think it is necessary to support string manipulation in fix mode. Reference https://github.com/ast-grep/ast-grep/discussions/430
It is impossible to match some patterns in some languages. String manipulation is a must to support example like get the inner content of a generator expression in Python.
String Manipulation
Replace
$VAR/regex/replace/

Deletion
Similar to replace but leave replace as empty.
$VAR/regex//

Concat
$VAR1$VAR2

Transform
Similar to
https://www.typescriptlang.org/docs/handbook/2/template-literal-types.html#intrinsic-string-manipulation-types
$VAR.upperCase
$VAR.lowerCase.capitalize // multiple transformation can be chained

Substring
Negative index is supported.
$VAR[1..-1]

Thanks for suggestion! I have come up a more thorough proposal so let discuss in #436!