python312Packages.asf-search: 7.0.8 -> 7.0.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.asf-search is: Python wrapper for the ASF SearchAPI
meta.homepage for python312Packages.asf-search is: https://github.com/asfadmin/Discovery-asf_search
meta.changelog for python312Packages.asf-search is: https://github.com/asfadmin/Discovery-asf_search/blob/refs/tags/v7.0.9/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.0.9 in filename of file in /nix/store/wzzjjb9j4jj03yb4lbpqjv8is2j5zqdg-python3.12-asf-search-7.0.9

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.asf-search
python312Packages.asf-search

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wzzjjb9j4jj03yb4lbpqjv8is2j5zqdg-python3.12-asf-search-7.0.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.asf-search https://github.com/r-ryantm/nixpkgs/archive/cb95e89fb8b5cd16b1ddf2a0ce0ef0142606f2a2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/cb95e89fb8b5cd16b1ddf2a0ce0ef0142606f2a2#python312Packages.asf-search

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wzzjjb9j4jj03yb4lbpqjv8is2j5zqdg-python3.12-asf-search-7.0.9
ls -la /nix/store/wzzjjb9j4jj03yb4lbpqjv8is2j5zqdg-python3.12-asf-search-7.0.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

4 packages built:

python311Packages.asf-search
python311Packages.asf-search.dist
python312Packages.asf-search
python312Packages.asf-search.dist

Maintainer pings
cc @bzizou for testing.

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

4 packages built:

python311Packages.asf-search
python311Packages.asf-search.dist
python312Packages.asf-search
python312Packages.asf-search.dist


Azure policy count and notlike for the tags

Hello,
I am debugging azure policy and still get wrong compliance status.
For example I have two azure arc VM with tags:
ClientCode: ggg and Environment: dev
ClientCode: hhh and Environment: acc
My policy should pick up that servers as compliant, but shows still incompliant. I have tried a lot of different approaches, but could not make it work. It those two tags are not like described ones, the policy should mark vm as compliant.
{
    "properties": {
        "displayName": "test tag exclude",
        "policyType": "Custom",
        "mode": "Indexed",
        "description": "Test tag matching",
        "metadata": {
            "version": "0.0.1-preview",
            "category": "Tags",
            "preview": true
        },
        "parameters": {
            "tagValuesExclude": {
                "type": "Array",
                "metadata": {
                    "displayName": "Tags on machines to exclude",
                    "description": "The list of tags that need to be excluded for getting target machines (case sensitive). Example: [ {\"key\": \"tagKey1\", \"value\": \"value1*\"}, {\"key\": \"tagKey2\", \"value\": \"value2*\"}]."
                },
                "defaultValue": [
                    {"key":"ClientCode", "value":"aaa*"},
                    {"key":"Environment", "value":"prd*"}
                ]
            }
        },
        "policyRule": {
            "if": {
                        "count": {
                            "value": "[parameters('tagValuesExclude')]",
                            "name": "tagExclude",
                            "where": {
                                "field": "tags['current('tagExclude').key']",
                                "notLike": "[current('tagExclude').value]"
                            }
                        },
                        "equals": "[length(parameters('tagValuesExclude'))]"
            },
            "then": {
                "effect": "audit"
            }
        }
    }
}

I have rewritten policy more specific and simple


#178

Add option to include object not bound to a Namespace, Defaults change to output only the bound ones
refers to #178

Codecov Report
Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (79a31e5) 45.94% compared to head (e09985e) 45.92%.

Files
Patch %
Lines

pkg/kor/all.go
0.00%
21 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
- Coverage   45.94%   45.92%   -0.03%
==========================================
  Files          23       23
  Lines        2146     2147       +1
==========================================
  Hits          986      986
- Misses        991      992       +1
  Partials      169      169

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@cmk-jarek Do you intend to complete this fix?

Sorry was on vacation will fix that this week as soon as i catch up.

Sorry was on vacation will fix that this week as soon as i catch up.

@cmk-jarek any update here?
I think you were pretty much done

sorry got burried. will try to fix that by the weekend.

sorry got burried. will try to fix that by the weekend.

Any chance this can be done this week?
I'd like to have the fix for the upcoming release


Lazy-load images not replaced on cloned slicks-slide

When you set infinite carousel and you have lazyloaded images, the src attribute of cloned elements aren't replace with the image at load.
DEMO
http://jsfiddle.net/w6z6c53y/
====================================================================
Steps to reproduce the problem
Set data-lazy intead of src in the image inside the slide, set infinite carousel, scroll on the next slides.
====================================================================
What is the expected behaviour?
No image swap
====================================================================
What is observed behaviour?
When the cloned slide enter from the right side, the images are not showed. The images return visible when the slide swaps on the real one.
====================================================================
FIX:
            imageToLoad.onload = function() {
                 [...]rest of the function

                //REPLACE LAZYLOAD ON CLONED SLICK
                $(".slick-cloned [data-lazy='" + imageSource  + "']").attr("src", imageSource).removeAttr('data-lazy data-srcset data-sizes');
            };

First of all thanks a lot for this awesome slider, I really appreciate it.
I am experiencing this issue as well, it would be great if you guys could fix this.


Update action.yaml for actions/upload-artifact@v4

Good question. I have found the issue https://github.com/actions/upload-artifact/issues/602. The latest version does not inlcude hidden files by default (older versions did). If there will be any hidden files, the process will be failed. Thus I added that line. I am not sure if we will have any hidden files. If not, you can remove it.


Canvas Studio for Front-end " Studio is not defined" error

I installed canvas studio as a front-end in the same project directory as the canvas admin portal is. When I ran "npm run dev" I got a weird error saying " Studio is not defined" in the browser console.
Please help me.

So you've got a Laravel app set up, and both Canvas and Studio are dependencies that were installed in the project, correct?

@austintoddj thank you so much for replying. Actually I've set up Canvas for writing content. Now I want to set up canvas studio for front-end. I went through the official documentation and installed Canvas Studio in the same project as the Canvas is. The install went fine but I get "Studio is not defined" error. I am using vue js for the front-end.
After getting the error, I did a fresh installation of both Laravel 7 and Canvas. Now I am using vue js to develop the front-end (not using Canvas Studio anymore). Could you please guide me how should I connect my vue js components with Canvas. Should I create my own APIs or should I consume the APIs provided by Canvas which are used in the Canvas backend itself.

Hm interesting, not sure why it would be undefined at that point.
If you take a look at cnvs/studio, it's set up as a Vue app and has all the consumable API points you'd need built out already. Take a look at the Controllers and you'll get a good idea of how to grab the content.

@austintoddj your help is much appreciated! thanks

Were you able to resolve this @Mint-developer?

Appreciate insight from anyone else that has run into this. Unable to reproduce.

Fixed in https://github.com/cnvs/studio/releases/tag/v1.0.1


[BUG] SWATE copy functionality should allow to copy a single value multiple times at the same time

OS and framework information (please complete the following information):
Windows 10, Arcitect v. 0.28.0
Describe the bug

[x] A clear and concise description of what the bug is
Trying to copy the state of a single cell using the copy button in the right-click dialogue and then shift clicking multiple target cells and using either "Paste" or "Paste All", I would assume that all shift clicked cells are filled. However, for "Paste" only the first seleced and for "Paste All" only the cell that I opened the context menu on is filled.

[x] Steps to reproduce
See screenshots

[x] Screenshots

[x] Expected behavior
Fill all selected cells

This is also part of #359

Done! Copying a single cell, then selecting multiple cells and using Paste, will fill the selected cells with the copied cell.


Remove hardcoded ids from postgres' data.sql

I was trying out different generated value strategies. So I ended up with following configuration:
@Id
@GeneratedValue(strategy = SEQUENCE, generator = "owner_seq")
@SequenceGenerator(name = "owner_seq", sequenceName = "owners_sequence", allocationSize = 50)
private Integer id;

CREATE SEQUENCE IF NOT EXISTS owners_sequence INCREMENT BY 50 START WITH 1 NO MINVALUE NO MAXVALUE CACHE 1;
CREATE TABLE IF NOT EXISTS owners (
  id         INT DEFAULT NEXTVAL('owners_sequence') PRIMARY KEY,
  ...
);

After I wanted to boot up the application, I got an error message because my ids in the data.sql file were out of alignment (there may be gaps of 50 now). So I replaced all the hardcoded ids with select queries. In addition, I also fixed some small errors in the original file.

@jevanlingen Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


[POC] Incremental Compilation

Incremental Build POC
Motivation
It always takes a few seconds until crystal specs are starting. Compared to ruby, it feels tough.
Changes

I ported the core of a build engine to crystal
Used this build engine to implement incremental compilation for the build phase.
The changes are available here

Results
I used the compiler itself as reference
Build the release version of the compiler
./bin/crystal build --link-flags="-L/usr/local/opt/llvm@9/lib"  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib --release

Testing it
time ./bin/crystal build --link-flags="-L/usr/local/opt/llvm@9/lib"  -o /tmp/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib

Use case
Flags
Time [s]

1. Full Build Without Cache (~/.cache/crystal/)

150

2. Full Build With Cache (~/.cache/crystal/)

25

3. Incremental Build without changing a file (NOOP)
--incremental
17

4. Incremental Build with one file (src/compiler/crystal/compiler.cr) changed
--incremental
23

Open Topics

Dependencies are incomplete. I just used all files for all AST nodes in the module.
Parsing is not incremental. I'm not sure if this can be done incrementally at all.
Codegeneration is not incremental. This requires 9s of use case 3 and 4. Switching to incremental codegeneration should be possible. I had a look at it, but I don't dare to do that.
Conversion from bc-files to o-files could also be done using a Build::Job
Multithreading in Build::Job.build_dependencies_parallel doesn't work properly

