role system planning?

Is there role system planning just like PostgREST?

@coolzilj Today it is not possible to do like postgREST because the db is global for pREST, but i think  we can implement a simple role system based on JWT token data. I really like the ideia  that pREST have simple role system.
What do you think about it @avelino @lerrua @cassiobotaro @marioidival @crgimenes @gtsalles ?

I like the ideia

Sounds good to me, we can put this idea on the next roadmap.

This is a showstopper feature for me. Without it, it's not possible to expose prest to the real web, unless you use it only for SELECT operation on access-limited, fully public tables. Kinda defeats the purpose..
There have to be some way to implement something like SET ROLE based on JWT attributes.

So would it be possible to implement sending SET ROLE based on some predefined JWT attributes? Any reason why it should not work? Any coding tips in case I want to try to code it my self?
We need it for the project I am working on now. The alternative is to throw out pREST and make our own API.


Various README fixes

https://github.com/deis/controller/blob/master/README.md looks like it has a few problems:

title states: Deis Workflow v2
Prerequisities -> Prerequisites
Maybe a few more lingering incorrect "workflow" references?

on it!


Rename repo

@laravelio/liobot hey LioBot team 🙂
I'd like to rename the repo to lio-bot if that's alright to be more in sync with the other organisation repositories.
Is that ok with you?

Let's just switch it to 'liona' so it matches its handle in IRC

Sounds good!

Done. I'll rename the Github team as well.


Library not loaded: @rpath/libdeflate.so

Hello. I created an environment with conda with python 2.7 on macos mojave. Entered the command:
pip install peddy
And got an error:
Traceback (most recent call last):   File "/Users/nail/miniconda3/envs/peddy/bin/peddy", line 8, in <module>     from peddy.__main__ import cli   File "/Users/nail/miniconda3/envs/peddy/lib/python2.7/site-packages/peddy/__main__.py", line 3, in <module>     from .cli import peddy as cli   File "/Users/nail/miniconda3/envs/peddy/lib/python2.7/site-packages/peddy/cli.py", line 17, in <module>     from cyvcf2 import VCF   File "/Users/nail/miniconda3/envs/peddy/lib/python2.7/site-packages/cyvcf2/__init__.py", line 1, in <module>     from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness, ImportError: dlopen(/Users/nail/miniconda3/envs/peddy/lib/python2.7/site-packages/cyvcf2/cyvcf2.so, 2): Library not loaded: @rpath/libdeflate.so   Referenced from: /Users/nail/miniconda3/envs/peddy/lib/libhts.2.dylib   Reason: image not found
What can I do with this issue?

Hi, same here. I have installed peddy as a conda env with no issues
$ conda create --name peddybox peddy
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate peddybox
#
# To deactivate an active environment, use
#
# $ conda deactivate

but when I run it
python -m peddy -p 4 --plot --sites hg38 --prefix FAM001 FAM001.trio.genotype.raw.vcf.gz FAM001.ped
I got same error as above
Traceback (most recent call last):
  File "/Users/miriam.fanjul/anaconda3/envs/peddybox/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/Users/miriam.fanjul/anaconda3/envs/peddybox/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/miriam.fanjul/anaconda3/envs/peddybox/lib/python2.7/site-packages/peddy/__main__.py", line 3, in <module>
    from .cli import peddy as cli
  File "/Users/miriam.fanjul/anaconda3/envs/peddybox/lib/python2.7/site-packages/peddy/cli.py", line 17, in <module>
    from cyvcf2 import VCF
  File "/Users/miriam.fanjul/anaconda3/envs/peddybox/lib/python2.7/site-packages/cyvcf2/__init__.py", line 1, in <module>
    from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness,
ImportError: dlopen(/Users/miriam.fanjul/anaconda3/envs/peddybox/lib/python2.7/site-packages/cyvcf2/cyvcf2.so, 2): Library not loaded: @rpath/libdeflate.so
  Referenced from: /Users/miriam.fanjul/anaconda3/envs/peddybox/lib/libhts.2.dylib
  Reason: image not found

Any help will be greatly appreciated.


If ZMQ messages stop, resync never retries

We rely on ZMQ at the moment to trigger a resync,  but,  we could additionally encourage a poll w/ a time interval.
Otherwise,  if the ZMQ socket goes down,  the indexd node will cease to synchronize at all.
Easily extended... either way,  its at the example/ level,  not part of the module itself,  but I think everyone uses example as the reference implementation at the moment as it is non-trivial.

Will ZMQ automatically reconnect on the same socket if the socket goes away for a while and then becomes available again?
So imagine bitcoind goes away for a minute for a restart.  When bitcoind comes back up, will the ZMQ socket automatically reconnect and see messages?
If not, should we listen for a "disconnected" event emitted from the ZMQ library and periodically try and reconnect?

@deweller yes it would.
That said,  if you are using ~/.bitcoin/.cookie for the RPC AUTH (like I do in example/),  then you probably want to restart indexd for that anyhow.

the new bitcoind has an uptime rpc call, perhaps after issues it could be checked to see if bitcoind went away and we need to reconnect ...

Polling every 1-60 seconds is probably not an issue,  and would be as adequate as any differencing solution.


Describe the dws-workload-manager ClusterRole for the WLM

This requires https://github.com/DataWorkflowServices/dws/pull/194


support for s3 mount on ecs variant of bottle rocket

is the mount point for s3 supported on ecs variant of bottle rocket?
We would like to use it on ECS clusters

I transferred this issue to the main Mountpoint repository since the CSI driver is only for use in Kubernetes clusters. Let us know if that's incorrect.

Closing this issue. Feel free to re-open if needed.


[feat]: Marketplace tab to show only Installed apps

Prerequisites

[X] I have searched for existing issues that already suggest this feature.

Describe the Feature Request
In the Marketplace, I'd like to have a tab that lets me see only the apps that are installed
Describe the Use Case
The ALL list is pretty long, and it would be nice to avoid scrolling through all apps available as the marketplace grows
Describe Preferred Solution
Maybe an INSTALLED tab next to ALL to show only installed apps, or maybe between FEATURED and UPDATES
Describe Alternatives
Making the window really big and scrolling through the the ALL screen
Anything else?

Why do you want to see your installed services in the marketplace? Installed services are listed in the services tab.

Oh, good point. I hadn't thought of that. I guess it just seemed like there's some symmetry in the navigation UI that's lacking. If you've ever used a Synology NAS, they have an installed tab with a separate upgrades section, but that's in addition to the application menu. I can screenshot what I mean, if you like. Feel free to close if this seems unnecessary.

We have plans for the Marketplace ecosystem UX that will obsolete the current UI.


UI: Fixes error when creating volume from the snapshot

Description
This PR fixes error when creating volume from the snapshot

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
BEFORE:

AFTER:

How Has This Been Tested?

@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6443 (SL-JID-1690)


Migrate legacy url json/bulk_invite_users

Moved legacy url to urls.py, changing name to invite/bulk_invite and removing 'json' from function name.

Automated message from Dropbox CLA bot
@amyliu345, it looks like you've already signed the Dropbox CLA. Thanks!

@amyliu345 it looks like you've got static/third/gemoji checked in which is making this appear giant; @rishig can help you clean this up tomorrow (the root cause is that we renamed that directory).

@amyliu345 it looks like this PR got lost but is mostly done; do you want to clean it up or should I find someone else with time to?
@kunall17 FYI since this moves the existing endpoint...

We can probably use these end points for bulk operations wrt muting in the app!

Right, that's the idea of getting rid of the legacy endpoints that can only be accessed from web.

I could probably finish it up depending on what still needs to be done? I'm not sure why the travis frontend test is failing but I haven't looked into it yet!

Just a test flake; let me see if I can just merge this.

Merged, thanks @amyliu345!


'a' tag renders attribute type = null

Version
3.0.0-rc.4
Reproduction link
https://codepen.io/visualjerk/pen/OJMqddd?editors=0010
Steps to reproduce
Return render function from setup() with the following:
setup (_, slots) {
    return () => h('a', { type: null }, 'link')
}

What is expected?
The rendered 'a' tag should not have a type attribute:
link
What is actually happening?
The rendered 'a' tag has a type attribute:
link

Your vue.js version seems to be 3.0.0-alpha.1, because:

I use version 3.0.0-rc.3 work fine.

Indeed, it does :smile:
Thanks for the hint!


With docker-compose zipkin tracing not working

I have used same file as provided.

docker-compose build ( successful)
docker-compose up ( sucessful)

It is running fine and display page and call to api working fine.
Now if I look at localhost:5411. It display zipkin page but no tracing information.
I have one another application if that application I run using cli -  dapr run then tracing working in that case.

I have used same file as provided.

docker-compose build ( successful)
docker-compose up ( sucessful)

It is running fine and display page and call to api working fine.
Now if I look at localhost:5411. It display zipkin page but no tracing information.
I have one another application if that application I run using cli - dapr run then tracing working in that case.

Issue is resolved. Nothing serious issue and it seems that configuration file has commented code. I have enable that part in eshop-config.yaml. It all started working.

@jp1482 Would you mind sharing how you fixed this problem? I am still experiencing this issue when running the application from Visual Studio

Hi @fbridger,
I noticed this sample containerizes everything including your apps and dependencies like zipkin.
on my machine I did a docker ps and found another zipkin instance here and could see the port forwarding from 5411->9411 in the container:
a35787df9f4c   openzipkin/zipkin-slim:latest             "start-zipkin"           4 minutes ago   Up About a minute (healthy)   <IP_ADDRESS>:5411->9411/tcp

which gave me the hint this is the actual URL we want (just using port 5411 instead of typical 9411):
http://localhost:5411/  <-- this is the fix/answer :)
per @devenliu also just make sure that /dapr/configuration/eshop-config.yaml has the last two zipkin lines.  When I pulled from main it was right.
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: config
  namespace: eshop
