Test property about mapping of null Embeddables

See https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#_misc_options
The property is hibernate.create_empty_composites.enabled:
Hibernate ORM returns null for an embeddable having all fields set to null. This property change the behaviour and
return an instance with all the field set to null.
I expect this to work already, but a test would be nice.

is it enough to convert the tests here to run in reactive?
EmptyCompositeCollectionKeyEagerTest.java

In this case we don't care about this:
		private Set<String> names;

I'm not sure about that test, but what we need to check are these 3 cases:

Embeddable field in entity
Embeddable in Embeddable
Embeddable in collection

By embeddable, I mean a class. Primitives won't be affected by this property.
An example could be:
Entity {
   Parent  parent;

    @ElementCollection
    List<Parent> others;   // This might be unecessary, I haven't checked the code  related to that property
}

@Embeddable
Parent {
    Child field1;
    String field2;

    @ElementCollection
    List<Child> adresses;
}

@Embeddable
Child {
      String field1
      String field2
}

At first glance, I think a mapping like this, should cover all the cases.

k. thx

I've committed a test class and it seems to verify that null entities/columns do not prevent embeddable collection from being defined and accessible.
NOTE:  adding the  others ELementCollection in the  @ElementCollection ends up throwing the following exception
@OneToMany, @ManyToMany or @ElementCollection cannot be used inside an @Embeddable that is also contained within an @ElementCollection: org.hibernate.reactive.EmptyCompositeCollectionKeyTest$Family.relatives.collection&&element.children
Is this an expected limitation?

Yes, that's normal. You cannot have an @ElementCollection collection where the element contain another @ElementCollection.
What I meant was:
private List<Child> relatives;   // This might be unecessary, I haven't checked the code  related to that property

Here's an article that explains what's going on:
https://blog.eyallupu.com/2010/06/hibernate-exception-simultaneously.html
On Thu, Mar 4, 2021 at 4:52 PM Barry LaFond<EMAIL_ADDRESS>wrote:

Adding relatives to the tests results in an error that it can't
instantiate the collection.
org.hibernate.LazyInitializationException: Collection cannot be
initialized:
org.hibernate.reactive.EmptyCompositeCollectionKeyTest$Family.relatives
If I add the (fetch = FetchType.EAGER) to the collection properties I get
and error from the persister/loader...
org.hibernate.loader.MultipleBagFetchException: cannot simultaneously
fetch multiple bags:
[org.hibernate.reactive.EmptyCompositeCollectionKeyTest$Family.relatives,
org.hibernate.reactive.EmptyCompositeCollectionKeyTest$Family.parent.children]
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hibernate/hibernate-reactive/issues/552#issuecomment-790763125,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEIQ5KIDORLZZ35JIX63K3TB63GRANCNFSM4XKZO4UQ
.

thx.   learned a little more.  change to Set<> worked.


Add internal provisioner support matrix

This PR adds internal provisioner support matrix and example of NFS volume plugin case and also storageclass example of HostPath plugin.
Many user confuse whether NFS plugin supports dynamic provisioning or not.
This PR adds explicit example about external provisoner of NFS plugin.

This change is

cc @chenopis
@wongma7 @jsafrane

@chenopis
Thank you!

this LGTM besides hostpath comment, excellent idea to have an overview now that there's a dozen~ provisioners

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

thanks a lot @mtanino!


[Help]: Running into error during sbas.stack_parallel step of SBAS example

Describe the problem you met
I am trying to run the provided SBAS example link on my local machine. I installed PYGMTSAR via pip and am able to run the download orbit and DEM functions. When I try to run stack_parallel I get this error:
Reference:   0%|                                                                                | 0/1 [00:14<?, ?it/s]Traceback (most recent call last):   File "/mnt/c/Users/andrew.poley/PycharmProjects/cheatgrass/pygmtsar/sbas.py", line 61, in <module>     sbas.stack_parallel(n_jobs=1)   File "/home/afpoley/.local/lib/python3.10/site-packages/pygmtsar/SBAS_stack.py", line 231, in stack_parallel     joblib.Parallel(n_jobs=n_jobs)(joblib.delayed(self.stack_ref)(subswath, **kwargs) for subswath in subswaths)   File "/home/afpoley/.local/lib/python3.10/site-packages/joblib/parallel.py", line 1863, in __call__     return output if self.return_generator else list(output)   File "/home/afpoley/.local/lib/python3.10/site-packages/joblib/parallel.py", line 1792, in _get_sequential_output     res = func(*args, **kwargs)   File "/home/afpoley/.local/lib/python3.10/site-packages/pygmtsar/SBAS_stack.py", line 69, in stack_ref     .calc_dop_orb(inplace=True).update().get('earth_radius')   File "/home/afpoley/.local/lib/python3.10/site-packages/pygmtsar/PRM.py", line 311, in get     out = [self.df.loc[[key]].iloc[0].values[0] for key in args]   File "/home/afpoley/.local/lib/python3.10/site-packages/pygmtsar/PRM.py", line 311, in <listcomp>     out = [self.df.loc[[key]].iloc[0].values[0] for key in args]   File "/home/afpoley/.local/lib/python3.10/site-packages/pandas/core/indexing.py", line 1153, in __getitem__     return self._getitem_axis(maybe_callable, axis=axis)   File "/home/afpoley/.local/lib/python3.10/site-packages/pandas/core/indexing.py", line 1382, in _getitem_axis     return self._getitem_iterable(key, axis=axis)   File "/home/afpoley/.local/lib/python3.10/site-packages/pandas/core/indexing.py", line 1322, in _getitem_iterable     keyarr, indexer = self._get_listlike_indexer(key, axis)   File "/home/afpoley/.local/lib/python3.10/site-packages/pandas/core/indexing.py", line 1520, in _get_listlike_indexer     keyarr, indexer = ax._get_indexer_strict(key, axis_name)   File "/home/afpoley/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6114, in _get_indexer_strict     self._raise_if_missing(keyarr, indexer, axis_name)   File "/home/afpoley/.local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6175, in _raise_if_missing     raise KeyError(f"None of [{key}] are in the [{axis_name}]") KeyError: "None of [Index(['earth_radius'], dtype='object', name='name')] are in the [index]"
OS and software version
If applicable, what operating system and software version you are using?
OS: Ubuntu-20.04 via wsl on windows 11
Reproduce the problem
I downloaded the dataset from the colab notebook and ran the code below:
Data dir:

code:
`import platform, sys, os
import xarray as xr
import numpy as np
import pandas as pd
from dask.distributed import Client
import matplotlib.pyplot as plt
import matplotlib
from pygmtsar import SBAS
import warnings # supress numpy warnings
warnings.filterwarnings('ignore')
use default GMTSAR installation path
PATH = os.environ['PATH']
if PATH.find('GMTSAR') == -1:
PATH = os.environ['PATH'] + ':/usr/local/GMTSAR/bin/'
# %env PATH {PATH}
Define parameters
MASTER = '2015-01-21'
WORKDIR = f'/mnt/d/analysis/pygmtsar/example'
DATADIR = f'/mnt/d/data/sentinel-1/well_injection/example'
DEMFILE = f'/mnt/d/data/sentinel-1/well_injection/example/dem.grd'
BASEDAYS = 100
BASEMETERS = 150
DEFOMAX = 0
POLARIZATION = 'VV'
Run local dask cluster
if name == 'main':
client = Client()
client
# Init SBAS
sbas = SBAS(datadir=DATADIR, dem_filename=DEMFILE, basedir=WORKDIR, landmask_filename=None, filter_orbit=None, filter_mission=None,
            filter_subswath=None, filter_polarization=POLARIZATION, force=False).set_master(MASTER)
df = sbas.to_dataframe()
print(df)

# Align a stack of images
sbas.stack_parallel(n_jobs=1)

`

It appears that you don't have GMTSAR binary tools installed, or they are not located in the expected path. Please refer to the installation commands for Ubuntu provided in the notebook cell titled 'Install GMTSAR'.

I uninstalled everything and did a full reinstall. This seems to have fixed the issue! Thank you!


Added a useful links

Have added a useful link about the java programming tutorial from the scaler topics in the website's section.

Thank you for your contribution! 🙌


⚠ SceneTime has degraded performance

In dc5c032, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1549 ms

Resolved: SceneTime performance has improved in 33b0680 after 6 minutes.


[SourceKit] In-Proc implementation of sourcekitd API functions

What's in this pull request?
The current sourcekitd API implementation is only available on Darwin because it relies on XPC services. Darwin uses this for both the standard and in-process build variations, but this alternative implementation is needed for Linux where XPC services are not available.
This implementation is derived from the existing XPC one but replaces XPC services' object model with a basic class hierarchy providing reference-counted objects for the value types and collections that compose the sourcekitd API's request and response types. It uses polymorphism to implement the RTTI required by the heterogenous collections.
Note that additional effort is required before SourceKit can build on Linux, but this is a significant piece of the puzzle. I'll trigger CI to smoke-test the changes, but the new code isn't touched by the CI build yet.
This supersedes #2769.
cc @modocache @gribozavr @akyrtzi
Resolved bug number: (SR-1639)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci please test

The "Move some functions into sourcekitdAPI-Common" commit LGTM on its own, could you have it as a separate pull request so we can test & merge it as is ?
We can continue refining the "in-proc implementation" commit separately, from here.

Sounds good: https://github.com/apple/swift/pull/3096. Once that goes in, I'll get this rebased.
I've not written much C++ lately so I'm sure there's much to be improved here! I'm looking forward to specific feedback when you get a chance to take a look.

Thanks for the schooling in LLVM patterns @akyrtzi. I've pushed a first attempt at reworking the code using LLVM-style refcounting and RTTI. Notes:

I tried to use IntrusiveRefCntPtr<SKDObject> where possible, however the RequestDict and ResponseBuilder types both reference the underlying object as a void *, so the implementations of those class' methods still end up working with SKDObject * a fair bit.
I implemented the LLVM RTTI, and used it to replace the asDictionary() etc. methods from the first version, however I didn't remove the get* methods, because it seemed like doing so would make the interface quite a bit harder to use, because clients would have to first do a dyn_cast and then follow it up with a NULL check before asking the subclass for its underlying value (unless there's a pattern for chaining that I'm not aware of?) What do you think?

LGTM, with exception of the nitpicks and suggestion to see if SKDObjectVisitor, SKDObjectPrinter, and sourcekitd::printRequestObject, can be shared between the implementations.

Thanks for the thorough review and great feedback! This is very helpful.

Updated to reflect the comments, except for the duplication around SKDObjectPrinter. I'd like to wait on merging this until https://github.com/apple/swift/pull/3163 is resolved and I can update this to use the shared code.

