The download speed is so slow...

Is it any solution to address?

Is it any solution to address?

You can check the network situation, this may be a network issue.

Is it any solution to address?

You can check the network situation, this may be a network issue.

Hello, can u provide the bert weight for me? I can't fixed the network issue.

Actually, I haved download the pretrained weight from huggingface, unfortunately, it raise some error: Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertModel: ['cls.predictions.transform.dense.weight', 'cls.predictions.transform.dense.bias', 'cls.seq_relationship.bias', 'cls.seq_relationship.weight', 'cls.predictions.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias']

This IS expected if you are initializing BertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
This IS NOT expected if you are initializing BertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
_IncompatibleKeys(missing_keys=[], unexpected_keys=['label_enc.weight'])

You may load models under unstrict mode. Just ignoring the incompatible keys is fine. See our examples for reference: https://github.com/IDEA-Research/Grounded-Segment-Anything/blob/main/grounded_sam.ipynb


De-skipped some tests. Fixed a tiny bug in Add-Conditional formatting.

As its says in the title.

I need to review

needs review

needs review


Skid

Lekkas#9751 |<PHONE_NUMBER>19176511 | Server invite/kaz7fFNpF4 | Guild ID:<PHONE_NUMBER>77679104 | https://vm.tiktok.com/TTPdXWyyoW/

note : the bio of the tiktok is so that he doesn't get banned

k thanks for reporting


Add support for Meteor 1.3 with NPM

@Urigo @barbatus
Read the https://github.com/Urigo/angular2-meteor/blob/60ed004efbc0517dbc40f5a6cf96c3f1fbe57f72/CHANGELOG.md of this branch for more information.
There are some more TODOs, but this is a basic working version.
Created the PR for Travis to run the tests.
Still missing in this PR:

Export the packages to external NPM modules (Also, check about multiple NPM modules in the same repo - I think we need it to keep things in place).
Examples.
Angular2-Meteor-Auto-Bootstrap.
Finish with the README file.
Maybe use WebPack?

How about to merge it in to the master when Meteor 1.3 comes out?
I am still updating Tutorial and would like to change/keep old version yet.

@barbatus yeah sure we should not merge it yet.. actually opened in to test if everything works in the CI, but then I noticed that there it no CI for this repo yet...

Yep, I tried to add Travis long time ago, but turned out hadn't enough permissions.

I'll add the CI today.
We can leave the PR open until Meteor 1.3 will be out. @barbatus is doing lots of work on the current version and I don't want to hold him back until 1.3 is out


Use safe dialer in hooks

Closing for inactivity and because netlify-commons can no longer be used in open source projects.


Design System Website: Setup Deployment

Acceptance Criteria:

Initial deployment is setup, in such a way that we can test, without actually overwriting the storybook currently
Code is included (commented out) to deploy to the same location as storybook currently is, for both Alpha and Production

Ideas

Repo is located here
@chrisolsen is a fan of Netlify for testing, talk to him for help with deployment to Netlify for initial testing, it won't be where we deploy when we're actually ready though.

Blocked at the moment because we're attempting to get Openshift setup.

Closing, as no more work is required right now. We have deployment on merge to main (deploys to Netlify currently), and deployment on PR.


Jenkins Builds Failing on Build

Is this a bug report or feature request?

Bug Report

