Config file not found after running rclone config

I setup vaultwarden-backup with docker compose and run the initial config generation for ftp. But in ./vw-rclone-data/rclone/ is no rclone.conf file. Also i get this error inside the docker logs:
2024/11/21 14:12:50 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2024/11/21 14:12:50 CRITICAL: Failed to create file system for "vaultwarden-backup:/BitwardenBackup": didn't find section in config

So first of all, this is my docker-compose.yml:
services:
  vaultwarden:
    image: vaultwarden/server:latest-alpine
    container_name: vaultwarden
    hostname: vaultwarden
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    dns:
      - <IP_ADDRESS>
    environment:
      - LOG_FILE=/data/logs/access.log
      - WEBSOCKET_ENABLED=true
      - ROCKET_ENV=prod
      - ROCKET_WORKERS=10
      - ROCKET_PORT=86
      - TZ=Europe/Berlin
      - LOG_LEVEL=error
      - EXTENDED_LOGGING=true
      - ADMIN_TOKEN=${ADMIN_TOKEN}
      - SIGNUPS_ALLOWED=${SIGNUPS_ALLOWED}
    volumes:
      - /var/log/vaultwarden/logs:/data/logs
      - ./vw-data:/data
    network_mode: host

  backup:
    image: ttionya/vaultwarden-backup:latest
    container_name: vaultwarden-backup
    restart: always
    environment:
      RCLONE_REMOTE_NAME: 'vaultwarden-backup'
    #   RCLONE_REMOTE_DIR: '/BitwardenBackup/'
    #   RCLONE_GLOBAL_FLAG: ''
      CRON: '*/5 * * * *'
      ZIP_ENABLE: 'TRUE'
      ZIP_PASSWORD: 'WHEREISMYPASSWORD?'
      ZIP_TYPE: 'zip'
    #   BACKUP_FILE_SUFFIX: '%Y%m%d'
    #   BACKUP_KEEP_DAYS: 0
    #   PING_URL: ''
    #   PING_URL_CURL_OPTIONS: ''
    #   PING_URL_WHEN_START: ''
    #   PING_URL_WHEN_START_CURL_OPTIONS: ''
    #   PING_URL_WHEN_SUCCESS: ''
    #   PING_URL_WHEN_SUCCESS_CURL_OPTIONS: ''
    #   PING_URL_WHEN_FAILURE: ''
    #   PING_URL_WHEN_FAILURE_CURL_OPTIONS: ''
    #   MAIL_SMTP_ENABLE: 'FALSE'
    #   MAIL_SMTP_VARIABLES: ''
    #   MAIL_TO: ''
    #   MAIL_WHEN_SUCCESS: 'TRUE'
    #   MAIL_WHEN_FAILURE: 'TRUE'
    #   TIMEZONE: 'UTC'
    volumes:
      - ./vw-data:/bitwarden/data/
      - ./vw-rclone-data:/config/
    #   - /path/to/env:/.env

volumes:
  vw-data:
    # Specify the name of the volume where you save the vaultwarden data,
    # use vaultwarden-data for new users
    # and bitwardenrs-data for migrated users
    name: vw-data
    # name: bitwardenrs-data
  vw-rclone-data:
    external: true
    # Specify the name of the volume where you save the rclone configuration,
    # use vaultwarden-rclone-data for new users
    # and bitwardenrs-rclone-data for migrated users
    name: vw-rclone-data
    # name: bitwardenrs-rclone-data

I created the config file via
docker run --rm -it   --mount type=volume,source=vw-rclone-data,target=/config/   ttionya/vaultwarden-backup:latest   rclone config
and i can see the content afterwards:
$ docker run --rm -it \
  --mount type=volume,source=vw-rclone-data,target=/config/ \
  ttionya/vaultwarden-backup:latest \
  rclone config show
[vaultwarden-backup]
type = ftp
host = myipaddress
user = myusername
pass = XXX_XXX_XXX_XXX

After that i run docker compose up -d. Checking the docker logs:
2024/11/21 14:12:50 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2024/11/21 14:12:50 CRITICAL: Failed to create file system for "vaultwarden-backup:/BitwardenBackup": didn't find section in config file
storage system connection failure [vaultwarden-backup:/BitwardenBackup]
========================================
DATA_DIR: /bitwarden/data
DATA_CONFIG: /bitwarden/data/config.json
DATA_RSAKEY: /bitwarden/data/rsa_key
DATA_ATTACHMENTS: /bitwarden/data/attachments
DATA_SENDS: /bitwarden/data/sends
========================================
DB_TYPE: SQLITE
DATA_DB: /bitwarden/data/db.sqlite3
========================================
CRON: */5 * * * *
RCLONE_REMOTE: vaultwarden-backup:/BitwardenBackup
RCLONE_GLOBAL_FLAG:
ZIP_ENABLE: TRUE
ZIP_PASSWORD: 18 Chars
ZIP_TYPE: zip
BACKUP_FILE_DATE_FORMAT: %Y%m%d (example "[filename].20241121.[ext]")
BACKUP_KEEP_DAYS: 0
MAIL_SMTP_ENABLE: FALSE
TIMEZONE: UTC
========================================
2024/11/21 14:13:51 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2024/11/21 14:13:51 CRITICAL: Failed to create file system for "vaultwarden-backup:/BitwardenBackup": didn't find section in config file
storage system connection failure [vaultwarden-backup:/BitwardenBackup]

Closing this, as vw-rclone-data is in /var/lib/docker/volumes/[...].


Build merge-to-main-cart on avocano-cart: FAILURE

Cloud Build encountered an error:

Project: avocano-cart
Trigger: merge-to-main-cart
Commit: 5823927 on branch main

View Logs
I'm an automation.  Googlers: go/avocano-admin-notifiers

network timeout


Disable passing of sm_arch to iree-compile CL args by default.

This commit fixes numerics issues caused by TensorFloat32 execution on TensorFlow Masked LM models and PyTorch MobileBert.
TODO:
Re-enable the passing of this flag for when models require benchmarking -- this is a little sticky as we first validate, then use the same compiled .vmfb to benchmark on pytest runs.
Perhaps we can relax the tolerance when --benchmark is passed.

I assume we still set the target sm_arch right ? just that tf32 is disabled without the flag ?


Home page still loading

Home page seems to be still loading as there is a spinner which never disappears.

Used packages:
tendrl-api-doc-1.2.1-03_06_2017_01_51_02.noarch
tendrl-api-1.2.1-03_06_2017_01_51_02.noarch
tendrl-api-httpd-1.2.1-03_06_2017_01_51_02.noarch
tendrl-dashboard-1.2.1-03_06_2017_11_10_12.noarch

@kamleshverma1 please have a look at this.

@cloudbehl @ltrilety @gnehapk  sent patch for fixed this issue :
https://github.com/Tendrl/dashboard/pull/180

@ltrilety please verify and close this Issue.

@cloudbehl Once UI will work, I'll check that. As of now authentication is not counted with in current tendrl-dashboard package.

Seems OK.
Checked on:
tendrl-api-doc-1.2.2-04_06_2017_01_51_04.noarch
python-etcd-0.4.3-1.noarch
tendrl-commons-1.2.2-04_06_2017_04_42_05.noarch
tendrl-dashboard-1.2.1-04_06_2017_10_49_10.noarch
tendrl-performance-monitoring-1.2.2-04_06_2017_03_02_03.noarch
tendrl-api-1.2.2-04_06_2017_01_51_04.noarch
tendrl-api-httpd-1.2.2-04_06_2017_01_51_04.noarch
tendrl-node-agent-1.2.2-04_06_2017_00_01_33.noarch
etcd-3.1.0-2.el7.x86_64
rubygem-etcd-0.3.0-1.el7.centos.noarch


Add handler to celery task logger

Celery sets up 2 kinds of loggers: a global logger and task loggers. The celery docs include an example on how to use the task loggers, which makes task loggers look like the recommended way to log from celery tasks.
The register_logger_signal hook in the sentry celery integration adds a handler to the global celery logger using the after_setup_logger signal. This does not affect the task loggers, meaning that any exception logged by a task logger will not be captured by sentry.
This pull request modifies register_logger_signal to connect to the after_setup_task_logger signal as well, allowing exceptions logged by task loggers to be captured.

This change is

+1 for this, but maybe you should separate registering global logger handlers and task logger handlers
    register_logger_signal(client, loglevel=logging.ERROR)
    register_task_logger_signal(client, loglevel=logging.ERROR)

This can be done by passing celery signal as argument and creating some proxy-functions
...
from celery.signals import after_setup_logger, after_setup_task_logger
...

def _register_logger_signal(signal, client, logger=None, loglevel=logging.ERROR):
    filter_ = CeleryFilter()

    handler = SentryHandler(client)
    handler.setLevel(loglevel)
    handler.addFilter(filter_)

    def process_logger_event(sender, logger, loglevel, logfile, format,
                             colorize, **kw):
        # Attempt to find an existing SentryHandler, and if it exists ensure
        # that the CeleryFilter is installed.
        # If one is found, we do not attempt to install another one.
        for h in logger.handlers:
            if type(h) == SentryHandler:
                h.addFilter(filter_)
                return False

        logger.addHandler(handler)

    signal.connect(process_logger_event, weak=False)

def register_logger_signal(client, logger=None, loglevel=logging.ERROR):
    _register_logger_signal(after_setup_logger, client, logger, loglevel)

def register_task_logger_signal(client, logger=None, loglevel=logging.ERROR):
    _register_logger_signal(after_setup_task_logger, client, logger, loglevel)

@muravitskiy I'm not sure I understand the benefit of your approach. What's wrong with using the same handler for the global logger and the task loggers?

@omarkhan Celery separates this two loggers and you should be able to configure them separately

+1 for this as well. I was debugging why logging.error() messages for e.g. aren't propagated to sentry in celery workers, and reached to the same conclusion.

Agreed, this change allowed me to properly log to sentry.io from within a celery task using logger.error(). Trying to log error messages (not exceptions) to sentry from a celery task seems to fail otherwise with the usual setup:
https://docs.sentry.io/clients/python/integrations/celery/

Thank you @omarkhan for this - it's a few years later, but we've taken this PR and attached a similar handler from the outside. Would be great to merge!


fix: added deterministic method to create proxy, also creating admin …

…and transfering ownership of deployed admin to specified address

I would say it is useful to have a predict for the new create too.
To have it simple, you can deploy the ProxyAdmin via create2, that way on the new predict you can predict first the address of the ProxyAdmin to be deployed, and using that predicted address, predict the proxy itself.
Regarding the salt, I think it makes sense to send 2 salts, as the proxy one and the proxy admin don't need to be the same (I don't think usually they will be at least)


