prepare a list of upcoming solutions and disable them in the marketplace package

prepare a list of upcoming solutions and disable them in the marketplace package (grey them out) don't make them clickable for now

check now.threefold.io list is updated there


chuangmi.camera.v5

Stream is not working. How could I make it it work in home assistant?

Those are the properties:
access_token: ---
brand: chuangmi
model: chuangmi.camera.v5
lan_ip: ---
mac_address: ---
entity_class: MiotCameraEntity
home_room: Casa de Marco Porche
miot_type: urn:miot-spec-v2:device:camera:0000A01C:chuangmi-v5:1
camera_control.on: true
camera_control.image_rollover: 0
camera_control.night_shot: 0
camera_control.time_watermark: true
camera_control.wdr_mode: true
camera_control.recording_mode: 2
state_updater: cloud
sub_entities: camera_control.on
entity_picture: /api/camera_proxy/camera.chuangmi_v5_490f_camera_control?token=---
friendly_name: Cámara Porche Camera Control
supported_features: 1

I think that the problem is my camera do not include  the service "camera-stream-for-google-home" in camera device miot-spec,
So, it's not goig to work. Somebody knows something about it?

+1 for this
I have the same camera and confirm no "camera-stream-for-google-home"

There's nothing I can do about it. It's my best effort to see a screenshot or a few seconds of video after enable the Home surveillance assistant in the Mihome APP.


Running on public internet

Looking into running seaweedfs from servers that are directly exposed on the public internet, although not recommended.
Do not need to run Filer or S3 API, which makes things simpler. From my understanding, volume servers can be secured by JWT, but master servers can not. So I was thinking to block the master server port in the firewall and use a reverse proxy like nginx for the master servers and implement auth there. Would such a setup be reasonably secure?
Disabling HTTP and relying fully on gRPC looks possible but annoying as most clients use the HTTP API.

Sounds good.
There is also connections between volume servers and master for some managerial operations. The proxy needs to allow this.
master <=== grpc ===> volume servers

For master <> volume communication I was planning on using mutual TLS as described in the wiki. I will add some documentation of the proxy, probably nginx, haproxy, or caddy

Setup is complete, initial testing was okay, perhaps you can give it a quick read and tell me if it looks correct. It can be turned into another wiki page as a step by step deployment guide.

How to setup SeaweedFS on servers that face the public internet
This guide is for setting up master and volume servers only, we will not setup filer or S3. All services will run in Docker, which also acts as a firewall to block direct access to the HTTP API of the master server (single master, no HA). gRPC communication between volume and master server is encrypted with mutual TLS, all gRPC ports are exposed to the public internet. Master server HTTP API port (9333) is exposed via reverse proxy Caddy, which handles SSL termination and checks for an Authorization header (this header is completely separate from SeaweedFS JWT mechanism).
Step by step setup
We will use 2 servers. Server 1 will host master, 2x volumes (2 disks, one volume server each), caddy reverse proxy. Server 2 will host 2 volume servers.

Install docker and docker-compose
Start master server. Using my own Dockerfile here to run the large_disk version and also because I got a bit confused by the provided entrypoint.sh overriding CLI arguments
Dockerfile

# todo: set version as ARG
# todo: use 2 step build process, copy over weed binary to fresh container (do not need curl and tar at runtime)
FROM alpine
RUN apk update && apk add wget tar
RUN wget https://github.com/chrislusf/seaweedfs/releases/download/2.40/linux_amd64_large_disk.tar.gz
RUN tar -xf linux_amd64_large_disk.tar.gz
RUN chmod +x weed
RUN mv weed /usr/bin/

docker-compose.yml
version: '3.7'
services:
        master:
                build: .
                volumes:
                        - /data/seaweedfs/master:/data/seaweedfs/master
                ports:
                        - 19333:19333
                entrypoint: weed master -mdir='/data/seaweedfs/master' -ip=<public ip of server> -volumeSizeLimitMB=100000 -defaultReplication=010

docker-compose up and see if it looks ok
Run volume server on server 2 (to test connection between physical servers)

same dockerfile
docker-compose.yml

version: '3.7'
services:
        volume-sda:
                build: .
                volumes:
                        - /data/seaweedfs/volume:/data/seaweedfs/volume
                ports:
                        - 8080:8080
                        - 18080:18080
                command: weed volume -mserver=<public IP of server 1>:9333 -dir=/data/seaweedfs/volume -ip=<public ip of this server (server2)>

docker-compose up on both servers and check that the master sees the volume
Follow security guide to add secrets and certs. Scaffold security.toml file and generate certs, in this example, all certs are in certs/ folder. Update docker-compose.yml of master server:

version: '3.7'
services:
        master:
                build: .
                volumes:
                        - /data/seaweedfs/master:/data/seaweedfs/master
                        - ./security.toml:/etc/seaweedfs/security.toml
                        - ./certs:/etc/seaweedfs/certs
                ports:
                        - 19333:19333
                entrypoint: weed master -mdir='/data/seaweedfs/master' -ip=<public ip of server> -volumeSizeLimitMB=100000 -defaultReplication=010

docker-compose up the master and volume. Because the volume server doesn't have the security config, the heartbeat should fail.
Copy security.toml and certs/ folder to server2 and add mounts in docker-compose.yml file of volume server.
docker-compose up, now heartbeat should work and master should see volume server again
Test that JWT auth works as you expect. For that, edit docker-compose.yml of master server to temporarily expose port 9333 to the host machine. All testing will be done from command line of server 1:

curl -i http://localhost:9333/dir/assign should include bearer token
uploading with bearer token should work (for hand testing, might want to update the 10 second JWT timeout to something longer)
uploading without bearer token fails (3 test cases: not provided, incorrect provided, or token expired)
downloading with bearer token works
downloading without bearer token fails
delete with bearer token works, doesn't work without token