spec:
  tracing:
    samplingRate: "1"
    zipkin:
      endpointAddress: "http://zipkin:9411/api/v2/spans"


Keyboard shortcuts

Its possible to a feature where we can change the keyboard shortcuts?

Why would you need this?

This is an old issue, that didn't show much activity recently — closing.
If you have any more information to add, let us know.

I'd like to revisit this. I'm using a Mac keyboard on Arch Linux in the KDE desktop environment and I have the rest of my system following idiomatic macOS hotkeys, such as Command+C to copy, or Command+F to find. I've changed these in KDE and the bindings seem to work everywhere other than Ungoogled Chromium. The Edit menu still shows Ctrl+C and Ctrl+F for the key bindings.
I can live without it respecting the system defaults as long as I can manually change Chromium's keyboard shortcuts. Is it possible, at all? I'm aware of the "Shortcuts" extension, but it doesn't allow disabling or overrides of default shortcuts, such as cut/copy/paste.

I use the de-macintosh layout with a Windows keyboard (meaning the Windows key corresponds to Command) also on Arch KDE and it works fine in ungoogled-chromium


No manage.py file

How to run this project? there isn't any manage.py file

If you check PyPi entry for this package, you may notice text in description

Check the associated project Accountant, a concrete integration of the django-accounting application that you can deploy with one click to Heroku.

it has link to another Git repo with Heroku project, that one uses this package as part of it, it has manage.py and you can try to run it locally.


Error in rule collect_taxa_summaries

Thanks for developing and maintaining this tool!
MeSS version
mess, version 0.9.1 compiled from source as of 2024-10-24.
Describe the bug
Ran into the following errors when running mess hmp-template.
Error in rule download_assemblies:
    jobid: 3
    input: data/buccal_mucosa/uniq_entries.tsv
    output: data/buccal_mucosa/assembly_finder/assembly_summary.tsv, data/buccal_mucosa/assembly_finder/sequence_report.tsv, data/buccal_mucosa/assembly_finder/taxonomy.tsv
    log: data/buccal_mucosa/logs/assembly_finder.log (check log file(s) for error details)
    conda-env: /path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_
    shell:

        assembly_finder -i data/buccal_mucosa/uniq_entries.tsv \
        --taxonkit /path/.taxonkit \
        --threads 4 \
        --taxon --limit 1 --api-key ab2b5172ab3d7a4931c59a444fbc1da51008 --compressed True --include genome,seq-report --source all --reference True --annotated False --atypical True --mag all \
        --no-use-conda \
        -o data/buccal_mucosa/assembly_finder 2> data/buccal_mucosa/logs/assembly_finder.log

        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