Question: Scaling Factor of  Weights Primary vs Not

In this section of code that appears in the Linear and other modules
            if primary_weights_in_fp8:
                # Weight is already in FP8
                weight.reset_fp8_meta_scale_inv()
                weight_fp8 = weight
                weight_t_fp8 = None
            elif update_fp8_weights:
                # Need to cast weights to FP8
                weight_fp8 = Float8Tensor(
                    data=weight_fp8._data,
                    fp8_meta=fp8_meta,
                    fp8_meta_index=tex.FP8FwdTensors.GEMM1_WEIGHT,
                )

Why is the meta_scale_inv reset in the case where the weights are stored in fp8 vs the case where they are casted?

This is a kludge to get Float8Tensor working with the original FP8 implementation. Originally we stored FP8 data in UINT8 buffers and kept scale_inv within FP8TensorMetas, so we needed to make sure that the two were always updated together or else the FP8 data would not be interpreted correctly. Float8Tensor keeps its own copy of scale_inv, so there's more flexibility in when you can update the scaling factors in FP8TensorMeta (e.g. we update the FP8 data in the optimizer step and update the FP8 scaling factors before the forward pass). However, some TE kernels take in FP8TensorMeta as an arg, so reset_fp8_meta_scale_inv is needed to make sure that the scale_inv in FP8TensorMeta matches Float8Tensor.


How to surpress "timed out" errors?

I get "timed out" errors quite often (every 5 minutes or so). I'm using the Node plugin.

Closing this issue because commit 659ff49 provides a workaround.

Closing this issue because commit 659ff49 provides a workaround.

Cool, any instructions about how to use this workaround?


Multi processing enabled experiments

Is sacred's Experiment thread/process safe? Looking through the Experiment code, I suppose it isn't since the current run is stored in an instance variable.
Here is a rough outline of what i have in mind:
from sacred import Experiment
from sacred.observers import FileStorageObserver

fs = FileStorageObserver.create('../my_runs')

train_df, test_df, used_cols, _ = io.read_training_data()

def conduct_grid_search(_run, params, pipeline):
    p = Pipeline()
    p.set_params(**params)
    p.fit()
    return evaluation(p)

def evaluation(p):
    return {"f1": 0.7, "recall": 0.9}

def execution(config):
    ex = Experiment('iris_rbf_svm2')
    ex.observers.append(fs)
    fn = ex.capture(conduct_grid_search)
    ex.main(fn)
    ex.run(config_updates=config)

futures = []

pipeline = load("pipeline.json")

with ProcessPoolExecutor(4) as executor:
    for params in ParameterGrid(pipeline["parameters"]):
        futures.append(executor.submit(execution, {"pipeline": pipeline["pipeline"],
                                                   "params": params}))

Is something like this at all possible with sacred?

I at least found it possible even with instantiated experiment objects, though I cannot really comment on the absolute process safety. Up to now I did not experience obvious problems. My code looks something like this
from concurrent import futures
from sacred.observers import MongoObserver

from experiment import ex

def run(config):
    if not ex.observers:
        ex.observers.append(MongoObserver())
    run = ex.run(config_updates=config)
    return run.result

configs = [...]

with futures.ProcessPoolExecutor(max_workers=5) as executor:
    tasks = [executor.submit(run, config) for config in configs]
    for future in futures.as_completed(tasks):
        print(future.result())

Some pitfalls I found were that you should add the MongoObserver only after forking the process and have to watch out that you don't add the same observer twice. Also the run itself cannot be returned as a result of the future as it can't be pickled. I am curious to hear you experiences.

Unfortunately, Sacred is not thread-safe.
Running in multi-process way should be possible, though I have no experience with that. Thus far I've mostly parallelized experiments from the outside (i.e. bash).


Is HTTP/1.1 Request Pipelining supported

I have to communicate with very limited hardware which supports only a few concurrent connections. I can work around this limitation with http pipelining which will be fully supported.
There is only one problem:
OkHttp doesn't seem to support http pipelining. Will this be supported in the future?

No, we aren't planning on supporting HTTP pipelining. It’s not robust.

@swankjesse what do you mean HTTP pipelining is not robust? Pipelining should help in poor bandwidth connections in many countries. How would I go about enabling it in OkHttp?

https://github.com/jasondevj/hotpotato seems to support pipelining and is under Apache license. May be we can borrow something from there?

They disabled it from Chrome because it performed poorly.
https://www.chromium.org/developers/design-documents/network-stack/http-pipelining
The workaround is HTTP/2.


please add a dashboard yaml

Hello,
Thank you for your efforts. I have been futzing with my heatpump for ages and finally I have most of the modbus protocol working thanks to your integration.
I'd like to ask for two features.

Can you rename the entities from things like sensor.betrieb to maybe sensor.wwp_betrieb? Otherwise it becomes harder to keep track of which entity belongs to the heatpump.

It looks like you've got a cool dashboard of all the WWP features. Can you include the yaml in the repo, or otherwise share it with us?

thank you

Thanks!
I added a dashboard.yaml file to the repository. However, it also contains other entities like my shelly watt meter that measures the electric energy consumption of the heat pump.
Regarding the names I‘ll try to put the config in a yaml file, too. Meanwhile you could simply edit the names of all entities in the hpconst.py file 😏

@OStrama : I suggest to introduce a prefix during setup. This would also allow multiple heatpumps.

Good Idea! Do you know how to build the data structure for the setup panel?

Not yet. I just copied an example and changed the bare minumum. But with a bit of research this should be doable

There are two parameters available now:
Prefix: Mainly to migrate from MadOne‘s integration
Device Postfix: to distinguish between different devices in the HA GUI, see readme.
Enhancement to add multiple heatpumps is resolved in 0.0.8.pre7 and will be integrated in 0.0.8

Do we really add different devices? I think we add a new device and overwrite the values of the old one.
When we have more devices we need to create entitiys for both devices.

Yes, when we only have one heatpump this is true.
One request above was for adding a second heatpump. If I only change the prefix, I get something like this:

When using the postfix, too, it looks like this:

and

Im glad i was wrong. Im really impressed by your buildings ;).


mlcube-0.0.1: wrong file inside

Somehow, the mlcube-0.0.1 was packaged with the wrong file.
Error:
Traceback (most recent call last):
  File "/tmp/env/bin/mlcube_docker", line 5, in <module>
    from mlcube_docker.__main__ import cli
  File "/tmp/env/lib/python3.8/site-packages/mlcube_docker/__main__.py", line 4, in <module>
    from mlcube.common import mlcube_metadata
ImportError: cannot import name 'mlcube_metadata' from 'mlcube.common' (/tmp/env/lib/python3.8/site-packages/mlcube/common/__init__.py)

Expected: file name is mlcube/common/mlcube_metadata.py
Observed: file name is mlcube/common/mlbox_metadata.py
Solution: the master branch contains the right file, will be fixed in the next release.

Fixed in release 0.0.2.


Azure Deployment Guide

[Documentation Feedback]

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

ID: c1cce701-aeb0-07af-6961-4f3e5cf2ed44
Version Independent ID: 9c3e5bd6-7367-bfd8-f296-2f91f058a0fe
Content: Get started guide for developers on Azure
Content Source: articles/guides/developer/azure-developer-guide.md
Service: na
GitHub Login: @ggailey777
Microsoft Alias: glenga

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

@Adam-Smith-MSFT Thanks for sharing team
Le lundi 23 juillet 2018, Adam-Smith-MSFT<EMAIL_ADDRESS>a
écrit :

We will now proceed to close this thread. If there are further questions
regarding this matter, please reopen it and we will gladly continue the
discussion.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/12155#issuecomment-407168077,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZ85XRNZrkCKuzwfO-limt767OeOy3uks5uJh9UgaJpZM4VZxpg
.


[Bug] Writeback cache is causing inconsistent result after apply

Describe the bug
Summary of the issue
When provisioning_scheme.azure_machine_config.writeback_cache, getting errors when any of its booleans are False:
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to citrix_machine_catalog.ndj-test-catalog-tenant, provider
│ "provider[\"registry.terraform.io/citrix/citrix\"]" produced an unexpected new value:
│ .provisioning_scheme.azure_machine_config.writeback_cache.persist_wbc: was cty.False, but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to citrix_machine_catalog.ndj-test-catalog-tenant, provider
│ "provider[\"registry.terraform.io/citrix/citrix\"]" produced an unexpected new value:
│ .provisioning_scheme.azure_machine_config.writeback_cache.storage_cost_saving: was cty.False, but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to citrix_machine_catalog.ndj-test-catalog-tenant, provider
│ "provider[\"registry.terraform.io/citrix/citrix\"]" produced an unexpected new value:
│ .provisioning_scheme.azure_machine_config.writeback_cache.persist_os_disk: was cty.False, but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to citrix_machine_catalog.ndj-test-catalog-tenant, provider
│ "provider[\"registry.terraform.io/citrix/citrix\"]" produced an unexpected new value:
│ .provisioning_scheme.azure_machine_config.writeback_cache.persist_vm: was cty.False, but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Versions
Terraform:  1.9.5
citrix/citrix provider:  1.0.3
Terraform configuration files
resource "citrix_machine_catalog" "test" {
...
            writeback_cache = {
                wbc_disk_storage_type = "Standard_LRS"
                writeback_cache_disk_size_gb = 127
                writeback_cache_memory_size_mb = 256
                persist_os_disk = false
                persist_vm = false
                storage_cost_saving = false
                persist_wbc = false
            }
...
}

Hello,
I commented out the block for write back cache and ran the job again with the same error
terraform-debug.log
. I captured another log file and attached.
thanks,
tim

Interesting. This is hard to debug because Terraform isn't returning what attribute is inconsistent when there's a nested sensitive attribute in the object. From what I can see in the logs there might be an issue with the network_mapping[0].network, but it looks good to me.
Are you able to try the same inputs with a non-domain joined catalog? Set provisioning_scheme.identity_type = "Workgroup" and remove provisioning_scheme.machine_domain_identity. I'm hoping that will let Terraform print all of the inconsistencies. That is how I was able to reproduce the error messages for write back cache that I put in the bug description.

Hello,
I commented out the domain identity type and added workgroup as the type value. The script completed with a similar but different  error.
the log is attached.
terraform-debug.log
I appreciate your time and effort.
-tim

Thanks for re-running it, can you post the error from console output as well? The logs don't contain that.