Great, JWT auth works as expected. docker-compose down, remove port 9333 from master server docker-compose.yml, clean data directory rm -rf /data/seaweedfs/master/* and rm -rf /data/seaweedfs/volume/*
Add caddyserver to master server docker-compose.yml. Caddy will automatically and without config issue a SSL cert from Lets Encrypt, redirect traffic from HTTP to HTTPS (on HTTP the header value can be sniffed, please remember to use HTTPS), and we will add config to check for Authorization header. A domain is needed for SSL. On master servers docker-compose.yml, add a new service:

        caddy:
                image: caddy:2.3.0-alpine
                volumes:
                        - ./Caddyfile:/etc/caddy/Caddyfile
                ports:
                        - 80:80
                        - 443:443

Add Caddyfile
seaweedfs.yourdomain.com

@bearertoken header Authorization "Bearer <your token>"
@notBearertoken not header Authorization "Bearer <your token>"

reverse_proxy @bearertoken master:9333

respond @notBearertoken 401

docker-compose up, wait for Caddy to get certs from LetsEncrypt, test it via curl:

curl -i http://seaweedfs.yourdomain.com redirects to HTTPS
curl -i https://seaweedfs.yourdomain.com responds with 401
curl -H "Authorization: Bearer <your token>" https://seaweedfs.yourdomain.com/dir/assign works
curl -iH "Authorization: Bearer someOtherToken" https://seaweedfs.yourdomain.com/dir/assign 401

Add more volume servers, take notice of port bindings. In my case, server 1 docker-compose.yml has master, volume-sda, volume-sdb, caddy, server 2 has volume-sda, volume-sdb.

docker-compose.yml server 2:
version: '3.7'
services:
        volume-sda:
                build: .
                volumes:
                        # /dev/sda4 mounts to /data
                        - /data/seaweedfs/volume:/data/seaweedfs/volume
                        - ./security.toml:/etc/seaweedfs/security.toml
                        - ./certs:/etc/seaweedfs/certs
                ports:
                        - 8080:8080
                        - 18080:18080
                command: weed volume -mserver=<master server ip>:9333 -dir=/data/seaweedfs/volume -ip=<publicIp>

        volume-sdb:
                build: .
                volumes:
                        # /dev/sdb1 mounts to /data2
                        - /data2/seaweedfs/volume:/data/seaweedfs/volume
                        - ./security.toml:/etc/seaweedfs/security.toml
                        - ./certs:/etc/seaweedfs/certs
                ports:
                        - 8081:8081
                        - 18081:18081
                command: weed volume -mserver=<master server ip>:9333 -dir=/data/seaweedfs/volume -ip=<publicIp>  -port=8081

High availability
I haven't tested this, but this is how I would go about making it HA:

Run master server on 3 or 5 physical servers
Run caddy as a sidecar on every server that runs a master
Install caddy from own Dockerfile, adding redis plugin for distributed SSL cert storage and distributed locks for SSL cert issuing
Run redis in high-availability mode, for example by following this docker swarm guide. Caddy redis plugin probably doesn't allow multiple IP addresses, so might have to add haproxy sidecar to every caddy sidecar as well to load balance to redis cluster.
Update command of volume servers to add all master server IPs

Alternatively:

Use another caddy plugin for distributed SSL certs, not redis
Use a loadbalancer-as-a-service that does SSL termination from some cloud provider
Disable HTTP API on master server and use clients that can speak gRPC protocol

  'master')
  	ARGS="-mdir=/data -volumePreallocate -volumeSizeLimitMB=1024"
  	shift
  	exec /usr/bin/weed master $ARGS $@
	;;

short
$@ == master -mdir='/data/seaweedfs/master' -ip=<public ip of server> -volumeSizeLimitMB=100000 -defaultReplication=010
shift strips firts part of the command, making $@ ==  -mdir='/data/seaweedfs/master' -ip=<public ip of server> -volumeSizeLimitMB=100000 -defaultReplication=010
And everything together is:
/usr/bin/weed master-mdir=/data -volumePreallocate -volumeSizeLimitMB=1024 -mdir='/data/seaweedfs/master' -ip=<public ip of server> -volumeSizeLimitMB=100000 -defaultReplication=010
The arguments defined at the end overwrite the arguments at the beginning.

Aaaaand it doesn't work. Uploading a file with replication 010 results in failed to lookup for 9: Post \\\"http://xxxx:9333/dir/lookup\\\": dial tcp <IP_ADDRESS>:9333: connect: connection refused\"
@chrislusf Do volume servers communicate over HTTP with master when using replication?

Aaaaand it doesn't work. Uploading a file with replication 010 results in failed to lookup for 9: Post \\\"http://xxxx:9333/dir/lookup\\\": dial tcp xxxx:9333: connect: connection refused\"
@chrislusf Do volume servers communicate over HTTP with master when using replication?

Perhaps it's related to this line? How difficult is it to use gRPC instead? Alternatively can add more reverse proxies and use DNS and /etc/hosts to bridge the routing
https://github.com/chrislusf/seaweedfs/blob/c42b95c596f762dcca2bc9c7e7a918ab8ca8b206/weed/operation/lookup.go#L52

What if I want to have a directory structure to show? I try to do something like your approach, use a web server to  proxies master  , implement auth and store the metadata(like filer) through the webserver.
For example, If I want to upload a file, I need

Request web server with "path" param
Web server would visit master's "/dir/assgin" API, and store the needed data in somewhere like redis.
Web server bring jwt, fid, volume url to response client.
Client use jwt upload file directly.

Is my approach available?(apologize for my poor English )

@ohayogirls you will build your own service that maps paths and filenames to seaweedfs file ids to replace filer? I think that should work. Just see thread above, if you require replication, my setup will not work.

Perhaps it's related to this line? How difficult is it to use gRPC instead? Alternatively can add more reverse proxies and use DNS and /etc/hosts to bridge the routing
https://github.com/chrislusf/seaweedfs/blob/c42b95c596f762dcca2bc9c7e7a918ab8ca8b206/weed/operation/lookup.go#L52

Need to change to gRPC. This issue has showed up before but needs some work.

This is a passing thought, but if (almost) everything is running on gRPC and there are problems with security setup between parts of seaweed cluster + http, why not have the weed client act as proxy for the requests?
i.e. API requests that are normally sent to parts of weed are sent to the client proxy, which in turn processes this data and turns it into grpc  request to be sent to whatever part of weed cluster it needs to.
But this sound like what Filer+S3 does.

I added nginx as reverse proxy for gRPC. In short, here's config, still using docker compose:
Server 1

Master
Caddy
Nginx
Volume 1
Volume 2

Server 2

Volume 3
Volume 4
Nginx

Caddy checks HTTP header value and applies TLS, mentioned above. Now added nginx which reverse proxies both HTTP and gRPC to master (HTTP is proxied from nginx to caddy to master).
All seaweedfs docker commands need to be updated to use nginx as the master IP.
Server 1, master service
- command: weed master -mdir='/data/seaweedfs/master' -ip=<actual ipv4>
+ command: weed master -mdir='/data/seaweedfs/master' -ip=nginx

Volume servers on server 1 and 2
- command: weed volume -mserver=<actual ipv4>:9333
+ command: weed volume -mserver=nginx:9333

Nginx docker-compose:
        nginx:
                image: nginx:latest
                volumes:
                        - ./nginx.conf:/etc/nginx/nginx.conf
                        - ./certs/master01.crt:/etc/nginx/master01.crt
                        - ./certs/master01.key:/etc/nginx/master01.key
                        - ./certs/client01.crt:/etc/nginx/client01.crt
                        - ./certs/client01.key:/etc/nginx/client01.key

Nginx.conf. In short, 2 servers on ports 9333 (http) and 19333 (ssl http2) with proxy_pass and grpc_pass settings. SSL server needs present seaweedfs master certificate and use client certificate for the grpc reverse proxy
user                 nginx;
pid                  /var/run/nginx.pid;
worker_processes     auto;
worker_rlimit_nofile 65535;

# Load modules
include              /etc/nginx/modules-enabled/*.conf;

events {
    multi_accept       on;
    worker_connections 65535;
}

http {
    charset                utf-8;
    sendfile               on;
    tcp_nopush             on;
    tcp_nodelay            on;
    server_tokens          off;
    log_not_found          off;
    types_hash_max_size    2048;
    types_hash_bucket_size 64;
    client_max_body_size   16M;

    # MIME
    include                mime.types;
    default_type           application/octet-stream;

    # Logging
    access_log             /var/log/nginx/access.log;
    error_log              /var/log/nginx/error.log warn;

    # Connection header for WebSocket reverse proxy
    map $http_upgrade $connection_upgrade {
        default upgrade;
        ""      close;
    }

    map $remote_addr $proxy_forwarded_elem {

        # IPv4 addresses can be sent as-is
        ~^[0-9.]+$        "for=$remote_addr";

        # IPv6 addresses need to be bracketed and quoted
        ~^[0-9A-Fa-f:.]+$ "for=\"[$remote_addr]\"";

        # Unix domain socket names cannot be represented in RFC 7239 syntax
        default           "for=unknown";
    }

    map $http_forwarded $proxy_add_forwarded {

        # If the incoming Forwarded header is syntactically valid, append to it
        "~^(,[ \\t]*)*([!#$%&'*+.^_`|~0-9A-Za-z-]+=([!#$%&'*+.^_`|~0-9A-Za-z-]+|\"([\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*\"))?(;([!#$%&'*+.^_`|~0-9A-Za-z-]+=([!#$%&'*+.^_`|~0-9A-Za-z-]+|\"([\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*\"))?)*([ \\t]*,([ \\t]*([!#$%&'*+.^_`|~0-9A-Za-z-]+=([!#$%&'*+.^_`|~0-9A-Za-z-]+|\"([\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*\"))?(;([!#$%&'*+.^_`|~0-9A-Za-z-]+=([!#$%&'*+.^_`|~0-9A-Za-z-]+|\"([\\t \\x21\\x23-\\x5B\\x5D-\\x7E\\x80-\\xFF]|\\\\[\\t \\x21-\\x7E\\x80-\\xFF])*\"))?)*)?)*$" "$http_forwarded, $proxy_forwarded_elem";

        # Otherwise, replace it
        default "$proxy_forwarded_elem";
    }

    # Load configs

    server {
        listen      9333;
        listen      [::]:9333;
        server_name localhost;

        # security headers
        add_header X-XSS-Protection        "1; mode=block" always;
        add_header X-Content-Type-Options  "nosniff" always;
        add_header Referrer-Policy         "no-referrer-when-downgrade" always;
        add_header Content-Security-Policy "default-src 'self' http: https: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
        add_header Permissions-Policy      "interest-cohort=()" always;

        # . files
        location ~ /\.(?!well-known) {
            deny all;
        }

        # reverse proxy
        location / {
            proxy_pass https://<domain of caddy>;

            proxy_set_header Authorization "Bearer <your token>";

            proxy_http_version                 1.1;
            proxy_cache_bypass                 $http_upgrade;

            # Proxy headers
            proxy_set_header Upgrade           $http_upgrade;
            proxy_set_header Connection        $connection_upgrade;
            proxy_set_header Host              $host;
            proxy_set_header X-Real-IP         $remote_addr;
            proxy_set_header Forwarded         $proxy_add_forwarded;
            proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Forwarded-Host  $host;
            proxy_set_header X-Forwarded-Port  $server_port;

            # Proxy timeouts
            proxy_connect_timeout              60s;
            proxy_send_timeout                 60s;
            proxy_read_timeout                 60s;
        }

    }

    server {
        listen      19333 ssl http2;
        listen      [::]:19333 ssl http2;
        server_name localhost;

        ssl_certificate     /etc/nginx/master01.crt;
        ssl_certificate_key /etc/nginx/master01.key;

        # security headers
        add_header X-XSS-Protection        "1; mode=block" always;
        add_header X-Content-Type-Options  "nosniff" always;
        add_header Referrer-Policy         "no-referrer-when-downgrade" always;
        add_header Content-Security-Policy "default-src 'self' http: https: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
        add_header Permissions-Policy      "interest-cohort=()" always;

        # . files
        location ~ /\.(?!well-known) {
            deny all;
        }

        # reverse proxy
        location / {
            grpc_pass grpcs://<ipv4 of master>:19333;
            grpc_ssl_certificate     /etc/nginx/client01.crt;
            grpc_ssl_certificate_key /etc/nginx/client01.key;
        }
    }
}

One problem with this setup is that the log will be flooded with master_1      | I0809 20:02:32     1 masterclient.go:120] master masterClient failed to receive from nginx:9333: rpc error: code = Internal desc = stream terminated by RST_STREAM with erro r code: PROTOCOL_ERROR, but everything still seems to work.

The masterclient uses grpc stream connection.
Seems the error suggest it is not supported by nginx http2?

Likely. I can not find any details regarding gRPC stream reverse proxying on the internet. From my understanding of the logfiles, this results in clients not succeeding in their heartbeat (or some of the heartbeat kinds), as clients are detected as dead and then as live again just one second afterwards
Log is filled with these entries:
master_1      | I0810 11:57:17     1 master_grpc_server.go:265] - client master@<ip of local docker container>:43238
master_1      | I0810 11:57:18     1 master_grpc_server.go:249] + client master@<ip of local docker container>:43258
master_1      | I0810 11:58:00     1 master_grpc_server.go:265] - client adminShell@<public IP of container on other host>:47120
master_1      | I0810 11:58:01     1 master_grpc_server.go:249] + client adminShell@<public IP of container on other host>:41842

Running this in production I can not notice any problems except the log entries itself. If you're still planning to eventually make it possible to run without HTTP then this temporary solution seems good enough to me. Once seaweedfs doesn't need HTTP to ask master for volume location, I can run without caddy and nginx reverse proxies since gRPC is secured already even when running on public internet

Learning about gRPC stream reverse proxy is too esoteric for me, I'd rather learn go and help contribute to make seaweedfs http-less application

This is almost the same as https://github.com/chrislusf/seaweedfs/issues/1697
With master http disabled, you should be able to run master and volume servers with gRPC and JWT.
Please help to verify the fix.

Updated to version 2.63, removed nginx reverse proxy, left HTTP enabled as my clients are using it. Replication now works! Setup is now as described in the original comment. All works for me, weird log entries all gone

@tobiasmuehl Thanks for confirming!
I added a wiki page https://github.com/chrislusf/seaweedfs/wiki/Run-Blob-Storage-on-Public-Internet
Do you want to move your setup to the wiki page as an example?

Updated and added to wiki


Throw error for unreachable Redis instance

Requests hang up when Redis isn't available. We need to fail with a meaningful error right away.

I'm having a few hiccups on my machine at the moment that I'm still sorting through, so I forget if this issue has been addressed or not.

Not yet. I think it will be good to work on this in conjunction with #128.

https://github.com/anvilresearch/connect/commit/faa5942be5776f927be222a9e9babdc393220a7a resolves this.


Remove unused i18n strings

Remove some unused i18n strings left behind from the homepage refactoring
Remove a long gone event from OptionsView

Ping?

Ping?

this won't be relevant now I guess so closing it. Please re-open if needed.


Create a "getting started with Saturn" document

Internal stakeholders need a way into the system so they can view progress as it happens. This includes both Broad and Verily staff. We therefore need a brief how-to document that describes the process of getting set up with a Saturn account.
Saturn on-boarding for try-it-out users at present involves registering in FireCloud. From there, Broad/Verily users should email<EMAIL_ADDRESS>to be given access to try-it-out workspaces. They will also be added to the try-saturn billing project. This allows them to create their own workspaces in FireCloud which can be viewed in Saturn. We should include appropriate warnings to avoid conducting expensive analyses under this billing-project.
Non-Verily/Google users have the option of proceeding to create their own billing-account/project if they wish. Verily customers cannot create billing projects at this time as their security disallows granting the required scope.
Acceptance Criteria:

Document exists and has been approved by Brad Taylor, Geraldine Van der Auwera  and David Glazer
Document has been placed in the wiki of this repo and referenced from the main repo README.md

Add comments here:
https://docs.google.com/document/d/1xIpzsXJKy3dgOlo5MJmxz3QSVZjOn6oSJS-lwyB76JQ/edit


fix config cache clearance via backend

1. Why is this change necessary?
I can't clear the config cache with this gui:

I think this issue was introduced with this commit: 0d7484fc5c74532e022218a36e50c0e0264f3861 was fixed with this 32dc0e3ec0657c6963386397b8774a3b0ac046de and was broken again with this merge commit: 384545c797deaea65209c1f1c4e776265fcfbad2
2. What does this change do, exactly?
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-20510
Please use this issue to track the state of your pull request.

merged with https://github.com/shopware/shopware/commit/92cee2a0114ba7266fcb2e086509b8e88997c91e
thanks @teiling88 :blush: :+1: :tada:


feature/2-post-processing-statistics

Given a set of csv file names, sierra should be able to read all them
in, and:

Average all columns together (except those given in an exception
list), and write the result to a final csv.

Compute the std deviation for each row in each column, and output
that in a second .csv.

OBE. London already did this.


documentation bug solved

"res.locals.user" =>  is not working and gives undefined

"res.app.locals.user" => working fine.

Hi, there are two locals locations. Your change is removing the docs for res.locals, which does exist. Just your example screenshots are expecting one to show up in the other.

Hi, there are two locals locations. Your change is removing the docs for res.locals, which does exist. Just your example screenshots are expecting one to show up in the other.

Will you kindly lead me to how to do it then?

If you put a value in app.locals then you need to access though app.locals, but if instead you place the value in res.locals, then you would be able to retrieve thw value under res.locals.

Understood, thanks for clearing up my confusion. 😊

Is it ok to add this on the doc then?

It is already there; the docs are about how things work, not an endless enumeration of how things do not work. Are you saying there is a section in the docs that state values you set in app.locals are accessible from res.locals?

The doc explains about creating an app.locals and accessing via req.app.locals but I tried to get it through res.locals thinking that it will inherit the object I've assigned into the app.locals. My mistake. But from this mistake, I get to know that it can be accessed through res.app.locals also which is not in the documentation. Now I ended up with the question of using it like this is standard or not.

It should be in there.

The Express application object can be referred from the request object and the response object as req.app, and res.app, respectively.

Finally, I've found it but in another section. But as long as it's standard and mentioned in the doc, I'm good to go with it. Thanks for taking your time and clearing things for me. 🥳🥳🥳


bug in add new customer page under sales module

[x] estimate , sales order , invoice, sales return , delivery challan , retainer invoice , recurring invoice , receipt
[x] add new customer not working -(it showing place of supply field is required)
[x] while selecting tax treatment as NON VAT REGISTERED -place of supply should be Saudi Arabia and it is not editable
[x] while selecting tax treatment as  VAT REGISTERED -place of supply should be Saudi Arabia and it is not editable

issue closed


chore: Add Step Function section to README

What does this PR do?
Adds doc for Step Functions to README, including:

how to instrument Step Functions in TypeScript, Python and Go
how to merge traces with downstream Step Functions or Lambda functions in the three languages
explanation of params
a short explanation of what the construct does
troubleshooting guide for one issue

Motivation

Testing Guidelines

Additional Notes

Types of Changes

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[x] Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

[ ] This PR's description is comprehensive
[ ] This PR contains breaking changes that are documented in the description
[ ] This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
[ ] This PR impacts documentation, and it has been updated (or a ticket has been logged)
[ ] This PR's changes are covered by the automated tests
[ ] This PR collects user input/sensitive content into Datadog

/merge


[BEAM-8869] Exclude system metrics test from legacy runner test suite

Since system metrics aren't available in legacy runners, I disabled them for legacy Flink test suite.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Flink ValidatesRunner

R: @kennknowles Thanks for pointing out the failing test. I fixed it, can you take a look?

Run Java Flink ValidatesRunner

Run Flink ValidatesRunner


fix hard coded breaks ipv6

Signed-off-by: JieJhih<EMAIL_ADDRESS>Fix: #2289

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "ipvs/inet" git@github.com:JieJhih/libnetwork.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

ping @arkodg @selansen @joeabbey PTAL

CI failure doesnt seem related
--- FAIL: TestNetworkDBCRUDMediumCluster (12.32s)
networkdb_test.go:112: Network existence verification failed
networkdb_test.go:112: Network existence verification failed

it seems no d.AddressFamily return by ip_vs
https://git.kernel.org/pub/scm/utils/kernel/ipvsadm/ipvsadm.git/tree/libipvs/ip_vs_nl_policy.c#n31

the ipvs package was moved to a separate repository; https://github.com/moby/ipvs. If you still think this change is relevant, could you open a new PR in that repository?


Use-only files

I want to make sure the process of migrating the ecosystem to @use is as smooth as possible. One aspect of this is lowering the barrier to entry for libraries switching to a @use-friendly API, without any manual namespacing (e.g. exposing a function named repeat() instead of susy-repeat()).
Under the Draft 2 proposal, if a library wants to expose a @use-friendly API, it has three choices:

Delete the old @import-friendly API, which is a breaking change.
Have the two APIs coexist, so that @import users have access to namespaceless names that may conflict with other names.
Have the @use-friendly API use a different URL, which requires awkward constructions like @use "susy-use" as susy.

None of these choices are great. Option 1 is probably the best for the long term, but libraries won't want to break their users which will slow down the adoption of @use.
This could be fixed with the addition of the ability to write a file that's only loaded for @use, but not for @import. It could be as simple as saying that @use checks for the extension .use before checking for the main file. For example:
// _susy.use.scss
@function repeat($args...) {
  // ...
}

// _susy.scss
@use "susy";

@function susy-repeat($args...) {
  @return susy.repeat($args...);
}

I decided to go for @import-only files instead, for reasons outlined in the proposal.


Add inline help tool tips that link to FAQ articles where applicable

How can we improve on the FAQ?  Is it possible to give the user additional contextual information about what they're looking at without dropping them in an FAQ? I think @tdooner really sums it up here.
I'm including some screenshots from the FEC site to illustrate one direction we can take this.
--
https://beta.fec.gov/data/candidate/P00003392/?tab=summary
The little "book" icon represents a glossary term. On Beta FEC, it opens a sidebar so you can see the definition right in context.

--
https://beta.fec.gov/data/candidate/P00003392/?tab=other-spending
An explanation of where the data is coming from.

cc @elinaru

I think the fly-in definitions look-up panel is more than we should tackle right. Inline help tool tips would be more doable. Going to put together a quick mock-up.

Mock-up showing inline help tool tip with link tog FAQ is here: https://invis.io/J48NM1DH2#/190014312_Desktop-Candidate-5-LocalList-Details

@elinaru thanks, looks great.
@sfdoran would you please identify terms and places where additional context text and tooltips might be needed?


Delete some old GPv1 utils, constants, contracts

Companion PR for https://github.com/cowprotocol/cowswap/pull/550
This PR removes some dependencies to the old GPv1, also removes the contracts and some utils.
There's further code that can be removed, this PR doesn't aim to clean it all, but aims to remove the dependency and some obviously deprecated code as a first step.
The code was giving me some errors when using absolute imports, so I ended up using relative since we also were using relative anyways most of the times.

Since this is removing code, it's potentially backwards incompatible.
I suggest doing a major version bump then


reverted commit 21b49e6e7

Jira ticket URL

Just add the ticket number to the end:

https://dfedigital.atlassian.net/browse/TEVA-
reverted commit 21b49e6e7

Review app deployed to https://teaching-vacancies-review-pr-3473.london.cloudapps.digital


file#exists? 总是返回true?

Photo#image.remove!
Photo#image.file.exists? # true
Photo#image.file.send(:bucket).objects[Photo#image.file.path].exists? # false

Did you resolve this somehow? If you found a resolution I'd like to hear it, or at least understand why you closed the issue.


Add 1D DGMulti GaussSBP solver

GaussSBP solvers previously were only implemented in 2D and 3D. This PR adds 1D capabilities (using that sum factorization just reduces to mul! in 1D).

Thanks for the quick review!

Codecov is failing but I would like to see whether CI covers the new code...

Maybe you can push this branch to a branch in the main repo and open a new PR so that we don't have the problem with codecov?

Sure, no problem

Superceded by #1932


Dark Mode cutting into _post Text

I have a small issue in which if your tagline is 2 lines long (wrapped) then the post on screen gets cut in from the left 😢 it only does this when viewing a post in Dark Mode
With 2 line tagline

With single tagline

Hope this makes sense! 👍

I can't reproduce it, are you using the latest version?

Hi Samarsault, I am using the version from your repo following the instructions of adding the following to the _config.yml
remote_theme: samarsault/plainwhite-jekyll
plugins:
  - jekyll-feed

plainwhite:
  name: Chris Sidebotham
  tagline: Cloud Advocate. Microsoft 365 Specialist
  portfolio_image:  "assets/Memoji.png" # the path from the directory of the site to the image to display (no / at the start)
  date_format: "%b %-d, %Y"
  dark_mode: true
  search: true

This only seems to appear when the tagline is 2 rows long e.g more than 25 characters long including spaces

Tried it with your configuration, looks fine.

Ahh, It works fine on the home page - it only does it when you open a post itself

Ah you are right, thanks for pointing that out.
Fixed in https://github.com/samarsault/plainwhite-jekyll/commit/aed01f13025c866b4a4c2b84c33e58c0c4c37aaa.


Icon and Preview images are not correct

The icon should be 90x90px and the preview image should be 175x175px.
Currently there is no preview image at all. I've found that having pixel perfect images will help the download count significantly. The current icon doesn't look like it represents a serious extension. If you would like, I can help with some good images?

Thanks for pointing this out.
I am definitely open to replacing the icon and adding a preview image and would welcome any contributions.

Merged new icons in PR #8
Thanks!!


Change default tab in inventory-persona view

When showing the inventory, there is a box for each persona. Such a box has 'Detail', 'Posts', Buddies', 'Suggestions' tabs. By default, we show the 'Detail' tab. We should show the 'Posts' tab, as this one holds the most relevant information.

please adapt this as follows:

look at the parsed child-elements within atom-info.jsx (WonAtomHeaderBig/WonAtomMenu/WonAtomContent/(maybe) FooterElement)

and refactor in a way that there are sep. Components for individual the following individual UseCases (Persona & OtherAtom), that way we can individually style the Atom-Info page for each useCase

Hint: Look at atom-card.jsx and the subfolder cards/ to see how it is done for card Views already


User config

Added parsing preparation for routes, navigationFallback. responseOverrides, globalHeaders and mimeTypes nodes
Implemented response overrides redirection
Added new useConfig type to wrap all config file nodes
Fixed bug where the cli crashes on empty token
Fixed redirection loop bug

Hey @itpropro thank you for opening this PR 🎉
Would you mind detailing what issue you're addressing? I can't find an open issue related to this PR?
Thank you.

Hey @itpropro thank you for opening this PR 🎉
Would you mind detailing what issue you're addressing? I can't find an open issue related to this PR?
Thank you.

Hey,
I am actually developing on a few SWA applications and was trying to emulate functionality from the service. Where the emulator broke, I applied a fix. If you want, I can create separate issues for each of the problems I had.
The main issues were:

Emulator crashed when there was no cookie existent ()
Response overrides were not working
Redirection was reclusively calling itself (RegEx was checking for .auth in the whole string not only at the beginning)

I added comments to all changes that I made in this PR, if you want me to create separate issues for each, I can do that as well.

Thank you @itpropro.
Yes, would you mind creating separate issues with their corresponding PRs? We are tracking individual issues to avoid having different people working on the same issue. You can find our contributing guidelines here.
Thank you again for trying it the CLI. We really appreciate it ☺

Hey @manekinekko,
no problem! Can you merge your PR (https://github.com/Azure/static-web-apps-cli/pull/86) then I can create issues for the things I have changed :)

I am sorry! That PR is not ready yet. I need to address Anthony's (and your) review first. Just make sure your rebase your changes on top of that branch.
It should be ready for merge before end of next week.

Hey @itpropro thank you again for creating this PR. I'd suggest we close it in favor of #86
We'd also love to have your feedback on #86 in case you have the chance to try it out.

#86 has been merged. Closing this PR.

#86 looks great, this one was just the result of me getting my demos to work. I just had no more time over the last days, but you implemented all I tried to do and much more 👍


Create dataset samanantar_indic_parallel_corpora

uid: samanantar_indic_parallel_corpora
type: processed
description:

name: Samanantar Indic Parallel Corpora
description: Samanantar is the largest publicly available parallel corpora collection for Indic languages: Assamese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya, Punjabi, Tamil, Telugu. The corpus has 49.6M sentence pairs between English to Indian Languages.
homepage: https://indicnlp.ai4bharat.org/samanantar/
validated: True

languages:

language_names:

Indic
Assamese
Bengali
Gujarati
Hindi
Kannada
Malayalam
Marathi
Odia
Punjabi
Tamil
Telugu

language_comments:
language_locations:

Southern Asia
India

validated: False

custodian:

name: AI4Bharat
in_catalogue:
type: AI4Bharat is a voluntary community founded by faculty members at the Computer Science and Engineering department at Indian Institute of Technology, Madras.
location: India
contact_name: Anoop Kunchukuttan; Mitesh Khapra; Pratyush Kumar; Divyanshu Kakwani
contact_email<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>contact_submitter: True
additional: https://ai4bharat.org/
validated: False

availability:

procurement:

for_download: Yes - it has a direct download link or links
download_url: https://indicnlp.ai4bharat.org/samanantar/
download_email:

licensing:

has_licenses: Yes
license_text:
license_properties:

non-commercial use

license_list:

cc-by-nc-4.0: Creative Commons Attribution Non Commercial 4.0 International

pii:

has_pii: Yes
generic_pii_likely: somewhat likely
generic_pii_list:

names
dates (birth, death, etc.)
email addresses

numeric_pii_likely: somewhat likely
numeric_pii_list:

vehicle identifiers and serial numbers
telephone numbers
fax numbers

sensitive_pii_likely: somewhat likely
sensitive_pii_list:

political opinions
religious or philosophical beliefs

no_pii_justification_class:
no_pii_justification_text:

validated: False

processed_from_primary:

from_primary: Taken from primary source
primary_availability: Yes - their documentation/homepage/description is available
primary_license: Yes - the dataset curators have obtained consent from the source material owners
primary_types:

web | wiki
web | news or magazine website
news articles
web | official website
web | content repository, archive, or collection
podcasts
movies and documentaries
other

validated: False
from_primary_entries:

media:

category:

text

text_format:

.TXT

audiovisual_format:
image_format:
database_format:

.ZIP

text_is_transcribed: No
instance_type: Sentence pairs.
instance_count: 1M<n<1B
instance_size: n<10
validated: False

fname: samanantar_indic_parallel_corpora.json

DONE: https://huggingface.co/datasets/ai4bharat/samanantar

https://huggingface.co/datasets/bigscience-catalogue-lm-data/lm_indic-as_samanantar


Nexus Mod Checker not listed in the Readme

Like the title says, the Readme for PlayniteScriptsExtensions Github have no entry for the Nexus Mod Checker extension

Will add in the future along with all extensions.


ignore comment lines

$ cat main.go
package main

func main() {
        i := 0
        //
        //
        //
        //
        //
        //
        //
        //
        //
        //
        _ = i
}

expected: no error
actual:
$ golangci-lint run . --enable varnamelen
main.go:4:2: variable name 'i' is too short for the scope of its usage (varnamelen)
        i := 0
        ^

I confirmed that this reproduces on version 0.5.0

This is working as intended: It reports the usage of a short variable name over a longer span of source lines. The contents of the lines does not matter.


It appears to be blocked by the Youtube operating policy.

Please tick all applicable boxes.

[ ✔ ] I am using Python 3.5.3 or higher (run python --version on the command line)
[ ✔ ] I have followed the official guides to install the bot for my system
[ ✔ ] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[ ✔ ] The latest master version (release-260419)
[  ] The latest review version

What type of issue are you creating?

[  ] Bug
[  ] Feature request
[ ✔ ] Question

Description of issue
This link is a log of the remaining Music Bots on my server.
Please check if there is any problem.
Steps to reproduce

I used the play command but the bot didn't send any messages.

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
musicbot.log

Issue is related to discord.py
Information regarding this issue can be found in the discord, and is not something we are able to resolve until discord.py is updated with the fix.


Using bayeux to organize numpyro models and access features

@dylanhmorris has put me onto bayeux. I think this would be a useful addition.
bayeux has some handy features:

A from_numpyro method that coverts a numpyro model into a bayeux model object.
bayeux models have a debug mode https://jax-ml.github.io/bayeux/debug_mode/ which covers #197 and makes #199 obsolete.
bayeux models can be cast to other libraries, e.g. optimistix which can find their MAP values (which can be handy).

tagging this issue as wontfix for now, I think more investment is needed to unlock the usefulness of the bayeux debugging. Unfortunately there are many other high priority items on the docket as well.


ci(semantic): fix pkgRoot path

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


dotnet tool install dotnet-reportgenerator-globaltool

see issue https://github.com/smanders/externpro/issues/390
the --version 5.1.26 is the locked-down version that supports .net3.1 (according to @camerbam)

completed with commit to dev branch referenced above


fix(explore): CUSTOM SQL tab should automatically update

SUMMARY

Before that, the value in the ace editor will only be re-rendered when focus or leaving the popup. It has been updated to the latest value, but it is not rendered. What we need to do is to resize it once when switching to the tab page（trigger componentDidUpdate method by passing new props）, and the value will be automatically synchronized at this time.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before

after

TEST PLAN

ADDITIONAL INFORMATION

[x] Has associated issue:  Fixes #12512
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up


Feature request: rubocop for syntastic

Please)

I had tried including it by default, but I think it couldn't work with lint at the time so I ignored it. I don't use ruby, so I'm closing this issue, but I'll merge any PR that would provide support for rubocop.

What the problem with lint?

You need to be able to format the output of errors printed by the linter so that the :lint command can parse, I think I found at the time that you couldn't do that with rubocop.

Difference between formats shellcheck that syntastic use and rubocop
Are you saying that lint cant consume CRW error codes, but only note, error, warning?
Maybe its possible to use wrapper script? Plug
But it doesnt work, are syntastic require RELATIVE filepath?


Notify when transcluded content has changed

Is your feature request related to a problem? Please describe.
Everyone loves transclusions, and the fact that they are immutable is a plus compared to regular hypertext systems. However, many users also want to be notified if the content they have transcluded has suffered any change ever since. How we visualize those changes is a whole new issue, but at the very least we could notify, or make it explicit some content has changed.
Describe the solution you'd like
If the transcluded content has an asterisk on top, that indicates that it has changed. In order for the frontend to notice, it needs to periodically get all transcluded documents without versions and see if the last version equals the version on the document. If not, there are more versions (of the same author) and we could then insert the asterisk

the only way I can do this is if we have a way to get always the latest version of a document.
right how I believe if I don't pass a version to getPublication it will return the latest, but not sure if that will stay this way in the future. what would be better is to get a new parameter in the Publication proto:
message Publication {
  string version = 1;
  Document document = 2;
  boolean isLatest = 3;
}

wdyt @burdiyan ? do you have a better option?

We used to have latest_version field in the publication, but I removed it because it was not working properly :)
I totally understand the point of this issue, but don't know the right solution yet. Maybe the idea of block revisions used in https://github.com/mintterteam/mintter/pull/1249 could help in future. This is also tied a bit the expected breaking change, so I'll take this into account as well.


Review

Trixi.jl is a very impressive piece of software, and I think the paper does a very great job of introducing and highlighting its features as a software package given the page constraints. My main comments:

the paper states "Trixi.jl also handles non-conservative PDE terms as in the shallow water equations”. I was bit confused by this at first as Trixi uses the conservative formulation of the SWE (https://trixi-framework.github.io/Trixi.jl/stable/reference-trixi/#Trixi.ShallowWaterEquations2D) as opposed to the so-called "vector invariant" form of the SWE. This appears to be referring to a source term that involves a spatial gradient. Could this be expressed in a slightly different way?

I realise such cross-language comparisons are difficult, but given the familiarity of the authors with both codebases, I would have appreciated any insight the authors might have as to the reason for the performance advantage Trixi appears to have over Fluxo (e.g. more cache-friendly memory layout, better use of SIMD or FMA operations, or utilizing different libraries?)

Thank you very much for your review and your kind words, @simonbyrne! I tried to clarify the aspect of nonconservative terms in #23.
A thorough analysis of reasons for these performance differences would require a huge amount of work, basically starting from scratch in each framework and adding pieces step-by-step, monitoring the performance along the way. Thus, I don't think this is suitable for this paper. However, we will be happy to share any conjectures and insights we have on this.

A significant difference comes from some optimizations we developed in Trixi.jl and ported to FLUXO later. These are described in a recent preprint.
Trixi.jl uses slightly different versions of computationally intensive kernels than FLUXO. I expect this to be the next big impact.
Trixi.jl stores slightly less information in RAM and re-computes some terms, increasing performance in memory-bound parts.
Some special functions appear to be faster in Julia, e.g., computing sincos instead of calling sin and cos independently in FORTRAN.

@simonbyrne We merged #23 and improved the paper based on your comments above. Please let me know whether the revised version looks good to you.

I don't think any further analysis is required, but I do think it would be helpful to include a sentence or two in the discussion of section 3 summarizing some of this. Otherwise it is a bit odd to have the benchmark experiment and results which show Trixi is faster than Fluxo, but no discussion as to why that might be the case (other than the comment "Trixi.jl owes its performance optimizations in part to the code introspection and profiling tools available in Julia").
One additional thing I found as well in section 4.1.1:

A minor exception is due to Julia being built on top of LLVM, which does not perform the same optimizations as other C/C++/Fortran compilers. In particular, LLVM does not use fused multiply-add (FMA) instructions by default, while GCC and Intel compilers do

This isn't quite correct. This specific optimization is usually termed "FMA contraction", and is supported in the LLVM backend, but typically not enabled by default in frontends as it breaks IEEE semantics. For example, Clang has the -ffp-contract option, and it is also enabled by "fastmath" annotations in most languages (including Julia). In fact, the muladd function and @muladd macro are just annotations to enable this optimization locally.

Thank you very much for your review, @simonbyrne. I improved the manuscript based on your comments in #24.

Fortran itself has looser semantics, most compilers enable it by default.

In my experience, this is not only true for Fortran but also for compilers such as GCC and the Intel ones for other languages including C, e.g., in this example.

Thanks again for your constructive criticism, @simonbyrne. We merged PR #24 improving the manuscript based on your comments. Please let me know whether everything looks good to you.

@simonbyrne Can we close this issue or is there anything else you would like to see changed?

No, this can be closed.
Thank you for the paper, it was a great read.

Well, thank you for your nice review and your help in improving our manuscript.


Feature Request: Support system-style questions

When defining a new skill in the pattern of question-context-answer it seems that ilab will generate all of those when it creates the augmented dataset. The implication is that they are all dynamically generated.
I would like to propose that ilab will support an additional entry in the skill's yaml allowing for a "system"-style which will preface the question when generating the answer. This part should be static and need not be generated for each new entry. Most likely, it should be static for the entire skill, hence it should reside in the top level of the yaml with the "task_description".
I think that this capability is something that may be required by additional skills as it follows, the now so common, system/user pattern and I assume others would require that too.

Please open up a proposal is the https://github.com/instructlab/dev-docs repo so we can have the discussion there.

Agreed that the proposal should be done elsewhere, but offering some quick context - part of the reason the current procedure does not expose the "system" part of the prompt is that the underlying LLM synthetic data generation (SDG) pipeline is using the "system" section to place the prompt for SDG.
See Figure 3 in the LAB paper here for an example.


events.json

Support and document a simple json in the root directory where all events the component can broadcast are specified.
Very useful for the registry-workmen and the registry.

The registry now listen to every snippet that contains //@biojs-instance=<variable> and display the event console on the first received event.


Multiple coloumns/rows total

Is there a way to  display  both row total and column totals in the same Pivot ?
I think we might have to code a new aggregator for that but any pointers will help as Im a beginner .

I'm confused... by default both row and column totals are displayed.


feat: MochaJS test framework should be added as a library

Apart from Jasmine, Mocha is an equally mature testing framework which should be added to JS Bin as it would encourage people to write more tests against their code

I don't manage these. People know how to include script tags, the ones in
the library drop down are just a convenience. If you want to send a PR,
then please do.
On Mon, 27 Jul 2015 15:58 Jasdeep Khalsa<EMAIL_ADDRESS>wrote:

Apart from Jasmine <#msg-f:1507861865372734579_2497>, Mocha
http://mochajs.org is an equally mature testing framework which should
be added to JS Bin as it would encourage people to write more tests against
their code
—
Reply to this email directly or view it on GitHub
https://github.com/jsbin/jsbin/issues/2498.


chore: use setValue for improved input key send

Did you run the ios tests locally?

Yeah. I ran the tests on both ios and android locally and it passed. The experience was better than before.
I used this doc as reference https://webdriver.io/docs/api/element/addValue


Update dependency typeorm to v0.2.41

This PR contains the following updates:

Package
Type
Update
Change

typeorm
dependencies
patch
0.2.32 -> 0.2.41

typeorm
devDependencies
patch
0.2.32 -> 0.2.41

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: packages/api2/pnpm-lock.yaml
npm WARN using --force I sure hope you know what you are doing.
rm: cannot remove '/root/.cache': Permission denied

File name: pnpm-lock.yaml
npm WARN using --force I sure hope you know what you are doing.
rm: cannot remove '/root/.cache': Permission denied


<IP_ADDRESS> Status NotSupported in JF 10.9.1

<IP_ADDRESS> shows status as 'Superceded' and <IP_ADDRESS> installs, when status shows 'Restart', settings are available as expected.
However, status will change on restart Status to 'NotSupported' and there are no settings only 'Uninstall' option.
No other system changes aside from JF update, <IP_ADDRESS> stopped working, and <IP_ADDRESS> appeared as part of Plugin update scheduled task.

Try updating to Jellyfin 10.9.2, it was released shortly after 10.9.1. It is the only version I have tested this plugin with currently.
The change that broke v<IP_ADDRESS> of this plugin was introduced in 10.9.0. I assumed that <IP_ADDRESS> would be compatible with >10.9. I'm not sure why this is not working with 10.9.1 and a fix for that may take a little while.

yes this 100% resolved issue, many thanks, and apologies - I literally tried everything else, removed repository re-added, disabled all other plugins etc. I didn't realise there was a 10.9.2

Thats good to hear, and there's no need for apologies. This is a legitimate issue and I'm glad you didn't need to wait on me for a fix. I wont go into too much detail but I compiled the new version of the plugin against binaries that were not compatible with 10.9.0 and 10.9.1 and the manifest does not reflect that so I'll need to update that at some point. Until then, this thread may help anyone who ran into the same problem. I'm happy that people are using this plugin and I hope you enjoy it.

Absolutely - very happy with it, the only thing that would make it better for my purposes is if, similar to the ratings filter, it could filter to trailers for movies of same decade, or to only movies within ‘x’ months of release date, or same genre. I know I’m being hyper specific but would love to just see 80’s horror trailers if I was doing a Nightmare on Elm street marathon for example.

Absolutely - very happy with it, the only thing that would make it better for my purposes is if, similar to the ratings filter, it could filter to trailers for movies of same decade, or to only movies within ‘x’ months of release date, or same genre. I know I’m being hyper specific but would love to just see 80’s horror trailers if I was doing a Nightmare on Elm street marathon for example.

That type of configuration was always the ultimate goal, for both Pre-Rolls and Trailers. I had a few ideas how I would approach it but providing that sort of configuration in an intuitive way can be tough. I had to do some extra work to provide more stable support for Pre-Roll intros so I took a first pass at expanding configuration in the newest release.
To get the type of behavior you are looking for, you should be able to use the new "Selection Rules" section of the trailers config. That will let you match by "Genre" and "Year" or "Genre" and "Decade" when the plugin is selecting trailers. I added more details in the project's readme in regards to all the new features.


create 'utility network' category

This PR creates a new category utility network and moves the sample trace a utility network there. Once merged, I'll also modify the configure subnetwork trace sample currently in PR to be in this category as well.
@Rachael-E would you mind doing a first review? Thanks!

@tschie could you review please? Thanks!


Auto Play is not working when scroll the seen videos from the list

First time when we scroll down then all videos are played but when I scroll up then it will not working
How to resolve it?
Do you any suggestion for me?

autoplay means that the video will automatically start playing as soon as it is ready, nothing more.


Use the atom-workspace tag instead of the workspace class.

In keymaps/language-sketchplugin.cson: Use the atom-workspace tag instead of the workspace class.

:+1:


ngbootstrap datepicker Range Selection - .isRange not defined  TYPO

import { NgbCalendar, NgbDate } from 'node_modules/@ng-bootstrap/ng-bootstrap';
package.json:
"@ng-bootstrap/ng-bootstrap": "^3.0.0",
"bootstrap": "^4.1.3",
<ngb-datepicker #dp (select)="onDateSelection($event)" [displayMonths]="2" [dayTemplate]="t" outsideDays="hidden">
<ng-template #t let-date let-focused="focused">

{{ date.day }}

in the component:
isRange(date: NgbDate) {
return date.equals(this.fromDate) || date.equals(this.toDate) || this.isInside(date) || this.isHovered(date);
}
debug console:
cannot read property  'equals' of undefined - .isRange.

Update:
I found where the problem was:
it was in the span inside the ng-template:
{{ date.day }}

Example of the range selection
<ngb-datepicker #dp (select)="onDateSelection($event)" [displayMonths]="2" [dayTemplate]="t" outsideDays="hidden">

<ng-template #t let-date let-focused="focused">

{{ date.day }}

From: {{ fromDate | json }}
To: {{ toDate | json }}
PLEASE save others hours/days of wasted development time by fixing typos.

Further update:
this will only compile without debug console errors IF the square brackets are removed from all the class names in the span element:
<ngb-datepicker #dp (select)="onDateSelection($event)" [displayMonths]="2" [dayTemplate]="t" outsideDays="hidden">
<ng-template #t let-date let-focused="focused">

{{ date | json }}

There is still an issue with the layout and what should really go in the {{ }} in the span!
But bewarned, this link:
https://ng-bootstrap.github.io/#/components/datepicker/examples
has wasted me over a day of development time in Angular Six.

I am... a bit confused. It looks to me like this issue really isn't related to TypeDoc. Did you mean to open an issue over at the ng-bootstrap repo? https://github.com/ng-bootstrap/ng-bootstrap


Error for set up hourly schedule for snapshot

Url: http://cs-ui-ci.z1.netpoint-dc.com:8888/master/storage
User: develop
Steps:

Login by develop
Go to Storage, for Ready select Set up Schedule in action list
Fill values for Hourly: 50 minute, random Time zone, random Stored snapshots
Press add
Actual result: error appears
Expected result: schedule created
Severity: Major
Please, see the attach.

Connected feature ID: storage_snap_schedule

@zolotyx Error is reproduced in current Cloudstack version, and not reproduced in Cloudstack simulator

HeyRoach/722-localized-error-message-for-hourly-schedule
To test: storage_snap_schedule

Tested on HeyRoach/722-localized-error-message-for-hourly-schedule/


Password input field

My api has an endpoint to authenticate users and get a token via authentication of email and password. I know the swagger spec supports specifying a password format and swagger-ui will turn the input into a password. However, I'm not sure if this is a swagger 2.0 spec feature or not.
is it possible to specify in grape-swagger that a parameter is a password parameter yielding a password input in swagger-ui?

Are you saying that's a swagger 2 feature? There's a swagger 2 branch ATM, you could definitely contribute password support change into it.

I can't find reference to it in the 1.2 spec, so I'm guessing its swagger 2 feature. We're still on 1.2 unfortunately and I won't be able to dev and test on it at this time.

I've labelled this as a new feature.


Test Parameterization

Are you requesting a feature or reporting a bug?
Feature
What is the current behavior?
Have tried to find a way to run the same test with different parameters.
In a similar concept that is shown in the older version of the API:
https://testcafe.devexpress.com/Documentation/API_Reference/Test_Fixture_API/Common_Concepts/#Test_Parameterization
What is the expected behavior?
Would be nice if you could explain if there is a way to have a parameter file like JSON to make this happen. Better than having 30+ similar test cases in one test JS file.
Specify your

operating system: Windows 10
testcafe version: 0.15.4
node.js version: 8.1

Hi, now you can generate tests by simply using language features, e.g.:
const testCases = [
    { name: 'button1', selector: '#btn1' },
    { name: 'button2', selector: '#btn2' }
];

for (const c of testCases) {
    test(`Click ${c.name}`, async t => {
         await t.click(c.selector);
    });
}

Thanks for rapid answer.
I did try a similar approach but I declared testCases as a var:
var testCases = [
    { name: 'button1', selector: '#btn1' },
    { name: 'button2', selector: '#btn2' }
];

for (var c of testCases) {
    test('Test ' + c.name, async t => {
         await t.click(c.selector);
    });
}

the value of c.selector is always the last of the array. I guess that is because I don't use const?

Yes. const and let are block scoped, whereas var is function scoped.

is it possible to provide hooks similar to testNG like @test(dataprovider="abc")

@pkundu06, IMHO the solution proposed in this comment is very idiomatic for JS.


Redis auth problem

I am using latest version and I have problem working with redis with password. The solution in issue https://github.com/mher/node-celery/issues/18 is not working. I worked around the problem and came with a solution. In order to fix the issue you have to change celery.js as following
Line 137
self.redis = redis.createClient(purl.port, purl.hostname, {'auth_pass': purl.auth.split(':')[1]});
you have to add {'auth_pass': purl.auth.split(':')[1]}

Fixed by #75


Checking out to master when branch unexistant

Careful, this will break CentOS 6.x, with has git 1.7.x and is not EOL till 2010, you can move this check earlier:
https://github.com/RobertCNelson/stable-kernel/blob/master/scripts/git.sh#L143-L145


Dates are formatted badly

The date format appears to be hardcoded to American format, giving a bad experience to others.
https://github.com/Chia-Network/chia-blockchain-gui/blob/0b00e701b1efe74e1ae475ab06f32b4153a2534f/src/util/utils.js#L5

We already started to use momentjs for dates. Mentioned functionality is deprecated and will be removed soon

This is now fixed in Chia 1.3. Closing this issue.


use paket3 to streamline build process

Things in paket-files are tracked, you've gitignored them later but since in earlier commit there were added, you have to remove them.

Also maybe try using this convention - https://github.com/fsprojects/Paket/pull/1353#issuecomment-169735534 - for adding output dlls from Helpers.

Or we can create local nupkg file in Helpers build process just for sake of easier adding it to other projects. http://fsprojects.github.io/Paket/git-dependencies.html#Using-Git-repositories-as-NuGet-source

I don't think the http convention makes it any easier you still have to reference the paths inside of paket-files so I'm not sure what the benefit is there.
I thought the whole point of using the git dependency was so we didn't have to create a nuget package, if we're making a nuget package what's the benefit of using a git dependency anyway? Plus even with a nuget package we'll still have to point into packages instead of paket-files and reference all the dlls individually, so it just adds some more boilerplate on the ionide-helpers side and another line or two in this repo without making anything simpler, so I don't see the benefit of that either.
Unless I'm missing something?


Publis hotrod only when TRAVIS_SECURE_ENV_VARS is true

Fixes: https://travis-ci.org/jaegertracing/jaeger/jobs/356860777#L785
Signed-off-by: Pavol Loffay<EMAIL_ADDRESS>

Coverage remained the same at 100.0% when pulling 67c8af63abbe2aa9c2be6eb89731108419b91137 on pavolloffay:publish-hotrod-when-travis-secure into 5c09726c52401b0794bbb930111b5390e32c2ce1 on jaegertracing:master.


Prepare doc with the makefiles architecture

Description
Changes proposed in this pull request:

prepare doc with the makefiles architecture

Related issue(s)

https://github.com/kyma-project/serverless-manager/issues/67

/test all


Make KIND_CONFIG_PATH respect user provided path

This PR makes KIND_CONFIG_PATH respect the path that the user provides. This is in correlation with issue

If the custom path is provided then we have to make sure it follows the dir structure like <path_to_config>/manifests and must have kind.yml and local-registry.yml present inside manifests. Unless we don't want to make this static. @sthaha Wdyt?


Specify an output directory

It would be a useful enhancement to have some kind of --outdir parameter to specify an output directory, and the packages written there.
This makes sense so git, ide's and other tools can be configured to ignore this.

@dannystaple Check out the docs for the CLI
You can use --out to specify the output directory.
https://github.com/electron-userland/electron-packager/blob/master/usage.txt#L50
Or if you are using the JS API you can use the out property
https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#out

Took me a while to find this. I, like most people, am quite lazy and usually just CTRL+F to find the option. Maybe we could sprinkle in "directory" and/or "output" or even "destination" into that part of the document? Right now none of those words trigger and you'd have to find it from a ticket like this due to the keywords, or, actually being forced to read (gasp).

The word "output" does exist exactly once in the API docs, in the docs right below the out parameter. The word "directory" is in the description of the out parameter twice.
That being said, it is a fair point that the documentation for out could be better, and I would welcome someone submitting a PR to reword it (and also add some explanation that the out parameter becomes part of the ignored directories, if it's not the same as the application directory).

Right @malept  I see. Yes it does exist, however I suppose the problem is just that it's under a different option. Plus the formatting is not very easy to read. While that's not the main reason why I didn't find this option, it did contribute. Also note that this is coming from a relatively new user, so I may not be the only person who may encounter the same difficulty.


load-theme is called twice when ModeChanged is signaled

This leads to a theme transition that isn't very smooth. I have no idea what might be
causing this, but a peek into Darkman's source code could be helpful.

The only difference I noticed is that Emacs is getting a signal from DBus of a method-call and then another signal of a method-return. :thinking:

I found a way to deal with this issue by ussing dbus-register-monitor to monitor a specific signal call instead dbus-register-signal which handles all kinds of signals. The bad thing is that requires Emacs 28.1 which is a higher version but I don't know what you think about giving greater compatibility vs. being feature-centric.
I attached a patch if you want to check it. Last thing I want to ask you is if there is a way to ignore some arguments on darkman--mode-changed-signal-handler called because now the function will receive several new info with this format:
* darkman--mode-changed-signal-handler("nl.whynothugo.darkman" "Mode" ("light))

But we want just the last string list which includes the new darkman mode.
darkman-dbus.patch.zip

Nice. It's a bit late now so I will send a PR tomorrow to polish the code. :smile:

Great! And please consider marking the relevant tasks as done in the TODO.org file along with your PR :)


Add an additional new cluster to in-cluster installation

I can't add an additional new cluster to the in-cluster installation.
[ 1 paragraph concisely describing the bug ]
no impact, just would like to clarify an ability to add an additional cluster to UI with an in-cluster installation model.
[ 1 sentence detailing the impact this bug is creating for you ]
no impact

Set-up: headlamp:latest

Task: the ability to add a new cluster to in-cluster app

Action(s):
a. installed as mentioned in instruction
b. headlamp:latest
c. Kubernetes - 1.18.15
d. kubeconfig conteins two kubernetes clusters

Error: no error

Expected behavior
the ability to add a new cluster to the in-cluster installation.

Hi @zukko78 , can you clarify whether you were expecting to be able to add a new cluster to an Headlamp deployment (already running in some cluster), or whether Headlamp is only picking up 1 of the 2 clusters you have currently configured?

Hi @joaquimrocha I'm expecting that I have the ability to add a new cluster and use Headlamp like a global management system if I understood correctly description.

@zukko78 , I understand you expect to be able to add a new cluster from the UI in an already running Headlamp deployment. This is not possible. Currently Headlamp picks the clusters either from the kube config file or the in-cluster configuration, but there's no option to add a cluster that's not previously configured. It's in our plans though.

Hi @joaquimrocha Thank you for the description! Will use it as UI, it's very powerful.


pydirectinput -> pyautogui ?

I realise PyDirectInput is nice, but it makes it difficult to make it multiplatform. Is it possible to look at an alternative? pyautogui and some if statements to deal with Windows (and then use pydirectinput for Win only??)

Hey @willwade , thanks for checking in on this.
To enable mouse and keyboard control within our Python application, we utilize two libraries: PyAutoGUI for mouse control and PyDirectInput for keyboard control. PyAutoGUI is chosen for its robust mouse control capabilities, allowing us to simulate mouse movements, clicks, and other actions. On the other hand, we leverage PyDirectInput for keyboard control as it offers enhanced compatibility with various applications, including games and those relying on DirectX.
You can read more about the technologies we leveraged and why here: https://developers.googleblog.com/2023/06/project-gameface.html

Let us know what you think, and we'd love to hear your feedback!

@avneetgoogle  - I get that - but I'm sure I'm looking badly - I cant see lines in the code that really leverage directx which couldnt be done by pynput (NB: I think using pyAutoGui is causing some headaches https://github.com/google/project-gameface/issues/5#issuecomment-1571675474) - I'm sure I'm missing something. So if so to make this multplatform we just need to do some IF statements to have diff libraries


Fix deprecations (for Julia v1.0)

These seem to be the required changes to get the package to work on 1.0.

Thanks! To get tests to pass I think we need to change this:
https://github.com/jonathanBieler/SimpleDirectMediaLayer.jl/blob/master/test/runtests.jl#L3
and also change the travis script a bit (I'll look into it).

I'm pretty sure the only things you'll need to change for travis are adding julia: 0.7 and julia 1.0 as separate targets, and changing the coverage line:
https://github.com/jonathanBieler/SimpleDirectMediaLayer.jl/blob/master/.travis.yml#L34
to call using Pkg for v0.7+:
    - julia -e '(if (VERSION >= v"0.7-") using Pkg; end); cd(Pkg.dir("SimpleDirectMediaLayer")); Pkg.add("SimpleDirectMediaLayer"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

And you can change using Base.Test to using Compat; using Compat.Test! :)

See #25


Exit terminal properly back to current buffer

Produce steps: gvim8 patch 1-1358 / windows 10, compiled with +terminal.

gvim --clean
open an arbitrary file
type :terminal
type exit

Result: terminal window buffer still exist after filed exit command. Have to manually type bdelete to back to previous buffer.
Expected result: after type exit, terminal buffer should be killed and back to previous buffer.

Try :terminal ++close.

Is there any option to make default?

I don't think so. But you can define your own command:
:command! -nargs=* Terminal :terminal ++close

and maybe (untested):
:cnoreabbrev terminal Terminal

please ask user questions on the vim-use ml or vi.stackexchange.com.


Allow amplify mock to work without using amplify init for CI

Is your feature request related to a problem? Please describe.
amplify mock api is amazing, I use it with e2e tests to test apps without relying on the network.
However, it requires the project to have run amplify init before using it which relies on the network and on creating AWS resources.
On a local machine, this is not a problem and it makes sense, but for CI, running amplify init on every commit would make tests take forever and would create too many un-necessary AWS resources (IAM roles, CloudFormation templates ...).
Describe the solution you'd like
I can think of two possible solutions for this :

When running amplify mock api without amplify init, ask the user for the missing data needed to mock the API. Or add cli flags to amplify mock api allowing the user to provide the required data
Add an option to run a minimal amplify init that sets up the project on the machine without creating anything on the cloud.

Is there an easier way to run mock api on CI that I'm missing ?

Hi @rakannimer 👋,We would like to extend a sincere apology for the delay, and we would also like to update you on the improvements we are making to Amplify that may be of interest to you. Our team is actively working on enhancing the performance of iterative deployment, which has the potential to decrease the overall deployment time.


ENHANCEMENT Declare exposed folders necessary for public webroot

Required for https://github.com/silverstripe/silverstripe-framework/issues/7419, but can be merged early since it's valid even by itself.
When running composer vendor-expose

does this require the support-themes branch merged for vendor-plugin?

For it to work, yes, but it doesn't hurt to declare the exposes now.

ok, vendor-plugin bjorked for me with the support-themes branch, so I'm not sure what I'm missing there :P

Don't use the support-themes branch. It's not the right one. It's this one https://github.com/open-sausages/vendor-plugin/tree/pulls/1/throwing-a-public


PostgreSQLPrefsInitialCreate.sql primary key collisions

When using PostgreSQLPrefsInitialCreate.sql, the hibernate_sequence starts at 1.  When it loads the default app components for the administration app, they have hardcoded 186-195 identifiers.  Whenever hibernate_sequence overlaps those, the objects will fail to create with hibernate primary key collision errors.
I locally fixed my postgresql script by changing the hardcoded id's to nextval('hiberate_sequence')

Your have a similar problem with the Oracle script also.

And mysql... for some reason SQL Server doesn't have the problem.

What are you doing to see this error consistently? We've had a hard time pinpointing it in MySql.

The upgrade scripts are resetting "hibernate_sequence" to 200.  This should only be happening on the initial creation scripts.  Resetting it for an existing database causes collisions.

Got it. Thanks!

On Aug 27, 2015, at 7:06 AM, qotho<EMAIL_ADDRESS>wrote:
The upgrade scripts are resetting "hibernate_sequence" to 200. This should only be happening on the initial creation scripts. Resetting it for an existing database causes collisions.
—
Reply to this email directly or view it on GitHub https://github.com/ozoneplatform/owf-framework/issues/53#issuecomment-135386187.


Fix: Issue 77 - Return Stats When Specifying Week/Date

Previously, only season stats would be returning for a player regardless if someone enters a week or date as a second argument.
The request string needs to specify what type of argument it is sending, and the stats method was not specifying that type. I updated playerResource.mjs to include an if/else statement that actually exists on the teamResource.mjs file and works the exact same.

Declined as it's been merged in PR #90


Added travisci build

xit'ed failing test
sleep 15 is still flacky, we will have to find a nicer solution

Maybe we can replace the sleep 15 in travis.yml with
until $(curl --output /dev/null --silent --head --fail http://localhost:3000/api/v1/info); do
    printf '.'
    sleep 1
done

This will create a loop to wait for the rocket server response

@qeesung agreed
With the new code I'll better put the "before-install" part in a shell script then - this way it won't be so much code in a yml file and can be tested locally.

In the yaml file, you can use "|"  symbol to write multi lines
for example
before_install:
- |
    declare -i max=0
    until $(curl --output /dev/null --silent --head --fail http://localhost:3000/api/v1/info); do
        printf '.'
        sleep 1
    done

you can take a try

Good to know - yet I think I still prefer the script-file. With this I can ./test/setup-testenv.sh && mocha and  have the same result as travis.
Putting this into package.json's test-profile would allow for a coherent testing over any ci/cd environment. What are your thoughts?

Ok! I will merge the request


build: don't link if we have undefined symbol

The kernel link successfully even when there is undefined symbol, this shouldn't be allowed since no dynamic linkage happens against the kernel.

It was happening because of the linker's gc. Fixed by disabling the gc when CONFIG_DEBUG is set.


Cannot resize partition automatically in 0.7.1

RancherOS Version: v0.7.1
Where are you running RancherOS? Vmware vCloud.
Adding resize_device: /dev/sdb in cloud config doesn't resize my partition.
[root@node-01 ~]# system-docker logs -t cloud-init-execute
time="2016-11-22T17:54:57Z" level=info msg="Running cloud-init-execute: pre-console=true, console=false"
time="2017-02-17T14:21:43Z" level=info msg="Running cloud-init-execute: pre-console=true, console=false"
CHANGED: partition=1 start=2048 old: size=62912512 end=62914560 new: size=209713119,end=209715167
resize2fs 1.43.1 (08-Jun-2016)
Please run 'e2fsck -f /dev/sdb1' first.

time="2017-02-17T14:21:44Z" level=error msg="Failed to resize /dev/sdb: exit status 1"
time="2017-02-17T14:24:11Z" level=info msg="Running cloud-init-execute: pre-console=true, console=false"
WARN: unknown label
failed [sfd_dump:1] sfdisk --unit=S --dump /dev/sdb1
sfdisk: failed to dump partition table: Success
FAILED: failed to dump sfdisk info for /dev/sdb1
resize2fs 1.43.1 (08-Jun-2016)
open: No such file or directory while opening /dev/sdb11
time="2017-02-17T14:24:11Z" level=error msg="Failed to resize /dev/sdb1: exit status 1"
time="2017-02-17T14:31:14Z" level=info msg="Running cloud-init-execute: pre-console=true, console=false"
NOCHANGE: partition 1 is size 209713119. it cannot be grown
resize2fs 1.43.1 (08-Jun-2016)
Please run 'e2fsck -f /dev/sdb1' first.

time="2017-02-17T14:31:14Z" level=error msg="Failed to resize /dev/sdb: exit status 1"

e2fsck should be run before resize2fs or resize2fs should be run with the -f switch.
This is how I managed to extend my disk manually:
[root@node-01 ~]# resize2fs -f /dev/sdb1
resize2fs 1.43.1 (08-Jun-2016)
Filesystem at /dev/sdb1 is mounted on /data; on-line resizing required
old_desc_blocks = 4, new_desc_blocks = 13
The filesystem on /dev/sdb1 is now 26214139 (4k) blocks long.

It is somewhat related to #1396 which gave me the same error message with ROS 0.4.5

@joshwget argh!

I'm thinking we should have a test for this

we're thinking that we can solve this using #1045


Duplicate bookings load on main page

When navigating to home from another route, the GET /api/bookings?user=... method is called twice.
This doesn't appear to happen when doing a hard reload.

Fixed as per https://github.com/o2Labs/office-booker/commit/150c49eaf15b934460999c5d68ef497bf4479c8a


Update most Case studies

Changed details text to match the actual case study.

Thanks Peter, I am a considering changing the hint text 'Case study' on the collection page to 'Collection' and the best way to do that.
So far, I think making a new layout file (a copy of the case-studies layout file) change the hint text and drop the file in a new "collection" folder.
Or, maybe inline the change somehow, say an if / else statement within the case-studies layout file...


Unable to Unforge and unpack Game.dcb since PTU 3.13

Hi,
I love your tool and I use it constantly :) . However, since PTU 3.13 I am not able anymore to unpack the Game.dcb. What am I doing wrong? It seems to me that there is an adjustment required in the tool?

Kind Regards

When will we see the adapted version for release? :)

Latest build should now be published - let me know if there's any further issues.

Yeah I saw you worked today on the new build. :) Works like a charm. Cheers. Already datamining stuff for SC Mining ^^


How to use hljsVuePlugin in unit test w/ jest + @testing-library/vue ?

I am currently experienced the following error when running my unit tests:
   ReferenceError: Vue is not defined
    > 10 | import hljsVuePlugin from '@highlightjs/vue-plugin';
         | ^

Here is my component code:
    <template>
      <div>
        <highlightjs autodetect :code="'hello world'" />
      </div>
    </template>

    <script lang="ts">
    import { defineComponent } from 'vue';
    import hljsVuePlugin from '@highlightjs/vue-plugin';

    export default defineComponent({
      components: {
        highlightjs: hljsVuePlugin.component,
      },
    });
    </script>

in my test file, I'm simply trying to mount this component:
    const wrapper = mount(FooBlah, {
      global: {
        stubs: {
          highlightjs: {
            template: '<div />',
          },
        },
      },
    });

Here are my libraries versions:
    "vue": "^3.2.33",
    "@highlightjs/vue-plugin": "^2.1.2",
    "highlight.js": "^11.6.0",
    "@vue/cli-plugin-unit-jest": "~5.0.4",
    "@vue/test-utils": "^2.0.2",
    "@vue/vue3-jest": "^27.0.0",

Is there any way I could tell him to simply ignore the highlightjs the component in the jest.config ?

Perhaps you need to be loading the ESM module rather than the CJS which is going to expect Vue to be declared globally?

I'm not sure what you are suggesting here. I'm using import and in the vue-plugin/package.json I can see:
"exports": {
    ".": {
      "require": "./dist/highlightjs-vue.min.js",
      "import": "./dist/highlightjs-vue.esm.min.js",
      "types": "./dist/vue.d.ts"
    }
  },

So it should use the esm module.


Ensure alert service component is properly called using E2E tests

Overview of the feature request
When protractors tests were written, there was no alert component. We should update user-managments and entities E2E tests to check for notification validity.
Motivation for or Use Case
Ensure alert component works properly.

[x] Checking this box is mandatory (this is just to show you read everything)

As #271 was merged, we can now ensure alert service is properly called with a notification showing up with entities and user-management.


[Enhancement/RFC] Background tasks abstraction?

Summary
Is there any interest in bringing a background-tasks solution to the CommunityToolkit that abstracts the API of many platforms into one? Doing this with Xamarin.Forms these days is quite a hassle because you need to touch a lot of platform-specific code, e.g. https://xamarinhelp.com/xamarin-background-tasks/
However I've put together a project myself that abstracts all these details into one common API: https://github.com/nblockchain/XamarinFormsBackground (disclaimer: as you can see at the top, my repo is actually a fork from another author; the main difference is it doesn't bring extraneous dependencies such as Reactive Extensions).
If this is a good idea, I can prepare a PR to integrate this into the CommunityToolkit.
API Changes
A background task would then be created like this:
public class SomeBackgroundWork : IBackgroundTask
{
    public SomeBackgroundWork()
    {
    }

    public Task StartJob()
    {
        // YOUR CODE HERE

        return;
    }
}

And it would need to be started this way:
protected override void OnStart()
{
    //Register Background Tasks
    BackgroundAggregatorService.Add(() => new SomeBackgroundWork());
    BackgroundAggregatorService.Add(() => new OtherBackgroundWork());

    //Start the background service
    BackgroundAggregatorService.StartBackgroundService();
}

Each platform would require a bit of initialization routines (but this initialization code would not need to change everytime more tasks are added or the current tasks are modified, unlike the current state of affairs described in the xamarinhelp.com article above).

Doesn't Shiny https://github.com/shinyorg/shiny provide this functionality? If so, I think my opinion would be to not add the same functionality in the toolkit for the moment.

Hey thanks for the info, I didn't know about Shiny.
TBH, if Shiny's API is deemed to be better than my Xamarin.Forms.Background lib, I'm fine with that. I opened this github issue to check if it's desirable to include backgrounding features into this XamarinCommunityToolkit, and if we end up with something more similar to Shiny, that's ok too.
That said, IMO integrating Shiny's approach would have 2 downsides (compared to Xamarin.Forms.Background):
a) It's a lib that includes many more features, so separating the backgrounding bits might be tricky. This is the list of features that Shiny docs highlight:

A Centralized Hosting Platform
Environment (App & Device Information)
Logging
Connectivity
File System & IO Extensions
Power Management
Permissions
Settings
Background Jobs
Geofencing
GPS (Foreground & Background)
Bluetooth LE (GATT Peripheral & Central)
Beacons
Speech Recognition
HTTP File Transfers
Sensors
Notifications
Integrations with 3rd Party MVVM Frameworks like Prism, ReactiveUI, & MvvmCross

b) Shiny embraces some dependencies which maybe are not desirable to have in XamarinCommunityToolkit, such as  Reactive Extensions (RX) and Microsoft Extension (DI).

Forgot a 3rd downside: Shiny doesn't seem to support some platforms that Xamarin.Forms.Background supports: macOS, Tizen & Gtk (as they only mention iOS, Android, and UWP in their docs).

@knocte, for me, this feature fits better in Xamarin.Essentials.

@pictos agreed, and I also asked in #essentials channel in DotNetEvolution discord and a maintainer also agrees, and later I have found the github issue there: https://github.com/xamarin/Essentials/issues/409 . Closing this then. Thanks.


Getting exported png without text on linux (github actions)

Hello. i'm generating png images from svg with this code from resvg's example:
pub fn save_png(svg_path: &Path, png_path: &Path) {
    let tree = {
        let mut opt = usvg::Options::default();
        // Get file's absolute directory.
        opt.resources_dir = std::fs::canonicalize(&svg_path)
            .ok()
            .and_then(|p| p.parent().map(|p| p.to_path_buf()));

        opt.fontdb_mut().load_system_fonts();

        let svg_data = std::fs::read(&svg_path).unwrap();
        usvg::Tree::from_data(&svg_data, &opt).unwrap()
    };

    let pixmap_size = tree.size().to_int_size();
    let mut pixmap = tiny_skia::Pixmap::new(pixmap_size.width(), pixmap_size.height()).unwrap();
    resvg::render(&tree, tiny_skia::Transform::default(), &mut pixmap.as_mut());
    pixmap.save_png(&png_path).unwrap();
}

and while on windows i'm getting fine images, on github workflow in ubuntu i'm executing same app compiled for x86_64-unknown-linux-gnu, output is missing any text:

before generation of images required fonts are installed. please help me understand, why this is working not the way i'm expecting? (i'm rust newbie)
here is Cargo.toml:
[package]
name = "og-builder"
version = "0.1.0"
edition = "2021"

[dependencies]
toml = "0.8.19"
regex = "1.7"
walkdir = "2.5.0"
serde = { version = "1.0.210", features = ["derive"] }
anyhow = "1.0.89"
clap = { version = "4.5.20", features = ["derive"] }
rusttype = "0.9"
git2 = "0.19.0"
chrono = "0.4.38"
resvg = "0.44.0"

Does it work with the resvg CLI application?

Thanks, i managed this


Paper should not validate without venue

Scenario
When creating a paper without venue
Then validation should fail
Hints
Papers should not be valid without having all attributes (title, venue and year) set. Year should be a numeric value.
Validation reference
Error

Expected #<paper id: nil, title: "computing machinery and intelligence", venue: nil, year: 1950, created_at: nil, updated_at: nil> not to be valid

25/44 exercise tests have passed

fixed in 55a850a89a3290d15765ee14a384ea7b2f386a98


Correct Privilege Escalation section

The "Privilege Escalation" section of the Pod Security Standards document appears to have been copy-pasted from the "Privileged" section and not been properly updated.
This PR aims to fix that by:

Updating the PodSpec fields to be correct
Updating the Allowed Values as appropriate (allowPrivilegeEscalation functionally defaults to True)
Explaining more clearly what the setting does

/sig auth

Page preview:
https://deploy-preview-22959--kubernetes-io-master-staging.netlify.app/docs/concepts/security/pod-security-standards/

@tallclair Would you have time to provide a technical review? Thank you.

/assign @celestehorgan

/lgtm
/hold
Waiting on SIG Auth for a final technical review, but thank you for this change @tabbysable!

/approve
Ready for final technical review.

Thanks!
/lgtm

Thanks for your patience @tabbysable .
/hold cancel


locale: 'kr' is not language code

'kr' is not language code. it's country code.
Korean language code is 'ko'
so i did rename to 'ko'

To not break compatibility we should also keep the kr file, but add a deprecation notice at the top of the file (so we can remove it in 2.0)
Thanks!

Great news!
yeah. i restored that line
Thanks ;)

Great, please just restore the original ko file to (for people currently using the ko language code. But also keep the new kr language file just so that we have a alternative when we deleted in 2.0 (and add some deprecation comment in the old ko file)

#1367 spruced up support for ko/zh.

@acrobat Ah. you mean is restore legacy file. right?

Thanks for the pr @hiphapis, but #1367  got merged. So closing this!


[cmake/getdns/jasper/mesa/sentry-native] Fix error C2065 and C2079

Describe the pull request
In an internal version of VS, above ports install failed with following errors:
cmake:
Source\kwsys\Terminal.c(94): error C2079: 'stream_stat' uses undefined struct 'stat'
getdns:
src\context.h(76): error C2079: 'prevstat' uses undefined struct 'stat'
jasper:
\src\libjasper\base\jas_stream.c(320): error C2065: 'O_RDWR': undeclared identifier
\src\libjasper\base\jas_stream.c(322): error C2065: 'O_RDONLY': undeclared identifier
\src\libjasper\base\jas_stream.c(324): error C2065: 'O_WRONLY': undeclared identifier
\src\libjasper\base\jas_stream.c(329): error C2065: 'O_APPEND': undeclared identifier
\src\libjasper\base\jas_stream.c(335): error C2065: 'O_CREAT': undeclared identifier
\src\libjasper\base\jas_stream.c(335): error C2065: 'O_TRUNC': undeclared identifier
mesa:
../src/esa-21.2.5-d0828d0837.clean/src/util/os_file.c(134): error C2065: 'O_RDONLY': undeclared identifier
../src/esa-21.2.5-d0828d0837.clean/src/util/os_file.c(143): error C2079: 'stat' uses undefined struct 'stat'
../src/esa-21.2.5-d0828d0837.clean/src/util/os_file.c(145): error C2224: left of '.st_size' must have struct/union type
sentry-native:
\src\path\sentry_path_windows.c(75): error C2065: 'LK_UNLCK': undeclared identifier
This issue due to the macro __STDC__ is defined in the new C language modes(/std:c11 or /std:c17) in this internal version of VS, but the CRT does not define those macros (and open()) because they are not standard C.
According to the developers's comment, this issue could be workaround by adding the /D_CRT_DECLARE_NONSTDC_NAMES compile option.

a) only required on windows (PR does not guard for that platform)
b) only required for newer (not published) VS versions?
c) current solution/fix does not respect custom toolchains which might not use VCPKG_<LANG>_FLAGS

Yes, this issue only occurs in an internal VS version, user will not block by this issue currently, this workaround is just used to avoid blocking the internal CI test.
I will report an issue to upstream and make a patch instead if I have a firm fix from compiler team.

Thanks!


add timestep to prediction methods in system models

It would be useful to account for timestep in the prediction methods.  I added logic to extend the system models to optionally use the timestep in the prediction methods.

I think this is a bad idea, because the Kalman filter works with count, and time in seconds is used in transition matrix F in custom SystemModel.

@yaxn I don't believe I understand your comment.  What do you mean "the Kalman filter works with count"?  The KalmanFilter classes have no member that keeps track of count/iterations.  I am trying to add functionality that you may want to account for timestep in the prediction step because you may have an irregular time between measurement updates.  All logic will function as it did previously, I am just adding the option to include the timestep; it isn't required.

I'm closing because I would like to consider other options for handling non autonomous (e.g. time dependent) systems.

I'm closing because I would like to consider other options for handling non autonomous (e.g. time dependent) systems.

I think the timestamp could be a member of control vector if needed.


Migration to AndroidX

@Shashank02051997 Can I work on this?

I did this, but it seems unstable... any advise?

@MonikaJethani  i already updated this project to AndroidX so you can check it out later