[CI] Error in test_FixedRate "transaction can't be replaced, mining has already started"

How to reproduce
In PR #628 I had made a small change. It wouldn't have affected test_FixedRate.
In CI, all tests passed except one: pdr_backend/contract/test/test_fixed_rate.py::test_FixedRate
Error message:

Full traceback
From this log:
==================================== ERRORS ====================================
_______________________ ERROR at setup of test_FixedRate _______________________

    @pytest.fixture(scope="module")  # "module" = invoke once per test module
    def predictoor_contract():
        w3p = _web3_pp()
        w3c = w3p.web3_config
>       _, _, _, _, logs = publish_asset(
            s_per_epoch=S_PER_EPOCH,
            s_per_subscription=S_PER_EPOCH * 24,
            base="ETH",
            quote="USDT",
            source="kraken",
            timeframe="5m",
            trueval_submitter_addr=w3c.owner,
            feeCollector_addr=w3c.owner,
            rate=3,
            cut=0.2,
            web3_pp=w3p,
        )

pdr_backend/conftest_ganache.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/enforce_typing/decorator.py:29: in wrapper
    return func(*args, **kwargs)
pdr_backend/publisher/publish_asset.py:69: in publish_asset
    logs_nft, logs_erc = factory.createNftWithErc20WithFixedRate(
pdr_backend/contract/erc721_factory.py:19: in createNftWithErc20WithFixedRate
    tx = self.contract_instance.functions.createNftWithErc20WithFixedRate(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/web3/contract/contract.py:323: in transact
    return transact_with_contract_function(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/web3/contract/utils.py:172: in transact_with_contract_function
    txn_hash = w3.eth.send_transaction(transact_transaction)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/web3/eth/eth.py:382: in send_transaction
    return self._send_transaction(transaction)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/web3/module.py:75: in caller
    result = w3.manager.request_blocking(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/web3/manager.py:326: in request_blocking
    return self.formatted_response(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

response = {'error': {'code': -32003, 'message': "transaction can't be replaced, mining has already started. (please open an issu.../1.js:2:185530)\n    at TransactionPool.prepareTransaction (/app/dist/node/1.js:2:188093)"}, 'id': 4, 'jsonrpc': '2.0'}
params = ({'data': '0xd282aa860000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000... '0xe2DD09d719Da89e5a3D0F2549c7E24566e947260', 'gasPrice': '0x0', 'to': '0xF[152](https://github.com/oceanprotocol/pdr-backend/actions/runs/7942124780/job/21685120966?pr=628#step:8:153)cF3c67dFD41a317eAe8fAc0e1e8E98724A13'},)
error_formatters = <cyfunction identity at 0x7f24644516c0>
null_result_formatters = <cyfunction identity at 0x7f24644516c0>

    @staticmethod
    def formatted_response(
        response: RPCResponse,
        params: Any,
        error_formatters: Optional[Callable[..., Any]] = None,
        null_result_formatters: Optional[Callable[..., Any]] = None,
    ) -> Any:
        # jsonrpc is not enforced (as per the spec) but if present, it must be 2.0
        if "jsonrpc" in response and response["jsonrpc"] != "2.0":
            _raise_bad_response_format(
                response, 'The "jsonrpc" field must be present with a value of "2.0"'
            )

        # id is not enforced (as per the spec) but if present, it must be a
        # string or integer
        # TODO: v7 - enforce id per the spec
        if "id" in response:
            response_id = response["id"]
            # id is always None for errors
            if response_id is None and "error" not in response:
                _raise_bad_response_format(
                    response, '"id" must be None when an error is present'
                )
            elif not isinstance(response_id, (str, int, type(None))):
                _raise_bad_response_format(response, '"id" must be a string or integer')

        # Response may not include both "error" and "result"
        if "error" in response and "result" in response:
            _raise_bad_response_format(
                response, 'Response cannot include both "error" and "result"'
            )

        # Format and validate errors
        elif "error" in response:
            error = response.get("error")
            # Raise the error when the value is a string
            if error is None or isinstance(error, str):
                raise ValueError(error)

            # Errors must include an integer code
            code = error.get("code")
            if not isinstance(code, int):
                _raise_bad_response_format(response, "error['code'] must be an integer")
            elif code == METHOD_NOT_FOUND:
                raise MethodUnavailable(error)

            # Errors must include a message
            if not isinstance(error.get("message"), str):
                _raise_bad_response_format(
                    response, "error['message'] must be a string"
                )

            apply_error_formatters(error_formatters, response)

>           raise ValueError(error)
E           ValueError: {'message': "transaction can't be replaced, mining has already started. (please open an issue with reproduction steps: https://github.com/trufflesuite/ganache/issues/new)", 'stack': "Error: transaction can't be replaced, mining has already started. (please open an issue with reproduction steps: https://github.com/trufflesuite/ganache/issues/new)\n    at shouldReplace (/app/dist/node/1.js:2:[185](https://github.com/oceanprotocol/pdr-backend/actions/runs/7942124780/job/21685120966?pr=628#step:8:186)530)\n    at TransactionPool.prepareTransaction (/app/dist/node/1.js:2:[188](https://github.com/oceanprotocol/pdr-backend/actions/runs/7942124780/job/21685120966?pr=628#step:8:189)093)", 'code': -3[200](https://github.com/oceanprotocol/pdr-backend/actions/runs/7942124780/job/21685120966?pr=628#step:8:201)3}

/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/web3/manager.py:289: ValueError
=========================== short test summary info ============================
ERROR pdr_backend/contract/test/test_fixed_rate.py::test_FixedRate - ValueError: {'message': "transaction can't be replaced, mining has already started. (please open an issue with reproduction steps: https://github.com/trufflesuite/ganache/issues/new)", 'stack': "Error: transaction can't be replaced, mining has already started. (please open an issue with reproduction steps: https://github.com/trufflesuite/ganache/issues/new)\n    at shouldReplace (/app/dist/node/1.js:2:185530)\n    at TransactionPool.prepareTransaction (/app/dist/node/1.js:2:188093)", 'code': -32003}
=================== 463 passed, 1 error in [243](https://github.com/oceanprotocol/pdr-backend/actions/runs/7942124780/job/21685120966?pr=628#step:8:244).62s (0:04:03) ===================
Error: Process completed with exit code 1.

@trentmc this seems to be a duplicate of #520

@trentmc this seems to be a duplicate of #520

Good catch. Thanks. Closing this one.


How to read binary string key ? We using kryos to serizal string key to byte array

Summary

Relevant information

@cdc007 Could you please provide more information on your use case.
Do you want to display this string key in the panel?

I want display string key in plane

Close the ticket by accident .could u reopen it

Because if using kryos do  serialize . Insert byte array. In grafana panel not readable.

@cdc007 Are you talking about https://github.com/EsotericSoftware/kryo project?
Do you mind sending me a sample rdb file with the serialized keys to take a look at?

Hey I am out of town currently. Yes that kryo project is the one which being used by lots of company.actually you can simple use kryo api to serialize a string  to binary and insert to redis. U will find the in grafana string can't read .  .

Sry out of town. Just using java kryos to serialize a string key to byte array then hmset to redis. U will find key are binary format which hard to read in grafana panel.  Is there a plug in or still can out deserialize byte array to string before render to user? Only simple strong not complicate other?java objects

Hello any update?

@cdc007 There is no javascript/typescript implementation for kryo serializer as I understand. To implement the panel which can show the object from the Redis cache string we have to implement a deserializer, which is hard to do because it's not documented properly and it's out of the scope for Redis plugins.
Let me know if you know of a better solution.

@cdc007, please let me know if there is anything else.
Closing for now.


Automatically gvm use... on per-directory .go-version files

chruby and ndenv help Ruby and Node.js programmers by automatically the right version of a programming language based on per-directory files like .ruby-version and .node-version. Could gvm do the same with .go-version files?

+1  (though such a request has already been rejected. https://github.com/sdkman/sdkman-cli/issues/219 )

+1

As a devoted rvm user, I'd like to suggest support for both .go-version and .go-pkgset (akin to .ruby-version and .ruby-gemset) files. The implementation would be similar to rvm in that when you change to a directory that features these files both gvm use and gvm pkgset would be called with the contents of each respective file as arguments.
Another neat thing in the rvm implementation is that changing out of a directory causes rvm to look for the next governing .ruby-version/.ruby-gemset files in parent directories.
I just started using gvm today but could look into adding this functionality.

support for both .go-version

+1000

Just as a heads up to everyone, I've been working on implementing the following:

support for .go-version in current directory or parent
support for .go-pkgset in current directory or parent

The above files will be read and parsed on every execution of cd. If one of the above files doesn't appear in the current directory (normally the project directory), then parent directories will be searched and the first encountered .go-version and .go-pkgset file will be applied. By applied I mean that the go use <version> and go use pkgset <pkgname> commands will be executed.
This described behavior is similar to the way rvm works, and for those of us that work with both rvm and gvm this begs the question: will rvm continue to function correctly? In short: yes.
Content for these plain text files is simply the name of the Go version as it appears in gvm list output (for .go-version) and the name of the pkgset as it appears in gvm pkgset list.
I'm still working out the details as to what the fallback status is when the contents of either file are incorrect (e.g. falling back to default or system or global only works if those targets exist!).
Before everyone gets too giddy about the rvm support, let me point out that there is still a problem with having both rvm and gvm co-exist with regard to the former insisting that its directories appear first in PATH. I'm already on a fix for this and it can be tracked here:
#225 Both rvm and gvm can't coexist happily
I'm hoping that both .go-version and .go-pkgset become as well-used with Go as the similar .ruby-version and .ruby-gemset are for Ruby development.

I'm happy to announce that I have a branch available for testing that implements both .go-version and .go-pkgset and supports the functionality mentioned in my previous comment above.
In addition, I've implemented a fix that allows gvm to work alongside rvm.
I've updated some of the README.md to reflect the new functionality. Although I've tested this extensively along the way in a VM, it's only now that I"ve installed it on my dev machine for regular use. So, what I need now is broader testing.
That brings us to: How do you install this?
Unless I'm mistaken, it doesn't look like there's any builtin way to update a gvm install at the moment. I'll get on that soon enough. But in the meantime, the steps I used are below (BE SURE TO BACKUP YOUR $HOME/.gvm DIRECTORY FIRST!).
Step 1 - grab the tagged commit from my branch (this creates just the .git directory)
---
git clone -b go-version-pkgset-pre1 --no-checkout "https://github.com/markeissler/gvm.git" ~/.gvm/gvm-update.tmp

Step 2 - move the resulting .git directory in place, then reset the local repo state
---
mv ~/.gvm/gvm-update.tmp/.git ~/.gvm/
rmdir ~/.gvm/gvm-update.tmp/
builtin cd ~/.gvm
git reset --hard HEAD
mv git.bak git.bak.old
mv .git git.bak

Step 3 - open a new terminal to test

Proceed with caution at Step 3. In the odd case that you need to disable rvm by preventing it to load at session startup (by commenting out the source lines in your .bashrc, etc) you will want to be able to do that from a functioning terminal (the one you used to upgrade the install).
With that said, this is a pretty nice enhancement.

These updates have been working great for me. Still need to test with zsh (which I don't use).

Yay, glad to see this super helpful feature being tested now!
I wonder if it's possible to port this to posh-gvm for Windows (PowerShell) users https://github.com/flofreud/posh-gvm

Just completed a whole bunch of refactor and this update now supports zsh as well.
I've been using the previous tag with bash for the past several weeks without any problems. It's been awesome. Don't know how Go folks get by without this functionality.
Follow the directions outlined in my previous comment but use the following input for Step 1 as the tag has been updated:
git clone -b go-version-pkgset-pre2 --no-checkout "https://github.com/markeissler/gvm.git" ~/.gvm/gvm-update.tmp

I hope to update the installer in the future so that updates are easy.

Any update one when this will be released?

Sadly, no. PR #233 has been passing travis tests since sometime in January. @jbussdieker (project maintainer) has been MIA and mostly disengaged with the project it seems (based on the number of unresolved/unacknowledged issues). I have also volunteered for a transfer of ownership to take over the project.
I may end up forking since I put a ton of work into this but have been reluctant to do so (so far) because of the issue backlog that would just disappear. That is, I would create a new repo with a new name (like gvm2) to avoid confusion with the abandoned project. Not sure what to do, but won't add more improvements until the stalemate is resolved.

did you fork @markeissler ? should we switch to gvm2?

Hi @nathantsoi. Thanks for your interest. I have not yet forked but will do so this week, likely creating a divorced fork for gvm2. I think that will provide more clarity to the community rather than continue along as yet another fork of gvm. I will open up issues there when I do that and post back to here when done.

:+1:
On Mon, May 8, 2017, 6:11 PM Mark Eissler<EMAIL_ADDRESS>wrote:

Hi @nathantsoi https://github.com/nathantsoi. Thanks for your interest.
I have not yet forked but will do so this week, likely creating a divorced
fork for gvm2. I think that will provide more clarity to the community
rather than continue along as yet another fork of gvm. I will open up
issues there when I do that and post back to here when done.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/moovweb/gvm/issues/219#issuecomment-300033303, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAYZml7qKloU1G5VHviJVgerfWn8UUY-ks5r3703gaJpZM4JpUCn
.

@nathantsoi @ghostsquad @jbussdieker GVM2 is now available in its first release and supports the .go-version and .go-pkgset files mentioned previously.

For local gvm and nvm) I've made a hacky way of doing this automatically when entering a directory. Got the idea here.
.zshrc:
`
automatically switch to local node/go version
checkRc() {
if [ "$PWD" != "$MYOLDPWD"  ]; then
MYOLDPWD="$PWD";
if [ -f .nvmrc  ]; then
nvm use
fi
if [ -f .gvmrc  ]; then
gvm use $(cat .gvmrc)
fi
fi
}
export PROMPT_COMMAND=checkRc
precmd() { eval "$PROMPT_COMMAND"  }
Example:
marko at x270 in ~
$ cd src/cryptostatus
Now using version go1.8.3
`

I plan on implementing a command to use the version defined in go mod at some point in the near future.

I plan on implementing a command to use the version defined in go mod at some point in the near future.

@BenKnigge is this already implemented?

I've switched to using ASDF exclusively. Works really well.

My derived hack has been working since -17. Just saying.


Move the config files from private repo to public repo

Summary
Move the config files from private repo from https://github.com/LF-Engineering/easycla-private to public repo: https://github.com/communitybridge/easycla.

This process is done - all configuration and CI/Development is now in the public repo.


NIFI-4625 - Added External Version to the PutElastic5 Processor. Added Testing around the version usage.

Changelist:
-Added a new Version Property to the Processor
. Not required
. No Expression Language
-Changed the Chained ifs for Index Op into a switch
-Ensured that version can only be used with the index operation
-Added testing in the testfile around the last change.
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ y] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[y ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[y ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ y] Is your initial contribution a single, squashed commit?

For code changes:

[y ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[y ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Failed Travis build bc of nifi-kafka-0-9-processors .......................... FAILURE ?

Don’t worry about those, go ahead and run the Maven command from the bundle directory that you changed (nifi-elasticsearch-bundle), if contrib-check passes it’s all good :)

Seems to pass without issues !
Used the following cmd : mvn clean package -pl nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-nar -am -Pcontrib-check .
Should I do more changes ?

There has been some recent interest in this feature, do you think you'll be able to continue with this? Seems like a good feature to add.

@mattyb149 Yeah.
Might take a bit to pick up where I left, but I'm happy to contribute.
I'll set it up in a few days hopefully.


Want to Contribute

I want to add python program

@Jatin-Miglani you have already opened an issue about adding python programs earlier. You can just create a Pull Request and mention the issue in it.


In header => all options should render as buttons when you hover on it

We can add hover on the links also no need to add btn there

okay, you close this issue too


Enable yard and bump doc

The CI fail on 1.8.7.
We run Bundler build with documentation Gemfile group. I will fix it.


grcp metric interceptor to be before the connection one

What this PR does:
Makes the gRPC metrics interceptor before the connection interceptor.. This should enable us to correctly catch the unauthorized calls in the metrics..
Which issue(s) this PR fixes:
Internal.
@mpenick can you ack this is OK?

Closing as order was already correct. Seems that the last registered interceptor will be the first one in gRPC. Strange, but luckily there was a test already to verify the correct behavior.


Gzip doesn't work with HTTP Interface (inflateReset failed)

Bug Report
Briefly describe the bug
Insert file over HTTP protocol with Gzip doesn't seem to work
How to Reproduce
Dump some records into a CH native format file and compress it with gzip or pipe it with gzip -c, and then insert over http
clickhouse local --query "SELECT * FROM file('24dc.native.gzip') LIMIT 1" --format Native | curl "http://localhost:8123/?query=INSERT%20INTO%20my_logs%20FORMAT%20Native" -H 'Content-Encoding: gzip' --data-binary @-

It will got error
Code: 354, e.displayText() = DB::Exception: inflateReset failed: data error SQLSTATE: HY000 (version <IP_ADDRESS>)

Version
I'm using the stable build docker image running on k8s.
Misc
Upstream CH seems to have this issue previously as well but it got fixed. Not sure if we can port the fix here as well
https://github.com/ClickHouse/clickhouse-connect/issues/93

Hi lazywei, thank you for reporting this bug. We will fix it

This issue should not be P1. Currently no user use it for ingest. The original user also doesn't use it

Hi @lazywei , this error because you forget gzip -c in
clickhouse local --query "SELECT * FROM file('24dc.native.gzip') LIMIT 1" --format Native | curl "http://localhost:8123/?query=INSERT%20INTO%20my_logs%20FORMAT%20Native" -H 'Content-Encoding: gzip' --data-binary @-

Let close this now, if there is any other issue, please reopen the issue again


Add support for ElasticBeanstalk

Hi,
Thank you for creating this wonderful library. It makes my testing-endevours much easier.
I would like to test some Elastic Beanstalk code, but according to IMPLEMENTATION_COVERAGE, these are not yet implemented. The CONTRIBUTING document asks me to create an issue first.
Specifically, I'd like to mock out:

elasticbeanstalk:describe_environments which would require these to be able to fill the mock with data:

elasticbeanstalk:create_application
elasticbeanstalk:create_environment

elasticbeanstalk:list_tags_for_resource which would require these to be able to fill the mock with data:

elasticbeanstalk:update_tags_for_resource

elasticbeanstalk:list_available_solution_stacks which may require some way to fill in the returned data?

I'm willing to put in some effort to add these myself, but will probably need some guidance along the way. I'll try to create (failing) tests and PR these, referencing this issue.

Yes, PRs are very much welcome for new endpoints. Let us know if you have particular questions on how to get started.


Parse SWGB DRS archives

Ref #6.

Thanks for the PR! I had to make a quick fix in 154f15bd56 because I got an error from construct:

...
  File ".../lib/python2.7/site-packages/construct/core.py", line 104, in __init__
    raise TypeError("name must be a string or None", name)
TypeError: ('name must be a string or None', PaddedStringAdapter('copyright'))

With these changes, I can still read AOE DRS files. Can you confirm that it now works for SWGB as well?

I'll test once I reinstall SWGB in the future. Sorry I completely missed that first parameter.

Hi, no problem! As the patch does not break AOE DRS, I'll just keep the patch and keep #6 opened until someone confirms that SWGB indeed works :)


Ignore cudaErrorNoDevice on making device backup

Even if CUDA is available, cudaGetDevice() can return
cudaErrorNoDevice when CUDA_VISIBLE_DEVICE is set to -1.
In such case, this has resulted in CUDARuntimeError.

LGTM!


[BUG] ArgumentException thrown when subtracting TimeSpan from DateTimeOffset in query

Version
LiteDB: 5.0.9
OS: Windows 10 latest, Ubuntu 18.04
.NET: netcoreapp3.1
Describe the bug
An ArgumentException is thrown when querying collections that use the minus - operator where the operands are a DateTimeOffset and a TimeSpan.
Code to Reproduce
    public class TestType
    {
        [BsonId]
        public int Id { get; set; }
        [BsonField]
        public string Foo { get; set; }
        [BsonField]
        public DateTimeOffset Timestamp { get; set; }
    }
    class Program
    {
        static void Main(string[] args)
        {
            var db = new LiteDatabase("testdb.db");
            var collection = db.GetCollection<TestType>(nameof(TestType));

            // sample data
            collection.Insert(new TestType()
            {
                Foo = "abc",
                Timestamp = DateTimeOffset.UtcNow,
            });
            collection.Insert(new TestType()
            {
                Foo = "def",
                Timestamp = DateTimeOffset.UtcNow,
            });

            // filter from 1 hour in the past to 1 hour in the future
            var timeRange = TimeSpan.FromHours(2);

            var working = collection // works, working should be of count = 2
                .Find(x => x.Timestamp > DateTimeOffset.UtcNow.Add(-timeRange))
                .ToList();

            var broken = collection // throws exception
                .Find(x => x.Timestamp > (DateTimeOffset.UtcNow - timeRange))
                .ToList();
        }

Expected behavior
Expected behavior is that the lists working and broken should both contain 2 results, and that no exceptions should be thrown. The usual built in operator for DateTimeOffset and TimeSpan should be used.
Screenshots/Stacktrace
   at System.DateTime.Add(Double value, Int32 scale)
   at System.DateTime.AddDays(Double value)
   at LiteDB.BsonExpressionOperators.MINUS(BsonValue left, BsonValue right)
   at LiteDB.BsonExpression.ExecuteScalar(IEnumerable`1 source, BsonDocument root, BsonValue current, Collation collation)
   at LiteDB.BsonExpression.ExecuteScalar(BsonDocument root, Collation collation)
   at LiteDB.Engine.BasePipe.<Filter>d__8.MoveNext()
   at LiteDB.Engine.QueryPipe.<Select>d__2.MoveNext()
   at LiteDB.Engine.QueryExecutor.<>c__DisplayClass10_0.<<ExecuteQuery>g__RunQuery|0>d.MoveNext()
   at LiteDB.BsonDataReader..ctor(IEnumerable`1 values, String collection)
   at LiteDB.Engine.QueryExecutor.ExecuteQuery(Boolean executionPlan)
   at LiteDB.Engine.QueryExecutor.ExecuteQuery()
   at LiteDB.Engine.LiteEngine.Query(String collection, Query query)
   at LiteDB.LiteQueryable`1.<ToDocuments>d__26.MoveNext()
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToList()
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at testlitedbbug.Program.Main(String[] args) in C:\Users\Chris\source\repos\testlitedbbug\testlitedbbug\Program.cs:line 46

Additional context
I recently migrated from LiteDb version 4.1.4, and this code was working.

It looks like Error occurs when long value (Ticks from Timespan) is being tried to cast to double.
Is it okay if I take over this bug and submit a pull request ?

@Chris-Johnston Thanks to @mshambharkar 's PR, it is now fixed in the latest master. The fix will be present in the next incremental release.


Automatic options support

Contains code to support automatically responding to HTTP OPTIONS requests. Code lends from how HEAD is automatically supported. The automatic response just consists of ALLOW headers for the registered methods for the requested URI. User defined options handlers are still allowed in any module and takes precedence over the automatic one.
Hope this is useful :-)

Hey. We'd like to pull this in but with the release of 0.10 we re-wrote a big part of the DefaultRouteResolver.. do you think you could update the pull request to be up-to-date with 0.10? Also make sure your public types and members have sensible XML comments
Thanks!

Yep, will do. I'll take a look at it later this week.

Rebased to HEAD of nancy master. All related tests still pass. I do see all tests in NancyBootstrapperBaseFixture failing  locally though, but I can't see how it's related to the changes I've made. All other tests in Nancy.Tests pass.

There's something not quite right with this pull request and it's too early to try and make any sense of it. It's showing a lot of changes that already exist in master which leads me to believe that your rebase somehow has rewritten history. A pull request only shows commits that do not exist in both branches and your pull request is showing 38 commits and 21 diffs.

Yes, that stroke me as odd, but being a git n00b I wasn't sure what to make
of it.
Think I'll make new branch and redo the code there.
onsdag den 7. marts 2012 skrev Andreas Hkansson <
<EMAIL_ADDRESS>
:
There's something not quite right with this pull request and it's too
early to try and make any sense of it. It's showing a lot of changes that
already exist in master which leads me to believe that your rebase somehow
has rewritten history. A pull request only shows commits that do not exist
in both branches and your pull request is showing 38 commits and 21 diffs.

Reply to this email directly or view it on GitHub:
https://github.com/NancyFx/Nancy/pull/472#issuecomment-4362969

--
Christian Horsdal Gammelgaard
Sandgade 4
8200 rhus N
+45 87 39 07 40
+45 28 89 65 02

Yeah that'd probably be the quickest way to resolve this unless you are comfortable with changing history ;)

Redid the code in pull req #546. Closing this one.


Update the date - typo

There appears to be a typo in the date for Jan 2022.
This was set to Jan 2021.

@LucianFrango : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The January update was added 1/27/2022, so agreed; merging. Thanks @LucianFrango.


Import optimization algorithm here

Refactor here

Refactor here

This issue should only be picked up after all the issues in the subject-trade repository are concluded.
Currently, the implementation and testing of the optimization algorithm that will be used to generate new allocations are in the subject-trade repository. After finishing all the issues related to that part of the project, the code should be migrated to a separate Django module in this repository, and the other repository should become deprecated.


Set page transition animation duration

Bug report
Describe the bug
In the documentation is a video, where you can clearly see a page animation transition, where the old page content fades out and the new page fades in.
I implemented a simple WoltModalSheet, but that animation is too fast for me. The fade animation is not even really visible, so I tried setting the animationDuration, but no matter to what I set it, nothing changes.
Steps to reproduce
Steps to reproduce the behavior:

Set transitionDuration in WoltModalSheet

    await WoltModalSheet.show<void>(
      context: context,
      transitionDuration: const Duration(seconds: 3),

Navigate via showNext and showPrevious

Expected behavior
I would expect that the page animation is as long as I set it inside transitionDuration.
Additional Context
I would like to achieve the effect as mentioned in the doc under Motion Animation

Hi! I think there is a misunderstanding here. transitionDuration is used for the modal route, not for in-modal navigation.
/// The transitionDuration argument is used to determine how long it takes
/// for the route to arrive on or leave off the screen. This argument defaults
/// to 200 milliseconds.
I would suggest you to achieve this with WoltModalSheetAnimationStyle example from the ReadMe:
WoltModalSheetThemeData(
  animationStyle: WoltModalSheetAnimationStyle(
    paginationAnimationStyle: WoltModalSheetPaginationAnimationStyle(
      mainContentIncomingOpacityCurve: const Interval(
        150 / 350,
        350 / 350,
        curve: Curves.linear,
      ),
      modalSheetHeightTransitionCurve: const Interval(
        0 / 350,
        300 / 350,
        curve: Curves.fastOutSlowIn,
      ),
      incomingSabOpacityCurve: const Interval(
        100 / 350,
        300 / 350,
        curve: Curves.linear,
      ),
      // Define additional pagination animation styles as needed.
    ),
    scrollAnimationStyle: WoltModalSheetScrollAnimationStyle(
      heroImageScaleStart: 1.0,
      heroImageScaleEnd: 0.9,
      topBarTitleTranslationYInPixels: 8.0,
      topBarTranslationYInPixels: 4.0,
      // Define additional scroll animation styles as needed.
    ),
  ),
),

@ulusoyca I thought the same, but when setting the transitionDuration lets say to 3 seconds, and I am presenting the sheet with WoltModalSheet.show, nothing changes. So I wonder, what transitionDuratin is actually doing?
Also, I tried setting the theme, but like in your example, I could only find ways to set the curves, not the actual duration

@ulusoyca I thought the same, but when setting the transitionDuration lets say to 3 seconds, and I am presenting the sheet with WoltModalSheet.show, nothing changes. So I wonder, what transitionDuratin is actually doing?
Also, I tried setting the theme, but like in your example, I could only find ways to set the curves, not the actual duration

Found out the root cause. Working on the fix 👍🏻  Thanks for reporting 🙇🏻

@ulusoyca I thought the same, but when setting the transitionDuration lets say to 3 seconds, and I am presenting the sheet with WoltModalSheet.show, nothing changes. So I wonder, what transitionDuratin is actually doing?
Also, I tried setting the theme, but like in your example, I could only find ways to set the curves, not the actual duration

Found out the root cause. Working on the fix 👍🏻 Thanks for reporting 🙇🏻

Just to confirm, when you mention the fix, do you mean a fix for being able to control the animation duration only for modal open/close or also for transitions between multi-page modals?

a fix for being able to control the animation duration only for modal open/close

You can check my PR here and add your comment:
https://github.com/woltapp/wolt_modal_sheet/pull/235
https://github.com/woltapp/wolt_modal_sheet/pull/235/files#diff-15429ba15e752ebb7014b0f6e7043da7e1b7437aed4e09599307eeea3a631b2fR21

Fixed in https://github.com/woltapp/wolt_modal_sheet/pull/235/files


There was an issue running inspector-sbomgen is ../linux/arm64/inspector-sbomgen the correct path?

Jenkins and plugins versions report
Making downloaded SBOMGen executable...
Running command...
[/home/ec2-user/inspector-sbomgen/linux/arm64/inspector-sbomgen, container, --image, alpine:latest]
Plugin execution ran into an error and is being aborted!
Exception:com.amazon.inspector.jenkins.amazoninspectorbuildstep.exception.SbomgenNotFoundException: There was an issue running inspector-sbomgen, is /home/ec2-user/inspector-sbomgen/linux/arm64/inspector-sbomgen the correct path?
com.amazon.inspector.jenkins.amazoninspectorbuildstep.exception.SbomgenNotFoundException: There was an issue running inspector-sbomgen, is /home/ec2-user/inspector-sbomgen/linux/arm64/inspector-sbomgen the correct path?
	at com.amazon.inspector.jenkins.amazoninspectorbuildstep.sbomgen.SbomgenRunner.runSbomgen(SbomgenRunner.java:83)
	at com.amazon.inspector.jenkins.amazoninspectorbuildstep.sbomgen.SbomgenRunner.run(SbomgenRunner.java:49)
	at com.amazon.inspector.jenkins.amazoninspectorbuildstep.AmazonInspectorBuilder.perform(AmazonInspectorBuilder.java:180)
	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
	at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

/home/ec2-user/inspector-sbomgen/linux/arm64/inspector-sbomgen

This is the correct path and the files are there
./inspector-sbomgen container -i alpine:latest
If I don't run through a plugin everything works as expected

these solutions don't help

https://docs.aws.amazon.com/inspector/latest/user/cicd-jenkins.html
What Operating System are you using (both controller, and any agents involved in the problem)?
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
SUPPORT_END="2025-06-30"
Amazon Linux release 2 (Karoo)
Reproduction steps
pipeline {
    agent  {
        label 'ARM64'
    }

    stages {
        stage ('amazon-inspector-image-scanner') {
            steps {
                script {
                    step ([
                        $class: 'com.amazon.inspector.jenkins.amazoninspectorbuildstep.AmazonInspectorBuilder',
                        sbomgenPath: '/home/ec2-user/inspector-sbomgen/linux/arm64/inspector-sbomgen',
                        archivePath: 'alpine:latest',
                        awsRegion: 'us-east-1',
                        iamRole: 'arn:aws:iam::role',
                        isThresholdEnabled: 'false',
                        countCritical: 0,
                        countHigh: 0,
                        countLow: 10,
                        countMedium: 5,
                    ])
                }
            }
        }
    }
}

Expected Results
INFO[0000] Amazon Inspector SBOM Generator v1.1.0 - linux arm64 - Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved
INFO[0000] [./inspector-sbomgen container -i alpine:latest]
INFO[0000] writing log file to: /home/ec2-user/.inspector-sbomgen/logs/inspector-sbomgen-log_2024-05-06_13-38-22.txt
INFO[2024-05-06 13:38:22]coreV1.go:34: initializing target artifact
INFO[2024-05-06 13:38:22]stagingdir.go:60: created temporary staging directory: /home/ec2-user/.inspector-sbomgen/artifact-cache1611348113
INFO[2024-05-06 13:38:22]imageInit.go:28: checking if image is a tarball
INFO[2024-05-06 13:38:22]imageInit.go:37: checking if image exists in the local Docker daemon
INFO[2024-05-06 13:38:22]imageInit.go:40: image appears to be locally cached
INFO[2024-05-06 13:38:22]coreV1.go:44: executing pre-processors
INFO[2024-05-06 13:38:22]artifactContainer.go:134: initializing analyzers
INFO[2024-05-06 13:38:22]artifactContainer.go:139: inventorying the image; this may take some time depending on your image size...
|   [0s]
INFO[2024-05-06 13:38:22]systeminfo.go:41: initializing artifact system info
INFO[2024-05-06 13:38:22]coreV1.go:53: analyzing artifact
|   [0s]
INFO[2024-05-06 13:38:23]coreV1.go:62: executing post-processors
INFO[2024-05-06 13:38:23]coreV1.go:71: encoding findings
INFO[2024-05-06 13:38:23]containers.go:227: encoded 12 components
INFO[2024-05-06 13:38:23]artifactContainer.go:229: cleaning up any file system artifacts
INFO[2024-05-06 13:38:23]stagingdir.go:106: deleting staging directory; please wait
INFO[2024-05-06 13:38:23]stagingdir.go:113: deleted 7 megabytes from staging directory: /home/ec2-user/.inspector-sbomgen/artifact-cache1611348113

Actual Results
Plugin execution ran into an error and is being aborted!
Exception:com.amazon.inspector.jenkins.amazoninspectorbuildstep.exception.SbomgenNotFoundException: There was an issue running inspector-sbomgen, is /home/ec2-user/inspector-sbomgen/linux/arm64/inspector-sbomgen the correct path?
com.amazon.inspector.jenkins.amazoninspectorbuildstep.exception.SbomgenNotFoundException: There was an issue running inspector-sbomgen, is /home/ec2-user/inspector-sbomgen/linux/arm64/inspector-sbomgen the correct path?
Anything else?
No response
Are you interested in contributing a fix?
No response

Hi, thanks for reaching out.
Its likely that Jenkins doesn't have permissions to interact with inspector-sbomgen. If you're intent on using a standalone binary, ensure that the jenkins user has permissions to start inspector-sbomgen. Alternatively, you can use the automatic downloader to allow the plugin to download and use the required binary at runtime.

Well, I have the same problem and Jenkins definitely can run the binary directly and generate a json file if I run it with a shell in my pipeline. However, using the same path within the plugin gives me the same error as above.

The issue was that the plugin runs on an agent but it's looking for the binary in the master, as explained here: https://github.com/jenkinsci/amazon-inspector-image-scanner-plugin/issues/60#issuecomment-2275629406


export.bat didn't work to add environment variables (IDFGH-4031)

Environment

IDF version v4.1
Operating System: Windows 10 professional 2004
(Windows only) environment type: cmd (run as administrator)
Using an IDE?: no

Problem Description
I installed the esp-idf using vscode extension Onboard and things get done well. Then I tried export.bat to add environment variables but it didn't work. The output seems good as below:
Setting IDF_PATH: C:\Users\chang\esp-idf

Adding ESP-IDF tools to PATH...
    C:\Users\chang\.espressif\tools\xtensa-esp32-elf\esp-2020r2-8.2.0\xtensa-esp32-elf\bin
    C:\Users\chang\.espressif\tools\xtensa-esp32s2-elf\esp-2020r2-8.2.0\xtensa-esp32s2-elf\bin
    C:\Users\chang\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
    C:\Users\chang\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
    C:\Users\chang\.espressif\tools\cmake\3.13.4\bin
    C:\Users\chang\.espressif\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\bin
    C:\Users\chang\.espressif\tools\ninja\1.9.0\
    C:\Users\chang\.espressif\tools\idf-exe\1.0.1\
    C:\Users\chang\.espressif\tools\ccache\3.7\
    C:\Users\chang\.espressif\python_env\idf4.1_py3.8_env\Scripts
    C:\Users\chang\esp-idf\tools

Checking if Python packages are up to date...
Python requirements from C:\Users\chang\esp-idf\requirements.txt are satisfied.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

However, when I opened the environment variables, I found IDF_PATH was not set, and nothing added to PATH.
Then I found idf.py worked well in the same console where I just used export.bat, but when I closed the console and opened a new one, it didn't work. It said 'idf.py' is not recognized as an internal or external command
Well I think it cannot be designed to export everytime I want to use idf.py. So there must be something wrong.

Hi @ctz16. Yes, this is intended behaviour. You are supposed to run export.bat in each terminal you want to use idf.py. It will not affect the global settings. It is done this way so you could use different versions of IDFs in each terminal. There is a convenience shortcut installed with IDF tools installer which would start a command line with already setup environment.
In Vscode, you directly modify settings.json to set up the environment:
https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/ONBOARDING.md#directly-modify-settingsjson

OK, thank you for your support@dobairoland , seems my misunderstanding. I get the vscode extension works well and that's enough to use.


Remove code that dagster concepts deprecate

Dagster ConfigSchema and the CLI might remove the need for pudl entry points like pudl_etl and epacems_to_parquet.
Files to remove:

[x] CLI Commands: We need to decide if we want to continue to support our CLI commands. We could replace our CLI commands withe the dagster CLI or we could keep our existing commands and feed the command line args to dagster instead of our old etl functions. If possible I think we should retain our existing commands so the interface remains the same.

[x] cli.py
[x] epacems_to_parquet.py
[x] ferc1_to_sqlite.py
[x] Remove the commands from setup.py

[x] etl.py: Most of the ETL logic is now handled by dagster in the new etl and ferc_to_sqlite modules.
[x] load.py: The load logic is now handled by the IO Managers in the io_manager module.
[x] Update documentation to reflect these changes.
[x] pudl.transform.ferc1.transform()
[x] extract_dbf, extract_xbrl, extract_xbrl_metadata
[x] if __name__ == "__main__": of pudl.transform.ferc1. This needs to be converted to execute as a dagster job.

Closed by #2341


Install script should display cluster removal info in next steps

@simonz130 What problem is this issue referring to?

When the provisioning finishes, we show a bunch of URLs to the user as next steps.
One additional note we should add is how to remove the Sandbox.


Op registration: array members

Part of #6692

Jenkins, test this please.

Jenkins CI test (for commit 69ae2bbf89486c1d0bbc9b411a46b3f52e30f23b, target branch master) failed with status FAILURE.

Fixed test failures.

Jenkins, test this please.

Jenkins CI test (for commit 9cc8c4d38cac7edf150dee28d7b162ab851cc619, target branch master) failed with status FAILURE.

Jenkins failure is unrelated to this PR.

Removing to-be-backported as we decided not to backport non-critical PRs.


Go to definition when you're working on CPython itself

I sometimes use VS Code to debug parts of the CPython stdlib (the parts written in Python). This works great until I hit F12 to go to the definition of a stdlib function in a different module, since it shows me the module in the installed Python version rather than the corresponding module in the CPython repo that I am working on. (In particular, the entire stdlib lives under "Lib/" in the repo.)
Is there a setting that would modify Go to definition this way? Or could we add one?

Moving this issue to discussion as an enhancement request for comments and upvotes.


added rack node type and node relation management

adds a rack node type and capabilities to add and remove 'contains'/'containedBy' relationships as per
https://github.com/RackHD/RackHD/wiki/proposal-passively-add-remove-a-rack-node
and
https://github.com/RackHD/RackHD/wiki/proposal-neighborhood-physical-topology
depends on https://github.com/RackHD/on-core/pull/196
@RackHD/corecommitters @pscharla

*** BUILD #2287 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:39)
    at Object.b (domain.js:183:18)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #2288 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected undefined to deeply equal [ Array(3) ]
Stack Trace: AssertionError: expected undefined to deeply equal [ Array(3) ]
    at assertEqual (node_modules/chai/lib/chai/core/assertions.js:439:19)
    at ctx.(anonymous function) (node_modules/chai/lib/chai/utils/addMethod.js:40:25)
    at doAsserterAsyncAndAddThen (node_modules/chai-as-promised/lib/chai-as-promised.js:298:33)
    at null.<anonymous> (node_modules/chai-as-promised/lib/chai-as-promised.js:251:21)
    at ctx.(anonymous function) [as equal] (node_modules/chai/lib/chai/utils/overwriteMethod.js:48:33)
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:49)
    at Object.b (domain.js:183:18)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #121 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected undefined to deeply equal [ Array(3) ]
Stack Trace: AssertionError: expected undefined to deeply equal [ Array(3) ]
    at assertEqual (node_modules/chai/lib/chai/core/assertions.js:439:19)
    at ctx.(anonymous function) (node_modules/chai/lib/chai/utils/addMethod.js:40:25)
    at doAsserterAsyncAndAddThen (node_modules/chai-as-promised/lib/chai-as-promised.js:298:33)
    at null.<anonymous> (node_modules/chai-as-promised/lib/chai-as-promised.js:251:21)
    at ctx.(anonymous function) [as equal] (node_modules/chai/lib/chai/utils/overwriteMethod.js:48:33)
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:49)
    at bound (domain.js:287:14)
    at Object.runBound (domain.js:300:12)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #2290 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected stub to have been called with arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected stub to have been called with arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:39)
    at Object.b (domain.js:183:18)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #123 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected stub to have been called with arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected stub to have been called with arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:39)
    at bound (domain.js:287:14)
    at Object.runBound (domain.js:300:12)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #2292 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected _addRelation to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected _addRelation to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:621:59)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #124 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected _addRelation to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected _addRelation to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:621:59)
    at bound (domain.js:287:14)
    at Object.runBound (domain.js:300:12)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #2293 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:39)
    at Object.b (domain.js:183:18)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Async.drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

*** BUILD #125 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:39)
    at bound (domain.js:287:14)
    at Object.runBound (domain.js:300:12)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

test this please

*** BUILD #128 ***
Test Name: Http.Services.Api.Nodes editNodeRelations should delegate node updates to a handler
Error Details: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
Stack Trace: AssertionError: expected stub to have been called with exact arguments { id: "1234abcd1234abcd1234abcc", relations: [], type: "rack" }, contains, ["1234abcd1234abcd1234abcd", "1234abcd1234abcd1234abcx"]
    at Object.<anonymous> (spec/lib/services/nodes-api-service-spec.js:622:39)
    at bound (domain.js:287:14)
    at Object.runBound (domain.js:300:12)
    at Object.tryCatcher (node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)
    at Promise._settlePromiseAt (node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)
    at Async._drainQueue (node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)
    at Async._drainQueues (node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)

@VulpesArtificem looks like we have some open questions from @anhou

@RackHD/corecommitters Please review
@anhou thanks for review. Did you get your concerns addressed?

:+1: after my comments are addressed or clarified.

👍


Feature request: Google Secret Manager example/support

Hi, I just recently found out about this, I hope we can add an example in this repo. Especially when Github Actions doesn't support org-level secrets yet.
Some inspiration from azure key vault:
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      # checkout the repo
    - uses: actions/checkout@master
    - uses: Azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }} # Define secret variable in repository settings as per action documentation
    - uses<EMAIL_ADDRESS>      with:
        keyvault: "myKeyVault"
        secrets: 'mySecret1, mySecret2'
      id: myGetSecretAction
    - uses: Azure/docker-login@v1
      with:
        login-server: mycontainer.azurecr.io
        username: ${{ steps.myGetSecretAction.outputs.mySecret1 }}
        password: ${{ steps.myGetSecretAction.outputs.mySecret2 }}
    - run: |
        cd go-sample
        docker build . -t my.azurecr.io/myimage:${{ github.sha }}
        docker push my.azurecr.io/myimage:${{ github.sha }}
        cd ..

Where you can get the outputs via steps?
cc @sethvargo

Yup, it's on my list and in a half-baked POC on my laptop 😄. There are higher priority integrations at the moment, but it's on my roadmap.

woohoo 🙌 . @sethvargo is it something like how azure key vault does it? Using outputs of a step. I think that's a really intuitive way of using it.

That was my original plan, but there's also a new actions API that I haven't investigated yet.

@sethvargo is there a way to use secret manager using an API key instead of email and key combination? I'm asking since Github doesn't have org level secrets yet, 1 secret versus 2 secret is a big deal if you are dealing with hundreds of repos.

You can access the API using any supported Google Auth (service account key or short-lived identity token)


⚠ Bofrost.at has degraded performance

In 859ac94, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2003 ms

Resolved: Bofrost.at performance has improved in e08bb3c after 13 minutes.


[Concurrency] Add an environment variable to validate unchecked continuation usage.

When enabled, we track all active unchecked continuations in a global set, and fatal error if one is called twice.
rdar://97390481

@swift-ci please test

@swift-ci please test

@swift-ci please test and merge

@swift-ci please test and merge


External report: Policy document looks as if it should be GHES only - broken links for GitHub.com version

1. What's the name of the policy?
GitHub Insights and data protection for your organization
An external contributor to the open sourced docs repository has tried to fix the broken links on the free, pro, team version of this page: https://github.com/github/docs/pull/637.
Since GitHub Insights is a GHES-only feature, it's not a surprise that the links don't work when you're viewing the dotcom version of that page.
As far as I can tell, the right fix is to add a condition to the front matter for the policy to stop it showing up when people are browsing the free, pro, team docs.
If my assessment is correct, I'm happy to work with the external contributor to make this change.
2. Is this issue related to a specific section within one of our policies (e.g. the Terms of Service)? If so, please include a link to the section or subsection.
3. Did you already open a pull request? If so, please include a link to the PR.
4. Sometimes it's easier to just put your feedback text into an issue. If that's how you'd prefer to contribute, this is the section to do that.
5. Why do you think this section or language needs improvement?

Closing as a duplicate.


Rename reset= to init=

Rendered

We have discussed this RFC on the 2024-02-12 weekly meeting. The disposition was to merge, without changes.
The deprecation period should be the same as for Record, two releases, since the fix is more trivial but the scope of the change is wider.


Chosen Layers

I'm a little bit confused about which layers are being selected in the Resnet50 Head2Toe implementation. It says in the paper that you select features before and after the final pooling layer. Aren't the features from before the final pooling layer the same as the outputs of the final activation function in the previous Bottleneck block? Wouldn't this result in selecting the same features twice?

Sorry for the delay responding and thanks for the question. So we take features after activation and before convolutions so it looks like this
x = normalization(x)
x = activation(x)
endpoints['conv3'] = x
x = conv(x)
x = shortcut + x

So the features before pooling are different than the last feature at the block, due to convolution and shortcut addition.


Fix Issue 17224 - Foreach documentation still refers to TypeTuples, rather than AliasSequences

Phobos PRs: https://github.com/dlang/phobos/pull/5484 and  https://github.com/dlang/phobos/pull/5485


A couple of corrections to the docs

As the count parameter for the :z and :z# commands is optional, the {count}s at :help :z and :help :z# should perhaps be replaced with [count]s.
Also, perhaps for better understanding the scrs ('scroll' values?) in the table at :help :z should be replaced with cnts (counts).
Vim version: 8.2.1980.

As the count parameter for the :z and :z# commands is optional, the {count}s at :help :z and :help :z# should perhaps be replaced with [count]s.
Also, perhaps for better understanding the scrs ('scrolls'?) in the table at :help :z should be replaced with cnts (counts).

Does this seem right:
{range}z[+-^.=][count]	Display several lines of text surrounding the line
specified with {range}, or around the current line
if there is no {range}.
		If there is a [count], that's how many lines you'll
		see; if there is no [count] and only one window then
		twice the value of the 'scroll' option is used,
		otherwise the current window height minus 3 is used.
		This is the value of "scr" in the table below.

		If there is a [count] the 'window' option is set to
		its value.

--
hundred-and-one symptoms of being an internet addict:
250.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Does this seem right:

I think it does. It just occurred to me that {range} should be changed to [range], since it's, too, optional.

Yes, the range here is also optiona.

The docs are corrected now, so closing.


30 FPS?

It seems like Chrome is running SVGAs at 30 FPS.
If you open the Rendering > Frame Rendering Stats in the chrome dev tools, it seems to indicate 30 fps. Switching to a different tab and then back seems to fix the issue.
Not sure what to make of this.

Measuring this with screen recordings, the recordings seem to confirm that things are always running at 60 FPS. Perhaps there's just something about these SVGAs that is hard for Chrome's stats popup to measure?


Add language restriction to english for ZohoCRM integration

Thanks a lot! I noticed a typo: "You Zoho" should be probably "Your Zoho".

:+1:


License incompatible with UE4

The GPL license isn't compatible with UE4 could be this changed to other one ?
Let's say Apache, MIT, Zlib or LGPL (where this one isn't really compatible either as this isn't an external library and is included in the engine)
Thank you

Removed license.

So what license applies now ? The public license or ?

None. There is no license at all.
On Mon, Nov 1, 2021 at 1:13 PM Hevedy @.***> wrote:

So what license applies now ? The public license or ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/darbycostello/Nav3D/issues/9#issuecomment-956223026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGZVDHUEZP62O6CENXJWU3UJ2HAJANCNFSM5HCJ533Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I've added an MIT license. Use as you wish.


Undelegate bandwidth throws an error when the producers that the stakes are used to vote for are already unregistered

Undelegate bandwidth throws an error when the producers that the stakes are used to vote for previously are already unregistered
Screenshot attached

By commenting line 326 to 329 of bootseq_tests.cpp in PR 3156, this error can be observed

Verified with bootseq_tests


QUESTIONS ABOUT RESNET_NPP

when i run main.py,i noticed it saying
"from .resnet_rpp import resnet50_rpp
ImportError: No module named resnet_rpp"
i am sorry because i am new for doing this. Could you please tell me where is "resnet_npp"?

oh!i am sorry ,i mean "resnet_rpp",where is the "resnet_rpp"

same issue

I just commented out two lines in that file since I only use renset50. It works


Is possible to only pass a small section of the whole source?

I collect elsewhere the source in a vector of spans:
pub struct Source<'input> {
    pub tokens: &'input [Token<'input>],
    cursor: usize,
}

But for show the error I need to "materialize" all the code into Strings. I wish it were possible to only pass the relevant lines:
    let mut source =  Source::from( get from line 10 -> 20);
    source.line_start = 10;

    err.finish().print(("sample.tao",source))

This is unlikely to be supported given that there's no good way to determine ahead of time which parts of the original source ariadne will require to generate the diagnostic.

How much different to look at this as a small snippet of source? I imagine only need to add the starting line so do not assume is the first?

The report may require extra context, and the extent of that context isn't something that's desirable to expose to the API user, so this is unlikely to happen.


Fixed Uri/string mismatch in generated code

Old code dropped a raw string into the post method. This change has already been made everywhere else in the repo, but got missed in these template files.

@craiglabenz – notice my tweaks. Lets see if CI is happy now!


Update of CRPS tutorial ready for review

This is not ready to merge. It has a cell with a question for Tennessee.
I have made substantial changes to the previous version as part of a review process, while keeping the same example.
Please provide comments.

@DerynGriffiths, nice start.
There is also CRPS for ensembles https://github.com/nci/scores/blob/develop/src/scores/probability/crps_impl.py#L749
It would be good to demonstrate how the threshold weighted version works too

I've made changes following review by @nicholasloveday.

This is obviously better than what was there before, but by virtue of being better and more detail, also prompted more feedback and thought on my part...
Should we actually label/number the figures? I'm not really sure.
Reflecting, if this was actually 1 minus the CDF and the "chance or reaching" it's a more intuitive explanation to me. Presenting both charts might help in aiding understanding.
With the observation section, technically there is error in the observation as well, to the calibration and accuracy of the sensor. I don't know whether it's significant, but also definitively saying there is no chance of observing less than the observed value might not be the whole story.
The chart of the CRPS components is looking great.
The example of when to use threshold_weight and how deserves a little more exposition. Why is it reasonable to weight both fcst and obs below 4 in that instance? It's not necessarily obvious that 4 degrees has anything to do with a severe frost - wouldn't like minus 5 be more severe? I realise the example is based on setting aside obviously warmer temperatures, but even so some kind of definition of a severe frost might be helpful here.
I think the CRPS for ensemble needs a bit more introduction. I would consider separating it into a separate notebook, or expanding on how what ensemble information even is. I realise it's said - equally likely forecasts. But it may not be obvious where the CDF from the previous example came from, if not an ensemble, and why the equally likely forecasts don't have CDFs of their own. Maybe saying equally likely deterministic forecasts would be sufficient. Maybe plot the ensemble information to show how it relates to the bell curve of the initial probablistic forecast used earlier.
Let's talk later about how to distil this into some more actionable feedback, but this is all my initial thoughts and perhaps the detail is helpful.

A few thoughts:

Ln [9]. Add a sentence to explain what the threshold_dim arg does
In the Things to try next section, convert the list to use dot points
You could also suggest in the Things to try next section, that the user plays around with the weights so that they are not just binary. I'm fairly happy with your section on using 4C as the frost threshold, but perhaps if there are some other thresholds (less than 4C) that are even more important, then they could be weighted more heavily. I think we do need an explanation of how threshold weighting works (you could even do a shaded area for twCRPS plot) though .
For the crps_for_ensemble you can mention that there are two methods (empirical and Fair). You could consider giving a short paragraph, perhaps with the equation for each, and briefly explain the differences between the two methods. If you don't, then you should at least add the Ferro paper to your final dotpoint in the things to try next https://rmets.onlinelibrary.wiley.com/doi/10.1002/qj.2270

Reflecting, if the figure showing "chance of not exceeding" was actually 1 minus the CDF and the "chance or reaching" it's a more intuitive explanation to me. Presenting both charts might help in aiding understanding.

I'm comfortable with just showing "Chance of non-exceedance". I think it should be "exceedance" not "exceedence" in the plot title

Maybe plot the ensemble information to show how it relates to the bell curve of the initial probabilistic forecast used earlier.

I think this could be a good idea

I have considered all comments and acted on many. In particular I have put the crps_for_ensemble in a separate tutorial and shown an empircial cdf for the example.
Please review again.

In the notebook I note you say "The larger the ensemble the smoother and more sensible this will be". I have no idea what modes of variability exist in ensembles and whether you end up with severely bimodal distributions or significant discontinuities in practise. If you don't see such discontinuities, what is the value of the deterministic ensemble as opposed to just carrying a variance around?
I really like that bit of the notebook generally, I just don't know if that particular comment is always the case or not.
It would be nice to see the area-representation of the CRPS again if that's reasonable to suggest. It's implied, but it might be nice to see the plot anyway.
Looks great overall, very happy, thank you
Please add the new notebooks to the "Explanation" notebook so they appear in the documentation


i18n(fr): update integrations-reference.mdx

Description (required)
Updates the astro:build:setup hook signature in the French translation of integrations-reference.mdx (see #10410)

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

fr/reference/integrations-reference.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Vim9: cannot increment float with += and number in compiled code

Describe the bug
In Vim9 script, we cannot increment a float with a number using the += assignment operator in compiled code.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9script
    def Func()
        var f: float
        f += 1
    enddef
    defcompile
EOF
)

E1012 is given:
E1012: Type mismatch; expected float but got number

Expected behavior
No error is given, because adding a number to a float doesn't change its type; it's still a float.
Environment

Vim version: 8.2 Included patches: 1-3273
OS: Ubuntu 20.04.2 LTS
Terminal: XTerm(353)

Additional context
At the script level, the exact same code doesn't give any error:
vim9script
var f: float
f += 1
echo 'no error'

no error

Which is expected, but inconsistent with regards to what happens in compiled code.

Same issue with -=, ++, and --:
vim9script
def Func()
    var f: float
    f -= 1
enddef
defcompile

E1012: Type mismatch; expected float but got number

vim9script
def Func()
    var f: float
    ++f
enddef
defcompile

E1012: Type mismatch; expected float but got number

vim9script
def Func()
    var f: float
    --f
enddef
defcompile

E1012: Type mismatch; expected float but got number

I forgot; no issue if we use = instead of +=:
vim9script
def Func()
    var f: float
    f = f + 1
enddef
defcompile


Using words in the test data to build the embedding matrix

As per my understanding, we are not supposed to take any hint (or any information) from the testing data for the model construction. However, in your implementation, when the word_idx.json is computed, the words in the testing set are also considered. (As per my understanding)
Can you please clarify on this matter.

It depends on whether your embedding layer is trainable or not.
Since our embedding layer is not trainable, input examples are essentially in a 3d tenor: (batch_size, sent_length, embedding_dim), where embedding_dim=300+100. (in this case, the original 2d matrix of word indexes just save your memory). You can always build such a 3d tensor (even with fasttext crafted OOV embeddings) no matter how my model will be or how the vocab of training/testing will be (the vocab should be much larger or can be totally removed but I just build a small one to cover the dataset). So my model doesn't aware of any testing data ahead, but only use the features word2vec provided that can be similar between seen words in training and unseen words in testing (that's why word2vec is so powerful).
In the other case of trainable embeddings, you need a training vocab (exclude unseen words validation). Embeddings are weights specific to your model and its part of your model. Making unseen words in vocab still cannot let testing data seen to training (since training data do not have unseen words), what is worse is embeddings for those unseen words never changed (features are inconsistent now).
I personally think the first case is more common where the training data is small and you want the power of word2vec from seen words to unseen words, that's the way word2vec supposed to be used. The second case typically assumes the training data is large, then word2vec has little help compared to just using the randomly initialized of embedding layer.

Thanks for the informative clarification. I really appreciate that! It really makes sense now. As you've mentioned we can completely remove the idea of an embedding layer and treat embedded tokens as the input to the model.


Nucleo g071rb enable i2c

Enable i2c1 and i2c2 on nucleo_g071rb.
Tested with the i2c_slave_api tc, using a bme280 and a vl53l0x sensor.

I have now additionally added i2c in the board yaml file.

@FRASTM it would be great if you could find time to review this PR.
Once this PR is merged I'd like to enable further peripherals for this series.


added workflow as mentioned in issue #50

Fixes #50
@sanika391 please review and merge this PR
Also, please add labels to this PR

@sanika391 my merged PRs on this repo are not visible on the leaderboard and the reason this is because is that your '(gssoc)' label is written wrongly it must be 'gssoc'
Please correct it
Thank you!

@sanika391 please change for this PR too
Thank you!

@sanika391 this PR is not visible on the leaderboard and the reason this is because is that your 'Good issue'gssoc)' label is written wrongly it must be 'gssoc'
Please correct it
Thank you!


Add cross-env to build on Windows

Couldn''t use package.json build scripts on Windows

windows doesn't do env vars?! 😧

Yeah but it doesn’t support this syntax :/ that why cross-env is useful. Thx for this project by the way! I tried it yesterday and I it’s awesome!


Clarification on example prefetch template

The spec says that the user field in the POST request to a CDS Service would be of the format FHIR resourceType+id, in that case if the service wants the EHR to prefetch user information, the template should really be
prefetch: {          user: '{{user}}'     }
as such the example given here is wrong?

Now with the old /user moved to context/userId, there is still a problem with this example.
context/userId is of the form Practitioner/{id}
So this line
"u": "Practitioner/{{context.userId}}"
Becomes
"u": "Practitioner/Practitioner/{id}"
I would say the context should remove userId and have a field practitionerId which is just the ID. Alternatively, we can remove the Practitioner prefix from userId, but now we have an ID, which is or a type that is not directly obvious and therefore tacky.


Add original file extension to temporary filename

Requirements
Mark the following tasks as done:

[x] Checked the codebase to ensure that your feature doesn't already exist.
[x] Checked the pull requests to ensure that another person hasn't already submitted the feature or fix.
[ ] Adjusted the Documentation.
[x] Added tests to ensure against regression.

Description of the Change
When generating a temporary file, PhpSpreadsheets can't use file format for validating file extension.
Why Should This Be Added?
The file extension is the single way how we can import this file (PhpSpreadsheet already have this function). The original file type is missing after generating a temporary file.
Benefits
We allow developers to use validation file format by extension from PhpSpreadsheet
Possible Drawbacks

Verification Process
New test case with import file containing HTML tags is added
Applicable Issues
#2160

Thanks for the PR, I'll have a look soon!

Thanks!

Line 396 in ImportRequest.php is
$fileExtension     = pathinfo($filePath, PATHINFO_EXTENSION);
thus assigning the wrong extension because saved temporary files have a .tmp extension, so we should get the original file extension instead.
For now as a workaround I've added this line after:
if ($fileExtension == 'tmp') $fileExtension = end((explode('.', $filePath->getClientOriginalName())));


[Event Request] CU 452 "Report Distribution Management" - OnBeforeGetReportCaption

Can we please add the following event:
procedure GetReportCaption(ReportID: Integer; LanguageCode: Code[10]) ReportCaption: Text[250]
var
AllObjWithCaption: Record AllObjWithCaption;
TranslationHelper: Codeunit "Translation Helper";
---- start
IsHandled : Boolean;
---- stop
begin
---- start
IsHandeld := false;
OnBeforeGetReportCaption(ReportID, LanguageCode, ReportCaption, IsHandled);
if IsHandled then
exit;
---- end
    TranslationHelper.SetGlobalLanguageByCode(LanguageCode);

    if AllObjWithCaption.Get(AllObjWithCaption."Object Type"::Report, ReportID) then
        ReportCaption := AllObjWithCaption."Object Caption";

    TranslationHelper.RestoreGlobalLanguage();
end;

---- start
local procedure OnBeforeGetReportCaption(ReportID: Integer; LanguageCode: Code[10];var ReportCaption: Text[250]; var IsHandled : boolean)
---- end

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


openBSD buld fail

$ go get -u github.com/justwatchcom/gopass
# github.com/justwatchcom/gopass/store/secret
gopath/src/github.com/justwatchcom/gopass/store/secret/kv.go:64:10: undefined: strings.Builder
gopath/src/github.com/justwatchcom/gopass/store/secret/secret.go:64:10: undefined: strings.Builder

We always target the latest released Go version. This error will go away once you upgrade to 1.10.


Outdated ?

Just following this page doesn't work. We get stuck on the login screen and always getting "Failed to connect to server".
Either there is an issue on our side, or the documentation is missing info :

Does it work with Private account ? (According to the docs, yes as there is no mention of it :) ) We thought no we need work account
What services does the work account have for mesh app to work ?

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

ID: 8102ff1b-1dac-6b6e-f876-e692a98df4c5
Version Independent ID: 3d66a202-47cc-c7cb-0bc0-5c914581afe3
Content: Get started with Microsoft Mesh (Preview)
Content Source: mesh/get-started.md
Product: mixed-reality
GitHub Login: @qianw211
Microsoft Alias: qianwen

I'm stucked with the same problem; all permission provided

Actually after some research we fall upon this forum thread : https://techcommunity.microsoft.com/t5/mixed-reality-feedback-and-help/mesh-app-not-working/m-p/3734583
The issue is on Microsoft side (we confirmed this with a intern contact.)
I wish there was some communication and had not loose a half day trying to fix something which has no need to be fixed on our side.....


Depency Error

When Installing the install script certain dependencies are not installed fixed with: sudo apt install gir1.2-webkit2-4.0 zenity libwebkit2gtk-4.0-37 mintsystem libjavascriptcoregtk-4.0-18 gir1.2-javascriptcoregtk-4.0

APT should install all necessary dependencies automatically. AFAIK we haven't had missing dependencies in the past. How did you find out these were missing? Was there an error/warning message of some sort?

This was probably a local apt-mirror  problem. I'm doing further tests, and
possibly we don't need these packages to be part of the script.
On Sun, Jun 16, 2019, 3:04 PM Duncan Steenburgh<EMAIL_ADDRESS>wrote:

APT should install all necessary dependencies automatically. AFAIK we
haven't had missing dependencies in the past. How did you find out these
were missing? Was there an error/warning message of some sort?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freegeekchicago/fgc-installscript/issues/72?email_source=notifications&email_token=AAFLR77KO7V5LSDGB5CP5ADP22MGRA5CNFSM4HYR3KP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZUFIY#issuecomment-502481571,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFLR76BHMAHX7THRR5WXNTP22MGRANCNFSM4HYR3KPQ
.

It wasn't an apt-mirror problem. I set up a VM at home (Linux Mint 19.1
XFCE, installed in OEM mode) and running the script had the same issue.
It's not a problem with our script either. I ran "sudo apt-get update &&
sudo apt-get dist-upgrade -y" and I got the same results.
I don't think it's a problem with OEM installs either, as I made another VM
(Linux Mint 19.1 XFCE, no OEM install), and it still choked up when I did
"sudo apt-get update && sudo apt-get dist-upgrade -y".
What fixed the problem seemed to be running "sudo dpkg --configure -a"
followed by "sudo apt-get install -f".
On Sun, Jun 16, 2019 at 5:25 PM Alex Hanson<EMAIL_ADDRESS>wrote:

This was probably a local apt-mirror  problem. I'm doing further tests,
and possibly we don't need these packages to be part of the script.
On Sun, Jun 16, 2019, 3:04 PM Duncan Steenburgh<EMAIL_ADDRESS>wrote:

APT should install all necessary dependencies automatically. AFAIK we
haven't had missing dependencies in the past. How did you find out these
were missing? Was there an error/warning message of some sort?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freegeekchicago/fgc-installscript/issues/72?email_source=notifications&email_token=AAFLR77KO7V5LSDGB5CP5ADP22MGRA5CNFSM4HYR3KP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZUFIY#issuecomment-502481571,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFLR76BHMAHX7THRR5WXNTP22MGRANCNFSM4HYR3KPQ
.

I got the same problem(s) on a VM running Linux Mint 19.1 Cinnamon.
Something is messed up with Linux Mint 19.1 right now. I'll do some more
research on this.
On Mon, Jun 17, 2019 at 9:25 AM Alex Hanson<EMAIL_ADDRESS>wrote:

It wasn't an apt-mirror problem. I set up a VM at home (Linux Mint 19.1
XFCE, installed in OEM mode) and running the script had the same issue.
It's not a problem with our script either. I ran "sudo apt-get update &&
sudo apt-get dist-upgrade -y" and I got the same results.
I don't think it's a problem with OEM installs either, as I made another
VM (Linux Mint 19.1 XFCE, no OEM install), and it still choked up when I
did "sudo apt-get update && sudo apt-get dist-upgrade -y".
What fixed the problem seemed to be running "sudo dpkg --configure -a"
followed by "sudo apt-get install -f".
On Sun, Jun 16, 2019 at 5:25 PM Alex Hanson<EMAIL_ADDRESS>wrote:

This was probably a local apt-mirror  problem. I'm doing further tests,
and possibly we don't need these packages to be part of the script.
On Sun, Jun 16, 2019, 3:04 PM Duncan Steenburgh<EMAIL_ADDRESS>wrote:

APT should install all necessary dependencies automatically. AFAIK we
haven't had missing dependencies in the past. How did you find out these
were missing? Was there an error/warning message of some sort?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freegeekchicago/fgc-installscript/issues/72?email_source=notifications&email_token=AAFLR77KO7V5LSDGB5CP5ADP22MGRA5CNFSM4HYR3KP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZUFIY#issuecomment-502481571,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFLR76BHMAHX7THRR5WXNTP22MGRANCNFSM4HYR3KPQ
.

This isn't an issue on Xubuntu 18.04. I tried out updates and the the update script, and had no problems there.


docs: Added NodeJS SDK autogen docs

This PR adds plugins to Docusaurus to auto-generate the NodeJS reference docs in Markdown.

I have found a docusaurus plugin which uses typedoc to generate markdown docs from the code comments. The output is produced in markdown as part of the docusaurus build process and deployed as part of the same website.
I'm not sure if we want to follow this approach or host these docs on a separate website, as we did for Go and Python.
I've put this into a separate WIP PR so we can review and discuss separately from the other docs. Note it will need some adjustment as I wasn't sure which files/packages to include/exclude.

Feedback needed:

Please have a look at the generated reference docs in the deploy preview. OK to go ahead with this?
When working on this PR, we ran into an error with the typedoc error checker (it was failing on various type validations in the SDK). To solve this, we disabled the typedoc type checker. I'm not super comfortable with this solution but practically it may not matter much as typedoc is reading an auto-generated client which presumably has already been checked, linted etc. OK with this workaround or should we follow a different approach? Note: more info on the type validation failures in these messages:

https://discord.com/channels/707636530424053791/1038185873289785436/1042480615829819423
https://discord.com/channels/707636530424053791/1038185873289785436/1042537046549479424

Looks good to me

I see this


Any plans for new version?

Hey everyone,
As far as I can see, this package is still getting updated. But the latest version is released on 23 Dec 2019, it's more than a year. Is there any plan to release a new one? If so, do you guys need any help with it? If not, can you please release one?
Thanks a lot.

Special ping to @lqez :wave:

Thanks for your work on this project. I am also interested in the answer to this question.

Just to bump this again, with Django 4.0 alpha 1 being released (and final version scheduled for December 6th), it'd be good to get a new release of django-sumernote out which is compatible with modern Django versions. eg. the issues described in #449 are no longer RemovedInDjango40Warning warnings, but will be proper errors. These have been addressed in master [1], [2] but not in a new release meaning that users of this library are stuck either

not upgrading their Django version
or having to install django-summernote from a non PyPI release
or finding an alternative library.

If there's anything blocking the release or you need help with, please share so the community can try and support this project. Thanks

Well put. Yes, please support users from a PyPi release on modern Django.


Adding networks specs in compose file

This PR adds an events_net network so as to avoid the risk of breaking the connection from the backend to the database.

Thanks for the contribution, @ajeetraina! 🙏


[Caching] Don't parse LLVMArgs in cache replay instance

llvm::cl::ParseCommandLineOptions() is not thread-safe to be called from libSwiftScan so replaying multiple commands in parallel can crash the build system. Since the replay instance is not used for compilation and only need information from command-line arguments to create outputs and diagnostics, ignore LLVMArgs when replaying.
rdar://120423882

@swift-ci please smoke test


relocated Maintenance State class under Process

See https://oagiscore.atlassian.net/browse/MAINT-42 for details

Closing pull request and will delete branch to roll back to where maintainable state is under material state