sure.
Error: Provider produced inconsistent result after apply
│
│ When applying changes to citrix_machine_catalog.DaaSMachineCatalog, provider "provider["registry.terraform.io/citrix/citrix"]" produced an unexpected new value: .provisioning_scheme.network_mapping[0].network:
│ was cty.StringVal("AZ-JH-RIT-CTX-SAFE2.0-TEST-<IP_ADDRESS>-26"), but now cty.StringVal("AZ-JH-RIT-CTX-SAFE2").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Looks like this is a similar bug as the shared image gallery issue @AlanCitrix . I can make a fix for this.


Added optional valueField config setting when wanting to use another …

…valuefield than graph.valueField.
When using "openField" together with "valueField" bestFitLine doesn't take the total range in to account. Only the valueField.
By adding graph.bestFitLine.valueField config, it is possible to change the column from the dataprovider that the trend line is calculated from and thereby using a calculated total value instead of the maximum value.
I have not minified the file.

Please let me know, if I have to make any changes to get merged @martynasma :-)


updated for new swift version

Thank you pull request.
Please except xcuserdata.

@dekatotoro Hello! Thank you! I merged from your last commit!

@alexsanderkhitev
Please except the xcuserdata / under the file.

@dekatotoro
I removed xcuserdata from my source control

@alexsanderkhitev
There are still two xcuserdatas you had commit, please remove it.

@Pluto-Y thank you for your help. I din't know about it!

@alexsanderkhitev @Pluto-Y
Thanks!


Update flag

Adds --update flag to start_docker.sh to address and close issue #166.  Readme has also been updated to provide user instructions for avoiding script overwrites.

I think we could do something a bit hacky, like how the jupyter notebooks are currently tested: https://stackoverflow.com/questions/13745648/running-bash-script-from-within-python.
Basically, we can create a temp_dir with a couple fake .ipynb files, then make sure that with different flags passed in, we get them copied into a tempdir/scripts as appropriate.

the template copying+logic can be moved into a separate script, which we can call from start_docker.sh and test through hacky python or BATS.  I think I'll try the python solution for now, since I've grown weary of bash and it's seven thousand different, critically incompatible platform variants (pls don't ask and bless yourself with the gift of bash-ignorance)

That's a good point, this is the only thing that runs outside of the docker. What happens if someone has a windows setup?

