Add Awesomplete Library to CDNJS

It would be great to have this hosted on CDNJS, instructions are available here: https://github.com/cdnjs/cdnjs

You can just PR it in there :)


Add Article to JetNews

Add Article to Jetnews and slight adjustment to colors applied to AppBar

updated Android Studio article for JetNews


Compatibility with higher versions

Problem: The following parameters are specified in module.json
"compatibility": {
    "minimum": "11",
    "verified": "11",
    "maximum": "11"
}

compatibility.maximum indicates that this module cannot be installed on a foundry vtt version higher than the one specified.
But if you take your source code, everything works correctly on v12.
Proposal: Could you remove this parameter so your module can be used on a higher version?

Damn, someone actually uses this module?

I use this solution to support a more powerful whisper because my players might not notice the whispers in chat.


Remove sqlite. Probably in favor of bincode

As said in #134 , sqlite cannot handle integers larger than 64-bits
the short term solution was to store strings instead, and doing all the math in Rust. which means we need to read -> calculate -> write, meaning two separate queries, which is not only ugly, but not safe in concurrent updates (which we don't have right now, but it's still unconfortable tech debt to have)
I'm now thinking of keeping it simple and using something like bincode to persist all data.
Most likely: keep one bincode file per chain / address, which makes it easier to read/write individual accounts, and also enables some form of parallelization

Btw, if you're going to consider building this for mobile, I'm not sure about bincode, but sqlite is supported by all platforms if I'm not mistaken.

bincode is just Rust serialization/deserialization code. it's fully platform agnostic. all I need then is some way to persist that to files

We'll find out then 😁