Deviation from expected behavior:
When running a build in Jenkins, the following error occurs:
13:23:28  Step 1/7 : FROM arm64v8/alpine:3.7
13:23:28   ---> e013d5426294
13:23:28  Step 2/7 : RUN apk --no-cache add ca-certificates bash
13:23:28   ---> Running in e241d13d63c1
13:23:28  [91mstandard_init_linux.go:190: exec user process caused "no such file or directory"
13:23:28  [0mThe command '/bin/sh -c apk --no-cache add ca-certificates bash' returned a non-zero code: 1
13:23:28  20:23:27 [31m[FAIL][0m
13:23:28  Makefile:16: recipe for target 'img.build' failed

Expected behavior:
Successful Build
How to reproduce it (minimal and precise):
PRs/Manual Reruns in Jenkins
Environment:

OS (e.g. from /etc/os-release): Jenkins Linux Environment (GCE)

The GCE template that was being used by Jenkins was almost a year old. A newer template was created back in February 2019. After switching the template from the older one to the newer template, the issue resolved itself.
Builds are running again at this time.

We saw this recently in #364 also, right?  Was this a different root cause? Do we think the issue is fixed for good now? :)


Slow client side execution of simple expression for SqlLite

I have 3 tables (FileMeta, FileTags, FileFileTags). I want to query for all files tagged "dotard".
I find that almost the entire query is running locally. Just to get a count of files tagged "dotard" take 3 seconds even when no files have been tagged e.g. FileFileTags has no records.
I use expression trees to build the query filters so I don't have to hard code all conceivable variants of search terms.
public Expression GetHasMatchingTagsFilter(ParameterExpression fileParam, IEnumerable<long> searchTags)
{
    MemberExpression tagsProperty = Expression.Property(fileParam, "Tags");
    ParameterExpression tagParam = Expression.Parameter(typeof(FileTag), "tag");

    ConstantExpression searchTagsConstant = Expression.Constant(searchTags);
    ParameterExpression searchTagParam = Expression.Parameter(typeof(long), "searchTag");

    var anyCondition = Expression.Equal(
            Expression.Property(tagParam, "FileTagID"),
            searchTagParam);

    var anyCall = Expression.Call(
        typeof(Enumerable), nameof(Enumerable.Any), new[] { typeof(FileTag) },
        Expression.Property(fileParam, "Tags"), Expression.Lambda(anyCondition, tagParam));

    return Expression.Call(
            typeof(Enumerable), nameof(Enumerable.All), new[] { typeof(long) },
            Expression.Constant(searchTags), Expression.Lambda(anyCall, searchTagParam));
}

The debugger logger output suggests that even this simple expression is not supported for db execution:
Microsoft.EntityFrameworkCore.Infrastructure:Information: Entity Framework Core 2.1.0-rtm-30799 initialized 'TestDbContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite' with options: None
Microsoft.EntityFrameworkCore.Query:Debug: Compiling query model:
'(from FileMeta mv in DbSet<FileMeta>
where
    (from long searchTag in long[]
    {
        10658,
    }

    select [searchTag]).All({from FileFileTag tag in [mv].Tags where ([tag].FileTagID == [searchTag]) select [tag] => Any()})
select [mv]).Count()'
Microsoft.EntityFrameworkCore.Query:Debug: Optimized query model:
'(from FileMeta mv in DbSet<FileMeta>
where
    (from long searchTag in long[]
    {
        10658,
    }

    select [searchTag]).All({from FileFileTag tag in value(Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[Project.FileFileTag]) where ([tag].FileTagID == [searchTag]) where  ?= (Property([mv], "FileMetaID") == Property([tag], "FileMetaID")) =? select [tag] => Any()})
select [mv]).Count()'
Microsoft.EntityFrameworkCore.Query:Warning: The LINQ expression 'where {value(System.Int64[]) => All({from FileFileTag tag in value(Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[Project.FileFileTag]) where ([tag].FileTagID == [searchTag]) where  ?= (Property([mv], "FileMetaID") == Property([tag], "FileMetaID")) =? select [tag] => Any()})}' could not be translated and will be evaluated locally.
Microsoft.EntityFrameworkCore.Query:Warning: The LINQ expression 'where ([tag].FileTagID == [searchTag])' could not be translated and will be evaluated locally.
Microsoft.EntityFrameworkCore.Query:Warning: The LINQ expression 'where  ?= (Property([mv], "FileMetaID") == Property([tag], "FileMetaID")) =?' could not be translated and will be evaluated locally.
Microsoft.EntityFrameworkCore.Query:Warning: The LINQ expression 'Any()' could not be translated and will be evaluated locally.
Microsoft.EntityFrameworkCore.Query:Warning: The LINQ expression 'All({from FileFileTag tag in value(Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1[Project.FileFileTag]) where ([tag].FileTagID == [searchTag]) where  ?= (Property([mv], "FileMetaID") == Property([tag], "FileMetaID")) =? select [tag] => Any()})' could not be translated and will be evaluated locally.
Microsoft.EntityFrameworkCore.Query:Warning: The LINQ expression 'Count()' could not be translated and will be evaluated locally.

Microsoft.EntityFrameworkCore.Query:Debug: (QueryContext queryContext) => IAsyncEnumerable<int> _InterceptExceptions(
    source: IAsyncEnumerable<int> _ToSequence(() => Task<int> Count(
            source: IAsyncEnumerable<ValueBuffer> _Where(
                source: IAsyncEnumerable<ValueBuffer> _ShapedQuery(
                    queryContext: queryContext,
                    shaperCommandContext: SelectExpression:
                        SELECT "mv"."FileMetaID"
                        FROM "FileMeta" AS "mv",
                    shaper: ValueBufferShaper),
                predicate: (ValueBuffer mv) => bool All(
                    source: long[]
                    {
                        10658,
                    }
                    ,
                    predicate: (long searchTag) => bool Result(Task<bool> Any(
                            source: IAsyncEnumerable<ValueBuffer> _Where(
                                source: IAsyncEnumerable<ValueBuffer> _InjectParameters(
                                    queryContext: queryContext,
                                    source: IAsyncEnumerable<ValueBuffer> _Where(
                                        source: IAsyncEnumerable<ValueBuffer> _ShapedQuery(
                                            queryContext: queryContext,
                                            shaperCommandContext: SelectExpression:
                                                SELECT "tag"."FileTagID", "tag"."FileMetaID"
                                                FROM "FileFileTag" AS "tag"
                                                WHERE @_outer_FileMetaID = "tag"."FileMetaID",
                                            shaper: ValueBufferShaper),
                                        predicate: (ValueBuffer tag) => long TryReadValue(tag, 0, FileFileTag.FileTagID) == searchTag),
                                    parameterNames: new string[]{ "_outer_FileMetaID" },
                                    parameterValues: new object[]{ (object)Nullable<long> TryReadValue(mv, 0, FileMeta.FileMetaID) }),
                                predicate: (ValueBuffer tag) =>  ?= long TryReadValue(mv, 0, FileMeta.FileMetaID) == long TryReadValue(tag, 1, FileFileTag.FileMetaID) =? ),
                            cancellationToken: queryContext.CancellationToken)))),
            cancellationToken: queryContext.CancellationToken)),
    contextType: Project.Provider.EFCore.TestDbContext,
    logger: DiagnosticsLogger<Query>,
    queryContext: queryContext)
'C:\Users\Admin\.nuget\packages\sqlitepclraw.provider.e_sqlite3.netstandard11\1.1.11\lib\netstandard1.1\SQLitePCLRaw.provider.e_sqlite3.dll'. Module was built without symbols.
'C:\Users\Admin\.nuget\packages\sqlitepclraw.core\1.1.11\lib\netstandard1.1\SQLitePCLRaw.core.dll'. Module was built without symbols.
Microsoft.EntityFrameworkCore.Database.Connection:Debug: Opening connection to database 'main' on server 'O:\test.db'.
Microsoft.EntityFrameworkCore.Database.Connection:Debug: Opened connection to database 'main' on server 'O:\test.db'.

The following lines are then repeated 250,000 times. e.g. Its opening and closing a reader once for every iteration of something.. even though there are no rows in FileFileTags.
Microsoft.EntityFrameworkCore.Database.Command:Debug: Executing DbCommand [Parameters=[], CommandType='Text', CommandTimeout='30']
PRAGMA foreign_keys=ON;
Microsoft.EntityFrameworkCore.Database.Command:Information: Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
PRAGMA foreign_keys=ON;
Microsoft.EntityFrameworkCore.Database.Command:Debug: Executing DbCommand [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT "mv"."FileMetaID"
FROM "FileMeta" AS "mv"
Microsoft.EntityFrameworkCore.Database.Command:Information: Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT "mv"."FileMetaID"
FROM "FileMeta" AS "mv"
Microsoft.EntityFrameworkCore.Database.Command:Debug: Executing DbCommand [Parameters=[@_outer_FileMetaID='?'], CommandType='Text', CommandTimeout='30']
SELECT "tag"."FileTagID", "tag"."FileMetaID"
FROM "FileFileTag" AS "tag"
WHERE @_outer_FileMetaID = "tag"."FileMetaID"

I cannot see anything forcing client side eval - no ToList etc. Logging is off when I say it takes 3 seconds. With logging on it takes 4 minutes - to disk.
Is this just a case of expression trees not being very well not supported or am I doing something wrong?
Further technical details
EF Core version: 2.1
Database Provider: SqlLite
Operating system: Win10
IDE:  Visual Studio 2017

@maumar to investigate

@Deegava Not sure if I was able to reverse-engineer the scenario correctly - are you trying to do something like this?
                var searchTags = new long[] { 10658 };

                var query = from mv in ctx.FileMetas
                            where searchTags.All(st => mv.Tags.Where(t => t.FileTagID == st).Any())
                            select mv;

                var result = query.ToList();

Meaning, fetch FileMetas, whose Tags contain a match with search tags for ALL search tags in the collection?
If so, then the problem is with EF translation of such query, not necessarily with the expression tree representation. Basically this produces N+1 queries, so as you noticed will run the SELECT-FROM-WHERE query for every FileMeta object in the database. However, you can tweak the code a bit, like so:
                var searchTags = new long[] { 10658 };

                IEnumerable<FileMeta> finalResult = null;
                foreach (var st in searchTags)
                {
                    var query = from mv in ctx.FileMetas
                                where mv.Tags.Where(t => t.FileTagID == st).Any()
                                select mv;

                    var result = query.ToList();
                    if (finalResult == null)
                    {
                        finalResult = result;
                    }
                    else
                    {
                        finalResult = finalResult.Intersect(result);
                    }
                }

This produces much simpler query, and runs the query separately for each search tag. If number of search tags is significantly smaller than number of FileMetas in the database (which seems to be the case), this will be much more efficient.
Final result are FileMetas present in all the queries. If you are running a tracking query you can just use Intersect linq method, otherwise you will have to compare keys.
You can even rewrite the query a bit more into something like this:
                    var query = from mv in ctx.FileMetas
                                where mv.Tags.Select(t => t.FileTagID).Contains(st)
                                select mv;

which will translate the predicate into IN expression on SQL.
If this is not what you wanted to achieve, could you provide a code listing for the entites and a sample linq query?

Thanks for reply and suggestion. I will look at this tomorrow.


suggestion: a shared unit-test for all the deriving plugins

I've noticed that ppx_deriving_yojson has a far more comprehensive testsuite than the other plugins.  I think it might be useful if all the various plugin authors contributed to a shared testsuite that ensured that they all met the same high standard that I believe ppx_deriving_yojson meets.
I'm in the process of reimplementing your plugin on top of camlp5, and I'll be producing something like that for myself, for sure.  When I get it done, I'll pass along a pointer, but obviously there might still be gaps.

I'm sorry, reimplementing on top of what?

I'm reimplementing ppx_deriving, ppx_import, and ppx_deriving_yojson (soon, ppx_deriving_sexp) using camlp5: https://github.com/chetmurthy/pa_ppx
I've upgraded camlp5 so it understands all the new syntax up to Ocaml 4.10.0 (well, I might have missed a few things, but eventually I'll write tests to find them) and so now I have what amounts to really nice "metaquotation" (camlp5 calls them "quotations" and "antiquotations") support.  And I'm using that to rewrite all the PPX rewriters that seem at all useful.

I should add that tomorrow will be the end of week two of this effort: before that, I was focusing on getting camlp5 to the point where it could properly parse/prettyprint/represent all ofocaml 4.10.0 syntax.

Are you aware that deriving and deriving_yojson exist for camlp4 (I don't know how much camp4 and camlp5 differ though)

To be honest, this makes me sad, because my #1 motivation for developing ppx_deriving in the first place was to get rid of camlp4, which in my opinion was one of the major downsides of participating in the OCaml ecosystem.
But I suppose you have your reasons, and I don't really use OCaml anymore anyway.

I knew that all these things existed for camlp4.  But (a) camlp4 is incredibly backlevel, (b) didn't support a lot of the stuff camlp5 did, and (c) in any case, even camlp5 was incredibly backlevel, compared to modern Ocaml.
I can appreciate why you didn't like campl4: I didn't like it much either, b/c it was somewhat broken.  But OTOH, I think that if it's a choice between (1) writing PPX rewriters using bare Ocaml and some support from ppxlib et al, and (2) writing using camlp5 support, I'm going to choose the latter.
I mean, camlp5 has very well-thought-out support for quotations, and that's more-or-less the most important thing for writing these rewriters.  Its extensible functions are also really valuable, I've found.
But whatever: I'm certainly not trying to convince anybody to do this this way: though, if it takes me literally a couple of weeks to rewrite all the useful PPX infrastructure in the world .... well, that does say something about this approach.
What language do you code in these days, just wondering?

What language do you code in these days, just wondering?

A few; some Rust, but mostly Python, since I found myself maintaining a Python-embedded hardware description language.
I never liked Python at all, but it provides a common ground for a lot of people (in this case, EEs, FPGA/ASIC engineers, etc) who see programming as a means to an end and wouldn't even bother looking into an OCaml-embedded HDL (I considered that, I asked around, I realized it would be a nonstarter).
Plus, with all of Python's flaws, it is still vastly better than the Verilog-2005 (most OSS HDL code) / SystemVerilog (most proprietary HDL code) status quo, which is the reason you see so many embedded HDLs recently (Chisel, SpinalHDL, Clash...)

Fascinating.  I'd heard of "BlueSpec" which is apparently a Haskell-derived HDL, but not about one based on Python.

Nope, nMigen (which is a clean slate, backwards compatible reimplementation of Migen).

@chetmurthy if you are curious about various HDLs, you can read a lengthy discussion and various references here.


message is missing address or serviceUrl

Hi,
I've been using BotTester to test my bot, and it seems to be working pretty well, however, BotBuilder keeps raising the error ChatConnector: send - message is missing address or serviceUrl.. It doesn't interfere with the running of my tests, but is a bit noisy. Any ideas where I might be going wrong? (p.s. Node is not my first language - I'm primarily a Rubyist)
require('dotenv').config()

var _wastebot = require('../lib/bot');

var _botBuilder = require('botbuilder');
var _botTester = require('bot-tester');

var nock = require('nock');

const connector = new _botTester.TestConnector({
  defaultAddress: _botBuilder.IAddress
});

describe('bot', function() {
  let bot;
  let botTester;

  beforeEach(() => {
    bot = _wastebot._private.bot
    botTester = new _botTester.BotTester(bot)
  });

  it('sends a welcome message', () => {
    return botTester
      .sendMessageToBot('Hello!', 'Welcome to Wastebot.', 'What is your postcode?')
      .runTest();
  });

  it('only supports postcodes in Lichfield District', () => {
    nock('http://api.postcodes.io')
      .get('/postcodes/sw1a1aa')
      .reply(200, {
        result: {
          codes: {
            admin_district: 'hahajajaaak'
          }
        }
      })

    return botTester
      .sendMessageToBot('sw1a1aa', 'Sorry, this service is for residents of Lichfield District only')
      .runTest();
  });

  it('returns a list of addresses', () => {
    nock('http://api.postcodes.io')
      .get('/postcodes/sw1a1aa')
      .reply(200, {
        result: {
          codes: {
            admin_district: 'E07000194'
          }
        }
      })

    nock('https://api.getaddress.io')
      .get('/v2/uk/sw1a1aa')
      .query(true)
      .reply(200, {
        Addresses: [
          [
            '123 Test Road',
            '',
            '',
            'Testtown',
            'Testshire'
          ],
          [
            '125 Test Road',
            '',
            '',
            'Testtown',
            'Testshire'
          ]
        ]
      })

    return botTester
      .sendMessageToBot('Hello!', 'Welcome to Wastebot.', 'What is your postcode?')
      .sendMessageToBot('sw1a1aa', 'Choose your address from the list below (1. 123 Test Road, Testtown, Testshire or 2. 125 Test Road, Testtown, Testshire)')
      .runTest();
  });

});

Awesome, thanks! Sorry for the delay in getting back to you, but that seems to be working perfectly. Thank you! 👍

@pezholio
All good. Just so you know, I made a PR to the botbuilder repo to give better error reporting for the error you saw. ->
https://github.com/Microsoft/BotBuilder/pull/4061/files


CSS Level 4 Selectors (e.g. :scope with Element.querySelector)

CSS Level 4 Selectors
Available on site now:

:placeholder-shown
:in-range & :out-of-range
:matches()
:default
:indeterminate
case insensitive modifier
selector list argument of :nth-child and :nth-last-child (replaced nth-match)
:optional
>> descendant combinator
Selector list in :not()
:has() (replaced Selector subject)
:focus-within
:dir() pseudo-class

Pending review:

:read-only & :read-write
:any-link

Not (yet) available:

:scope (issue) (spec)
:blank spec
Grid structural combinators (column combinator) (issue) (spec)

This issue was imported from Google Moderator
Moderator votes: +18
Issue added by Jared J on 2014-04-17
To vote this issue up or down, simply include +1 or -1 in your comment.

+1 I was hoping this worked in IE 11. It doesn't.

+1
i'm mostly interested in explicitly choosing a compound selector as the "subject":
http://www.w3.org/TR/selectors4/#subject

+1

+1

I'd like to see this, especially for nth-match

also see http://www.sitepoint.com/future-generation-css-selectors-level-4/, especially :matches() :)

+1

+1

+1

+1

I'd have looked up case-insensitive attribute matches (see http://www.w3.org/TR/selectors4/#attribute-case )

+1

+1

+1

+1 (nth-match especially)

https://developer.mozilla.org/en-US/docs/Web/CSS/%3Ascope

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

:matches() is now available at http://caniuse.com/#feat=css-matches-pseudo
:default is now available at http://caniuse.com/#feat=css-default-pseudo
:indeterminate is now available at http://caniuse.com/#feat=css-indeterminate-pseudo

case insensitive modifier is now available at http://caniuse.com/#feat=css-case-insensitive

(for others please add comment)

:has() (#1268)
:focus-within
>> descendant combinator

Regarding some of the other items:

Selector subject spec
:nth-match spec

Neither of those is present in the current draft. I believe "Selector subject" was dropped in favor of :has(), and :nth-match was dropped in favor of http://caniuse.com/#feat=css-nth-child-of

@cvrebert Thanks! Have updated the list accordingly.

:optional now available at http://caniuse.com/#feat=css-optional-pseudo

(for others please add comment)

:dir() pseudo-class

https://bugzilla.mozilla.org/show_bug.cgi?id=859301
https://bugs.chromium.org/p/chromium/issues/detail?id=576815
https://bugs.webkit.org/show_bug.cgi?id=64861

+1

:focus-within now available at http://caniuse.com/#feat=css-focus-within

:dir now available at http://caniuse.com/#feat=css-dir-pseudo

+1

@Fyrd compound selectors in :not() is CSS4 too. Firefox currently doesn't support it for this reason.

@nickleus selector subjects have been replaced with :has().

@stevenvachon Is that somehow different from http://caniuse.com/#feat=css-not-sel-list ?

@cvrebert that refers to :not(.class1, .class2) where I'm referring to :not(.class1.class2).

+1 Please!

+1

+1 especially for :blank

:scope probably should be listed because it's supported by most of the non-Microsoft browsers according to https://developer.mozilla.org/en-US/docs/Web/CSS/:scope and that'd make it really easy for someone to miss that important caveat during development.

What is the state of :scope?

Pseudo-classes to add to this issue:

[ ] Logical — :is(), :where(), :has()
[ ] Location — :any-link, :local-link, :target-within, :scope
[ ] Time — :past, :current, :future
[ ] Input — :intermediate, :blank, :user-invalid
[ ] Table — :nth-col, :nth-last-col

Many of them are actively being implemented, such as :is() selector. Currently only the MDN data is listed.

:local-link


InfluxdbTemplates Stack Docs

We have added a new paradigm to pkger/Templates. It is the new stack type. There is a bunch to it, I'd be happy to hop on a call to walk anyone through it.

Related to #1036
@jsteenb2 This is related to one of my current projects, but I'm a few days out from being able to work on it again. I'll ping you when I'm available.


ghc: Add variantSuffix, fix musl+integer-simple

Motivation for this change

Makes musl+integer-simple combination unbroken (was marked as broken in PR #130441).

This is because the GHC HQ 8.10.7 bindist, in contrast to the 8.10.2 one, does not depend on gmp, but was built against integer-simple itself.

Obviates the workaround found in PR #130441.
PR also includes a technically separate change: Changing name for all GHCs so that you can tell whether it's a -musl and/or -integer-simple variant, making inspection with nix-store -q --tree much easier, and copy-pasted nix error messages more obvious (you know which GHC variant failed to build).

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages 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/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

TODO

[ ] Check if it works without drawbacks.
[ ] Based on PR #138523, merge that first (easy).
[ ] This PR updates the various if stdenv.isAarch64 || stdenv.isAarch32 blocks as well, and I cannot test those, so somebody else needs to help with that.

I can confirm that this works in my project (ic-hs, including stuff like Template Haskell etc.)

Closing in favour of these PRs that include all these changes, rebased:

#139164
#139176


Sparse Higher Order Derivatives

I was reading your documentation and the ability to create sparse Hessian's caught my attention. I was wondering if it would be possible to leverage sparsity for higher order derivatives? In my use case I'm after the 3rd and 4th order versions of a hessian and I know that these tensors will be fairly sparse (99.5% zero). My feeling is that the answer is no as sparse formats for tensors are not really supported in julia but beyond that is there a reason this is infeasible? Auto-diff is already much faster than doing finite-diff for my code and if I could take advantage of sparsity that would be even better.
Thanks!

FastDifferentiation can compute sparsity for tensors of any order. But not sure there is a Julia package that represents sparse tensors efficiently. If there is one it would be straightforward for me to add support for it. An alternative would be to pack the sparse tensor into a sparse matrix or vector.
FastDifferentiation is not optimized for higher order derivatives so derivative size increases rapidly as order goes up. Might still be reasonable if you only want 3rd or 4th order. Adding this is on my list but there are a lot of other things on that list as well so it could be a while
Do you have an example you'd like to try Fast Differentiation on?

I realized my problem is block sparse so I can handle the sparsity manually in my own code. And like you said there really is not a good sparse tesnor representation in Julia (or most places).
The higher order thing is something I have to do though. Based on the speed of the Hessian I'd be surprised if TaylorDiff competes on third order. I will have to test that and if you have any recommendations to maintain speed at 3rd and 4th (or higher) Id love to hear them.
The specific problem I'm doing is the calculation of force constants   whose equation is here.  I can describe more but I dont think this really requires an interface change as long as I can chain gradient calls.

There shouldn't be any problem chaining gradient calls, at least if I understand what you mean by this. Maintianing speed on really high order derivatives will probably require algorithmic changes to the FastDifferentiation algorithm to avoid recomputing redundant terms so not much you could do to fix that.
The trend is that each extra derivative order doubles the number of operations. So 4th is probably still competitive with other algorithms even though it will be roughly 8x more ops than first derivative because FastDifferentiation first derivatives are so efficient.

I'll test it out and compare against TaylorDiff.  Will share results here if I remember.

I'm converting this to a discussion item rather than closing the issue. This will leave it available for others to see without having to search through closed issues.


Add Ajita Jain as CredHub contributor

Hey team 👋
I'm Ajita, from the App Lifecycle team at Broadcom. I'm going to start contributing to the CredHub.

Hi @jajita,
Please sign the CLA which is required to merge this PR and we need two thumps up or approvals from approver in the Credhub WG area.
FYI: @cloudfoundry/wg-foundational-infrastructure-credential-management-credhub-approvers

Hi @beyhan ,
When signing the CLA for Broadcom Inc., it is requesting for name and email of the CLA manager for the organization. Who would that be?


build process leaves behind several temporary files and directories

Building helm seems to leave behind multiple temporary files and directories. I am logging this issue to:

Make sure a) this is true and b) it should be fixed
If above checks, then:

list all the left-over files and directories
I will then submit PR(s) to fix this.

Example:
$ make test
...
$ ls -ltr /tmp
...
drwx------ 3 a b 4096 Feb  9 06:02 helm-create-905124530
drwx------ 3 a b 4096 Feb  9 06:02 helm-create-117744233
...

For the particular directories above, this seems to be the cause:
https://github.com/kubernetes/helm/blob/8009115d3a96653b2c7d97dc119bb665b1c08f9b/cmd/helm/create_test.go#L29-L36
I think os.Remove only removes a single file or directory, not a directory that contains files. Perhaps os.RemoveAll should be used here.

Yes, it would appear that way. On master:
><> make test
...
><> ls /tmp/ | grep helm
helm-create-444878250
helm-create-786580225
helm_home348109756
helm_home510078407
helm_home708023816
helm_home-822961395
helm_home923341946
helm-repotest-257410639
helm-repotest-763744996
helm-repotest-874097590
helm-repotest-894370658

Thanks for verification, I'll submit a few small PRs to fix this then.

Labeling as a bug since the code intends to remove the artifact.

closing as inactive.


Turn all MultiError occurrences into BaseExceptionGroup

A starting point for issue #5.

If you add Closes #5 to the title github will automatically understand that this pull request will fix issue #5

Looks good, thanks.


gnome3.libgit2-glib: 0.26.4 -> 0.27.7

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libgit2-glib/versions.
meta.description for gnome3.libgit2-glib is: '"A glib wrapper library around the libgit2 git access library"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.27.7 with grep in /nix/store/wbkl8gc2qd0m33mra7q7ypkkj0w6mg4r-libgit2-glib-0.27.7

directory tree listing: https://gist.github.com/1f486924bba0b9771e960bbb2dacd2a4

du listing: https://gist.github.com/c75064178972041c649eba07d007aecc

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

16 total rebuild path(s)
5 package rebuild(s)
5 x86_64-linux rebuild(s)
5 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gitg
gnome-builder
gnome3.gitg
gnome3.libgit2-glib
haskellPackages.gi-ggit

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wbkl8gc2qd0m33mra7q7ypkkj0w6mg4r-libgit2-glib-0.27.7 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gnome3.libgit2-glib https://github.com/r-ryantm/nixpkgs/archive/1ca1bf5d265bd94fcf76276be9495301409f1096.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wbkl8gc2qd0m33mra7q7ypkkj0w6mg4r-libgit2-glib-0.27.7
ls -la /nix/store/wbkl8gc2qd0m33mra7q7ypkkj0w6mg4r-libgit2-glib-0.27.7/bin

cc @lethalman @jtojnar @hedning for testing.

duplicate of https://github.com/NixOS/nixpkgs/pull/52068


obsolete PECO:0000203

id: PECO:0000203
name: diploid cells
Ploidy is not an experimental condition; it's a characteristic of the cells that fits better into genotype.
Original comment by: mah11

seems to have been done a while ago


OpenCL: some test require large amount of memory ...

this test should be skipped with low memory computers.
How do you measure the available memory on an OSX computer ?

the memory consumption reported is wrong as well under OSX

Fixed by #312


text/template.Execute: cue: marshal error: Config: cannot convert incomplete value "string" to JSON

What version of CUE are you using (cue version)?
Buillt from source

$ cue version
cue version (devel) darwin/amd64
$ git log
commit f89aa483a05b267a0581ad3b84134d2d9490a3aa (HEAD -> master, origin/master, origin/HEAD)

Does this issue reproduce with the latest release?
Pretty sure it does but did not tested.
What did you do?
test.cue:
import (
 "text/template"
)

Test :: {
    test: string

    kubeConfigYAML: template.Execute("{{ .Config }}", {
        Config: test
    })
}

Hello : Test & {
    test: "foobar"
}

cue eval -c ./test.cue
Test.kubeConfigYAML: error in call to text/template.Execute: cue: marshal error: Config: cannot convert incomplete value "string" to JSON:
    ./test.cue:8:21

What did you expect to see?
I was expecting the eval the work since all values are concrete.
What did you see instead?
It seems that the template.Execute is eval'ed right away.
Workaround:
import (
 "text/template"
)

Test :: {
    test: string

    kubeConfigYAML: template.Execute("{{ .Config }}", {
        Config: *"" | test
    })
}

Hello : Test & {
    test: "foobar"
}

FWIW I just ran across exactly this issue myself. My minimised example looked almost exactly the same:
import "text/template"

x: {
	s: "myname"
	T
}

T :: {
	s: string
	out: template.Execute("{{.s}}", {
		"s": s
	})
}

This issue has been migrated to https://github.com/cue-lang/cue/issues/314.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Update scalacheck to 1.16.0

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

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

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Codecov Report

Merging #289 (54e2ef5) into master (e3d9b83) will decrease coverage by 0.23%.
The diff coverage is n/a.

:exclamation: Current head 54e2ef5 differs from pull request most recent head 2c02312. Consider uploading reports for the commit 2c02312 to get more accurate results

@@            Coverage Diff             @@
##           master     #289      +/-   ##
==========================================
- Coverage   96.42%   96.19%   -0.24%
==========================================
  Files           5        4       -1
  Lines         112      105       -7
  Branches        4        4
==========================================
- Hits          108      101       -7
  Misses          4        4

Impacted Files
Coverage Δ

src/main/scala/io/circe/yaml/parser/package.scala
92.00% <0.00%> (-8.00%)
:arrow_down:

src/main/scala/io/circe/yaml/Parser.scala

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Use mypy

This does type checking https://github.com/python/mypy

We can add those checks to a CI that can run for free in Travis CI.
How does this idea sound?


feat(travis): run build as part of testing

Assignee Tasks

[x] added unit tests (or none needed)
[x] written relevant docs (or none needed)
[x] referenced any relevant issues (or none exist)

Guidelines
Closes #162
The default Node build script on Travis is to just run npm test. This PR augments the script to also build the bundle. A failing build (e.g. due to syntax errors or broken module paths) will thus fail Travis, making it harder for people to merge broken bundles (assuming their master branch is protected).

Closing and re-opening to trigger Travis build (Travis was toggled on after this PR was opened).


Desktop notifications

Should be relatively easy to implement, will need to use tags in order for a new notification not to be displayed on every page for the same message (maybe with a message hash or something as the tag): https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag

Might want to have this disabled by default, most users probably don't want to see these.


Release/0.2.0

What
Release branch for Retrieve information from Cantabular
Also contains DockerFile.local
Trello card: https://trello.com/c/MVhVQLlm/5149-retrieve-information-from-cantabular-apidp-cantabular-import-dimension-options
How to review
Check only expected commits are present in this PR
Who can review
Anyone

Just looking at your latest PR and trying:
make test-component
and as the lines scrolled by …
it paused and i copied down the following:
warning: no packages being tested depend on matches for pattern github.com/ONSdigital/dp-import-cantabular-dataset/...
and then as it ran further on, it ended up with an error:
dp-import-cantabular-dimension-options_1 | Scenario: Posting and checking a response # features/helloworld.feature:5
dp-import-cantabular-dimension-options_1 | When these hello events are consumed: # steps.go:30 -> *Component
dp-import-cantabular-dimension-options_1 | | RecipientName |
dp-import-cantabular-dimension-options_1 | | Tim |
dp-import-cantabular-dimension-options_1 | Then I should receive a hello-world response # steps.go:25 -> *Component
dp-import-cantabular-dimension-options_1 |
dp-import-cantabular-dimension-options_1 | 1 scenarios (1 passed)
dp-import-cantabular-dimension-options_1 | 2 steps (2 passed)
dp-import-cantabular-dimension-options_1 | 3.968989041s
dp-import-cantabular-dimension-options_1 | PASS
dp-import-cantabular-dimension-options_1 | coverage: [no statements]
dp-import-cantabular-dimension-options_1 | ok github.com/ONSdigital/dp-import-cantabular-dimension-options 4.005s
dp-import-cantabular-dimension-options_1 exited with code 0
Aborting on container exit...
[+] Running 3/3
⠿ Container dp-import-cantabular-dimension-options-features_zookeeper_1 Stopped 10.2s
⠿ Container dp-import-cantabular-dimension-options-features_dp-import-cantabular-dimension-options_1 Stopped 0.0s
⠿ Container dp-import-cantabular-dimension-options-features_kafka_1 Stopped 3.4s
ERRO[0165] 0
Where it says Aborting on container exit … is there any chance you can output some message at this point to say to ignore the final ERRO[0165] 0 … if that is an OK sort of error ?

i guess this one corresponds to feature/component-tests, I will try to put more logs there (and check that the CI shows them?) - it's still in progress


deprecate ConstDecl => ConstDefs

Codecov Report

Merging #114 (9dfba9f) into main (44c7a99) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #114   +/-   ##
=======================================
  Coverage   93.94%   93.94%
=======================================
  Files          14       14
  Lines        5611     5613    +2
=======================================
+ Hits         5271     5273    +2
  Misses        261      261
  Partials       79       79

Impacted Files
Coverage Δ

codebuild.go
94.21% <100.00%> (ø)

type_var_and_const.go
98.33% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


standardize grid

Need to standardize grid, preferably (rows, columns) and (0,0) on top left.
ty

So I was considering that we graduate to a hexagonal grid, just to make things more complicated :P
Actually hexagons are the bestagons. What do you think?
https://www.redblobgames.com/grids/hexagons/

agree


SingleMap_Linear: bug when migrating?

In SingleMap_Linear.h:123: you break out of the loop without resetting m_cell. After the migration in line 122 the old table is destroyed and m_cell is dangling, isn't it? isValid() will report true and you can set values on the dangling pointer.

It only breaks out of the inner loop. m_cell gets updated on the next iteration of the outer loop.


Bare-bones support to run code on ULP-RV/LP core

Adds support to run code on ULP-RISCV (ESP32-S2 / ESP32-S3) and LP core (ESP32-C6)
While there are examples this doesn't add a completely useable feature yet.
It's meant to facilitate working on enabling proper support for the ESP32-C6 LP core for now.
Better examples and documentation will get added while working on that

Using #[link_section = ".rtc_slow.text"] kind of worked when I also use &CODE in the code - otherwise it's removed even when built in debug mode 🤔
While it's still an interesting idea for the later (real) implementation I guess it's better to keep it simple and explicit for now
Thanks for the quick review


How to make the width and height of cell in a table  fixed so that avoid  the cell resized during draging the whole table?

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
How to make the width and height of cell in a table  fixed so that avoid  the cell resized during draging the whole table?

Hi,
Please attach video showing how the table was created and cells resized when a table was dragged.
Which diagrams.net version (can be seen under Help menu) and browser are you using?

@mararad Hello, thanks for your replying. I want to draw a picture as following:

Here is my video showing as below:
https://user-images.githubusercontent.com/16131917/153525568-517ffb8f-a9ee-4c1e-b6f7-59b810208af6.mp4

The resizable dosen't seems to work.

Thanks. If I am not wrong, it seems like you are dragging the table with cursor on or near table cell borders. Could you try to click somewhere around cell center and drag the table? Do cells still resize?
Regards,

@mararad It's hard to drag the table and not resize the cell. I want to lock the cell width and height, then I can drag the table freely.

Try holding down the control key when pressing the mouse button to move the table instead of resizing the cell, then drag and release the mouse button without holding down the control key.

@alderg Thanks，It worked according to your suggestion.

The same problem still exist. I tried all the options without succes.

Please open a new ticket in that case as the original poster has marked this issue as fixed.


[WIP] Avoid graph materialization during Blockwise culling

WARNING: VERY ROUGH!
Closes #6792
Follow up to #6715 - Originally intended to avoid graph materialization for "flat" blockwise operations, but now attempts all Blockwise layers.
TODO:

[ ] General clean up
[ ] Validate "high-level" culling (test that graph is not materialized)
[ ] Address serialization (may address in a separate PR)

cc @madsbk (for visibility)

@rjzamora this look promising, please ping when it is ready for review.
When this is in, I will be happy to implement its serialization.

@rjzamora this look promising, please ping when it is ready for review.

Great - Will do!  I should be able to take care of this today.

When this is in, I will be happy to implement its serialization.

Sounds good.  In that case, I won't include any attempts at serialization here.

@madsbk - I think this is ready for an initial review.
Note that I eventually decided to remove the specialized code path for "flat" layers, because the distinction was starting to get a bit ugly, and I'm not convinced there is a clear performance motivation (yet).  My intuition is that we should add a separate code path after profiling shows that culling and/or graph materialization is slower than it needs to be for these special cases.

Thanks for the review @madsbk !

I suggest that you remove key_deps and non_blockwise_keys and remove the use of BasicLayer

Good suggestion - For now, I actually removed the use of key_deps and non_blockwise_keys altogether from Blockwise.  Let me know if we still need any of that logic for any other Blockwise functionality that I'm not thinking of.

Thanks @rjzamora, I'll merge once CI builds finish

Awesome, I am working on serializing Blockwize without materializing.

Awesome, I am working on serializing Blockwise without materializing.

Thanks Mads!


change doesn't work in React, is it the way I'm using it wrong?

        <List>
                <ListInput label="Name"
                           type="textarea"
                           placeholder="Your name"
                           clearButton
                           change={(e) => {
                               console.log(e)
                           }}>
                    <Icon icon="demo-list-icon" slot="media" />
                </ListInput>
        </List>

onInput={(e) => {
  console.log(e)
}}>

@nolimits4web
Why is the onInput event, the documentation does not mention onInput, how do the focus, blur and input events work?


Remove clone to existing linode and disable lower-storage plans

Purpose
removes the ability to clone to an existing Linode
also disables plan selections if they're a cheaper/lower storage plan that the source Linode's
Please note: the disable functionality is dependent on #3339

looks like everything is working post-label/plan fix. Lower storage plans are disabled after selecting source Linode in the clone flow
The next blocker is what we want to do regarding Linodes with upgrades pending? Do we want to be able to clone from them and create from one of their backups? If not, do we want to disable them or just hide the option altogether.
Waiting on confirmation before continuing.


Enter tmux would reset console font .

Your Windows build number: windows 10 1809

I set a powerline font dejavu in ubuntu 18.04 shell
quit ubuntu bash and re-enter
the font setting is keeped
vim powerline theme worked very well

enter tmux, its powerline theme was broken , font setting became 新宋体
in tmux, enter vim , powerline theme became broken too .

quit tmux, the font setting return to dejavu

This is a weird behavior.
Enter tmux would reset console font to default .

ref tangential #2050

Open regedit.
Find this. HKEY_CURRENT_USER\Console\C:_Program Files_WindowsApps_CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2019.522.0_x64__79rhkp1fndgsc_ubuntu1804.exe (you will not as the same as mine)
then, add CodePage（Type: DWORD, Value: 0x01b5).
It wokrs for me!

I don't have a Ubuntu entry under HKEY_CURRENT_USER\Console, I'm using WSL2, is that different?

I had the same issue in WSL2 and I found HKEY_CURRENT_USER\Console but adding the CodePage didn't work for me...

The following works, at least in the instance of sshing into WSL:
https://github.com/wernight/powerline-web-fonts/issues/8#issuecomment-353081869

In my case, it's because tmux wasnt using utf-8.
try
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8

then start tmux,
or
tmux -u

`Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console%SystemRoot%_system32_cmd.exe]
"FaceName"="Consolas"
"CodePage"=dword:0000fde9
`

`Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console%SystemRoot%_system32_cmd.exe]
"FaceName"="Consolas"
"CodePage"=dword:0000fde9
`

All of the above did not work for me. To fix it, I simply went to
HKEY_CURRENT_USER\Console\C:Program Files**_ubuntu.exe
and added
FaceName (String) "Lucida Console"
Works for me now.

In Linux just launching tmux -u worked for me.


How to convert just the hour from local to UTC and back

Hello all and thanks for any help...
I need to convert the day and hour combination from local to UTC and back.  I am getting unexpected results when converting from UTC to local.
Here is the jsfiddle
I have read that _d should not be used but that's the only way I've been able to convert from UTC to local.
Any help will be greatly appreciated.

There's very little need to ever pass a moment object back into the moment constructor.
To convert from local to utc:
moment(<some local input>).utc()

To convert from utc to local:
moment.utc(<some utc input>).local()

Thanks a lot for your help.


ceph-handler: fix curl ipv6 command with rgw

When using the curl command with ipv6 address and brackets then we need
to use the -g option otherwise the command fails.
$ curl http://[fdc2:328:750b:6983::6]:8080
curl: (3) [globbing] error: bad range specification after pos 9

Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test centos-non_container-purge

jenkins test centos-non_container-purge

jenkins test centos-non_container-purge


Detect invalid stack access by child procedure

Sometimes we get very subtle bugs. Here is an example:
#! Input: [idx]
#! Output: [addr]
proc.compute_address
   push.BASE_ADDR movup.2 add
end

#! Input: [idx]
#! Output: []
proc.save_index
   dup exec.compute_address memstore
end

The issue above is that movup.2 shouldn't exist. The code would work because the expected value happened to be duplicated by the parent which moveup.2 used, and the final stack state matched the expected state, even though the instruction was incorrect. The issue above is subtle, and won't be caught by tests unless compute_address is carefully tested.
The example above happened in the kernel:

here the parent procedure duplicates the top of the stack
here the child procedure uses the value saved in the stack as part of the parent state

The tests didn't caught the issue, because process_input_note is not tested directly, only via the prepare_transaction. The code is not a bug, just confusing.

I imagine that implementing the above will be a big change, if possible at all. Because currently we don't have a mechanism to inform the VM what is the expected size of the stack available for the child when doing a call.
One proposal is to add metadata annotations, say @stack(4), which would mean the procedure takes 4 elements from the top of the stack as inputs. With said annotation the VM could be run on a strict mode, by truncating the stack to only the top 4 elements prior to calling the child process, and trapping if the 5th stack element is accessed (that is, without pushing to the stack).
Another approach is just to say the above is a no issue, and should be handled by better testing.

Yes, this will be tricky to catch, but I think you proposal of adding annotations to procedures is probably the best way to handle it. It is not a simple solution because procedures may be inlined into the code - but we need to have a way to catch that anyways.

I think an annotation-based approach is the only real option. However, in my mind this clearly overlaps with the need to be able to express the type signature of Miden procedures (using some well-specified ABI for representing complex types).
If the type signature (and necessarily, the calling convention, i.e. how parameters of a given type are passed on the operand stack) of the procedure is known, we can do the same static analysis that the @stack N annotation would enable, but also solve some of the other problems we have at the same time.
As an aside, a type annotation would permit us to implement some basic type checking and optimizations. For example, if a given parameter is declared as a u32, we might be able to elide runtime assertions, and check that callers pass a value of that type in the appropriate position on the operand stack. There are limits, simply due to the low-level nature of MASM, but we could almost certainly catch a broad class of mistakes that would otherwise potentially go unnoticed.


Bug_fixes

Deadline allowing non existant deadlines bug fixed.
Removed Toggle feature(causing too many bugs)

failed EditTaskCommandTest
and can you specify the reason why you chose TaskList over UniqueTaskList? I'm a bit confused what issue we have by using UniqueTaskList


refactor: FTP services's ReadDir could be removed

https://github.com/datafuselabs/opendal/blob/ea0dc9467bbc165d761963a3fe606ab5205abeee/src/services/ftp/dir_stream.rs#L25-L28

I would like to work on it. Could you provide more details?

Hi, @PragmaTwice, thanks for the interest!
The ReadDir is a simple wrapper of Vec<String>, we can move it into FtpPager directly:
https://github.com/datafuselabs/opendal/blob/3e70d582538673cf65ee799a76395c2053160b4e/src/services/ftp/pager.rs#L25-L62

Thanks for your input. I will try it later.


Label_replace regex doesn't match correctly

What did you do?
I tried to replace a long string of a label value into a short one (10 chars). For that I used this

You can see the metrics that I have on the bottom
What did you expect to see?
I expect to have a brand new label called "test" with a value that equals the first 10 chars of the pubkey values.
What did you see instead? Under which circumstances?
I don't see anything in this specific case, but I'm gonna show you something that I found out, but I can't explain why.

Here I got the 8 last chars of the pubkey string. I manipulated the regexp so much so I ended up here... I really can't explain why does it behave like that.
Environment
Running prometheus.exe under windows 10 Home

Prometheus version:
prometheus, version 2.17.1 (branch: HEAD, revision: ae041f97cfc6f43494bed65ec4ea4e3a0cf2ac69)
build user:       root@806b02dfe114
build date:       20200326-16:36:14
go version:       go1.13.9

Prometheus configuration file:

# my global config
global:
  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
  # scrape_timeout is set to the global default (10s).

# Alertmanager configuration
alerting:
  alertmanagers:
  - static_configs:
    - targets:
      # - alertmanager:9093

# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
  # - "first_rules.yml"
  # - "second_rules.yml"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  - job_name: 'validator'
    static_configs:
      - targets: ['localhost:8081']
  - job_name: 'beacon node'
    static_configs:
      - targets: ['localhost:8080']

Those images aren't very readable, but in any case it makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Update README.md to mention ffmpeg

ffmpeg is effectively a dependency because all the capture scripts use it.

IMHO it is possible to run all FFmpeg instances on other machines. Though this might be a very unlikely setup, FFmpeg is at least no must-have dependency. It should be mentioned, of course, but maybe in another paragraph as a recommendation or something like that.

Actually ffmpeg is neither a dependency for the core nor for the gui. The exchange format between the core and the outer world is Raw A/V in MKV, which is a format understood by many av-programs.
I know that at least gstreamer, ffmpeg and avconv can be used with voctomix.
It just so happens that currently most of our example scripts show how to use ffmpeg but I'd be happy to add more examples using other libraries.

I just found that we already have an example on how to capture with gstreamer:
https://github.com/voc/voctomix/blob/master/example-scripts/gstreamer/record-mixed-av.sh

I agree that it's possible to run it on different machines, or have different capture pipelines written in gstreamer, however this is a "nice to have" given that the majority of the scripts use ffmpeg.
At least the banner generator would be running on the mixer core machine, which is an ffmpeg pipeline.


Add hacked together liveness prob check outside redirect

Codecov Report

Merging #11 into master will decrease coverage by 2.71%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   51.58%   48.87%   -2.72%
==========================================
  Files           1        1
  Lines         126      133       +7
==========================================
  Hits           65       65
- Misses         50       57       +7
  Partials       11       11

Impacted Files
Coverage Δ

main.go
48.87% <0%> (-2.72%)
:arrow_down:

Continue to review full report at Codecov.

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


Feat/fsm

implements:
[x] the core FSM interfaces
[x] the core Application interfaces
[x] persistence and recovery
[x] HTTP interfaces

Rebuild enforces needs refactor, I don't recommend serializing enforcer, I suggest you build enforces by raft log.


Release 0.7.2

MiMa check looks good:
bijection (develop)]$ ./sbt mimaReportBinaryIssues
[info] Loading global plugins from /Users/alexlevenson/.sbt/0.13/plugins
[info] Loading project definition from /Users/alexlevenson/workspace/bijection/project
[info] Set current project to bijection (in build file:/Users/alexlevenson/workspace/bijection/)
[info] Resolving com.twitter#bijection-macros_2.10;0.7.0 ...
[warn] 	module not found: com.twitter#bijection-macros_2.10;0.7.0
[warn] ==== local: tried
[warn]   /Users/alexlevenson/.ivy2/local/com.twitter/bijection-macros_2.10/0.7.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/twitter/bijection-macros_2.10/0.7.0/bijection-macros_2.10-0.7.0.pom
[warn] ==== snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/com/twitter/bijection-macros_2.10/0.7.0/bijection-macros_2.10-0.7.0.pom
[warn] ==== releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/com/twitter/bijection-macros_2.10/0.7.0/bijection-macros_2.10-0.7.0.pom
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.twitter#bijection-macros_2.10;0.7.0: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[info] Resolving log4j#log4j;1.2.14 ...
[info] bijection: previous-artifact not set, not analyzing binary compatibility
[info] bijection: found 0 potential binary incompatibilities
[info] Resolving commons-codec#commons-codec;1.5 ...
[info] bijection-clojure: found 0 potential binary incompatibilities
[info] bijection-netty: found 0 potential binary incompatibilities
[info] bijection-protobuf: found 0 potential binary incompatibilities
[info] bijection-jodatime: found 0 potential binary incompatibilities
[info] bijection-thrift: found 0 potential binary incompatibilities
[info] bijection-guava: found 0 potential binary incompatibilities
[info] bijection-json: found 0 potential binary incompatibilities
[info] bijection-util: found 0 potential binary incompatibilities
[info] bijection-avro: found 0 potential binary incompatibilities
[info] bijection-scrooge: found 0 potential binary incompatibilities
[info] bijection-json4s: found 0 potential binary incompatibilities
[info] bijection-hbase: found 0 potential binary incompatibilities
[info] bijection-core: found 0 potential binary incompatibilities
[error] (bijection-macros/*:mimaPreviousClassfiles) sbt.ResolveException: unresolved dependency: com.twitter#bijection-macros_2.10;0.7.0: not found

Released!


FlagList menu improvement: sticky headers

Hi, many thanks for this great library.
Would it be possible to separate preferred countries from others adding sticky sub headers to the list?
https://mui.com/material-ui/react-list/#sticky-subheader
Many thanks,
Mauro

Hello !
Thank you for your feedback !
However, I don't think it's a good idea to keep the preferred countries in the viewport if the user scrolls down, as this suggests that he is not interested in those countries and it would not be useful to sticky them.

What do you suggest for the wording for these headers ?

@viclafouch according to your API, I would use:

Preferred countries
Other countries

I would use headers only when preferredCountries is specified.
What do you think?
Many thanks,
Mauro

Humm why not yes !
I let

@viclafouch ok, thank you!

@viclafouch the fact that you closed this issue means that it won't be implemented?
Mauro

Nah sorry bro


dx image needs hollywood

Chat has decided since we've automated so much out of using Linux desktops that we need a boss key so we look like we're working twice as hard.
Therefore we'll include hollywood as an easter egg: https://github.com/dustinkirkland/hollywood

I'll put this in the container instead.


events.js:183        ever since the update in ubuntu.  fix windows killed ubuntu with update?

Gekko v0.5.14
I'm gonna make you rich, Bud Fox.

events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE <IP_ADDRESS>:3000
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at Server.setupListenHandle [as _listen2] (net.js:1355:14)
at listenInCluster (net.js:1396:12)
at doListen (net.js:1505:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3

how do you read the errors?
I am assuming it is a file called "events.js" and it is line 183 thats throwing the error
to not allow node gekko --ui to load.  But I dont see a file called events.js
unless it is located in the module folder somewhere??

and if this is the case, I did find a file called events.js
But one file named this was located in directory:
gekko/web/vue/node_modules/events.js
and line 182 & 183 read...
if (!this._events || !this._events[type])
return this;
and the second file named events.js was located in node_modules/coingi/node_modules/mocha/lib/browser
and around the code 183 was these lines...
var args = Array.prototype.slice.call(arguments, 1);
if (typeof handler === 'function') {
handler.apply(this, args);
} else if (isArray(handler)) {
var listeners = handler.slice();
for (var i = 0, l = listeners.length; i < l; i++) {
  listeners[i].apply(this, args);
}

} else {
return false;
}
return true;
};
so I am assuming the problem is  is here actually...  since this deals with the browser???
I am new to programming...  took classes 10 years ago.  But still learning.  Is this where I need to look and backtrack the issue??

@jmcklondonuk is correct, this is not an issue with Gekko!

You should check whether your 3000 port is currently used. it then you should kill that process.


Creating blobs from stream

As I see the blobs can be created using files in filesystem and also binary data in memory. The libgit2 provides API to create blobs using streaming (https://libgit2.github.com/libgit2/#HEAD/group/blob/git_blob_create_fromstream).
Are bindings supports streaming feature? I would like to piping uploaded data directly to blobs without additional buffering and storing on filesystem.

Ah I dont think these are bound yet, but no reason they couldn't be!

Also the libgit2 provides another way of writing blobs in streaming manner by using ODB API (https://libgit2.github.com/libgit2/#HEAD/group/odb/git_odb_open_wstream) but in this case we must know the length of stream before opening.

I tried to implement blobs writer. I newbie in Rust (but have experience in C and Haskell) so I maybe not fully understand some specific things. Also I not found how correctly abort stream in libgit2 documentation so I implemented commit only, but the Drop trait might be implemented too.

I looked in libgit2 sources and found that free callback of git_writestream is all we need to proper cleaning up uncommitted blob writing stream. So I also implemented Drop trait for BlobWriter now to complete solving this issue.

I implemented another way of streamed blob writing (and reading) using git ODB APIs.

I'm gonna close this since I think some new APIs have been bound and otherwise we're not currently tracking unbound APIs in this issue tracker.


App crashes in android release mode

worked fine on debug or profile.
$ flutter doctor

[✓] Flutter (Channel stable, 3.0.0, on macOS 11.5.1 20G80 darwin-x64, locale en-AS)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.68.1)
[✓] Connected device (3 available)
$ flutter run --release

E/AndroidRuntime(22407): FATAL EXCEPTION: CameraX-core_camera_0
E/AndroidRuntime(22407): Process: com.ubisor.cloud.production_tool, PID: 22407
E/AndroidRuntime(22407): java.lang.ExceptionInInitializerError
E/AndroidRuntime(22407):        at androidx.camera.camera2.internal.s.(Unknown Source:149)
E/AndroidRuntime(22407):        at androidx.camera.camera2.internal.M.(Unknown Source:138)
E/AndroidRuntime(22407):        at androidx.camera.camera2.internal.t.a(Unknown Source:34)
E/AndroidRuntime(22407):        at m.G.b(Unknown Source:47)
E/AndroidRuntime(22407):        at androidx.camera.core.C.b(Unknown Source:108)
E/AndroidRuntime(22407):        at androidx.camera.core.A.run(Unknown Source:10)
E/AndroidRuntime(22407):        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(22407):        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(22407):        at java.lang.Thread.run(Thread.java:933)
E/AndroidRuntime(22407): Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: m.n.values []
E/AndroidRuntime(22407):        at java.lang.Enum.enumValues(Enum.java:270)
E/AndroidRuntime(22407):        at java.lang.Enum.access$000(Enum.java:61)
E/AndroidRuntime(22407):        at java.lang.Enum$1.create(Enum.java:277)
E/AndroidRuntime(22407):        at java.lang.Enum$1.create(Enum.java:275)
E/AndroidRuntime(22407):        at libcore.util.BasicLruCache.get(BasicLruCache.java:63)
E/AndroidRuntime(22407):        at java.lang.Enum.getSharedConstants(Enum.java:289)
E/AndroidRuntime(22407):        at java.lang.Class.getEnumConstantsShared(Class.java:2428)
E/AndroidRuntime(22407):        at java.util.EnumSet.getUniverse(EnumSet.java:407)
E/AndroidRuntime(22407):        at java.util.EnumSet.noneOf(EnumSet.java:109)
E/AndroidRuntime(22407):        at java.util.EnumSet.of(EnumSet.java:283)
E/AndroidRuntime(22407):        at androidx.camera.camera2.internal.r0.(Unknown Source:8)
E/AndroidRuntime(22407):        ... 9 more
E/AndroidRuntime(22407): Caused by: java.lang.NoSuchMethodException: m.n.values []
E/AndroidRuntime(22407):        at java.lang.Class.getMethod(Class.java:2072)
E/AndroidRuntime(22407):        at java.lang.Class.getDeclaredMethod(Class.java:2050)
E/AndroidRuntime(22407):        at java.lang.Enum.enumValues(Enum.java:267)
E/AndroidRuntime(22407):        ... 19 more

I also faced this problem and fixed it through editing the configuration in build.gradle.
   buildTypes {         release {             ……             minifyEnabled false             shrinkResources false         }     }

I'm switching from qr_code_scanner to this package because of same issue.
i still hope it is fixed without additional setting of minify and shrinkResources

Can you please check if you have the following lines in your app's gradle file:
 compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

Can you please check if you have the following lines in your app's gradle file:
 compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

Yes，I do have the same compileOptions and my compileSdkVersion is 31.

same with me
android {
    compileSdkVersion 33

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    .....

}

Same here. I tried v 2.0.0, 2.0.0-play-services and 1.1.0. For some reason just the release build type fails.
    compileSdkVersion 32

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

Can you please share on which device you are having this issue? I can't seem to reproduce this error.

Google Pixel 5 and Pixel 6. I will try to reproduce that on example app and
possibly make a PR - maybe it's just obfuscation error
On Fri, 19 Aug 2022 at 15:18, Julian Steenbakker @.***>
wrote:

Can you please share on which device you are having this issue? I can't
seem to reproduce this error.
—
Reply to this email directly, view it on GitHub
https://github.com/juliansteenbakker/mobile_scanner/issues/221#issuecomment-1220670262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO4B2DTQOYDLOWCJBCGS3DVZ6CSVANCNFSM5233CYYQ
.
You are receiving this because you commented.Message ID:
@.***>

UPDATE: I was going back in versioning and seems v1.1.0 is working properly. Is starts crashing from v1.1.1. Blaming change, what what CHANGELOG says, I would bet on:
Update camera dependency for Android.

https://github.com/juliansteenbakker/mobile_scanner/compare/v1.1.0...v1.1.1
What do you think of reverting to camera2 v1.1.0 (which is stable now - https://developer.android.com/jetpack/androidx/releases/camera ):

v1.1.0...v1.1.1
What do you think of reverting to camera2 v1.1.0 (which is stable now - https://developer.android.com/jetpack/androidx/releases/camera ):

sound good

This issue is probably fixed with #257. I will release this as version 3.0.0 after i'm done with a few other functions.

@juliansteenbakker Great, thank you 🙌  Any clue when 3.0.0 is going to be released? I will use it immediately :)

App is crashing for me as well on release mode.


Angular RC 1 support

Thanks for the great project!
Now that RC 1 it out, the Angular team changed the import to @angular/... instead of angular2/.... Would be great if ngSemantic could be updated too.
Cheers,
Andy

+1

I was able to migrate the ng-semantic components to angular 2 rc with relative ease.  I had to copy the ng-semantic directory to my project in order to build it but things did work.
I was not however able to migrate the documentation to rc due to some dependant packages that have not been updated to angular 2 rc.  This is why I had to copy the ng-semantic folder to my project instead of running the ng-semantic node bundle scripts.  I will keep an eye on those dependencies or keep looking for workarounds in order to get this project up to the latest version of angular 2.
I can push my branch later tonight if anyone is interested in hacking away on it.

Yes, please submit it as PR.
I am going to update this project to rc.1 tonight, i didn't work on it last month, but i am going to push it harder in next few days / weeks.

I dont want to submit a pull request because this branch isnt fully working....yet.  You can check out my current progress on this branch https://github.com/TerryMooreII/ngSemantic/tree/angular2-migration
Bundle now runs successfully
$ tsc && node bundle.js && cp ./bundles/ng-semantic.js ./demo/vendor
Build complete.
Minified build complete.

But npm run demo:build fails with this message
$ npm run demo:build

><EMAIL_ADDRESS>demo:build /Users/terrymooreii/code/github/ngSemantic
> rm -rf demo/app && tslint -c ./tslint.json 'src/app/**/*.ts' && tsc -p './src' --rootDir './src' --outDir './demo' && cd src && find . -name '*.html' | cpio -pdm ../demo

node_modules/ng2-src-directive/src/sourcable.d.ts(3,21): error TS7006: Parameter 'string' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/sourcable.d.ts(6,21): error TS7006: Parameter 'string' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/sourcable.d.ts(9,19): error TS7006: Parameter 'any' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/sourcable.d.ts(12,22): error TS7006: Parameter 'Response' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/sourcable.d.ts(15,22): error TS7006: Parameter 'string' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/sourcable.d.ts(16,22): error TS7006: Parameter 'string' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/sourcable.d.ts(17,20): error TS7006: Parameter 'any' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/sourcable.d.ts(18,23): error TS7006: Parameter 'Response' implicitly has an 'any' type.
node_modules/ng2-src-directive/src/src.directive.d.ts(1,10): error TS2305: Module '"/Users/terrymooreii/code/github/ngSemantic/node_modules/@angular/core/index"' has no exported member 'AppViewManager'.

npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/node/5.11.0/bin/node" "/usr/local/bin/npm" "run" "demo:build"
npm ERR! node v5.11.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>demo:build: `rm -rf demo/app && tslint -c ./tslint.json 'src/app/**/*.ts' && tsc -p './src' --rootDir './src' --outDir './demo' && cd src && find . -name '*.html' | cpio -pdm ../demo`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>demo:build script 'rm -rf demo/app && tslint -c ./tslint.json 'src/app/**/*.ts' && tsc -p './src' --rootDir './src' --outDir './demo' && cd src && find . -name '*.html' | cpio -pdm ../demo'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ng-semantic package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     rm -rf demo/app && tslint -c ./tslint.json 'src/app/**/*.ts' && tsc -p './src' --rootDir './src' --outDir './demo' && cd src && find . -name '*.html' | cpio -pdm ../demo
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ng-semantic
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ng-semantic
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/terrymooreii/code/github/ngSemantic/npm-debug.log

The ng2-src-directive package is pulled in from ngSemantic's dependency on ng2-prism which is still at Angular 2 beta.  I am not sure how to work around these issues until the ng2-prism is updated.  Any help would be appreciated.

I've done the same - found that everything was working but the demo, so ditched it and included ng-semantic in my project instead.
If we have solid tests in place, do we need the demo as part of this package? I'm thinking that many people will simply install through npm then copy and paste from your demo etc. Could even have a readme for each component that has a copy-and-paste example for users to get going.
I've added some more components myself (well, added other options such as password input type so far), so will contribute back once they're stable at our end, and you've got an RC version up here.
Let me know if you have any questions :)

@vladotesanovic: Any news on this from last time? :)

Repository ( demo ) and library from npm are on rc.1 now.


Different collection intervals compatibility in Grafana 7.5.5

Describe the bug
With Grafana 7.5.5 version, stacking option with Graph visualization is not working properly with different metric collection intervals.
Screenshot of the issue:

Screenshot of expected behavior

There's a workaround to use groupBy(5m, avg) to group all metrics with 5 minutes interval.
Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

7.5.5
x.x.x
4.1.4

Unfortunately, there's no easy solution for this problem, so moving the next release. The best way top fix it - add interpolation, but it's a bit tricky, and this release contains lots of changes, so dont want to add more complexity right now.

I also have a use case affected by this issue: data is sent to Zabbix by external hardware sensors, at flexible intervals not controllable by Zabbix (but by these sensors).
If sensor value does not change, they send it to Zabbix every 15 minutes. But once the value starts to change, that interval can go down  to 5 seconds, or be an arbitrary value in between 5 seconds and 15 minutes. So trying to align all values to some set interval will not work, as there is no common update interval.

@k-korn yes, in this case I decided to perform it in a bit different way. I use interpolation (which original stacking algorithm used in Grafana) to find all common points and prepare series for proper stacking. This is an example of how it works:
Original Zabbix data:

Prepared for stacking:

Closing this again since it's fixed by fcef21b0fbea411e574c4193405b05f7aa8b4710


Specific package version and tensorflow update

Package versions were specified for packages in setup.py which did not have any version specified previously.
Updated tensorflow version.
Avoids unexpected code breaking due to changes in dependencies.
Helps reduce time spent by pip dependency resolver in backtracking.

This will need to go through formatting before merge.

Closed in favour of pr #1124 .


az cli is missing eoan (19.10) release files

az feedback auto-generates most of the information requested below, as of CLI version

n/a Cloud install fails
Describe the bug
A clear and concise description of what the bug is.
Current the az cli team does not publish an 19.10 release file
To Reproduce
Steps to reproduce the behavior.

Install Ubuntu 19.10
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

Expected behavior
A clear and concise description of what you expected to happen.
That the az cli team supports major Ubuntu releases.
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
Additional context
Add any other context about the problem here.
Fetched 374 kB in 2s (177 kB/s)
Reading package lists... Done
apt-get install -y apt-transport-https lsb-release gnupg curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.65.3-1ubuntu3).
gnupg is already the newest version (2.2.12-1ubuntu3).
gnupg set to manually installed.
lsb-release is already the newest version (11.0.1ubuntu1).
lsb-release set to manually installed.
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,704 B of archives.
After this operation, 157 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu eoan/universe amd64 apt-transport-https all 1.9.4 [1,704 B]
Fetched 1,704 B in 0s (9,722 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 177803 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.9.4_all.deb ...
Unpacking apt-transport-https (1.9.4) ...
Setting up apt-transport-https (1.9.4) ...
set +v
curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.asc.gpg
set +v
CLI_REPO=$(lsb_release -cs)
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ ${CLI_REPO} main"
> /etc/apt/sources.list.d/azure-cli.list
apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Ign:3 http://www.scootersoftware.com bcompare4 InRelease
Ign:4 https://packages.microsoft.com/repos/azure-cli eoan InRelease
Hit:5 http://www.scootersoftware.com bcompare4 Release
Err:6 https://packages.microsoft.com/repos/azure-cli eoan Release
404  Not Found [IP: <IP_ADDRESS> 443]
Hit:7 http://us.archive.ubuntu.com/ubuntu eoan InRelease
Hit:9 http://security.ubuntu.com/ubuntu eoan-security InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease
Hit:12 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease
Reading package lists... Done
E: The repository 'https://packages.microsoft.com/repos/azure-cli eoan Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Thanks for reporting the issue. We will evaulate the effort to add eoan support.

any update?

Currently we don't have plans to add support for non-LTS Ubuntu distributions. But you can make use of bionic release file by making AZ_REPO=bionic in step 3 of Manual install instructions.
I will also improve the script for better compatibility.

Actually we should support current ubuntu releases including eoan. I will push this forward.

Added support for eoan. Please try again.

Looks to be working, I was able to update to version 2.0.77.

Actually we should support current ubuntu releases including eoan. I will push this forward.

@fengzhou-msft  Any way to add this when the release are in alpha/beta instead of almost 2 months after release? For the record, Eoan was released October 17, 2019.


chore: lower Delly resource consumption

Coverage: 83.447%. Remained the same when pulling a3757f79aa7e304eb0ef01559d82a41dd4624467 on chore-lower-delly-resource-consumption into 47d9e33033dde889f73ee244a691533fe66ba211 on main.


[BUG] Unable to build newest txAdmin version

txAdmin/FXServer versions:
txAdmin v4.8.0
Describe the bug
txAdmin will not build because Field 'browser' doesn't have a valid alias configuration
To Reproduce
Steps to reproduce the behavior:

Download the latest source from https://github.com/tabarra/txAdmin
Install dependencies with npm i
Build txAdmin with npm run-script build
See error

Expected behavior
I expect txAdmin to build successfully
Screenshots
https://cdn.discordapp.com/attachments/589106731376836608/910136934536445962/unknown.png
Additional context
OS: Windows 10 Pro
Node: v16.13.0 same happens on v14.16.1
NPM: v8.1.0 same happens on v6.14.12
Same error on different devices

Tried to build it again and now it works ¯_(ツ)_/¯


Suggetion: exclude folders from sorting

I would like to suggest an option to exclude folders from getting sorted.
Here is an example of how I would use it: I have a folder called "go through" where I add stuff, to go through later. By leaving them unsorted, I can easily find something I added recently or before that. But if they are ordered, then its hard to quickly find what I am looking for.
Thank you

Use case is completely logical. Unfortunately Sprucemarks is in maintenance mode at this point in its life. As in I do not wish to add any complexity to the behind the scenes code or the user facing options page. Just bug fixes going forward.
Sorry Hader.

Thank you anyway.
I think there might be a workaround by adding the non-sorted in mobile bookmarks...


Invalid return URL

Hey, I've been using the SteamAuth for a while now, everything was working fine, but today it stopped working for some reason, whenever I try to log-in through steam, I get:
Sorry!

An error was encountered while processing your request:

Invalid return URL

Here's a link to the Steam Community home page.

What's wrong?

Can you post your SteamConfig.php Please? (Located in steamauth/SteamConfig.php).
Thanks.

It's fixed already, apparently steam was down or something.


Debug Ceedling with VS Code

I am just wondering if anyone has gotten ceedling to debug with Visual Studio Code?
I am even open to other IDEs. I just need to be able to debug into the code so that I can try and solve the issue in my configuration.

How is this connected to ceedling? All you need is debugger for your chip/format and its command. IDE is just for graphics... From other threads that is microchip so just use microchip debugger and connect it to simulator (hope that works). Otherwise you can also just run off target (well you need a different compiler and aort some memory/defines...


EOF raise when one container call istio-proxy in the same pod

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
EOF raise when one container call istio-proxy in the same pod
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
No EOF raise
The connections between container and istio-proxy in the same pod should be keep.
Or info app when envoy close connection
Steps to reproduce the bug
1  The whole cluster runs continually.
- Include service A, service B.
- Both of them are istio-injected
- Service A access service b continually with http1.1.
2  Monitor service A's container log, also monitor service A's istio-proxy log.
3  After some time,  when service A api will raise below issue
{
  "code": 13,
  "message": "Post \"http://hpbp-authz.hpbp-dev-core/hpbp-authz/v1/authorizations?abac=false\u0026rbac=true\": EOF",
  "details": [
  ]
}

4  After investigate, our developers think serviceA's istio-proxy close connection sometime but not info serviceA's container.
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
Istio 1.6.8 (has such issue)
Istio 1.4.6 (has no such issue)
How was Istio installed?
istioctl install ...
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

app detail log txt
Use default go lib: https://golang.org/src/net/http/transport.go
const DefaultMaxIdleConnsPerHost = 2

I enabled logs in enovy, can found related logs:
2021-04-01T05:09:24.193719454Z 2021-04-01T05:09:24.189062Z      debug   envoy filter    [src/envoy/http/alpn/alpn_filter.cc:81] override with 2 ALPNs
2021-04-01T05:09:24.193756341Z 2021-04-01T05:09:24.189122Z      debug   envoy lua       [external/envoy/source/extensions/filters/common/lua/lua.cc:37] coroutine finished
2021-04-01T05:09:24.193781452Z ':authority', 'hpbp-authz.hpbp-dev-core'
2021-04-01T05:09:24.193787673Z ':path', '/hpbp-authz/v1/authorizations?temp=f7aecde8-0b7f-4e49-9faa-c081ffc1e956'
2021-04-01T05:09:24.193838011Z 'content-type', 'application/json'
2021-04-01T05:09:24.193915617Z 'x-hpbp-tenant-id', 'hpbp-dev'
2021-04-01T05:09:24.193924811Z 'accept-encoding', 'gzip'
2021-04-01T05:09:24.193931002Z 'x-forwarded-proto', 'http'
2021-04-01T05:09:24.193937202Z 'x-request-id', '897410c7-341b-4dd7-89e5-e2db5b3d1057'
2021-04-01T05:09:24.193967047Z 'x-envoy-peer-metadata-id', 'sidecar~<IP_ADDRESS>~hpbp-gaia-deploy-7b7f7f6545-2g88w.hpbp-dev-portal~hpbp-dev-portal.svc.cluster.local'
2021-04-01T05:09:24.193974766Z 'x-service-trace', 'hpbp-dev-portal.hpbp-dev-portal,hpbp-dev-core.hpbp-dev-core'
2021-04-01T05:09:24.193980910Z 'x-envoy-attempt-count', '1'
2021-04-01T05:09:24.193987173Z 'x-b3-traceid', '9b45858676af0b194921de264bca9dda'
2021-04-01T05:09:24.193993940Z 'x-b3-spanid', 'da779ea0f4c12c7c'
2021-04-01T05:09:24.194026962Z 2021-04-01T05:09:24.189200Z      debug   envoy pool      [external/envoy/source/common/http/conn_pool_base.cc:68] [C5248] creating stream
2021-04-01T05:09:24.194034221Z 2021-04-01T05:09:24.189210Z      debug   envoy router    [external/envoy/source/common/router/upstream_request.cc:317] [C5560][S7386891214117790127] pool ready
2021-04-01T05:09:24.194041497Z 2021-04-01T05:09:24.189243Z      debug   envoy http      [external/envoy/source/common/http/conn_manager_impl.cc:1337] [C5560][S7386891214117790127] request end stream
2021-04-01T05:09:24.200400015Z 2021-04-01T05:09:24.199024Z      debug   envoy misc      [external/envoy/source/common/network/io_socket_error_impl.cc:29] Unknown error code 104 details Connection reset by peer
2021-04-01T05:09:24.200422475Z 2021-04-01T05:09:24.199040Z      debug   envoy connection        [external/envoy/source/common/network/connection_impl.cc:558] [C5563] remote close
2021-04-01T05:09:24.200431264Z 2021-04-01T05:09:24.199046Z      debug   envoy connection        [external/envoy/source/common/network/connection_impl.cc:200] [C5563] closing socket: 0
2021-04-01T05:09:24.200437844Z 2021-04-01T05:09:24.199086Z      debug   envoy pool      [external/envoy/source/common/tcp/conn_pool.cc:124] [C5563] client disconnected
2021-04-01T05:09:24.200444273Z 2021-04-01T05:09:24.199101Z      debug   envoy connection        [external/envoy/source/common/network/connection_impl.cc:109] [C5562] closing data_to_write=0 type=0
2021-04-01T05:09:24.200451597Z 2021-04-01T05:09:24.199105Z      debug   envoy connection        [external/envoy/source/common/network/connection_impl.cc:200] [C5562] closing socket: 1
2021-04-01T05:09:24.200458403Z 2021-04-01T05:09:24.199174Z      debug   envoy conn_handler      [external/envoy/source/server/connection_handler_impl.cc:111] [C5562] adding to cleanup list
2021-04-01T05:09:24.200465380Z 2021-04-01T05:09:24.199188Z      debug   envoy pool      [external/envoy/source/common/tcp/conn_pool.cc:238] [C5563] connection destroyed
2021-04-01T05:09:24.201089756Z 2021-04-01T05:09:24.200446Z      debug   envoy router    [external/envoy/source/common/router/router.cc:1149] [C4781][S268297375030826846] upstream headers complete: end_stream=false
2021-04-01T05:09:24.201139937Z 2021-04-01T05:09:24.200538Z      debug   envoy http      [external/envoy/source/common/http/conn_manager_impl.cc:1710] [C4781][S268297375030826846] encoding headers via codec (end_stream=false):
2021-04-01T05:09:24.201149832Z ':status', '500'
2021-04-01T05:09:24.201155872Z 'content-type', 'application/json'
2021-04-01T05:09:24.201162522Z 'trailer', 'Grpc-Trailer-Content-Type'
2021-04-01T05:09:24.201169086Z 'date', 'Thu, 01 Apr 2021 05:09:24 GMT'
2021-04-01T05:09:24.201175129Z 'x-envoy-upstream-service-time', '25'
2021-04-01T05:09:24.201181186Z 'x-envoy-peer-metadata', 'ChoKCkNMVVNURVJfSUQSDBoKS3ViZXJuZXRlcwogCgxJTlNUQU5DRV9JUFMSEBoOMTAuMTA0LjEzNi4xNjMK9AEKBkxBQkVMUxLpASrmAQoSCgNhcHASCxoJaHBicC1nYWlhChkKDGlzdGlvLmlvL3JldhIJGgdkZWZhdWx0CiEKEXBvZC10ZW1wbGF0ZS1oYXNoEgwaCjdiN2Y3ZjY1NDUKJAoZc2VjdXJpdHkuaXN0aW8uaW8vdGxzTW9kZRIHGgVpc3RpbwouCh9zZXJ2aWNlLmlzdGlvLmlvL2Nhbm9uaWNhbC1uYW1lEgsaCWhwYnAtZ2FpYQorCiNzZXJ2aWNlLmlzdGlvLmlvL2Nhbm9uaWNhbC1yZXZpc2lvbhIEGgJ2MQoPCgd2ZXJzaW9uEgQaAnYxChoKB01FU0hfSUQSDxoNY2x1c3Rlci5sb2NhbAorCgROQU1FEiMaIWhwYnAtZ2FpYS1kZXBsb3ktN2I3ZjdmNjU0NS0yZzg4dwoeCglOQU1FU1BBQ0USERoPaHBicC1kZXYtcG9ydGFsClwKBU9XTkVSElMaUWt1YmVybmV0ZXM6Ly9hcGlzL2FwcHMvdjEvbmFtZXNwYWNlcy9ocGJwLWRldi1wb3J0YWwvZGVwbG95bWVudHMvaHBicC1nYWlhLWRlcGxveQqnAQoRUExBVEZPUk1fTUVUQURBVEESkQEqjgEKIAoOYXdzX2FjY291bnRfaWQSDhoMMTk4ODE0NTc5ODU0CiUKFWF3c19hdmFpbGFiaWxpdHlfem9uZRIMGgp1cy13ZXN0LTJiCigKD2F3c19pbnN0YW5jZV9pZBIVGhNpLTBjMTdmNWQ5NDdjOTI1NjI1ChkKCmF3c19yZWdpb24SCxoJdXMtd2VzdC0yChkKD1NFUlZJQ0VfQUNDT1VOVBIGGgRnYWlhCiMKDVdPUktMT0FEX05BTUUSEhoQaHBicC1nYWlhLWRlcGxveQ=='
2021-04-01T05:09:24.201191519Z 'x-envoy-peer-metadata-id', 'sidecar~<IP_ADDRESS>~hpbp-gaia-deploy-7b7f7f6545-2g88w.hpbp-dev-portal~hpbp-dev-portal.svc.cluster.local'
2021-04-01T05:09:24.201198038Z 'server', 'istio-envoy'
2021-04-01T05:09:24.201204999Z
2021-04-01T05:09:24.201210711Z 2021-04-01T05:09:24.200572Z      debug   envoy client    [external/envoy/source/common/http/codec_client.cc:104] [C4800] response complete
2021-04-01T05:09:24.201217443Z 2021-04-01T05:09:24.200604Z      debug   envoy filter    [src/envoy/http/authn/http_filter.cc:49] Called AuthenticationFilter : onDestroy
2021-04-01T05:09:24.201225738Z 2021-04-01T05:09:24.200624Z      debug   envoy pool      [external/envoy/source/common/http/http1/conn_pool.cc:48] [C4800] response complete
2021-04-01T05:09:24.201234211Z 2021-04-01T05:09:24.200629Z      debug   envoy pool      [external/envoy/source/common/http/conn_pool_base.cc:93] [C4800] destroying stream: 0 remaining
2021-04-01T05:09:24.201240984Z 2021-04-01T05:09:24.200727Z      debug   envoy wasm      [external/envoy/source/extensions/common/wasm/context.cc:1104] wasm log stats_inbound: [extensions/stats/plugin.cc:612]::report() metricKey cache hit , stat=16
2021-04-01T05:09:24.201247659Z 2021-04-01T05:09:24.200742Z      debug   envoy wasm      [external/envoy/source/extensions/common/wasm/context.cc:1104] wasm log stats_inbound: [extensions/stats/plugin.cc:612]::report() metricKey cache hit , stat=18