Technically, we only have instructions for bash users.  I think the assumption is that windows users are using git bash or the linux subsystem.  I'm not sure what flavor of bash those are...
Regardless, I'm pretty sure that the bash I've written is strictly gnu-bash (compatible with all variants) but I could double check (the main place where it might not be is diff which might have different exit codes and flags depending on the platform, but I'm p sure I handled the possible cases).

Okay, in that case let's wait for someone to complain, and for now we'll
assume it's good.
On Mon, Aug 17, 2020 at 9:25 PM vacuous_planet<EMAIL_ADDRESS>wrote:

Technically, we only have instructions for bash users. I think the
assumption is that windows users are using git bash or the linux subsystem.
I'm not sure what flavor of bash those are...
Regardless, I'm pretty sure that the bash I've written is strictly
gnu-bash (compatible with all variants) but I could double check (the main
place where it might not be is diff which might have different exit codes
and flags depending on the platform, but I'm p sure I handled the possible
cases).
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/angelolab/ark-analysis/pull/181#issuecomment-675241198,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJB47MRE2GSS5KZFZ6FXKLSBH7CVANCNFSM4QCPO6EQ
.


Datadrid resultSet limit should be ignored, or optionally turned off for SQL queries.

I'm always frustrated when I run an SQL query which is slow, and the datagrid has limited the fetch size to 200, so I have to request all results or page slowly to get them.
I would like an SQL query to return ALL results without having to query again, showing getting to the answers.
I have set the resultset to 0, however then a large tables crash DBeaver on viewing the 'data' tab. Other solutions I use to query a database DO NOT limit my result set.

By default DBeaver Community has maximum memory limit 1gb.
You can increase this limit in dbeaver.ini file.
Try to change -Xmx1024m into -Xmx4096m to increase maximum memory to 4Gb.
https://github.com/dbeaver/dbeaver/wiki/Configuration-files-in-DBeaver#dbeaverini

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


Fixing autoplay undefined error

Added a null check to "proceed" function so it doesn't run when the swiper doesn't exist used the logic in "onTransitionEnd" for consistancy purposes, tested the fix on my project and it works correctly now...
The problem is described in this issue: https://github.com/nolimits4web/swiper/issues/6261
and this: https://github.com/nolimits4web/swiper/issues/5244
It probably has some specific trigger conditions but it doesn't matter on this fix because it's adding null checks which are never a bad thing.

Merged, thank you!


how to fetch public board pins to display on a user's website, in browser?

hey pinterest api developers,
so, I'd like to display public pins on a user's own website from her public pinterest board to anyone who visits her website, without any backend/oauth (these are public pins aren't they?). I have no idea about all the api magic I have to do - to get your /boards/denisetaranov/picturebook-inspiration/pins/ end point return anything other than cryptic error messages - in response to below:
<script>
  window.pAsyncInit = function() {
    PDK.init({
      appId: "4990673532588422306",
      cookie: true
    });

    var pins = [];
    PDK.request('/boards/denisetaranov/picturebook-inspiration/pins/', function (response) {
      if (!response || response.error) {
        console.log('Error occurred', response);
      } else {
        pins = pins.concat(response.data);
        console.log('pins',pins)
        if (response.hasNext) {
          response.next();
        }
      }
    });
  };

  (function(d, s, id){
    var js, pjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//assets.pinterest.com/sdk/sdk.js";
    pjs.parentNode.insertBefore(js, pjs);
  }(document, 'script', 'pinterest-jssdk'));
</script>

do you have a demo of this?

looks like I found pinterest board widget builder that seems like is what I need... and oauth authenticator that can get me the token to access api. closing this. thanks!


Friend Requests/Messages

Is there any way to pull friend messages and requests from the API?

@Krokit Do you have any documentation at hand how to check for a friend request?

@vicegold
To get friend-requests:
https://friends-public-service-prod06.ol.epicgames.com/friends/api/public/friends/{accountid}?includePending=true
To accept/reject or delete friends (Post request to accept and delete request to reject/delete):
https://friends-public-service-prod06.ol.epicgames.com/friends/api/public/friends/{accountid}/{friendsaccountid}

@NeilofSteel Thank you so much! If we only could send them too. But I'm aware that's currently not possible.

@vicegold I updated my comment sorry, you can also use the post request to send friendrequests so post to send/accept and delete to reject/delete :)


🔀 :: develop 병합

Codecov Report

Merging #139 (b138800) into main (a3ad9a1) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #139      +/-   ##
============================================
+ Coverage     33.33%   33.49%   +0.16%
- Complexity       83       84       +1
============================================
  Files            57       57
  Lines           603      603
  Branches         40       40
============================================
+ Hits            201      202       +1
+ Misses          391      390       -1
  Partials         11       11

Impacted Files
Coverage Δ

.../semicolon/gspass/controller/SchoolController.java
0.00% <ø> (ø)

...colon/gspass/service/school/SchoolServiceImpl.java
77.50% <100.00%> (ø)

.../gspass/dto/teacher/SchoolInformationResponse.java
25.00% <0.00%> (+25.00%)
: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 a3ad9a1...b138800. Read the comment docs.


learned_weighting_loss

Is learned_weighting_loss going to be negative?
https://github.com/GrumpyZhou/visloc-apr/blob/master/networks/base/basenet.py#L121

Hi @bhack,
Yes, using learned weighting loss, the loss value could go below 0.

Have you tried any formulation that maintain the loss > 0?

Hi @bhack,
Yes, so i did naively using a hyper-parameter beta (>0) that weighting the positional and rotational, this should give always positive loss.

Yes


error: free was not declared in this scope

Linux, Godot 3.0 custom build
Cant compile, please add include  to crash_handler_x11.cpp
When I make a pull I try to compile

to solve it I just put the missing library on cpp file

CC @marcelofg55


README and license

Resolves #5

lgtm

merged! jk

lgtm

What?

lgtm

What?

looks good to me/merge

lgtm

What?

looks good to me/merge

ok

Time to do some commits.

lgtm

What?

looks good to me/merge

ok

who are you talking to? :p

lgtm

What?

looks good to me/merge

ok

who are you talking to? :p

you :earth_americas:

lgtm

What?

looks good to me/merge

ok

who are you talking to? :p

you 🌎

wut

lgtm

What?

looks good to me/merge

ok

who are you talking to? :p

you 🌎

wut

I was talking to you

this pr needs some more discussion

@FunctionalMetatable


connect_to_sqlite in the base class can’t read local files

Bring the connect_to_sqlite from the root to the base class so that it can read local files not just URLs

This appears to have been resolved, no?
I see the connect_to_sqlite function in the base.py file


unknow error

DevTools listening on ws://<IP_ADDRESS>:59343/devtools/browser/ae929ea6-733a-4fc7-9c94-bdb2a41bd4ca

Something is wrong |

Same problem here.
DevTools listening on ws://<IP_ADDRESS>:50710/devtools/browser/e10edd3f-c54f-4c67-bcf7-f051542db55f eGen>> tried 100 time to find element... eGen>> Something is wrong | 'NoneType' object has no attribute 'send_keys'


Unable to complile code for ESP32.

I successfully compiled and uploaded the code to an Arduino Nano; however,, I am struggling to compile the code to ESP32.
I have included all the necessary libraries for ESP32 and BLE. I will be using an L298n an Android phone and a ESP32.
Perhaps I missed something.
My config for ESP32 in Arduino IDE:
//MCUs
#define NANO 328 //Atmega328p
#define ESP32 32 //ESP32
//Robot bodies with Atmega328p as MCU --> Select Arduino Nano as board
#define DIY 0        // DIY without PCB
#define PCB_V1 1     // DIY with PCB V1
#define PCB_V2 2     // DIY with PCB V2
#define RTR_TT 3     // Ready-to-Run with TT-motors
#define RC_CAR 4     // RC truck prototypes
#define LITE 5       // Smaller DIY version for education
//Robot bodies with ESP32 as MCU --> Select ESP32 Dev Module as board
#define RTR_TT2 6   // Ready-to-Run with TT-motors
#define RTR_520 7    // Ready-to-Run with 520-motors
#define MTV 8        // Multi Terrain Vehicle
#define DIY_ESP32 9  // DIY without PCB
//------------------------------------------------------//
// SETUP - Choose your body
//------------------------------------------------------//
// Setup the OpenBot version (DIY, PCB_V1, PCB_V2, RTR_TT, RC_CAR, LITE, RTR_TT2, RTR_520, DIY_ESP32,OPENBOT DIY)
#define OPENBOT DIY_ESP32
SETTINGS - Global settings
//------------------------------------------------------//
// Enable/Disable no phone mode (1,0)
// In no phone mode:
// - the motors will turn at 75% speed
// - the speed will be reduced if an obstacle is detected by the sonar sensor
// - the car will turn, if an obstacle is detected within TURN_DISTANCE
// WARNING: If the sonar sensor is not setup, the car will go full speed forward!
#define NO_PHONE_MODE 1
// Enable/Disable debug print (1,0)
#define DEBUG 1
// Enable/Disable coast mode (1,0)
// When no control is applied, the robot will either coast (1) or actively stop (0)
boolean coast_mode = 0;
My snippet for DIY ESP32
//-------------------------DIY_ESP32----------------------//
#elif (OPENBOT == DIY_ESP32)
const String robot_type = "DIY_ESP32";
#define MCU ESP32
#include <esp_wifi.h>
#define HAS_BLUETOOTH 1
#define analogWrite ledcWrite
#define attachPinChangeInterrupt attachInterrupt
#define detachPinChangeInterrupt detachInterrupt
#define digitalPinToPinChangeInterrupt digitalPinToInterrupt
#define PIN_PWM_L1 CH_PWM_L1
#define PIN_PWM_L2 CH_PWM_L2
#define PIN_PWM_R1 CH_PWM_R1
#define PIN_PWM_R2 CH_PWM_R2
#define HAS_VOLTAGE_DIVIDER 0
const float VOLTAGE_DIVIDER_FACTOR = (30 + 10) / 10;
const float VOLTAGE_MIN = 6.0f;
const float VOLTAGE_LOW = 9.0f;
const float VOLTAGE_MAX = 12.6f;
const float ADC_FACTOR = 3.3 / 4095;
#define HAS_INDICATORS 0
#define HAS_SONAR 0
#define SONAR_MEDIAN 0
#define HAS_SPEED_SENSORS_FRONT 0
//PWM properties
const int FREQ = 5000;
const int RES = 8;
const int CH_PWM_L1 = 0;
const int CH_PWM_L2 = 1;
const int CH_PWM_R1 = 2;
const int CH_PWM_R2 = 3;
const int PIN_PWM_LF1 = 13;
const int PIN_PWM_LF2 = 12;
const int PIN_PWM_LB1 = 13;
const int PIN_PWM_LB2 = 12;
const int PIN_PWM_RF1 = 27;
const int PIN_PWM_RF2 = 33;
const int PIN_PWM_RB1 = 27;
const int PIN_PWM_RB2 = 33;
const int PIN_SPEED_LF = 5;
const int PIN_SPEED_RF = 18;
const int PIN_VIN = 39;
const int PIN_TRIGGER = 25;
const int PIN_ECHO = 26;
const int PIN_LED_LI = 22;
const int PIN_LED_RI = 16;
#endif
The error:
Used: C:\Users\alexf\Documents\Arduino\libraries\ESP32_BLE_Arduino
Not used: C:\Users\alexf\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\libraries\BLE
exit status 1
'ledcSetup' was not declared in this scope

Try using version 2.x of Arduino-ESP32 since there were some breaking changes.


Debug output relevant data for MemoryPoolBlock

Been down the wrong rabbit hole for a while due to what this was telling me...
/cc @davidfowl

Maybe this is right already but OwnedBuffer is wrong
        public Buffer<T> Buffer => new Buffer<T>(this, 0, Length);
        public ReadOnlyBuffer<T> ReadOnlyBuffer => new ReadOnlyBuffer<T>(this, 0, Length);

Should it be passing in Offset/_arrayIndex rather than 0?


[4.x] Ignore files for export

Hi there
Should we add CODE_OF_CONDUCT.md to .gitattributes as export-ignore?
What about UPGRADING.md?

Absolutely, let's add those to export-ignore!


Can't seem to save connections

Issue Type: Bug
I seem to have no ability to save connections. I know I've done it in the past on another computer, and since installing on this new computer I've somehow managed to save one connection, which I can see in my Servers list, but I can't see any way to save other connections.
I see connections in my "Recent" list, but that is it.
Am I missing something, or has something gone wrong in the software?

Azure Data Studio version: azuredatastudio 1.34.0 (83a4316cf89cbf961a0f09a72c861379cfd01fa9, 2021-12-15T20:47:33.863Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
63.76GB (32.34GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@bronthulke can you confirm the value of the Server Group setting in the connection dialog?  It should say <Default> or the name of the group the server is being saved to.  If the connection is made through the Servers viewlet this value should be <Default> initially, which means the root of the tree.  If the connection is made through the query editor the value defaults to <Do not save> since the tool thinks that the connection is only being used in that editor, though the value can be changed.

Thanks @kburtram I think the issue was a UX one, rather than a bug... it was not clear to me that in order to add a "saved connection" you have to set that value.  Now I have set the value on the recent connections that I do want to say, my "saved" list has been updated to include them.
So just a little feedback, the UX on this is not very clear, but it does work when you set it via the Server Group setting on a connection.


Comments should be deleted when associated Article is deleted

This is a minor bug.

On production. closing


feat(CanvasForm): Add support for ErrorHandler

Context
Currently, there's partial support for oneOf in the uniforms library.
This commit adds a new OneOfField component that shows a selector to pick which schema should the form generate.
Also, if a model is already defined, the closest schema is selected automatically.
fix: https://github.com/KaotoIO/kaoto-next/issues/560
relates: https://github.com/KaotoIO/kaoto-next/issues/948
Reusing the internal ID will be implemented here: https://github.com/KaotoIO/kaoto-next/issues/962

Thanks for reviewing this PR @tplevko 💪


Add TemplateLoadertException

I was getting the error in the latest version of Craft 3 (not sure if this happened previously):
Error: Class 'ournameismud\fractal\TemplateLoaderException' not found in /chroot/home/sitename/vendor/ournameismud/fractal/src/Fractal.php:214
Adding use craft\web\twig\TemplateLoaderException; fixed the issue for me.
I additionally converted the tabs in the document to spaces since both were in there and it looked pretty weird for me.

Thanks for your contribution! I'll work on publishing this to new versioned release.


Fixed build process.

Added jasmine dev dependency and updated babel-preset-es2015-rollup.

Thanks!


[CSL-2305] Make resultsPageOptions required

Can we follow a pattern of having all console errors into a hook called console errors or something like that and then just calling the hook. useConsoleErrors()
It just leaves the component cleaner

I agree with Jesse https://github.com/Constructor-io/constructorio-ui-autocomplete/pull/59#discussion_r1171339261


Fix issue #3516 addColumn ignores deleteCascade=true

Handling of deleteCascade config added to AddColumnGenerator.
Impact

[x] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Fixes #3516
Things to be aware of
Added condition to handle the constraint config with deleteCascade=true in AddColumnGenerator. Added corresponding test.
Things to worry about

I don't know is it ok to refactor existing code (for example adding a builder to AddForeignKeyConstraintStatement), ready to do it if it's appropriate to be done within the bugfix.
Should the constants be used? Didn't found a constant for "CASCADE" , but this String seems be to duplicated in many places through the code.

Do all the databases that supports CASCADE uses the same syntax?

Good point, I think I'll update the provided test and make sure he executed against some different DBs.
Thanks,
Daniel.-

@filipelautert @andreiyusupau I just updated the existent test parameterized by database (and 'NULL'  string depending on if the given database adds that keyword if column accepts null value for it).
Test findings:

Sybase: does not complain if we set addForeignKeyConstraintStatement.setOnDelete("CASCADE") for it, but when generating SQL statement it doesn't add the "ON DELETE CASCADE" instruction.
Sqlite: does not complain either if we set addForeignKeyConstraintStatement.setOnDelete("CASCADE") for it, but when generating SQL statement it adds "ON DELETE CASCADE" instruction, but there are some other SQL statements as well, so we might need to tweak the test a bit more to make it pass for this particular case. I don't think it's worth, but if you think we should add it we can figure this out.

Thanks,
Daniel.


feat: collect log4js log

add log4js 3.x support

Codecov Report

Merging #264 into master will decrease coverage by 0.01%.
The diff coverage is 78.37%.

@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
- Coverage   80.55%   80.54%   -0.02%
==========================================
  Files         190      191       +1
  Lines        6429     6466      +37
  Branches      877      884       +7
==========================================
+ Hits         5179     5208      +29
- Misses        861      866       +5
- Partials      389      392       +3

Impacted Files
Coverage Δ

packages/hook/src/patch/Log4js.ts
78.37% <78.37%> (ø)

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 f00b2cc...875ab52. Read the comment docs.


Improve Custom Paragraph validation to better account for markup

custom paragraph validation should account for the start of a paragraph being the markdown bullet/numbered list character and should probably ignore those characters. See CustomValidator.groovy

This may not be an immediate concern, if the bulleted/numbered listed is not separated by an empty line from the previous paragraph, it is assumed to be part of the previous paragraph's validation.

PR: https://github.com/NationalSecurityAgency/skills-service/pull/675

:+1:


Regarding Semantic Recoloring

Hello,
Thanks for the work. I have created a fork and tried to implement it on uHumans2_office_s1_00h.bag bag files left camera image topic. Now, I see inside the uHumans2_office_s1_00h.bag, the camera color segmentation values are different from the one that you are using here in this package. Perhaps that's different because of the no. of classes are different in different dataset but can you clarify this ? This is a bit confusing because I am going to launch this one to feed the output to hydra and I see the 2 topics have different colors for different classes.
Like the ade20kefficientvit or the other models in this repo, the wall color is light green, ceiling is red and floor is blue. whereas in the uhumansoffice bag file mentioned above, the wall is dark green, ceiling and floor both are steel gray.
How does this impact the overall scene graph generation with hydra ? Will this color mismatch create any impact on the detected object or generated scene graph with hydra ?

@nathanhhughes, can you please clarify ?


How i can make tus-client async

Question
How to make the tus-client call as an async, I have used async-await but it did not work.
Setup details
    const uploadImage = async (image: any, setUrl: any, urlData: any) => {
        // NOTE: Create a new tus upload
        let file = { uri: image?.path };
        let options = await {
            endpoint: `${API_URL}/files/`,
            retryDelays: [0, 3000, 5000, 10000, 20000],
            metadata: {
                filename: 'test',
                filetype: 'image/jpeg',
            },
            onError: async (error: any) => {
                console.log('Failed because>>: ' + error);
            },
            onSuccess: async () => {
                console.log(
                    'First 111 Download %s from %s',
                    upload.file.name,
                    upload.url
                );
                return new Promise((resolve) => {
                    resolve(upload.url);
                });
            },
            onAfterResponse: async (req: any, res: any) => {
                return new Promise((resolve) => {
                    var url = req.getURL();
                    var value = res.getHeader('X-My-Header');
                    console.log(`First 222 Request for ${url} responded with ${value}`);
                    resolve(value);
                });
            },
        };
        var upload: any = await new tus.Upload(file, options);
        await upload.start();
    };

// Function call
 let getImageUrls = await uploadImage(image?.[0], setTest, test);
 console.log('last', getImageUrls);

Current log sequence
console.log('last', getImageUrls);
console.log( 'First 111 Download %s from %s', upload.file.name, upload.url);
console.log(`First 222 Request for ${url} responded with ${value}`);

Expected log sequence
console.log( 'First 111 Download %s from %s', upload.file.name, upload.url);
console.log(`First 222 Request for ${url} responded with ${value}`);
console.log('last', getImageUrls); //<<<Want to get uploaded URLs by tus-client

Runtime environment: Node.js React Native
Used tus-js-client version: ^2.2.0
Used tus software: tus-js-client

Please do not understand this as a personal attack, but it seems like you do not know how to use Promises and async/await. Instead, it looks like you sprinkled async/await all over the code in the hope to get it working. I definitely recommend you to look up this topic and properly learn the mechanisms behind async/await.
Anyways, this code should help you for now:
    const uploadImage = (image: any, setUrl: any, urlData: any) => {
        return new Promise((resolve, reject) => {
            // NOTE: Create a new tus upload
            let file = { uri: image?.path };
            let options = {
                endpoint: `${API_URL}/files/`,
                retryDelays: [0, 3000, 5000, 10000, 20000],
                metadata: {
                    filename: 'test',
                    filetype: 'image/jpeg',
                },
                onError: (error: any) => {
                    console.log('Failed because>>: ' + error);
                    reject(error);
                },
                onSuccess: () => {
                    console.log(
                        'First 111 Download %s from %s',
                        upload.file.name,
                        upload.url
                    );
                    resolve(upload.url);

                },
                onAfterResponse: async (req: any, res: any) => {
                    var url = req.getURL();
                    var value = res.getHeader('X-My-Header');
                    console.log(`First 222 Request for ${url} responded with ${value}`);
                },
            };
            var upload: any = new tus.Upload(file, options);
            upload.start();
        })
    };

// Function call
 let getImageUrls = await uploadImage(image?.[0], setTest, test);
 console.log('last', getImageUrls);

Thank you for helping out, And yes I lack knowledge on Promise.


Simplify the edition of a CSR.

You will always obtain the same CSR form the same Subject Information + Private key.
Private key can be generated when creating a model.
Private key can be used against (edited/created) Subject information to generate the CSR.
There would be no reason to keep the "should_renew_csr".
We have a test as proof :

def test_csr_is_a_function_of_private_key_plus_subject_fields():
    "Generated CSR only changes depending on key and subject"
    my_private_key_pem = generate_private_key()
    csr_once = generate_csr(key_pem=my_private_key_pem, common_name="Foo")
    csr_twice = generate_csr(key_pem=my_private_key_pem, common_name="Foo")
    assert csr_once == csr_twice

Opened a PR : https://github.com/maykinmedia/django-simple-certmanager/pull/46


Fix cheerio dependency warning

Gets rid of this during npm install:
└── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| 0.20.x but none was installed.

(and I also left the auto npm JSON reformatting to make future PRs cleaner.)

Coverage remained the same at 98.953% when pulling bbea0dba0fa11d6b6013cb62f666124d37efc49d on sedubois:cheerio-warn into de78b9fb1499d647c8b5d838dc29270d21f60bfd on mxstbr:dev.

Hmm, looking at the chai-enzyme package.json, they explicitly state 0.22.x is fine. I think the solution here might to bump chai-enzyme? https://github.com/producthunt/chai-enzyme/blob/master/package.json#L29
Man, I can't wait to merge #980…

@mxstbr package.json already references the latest chai-enzyme 0.5.1

That's weird! @ayrton @vesln any ideas what could be happening here?

@mxstbr we loosened up the peer dependencies, but we haven't published a new version on npm yet. I'll do this tonight/tomorrow.

Upgrade to<EMAIL_ADDRESS>and you should be good to go using<EMAIL_ADDRESS>

Thanks, I upgraded. (Just noting cheerio still gets installed a second time because enzyme references<EMAIL_ADDRESS>

Coverage remained the same at 98.953% when pulling b3e4e1a689a30f1e44a602b5c406c884e112e434 on sedubois:cheerio-warn into de78b9fb1499d647c8b5d838dc29270d21f60bfd on mxstbr:dev.

Thank you @ayrton and @sedubois!


Error pachd on newly created cluster : certificate signed by unknown authority

What happened?:
I did a gke cluster deployment following the procedure you gave us in :
https://github.com/pachyderm/pachyderm/issues/7059#issuecomment-961386827
The cluster is up and running, and we can check the available pods :
NAME                          READY   STATUS    RESTARTS   AGE
etcd-0                        1/1     Running   0          7m56s
pachd-ffbc4c8b9-jvqjr         1/1     Running   0          7m57s
pg-bouncer-7b855cb797-bfsd6   1/1     Running   0          7m57s
postgres-0                    1/1     Running   0          7m56s

However, any of the following command will fail with the same error message :

pachctl version
pachctl list repo
pachctl create repo XXX

Error is :
Get "https://<IP_ADDRESS>/api/v1/namespaces/default/pods?labelSelector=app%3Dpachd%2Csuite%3Dpachyderm": x509: certificate signed by unknown authority
The pachd pod logs give :
2021-11-06T09:13:07Z INFO started setting up Proxy API GRPC Server
2021-11-06T09:13:07Z INFO finished setting up Proxy API GRPC Server
2021-11-06T09:13:07Z INFO finished setting up Internal Pachd GRPC Server
2021-11-06T09:13:07Z WARNING s3gateway TLS disabled: could not stat public cert at /pachd-tls-cert/tls.crt: stat /pachd-tls-cert/tls.crt: no such file or directory

What you expected to happen?:
For pachctl to work properly
How to reproduce it (as minimally and precisely as possible)?:
Create a GKE Cluster as in https://docs.pachyderm.com/latest/deploy-manage/deploy/quickstart/#google
Try pachctl version
Anything else we need to know?:
There is uncertainty about the service account we should use in the values.yaml, about which authorizations should be set
Environment?:

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.5", GitCommit:"6b1d87acf3c8253c123756b9e61dac642678305f", GitTreeState:"clean", BuildDate:"2021-03-18T01:10:43Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.10-gke.1600", GitCommit:"ef8e9f64449d73f9824ff5838cea80e21ec6c127", GitTreeState:"clean", BuildDate:"2021-09-06T09:24:20Z", GoVersion:"go1.15.15b5", Compiler:"gc", Platform:"linux/amd64"}

Pachyderm CLI and pachd server version (use pachctl version):

COMPONENT           VERSION
pachctl             2.0.0
Get "https://<IP_ADDRESS>/api/v1/namespaces/default/pods?labelSelector=app%3Dpachd%2Csuite%3Dpachyderm": x509: certificate signed by unknown authority

Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s):

GKE

If you deployed with helm, the values you used (helm get values pachyderm):

deployTarget: GOOGLE
pachd:
  storage:
    google:
      bucket: "bucketname"
      # You can also pass the creds on the command line using helm install --set-file storage.google.cred=creds.json
      cred: |
        {
          "type": "service_account",
.....
        }
  externalService:
    enabled: true

OS (e.g. from /etc/os-release):

Debian

Others:

Update : the issue is just that I'm a moron who do not read carefully the documentation
With all due apologies : closing this issue.

@quematech haha not a problem at all, I'm glad you figured it out. Could elaborate which part you missed?

Gladly :)
I was following the quick cloud deployment method (https://docs.pachyderm.com/latest/deploy-manage/deploy/quickstart/#4-have-pachctl-and-your-cluster-communicate) for GKE, but at first totally missed the "Have 'pachctl' And Your Cluster Communicate" part...


Customizable rate limiting for both player-to-server globally, and per-bridge

TODO: Desired API
Rate limiting is the second-to-last feature required for BridgeNet2's release.

Finished in the next commit.


Upgrade BSML, specify menu type for modifiers panel (fixes #3)

This pull request:

Upgrades BSML to v1.4.3 (not on BeatMods yet)
Specifies MenuType.Online so the modifiers panel is not shown in single player (issue #3)
Updated references to SongCore and BS Utils (to match latest versions on BeatMods)
Removes the dependency on BSEvents as our load-event (late fresh menu scene loaded) stopped working for some reason
Bumps ServerBrowser to 0.3.0

Before this is ready to merge: need to test a bit more and wait for BSML to be updated on BeatMods.

Dependencies have changed, I'll re-do this stuff on the main branch

Dependencies have changed, I'll re-do this stuff on the main branch


Withespace after opening tag no trimed

Hi,
I have a file starting with a withespace after the opening tag.
<?php

Using
composer exec php-cs-fixer -- fix --rules=@PSR1,@PSR2 src/

does not trim this withespace, but
composer exec php-cs-fixer -- fix --rules=@PSR1,@PSR2,@Symfony src/

does

PHP : 7.1.17
PHP CS Fixer : 2.12.2

Regards,

no_trailing_whitespace rule should be updated to check for this special case

<?php  cannot be fixed to <?php because that is not valid PHP

<?php

with space after <?php  can be trimmed (but the newline must be there than)


Hard tail, soft tail, and pointers in LFS_TYPE_DIRSTRUCT?

What are these pointers? I can understand the English literally, but what exactly do they mean, and how are they used?

Pointers in LFS_TYPE_DIRSTRUCT: points to the first metadata-pair in the directory. Does it mean it points to the first 'child' directory or file?
Soft tail: points to the next metadata pair in the filesystem. What's the use? Is there any example?
Hard tail: points to the next metadata pair in the directory. Is this similar to 1.? Except that it points to 2nd, 3rd, .. 'child' directory or file of the parent directory?

Sometimes 1. and 2. point to the same metadata-pair. Why?

Ah yeah, the literal definition of the names really don't do any good here...
The hard/soft doesn't really mean anything except that the "tail pointer" can be in two states.
Some pictures may help here.
littlefs's metadata is really arranged into two overlapping data structures.
 This is where the hard/soft types of tails come in:

0x600 LFS_TYPE_SOFTTAIL => End of directory
0x601 LFS_TYPE_HARDTAIL => Directory continues in next metadata-pair

Putting these two views together, the total data structure looks like this:
              "hard" tail pointer
                       |
              .-------.v .-------.
              | dir A |->| dir A |-. <- "soft" tail pointer
              |       |  |       | |
.-------------|       |--|       |-'
|             '-------'  '-------'
|               |   |        '-------------------------. <- dir pointer
|      .--------'   '----------.                       |
|      v                       v                       v
|  .-------.  .-------.    .-------.  .-------.    .-------.
'->|dir A/B|->|dir A/B|--->|dir A/C|->|dir A/C|--->|dir A/D|
   |       |^ |       |    |       |  |       | ^  |       |
   |       || |       |    |       |  |       | |  |       |
   '-------'| '-------'    '-------'  '-------' |  '-------'
            |                                   |
   "hard" tail pointer                 "soft" tail pointer

This is also why LFS_TYPE_DIRSTRUCT and LFSR_TYPE_SOFTTAIL can sometimes, but not always, point to the same metadata-pair.
The directories can appear in the linked-list in any order, the linked-list may look different for the same filesystem tree, depending on the order the directories were created in.
The "hard", "soft", and "tail" names have sort of lost all of there original meaning at this point...


⚠ Bofrost.be has degraded performance

In ec3c657, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 952 ms

Resolved: Bofrost.be performance has improved in ceb1859.


Programmatic Code Quality

This content server has never been passed through programmatic code-review tools like code climate, and it likely receives a "failing grade" by their metrics. Since it is good practice to have a computer enforce style and simplicity, we should refactor the code to match Code Climate's recommendations.
This issue is likely good for people looking to learn rails and Privly since it is easy to get incremental progress and review on pull requests.

CodeClimate report


CFP: Improve KubeProxyReplacement status on cilium status command

Cilium Feature Proposal
Is your proposed feature related to a problem?
It is not a problem, but creates confusion while interpreting the cilium status command output. When we are using tunnels instead of native mode. Cilium status command prints (Direct Routing) on the KubeProxyReplacement field.
Eg:
KVStore:                 Ok   Disabled
Kubernetes:              Ok   1.27 (v1.27.12+rke2r1) [linux/amd64]
Kubernetes APIs:         ["EndpointSliceOrEndpoint", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "cilium/v2alpha1::CiliumCIDRGroup", "core/v1::Namespace", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:    True   [ens3   <IP_ADDRESS> fe80::f816:3eff:fe57:7c52 (Direct Routing)]
Host firewall:           Disabled
SRv6:                    Disabled
CNI Chaining:            portmap
Cilium:                  Ok   1.15.1 (v1.15.1-a368c8f0)
NodeMonitor:             Listening for events on 4 CPUs with 64x4096 of shared memory
Cilium health daemon:    Ok
IPAM:                    IPv4: 2/254 allocated from <IP_ADDRESS>/24,
IPv4 BIG TCP:            Disabled
IPv6 BIG TCP:            Disabled
BandwidthManager:        Disabled
Host Routing:            BPF
Masquerading:            BPF   [ens3]   <IP_ADDRESS>/24 [IPv4: Enabled, IPv6: Disabled]
Controller Status:       21/21 healthy
Proxy Status:            OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000, Envoy: embedded
Global Identity Range:   min 256, max 65535
Hubble:                  Ok              Current/Max Flows: 4095/4095 (100.00%), Flows/s: 7.68   Metrics: Disabled
Encryption:              Disabled
Cluster health:          6/6 reachable   (2024-04-18T20:24:49Z)
Modules Health:          Stopped(0) Degraded(0) OK(11) Unknown(3)
Helm values:
bpf:
hostLegacyRouting: false
masquerade: true
k8sServiceHost: '<IP_ADDRESS>'
k8sServicePort: '6443'
kubeProxyReplacement: true
nodePort:
enabled: true
routingMode: tunnel
socketLB:
enabled: true
tunnelProtocol: geneve
hubble:
enabled: true
relay:
enabled: true
ui:
enabled: true
Describe the feature you'd like
@joestringer requested the PR https://github.com/cilium/cilium/pull/32036 which will help to clarify if cilium is using native or tunnel mode. However, keeping "Direct Routing" on the KubeProxyReplacement field when using a routing-mode tunnel still creates misunderstanding. Do I still use a tunnel with Direct Routing together?
Maybe there is a reason to have it, and we just need to clarify this with some docs.
Thanks again @joestringer

This is where we are adding the (Direct Routing) string.  https://github.com/cilium/cilium/blob/a6b8538908f448a962e19730c6a34ece7c1caa81/pkg/client/client.go#L331C1-L331C11.

What I find confusing here is that my impression is that both "direct routing" and "native routing" are used interchangeably in Cilium to indicate routing directly via the natively-connected network. Traditionally you might call this the "physical" network, but when Cilium runs inside VMs it may be a virtual network outside of the node where Cilium runs.
The setting here seems to be indicating the status of the direct-routing-device configuration as it applies to the kube-proxy-replacement feature. So perhaps one angle to this issue is to answer the question: What does that setting mean?
From the agent help text, we see that the direct-routing-device means:

Device name used to connect nodes in direct routing mode (used by BPF NodePort, BPF host routing; if empty, automatically set to a device with k8s InternalIP/ExternalIP or with a default route)

However, this presumably may not apply if the agent is configured with routing-mode=tunnel?


[BUG] Sockt closes after 1-2 hours, requiring Node.js service restart

Describe the issue:
I am using Baileys to connect via WebSocket, but I've noticed that the connection closes after approximately one or two hours of being active. I need to restart my Node.js service to reconnect the socket.
Steps to reproduce:

Start the WebSocket connection using Baileys.
Leave it running for one to two hours.
After some time, the connection is closed without error.
Restarting the Node.js service reconnects the socket, but the issue happens again after a similar duration.

Expected behavior:
The WebSocket should remain open indefinitely or reconnect automatically without requiring a full service restart.
Additional context:

Node.js version: 16.9.0
Baileys version: latest

I would appreciate any insights or suggestions on how to resolve this issue. Are there any built-in reconnection strategies or configurations to prevent frequent disconnections?
Thank you in advance for your help.

implement an automatic restart every 30 min

or simply use the logger debug to see whats happening

implement an automatic restart every 30 min

I already implemented an automatic restart every 2 hours but this makes me lose some functions depending on the cache so when I restart everything lose

every hour it restarts without error how can i stop it.


Rename "PC Settings" link to "Settings"

I am aware that you can change the name but I believe it should be like this by default

sorry, again.


Migrate pepdb to zavod framework and positions DB

[x] countries are discovered and alerted if not yet listed in yaml
[x] positions candidates are discovered and added to position db with no pep decision
[x] position holders are found for positions marked as PEP positions and emitted if they meet our criteria
[ ] a way to migrate ignore decisions from pepdb to positions db

About 0.5% reduction in targets
Explanations for fewer entities:

PEPDB had repetitions of holderships across multiple edits of the item. This emits the state of the item as returned by the query, which basically generally represents the correct final state of the item after those edits.

in addition to occupancies disappearing, we see a position like https://www.opensanctions.org/entities/Q104003163/ disappearing because the only holder according to wd died in 1920, and the holder we have now does not have that statement any more.
Q104528417 redirects to https://www.wikidata.org/wiki/Q64399432

changes to positions which were previously returned in our queries but aren't any more:

potential remedy: change ?position wdt:P31 wd:Q4164871 to wdt:P31*/wdt:279* - that would identify ambassador of jordan but not ambassador of jordan to france because the latter doesn't have the country. We could try and get the country from the superclasses

losing https://www.wikidata.org/wiki/Q104408266 because they had position https://www.wikidata.org/wiki/Q61928772 but now only have position https://www.wikidata.org/wiki/Q122346833

https://www.wikidata.org/wiki/Q122346833 should potentially also be a PEP position - it's a subnational legislator position

local run vs yesterday's prod file
jq . /home/jdb/projects/opensanctions/opensanctions/contrib/delta/data/delta/20231213/wd_peps.delta.json | grep -A4 REMOVED |grep schema|sort | uniq -c
  26594     "schema": "Occupancy",
   2059     "schema": "Person",
    168     "schema": "Position",

run crawler in main branch

wikidata positions with decision and holders now exist marked is_pep=true

run crawler in this branch

wikidata positions without holders now exist with no decision

 (main) $ psql postgres://saas:saas@localhost/saas
psql (15.4, server 13.7 (Debian 13.7-1.pgdg110+1))
Type "help" for help.

saas=# select is_pep, count(*) from position where dataset = 'wd_peps' group by is_pep;
 is_pep | count
--------+--------
        | 111587
 t      |  14355


Fix the wrong link address in kubectl-plugins.md

Fix the wrong link address in kubectl-plugins.md

/assign @chenopis

/lgtm

/approve


Quote fork bug

I am quite sure I have seen this one before.
The example is with quotes, but it should work with any character.
In short, having tokens for ' and ''' makes it an error to parse '' (double single quote)
instead of returning two tokens corresponding to '.

I am not very familiar with the branching machinery, but it seems logos is not backtracking after seeing two single quotes, expecting the third one because of ''' token.

Oh, yeah, this is a tricky one because no-backtracking is kind of a feature. I've the same issue in Ratel since JS has . and ... tokens, but no ...
I'm thinking it should be possible to speed things up a notch by having the Source read a fixed number of bytes into an array ([u8; 2] in this case) and then compare that to predefined arrays. It might also be a performance win since it could optimize two bounds checks and byte checks into single bounds check and one u16 check.

Ah right! Totally forgot about this. I guess this is in the future; But the fixed width lookup sounds quite promising.
For now I am just using a workaround in the form of "EmptyString" token to catch the double quote case.
We can close this one as well and perhaps open a feature ticket.

Made the issue, I'll merge the PR into another branch once I start working on this.


Fixed: service worker registration error by removing the register service worker file (dxp-253)

Related Issues

Closes #
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

Related Issue: https://github.com/hotwax/dxp-components/issues/253


Function that allows customers to add product to shopping cart

Todo: delete all unnecessary items, add suitable labels (with priotity and estimation), milestone, assignee, etc.
Feature Template
Related Issues/Tasks

[ ] #1
[ ] #2

Scenario (test)

[ ] Step 1
[ ] ...
[ ] Expected result

User Story Template

As a ...
I want ...
So that ...

Bug Template
Expected behavior
Actual behavior
Steps to reproduce the behavior
Project Submission Template
Iteration page: here
Checklist, e.g.,:

[ ] Feature scenarios/tests passing
[ ] Iteration page updated, including:

[ ] Iteration retrospective
[ ] Client review
[ ] Issues updates
[ ] Section on application of course materials

[ ] git tag
[ ] Next iteration:

[ ] Open page
[ ] Select stories and plan issues
[ ] Test scenarios

[ ] All engineers filled peer-review
[ ] Submitted

[ ] Announcement in chat room
[ ] Assign this issue to checker
[ ] Register for a review meeting

This is a User Story


preset.js: trim terms when retrieving translations to avoid white spaces

Terminates #2756 and PR #2772 - trimming terms before using them is needed for some translations where whitespaces are inserted at string start/end. Note that function leading tend to handle that but not for everything actually (only spaces).

Thanks for this contribution, looks good..


Port the teams connector to the new format used by Botkit #next

This has mostly been achieved with the built-in extension to BotFrameworkAdapter that adds the getChannels method.
We may want to add a few more helper method and Botkit extensions like differentiating between direct message and public messages


Hide from system try

Description of the new feature / enhancement
Hide the little icon in the system try using a option in the settings.
Scenario when this would be used?
I know this is a small thing but imagine when you have lots of such tools your system try gets really big and when I have configured once the program I don't need it to sit down below.
Supporting information
No response

/dup #9526


DBeaver randomly switches between two different data-sources.json files

Description
After clean installation, I've added all my servers to Database Navigator. One day when I started DBeaver, I saw that Database Navigator was empty and added two servers again. Now, when I start DBeaver, sometimes I see all my servers, and sometimes only two servers.
It seems that there are two different data-sources.json files on the hard drive. And I can't figure out which one will be shown in Database Navigator when I start DBeaver.
The paths of these two files are:
C:\Users\Sinan\.local\share\DBeaverData\workspace6\General\.dbeaver\data-sources.json
C:\Users\Sinan\AppData\Local\Packages\DBeaverCorp.DBeaverCE_1b7tdvn0p0f9y\LocalCache\Roaming\DBeaverData\workspace6\General\.dbeaver\data-sources.json
DBeaver Version
Community Edition Version <IP_ADDRESS>211062135
Operating System
Windows 11 Pro Version 21H2 OS Build 22000.1219
Database and driver
Microsoft JDBC Driver for SQL Server (MSSQL)
Steps to reproduce
No response
Additional context
No response

@sinanilyas Hi, do you have DBeaver installed as Windows store app?

Yes, it is installed as Windows Store app.

Have you installed WSL on your Window?

Hi @sinanilyas,
Unfortunately, the DBeaver Windows Store app is now not available. We'll return to this ticket when it's possible.

Hi @sinanilyas
Could you please send me the log files? You can find instructions here: https://dbeaver.com/docs/wiki/Log-files/. Thank you.
You can find the logs in your workspaces:
C:\Users\Sinan.local\share\DBeaverData\workspace6\General.dbeaver\data-sources.json
C:\Users\Sinan\AppData\Local\Packages\DBeaverCorp.DBeaverCE_1b7tdvn0p0f9y\LocalCache\Roaming\DBeaverData\workspace6\General.dbeaver\data-sources.json

There has been no update for a long time. If the issue is still actual for you, feel free to reopen it.


multicluster: Implement Stringer interface on MultiClusterService struct

This PR implements and tests .String() on MultiClusterService struct.
Signed-off-by: Delyan Raychev<EMAIL_ADDRESS>

Codecov Report

Merging #3763 (6d3a557) into main (32b9a78) will decrease coverage by 1.75%.
The diff coverage is 34.48%.

@@            Coverage Diff             @@
##             main    #3763      +/-   ##
==========================================
- Coverage   69.98%   68.23%   -1.76%
==========================================
  Files         185      188       +3
  Lines       10366    10643     +277
==========================================
+ Hits         7255     7262       +7
- Misses       3062     3332     +270
  Partials       49       49

Flag
Coverage Δ

unittests
68.23% <34.48%> (-1.76%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/envoy/bootstrap/config.go
93.95% <0.00%> (-1.94%)
:arrow_down:

pkg/errcode/errcode.go
100.00% <ø> (ø)

pkg/envoy/cds/cluster.go
94.04% <33.33%> (-1.11%)
:arrow_down:

pkg/envoy/cds/response.go
80.00% <40.00%> (-4.13%)
:arrow_down:

pkg/apis/config/v1alpha1/multi_cluster_service.go
100.00% <100.00%> (ø)

pkg/envoy/lds/ingress.go
79.03% <0.00%> (-5.46%)
:arrow_down:

pkg/envoy/lds/tracing.go
84.21% <0.00%> (-4.68%)
:arrow_down:

pkg/envoy/lds/rbac.go
81.03% <0.00%> (-4.43%)
:arrow_down:

pkg/envoy/lds/auth.go
93.33% <0.00%> (-3.22%)
:arrow_down:

pkg/envoy/lds/inmesh.go
77.77% <0.00%> (-2.61%)
:arrow_down:

... and 9 more

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 7ef0c47...6d3a557. Read the comment docs.


Sbailleu patch 1

Describe the behavior changes introduced in this PR
Linked Issues?
resolves # <-- Use this if merging should auto-close an issue
related to # <-- Use this if it shouldn't
Testing Instructions
Please include any additional commands or pointers in addition to our standard PR testing process.
@redhat-cop/mdt

Closing as I created it by mistake


[wip]add _toc and _config to master branch

Adding configuration files to the main branch so that we are able to build the jupyter book automatically.

WIP tag added, I want to add another extension or so to enable interactive plotting

Looks good, let me know what the conclusion on the interactive plotting explorations!


Add Tax Areas 2022 from Utah Tax Commission

Summary

Proposed Readable Name: Utah Tax Areas 2022
Proposed Internal Dataset Name: TaxAreas2022
Proposed External Dataset Name: tax_areas_2022
Proposed Data Category: Economy
Data Description: Centrally assessed property tax analysis areas.
Source Agency/Entity: Utah Tax Commission
Contact: Nick Kenczka
Update Frequency: Yearly

Yearly tax area update from the Utah Tax Commission
The data should be available in
1 Check [x] all the areas where you expect the data to show up.

[x] Internal SGID
[x] Open SGID
[x] ArcGIS Online
[x] Open Data

The data is of high quality

[x] Sweeper checks have run and passed (@ZachBeck on 2022/06/06)
[x] The minimum requirements for metadata are populated (@ZachBeck on 2022/06/06)
[x] The data complies with our domain rules (@ZachBeck on 2022/06/06)

Where is the data source
Choose one.

[x] Internal SGID
~- [ ] Farm from AGOL (agol item url)~

Action items

Assign a person who should complete the task by replacing name with their github @name.
Check [x] the box when the task is completed and add the date of completion.
~Strike~ out all items that do not apply.

[x] Add data to the Internal SGID (@ZachBeck, completed: 2022/06/06)
~- [ ] Configure forklift for Farm from AGOL (name, completed: 2022/00/00)~
[x] Update relevant gis.utah.gov data pages (@ZachBeck , completed: 2022/06/12)
[x] Add a Stewardship record (@ZachBeck, completed: 2022/06/12)
[x] Complete a SGID.META.AGOLItems record (@ZachBeck, completed: 2022/06/08)
~- [ ] Complete an AGOLItems_shelved record for any static or shelved item (name, completed: 2022/00/00)~

:robot: Automation validation

Assign yourself or someone to check the item by replacing name with their github @name.
Check [x] the box and add the date of verification 2020/01/01 when the task is verified.
~Strike~ out all items that do not apply.

[x] Open SGID via cloudb (~@steveoh~ @stdavis on 2022/06/19)
[x] ArcGIS Online via forklift (@stdavis on 2022/06/19)
[x] Auditor ran successfully (@jacobdadams on 2023/06/09)
[x] Open Data (@ZachBeck on 2022/06/12)
[x] gis.utah.gov data pages (@ZachBeck on 2022/06/12)
[x] sgid-index (~@steveoh~ @stdavis on 2022/06/19)

Notification

[x] Twitter (@steveoh)

Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.

~- [ ] Data Team (@gregbunce)~

[x] Dev Team (@steveoh)
~- [ ] Cadastre Team (@rkelson)~

conductor results for tasks - 239

check
status

@ZachBeck has completed 4 out of 9 tasks
:no_entry:

@steveoh has completed 2 out of 4 tasks
:no_entry:

@stdavis has completed 0 out of 1 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

@gregbunce has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for Economy.TaxAreas2022

check
status

internal sgid
:+1:

meta table

- item id
:+1:

- item name
:+1:

- geometry type
:+1:

open sgid
:+1:

open data
:+1:

arcgis online
:+1:

stewardship

- Website URL
:no_entry:

- Endpoint
:no_entry:

- Description
:+1:

- Data Source
:+1:

- Data Type
:+1:

@ZachBeck I believe that I finished up the last few tasks for this today. Want to take one more look and close it out?


--wip-- replace Karma with @web/test-runner

we've currently got this same issue when importing chai https://github.com/modernweb-dev/web/issues/1954


[alchemy] Update AlchemyLanguage assertions

The operation of the AlchemyLanguage service for negative tests may have changed. Make sure that the negative tests are completed successfully, as expected.

This will be addressed as part of #244.


overlapping search bar results

when scrolling down on landing page, then focusing on search bar and then  quickly type something.

@exezbcz
can you clarify?
I don't understand what is the issue / how to reproduce

@exezbcz can you clarify? I don't understand what is the issue / how to reproduce

there are two search results opened at once. Idk if it was trigerred on lower internet speed, I just scrolled down and hit "K" and then quickly start typing.

fixed somewhere, can't reproduce it. feel free to reopen


Testing private or internal methods?

Hi all,
Wondering how you go about testing internal or private methods for your classes. I know testing private methods is typically frowned on, but with Obj-C I end up with lots of internal code that I would like to have tests for. I run into a wall using BDD and tools like Kiwi, since I am not really sure how to go about speccing this behavior. How do those of you with more experience in this area go about testing the internal parts of your classes (if you write these tests at all) and would you be willing to share an example or two?
thx
kam

When I do test, I don't test internal methods. If you really need to, I'd add the signatures to a protected header file that only a limited number of other source files (e.g. MySpec.m) import.

Like Allen, I don't test internal/private method. I test my classes through their public API.
I treat a large number of private methods, and the desire to test those in isolation, as a code smell and probably a sign that the design of my objects isn't quite right. Generally, there is an opportunity to extract a group of private methods into a class of their own that encapsulates and isolates their behaviour.
The end result is that your original classes have fewer private methods (as they can now delegate to an instance of your new class) and you have a separate class that can be tested separately through it's own public interface.
Does that help?

No problem. I'm a big advocate of only mocking out type you own (i.e. not third-party APIs) and as such, when it comes to boundary objects, that interact directly with third-party APIs and external services, I tend to prefer a higher level integration test approach that avoids mocks and treats the object under test as a black box. The end result is slightly slower tests with more complicated setup but I think you avoid headaches in the long run.

I'll add a summary of this info to the Wiki.


Feature Request: Permanently set Default Dashboard

Hello! I like the Home Assistant Desktop a lot, thanks! :-)
I only have one feature request. I want to use it permanently with a certain dashboard that I created specifically for Desktop.
Would it be possible to add a feature that allows the following:
Everytime Home Assistant Desktop starts up (as usually on Windows Login), it should go to the Dashboard that I can define (somewhere).
Thanks for considering it! BR, Lutz

You can just use HA's built-in ability to set a default dashboard per-device, no?

This sounds like what I am looking for. How would I do this?
Since I know that we can have a default dashboard per user, you helped me to think about this workaround: I create a new dummy user and set the desired dashboard as default dashboard for this user. Then log in with this user on my home assistant desktop. I will have to check if there are no negative side effects to that workaround.

I found the setting "Set as default on this device" now in the normal "Dashboards" Settings Menu of Home Assistant. Thank you - really cool! This can be closed.


Adding data communication protocols

Hello,
This is I guess a nice road map for complete android development, Though there are some suggestions by me for adding some sections.
1.)Communication protocols

BLE

Wi-fi

Nfc

2.)Socket programming

Xmpp
Mqtt
Web Socket programming

3.) IOT

Android Things
2.Arduino

-Thanks

Sure we'll consider these and add.


Add troubleshooting file

For the time being, we can put troubleshooting instructions for:

#16
numpy import problem
OpenCV build instructions on Mac:

brew tap homebrew/science
brew install opencv3 --with-contrib --with-tbb --with-python3 --with-ffmpeg

Also add OpenCV installation instructions for Windows: just use the binary installer (tested with 3.1.0)

PyYAML problem on Windows solved by installing PyYAML from http://www.lfd.uci.edu/~gohlke/pythonlibs/


Supervisor: integrate better with tests

We have a whole bunch of tests doing more-or-less the following when testing code that expects to run in a supervisor:
ctx, ctxC := context.WIthCancel(context.Background())
defer ctxC()
supervisor.New(ctx, func (ctx context.Context) error {
    // Schedule work and communicate with test goroutine over channels...
})
// Run checks, eg. t.Errorf.

This has the following issues:

We repeat ourselves with the context setup and supervisor setup.
We don't have test logs. This should be fixable by implementing something like supervisor.WithTestLogger which pipes logtree logging into log.Printf.
We have complex test logic because we can't t.Errorf/t.Fatalf from within the supervised goroutine, and instead have adhoc channel-based communications to indicate progress.

We should at least fix 2. (as this just came up, with a consensus test failing silently), probably also 1. by way of 3.

This got fixed in https://github.com/monogon-dev/monogon/commit/f8a8e65685cb621dc7fb39043a6d01caee5dcaf0 .


Use "fake" instead of "null" in Bussin X

I advise using "fake" with "null" in the Bussin X syntax.

This is an amazing idea, I'll make sure to add it in the next release.

Added in v1.2.1


Allow disabling all Callback decorators via environment properties

The CallbackDecorator provided by Contex Propagation has a strong impact on performance, and in some contexts unnecessary.
It's rather tricky to remove it from classpath, so it would be very handy to have a different option to disable it.
cc/ @jponge @FroMage

I feel that it could be useful to have a more general approach to disabling ServiceLoader stuff, perhaps with a setting that overrides the list of detected services? This way we could use this approach in more loaded service lists, and perhaps exclude specific services on top of being able to disable them all?
Something like services.fqdn.CallbackDecorator= to disable it, and services.fqdn.CallbackDecorator=foo.BarDecorator,gee.OtherDecorator?
I've needed something like this for Quarkus sometimes…

I feel that it could be useful to have a more general approach [...]

I agree, butl all this state is currently a global static. That would need some more extensive refactoring which might not be suitable do do now, while I would need a solution in short term.

Ok we can have this.
How about having DISABLE_CALLBACK_DECORATORS_PROP_NAME as a public constant?

Ok we can have this.
How about having DISABLE_CALLBACK_DECORATORS_PROP_NAME as a public constant?

If you prefer I can do that. But maybe it then becomes harder to remove later, assuming some better alternative arises from @FroMage 's ideas?
Personally I have no opinion, let me know if you want me to change it :)

@FroMage any better idea?

Errrr, no better idea. I guess this depends on which other system properties Mutiny uses, and whether you want to advertise this one. I was more thinking about MP Config myself, but it's more complex. I'll start a discussion on quarkus-dev about this.

We don't have to advertise it and keep it private.

There you go, problem solved ;)

Here we go!

thanks all! Looking forward to use this :)


please don't use token.py as a file name

(tw_new_version) E:\202010\tw_new_version>python twint/run.py -u up_mmyu03
Traceback (most recent call last):
File "C:\Miniconda3\envs\tw_new_version\lib\queue.py", line 4, in
import threading
File "C:\Miniconda3\envs\tw_new_version\lib\threading.py", line 7, in
from traceback import format_exc as _format_exc
ImportError: cannot import name 'format_exc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "twint/run.py", line 4, in
from asyncio import get_event_loop, TimeoutError, ensure_future, new_event_loop, set_event_loop
File "C:\Miniconda3\envs\tw_new_version\lib\asyncio_init_.py", line 21, in
from .base_events import *
File "C:\Miniconda3\envs\tw_new_version\lib\asyncio\base_events.py", line 17, in
import concurrent.futures
File "C:\Miniconda3\envs\tw_new_version\lib\concurrent\futures_init_.py", line 8, in
from concurrent.futures.base import (FIRST_COMPLETED,
File "C:\Miniconda3\envs\tw_new_version\lib\concurrent\futures_base.py", line 7, in
import logging
File "C:\Miniconda3\envs\tw_new_version\lib\logging_init.py", line 26, in
import sys, os, time, io, traceback, warnings, weakref, collections
File "C:\Miniconda3\envs\tw_new_version\lib\traceback.py", line 5, in
import linecache
File "C:\Miniconda3\envs\tw_new_version\lib\linecache.py", line 11, in
import tokenize
File "C:\Miniconda3\envs\tw_new_version\lib\tokenize.py", line 35, in
from token import *
File "E:\202010\tw_new_version\twint\token.py", line 4, in
import requests
File "C:\Miniconda3\envs\tw_new_version\lib\site-packages\requests_init_.py", line 43, in
import urllib3
File "C:\Miniconda3\envs\tw_new_version\lib\site-packages\urllib3_init_.py", line 7, in
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
File "C:\Miniconda3\envs\tw_new_version\lib\site-packages\urllib3\connectionpool.py", line 28, in
from .packages.six.moves import queue
File "C:\Miniconda3\envs\tw_new_version\lib\site-packages\urllib3\packages\six.py", line 91, in get
result = self._resolve()
File "C:\Miniconda3\envs\tw_new_version\lib\site-packages\urllib3\packages\six.py", line 113, in _resolve
return _import_module(self.mod)
File "C:\Miniconda3\envs\tw_new_version\lib\site-packages\urllib3\packages\six.py", line 82, in _import_modu
le
import(name)
File "C:\Miniconda3\envs\tw_new_version\lib\queue.py", line 6, in
import dummy_threading as threading
File "C:\Miniconda3\envs\tw_new_version\lib\dummy_threading.py", line 45, in
import threading
File "C:\Miniconda3\envs\tw_new_version\lib\threading.py", line 7, in
from traceback import format_exc as _format_exc
ImportError: cannot import name 'format_exc'
https://stackoverflow.com/questions/58241380/importerror-cannot-import-name-format-exc-error

I am currently working on a fix for this. Will try to push by tonight.


As a developer, I would like to set up an API mock server for demonstration

Why
As we're creating a demo to show job detail, we need to set up an API mock server to implement a real API request flow in the demo app. The API mock server should:

include an API to return a job detail response.
contain at least 2 sample responses success and fail.

Who Benefits?
Developers

Here is the Mock API server info:

Documentation: https://documenter.getpostman.com/view/6401217/UVsTpgzK


Add built-in random sampling

This moves all the random sampling of nodes into DynamicExpressions.jl. It also makes things more explicit with respect to sampling graph nodes. For example, should one sample a GraphNode with the same probability, or proportional to how many times it is used in upstream nodes? This allows you to choose both.
TODO:

[ ] Add NodeSampler to docs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 32 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 93.82%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
1260

Relevant Lines:
1343

💛  - Coveralls


Integration with HACS

Hi Peter,
Glade to see that your updating the integration again :).
Just a suggestion that you integrate this with HACS to make it easier to update/config it in the future.
Thanks

Hi,
I don't think I'll support for it anytime soon, more details here https://github.com/peterbuga/HASS-sonoff-ewelink/pull/108


Update Terms of Use

#Issue
New Terms of Use has been updated. Please integrate into AAD.

QA Review Instructions

Confirm that a new version of “Terms of Use” has been updated properly.

Prerequisites

Update google doc with new “Terms of Use”
Google Doc:  https://docs.google.com/document/d/1GN-tCpH5zLh5rWs6_y_B-IkXu9h8AxhDsTPQVDmpgcY/edit?usp=sharing

How to check:

https://lgrow-staging.herokuapp.com
PRESS “Register / Sign in”
FIND “Terms of Use” link
CLICK “Terms of Use” link
COMPARE: Google doc and the contents of the popup window

Cara updated here: https://docs.google.com/document/d/1GN-tCpH5zLh5rWs6_y_B-IkXu9h8AxhDsTPQVDmpgcY/edit#
on 3.28.19. The formatting is awful. The word doc is attached here.
Terms of Service FINAL 3.28.docx


Update README.md

Description
(Brief description on what this PR is about)
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@MXNet-CI-Bot incorrect action

@MXNet-CI-Bot incorrect action

Undefined action detected.
Permissible actions are : run, trigger
Example : @mxnet-ci-bot run [centos-cpu]
Example : @mxnet-ci-bot trigger [centos-gpu]

@MXNet-CI-Bot run [incorrect-job]

None of the jobs entered are supported.

@MXNet-CI-Bot run [edge]

Jenkins CI successfully triggered.

Undefined action detected.
Permissible actions are : run, trigger
Example : @mxnet-ci-bot run [centos-cpu]
Example : @mxnet-ci-bot trigger [centos-gpu]

@MXNet-CI-Bot run [centos-cpu]

Jenkins CI successfully triggered.