localrule collect_taxa_summaries:
    input: [# list of all json files e.g. data/buccal_mucosa/assembly_finder/json/587.json]
    output: data/buccal_mucosa/assembly_finder/genome_summaries.json
    jobid: 6
    reason: Missing output files: data/buccal_mucosa/assembly_finder/genome_summaries.json; Input files updated by another job: [# list of all json files e.g. data/buccal_mucosa/assembly_finder/json/1760811.json]
    resources: tmpdir=/tmp

host: [...]
RuleException:
ValueError in file /rds/projects/w/wheelern-wwmgs/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/assembly_finder/workflow/rules/functions.smk, line 13:
If using all scalar values, you must pass an index
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/assembly_finder/workflow/rules/download.smk", line 73, in __rule_collect_taxa_summaries
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/assembly_finder/workflow/rules/functions.smk", line 13, in read_json
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/io/json/_json.py", line 815, in read_json
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1025, in read
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1051, in _get_object_parser
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1187, in parse
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1402, in _parse
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/core/frame.py", line 778, in __init__
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
  File "/path/.snakemake/conda/301ec0f6d2247aeb4ca88d0f25d5e7e8_/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 667, in _extract_index
[Fri Oct  4 13:06:15 2024]
Error in rule collect_taxa_summaries:
    jobid: 0
    input: [# list of all json files e.g. data/buccal_mucosa/assembly_finder/json/587.json]
    output: data/buccal_mucosa/assembly_finder/genome_summaries.json

Minimal example
mess hmp-template --site buccal_mucosa -o outdir --threads 8

Additional context
The process completed 507 of 520 steps (98%) before encountering this error and exiting.

Hello @teojcryan and thank you for using mess !
By default, assembly_finder searches for reference genomes for each taxa, which sometimes, aren't available (taxa with no reference genomes yield empty json files which cause assembly_finder to crash).
A quick solution would be to change your command to:
mess hmp-template --site buccal_mucosa -o outdir --threads 8 --reference False

Alternatively, I replaced taxids with genome accessions, so that downloads are faster and reproducible in this branch.
Can you try to re-install mess from this branch and let me know if it fixed your issue ?

Thanks @farchaab!
I've re-installed mess from the 'hmp-template' branch and the downloads do seem to be a lot faster. However, I'm running into a new but related error which seems to stem from an attempt to convert non-finite values (like NA or inf) to integers during a Pandas astype() operation. Specifically, it's failing on the column 'number_of_contigs', which likely contains NaNs or infinite values, causing the type casting to integers to fail.
localcheckpoint calculate_genome_coverages:
    input: data/buccal_mucosa/replicates.tsv, data/buccal_mucosa/assembly_finder/assembly_summary.tsv
    output: data/buccal_mucosa/coverages.tsv
    jobid: 8
    reason: Missing output files: <TBD>
    resources: tmpdir=/tmp, mem_mb=2000, mem_mib=1908, mem=2000MB, time=00:00:10
DAG of jobs will be updated after completion.

Traceback (most recent call last):
  File "/path/.snakemake/scripts/tmpeh4fbcap.calculate_cov.py", line 185, in <module>
    df = df.astype(
         ^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/generic.py", line 6620, in astype
    res_col = col.astype(dtype=cdt, copy=copy, errors=errors)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/generic.py", line 6643, in astype
    new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/internals/managers.py", line 430, in astype
    return self.apply(
           ^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/internals/managers.py", line 363, in apply
    applied = getattr(b, f)(**kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/internals/blocks.py", line 758, in astype
    new_values = astype_array_safe(values, dtype, copy=copy, errors=errors)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/dtypes/astype.py", line 237, in astype_array_safe
    new_values = astype_array(values, dtype, copy=copy)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/dtypes/astype.py", line 182, in astype_array
    values = _astype_nansafe(values, dtype, copy=copy)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/dtypes/astype.py", line 101, in _astype_nansafe
    return _astype_float_to_int_nansafe(arr, dtype, copy)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/.conda/envs/snakemake/lib/python3.12/site-packages/pandas/core/dtypes/astype.py", line 145, in _astype_float_to_int_nansafe
    raise IntCastingNaNError(
pandas.errors.IntCastingNaNError: Cannot convert non-finite values (NA or inf) to integer: Error while type casting for column 'number_of_contigs'
RuleException:
CalledProcessError in file /path/tools/MeSS/mess/workflow/rules/processing/coverages.smk, line 38:
Command 'set -euo pipefail;  /path/.conda/envs/snakemake/bin/python3.12 /path/.snakemake/scripts/tmpeh4fbcap.calculate_cov.py' returned non-zero exit status 1.
[Tue Oct  8 10:24:17 2024]
Error in rule calculate_genome_coverages:
    jobid: 8
    input: data/buccal_mucosa/replicates.tsv, data/buccal_mucosa/assembly_finder/assembly_summary.tsv
    output: data/buccal_mucosa/coverages.tsv

Also appreciate that you've replaced the taxids with genome accessions - can I check if you've done this for all the hmp-template sites or just the buccal mucosa? Ideally I'd like to be working with the gut site data.

Thanks for testing out the branch @teojcryan !
I am glad that the downloads are faster !
As you said, the bug in the rule calculate_genome_coverages stems from having NaN in the number_of_contigs column. Sometimes, this information is missing from the assembly_summary.tsv table.
Since this column is not useful for read simulation, I removed the column with this commit e9ab8698f474b66a9eaa5984ae2031872c824572.
Let me know if this solved your issue !

Thanks for the quick response @farchaab, appreciate it.
The commit has resolved the issue with the number_of_contigs column but now the same issue is coming up with the total_sequence_length column - I'm guessing the fix would be similar!
pandas.errors.IntCastingNaNError: Cannot convert non-finite values (NA or inf) to integer: Error while type casting for column 'total_sequence_length'

Huh, that should not happen !
total_sequence_length is actually used for the coverage calculation, and should not be empty.
Can you have a look at assembly_summary.tsv and see which rows contain NAs ?
Also is this for the buccal_mucosa samples or the gut ?
Can you try to remove the output directory and re-run the pipeline ?

I've cleared the output directory and re-ran the pipeline on both buccal_mucosa and gut samples separately, but still ran into the same error on total_sequence_length. I've also inspected both assembly_summary.tsv files and can't find any rows that contain NAs.

Hello @teojcryan, I see that you use mess with conda, I will try to reproduce the error by deploying environments via conda.
In the meantime,  you can try the command below, which ran without issues for me (mess installed from the hmp-template branch, requires apptainer):
mess hmp-template --site buccal_mucosa --threads 8 --sdm apptainer

Thanks @farchaab! I completed the run successfully using apptainer.


problem with django-querysetsequence

Hi All!
In django-querysetsequence 0.7, something changed and QuerySetSequenceModelField raises invalid choice error always. Dirty fix is revert querysetsequence's version to 0.6..

Hi, just to confirm the issue when implementing DAL for a generic foreign key. The message "invalid choice error" is raised when trying to save the model object with the generic key auto-complete from the admin form. I also confirm that downgrading the django-querysetsequence package from version 0.7 to 0.6 fixed the issue.


Error unexpected keyword argument 'workers'

model.fit(     train_data_provider,     validation_data=val_data_provider,     epochs=configs.train_epochs,     callbacks=[earlystopper, checkpoint, trainLogger, reduceLROnPlat, tb_callback, model2onnx],     workers=configs.train_workers )
as soon as i try to fit the model i got the following Error:
File "/Users/abc/Python/mltu/Tutorials/02_captcha_to_text/train_model_with_new_data.py", line 121, in
model.fit(
File "/Users/abc/Python/myenv/lib/python3.12/site-packages/keras/src/utils/traceback_utils.py", line 122, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/Users/abc/Python/myenv/lib/python3.12/site-packages/keras/src/utils/traceback_utils.py", line 117, in error_handler
return fn(*args, **kwargs)
^^^^^^^^^^^^^
TypeError: TensorFlowTrainer.fit() got an unexpected keyword argument 'workers'

Removing workers=configs.train_workers worked for me since tf (2.18) model.fit() does not support worker param.
Ref: https://www.tensorflow.org/api_docs/python/tf/keras/Model#fit


Alarm activates and deactivates automatically

I installed alarm and have set it up as I wanted. But sometimes the system armes itself and triggers without any one of us arming the system before.
Very annoying when all of a sudden the sirens go off at home.

I have the exact same thing ?

That sounds pretty bad!
Could you guys check the log for details?
Or did you find some pattern when this happens?
(Ofcourse) I didn’t see this behavior myself, and I don’t know where to look for it..

Please update to v1.2.0, because I changed / improved some things that may have an effect on this bug.
Also consider to enable debug logging for alarmo, by adding to configuration.yaml:
logger:
  default: warning
  logs:
    custom_components.alarmo: debug

Closing due to no response.


Update about-self-hosted-runners.md

Why:
Consolidates the network access requirements for job summaries/logs and artifacts/cache.
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.

cc: @yacaovsnc

Па


Add gpu support

What's changing
Add support for both the text-to-text and the text-to-speech model to be loaded on the GPU.
How to test it
Steps to test the changes:

Run the demo
Check with nvidia-smi that your GPU has loaded the models

Additional notes for reviewers
This became more difficult than I expected because the two different frameworks of the models need to have support for the same cuda toolkit. Support for the text-to-speech is complete and was easy. Support for the text-to-text has proven quite difficult.
Some rough benchmarks:
Setup: Count time from the moment you upload the document until the first audio sample of speaker 1 is generated (includes loading both models and running inference once with both models). The .html file in example_data was used. GPU: RTX 2060
CPU: text-to-text & text-to-speech -> 2min, 41sec
CPU: text-to-text  GPU: text-to-speech -> 1min, 27 sec (!)
I already...

[ ] Tested the changes in a working environment to ensure they work as expected
[ ] Added some tests for any new functionality
[ ] Updated the documentation (both comments in code and under /docs)

Closing in favor of https://github.com/mozilla-ai/document-to-podcast/pull/75


.Net Core Sample with Connectiong String source control warning

Hi the .net core sample makes the following statement with a reference to this document.
"    #warning To protect potentially sensitive information in your connection string, you should move it out of source code.
See http://go.microsoft.com/fwlink/?LinkId=723263 for guidance on storing connection strings.
optionsBuilder.UseSqlServer("Server=servername");"
The document above makes the following statement
"ASP.NET Core
In ASP.NET Core the configuration system is very flexible, and the connection string could be stored in appsettings.json, an environment variable, the user secret store, or another configuration source. See the Configuration section of the ASP.NET Core documentation for more details. The following example shows the connection string stored in appsettings.json."
Are the issues relating to source code control referenced in this document? Should appsettings.json be ignored, or include a file that is ignored?

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

ID: de9db02d-7310-1141-6aeb-539c02326a36
Version Independent ID: 90062036-aa01-3f73-dac9-b4a092245721
Content: Connection Strings - EF Core
Content Source: entity-framework/core/miscellaneous/connection-strings.md
Product: entity-framework
GitHub Login: @rowanmiller
Microsoft Alias: divega

I’m assuming they’re referencing this bit:

See the Configuration section of the ASP.NET Core documentation for more details.

That page then references Safe storage of app secrets in development in ASP.NET Core, which I think explains what you’re looking for.


Modify the meaning of variables more clearly

What changes are proposed in this pull request?
Modify the meaning of variables more clearly
Why are the changes needed?
Modify the meaning of variables more clearly
Does this PR introduce any user facing changes?
no

The checkstyle error: go<EMAIL_ADDRESS>unrecognized import path "gopkg.in/yaml.v3" (parse https://gopkg.in/yaml.v3?go-get=1: no go-import meta tags ())
go: error loading module requireme
I think it is not caused by my code.

alluxio-bot,merge this please


Remove decimal from <player.flag[flag_name]>

Here is the script im trying to run, http://jpst.it/xXdI it works, just a slight annoyance is that when it returns the flag amount it returns it as a decimal and not a whole number. Is there any way to make this a whole number?

.as_int at the end of the tag.

Sweet, thanks!
I figured it was something simple, just couldn't seem to find what it was.


instantiate empty sub messages. There is a difference between null an…

There is a difference between a null value and en empty Message.
Not creating empty messages safes time during decoding but is payed with inconsistency.
I did roundtrip tests by encoding a message and decoding it into a new message and comparing them. Think about empty strings which will also be decoded 'correct'.

Sorry for the delay.   Github does a horrible job telling me there are PRs.      What problem is this solving?   Makes me really wish the original authors had some unit tests.

If a message has a sub message and it is not set (stays null), no data is send and it is recoded as null value of course. But if you add an empty message, some bytes are sent but current reader does not instantiate that empty message and leaves it null. This is not a big thing, but it is not the same.


use driveId instead or itemId as first argument in API calls

in these API calls we actually need the driveId not the itemId as the first argument see https://owncloud.dev/libre-graph-api/#/drives.permissions/Invite
So forwarding the driveId from the drive class down to the resource and using it there

CC @fschade


JSON::ParserError when draft_destroying a widget which was just created

Hey Chris,
It's been a (very) long time, but I'm finally looping back around to putting drafts into our application.  Today I ran across an issue, and I have a 100% reproducible case.
I created a simple app with the Postgres JSON data type (and used the install switch to enable it for drafts).  The app has a single table and model, Widget, and I added drafts to this table.

For example, in the console, I can do the following to reproduce:
w = Widget.new(some_attr: "hello")
w.draft_creation

At this point, I can see the Widget and draft, and all looks good.  Running w.draft_destroy will result in:
JSON::ParserError: 795: unexpected token at '---
id: 1
item_type: Widget
item_id: 1
event: create
whodunnit:
object:
  id: 1
  some_attr: hi
  created_at: '2015-03-23T22:42:15.628Z'
  updated_at: '2015-03-23T22:42:15.628Z'
  draft_id:
  published_at:
  trashed_at:
previous_draft:
created_at: 2015-03-23 22:42:15.651663000 Z
updated_at: 2015-03-23 22:42:15.651663000 Z
'

I'm not sure if we're supposed to handle draft deletion differently for non-published content.  If so, I can just change what I'm doing.
Let me know if you need more info!
Thanks!
Nick

I think I traced this issue, and might have a potential fix.  If you think this is the right fix, I'm happy to submit a PR.
In the draft_destroy method, the previous_draft is set, but the attributes are always serialized (even if they're JSON).  See https://github.com/liveeditor/draftsman/blob/master/lib/draftsman/model.rb#L234
I would propose changing the conditional to:
            if self.draft?
              attrs = send(self.class.draft_association_name).attributes
              data[:previous_draft] = self.class.draft_class.object_col_is_json? ? attrs : Draftsman.serializer.dump(attrs)
            end

I believe this fixes the issues that I've been seeing.  Does that seem about right to you?

I think I traced this issue, and might have a potential fix.  If you think this is the right fix, I'm happy to submit a PR.
In the draft_destroy method, the previous_draft is set, but the attributes are always serialized (even if they're JSON).  See https://github.com/liveeditor/draftsman/blob/master/lib/draftsman/model.rb#L234
I would propose changing the conditional to:
            if self.draft?
              attrs = send(self.class.draft_association_name).attributes
              data[:previous_draft] = self.class.draft_class.object_col_is_json? ? attrs : Draftsman.serializer.dump(attrs)
            end

I believe this fixes the issues that I've been seeing.  Does that seem about right to you?

Can you try the latest from master and let me know if that fixes it?
Thanks for pinpointing it. I ended up creating a previous_draft_col_is_json? class method on Draftsman::Draft just to make sure it always does the right thing.
Oh, I like what you did with the attrs local variable, so I'll commit that in now too.
Thanks again. Made it much easier for me to fix!

Yep, this works as well.  Thanks for putting in the fix!


feat(cli): move platform login and logout under auth command

This PR moves platform login and logout under the auth command

Looks good, make sure you update the docs at https://pris.ly/platform-cli-docs

I'll take care of this 👍


FieldTracker failing with Django 1.10

I know you're already aware the dj110 tests don't pass, but thought I'd leave an open ticket for this, with (hopefully relevant) info I've come across.
I might also have a go at tackling this over the weekend, but no promises. ;)
So my issue since upgrading to dj110 and updating to model-utils 2.5.1:
Creating a model instance via a DjangoModelFactory (in my case using factory-boy), causes the initialised fields to come up on the FieldTracker as having changed in successive saves. DjangoModelFactory() calls the model's .save() method up to three times in some cases, so with this bug, a post_save handler will think the field has changed numerous times and will register fields as having changed multiple times, instead of not mentioning anything since the fields were set on init. This appears to happen both with FK fields and regular ones, so no discrimination there. factory-boy hasn't changed recently, so I suspect the problem lies with model-utils' FieldTracker, but I might be wrong.

So after a bit of digging, it seems dj110 is marking all model fields as deferred by default..
ie instance._deferred_fields seems to now contain a list of all the model fields when in the past it was just [].
Will keep digging.

Any chance of a new release with this fixed?
Thanks


Coinmaster coins not spendable

I was attempting to aggregate all my coins into one large UTXO I had 250 odd utxo and 12000 coins, i merged most  of them but 12 hours later ony 4k are spendable and the rest are trapped in the netherworld.

please advise
I flushed mempool but that didnt help.
logs here
coinblaster.docx

This is not a new bug, it seems as if coins are unable to be spent after
you try to stuff them all in a txpow and they get rejected due to the fact
the transaction is too big for all the signatures then they become
unspendable.  Think Paddy had a look at that & fixed it?
On Tue, 25 May 2021 at 10:15 AM, eurobuddha @.***>
wrote:

Assigned #232 https://github.com/minima-global/Minima/issues/232 to
@eliasnemr https://github.com/eliasnemr.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/minima-global/Minima/issues/232#event-4790609227, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIBLNWJEYWBA25WBMXKHPXTTPNFCNANCNFSM45OVTN7A
.

ok glad to have broken here again.
my position still remains all this aggregation should be automatic as needed from wallet request.
Coinmaster should be more for splitting larger UTxOs

fixed in 98.26


How to get the initial displacement field?

Thanks for your attention! I am confused about the initial displacement field.
In the Figure 5 of your paper, the "center" image is an initial displacement field. What is meaning of different colors about it? And how we get it? Does it has any relationship with the CAM of the corresponding image?
Looking forward to your reply.

Also, can you explain "why the background is from white to violet" in the fig.5 of your paper.


Better bazel C++ iOS tests (with structured test results)

Based on https://github.com/grpc/grpc/pull/29353 (ignore the first few commits).

cleanup and modernize the bazel_cpp_ios tests (use a single bazel invocation, produce test results in resultstore)
use bazel_report_helper.py for the cpp ios tests.
remove the unused bazel_core_ios tests (the test configs and script currently exist but they are not run at all by kokoro).

CC @lidizheng

Bazel C++ iOS bazel report: https://source.cloud.google.com/results/invocations/303bc042-6e79-4ea4-9d3f-233aac2995f0/targets (from adhoc test run).

Known failures:

Distribution Tests PHP MacOS failure is clearly unrelated.


fix: fix hcrc typings ts

Description
Issues
Closes
DEV-XXX:
Related
Testing
Automated tests
Manual testing
Screenshots
Additional notes

VENUE GRAPHQL PROXY is deployed to platta: https://venue-graphql-proxy-pr319.dev.hel.ninja :rocket::rocket::rocket:

EVENTS GRAPHQL PROXY is deployed to platta: https://events-graphql-proxy-pr319.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr319.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr319.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://harrastukset-pr319.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://tapahtumat-pr319.dev.hel.ninja :laughing::tada::tada::tada:

VENUE GRAPHQL PROXY is deployed to platta: https://venue-graphql-proxy-pr319.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr319.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://liikunta-pr319.dev.hel.ninja :laughing::tada::tada::tada:


Add filter to remove unused bootstrap components

I love this plugin and use it on almost all of the sites I work with.
For smaller sites, I often exclude certain bootstrap components (eg. popover, tooltip) if I don't think I or my clients will use them throughout the site. It would be great if there were a filter to remove components as the developer needs.
I was thinking of jumping into the code and seeing what I could do to make that happen but figured I'd start a discussion first. Thoughts?

I just came here looking to see if this existed; it would be a fantastic feature. There are some feature sets that we do not want our content editors to use, and this would let us prevent access to those.

This would be a great addition. Removing the shortcodes isn't too tricky, but the pop up documentation that users will most likely be using to insert the shortcodes is built in an HTML file and is more awkward.


How to retrieve an item from a table, then pass it to be the numberOfItemsInSection (AWS DynamoDB Swift 4)?

I'm trying to retrieve an item from a table (TheUserIds2018) of Amazon DynamoDB, and I would like to pass the item to be the numberOfItemsInSection of the UICollectionViewCell, here is the table TheUserIds2018 looks like:

Here are the codes:
override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(true)

    let dynamoDbObjectMapper = AWSDynamoDBObjectMapper.default()
        dynamoDbObjectMapper.load(TheUserIds2018.self, hashKey: "TheUserIds2018", rangeKey: nil, completionHandler: { (objectModel: AWSDynamoDBObjectModel?, error: Error?) -> Void in
            if let error = error {
                print("Amazon DynamoDB Read Error: \(error)")
                return
            }

            DispatchQueue.main.async {
                if let count = objectModel?.dictionaryValue["_articleCounters"] {
                    self.counters = count as! Int
                }
            }
        })

}

 override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
            return self.counters
}

But there is no collectionViewCell displaying in the screen when I build and run the app, it's blank:

I know the reason is that the collectionViewCell launches before than viewWillAppear. So I tried the following way, but sometimes it will crash (with the error: Thread 1: Fatal error: Index out of range):
 override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(true)

        let dynamoDbObjectMapper = AWSDynamoDBObjectMapper.default()
        dynamoDbObjectMapper.load(TheUserIds2018.self, hashKey: "TheUserIds2018", rangeKey: nil, completionHandler: { (objectModel: AWSDynamoDBObjectModel?, error: Error?) -> Void in
            if let error = error {
                print("Amazon DynamoDB Read Error: \(error)")
                return
            }

            DispatchQueue.main.async {
                if let count = objectModel?.dictionaryValue["_articleCounters"] {
                    print("Count: \(count)")
                    self.counters = count as! Int
                    self.collectionView?.reloadData()
                }
            }
        })

    }

    override func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
        if self.counters > 10 {
             updateItems()
            return self.counters
            self.collectionView?.reloadData()
        }
        else  {
            getItems()
            return 10
            self.collectionView?.reloadData()
        }
    }

func getItems() {
        let dynamoDbObjectMapper = AWSDynamoDBObjectMapper.default()
        var tasksList = Array<AWSTask<AnyObject>>()
        for i in 1...10 {
            tasksList.append(dynamoDbObjectMapper.load(RecommendArticles.self, hashKey: "userId" + String(11 - i), rangeKey: nil))
        }

        AWSTask<AnyObject>.init(forCompletionOfAllTasksWithResults: tasksList).continueWith { (task) -> Any? in
            if let cards = task.result as? [RecommendArticles] {
                    self.card = cards
                    print("cards counter: \(cards.count)")

            } else if let error = task.error {
                print(error.localizedDescription)
            }

            return nil

        }

    }

    func updateItems() {
        let dynamoDbObjectMapper = AWSDynamoDBObjectMapper.default()
        var tasksList = Array<AWSTask<AnyObject>>()
            for i in 1...self.counters {
                tasksList.append(dynamoDbObjectMapper.load(RecommendArticles.self, hashKey: "userId" + String(self.counters + 1 - i), rangeKey: nil))
            }
            AWSTask<AnyObject>.init(forCompletionOfAllTasksWithResults: tasksList).continueWith { (task) -> Any? in
                if let cards = task.result as? [RecommendArticles] {
                        self.card = cards
                        print("Real cards counter: \(cards.count)")

                } else if let error = task.error {
                    print(error.localizedDescription)
                }

                return nil

            }

    }

 override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {

        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: verticalCellId, for: indexPath) as! VerticalCellId

        if let link = self.card?[indexPath.item]._imageURL {
            let url = URL(string: link)
            cell.photoImageView.kf.setImage(with: url)

        }

    }

PS: There are two different tables in my AWS DynamoDB: TheUserIds2018 and RecommendArticles. Here is what the RecommendArticles looks like:

Any other way to retrieve the item from the table (TheUserIds2018), and then pass it to be the numberOfItemsInSection? Thanks.

Hello,
You would have to call the reloadData method of the UITableViewController to refresh the data in the table and view controller. You can find the documentation on reloadData here.
Some general best practices would be:

Have a var array on view controller level to store all the items retrieved from dynamoDB(initialize to an empty list)
Use list.size for the items in section
Once you load the items from dynamodb, put them in the above list and call reloadData

Thanks,
Rohan

@rohandubal Thanks, man. After adding self.collectionView?.reloadDate() to main thread, it works well in most cases, but it sometimes crashes if try to scroll down immediately after the app launches, especially when in a bad internet connection. Same error: Thread 1: Fatal error: Index out of range. Here is the card I set up in the UICollectionViewController:
class RecentsViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout, SFSafariViewControllerDelegate {

var card: [RecommendArticles]?
var counters: Int = 0

}

Any ideas you can share with me? Thanks.

Never mind, I just figured it out with the help of StackOverflow. Please take a look at this thread, if anyone else has the same issue.


Update bru-language-tag-reference.md

Corrected the method name mentioned for the post API section. Changed it from 'get' to 'post'.

Thanks for this @dineshb-qa


preload informations of api (Vm types, Image vm, Subregion)

It as  been increasing the loading time when connecting? maybe we can move it to background?


Paragraph under individual Profile is not centered and have no max-width

Make Paragraph under profile centered and set max-width to it .

Please consider PR #209  while making changes

We could move the changes in #209 to a style and use it for the description too 👍

Is this issue still open?

This issue is solved


Canvas not marked as closed when its parent Surface is collected

While both Canvas and Surface implement AutoCloseable, when the GC hits, the Canvas is freed by its parent Surface (in the native lib) without marking the Canvas as closed. This causes a crash when doing anything with the orphaned Canvas object. It's most noticeable when resizing the window, since the whole thing gets thrown away (surface.close(); renderTarget.close()... unless I'm doing it wrong lol).
I believe when calling getCanvas() in Surface, the resulting Java object should be stored (cached) in the Surface object and returned with every subsequent call, and of course explicitly closed on cleanup.
https://github.com/HumbleUI/Skija/blob/a63330f37f24d57b457e625d861b121689c8d182/shared/java/Surface.java#L661-L669
and possibly the opposite in Canvas where it should return its parent Surface (same as _owner).
https://github.com/HumbleUI/Skija/blob/a63330f37f24d57b457e625d861b121689c8d182/shared/java/Canvas.java#L91-L99

This will also cause an exception, because closing canvas from surface or any other way will set its ptr to 0 and you won’t be able to use it.
Are you saying that this is still preferable?

I'd say that yes, that would be better, because there will be only one Canvas Java object for each Surface (more efficient -- memory, less native calls), and if it's freed by the parent Surface being collected, isClosed() will properly reflect that, instead of the current situation where only the parent Managed object reports "closed".
So all in all, more straightforward, efficient and obvious (_ptr set to 0 instead of some weird undefined behaviour with a dangling pointer).

Implemented, I’ll a release soon


[doom-material-dark] A couple of tweaks

Heya,
Sorry about the messy looking pull...I somehow diverged from you (I think?) Either way I've merged your changes in before submitting.
These are small changes to my original contribution. I'm not sure when or how frequently I should submit these, but I figured I would since it was top-of-mind in the moment.

Make the TODO face less clashy.
The original TODO face didn't look all that great when combined with the colors of level 1/2 headers. Since they're pretty common headers, I changed it.

I updated the ido/icomplete match colors. Since switching away from Ivy, I realized that the faces for the built-in ido/icomplete interface were not helpful at all. Green with an underline is much better.

Nit-picky - removed the dangling comments in my theme code

Have a great day

There was a lot of redundant (and non-linear) history in this PR (that also didn't conform to our git conventions), so I've merged them manually in ce38f7c and f55e32c. Thanks for bringing it to my attention!

Thanks @hlissner! I'll be sure to check those conventions later.
I'll undoubtedly have more to pull later. Should I just make a fresh fork?


TypeScript error: function parameters don't support more than on type

Hi,
I have the following helper function that I use to set a value on an entity:
export const setTicket = (entity: Account | Delegation, ticket: Address): void => {
  // If just created set ticket field
  if (entity.ticket == null) {
    entity.ticket = ticket.toHexString();
  }
};

When running tests, I get the following error:
ERROR TS1005: 'null' expected.

 export const setTicketOnDelegation = (entity: Account | Delegation, ticket: Address): void => {

So instead of the Delegation type, it expects null and I can't have more than one type for the entity parameter.
Is there any way to avoid this error? Would be great to not have to create a function per entity.

You can try using a generic type:
export function setTicket<T>(entity: T, ticket: Address): void {
  // If just created set ticket field
  if (entity.ticket == null) {
    entity.ticket = ticket.toHexString();
  }
};

You can try using a generic type:
export function setTicket<T>(entity: T, ticket: Address): void {
  // If just created set ticket field
  if (entity.ticket == null) {
    entity.ticket = ticket.toHexString();
  }
};

Ah yes it works, thank you!


Implement Linode detail settings Advanced tab skeleton

Drop boot settings
Add warning

Suggested UI improvement:

Remove ‘…settings’, from sub-menu as its redundant. You are already at ‘Settings’ menu tab
Selected sub-menu tab should be Blue+Bold to keep consistency in UI. When you select an option its Blue vs not selected its Gray.
Remove ‘Advanced title’,  its redundant
‘WARNING’ message - requires a tooltip to explain what are usability optimizations, what is done automatically before these changes, is there are list of optimizations (which will be skipped), etc.
‘Profiles’ and ‘Disks’ sub-headings are virtual machine profiles, yes? calling this section ‘VM Profiles’ helps understand what this is used for.
To each Add button include ‘VM’ to each button - + Add a VM profile / + Add a VM Disk

1 3 4 :+1:
2 5 6 :-1:


New PR to test SignCLA at 2021-09-16 11:27:36.918119801 -0700 PDT m=+3.447670673

Body of PR

corp-pass-fork-staging: test succeeded


how to publish results from forked PRs?

There is some discussion, but no clear answer.

You can't directly as this is a security issue (no tokens are exposed to fork PRs, meaning that you can't configure a token which would allow for posting it)
Please refer to the security articles by github.
There's nothing this action can do to work around this.


Bittrex SignalR websocket does not resubscribe after disconnect

I was noticing that my Bittrex order book gets way out of date after a while. When debugging I found that if I simulate a disconnect via fiddler or cports I see the socket reconnect but nothing is subscribed anymore. I believe this is the bug. (FWIW, I've also been seeing Binance order book information out of date though I'm less sure of the cause.)
Before reconnect:

After reconnect:

I was attempting to fix this bug, but I can't get any of my events to fire on reconnect. I get no "Reconnecting" or "StateChanged" event when it magically reconnects the socket, otherwise I'd be able to reissue the subscribe messages.

I tested this a while back. Simply disable the network adapter wait 5-10 secs and plug it back in. Let me know what that does for you.

I am able to disconnect and reconnect with Binance, no problem using the console app.
ags: websocket-tickers exchangeName=Binance

What happens in bittrex? I don't think binance uses signalr
On Tue, Jul 17, 2018, 11:30 Jeff Johnson<EMAIL_ADDRESS>wrote:

I am able to disconnect and reconnect with Binance, no problem using the
console app.
ags: websocket-tickers exchangeName=Binance
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/210#issuecomment-405682562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI8DiRCsTKQQbshzonb9t9LyLdriskcIks5uHi1JgaJpZM4VSKR8
.

I've checked in a possible fix. Let me know how it works for you.

I'll try this when I get home. However yesterday it wasn't even hitting the
LostConnection code path for me on disconnect. I had a breakpoint there as
well
On Tue, Jul 17, 2018, 12:14 Jeff Johnson<EMAIL_ADDRESS>wrote:

I've checked in a possible fix. Let me know how it works for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/210#issuecomment-405696193,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI8DiftN5iPRGa0FifvYZlW2evlQI5Ryks5uHjebgaJpZM4VSKR8
.

I tried this out and pulling the network cable definitely works differently
than killing the TCP connection in Fiddler. Did you use another project as
a guide for creating this signalr implementation? I was looking at the
official signalr docs and they handle things rather differently. When
pulling the network cable, things reconnect and resubscribe as expected.
https://docs.microsoft.com/en-us/aspnet/signalr/overview/guide-to-the-api/handling-connection-lifetime-events
I added a property on the order book to track when it was last updated to
try and see where things are getting out of date or if your change solved
it. I'll report back. Thanks for looking into this!
On Tue, Jul 17, 2018 at 4:13 PM Jeff Johnson<EMAIL_ADDRESS>wrote:

Closed #210 https://github.com/jjxtra/ExchangeSharp/issues/210.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/210#event-1738914593, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AI8DiYBxDve4RhtHEezCSItsIm5j-Y-Hks5uHm-NgaJpZM4VSKR8
.

I didn't use any other guides. I did notice that things did not automatically connect, and nothing got in the right state again unless I tore literally everything down and recreated it from scratch upon a disconnect.

Checked in some more fixes this morning for short disconnect periods.

Seems there is still some problem with Bittrex signalr. If the connection is dead but it still seems  connected, no reconnection is performed. Is the KeepAlive property not working?

I notice the Bittrex signalR connection is dead every 10 minutes. A few days ago I remember it was every 5 minutes.

I don't have bandwidth to look into it, you are welcome to do so if you have time.

Sorry. It turns out to be my fault. The story is a little bit long. As you know, ExchangeMarketSymbolToCurrenciesAsync() is now async. But it is really hard to change a bunch of sync code to async. Because whole call paths have to be changed. So I made a cache of symbol meta data and wrote my own translator. Once the cache is available, the translator can find out the symbol and take the base and quote currency from it. It all works fine at the start. But I forget that the cache has a TTL of 10 mins. That is why after 10 mins there would not be any more callbacks. It fails to translate symbols.

Just a heads up that this and many other methods are cached by default. So writing your own cache layer is not needed.


Fix betterC unittest of SumType for issue 20150

Fix for https://github.com/dlang/dmd/pull/12010#issuecomment-877849728

Currently, these attributes are inferred, which means that if value's copy constructor escapes a reference to its argument, value can be inferred as non-scope. Adding an explicit scope annotation here would cause valid code to be rejected; for example:
// Types with non-scope copy constructors
@safe unittest
{
    static int* globalPtr;
    static int globalInt;

    static struct S
    {
        @safe:
        int* p;
        this(int* p) { this.p = p; }
        this(ref S other)
        {
            globalPtr = other.p;
            this.p = other.p;
        }
    }

    auto s = S(&globalInt);
    SumType!S x = s;
}

This currently compiles with -preview=dip1000, but would not compile with these changes applied.
I think the correct approach here is to first remove the workaround for issue 21229 (which has since been fixed), since that's what's currently preventing value from being inferred as scope. Hopefully, once that's done, no explicit annotation will be necessary.

I think the correct approach here is to first remove the workaround for issue 21229 (which has since been fixed)

Where do I find this workaround?
Also, do you mind if I change the unittest to use a global (non-scope) array in the meantime? The test is called 'const SumTypes', having scope inferred on the constructors doesn't look integral to the test.

Where do I find this workaround?

Oops, looks like I forgot to add the comment marking it in the Phobos version. It's the whole mixin("Storage newStorage = { " bit in the constructors. I can fix it myself in a separate PR if that would be easier.

Also, do you mind if I change the unittest to use a global (non-scope) array in the meantime? The test is called 'const SumTypes', having scope inferred on the constructors doesn't look integral to the test.

Sure, that's fine. Or leave it as a heap-allocated array and version it out in BetterC.

Turns out the constructor workaround is still required because the fix for issue 21229 was incomplete, leaving behind issue 22118. So, no scope for SumType just yet.


[kubevirt] Fix KubeVirtNodesLiveMigratable condition for NodePools with 0 replicas

In cases where the NodePool has 0 replicas and there are no KubevirtMachines registered with the nodepool, the condition of KubeVirtNodesLiveMigratable should not be set at all (whether true or false).
This is done in order to fix the failure in the TestNodePool e2e, in which the HostedCluster conditions are being verified on a 0-replicas NodePool.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

hi @davidvossel ,
I've confirmed with my AWS cluster that this PR fixes the conditions issue in TestNodePool suite we're seeing at the e2e-kubevirt-aws-ovn periodics.

/cherry-pick release-4.17


Login & authentication rework, part 1: credentials management and URL parsing

This is a breakout of #3249 and first part of fixing our credentials management / login issues.
The focus is this PR is solely:

providing a CredentialsStore abstraction that takes care of any magic / legacy identifiers
handling all registry url parsing & scheme / url monkeying in one place (RegistryURL)

This does:

fix #3245 and a number of other oddities (now enshrined in tests)
significantly increase testing (+~1000 lines is just tests), both unit testing for CredentialsStore and RegistryURL parsing, and integration testing, which should hopefully give us a much firmer understanding of what is supposed to happen when
reduce code duplication
greatly simplify handling of registry urls
allows fixing further login issues as a follow-up, on better grounds
allows for future implementation of namespaced hosts login

What this does NOT:

does not try to solve #3265 (that will come later)
does not do anything for hosts.toml resolution (ditto)
does not add Harbor testing (ditto)

@fahedouch @AkihiroSuda PTAL at your convenience

Conflict is likely trivial. Will rebase after review, in case there are any comments or concerns to address.

@AkihiroSuda we have regular network related failures on Ubuntu 20.04 / v1.6.
Symptom being no route to host:
time="2024-08-15T17:33:19Z" level=error msg="failed to call tryLoginWithRegHost" error="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: Post \"[http://<IP_ADDRESS>:5000/auth\](http://<IP_ADDRESS>:5000/auth/)": dial tcp <IP_ADDRESS>:5000: connect: no route to host" i=0
        time="2024-08-15T17:33:19Z" level=fatal msg="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: Post \"[http://<IP_ADDRESS>:5000/auth\](http://<IP_ADDRESS>:5000/auth/)": dial tcp <IP_ADDRESS>:5000: connect: no route to host"

We could retry on login for that condition - but I am more interested in fixing the root issue.
Do you think this is something in rootlesskit or bypass4netns?

Do you think this is something in rootlesskit or bypass4netns?

No, this seems rootful
https://github.com/containerd/nerdctl/actions/runs/10407628383/job/28823319574?pr=3293

Do you think this is something in rootlesskit or bypass4netns?

No, this seems rootful https://github.com/containerd/nerdctl/actions/runs/10407628383/job/28823319574?pr=3293

Yes, you are right.
So, I guess when under pressure (starting / stopping many containers), networking is breaking down or is slow to converge?

Left some early comments. Still have some changes left to be reviewed. thanks

Thanks a lot @djdongjin
Really appreciate the review.
I answered you in the comments - addressed some with the latest push - provided clarification on others - so, let me know in there how you feel, and I will look for further comments from you when you will be done reviewing.

Failure are unrelated:

ComposeUp random fail
networking fluke: dial tcp <IP_ADDRESS>:5000: connect: no route to host" i=0
docker inability to pull an image (might be for the same reason as ^)

I probably need more time to review some of the changes, as it's a bit difficut to identify which are logic changes, and which are refactors/code relocation/etc.

That is fine.
I do appreciate my latest PRs are more sizable - and certainly understand reviewing these things is significant work - really grateful for that @djdongjin.

Also some suggestions on reducing PR size:

Add UTs first in a separate PR or commit if UT itself has a lot of changes. If you're trying to fix something and the UT helps reproduce it, you can add and skip that UT (or just add it in a later PR).
Do refactor or move code around in a separate PR: it's difficult to identify a small change if it's mixed with a refactor.
You can use tools like https://github.com/modularml/stack-pr to make small PRs and make a big change incrementally.

Will definitely look into stack-pr - great tips, thanks.
Let me see if I can massage my two other "big-ish" PRs into something more amenable to review.
Meanwhile, we can just stay focused on this one - and also #3362 would be nice to get if you have a minute <- it is a small one! Pinky swear! :-)

Latest CI fail is the usual TestIPFSComposeUp - this one fails more often that it succeeds.
Unfortunately, I couldn't figure out so far (#3305) - it is a massive PITA.
Anyone familiar with IPFS around?

IPFS

cc @ktock

@AkihiroSuda could you poke the CI for the flaky IPFS 20.04/1.6 run?

Rebased. Pending green CI.

Rebased.
Debug statement removed.
Pending CI.


complete scipy.stats

resolves #103

quick update: the Untyped count is now 356 (and was 548)

currently "only" scipy.stats._mstats_basic remains, which uses Untyped 178 times

typing scipy.stats.mstats sucked...


Add the ability to change dropdown width

Changing dropdown size only using css was not easily achievable since vti__dropdown-list was placed inside vti__dropdown making width: 100% not working properly.
I figured out adding a "dropdown width" option would be a much easier and cleaner solution.
Is that okay with you?

@DucNg Thanks for your help! it's available in v5.9.0

Thank you so much!

For anyone upgrading: this PR is a breaking change if you have the dropdown-options prop already defined.
The default width value is only used if the prop is not defined. So, the dropdown width may break.


How to create multiple serial links at the same time

Hi，How to create multiple serial links at the same time，

Second!
I need to listen to multiple serial devices at the same time


initial date binding does not display

Xamarin Forms: <IP_ADDRESS>
If there is a date when initially coming to the page the control will not show the date even though a date is bound to the control.
I can choose a new date and save, or even save with the initially bound date, that works fine but it will not show the initially bound date.

Same here Xamarin Forms: <IP_ADDRESS>9999, difficult to fix,
Ffor example in Android NulleableDatePickerRenderer class, OnElementPropertyChanged method (M#1) never receive a PropertyName value "NulleableDate" and OnElementChange method (M#2 who set the bound value) is called before M#1 making impossible to set the bound value IF were received in M#1.
The binding property used is NulleableDate, the DateTimeToStringConverter (IValueConverter) Convert method (M#3) receive null as binding value for every NullableDatePicker control of the form and is called before M#1 and M#2 methods, this is the control declaration:
<customControls:NullableDatePicker
MaximumDate="{x:Static system:DateTime.Today}"
NullableDate="{Binding PersonaModel.per_fecha_nacimiento, Converter={StaticResource DateTimeToStringConverter}}"
Format="{StaticResource FormatoFecha}"/>
Very nice solution but useless without binding, any suggestions to fix this problem?


⚠ Fortnite has degraded performance

In 4b76d49, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1682 ms

Resolved: Fortnite performance has improved in 37dd78f.


Line unfolding support not general enough

First thank you for the lib
I was playing with it with calendaring purposes in mind, and got a parse error on an export from Google Calendar.
It seems that the parser expects line splits to occur in property values only (after the colon), whereas the RFC makes it clear that it can occur anywhere and even between bytes of a single character.
With this test:
#[test]
fn test_icalendar_multline() {
    // Adapted from a very popular provider's export
    let event = parse_component(
        "BEGIN:VEVENT\n\
        ATTENDEE;CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED;CN=Jo\n \
        hn<EMAIL_ADDRESS>        SUMMARY:Important meeting\n\
        END:VEVENT\n").unwrap();

    assert_eq!(event.name, s!("VEVENT"));
    assert_eq!(event.single_prop("SUMMARY").unwrap().raw_value,
               s!("Important meeting"));
}

I get
	thread 'test_icalendar_multline' panicked at 'called `Result::unwrap()` on an `Err` value: ParseError { desc: "Expected :, found \n" }', ../src/libcore/result.rs:741

with slight modifications, such as simply enclosing in BEGIN:VCALENDAR / END:VCALENDAR I get another error, the one I actually got on the real life export:
'called `Result::unwrap()` on an `Err` value: ParseError { desc: "No property name found." }'

I'll try and fix that if I can. That makes for an exercise in Rust.

I see, I suspect we'll have to include some sort of preprocessor for unfolding. This is probably hard to do efficiently.

I agree, the catch would be to avoid having to preprocess a huge calendar, with necessary copy etc.
in the meanwhile, I'm exploring having consume_char() use peek() to always look ahead. Not sure to be able to do that efficiently, but at least that's still streaming.

Fixed by #9


[Web] Transform perspective on a Stack affects child widgets inconsistently

Steps to Reproduce
Create a heirarchy
Transform
  Stack
    Image
    Container
    Text

On Android the entire Stack is transformed as if it were a flat single layer.  On web the child elements are transformed in different amounts / directions.
My transform is this:
Transform(
      transform: Matrix4.identity()
        ..setEntry(3, 2, PERSPECTIVE) // perspective
        ..rotateY(offset * math.pi),
      alignment: Alignment.centerLeft,
      transformHitTests: false,
      child: child,
    );

Expected results:
Works correctly on Android:

Actual results:
On Chrome it looks like this:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.19.0-4.3.pre, on Mac OS X 10.15.5 19F101, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Community Edition (version 2020.1.3)
[✓] Connected device (3 available)

Chrome version: Version 83.0.4103.116 (Official Build) (64-bit)

Hi @devvercer
Can you please provide a complete reproducible minimal code sample
Thank you

I had trouble distilling this problem which led to a useful observation.
When I include an image in the stack this problem occurs.  When the image below is commented out the problem does not occur.
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(home: buildScaffold());

  Widget buildScaffold() {
    return SafeArea(
      child: Container(
        color: Colors.grey,
        padding: const EdgeInsets.symmetric(vertical: 40),
        child: Transform(
          transform: Matrix4.identity()
            ..setEntry(3, 2, 0.0005) // perspective
            ..rotateY(1),
          alignment: Alignment.centerLeft,
          child: buildStack(),
        ),
      ),
    );
  }

  Stack buildStack() {
    return Stack(
      fit: StackFit.expand,
      children: [
        Container(
          color: Colors.blue,
        ),
        Image(
          fit: BoxFit.cover,
          alignment: AlignmentDirectional.center,
          image: AssetImage('assets/yellow_woman.jpg'),
        ),
        Align(
            alignment: Alignment.centerRight,
            child: Container(
              color: Colors.black,
              child: Text(
                'Hello there',
                style: TextStyle(color: Colors.white),
              ),
            )),
      ],
    );
  }
}

The minimal sample above produces this mess:

When the image is commented out it shows like this:

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-7.1.pre, on Linux, locale en_US.UTF-8)
    • Flutter version 1.20.0-7.1.pre at /home/taha/Code/flutter_master
    • Framework revision 7736f3bc90 (3 days ago), 2020-07-10 16:33:05 -0700
    • Engine revision d48085141c
    • Dart version 2.9.0 (build 2.9.0-21.2.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /home/taha/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /home/taha/Code/sdk
    • Java binary at: /home/taha/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.
[✓] Chrome - develop for the web
    • Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1
[✓] Android Studio (version 4.0)
    • Android Studio at /home/taha/Code/android-studio
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.47.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.12.2
[✓] Connected device (3 available)
    • Linux (desktop)  • linux      • linux-x64      • Linux
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome
      83.0.4103.116
• No issues found!

Seems to be fixed by flutter/engine#20310. Please retry on master channel (tried it and it correctly set transform on image and container).
If you still see issue please reopen.

This bug is not fixed :(
I changed to master and upgraded (see flutter doctor output below)
flutter clean && flutter build web
I ran the newly generated files and verified the changes made.
The result is the same as shown above - incorrect transform only when an image is loaded.

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.22.0-2.0.pre.130, on Mac OS X 10.15.6 19G2021, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Community Edition (version 2020.2.1)
[✓] Connected device (2 available)
• No issues found!

One further note: when the page loads the image takes some time to display and until that time the text renders correctly.  When the image finishes loading, the text changes position to be incorrect.

When I run the app like this, it works:
flutter run -d Chrome --dart-define=FLUTTER_WEB_USE_SKIA=true --release

The issue is reproducible on the latest master
Web Desktop

Web Mobile

Mobile

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(home: buildScaffold());

  Widget buildScaffold() {
    return SafeArea(
      child: Container(
        color: Colors.grey,
        padding: const EdgeInsets.symmetric(vertical: 40),
        child: Transform(
          transform: Matrix4.identity()
            ..setEntry(3, 2, 0.0005) // perspective
            ..rotateY(1),
          alignment: Alignment.centerLeft,
          child: buildStack(),
        ),
      ),
    );
  }

  Stack buildStack() {
    return Stack(
      fit: StackFit.expand,
      children: [
        Container(
          color: Colors.blue,
        ),
        Image(
          fit: BoxFit.cover,
          alignment: AlignmentDirectional.center,
          image: NetworkImage('https://i.imgur.com/QCNbOAo.png'),
        ),
        Align(
            alignment: Alignment.centerRight,
            child: Container(
              color: Colors.black,
              child: Text(
                'Hello there',
                style: TextStyle(color: Colors.white),
              ),
            )),
      ],
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-2.0.pre.161, on Mac OS X 10.15.6 19G2021,
    locale en-GB)
    • Flutter version 1.22.0-2.0.pre.161 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision ba78539bdb (8 hours ago), 2020-08-31 19:13:04 -0700
    • Engine revision 165abef0a2
    • Dart version 2.10.0 (build 2.10.0-77.0.dev)

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

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

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

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

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

[✓] Connected device (4 available)
    • iPhone 11 (mobile) • A63D6F51-59F3-4A75-961F-3769709F3A92 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64
      • Mac OS X 10.15.6 19G2021
    • Web Server (web)   • web-server                           • web-javascript
      • Flutter Tools
    • Chrome (web)       • chrome                               • web-javascript
      • Google Chrome 84.0.4147.135

• No issues found!

PR landed in master.


zia_user_management Data Source Error on plan/apply

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version
v1.4.0
Affected Resource(s)

Data Source

zia_user_management

Terraform Configuration Files
variable "PASSWORD" {
type        = string
description = "Password to ve used for all user creation"
}
data "zia_location_management" "home" {
name = "Home"
}
data "zia_department_management" "workloads" {
name = "workloads"
}
data "zia_group_management" "package_management" {
name = "package_management"
}
data "zia_group_management" "security_services" {
name = "security_services"
}
data "zia_user_management" "julian" {
name = "Julian Greensmith"
}
resource "zia_user_management" "erp_app" {
name         = "erp_app"
email        =<EMAIL_ADDRESS>password     = var.PASSWORD
groups {
id = [data.zia_group_management.package_management.id, data.zia_group_management.security_services.id]
}
department {
id = data.zia_department_management.workloads.id
}
}
resource "zia_user_management" "web_app" {
name         = "web_app"
email        =<EMAIL_ADDRESS>password     = var.PASSWORD
groups {
id = [data.zia_group_management.package_management.id, data.zia_group_management.security_services.id]
}
department {
id = data.zia_department_management.workloads.id
}
}
resource "zia_user_management" "payroll_app" {
name         = "payroll_app"
email        =<EMAIL_ADDRESS>password     = var.PASSWORD
groups {
id = [data.zia_group_management.package_management.id, data.zia_group_management.security_services.id]
}
department {
id = data.zia_department_management.workloads.id
}
}
Debug Output
{"@level":"error","@message":"Error: Invalid address to set: []string{"groups", "0", "extensions"}","@module":"terraform.ui","@timestamp":"2023-03-09T04:41:30.954790Z","diagnostic":{"severity":"error","summary":"Invalid address to set: []string{"groups", "0", "extensions"}","detail":"","address":"data.zia_user_management.julian","range":{"filename":"users.tf","start":{"line":21,"column":37,"byte":443},"end":{"line":21,"column":38,"byte":444}},"snippet":{"context":"data "zia_user_management" "julian"","code":"data "zia_user_management" "julian" {","start_line":21,"highlight_start_offset":36,"highlight_end_offset":37,"values":[]}},"type":"diagnostic"}
Operation failed: failed running terraform plan (exit 1)
Panic Output

Expected Behavior
Extract data for existing user
Actual Behavior
Error on terraform plan
Steps to Reproduce
Run plan/apply on following code:
data "zia_user_management" "username" {
name = "username"
}
Important Factoids
References

HI @jxg81 This is issue has been addressed and the fix will be deployed in the next release v2.5.0 early next week along with other fixes and enhancements.


react-aggregated-calendar

Category

[x] Question
[ ] Bug
[ ] Enhancement

Authors
Dhaval Shah
Question
How can I add localization to the buttons that shows in the calendar? I have added localization to the settings panel and to the "Manage Calendar" popup by using localization files but I can't find the way to change the language in the view buttons of the calender, now is showing "month" - "week" - "day". The same for the month's name, now is in english. In the fullcalendar docs says that we can use locale: "es" to use spanish but I tested it in the containerEl and it seems don't work. How can I change these element's language?

I found the solution in the FullCalendar documentation by using the localize js file

Hi @americo2015 I'm encountering the same issue and am not managing to add the localize js file, can you please give me more details on how to go about this?
Thank you!!


Peer to peer code review

@yodit93 Good use of linters and ES6 modules. We couldn't find any issues with your code.
Bravo!!!

Thank you!!


current firmware and update available

is it possible to have rpi-update tell you what the current version installed is and what you are upgrading to?

Try:
sudo JUST_CHECK=1 rpi-update

$ sudo JUST_CHECK=1 rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Your firmware is already up to date

Try it again now as there has been a new update.

nope still no notification of what you have or what is being downloaded, it just self updates and starts to download new firmware

It won't download new firmware with JUST_CHECK=1.
Can you report exactly what you typed in and what the output was?

it is posted above

But that looks like you ran:
sudo rpi-update
You are supported to run:
sudo JUST_CHECK=1 rpi-update
to see what (if anything) has changed before updating.

using JUST_CHECK=1
sudo JUST_CHECK=1 rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Your firmware is already up to date
still 0 info on current

it should say by default!!

If you want to see what you get when there are changes then you can fake it:
pi@domnfs:~ $ echo 39054eaf0d3cfa351f2e23126e0ae88596a9437d | sudo tee /boot/.firmware_revision
39054eaf0d3cfa351f2e23126e0ae88596a9437d
pi@domnfs:~ $ sudo JUST_CHECK=1 rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Firmware update required. New commits available:
======================================================
Commit: firmware: Pushed so files missed from last update
======================================================
Commit: firmware: MJPEG enc: Don't hold JPEG module the whole time\nSee: https://www.raspberrypi.org/forums/viewtopic.php?f=70&t=153445
Commit: firmware: image_encode: Add parameter to set the restart interval\nSee: https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=153553
Commit: firmware: Raspistill: Add option to set the JPEG restart interval\nSee: https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=153553
Commit: firmware: rawcam: Set min line interrupt rate to 16\nSee: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=47798&start=75#p1006778
Commit: firmware: image_fx: Fix some issues with frameheight/sliceheight\nfirmware: image_fx: Fix some YUVUV issues with pitch and vpitch\nfirmware: deinterlace: Allow interlaced state of video buffer to be signalled from host
======================================================
Commit: kernel: Bump to 4.4.15
Commit: kernel: BCM270X_DT: Declare the audio PWM pins explicitly\nSee: https://github.com/raspberrypi/linux/issues/1473
Commit: kernel: Add support for Dion Audio LOCO DAC-AMP HAT\nSee: https://github.com/raspberrypi/linux/pull/1553
Commit: kernel: BCM270X_DT: Overlay to re-enable HW CS on SPI0\nSee: https://github.com/raspberrypi/linux/issues/1547
======================================================
Commit: firmware: video_render: Ensure image structure is initialised
Commit: firmware: image_fx: Add assert to fatal error code path
======================================================
Commit: firmware: arm_dt: allow audio output without dtparam=audio=on\nSee: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=154604
Commit: firmware: dt-blob: Add BT_ON and WL_ON pins, and use if present
======================================================
Commit: kernel: Bump to 4.4.16
Commit: kernel: bcm2708_fb: Default framebuffer to 32-bit
Commit: firmware: platform: Default to 16bit framebuffer with cutdown firmware
Commit: firmware: armstub: Move redundant write to mailbox register\nSee: https://github.com/raspberrypi/firmware/issues/578
Commit: firmware: vc_client: Fix for sending vguPolygon data in chunks\nSee: https://github.com/raspberrypi/firmware/issues/633
======================================================
Commit: kernel: fix auto-sense in lirc_rpi driver\nSee: https://github.com/raspberrypi/linux/pull/1581
Commit: kernel: enable gembird joypad support\nSee: https://github.com/raspberrypi/linux/pull/1589
Commit: kernel: Added HiFiBerry Digi+ Pro driver\nSee: https://github.com/raspberrypi/linux/pull/1583
Commit: kernel: overlays: Add assert_falling_edge to pps-gpio overlay\nSee: https://github.com/raspberrypi/linux/issues/1590
Commit: kernel: Experimental graphics driver DSI support\nSee: https://github.com/raspberrypi/linux/pull/1556
Commit: firmware: Add customisation project board type\nfirmware: platform: Enable Bluetooth on custom
Commit: firmware: gencmd: Add support for hdmi_cvt and hdmi_timings\nSee: https://github.com/raspberrypi/firmware/issues/637
Commit: firmware: arm_display: Allow source aspect ratio to be configured\nSee: https://github.com/raspberrypi/firmware/issues/638
Commit: firmware: mmal: Allow /dev/vchiq to be opened initialised prior to mmal_vc_init
======================================================
Commit: kernel: Bump to 4.4.17
Commit: kernel: config: Enable SENSORS_LM75\nSee: https://github.com/raspberrypi/firmware/issues/508
Commit: kernel: config: Enable SERIAL_SC16IS7XX\nSee: https://github.com/raspberrypi/linux/issues/1594
Commit: kernel: snd-bcm2835: Don't allow responses from VC to be interrupted by user signals\nSee: https://github.com/raspberrypi/linux/issues/1560

just want a simple, current version is 4.4.15, available version 4.4.17, would you like to update?y/n?

That doesn't make sense as most updates don't affect the kernel version.
What happens if there were just gpu changes since last update?

then those would be displayed as above

right now there is 0 info on what is being updated, it just updates

It is up to you. Run:
sudo JUST_CHECK=1 rpi-update
to check what has changed. If you want the changes run
sudo rpi-update
You may also check the github repo for commits (and can even follow it to get email notifications).
You could always create a trivial bash script to run the two commands with a prompt in between.
You can use read for this.

right, but it should be built into rpi-update by default is what im saying, why run 2 commands?

@C4Wiz There is an interesting discussion to be had about defaults, but probably won't be prompted by suggesting that adding all the information and a prompt is obviously the right solution.  You'd probably get more traction by thinking through the various tradeoffs, looking at other update schemes that provide more data and prompts, and laying the pros and cons out in a separate thread.  A this point, you can do everything you want with two lines of very simple code.  It might make sense to reverse the default, but that should also allow people to silence the information and skip the prompts if they like.  At that point, it's a broader design question.  You may be right, just sayin.

  (I'm guessing)
Some questions in my mind pop up as I don't know the release process enough:

Is the firmware in a Raspbian release (directly) taken from the rpi-update firmware repo?  If so...
Is tagging the commit in the firmware repo with the Raspbian release (date?)doable
Is populating .firmware_revision on the .img doable?

Thanks
Wayne

pi@ron_pi:~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 12762  100 12762    0     0  35801      0 --:--:-- --:--:-- --:--:-- 35747
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.4.50-v7+
#############################################################
This update bumps to rpi-4.9.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=167934
##############################################################
*** Downloading specific firmware revision (this will take a few minutes)
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    608      0 --:--:-- --:--:-- --:--:--   610
100 53.8M  100 53.8M    0     0   813k      0  0:01:07  0:01:07 --:--:--  293k
*** Updating firmware
*** Updating kernel modules
*** depmod 4.9.26-v7+
*** depmod 4.9.26+
*** Updating VideoCore libraries
*** Using HardFP libraries
*** Updating SDK
Segmentation fault (core dumped)
*** Running ldconfig
*** Storing current firmware revision
*** Deleting downloaded files
*** Syncing changes to disk
*** If no errors appeared, your firmware was successfully updated to b3df66512cfecc82aa3da850879f4eb3ed94deef
*** A reboot is needed to activate the new firmware
pi@ron_pi:~ $
pi@ron_pi:~ $

@raugusto1 I'm not sure how your problem relates to this github issue.
I assume you are referring to:

Segmentation fault (core dumped)

That didn't come from rpi-update which completed happily.
Updating the /opt/vc/lib libraries and running ldconfig can cause applications that are using the libs to crash (I seem this with kodi) which is where the message comes from.
In general it is advisable to close any running programs that may be using GPU libs before running rpi-update, but apart from the possibly of the application crashing, it is harmless. Reboot and you should find kernel/firmware have been updated successfully.

@C4Wiz has this issue been resolved?

no, still does not show any info when running sudo rpi-update.
i don't want to have to run different commands to check then update.
when sudo rpi-update is run the first time it tells you the current version installed and the version you are about to install, why can't you just make it do this EVERYTIME it is ran?

Can this be closed?


feat: Implement GET /executedTxs API

Description
Create GET /executedTxs API
Rationale
The difflayer of marketplace need the API to fetch transactions more earlier
For GET /pendingTxs, we can't get the executed result
For GET /txs, we can't get transactions that are not packed into blocks
Example
GET /executedTxs?offset=0&limit=10
Response
{
  "total": 10
  "txs": [
    ......,
  ]
}

Changes
Notable changes:

Add GET /executedTxs API

Not done yet, need query by id and include deleted records


DONT MERGE - PR for testing

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot run azure

@hudi-bot run azure

@data-storyteller @nsivabalan is this testing PR still needed?

@yihua  This PR is not needed. Closing it.


Update Kujira Versions

Cosmovisor folder name is v0.8.4. It was never v0.8.4-mainnet, that was just a hotfix release version.
v0.8.7 is the current and only compatible version.

Thanks for this. It does seem that this was implies that v0.8.7 block height matches v0.8.4, which it does not. I'd like to urge you to follow something like what I have here (please see codebase section): https://github.com/JeremyParish69/chain-registry/blob/upd-kujira-version/kujira/chain.json

v0.8.7 should work from the previous cosmovisor upgrade height (v0.8.4)
v0.8.7 was a rolling security upgrade and shouldn't have been state breaking, but there was an event in a transaction that made v0.8.4 & v0.8.6 incompatible and apphashed.
At this point I feel like waiting for v0.9.0 anticipated upgrade is a fresh start to wait for instead.

Closed for https://github.com/cosmos/chain-registry/pull/2406


Drop files anywhere to upload

Simple integration of https://github.com/danialfarid/ng-file-upload at user interface.
So far not using Upload functions of module. I have to take better look at bridge and how upload is done at the moment so I won't break backward compatibility.

Hi @jlamer great contribution!!!
I'll be testing this and merging asap.
Thanks!!

 I will be hopefully able to do few more contributions in the near future.

I'll be merging your changes on click-changes branch, because API changes here.
So, if you have some time, check out this branch and let me know if you like and can be used easily.
Regards!

http://angular-filemanager.zendelsolutions.com/v2/

So you want me to to close this issue and reopen new one which would be forked from click-changes and merged back to click-changes?

#114 should be used instead ...


Cannot import resources to existing workspace via context.data.import.raw

Expected Behavior
Import resources to existing workspace.
Actual Behavior
Cannot import resources to existing workspace.
Reproduction Steps
      await context.data.import.raw(
        JSON.stringify({
          _type: "export",
          __export_format: 4,
          resources: [
            {
              _id: "wrk_1",
              name: "New workspace",
              _type: "workspace",
            },
            {
              _id: "req_1",
              method: "GET",
              name: "Test request(New workspace)",
              parentId: "wrk_1",
              url: "https://insomnia.rest",
              _type: "request",
            },
            {
              _id: "req_0",
              method: "GET",
              name: "Test request(Existing workspace)",
              parentId: models.workspace._id,
              url: "https://insomnia.rest",
              _type: "request",
            },
          ],
        })
      );

wrk_1 and req_1 are created.
But req_0 is not created anywhere.
context.data.import.raw
https://github.com/Kong/insomnia/blob/018d7dee70b1b29ed372c96d51a721f04c70db74/packages/insomnia/src/plugins/context/data.ts#L46-L57
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2023.4.0
What operating system are you using?
Windows
Operating System Version
Windows 11 22H2
Installation method
download from insomnia.rest
Last Known Working Insomnia version
No response

It is because of incorrect parent value
parentId: models.workspace._id,

Are your sure that parentId: models.workspace._id, value is wrk_1? Otherwise you are trying to import one workspace and requests from another

Thanks.
It seems to be related to #6125 .


[HOTFIX] Revert #1133 "[Tuning] rocm 4.4 update for develop"

This is to resolve

https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1133#issuecomment-922548630
https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1133#issuecomment-923309478
https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1133#issuecomment-923370265

Also automatically resolves #1161.

@JehandadKhan @cderb For your awareness that this PR reverts last DB updates.
We will merge immediately when acknowledged and the mitigation plan is in place.


minimize: translate constant FnPtr

Allow for using constant FnPtr, the following fails:
fn main() {
    let f: fn(()) -> Option<()> = Some::<()>;
    f(());
}

and outputs the following error message:
thread 'rustc' panicked at minimize/src/bb.rs:178:13:
function pointers are not supported.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

related to #196

related to https://github.com/minirust/minirust/issues/196

I don't think these are very related -- there are no FnDef types in this example.