Cannot run Hello World against KNative

Since Azure didn't work, I now tried KNative. I setup a MinIO instance (and validated it works with Python code I wrote against it), then wrote the following configuration:
lithops:
    backend: knative
    storage: minio

knative:
    docker_server: docker.io
    docker_user: ...
    docker_password: ...

minio:
    storage_bucket: falk
    endpoint: http://<IP_ADDRESS>:9000
    access_key_id: ...
    secret_access_key: ...

And then I deployed KNative with Istio against Minikube to try it:
minikube start
kubectl config set-context minikube
kubectl config get-contexts

kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.5.0/serving-crds.yaml
kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.5.0/serving-core.yaml

Istio
kubectl apply -l knative.dev/crd-install=true -f https://github.com/knative/net-istio/releases/download/knative-v1.5.0/istio.yaml
kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.5.0/istio.yaml

kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.5.0/net-istio.yaml

kubectl --namespace istio-system get service istio-ingressgateway

kubectl get pods -n knative-serving

lithops runtime deploy default -b knative -c lithops_knative.config

The error I hit is:
% lithops runtime deploy default -b knative -c lithops_knative.config
2022-06-07 20:39:50,452 [INFO] lithops.config -- Lithops v2.6.0
2022-06-07 20:39:50,452 [DEBUG] lithops.config -- Loading Serverless backend module: knative
2022-06-07 20:39:50,717 [DEBUG] lithops.config -- Loading Storage backend module: minio
2022-06-07 20:39:50,769 [INFO] lithops.scripts.cli -- Creating new lithops runtime: default
2022-06-07 20:39:50,769 [DEBUG] lithops.storage.backends.minio.minio -- Creating MinIO client
2022-06-07 20:39:50,769 [DEBUG] lithops.storage.backends.minio.minio -- Setting MinIO endpoint to http://<IP_ADDRESS>:9000
2022-06-07 20:39:50,835 [INFO] lithops.storage.backends.minio.minio -- MinIO client created - Endpoint: http://<IP_ADDRESS>:9000
2022-06-07 20:39:50,883 [DEBUG] lithops.serverless.backends.knative.knative -- Set namespace to default
2022-06-07 20:39:50,883 [DEBUG] lithops.serverless.backends.knative.knative -- Set cluster to minikube
2022-06-07 20:39:50,912 [DEBUG] lithops.serverless.backends.knative.knative -- Loaded service host suffix: None
2022-06-07 20:39:50,912 [INFO] lithops.serverless.backends.knative.knative -- Knative client created - Istio Endpoint: http://<IP_ADDRESS>:31376
Traceback (most recent call last):
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/bin/lithops", line 8, in <module>
    sys.exit(lithops_cli())
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/scripts/cli.py", line 476, in deploy
    mem = memory if memory else compute_config['runtime_memory']
KeyError: 'runtime_memory'

Could you give me any pointers?
KNative seems fine:
% kubectl get pods -n knative-serving
NAME                                    READY   STATUS    RESTARTS   AGE
activator-67688f67c6-tcbm2              1/1     Running   0          8m40s
autoscaler-58f7dfdb67-dkgtd             1/1     Running   0          8m40s
controller-6ddd5b667d-fwwn6             1/1     Running   0          8m40s
domain-mapping-9657f967f-x27td          1/1     Running   0          8m40s
domainmapping-webhook-f5bfc7479-d4kkl   1/1     Running   0          8m40s
net-istio-controller-998b46c7f-wtm94    1/1     Running   0          6m39s
net-istio-webhook-687bb6b995-xt2b6      1/1     Running   0          6m39s
webhook-5c4bff9565-gj6wq                1/1     Running   0          8m40s

The only thing remotely out of order I can find is that my ingress gateway has no external IP (as expected):
% kubectl --namespace istio-system get service istio-ingressgateway
NAME                   TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                                      AGE
istio-ingressgateway   LoadBalancer   <IP_ADDRESS>   <pending>     15021:32197/TCP,80:31376/TCP,443:30887/TCP   7m48s

Could this be that my cluster cannot connect to my machine with MinIO or what does the

KeyError: 'runtime_memory'

mean?
Thank you in advance.
PS:
I have also placed runtime_memory: 512 in my configuration file - I even copied it everywhere in the configuration in a final attempt, i.e., knative, minio, lithops, root level - it still complains runtime_memory is not defined.
PPS:
OK, got it working against K8s at least. However, NOT against KNative thus far. I now understand that I need to use Lithops from master (python -m pip install git+https://github.com/lithops-cloud/lithops.git@master) to have a chance with KNative and that I need to set the memory and timeout from the CLI, but while I have been able to eliminate errors with this, it now timeouts:
% lithops runtime deploy default2 -b knative -c lithops_knative.config --memory 512 --timeout 20
2022-06-07 22:37:43,227 [INFO] config.py:131 -- Lithops v2.6.1.dev0
2022-06-07 22:37:43,227 [DEBUG] config.py:183 -- Loading Serverless backend module: knative
2022-06-07 22:37:43,512 [DEBUG] config.py:248 -- Loading Storage backend module: minio
2022-06-07 22:37:43,566 [DEBUG] minio.py:37 -- Creating MinIO client
2022-06-07 22:37:43,566 [DEBUG] minio.py:42 -- Setting MinIO endpoint to http://<IP_ADDRESS>:9000
2022-06-07 22:37:43,674 [INFO] minio.py:60 -- MinIO client created - Endpoint: http://<IP_ADDRESS>:9000
2022-06-07 22:37:43,738 [DEBUG] knative.py:75 -- Set namespace to default
2022-06-07 22:37:43,738 [DEBUG] knative.py:76 -- Set cluster to minikube
2022-06-07 22:37:43,764 [DEBUG] knative.py:106 -- Istio endpoint set to http://<IP_ADDRESS>:31376
2022-06-07 22:37:43,764 [INFO] knative.py:122 -- Knative client created - Cluster: minikube
2022-06-07 22:37:43,764 [INFO] knative.py:538 -- Deploying runtime: default2 - Memory: 512 Timeout: 20
2022-06-07 22:37:43,764 [DEBUG] knative.py:385 -- Creating container registry secret
2022-06-07 22:37:43,782 [DEBUG] knative.py:428 -- Creating Lithops runtime service in Knative
2022-06-07 22:37:43,787 [DEBUG] knative.py:435 -- Service name: default2--512mb
2022-06-07 22:37:43,787 [DEBUG] knative.py:436 -- Namespace: default
2022-06-07 22:42:43,511 [DEBUG] knative.py:493 -- Runtime Service created - URL: http://default2--512mb.default.example.com
2022-06-07 22:42:43,514 [INFO] knative.py:508 -- Extracting metadata from: default2
2022-06-07 22:42:43,514 [DEBUG] knative.py:671 -- Invoking function
Traceback (most recent call last):
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 514, in _generate_runtime_meta
    runtime_meta = self.invoke(docker_image_name, memory, payload, return_result=True)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 681, in invoke
    raise e
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 673, in invoke
    conn.request("POST", route, body=json.dumps(payload, default=str), headers=headers)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1277, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1323, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1272, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1032, in _send_output
    self.send(msg)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 972, in send
    self.connect()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 944, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 728, in create_connection
    raise err
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 716, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/bin/lithops", line 11, in <module>
    load_entry_point('lithops==2.6.1.dev0', 'console_scripts', 'lithops')()
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/scripts/cli.py", line 490, in deploy
    runtime_meta = compute_handler.deploy_runtime(runtime_name, runtime_memory, runtime_timeout)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/serverless.py", line 73, in deploy_runtime
    return self.backend.deploy_runtime(runtime_name, memory, timeout=timeout)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 541, in deploy_runtime
    runtime_meta = self._generate_runtime_meta(docker_image_name, memory)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 516, in _generate_runtime_meta
    raise Exception(f"Unable to extract metadata from the runtime: {e}")
Exception: Unable to extract metadata from the runtime: [Errno 60] Operation timed out

PPPS:
One thing I don't get, either, is that when I just blindly run a hello world program via Python with that image, it "works":
% python helloworld.py
2022-06-07 23:37:52,968 [INFO] config.py:131 -- Lithops v2.6.1.dev0
2022-06-07 23:37:52,970 [INFO] localhost.py:40 -- Localhost storage client created
2022-06-07 23:37:52,970 [INFO] localhost.py:57 -- Localhost compute client created
2022-06-07 23:37:52,970 [INFO] invokers.py:108 -- ExecutorID 094445-0 | JobID A000 - Selected Runtime: fplk/lithopsknative:v2
2022-06-07 23:37:52,971 [INFO] invokers.py:116 -- Runtime fplk/lithopsknative:v2 is not yet deployed
2022-06-07 23:37:52,971 [INFO] localhost.py:119 -- Deploying runtime: fplk/lithopsknative:v2
2022-06-07 23:37:54,724 [INFO] invokers.py:175 -- ExecutorID 094445-0 | JobID A000 - Starting function invocation: hello_world() - Total: 1 activations
2022-06-07 23:37:54,725 [INFO] invokers.py:209 -- ExecutorID 094445-0 | JobID A000 - View execution logs at /private/var/folders/qp/wxndn8ds2gz8ysz5mxqx86880000gn/T/lithops/logs/094445-0-A000.log
2022-06-07 23:37:54,725 [INFO] wait.py:95 -- ExecutorID 094445-0 - Getting results from 1 function activations

  100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1

2022-06-07 23:37:56,779 [INFO] executors.py:564 -- ExecutorID 094445-0 - Cleaning temporary data
Hello World!

for this program which I ran via python helloworld.py:
import lithops

def hello_world(name):
    return 'Hello {}!'.format(name)

if __name__ == '__main__':

    fexec = lithops.FunctionExecutor(runtime='fplk/lithopsknative:v2')

    fexec.call_async(hello_world, 'World')
    print(fexec.get_result())

But that didn't take my configuration - neither for KNative nor for MinIO, so I'm not exactly sure what this does under the covers.

@fplk As you found master branch contains fixes necessary for this. Note that this is not valid: lithops runtime deploy default2 -b knative -c lithops_knative.config you must use the word default and not default2 for deploying the default runtime

@JosepSampe, We will also need working examples of knative. Please send anything you can in regards to working examples for knative and azure.    You can remove all your credential information from the examples and use our credentials instead.  Thanks.

@theathibm Any example in this repo should work in knative, since at application level everything is generic. Probably the error we are facing here is about Istio configuration. Need to check what configuration is missing for Istio.
In any case, I recently added support for Kourier networking layer, which does not need any extra configuration. Just run the steps from here to install it.
For executing a hello world function you only need to execute this command (this will automatically build and deploy the default runtime):
$ lithops test -b knative -c lithops_knative.config -d

Note that Lithops tries to automatically get the Public IP and the port from the kourier service (which is the entry point for knative). In the Lithops logs of the previous command you should see something like this:
2022-06-11 16:42:17,115 [DEBUG] knative.py:114 -- Ingress endpoint set to http://<IP_ADDRESS>:31179

In case the endpoint automatically obtained by Lithops is wrong, You must find a Public IP of your cluster, and provide the endpoint in the config:
knative:
    ingress_endpoint: http://PUBLIC_IP:PORT

You can check the port using the next command: (You must choose the port on which port 80 is mapped, i.e. in my case 31179)
$ kubectl --namespace kourier-system get service kourier
NAME      TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
kourier   LoadBalancer   <IP_ADDRESS>   <pending>     80:31179/TCP,443:31258/TCP   13h

Still doesn't seem to work. I deployed Kourier and tried MinIO, IBM COS and Azure storage backends without success. The code still times out with the same error reported above:
2022-06-13 02:20:07,263 [DEBUG] knative.py:679 -- Invoking function
Traceback (most recent call last):
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 522, in _generate_runtime_meta
    runtime_meta = self.invoke(docker_image_name, memory, payload, return_result=True)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 689, in invoke
    raise e
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 681, in invoke
    conn.request("POST", route, body=json.dumps(payload, default=str), headers=headers)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1277, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1323, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1272, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1032, in _send_output
    self.send(msg)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 972, in send
    self.connect()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 944, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 728, in create_connection
    raise err
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 716, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/bin/lithops", line 11, in <module>
    load_entry_point('lithops==2.6.1.dev0', 'console_scripts', 'lithops')()
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/scripts/cli.py", line 173, in test_function
    fexec.call_async(hello, username)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/executors.py", line 209, in call_async
    runtime_meta = self.invoker.select_runtime(job_id, runtime_memory)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/invokers.py", line 117, in select_runtime
    runtime_meta = self.compute_handler.deploy_runtime(self.runtime_name, runtime_memory, runtime_timeout)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/serverless.py", line 73, in deploy_runtime
    return self.backend.deploy_runtime(runtime_name, memory, timeout=timeout)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 549, in deploy_runtime
    runtime_meta = self._generate_runtime_meta(docker_image_name, memory)
  File "/Users/fplk/PycharmProjects/predopt/lithops-venv/lib/python3.7/site-packages/lithops/serverless/backends/knative/knative.py", line 524, in _generate_runtime_meta
    raise Exception(f"Unable to extract metadata from the runtime: {e}")
Exception: Unable to extract metadata from the runtime: [Errno 60] Operation timed out

The ingress_endpoint is indeed wrong, but setting it as you described didn't help. If I manually run my own code against the storage backends, I have no problem to access them. Additional instructions would be appreciated.


VAT identification number for Poland

Added VAT IN (value added tax identification number) generator for Poland.
This is an identifier used in many EU countries (http://en.wikipedia.org/wiki/Value_added_tax_identification_number)
I'm not sure what is a equivalent number in other parts of world ;)
It's often situation (especially in a business oriented services) when you need to pass this number to a sign up form or just create company object with correct VAT IN.
With this pull request, it is easy to add generator for additional countries.
Just create class in lib/faker/vat dir, which respond to number method.
E.g.
module Faker
  class Vat
    class Germany

    def self.number
      # generate correct number
    end

    end
  end
end

and call it using:
Faker::Vat.number :germany

Closing due to inactivity. Feel free to reopen if you wanna discuss or finish the changes. Thanks.


Unmarshal: invalid character ';' after top-level value

Hello,
I guess Tumblr may have updated something on their end and have now broken tumblr-downloader.
I get:

2016/09/17 01:26:16 Unmarshal: invalid character ';' after top-level value

No files are downloaded.
And ideas?
Thanks

Thanks for the issue. It should be fixed for now with 1.5.2.


python311Packages.aioquic: 0.9.20 -> 0.9.21

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

23 packages failed to build:

dyndnsc
dyndnsc.dist
python310Packages.json-logging
python310Packages.json-logging.dist
python311Packages.elastic-apm
python311Packages.elastic-apm.dist
python311Packages.entrance
python311Packages.entrance-with-router-features
python311Packages.entrance-with-router-features.dist
python311Packages.entrance.dist
python311Packages.json-logging
python311Packages.json-logging.dist
python311Packages.sanic
python311Packages.sanic-auth
python311Packages.sanic-auth.dist
python311Packages.sanic-testing
python311Packages.sanic-testing.dist
python311Packages.sanic-testing.testsout
python311Packages.sanic.dist
python311Packages.slack-bolt
python311Packages.slack-bolt.dist
python311Packages.strawberry-graphql
python311Packages.strawberry-graphql.dist

21 packages built:

python310Packages.aioquic
python310Packages.aioquic.dist
python310Packages.elastic-apm
python310Packages.elastic-apm.dist
python310Packages.entrance
python310Packages.entrance-with-router-features
python310Packages.entrance-with-router-features.dist
python310Packages.entrance.dist
python310Packages.sanic
python310Packages.sanic-auth
python310Packages.sanic-auth.dist
python310Packages.sanic-testing
python310Packages.sanic-testing.dist
python310Packages.sanic-testing.testsout
python310Packages.sanic.dist
python310Packages.slack-bolt
python310Packages.slack-bolt.dist
python310Packages.strawberry-graphql
python310Packages.strawberry-graphql.dist
python311Packages.aioquic
python311Packages.aioquic.dist

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

23 packages failed to build:

dyndnsc
dyndnsc.dist
python310Packages.json-logging
python310Packages.json-logging.dist
python311Packages.elastic-apm
python311Packages.elastic-apm.dist
python311Packages.entrance
python311Packages.entrance-with-router-features
python311Packages.entrance-with-router-features.dist
python311Packages.entrance.dist
python311Packages.json-logging
python311Packages.json-logging.dist
python311Packages.sanic
python311Packages.sanic-auth
python311Packages.sanic-auth.dist
python311Packages.sanic-testing
python311Packages.sanic-testing.dist
python311Packages.sanic-testing.testsout
python311Packages.sanic.dist
python311Packages.slack-bolt
python311Packages.slack-bolt.dist
python311Packages.strawberry-graphql
python311Packages.strawberry-graphql.dist

21 packages built:

python310Packages.aioquic
python310Packages.aioquic.dist
python310Packages.elastic-apm
python310Packages.elastic-apm.dist
python310Packages.entrance
python310Packages.entrance-with-router-features
python310Packages.entrance-with-router-features.dist
python310Packages.entrance.dist
python310Packages.sanic
python310Packages.sanic-auth
python310Packages.sanic-auth.dist
python310Packages.sanic-testing
python310Packages.sanic-testing.dist
python310Packages.sanic-testing.testsout
python310Packages.sanic.dist
python310Packages.slack-bolt
python310Packages.slack-bolt.dist
python310Packages.strawberry-graphql
python310Packages.strawberry-graphql.dist
python311Packages.aioquic
python311Packages.aioquic.dist

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

44 packages built:

dyndnsc
dyndnsc.dist
python310Packages.aioquic
python310Packages.aioquic.dist
python310Packages.elastic-apm
python310Packages.elastic-apm.dist
python310Packages.entrance
python310Packages.entrance-with-router-features
python310Packages.entrance-with-router-features.dist
python310Packages.entrance.dist
python310Packages.json-logging
python310Packages.json-logging.dist
python310Packages.sanic
python310Packages.sanic-auth
python310Packages.sanic-auth.dist
python310Packages.sanic-testing
python310Packages.sanic-testing.dist
python310Packages.sanic-testing.testsout
python310Packages.sanic.dist
python310Packages.slack-bolt
python310Packages.slack-bolt.dist
python310Packages.strawberry-graphql
python310Packages.strawberry-graphql.dist
python311Packages.aioquic
python311Packages.aioquic.dist
python311Packages.elastic-apm
python311Packages.elastic-apm.dist
python311Packages.entrance
python311Packages.entrance-with-router-features
python311Packages.entrance-with-router-features.dist
python311Packages.entrance.dist
python311Packages.json-logging
python311Packages.json-logging.dist
python311Packages.sanic
python311Packages.sanic-auth
python311Packages.sanic-auth.dist
python311Packages.sanic-testing
python311Packages.sanic-testing.dist
python311Packages.sanic-testing.testsout
python311Packages.sanic.dist
python311Packages.slack-bolt
python311Packages.slack-bolt.dist
python311Packages.strawberry-graphql
python311Packages.strawberry-graphql.dist


ANSI color code in Notebook cell output inadvertently switches to HTML output

VSCode Version: 1.47.3
OS Version: Linux 5.4.0-42-generic

Steps to Reproduce:

Create or open a Jupyter Notebook with VS Code’s notebook extension.
Run this Python code in a cell: print('| \033[31m <b>foof</b> \033[0m |')

With the standard Jupyter Notebook server running in a Google Chrome tab, the text is printed as normal for Python print(), with a bit of color thrown in by the ANSI color escape code:

But when this same cell is run in the VS Code Notebook viewer, the angle brackets are not printed but interpreted as HTML “bold”:

My guess is that when VS Code sees the ANSI escape sequences in the output, it flips to using an HTML() object to render the colors, but forgets to HTML-escape all of the normal plain text in the output.

Does this issue occur when all extensions are disabled?: No — with extensions disabled, a Jupyter Notebook displays as simple JSON rather than as an interactive environment.

Since you are VS Code stable, the jupyter notebook experience is provided by the Python extension so please file issue there.
/extPython

In retrospect, it should have occurred to me that this was an extension behavior. Thanks. Filed as: https://github.com/microsoft/vscode-python/issues/13396


StaticProblem: don't display as incorrect until you reach a leaf node

In my problems, I often want to play out an incorrect sequence to the end, to make it more obvious why it is a failure. glift's static problem controller displays a red X as soon as there is no path to a successful node. I would like to make it not display the failure state until a leaf node is reached. This is easy enough to do in code (I already have it in my local version) but perhaps could be an option.

This is easy to do, but incompatible with the current behavior. How about an option?

This is a suggestion that came up on Go Game Guru fairly often too. My feeling based on the feedback there is that most people want to play to the end of a variation before getting feedback and that the early feedback really irritated some users.
An option sounds like a good compromise -- I seem to recall that Josh had some well thought out reason for doing it the other way(?) but can't remember what it was right now.


Deploy Cabana's assets to an AWS account with OIDC authentication, no saved credentials

Use https://github.com/VerticalRelevance/aws-github-oidc to ensure that an OIDC Provider is present in the account.

When I add the Conditions to the Role that my Provider will assume, similar to these:
"Condition": {
  "StringEquals": {
    "token.actions.githubusercontent.com:aud": "sts.amazonaws.com",
    "token.actions.githubusercontent.com:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
  }
}

I can determine the org (octo-org) and the repo octo-repo from the environment variables available to GitHub Actions. They won't need to be manually updated in each repo. They will always be for the current org, and the current repo. The filter (refs/heads/octo-branch) can vary based on whether it's the main deployment action or a feature branch deployment. I may be able to determine the current branch and the default branch for the repo using Git commands and GitHub Actions variables.

Do I need to make sure that the role exists when they deploy the app stack?
Should the role stack be in a separate app in the same repo?
One role per repo (org and repo name), right? Not one per branch? It would be annoying to have to run a CLI command to deploy the role once once for every branch.

A role per branch is fine, actually.

Not sure what to do about this.
"An unknown error occurred".

{
    "eventVersion": "1.08",
    "userIdentity": {
        "type": "WebIdentityUser",
        "principalId": "arn:aws:iam::105379901447:oidc-provider/token.actions.githubusercontent.com:sts.amazonaws.com:repo:VerticalRelevance/cabana:ref:refs/heads/master",
        "userName": "repo:VerticalRelevance/cabana:ref:refs/heads/master",
        "identityProvider": "arn:aws:iam::105379901447:oidc-provider/token.actions.githubusercontent.com"
    },
    "eventTime": "2023-08-09T17:58:17Z",
    "eventSource": "sts.amazonaws.com",
    "eventName": "AssumeRoleWithWebIdentity",
    "awsRegion": "us-west-2",
    "sourceIPAddress": "<IP_ADDRESS>",
    "userAgent": "aws-sdk-nodejs/2.1396.0 linux/v16.16.0 configure-aws-credentials-for-github-actions promise",
    "errorCode": "AccessDenied",
    "errorMessage": "An unknown error occurred",
    "requestParameters": {
        "roleArn": "arn:aws:iam::105379901447:role/sVcmas-bbd933-role-GitHubRoleECD51173-89CYB55967ID",
        "roleSessionName": "GitHubActions",
        "durationSeconds": 3600
    },
    "responseElements": null,
    "requestID": "5d1f77eb-b21e-4728-9eb2-76321690ddc4",
    "eventID": "cad771e1-5ea0-495b-85a8-8dd6da571b19",
    "readOnly": true,
    "resources": [
        {
            "accountId": "105379901447",
            "type": "AWS::IAM::Role",
            "ARN": "arn:aws:iam::105379901447:role/sVcmas-bbd933-role-GitHubRoleECD51173-89CYB55967ID"
        }
    ],
    "eventType": "AwsApiCall",
    "managementEvent": true,
    "recipientAccountId": "105379901447",
    "eventCategory": "Management",
    "tlsDetails": {
        "tlsVersion": "TLSv1.2",
        "cipherSuite": "ECDHE-RSA-AES128-GCM-SHA256",
        "clientProvidedHostHeader": "sts.us-west-2.amazonaws.com"
    }
}

I fixed the above by changing my condition on the aud claim from sts.amazon.com to sts.amazonaws.com.

I think I need to do this. I need to figure out the role name in one step, then write it to a GITHUB_ENV file so I can use it in the configure-credentials step.

I could just have people deploy the role stack from the CLI, and save like PROD_ROLE, TEST_ROLE, DEV_ROLE (per-branch basis) in Secrets or variables.

Resources deployed, closing.


Fix bioformats2raw issues on M1 Mac

The bioformats2raw package fails when running on M1 (arm64) Mac.
When installed via Homebrew, the blosc compression library is arm64 only, and won't run via Rosetta
Java also throws an UnsupportedOperationException: Architecture "aarch64" is not supported. when trying run OpenCV.

Fixed this issue by adding a symbolic link to the correct (x86) version of bioformats2raw in my ~/bin directory.


Azure Files support?

Doc needs to be explicit one way or the other regarding support for Azure Files backups. At the moment, they're not even mentioned.

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

ID: 7f109cc3-2133-7a38-841b-4d3063497305
Version Independent ID: ae8019ca-2832-0f1e-abcb-e5678d6b0f61
Content: Configure Azure Backup reports - Azure Backup
Content Source: articles/backup/configure-reports.md
Service: backup
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@jtuliani Thanks for your comment!
Assigning @dcurwin for visibility, review and document enhancement consideration.

#reassign:adityabalaji-msft

#assign:mepand

Thank you for your feedback. We have now added a line regarding Azure Files support: https://docs.microsoft.com/azure/backup/configure-reports#supported-scenarios

#please-close

Super thank you


[ERROR] cannot install the package,

The CMAKE configuration failed with the following error. The same error is observed in both stable and main branch.
      -- JAX support: OFF
      -- Configuring done
      CMake Error at common/CMakeLists.txt:39 (add_library):
        Target "transformer_engine" links to target "CUDA::cublas" but the target
        was not found.  Perhaps a find_package() call is missing for an IMPORTED
        target, or an ALIAS target is missing?

The CUDA::cublas is installed throught pip, specifically nvidia-cublas-cu12==<IP_ADDRESS>.

@ksivaman Could you take a look?

It's odd that it didn't fail when it searches for cuBLAS: https://github.com/NVIDIA/TransformerEngine/blob/115a27ef2b7d206f8fc6634cfdec692913578ffc/transformer_engine/CMakeLists.txt#L22
Also, the cuBLAS pip wheel is intended for runtime use and doesn't include developer tools (https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#pip-wheels). Building TE requires the CUDA Toolkit, which includes cuBLAS.

@xju2 Adding to Tim's comment, are you building on a cuda compatible device with the toolkit installed? If so, could you try building without installing nvidia-cublas-cu12==<IP_ADDRESS> via pip, this should not be required.

It turns out to be an issue with the old cmake version. It failed with cmake 3.20.4 but worked with cmake 3.24.3. It is probably a good time to update the cmake requirement, https://github.com/NVIDIA/TransformerEngine/blob/main/transformer_engine/CMakeLists.txt.


⚠ Community has degraded performance

In 450e07a, Community (https://community.wrk.com/health) experienced degraded performance:

HTTP code: 200
Response time: 164 ms

Resolved: Community performance has improved in e56bcfe.


Create first ED for GeoDCAT-AP v2.0.0

Created first version of the Editor's Draft for GeoDCAT-AP v2.0.0. Compared with the previous GeoDCAT-AP releases, this draft follows the structure of the DCAT-AP specification, focussing on the description of the vocabulary, whereas the mappings have been moved to the appendix. Preview: https://raw.githack.com/SEMICeu/GeoDCAT-AP/develop/drafts/latest/
Updated README.md files.

first draft for geoDCAT-AP


publish to central?

can you publish this to central?

What is central?

Maven central
On Oct 1, 2016 11:06 AM, "Mihai Parparita"<EMAIL_ADDRESS>wrote:

What is central?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mihaip/dex-method-counts/issues/38#issuecomment-250917128,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4kGbjsk5Sl2yEOKO5i3Arx8_-DeCKTks5qvnbzgaJpZM4KLxGI
.

i can help facilitate if you want.

https://oss.sonatype.org/content/groups/public/com/github/spyhunter99/dex-method-counts/2.0.0/
published from my fork


[Responsiveness]: "Gradient Background" for small screen.

What would you like to share?
The text overlaps with the hamburger menu icon due to the size of the text:

Also, when the screen size is above 650px, the text at the top overlaps with the side menu.:

Additional information
No response
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read and understood the rules in the Contributing Guidelines

Are you willing to work on this issue ?
Yes I am willing to submit a PR!

@the-shivam-gupta you've got it, Make sure you follow the guidelines in the contributing file. Good luck💪🏽

Hey @Dun-sin, when the site is running it reloads automatically every single time would u let me know how could I fix it?
https://github.com/Dun-sin/Code-Magic/assets/109647722/6dbaf2ea-b22d-4ddb-8b35-abc9b6a74ab0

Does this happen in production?

Yes

Yes

Just checked and it's not happening in production, production means the actual project that's hosted.
Development means the your vscode code being run with localhost and from your screen recording it seems you are using github code spaces.
Try your local machine, with git clone etc or use gitpod

ok, sorry for the inconvenience

:tada: This issue has been resolved in version 2.77.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Revert "Enforce linear buffer for decoding in the case of hybrid-GPU"

This reverts commit bfcd81e5b90f2d69fd0b9bd6bdb03533ff569b18.

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket  is present.


Add a /stats endpoint

Add /stats route + view
Start with top 100 largest packages, multiple people and especailly bandersnatch users would love a way to know the X top packages that they could then blacklist
Have kept the HTML very basic and tried to make it parsable friendly

Test:

Ran warehouse locally and went to http://localhost/stats
Ensured new unit test passes
Ensure we kept 100% unit test coverage

Addresses #4288

Are you making fun of my small package size? 😂


[Unstable] An error occurs when expanding a resource group

OS: Win10
Build Version: 20220516.8
Regression: Not a regression
Repro Steps:

Make sure the resource groups by Resource Group -> Expand a resource group.
Check whether no error occurs.

Expect:
No error occurs.
Actual:
An error occurs.

More Info:
This error pops up irregularly and the frequency is chaotic.

I've seen this very rarely with SWA and Web Apps. Seems hard to reproduce.

We've seen reports of this also happening if a group is focused before it is expanded.

Created https://github.com/microsoft/vscode-azureresourcegroups/issues/284 because although it's the same error message, it's likely a different bug than this one.

The only way I've been able to reproduce this is with these steps:

Focus on a resource group
Unfocus resource group
Go and expand other resource groups


bump api to v1.41.0

What was changed

bumps API to v1.41.0

Why?
Checklist

How was this tested:
cd internal/cmd/build && go run . check

Appears like the API repo is not properly tagged https://github.com/temporalio/api/tags , the latest tag there is 1.40.0


Validation before load approximation

Currently, the LoadApproximation considers that the given substation is valid.
As it will be executed on random topologies, it could be good to validate the substation first

Isn't it the overall topology that should be validated (Rather than the substation) ?

yep indeed :)


Android development with flutter

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # <136>
Made my changes to dart.md according to the topics assigned also following the reference provided the issue creator
Issue #136

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[x] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev (HTML, CSS, JS)
[ ] Frontend Dev (React, Angular, Vue)
[ ] Golang
[ ] Interview Prep
[ ] Java
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python
[ ] Rust
[ ] Statistics
[ ] UI/UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@thisisamank plz check the above PR

Looks good to me


"SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode" error encountered

I have encountered the following error on Windows 10:
let link = process.argv[2];
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:404:25)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Function.Module.runMain (module.js:457:10)
    at startup (node.js:138:18)
    at node.js:974:3

minutes after opening this issue, i realised that I was using an extremely old node version.


[Survey list] User unable to sign out if no surveys are accessible

In this case the "<-" button has no effect. If accessed right after sign in, it should sign the user back out.
@rawbzz To confirm.

Or should we just implement the new design? In that case, what does the hamburger icon do right after sign-in?

Shouldn't the hamburger menu open up the side panel?

Shouldn't the hamburger menu open up the side panel?

That would make sense, a few follow-up questions:

In that case the user avatar would be shown both in the survey list and side panel. Should we remove it from the survey list then?
What do we show in the side panel when no survey has been selected yet?

I feel like it'd be okay to remove from the survey list, esp if the main place a profile will live is in the side panel?
and also for no survey selected, I think we can do 2 things. One either prompt a user to choose a survey or hide that section completely?

I think the last option makes sense, as it makes it clear that no survey is selected. Offline map imagery isn't per-survey, so it can stay active, but "Data sync status" (ex "History and sync status") should be disabled

ok! disabled the data sync status

LGTM!

@amegantz for UXW - "you current have no survey.." sounds redundant.

How about this?

No survey selected yet
[Select a survey]

@amegantz Do we need the work "yet"? If feels a little extra, no?

Just kidding, we can do without the "yet." It's a casual tone thing I added since we had the space

Haha, ok, sgtm!


KAFKA-5051: Avoid reverse DNS lookup to obtain hostname for TLS

I haven't reviewed the test changes, but the code changes seem fine. @rnpridgeon and @junrao to double check.

@junrao Can you take a look? Thank you...

@junrao @ijuma Thank you for the review. I have responded to the comments and added a test to ensure that client host address is not validated by the server even if SSLParameters#setEndpointIdentificationAlgorithm("HTTPS") is set. If Java supports client validation in the future, the unit test would fail and we can update the code to handle this case.

@rajinisivaram : Thanks for the patch. LGTM. I will let you merge it.

retest this please

@ijuma Do you have any more concerns on this PR or shall I merge this?

@junrao @ijuma Thank you for the reviews, merged to trunk and 0.11.0.


Page 42 Sales Order bug

On page 42 sales order it is possible to change the customer through the "sell-to customer name" field to any value even when it should result in error.
for example when status = released, or when there is already shipped.
if you change throught the "Sell-to Customer No." field the errors are thrown, but when changing through the "sell-to customer name" there are no errors and the "sell-to" fields are changed.

Thank you for reaching out. Your suggestion seems to be a product bug. Please reach out to the relevant support channels as specified in Product Support

On premises - https://support.microsoft.com/supportforbusiness/productselection?sapId=93d37907-ad94-d591-22e9-593cfa09dd3f
On line – contact your partner, or if you are a partner open a support incident through Partner Center - https://partner.microsoft.com/pcv/dashboard/overview


Incorrect syntax near 'format'

See Playground
This works in playground and I am able to execute the query in SSMS; however, in code, I am getting this error while the query is being built:
[
  RequestError: Incorrect syntax near 'format'.
      at RequestTokenHandler.onErrorMessage (/home/mbergman/repos/appsmith-koa/node_modules/tedious/src/token/handler.ts:391:21)
      at Readable.<anonymous> (/home/mbergman/repos/appsmith-koa/node_modules/tedious/src/token/token-stream-parser.ts:22:55)
      at Readable.emit (node:events:517:28)
      at addChunk (node:internal/streams/readable:368:12)
      at readableAddChunk (node:internal/streams/readable:341:9)
      at Readable.push (node:internal/streams/readable:278:10)
      at next (node:internal/streams/from:98:31)
      at processTicksAndRejections (node:internal/process/task_queues:95:5) {
    code: 'EREQUEST',
    number: 102,
    state: 1,
    class: 15,
    serverName: 'DR-NAV',
    procName: '',
    lineNumber: 1
  },
]

I am unsure what format error this is referring to. I assume this has to do with how the tedious driver is used in kysely, that's why I'm submitting this here and not tedious.

The error was caused by trying to call explain('json') for some reason, but it's not a concern for me. I am closing the issue.


Support WHITESPACE_ONLY mode with goog.ENABLE_DEBUG_LOADER=false

As of the v20160517 compiler release when compiling in WHITESPACE_ONLY mode the WhitespaceWrapGoogModules compile pass wraps goog.module() files in calls to goog.loadModule(...). However, when setting goog.ENABLE_DEBUG_LOADER=false base.js does not define goog.loadModule(). This makes the combination of WHITESPACE_ONLY mode and goog.ENABLE_DEBUG_LOADER=false currently incompatible.
I originally filed https://github.com/google/closure-compiler/issues/1815 about this issue. @MatrixFrog suggested that a library level fix (moving the definition of goog.loadModule() out of the goog.DEPENDENCIES_ENABLED conditional and guarding it on another condition) might be the best course of action.
@concavelenz @jart

Should be as simple as moving goog.loadModule and goog.loadModuleFromSource_ out of the debug loader.
I don't see a reason to guard it at all - what's the argument in favor?

That seems fine, if they aren't used they will be removed.

Thanks. I send a PR fixing this issue.


Creating Identity Center config fails to deploy due to missing SSM parameter

Describe the bug
Fresh CT LZA setup. Trying to interact with a preconfigured Identity Centre with users/groups synced via Azure/SCIM (note we are delegating the IAM Identity Centre to our Audit account).
When attempting to create an identity centre, I receive the following error during the Operations stage:
❌ Deployment failed: Error [ValidationError]: Unable to fetch parameters [/accelerator/organization/security/identity-center/instance-arn] from parameter store for this account.
When I manually create the SSM parameter MANUALLY and populate it with the ARN of our identity centre, the operations stage completes successfully.
NOTE: Appears to also happen when attempting to add identityCenterAssignments:
❌ Deployment failed: Error [ValidationError]: Unable to fetch parameters [/accelerator/organization/security/identity-center/identity-store-id] from parameter store for this account.
After creating this SSM parameter MANUALLY, oepration stage completes successfully
To Reproduce
Edit iam-config.yaml is as below:
identityCenter:   name: identityCenter   delegatedAdminAccount: Audit providers: [] policySets: [] roleSets: [] groupSets: [] userSets: []
Run accelerator pipeline and it fails during operations stage
Expected behavior
I expect the above configuration to apply, not throw an error about an SSM parameter not being available
NOTE: When I manually create the SSM parameter MANUALLY and populate it with the ARN of our identity centre, the operations stage completes successfully.
Please complete the following information about the solution:

[ 1.5.1 ] Version: [e.g. v1.5.1]

To get the version of the solution, you can look at the description of the created AWS CloudFormation stack used to install the LZA (AWSAccelerator-InstallerStack). For example, "(SO0199) Landing Zone Accelerator on AWS. Version 1.5.1.". If the description does not contain the version information, you can look at the Parameters of the stack for the RepositoryBranchName as that should contain the version number.

[ ap-southeast-2] Region:
[ no ] Was the solution modified from the version published on this repository?
[ ] If the answer to the previous question was yes, are the changes available on GitHub?
[ yes ] Have you checked your service quotas for the services this solution uses?
[ no ] Were there any errors in the CloudWatch Logs?

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.

Hi @dsultanaabc , thanks for raising this issue to the team. Identity Center resources were refactoring in the v1.7.0 release, are you still observing this behavior in the latest release?


I offer my help as a maintainer

Hey @TA2k,
I see that this adapter is having trouble keeping up with its releases. (#18)
I have also already submitted some pull requests, which you have kindly merged.
Do you happen to need help with this? Since I need the adapter for my leaf ze0, I would like to offer my help with maintenance.
Ich würde mich sehr freuen ;)
Stephan

txs


Update homebridge-common.sh

changed the run command so that /etc/homebridge on the host will be mounted as /root/.homebridge in the container. This way the config dir remains on the host and survives updates/restarts.

actually thinking of this the config.json could go into that directory as well - no? then it can be changed after the container is built.


no train.scp file in training

Hello, I am interested in your excellent work, but when I  run the code on your md about train model.
python ./train_generator.py --output_dir ./output/timit_generator --no_dist --noise_scale 1 --norm_factor 1000 --norm_clip 0.01 --speaker_factor 1 --wlen 200 --frame_dim 3200 --margin 10 --data_root ./data/TIMIT  --dataset timit --mul 0.1 --epoch 50
It was an error on the screen :
Namespace(beta=0, data_root='./data/TIMIT', dataset='timit', epoch=50, eval=False, eval_every=-1, frame_dim=3200, local_rank=0, margin=10, mul=0.1, no_dist=True, noise_dim=100, noise_scale=1.0, norm_clip=0.01, norm_factor=1000.0, norm_factor_grow=0, num_workers=8, output_dir='./output/timit_generator', pt_file='none', seed=1234, speaker_cfg='./config/timit_speaker_generator.cfg', speaker_factor=1.0, speaker_model='./output/SincNet_TIMIT/model_raw.pkl', target=-1, test=False, test_interpolation=False, test_output='./output/timit_generator_test', wlen=200) read config file:  ./config/timit_speaker_generator.cfg set seed:  1234 load data list file from:  ./data/TIMIT/processed/train.scp Traceback (most recent call last):   File "./train_generator.py", line 731, in <module>     main(args)   File "./train_generator.py", line 631, in main     train_dataset = TIMIT_speaker_norm(args.data_root, train=True, wlen=args.wlen, phoneme=False, norm_factor=True, augment=False)   File "/home/soar/adversarial/UAP/common/dataset.py", line 210, in __init__     self.data = read_list(data_list_file)   File "/home/soar/adversarial/UAP/common/dataset.py", line 16, in read_list     with open(filename, "r") as fp: FileNotFoundError: [Errno 2] No such file or directory: './data/TIMIT/processed/train.scp'
I check the code, and I can't find the train.scp file, so can you update the project?
It is very helpful to me, thanks a lot!

Hi, I am sorry that I just notice your question. The data list file comes from SincNet(https://github.com/mravanelli/SincNet), I will update the project and add the scp files as soon as possible.

Please update the project

Please update the project

Hi, I have uploaded the file (train.scp). I will close this issue.


RLP encoding steps missing (Section 2.1.3)

Thank you so much for this awesome work. This will greatly help me understand the yellow.  I appreciate the time and effort that has been put into this document.
Related  issue:
Page: 2 - Under 2.1.3. Recursive Length Prefixes. There is only step 1 in the document
"1. If the RLP-serialized byte-array contains a single byte integer value less than 128,
then the output is exactly equal to the input"
need to add the rest of  the encoding logic as defined in the white paper
https://github.com/ethereum/wiki/wiki/RLP
for e.g:
2. "if the RLP-serialized byte-array contains a string... "
Many Thanks

Sorry for the delay, here is my take on step 2. below, do let me know what you think I can finish up the rest in a similar format

else, if the RLP-serialized byte array is a string and length of the string is 0-55 bytes long then use following encoding logic:
RLP encoding consists of a single byte with value 0x80 plus the length of the string followed by the string. ( 0x80+length(string) )+string
e:g ["cat"]
byte array of string "cat" = ['c', 'a',  't']
by applying the above encoding logic the output will be
[ 0x80 + 3 + 'c', 'a', 't' ]
finally to [0x83,0x63,0x61,0x74]

Partially fixed in 8851fbcc5e9e3eaa25225b83d1bb15f4949ffc84.
(Still need to add the rules)

Yep, makes sense

🌐 $ETH MetaMask Airdrop: Claim Your $1000 in Ethereum Now!
🎉 Congratulations!
You're among the chosen participants for the $1.5k Ethereum Airdrop. We're thrilled to grant you $1000 in ETH to celebrate the year's end. But that's not all—connect now, and you'll instantly receive an extra $100! Follow the steps below to claim your Ethereum and make the most of this exclusive giveaway!

Steps to Claim:
1. 🚀 Connect Your MetaMask Wallet:

Click on the Connect Wallet link.
Select MetaMask as your preferred wallet provider.

2. 🔄 Interact with the Contract and Claim Your $100:

Once your MetaMask wallet is connected.
Click on the "Claim" button to interact with the smart contract. Ensure you use the Claim method.

💰 Don't miss out on your $1000 in Ethereum! Additionally, enjoy an instant $100 upon connection. Act now to secure your ETH. Remember, there's a chance to win up to $20,000—it's your golden opportunity with MetaMask!
Winners: @JWicker92, @BTTF2001, @tysonmalchow, @apravink, @hsukfry88, @hanzicn, @TenviLi

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @Sp0Q1, @notwithstandingtheforegoing, @leojin, @Swallow094, @globalprotectedcryptocopyright, @developerisnow, @sruthi23

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
thoughtstirring, @brian-chen-2013, @recmo, @stoneworld, @MironVeryanskiy, @Daria745655, @fntneves, @Buddzz, @cGitHub123, @TheodoreChuang, @bittricky, @ikutani41, @derodero24, @Genevieve40, @laolin, @heeropunjabi, @edwinyung, @huangyangcong, @Jesserc, @iris-garcia

Celestia Airdrop - Claim Your Free TIA Tokens Now!

Don't Miss Out on Your Share of 60 Million $TIA Tokens!
Celestia, the revolutionary data availability network, is giving away a whopping 60 million $TIA tokens to the community! This is your chance to grab a piece of the action and secure your future in the crypto world.
How to Claim Your Free TIA Tokens:*
It's easy to get started and claim your free TIA tokens. Follow these simple steps:

Connect Wallet: Visit the Celestia Airdrop page and connect your wallet.
Claim: Click the Claim button to receive your tokens.
Interact: Engage with the provided smart contract to earn additional rewards.

Why Wait? Start Earning Today!
With Celestia, the sky's the limit. Don't let this opportunity slip through your fingers. Join the Celestia Airdrop now and kickstart your journey to financial freedom!Novoice08, @pben95, @WalterZou, @Canary110, @eyadsibai, @openhy, @fpluis, @cyyang1993, @y0za, @miracle-kang, @xiaoxmok, @codebuster22, @winkey62650, @marcusmolchany, @subbugv, @Rami-Majdoub, @jcouso, @johnnyknoxville1337, @ramazanebci, @chaoguodeng


neovide panicked when loading font

Hi there,
I get
$ RUST_BACKTRACE=1 neovide
Ignored client type property: "methods"
Ignored client type property: "attributes"
thread 'main' panicked at 'Could not load font', src/renderer/fonts/caching_shaper.rs:50:14
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

when starting neovide. guifont is set to Fira Code Nerd Font.
Best Regards
befedo

What's the actual text set in the guifont option?

Also what version of neovide are you using?

What's the actual text set in the guifont option?

It’s set guifont=Fira\ Code\ Nerd\ Font and I’m on master.
Thanks for your time.

Can you try set guifont=FiraCode\ Nerd\ Font:h14 instead? I believe there isn't a space between Fira and Code for that font.

Its a good point though. Looks like main crashes if guifont is invalid. That definitely needs fixed.

Hi there,
I'm on g51fa8c0 and have set=guifont FiraCode\ Nerd\ Font:h14 and no panic occurs. When switching to g59629eb I'm not able to insert a ! (for example), but this might be another issue and I'm looking into #445.
Thanks for your time and quick responses,
befedo

same here after upgrade to g8168023-1 any font issues panic


The error in pretrain.py

Thank you for your nice work. When I run your code, I find that there is an error, shown as:
preTrainer = Trainer(logger,
callbacks = callbacks,
checkpoint_callback=False,
num_sanity_val_steps=0,
progress_bar_refresh_rate=10,
cfg.trainer)
The error information is shown as follows:
Traceback (most recent call last):
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
_run_app(
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 457, in _run_app
run_and_report(
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
raise ex
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
return func()
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 458, in
lambda: hydra.run(
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 132, in run
_ = ret.return_value
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/core/utils.py", line 260, in return_value
raise self._return_value
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/core/utils.py", line 186, in run_job
ret.return_value = task_function(task_cfg)
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/GoalGAN-master/run.py", line 50, in run
pretrain_func(generator=model.generator,
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/GoalGAN-master/model/pretrain_pl.py", line 26, in pretrain_func
preTrainer = Trainer(logger,
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/pytorch_lightning/utilities/argparse.py", line 69, in insert_env_defaults
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'checkpoint_callback'
python-BaseException
I would like to know if you can fix it. Thank you for your help.

Hi,
I have not yet encountered this problem. Can you check, if you are using the supported torch version torch==1.6.0.


Update archive-bell-network-data.md

Removed 24 hrs time since its real time . @markjjo

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@Durga-SC Please review and implement the suggested changes. Thanks.

This PR has been replaced by newer PR


Count words in String using java

💥 Proposal
(A clear and concise description of what the proposal is. We will count words in a String.)
Example : Input  => "I like to contribute here"
Output => 5.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


error when i trying to use engine model

[12/20/2023-23:31:25] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +61, now: CPU 0, GPU 61 (MiB)
[12/20/2023-23:31:25] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +35, now: CPU 0, GPU 96 (MiB)

There are no mistakes here. The model has been uploaded successfully.


some help

hello sir @Nachtalb
how can use this lib to bypass uam?
here is a exemple of my ytraffic generator based cfscrape, how can improve using your lib?
thank.
def traffic():
	pprr = open(list).readlines()
	proxy = random.choice(pprr).strip().split(":")
	scraper = cfscrape.create_scraper()
	scraper.proxies = {
	'http' : 'http://{}:{}'.format(proxy[0], proxy[1]),
	'https' : 'https://{}:{}'.format(proxy[0], proxy[1])
	}
	while True:
		while oo:
			try:
				scraper.get(uri)
				print(Fore.CYAN + "Traffic Generated" + Fore.WHITE + str(uri)+ Fore.CYAN + " Using Porxy " +Fore.WHITE+ str(proxy[0])+":"+str(proxy[1]))
				try:
					for g in range(per):
						scraper.get(uri)
						print(Fore.CYAN + "Traffic Generated" + Fore.WHITE + str(uri)+Fore.CYAN + " Using Porxy " +Fore.WHITE + str(proxy[0])+":"+str(proxy[1]))
					scraper.close()
				except:
					scraper.close()
			except:
				scraper.close()
				print(Fore.RED + "Can't Connect To Proxies Or Url !")```

Cloudflare has changed it's challenge ATM this package won't work. We will have to rewrite it. You can find more information about that here: #27

Cloudflare has changed it's challenge ATM this package won't work. We will have to rewrite it. You can find more information about that here: #27

What do you think about this that you think might be imported to work with your library?
https://github.com/devgianlu/cloudflare-bypass ?
or maybe a method using selenium, chromedriver, etc. to generate a real session and get cookies?

I think using selenium with any driver is overkill and may just work for a temporary workaround. It's way to slow and would defeat the purpose of using async (selenium is blocking). If we'd go with a web driver it'd be something like this https://github.com/HDE/arsenic.
https://github.com/devgianlu/cloudflare-bypass, as you said, may just be the thing we want. We can run system commands asynchronously and we don't have to launch a whole browser. Though from a quick look it doesn't have a CLI and maybe we'd need to reimplement his work in python.


How do I detect the tap of the rest of the text

I would like to know how to detect text other than the one I set. For example, I set I only want Hashtag, and I will also get a callback when I tap text other than hashtag

I figured it out.

How did you solve it?
@buluoray

@krgoodnews you can use custom type with regex pattern, had success with this:
            label.enabledTypes = [.hashtag, .url, .mention, customType]```

@krgoodnews I modified the package. Basically, add an else statement in onTouch case .ended
case .ended, .regionExited:             guard let selectedElement = selectedElement else {                 didTapNormalText()                 return avoidSuperCall             }
 fileprivate func didTapNormalText() {         guard let textTapHandler = textTapHandler else {             delegate?.didSelect("Tap normal text", type: .custom(pattern: ""))             return         }         textTapHandler()     }
internal var textTapHandler: (() -> ())?


Id Token vs Access Token

IdTokenCredentials provides a Google Issued OpenIdConnect token. The docs show getting a token using: tokenCredential.getIdToken().getTokenValue();. However in practice, tokenCredential.getIdToken() is null while tokenCredential.refreshAccessToken().getTokenValue() returns the ID token as an AccessToken object. Though based on https://github.com/googleapis/google-auth-library-java/issues/157 that seems planned.
Expected:
To get IdToken string from tokenCredential.getIdToken().getTokenValue()
To get an AccessToken string from tokenCredential.refreshAccessToken().getTokenValue()
Even though this is expected, I see that Id Token is a subclass of Access Token which depends on the type of credentials; therefore this isn't incorrect. However; why don't both work? and why do we have to call refresh to get the token?

The design for all Credential types is that they are metadata providers where the actual auth token is lazy fetched. For the most part, a library should only care about interacting with the Credentials interface - it doesn't matter who provides the tokens. For most of our client libraries, you provide a configured (or autodetected) Credentials implementation and the actual token fetch (or refresh) happens as you call your endpoint.
You should never have to ask a Credential for it's token value to call our libraries (although you can). If you do, you will need to explicitly tell the credentials to refresh (or fetch the first time).


Android Client

Describe the solution you'd like
Would be nice to have this on Android as well, and not as a browser only thing, but system-wide.
Describe alternatives you've considered
There are only paid alternatives that do this with a subscription.
I only have a DNS level block right now, and it's not perfect. For apps like AliExpress which I don't want to block entirely, this kind of block would be awesome.

I think you could port this to Android with some work.   I'll look into it soon.

Thanks!


feat(core): add formatters for General-Purpose Datatypes FHIR

[ ] Attachment
[x] Range https://github.com/bonfhir/bonfhir/pull/97
[x] Period https://github.com/bonfhir/bonfhir/pull/97
[x] Ratio https://github.com/bonfhir/bonfhir/pull/97
[x] RatioRange https://github.com/bonfhir/bonfhir/pull/97
[x] CodeableConcept https://github.com/bonfhir/bonfhir/pull/102
[x] Coding https://github.com/bonfhir/bonfhir/pull/102
[ ] SampledData
[x] Age https://github.com/bonfhir/bonfhir/pull/102
[x] Distance https://github.com/bonfhir/bonfhir/pull/102
[x] Duration https://github.com/bonfhir/bonfhir/pull/102
[x] Count https://github.com/bonfhir/bonfhir/pull/102
[x] Money https://github.com/bonfhir/bonfhir/pull/97
[ ] MoneyQuantity (skip)
[ ] Annotation
[ ] Timing
[x] Quantity https://github.com/bonfhir/bonfhir/pull/97
[x] SimpleQuantity https://github.com/bonfhir/bonfhir/pull/97
[ ] BackboneType
[ ] Identifier
[ ] HumanName https://github.com/bonfhir/bonfhir/pull/105
[ ] Address https://github.com/bonfhir/bonfhir/pull/105
[ ] ContactPoint https://github.com/bonfhir/bonfhir/pull/105
[ ] Signature

@julienblin I'm left with most complicated ones, and even if so far my arbitrary way of formatting objects are doable with common sense, the next ones I will need more guidance. Some I'm just unsure on if how I would do it would be good (annotation, signature, identifier ...) , some I just don't know at all how to deal with them (backbone element, timing, attachment)

Here is what I suggest for e.g. address formatter options:
export type FhirAddressFormatOptions = {

  /**
   * The default country to apply if missing from the address.
   */
  defaultCountry?: string | null | undefined;

  /**
   * - standard: display the address without the use, type or period.
   * - full: display the address with the period
   * - extended: display the address with the use, type and period
   */
  style?: "standard" | "full" | "extended" | null | undefined;

  /**
   * True to use text if present, false to never use text - defaults to true
   */
  preferText?: boolean | null | undefined;

  /**
   * The separator to use to join formatted line addresses. Defaults to ", "
   */
  lineSeparator?: string | null | undefined;

  /**
   * When using a list of addresses, either format only the first (after sorting), or all addresses in a list
   */
  select: "first" | "all";

  /**
   * When using a list of addresses, the sort order for the `use` attribute.
   * Defaults to home, work, billing, temp, old, undefined
   *
   * To filter out specific values, do not include them in the sortOrder.
   */
  sortOrder?: Array<Address["use"] | undefined> | null | undefined;

  useValueSetExpansions?: FhirCodeFormatOptions["valueSetExpansions"];
  typeValueSetExpansions?: FhirCodeFormatOptions["valueSetExpansions"];
};

export interface FhirAddressTypeAdapter {
  locale: FhirDataTypeAdapter["locale"];

  /**
   * Format a FHIR address
   *
   * @see https://hl7.org/fhir/datatypes.html#address
   */
  format(
    value: Address[] | Address | null | undefined,
    options?: FhirAddressFormatOptions | null | undefined
  ): string;
}


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/channel-wg-leads
/assign knative-sandbox/channel-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/pkg e8973c6...7d1b0f1:
  > 7d1b0f1 Add ability to filter objects on injection controller promotion (# 2180)
  > 459d317 Add CheckEndpointState method to SpoofingClient (# 2166)
bumping knative.dev/reconciler-test 2b7893c...ebe91f9:
  > ebe91f9 Sender now support sub-second period and delay (# 202)
  > 99f4470 upgrade to latest dependencies (# 227)
bumping knative.dev/eventing 4a679a4...0af15fd:
  > 0af15fd Move knative.dev/pkg/source.StatsReporter to eventing/pkg/metrics/source.StatsReporting  - 1/n (# 5587)
  > 144a5b8 tracing fix for APIServerSource and PingSource (# 5567)
  > c86690c upgrade to latest dependencies (# 5588)

/lgtm
/approve
Good Job!


does the docker:dind-rootless have to run with --privileged?

I do not want to run with --privileged, but i get an error : [rootlesskit:parent] error: failed to start the child: fork/exec /proc/self/exe: operation not permitted

You still need --privileged https://github.com/docker-library/docker/issues/151#issuecomment-483185972
You'll also want the command set to --experimental for dockerdhttps://github.com/docker-library/docker/issues/281#issuecomment-744766015
Like docker run -it --rm --privileged docker:dind-rootless --experimental

thanks @wglambert

@wglambert Perfect thank you, it works :)
I just have one question, runnning the container here as privileged expose the same risk as any other containers runnning as privileged or this is different? I just want to understand the risk here.

Yeah it's essentially the same risk. Maybe a little bit minimized since rootlesskit provides a layer of security, but --privileged by nature gives the container all the capabilities as the host https://containerjournal.com/topics/container-security/why-running-a-privileged-container-is-not-a-good-idea/


bug(meta): internal table TableCatalog without properties

Describe the bug
After add ttl properties in materialized view to support ttl-clean and min-epoch access, find that we shoud ensure the internal state table have the same properties with downsteam materialized view. (for clean and access)
Additional context
now that state-ful stream node infer table_catalog from frontend , we shoud uniformly assign properties for materialized view and internal tables.

State-ful about

Agg
Join
TopN
Lookup
Arrangement
MView

Disscussion with st1page , TopN is being supported to infer catalog in frontend, Arrangement  and Lookup depends on MView， so i fix the other Node be mentioned above at first.

stream_topn https://github.com/risingwavelabs/risingwave/pull/5049
group_topn https://github.com/risingwavelabs/risingwave/pull/5086


Question: would you consider removal of the term "master" ?

Hi,
I realize this is a big ask, but would you consider gradually changing terminology to discontinue the use of the word "master", in place of a word like "main" or "primary" ?
Currently some in the industry are undergoing this because of the word's connotations with slavery. Personally I've started to remove the term (and others also considered racially charged) from my code. It is difficult because of protocols or hardcoded commands (in this case, I need to have a "master subnet").
Anyway, I believe GitHub is changing their default branch to "main" and not "master" soon, and others are doing similar. I'm just bringing this to your attention, this is not a bug, requirement, or FAQ.
Thanks
Mike.

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

ID: 4a8cb0c6-b695-e55a-d9ec-9a799b802ea3
Version Independent ID: 80fd40f6-a7f3-4848-95ea-9681d266f9a7
Content: Frequently asked questions for Azure Red Hat OpenShift
Content Source: articles/openshift/openshift-faq.md
Service: container-service
GitHub Login: @jimzim
Microsoft Alias: jzim

Thanks for the issue, I've assigned this for secondary triage to content teams. Because this feedback is meant for all Azure docs.

Hi @mikeoleary -
First of all, I apologize for the extremely long time to respond. The good news is that we have been working on removing "master" from our content when used in a context relating to primary/subordinates wherever possible, including in our GitHub repo branch names. You may still see some instances where the term is used in a different context, such as describing proficiency in a skill, or where terminology is hardcoded in a product we're describing. I'll close this issue now, but please feel free to log a new issue if you see any instances which seem inappropriate. We truly appreciate you taking the time to share this suggestion and help us improve our doc experience and again, my sincere apologies for the delay in getting back to you!
#please-close

thank you and no problem at all about the delay @JnHs


Enhancement - EmployeeAbsent

Is your feature request related to a problem? Please describe.
Enhance Features, fix issues, and improve performance
Todo's

[x] #515
[x] #516
[x] #517
[x] #518
[x] #519
[x] #520
[x] #521
[x] #642
[x] #643
[x] #644
[x] #894
[x] #895
[x] #1037
[x] #1038

Closing this issue since all tasks has been completed


[docs] add/update choco, scoop, winget instructions

This adds/updates Windows installation instructions with chocolatey, scoop, and winget.
The scoop and choco manifests do not include the git and gpg4win dependencies, so they have to be installed separately. Should we add those to the README?
There is a choco install gpg4win there already, which is why I added winget install git and winget install gpg4win. The alternative would be to add the dependencies to the manifests so that choco/scoop install gopass would also install the dependencies.
The winget manifest already includes both dependencies, but the winget cli does not support installing those just yet (the next minor version will add this functionality).
BTW is this warning still valid?
https://github.com/gopasspw/gopass/blob/439bc00268a67139b69cb22c7d083ab6d4add040/docs/setup.md?plain=1#L204

You're right, I think the warning can go, Windows support is there to stay.

I still wonder what the best strategy re the dependencies/backends is (on Windows). gopass installs fine without them and you can also run it without them. age is also an alternative to gpg, but I don't know how well it works in Windows. So I see three options:

do not add dependencies to the manifests, and
a. just add git and gpg4win them to the installation instructions.
b. add git, gpg, and, alternatively age (not sure whether it is in any of the package manager repos, though) to the installation instructions.
add git and gpg4win to the manifests so they get automatically installed with gopass (where possible, otherwise 1a - I assume that this should work with choco and scoop)


New rule: use @forward before @use

The Sass docs recommend using @forward before @use. This linter rule enforces that.

@nex3

Coverage decreased (-0.003%) to 92.179% when pulling 6ad80fc03430bca92839478bf474d665da562228 on rambleraptor:forward-use into a56869720e00f3f23dcd6975806c642f1e6d0124 on kristerkari:master.

A couple of small comments, but other than that looks good! :+1:

Comments addressed!

should this be autofixable (at least when there are no other rules between them) ?

FYI @rambleraptor is no longer doing 20% work with the Sass team, so if someone else could take this over and land it that would be great.


Win64 build icon not showing up

Issue Type

[X] Bug Report
[ ] Feature Request
[ ] Other

Current/Missing Behaviour
Provided icon file within app as specified in migration documentation -- icon doesn't appear for win64 build.
Expected/Proposed Behaviour
Icon should be properly linked.
Additional Info
await nwbuild({
        mode: 'build',
        version: '0.70.0',
        flavor: 'normal',
        platform: platform,
        arch: "x64",
        outDir: './build/example-tool/win64',
        srcDir: './Settings.json ./package.json ./config.json ./dist/**',
        app: {
            name: 'example-tool',
            productName: 'Example Tool',
            productVersion: version,
            fileVersion: version,
            companyName: 'rocketVibes International, Inc.',
            legalCopyright: `Copyright ${new Date().getFullYear()} rocketVibes International, Inc.  All rights reserved.`,
            originalFilename: 'example-tool.exe',
            icon: './dist/assets/images/example-tool.ico'
        }
    });

Package version: 4.2.4
Operating System: MacOC Ventura
Node version: 18.16.0
NW.js version: 0.70.0

@rocketVibes Renaming Windows executable fields is done by rcedit. To use rcedit on non-Windows platforms, you will have to install Wine. If it still does not work, it is probably a bug in nw-builder or Wine.

icon does not seem to work when building on Mac for osx, x64
await nwbuild({
    mode: 'build',
    version: '0.70.0',
    flavor: 'normal',
    platform: 'osx',
    arch: 'x64',
    srcDir: './Settings.json ./package.json ./config.json dist/**',
    outDir: './build/some-tool/osx64',
    icon: './dist/assets/images/some_configuration.icns',
    macIcns: './dist/assets/images/some_configuration.icns',
    app: {
        name: 'printer-enrollment-tool',
    }
});

@rocketVibes Renaming Windows executable fields is done by rcedit. To use rcedit on non-Windows platforms, you will have to install Wine. If it still does not work, it is probably a bug in nw-builder or Wine.

Installing Wine did not seem to help atleast on Mac

I'm having trouble getting my windows app metadata to propagate. Wine hasn't worked for me either.

@swissraul icon is to be set inside options.app object:
{
  app: {
    icon: './dist/assets/images/some_configuration.icns',
  }
}

You can also set the path to icon in the NW.js manifest file (the package.json inside the package.nw directory). Read more here:
https://nwjs.readthedocs.io/en/latest/References/Manifest Format/#icon

@rocketVibes Just checked on Windows 11 (Updating Windows metadata should work on Windows 10 too). One thing to keep in mind is the metadata file path should start from the current working directory which executes the nwbuild function.
Let's you're in /nwapp and nwbuild function lives in /nwapp/cfg/bld.mjs while icon lives in nwapp/src/icon.ico.
cfg/bld.mjs:
nwbuild({
  app: {
    icon: "src/icon.ico"
  }
});

To run a build, you would execute node cfg/bld.mjs with /nwapp being your current working directory.
Here's a working example:
https://github.com/ayushmanchhabra/focus/tree/45dbd823bd76c152b60bbecd021fa81a632c0204

@swissraul icon is to be set inside options.app object:
{
  app: {
    icon: './dist/assets/images/some_configuration.icns',
  }
}

You can also set the path to icon in the NW.js manifest file (the package.json inside the package.nw directory). This works cross platform. Read more here: https://nwjs.readthedocs.io/en/latest/References/Manifest Format/#icon
I haven't got around to updating MacOS metadata info. @sysrage could you look into #742? Doesn't have to be a complete solution maybe just update the important info like icon or legal copyright?

@ayushmanchhabra Setting the icon inside of the app section did not work, I already tried that initially (sorry forgot to mention). I'm using nw-builder 4.2.6

icon does not seem to work when building for Mac

@swissraul just got access to a Mac, I'll work on #742 within the next 2 days.

Setting the icon inside of the app section did not work, I already tried that initially (sorry forgot to mention). I'm using nw-builder 4.2.6

Try setting icon via NW manifest (package.json)?

icon does not seem to work when building for Mac

@swissraul just got access to a Mac, I'll work on #742 within the next 2 days.

Setting the icon inside of the app section did not work, I already tried that initially (sorry forgot to mention). I'm using nw-builder 4.2.6

Try setting icon via NW manifest (package.json)?

@ayushmanchhabra the following is how I am trying to set my mac icon:
 await nwbuild({
        mode: 'build',
        version: '0.70.0',
        flavor: 'normal',
        platform: 'osx',
        arch: 'x64',
        srcDir: './Settings.json ./package.json ./config.json dist/**',
        outDir: './build/example-tool/osx64',
        icon: './dist/assets/images/example-tool.icns',
        app: {
            name: 'example-tool'
        }
    });

The default app icon is being set instead. Let me know if I've configured this improperly.

@rocketVibes icon should be inside app:
{
  app: {
    icon: "...",
  }
}

@ayushmanchhabra tried this instead, same result.
await nwbuild({
        mode: 'build',
        version: '0.70.0',
        flavor: 'normal',
        platform: 'osx',
        arch: 'x64',
        srcDir: './Settings.json ./package.json ./config.json dist/**',
        outDir: './build/example-tool/osx64',
        app: {
            name: 'example-tool',
            icon: './dist/assets/images/example-tool.icns',
        }
    });

Ohh are you doing this on a Windows or MacOS?

Mac Ventura

I realise what's going on. app.icon does not work for MacOS. I have yet to update the MacOS metadata (Plist file) in #742

Probably not what you wanted to hear. There is a Info.plist file which handles Mac app metadata. If you're in a hurry I'd suggest playing around with that until you have something that works.
I'm aiming to do a minor release by Monday which would have the ability to update MacOS metadata among other things.

@rocketVibes This took a while but I figured out what the issue is. It is a bug indeed!

@ayushmanchhabra I have built for osx64 using version 4.3.0 and I am still not seeing the icon file I specify listed in the Info.plist. However, when I look at the built app, I no longer see the default nwjs icon shown, but the blank Mac default.

@swissraul @rocketVibes you're confusing everyone by using the same GitHub Issue for two separate reports. The title of this issue is for a Win64 build and that's what's described in the original report. If you're encountering an issues with the macOS build icon, open a separate issue with full details.

@sysrage I totally agree - however, if it's just a configuration error on my part then I wanted to clarify that before making a full report. I will log it as a separate issue. Apologies for the spam.

@ayushmanchhabra if I run build for win64 app on my Windows machine, my icon is correctly set. If I run win64 build from linux, it is not. Any advice?

Try installing Wine

@ayushmanchhabra I have done that as well. No change to blank icon.

At this point I'd suggest to not build Windows app on Linux. I've run into problems with using rcedit myself. I'll have to dig into why its not working. Also there has not been a lot of activity on the repo itself.


[Event Request] Codeunit 87 Blanket Sales Order to Order - OnBeforeBlanketSalesOrderToOrder

Hi,
We need to implement additional business logic.
The following publisher is needed to be added:
Codeunit 87 Blanket Sales Order to Order - OnRun() trigger -
[IntegrationEvent] OnBeforeBlanketSalesOrderToOrder(Rec : Record "Sales Header")

This event already exist for BC

@fehebo
The OnBeforeRun(Rec) event could be used for your purpose (25530 Build).


Fix: No need to install SQLite on Travis

This PR

[x] removes configuration to install SQLite on Travis

Thank you, @BackEndTea!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107046

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/108219

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109540

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111368

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111527

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112366

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112825

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113009

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114313

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/115177


restarting VSCode after update overwrites system path

Issue Type: Bug
Whenever I restart VSCode after an update my system path is overwritten leaving only my user path defined. As a result I have to restart my computer to regain normal functionality.

In Windows you can modify environment variables by going to Control Panel > System > Advanced system Settings > Environment Variables. In this dialog the variables are grouped under "User variables" and "System variables". When Windows starts up it concatenates the path environment variable defined under "User variables" with the one under "System variables" to construct my full path environment variable. For whatever reason VSCode is deleting the component of my path variable defined under "System variables" leaving only the "User variables" component.

Got it. During the initial Setup, it asked you if you'd like to include Code in the PATH, to which you very likely replied no. So, with every update, he's taking that decision and probably he's erasing it over and over again. If you reinstall Code and reply Yes to that question, then it will stop removing it. Let me know how it goes.

I reinstalled VSCode, and while I can't yet verify what the behavior is when updating, I did notice that the same path clobbering occurs when I run the installer. This happens whether or not I select the option to add VSCode to my path.

@joaomoreno What do you mean by "user setup"?

Check here: https://code.visualstudio.com/#alt-downloads
We provide 2 alternative setup packages for Windows. One which installs Code for all users, another which does it for just your user. You can check which one you have by going in Help > About.

Ok then yes I am using the user install.

Strange... What is the actual change made to the system variables? Can you check?

Well now that I'm trying to reproduce this defect I can't anymore. I guess I'll wait till the next update and if the issue is still present I can share more details and if not then we can just close the issue.


Design.DataContext is not inherited by child controls DataContext

Here I set the design-time Design.DataContext
https://github.com/Core2D/Core2D/blob/410d98d0d2d1c6e3ad56c00fcb092f38f018bd93/Core2D.Perspex/Controls/Editor/EditorControl.paml#L12
and the following DataContext should inherit the Design.DataContext:
https://github.com/Core2D/Core2D/blob/410d98d0d2d1c6e3ad56c00fcb092f38f018bd93/Core2D.Perspex/Controls/Editor/EditorControl.paml#L22

@wieslawsoltes is this still an issue?

I do not use this anymore and as discussed in other issue Design.DataContext probably should be removed in the favor of the d:DataContext.


Rust Extension using Smithy IDL

Based on https://github.com/build-server-protocol/build-server-protocol/pull/426

@Xewar313 please focus on Rust Extension.
spec/src/main/resources/META-INF/smithy/bsp/extensions/rust.smithy

[ ] Check if Rust Extension has to be declared somewhere else than in
spec/src/main/resources/META-INF/smithy/manifest.

[ ] Check the integrity with previous implementation (field names, types). Some types changed as Smithy supports maps.

[ ] Check if RustRawDependencies are really needed by IntelliJ-Rust. Maybe we can remove them and extract all dependencies' information from a single type. This will reduce data coupling.


Provide a way to generate test data with invalid content but valid signatures

Description of issue or feature request:
As part of PHP-TUF, we've been building out our own conformance suite of test fixtures. (I've posted before about how we've continued to improve the determinism of the design.) Unfortunately, there's a conflict between easy fixture generation, good security design, and comprehensive testing. It's making it hard for us to test scenarios where the signatures are valid but the signed data is broken in some way:

The current library is mostly (and understandably) designed to provide correctly structured, signed data.
As is best practice for our design, we minimize parsing and usage until after signature validation.
We want to test our robustness against incorrect but signed data.

So, we're looking for advice or features -- we're not completely sure. Advice could be in the form of how to leverage securesystemslib or the TUF API to generate a signature over invalid metadata. Features could be in the form of a well-defined way to force the high-level TUF library to re-sign invalid data.
We've also considered adding a bypass to PHP-TUF to allow a fixture to be used in a way that skips signature validation before usage, but this seems undesirable in terms of making our fixtures maximally re-usable by other implementations.

The new Metadata API has the same "problem" I think: being able to sign the payload requires the payload to be valid (not all validation is written yet but that's the intention)...
I think something like this could work (intentionally not using TUF APIs to avoid any validation (present or future):

use any tool to produce python dict representation of the payload. Something likemd = json.load("filename")
payload = md["signed"]

modify/recreate the payload as test case demands
securesystemslib.formats.encode_canonical() takes any python object (like "payload") and outputs canonical json
create a signature using e.g. securesystemslib signer: sig = securesystemslib.signer.SSLibSigner(privkey).sign(canonical_json)
insert/modify signature in md["signatures"], write md to file

I'm sure there are more details to it but it feels like writing this into a small tool would not be too hard. Parts of the above could be handled by a higher-level library but then there's the danger of hitting some new validation that interacts with the invalid data you want to create...

Thanks, @jku! I'll give that a try.

https://github.com/theupdateframework/python-tuf/issues/1431#issuecomment-852792092 provides a simple recipe to achieve this with Python standard library features and securesystemslib.
I suggest to close now and re-open if there is a need to implement this recipe as part of python-tuf...


Removing environment specific urls

Replacing environment specific urls with environment variables

We should go ahead and get a gitlab build here. You can use the Scale one as a reference: https://github.com/ngageoint/scale/blob/master/.gitlab-ci.yml
You can set up a mirror to Gitlab to test the builds. I have that for Scale to test Gitlab builds and just created one for silo. You should have an invite for the group.

@gisjedi It took awhile, but the gitlab pipeline is finally working.  Unless there are other changes that need to be made, I think we're ready to merge this branch.


fix: add xz-utils as apt dependency

Should fix #53
(Dependency is used to extract the tar)

@mxschmitt LGTM.


Add a way to run the examples

maybe a docker container for each?

Nice idea.

or create a folder named 'test' where it contains a test/run for each file and have a CI (travis, ...) for testing.

implemting CI on this is a great idea and I'm working on this

BUMP
Does anyone have any ideas how we would build out something like this? The problem here is that there isn't a single OS that will run every single one of these examples. I have several servers I could host an application like this on, but I wouldn't even know where to start.

So it also turns out not all of these languages actually have compilers/interpreters (damn you, awesome esolangs!). Which makes sense, maybe someone just wanted to make a proof of concept but didn't want to go through the complication of writing a way to actually execute it.  I am pretty certain there is no possible way to run all of the assemblies on one machine (unless someone will find some kind of super-assembler), but as for the rest... It's just a matter of spending hours googling for all the compilers/interpreters and writing a very simple script to execute them (it will be really easy if the name of the compiler file will be the same as the name of the source file, e.g. the c compiler will be renamed from gcc to c in order to compile c.c). Though something as huge as this should just be it's own repo...

I might be speaking out of turn here, but I would strongly suggest creating a separate repository to get this started. It could always be merged back into this repo when it is stable but until it is, you're going to end up with a lot of non-hello-world related discussions and PR's.
As far as infrastructure goes, one container per language seems most sensible. If a container can not be created for a specific language, a virtual machine might be available. Languages that can not be run could simple be marked as such (to avoid effort being wasted), stating the reason (missing compiler, hardware not virtualizable, etc.)
I'd say it is certainly possible to create a executable version for most languages but it will be quite an undertaking.
Maybe we should check other "Hello world" collections to see if we can get more people onboard with this idea?

Adding shebang line runners for the languages that support it can be quite helpful.

some compiler support multiple languages. For languages that cannot be compiled, simply open an issue. Nobody can tell when we'll see a PR for esolangs :grin:

You can clone the repo using git clone https://github.com/leachim6/hello-world.git.
If you do not have Git, download it.