Summary
I would have expected a bigger performance gain (between use case 2 and 4). But probably wiser heads have already optimized almost everything. If code generation could also be done incrementally, it could be a performance gain of 50% for the NOOP case. I'm not sure if this could justify the changes in the code.
Further actions

I just wanted to share this to get some feedback.
I could open a PR with the Build::Job stuff without changes in the compiler code generation, if someone is interested.
Someone familiar with the code for the compiler could integrate Build::Job into the code generation

I was looking at whether it would be possible to have some sort of incremental codegen phase (running codegen only on the modules that need a rebuild).
It seems to be much more complicated than I would have expected.
For this reason, I will close the ticket.

I was looking at whether it would be possible to have some sort of incremental codegen phase (running codegen only on the modules that need a rebuild).
It seems to be much more complicated than I would have expected.
For this reason, I will close the ticket.


nixpkgs.config.allowUnfree not applied to imports

This works:
# home.nix
{ config, pkgs, home, ... }:
with import <nixpkgs> {};
with lib;
{
  nixpkgs.config.allowUnfree = true;
  programs = {home-manager.enable = true;};
  home = {packages = with pkgs; [teams];};
}

Trying to import a module that installs an unfree package appears not to respect the nixpkgs.config.allowUnfree = true; in home.nix:
# home.nix
{ config, pkgs, home, ... }:
with import <nixpkgs> {};
with lib;
{
  nixpkgs.config.allowUnfree = true;
  imports = [ ~/Sync/nix-home-manager-config/work.nix ];
  programs = {home-manager.enable = true;};
  home = {packages = with pkgs; [];};
}

# ~/Sync/nix-home-manager-config/work.nix
{ config, pkgs, home, ... }:
with import <nixpkgs> {};
with lib;
{
  home = {packages = with pkgs; [teams];};
}