@swift-ci please test

Ok, updated again to take advantage of the RequestResponsePrinterBase.
@akyrtzi do you have any more feedback before this goes in?

Other than a couple of extra nitpicks, LGTM!

Excellent! I'm going to go ahead and merge right away now after having made those last updates since CI doesn't actually build this file yet anyway.
Thanks again for your support on this @akyrtzi

Thanks for working on this!


pull request for e2e test at 11/09/2016 23:15:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Document development roadmap for the Wallet

As mentioned in the slack, is important to develop some basic documentation for the roadmap and the changelog of the wallet so as developers can get a better understanding of how the project has evolved and we can prioritize possible issues.
At the moment the compilation process is broken for Linux as some issues provide, and other improvements can be made such as HiDpi and extra meta information.

how can be invited to the slack channel ? thanks

Go to solarcoin-group.slack.com


doc: fix etcd docker startup commands

This fixes failure to start etcd node(s) when following https://coreos.com/etcd/docs/latest/docker_guide.html ;The error message is: "docker: Error response from daemon: Container command '-name' not found or does not exist.."

@bart2 What version of etcd are you running? This won't work
sudo docker run --name etcd quay.io/coreos/etcd:v2.3.7 etcd;
Unable to find image 'quay.io/coreos/etcd:v2.3.7' locally
v2.3.7: Pulling from coreos/etcd
baa54a8d5296: Pull complete
1b7cd7bbed2b: Pull complete
Digest: sha256:797c185fcf07f1fecf228665ebf8cf7f1b2172853e9dfc02d2d718c582c77493
Status: Downloaded newer image for quay.io/coreos/etcd:v2.3.7
2016-11-28 19:17:06.351508 E | etcdmain: error verifying flags, 'etcd' is not a valid flag. See 'etcd --help'.

v3 docker guides can be found at https://github.com/coreos/etcd/blob/master/Documentation/op-guide/container.md.
Have you tried?

I'm using latest tag, as the procedure from https://coreos.com/etcd/docs/latest/docker_guide.html does not specify any tag. Right now it is:
core1 ~ # docker run quay.io/coreos/etcd:latest etcd --version
etcd Version: 3.0.15
Git SHA: fc00305
Go Version: go1.6.3
Go OS/Arch: linux/amd64

If that documentation is version specific, then maybe it should explicitly use specific version number?
BTW, the link says "docs/latest/...", so I would assume that it will work with latest version of etcd. Also, this doc is referenced by the Kubernetes on CoreOS guide: https://coreos.com/kubernetes/docs/latest/getting-started.html and it kind of looks bad to have non-working procedure there.

@bart2 Yeah agree.
@xiang90 @robszumski Any thoughts?
https://coreos.com/etcd/docs/latest seems outdated.
Could we redirect Docker guides to our latest container docs?
Thanks!

@joshix  Looks like we can do two things, use the v2 guide for this:

Add tag to https://github.com/coreos/etcd/blob/v3.0.13/Documentation/v2/docker_guide.md
Update the link on https://coreos.com/kubernetes/docs/latest/getting-started.html to the new location
Delete https://coreos.com/etcd/docs/latest/docker_guide.html from the bucket

Or push people towards this new container doc:

Remove and redirect https://coreos.com/etcd/docs/latest/docker_guide.html to https://github.com/coreos/etcd/blob/master/Documentation/op-guide/container.md
Update the link on https://coreos.com/kubernetes/docs/latest/getting-started.html to the new location
Delete https://coreos.com/etcd/docs/latest/docker_guide.html from the bucket

@gyuho is this also fixed by 066f9bf7e38398bb67736edc0be68923af8048de?

Yes. Let's close this. Thanks.


Certainty parameter for RSA public key

Pointing out a small issue found by @osagga.
In NTumbleBit/RsaKey.cs (https://github.com/NTumbleBit/NTumbleBit/blob/master/NTumbleBit/RsaKey.cs#L30) you can see that the certainty parameter to generate prime numbers is hardcoded as 2.  Certainty parameter k gives  probability 1-2^{-k} that the prime p or q used to generate the RSA public key is actually prime.
The NTumbleBit code references (http://www.just.edu.jo/~tawalbeh/cpe776/notes/IEEE_DRAFT.pdf), and old IEEE Draft from 1999 (at the end of page 87 (PDF numbering).  The IEEE draft states for k (bitSize of a number) “1854-up” you would need t=2 (t is the number of tests)).
This IEEE draft is outdated by now.
In the older version of BouncyCastle/RsaKeyPairGenerator.cs the one that TumbleBit uses now (https://github.com/NTumbleBit/NTumbleBit/blob/master/NTumbleBit/BouncyCastle/crypto/generators/RsaKeyPairGenerator.cs#L16) you can see that the default certainty parameter is 12 (which is higher than 2).   In the new updated version of this same bouncyCastle file (https://github.com/bcgit/bc-csharp/blob/master/crypto/src/crypto/generators/RsaKeyPairGenerator.cs#L23), they raised the default value of primality tests to 100.
I think raising certainty parameter would be a good idea. I suggest a value of 80 (since this is the security parameter for TumbleBit) or 100.
Does doing this break anything? (I doubt it would.)

It would only impact the duration of key creation I think. I raised to 100 c95c2c49e1e7b6f5baab5789175a239fe562824c

Great, thank you.


locale: Update Turkish translation

Hi,
thanks a lot.

I see some minor things to update if you think it could be usefull :

One string is missing.

msgid "GAME %i OF %i"
msgstr ""

The following translation seems strange while the singular form has no
word :

msgid "%i SELECTED"
msgid_plural "%i SELECTED"
msgstr[0] "%i"
msgstr[1] "%i SEÇİLİ"

i see no difference between the single and plural forms. Perhaps it's
normal. But i see that your language has 2 plural forms like in english.

Don't hesitate to remove the  #~ lines at the end of the file too.

NIcolas

Hey,
Thank you as well for overhauling the localisation plumbing :)

I know it is missing but Turkish locale is very different than English in terms of describing a ratio or a portion of a piece. There is no correct translation of this string (for myself), and honestly I prefer not to use patterns like "foo % of %" for cross-locale purposes. TL;DR, I purposely left it out since I don't have a correct translation for it.

It seems wrong, let me update the PR. Thanks for the catch.

Yeah, there is no plural forms of such sentences in Turkish. This is the correct translation.

Nice thank you @igungor

Ok, thanks.
I don't know the limitation to translate "%i of %i"
If needed, you can use the following syntaxe which allow to reverse the
number order :

"Only %2$i bytes free on '%1$i'."
which is semantically equivalent to
"'%i' has only %i bytes free."
2016-02-14 0:12 GMT+01:00 H. İbrahim Güngör<EMAIL_ADDRESS>
Hey,
Thank you as well for overhauling the localisation plumbing :)

I know it is missing but Turkish locale is very different than English
in terms of describing a ratio or a portion of a piece. There is no correct
translation of this string (for myself), and honestly I prefer not to use
patterns like "foo % of %" for cross-locale purposes. TL;DR, I purposely
left it out since I don't have a correct translation for it.

It seems wrong, let me update the PR. Thanks for the catch.

Yeah, there is no plural forms of such sentences in Turkish. This is
the correct translation.

—
Reply to this email directly or view it on GitHub
https://github.com/recalbox/recalbox-emulationstation/pull/84#issuecomment-183770310
.

Or perhaps just translated by :
"%i/%i" to remove the english words.
As you think it is the best.

Thanks for the suggestions. I've translated such strings before but all of the translations were not "weird". There are 3 incorrect ways to translate this string to Turkish and I think I'm going to use game %i/%i pattern here.


Call to a member function create() on null

Although I'm getting the Stripe Token like so:
in Billable.php line 385
at User->updateCard(object(Token)) in SubscriptionBuilder.php line 212
at SubscriptionBuilder->getStripeCustomer('tok_19oWykA5zF9kYK3AAOoQP6YM', array('email' => 'test@email.com')) in SubscriptionBuilder.php line 177

I'm getting the above error, the stripe_id is saving within the users table but nothing else. Is cashier up to date with new changes at Stripe?
@taylorotwell @themsaid

Anyone? Is this a big or something??
All I'm calling is
$user = Auth::loginUsingId(1);
$user->newSubscription('main', 'monthly')->create($request->stripeToken);

I'm getting the same when a card is declined.
On Mon., 20 Feb. 2017, 5:13 am Lee Stables<EMAIL_ADDRESS>wrote:

Anyone? Is this a big or something??
All I'm calling is
$user = Auth::loginUsingId(1);
$user->newSubscription('main', 'monthly')->create($request->stripeToken);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/cashier/issues/381#issuecomment-280945082,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFLO7o-SVykspnjlJr3cAkHp0vP-J3Igks5reKJMgaJpZM4MFGms
.

Not sure if Cashier has been updated to reflect Stripe's new API, that is the question. So until this is resolved, I've starting just using the API directly with no issues :)

hmm I don't seem to be able to replicate, can you please share more details?

@themsaid I have the stripe key & secret set within my .env file, also have the following JS as described on the stripe docs:
$(document).ready(function () {
    Stripe.setPublishableKey('xxxxxxxxxxxxxxxxxxx');

    var stripeResponseHandler = function(status, response) {

        var $form = $('#payment-form');

        if (response.error) {
            // Show the errors on the form
            //$('.payment-errors').text(response.error.message).addClass('alert alert-danger');
            $form.find('.payment-errors').text(response.error.message).addClass('alert alert-danger');

            if (response.error.message) {
                $form.find('.submit').prop('disabled', false);
            }
        } else {
            // token contains id, last4, and card type
            var token = response.id;
            // Insert the token into the form so it gets submitted to the server
            $form.append($('<input type="hidden" name="stripeToken" />').val(token));
            // and re-submit
            $form.get(0).submit();
        }
    };
    jQuery(function($) {
        $('#payment-form').submit(function(e) {
            var $form = $(this);
            // Disable the submit button to prevent repeated clicks
            $form.find('.submit').val('Please Wait...').prop('disabled', true);
            //$('#processingModal').modal({
            //    show: true
            //});
            // Request a token from Stripe:
            Stripe.card.createToken({
                number: $('#card-number').val(),
                cvc: $('#card-cvc').val(),
                exp_month: $('#card-month').val(),
                exp_year: $('#card-year').val()
                //address_zip: $('.address_zip').val()
            }, stripeResponseHandler);
            // Prevent the form from submitting with the default action
            return false;
        });
    });

});

Then within my controller just calling:
$user = Auth::loginUsingId(1);
$user->newSubscription('main', 'monthly')->create($request->stripeToken);

HTML as follows:
{!!  Form::selectYear(null, date('Y'),  date('Y') + 15, App::environment() == 'local' ? '2020' : 'Year', ['data-stripe' => 'exp-year', 'class' => 'form-control', 'id' => 'card-year']) !!}

                 <button class="btn btn-success submit">Subscribe</button>

            {{ Form::close() }}

If i dd() the $request->all() it does show the stripeToken but then displays the following error, like it's trying to update, even though it's a brand new subscription:
in Billable.php line 385
at User->updateCard(object(Token)) in SubscriptionBuilder.php line 212
at SubscriptionBuilder->getStripeCustomer('tok_19oWykA5zF9kYK3AAOoQP6YM', array('email' => 'test@email.com')) in SubscriptionBuilder.php line 177

Check if the user model has stripe_id set already.

Also can you share the full stack trace of the exception?

No stripe id as ot was a new subscription and that is basically the stack trace

What's your cashier verison?

Latest 7.0 and latest laravel

I'm sorry but everything seems fine to me, testing Spark implementations as well, Forge is using cashier too and all these apps are working fine. I think it's something in your app.

But what could it be it's a fresh install of everything and followed docs through, but yet using the strip API directly produces no issues at all.

So guessing it's nothing to do with my setup, just tried another complete fresh install with the same versions and settings and still the same error.

Can you put the fresh app in a repo I can clone and check?

No, as I just did it to check it wasn't me, sorry! Think I'll do the API direct, just wanted to use Cashier for time saving, but never mind!

@kyranb can you please share more details so I can help?

@themsaid
Sure thing! Essentially creating a Stripe user like so:

$billableModel->newSubscription('default', $subscriptionId)
                           ->quantity($quantity)
                           ->withCoupon($couponCode)
                           ->create($stripeToken, $this->stripeCustomerMetadata($userMetaData));

When the user uses a card that is declined by the bank (but still valid), it is attached to the billableModel, but the subscription is not created.  This leaves the billableModel with a stripe_id and card details, but no associated subscription in the database.
On stripe's side, the customer is represented there, but without a subscription.
I've been solving this, by manually going to stripe, creating a subscription, then entering it in my database manually, not fun at all :/

@kyranb I'm trying to generate the issue but all seems to work fine :/ I'm not sure what it might be.
Regarding your specific case I end up using a stripe test card from https://stripe.com/docs/testing#cards and managed to get a card declined exception, a stripe_id was added to the db but the next attempt to make a subscription using a working card everything works.

I ran into the same error and was able to track down my problem.
I set a breakpoint https://github.com/laravel/cashier/blob/7.0/src/Billable.php#L374 and looked at the information I was getting back from Stripe. I had recently deleted some test data from Stripe but as it turns out Spark was holding on to the old Stripe customer id in the stripe_id int the teams table.
It meant that I was just getting a response from Stripe just telling Cashier that the customer was deleted and missing the information Cashier needed. I suggest stepping through that function and taking a look at the response you're getting Stripe.

i'm having the same issue as well.
in line https://github.com/laravel/cashier/blob/7.0/src/Billable.php#L385 the $customer->sources is null. why is that?

Not sure what happened, but I re-installed Cashier and all is good now.

tried reinstalling laravel/cashier and the problem is still there.

@themsaid

I had the same issue, you must delete the data related to stripe in the user table,  after reinstalled and test so many different things the only way to activate this , was deleting the data in my table.

josemiguelramirez thank you. Clearing the stripe data from user table did the trick for me:
            // Need to reset all elements here, otherwise newSubscription->create() will throw an exception
            $user->stripe_id = null;
            $user->card_brand = null;
            $user->card_last_four = null;
            $user->trial_ends_at = null;
            $user ->save();

if u r running old version, this thread will help you
working fix


Updated assertj and jmh versions

I just wanted to check if the code-coverage error depends on some maven plugin versions. But this seems not to be the case.

Codecov Report

Merging #1939 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #1939   +/-   ##
========================================
  Coverage       100%    100%
  Complexity      132     132
========================================
  Files             5       5
  Lines           749     749
  Branches         76      76
========================================
  Hits            749     749

Continue to review full report at Codecov.

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


Using command in command block causes mod to unload all commands

When my command block runs a command, all commands disappear from the game and the player becomes unable to execute the commands afterward.  What just happened here?

On second thought it might be they just won't get registered on /reload for some reason.

Nope, it is indeed after you view the command inside a command block
the command block will say the command is not found, then it also breaks in the chat.

Alright, I've tried to reproduce this bug, however I did not manage to succeed at doing that. Please elaborate more on how to trigger such behaviour. For your interest, I could use the /morph command (or really any morph mod commands) whilst having an always active and repeating command block in the background executing "/demorph @a".
Maybe I should also note that I only tried to reproduce this bug in my current dev environment, which contains the newest code for this mod and also the optimal forge version.
So, if this issue persists, please let me know.

your commands remain if you never open that command block's console again.


Support Linux Mint 17 (Ubuntu 14.04 based) in the install script.

Hello,
I'm running on Linux Mint 17.1 which is based on Ubuntu 14.04 (see http://www.linuxmint.com/rel_qiana_cinnamon_whatsnew.php#components) and got the following error when trying to install OSF for Drupal (using ./osf-installer --install-osf-drupal):
Option not supported for this Linux distribution and version.

After this patch I was able to finish the install on my local.
Also I think the strpos check needs to be like this: !== FALSE
Thank you,
Hervé

Hi @vever001!
Great, thankgs for this patch. Everything works fine for me. Thanks for spotting the != -1: not sure why it got there in the first place, but it is definitely an issue.


add Connections Hypothesis Provider API

This PR adds Connections Hypothesis Provider to the default list of APIs that BTE queries.  This is necessary to provide answers for the standup query in https://github.com/NCATSTranslator/testing/issues/132.  Tested locally with that query and results from Connections Hypothesis Provider are being returned as expected.

Note that we have not merged this yet because we have concerns about BTE stability / performance
However it appears to work fine with BTE, so there aren't other issues with merging / deploying this PR


Amharic translation

At the moment, the translation pieces are scattered over the project.
We are working on bringing all of them together, but until that translation
must be done in several files.
@rkassa please help with the translation.
Todo

[ ] lib/translations.py
[ ] share/translations/es.txt
[ ] help: share/translations/help-es.txt
[ ] v2 translation
[ ] we-lang translation

@rkassa If you want, you can simply post translations here, but better of course, if you make afork, and then a pull-request; you can make pull-requests after each small portion of translation, as you like it.

@rkassa If you want, you can simply post translations here, but better of course, if you make afork, and then a pull-request; you can make pull-requests after each small portion of translation, as you like it.


Makes key replacement zealous and non-recursive.

As discussed in #2.
The only drawback I can see, is if a developer uses so many characters in the config keys and key_mappings, that Python runs out of not used characters and throws a ValueError:
ValueError: chr() arg not in range(0x110000)

Also if I run python3 -m unittest I get an exception:
======================================================================
ERROR: test_from_dict_key_modifiers_order (tests.test_config.TestConfiguration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sph/Software/github/upsilonconf/tests/test_config.py", line 718, in test_from_dict_key_modifiers_order
    conf = Configuration.from_dict(d, key_mods)
  File "/home/sph/Software/github/upsilonconf/upsilonconf/config.py", line 345, in from_dict
    return Configuration(**_replace_in_keys(d, key_mods))
  File "/home/sph/Software/github/upsilonconf/upsilonconf/config.py", line 85, in __init__
    self.__setitem__(k, v)
  File "/home/sph/Software/github/upsilonconf/upsilonconf/config.py", line 122, in __setitem__
    conf._validate_key(key)
  File "/home/sph/Software/github/upsilonconf/upsilonconf/config.py", line 209, in _validate_key
    raise InvalidKeyError(f"'{key}' contains symbols that are not allowed")
upsilonconf.config.InvalidKeyError: 'key-1' contains symbols that are not allowed

but I guess that has nothing to do with _replace_in_keys() …

I suspect that the failing test does have to do with _replace_in_keys, because the keys that are to be converted in the tests do contain spaces and dashes, so if the conversion does not happen correctly, this error would be thrown. I should probably change that (I am not a test-engineer myself, as you might have noticed). I'll try to take a closer look at your code, later tonight.

Well, the second replacement in test_from_dict_key_modifiers is
_replace_in_keys(
    {"key 1": "with space", "key-2": "with hyphen"},
    {"-": "_", " ": "-"})

which results (rightly) in the dictionary
{'key-1': 'with space', 'key_2': 'with hyphen'}

but 'key-1' ‘contains symbols that are not allowed’!
I guess the second key_mods should read:
key_mods = {"-": "_", " ": "0"}

instead.
See commit https://github.com/hoedt/upsilonconf/pull/5/commits/f3826a3b6af4e54c5b63b398fa4a19f8bc8e0391

It was probably a bad idea to simply commit my code to the branch because that makes it harder for you to work on it. I discarded my proposal (you can still find it in the commit that is linked to the PR).
I did update the tests and the expected return type for to_dict, so you might need to rebase for the merge to work in the end.

Sorry, this was automatically closed when I tried to update my repository here on github.
The follow-up is PR #6


Blackboard Learn change from Shibboleth to SAML2

Please note that Blackboard Learn has replace the Shibboleth authentication provider with a straight SAML2 provider, so some of the guidance here with respect to Blackboard configuration has changed.  Support documentation starts here.  LINK

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

ID: d12000a3-4357-3f86-35fb-61eb6c92050e
Version Independent ID: c9616554-70be-9145-88f9-b5dc680cb594
Content: Tutorial: Azure Active Directory integration with Blackboard Learn - Shibboleth
Content Source: articles/active-directory/saas-apps/blackboard-learn-shibboleth-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@jkelley-blackboard
Thanks for your feedback! We will investigate and update as appropriate.

#please-close


default RPC limit

should solve https://github.com/paradigmxyz/reth/issues/4830

lgtm, ty

Thank you or giving this kind of opportunity to partcipate in the good issue. I'am more interested to take more issue and learn about reth more. Thank you lot.


FIX: Navbar margin on mobile

This applies the same fix as https://github.com/pydata/pydata-sphinx-theme/pull/526 but in a more generic fashion. I realized that the problem was not unique to having a text-based site title. On mobile this is how it would look:
(note the mis-alignment with the content block below for the logo, and how the dropdown button is right up against the screen edge on the right)

With this fix, we add margin to the navbar-start and navbar-end div elements, so that no matter what is inside them, they'll have nicer padding. Here's how it looks on mobile now:

I think that it's OK to have the padding slightly more on wide screens - but happy to discuss that in a follow up issue. Thanks @damianavila for the review!


Add host to carrierwave fog config

If you use another cloud storage(like s3), that support s3 api, for example, mailru hotbox(https://mcs.mail.ru/hotbox/) use must add host to carrierwave config.

Hello @eldarik. Yes, only S3 supported at this moment. But actually this could be customized I think in concrete config/initializers/carrierwave.rb (after APIQ installed). Maybe you want to add this config option?

@GarPit Yes, I've already set for credentials:
    config.fog_credentials = {
      provider:                           'AWS',
      aws_access_key_id:         ENV['AWS_ACCESS_KEY_ID'],
      aws_secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'],
      region:                              ENV['AWS_REGION'] || 'us-east-1',
      host:                                 ENV['AWS_HOST'],
      endpoint:                          ENV['AWS_ENDPOINT']
    }

Maybe, this information could be useful for other?

@eldarik Yes, makes sense. I think I'll add this to README. Thanks!


Flask app: simulation failed (failed to load shared library)

While serving the Flask app 'webapp' on a local server I get the error message:

Simulation failed. Failed to load shared library /var/folders/g7/1dz5jy3x71b935dx9b4rycl80000gn/T/tmpol7_qc4s/binaries/darwin64/Heater.dylib. dlopen(/var/folders/g7/1dz5jy3x71b935dx9b4rycl80000gn/T/tmpol7_qc4s/binaries/darwin64/Heater.dylib, 6): Symbol not found: ____chkstk_darwin Referenced from: /var/folders/g7/1dz5jy3x71b935dx9b4rycl80000gn/T/tmpol7_qc4s/binaries/darwin64/Heater.dylib (which was built for Mac OS X 11.0) Expected in: /usr/lib/libSystem.B.dylib in /var/folders/g7/1dz5jy3x71b935dx9b4rycl80000gn/T/tmpol7_qc4s/binaries/darwin64/Heater.dylib

I have activated the environment conda activate fmi-tutorial and am using Python 3.9.7 on MacOS.
The app load fails and therefore can't proceed to simulate. Any idea what is going on or what I'm missing? Thanks in advance.

Can you try to re-compile the FMU on your machine (requires Xcode Command Line Tools) with
fmpy compile Heater.fmu

Now it works, thanks!


Enable support to select custom search engines & add them to thorium.

Is your feature request related to a problem? Please describe.
with linux version i have been unable to select my prefered search engine. its not in the default list, and i am not able to add it manually.
The default list doesnt contain a lot of privacy respecting search engine choices except duckduckgo. while that is ok, its not the best.
Describe the solution you'd like, including relevant patches or source
I would like to see support to add our own choices of search engines. or at least have a larger more complete lists of available search engines, including some of the not so mainstream choices, like startpage.
Additional Notes
would also like to see them potential enable disable, rather than delete permanently as well so they can be reinstated with out a reinstall.

Adding a custom search engine is already possible in Chrom* based browsers.
Your search engine is your friend on how to do it.

I'm aware this is a dated thread, but on Windows release name "M119.0.6045.214", I ran into the same, or similar issue.
Attempting to add a custom search engine site via "Add" button, I was unable to set the site as the default search engine due to the option being greyed out in the drop-down menu for all entries.
However, there is a way around this. Extensions. If the Chrome Web Store has an extension for the search engine you wish to add and use by default, it is possible to use said extension for this purpose.
The example presented, Startpage, is one such search engine.
The issue presented appears to be more of a user friendliness, or interface issue. Keep in mind that this is coming from the user end, and this information is presented without knowledge of where the files are on the system that store the search engine information.
Hope this helps. Happy browsing.


Don't wait for all unit tests to complete before running integration tests.

This might shave a couple of minutes off of the travis runs to start CLI integration tests immediately after CLI unit tests complete instead of waiting for all package unit tests to complete.

This seems reasonable, but I want to first get tests passing consistently before optimizing further.


[IMPROVEMENT] Ability to display distant image

Is it possible to display a PNG on a distant server ?
Didin't succeed in doing this, opened a thread  : http://forums.getpebble.com/discussion/17903/pebble-js-display-image-from-distant-server
Tried several ways, without success

It would be nice, maybe, to be able to use data-url images as well.

data-url is an interesting idea, I'll keep that in mind.
There was some progress on this ticket with e1ace40bc57e2427475ccd7e2ec5779c726cfdcf. That merge allows images larger than 2K to load. I may improve this to have a progress bar since it's not exactly the best user experience. It's also still lacking an onload callback for knowing when the image is done loading.
Be sure to add the suffix #width:144 when loading remote images that are not resized for the pebble as noted in the forum post. Using a smaller width is even better. When this ticket is fully implemented I'll be sure to update the documentation on that.

Ok I'll do a test to display my home connected camera on my Pebble.
First, I prepared image for Pebble with GD and PHP :
if ($this->isPebble) {
	header("Content-type: image/png");
	$size = getimagesizefromstring($img);
	imagefilter($image, IMG_FILTER_GRAYSCALE);
	imagefilter($image, IMG_FILTER_CONTRAST, -255);
	$width = $size[0];
	$height = $size[1];
	$coeff = ((144*100)/$width)/100;
	$newWidth = $width*$coeff;
	$newHeight = $height*$coeff;
	$resizeImage = @imagecreatetruecolor(intval($newWidth), intval($newHeight));
	imagecopyresized($resizeImage, $image, 0, 0, 0, 0, $newWidth, $newHeight, $width, $height);
	ob_start ();
	 	imagepng ($resizeImage);
		$img = ob_get_contents ();
	ob_end_clean ();
}

This will resize picture and transform image to greyscale.
Then I used code you described above :
var camUrl = baseUrl + 'method=getCamera&pebble=true#width:144';
if (camImage != null) {
	cameraContainer.remove(camImage);
}

console.log(camUrl);
var camImage = new UI.Image({
	position: new Vector2(0, 0),
	size: new Vector2(144, 168),
	image: camUrl
});

console.log('Adding image !');
cameraContainer.add(camImage);
cameraContainer.show();

And it works great !
Anyway, the watchapp crashes sometimes after displaying image.
Thanks for the work !

That's great to hear, and you're welcome! It actually has dithering built in too. It's much more impressive with that turned on. Use #width:144,dither to both set the width and turn on dithering.
Ah, it must be running out of memory somehow. Thanks for reporting the crash. It already flushes the resource cache when changing windows. Perhaps I should also add reference counting to flush particular images in a long standing window. I'll look into this further.
For anyone else fiddling, it currently only supports PNG's using the wonderful library at https://github.com/devongovett/png.js/. I'll be adding JPEG and GIF support after all the kinks in remote loading are ironed out.

I managed the image removal with an event, and the app crash less often.
cameraContainer.on('hide', function(e) {
	 console.log('Removing camera image');
	camImage.remove();
});

For me the issue can be closed. Thank you it works like a charm.


Make LoopBundle a static inner class of LoopPipe

Currently, LoopBundle is a non-static inner class of LoopPipe. So every instance of LoopBundle is tied to a parent instance of LoopPipe.
Scala also sees the type LoopBundle as being part of an instance of LoopPipe. In GremlinScalaPipeline, the loop() method needs an argument of type LoopBundle => Boolean for the while function. However I can't use the type LoopBundle unless it is a static inner class of LoopPipe.
I think just making LoopBundle a static inner class will resolve this issue:
public static class LoopBundle<T> {

It doesn't look like LoopBundle accesses any fields of LoopPipe, so this change should not cause any issues.

Done and deployed to TinkerPop Maven2.

Done.


Add dependencies to setup.py

The code requires madmom, mido, and music21 (among other packages).
These dependencies should be stated in the pypi package.

Added to setup.py and requirements.txt


Add Creating Gibwork Task

The feature to create tasks on Gibwork has been added..
This pull request was created for https://app.gib.work/bounties/6963c538-dc0b-4a3c-9cd5-0a18c0b20d9e in an attempt to solve a bounty #48 . Payment for the bounty is immediately sent to the contributor after merge.

where is the agent signing the transaction?

where is the agent signing the transaction?

Hi @thearyanag , the tool operates by making requests to a REST API. Therefore, it does not involve signing transactions.


SeqCVT release

Really nice contribution. CVTNet has already performed very well while querying places. So I want to further evaluate the more advanced SeqCVT. May I know when the SeqCVT will be released?

Hi @liurob2000 , SeqCVT is a simple extension of CVTNet using the codebase of SeqOT. You can first refer to SeqOT to find the multi-frame fusion strategy. The release of SeqCVT is coming, and your patience is appreciated.


Upgrade to image-spec v1.1.0-rc6

image-spec v1.1.0-rc6 (alias: v1.1.0-rc.6) has just been released.
No specific changes related to oras-go.

Closed #681


mini.files reopens deleted buffers as unlisted buffers

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.files
Description
Using the plugin together with mini.tabline and mini.bufremove, all installed and loaded using lazy.nvim package manager.
Closing a buffer using MiniBufremove.delete() or :bd either from a key mapping or direction execution from the command line, then reopening said buffer using mini.files results in the buffer not being registered as a listed buffer. Unsure if this is intended behavior or not. The buffer is displayed fine in the current window as the active buffer.
The main annoyance that occurs is with the tabline. The tabline displays incorrectly for the current buffer, as it continues to label it with the previous buffer (now "covered" by the new reopened buffer), despite showing the contents of the new reopened buffer. If the behavior is intended, will highly appreciate it if a solution can be shared for smoother integration ㅠㅠ.
Neovim version
NVIM v0.9.1
Steps to reproduce

Install mini.files, mini.tabline, and mini.bufremove, unconfigured.
Open multiple buffers.
Close a buffer, using :bd or :lua MiniBufremove.delete().
Open the closed buffer using mini.files.

Expected behavior

Actual behavior

Thanks for taking time to create this!
Yes, this is an intended behavior. Opening a file first tries to look for an existing buffer for the target path. In case of both MiniBufremove.bdelete() and :bdelete, the file isn't actually deleted (it is removed from buffer list and some data related to it is cleared, see :h :bdelete), so it is reused by 'mini.files'. To verify that it is actually present after :bd, execute :buffers! instead of :buffers: that buffer should have u flag next to it meaning it is "unlisted". It is not made "listed" again solely because I can see people actually preferring for file explorer to not update existing buffers when not asked to.
To actually delete a buffer, use MiniBufremove.wipeout() or :bw.
Closing as this is by design.

I think this behaviour is not quite ideal: When using gopls (and possibly other LSPs) it has any buffer in the workspace with diagnostics open as an unlisted buffer. I can not properly open those and afaict there is no way to instruct mini.files to list them. I end up running :e every time.
I'd like to request an option to list previously unlisted buffers when opening from mini.files. I'm also open to work on this myself if you concur about the inclusion in principle but don't want to spend the time on it :)

I think this behaviour is not quite ideal: When using gopls (and possibly other LSPs) it has any buffer in the workspace with diagnostics open as an unlisted buffer. I can not properly open those and afaict there is no way to instruct mini.files to list them. I end up running :e every time.
I'd like to request an option to list previously unlisted buffers when opening from mini.files. I'm also open to work on this myself if you concur about the inclusion in principle but don't want to spend the time on it :)

This definitely won't be an extra plugin option. Maybe as an extra ensure_listed_file for MiniFiles.go_in(), though.
In the meantime, this effect is possible to achieve for 99% of cases with this approach:
local go_in_with_edit = function()
  local fs_entry = MiniFiles.get_fs_entry()
  if fs_entry.fs_type ~= 'file' then return MiniFiles.go_in() end
  vim.fn.win_execute(MiniFiles.get_target_window(), 'edit ' .. vim.fn.fnameescape(fs_entry.path))
end

vim.api.nvim_create_autocmd('User', {
  pattern = 'MiniFilesBufferCreate',
  callback = function(data)
    vim.keymap.set('n', 'l', go_in_with_edit, { buffer = data.buf, desc = 'Go in with edit' })
  end,
})

As a matter of fact, I'll reopen this to indeed consider a possibility of adding opts.ensure_listed option to MiniFiles.go_in().

Thanks for the quick feedback 🥇 I quickly tried your snippet but could not get it to work yet, I'll figure it out tomorrow when I have more time 👍🏻

@debugloop, @dlwhj, having heard about 'gopls' case I've updated go_in to reuse buffer only if it is listed. Otherwise, it uses :edit and makes it listed again. Thanks for bringing this up!


TS2584: Cannot find name 'console'. Do you need to change your target library?

After Valve updated the javascript engine I got multiple errors regarding eval ... Function(...).
Updated my package to match yours and removed the plugin from webpack.dev.
Now i recieve:
ERROR in content/panorama/src/utils/x-nettable-dispatcher.ts:110:9
TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
108 |         }
109 |     } catch (error) {

110 |         console.log(x_net_table dispatch error: ${table_name} -> ${key} -> ${content});
|         ^^^^^^^
111 |     }
112 | }
113 |

Seems like the original panorama polyfill is missing?

please try to restar your editor and try again if you are sure you upgrade panorama-polyfill to "@demon673/panorama-polyfill" correctly

please try to restart your editor and try again if you are sure you upgrade panorama-polyfill to "@demon673/panorama-polyfill" correctly

I fixed it by importing:
import '@demon673/panorama-polyfill/lib/console';
instead of just panorama-polyfill/lib/console
thanks for answering :)


Can't serve firebase-functions locally

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>run firebase serve --only functions
output:
i  functions: Preparing to emulate functions.
Warning: You're using Node.js v8.1.3 but Google Cloud Functions only supports v6.11.5.
⚠  functions: Failed to emulate helloWorld

while if i switch to<EMAIL_ADDRESS>⚠  functions: Cannot start emulator. Error: Cannot find module '/usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary/node-v48-darwin-x64-unknown/grpc_node.node'

when i go to /usr/local/lib/node_modules/firebase-tools/node_modules/grpc/src/node/extension_binary i only got node-v57-darwin-x64-unknown instead of node-v48-darwin-x64-unknown

I have a very similar issue, get error message:
Node.js v6.11.x or greater is required to run the Emulator! ⚠  functions: Failed to load functions source code. Ensure that you have the latest SDK by running npm i --save firebase-functions inside the functions directory. ⚠  functions: Error from emulator. Error: Emulator crashed! Check the log file...
Running node 6.11.1 via nvm. The log file does not add anything. I have also run the command suggested above and tried all suggestions on the page: https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/Troubleshooting
"dependencies": {     "azure": "^2.2.1-preview",     "firebase-admin": "~5.4.0",     "firebase-functions": "^0.7.4",     "request": "^2.83.0",     "request-promise": "^4.2.2",     "secure-compare": "^3.0.1",     "web3": "^1.0.0-beta.24"   },
I am able to deploy the functions fine and they work? This is really frustrating, Thanks.

Okay so what finally worked for me is going into this dir: ~/.config/configstore/ and then deleting everything to do with @google-cloud and firestore*.json. Then I went back into the console and did a firebase login, I think what's happening is the token is expiring and it's not refreshing it our your user it getting dropped, something in that universe. Very annoying.

Okay so just another note, I am able to repeat the cause and fix here. So in my case I am trying to debug the functions in VS Code, so I followed this guide:
https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/Debugging-with-Visual-Studio-Code
When I run functions start and then functions deploy api in my case I get an error:
ERROR: Function load error: Code could not be loaded.
ERROR: Does the file exists? Is there a syntax error in your code?
ERROR: Detailed stack trace: module.js:471
    throw err;
    ^

And then if I then try to run:
firebase serve --only functions
I get:
i  functions: Preparing to emulate functions.
⚠  functions: Failed to emulate api

And at this point I go into ~/.config/configstore/ and delete the @google-cloud folder and firestore json file, then drop back into the console and run:
firebase login (go through the login process) and then finally firebase use project-name and then firebase serve --only functions  works fine again.
Hope this helps someone and I hope this gets fixed, I would really like to use VSCode to debug this stuff. Thanks!

Thanks @shaunc869 -- fixed my issue.

@shaunc869 I knew it was related to my installation of @google-cloud/functions-emulator Thankyou!

I deleted ~/.config/configstore/@google-cloud and that fixed it for me. I didn't have to login or use.

What is Windows 10 equivalent folder path to ~/.config/configstore/@google-cloud?

@paritosh149  c:\users<your username.config\configstore@google-cloud
Anyway, in my case deleting this folder did not resolve the problem

I just discovered the --debug options, than I run firebase deploy --only functiotions -debug and I got this
[2018-06-16T09:06:49.437Z] Parsing function triggers
[2018-06-16T09:06:50.197Z] Error while deploying to emulator: RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= -2147483648 and <=<PHONE_NUMBER>. Received<PHONE_NUMBER>
RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= -2147483648 and <=<PHONE_NUMBER>. Received<PHONE_NUMBER>
    at checkInt (internal/buffer.js:35:11)
    at writeU_Int32LE (internal/buffer.js:515:3)
    at Buffer.writeInt32LE (internal/buffer.js:684:10)
    at Object.entryHeaderToBinary (C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\adm-zip\headers\entryHeader.js:216:18)
    at Object.packHeader (C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\adm-zip\zipEntry.js:260:39)
    at C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\adm-zip\zipFile.js:198:41
    at Array.forEach (<anonymous>)
    at Object.compressToBuffer (C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\adm-zip\zipFile.js:182:23)
    at Object.writeZip (C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\adm-zip\adm-zip.js:454:
```32)
    at client.generateUploadUrl.then.then (C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\node_modules\@google-cloud\functions-emulator\src\cli\controller.js:168:13)
!  functions: Failed to emulate refresh

I tried to update cli tools,

npm install -g firebase-tools
C:\Users\mirko\AppData\Roaming\npm\firebase -> C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase

<EMAIL_ADDRESS>added 1 package, removed 1 package and updated 5 packages in 81.135s

Then the situation is more wrong than before

$ firebase deploy --only functions
internal/modules/cjs/loader.js:596
throw err;
^
Error: Cannot find module 'update-notifier'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (C:\Users\mirko\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase:5:22)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)

Why firebase cli make us much trouble always?

Try AWS too.

@alexlouden : I'll try. If works, I'll try to open a PR into the related repo

I had the same problem for a different reason than the one mentionned above.
In my case, I had a console running firebase serve, and trying to run firebase funstions:shell in another one failed.
Killing the process of firebase serve and running firebase funstions:shell is what I needed.

@jberube : sorry, I don't understand.
"I did try the workaround in #173 (comment) before, so it may or may not have changed something."
You have already tried this workaround. But have you still the problem or is it fixed? "May or may not" ...  is confusing me ...

@google-admin : please, trash this dependency ! it's still using
  "engines": {
    "node": ">=0.3.0"
  }

Had same error. It appears that it was happening for me because I had another functions process running. After closing it I could run the other functions process fine

I still have this issue locally, deploying to firebase cloud works fine(remote).
Re-installed node 6.11.5, restarted function process had no effect.
deleting google-cloud had no effect.   (c:\users<your username.config\configstore@google-cloud)
i  functions: Preparing to emulate functions.
ERROR: Function load error: Code could not be loaded.
ERROR: Does the file exists? Is there a syntax error in your code?
ERROR: Detailed stack trace: module.js:471
    throw err;
    ^

What is causing this issue? Any suggestions, advises ? Thanks.

I think after a day struggle it magically started working. I am not sure what really helped, I believe it is mostly related to reinstalling firebase functions and node versions.
I still have some minor issues like port locked.
error: restPort (5002) is already in use
error: SUPERVISOR error Error: listen EADDRINUSE <IP_ADDRESS>:5001
    at Object.exports._errnoException (util.js:1020:11)
    at exports._exceptionWithHostPort (util.js:1043:20)
    at Server._listen2 (net.js:1262:14)
    at listen (net.js:1298:10)
    at net.js:1408:9
    at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10)
error: supervisorPort (5001) is already in use

@prakis look for other processes using the same ports (5001, 5002).
I had this error in another context in the past because my console emulator would close but the node process was still running.

Thats right @jberube, the previous node process is still running in the background and locking those ports.
Thank you.

Node 6.11.5 is the only version which is working for me. Strangely other firebase project works fine with  latest node version.

I tried many ways. The only one that worked was switching to node version 6.11.5
$ nvm use 6.11.5
Now using node v6.11.5 (npm v3.10.10)
$ nvm alias defalt 6.11.5
defalt -> 6.11.5 (-> v6.11.5)
$ node --version
v6.11.5
$ npm run shell

functions@ shell /opt/dev/angular-firebase-projects/cloud-functions/cloud-functions-master-course/functions
npm run build && firebase experimental:functions:shell

functions@ build /opt/dev/angular-firebase-projects/cloud-functions/cloud-functions-master-course/functions
tsc

i  functions: Preparing to emulate functions.
✔  functions: createUserRecord
info: Worker for createUserRecord closed due to file changes.
✔  functions: basicHttp
info: Worker for basicHttp closed due to file changes.
✔  functions: api
firebase >

For anyone encountering this issue (including future me):
Error:
Waiting for operation to finish...done.
Deploying function.........failed.
ERROR: Function worker crashed with exit code: 1
undefinedWarning, estimating Firebase Config based on GCLOUD_PROJECT. Initializing firebase-admin may failfs.js:1384
    throw error;
    ^

Solution

functions stop
firebase login
firebase use PROJECT_ID
firebase serve --only functions

Now functions should work, as somehow this refreshes the authentication... I think

functions config set projectId PROJECT_ID
functions deploy

when this inevitably happens again, I'll update this comment.

use sudo before serve !

I deleted the files inside of  ~/.config/configstore/@google-cloud/functions-emulator (careful finding that directory because of the @ symbol) and then ran it again and everything worked fine


FireSquid Ingest: Crashes on failed extrinsics

Hi,
I'm running the newest FireSquid archive and batch processor for Rococo-contracts and noticed that the processor crashes when it tries to process a failed extrinsic.
This is the error that I'm getting:
10:43:53 FATAL sqd:processor AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

                               (0, assert_1.default)(val != null, msg)

                                 at assertNotNull (/home/xueying/dev/squid-ink/node_modules/@subsquid/util-internal/lib/misc.js:18:26)
                                 at tryMapGatewayBlock (/home/xueying/dev/squid-ink/node_modules/@subsquid/substrate-processor/lib/ingest.js:292:64)
                                 at mapGatewayBlock (/home/xueying/dev/squid-ink/node_modules/@subsquid/substrate-processor/lib/ingest.js:227:16)
                                 at Array.map (<anonymous>)
                                 at /home/xueying/dev/squid-ink/node_modules/@subsquid/substrate-processor/lib/ingest.js:60:45
                                 at processTicksAndRejections (node:internal/process/task_queues:96:5)
                             err:
                               generatedMessage: true
                               code: ERR_ASSERTION
                               actual: false
                               expected: true
                               operator: ==
                               blockHeight: 47346
                               blockHash: 0xa0902b864029f88d5f379a34654c2ad370c4ad8986fc52153b1fe08f802eef0c
                               batchRange:
                                 from: 0
                               archiveHeight: 477419
                               archiveQuery: query {
                                               status {
                                                 head
                                               }
                                               batch(fromBlock: 0, toBlock: 477419, limit: 500, includeAllBlocks: false, events: [{name: "System.NewAccount"}, {name: "Balances.Reserved"}, {name: "Balances.Transfer"}, {name: "Balances.Withdraw"}, {name: "Contracts.CodeStored"}, {name: "Contracts.ContractCodeUpdated"}, {name: "Balances.Endowed"}, {name: "Contracts.Instantiated"}, {name: "Contracts.ContractEmitted"}], calls: [{name: "Contracts.call"}]) {
                                                 header {
                                                   id
                                                   height
                                                   hash
                                                   parentHash
                                                   timestamp
                                                   specId
                                                 }
                                                 events
                                                 calls
                                                 extrinsics
                                               }
                                             }

                               batchBlocksFetched: 500

When I query my archive API, I see that at the erroneous block there is a failed extrinsic and no calls but the extrinsic does contain a callId:
  "batch": [
    {
      "header": {
        "id": "0000047346-a0902",
        "height": 47346,
        "hash": "0xa0902b864029f88d5f379a34654c2ad370c4ad8986fc52153b1fe08f802eef0c",
        "parentHash": "0x77370cc8389791254c41c9ef9c4b81f57003e9bc697fdb94dfd6d36dfd95570b",
        "timestamp": "2022-03-31T13:39:48.087+00:00",
        "specId": "canvas-kusama@16"
      },
      "calls": [],
      "extrinsics": [
        {
          "callId": "0000047346-000002-a0902",
          "error": {
            "__kind": "BadOrigin"
          },
          "fee": null,
          "hash": "0x6a0cac5df13038fc5bf2f36cc71ca62d4be54bb94325008e7898b34db5cd8532",
          "id": "0000047346-000002-a0902",
          "indexInBlock": 2,
          "pos": 10,
          "signature": {
            "address": {
              "__kind": "Id",
              "value": "0x2681a28014e7d3a5bfb32a003b3571f53c408acbc28d351d6bf58f5028c4ef14"
            },
            "signature": {
              "__kind": "Sr25519",
              "value": "0xba4d4de7ed277881786dfefb9275bd05aee8be4f626e115ea181ec41bab6ab6dfcb63318ed6d1c4685decc846f76476ba09f1cab84cda07b5e001a2813ffb682"
            },
            "signedExtensions": {
              "ChargeTransactionPayment": 0,
              "CheckMortality": {
                "__kind": "Mortal228",
                "value": 0
              },
              "CheckNonce": 0
            }
          },
          "success": false,
          "tip": "0",
          "version": 4
        }
      ]
    }

This is causing the processor to crash since in tryMapGatewayBlock of ingest.ts (lines 357-362) the processor is asserting that call is not null if callId exists. I imagine that the archive should be setting the callId to null in case of failed extrinsics?
I also encountered the same issue in Shibuya at block 1010459 using the Shibuya archive endpoint, https://shibuya.archive.subsquid.io/graphql

@tmcgroul

@XY-Wang sorry for the inconveniences. Will fix today

@XY-Wang fix is available in subsquid/substrate-gateway:1.2.0
i also updated https://shibuya.archive.subsquid.io/graphql so you can check correctness


Enh/uv pyproject

Changes

adopt uv as a python manager (remove pipenv)
update pyproject.toml (remove setup.{py,cgf} and manifest)
adopt setuptools-scm (remove versioneer)
new release wf: https://github.com/googleapis/release-please-action?tab=readme-ov-file#how-should-i-write-my-commits

python 3.13 is going to be supported soon by llvmlite, see https://github.com/numba/llvmlite/issues/1084


add framework boilerplate starter kit: adonisjs

i made boilerplate framework starter kit in adonisjs. please review it.

That's nice! Thank you for your contribution.


Plugin is not working with Jellyfin <IP_ADDRESS> :(

Hi
Plugin is not working with Jellyfin <IP_ADDRESS> :(
Could you please fix that?
Thank you

Hello, please fix your great plugin for jellyfin 10.9. Thank you!

+1

Thank you for notifying me. I'll look into this during the upcoming days.

Thank you for notifying me. I'll look into this during the upcoming days.

I'm very happy to hear that!

Hello
On Qnap Jellyfin 10.9.0 the plugin also has the NotSupported status.
Thanks for your work.

I am also waiting for the update and thank you very much for your work and support

Your plugin is great !!! Waiting for an update :)

Love the Plugin! Also would love to see in working on 10.9.0. 👍

I'm also waiting for updates for jellyfin 10.9.6, thank you very much

Version <IP_ADDRESS> is now available, compatible with Jellyfin 10.9. You can download it from the catalog in your jellyfin admin panel by adding this repository: https://raw.githubusercontent.com/knackebrot/jellyfin-repo/master/manifest.json or from Releases https://github.com/knackebrot/jellyfin-plugin-enigma2/releases

Thanks a Lot, Mr. Wasa ;-). It works fine.

Thank you
The plugin works on my Qnap


Error when unit testing component

I get the following error when unit testing a component that uses I18n:
node_modules/react-native-i18n/index.js:7
I18n.locale = RNI18n.locale.replace(/_/, '-');
^
TypeError: Cannot read property 'locale' of undefined
Is there a way to set a locale before unit testing.
Thanks!

Until this bug is fixed you can mock this dependency
// in mocha.opts: --require ./test/support/common
// common.js

import mockery from 'mockery';

mockery.enable();
mockery.warnOnUnregistered(false);

mockery.registerMock('react-native-i18n', {
  t: k => k,
});

#27 should have fixed that, let me know

Indeed #27 should fix. Is a new release planned in few days ?

@chris-verclytte
Just pushed a new beta release.
I tagged it as beta because it has been a long time since the last release and I would like to test it a bit.
Let me know if it works correctly for you! (It seems to run fine for me)

Super ! Thank you, I will give it a try and keep you updated.

@chris-verclytte 👍


Interrupt code execution gracefully

Interrupting code like
while True:
    pass

produces an undefined traceback in the output area

in the version integrated in Dodona. Never saw this behaviour in the standalone version.

I'm pretty sure this is linked to SharedArrayBuffers no longer being available and the code in question not using comsync-functionality. This means that the interrupt kills the worker, which is more costly. I'll look into handing this case in a better way.


Increase VALUE_EQUAL_COUNT_MAX to prevent false positive stale data errors

Current approach to stale data detection rests on the assumption that at least one dimension of the monitored sensor feed will contain enough noise to periodically reset the stale data counter. We (+ @PierricG) found out that this assumption does not hold for sensors that produce measurements with minimal resolution that is enough to convey the data with adequate precision, but not enough to accommodate sufficient noise.
An example of such a sensor would be a UAVCAN connected magnetometer, where the magnetic field strength measurements are carried in a three dimensional vector of float16. It can be seen that while epsilon of float16 is low enough to provide sufficient resolution (0.001), a sufficiently low noise stationary sensor will be susceptible to reporting exactly the same values for periods of time that are long enough to trigger the stale data detector. Obviously, this issue should never manifest in flight, since no platform can be that stable, but it does cause problems while the UAV is stationary, e.g. in the lab.
Fundamentally I see two solutions to this problem, neither of which are ideal:

Increase the stale data detection threshold. This solution is implemented in this PR. We were unable to trigger stale data errors with this setting, so it does solve the problem, at the cost of increased detection latency. Using 100 Hz three dimensional sensor feed as a reference, the stale data detection latency provided by the old setting is 100 Hz / 100 samples / 3 dimensions = 0.3 s; the new setting raises the latency tenfold.

The other possible solution is to introduce dithering to the sensor feed in the driver, if it is known ahead of time that said driver will have stale data issues. Not only this solution is masking the real problem instead of solving it, it actually defeats the purpose of the stale data check, so I am against it.

Hopefully this change will be merged and included into PX4 v2.0 release, at least as a temporary fix, if better solution exists.

For reference, this is how magnetometer data reported via UAVCAN looks like:

Legend: 0 - x, 1 - y, 2 - z; X axis - seconds, Y axis - Gauss.
Between 21..27s and past 81s the UAV is held stationary.

I think the approach is generally fine but this shotgun fix actually also shoots down bad gyros and accels. What we need instead is to turn the stale data counter into a runtime-configurable entity. I will do separate PRs to do this properly.


i have one problem from launch this is player pls help me

i need help

index.ts:13 Uncaught (in promise) SyntaxError: The requested module '/node_modules/dashjs/dist/dash.all.debug.js?v=1f7fe811' does not provide an export named 'default'

I have the same :(


HTTPSConnectionPool port 443 conduct to Read timed out - response time from the server is too low?

Describe the bug
Some websites are seen as down by wafw00f, but this websites are up.
To Reproduce
wafw00f https://www.tesla.com
RESULT IN:
[*] Checking https://www.tesla.com
ERROR:wafw00f:Something went wrong HTTPSConnectionPool(host='www.tesla.com', port=443): Read timed out. (read timeout=7)
ERROR:wafw00f:Site www.tesla.com appears to be down
Expected behavior
tesla.com is not down, but wafw00f see it is down.
Desktop (please complete the following information):

OS: 22.04.3 LTS
Python version: Python 3.10.12

Debug output
wafw00f https://www.tesla.com -vv
[*] Checking https://www.tesla.com
INFO:wafw00f:starting wafw00f on https://www.tesla.com
ERROR:wafw00f:Something went wrong HTTPSConnectionPool(host='www.tesla.com', port=443): Read timed out. (read timeout=7)
ERROR:wafw00f:Site www.tesla.com appears to be down

Additional context
I think wafw00f needs to be adapted to the new urllib3 changes. Does wafw00f have a PoolManager? Maybe PoolManager will automatically handle HTTPSConnectionPool objects and these kind of errors will be a thing of the past.

hmm, I think this particular case is weird, I cannot even make a query with curl -- it times out. no matter what i do, user-agents / cookies, etc, I cannot connect to the host. feel free to reopen, if you do find a workaround.


Deluge not processing files?

I'm running the script on a Windows 7 machine, with Sonarr and CP, using Deluge as a download client. I've set up the scripts on all the platforms, but I seem to be having an issue with Deluge. When a torrent completes, it will write the 1st 3 lines to the log, but then nothing will happen. I'm using delugePostProcess.bat since I'm on Windows.

I've observed this so far with Sonarr torrents only, although to be fair, I've yet to process a CP file through the script since setting it up. Manual.py works great however.

I'm experiencing this exact issue with delugepostprocess.bat on Windows, also with Sonarr. It's working great via SABNzbd, but I'm getting those exact same lines in the log when a download is completed via Deluge, any ideas?

Set your logging level to debug in logging.ini and see if any additional information pops up

Got it, looks like my deluge settings didn't like my host set to either localhost or <IP_ADDRESS>; setting it to <IP_ADDRESS> got it to connect though. Cheers!


Trajectory predict wrong

Hello, thanks for the open source code.
As shown in below picture, the targets moves as the thin red and blue line. While the predicted trajectories are not along with the motion trajectory, but perpendicular to the motion direction.  The target_lib_name is target2d_2s.

Thank you for having an interest in this repo!
My suggestion is: you'd better check the observations of the targets which are published in the topic of observation_keyframe .
I think the horizon used for gathering observation is too short, leading to bad prediction.

Thanks for your reply.

The observations of the targets  seems good. And I use horizon to 5s,  the prediction is still not so reasonable.

Are you providing reasonable tf for targets? especially for direction :)

Oh!! Thanks for your kind remind. It's really the problem of the direction of the targets. Wonderful!

Awesome! Please recommend my code to your colleagues if it helped you!
Have a nice day :)

No problem. It's my pleasure to share such a perfect project.


Deployment of field-campaigner in development mode

While setting up field-campaigner on my system, I faced the following issues :
Docker
run commands
 make build
make run
are for the production mode.
I think it should be specified here that for running in development mode, one should run
make  build-dev
make run-dev
Manual
It should be mentioned that the app is built in python3 and should use pip3 instead of pip(incase python2 is set as default in the user's system)
and, to deploy the app in development mode run:
pip3 install -r requirements-dev.txt
and uncomment the line
# -r requirements.txt here
Doing this worked for me.
@meomancer @smit1678 what do you think about it?

@Dragneel7 Yeah I've run into this as well. I created a docker-compose-local.yml file that has the env variables pre-filled and used that instead of the Make file. I think if we can clean up the makefile and offer some additional instructions as you say, that'd be great.

Sure thing we can discuss upon that.


project templates for init phase

Description
hi. i think the init.ts file needs to be refactored. we can use template projects instead of doing it imperatively. i think with the new features it will be harder to maintain the init script.
Proposed Soluton

creating a template project in root directory(without any plugin etc.)
adding needed parts to the template

Additional Info
I would like to move this task forward if we aggree on this.

We have a fresh template and library template we use in our cli.
npx fathym dev deno scaffold
Under the hood we use two deno scripts to power that.
https://github.com/fathym/create-deno-fresh-project
https://github.com/fathym/create-deno-module-project
Only throwing it out there as I agree with the templating approach, and thought I would share some of what we do.

I've researched some how we should approach here. I think we can store our templates like default, default-tw in templates directory. There are plenty ways to download the directory in a repository. We could get the template by using github api and providing template name. But this api gives us file content url and its name. At this case, we should send an http req to get the content and write.
Another way to download it, uploading zipped template in another provider service and download directly. Do you have some other suggestions to download template directory?


Fix code blocks and consolidate code style

This makes mdbook test fully pass. It also ensures that all Rust blocks have syntax highlighting.
The newline/indentation code block style seemed to be checked as Rust code, so I converted them all to txt blocks, but perhaps there's a neater way around this? (I'm not so familar with mdbook.)

The newline/indentation code block style seemed to be checked as Rust code, so I converted them all to txt blocks, but perhaps there's a neater way around this? (I'm not so familar with mdbook.)

Yeah, indented code blocks basically have to be rust.
It should be text not txt, I believe. At least, we use text everywhere else and consistency would be nice.

Oh, one other thing. Could you add mdbook test to the .travis.yml so that it runs on new PRs?

failures:
---- /tmp/mdbook.h0LEYrg5k6RT/traits-lowering-module.md - The_lowering_module_in_rustc::Unit_tests (line 29) stdout ----
error[E0554]: #![feature] may not be used on the stable release channel
--> /tmp/mdbook.h0LEYrg5k6RT/traits-lowering-module.md:30:1
|
2 | #![feature(rustc_attrs)]
| ^^^^^^^^^^^^^^^^^^^^^^^^

It looks like you are using nightly locally?

Yeah, just realised that. One moment!


How can i findViewById in Back and Front layout

I want control view between Back and Front layout , how can i do that ?

Done ! Solved


Hi guys

Youtube is not working for lost fm (omg it looks so awful), bandcamp works, Soundcloud, seem just youtube issue, I didn't see it posted so "post"
not sucking up when I  say you geeks are the best, maybe a little, I don't know if this has to do with change in format,, because spot uses youtube also - correct?
well this is a heads up that mini scrobbler works okay, but if you listen to unusal music as I tend to you have to write most of the tracks in - so thanks for the voodo you do :)

Bad time - eh............ (reading from below)
Issue, people are complaining like crazy, but won’t tell you peeps’ (might be the name-calling?), you get that error now, and every play “check status, check with the people who are?”  all green lights, all working?
Tampermonkey works, and it seems all else is working but one play is producing 3,4,5 scrobbles of same track at once (biggest complaint of users) the media player(s) are not tracking from iTunes, problems off and on with WMP --- but that has been an issue for a while and you don’t have anything to do with that – right?
So that is it folks - you tube videos no go and multi tracks per play I am not sure if that is an issue out the media players? people complain, but don't say what is being used or where from.
Thx~~ FAST! Spell Abracadabra ~~ poof

Duplicate of #698


Ensure scope separate block

free specific scopes for further transactions, hopefully a more correct approach than just watching the block height and clearing all scope ids upon an increase in height. This should prevent the same scope from having a contract run on it in different transactions in the same block, which can cause events to remain unprocessed, due to the scope.lastEvent being used to look up envelopes based on execution uuid

Carry over from slack for github records - we discussed adding a blockheight for when the scope was added to the batch. That way the event stream can iterate over the batch and log at the error level if any of the scopes have been in there for more than N blocks.

@scirner22 I added that in, we will error log a scope uuid (once) if it has been locked for > 10 blocks, let me know what you think

Codecov Report

Merging #76 (e2c9e0e) into main (f6674d6) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #76      +/-   ##
============================================
- Coverage     11.77%   11.67%   -0.11%
  Complexity       35       35
============================================
  Files            65       65
  Lines          3363     3392      +29
  Branches        358      359       +1
============================================
  Hits            396      396
- Misses         2911     2940      +29
  Partials         56       56

Impacted Files
Coverage Δ

...rovenance/engine/service/ChaincodeInvokeService.kt
0.00% <0.00%> (ø)

...venance/engine/service/TransactionStatusService.kt
0.00% <0.00%> (ø)

.../kotlin/io/provenance/engine/stream/ScopeStream.kt
0.00% <0.00%> (ø)

...provenance/engine/service/ProvenanceGrpcService.kt
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


WIP DO NOT MERGE: Statically linked Linux binaries

Now that we have the binary artifacts infrastructure set up in CI, I think it's worth opening this PR for @vaibhavsagar's work on static linux binaries.  Is there anything that still needs to be done on this @vaibhavsagar?

This works right now but we're hoping to upstream more of this up to nixpkgs so we can move away from using my personal fork of reflex-platform. If you'd like to get this merged ASAP I can point to a fork hosted on your GitHub account instead.

Have you seen this? https://github.com/NixOS/nixpkgs/issues/43795

Yes, did you notice it was based on a blog post I wrote :smile:?

This builds an example executable (originally from https://github.com/vaibhavsagar/experiments) with nix

https://github.com/nh2/static-haskell-nix

This work is based on https://github.com/NixOS/nixpkgs/pull/48803 though.

I'm closing this, can reopen later if work recommences

I was waiting for this to be reviewed :smile:

@vaibhavsagar Did the necessary stuff that you were talking about above get upstreamed to nixpkgs?  I think that's why I hadn't moved forward on this.

Most of it has, but I needed a couple of extra small changes, which is why I had my own forks of some of the dependencies.


url with Chinese query string return 400

use IE11,url with Chinese query string,return 400.

Mitmproxy version: 3.0.0 (release version)
Python version: 3.5.3
Platform: Windows-10-10.0.14393-SP0
SSL version: OpenSSL 1.1.0e 16 Feb 2017
Windows version: 10 10.0.14393 SP0 Multiprocessor Free
chrome+mitmdump is fine.
but use IE11+mitmdump is error.
use IE11 + burpsuite is fine.
mitmdump --listen-host <IP_ADDRESS> --listen-port 8080

Mitmproxy was no hint error, but query string lc_name was submitted to the charset difference.
return HTTP 400.
html charset is gb2312.
IE11 developer tools see url   http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=é��ç�¨ç�¥è¯�å��è�½å��
chrome developer tools see  url http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=ͨ��֪ʶ������

Thanks for the report.
For reference, here is what I believe is the original URL:
>>> x = "http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=茅莽莽猫氓猫氓"
>>> x.encode("gb2312")
b"http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=\xc3\xa9\xc3\xa7\xc3\xa7\xc3\xa8\xc3\xa5\xc3\xa8\xc3\xa5"

Unfortunately, there is no encoding provided and this would also be valid UTF-8:
>>> x.encode("gb2312").decode("utf8")
'http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=éççèåèå'

Whatsoever, looking at https://blogs.msdn.microsoft.com/ieinternals/2012/07/13/brain-dump-international-text/, we should probably just treat it as an opaque collection of bytes.

Non-IE repro for the original bug:
λ curl -x localhost:8080 -k 'http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=éççèåèå'

<IP_ADDRESS>:53226: HTTP protocol error in client request: Bad HTTP request line: b'GET http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=\xc3\xa9\xc3\xa7\xc3\xa7\xc3\xa8\xc3\xa5\xc3\xa8\xc3\xa5 HTTP/1.1'

thanks.
uncheck send utf-8 urls.
mitmproxy is same as the curl.
<IP_ADDRESS>:50800: HTTP protocol error in client request: Bad HTTP request line: b'GET http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=\xcd\xa8\xd3\xc3\xd6\xaa\xca\xb6\xba\xcd\xc4\xdc\xc1\xa6 HTTP/1.1'

Ok, the root cause is that we call urllib.parse.urlparse here, which raises a ValueError for the following:
>>> import urllib
>>> urllib.parse.urlparse(b'http://wlpx.tax-edu.net/jsp/portal/PortalControl?flag=selectCourse&lc_id=42825&lc_name=\xc3\xa9\xc3\xa7\xc3\xa7\xc3\xa8\xc3\xa5\xc3\xa8\xc3\xa5')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 87: ordinal not in range(128)

From https://docs.python.org/3/library/urllib.parse.html:

Applications that need to operate on potentially improperly quoted URLs that may contain non-ASCII data will need to do their own decoding from bytes to characters before invoking the URL parsing methods.

decoding from bytes  to characters.
How do you know what it is encoding charset?

Well, yes... that's problem - we simply don't know and there's no information provided.

can import chardet?

Can we workaround this by detecting non-ascii characters in url and then using urrlib.parse.quote to quote/escape the characters?


Adding snips-nlu-benchmark datasets

Proposed changes:

Adding example dataset for training. Taken and converted from https://github.com/snipsco/nlu-benchmark/tree/master/2017-06-custom-intent-engines. #561

The scripts used for converting to Rasa format are available at: https://github.com/aaldaber/snips_training_data_to_rasa
Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thanks @aaldaber for taking the time to create this! I think this is a valuable resource, but I don't think it should be part of this repo. I would propose that you create a separate repo to hold the data and the scripts, and we can create a link to it from the docs.

Hi @amn41 , I agree it makes sense to have this data in a separate repo. I uploaded it to https://github.com/aaldaber/snips_training_data_to_rasa.

perfect! I've made a note to add to the docs - please close this PR then :) thanks again!


Tronweb is not a constructor

Hi guys, I need some help.
I am trying to make a script using tron network and when I am importing the network for utilization I keep getting the error tronweb is not a constructor.
I am using 6.0.0 and this is what it looks like
const tronWeb = new TronWeb({
fullHost: 'https://api.trongrid.io',
privateKey: '', // Replace with your actual private key
please help me, ive tried uninstalling and re installing tron and clearing caches and everuthing

TronWeb has released v6.0.0 version which uses named import:
const { TronWeb } = require('tronweb');
or
import { TronWeb } from 'tronweb';

For more details, check out here


commons-io:commons-io:2.7 is Flagged in XRay Scan

Describe the bug

XRay scan is flagging commons-io:commons-io:2.7 as vulnerable to a divide-by-zero DoS attack.
Issue in com.ibm.cloud:sdk-core
To Reproduce

Expected behavior

No vulnerabilities in dependent libraries
Screenshots

Must gather (please complete the following information):

SDK Version: 0.7.0
Java Version: openjdk version "17.0.2" 2022-01-18
Name of service that you're trying to use (if applicable)
Name of operation that you're trying to invoke (if applicable)

Additional context

@snackerphi thanks for reporting this.  Given that you've opened a ticket in java-sdk-core, it's best to wait for an update in that repo and then we'll get the core dependabot PR here.
Also, we don't have an SDK version 17.0.2. I'm assuming you meant the latest version 0.7.0.

Oops... yes. I've corrected that.

@emlaver , just FYI, this has been fixed in java-sdk-core version 9.18.6.

https://github.com/IBM/cloudant-java-sdk/releases/tag/v0.7.1


cluster: err at unsupported op & log at no nodes

This adds error in generateJoinToken() when an unsupported node selector
term operator is passed. Also logs when the selected nodes list is empty in
operator logs and cluster object events.
Adds unit tests for ReconcileStorageOSCluster.generateJoinToken().
Operator logs:
2019/04/28 13:02:02 no compatible nodes available for deployment of cluster example-storageoscluster

Cluster event:
Events:
  Type     Reason          Age               From                       Message
  ----     ------          ----              ----                       -------
  Warning  ChangedStatus   20s               storageoscluster-operator  0/1 StorageOS nodes are functional
  Warning  FailedCreation  5s (x3 over 20s)  storageoscluster-operator  no compatible nodes available for deployment, check node selector options

Fixes #54

I see another issue there.
0/1 StorageOS nodes are functional

It should not be 1.

Better now
Events:
  Type     Reason          Age              From                       Message
  ----     ------          ----             ----                       -------
  Warning  FailedCreation  1s (x2 over 2s)  storageoscluster-operator  no compatible nodes available for deployment, check node selector term and pod toleration options
  Warning  ChangedStatus   1s               storageoscluster-operator  0/0 StorageOS nodes are functional


Add CLI and Runtime switch for filtering by address.

Added filter as a major command, in case filtering is desired (RSSI for example)

I talked to @AlanRosenthal in person and suggested passing an address value as a parameter to the scan command, instead of a startup command line flag.
The do_scan function is here: https://github.com/google/bumble/blob/main/apps/console.py#L367
When handling the scan on command, you could check if there's a params[1] and if it's an address.

+1 on setting the filter via the console commands rather than CLI parameters.
I would suggest using a syntax like address=<xyz> as a scan on/off argument rather than just a positional argument, so that if we want to add other filters/qualifiers later on (like filter by RSSI, or advertisement type, or PHY) we can do that in a non-ambiguous way.


Upgrade to PostgreSQL 11.x

Description
MOVE currently uses PostgreSQL 9.6, which is reaching end-of-life Nov 2021.  As part of ongoing maintenance, this task aims to upgrade to PostgreSQL 11.x.
Acceptance Criteria

[x] work with Tech Services to update PostgreSQL to 11.x in dev, QA;
[x] check Release Notes for any potential breaking changes;
[x] apply migration steps identified by above, if any;
[x] document migration steps in release process;
[x] work with Tech Services to update PostgreSQL to 11.x in prod.

Confirmed that dev, QA, and prod have all been upgraded to PostgreSQL 11, and that the psql clients in each environment have also been upgraded.


Package request: pinokio

Project description
The elevator pitch:
Pinokio is a browser that lets you install, run, and programmatically control ANY application, automatically.

But it's mostly used to install and run AI applications pretty easily, the creator made this video: https://youtu.be/mB_bZC8pMDA
Which is the same as on the homepage.
Metadata

homepage URL: https://pinokio.computer/
source URL: https://github.com/pinokiocomputer/pinokio
license: MIT
platforms: linux

Add a :+1: reaction to issues you find important.

I created a PR https://github.com/NixOS/nixpkgs/pull/323643 based on this packaging request.


User object instance from auth.getUser() does not have traits applied.

It appears that the user object returned from auth.getUser() is missing the traits applied with this.addTrait('...').

Actually, I think it is misbehaving mikield/adonis-user-policy package...

Actually, the issue was in my code, of course :D


Is a brel hub necessary on wifi motors?

Is a brel hub necessary on wifi motors?
This integration allows for directly controlling blinds that support wifi-connection
but I must enter a gateway ip for the configuration
is the way I use it wrong?

@sliverlin no a hub is not necessary on wifi motors.
Just put in the IP of the wifi motor in the field of the gateway ip.
(In case of a wifi motor the motor is the gateway).
Let me know if you have any other problems setting up the integration.
If you appreciate the motion blinds integration and want to support its development, please consider sponsering the upstream library.


generator: introduce support for "description" struct tag

Addresses https://github.com/go-swagger/go-swagger/issues/2541 : introduces support for --struct-tag description to the code generator.
Signed-off-by: Arne Redlich<EMAIL_ADDRESS>

Can you add a test that has a multiline comment

Sure, I added one (in an additional commit, please let me know if you prefer to have it squashed).


Don't use FillFlowContainer in VirtualisedListContainer

Relevant discussion
This pr greatly improves scrolling performance (and allocations) of the VirtualisedListContainer by removing overhead from FillFlowContainer and avoiding drawables copying when unnecessary.
osu-side change required
master: https://streamable.com/fvwg2o
pr: https://streamable.com/boqmrs
osu-master: https://streamable.com/pub39y
osu-pr: https://streamable.com/sb4zbg
map used: https://osu.ppy.sh/beatmapsets/1238185#mania/2574372

I will once again say that I feel uncomfortable with changes like this where I would hope the overhead of FFC isn't this large.
Where is the overhead coming from? Have you profiled it?

I will once again say that I feel uncomfortable with changes like this where I would hope the overhead of FFC isn't this large.
Where is the overhead coming from?  Probably could be avoided with some invalidation tricks, but approach in this pr looked simpler for me.


Add Code of Conduct to XRTpy

Creating a Code of Conduct for the XRTpy project. The Code of Conduct is adapted from the Contributor Covenant (https://www.contributor-covenant.org/) and is designed to foster a welcoming and inclusive community for all contributors and users of XRTpy.  Addresses and resolves the issues discussed in Issue #10  - Add a Code of Conduct. Furthermore, a step towards meeting the requirements to become a SunPy-affiliated package, as outlined in sunpy/sunpy.org issue #431.

pre-commit.ci autofix

Looks good to me. I'd say it's ready to merge


Closes: #1

Updated validation.py python script.
Fixed the behavior of vaildate_user function in validations.py
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


docs/supported_ops.md shows the same ops in all categories

https://github.com/tensorflow/tfjs-converter/blob/master/docs/supported_ops.md
shows the same ops in all categories

@pyu10055 can you fix this?

The doc is updated