After medidating on this subject, I decided to stick with sqlite for now. mostly due to the pure confusion that is the embedded db ecossystem in Rust (too many options, none of them seem much better than the next. and ultimately queries would become more complicated since none of them are SQL


my proposed changes

To test I was doing:
$ python cite_seq_count/__main__.py -R1 tests/test_data/fastq/correct_R1_with_cell_barcode_mm.fastq.gz -R2 tests/test_data/fastq/correct_R2.fastq.gz -t tests/test_data/tags/pass/correct_3.csv -cbf 1 -cbl 16 -umif 17 -umil 26 -wl tests/test_data/whitelist.csv
Counting number of reads in file tests/test_data/fastq/correct_R1_with_cell_barcode_mm.fastq.gz
Writing chunks to disk
Reading reads from files: tests/test_data/fastq/correct_R1_with_cell_barcode_mm.fastq.gz, tests/test_data/fastq/correct_R2.fastq.gz
Mapping reads
Mapping done
Correcting barcodes
Barcodes corrected
Traceback (most recent call last):
  File "/home/ldelisle/Documents/mygit/CITE-seq-Count/cite_seq_count/__main__.py", line 208, in <module>
    main()
  File "/home/ldelisle/Documents/mygit/CITE-seq-Count/cite_seq_count/__main__.py", line 101, in main
    final_results=final_results,
UnboundLocalError: local variable 'final_results' referenced before assignment

3.11 ATM, haven't updated the setup file.
Sent from my phone
On Wed, Nov 22, 2023, 22:13 Lucille Delisle @.***>
wrote:

@.**** commented on this pull request.
In .travis.yml
https://github.com/Hoohm/CITE-seq-Count/pull/185#discussion_r1402715936:

@@ -19,11 +19,10 @@ install:

conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda

conda install -c bioconda -c conda-forge snakemake

conda create -q -n snakemake snakemake>=5.3.1 python=3.6

conda create -q -n snakemake 'snakemake>=5.3.1' 'python>=3.10'

Aaah. But then, which python is used? It was written python3.6 setup.py
install...
—
Reply to this email directly, view it on GitHub
https://github.com/Hoohm/CITE-seq-Count/pull/185#discussion_r1402715936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJVO2F2VZUNKPJSE2MRQUTYFZTGJAVCNFSM6AAAAAA7WQQ63GVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONBVGM4DGOJWGQ
.
You are receiving this because you commented.Message ID:
@.***>


[AKS] remove "ports" property from managed cluster agent pool

This was mistakenly copied from ContainerServiceAgentPoolProfile, but was never supported by AKS.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go

@sarangan12 Can you help to review this PR?


Automatically generate getters and setters for public fields of opaque types

Changes
Please list issues fixed by this PR here, using format "Fixes #the-issue-number".
Checklist

[ ] An issue to be fixed by this PR is listed above.
[ ] New tests are added to ensure new features are working. Please refer to this page to see how to add a test.
[ ] ./frb_internal precommit --mode slow (or fast) is run (it internal runs code generator, does auto formatting, etc).
[ ] If this PR adds/changes features, documentations (in the ./website folder) are updated.
[ ] CI is passing. Please refer to this page to see how to solve a failed CI.

Remark for PR creator

./frb_internal --help shows utilities for development.
If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

On dev 35 I just used a macro to loop through my properties and define getters for my classes. I love the getters/setters are now automatically generated by frb. Quick question while following the properties documentation to overwrite the default getter/setter for a custom object. Is there a way to disable only setter generation for the struct? Or better yet what would be causing this error as I am seemingly following the same structure as the documentation?

Update: I figured out to remove the pub from the id in the struct and manually define the getters/setters but the generation on the getter side is returning void for some reason:
use surrealdb::sql::{Thing, thing};

#[derive(Serialize, Deserialize, Debug, Clone)]
#[frb(opaque)]
pub struct ShardModel {
    id: Thing,
    pub sequence: u16,
    pub name: String,
    pub description: Option<String>,
    pub collections: Option<Vec<CollectionModel>>,
    pub notes: Option<Vec<NoteModel>>,
    pub tasks: Option<Vec<TaskModel>>,
}
impl ShardModel {
    #[frb(sync, getter)]
    pub fn id (&self) -> String {
        self.id.to_raw()
    }
    #[frb(sync, setter)] // Still has: "duplicate definitions with name `id` duplicate definitions for `id`" error.
    pub fn id (&mut self, id: &str) {
        self.id = thing(id);
    }
}

// Rust type: RustOpaqueMoi<flutter_rust_bridge::for_generated::RustAutoOpaqueInner<ShardModel>>
@sealed
class ShardModel extends RustOpaque {
  ShardModel.dcoDecode(List<dynamic> wire)
      : super.dcoDecode(wire, _kStaticData);

  ShardModel.sseDecode(BigInt ptr, int externalSizeOnNative)
      : super.sseDecode(ptr, externalSizeOnNative, _kStaticData);

  static final _kStaticData = RustArcStaticData(
    rustArcIncrementStrongCount:
        RustLib.instance.api.rust_arc_increment_strong_count_ShardModel,
    rustArcDecrementStrongCount:
        RustLib.instance.api.rust_arc_decrement_strong_count_ShardModel,
    rustArcDecrementStrongCountPtr:
        RustLib.instance.api.rust_arc_decrement_strong_count_ShardModelPtr,
  );

  List<CollectionModel>? get collections =>
      RustLib.instance.api.crateDatabaseModelsShardModelGetCollections(
        that: this,
      );

  String? get description =>
      RustLib.instance.api.crateDatabaseModelsShardModelGetDescription(
        that: this,
      );

  String get name => RustLib.instance.api.crateDatabaseModelsShardModelGetName(
        that: this,
      );

  List<NoteModel>? get notes =>
      RustLib.instance.api.crateDatabaseModelsShardModelGetNotes(
        that: this,
      );

  int get sequence =>
      RustLib.instance.api.crateDatabaseModelsShardModelGetSequence(
        that: this,
      );

  List<TaskModel>? get tasks =>
      RustLib.instance.api.crateDatabaseModelsShardModelGetTasks(
        that: this,
      );

  String get id => RustLib.instance.api.crateDatabaseModelsShardModelId(
        that: this,
      ); // Notice its not a "Get" method

  void set id(String id) =>
      RustLib.instance.api.crateDatabaseModelsShardModelId(that: this, id: id); // Not a "Set" method

  void set collections(List<CollectionModel>? collections) =>
      RustLib.instance.api.crateDatabaseModelsShardModelSetCollections(
          that: this, collections: collections);

  void set description(String? description) =>
      RustLib.instance.api.crateDatabaseModelsShardModelSetDescription(
          that: this, description: description);

  void set name(String name) => RustLib.instance.api
      .crateDatabaseModelsShardModelSetName(that: this, name: name);

  void set notes(List<NoteModel>? notes) => RustLib.instance.api
      .crateDatabaseModelsShardModelSetNotes(that: this, notes: notes);

  void set sequence(int sequence) => RustLib.instance.api
      .crateDatabaseModelsShardModelSetSequence(that: this, sequence: sequence);

  void set tasks(List<TaskModel>? tasks) => RustLib.instance.api
      .crateDatabaseModelsShardModelSetTasks(that: this, tasks: tasks);
}

crateDatabaseModelsShardModelId:
  void crateDatabaseModelsTaskModelId(
      {required TaskModel that, required String id, dynamic hint});

Hi, what about using #[frb(sync, setter, name="id")] fn set_id() {}

Could you please create a new issue? Then we can discuss it further. For example, one way is to enhance it to auto recognize and remove get_ or set_ prefix.


fix passing qt5 version to pythonInterpreters

fixes c88f3adb1793cd3b007baff0292cf1fa8d0ab1e6, which resulted in
qt 5.15 being used in pythonPackages, despite 5.14 being
declared, and adapts qutebrowser accordingly.
'callPackage { pkgs = pkgs // { … }; }' does not work, because
it does not take into account the recursive evaluation of nixpkgs:
pkgs/development/interpreters/python/default.nix calls
pkgs/top-level/python-packages.nix with callPackage.
Thus, even if the former gets passed the updated pkgs,
the latter always gets passed pkgs.pkgs.
For the change in the qt5 version to apply consistently, 'pkgs.extend'
must be used.
qutebrowser only used the right qt5 version (5.15) because all
pythonPackages used it anyway.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I was looking at the number of allocations in https://hydra.nixos.org/job/nixpkgs/trunk/metrics/metric/nix-env.qa.allocations and suspect that the use pkgs.extend bumped the evaluation size of 133MB.
I left a comment on the commit itself as well but probably more people should look into it.

I was looking at the number of allocations in https://hydra.nixos.org/job/nixpkgs/trunk/metrics/metric/nix-env.qa.allocations and suspect that the use pkgs.extend bumped the evaluation size of 133MB.

Why does the chart end on Oct 8? If you know the allocation size after edac19f166f18c65a2aede398463b71f219ce3a6, you know if the pkgs.extend here can be responsible for the increase.
Nevertheless, pkgs.extend is probably the only way to consistently override package sets consistently in subscopes like pythonInterpreters, and qt5 versions must be consistent in a scope.


Treat await as an almost-unary operator.

Making pipe behave just like application seems pretty unlikely. First -> has deep binary operator behavior, including associating to the left on a->b->c, and mixes in specific ways with other operators. Instead application lives on a different level entirely with no issues of how to treat specially the right-hand-side which is enclosed in parens (and lives in a radically different place in the call stack of the parser).
The await operator is essentially a unary operator. After all it takes one argument. It is also treated as such in JS. Some expected behaviours are that await 2 + await 3 just like -2 + -3 is expected to mean (await 2) + (await 3). Or: await getName() ++ await getSurname().
The issue raised by people who have tried await is in combination with pipe: the desired outcome is that await a->b is parsed as await (a->b). However notice that - a->b is parsed as (-a)->b, so that's a difference.
So on one side, one would like to have await behave like other unary operators. On the other side one wouldn't.
As a compromise, this PR treats await as an almost-unary operator. In the sense that it binds more tightly than any "real" binary operator such as + and **, but not -> and ..
This introduces some lack of uniformity, and requires special-casing parts of parsing and printing.

@cknitt this should be ready to go. Take a look: it should address the last comment on printing.


Split kresus and connector (provide an API)

Hy, I created a separate project for connector. It provides a REST API so it could be used by many other projects than kresus. You can try it if you want (not production ready yet).
https://github.com/laibulle/kon

Hi! I like the idea of offering an API from Kresus. However, having a separate app in Python won't work for the Cozy use case, as Cozy isn't (yet) able to start and run python applications.
Maybe we could add this API directly in Kresus, instead? Or move the entire Weboob environment to Konnectors, so that all apps can reuse Weboob features?
/cc @frankrousseau @ZeHiro for thoughts

Well ;oving weboob from kresus to konnectors would be nice, as weboob is more of a import data tool, and would offer a lot of capabilities to cozy, with "noting" (except a lot of integration).

Actually the first idea was to move the entire Weboob environment to allow everybody reuse Weboob features.
I did that because I created a personal project which is something similar to kresus but it do not use cosy.
I think that kresus is great and I would contribute to it but I can not work with coffee script and I had some issue with cosy so I don't want to use it anymore.

@laibulle I've got some great news for you: with my latest improvements, kresus is not bound to cozy anymore (I need to write a tutorial about that). Regarding the coffeescript, I'm planning to remove it entirely from my code base, as I find more and more that it makes things harder for everybody.
So if you're looking for easy contributions, feel free to replace the server coffee files with equivalent JS files (obviously not the JS files generated by the CS compiler, :)).


Pool fixes for #300

As per #300:

[x] Change BaseTokenizer and TextSource to have a mutable StringBuilder and use it to check if the class is disposed.
[x] Change CssBuilder to not use pooled resources after they've been released to the pool.

In order to facilitate making the StringBuilder mutable, I figured it'd make more sense to make it a private settable property since it was protected. This required renaming the variable to StringBuffer). Site note: I suggest changing the _events variable to a property.
Let me know what you'd like to do with the ...State classes and I'll be glad to either add the changes to this PR or submit a new one.

Did you measure the perf? Is there any loss that the pooled StringBuilder is now accessed via a property? Usually, the compiler should optimize the trivial function call away, but I always like to confirm this myself.

@FlorianRappl Automatic properties should have negligible performance because they should be inlined by the JIT compiler.
But, just in case...
[Test]
public void Performance()
{
    int times = 100000;

    var sw = new System.Diagnostics.Stopwatch();
    sw.Start();
    for (int i = 0; i < times; i++)
    {
        using (var source = new TextSource("<!doctype><title>Hello World</title>
Goodbye World
"))
        using (var tokenizer = new HtmlTokenizer(source, null, HtmlEntityService.Resolver))
        {
            var token = tokenizer.Get();
            Assert.NotNull(token);
        }
    }
    sw.Stop();
    Console.WriteLine(sw.ElapsedMilliseconds + "ms");
}

Running in Release 10 times each for property/field:

Yep, as I said I know that automatic properties should inline, but again: I always like to confirm this to see that no odd behavior has been introduced by anything.
BTW:
var sw = new System.Diagnostics.Stopwatch();
sw.Start();

is a little bit more elegant to be used like
var sw = System.Diagnostics.Stopwatch.StartNew();


A simple note taking app

Can add and delete notes
Can edit the notes

If this issue is approved, I hope it will be assigned to me : )

Go ahead @Welf06!

The hosted website is different from what I am getting locally

The images aren't loading and there are only 6 cards as compared to the 8 cards in the hosted website
I think the issue is with unplash API.
Please help me out on how to proceed ahead

For now I will just copy the format of other cards in index.html and home.js

I have sent a pr with the notes taking app
hope you like it : )
please don't forget to put the right label for the PR ❇


LIDL Parkside - water irrigation - _TZE200_htnnfasr / TS0601 - (Tuya cluster)

"ids": {
"modelId": "TS0601",
"manufacturerName": "_TZE200_htnnfasr"
  },
  "endpoints": {
"endpointDescriptors": [
  {
    "endpointId": 1,
    "applicationProfileId": 260,
    "applicationDeviceId": 0,
    "applicationDeviceVersion": 0,
    "_reserved1": 1,
    "inputClusters": [
      0,
      4,
      5,
      6,
      3,
      61184
    ],
    "outputClusters": [
      25,
      10
    ]
  }
],
"endpoints": {
  "1": {
    "clusters": {
      "basic": {
        "attributes": [
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 0,
            "name": "zclVersion",
            "value": 3,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 1,
            "name": "appVersion",
            "value": 86,
            "reportingConfiguration": {
              "direction": "reported",
              "attributeDataType": 32,
              "minInterval": 1,
              "maxInterval": 150,
              "minChange": 0,
              "status": "SUCCESS"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 2,
            "name": "stackVersion",
            "value": 0,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 3,
            "name": "hwVersion",
            "value": 1,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 4,
            "name": "manufacturerName",
            "value": "_TZE200_htnnfasr",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 5,
            "name": "modelId",
            "value": "TS0601",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 6,
            "name": "dateCode",
            "value": "",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 7,
            "name": "powerSource",
            "value": "battery",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "writable",
              "reportable"
            ],
            "id": 65502,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 2,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65534,
            "name": "attributeReportingStatus",
            "value": "PENDING",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65504,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65505,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65506,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65507,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "groups": {
        "attributes": [
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 0,
            "name": "nameSupport",
            "value": {
              "type": "Buffer",
              "data": [
                0
              ]
            },
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 2,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "scenes": {
        "attributes": [
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 0,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 1,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 2,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 3,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 4,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 2,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "onOff": {
        "attributes": [
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 0,
            "name": "onOff",
            "value": false,
            "reportingConfiguration": {
              "direction": "reported",
              "attributeDataType": 16,
              "minInterval": 1,
              "maxInterval": 65534,
              "status": "SUCCESS"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 2,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "identify": {
        "attributes": [
          {
            "acl": [
              "readable",
              "writable",
              "reportable"
            ],
            "id": 0,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 1,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      }
    },
    "bindings": {
      "ota": {
        "attributes": [],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "time": {
        "attributes": [],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      }
    }
  }
}
  }

https://www.lidl-shop.be/nl-BE/PARKSIDE-Besproeiingscomputer-Smart-Home-PSBZS-A1/p100325201

Hi I was trying to see how I could make Parkside water irrigation with ZHA, and this seems very similar to the ZAH quirks, are you familiar with it?
I still don't have enough knowledge to do what you did, but trying to convert perhaps.
is this code usable for the ZHA?
Thanks for the help.

Adding some more info regarding the device:
https://www.lidl.nl/p/parkside-besproeiingscomputer-zigbee-smart-home/p100325201
https://github.com/Koenkk/zigbee2mqtt/issues/7695

This device is now working as a unknown one. But it turns off after 1 minute. That is default from “Lidl” home app. But I don’t have a Lidl gateway to set that default timing.
So if you could add on off and the time how long the valve opens that would be great.
I work at Lidl. So I will try to find some extra info.
The functions are (based on the website)
7 days of the week with selection which days
0-6 times a day start a program
Duration water flow: 1 minute until 9 hours , 59 minutes

Adding some more info regarding the device: https://www.lidl.nl/p/parkside-besproeiingscomputer-zigbee-smart-home/p100325201
Koenkk/zigbee2mqtt#7695
This device is now working as a unknown one. But it turns off after 1 minute. That is default from “Lidl” home app. But I don’t have a Lidl gateway to set that default timing.
So if you could add on off and the time how long the valve opens that would be great.
I work at Lidl. So I will try to find some extra info.
The functions are (based on the website)
7 days of the week with selection which days
0-6 times a day start a program
Duration water flow: 1 minute until 9 hours , 59 minutes

I hope meanwhile you have figured out how to change the timer, if not you could use service service zha.set_zigbee_cluster_attribute
example
service: zha.set_zigbee_cluster_attribute
data:
  cluster_type: in
  ieee: 84:71:27:ff:xx:xx:xx:xx
  endpoint_id: 1
  cluster_id: 61184
  attribute: 61201
  value: "{{ states(\"input_number.parkside_watering_timer\")|int }}"

``` `


Revert "Merge pull request #13710 from ctiller/fix17it1"

This reverts commit 78335ac3769b27ccb7c76f034293619ee76cd36d, reversing
changes made to 92b6e9909acea0594160ed0dce7fb87932790ece.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

This might or might not be necessary as the existing import was fixed and submitted cleanly--the next import may need to revert this again. But let's defer this for now and revert only if the next import fails. Closing for now and giving it some time.


Change Time format from seconds to hour:minutes:seconds

Is that possible? If so how? Thank you!

https://www.digitalocean.com/community/tutorials/python-convert-time-hours-minutes-seconds


DOCS-12642 updating perf limits statement

@vli63127
This PR does two things:

It updates the Bare Metal table so it's inline with BYOK where they share details. (I missed this previously)
It adds the statement you wanted. I left out the "we will update" statement because we don't put future-looking statements like that in docs. We can just update when they're updated.

These perf statements are being updated so closing this in lieu of those impending updates.


Support postgress as vector db

Since open web ui already supports postgress as its db, why using local chromadb and not remote postress (that support DR for example)

Is already supported.


Removing dilated Avg Pooling from EEGResNet

It replaces dilated Global AVG Pooling in the EEGResNet with a standard implementation without dilation from pytorch and solves  #220
I may not fully understand the Resnet architecture, so @robintibor please verify if I'm correct. I think that dilation is not needed in the Global Avg Pooling layer. It should create one number per feature map (in the case final_pool_length=='auto'), so we should use standard Avg Pooling from pytorch and just average without using dilated pooling kernel.

Unfortunately this is not correct, for cropped decoding logic we do need to use dilations and need to get dense predictions (one prediction for each timestep, without gaps) in the end. The logic here would make deep4 break, the only reason it doesn't break already is because there is no test checking deep4 results with avg pooling.

Ok superseded by https://github.com/braindecode/braindecode/pull/223, closing


Allow expressing initialization order dependencies for gRPC plugins

Currently (for example) naming plugins implicitly depend on client_config, but cannot express that.

Filed #6446 to address this

How about non-temporary fix

ping

We still want to do this at some point.


how to install?

I special ordered your adapter from a 3rd party company using your BOM / kicad. I also ordered the Intel Dual Band Wireless AX200NGW 2.4Gbps 802.11ax Wireless Intel AX200 WiFi Card and some M.2 NGFF Antenna,Pair of IPEX MHF4 2.4G/5G Dual Band 6dbi Gain WiFi Antennas. From the readme it says some special firmware is needed, how can i find and flash that firmware? also, what else is needed to run the new wireless card once everything is installed? does it Just Work, or does the old wifi card need to be removed?

HI!
Everything should just work fine, out of the box. The information about the firmware is a bit old.
You should make sure your Manjaro installation is up to date (the package linux-firmware is the important one).
You can disable the integrated WiFi module by blacklisting the kernel module (blacklist brcmfmac), if you want.
Good luck!

@Manawyrm Is this a viable alternative to the FFC conn. listed in the BOM?
The company i used "Lion Circuits" can't find the one you've listed.
https://www.mouser.com/ProductDetail/TE-Connectivity/1-1734592-9/?qs=%2Fha2pyFadujJgtVuHZ8T89eKrFjR122s24KiXvd3rmfl5dW8OHZEUA%3D%3D&utm_source=octopart&utm_medium=aggregator&utm_campaign=571-1-1734592-9&utm_content=TE Connectivity


Cuestión de extensión

Issue Type: Bug
Extension Name: vsliveshare-audio
Extension Version: 0.1.91
OS Version: Windows_NT x64 10.0.19042
VSCode version: 1.52.0

{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 13383,
		"activateCallTime": 1,
		"activateResolvedTime": 99,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "ms-vsliveshare.vsliveshare-audio",
				"_lower": "ms-vsliveshare.vsliveshare-audio"
			},
			"activationEvent": "*"
		}
	},
	"runtimeErrors": []
}

@jhondev-code Can you please explain the issue that you are facing with Live Share audio extension?

I'm going to close this issue for now, since we don't have enough information to investigate it. If you can share any details, or if the problem happens again, please re-open it and we'll take a look. Thanks!


dot pest update

Hey!
First of all, thanks for the awesome library!
I am trying to create a uml diagram for my db and have issues with the parse function specifically on the code

address_id: int

I suspect its the dot.pest file the needs to be updated to handle special characters like : or _
thanks

Hey. Thanks.
I see. The problem in HTML tags. They are delivered with a bug. I will fix it next week probably


Fix Issue 10879 - std.variant Variant/Algebraic: Cant store static ar…

…rays > 32(/16) bytes

It could be argued that this bug should be fixed in DMD rather than Phobos, in that 'new T' should work for any T, even something like int[10].

LGTM though better fix DMD

I made a fix in DMD as well. If https://github.com/dlang/dmd/pull/5688 is accepted, this pull can be ignored.

LGTM though better fix DMD

can we have one of those "decision blocked" labels? thanks!

Anything new ? Since dmd pull has stalled, maybe this can be pulled ?

@tramker sorry this got stalled. If you rebase onto the latest version of master I will review it.

Thanks @tramker

No problem. I'm sorry for not testing it before I pushed the changes - I'm on vacation and my laptop is resistant to getting phobos to compile. :p


How to create a Mat from tiled images?

I plan to handle huge pixels images. Therefore, I will tiling them to optimize memory usage and etc.
But it seems that the Mat only accept a serial of memory. There is clipping mask but I cannot find unifying method.
If have to make a serial of memory, it will be very expensive and inefficient way.
However, I cannot sure that it is possible to inherit the Mat and implement a tiled Mat without copy.
If there is an implementation, please show me where it is.
Otherwise, is it can be supported in the future?

I looked for such a feature but couldn't find it. You will probably have to create one yourself.
// This code is not debugged
class TiledMat
{
    private Mat[][] table;
    private Size tileSize;

    public TiledMat(Mat[][] table)
    {
        this.table = table;
        tileSize = table[0][0].Size();
    }

    public Vec3b GetPixel(int row, int col)
    {
        var targetMat = table[row / tileSize][col / tileSize];
        return targetMat.Get<Vec3b>(row % tileSize, col % tileSize);
    }

    ...
}

@shimat If do that, how to work with Cv2 methods?
I mean Mat compatible object not just data structure.
And I don't think it is proper to pass the Mat tile one by one to Cv2.
For example, the Erode() involve outside of the tile itself because of the kernel size.
Therefore, I need A tiled Mat.
Whatever, if there is not plan to add a feature such as unifying thing, in the end, copying is unavoidable in this state.
Limiting kernel size and processing 9 per 9 will be final optimized method. It is limited and not very efficient, though.


Need way to declare values as safe without using closure libraries

PolyGerrit doesn't use closure libraries, but the documentation doesn't show how to declare values as safe in JS without using the goog.http.* types.

without using the goog.http.* types.

s/http/html/ ?

I was planning on adding an isSafeInContext hook for

Trusted types interop
React hardening

That should allow plugging in a non-closure implementation of trusted types.
Would that be sufficient for you?

Would that be sufficient for you?

That certainly sounds sufficient!

s/http/html/ ?

Yes, oops. :-)

Closing.  safeTypesBridge has landed.


[Suggestion] Dictionary initialization

Description
A code pattern suggestion.
There are several places where Dictionary<,>'s are created. eg in Config
public ClientConfig(ClientConfig config) { this.properties = new Dictionary<string, string>(config.ToDictionary(a => a.Key, a => a.Value)); }
This pattern causes two dictionaries to be created and iterated over. ToDictionary already creates a new Dictionary. Wrapping that result in another Dictionary just iterates it and throws it away. So the following is equivalent.
public ClientConfig(ClientConfig config) { this.properties = config.ToDictionary(a => a.Key, a => a.Value); }
Or, preferably, as .properties is within scope
public ClientConfig(ClientConfig config) { this.properties = new Dictionary<string, string>(config.properties); }
Also, decendent classes, like AdminClientConfig should really have their ctor's call base rather than reimplementing. ie
public AdminClientConfig(ClientConfig config) : base(config) { }
As a result .properties can then be made private.
How to reproduce
var x = new ClientConfig(myOtherConfig);
will create multiple dictionaries while initializing the .properties member.
Checklist
Please provide the following information:

[ ] Confluent.Kafka nuget version:
[ ] Apache Kafka version:
[ ] Client configuration:
[ ] Operating system:
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
[ ] Provide broker log excerpts
[ ] Critical issue

happy to provide PR if interested

good point, happy to accept a PR here too (but wait until #656 is in as it will clash). note that the config classes are only used on startup, so this is a pretty minor optimization.

agreed, low impact.
I have a changeset ready :) can rebase once #656 is done


Unexpected EOF with devspace sync

What happened?
In some cases, devspace sync crashes with the following error:
[warn]   Log streaming service has been terminated
[done] √ Sync and port-forwarding services are running (Press Ctrl+C to abort services)
[error]  Fatal sync error: upstream: apply changes: apply creates: upload archive: after upload: rpc error: code = Unknown desc = untar all: untarNext: io copy tar reader: unexpected EOF. For more information check .devspace/logs/sync.log

In the sync.log file I can see the following:
{"level":"info","msg":"Upstream - Successfully processed 17 change(s)","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Upstream - Upload 50 create changes (size 1663407)","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Upstream - Upload 53 create changes (size 1669808)","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Upstream - Successfully processed 17 change(s)","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Upstream - Upload 53 create changes (size 1669808)","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Upstream - Successfully processed 50 change(s)","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Upstream - Upload 10 create changes (size 1633384)","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Sync stopped","time":"2019-11-27T00:09:50+01:00"}
{"level":"error","msg":"Sync Error on /home/sebastien/wks/project: upstream: apply changes: apply creates: upload archive: after upload: rpc error: code = Unknown desc = untar all: untarNext: io copy tar reader: unexpected EOF","time":"2019-11-27T00:09:50+01:00"}
{"level":"info","msg":"Sync stopped","time":"2019-11-27T00:09:50+01:00"}
{"level":"error","msg":"Sync Error on /home/sebastien/wks/project: upstream: apply changes: apply creates: upload archive: after upload: rpc error: code = Unknown desc = untar all: untarNext: io copy tar reader: unexpected EOF","time":"2019-11-27T00:09:50+01:00"}

What did you expect to happen instead?
Ideally no error at all (hehe), but if possible, anything but a crash of devspace. I'd like it to be more resilient so that I don't need to check the terminal where it runs to see if I need to restart it as it breaks the development cycle / concentration.
How can we reproduce the bug? (as minimally and precisely as possible)
Local Environment:

Operating System: linux
Deployment method: kubectl apply

Kubernetes Cluster:

Minikube with k8s v1.16 and kubectl 1.16.2

Anything else we need to know?

/kind bug

@dsebastien thanks for reporting this and the detailed problem description! This is a tricky issue, I think it can appear when the file locally changes while the sync is trying to pack it. I'll try to reproduce it and implement that the sync will attempt to resend in such a case.


Cannot  open Visual Studio Code after try to upgrade to 1.10.1 on windows

Cannot  open Visual Studio Code after update:
Javascript error occurred in the main process

VSCode Version: 1.9.1
OS Version: Windows 8.1 Enterprise

Steps to Reproduce:

Try update to 1.10.1
VS Code asks to try to close all the programs
Press abort
Reboot windows
5 . Open Visual Studio Code
Error appear

@didacrios try to uninstall and reinstall

Yes, please manually reinstall. Sorry for the hassle.


[Package Request]: Prog Media Server for small networks

How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://www.progdvb.com/media_cs.html
Publisher: Prog
Package Name: Prog Media Server for small networks
Description: ProgDVB module that allows you to broadcast the information onto your local network or to watch several channels on the same computer simultaneously.
Package Version: 4.32
Installer URL: https://files.progdvb.com/server/pms_small.4.32.x64.exe

Requires Prog.ProgDVB.Professional to be installed on the system.

Requires Prog.ProgDVB.Professional to be installed on the system.

This package is in repo and could be added as a dependency:
Name    Id                        Version Source
----    --                        ------- ------
ProgDVB Prog.ProgDVB.Professional 7.60.4  winget


Issue with creating a external table with a table name containing spaces.

Dear Team,
I hope this message finds you well. While working with Parquet data, I am currently facing an issue with Spark across multiple versions (Spark 3.4.1, Spark 3.5.0, and Spark 3.3.3).
Some database supports to name, table name with spaces
I attempted to  create an external table using a Parquet file with Spark
I'm not able to create a table with a name containing spaces, and I'm getting a syntax error.
I attempted various formats such as (table name, "table name," and 'table name'), but none were successful.
I would appreciate any help or insights you could give me to help resolve this issue. If additional information or details are needed, please let me know, and I will gladly provide them.
Thank you for your time and assistance.
Best regards,
Ajay Kumar D

@AjayEstuate Can you give us more details of how you're connecting to Spark. Are you using Hive like this? Closing this because it's gone silent for so long, but if you still have the problem and can provide more details (logs/errors/etc) we might be able to help debug further. Also wondering if this is magically fixed in currently supported versions of Superset (3.1/4.0). Given all of that, we're happy to reopen this if needed.


Always cache binary with version to allow env updates

Issue: the POSTGREST_VER environment variable is only applied to non-cached builds. Updating the variable does not update the postgrest binary version. Currently, to upgrade PostgREST on Heroku you must install a plugin and clear the build cache.
In this diff, I changed the caching code to always track the version tag. ver20 seems to be a special case that already used this behavior: now all other versions are "promoted" to working the same way.
One downside with this approach is that old binary versions are maintained in the cache. I still think this is a nicer default, but just thought I would raise the point.
Thanks!

@hkgumbs That's really convenient! Thank you :smiley:


Suggestion: Allow Offline Use

I think it would be great if the desktop app would store/cache rss feeds that you are following onto the PC. So that we may still read those feeds if we are offline.
And then when it gets connected to the internet it will sync up with the aws and update with new stories and delete the ones that have been deleted from the client.

Also, I don't want to use this with an account. I will not use this app until there is an anonymous option, and NO tracking and phoning home.

@GetStream


[Ubuntu] move docker images to the toolset.json

Description
Move docker image list to the toolset.json file.
Related issue:
actions/virtual-environments-internal#1080
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[x] Changes are tested and related VM images are successfully generated

/azp run ubuntu1604, ubuntu1804, ubuntu2004


Client window not appearing v1.4.3

After a fresh install, the client will run.  After I close and reopen the client, the client window no longer appears.  The process is showing in task manager.  I've tried reinstalling and the same issue persists.  It will run once after a fresh install, but any other attempts to reopen fail about 90% of the time.
Things I've Tried:
Ran installation and client as administrator.
Disabled Windows Defender Real-Time protection.
Reinstalled several times.
Info:
Windows 10 Version 1703 OS Build: 15063.786

I have the same issue, although for me it fails to open 100% of the time.

Has anyone find a solution?
Version 1.5.1 and it still fails to open.

Did yo try what I wrote in the linked issue?

If you mean to append the argument --disable-gpu yes I've tried it as I've tried to run in copmpatibility mode.
Also I have another laptop with windows 10 64bit and the ark client works perfectly there.

I see thanks for the feedback.
Can you try another electron app?
Let's say take slack: https://slack.com/downloads/windows


Build a DefCon view in Octopusci

This view should probably reside at the following URI:
http://octopusci.yourcompany.com/defcon
This view should show you a listing of all of the repositories that Octopusci is managing and the status of the most recent build of their master branch.
It should also have a way of notifying the viewers if any of the statuses are bad. Maybe by changing the background color to red or something.

per stlewis:
background goes red when there;s a failure, and the box for the individual branch/repo goes red.  style things similar to standard dashboard/

This should also have a checkbox on the page that will allow you to control if it plays a siren sound when it checks or not. If the siren noise is enabled which should be the default then when it checks and the defcon screen background goes red it should also play the siren noise.
The next time you reload this page the siren should be re-enabled by default.


Publish to npm

At first I gonna simply publish the component as-is.

At least having to

remove dependency of vuex
use Vue.component and export

Done
https://www.npmjs.com/package/vue-maze


flashfocus: init at 2.2.2 & pythonPackages.xpybutil: init at 0.0.6

Add flashfocus and a not yet packaged dependency
Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[X] other Linux distributions

[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Thanks!


Compilation build error due to duplicate -lmct

Trying to run the build for eCLM-ParFlow-PDAF, I get problems in the final linking stage.
The error is undefined references for example for oas_m_attrvect_mp_exportrlisttochar.
The problem has been traced to the duplicate linking of -lmct libraries. One is generated by OASIS, one by eCLM and they contain different variables.

I'd fix this on the eCLM side.

I will close the issue, once we have it fixed it in https://github.com/HPSCTerrSys/eCLM/pull/23

Solved by the following commits:

https://github.com/HPSCTerrSys/eTSMP/pull/9/commits/0ad8e7b135bef67baa0eddbbc98a13218c39c287
https://github.com/HPSCTerrSys/eTSMP/commit/f3363824b3fe7682c7d3554a67110fa2d85cf62b


Assistance Needed with ArcGIS Pro 3.3

Environment Information

samgeo version: the lateset version
Python version: 3.11.8
Operating System: Win 11 (X64)

Description
I am currently using the latest version of ArcGIS Pro 3.3 and attempting to utilize the Segment-Geospatial Python package for my research. However, I encountered an issue with the error message: "invalid choice: 'proswap'".

What I Did
I suspect that the problem might be related to the Python packages when creating the environment as Issue #271

I suggest removing the existing geo env and start from scratch. I did that last week with ArcGIS Pro 3.3 and everything worked fine.

Hi Prof. Wu,
Thank you for your kind response. I followed your suggestion to reinstall the packages from the beginning. However, the problem has now changed to "Broken environment."

I even went reinstalling ArcGIS Pro and reinstalling the packages, but the issue persists, even after attempting to repair the environment.

Could you please provide further guidance on how to resolve this issue?
Thank you for your assistance.

Did you remove the existing env before creating a new one?
conda remove -n geo --all

The ArcGIS version updates keeps breaking the cloned envs. This is really an issue with ArcGIS rather than samgeo. I don't see the benefits of using samgeo with ArcGIS Pro. You can just run samgeo with JupyterLab and export the results to be visualized in ArcGIS if needed.

Understood, Many thanks for your valuable assistance Prof. Wu!

The ArcGIS version updates keeps breaking the cloned envs. This is really an issue with ArcGIS rather than samgeo. I don't see the benefits of using samgeo with ArcGIS Pro. You can just run samgeo with JupyterLab and export the results to be visualized in ArcGIS if needed.

Understood, Many thanks for your valuable assistance Prof. Wu!


Collection.remove() Requires Updated Documentation or Fix

According to the documentation for collection.remove():
"Remove a model (or an array of models) from the collection, and return them."
It seems the part about returning the removed models is not always the case in the latest stable release, 1.2.3 (as well as the Edge version). What I expected based on the documentation is to get back an array, always, even if the array empty. (This would allow me to do things such as collection2.add(collection1.remove(someArrayOfModels)) without having to worry about the return type for remove()) The problem for me is that remove() is actually returning different value types depending on what I pass in as arguments, which you will see below how this can become an issue.
Open up a browser console with Backbone loaded and attempting the following:
// Start with this for each test case
var collection = new Backbone.Collection([new Backbone.Model(), new Backbone.Model()]);
console.log(collection.length); //should be 2

Now trying the following operations (be sure to re-create the collection each time):
collection.remove(collection.at(0)); //Returns a single model instance

collection.remove([ collection.at(0), collection.at(1)]) //Returns an array of two model instances

collection.remove() //Returns 'undefined'

collection.remove([]) //Returns 'false'

The last one where I get false from collection.remove([]) is where this really becomes an issue, since when I do collection.add(false) it adds a new item to the collection, even though I didn't want to add anything. (try it, and you'll see the collection's length property will increase by 1)
Some recommendations I have to resolve this:

Update the documentation to clarify the various return types that remove() returns back
Update collection.remove() to always return an array, regardless of input arguments
Update collection.add() to not add anything if false is passed as the first argument

This was added in 46c90648. @jridgewell could we just return the removed array, even if it's empty? If you removed nothing, you should get back an empty array, no?

Whoops. We should always be returning an array.


How to get all pages for /activities endpoint

I am trying to list all activities using /api/v1/activities endpoint. No luck so far. I am trying to use skip to utilize pagination:
{
    "sortDirection": "desc",
    "sortField": "date",
    "limit": 1,
    "skip": 10
}

According to the docs, I should use nextQueryFilters but even though I get hasNext set to true in the API response I get no nextQueryFilters (I only get data, hasNext and total).
Would someone be able to help me out and make the pagination work (list all activities) and also make the documentation clearer?
Thanks

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

ID: 7176c15a-025f-f67a-502c-5353eced167f
Version Independent ID: ec00e101-7d22-d7b6-f6a7-1fc2208eb69a
Content: Cloud App Security REST API
Content Source: CloudAppSecurityDocs/api-introduction.md
Service: cloud-app-security
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thanks for your question. We'll investigate and get back to you.

@urgas9 - I contacted the product group and this is their response:

We recommend you use https://docs.microsoft.com/en-us/cloud-app-security/api-activities-investigate-script and alter the filters according to your needs. Alternatively, use https://docs.microsoft.com/en-us/cloud-app-security/api-activities-list with the skip parameter set to 0, and the limit parameter set to the desired amount of records.

Is that helpful?

I already checked that page - the problem is that there is no nextQueryFilters field in the response body in my case.
However, I did manage to make it work using created field and order descending and then iterating using lower created values. Also, I stumbled pretty hard requesting POST /activities where the filter did not work - it did start working using POST /activities/ (mind the / at the end).

@urgas9 - I'm glad you were able to make it work. Thank you for your contribution.


Media: Load threaded comments

Fixes #482 and #489.
Replaces #488.

@valga thank you for contribution!


Wrong comment or maths

/src/room/linkFunctions.ts
Either comment or maths is wrong.
Comment suggests half but maths of *0.25 is quarter.
lines 25 || 27
`
// If the link is more than half full, iterate
        if (receiverLink.store.energy > receiverLink.store.getCapacity(RESOURCE_ENERGY) * 0.25) continue

`

Wrong comment, thanks. Will fix


Pre-select rows

It would be nice to be able to not only give the rows information to the table, but also give the already selected rows, to avoid losing that information on a page reload.
Maybe as a new prop, passing only the indexes of the previously selected rows or something like that.

Found a workaround, https://github.com/rubanraj54/vue-bootstrap4-table/issues/82#issuecomment-707314414

I also needed something to dynamically set a selection of rows checked. Searched for hours, tried many things, here is what I came up with.

give a ref attribute to your table so you can refer to it by using this.$refs.vbt (if vbt is your ref)
get and set the rows array as usual
then map over the rows and add the appropriate row to the list of selected_items . Your reference needs to have vbt_id so make sure you have a counter running. In my data I have isSelected set to 1 if it is part of the selection.

let i = 1, self = this;    self.rows.map( (item) => {       if (item.isSelected==1) {           item.vbt_id = i++;           self.$refs.vbt.addSelectedItem(item);       } else {           item.vbt_id = i++;       }  });
For me that was all I needed to see my selection properly checked.


Fatal error following update to 1.0.1

[PrestaShop] Fatal error in module file :/var/www/vdf.c2/public/modules/fixerio/fixerio.php:
Class FixerIo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (CurrencyRateModuleCore::hookActionRetrieveCurrencyRates)
So the module gotta be updated to handle the change.

Cant see in currency list if fixerio is working.Just a hyphen in Service column

If you click for manual upload you get this

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/beautyandpleasure.co.uk/httpdocs/classes/Currency.php on line 268

That's a different issue.

This module is abandoned in favor of the new module ecbexchange, which has the same feature set. In case this issue persists there (it shouldn't), please don't hesitate to open a new issue there.


Layer.get_config is not serializable/hashable

Consider the following piece of code, with Tensorflow or Theano backend:
import json
from keras.layers import Conv2D
from keras.models import Sequential

def define_and_serialize(input_shape):
    model = Sequential()
    model.add(Conv2D(16, (3, 3), activation='relu', input_shape=input_shape))
    model.add(Conv2D(32, (3, 3)))

    return json.dumps(model.get_config(), sort_keys=True) # sort_keys since it is an unsorted dict

assert (define_and_serialize((28, 28, 128)) == define_and_serialize((28, 28, 128))) # RAISES

I.e. the models are not serializable (e.g. hash()) does not work. This contradicts the documentation of get_config

A layer config is a Python dictionary (serializable) containing the configuration of a layer.

The reason is that we are using a global counter to construct the layer's names (through keras.backend.get_uid(prefix)) that is added for every layer that is initialized (bad!).
For the user, a solution is to always name all layers (and thus not call get_uid to construct names).
For Keras, IMO this is an issue because it is unexpected, and an anti-pattern. This can be solved by putting the counter on the model, instead of a global.

Having the counter on the model is not possible if you want to use multiples models at the same time.
But you're right that we should fix this. I will try to think about a fix.

That is precisely the intended behavior of the name autogeneration system. That's why the counter is global. If you want to give the same names to two layers (in two different models), you should pass a name argument to them.

@Dref360 you mean Tensorflow/Theano would not be able to distinguish them if they run in parallel? Out of curiosity, what happens if two layers are instantiated with the same name on different models, and those models are run at the same time? Is there a naming collision?
@fchollet, why is that the intended behavior? A (very) common Python pattern is that an instance of class A initialized with a defined immutable list of arguments A(1,2,3) is expected to be equal to an instance initialized with the same arguments. This currently does not happen, e.g. with
Sequential(layers=[...])

The idiom in Python to solve this common issue (incrementer counter on a class for a uuid) is to have a class member. Specifically, something like

class Sequential(...):
    _naming_counter = 1

    def add(self, layer, name=None):

            if name is None:
                   name = '... %s' % _naming_counter
                   _naming_counter += 1

but maybe the point you are making is that internally, TensorFlow/Theano forbids two layers with the same name, even if on a different model, because they would collide. Is that the case?
In any case, the point I was making here is that from the perspective of Python, the current behavior is anti-idiomatic. We could discuss whether there is a reasonable solution or not, but I do not see why this was outright closed...

The name autogeneration system generates unique names. It's what its for. I don't see why that is so strange to you. Literally everything in computation graphs relies on global states. Nearly every function call and class instantiation in both Theano, TensorFlow, and Keras, alter the global states, in particular generated names for ops, variables, layers and models. This is the intended behavior.


"Table of contents" for quick nagivation

Is it possible to add TOC for quick navigation among article sections?

The short answer is - yes.
The long answer involves how exactly one should design and implement that.
I am deferring such advanced "article viewer" features until a little later in the project lifetime, until a day where we have a claim to arXiv-compatibility. Then we could decide this with the arXiv team discussing alongside us.

arXiv's HTML has an implementation of that, and Mark recently reminded me that latexmlpost has a --navigationtoc option.
I think we'll skip both of these for ar5iv, as the site will be retired soon, but arXiv will likely keep the table of contents for their viewer.


Support deserialization of sub-trees and not just entire partitions

I think this should be changed to support deserializing subtrees:
https://github.com/LionWeb-io/lionweb-typescript/blob/8e6b058c38fe8b8eb5942c7702122eba613bf826/packages/core/src/deserializer.ts#L48
We recently encountered the very same problem in lioncore-java where we had the same logic. The problem is that in this way we are only able to deserialize entire partitions, but nothing below them.
See https://github.com/LionWeb-io/lionweb-java/pull/132 for comparison

So, we should

Construct nodes from all serialized nodes
Resolve references
Return those nodes that have parent null or an unresolvable parent

?

Yes, I would do that.
In Java we can define the three options:

Throw exception if there is any parent we cannot solve (but that means that either we ask only for entire partitions or we have another mechanism to solve nodes, for example because we already have on the client side)
Set them to null
Use sort of purely working proxies

Of these, I think that the only option that makes sense in most cases is setting the parent to null

At this point, I wouldn't really do anything too configurable in the TS-space, so I'd simply set things to null.

Fixed by PR #148


Unable to view logs

I stopped VM and then came back.  After restarting I was not seeing traffic from the temperature sensor.  Restarting container did not resolve.  Docker logs sees the logs, but iotedge logs has client error.
azureuser@EdgeVM:~$ sudo docker logs 7037ff885ff3
[2019-04-10 18:37:41 : Starting Module
[04/10/2019 06:37:41.184 PM] Main()
Initializing simulated temperature sensor to send 500 messages, at an interval of 5 seconds.
To change this, set the environment variable MessageCount to the number of messages that should be sent (set it to -1 to send unlimited messages).
 It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e2289383-6ce2-a036-c710-7d1fad6e1700
Version Independent ID: 3b902941-0876-17c3-3f0b-a4b7f7770531
Content: Quickstart create an Azure IoT Edge device on Linux
Content Source: articles/iot-edge/quickstart-linux.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Docker logs were not lined through in console.
a deployment to delete module and another one to install again resolved.

Error recreated with exception:
04/10/2019 19:16:33> Sending message: 17, Body: [{"machine":{"temperature":29.629219336146125,"pressure":1.9830756205736093},"ambient":{"temperature":20.856980861330861,"humidity":26},"timeCreated":"2019-04-10T19:16:33.7697309Z"}]
Unhandled Exception: System.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at SimulatedTemperatureSensor.Program.Main() in /home/vsts/work/1/s/edge-modules/SimulatedTemperatureSensor/src/Program.cs:line 39

After the exception and restart the name changed:
azureuser@EdgeVM:~$ iotedge list
NAME             STATUS           DESCRIPTION      CONFIG
edgeAgent        running          Up 14 minutes    mcr.microsoft.com/azureiotedge-agent:1.0
edgeHub          running          Up 14 minutes    mcr.microsoft.com/azureiotedge-hub:1.0
tempSensor       running          Up 12 minutes    mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0

@Gamecock I'm sorry to hear that you are facing issues. It looks like you got it resolved?

Name change is the issue.  SimulatedTemperatureSensor became tempSensor.  Maybe add a warning in this documentation.

@Gamecock Did you deploy the temperature module from the marketplace in the Azure portal, and it got renamed to tempSensor? Or did you use a different template, like one of the Visual Studio Code templates to deploy the module?

I downloaded from the marketplace and it was showing as SimulatedTemperatureSensor, and then it changed name to tempSensor.

The name of a module should only change if you use a new deployment manifest that has a different name in it. It is true that the marketplace module uses the name SimulatedTemperatureSensor, but that in a lot of our sample deployment manifests it's just called tempSensor.

I've had it happen several times. I will do a better job documenting the
steps to reproduce.  I was doing my best to follow the quickstart exactly.
I'll dig deeper and determine if there is a documentation change that would
have been helpful or if it is just me making the same operator error
repeatedly.
On Wed, Apr 17, 2019 at 2:29 PM Kelly Gremban<EMAIL_ADDRESS>wrote:

The name of a module should only change if you use a new deployment
manifest that has a different name in it. It is true that the marketplace
module uses the name SimulatedTemperatureSensor, but that in a lot of our
sample deployment manifests it's just called tempSensor.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/29173#issuecomment-484208367,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMSCSS5JSNDG52UFN4UXNTPQ5UARANCNFSM4HFABVSA
.

Hi @Gamecock, following up on this issue. Have you been able to notice a pattern to the switching module names yet? Do you find yourself changing deployment methods, or deployment manifests while testing? It may be that the best way to prevent other users from having this same experience is to standardize that module name across all our samples, but I'm also just curious if you discovered anything new.

@Gamecock Following up one more time to see if you noticed the pattern that led to the module name changing, so that I can try and prevent the same confusion for other readers.

Sorry, let me try again to replicate. I think it was on a restart.
On Thu, May 23, 2019, 2:46 PM Kelly Gremban<EMAIL_ADDRESS>wrote:

@Gamecock https://github.com/Gamecock Following up one more time to see
if you noticed the pattern that led to the module name changing, so that I
can try and prevent the same confusion for other readers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/29173?email_source=notifications&email_token=ABMSCSXWLAIZYF2E6WEG4XLPW3Q7TA5CNFSM4HFABVSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWDEI7Y#issuecomment-495338623,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMSCSXKIYD3ILMTQACU3P3PW3Q7TANCNFSM4HFABVSA
.

@Gamecock Since we never heard back from you we will be closing this issue for now. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Sorry, I got sidetracked for a while.  The only way I can replicate this is by deploying from VS Code on one of the other tutorials.  I cannot recreate by restarting

@Gamecock That makes sense. The only way that a module should be renamed is if you're changing the deployment manifest. When you make a new deployment, do you double check that the module name is staying consistent with what's already on your device?

I think switching back and forth between tutorials confused me.  I don't
think there is a bug anywhere.
On Thu, Jun 27, 2019 at 7:14 PM Kelly Gremban<EMAIL_ADDRESS>wrote:

@Gamecock https://github.com/Gamecock That makes sense. The only way
that a module should be renamed is if you're changing the deployment
manifest. When you make a new deployment, do you double check that the
module name is staying consistent with what's already on your device?
[image: image]
https://user-images.githubusercontent.com/13578436/60306777-7becbd00-98f6-11e9-8437-fd302595cc85.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/29173?email_source=notifications&email_token=ABMSCSXTSC3K7NJE5LL6Z4TP4VCTXA5CNFSM4HFABVSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYT3XI#issuecomment-506543581,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMSCSQZFAL46YAIMYVHIC3P4VCTXANCNFSM4HFABVSA
.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


reorder raft server shutdown

Which issues of this PR fixes:

This PR try to fix #110
Change log:

reorder raft server shutdown

@JackyWoo cc


UI fix yang perlu dilakuin

Benerin active di sidebar
Hapus elemen2 ndak penting di navbar

Navbar cuma butuh apa ?, ikon user buat logout sama profil aja ?

Yoi, btw lupa bikin buat edit profil sendiri
On Thu, Jul 5, 2018, 8:57 AM Sofyan Sugianto<EMAIL_ADDRESS>wrote:

Navbar cuma butuh apa ?, ikon user buat logout sama profil aja ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/artemtech/mjsweb/issues/27#issuecomment-402584791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK8-M9zcOrDef3hu1s3Rfe4EzBZmS-rRks5uDXJ3gaJpZM4VDJT6
.


Feature: Added support for Lucid Link v3

Resolved / Related Issues

Closes #16586

The workspace and filespace path are backwards so it always returns not a folder


Sum without  '+'

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -
Input Format
Input two integers a and b
Constraints
Use of "+" and "-" operators are not allowed
Output Format
Print the sum of a and b
Sample Input
2
-1
Sample Output
1
Explanation
Sum of 2 and -1 is 1

Add in algorithm repo of javascript.

can you assign me this issue?


Building on Coq 8.7

Hi, in order to build a Makefile for your project using Coq 8.7's coq_makefile, I had to change _CoqProject to be:
-R . ""

Thanks!


add storage to base auth provider

Current dependencies on/for this PR:

main

PR #215

PR #216

PR #217

PR #218

PR #221

PR #219

PR #222   👈
PR #220

This stack of pull requests is managed by Graphite.

Current dependencies on/for this PR:

main

PR #215

PR #216

PR #217

PR #218

PR #221

PR #219

PR #222   👈

PR #220

This stack of pull requests is managed by Graphite.

Closing as this will be superseded by work in progress


Update "Readme" containing information about the current project.

We put the SDK version used!
And several link's of the project.
We understand that the project will continue to develop over the days.

Resize image in next commit...


null object warnings when stopping the loop.

As mentioned in https://github.com/dantleech/fink/pull/92
When calling Loop::stop() on a SIGINT signal:
php7.3 ./bin/fink https://www.dantleech.com                                                            ✘ 130 master ✭ ✱ ◼
[200] https://github.com/phpactor/container
[200] https://github.com/phpactor/logging-extension
[200] https://phpactor.github.io/phpactor/vim-plugin/experimental.html
[200] https://www.jetbrains.com/phpstorm/
[200] https://github.com/FriendsOfPhp/PHP-CS-Fixer
-------------------------------------------------------
Concurrency: 10, Queue size: 37, Failures: 0/28 (0.00%)
Rate: 18.55 r/sec, 434.73 ms/r
Uptime: 00h 00m 01s
^CSIGINT receivedPHP Warning:  assert(): assert($connection instanceof Connection) failed in /home/daniel/www/dantleech/fink/vendor/amphp/http-client/src/Connection/ConnectionLimitingPool.php on line 174

Warning: assert(): assert($connection instanceof Connection) failed in /home/daniel/www/dantleech/fink/vendor/amphp/http-client/src/Connection/ConnectionLimitingPool.php on line 174
PHP Warning:  spl_object_id() expects parameter 1 to be object, null given in /home/daniel/www/dantleech/fink/vendor/amphp/http-client/src/Connection/ConnectionLimitingPool.php on line 118

Warning: spl_object_id() expects parameter 1 to be object, null given in /home/daniel/www/dantleech/fink/vendor/amphp/http-client/src/Connection/ConnectionLimitingPool.php on line 118

This is related to yield from and garbage collection as it seems.

It doesn't seem to be reproducible on PHP 7.4.

@trowski It's strange that this fixes the issue, looks like a PHP bug, no?

@kelunik Has to be to be a bug with yield from, yes.


Upgrade jest and related packages from 26.6.0 to 27.1.0

Closes #10747. Fixes #9993.
Tested and working fine with jest 27.1.0
yarn test , yarn start , yarn build

included changes from https://github.com/facebook/create-react-app/pull/10748

This looks great. Can you revert the changes to packages/create-react-app/yarn.lock.cached though? We only update that file when we do releases. Other than that I think it's ready to merge.

@iansu reverted the changes in packages/create-react-app/yarn.lock.cached. Now this should be ready to merge.

Not sure why we should need to check-in package-lock.json - feels wrong...
@iansu we do sometimes have to run the 'yarn compile:lockfile' for tests to pass

Thanks!


saml: Use rsa-sha256 as the default signature algorithm.

Fixes the bad python3-saml default, spotted in #13948
Might be worth pushing this to 2.1.x too I think?

Merged and backported to 2.1.x.


Added a new school.

@karizadias First stage of verification passed, official domain is instagram.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.instagram.com/caedfoficial/

Hello, @philipto. I didn't understand the proof of domain: https://www.instagram.com/caedfoficial/. I'm a teacher at CEF 214 Sul (https://www.instagram.com/cef214sulgdf/), a public school in Brasilia-DF, Brasil. If you have any doubt, please let me know.

Our government website:
https://www.educacao.df.gov.br/centro-de-ensino-fundamental-214-sul/

@karizadias Thank you!
Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@karizadias You might miss my previous comment. Please react.

@karizadias I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


revertPop not work correctly

please check the sandbox demo
suppose i jump from / to /pageA  via click the link
i use a promt and force stop this navigation
render stoped(still render index page), however,the address has changed into /pageA
it suppose to back to /
check the source code debug snapshot

it looks allPaths only add new record when did history push action, why hash change not modify all paths?

Moreover, it breaks logic of successive transitions.
I can't reproduce it sandbox, but in normal browser it's reproducible stably.
Let's take the basic example https://reacttraining.com/react-router/web/example/basic and slightly modify it:
import React from 'react'
import {
  Router,
  Route, Switch,
  Link,
  Prompt,
} from 'react-router-dom'

// ---

import { createHashHistory } from "history"
const history = createHashHistory()

const blocker = (location, action) => {
  if (location.pathname.indexOf("about") !== -1) {
    console.log("blocked")
    return false
  }
}

// ---

const Home = () => (

Home

)

const About = () => (

About

)

const Topics = () => (

Topics

)

const BasicExample = () => (
  <Router history={history}>

      <Prompt when={true} message={blocker} />

<Link to="/">Home</Link>

<Link to="/about">About</Link>

<Link to="/topics">Topics</Link>

      <Route exact path="/" component={Home}/>
      <Switch>
      <Route path="/about" component={About}/>
      <Route path="/topics" component={Topics}/>
      </Switch>

  </Router>
)
export default BasicExample

Now, try following scenario:

Load the home page.
Go to /topics by clicking link.

"Topics" page opened.

Generate POP action which will be blocked – i.e., enter "/about" in address bar.

"About" page isn't opened, but path /about is in address bar

Go to home page by clicking link

"Home" page is opened, path / is in address bar.

Generate not blocked POP action by clicking "back" btn in browser.

Path is changed to /about but still Home page is displayed.

Expected behavior:
Transition from /topics to /about is not allowed and so ignored. History must look like this:
--(load)--> home --(link)--> topics --(link)--> home --(back)--> topics

Actual behavior:
Flag forceNextPop makes any next POP action after blocked POP action to be ignored. Despite it can be a lot of transitions before next POP actually happens.
Why forceNextPop is needed at all?

Thank you @minzojian  for putting together a great test case.   Just spent the last hour debugging through react-router-navigation-prompt to come to the same discovery.
When I use try to stop a goBack() call - it works
When I use  tag - it doesn't - using reactstrap breadcrumbs
Anyone find a workaround?

This is a known issue that we cannot fix. Blocking will be removed in the next major version (see #690 for rationale).


Uvhydro Do the same axis/last day change for secondary plots as primary plots.

Also, PR for PT's capitalization.

Coverage increased (+0.01%) to 86.148% when pulling 816aebeb971c770a45250fe1f32488e84d6e6767 on dpattermann-usgs:corrPresort into f536a9a2ccd05837f5e92172d967710873d8cc7e on USGS-R:master.

:+1:

Coverage increased (+0.01%) to 86.148% when pulling 5e711385df2dfe40da7b6eb6b00690f0e771b2f3 on dpattermann-usgs:corrPresort into f536a9a2ccd05837f5e92172d967710873d8cc7e on USGS-R:master.


Voice but not checkpoint for italian?

Hi all
I'm using pipertts for a small experiment at home, I'm Italian so I'm using the Italian voice "Paola".
I was thinking of training another voice, so I started searching tutorials, but the ones I found starts from a checkpoint.
But in the repository i don't see an Italian checkpoint
https://huggingface.co/datasets/rhasspy/piper-checkpoints/tree/main
What should I do?
Thank You
K.

same problem here

Hi. I have the same problem. I would like to train an Italian voice, but because I don't have a check point everything sound like gibberish.

I tried using the Spanish checkpoint, but the results were weird (and wasted 10€ of colab credit ^_^).
I wonder how much GPU time would take to make a Italian checkpoint

Hi. I could finally make an Italian check point based on an English one and it worked quite well. Sometimes it gets weird, but I think that I could use a longer dataset to train even better. I'm not using colab, but I have my own GPU.

Mind sharing some info like
How many minutes/hours of voice did it take?

Hi, for the moment I used around 40 minutes, and it doesn't sound that bad. I am planning to get to 2 hours of material in the near future.

Hi. I could finally make an Italian check point based on an English one and it worked quite well. Sometimes it gets weird, but I think that I could use a longer dataset to train even better. I'm not using colab, but I have my own GPU.

Hi, did you used the Lessac checkpoints and fine-tuning Italian?

yes, it worked quite well, once I found the right amount of material.

Hi guys, I would like to have another Italian Voice too, could you share your results? The project has only 2 voices but with strong accent that I don't like much.

I'm working on it, I'm about at 1700 epoch I'll publish on hugging face as soon as it reach 2000

Hello, I'm using a voice of a friend who's a voice actor, but unfortunately I don't have permission to release it. I'll try to find some free voices that I can use.

I've almost finished training the first voice based on the dataset I published here
https://huggingface.co/datasets/kirys79/piper_italiano
It has nice quality but an accent of south italy (Siciliano), but should be much better for fine tuning than any other language.
Tomorrow I'll load it on this repo
https://huggingface.co/kirys79/piper_italiano


Support dynamic default values

Hi,
I'm wondering how to generate a table that uses UUID's as primary key and with this is possible using moor. I think the PK part is right below, setting the default is something I don't understand.
Given the following code:
class User extends Table{

  IntColumn get id => text().withDefault();//Uuid().v4() should be used here
  TextColumn get firstName => text().withLength(min:3).withDefault( const Constant("Max"))();
  TextColumn get lastName => text().withLength(min:3).withDefault( const Constant("Power"))();
  TextColumn get email => text()();
  TextColumn get position => text()();

  @override
  Set<Column> get primaryKey => {id};
}

The primary key part looks correct to me. Unfortunately, default values must be constants at the moment. This is because we write them into the CREATE TABLE statement (so your table would generate something like first_name TEXT CHECK(LENGTH(first_name) >= 3) DEFAULT 'Max'). Of course, we can't support non-constant Dart expressions like Uuid().v4() with that approach.
Exposed for Kotlin has something called a clientDefault. It's a function that will be evaluated for each insert, the return value will then be used for the column. I can imagine a similar api in moor, so something like
IntColumn get id => text().clientDefault(() => Uuid().v4());

Thanks for the reply, I fully understand that if the code generates a SQL script the value has to be static. The client side check you mentioned sounds good to me, it could be an useful addition. I will go one with my checks, so far Moor looks really promising. When done I will check if I can find a quick workaround for this use case

Is it better to store UUID's as blobs? This is the converter I wrote.
class UUIDConverter extends TypeConverter<String, Uint8List> {
  const UUIDConverter();

  @override
  String mapToDart(Uint8List fromDb) =>
      fromDb != null ? Uuid().unparse(fromDb) : null;

  @override
  Uint8List mapToSql(String value) =>
      value != null ? Uint8List.fromList(Uuid().parse(value)) : null;
}

Is it better to store UUID's as blobs?

You save some bytes because the binary encoding is more efficient. The difference should be marginal though. I don't think there will be any performance difference apart from that.

clientDefault will be available in the next moor version. Thanks again for the idea!

TextColumn get id => text().clientDefault(() => uuid.v4())();
How can I retrieve the generated uuid?

You'd have to insert an object, get its id and load that. That will give you a full row which includes the computed fields.

What about an option to return the primary key value by default on insertion? Would it be hard to implement?
And thanks for the quick reply.

an option to return the primary key value by default on insertion

sqlite only gives us the rowid for inserts (which usually is the primary key when using auto increment or having a single PK column of type int). That is what we return from the insert methods.
So there isn't really a way to load a row's primary key without loading the full row in a select.

Got it. Thanks

To retrieve the value from the table class initialization, proceed as follows:
dynamic uuid;
TextColumn get id => text().clientDefault(() => uuid = _uuid.v4())();

To retrieve the value in the dynamic uuid variable


Update vulnerable dependencies

Snyk has found a vulnerability in one of your dependency. This was patched in a minor version update on @octokit/auth-app v4.0.8.

I accidentally duplicated your work here in pull request 61 and pull request 62 from dependabot alerts on my fork...my bad. I didn't mean to waste my time or to step on your toes. I closed 61, but 62 is a slightly newer patch version and I don't understand the differences so I'll leave that one.

CVEs addressed by this pull request:

CVE-2022-23529 - jsonwebtoken has insecure input validation in jwt.verify function
CVE-2022-23539 - jsonwebtoken unrestricted key type could lead to legacy keys usage
CVE-2022-23540 - jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify()
CVE-2022-23541 - jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC
CVE-2022-46175 - Prototype Pollution in JSON5 via Parse Method


feat(Consumer): escape commas + use Writer + test Print

Address the remaining tasks of:  https://github.com/optopodi/optopodi/issues/30

[x] escape , in entry content
[x] make a test producer that supplies dummy data to test it
[ ] Use anyhow::Error instead of String for the Consumer return type. This can be addressed in another PR since we already have an issue for it: https://github.com/optopodi/optopodi/issues/28

I used the csv crate to write/escape the data.
As suggested in the review of  #32, I added a Write instance variable to the Print struct. I decided to add it to the state rather than as a parameter to the consume function to avoid (or just postpone) refactoring the struct: ExportToSheets, which is a Consumer but the Write parameter cannot be added straightforward.
To test the Print, I had to pass a reference to consume (&self instead of self).
Since the resulting code is a bit over-complex,  feedback is super appreciated, thanks!

@angelocatalani I'm happy to take a look at this but likely won't have all too much to give you — I am no expert (yet) when it comes to Arc and Mutex... @nikomatsakis will have much better insight for you.

@angelocatalani so I took a look. I think it's not worth having the unit tests. Really we're just checking that the csv::Writer code works correctly, and maybe it'd be better to just build up a unit testing harness runs the final executable anyway.
I pushed a commit that moves back to by-value and things work much more nicely.
If we really wanted the unit tests, I'd probably implement some custom writer that writes the data into a shared buffer, but it doesn't seem worth the trouble.

Moving to anyhow::Error and rebasing would be good though!

OK great I ll do it and request a new review


Fix MSVC compiler warnings

This fixes C4244 warnings about narrowing conversions by using the correct
types, casting to the correct types, and defining ssize_t to SSIZE_T
(which is int for 32-bit applications and long long for 64-bit applications).
This makes libmaxminddb level 3 warning clean on Visual C++.

Thanks! I  merged this from the command line. I did make a small change to make maybe_populate_result return a uint8_t instead of an int.

Thank you!


Bootstrap dynamic popup content with DeferRender

In case that DOM entities every time recreating with popup phoxy.Defer fails to work fine.

Moved to https://github.com/Enelar/phoxy-snippets/issues/1


🗑 Deprecate pod

Resolves getditto/ditto#4930

Added deprecated_in_favor_of = 'DittoSwift  to podspec
Added note about new Combine APIs in DittoSwift 1.1.1
Fixed broken images on readme

Merging this because I ran into trying to install this today


load-8bit flag doesn't work

Describe the issue
When I use the --load-8bit flag it's returning a load_compress_model that's not imported anywhere (and for that reason -I guess- it's failing?).
Any ideas on how to go about this issue? I've searched for this obj in the code itself and in hugging face's API but couldn't find it, so I'm kind of clueless on what to do.
I'm running this on a one GPU machine. It's an old T420 with archlinux.
Thanks!

Thanks for raising this @marimeireles! I think we fixed this flag and will enable the functionality in #77


Build error at first run

Severity	Code	Description	Project	File	Line	Suppression State
Error		(Line: 11, Col: 9, Idx: 208) - (Line: 11, Col: 9, Idx: 208): Expected 'MappingStart', got 'SequenceStart' (at Line: 11, Col: 9, Idx: 208).	docker-compose	C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.VisualStudio.Docker.Compose.targets	294

there was an error related with the parsing of the docker compose file in Visual Studio.  please, checkout last repository updates and try again.
if the error persists, let us know which Visual Studio version you are using for testing. also, you could try to execute the application using the command line
docker-compose up -d webmvc


[zh] /docs/concepts/storage/ephemeral-volumes/ is missing in Chinese version

This is a Bug Report
Problem:
[zh] /docs/concepts/storage/ephemeral-volumes/ is missing in Chinese version
Proposed Solution:
Add content/zh/docs/concepts/storage/ephemeral-volumes.md
Page to Update:
https://kubernetes.io/zh/docs/concepts/storage/ephemeral-volumes/
content/zh/docs/concepts/storage/ephemeral-volumes.md

/language zh
/assign


[css unknownAtRules] [W] Unknown at rule @tailwind

Describe the bug
Here is what's in my style.css file:
@tailwind base;
@tailwind components;
@tailwind utilities;

I'm seeing the following error: [css unknownAtRules] [W] Unknown at rule @tailwind
To Reproduce
I simply followed your install instructions: CocInstall coc-tailwindcss
Is there anything else I need to do?
Expected behavior
I would expect not to see this error
Screenshots

Desktop (please complete the following information):

OS: MacOs

Hi, @npearson72
"css: unknownAtRules" is a diagnostic message output from coc-css.
There is a way to ignore this message. Try adding this setting to coc-settings.json.
  "css.lint.unknownAtRules": "ignore",

As a side note, coc-css was updated the other day. This setting is only available with the latest version of coc-css, so please update coc-css as well.

I have the same issue with @apply, and the coc-settings.json update does not work for me. I also had this issue before installing coc-css.
I've tried adding both of these:
"css.lint.unknownAtRules": "ignore",
"scss.lint.unknownAtRules": "ignore",

and still see the same error:
⚠ 191   @apply bg-white border text-black px-px5 pt-px2;
    1    [css unknownAtRules] [W] Unknown at rule @apply


[example] models-skybox example does not work in HDR mode

The skybox example does not function if useHDR is set to true.
This seems to have been broken with commit
https://github.com/raysan5/raylib/tree/51f3129c5dfa4be70787fa9c4473335252abffcd
In this commit GenTextureCubemap was moved out of rlgl.h and a copy was put into models_skybox.c
Sadly I can not see what is different about the old version in rlgl.h and the new inline one. I'm not sure if it is how the code was transformed, or if there was some other change in the underlying rlgl code.
I did verify the example works with HDR in the commit before.

This issue seems a duplicate of https://github.com/raysan5/raylib/issues/1778

@JeffM2501 Thanks for detecting the commit where it broke! I think I can find the issue... :)


#11886: Refactoring moreh group norm forward

Ticket
https://github.com/tenstorrent/tt-metal/issues/11886
Problem description
moreh_groupnorm needs refactoring as it currently does not support

n-dimensional tensors
optional output
fp32 dest accum

What's changed
For this task, since the amount of code being modified is large, I plan to create separate PRs for the forward and backward operations.
refactoring moreh_group_norm forward

add fp32_dest_acc_en support
support non 4d tensor
support optional output tensor

I am adding a new feature to the utility function.

Now, functions like comp_allclose will output both the index and the value that cause the failure when they fail.

Checklist

[x] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[x] New/Existing tests provide coverage for changes

overall good work, my main concern is in quite a few of the kernels here we have many expensive arithmetic operations.
some are unavoidable.
Operations being , multiplication, division, modulo. These are expensive in the RISC-V cores, if we can represent some of them as a sum in a loop from a starting point on the host that would be awesome.
As well as instead of modulo in a loop, maybe we can do a subtraction?
It might require some rethinking of the kernels for perf.

Overall changes look reasonable. One question, why are there so many new kernel files? Are they newly added or moved from somewhere?

The kernels were newly created. The number increased because separate kernels were made for 2D, 3D, and other-dimensional input tensors.
While it is possible to combine everything into one by adding many macros, the kernels are quite long. I thought it would be too difficult to manage if macros were included, so I kept them separate.

Overall changes look reasonable. One question, why are there so many new kernel files? Are they newly added or moved from somewhere?

The kernels were newly created. The number increased because separate kernels were made for 2D, 3D, and other-dimensional input tensors.
While it is possible to combine everything into one by adding many macros, the kernels are quite long. I thought it would be too difficult to manage if macros were included, so I kept them separate.
@TT-BrianLiu

overall good work, my main concern is in quite a few of the kernels here we have many expensive arithmetic operations. some are unavoidable. Operations being , multiplication, division, modulo. These are expensive in the RISC-V cores, if we can represent some of them as a sum in a loop from a starting point on the host that would be awesome. As well as instead of modulo in a loop, maybe we can do a subtraction?
It might require some rethinking of the kernels for perf.

I agree that the current implementation may have performance issues.
However, even with an implementation that prioritizes the convenience of the developer without considering performance, the kernel code is already too long and complex.
If we consider performance at this stage, the PR might become too large, and I can't guarantee a completion date. Therefore, I would like to merge it first in a state where the correct values are produced and then work on performance optimization later.
@ntarafdar

too many conlfict. i'm gonna make pr again.