Output:
[cody@nixos:~/.config/doom/nixpkgs]$ home-manager switch --show-trace
error: while evaluating the attribute 'buildCommand' of the derivation 'home-manager-generation' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'text' of the derivation 'activation-script' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating 'mkCmd' at /home/cody/.nix-defexpr/channels/home-manager/modules/home-environment.nix:395:17, called from undefined position:
while evaluating the attribute 'data' at /home/cody/.nix-defexpr/channels/home-manager/modules/lib/dag.nix:96:41:
while evaluating the attribute 'data' at /home/cody/.nix-defexpr/channels/home-manager/modules/lib/dag.nix:89:11:
while evaluating the attribute 'data' at undefined position:
while evaluating anonymous function at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:84:45, called from undefined position:
while evaluating the attribute 'value' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:379:9:
while evaluating the option `home.activation.installPackages.data':
while evaluating the attribute 'mergedValue' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:411:5:
while evaluating the attribute 'values' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:405:9:
while evaluating the attribute 'values' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:505:7:
while evaluating anonymous function at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:391:28, called from /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:391:17:
while evaluating 'dischargeProperties' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:464:25, called from /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:392:62:
while evaluating the attribute 'value' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/lib/modules.nix:277:44:
while evaluating the attribute 'passAsFile' of the derivation 'home-manager-path' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating the attribute 'handled' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/pkgs/stdenv/generic/check-meta.nix:251:7:
while evaluating 'handleEvalIssue' at /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/pkgs/stdenv/generic/check-meta.nix:147:38, called from /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/pkgs/stdenv/generic/check-meta.nix:252:14:
Package ‘teams-<IP_ADDRESS>8’ in /nix/store/pglfgajgn6vzbagbsg37c97c34xzizhp-nixos-20.03pre210300.05626cc86b8/nixos/pkgs/applications/networking/instant-messengers/teams/default.nix:56 has an unfree license (‘unfree’), refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Yeah, I can imagine this being a bit confusing 🙂
Firstly, the import <nixpkgs> {} attribute set includes an attribute pkgs that references the package set for the host system, which will be a self reference unless you are doing cross-compilation. When you do with import <nixpkgs> {}; you therefore override the pkgs variable bound as a function argument on line 2, which will be set up by HM to honor the nixpkgs.config options.
Secondly, since you pass {} to the import <nixpkgs> function it will impurely read the Nixpkgs configuration and overlay files in ~/.config/nixpkgs and any Nixpkgs configurations and overlays you've set in your HM configuration are therefore ignored. In other words, the nixpkgs.config.allowUnfree = true line is not having any effect in these Nix files.
So my guess is that you in the error case simply didn't have a ~/.config/nixpkgs/config.nix file – or had one but it didn't include allowUnfree = true – and in the success case did have a config.nix file that included allowUnfree = true.
Is there any specific reason why you want to import everything in Nixpkgs into scope? If so then please describe what you want to accomplish and we'll find a safer solution. If not then I would suggest removing the with import <nixpkgs> {} lines.

Yeah, I can imagine this being a bit confusing slightly_smiling_face
Firstly, the import <nixpkgs> {} attribute set includes an attribute pkgs that references the package set for the host system, which will be a self reference unless you are doing cross-compilation. When you do with import <nixpkgs> {}; you therefore override the pkgs variable bound as a function argument on line 2, which will be set up by HM to honor the nixpkgs.config options.
Secondly, since you pass {} to the import <nixpkgs> function it will impurely read the Nixpkgs configuration and overlay files in ~/.config/nixpkgs and any Nixpkgs configurations and overlays you've set in your HM configuration are therefore ignored. In other words, the nixpkgs.config.allowUnfree = true line is not having any effect in these Nix files.
So my guess is that you in the error case simply didn't have a ~/.config/nixpkgs/config.nix file – or had one but it didn't include allowUnfree = true – and in the success case did have a config.nix file that included allowUnfree = true.
Is there any specific reason why you want to import everything in Nixpkgs into scope? If so then please describe what you want to accomplish and we'll find a safer solution. If not then I would suggest removing the with import <nixpkgs> {} lines.

Oh my... that is quite funny and as you say confusing. It helps me understand nix better though. I thought importing all of nix was necessary which is why I imported it, but I realize now that's what the pkg attribute you pass into the module is for:
{ config, pkgs, home, ... }:
{
  programs =
    {
      git = {
        userEmail =<EMAIL_ADDRESS>      };
    };
  home = {
    packages = [ pkgs.teams ];
  };
  services = {
  };
}


New playbook format which separates database target from SQL

This would be a better abstraction as really the SQL scripts are an intrinsic part of the job-to-be-done (the WHAT) but the target properties/credentials (the WHERE) are orthogonal to this.

I like this. A good example of it done well in great_expectations

Right - that's perfect...
Once we break these out, it becomes safe to come up with a .jar style format which creates a zipped bundle containing all the files (but not the database creds!).


Trying to add proteomics AI tools about OSS

The OSI has some statements in this regard and a first version: https://opensource.org/deepdive

Agree with @bgruening. Can you double check @daichengxin what https://opensource.org/deepdive has about it and include it in this section.

@daichengxin you have to update your version.


当我运行 app.py时，出现 bf16相关的错误，该如何修改？

Error. error information is No operator found for memory_efficient_attention_forward with inputs:
query       : shape=(1536, 1008, 1, 72) (torch.bfloat16)
key         : shape=(1536, 1008, 1, 72) (torch.bfloat16)
value       : shape=(1536, 1008, 1, 72) (torch.bfloat16)
attn_bias   : <class 'NoneType'>
p           : 0.0
decoderF is not supported because:
attn_bias type is <class 'NoneType'>
bf16 is only supported on A100+ GPUs
<EMAIL_ADDRESS>is not supported because:
requires device with capability > (8, 0) but your GPU has capability (7, 5) (too old)
bf16 is only supported on A100+ GPUs
tritonflashattF is not supported because:
requires device with capability > (8, 0) but your GPU has capability (7, 5) (too old)
bf16 is only supported on A100+ GPUs
operator wasn't built - see python -m xformers.info for more info
triton is not available
requires GPU with sm80 minimum compute capacity, e.g., A100/H100/L4
cutlassF is not supported because:
bf16 is only supported on A100+ GPUs
smallkF is not supported because:
max(query.shape[-1] != value.shape[-1]) > 32
dtype=torch.bfloat16 (supported: {torch.float32})
has custom scale
bf16 is only supported on A100+ GPUs
unsupported embed per head: 72

We only support using bf16 for inference. Please use the specific machine, like a10, a100, etc. If you don't have locally, you can play with EasyAnimate on cloud: https://gallery.pai-ml.com/#/preview/deepLearning/cv/easyanimate. We provide free gpu time of A10 for new user of PAI, read the instruction carefully to receive the free gpu time.


Compilation failure -- OutboundSMSButton.js

I'm receiving the following error after an npm start for a clean repo clone.
./src/OutboundSmsPlugin.js
Module not found: `/Users/mrcr/Code/Refresh/plugin-sms/src/OutboundSmsButton.js` does not match the corresponding path on disk `OutboundSMSButton.js`.

Rename OutboundSMSButton.js file to  OutboundSmsButton.js


NEXT: v.0.1.0-alpha.23

Coverage remained the same at 100.0% when pulling 23478176bf837878f7023d7238bce4cd941a7c09 on dev into 675fd18dd258ce2a29609e53ce7dc36efb356654 on next.


[xcodeproj] Support Xcode 14.x new index path

Xcode 13: .../DerivedData/Foo-xxx/Index/DataStore
Xcode 14: .../DerivedData/Foo-xxx/Index.noindex/DataStore
Based on:
https://github.com/buildbuddy-io/rules_xcodeproj/blob/fd9180103d9917950acca12ff19959cc3e793921/xcodeproj/internal/bazel_integration_files/import_indexstores.sh#L109-L121
We can likely switch to INDEX_DATA_STORE_DIR to be version agnostic and it's also probably useful to pass -undo-rules_swift-renames to index-import.

@mattrobmattrob I don't have a lot of context on -undo-rules_swift-renames but based on this IIUC Until Bazel 6.0.0 means that this is useful on older versions of Bazel only right? Meaning that since rules_ios is now on Bazel 6.x we don't get much from this flag?

Because we have affordances like:
https://github.com/bazel-ios/rules_ios/blob/5ff9efac2bbc48ff8f78ff14c7dc83ffc2673f0f/rules/repositories.bzl#L72-L85
Seems reasonable to make it Bazel 5 & 6 capable where possible. But not sure on that specific flag, was just making sure it was recorded to try to figure it out since it's supported by rules_xcodeproj. 👍

Resolved here: https://github.com/bazel-ios/rules_ios/pull/661 open to suggestions/feedback if I missed anything.

Awesome job, @thiagohmcruz!


Can't generate project for stm32f767zit6u

While trying to generate project I get error:
🤷   What microcontroller name? [default: stm32f411ceu6]: stm32f767zit6u
Error: ⛔   Failed executing script: pre-script.rhai
Caused by:
Function not found: + ((), i64) (line 244, position 21)
Can you help me or tell where i'm wrong?

Thanks. Should be fixed not. Although I can't test it.


dockerfile: add dockerignore override support

Is your feature request related to a problem? Please describe.
There is currently no way to specify (or override) the .dockerignore file in the acr build command. This prevents multiple Dockerfile(s) to share the same context effectively.
Describe the solution you'd like
I suggest that different Dockerfiles define different subsets of the context files.
The frontend (e.g. acr build) first checks for <path/to/Dockerfile>.dockerignore and if it is found it will be used instead of the root .dockerignore.
This would be consistent with the docker behaviour implemented in:
https://github.com/moby/buildkit/pull/901
Describe alternatives you've considered
The alternative is to overwrite the .dockerignore file(s) at build time, only this prevents concurrent builds as there is no control over which .dockerignore file is used by which build thread.  Not that I can see at least
Additional context
It seems to me it would be fairly simple to modify:
https://github.com/Azure/azure-cli/blob/438cc0a9fb7f4ca2c99cadbfbc96cd7ea27fadaa/src/azure-cli/azure/cli/command_modules/acr/_archive_utils.py#L147
to introduce this change.
Would you accept a PR?

acr

@northtyphoon to comment


Running brm without arguments results in an exception

Bicep version
'azure.bicep.registrymoduletool' (version '0.10.61')
Describe the bug
Running brm without arguments results in an error.  I'd expect this to do somethign like showing help.
To Reproduce
In a new directory, run the following commands:
dotnet new tool-manifest
dotnet tool install Azure.Bicep.RegistryModuleTool
brm

Additional context
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ArgumentException: An item with the same key has already been added. Key: --version
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.CommandLine.Parsing.StringExtensions.ValidTokens(Command command)
   at System.CommandLine.Parsing.StringExtensions.Tokenize(IReadOnlyList`1 args, CommandLineConfiguration configuration, Boolean inferRootCommand)
   at System.CommandLine.Parsing.Parser.Parse(IReadOnlyList`1 arguments, String rawInput)
   at System.CommandLine.CommandExtensions.GetDefaultInvocationPipeline(Command command, String[] args)
   at System.CommandLine.CommandExtensions.Invoke(Command command, String[] args, IConsole console)
   at System.CommandLine.CommandExtensions.Invoke(Command command, String commandLine, IConsole console)
   at Bicep.RegistryModuleTool.Program.<>c__DisplayClass1_0.<CreateCommandLineBuilder>b__0()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at System.CommandLine.NamingConventionBinder.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Hosting.HostingExtensions.<>c__DisplayClass1_0.<<UseHost>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

Repro'd in both 0.9.1+a2950a16df and 0.11.1+030248df55

Thanks for reporting it. This seems to be a regression. I'll fix it before the next release.

Turns out this is due to a bug in upstream: https://github.com/dotnet/command-line-api/issues/1691.


incorrect minification in angular-message-format.min.js

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If I use the unminified angular-message-format.js (version 1.5.5 or 1.5.8), and feed an invalid ng-expression (unterminated string constant) into it, I get a proper "untermstr" error.
If I feed the same invalid ng-expression into angular-message-format.min.js, then $ngMinError blows up while trying to construct the "untermstr" error with
VM1079 angular.js:13920 TypeError: template.replace is not a function
    at VM1079 angular.js:49
    at c.ua (VM1081 angular-message-format.min.js:16)
    at c.Ba (VM1081 angular-message-format.min.js:14)
    at interpolate (VM1081 angular-message-format.min.js:25)
    at addAttrInterpolateDirective (VM1079 angular.js:9783)
    at collectDirectives (VM1079 angular.js:8714)
    at compileNodes (VM1079 angular.js:8539)
    at compileNodes (VM1079 angular.js:8555)
    at compile (VM1079 angular.js:8442)
    at VM1079 angular.js:1763

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
https://jsfiddle.net/qwo7mnxn/1/
What is the expected behavior?
untermstr error
What is the motivation / use case for changing the behavior?
It's impossible to diagnose errors in template strings.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Angular 1.5.5 and 1.5.8 are both broken this way, tested on Chrome 51 under Mac OS X 10.11 but I have no reason to think it's browser/OS dependent.
Other information (e.g. stacktraces, related issues, suggestions how to fix)
I don't know what's wrong with the minified code but it works fine with the unminified code, so I suspect something wrong in the minifier or build pipeline

I'm installing Angular and related libraries (-message-format, etc) via jspm, and bower-angular-message-format defaults to the .min.js (unlike all the other bower-angular-* projects), due to https://github.com/angular/bower-angular-message-format/blob/master/index.js. I removed the ".min" from that index.js in my source tree and this problem went away. I think the project on install should probably default to unminified code and people can set up their own build pipeline if they want minification. But if you're going to provide minified code, it should work the same way as the unminified code, right?

Also filed as https://github.com/angular/angular/issues/10384 (I don't know where it's better categorized)

This is expected behavior, because you are using the minified angular-message-format with the unminified angular core file. Since minified files are intended for use in production, they minErr implementation (which is responsible for constructing and logging the errors) is slightly different, not showing the error description in the console.
Using minified files, the error is logged correctly (includes the error code and the URL to the error page, which contains all the info).

OK, thanks for explaining why it doesn't work - that minErr doesn't work if you cross minified/non-minified versions of angular core/additional modules.
However, I think there's still a real problem here, which is that "out of the box", angular-message-format defaults to using the .min.js. (At least this is true if I install with jspm, and from the look of https://github.com/angular/bower-angular-message-format/blob/master/index.js, this would be true for installing via npm or bower as well.) For all the other angular-* libraries I've tried, installing via jspm, I get unminified code active until I make changes to use the minified version, but for angular-message-format, it's always using the minified version (and thus, produces this problem by default).
Note that https://github.com/angular/bower-angular-message-format doesn't accept issue reports, and says to file issues and pull requests against this repo.

You are right. I opened angular/bower-angular-message-format#4 (before I realized there were already 2 (almost) identical PRs :grin:).


ci: adds automated Ziglang Stdlib integration test

Signed-off-by: Takeshi Yoneda<EMAIL_ADDRESS>

oh wait forgot to pass -mount option

cache is working and almost zero cost to get the test binary

cool good to go


SAA-1336: Return cancelled activities from unlock and movement list endpoints

The events returned from the query still get the cancelled: true flag on the response model
Rolled out Hewell in dev so that I could create visits (only prison our user has permission to do it in....)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Files
Coverage Δ

...activitiesmanagementapi/util/TransformFunctions.kt
79.08% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


Use URL of script instead of window.location for dev server

In my scenario, the page is being served by PHP and the URL to the bundle is pointed directly to the webpack dev server.
So, the website is being served at http://my-project.test and the script is pointing to http://localhost:8080/app.js.
By using window.location for the webpack dev server client, it is forcing the sockjs server to be on the same domain as the page. However, it's more accurate to get the dev server from the script.
Reference:

https://github.com/egoist/poi/pull/448
https://github.com/morrislaptop/WebpackDevServerValetDriver

bump

@gaearon reason?


[BUG] Access provider list is empty

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I installed the extension on a new keycloak docker instance from jboss/keycloak
When i try to configure the extension i can not select an „Access Provider“ as the field shows no entries.
Expected Behavior
The Access Provider list should display the correct options
Steps To Reproduce

Add the extension to a fresh keycloak instance
Edit the extension
The Access Provider field is empty

Version
- Keycloak: 15.0.2
- This extension: 15.1.0

Anything else?
No response

Hey @flo-mic,
thanks for checking out the latest pre-release and reporting this issue.
This issue generally occurs if you install the extension by mounting/copying the jar to /opt/jboss/keycloak/standalone/deployments instead of /opt/jboss/keycloak/providers.
This has changed from version 15.0.0 to 15.1.0.
Please double check that you have mounted/copied the jar file to the correct location.
Thanks
Sven-Torben

Thanks, this was my fault. It is working now.

I had the same issue with Keycloak 16.1.0 and v16.0.0 of the plugin.
For the record (and Java/Keycloak noobs like me) :
mkdir KEYCLOAK_HOME/providers
cd providers
wget https://github.com/sventorben/keycloak-restrict-client-auth/releases/download/v16.0.0/keycloak-restrict-client-auth.jar

Of course, change KEYCLOAK_HOME to the root folder where Keycloak is installed, and change wget link to the package's version you need


New example and fixed an import

Added a better-looking example
Fixed missing registerPlugin() import in index.js


Ability for admin to switch between restricted panel view and full application

Is your feature request related to a problem? Please describe.
Exercise teams need to see a modified application view with reference number OR the full application with all information.
Describe the solution you'd like (goes in order of application except personal details at the top)
One view should include everything
One view should NOT include:
personal details,
equality and diversity
character information
location preferences
jurisdictional preferences
interview preferences (new ticket)
The information should be grouped by the pages the information is stored. i.e all judicial experience should be together in one section.
Describe alternatives you've considered
A download that the teams could amend if necessary.
Additional context
Ultimately this view should be exportable
Linked to ticket #258

@warrensearle @YaaL does this summarise the need. This is the ticket linked to #258. If so please let us know estimate and we will move to Ready to Play.

Perfect, thanks @Rebecca-mcknight1991. Let's put this down as an estimated 2 story points for the following reasons:

41 + 2 = 43 story points, which is another prime number
the sister story is a 5 so a total of 7 points feels about right
@YaaL that sound agreeable to you?

@Rebecca-mcknight1991 @warrensearle
Looks fine to me.


ZEPPELIN-3595. Remove interpreter binding in backend

What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html
What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
Put link here, and add [ZEPPELIN-Jira number] in PR title, eg. [ZEPPELIN-533]

How should this be tested?

First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration
Strongly recommended: add automated unit tests for any new or changed behavior
Outline any manual steps to test the PR here.

Screenshots (if appropriate)
Questions:

Does the licenses files need update?
Is there breaking changes for older versions?
Does this needs documentation?

Five hundred lines' difficult and sophisticated code will be removed. :-)

@felixcheung It's not for now if you set spark interpreter group as the first interpreter group in your zeppelin-site.xml. I think it needs more implementation even in front side as well to keep the default interpreter setting per note. We need to know whole plan to remove interpreter binding option

@jongyoul I like the idea of having a default interpreter (and not a default interpreter group ) per note.
+1

Will merge it if no more comments


[WIP] Batch insert through a new callback

References #255
DISCLAIMER: This is a work in progress.
What did this pull request do?
Allow batch insert operations through the introduction of a new callback type.
Proof of Concept
func main() {
	type Foo struct {
		ID   int64  `gorm:"column:id;primary_key"`
		Text string `gorm:"column:text"`
	}

	db := connect()
	defer db.Close()

	foos := []*Foo{}

	for i := 0; i < 10000; i++ {
		foo := &Foo{Text: "Foo"}
		foos = append(foos, foo)
	}

	start := time.Now()
	for _, foo := range foos {
		db.Create(foo)
	}
	elapsed := time.Since(start)

	log.Printf("Multiple queries took %s", elapsed)

	foos = []*Foo{}

        for i := 10001; i <= 20000; i++ {
		foo := &Foo{Text: "Foo"}
		foos = append(foos, foo)
	}

	start = time.Now()
	db.CreateBatch(foos)
	elapsed = time.Since(start)

	log.Printf("Single query took %s", elapsed)
}

Output:
2017/05/11 08:13:27 Multiple queries took 10.361453551s
2017/05/11 08:13:27 Single query took 81.625904ms

Hello @drgomesp
Thank you for your work, I would prefer to extend Create to support batch insert.
Also we should call Before/After Create/Save callbacks when do the bulk insert.
So we could change the createCallback method in callback_create.go to do the work.


add save support for raw arrays

Currently the save method only dispatches when the data in a SampleBuf. We should also support raw Arrays.

This issue was fixed a while ago - LibSndFile now supports a save method for regular Arrays, not just SampleBufs.


Support Environment Variable "AZURE_TRACING_DISABLED"

According to environment variables listed in https://github.com/Azure/azure-sdk/blob/master/_includes/tables/environment_variables.md
Add support for environment variable  "AZURE_TRACING_DISABLED"

@jongio

@lmazuel for notification.


Enable compiler-docs in patch

Step 06 fails with this error otherwise:
Installing: rustc-docs-nightly-x86_64-unknown-linux-gnu
tar: ../../rust/build/dist/rustc-docs-nightly-x86_64-unknown-linux-gnu.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Hmmmm.... I could have sworn the scripts should have worked without building the compiler docs. Doesn't this line in 05-build-dist.sh make it work?
mkdir -p build/riscv32em-unknown-none-elf/compiler-doc

In general building these docs is kind of a waste of time as we'll throw them away anyway, which is why instead of enabling them I just put the mkdir invocation to fake it. But I confess I haven't thoroughly tested it out, so I suppose it didn't work for you?

Yep, on my machine this did not work without compiler-docs = true (see error message in opening).

mkdir -p build/riscv32em-unknown-none-elf/compiler-doc

I think you lost me here, how would that empty folder help?
This line is triggering the search for that  tar.xz file referenced in the error, could we just remove this installation?
https://github.com/koute/rustc-rv32e/blob/bdff3a198615e5817b322306e8a7e2cf0818219f/06-install-dist.sh#L25

I think you lost me here, how would that empty folder help?

The idea was that the build process will just package that dummy empty folder into the tgz.

This line is triggering the search for that tar.xz file referenced in the error, could we just remove this installation?

Hm... oh, I think I might have had a brainfart and accidentally added that by mistake! In general I'd still like to get the core/std docs to be packages (so that rustup doc open still works), but not necessarily the docs for rustc internals themselves.
Anyway, I'll merge this in for now and revisit later; thanks!


Why the result of nolds.hurst_rs  differ from other package ?

Hi,
I checked three implement include of nodls, the result are quite differents
testing code

np.random.seed(42)
random_changes = 1. + np.random.randn(99999) / 1000.
series = np.cumprod(random_changes)  # create a random walk from random changes

# 1
from hurst import compute_Hc, random_walk
H, c, data = compute_Hc(series, kind='price', simplified=True)
print(H)

# 2
def genhurst(S,q=2):
    '''
    from https://github.com/PTRRupprecht/GenHurst/blob/master/genhurst.py
    '''

    L=len(S)

    # if L < 100:
        # warnings.warn('Data series very short!')

    H = np.zeros((len(range(5,20)),1))
    k = 0

    for Tmax in range(5,20):

        x = np.arange(1,Tmax+1,1)
        mcord = np.zeros((Tmax,1))

        for tt in range(1,Tmax+1):
            dV = S[np.arange(tt,L,tt)] - S[np.arange(tt,L,tt)-tt]
            VV = S[np.arange(tt,L+tt,tt)-tt]
            N = len(dV) + 1
            X = np.arange(1,N+1,dtype=np.float64)
            Y = VV
            mx = np.sum(X)/N
            SSxx = np.sum(X**2) - N*mx**2
            my = np.sum(Y)/N
            SSxy = np.sum( np.multiply(X,Y))  - N*mx*my
            cc1 = SSxy/SSxx
            cc2 = my - cc1*mx
            ddVd = dV - cc1
            VVVd = VV - np.multiply(cc1,np.arange(1,N+1,dtype=np.float64)) - cc2
            mcord[tt-1] = np.mean( np.abs(ddVd)**q )/np.mean( np.abs(VVVd)**q )

        mx = np.mean(np.log10(x))
        SSxx = np.sum( np.log10(x)**2) - Tmax*mx**2
        my = np.mean(np.log10(mcord))
        SSxy = np.sum( np.multiply(np.log10(x),np.transpose(np.log10(mcord)))) - Tmax*mx*my
        H[k] = SSxy/SSxx
        k = k + 1

    mH = np.mean(H)/q

    return mH

print(genhurst(series, 2))

# 3
import nolds
print(nolds.hurst_rs(series))

I also tested with rolling window 200 , second one seems most correctly  ( contain values below 0.5 )
def hurst1(arr):
    return genhurst(arr)

def hurst2(arr):
    return compute_Hc(arr, kind='price', simplified=True)[0]

def hurst3(arr):
    return nolds.hurst_rs(arr, fit='poly')

Is there any simple method to evaluate the hurst exponent , so that I can filter out the best package.

Hi @eromoe. :wave: Unfortunately, there is a lot of confusing terminology around the Hurst exponent. It also took me a while to remember and dig up all that information after reading your post, but here are the reasons why the two implementations you found are different from nolds.
genhurst
This is actually a different algorithm. It computes the generalized hurst exponent according to an Algorithm by DiMatteo et al. (2003). This algorithm is implemented as mfhurst_dm in the current (unpublished) version of nolds (which you can install directly from the repository with pip install git+https://github.com/CSchoel/nolds.git).
However, for several reasons, I don't recommend using it and using mfhurst_b instead. This version is the mathematical foundation of mfhurst_dm by Barabási and Vicsek (1991). One of the reasons is that Di Matteo et al. start with a linear detrending by default. For stock data this is sensible, but for other data it might not be desirable and be better left as a separate pre-processing step. In your example, this also explains why you get a value of 0.5 instead of the prescribed value of 1.0 for a random walk, which has a strong positive correlation between elements. Basically, the detrending turns the random walk back into a series of random data points.
compute_Hc
This version indeed seems to be implementing Hurst's original rescaled range approach. However, you have to be careful with the parameters here. Looking into the code, I found the parameter kind for the "kind" of data that you have and the helper function __get_simplified_RS(). The default is set to random_walk, which again leads to the removal of a linear trend, effectively reverting the random walk back to just random data points with neither a positive nor a negative correlation. Hence the 0.5 as output.
nolds
Nolds doesn't make any assumptions on the kind of data that you have. It just implements the rescaled range algorithm as described by H. E. Hurst with the Anis-Lloyd-Peters correction factor.
I compared it to several reference implementations and found a good and in some cases perfect agreement between those implementations and my code:

"hurst" function in R-package "pracma"
HURST: MATLAB function to compute the Hurst exponent using R/S Analysis
Bill Davidson, "Hurst exponent"

Additionally, I reproduced an example published by Ian L. Kaplan for a series with a Hurst exponent of 0.72. You can find this in nolds in the unit test test_hurst_pracma in nolds.test_measures.

Thanks for your detailed explanation.
But doesn't 0.5 indicate a series may be random walk?  0.5 ~1 means there is a trend .
And for compute_Hc, it is the no simplified RS would remove linear trend :  https://github.com/Mottl/hurst/blob/6ca8f5fb5a8dacfbec4c2df9485d267f3cef25a6/hurst/init.py#L62

Oh, I understand. I thought diff preprocess is nessisary for caculation of hurst exponent, acutually that only imply trainning data is acculmulated.
Thank you very much :)


Unable to connect to localhost from flutter application to access cloud functions

Hi.  I am unable to access my cloud functions served at http://localhost:5000/mtai-63f52/us-central1/api1 from my flutter application.  I have been trying for several days.  When I deploy to firebase and access at https://us-central1-mtai-63f52.cloudfunctions.net/api1/helloworld it works fine.  The get request code I am running is here:
Future loginPost() async {
//var resp = await http.post( url, body: json, headers: headers);
var resp = await http.get(url);
print("Hi Hello How Are You ${resp.statusCode}");
print("Body: ${resp.body}");
}
loginPost();
here is my flutter doctor.  Can someone please help?  I am connecting on a mac over usb but I also have both devices connected to the same wifi.  Thanks!
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.14.6 18G2022,
locale en-US)
• Flutter version 1.12.13+hotfix.7 at /Users/mg8686./Downloads/flutter
• Framework revision 9f5ff2306b (2 weeks ago), 2020-01-26 22:38:26 -0800
• Engine revision a67792536c
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/mg8686./Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.0, Build version 11A420a
• CocoaPods version 1.8.0
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build
1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (1 available)
• SM G965U • 304e4a5855503098 • android-arm64 • Android 9 (API 28)

This may be an issue with the emulator configurations you are using.
Have a look at this thread: https://stackoverflow.com/questions/6760585/accessing-localhostport-from-android-emulator

Thanks @anaisbetts !
@mgoral2 does it work with using <IP_ADDRESS> instead of localhost?

Hi @VladyslavBondarenko.  It just times out when I do that. Here is what I used:  'http://<IP_ADDRESS>:5000/mtai-63f52/us-central1/api1/helloworld'

@mgoral2
I didn't pay attention that you are using the real device.
Using <IP_ADDRESS> instead of localhost or <IP_ADDRESS> make sense when you are using emulator.
But It's expected that you can't connect to the localhost being not in the same network.
You can share hotspot from your desktop, connect mobile to it and use your IP in this network (most probable <IP_ADDRESS>) instead of localhost. Or find another variant.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

@mgoral2
I didn't pay attention that you are using the real device.
Using <IP_ADDRESS> instead of localhost or <IP_ADDRESS> make sense when you are using emulator.
But It's expected that you can't connect to the localhost being not in the same network.
You can share hotspot from your desktop, connect mobile to it and use your IP in this network (most probable <IP_ADDRESS>) instead of localhost. Or find another variant.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

its not able to connect to anything


TYPO

There is a typo in the README where you have branch -D in the Aliases:
"Delete the branch that no longer brears fruit" should be "...no longer bears fruit"

Good catch!


use default quality,avif image size too large

Original image format is jpg and  size is 72k
Use default quality,  /unsafe/filters:format(webp)/
output webp size is 40k
Use default quality,  /unsafe/filters:format(avif)/
output avif size is 138k
The size of the  avif image is twice that of the original image

normally, you can decrease the quality for avif for the same visiual quality.


How to flag a receiver patient inversion events?

This is loosely related to issue #18 (unique bundle identifiers): how shall a receiver deal with the following situation which happens frequently; here is the scenario:

Lab sends results for order 123456, for patient Tom Tollenaere, 26/04/1966.
Lab detects that a clerical error was made, and order 123456 is not for Tom Tollenaere, but for Stefan Waegemans, 24/03/1972.
Lab sends a new bundle which gets integrated in physician software for Stefan Waegemans.
BUT: how does physician know that previously sent results for Tom Tollenaere are invalid???

TODAY this is a problem for the whole industry.  Macsys/CMA/Medina flags this as a comment to the physician in the lab report, hinting that there is incorrect data for Tom Tollenaere.  But the lab does not control (cannot control) that the bad data for Tom Tollenaere gets deleted in the physician database!
We either leave this situation as is.  Or we try to find a way to automate removal of bad data.
This may be related to Issue #18: if the bundle Id for order 123456 is always the same (so if it does not change for different versions of the lab results) then the receiver can trace back, and remove any data previously sent for that bundle.   If every revision of a lab protocol results in a new bundle number then there is no way such corrections van be automated.
A solution may be to enforce that the Id of DiagnosticReport is unique per sender - and receiver may check (and undo) any previously sent values in previous bundles for same DiagnosticReport.

As stated in #18 , it is indeed the identifier of the https://build.fhir.org/ig/hl7-be/hl7-be-fhir-laboratory-report/StructureDefinition-be-laboratory-report.html that should be persistent. (If the identifier stays the same, it is a new version of the same report).
If a correction is sent (DiagnosticReport.status), then the receiving end can take action to correct/remove the previous data.

The laboratory report is for us at both Composition level as well as DiagnosticReport and both use the same unique identifier.  Receiver may hence use Id of DiagnosticReport - example here: https://github.com/hl7-be/hl7-be-fhir-laboratory-report/tree/master/testing/Macsys/20221119


Use desktop-full version

Hi guys,
Why don't you use the desktop-full version instead of just the base. What do you think about have also this option to create the image?

@pxalcantara my idea was to keep the image size small, so it builds faster, and at the same time offer a start point to build and run docker containers for ros development purposes. That way, at least in my point of view, the base entry point fits well as it offers all the cool tools we might need to build ros applications, but installing extra ros packages would be charged to the user.
I think this approach is good, so any missing deps would be easily spotted in a fresh new workspace. But which applications do you have in mind that would take advantage of using  the desktop-full

I agree with @caioaamaral point of view, however I do not oppose to have a flag --full, or --desktop if the user wants to build with that, I do not think it will break the current setup, what do you think @caioaamaral ?

But which applications do you have in mind that would take advantage of using the desktop-full?

I agree with you, I was thinking about using the desktop-full just to make life easier with the RVIZ, GAZEBO, rqt, everything already installed because, as far as I understood, the base doesn't have these packages right?
And the flag would give just more flexibility and possibilities for the user but I agree with you that install the desktop-full will take much more time.

however I do not oppose to have a flag --full, or --desktop if the user wants to build with that, I do not think it will break the current setup

@ivan1993br @pxalcantara having a flag for it seems a great idea indeed. Overall I think we should make ros_ws more flexible for user configuration (either by using flags or through configuration files)

I'll try to make this change and learn in the process. In this case, what do you suggest? use an ARG as the DISTRO?

I'll try to make this change and learn in the process. In this case, what do you suggest? use an ARG as the DISTRO?

REP142 treats desktop-full, desktop and ros_base as an "end-user entry point". So I would suggest adding a new arg to cover which entry point we are going to use for the distro specified.
Since entry_point is already a "key word" in the docker context, I suggest using something else like "variant", so we would end with two args: distro and "variant".
ARG DISTRO
ARG VARIANT

FROM ros:${DISTRO}-{VARIANT}

keeping the distro as default to "foxy" and the "variant" default to "ros-base"

An option for this is great and @caioaamaral presented a good way of doing this. Just some comments:
The file .env is used to set up environment variables to be used inside the docker-compose file, so it serves like a config file. Unfortunately, docker-compose is quite limited in terms of configuration, so you might struggle a bit.
Let us know if you need any help! You are welcome to contribute and share your ideas!


Alternative documentation layout

Describe the problem
I really like the overall layout of the documentation provided, however, I don't find the long list of Queries & Mutations to be that useful, as this could simply be seen with introspection for example.
For our API users, it would make sense if we could group certain parts of the schema.
I know this would require manual configuration, but I think that would be acceptable for most people who would be looking for this sort of documentation.
For example, Shopify has their GraphQL documentation in groups, so everything to do with the cart is in the same place, see the image here:

Describe the proposed solution
I could see this working by having a small section in the website config like the example below
options: {
    documentationGroups: [{
        title: 'Cart',
        match: ["^cart", "CartTransform"],
        exclude: ["explicitlyExcludeThis"],
    }],
}

In this example, you can see I wanted to create a section called Cart, which would include any Queries, Mutations, Subscriptions & Objects that started with cart, and I also explicitly included CartTransform. There is also a section to explicitly include something that may match your regex.
There could also be an option to include the list of Queries & Mutations like there is currently for any items that are not included in groups, or you could decide to not show them in the navigation.
Importance
Would make my life easier

It think this is also asked for here: https://github.com/magidoc-org/magidoc/issues/58

Hi, sorry for the late reply. That seems like an interesting feature, and I'd be happy to have that as part of magidoc. However, this is a feature that would take quite some time to implement, and my time is limited recently.
If you're interested in digging into the code and implement it, I'd be more than happy to review a PR and deploy it, but otherwise, it might take quite a bit of time for me to look at this.
Thank you!

I would be happy to dig into this. Do you have a contributing guide?

Yes, it's right there : https://github.com/magidoc-org/magidoc/blob/main/CONTRIBUTING.md
Let me know if you got any questions, I'll gladly answer 🙂


remove the underscores to unify the function names

Remove the underscores in the following functions,
take_last
drop_last
take_nth
take_while
drop_while
partition_by
split_at
split_by
group_by

Thanks!


HY368 (TS0601) - cannot control through the HA

I am new to zigbee, and have integrated ZHA to control TRV HY368 (system recognised as TS0601. However, I cannot control the device, it seems that ZHA only returns the status of the TRV.

I turn off the TRV in HA, and HA shows it is on again a few second
the schedule cannot be changed in HA (can only be updated in the TRV itself)

I am using HA OS (clean install recently), and integrated ZHA. Not sure if I need to install the handler separately so I can control the TRV. Now, HA just acts as a reporter showing the thermostat info and the TRV status (on/off).
Thanks for your help

Can you please post the signature of the device (from the device card and "zigbee device signature" click in the text and the CTR A and then CTR C and past it in the issue with CTR V).

{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x0301",
"in_clusters": [
"0x0000",
"0x0001",
"0x0004",
"0x0005",
"0x0006",
"0x0201",
"0x0204",
"0xef00"
],
"out_clusters": [
"0x000a",
"0x0019"
]
}
},
"manufacturer": "_TZE200_cwnjrr72",
"model": "TS0601",
"class": "zhaquirks.tuya.ts0601_trv.MoesHY368_Type1"
}

The quirk is loaded OK.
I dont knowing the device but is shall have the basic function implanted and most on the cluster as attributes like schedule  can being setted and readed with cluster commands.
Changing mode hall being made with presets on the thermostat card looks like this (but with more presets than my Siterwell)

Its also one new quirk that is being tested with more elements in the ZHA GUI but i dont knowing how much is working OK but need more testing.

When I turn it off in HA, it become on again in a few second as shown below.

For setting the preset, it can only be "schedule". No matter any option I select, it will return to "schedule". However, I cannot edit the schedule in HA

The OnOff switch is not for turning the TRV on and off the one TRV is "always living" and is used for window open detection on or off.
If you is changing the setpoint temperature on the TRV is it updating in ZHA ?
Schedule you can setting and reading on cluster (manage cluster, MoesThermostat cluster
and you have some attribute that you reading and writing).

Presets "None" = manual mode that shall being possible changing the setpoint temperature on the device that can being blocked then the device is in Schedule mode.

Thanks. I have more understanding on it now.
I will need to explore how to turn it on or off (e.g. if I am not in the living room, I don't need to turn on the TRV), it will help to save my bill

The "tuya command" is MOES_FORCE_VALVE_ATTR = 0x046A # [0] normal [1] open [2] close  and is mapped to attribute "valve_force_state".
The normal working mode is 0 then the TRV is trying getting the temperature equal as sett.
If you is using 1 (100% open) and / or 2 (100% close) is the algorithm not working at all (its need days for "learning" how the room is reacting on  heating) but is up to you using it as one on / off switch.
If you like you can making one template switch for changing the valve state in HA.

Yes, I just get the TRV connect to zigbee (my first zigbee device), will need to have more trial. But at least I can turn it off when I go to bed LOL, and try the next day.

The best way is changing mode to one presets then the TRV is still working with algorithms.
Away, Schedule, Manual, Comfort or Eco mode / presets with one lower setpoint and letting the TRV "doing its work".
Or running in manual mode (presets none) and sending new setpoint temperature to it from HA automations.

I am thinking if we leave the valve running, and using HA autoamtion to set the target temp. 0c as closed, x for desired temp.
By the way, a silly question because I cannot locate the below.
Quote
The "tuya command" is MOES_FORCE_VALVE_ATTR = 0x046A # [0] normal [1] open [2] close and is mapped to attribute "valve_force_state".

On MoesThermostat cluster you shall having one attribute with the name "valve_force_state".
And writing 0 = normal  1 = open and 2 = close.

I try to set the preset to none in cluster but it does not work

when I get the attribute, the return to schedule

Regarding the valve_force_state, I have change to 2. When I get the attribute again after setting it, it is set as normal.
setting attribute to 2

Get the attribute again

Its looks like your device is sending status to ZHA but dont like getting commands from ZHA.
One thing can being that the TRV is is schedule and dont like getting "manual commands".
Is it possible doing changes on the device and ZHA is getting it like the setpoint temperature, other operating mode ?
My feeling is that all you is doing in ZHA is not working on the device :-((
Children lock shall only blocking local commands so shall not being any problems.

I can do the changes on device and I can get the attribute value through ZHA. Even I set the target temperature in HA, there is no effect to the device. E.g. Preset schedule 35c, current temperature 26c, I set the target temperature 20c, the radiator is still working (very hot)

configuration.yaml - add/update
logger:
  default: info
  logs:
    homeassistant.components.zha: debug
    zigpy: debug
    zhaquirks: debug

Restart HA.
Do some changes.
Put here ALL! logs as a text file.
Logs will show if those commands were sent to TRV with success.

After I restart HA, I can now control the TRV. I have no clue, I just add update the configuration.yaml and restart the HA, and things works now
log.txt
By the way, may I know where I can understand the preset (none, complex, schedule). Thank you

when I remove the logger and restart HA, I encounter the error again
log.txt
.

After the last restart of HA you is getting Request failed after 5 attempts: <Status.MAC_NO_ACK: 233> = ZHA cant communicating with the device,
And looking little more i can only finding one time ZHA have sending somthing to the coordinator:
2021-12-07 23:40:01 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20210708)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:25:8d:4f:98 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Simple_Desc_rsp: b'\x05\x00\x00\x00\x0E\x01\x04\x01\x00\x04\x00\x01\x19\x00\x02\x00\x05\x02\x05'

And ZHA is trying finding on quirk for the coordinator but Fail because endpoint list mismatch: {1} {1, 2}.
And it cant using the coordinator = very strange :-(((
If you is restarting HA is you getting the same or is it loading the coordinator OK ?

Then you is reading attributes from the TRV is ZHA using old cached information if not getting replay from the device so you can only see if its working by doing changes on the device and getting updates in ZHA.
Also then all is working OK is the TRV one sleeping end device so it can taking some seconds for it  waking up and receiving the command and it can being it need resending some time but if doing changes ok the device its updating very fast.

Definately Zigbee USB stick problems. Coordinator can't send anything to TRV.
That's the problem to solve.

@jacekk015 what coordinator is you normal using ?
I only using EZSP so i can't saying how the TI is doing the setup in the logs.

@MattWestb Sonoff ZBBridge with Tasmota and NCP 6.7.8
I've read recently that it isn't best - actually it drops sometimes serial Wifi connection and need to restart itself.
Got also cheap Sonoff USB CC2531 stick
Also, according to Z2M recommendation I've bought Slaesh's CC2652RB stick with 3dBi antenna, which should be powerfull device.
https://www.zigbee2mqtt.io/guide/adapters/#recommended
Was testing Z2M with it, but I start to think of replacing ZBBridge with CC2652RB, so with USB it won't drop connection.
And I will have a coordinator in home.
Repeaters will need to reversally transfer signal from home to outside - I have a few IKEA Zigbee white bulbs outside of home. They are all routers so it works with no problem.

I have 2 CC-2531 but i dont using then now only in the beginning of the Zigbee eventure.
I have one LIDL ZBGW and one tuya ZBGW that is hacked and one LIDL LED Light strips controller with one nice EFR32MG21 that is working very well. But for production i using IKEA modules "Billy EZSP" that working very good.
Also using tuya ZBGW and  Billys for sniffing Zigbee traffic and its working great.
One good thing with EZSP if you have more than 2 routers in your system is blocking the coordinator having direct children with:
    ezsp_config:
      CONFIG_MAX_END_DEVICE_CHILDREN: 0

The SonOff ZBB is having one very good Zigbee chip but its not calibrated in the factory and need the original signed firmware for working well with sleeping end device and the hardware is no so good (both the Zigbee module and the Sonoff PCB) is having problems.
But many user having no problem with them.
Back to this case i dont knowing if its one firmware problem i the coordinator or if its not liking having  only one end device and no routers.
If having some Zigbee routers (lamps or outlet) it can being good adding some so the network is "living" then the coordinator is offline or being restarted.

CONFIG_MAX_END_DEVICE_CHILDREN

Can you explain more that setting??
I'm kind of happy of ZBBridge and don't have much problems - still thinking about it.
Right now I've bought a cheap tablet from outlet for HA central steering.

First you need have at least one router added in your system (if not you cant adding any devices) and adding this in your HA config:
zha:
  zigpy_config:
    ezsp_config:
      CONFIG_MAX_END_DEVICE_CHILDREN: 0

You can having other then 0 but if you have 3 or more routers around the coordinator is better blocking it completely.
Then you is opening the network for joining the coordinator is also open but if the joining device is one end device is the coordinator kicking it out and its trying with the next router.
I was killing one of my router by mistake in the small (TRV) test network (it was only having one router) and one end device was doing one checking and was not finding its parent and was trying the coordinator like one insane but it was not accepted but then the router was back online it was jumping back and working OK (i have adding 2 more routers now for better working test network).
I was 3 weeks on holiday in Spain and was taking the laptop with (its have my 2 test network in docker container) and after coming back and connecting the USB and starting the test HA all device was flagged online under one hour (80% sleeping end devices) then they have not losing the connection to the network then the coordinator was off line and the routers still working OK.
Sonoff ZBB can being very bad with most end device (normally IKEA controllers is draining there battery in 48 hours) and the best is running it with the factory EZSP <IP_ADDRESS> and have router around and if possible blocking it having direct children but still not 110% guarantee not triggering the bug in IKEA firmware.
The Sonoff Zigbee module looks being not so stable in the frequency (have no metal shield for the RF parts) and end device is having problem tuning frequency right in very short time they is not sleeping but routers is not having that problem then thy can adjusting the frequency all the time to all neighbours.

I have one IKEA repeater and one IKEA outlet as a routers.
I can reprogram my CC2652RB to router firmware and stick it somewhere.
2 zigbee dimmers 230V are comming to me, probably tomorrow.
IKEA outlet behaves strange since I've started to add TRVs.
It don't want to pair one more TRV and it has only 9 children.
The connection is made ZBBridge -> repeater -> outlet - > TRVs

The last i have getting figuring out ;-))
It can being that IKEA have putting one limit in the Zigbee stack (nothing is infinite with resource in enabled devices) in the device but i have not hitting it then i have pretty much routers that working OK (after putting my HUE lights in the black box).
I think IKEA is not using maximum output power in the signal repeater firmware then its more stable (RF and CPU) if not  heating the PA part of the chip but they is not only one routes then IKEA have more magic code for there blinds in it that we dont knowing how its working (they is binding the window clover cluster to one group with Light Link commands)  that we cant do with normal Zigbee commands.
The recommended from Sonoff is the <IP_ADDRESS> and if you like flashing  it its here https://github.com/arendst/Tasmota/tree/development/tools/fw_SonoffZigbeeBridge_ezsp (signed one for not hacked ZBB) but also dont change somthing that  is working OK you is knowing ;-)

I just reprogrammed Slaesh CC2652RB and it was added to IKEA outlet with no problems.
Maybe they just block end devices, a limit.
Maybe those dimmers won't be needed, but if they come I'll try to automate the lights in daily room.

Maybe those dimmers won't be needed, but if they come I'll try to automate the lights in daily room.

😭
If the Dimmers i tuya is normally having good chips (Silabs MG1X or 21 series) and good hardware with exceptions.

I am trying to reisntall the home assistant OS and everything. Hope it will work.
If it is the Zigbee stick issue, should I buy a new one or an Ikea switch/lamp will work for me? For a zigbee stick, any recommendation? I may then put sonoff stick as a router/repeater.

Deleting and reinstall ZHA is one good test.
The new generations TI sticks shall working OK with ZHA but have some strange problems.
I think you shall testing upgrading the firmware before getting one new stick if you cant getting it working OK also after restarting ZHA.
You can also trying stopping HA and taking the stick out and waiting one minute and putting it back and starting HA (or if you is using one PI power it off and removing the stick).
I think baying one cheap light (IKEA 8€) or outlet (Not OSRAM ! ! ) and look is the stick like talking to it after restart of HA.
Sorry for jacekk015 and my writing little off topic things that happens with some teck freeks with both hard and software versions :-))

after reinstalling everything, it looks working now. Will keep testing in the coming few days, and will further update.
Heard that previous discussion, it is around 20 devices support, and if we need to have another stick or what to support >20 devices? Thanks.
For light, do you guys buy a smart wall switch buy the individual bulbs? As lighting in a living room will contain more than one light bulb, it may seem costly if I buy 2-3 IKEA light bulbs. Alternatively, I am thinking a smart wall switch
Many thanks for all supporting me. Is there a supported product list so we can buy the compatible product? Thanks.

Great don and hope is staying stable !!
If you is having one CC-2530 or CC-2531 its normally getting large problems is having more than 20 devices and 50 its cant doing anything useful.
You new Zigbee stick with new TI chip shall not having any problem with 100 or more device if adding good routers and not mesing bad devices that messing al up.
With light is good if the switches can doing group binding so the light is working also then the host system is not online.
Good light switches is not easy finding (and if then is very expensive).
IKEA controllers was working well but can draining batteries and most of them (not the new styrbar) have loosing group binding (but can doing device binding) with the last firmware update.
tuya is having some nice dimmer modules you can using in the wall and having "normal" switches that can being operated also if the host system is down but need doig little electrical connections in the wall box and having not so deep switches.
US have some very nice wall switches but i dont knowing how good they is working.
If you like have autonome light you shall not baying tuya TS0601 devices then they only working "online" (forgive my jacekk015  !!)
Also many "normal" switches / remotes is sending "clicks" and not commands for lights and need host system online ofr working.
Only large no go is OSRAM plugs that is corrupting packages and making problems with all devices in the network.
Philips HUE is very nice and expensive but also have some bad sides like they is not reporting there status and dont aging out children and neighbours that can making problems.
Look more how your TRV is working and if you like you can testing the new quirk that is adding more functions in ZHA GUI but its need testing and and likely some fixies for working 100% OK https://github.com/zigpy/zha-device-handlers/issues/1178#issuecomment-980294492

Thanks Matt, I may go for the light bulb then, hopefully IKEA will provide some discount in its winter sale next week. By the way, what is autonome light?
Besides, I find a funn thing. Even the TRY is set as schedule, with target 26c, but it is still heating til 27.5c (still heating). I am not sure if it is the TRV fault, or we can do some changes in the cluster. Do you have any hints?

Most TRVs have algorithms with hysteresis so they can still heating little after being "ON the setpoint" and also the algorithm need learning ho the heat demand for the room is so is not over or under shutting then start heating.
My Kitchen TRV is normally heating very little but more after have open the balcony door for fresh air and going down then its have gettin the temperature OK (normal 10 cm of upper part warm and 100% cold back to the town).
My TRVs dont have valve state so i cant saying how much its open but the i can see the calculated heating / idle and by touching the heater.
Zigbee light standard you can binding one or more remotes to one Zigbee group.
Then putting the lights in the group and all is working also then HA is completely dead.
I saying autonome = then its working without host system.
Some (most) switches cant doing binding (they is HA switches not light switches) so is not working then your system is down.
I have 2 killed SD-card on my R-PI and i like that the light is working then i coming home in the night.
I like baying kits from IKEA with one light or outlet with remote so can using them with my christmas light and plants lights and my neighbours is having problem getting there light on and off then the sun is rising and falling :-)))

Yes, you are right, it seems it will be above 2.5c. Finally, it seems working. When I need it, I set the preset to Schedule, or away when out.
I am thinking if ZHA work with the IKEA gateway, so I can control the light even HA is down. If not, zigbee stick down (why HA down) will need to overall light failure.

If you have not setting any Schedule i think (= not knowing) the TRV is having some default one in its firmware after reset and paring and its can being little tricky then you must do the Schedule clocal on the device or on cluster or its dong its "own things" .
And Away mode need extra info for working in the "Moes" TRVs.
I think the easiest is putting down the setpoint in ZHA or do it with automations in .HA.
If you feel that the communication is working OK with the TRV you can trying one updated quirk that have more GUI implanted in ZHA but its still missing functions and need more tests and the "old one" you is using is stabile.
You can looking what @jacekk015 have doing here https://github.com/zigpy/zha-device-handlers/issues/1212#issuecomment-990213781 anf feel fre to testing if you like dut dont forgetting its cold outside if its not working OK ;-))

I have tried a few days and the device is so funny that it will change to "schedule" preset random from "away". I am thinking to write a script to turn on/off the valve, and letting the preset set to "schedule". So the device will not heat the room when no one is at home. Any hint I can start at? I can write some python/ script to make it work but I am quite new in smart home area.
For @jacekk015 work, will have a look.

The problem is intermittent, it can be resolved after reconnect. I am thinking if my USB stick is defective. May I know if there is any USB stick recommendeded?


Minor digits space pattern fix

The space character   wasn't allowed on patterns when it was used after the numerals (eg. on USD 123.45).
This PR adds some test cases with spaces and fix this behavior.

Thanks for the patch.
Sorry it took so long to merge but I'm not seeing the emails on this project from github for some reason.
I will push this in 1.4.0-beta-3

The beta has been pushed.

Thank you!


Better size tests (including optional params!)

Reviewable now.
Will need to wait for the appropriate wdl4s and cromwell PRs before merging.

👍

:+1:


Basic Cryptarchia fuzz test

This contains a basic fuzz test for Cryptarchia. This doesn't cover all possible cases. Also, this doesn't check post-conditions deeply, such as fork selection. This only checks if block headers are accepted and added to the chain without any error in some cases.
Before we proceed further, I'd like to draw a line here and move on.
NOTE:
Unlike Carnot fuzz, I added Cryptarchia fuzz test under the /tests because the entire Cryptarchia is split into multiple crates (engine, ledger, and core). At the beginning, I tried to write fuzz tests for each crate but end up thinking it's not beneficial than I thought.
P.S.
I'm been thinking about which post-conditions we can add without replicating too much logic from the original code to the test code. It's not simple than I expected. We may not really need to have post-condition checks. I'll think about it.

I'll reopen this as a new PR


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Initial Greek translation

load first run of Greek translations.

Coverage increased (+0.01%) to 79.79% when pulling 482e5dee4fa0412691b0c3fa43a66dc231adeba6 on feature-greek-translations into 68379010c0c6c950ab20e8b06f0ea9734ced52b3 on staging.


CES-9058 -- Updated code and templates with latest supported RHEL ...

…release (7.5)

rhel7 doesn't seem to be a valid os-variant , we probably should be using "rhel7.5"
see http://libguestfs.org/virt-builder.1.html
--os-variant is highly recommended, because it will present optimum devices to enable the guest to run most efficiently. To get a list of all variants, do:
osinfo-query os


Source code of the page contains class=undefined

You may have a look at this very useful library: https://www.npmjs.com/package/classnames

i fixed the bug and it's not related to emotion js library.


Create dataset loader for IJELID

Dataloader name: ijelid/ijelid.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?ijelid

Dataset
ijelid

Description
This is a code-mixed Indonesian-Javanese-English dataset for token-level language identification. We named this dataset as IJELID (Indonesian-Javanese-English Language Identification). This dataset contains tweets that have been tokenized with the corresponding token and its language label. There are seven language labels in the dataset, namely: ID (Indonesian)JV (Javanese), EN (English),

MIX_ID_EN (mixed Indonesian-English), MIX_ID_JV (mixed Indonesian-Javanese), MIX_JV_EN (mixed Javanese-English), OTH (Other).

Subsets
-

Languages
ind, jav, eng

License
Creative Commons Attribution Non Commercial Share Alike 4.0 (cc-by-nc-sa-4.0)

Homepage
https://github.com/fathanick/Code-mixed-Indonesian-Javanese-English-Twitter-Data

HF URL
-

Paper URL
https://peerj.com/articles/cs-1312/

Self Assigning this, ETA btw EoW #self-assign

#self-assign

#self-assign


[E2E] create overlapping strategy

[x] Fix existing test
[x] Add screenshot
[x] Add assertion on budget caculation

close in favor https://github.com/bancorprotocol/carbon-app/pull/979


Add support configuring rust-analyzer

There are a bunch of configurations for rust analyzer, that can be set using lsp messages, I guess that this can be set using kak-lsp --request, but I couldn't figure out what's the method or format for the configuration.
Maybe would be nice to add a configuration key in kak-lsp.toml that pass that to the lsp, but I still don't know if this configuration method is something standard of the protocol or if it's an adhoc method of rust-analyzer.
I found out this, since I wanted to use rust-analyzer.cargo.loadOutDirsFromCheck to get better completion in projects that generates code using a build.rs script.

I think you may be looking for the lsp_server_configuration and/or lsp_server_initialization_options options. I haven't tested it myself, but something like:
set-option global lsp_server_initialization_options rust-analyzer.cargo.loadOutDirsFromCheck="true"

...might be what you want.

You can add this to kak-lsp.toml with a snippet like this (something similar is in the default config for rust-analyzer actually).
[language.rust.initialization_options]
cargo.loadOutDirsFromCheck = true

lsp_server_initialization_options can be used to override that dynamically.

Thanks! that worked, didn't realize that was added to the default kak-lsp.toml how to configure rust-analyzer


Use artifacts from an artifact repository

Is there any objection to grabbing our artifacts (.jars, .aars) from jcenter or maven central?  How about uploading the uribeacon library to one of these?
Right now we have a bunch of binaries in our source control, which is not ideal.

Great idea! You probably want to propose it in the UriBeacon repo.


Update README.md

Add Rapido software in the list of softwares using Vue.js.

Hello, Rapido is a software to make its own website. Could you add it in the list of software using Vue.js ?
Nothing else is necessary.

@InfoLibre I will add, we have the rules for adding described in CONTRIBUTING
In your case, you need to move according to the rule to the very end


refactor(account): keep all accounts in memory

Description of change
Instead of loading the account from storage and saving on each operation, we'll keep the account references stored on the AccountManager struct, wrapped on Arc<RwLock<>> for thread safety. This prevents race conditions between e.g. the polling system and the transfer API, where account data can be lost.
Type of change

Refactor

How the change has been tested
Unit tests + faucet.
Change checklist

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have checked that new and existing unit tests pass locally with my changes

Next steps (separate PRs):

remove anyhow usage
add AccountManager builder
stronghold refactor


source-build-oci-ta: fix non-existent filepath

The oci-ta variant of the task doesn't have the /var/source-build volume
mount
Signed-off-by: Adam Cmiel<EMAIL_ADDRESS>

This will fail CI until https://github.com/enterprise-contract/hacks/pull/106 is merged and a new tash released


Detect SlowBuffer on Node v0.10

It turns out that slowBuffer.slice() returns a Buffer instance, which we can use to get access to isBuffer method.
In this patch, I am fixing isBuffer to correctly detect SlowBuffer on Node v0.10 and adding Node v0.10 back to supported engines in package.json
@feross please review
@phated FYI, this should fix #2 you have reported earlier this year

The tests are passing for me on v0.10, v0.12, v4 and v6.
Now I do realise that both v0.10 and v0.12 are close to end-of-support. However, we are not there yet and there are way too many people that are still running on v0.10. Therefore I think it is worth to fix this module to work correctly on Node v0.10.

Fixed is-buffer for node 0.10 and released it as 1.1.4.

Fixed is-buffer for node 0.10 and released it as 1.1.4.

Awesome, thank you @feross!
👏❤🎉

👍 👍 👍


WIP Selective staging support

Repository stageLines method allows staging of selected lines.  Also moved some commonly used test functions to a test utils file.

Really wish this was two separate PRs.  I'd recommend making the test utils a folder and making the nested functions modules inside that.


feat: split traits from capabilities

Release Note
NONE

If you think this is okey, please merge and the original PR will be upgraded as well, thanks!

I was applying the required changes on Camel K side and I noticed we already mix the concept of capability and trait in the project. So, at this stage your original work makes sense. I'm closing this and I'll follow up with your original work.


Overlay Networking Tutorial Docs

Hi,
The fourth tutorial from Overlay Networking Tutorial https://docs.docker.com/network/network-tutorial-overlay/3 it is about 2 standalone containers communicating in a bridge network type.
Shouldn’t be about one swarm service communicating with a standalone container through a overlay network?
Thank you,
Marian M.
File: network/network-tutorial-overlay.md, CC @gbarr01

Taking a cursory look at this, I would say that you're right. The section title is Communicate between a container and a swarm service, but it actually teaches you how to use overlay networks between two containers.
I think you can use the info in the article to figure this out, but to get you going,  the trick to make a service and a container talk it to create the overlay network with:
docker network create --driver=overlay --attachable test-net

That way, both services and containers can attach to it.

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Calico is not is no longer capable of disabling source/destination checks on EKS nodes

The version of calico we used was 3.19.1 and the manifest was calico-vxlan.yaml for EKS.
We first observed connectivity issues, like pods incapable of resolving DNS or just communicating with other pods in different nodes.
Also, we noticed that some calico-node had a warning message saying
felix is not ready: readiness probe reporting 503
We used to have this issue before and previously reported it and decided to disable the following settings
FELIX_AWSSRCDSTCHECK
It somehow mitigated the warning message but we still had connectivity issues.
We tried to upgrade calico to 3.20 which suppose to have fixed the issues regarding awsSrcDstCheck, without success.
Expected Behavior
Pods should be able to communicate to other pods hosted in a different node or having internet connectivity.
Possible Solution
We don't have this issue when creating the cluster using eksctl v0.50.0
According to eksctl release note, version 0.52.0 no longer add vpc-cni which remove the following policy AmazonEKS_CNI_Policy previously attached to nodegroup.
As a result, calico-node is no longer capable of disabling source/destination checks on nodes.
It is possible to activate vpc-cni in eksctl, but it will create a dedicated role associated with aws-node service account.
Steps to Reproduce (for bugs)
Create an EKS cluster using eksctl > 0.51.0.
Install Calico networking using calico-vxlan manifest (version 3.19.1 to 3.20.0).
Try to make pod communicate to a pod in a different node.
Your Environment

Calico version 3.19.1
Kubernetes (EKS) version 1.19
eksctl version 0.63.0

Thanks @theophileds, sorry for the late response. Sounds like we will need to update our docs on projectcalico.org and probably on amazon.com and maybe the EKS workshop.
We'll need to add different steps for EKS with Calico CNI installation too.

So just to confirm, this setting
kubectl -n kube-system set env daemonset/calico-node FELIX_AWSSRCDSTCHECK=Disable
no longer works and we should configure it on the AWS Instance side directly?

I've just retested this on the latest eksctl - v0.86.0 at the time of writing - and Calico has no trouble configuring source dest checks, so it seems the necessary IAM permissions have been re-added to the nodes and I think this can be closed.


Switch to AR5 inputs?

Should we change all the sample datasets to be built from the AR5 data before we do a "final" calibration?

Might not be a bad idea, although the calibration should be essentially
using historical data (to get the parameters at targets), so it shouldn't
really matter, although I realize we have been running the calibration
through to the transient and scenario. Unless, I missed something?
On Wed, Mar 29, 2017 at 9:23 AM, tobey<EMAIL_ADDRESS>wrote:

Should we change all the sample datasets to be built from the AR5 data
before we do a "final" calibration?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ua-snap/dvm-dos-tem/issues/281, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACeQ5y3g-aEyT72tEZ4K1LFC5CkSc1FHks5rqpONgaJpZM4MtS2A
.

--
Eugénie Euskirchen
Associate Research Professor
Institute of Arctic Biology
University of Alaska Fairbanks
Fairbanks, AK 99775
phone:<PHONE_NUMBER> (office)
907-687-3864 (cell)
web: sites.google.com/a/alaska.edu/e-euskirchen/home

Oh thats right, I guess the AR5 only relates to the projected data, so it shouldn't make a difference for us until running through the scenario stage.
The eq stage, which we are using for calibration uses the historic climate, specifically the average of the first 30 years of the historic period.

That's correct - it should just be the first 30 years of the historical
period.
On Wed, Mar 29, 2017 at 1:49 PM, tobey<EMAIL_ADDRESS>wrote:

Oh thats right, I guess the AR5 only relates to the projected data, so it
shouldn't make a difference for us until running through the scenario stage.
The eq stage, which we are using for calibration uses the historic
climate, specifically the average of the first 30 years of the historic
period.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ua-snap/dvm-dos-tem/issues/281#issuecomment-290237131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACeQ57pqHspwXJh5_YPN_stPgcSaX99_ks5rqtHygaJpZM4MtS2A
.

--
Eugénie Euskirchen
Associate Research Professor
Institute of Arctic Biology
University of Alaska Fairbanks
Fairbanks, AK 99775
phone:<PHONE_NUMBER> (office)
907-687-3864 (cell)
web: sites.google.com/a/alaska.edu/e-euskirchen/home

I agree, it would be great to produce the AR5 input files. Tobey, let me
know when they are produced, there are a few tests that I'd like to run
on the climate data and CO2 data
Thank you!
Helene

Hélène Genet, PhD
Institute of Arctic Biology
University of Alaska Fairbanks
902 Koyukuk Drive
Fairbanks, AK 99775 - USA
Phone: +1<PHONE_NUMBER>
Email<EMAIL_ADDRESS>Skype: helenegenet
On 3/29/17 1:49 PM, tobey wrote:

Oh thats right, I guess the AR5 only relates to the projected data, so
it shouldn't make a difference for us until running through the
scenario stage.
The |eq| stage, which we are using for calibration uses the historic
climate, specifically the average of the first 30 years of the
historic period.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ua-snap/dvm-dos-tem/issues/281#issuecomment-290237131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtUl4tDXqVw7vcBT_GsPGm-EIFnoyo0ks5rqtHygaJpZM4MtS2A.


implement constant lod mapping in tiles

https://github.com/iTwin/imodel-native-internal/pull/91
https://github.com/iTwin/imodel-native/pull/251
Implements the changes needed for extracting constant lod texture mapping properties from the tiles and using them for display.

Please link your PRs as described here (note, it actually require you to link to a branch, not a PR).

We will want to update NextVersion.md for 4.0 to describe this new feature and the APIs to create a material that uses it.