Feature: allowing docker-compose.override.yml file

Hi,
When the docker-compose command is run it will use the docker-compose.yml and docker-compose.override.yml file, and combine their configurations.
Could this be added to this projects?
This would allow me to have my own docker-compose.override.yml file which would be combined with the default configuration of dockerized, and allowing me to easily upgrade without worrying about overwriting my own local changes.

Hi @jtdevops!
That's a feature request I was sort of expecting already, as it would allow:

Customization of commands (such as mounting extra directories, or overriding base images)
Extending dockerized with extra commands that are very project specific

However, you mention your need for this feature is to avoid overwriting local changes. Do you mean local changes to dockerized/docker-compose.yml, which you did to allow those above improvements? Just clarifying to be sure I understand the use-case 100%.
Requirements proposal:

Dockerized will not automatically pick up local docker-compose files, without explicit opt-in.

This is to prevent scenarios where dockerized is run in a directory where an unrelated docker-compose file exists, which could breaks dockerized or causes unpredictable behavior.

The user can specify one or multiple docker-compose file that will be merged with the base config.
Relative volume mounts specified in the overriding docker-compose file, should be relative to the user's .yml file, not dockerized.

About the implementation, I have the following in mind:

dockerized/docker-compose.yml is always the base config file.
The project directory may contain a docker-compose.dockerized.yml file, which will automatically be loaded (merged).
The user can specify another extra config file, in dockerized.env. For example:COMPOSE_FILE=docker-compose.override.yml

Currently, docker-compose runs with the dockerized/ folder as the 'compose project working dir', so that volume mounts are relative to that directory.
To allow relative mounts defined by the user, dockerized will read the user's docker-compose file, and convert the relative mounts to absolute paths (e.g. './app' --> '/home/project1/app')

Curious to hear what you think. Especially, do you agree with requirement 1? Or would you rather assume that all docker-compose files would be picked up?
What sort of customization have you currently done? Was there a reason to keep those changes local, rather than making a PR for them? Thanks in advance for sharing!

Thanks for the quick reply. I like your thinking. :)

The dockerized/docker-compose.yml is the base file
If there is a dockerized/docker-compose.override.yml file, then merge this file with the base file.
I never thought about this, but If there is a project specific file docker-compose.dockerized.yml then also merge this with the previous ones, and ignore any project specific docker-compose.yml files

I am using Windows 10 with WSL, and my current issues I have noticed since I started using dockerized 2 releaes ago are:

I made changes to the dockerized/docker-compose.yml file to add additional volumes to the 'ansible' service so that I could map my ~/.ssh folder into the ansible container. Upgrading to your latest release(s) takes a bit of effort as I need to merge my changes back into your docker-compose.yml file after.
I have built a custom docker image with all of the development tools that I use in my workflow. I have also added this to your dockerized/docker-compose.yml file, but adding it to dockerized/docker-compose.override.yml would be better since this file wouldn't be bundled with your app/release.

I would also like to see if you might be able to help with file permission issues for WSL files and using volume mounts.
As mentioned above I need to add my ~/.ssh folder into the ansible container. However ssh complains that the files are 'rwxrwxrwx' and refuses to use them.
I also have an ansible.cfg file in the root of my ansible project, and ansible also refuses to load this file for the same reason.
To get around the .ssh folder issue, I have created a named volume and added the needed .ssh files and also changed their permissions. Now when the container runs ssh doesn't complain as the permissions are set to 600.
I am still trying to work on getting the ansible.cfg file working though, as this might be project specific.
Do you have any idea on how to get something like this working and easily updateable?
Could you maybe provide an option for the dockerized command to build a home/root volume that would include and change permissions as needed?
Thanks for such a great project.

* If there is a dockerized/docker-compose.override.yml file, then merge this file with the base file.
* I never thought about this, but If there is a project specific file docker-compose.dockerized.yml then also merge this with the previous ones, and ignore any project specific docker-compose.yml files

Ah, I see now, that you primarily need a method to globally customize the commands in dockerized. Not per project.
Clearly, changing the actual source-code is not a good long-term solution. The suggestion to do this was actually a mistake, as it was intended to help users contribute to dockerized, rather than to show how to add commands locally. But it was worded as such, and with no alternative you now ended up with this merge conflict 🤦♂. Sorry for that!
For the future, I think it will be safer to keep user-data separate from the source code.
Thinking about it, some services also already mount directories in ~/.dockerized/apps/. Since there are now 3 pieces of global user-data (dockerized.env file, yaml file, volume data), I think it will be better to keep all of it in one directory.
So the iterated functional proposal would be:

The dockerized/docker-compose.yml is the base file (unchanged)
If there is a ~/.dockerized/docker-compose.yml file, then merge this file with the base file. (name could be docker-compose.override.yml to emphasize that it doesn't need to be a "complete" yml file)
All mounted volumes specified in the user yml, should be absolute paths.

This will allow delegating the merging directly to docker-compose without manually fixing paths and merging the files.

I propose to split off the project specific docker-compose file for now, to keep the iteration small. So, no special new Env vars that specify the config file.

I am using Windows 10 with WSL, and my current issues I have noticed since I started using dockerized 2 releaes ago are:
* I made changes to the dockerized/docker-compose.yml file to add additional volumes to the 'ansible' service so that I could map my ~/.ssh folder into the ansible container. Upgrading to your latest release(s) takes a bit of effort as I need to merge my changes back into your docker-compose.yml file after.
* I have built a custom docker image with all of the development tools that I use in my workflow. I have also added this to your dockerized/docker-compose.yml file, but adding it to dockerized/docker-compose.override.yml would be better since this file wouldn't be bundled with your app/release.

Thanks for the details of your use-case! This indeed points to the need of local customization, which is separate from contributing to dockerized.

I would also like to see if you might be able to help with file permission issues for WSL files and using volume mounts. As mentioned above I need to add my ~/.ssh folder into the ansible container. However ssh complains that the files are 'rwxrwxrwx' and refuses to use them. I also have an ansible.cfg file in the root of my ansible project, and ansible also refuses to load this file for the same reason.

I'd recommend to have a look at https://docs.docker.com/compose/compose-file/compose-file-v3/#long-syntax
You can mount volumes in readonly mode and override the permission mode.

To get around the .ssh folder issue, I have created a named volume and added the needed .ssh files and also changed their permissions. Now when the container runs ssh doesn't complain as the permissions are set to 600. I am still trying to work on getting the ansible.cfg file working though, as this might be project specific.
Do you have any idea on how to get something like this working and easily updateable? Could you maybe provide an option for the dockerized command to build a home/root volume that would include and change permissions as needed?

Thanks for sharing. It will help to make dockerized work in more environments. I've mostly tested on Windows using git-bash, and will have a look this weekend if I can get ansible to work right.
If you need any initialization logic in your containers, you could have a look at:

gh
https://github.com/datastack-net/dockerized/blob/070c1f5c3e140e73ede21cde6430d7e3a1e97864/docker-compose.yml#L61-L75

I'm currently in doubt whether it makes sense to have 1 single dockerized HOME directory, in which all dockerized commands can read/write their config (including .ssh). It breaks isolation between projects, and commands may break when they share the same HOME dir (for example, a ~/.bashrc file that may work on ubuntu but not alpine). So it would imply different directories per command, and per project if needed. Something to keep thinking about.
If you have a working solution, I'd be glad to know what it looks, and see how dockerized can accommodate those solutions for other commands as well. In general I'd like commands such as ansible to work out of the box, without special efforts, and similar to the native commands, as stated in the Design goals.

Thanks for such a great project.

Glad to hear your feedback!

I've implemented the ability to override / extend the compose file.
Please see the new readme.
If there are any difficulties with it, or questions, feel free to open another issue.

Hi,
I am having some issues when use the global home directory 'dockerized.env' file and a per project 'dockerized.env' file.
The per project configuration seems to be overriding the global configuration that I have set.
I am using Windows 10 command prompt
~/dockerized.env (C:\Users<user>\dockerized.env)
HOME=${HOMEPATH}
COMPOSE_FILE="${COMPOSE_FILE};${HOME}/docker-compose.dockerized.yml"

~/docker-compose.dockerized.yml
version: "3"
services:
  dev:
    image: "my-project-build-env"
    stdin_open: true # docker run -i
    tty: true        # docker run -t
    entrypoint: [ "/bin/bash" ]

From within any folder, the following always works:
dockerized dev

C:\my-project\dockerized.env
COMPOSE_FILE="${COMPOSE_FILE};${DOCKERIZED_PROJECT_ROOT}/docker-compose.dockerized.yml"

C:\my-project\docker-compose.dockerized.yml
version: "3"
services:
  ansible: &ansible
    image: "willhallonline/ansible:${ANSIBLE_VERSION}-${ANSIBLE_BASE}"
    entrypoint: [ "/init.sh", "ansible" ]
    volumes:
      - "${HOME}/.ssh:/dockerized/host/home/.ssh"
      - ./apps/ansible/init.sh:/init.sh
  ansible-playbook:
    <<: *ansible
    entrypoint: [ "/init.sh", "ansible-playbook" ]
    environment:
      - ANSIBLE_CONFIG=ansible.cfg

From within my project folder, running ansible works
dockerized ansible localhost -m ping

However running the 'dev' service fails:
C:\my-project>dockerized dev
[+] Running 0/1
 - dev Error                                                                                1.1s

Using the 'dockerized.env' files above, it allows me to set a specific HOME variable for the CMD prompt, without affecting the WSL HOME variable as the users home paths are different for each prompt.

There was indeed a problem in the code. Fixed!


Phrase not spoken on second call to runAndWait()

Hey there! So I installed your library from pip and started playing around with it. There's a weird bug I'm encountering on Ubuntu 15.04 with Python 2.7.9. When I run this for the first time:
   engine.say('The quick brown fox jumped over the lazy dog.')
   engine.runAndWait()

it works correctly, but when I run the exact same code again in a program the voice cuts off after saying the beginning of the phrase (I'd say one or two characters in). I noticed this running your  Changing voices example.

try to set a value like a = engine.runAndWait() this seemed to work for me

Seems to work with those changes!

Thank you! This works.


NodeJS Functions running in VSCode shutting down after 15-20 minutes

I'm not sure this is the right place for this issue, but it's hard to know for sure. Please redirect me if needed.
In VSCode I'm running a NodeJS Functions app. It starts and runs fine for 15-20 minutes, and then I see:
Exceeded language worker restart retry count for runtime:node. Shutting down and proactively recycling the Functions Host to recover

I don't remember seeing this happening for this project when I was working daily on it a few weeks ago.
Basic stats:

Node: v10
Core Tools Version: 3.0.2996 Commit hash: c54cdc36323e9543ba11fb61dd107616e9022bba
Function Runtime Version: 3.0.14916.0
Happens on Mac or Windows
Happens when running locally or when running in a remote container
While it's running, it functions perfectly
The project is very simple APIs getting data from a DB
The project is running in an Azure Functions App fronted by APIM with no (known) problems

local.settings.json looks like:
{
    "IsEncrypted": false,
    "Values": {
        "AzureWebJobsStorage": "",
        "FUNCTIONS_WORKER_RUNTIME": "node",
        "NO_PROXY": "localhost,<IP_ADDRESS>"
    },
    "Host": {
        "LocalHttpPort": 7071,
        "CORS": "*"
    }
}

Running func start --verbose looks like:
                  %%%%%%
                 %%%%%%
            @   %%%%%%    @
          @@   %%%%%%      @@
       @@@    %%%%%%%%%%%    @@@
     @@      %%%%%%%%%%        @@
       @@         %%%%       @@
         @@      %%%       @@
           @@    %%      @@
                %%
                %

Azure Functions Core Tools
Core Tools Version:       3.0.2996 Commit hash: c54cdc36323e9543ba11fb61dd107616e9022bba
Function Runtime Version: 3.0.14916.0

[2020-11-18T23:05:45.268Z] Building host: startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'ec0d6403-30cb-44d4-8a80-97977a303e9e'
[2020-11-18T23:05:45.312Z] Reading host configuration file '/workspaces/<project>/host.json'
[2020-11-18T23:05:45.315Z] Host configuration file read:
[2020-11-18T23:05:45.315Z] {
[2020-11-18T23:05:45.315Z]   "version": "2.0",
[2020-11-18T23:05:45.315Z]   "logging": {
[2020-11-18T23:05:45.315Z]     "applicationInsights": {
[2020-11-18T23:05:45.316Z]       "samplingSettings": {
[2020-11-18T23:05:45.316Z]         "isEnabled": true,
[2020-11-18T23:05:45.316Z]         "excludedTypes": "Request"
[2020-11-18T23:05:45.316Z]       }
[2020-11-18T23:05:45.316Z]     }
[2020-11-18T23:05:45.316Z]   },
[2020-11-18T23:05:45.316Z]   "extensionBundle": {
[2020-11-18T23:05:45.316Z]     "id": "Microsoft.Azure.Functions.ExtensionBundle",
[2020-11-18T23:05:45.316Z]     "version": "[1.*, 2.0.0)"
[2020-11-18T23:05:45.316Z]   }
[2020-11-18T23:05:45.316Z] }
[2020-11-18T23:05:45.345Z] Loading functions metadata
[2020-11-18T23:05:45.376Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:java
[2020-11-18T23:05:45.379Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:powershell
[2020-11-18T23:05:45.384Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:python
[2020-11-18T23:05:45.387Z] Reading functions metadata
[2020-11-18T23:05:45.436Z] 10 functions found
[2020-11-18T23:05:45.457Z] 10 functions loaded
[2020-11-18T23:05:45.466Z] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at /home/node/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle
[2020-11-18T23:05:45.471Z] Found a matching extension bundle at /home/node/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/1.3.2
[2020-11-18T23:05:45.474Z] Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json
[2020-11-18T23:05:45.647Z] Skipping bundle download since it already exists at path /home/node/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/1.3.2
[2020-11-18T23:05:45.658Z] Loading extension bundle from /home/node/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/1.3.2/bin
[2020-11-18T23:05:45.673Z] Reading host configuration file '/workspaces/<project>/host.json'
[2020-11-18T23:05:45.673Z] Host configuration file read:
[2020-11-18T23:05:45.673Z] {
[2020-11-18T23:05:45.673Z]   "version": "2.0",
[2020-11-18T23:05:45.673Z]   "logging": {
[2020-11-18T23:05:45.673Z]     "applicationInsights": {
[2020-11-18T23:05:45.673Z]       "samplingSettings": {
[2020-11-18T23:05:45.673Z]         "isEnabled": true,
[2020-11-18T23:05:45.673Z]         "excludedTypes": "Request"
[2020-11-18T23:05:45.674Z]       }
[2020-11-18T23:05:45.674Z]     }
[2020-11-18T23:05:45.674Z]   },
[2020-11-18T23:05:45.674Z]   "extensionBundle": {
[2020-11-18T23:05:45.674Z]     "id": "Microsoft.Azure.Functions.ExtensionBundle",
[2020-11-18T23:05:45.674Z]     "version": "[1.*, 2.0.0)"
[2020-11-18T23:05:45.674Z]   }
[2020-11-18T23:05:45.675Z] }
[2020-11-18T23:05:46.117Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:java
[2020-11-18T23:05:46.117Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:powershell
[2020-11-18T23:05:46.118Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:python
[2020-11-18T23:05:46.245Z] Initializing Warmup Extension.
[2020-11-18T23:05:46.317Z] Initializing Host. OperationId: 'ec0d6403-30cb-44d4-8a80-97977a303e9e'.
[2020-11-18T23:05:46.329Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=ec0d6403-30cb-44d4-8a80-97977a303e9e
[2020-11-18T23:05:46.369Z] LoggerFilterOptions
[2020-11-18T23:05:46.369Z] {
[2020-11-18T23:05:46.369Z]   "MinLevel": "None",
[2020-11-18T23:05:46.369Z]   "Rules": [
[2020-11-18T23:05:46.370Z]     {
[2020-11-18T23:05:46.370Z]       "ProviderName": null,
[2020-11-18T23:05:46.370Z]       "CategoryName": null,
[2020-11-18T23:05:46.370Z]       "LogLevel": null,
[2020-11-18T23:05:46.370Z]       "Filter": "<AddFilter>b__0"
[2020-11-18T23:05:46.370Z]     },
[2020-11-18T23:05:46.370Z]     {
[2020-11-18T23:05:46.370Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2020-11-18T23:05:46.370Z]       "CategoryName": null,
[2020-11-18T23:05:46.370Z]       "LogLevel": "None",
[2020-11-18T23:05:46.370Z]       "Filter": null
[2020-11-18T23:05:46.370Z]     },
[2020-11-18T23:05:46.370Z]     {
[2020-11-18T23:05:46.371Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2020-11-18T23:05:46.371Z]       "CategoryName": null,
[2020-11-18T23:05:46.371Z]       "LogLevel": null,
[2020-11-18T23:05:46.371Z]       "Filter": "<AddFilter>b__0"
[2020-11-18T23:05:46.371Z]     },
[2020-11-18T23:05:46.371Z]     {
[2020-11-18T23:05:46.371Z]       "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2020-11-18T23:05:46.371Z]       "CategoryName": null,
[2020-11-18T23:05:46.371Z]       "LogLevel": null,
[2020-11-18T23:05:46.371Z]       "Filter": "<AddFilter>b__0"
[2020-11-18T23:05:46.371Z]     }
[2020-11-18T23:05:46.371Z]   ]
[2020-11-18T23:05:46.371Z] }
[2020-11-18T23:05:46.372Z] LoggerFilterOptions
[2020-11-18T23:05:46.372Z] {
[2020-11-18T23:05:46.372Z]   "MinLevel": "None",
[2020-11-18T23:05:46.372Z]   "Rules": [
[2020-11-18T23:05:46.372Z]     {
[2020-11-18T23:05:46.372Z]       "ProviderName": null,
[2020-11-18T23:05:46.372Z]       "CategoryName": null,
[2020-11-18T23:05:46.372Z]       "LogLevel": null,
[2020-11-18T23:05:46.373Z]       "Filter": "<AddFilter>b__0"
[2020-11-18T23:05:46.373Z]     },
[2020-11-18T23:05:46.373Z]     {
[2020-11-18T23:05:46.373Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2020-11-18T23:05:46.373Z]       "CategoryName": null,
[2020-11-18T23:05:46.373Z]       "LogLevel": "None",
[2020-11-18T23:05:46.373Z]       "Filter": null
[2020-11-18T23:05:46.373Z]     },
[2020-11-18T23:05:46.373Z]     {
[2020-11-18T23:05:46.373Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2020-11-18T23:05:46.373Z]       "CategoryName": null,
[2020-11-18T23:05:46.373Z]       "LogLevel": null,
[2020-11-18T23:05:46.373Z]       "Filter": "<AddFilter>b__0"
[2020-11-18T23:05:46.374Z]     },
[2020-11-18T23:05:46.374Z]     {
[2020-11-18T23:05:46.374Z]       "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2020-11-18T23:05:46.374Z]       "CategoryName": null,
[2020-11-18T23:05:46.374Z]       "LogLevel": null,
[2020-11-18T23:05:46.374Z]       "Filter": "<AddFilter>b__0"
[2020-11-18T23:05:46.374Z]     }
[2020-11-18T23:05:46.374Z]   ]
[2020-11-18T23:05:46.374Z] }
[2020-11-18T23:05:46.374Z] FunctionResultAggregatorOptions
[2020-11-18T23:05:46.374Z] {
[2020-11-18T23:05:46.375Z]   "BatchSize": 1000,
[2020-11-18T23:05:46.375Z]   "FlushTimeout": "00:00:30",
[2020-11-18T23:05:46.375Z]   "IsEnabled": true
[2020-11-18T23:05:46.375Z] }
[2020-11-18T23:05:46.375Z] SingletonOptions
[2020-11-18T23:05:46.375Z] {
[2020-11-18T23:05:46.375Z]   "LockPeriod": "00:00:15",
[2020-11-18T23:05:46.375Z]   "ListenerLockPeriod": "00:00:15",
[2020-11-18T23:05:46.376Z]   "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[2020-11-18T23:05:46.376Z]   "LockAcquisitionPollingInterval": "00:00:05",
[2020-11-18T23:05:46.376Z]   "ListenerLockRecoveryPollingInterval": "00:01:00"
[2020-11-18T23:05:46.376Z] }
[2020-11-18T23:05:46.376Z] HttpOptions
[2020-11-18T23:05:46.377Z] {
[2020-11-18T23:05:46.377Z]   "DynamicThrottlesEnabled": false,
[2020-11-18T23:05:46.377Z]   "MaxConcurrentRequests": -1,
[2020-11-18T23:05:46.377Z]   "MaxOutstandingRequests": -1,
[2020-11-18T23:05:46.377Z]   "RoutePrefix": "api"
[2020-11-18T23:05:46.377Z] }
[2020-11-18T23:05:46.380Z] Starting JobHost
[2020-11-18T23:05:46.388Z] Starting Host (HostId=84e8d03f575d-1810610370, InstanceId=cfff564f-dd78-4c11-91b5-c2cef0ba7f89, Version=3.0.14916.0, ProcessId=5253, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
[2020-11-18T23:05:46.418Z] Loading functions metadata
[2020-11-18T23:05:46.419Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:java
[2020-11-18T23:05:46.420Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:powershell
[2020-11-18T23:05:46.421Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language:python
[2020-11-18T23:05:46.436Z] Loading proxies metadata
[2020-11-18T23:05:46.443Z] Initializing Azure Function proxies
[2020-11-18T23:05:46.753Z] 0 proxies loaded
[2020-11-18T23:05:46.767Z] 10 functions loaded
[2020-11-18T23:05:46.854Z] Generating 10 job function(s)
[2020-11-18T23:05:46.946Z] Found the following functions:
  ---redacted---
[2020-11-18T23:05:46.949Z]
[2020-11-18T23:05:46.971Z] Initializing function HTTP routes
  ---redacted---
[2020-11-18T23:05:46.975Z]
[2020-11-18T23:05:46.989Z] Host initialized (585ms)
[2020-11-18T23:05:46.993Z] Host started (603ms)
[2020-11-18T23:05:46.993Z] Job host started

Functions:

  ---redacted---

[2020-11-18T23:05:47.289Z] Worker process started and initialized.
[2020-11-18T23:05:52.013Z] Host lock lease acquired by instance ID '00000000000000000000000006E61056'.
[2020-11-18T23:11:10.868Z] Worker process started and initialized.
[2020-11-18T23:17:40.906Z] Worker process started and initialized.
[2020-11-18T23:24:10.635Z] Exceeded language worker restart retry count for runtime:node. Shutting down and proactively recycling the Functions Host to recover
[2020-11-18T23:24:10.657Z] Stopping host...
[2020-11-18T23:24:10.679Z] Stopping JobHost
[2020-11-18T23:24:10.691Z] Job host stopped
[2020-11-18T23:24:10.717Z] Host shutdown completed.

I'm wondering if this might be related to developing in containers. I rolled back to just before I ran this in a container and it seems to run fine, without stopping.
I started running in a container by running "Remote Containers: Add Development Container Configuration Files..." and choosing "Azure Functions & Node.js". Which, BTW, was amazing for how seamlessly it got things running. The only flaw is this "Exceeded language worker restart..." stopping problem.
Any thoughts?

I believe this was caused by an uncaught exception in my own function code, so closing this; I can't recreate it any more.


[2.0.1-cherry-pick] fix the process list page load slowly.

cherry-pick issue: #7061
pr: #7166 #7139

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.0.1-prepare@449c098). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             2.0.1-prepare    #7174   +/-   ##
================================================
  Coverage                 ?   32.08%
  Complexity               ?     1568
================================================
  Files                    ?      433
  Lines                    ?    14495
  Branches                 ?     1439
================================================
  Hits                     ?     4650
  Misses                   ?     9389
  Partials                 ?      456

Continue to review full report at Codecov.

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


Drop Python 3.9 support

Can you also update the branch protection rule to require
Tests (ubuntu-22.04, 3.10, py310) / test (pull_request)
instead of
Tests (ubuntu-22.04, 3.9, py39) / test  ?


Add Jenkinsfile support for lockable resources

In order to move our CI testing from the cloud project to the cloud-ci
project, we need our jobs to support lockable resources. Add job
parameters for initial support.

@jesusaurus Could you describe a bit more why we need lockable resources (I don't even know what lockable resources are in this context) please?
To switch to a different project, I thought changing the value in /home/jenkins/.config/openstack/clouds.yaml would be enough. Did I miss anything?

I thought the same thing, but Stephen told me that any jenkins jobs that run in the cloud-ci project must manage their resource usage using the jenkins lockable resources plugin. He also told me that the project is for the CI team, not for general CI, so we may be taking a different approach and creating a new project for our CI to manage its quota.

@stefannica out of interest - why do we need lockable resource? Could you give an example?
@jesusaurus then I guess we can create a new cloud-socok8s-ci project and skip the lockable resource requirement for now?

@toabctl yeah, I think a dedicated project is the way to go, but I'm waiting on someone who can create it for me.

abandoned in favor of#694


[auto-merge] branch-22.04 to branch-22.06 [skip ci] [bot]

auto-merge triggered by github actions on branch-22.04 to create a PR keeping branch-22.06 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

FAILURE - Unable to auto-merge. Manual operation is required.
{'message': 'Pull Request is not mergeable', 'documentation_url': 'https://docs.github.com/rest/reference/pulls#merge-a-pull-request'}

Please use the following steps to fix the merge conflicts manually:
# Assume upstream is NVIDIA/spark-rapids remote
git fetch upstream branch-22.04 branch-22.06
git checkout -b fix-auto-merge-conflict-5057 upstream/branch-22.06
git merge upstream/branch-22.04
# Fix any merge conflicts caused by this merge
git commit -am "Merge branch-22.04 into branch-22.06"
git push <personal fork> fix-auto-merge-conflict-5057
# Open a PR targets NVIDIA/spark-rapids branch-22.06

IMPORTANT: Before merging this PR, be sure to change the merging strategy to Create a merge commit (repo admin only).
Once this PR is merged, the auto-merge PR should automatically be closed since it contains the same commit hashes

Working on this.


DeviceOrientation.landscapeRight is upside down on Android

Steps to Reproduce

In a test app, add the following line before runApp call.

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([
    DeviceOrientation.landscapeRight
  ]);
  runApp(MyApp());
}

Run the app on iOS and Android respectively
Notice that the orientation on iOS is landscape right (correct), while on Android it's landscape left (wrong!)

$ flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-7.1.pre, on Mac OS X 10.15.5 19F101, locale en-CN)
    • Flutter version 1.20.0-7.1.pre at /Applications/flutter
    • Framework revision 7736f3bc90 (6 days ago), 2020-07-10 16:33:05 -0700
    • Engine revision d48085141c
    • Dart version 2.9.0 (build 2.9.0-21.2.beta)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Applications/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Applications/Android/sdk
    • ANDROID_SDK_ROOT = /Applications/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (2 available)
    • ONEPLUS A6000 (mobile)   •<myudid>                                 • android-arm64 • Android 10 (API 29)
    • MyiPhone (mobile)         •<myudid2>                               • ios           • iOS 13.5.1

• No issues found!

The Android phone is an ONEPLUS A6000;
The iPhone is an iPhone6.
Currently I can only fix this by conditionally setting the orientation to landscape left on Android.

Code Sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeRight]);
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton:
          FloatingActionButton(child: Icon(Icons.add), onPressed: () {}),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-2.0.pre.55, on Mac OS X 10.15.6 19G73,
    locale en-GB)
    • Flutter version 1.21.0-2.0.pre.55 at /Users/taha/Code/flutter_master
    • Framework revision 1840b7121a (4 hours ago), 2020-07-16 23:15:23 -0700
    • Engine revision d3b81f19fc
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 06183779d7)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome
      83.0.4103.116

• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.17.5 at /Users/taha/Code/flutter_stable
    • Framework revision 8af6b2f038 (2 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (2 available)
    • SM M305F  • 32003c30dc19668f                     • android-arm64 • Android
      10 (API 29)
    • iPhone 11 • AAB605C7-0569-43D6-9D8D-2AC1A9C36264 • ios           •
      com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)

• No issues found!

any solution for this issue?

Hi @sabawoon-baryal
Can you please provide your flutter doctor -v and screen capture for landscapeRight ?
Thank you

I am facing this issue now.
DeviceOrientation.landscapeRight

Is somehow upside down on Samsung Galaxy S10

I am facing this issue now.
DeviceOrientation.landscapeRight

Is somehow upside down on Samsung Galaxy S10

I'm facing this issue too.

I'm facing the exactly same issue too.

Doesn't reproduce on stable 3.3 or master 3.7

code sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeRight]);
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: const Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: const Text('Hello World'),
        ),
      ),
      floatingActionButton:
          FloatingActionButton(child: const Icon(Icons.add), onPressed: () {}),
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-13.0.pre.131, on macOS 13.1 22C65 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-13.0.pre.131 on channel master at /Users/mahesh/Development/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0196e6050b (2 days ago), 2022-12-31 11:10:23 -0500
    • Engine revision 932591ec04
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
      and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Closing as fixed. Incase anyone still encounters the issue then please write back in the comments with more details and we will reopen the issue.


imhex: init at 1.19.3

Description of changes
Further to https://github.com/NixOS/nixpkgs/pull/148646
Closes #105997
Closes #148646
A slightly more elegant approach compared to symlinking the plugins dir to $out/bin would be to patch things up to look for it in the right place.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] 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
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Just to elaborate on why #148646 is not sufficient:

here we use as much as possible from nixpkgs instead of building the vendored dependencies
we use the install infrastructure instead of manually overriding it completely

Hi! Thanks for adding ImHex to Nix!
If there's anything you'd need me to add / change in ImHex itself, please contact me either on Discord (WerWolv#1337) or open an issue on my GitHub repo. I'm more than happy to provide direct support for things so you don't need to make and maintain Nix-only patches

Awesome! I was just looking for ImHex in Nixpkgs and found this PR. Thank you!
I tried this on my NixOS machine. I haven't used ImHex before. The core functionality seems to be working nicely, but the file dialogs are not working. For example clicking File -> Open File... doesn't show anything. In addition, it seems the patterns are not automatically loaded, for instance, opening an ELF file using command-line didn't show anything in the "pattern data" panel.
I just couldn't figure out how to debug these issues properly and wasn't sure this was related to this Nix package in particular.

The core functionality seems to be working nicely, but the file dialogs are not working. For example clicking File -> Open File... doesn't show anything.

I tested this on my gnome system and my KDE system and the file dialog worked for me on both.  What desktop environment are you using?

I tested this on my gnome system and my KDE system and the file dialog worked for me on both.

Ah maybe it isn't a packaging problem.

What desktop environment are you using?

i3 on xserver. I guess the file dialog not working can be ignored.

The file dialog not working correctly on some systems is a known "issue". It's because ImHex uses xdg-desktop-portal for it and that's somehow not correctly setup on some systems or doesn't have a frontend available.
I don't really know how to fix it either but I'd be interested on a global fix too that I could implement

The file dialog not working correctly on some systems is a known "issue". It's because ImHex uses xdg-desktop-portal for it and that's somehow not correctly setup on some systems or doesn't have a frontend available. I don't really know how to fix it either but I'd be interested on a global fix too that I could implement

I can confirm it works with xdg-desktop-portal-gtk enabled :+1: Loading patterns also just opens the file dialog in my home directory, instead of the directory where the patterns are located. That said, it already is quite usable the way it is right now.

@WerWolv thanks for both imhex and supporting the packaging efforts here.
It would be fantastic if imhex supported looking for plugins under PREFIX/share/imhex (or similar) out of the box so that the the files installed through make install are available/usable.

@peterhoeg We already added this to make bundling ImHex for Fedora easier. As far as I know it came with v1.20.0 so the nix package here needs to be updated first.
After that you can simply set the IMHEX_PLUGINS_IN_SHARE cmake option and it should put and load all plugins in share/imhex/plugins :)

Basically if we can have an option to provide the path for the plugins (and the rest from ImHex-Patterns) at build-time, that would be great.

It would be fantastic if ImHex supported looking for plugins under PREFIX/share/imhex (or similar) out of the box so that the the files installed through make install are available/usable.

Do you mean the make install of ImHex ? It installs plugins under PREFIX/[lib|lib64]/imhex/plugins by default for almost every package now (see the release artifacts). Only the AppImage uses PREFIX/share/imhex for some reason related to path hardcoding (I don't really remember)

Basically if we can have an option to provide the path for the plugins (and the rest from ImHex-Patterns) at build-time, that would be great.

I personally think it is a bad idea to add another location for the plugins, because we would end up confusing people making plugins, and make overall packaging harder (I understand it's not my decision to make through). Is there a reason why this would help you ?


Integrate Bubbletea list CLI for command selecting

TL;DR
Integrate bubble tea CLI into flytectl.
Type

[ ] Bug Fix
[X] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Under development

Tracking Issue
https://github.com/flyteorg/flyte/issues/<4440>
Follow-up issue
NA

Can you merge master to get rid of the failure in the unit tests?

Can you merge master to get rid of the failure in the unit tests?

Sure!


equilibrium_point__Programme_added

I have executued the code for getting an equilibrium point in an array. equilibrium point literally means the element in an array where the sum of elements on it's left side is equal to the sum of elements on it's right side.
I wrote the function equilibrium_point() that will take an array a[], it's length n as an input and return the equilibrium point of that array, if it does not exist, it simply would return zero.
I hope you like these changes.
would love to listen from you what do you think?

Jimmy Taravia

I will soon be reviewing all the PRs(Probably by the end of coming Saturday and Sunday). Sorry for the wait.


TypeError: Cannot read property 'forEach' of null

Hello all,
I am quite new to node.js, but still haven't been able to connect to my wallet. I have created my api keys and copied them to the code, but I get the following error:

accounts.forEach(function(acct) {
TypeError: Cannot read property 'forEach' of null

My code is copied from the website:
var Client = require('coinbase').Client;

var client = new Client({
  'apiKey': 'IPutMyKeyHere',
  'apiSecret': 'PutMySecretHere'});

client.getAccounts({}, function(err, accounts) {
  accounts.forEach(function(acct) {
    console.log('my bal: ' + acct.balance.amount + ' for ' + acct.name);
  });
});

Looking forward to your answer!
Thanks!

For security reasons a newly created api-key is disabled the first 48h after creation, when did you create the api-key?

Hey ejuopperi I'm having the exact same issue and my api-key was created about 4 days ago. Other than installing coinbase, are there any files I need to copy over to get this to work? I'm pretty new to node.js as well but I thought this was something I could handle.

If your accounts variable is null, the coinbase api likely returned an error.
It would be helpful to print out your error
client.getAccounts({}, function(err, accounts) {
  if (err != null) {
    console.log(err);
  }

  // accounts.forEach(function(acct) {
  //   console.log('my bal: ' + acct.balance.amount + ' for ' + acct.name);
  // });
});

i have same problem. But i took my api key a day ago


Import Cashu Token in v1 and v2 format

At the moment only the current format v3 is supported, but for backwards compatability it would be good to have support for
importing deprecated cashu Token v1 and v2 formats as described here https://github.com/cashubtc/nuts/blob/main/00.md
Exporting of old formats is not required.

Token v1 and v2 are deprecated


"You accessed a private folder with x" on every boot

After running tar -czf /keybase/private/strib@github,empirejones/client-12730.tgz ~/.cache/keybase/keybase.git* per the request on
#12730, I'm now getting this popup every time I start my computer.

This seems related to #6262, although I'm getting it on every boot.
Is there a way to make this not happen? Thanks!

It's a lovely image, though, isn't it?  Your OS/distro must have put that on a list of recently-visited files or something, and loads it every time you start.  You can suppress it by clicking the "Follow" button.  If you'd rather not follow me publicly (understandable), you can keybase follow -l strib from the command line, to follow locally just on that device.

Oh actually, I think this is a Linux bug that I fixed on late Friday.  Following me will fix it, or you can also wait for the next linux release, probably tomorrow.

ok, I'll try the update once it's available. Thanks!

Fixed with latest update!


[subset] Fix subsetting of variable fonts

Fixes https://github.com/fonttools/fonttools/issues/2769
I don't know how no one noticed this before or how it worked before.

good catch

I don't know how no one noticed this before or how it worked before.

don't know either, but we should add a test to avoid regressions in the future

Perhaps some other module in that test has already imported varLib.varStore...

Perhaps some other module in that test has already imported varLib.varStore...

possibly..

Any test font (like what we have in tree) should do.  Merging!

it might not be super ideal that we have all these methods magically added as a side effect of importing some module (there's pros and cons to that), but we can revise this later. For now I'll just make a bugfix release with this patch.

It's working in 4.36.0 release. Thanks for the quick fix!

is it? I actually haven't made a new release yet :)

give me a couple minutes to draft the changelog and will push a new tag

I mean some change between 4.36.0 and 4.37.0 might break it. It's working in 4.36.0 release.

AH! the reason it works with 4.36.0 but not with 4.37.0 is that in the meantime this commit was added d4d8c4ac5 which removed a seemingly unused import from fontTools.varLib.varStore import VarStoreInstancer from the fontTools/subset/cff.py module...

@qxliu76 https://github.com/fonttools/fonttools/releases/tag/4.37.1

@qxliu76 https://github.com/fonttools/fonttools/releases/tag/4.37.1

Thank you!


use Buffer.from('text') rather than new Buffer('text') when available

fix (node:11826) [DEP0005] DeprecationWarning:
Buffer() is deprecated due to security and usability issues.
Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Also, includes a check for whether Buffer.from is actually available :-)

node 10 is failing due to broken named interceptor test (unrelated to this PR)

The test is probably broken for the same reason as this: 2b45552c97490a2d95cc2a303a799d9e609de9ab

I tried to fix that (in a separate branch) but ran into other issues.  I'll push it so we can all take a look.  Meanwhile, let's approve & merge this one.

Sure, squash and merge.


Face gender sample code

face_recognition version: latest
Python version: 3.6
Operating System: Ubuntu/Mac

Description
Hi, thanks for ageitgey and dlib's excellent API.
I am doing a face gender classifier by using face_encodings as a feature extractor and scikit-learn SVM. Here is my code. The code and pretrained model is provided, feel free to use it.
What I Did
Sample code

Thanks for sharing your code. This kind of feature extractor approach could be useful to people doing all sorts of different things.

Thank you @cftang0827 :) Thats so sweet :) May i know the accuracy of your classifier ?

Hi, here is the evaluation metric
             precision    recall  f1-score   support

          f       0.90      0.99      0.94       159
          m       0.99      0.91      0.95       189

 avg / total       0.95      0.95      0.95       348

And you can also see it on my github, due to the lack of Asian face data, so the accuracy is not so high compare with other DNN approach.
I think the accuracy could be improved by using neuron network, or using image augmentation to gain more data.
Thank you :)


Stalled when the internet connection is intermitent...

@Edicksonjga The app get blocked after that the internet connection is restored. In this case the App should continue with the syncing with no problem at all.


feat(lang) extension for alternative nvim-java distribution

Might not be on-par with nvim-jdtls right now, but is more opinionated and setup is way easier.

I think an alternative would be great. We might have both in the extras?

I think an alternative would be great. We might have both in the extras?

Yeah, that's why I gave it a different name here (nvim-java). Eventually we want to rename the original extension as nvim-jdtls..?!?


Session removal

Ref:

https://github.com/epinio/epinio/issues/1571

Session wasn't used anywhere. Removing it.

Codecov Report

Merging #1671 (3152334) into main (4809917) will decrease coverage by 53.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #1671       +/-   ##
==========================================
- Coverage   61.91%   8.67%   -53.24%
==========================================
  Files         168      85       -83
  Lines       12547    8333     -4214
==========================================
- Hits         7768     723     -7045
- Misses       3811    7563     +3752
+ Partials      968      47      -921

Flag
Coverage Δ

acceptance-api
?

acceptance-apps
?

acceptance-cli
?

unittests
8.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Negative temperature readings show incorrectly

Looks like the temperature is actually a signed int. The provided Roamer android app says my BMS temperature is -2°C, but esphome-basen-bms reports 254°C.
[13:33:22][D][sensor:094]: 'basen-bms-ble temperature 1': Sending state 254.00000 °C with 0 decimals of accuracy

I've pushed a fix to a feature branch. Please update your YAML (temporary) from:
substitutions:
  name: basen-bms-ble
  device_description: "Monitor a Basen Battery Management System via BLE"
  external_components_source: github://syssi/esphome-basen-bms@main

to
substitutions:
  name: basen-bms-ble
  device_description: "Monitor a Basen Battery Management System via BLE"
  external_components_source: github://syssi/esphome-basen-bms@fix-temperatures

Please flash your ESP another time and give it a try. Does this change fix the issue?

That was quick, thank you!
I have flashed the ESP but inconveniently the temperature is now above zero - I'll check this tomorrow.

To follow up - works fine and displays negative temperatures correctly.

Perfect! I've merged the fix into main already. Please change your YAML configuration back to @main. Is your battery pack already mentioned as supported at the README or do you like to provide some details about your battery?


private npm

Current coverage is 29.37%

Branch #1 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.


API for adding extensions in order to implement tracing

Hello, first off I just want to say thanks for all the work everyone has put into this codebase, it's been awesome to work with so far!
I've noticed that there are some open issues in regards to adding better support for tracing, and I've spent a decent amount of time searching for answers but I was hoping that a post here would yield me to the ideal solution.
I spent a bit of time setting up some wrapped resolver functions as Jason suggests here: https://github.com/webonyx/graphql-php/issues/94#issuecomment-330273420
and this worked fine when I was using GraphQL::executeQuery as I could just directly do something like $result['extensions']['tracing'] = $traceData;
However, after switching to the StandardServer (needed to support batched queries) I was no longer able to use such a solution.
If there were a simple API for adding extensions onto the result executor that would be one simple solution for us. I looked through the codebase/docs and could not find anything. I don't mind opening a PR adding such support if it seems like something other people would find useful. I'm not sure what else extensions are used for outside of tracing, so if there was a native way to enable tracing that would be sufficient as well (seems like that may be a ways off though)
Thanks!

Thanks for your feedback. Have you seen https://github.com/webonyx/graphql-php/pull/193 ? Would it work for you?
Alternative is just to add an option resultFormatter to the server where you will be able to do whatever you want with execution result. Which solution would work better for you?

I was originally thinking that #193 would be sufficient for our use case, but I'm not sure how we would be able to add request start/end times from within the context of a resolver without doing some super janky stuff. A resultFormatter would definitely work if I'm interepreting what you mean correctly (pass in a function that takes the result as a param and returns a new formatted version of the result)

Actually, after further inspection, it seems I can already essentially do that using $result = $server->executeRequest() and then handling it in my application code.

For anyone interested, there is another proposal on how to enable apollo tracing for any existing schema: see https://github.com/webonyx/graphql-php/issues/289#issuecomment-399633709 PRs are welcome!


Raspberry. Dividing one UART respond on a few parts, on a new Linux kernel

📚 Documentation
Not matter Node.JS 10 or 14.
I've tryed on Raspberry: CM3+, Pi 4 Model B, Pi 3 Model B
Hardware connection:
RPi (Node serialport) <->USB/RS485<->device
That i'm doing:
I'm requesting one time a device  for a binary data (Modbus RTU)  by uart, and a device send me one response. Quantity of bytes in response, not known in advance. End of response ("data" event) emitted when a 1.5 bytes-lenght time-delay after a last byte has expired. And that approach have been working long time on old Linux 5.4.51(as well as it still excellent working on x86 Windows 7, 10, Ubuntu Linux)
Normar behavior: i have received one whole an answer from a device.
Incorrect behavior: An one device's respond has been divided at a few parts, as result i have received a few data packets.
Normal behavior: Linux 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
Incorrect behavior: Linux 5.10.44-v7+ #1427 SMP Wed Jun 23 13:49:47 BST 2021 armv7l GNU/Linux
What was be changed at a new RPi Linux kernel? And how to reliably do my case without a sifting through the operating systems.
At Windows API i can set delay after data packet:
commtimeouts.ReadIntervalTimeout         = after_packet_delay;
commtimeouts.ReadTotalTimeoutConstant    = 500;//device not respond
...
SetCommTimeouts( hCommFile, commtimeouts);
What about Linux? Are you setting commtimeouts by default?

i have asked about at raspberry's forum
https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=317111
UART behavior depends on type of device /dev/ttyXXX

Hi @GerasimGerasimov
In case this helps, the read / write functionality are a little different between Windows and the Unix/POSIX based environments; windows uses the windows fileapi.h, while other platforms use the fs.h.  This would explain differences between linux and windows that you are seeing, but not differences between linux on different architectures.
You could try to use the InterByteTimeout Parser if you want to set timeouts, but I'm not sure if that would be helpful for your usage

Thanks, i have used the idea from your advice. The 'data' event is gathering chunks of one respond and starting a timer to frame-end delay. And once a timer emitted, the whole respond is ready to processing.
ChunkEndTime: number = 10;
Respond: Array<number> = [];

port.on('data',  (data: any)=>{
  Respond.push(...data);
  restartChunkEndTimer(ChunkEndTime)
});

function restartChunkEndTimer(frameEndTime: number):void {
  setTimeout(() => {
    onChunkEndTime();
    }, frameEndTime);
 }

function onChunkEndTime():void {
  console.log(`respond: ${Respond}`);
  processingRespond(Respond);
 }

function processingRespond(resp: Array<number>) {
.....
}


problems

Some problems on  build and pack project,a blank on desk table app

Hello. Can you run the project successfully?

I'm adding mantine ui. I'll commit with Mantine soon

https://github.com/saulotarsobc/electronjs-with-nextjs/commit/f405a16391575432e0030aa2d2d57b86d53a19cb


The onDrop callback is missing the event parameter

The readme mentions this:

// Calls when some element has been dropped
onDrop: (elemParams: { x: number, y: number, w: number, h: number, e: Event }) => void

the code ReactGridLayout.jsx:799 seems to be omitting the event. Any chance we could pass that event through?

Found it on 0.18.3 release


Use simplified regex for html placeholders

util already provides the regex we need for all placeholders, and we're doing extra work parsing for the explicit union of all of them.
In documents with ~30000 placeholders, I get a ~5x speedup with this change.

Can you add a note to the release notes?

Updated release notes for 3.2 under "bug fixes"


Use Player Pinning in Post History View and Liked View

This might cause issues as Post History View and Liked View are searchable. This might take extensive testing.

What does this mean?


feat: Sync from aztec-packages

Automated pull of Noir development from aztec-packages.
BEGIN_COMMIT_OVERRIDE
feat: Add CMOV instruction to brillig and brillig gen (https://github.com/AztecProtocol/aztec-packages/pull/5308)
feat(acir)!: Program and witness stack structure (https://github.com/AztecProtocol/aztec-packages/pull/5149)
feat!: automatic NoteInterface and NoteGetterOptions auto select (https://github.com/AztecProtocol/aztec-packages/pull/4508)
END_COMMIT_OVERRIDE

Last time I solved it by pulling noir master on aztec-packages, deleting this branch and triggering a sync manually from aztec-packages to here

The revert looks to be small so I just manually did it.

@sirasistant We do need another bb.js release though your code wasn't included in the most recent release

Yup let's see if we can release bb

Release 0.30.1 is on the way

I can update once it is posted on npm

@TomAFrench Good to merge?

I think this is not reverting anything else


feat(Data/MvPolynomial/Basic): add three trivial lemmas

The corresponding PR to mathlib3 is https://github.com/leanprover-community/mathlib/pull/18855

@ericrbg, generally its better to not create these PRs until the mathlib3 PR is merged, as then the reviewer can compare the mathlib output.

wrong name I think :b

Whoops!

@Hagb, this should be ready to revive in 18 hours or so. You can visit the pages of the form https://leanprover-community.github.io/mathlib-port-status/file/data/mv_polynomial/basic to see the auto-translated versions of your changes, in the "Changes in mathlib3port" section. Note that they are not there yet as the translator runs once a day.

This PR/issue depends on:

leanprover-community/mathlib4#3752
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#3752
By Dependent Issues (🤖). Happy coding!

Thank @Parcly-Taxel.
@eric-wieser Forward-porting should have been done.


Unable to export material animation on  emission

Use blender 4.2.1
I made a material animation based on emission. After exporting it using nla, I found an error. The reference video, error picture and test file are as follows
reference video
https://github.com/user-attachments/assets/82d3245f-9d2b-41b8-8512-0dbad6e5885c
error picture

test file
test.zip

This is the export settings used

confirmed


Manage multiple Controller

For more clarity, we should create several Controller:

[ ] webhook: handle /webhook endpoint
[ ] cron: handle /cron
[ ] application:  handle / + reload cron jobs and setup everything
[ ] register: handle /register/** and /config-env => github OAuth app + classical registration
[ ] docs: handle /schema /rules /options /runnables

@EmmanuelDemey what do you think?


Feature Request: Add Zod Validation to API Endpoints #39

issue #39
Summary: This PR adds the login functionality for both users and hospitals to the Express.js application. It includes user input validation using Zod, password hashing verification with bcrypt, and JWT token generation for successful logins.

In the deploy preview I am log able to log in some error oops up I guess there are some bugs and issues, can you check it again?

Okay maybe it's due to cors in deploy link, I'll merge


Selecting in "View Source" closes composebox on Firefox

See CZO thread.

Specifically, the compose box gets closed at the point when you release the mouse button to finish a selection.
This reproduces in Firefox on Linux. It doesn't reproduce in Chrome on Linux, or in the desktop app on macOS. Probably it reproduces on Firefox anywhere, and not on Chrome or the desktop app (which is based on Chromium via Electron) anywhere.

Can confirm on Firefox (Developer's Edition) on Windows

I believe this is controlled by the following ugly logic in click_handlers.js:
        if (compose_state.composing()) {
            if ($(e.target).closest("a").length > 0) {
                // Refocus compose message text box if one clicks an external
                // link/url to view something else while composing a message
                // See issue #4331 for more details
                $("#compose-textarea").trigger("focus");
                return;
            } else if (
                !window.getSelection().toString() &&
                // Clicks inside an overlay, popover, custom
                // modal, or backdrop of one of the above
                // should not have any effect on the compose
                // state.
                !$(e.target).closest(".overlay").length &&
                !$(e.target).closest(".popover").length &&
                !$(e.target).closest(".modal").length &&
                !$(e.target).closest(".modal-backdrop").length &&
                $(e.target).closest("body").length
            ) {
                // Unfocus our compose area if we click out of it. Don't let exits\
 out
                // of overlays or selecting text (for copy+paste) trigger cancelli\
ng.
                // Check if the click is within the body to prevent extensions fro\
m
                // interfering with the compose box.
                compose_actions.cancel();
            }

I think window.getSelection().toString(), combined with an earlier $(e.target).is(".drag")), is intended to cover attempts to select text.  We use document.getSelection().type === "Range") for this purpose elsewhere; could differences in those behaviors be the cause of this bug?

Nobody seems able to reproduce this on Firefox before, so I think we can assume this is a quirk in Firefox that is no longer present. See https://chat.zulip.org/#narrow/stream/101-design/topic/composebox.20stickiness/near/1287074 for the testing discussion.


Enable search by phone number

[ ] Enable phone number search for any format of 10 numbers and extensions

Currently the phone numbers on the site are not searchable, whether they are in the main phone number field, or in the text fields.

e.g. for this location https://test.yourpeer.nyc/locations/legal-services-nyc-tribeca
Even if I search with the exact number, e.g.<PHONE_NUMBER>, which appears in the important information field, it is not recognized https://test.yourpeer.nyc/locations/legal-services-nyc-tribeca

- Similarly, the main number is not searchable

@jbeard4 not done


predict_segmentation

I have read your paper and code. I think it's an amazing and interesting job. There were some problems running the code you provided.
The function named predict_segmentation appears frequently in your code, but I can't find its definition. And the statements using it always report errors as follows:
ValueError: too many values to unpack (expected 2)
such as
[segm_pred_1, segm_pred_2], [pred_probability_1, pred_probability_2] = model.predict_segmentation(inp = img_crop)
at line about 40 in the file ./test_model/spatial/test_and_score.py.
I would appreciate it if you could take the time to answer my question.

and what is 'i3d features' in test_model/temporal/config.py？ i have problems in getting them. and I would appreciate it if you could take the time to provide a more direct or detailed way to get it. I am looking forward to your early reply. thank you


Fuse always crash when try to write data in using 'mv'

Alluxio Version:
2.5.2
Describe the bug
When try to use linux 'mv' command to write data into fuse, fuse client will always crash.
To Reproduce
bili-docker /workspace # echo "abcd" > test.txt
bili-docker /workspace # cp test.txt /DATA/jupyter/test3.txt
bili-docker /workspace # cp test.txt /DATA/jupyter/account-steal-data-space/test3.txt
bili-docker /workspace # cat /DATA/jupyter/account-steal-data-space/test3.txt^C
bili-docker /workspace # cp test.txt /DATA/jupyter/account-steal-data-space/test/test3.txt
bili-docker /workspace # cat /DATA/jupyter/account-steal-data-space/test/test3.txt
abcd
bili-docker /workspace # mv test.txt /DATA/jupyter/account-steal-data-space/test/test4.txt
mv: preserving permissions for ‘/DATA/jupyter/account-steal-data-space/test/test4.txt’: Software caused connection abort
mv: failed to close '/DATA/jupyter/account-steal-data-space/test/test4.txt': Transport endpoint is not connected
Fuse crash log:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007f3db433d75e, pid=15, tid=0x00007f3cdbfff700
JRE version: OpenJDK Runtime Environment (8.0_282-b08) (build 1.8.0_282-8u282-b08-0ubuntu1~16.04-b08)
Java VM: OpenJDK 64-Bit Server VM (25.282-b08 mixed mode linux-amd64 compressed oops)
Problematic frame:
V  [libjvm.so+0x69275e]
Core dump written. Default location: /opt/alluxio-release-2.5.0-2-SNAPSHOT/core or core.15
An error report file with more information is saved as:
/opt/alluxio-release-2.5.0-2-SNAPSHOT/hs_err_pid15.log
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
Expected behavior
Is mv supported for fuse ? If not supported, fuse should reject the mv request instead of crash.

@Nizifan Good catch, I create a PR to solve this issue. #14690


Add 2.10.0 release notes

Description
Add 2.10.0 release notes
Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Can you

Everything for you! :)


feat(publish_npm): set up automated publish process on tags

This PR set up an initial build for this repository to make the release process easier. See the "Publish a new version" section in the README.md
Steps 1-17 in the deployment walkthrough should be updated to:

$ git checkout master
$ git pull --rebase
$ git checkout release_v<new-version>
Create and commit release notes section in README.md
$ yarn version
Create pull request to update the version in the master branch. If the build/publish passes, merge it into master

Rebased off of latest master branch


Update linux gst deps

r? @jdm

This change is

Oops, fixed

@bors-servo r+
I've deployed this change.

:pushpin: Commit a0b1ec4 has been approved by jdm

:hourglass: Testing commit a0b1ec45a9e7136dfaf69c73165c436768215dfa with merge<PHONE_NUMBER>2f0dfad7ac1588ed446612e3c08a5a...

:sunny: Test successful - checks-travis
Approved by: jdm
Pushing<PHONE_NUMBER>2f0dfad7ac1588ed446612e3c08a5a to master...


Gerrit 2.13.2

Cf changelog https://www.gerritcodereview.com/releases/2.13.md#2.13.2

Thank you and have a good day.


Checking for has_trusted_ca rather than creating an empty one.

Description:
Previously, we default added a trusted ca if one was not present, causing validation failures.
Risk Level: Low
Testing:
LDS repro test which would fail validation prior to the fix.
Release Notes:
n/a (minor bugfix)
Fixes  #2188

Oh and regarding release notes: Historically a) we haven't release noted bug fixes and b) we have not been doing point releases (have been asking people to run master). I would suggest we don't do anything here and if there is big demand for point releases we can consider doing that and cherry picking.

Please merge master.


[WIP] File upload refactor

The project setup page has some UX and functionality problems. Together with https://github.com/WorldBank-Transport/Rural-Road-Accessibility/pull/131 this aims to improve the experience for the user.
TODO:

[ ] Design new page / user interaction for project setup page @ricardomestre
[ ] Refactor / simplify according to new design
[x] Refactor file upload for scenario create

@danielfdsilva Should we merge this branch so the file refactor on the backend can be merged in?
The remaining items can be addressed separately.

yes, we can do that

Great, issue added for redesign: https://github.com/WorldBank-Transport/rra-frontend/issues/112


Update trace4cats-tail-sampling, ... to 0.14.5

About this PR
📦 Updates

io.janstenpickle:trace4cats-tail-sampling
io.janstenpickle:trace4cats-testkit

from 0.14.0 to 0.14.5
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (0.14.0).
You might want to review and update them manually.
README.md

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.janstenpickle" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.janstenpickle" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #225.


Do I need to add a 'container' id to each of my layouts for this library to work without relfection?

As the title says

If you use vbpd-noreflection artifact  than you will only ways to create ViewBindingProperty without reflection. The README contains all ways of different creations using reflection and not

Did you even understand my question?


No able to modify Tadgan Hyperparameters

Orion version: orion-ml 0.1.6
Python version: Python 3.6.8
Operating System: Windows

Description
I encountered some problems after hyperparameters changing.
For example when I modify some parameters such as the "window_size" of the rolling Windows, the step_size, or other parameters throw the TadGAN.json file, the process stops suddenly for example after a strange behaviour:

So I can’t change default parameters.
If I use perfectly your default parameters all works. But I want to use my own ones. Can you help me to fix this issue?
In particular, a matching error occur also if I change manually the hyperparameters from the model.py file:

What I Did
For example:
I changed "window_size" parameter in "rolling_window_sequences" function from 100 to 200.

After that, I changed the hyperparameters in the model.py file, like "shape" from 100 to 200:

And I ran this:

The output:

i have the same question


Add information on how to receive a certificate of recovery to the FAQs

Feature description
The FAQs should hold information on how & where the user is able to obtain an EU digital COVID certificate of recovery.
Problem and motivation
In the past I explained how to get such a certificate quite often on Twitter. It seems like the information is not yet easy to find for most users, so a CWA FAQ entry would help here.
Some examples of me explaining this:

https://twitter.com/EinTim2/status/1567153516199772162?s=20&t=sTTtSs-hSmZA7wdLdOGfWw
https://twitter.com/EinTim2/status/1548698786968616961?s=20&t=sTTtSs-hSmZA7wdLdOGfWw
https://twitter.com/EinTim2/status/1544757643423936513?s=20&t=sTTtSs-hSmZA7wdLdOGfWw
https://twitter.com/EinTim2/status/1544696752493805569?s=20&t=sTTtSs-hSmZA7wdLdOGfWw

Is this something you're interested in working on
Yes

@Ein-Tim
See also https://www.zusammengegencorona.de/faqs/corona-im-alltag/aktuelle-regelungen/#id-38c1e969-6acd-552d-ae67-39f28fa75975

and https://digitaler-impfnachweis-app.de/faq

@MikeMcC399 Thanks for the references! The problem is that also these articles aren't really concrete on how to obtain the certificate.

@Ein-Tim

The problem is that also these articles aren't really concrete on how to obtain the certificate.

I don't understand. Both articles say where to get a Certificates of Recovery. The second article explicitly says:
"Das digitale Genesenenzertifikat erhalten Sie in Gesundheitsämtern, Arztpraxen und Apotheken."

@MikeMcC399
Sorry for not being clear, I mean they don't sate for example that you need your ID card or the "Befundbrief".

@Ein-Tim

I mean they don't sate for example that you need your ID card or the "Befundbrief".

I'm not sure that the CWA FAQs should go into this level of detail about what a pharmacy will ask for. If you are going to the doctor then they may already have the information. For pharmacies I saw a very detailed document https://www.abda.de/fileadmin/user_upload/assets/Corona/COVID-19-Zertifikate/COVID-19-Zertifikate_Handlungshilfe.pdf however I cannot say if this is completely up-to-date.

@MikeMcC399 I know what you mean and will take it into consideration.

@MikeMcC399 I updated the PR to not mention 180 days (technical limit for creation of recovery certificates) but only 90, to be consistent with other sources.
I will leave the PR as it is for now and will wait for feedback form the Open-Source-Team.


[Bug]: preview command does not work with base option enabled

Version
System:
OS: macOS 15.0.1
CPU: (10) arm64 Apple M1 Max
Memory: 3.78 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Chrome: 130.0.6723.91
Safari: 18.0.1
npmPackages:
@rspress/core: ^1.35.1 => 1.35.1
Details
https://v6zdkq-4173.csb.app/docs

Reproduce link
https://codesandbox.io/p/devbox/quiet-feather-v6zdkq
Reproduce Steps

run npm i && npm run build && npm run preview
open http://localhost:4173/docs

cannot reproduce it

OK, I found the issue is that base: 'docs' works fine on development, but it requires to be /docs on previewing. Seems a bit inconsistent. :(

And if server: {open: true} is provided, it will open browser without base which results a 404 page immediately.

And if server: {open: true} is provided, it will open browser without base which results a 404 page immediately.

server: {
  open: '/docs',
},


Evaluate duckdns

https://www.duckdns.org/
Might have nice LetsEncrypt Support

Successfully implemented 🎉

Successfully implemented 🎉


Partially fixes SR-13831: Warnings while building on Linux.

Fixed lstat warning by including <sys/stat.h>.

Just curious what kind of warning are you referring to?

Just curious what kind of warning are you referring to?

On systems that do not define statx, an fallback using lstat is used. The fallback implementation did not import sys/stat.h resulting in implicit declaration of function 'lstat' warnings whenever ForSwiftFoundationOnly.h was imported (I see it 160 times in a full build).
(See my bug report)

@swift-ci test

@dhoepfl Out of curiosity, what version of Linux are you compiling on?

@dhoepfl Out of curiosity, what version of Linux are you compiling on?

Debian 10.6 (Buster)
% uname -a
Linux lightblue 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux

I do not see why this test failed. It is not related to my change.
(Concurrent.cpp:78 should probably be ASSERT_GE because the reader might run twice before the writer was run again but that one did not trigger here.)

@swift-ci test

Another unrelated fail.
Could you trigger another run, please?
(I do not know enough about the build system to understand why this test ever passed.)

@swift-ci please test Linux platform

@dhoepfl I think the tests sometimes break because there is some code that is auto-merged into the llvm branches without being unit tested causing the unrelated failures.

Thanks!


Update git actions to include paths

Description
This PR includes the following proposed change(s):
None
Type of change

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

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Never
Does the change impact or break the Docker build?

[ ] Yes
[x] No

If Yes: Has Docker been updated accordingly?

[ ] Yes
[x] No

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes

At some point it would be nice to split "code-climate-coverage-aggregation.yml" into different actions, also using paths.  This way when a small change to the demo app, the actions won't need to compile/test/calculate coverage on the backend and vise versa.
The cucumber-tests.yml should continue to build/test everything.


Cannot display PDFs from FTP server

I tried to access ftp://ftp.fernuni-hagen.de/pub/pdf/urz-broschueren/broschueren/a0279510.pdf
but got:
PDF.JS Build: e39c304
Message: Unexpected server response of 0.

I am using Firefox 9.0.1 on Ubuntu 11.10.
This happens with any PDF from an FTP server. Just google for ìnurl:ftp pdf

Reproduced here with FF Aurora on OS X.
We seem to have two issues: the addon doesn't load the file via ftp (original report), and an undefined error on page 10.

This is broken again. For example fails here ftp://ftp.fernuni-hagen.de/pub/pdf/urz-broschueren/broschueren/a0279510.pdf.

Works fine for me. Make sure you're using a recent PDF.js version (I'm using the latest development version).

@yashamon Also open new issue and provide all requested information

Ok. I will open a new issue. I am working with chrome latest. I thought plugin were automatically updated?


Followed the setup instructions, still ':Vader' and :Test' fail

After i modified .vimrc as shown below i ran :PlugInstall without any issue.
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin()

Plug 'junegunn/vader.vim'

function! s:exercism_tests()
  if expand('%:e') == 'vim'
    let testfile = printf('%s/%s.vader', expand('%:p:h'),
          \ tr(expand('%:p:h:t'), '-', '_'))
    if !filereadable(testfile)
      echoerr 'File does not exist: '. testfile
      return
    endif
    source %
    execute 'Vader' testfile
  else
    let sourcefile = printf('%s/%s.vim', expand('%:p:h'),
          \ tr(expand('%:p:h:t'), '-', '_'))
    if !filereadable(sourcefile)
      echoerr 'File does not exist: '. sourcefile
      return
    endif
    execute 'source' sourcefile
    Vader
  endif
endfunction

autocmd BufRead *.{vader,vim}
      \ command! -buffer Test call s:exercism_tests()

Yet after that when I open vim and issue ':Vader', i get
E492: Not an editor command: Vader

Variation of the same for ':Test'
Error detected while processing function <SNR>7_exercism_tests:
line    9:
E492: Not an editor command: Vader <SCRUBBED>/exercism/vimscript/hello-world/hello_world.vader

I'm an absolute noob at .vimrc and vim plugin management, what did I miss?

I think you simply miss the call plug#end() after your last Plug line.

I'm pretty it's the issue, so I'm closing this. :)
So, to make it clear, it should be:
call plug#begin()
Plug 'junegunn/vader.vim'
call plug#end()

[...]

Otherwise, without calling plug#end(), the plugins will never get initialised.

Yup, silly me, I stopped reading the vim-plug install doc after the first Plug line, and so I never saw the call plug#end() fragment.
I submitted a PR to simplify the doc (ie saving the user from having to look at other pages to derive what the canonical setup steps are). It's distilled to its essence, I hope.


Too long pagination

Is there a way to put a limit to the number of links shown in the pagination?

Well I don't know if there is an easier way to do it, this is the bootstrap template I ended with:
<template id="vuetable-pagination-bootstrap-template">

 3">
                1

 3" class="@{{ disabledClass }}">
                ..

            <template v-for="n in totalPage">
                <li class="@{{isCurrentPage(n+1) ? ' active' : ''}}"
                    v-if="n < (tablePagination.current_page + onEachSide) && n > (tablePagination.current_page - onEachSide - 2)"
                >
                     @{{ n+1 }}

            </template>
            <li v-if="tablePagination.current_page < (tablePagination.last_page - onEachSide)" class="@{{ disabledClass }}">
                ..

            <li v-if="tablePagination.current_page < (tablePagination.last_page - onEachSide)">
                @{{ tablePagination.last_page }}

</template>

result:

This doesn't have the 'first' 'last' shortcuts but it's what I have put as default in my component:

    {{n+offset}}

Where I have the computed property offset
computed: {
  offset () {
    return Math.max(1, Math.min(this.numPages - 4, this.currentPage - 2))
  }
}

@thekordy If you just want normal pagination using Bootstrap, you do not have to make your own pagination component anymore. The default pagination (vuetable-pagination) can now work with Bootstrap and is a sliding pagination by default. Please see this example You can also limit the number of links shown using on-each-side prop.

@ratiw works very well, thank you very much

I am beginner for vue js, I want to use this vue table.
so can i change the pagination to make  it lazy load like when user clicks then only the data should be loaded so  js shouldn't load it fully. Thanks in advance.

@madhusudhan1234 Use :load-on-start="false" prop. You can then force it to load by dispatching vuetable:refresh.

Thank You For the Help @ratiw

Hey @ratiw  , I just added 10 K records and tried it out, It seems ridiculously fast on my localhost. I will try it on server soon. Thank you for the package.


Update util-core to 21.1.0

Updates com.twitter:util-core from 20.12.0 to 21.1.0.
Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.twitter", artifactId = "util-core" } ]

labels: library-update, semver-major

Codecov Report

Merging #471 (78e3a9f) into develop (0378727) will increase coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #471      +/-   ##
===========================================
+ Coverage    77.16%   77.25%   +0.09%
===========================================
  Files           46       46
  Lines         1051     1051
  Branches        30       30
===========================================
+ Hits           811      812       +1
+ Misses         240      239       -1

Impacted Files
Coverage Δ

.../main/scala/com/twitter/bijection/Bufferable.scala
91.95% <0.00%> (+1.14%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #471 (78e3a9f) into develop (0378727) will increase coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #471      +/-   ##
===========================================
+ Coverage    77.16%   77.25%   +0.09%
===========================================
  Files           46       46
  Lines         1051     1051
  Branches        30       30
===========================================
+ Hits           811      812       +1
+ Misses         240      239       -1

Impacted Files
Coverage Δ

.../main/scala/com/twitter/bijection/Bufferable.scala
91.95% <0.00%> (+1.14%)
:arrow_up:

Continue to review full report at Codecov.

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


Update how-to-manage-model.md

Fixed grammar issue.

@LakshmiLavanyaKasturi : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Does the Power BI PUSH dataset support BIM files from an Analysis Server project

Can I use the BIM file generated by an Analysis Server project in Visual Studio?
This way, I get to GIT control my model file and do CI/CD and Pull Request reviews for any model changes.
The binary nature of PBIX/PBIT makes it very hard to do a sensible quality control during development time.
Thanks,
Sau

Yes of course! We show how to start from a Power BI model because it is more popular, but starting from a BIM file is the way to go!


Repo sync for protected CLA branch

The pull request is created from syncing_branch637925259041477272 to syncing_branch to fix git push error for protected CLA branch

Docs Build status updates of commit 5c6a5ee:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryInformationNotFound] Cannot find repository information for cc138ca6-c85b-c4ab-ff05-2a46f0ea898a. Please make sure the repository is correctly provisioned. If it is not this case, please open a ticket on https://aka.ms/SiteHelp.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


FYI: livereload support for Pandoc rules

First, thanks for publishing these rules. They're some of the first third-party Bazel rules I've come across that worked out of the box.
I wanted to make you aware of a project I'm working on (bazel-runfiles-server) that adds livereload support to arbitrary Starlark rules, including the Pandoc ones. It allows users to run a single target with ibazel, edit a source file (e.g. Markdown), and have the rerendered output automatically refreshed in the browser. My repo has a working Pandoc example here.
I think it's too early to integrate this directly into your repo (see ongoing conversation with ibazel maintainers here), but I wanted to reach out in case you had feedback about the API, or even really if this workflow is useful to you or your users.
Feel free to close this (it's more of an FYI than an issue).

Hi Brendan,
That's awesome. Thanks for working on this! I'm going to leave this issue open for a bit, as a reminder that I (and others) should keep an eye on that project.
I'm glad to hear these rules work well for you. I also happen to be the author of rules_elm. Maybe I should try using that in combination with bazel-runfiles-server as well...


Added new meme to the folder

Please add yourself to MEMES.js as detailed in the Readme step 8. and 9.

Your PR is not up to the requirements, missing MEMES.js modification.


I got an uncountable amount of errors when running 'yo code'

Type of issue

Bug

My environment

OS version/details: Windows 10 x64 1909
Node version: v16.0.0
npm version: 7.8.0
Version of yo : I don't know because I can't run yo --version (that throws a ton of errors as well). It's probably 4.0.0

Expected behavior
Something like this:
yo code

# ? What type of extension do you want to create? New Extension (TypeScript)
# ? What's the name of your extension? HelloWorld
### Press <Enter> to choose default for all options below ###

# ? What's the identifier of your extension? helloworld
# ? What's the description of your extension? LEAVE BLANK
# ? Initialize a git repository? Yes
# ? Bundle the source code with webpack? No
# ? Which package manager to use? npm

code ./helloworld

Current behavior
Whatever this is:

I zoomed out Visual Studio Code to the minimum and I can only see a small amount of the errors! This is Powershell, by the way.
Steps to reproduce the behavior

Install yo and generator-code.
Type in yo code or any other yo command.

Command line output
See current behavior.
Notes

You don't need generator-code for this.
This only happens in the latest release. I installed 3.1.0 and it worked.

I encounter the same problem, thank you for workaround with installing not the latest version.
My environment, where it is reproducible:

OS: Linux Mint (Ubuntu) with KDE

Node version: v16.0.0

NPM version: 7.10.0

yo version: unknown (yo --version produces this errors)

It's happening after doing npm install -g yo or npm install -g yo@latest

Seems duplicate of https://github.com/yeoman/yo/issues/662

Should be fixed in 4.1.0


Tests failing in "integration-patterns-and-soa/restful-service/exposing-a-soap-service" guide

Description:
$Title
Error
[ballerina/http] started HTTP/WS listener <IP_ADDRESS>:9090
error: Cannot create a prefixed element with an empty namespace name
error: Cannot create a prefixed element with an empty namespace name
        [fail] testResourceGetQuote:
            getQuote resource did not respond with expected response code!: expected '200' but found '500'
                at ballerina.test:createBallerinaError(assert.bal:41)
                ballerina.test:assertEquals(assert.bal:82)
                wso2.restful_service.tests.stock_quote_service_test:testResourceGetQuote(tests/stock_quote_service_test.bal:65)

        [fail] testResourcePlaceOrder:
            placeOrder resource did not respond with expected response code!: expected '201' but found '500'
                at ballerina.test:createBallerinaError(assert.bal:41)
                ballerina.test:assertEquals(assert.bal:82)
                wso2.restful_service.tests.stock_quote_service_test:testResourcePlaceOrder(tests/stock_quote_service_test.bal:41)

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

This guide uses SimpleStockQuoteService in EI. This is the reason for failing tests.
We should write a SOAP service for this guide and use it as the backend.
Can refer to this PR for help [1].
[1] https://github.com/wso2/ballerina-integrator/pull/399

Removed this guide and added a new guide.
https://github.com/wso2/ballerina-integrator/pull/414


Remove wallet management capabilities from API

@barnabee made the suggestion to rethink the way we expose these capabilities using JSON-RPC 2.0.
This is worth investigating. Will not approve with this issue before concrete result in the investigation.


Reuse analyzers to fix memory leak

Every compilation was creating a new analyzer array which was getting forever rooted by Roslyn.

:shipit: