Hi Nikhil, Having issue in loading the instagram feeds

Still the output is three boxes with empty images...... keep on loading
please help

Hi,
I'm experiencing the same issue.

HI,
Is there a fix yet. I'm having the same issue.

Just adding my voice to the pile here - web part never loads, not even your "test" Instagram!

Adding to this - weirdly my user in California can see the web part with no issue, but my users in Denver cannot. It's not tied to an ISP or a web filter or cellular provider or desktop vs. mobile, it seems to be entirely regional. I went ahead and disabled the SharePoint CDN, thinking this might help address this, but no effect after 1 day. I see this error in Denver (California does not):
Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at t.handleSuccess (instagram-feed-web-part_1d4b4dfd69d34d5f7608be9783eb873f.js:1)
at XMLHttpRequest.s.onload (instagram-feed-web-part_1d4b4dfd69d34d5f7608be9783eb873f.js:1)

I am seeing the same issue here in Texas any update.

I tried this today and it's not working. I confirmed with a coworker that this web part worked for a little while and then he saw it was broken today.

I'm also tried and it's now working.

I'm having the same problems as others have mentioned. It's blank.

This issue its related with CORS policy blocked by SharePoint

And there is also a closed issue with no solution or workarround.
Is this WebPart died or discontinued?

Would be great to get this issue fixed. Instagram web part is not working.
@thenikhilk Do you have any plans/suggestions?

The issue persist?, is there are work around for it?

The issue persist?, is there are work around for it?

Issue is still there...however I am getting is intermittently. Sometimes I can see instagram feeds, sometimes it just keep displaying blank tiles with loading mode. And yes its CORS issue when it doesnt work. But then how it works at times.

I have the same issue. How to solve it? I need Instagram web part to be in my page

Try the code below instead of the img tags, change it to iframes instead. If you check the dev for facebook and read about it it looks like you have to use it to get application id / tokens etc from instagram to be able to post information like before. But if you write the code with iframes like this it works for me. :)

          {/*  */}

          {/*  */}

`

Try the code below instead of the img tags, change it to iframes instead. If you check the dev for facebook and read about it it looks like you have to use it to get application id / tokens etc from instagram to be able to post information like before. But if you write the code with iframes like this it works for me. :)

          {/*  */}

          {/*  */}

`

@sansa91 forgive my ignorance, but this code needs to be changed in this project, or I can use a code snippet web part with this info? If the code needs to be changed...maybe we fork/copy this into a new project and let this abandoned one die?

Try the code below instead of the img tags, change it to iframes instead. If you check the dev for facebook and read about it it looks like you have to use it to get application id / tokens etc from instagram to be able to post information like before. But if you write the code with iframes like this it works for me. :)

          {/*  */}

          {/*  */}

`

@sansa91 forgive my ignorance, but this code needs to be changed in this project, or I can use a code snippet web part with this info? If the code needs to be changed...maybe we fork/copy this into a new project and let this abandoned one die?

@Nighthawk-Rider
This is just a simple quickfix that is pretty limited if a company want a cheap quick version of showing the instagram feed.
you should add a configuration in the propertypane to be able to limit the amount of posts because now it shows the last 12 posts in this manner.
You could make a new project on this webpart just for this since this way of posting an instagram feed does not work anymore, it is possible to use the ''embed webpart'' that is built-in within SharePoint to show ''1'' post aswell, but if we wan't to make this a good-looking webpart today we have to use the facebook developer portal or what you wan't to call it to collect an application ID and an instagram application ID :)

Hi All,
Is there a decent solution yet?
I was thinking about solving the CORS issue itself, and found following link:
https://tahoeninjas.blog/2019/02/05/getting-around-cors-issues-in-spfx-with-sphttpclient/
It says that when using an SpHttpRequest instead of using the link, the CORS issue should be solved.
Does anyone have any experience with this?
Is it worth trying?
Thx

Dear,
How can I change the code if I install only the .sppkg file?
Please tell me step by step.
Regards,

From: sansa91 @.>
Sent: Tuesday, June 1, 2021 11:46 AM
To: thenikhilk/sharepoint-instagram-feed @.>
Cc: Zahra234 @.>; Comment @.>
Subject: Re: [thenikhilk/sharepoint-instagram-feed] Hi Nikhil, Having issue in loading the instagram feeds (#6)
Try the code below instead of the img tags, change it to iframes instead. If you check the dev for facebook and read about it it looks like you have to use it to get application id / tokens etc from instagram to be able to post information like before. But if you write the code with iframes like this it works for me. :)

      {/*  */}

      {/*  */}

`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/thenikhilk/sharepoint-instagram-feed/issues/6#issuecomment-851948056, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHZA6AJMLXA4WWGYVMPK3YLTQSM43ANCNFSM4JSSKLDQ.

Dear,
Kindly send the .sppkg that you did after changing the code.
Regards,

From: sansa91 @.>
Sent: Tuesday, June 1, 2021 11:46 AM
To: thenikhilk/sharepoint-instagram-feed @.>
Cc: Zahra234 @.>; Comment @.>
Subject: Re: [thenikhilk/sharepoint-instagram-feed] Hi Nikhil, Having issue in loading the instagram feeds (#6)
Try the code below instead of the img tags, change it to iframes instead. If you check the dev for facebook and read about it it looks like you have to use it to get application id / tokens etc from instagram to be able to post information like before. But if you write the code with iframes like this it works for me. :)

      {/*  */}

      {/*  */}

`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/thenikhilk/sharepoint-instagram-feed/issues/6#issuecomment-851948056, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHZA6AJMLXA4WWGYVMPK3YLTQSM43ANCNFSM4JSSKLDQ.


Firebase quickly start Android

Step 1: Describe your environment

Android device: _____
Android OS version: _____
Google Play Services version: _____
Firebase/Play Services SDK version: _____

Step 2: Describe the problem:
Steps to reproduce:

Observed Results:

What happened?  This could be a description, logcat output, etc.

Expected Results:

What did you expect to happen?

Relevant Code:
// TODO(you): code here to reproduce the problem

Step 1: Describe your environment

Android device: _____
Android OS version: _____
Google Play Services version: _____
Firebase/Play Services SDK version: _____

Step 2: Describe the problem:
Steps to reproduce:

Observed Results:

What happened?  This could be a description, logcat output, etc.

Expected Results:

What did you expect to happen?

Relevant Code:
// TODO(you): code here to reproduce the problem


dbt was unable to infer all dependencies for the model

Hey there.
Trying this out, I wrote a simple test that looks like this:
{{ config(
          tags=['unit-test']
   )
}}

{% call dbt_unit_testing.test('yankees_catchers', 'Test catchers query') %}

  {% call dbt_unit_testing.mock_ref ('yankees') %}
    select 'bobby' as name,
     'NYY' as team,
     'Catcher' as position,
     cast ('24' as int4) as height,
     cast ('239' as int4) as weight,
     cast ('23' as int) as age
  {% endcall %}

  {% call dbt_unit_testing.expect() %}
    select 'bobby' as name,
     'NYY' as team,
     'Catcher' as position,
     cast ('24' as int4) as height,
     cast ('239' as int4) as weight,
     cast ('23' as int) as age
  {% endcall %}
{% endcall %}

As seen, it relies on the yankees model, which I try to mock. But when I run the test I get
16:29:39    dbt was unable to infer all dependencies for the model "mlb_test".
16:29:39    This typically happens when ref() is placed within a conditional block.
16:29:39
16:29:39    To fix this, add the following hint to the top of the model "mlb_test":
16:29:39
16:29:39    -- depends_on: {{ ref('yankees') }}
16:29:39
16:29:39    > in macro build_model_complete_sql (macros/sql_builders.sql)
16:29:39    > called by macro run_test (macros/tests.sql)
16:29:39    > called by macro _test (macros/tests.sql)
16:29:39    > called by macro test (macros/tests.sql)
16:29:39    > called by test mlb_test (tests/mlb_test.sql)
16:29:39    > called by test mlb_test (tests/mlb_test.sql)

If I add said line to the test file, it works, but then I get non-mock data:
16:30:49  1 of 3 START test mlb_test ..................................................... [RUN]
16:30:49  MODEL: yankees_catchers
16:30:49  TEST:  Test catchers query
16:30:49  Number of Rows do not match! (Expected: 1, Actual: 2)
16:30:49  Rows mismatch:
| diff | name           | team   | position   | height | weight |   age |
| ---- | -------------- | ------ | ---------- | ------ | ------ | ----- |
| +    | "Wil Nieves"   |  "NYY" |  "Catcher" |     71 |    190 | 29.43 |
| +    | "Jorge Posada" |  "NYY" |  "Catcher" |     74 |    205 | 35.54 |
| -    | bobby          | NYY    | Catcher    |     24 |    239 | 23.00 |
16:30:49  1 of 3 FAIL 1 mlb_test ......................................................... [FAIL 1 in 0.06s]

I guess I'm doing something wrong, but I'm not quite sure what..
Any thoughts?
Thanks a lot :)

Hi @amirse. could you please share your model, so we can try to replicate the test?
Also, could you try to change the Mocking Strategy to "Pure" as we mentioned in the README.
You can specify the mocking strategy in the dbt_project.yml file, like this:
vars:
  unit_tests_config:
    mocking_strategy: Pure

We're rethinking our Mocking Strategies and we're agreeing that we'll make the "Pure" mocking strategy as default mocking strategy, it's the less complex and straightforward to reason.

Hi @amirse, could you also please confirm that you are using dbt_unit_testing.ref(...) in your models? if not, you'll need to redefine the 'ref' (and 'source') macros, as explained in the README.
Thanks!

I'm having a very bad case of the same issue. I tried to write a simple test around a mart (that transitively has dependencies on many 10s of other models). Each time I run the test it thinks for a while and then spits out a new (seemingly random) ref from somewhere in that graph that it would like me to add a depends clause for. It's far too time consuming to keep going round this loop, and far too fragile to have every transitive dependency of a model listed explicitly. I'm using the Pure strategy and explicitly using the dbt_unit_testing.ref macro in the definition of the MUT.

Hi Adrian. Thank you for the feedback.
In your MUT, Are you calling dbt_utils.star or any other macro which receives a 'ref'?

We do have some use of macros that receive refs. Let me try and reduce it down to the simplest model I can create that illustrates the problem and I'll get back to you...

Hi @acolyer, please check the Known limitations section on the README of release 0.2.1. to understand how to overcome this issue. Thanks for your feedback 👍

The '-- depends_on: ...' trick does work, but unfortunately it is not practical for us. If it was only the immediate dependencies of the MUT that had to be included this way it would be manageable, but we're finding that every ancestor model needs to be included - and that's a very long list for us. It takes one iteration through a compile cycle to uncover each additional dependency that dbt wants us to explicitly add which is really slow, and moreover we'll end up making a fragile maintenance problem downstream by effectively hard-coding the DAG at the top of each test file. I wonder if, for example, the '--depends_on: ' statements could themselves be generated by the test macros? I had a quick look into that and couldn't get it going last week, but I plan to spend some more time on this problem this week...

For anyone else coming to this in the future, I finally managed to get things working after clearing up a number of my misunderstandings. Here's what I found worked for us:

Follow the suggestion in the docs to provide a replacement ref macro wrapping dbt_unit_testing.ref. We are introducing testing with dbt_unit_testing to a largish project, and changing all of the refs would be intrusive at this point. I had mistakenly thought I only needed to change refs for models directly referenced from the MUT, but it turned out this isn't the case. Using the wrapper ref makes this all much easier. (And the same thing with the source wrapper).
Find all the places that you're passing a ref to a macro, and change it to 'builtins.ref' to bypass the wrapper (you can do this incrementally, just try writing tests and dbt will complain if you haven't wrapped a macro call that you should have, saying it was expecting a relation but got a string value instead).
Just for those models that directly use one of these macros, add the suggested --depends line at the top of your test file

This is so much better than having to have a depends line for every single transitive dependency!
Thanks for all your hard work on the project, we're really excited to be using it!

Hi @acolyer, thank you for your support, your explanation is perfect. We should improve the README with something similar 🙂


Sincerely Yours,
A Revanced User 😆

The ReVanced team did that. It's not injected code, it's a required component from ReVanced GmsCore (better known as MicroG). Close this issue.

ah yes one of those troll issues on GitHub...

ah yes one of those troll issues on GitHub...

Well, you never know for sure...

thanks for clarifying. I apologize for the inconvenience. Have a good day


Fix link to cmdlet

Hi @lukos, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@lukos : Thanks for your contribution to the Azure documentation! The author, @tfitzmac, has been notified to review your proposed change.

@lukos - thanks for catching this broken link. I changed the URL to the Azure PowerShell 2.0 version of the cmdlet. Because that URL includes parenthesis for the version number, I had to move it to a referenced link. If you accept the PR in your branch, we can merge this.

#sign-off


Broken in VS Code 1.82.x

Looks like none of apc's styling is working since my VS Code upgrade to 1.82.1 on Mac.
My settings.json for reference:
  "apc.activityBar": {
    "position": "bottom",
    "hideSettings": true,
    "size": 38
  },
  "apc.statusBar": {
    "position": "editor-bottom",
    "height": 22,
    "fontSize": 12
  },
  "apc.listRow": {
    "height": 21,
    "fontSize": 13
  },
  "apc.stylesheet" : {
    ".monaco-workbench .part.editor>.content .editor-group-container>.title div.tabs-container" : {
      "font-size": "12px"
    }
  },

https://github.com/drcika/apc-extension/issues/77

disable and re-enable in extensions pane does not work. But this does, from readme:

Go to the Command Palette by pressing Cmd+Shift+P on Mac or Ctrl+Shift+P on Windows.
Type "Enable Apc extension" to enable or "Disable Apc extension" to disable the extension.

disable and re-enable in extensions pane does not work. But this does, from readme:

Go to the Command Palette by pressing Cmd+Shift+P on Mac or Ctrl+Shift+P on Windows.
Type "Enable Apc extension" to enable


Limit simultaneous requests

Is there a way to limit simultaneous requests?
I've tried to set this but doesn't seem to have any effect:
import request from 'popsicle';
import auth from 'popsicle-basic-auth';
import http from 'http';
http.globalAgent.maxSockets = 10;

Any suggestion ? :smile:
Thanks!

Not built in, but we could publish a plugin. The relevant logic is pretty much: https://github.com/blakeembrey/popsicle-limit/blob/master/popsicle-limit.js#L9-L13. Just make a before wrapper that limits the number of concurrent requests running.

I've temporarily solved using https://github.com/ForbesLindesay/throat but in 2 weeks when I'm back from hols I'll see if I can build a plugin :+1:

I've added throat to the README: https://github.com/blakeembrey/popsicle#helpful-utilities. It's a great solution and easily re-usable in other places.


Faster CI

In-container build should start the docker container only once
No need to run short tests since test-long runs all tests

LGTM


ARROW-14057: [C++] Bump aws-c-common version

@github-actions crossbow submit -g cpp

The thread sanitizer failure is https://github.com/ursacomputing/crossbow/runs/3665866336?check_suite_focus=true#step:7:4108:
[  FAILED  ] 1 test, listed below:
[  FAILED  ] AsyncReaderTests.InvalidRowsSkipped

 1 FAILED TEST
ThreadSanitizer: reported 1 warnings
ThreadSanitizer or leak check failures in /build/cpp/build/test-logs/arrow-csv-test.txt
/build/cpp/src/arrow/csv

It looks like S3 isn't even built for this build https://github.com/ursacomputing/crossbow/runs/3665866336?check_suite_focus=true#step:7:2025, could this be unrelated?

The AsyncReaderTests.InvalidRowsSkipped is addressed in https://github.com/apache/arrow/pull/11198 / ARROW-14053


Version 1.3.7

@maxks frankly, this change makes no sense because config is always going to be passed to the upgrade, so you're checking for something that's (hopefully) always going to exist.  It would be better to use your inline logic conditionals as if statements and then mark changed as true if you make a change.

@krocheck I using that condition because Julian wrote me this:
"@maxks in the upgradeScript config can sometimes be null, so you need to null check it first"
So I thought that if config exist and varaibles were set, the changes value is always true.

Oh yeah ... forgot about that aspect of how the scripts execution changed.  Ignore me


[QUESTION] Support for customizing default verification

Question
Would it be acceptable to add a support for customizing default verification?

Thanks in advance for develop and maintenance this great library!
This save me from many complex lines and common mistakes.
Btw, I use the emulator of cognito in local development environment (and real cognito in production).
It works with container and in local endpoint (ex, http://localhost:9229).
I want to use aws-jwt-verify with it , but there are some issues.

jwks_uri is needed to customize (this is possible)

ex) jwksUri: settings.cognitoEndpoint && `${settings.cognitoEndpoint}/.well-known/jwks.json`

user-pool-id is generated as local_xxxxxx with the emulator, and user-pool-id verification is failed.
issuer in JWT become http://localhost:9229/ with the emulator, and issuer verification is failed.
and there may be more ( now verification is stopped with issuer error )

I'm happy if I can handle these with aws-jwt-verify in some way.
There are some possible solutions, but I think most of those are more or less emulator-specific.
For example,

CognitoJwtVerifier receive customEndpoint as a parameter, and use it as endpoint of jwksUri and issuer verification

emulators may use or not the same path as a jwksUri
emulators may use or not the same string as a issuer

when customEndpoint is specified, skip user-pool-id verification

if emulators doesn't custom region name, verification should not be skipped.

So, I think well new feature is

CognitoJwtVerifier receive customUserPoolIdCheck customIssuerCheck and override default behavior
or,  receive customDefaultCheck and override all default check.

I understand and agree that aws-jwt-verify should focus on real AWS services.
This feature weaken security with wrong use so I'm wondering if it is acceptable.
On the other hand, many aws-sdk clients are  basically support for customEndpoint and can use with several emulators.
I would be happy if aws-jwt-verify can use with them :)

Versions
Which version of aws-jwt-verify are you using?
4.0.0
Are you using the library in Node.js or in the Web browser?
Node.js
If Node.js, which version of Node.js are you using? (Should be at least 14)
18.12.1
If Web browser, which web browser and which version of it are you using?
If using TypeScript, which version of TypeScript are you using? (Should be at least 4)
5.1.6

Valid request! Thanks for posting.
We need some time to research this and form an opinion. Thanks for your suggestions and ideas, that's very helpful.


[ps-scroll-y]how to get scroll distance

hi,when i using the event ps-scroll-y.how can i know the scroll distance in y direction?
$(window).on('ps-scroll-y',function(){
   // is there any params that i can get scroll distance
})

thanks

You need get '.ps__scrollbar-y' dom element and read this 'offsetTop' property. But perfect-scrollbar fires events before re-render scrollbar dom element, and so 'offsetTop' property has old value (value before re-rendering scrollbar dom element).

You can just refer to scrollTop on scroll event.


Can't get it work at all

imdone-core works fine, including the metadata setup; I don't even see the octocat or any noticeable errors.
Any advice on how to even start debugging this?

The first step in debugging is to open dev tools with ctrl+shift+i
Then click on the file:line_no of the error
On Mon, Jul 18, 2016 at 8:35 PM, Allan MacGregor<EMAIL_ADDRESS>wrote:

imdone-core works fine, including the metadata setup; I don't even see the
octocat or any noticeable errors.
Any advice on how to even start debugging this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/imdone/imdone-atom-github/issues/17, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAOQIVRXmSllJ4X3btgpEMB7whxYmmSVks5qXCn3gaJpZM4JPS6r
.

--
Jesse Piaścik
Founder @imdoneIO https://twitter.com/imdoneIO | imdone.io
about.me/jesse.piascik

Found the issue, it was due to the setup of imdone. Closing the Issue.

What was the setup issue?  I'd like to reproduce it and create a fix so it
doesn't error.
On Wed, Jul 20, 2016 at 6:11 AM, Allan MacGregor<EMAIL_ADDRESS>wrote:

Found the issue, it was due to the setup of imdone. Closing the Issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/imdone/imdone-atom-github/issues/17#issuecomment-233920499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOQIa_ALTmyXWsRSY71FEYl1JFEhVHVks5qXgJzgaJpZM4JPS6r
.

--
Jesse Piaścik
Founder @imdoneIO https://twitter.com/imdoneIO | imdone.io
about.me/jesse.piascik


Integration into the Priv Specification has begun.

Noet that I've began work to integrate this spec as a chapter within the Privileged Specification.  I'll add a PR link once it's issued.

Here's the Pull Request.

Note that integration into the Privileged Specification in the riscv-isa-manual github repository is now complete.  Please make any changes to this extension there as this repository will be archived.


Expose .abort() method in S3OutputStream for cancelling partially completed uploads

Type: Feature
Is your feature request related to a problem? Please describe.
If writing a file through S3OutputStream has started - there is no possibility to abort the upload.
My scenario:

User uploads large file via UI
Backend accepts the file, starts validating file and proxy writes it to S3 for storage
Something goes wrong (user abandons the upload, file turns out invalid, etc.)

Sample code:
try (
    S3OutputStream s3Stream = inMemoryBufferingS3StreamProvider.create(uploadLocation,
            ObjectMetadata.builder()
                    .contentType("text/csv")
                    .build());
    CSVWriter writer = new CSVWriter(new OutputStreamWriter(s3Stream))
) {
    try {
        String[] headers = reader.readNext();
        validateHeaders(headers);
        writer.writeNext(headers);

        String[] row;
        while ((row = reader.readNext()) != null) {
            // Further data validation is done at this stage.
            writer.writeNext(row);
        }
    } catch (CsvValidationException|IOException e) {
        // TODO: Abort the upload?!
        // TODO: s3Stream.abort();
    }
}

Describe the solution you'd like
New method S3OutputStream#abort which can be called if the stream is not closed yet.
Describe alternatives you've considered

Use reflection to call InMemoryBufferingS3OutputStream#abortMultiPartUpload
Delete the file if upload (partially) fails. Does not work that well on versioned buckets/objects.
Copy-paste InMemoryBufferingS3OutputStream and expose abort method
None of the alternatives are appealing.

Additional context

Created #1221 PR.
It seems applicable for the other implementations of S3OutputStream , e.g. if a user needs to cancel the upload mid-way using the stream.
E.g. currently DiskBufferingS3OutputStream#close would always result in a file on S3, even if the user's code fails to write everything what was intended. #abort gives the user ability to cancel if required.

Fixed in #1221


Disambiguate Query Parameter Docs

There are certain options on lessc which don't precisely map to the implied syntax in the docs (e.g. lessc --modifyVar="myVar=myVal" actually maps to style!css!less?{"modifyVars":{"myVar":"myVal"}}). This update clarifies the documentation.

Awesome, thanks! :+1: I had these escaping issues also at the sass-loader.


Bump ginkgo v2

leaving in draft til I run some tests making sure this still works

current issue is some dependency is bringing in ginkgo 1 and using it somewhere.  need to find which dependency and bump it.  currently thinking ifrit as that got ginkgo2 support added, but it is brought indirectly so need to figure out who brings that

Got it working now, will need to update docker image with ginkgo v2 as well https://github.com/cloudfoundry/capi-dockerfiles/pull/37


Added Remote Webcam

I added remote webcam using AForge, it may be a little hackish but it
works.

Thanks for your contribution. I'll check the code over the next few days and if everything's alright I'll merge it.

I see now that i removed something from the main form. Should i just commit the changes to this branch ?

Yep, you can continue to commit on this branc.

I would like to add an icon to TCP Connections in the contextual menu. Should i make a new branch for that ?

Yes.

Please go back to this issue #424 to know which files are important and remove the the other files, you will see files with .cs0 extension they are not important you can simply remove them from your implementation to reduce size and clean code. :smile:

@DragonzMaster I've removed the unused files and the client build was 10kb smaller. Thank you for your input.

Can you post a screenshot of it capturing your webcam?

for me webcam works fine http://imgur.com/M5XPcm7

Here you go http://i.imgur.com/holT4lL.png

Thanks! Made some coding style adjustments and fixed some bugs. For example when you just open remote webcam and close it, client throws an exception and reconnects (cause FinalVideo is null). And you removed the selectAll context menu item by accident. Please take care of things like that next time. Nonetheless good job and thanks for your contribution!


calling trainer.test() between epochs has side effects in <IP_ADDRESS>

New user of lightning. First downloaded on Oct 15, and updated today, Nov 15 to <IP_ADDRESS>. Working on Ubuntu 18.04.3lts, pytorch 1.3, python3.6.8m. No virtual environment.
I call trainer.test() in on_epoch_end() at intervals during training - this speeds comparisons to other model architectures.
This worked perfectly in the prior version. The test sequence worked as expected, calling test_step() and test_end() per the spec. Summary reporting to Tensorboard, model status, etc - all as expected. After the call to test_end(), training continued at the next epoch. Behavior repeated with no problems each time trainer.test() called throughout training.
This does not happen as expected in the new version.
#1 If early stopping remains set to default, the training loop exits after the first call to trainer.test() completes. The exit appears normal  - as if the call to trainer.test() was an early stopping condition.
#2 if early stopping is turned off by setting 'early_stop_callback=None', the first call to trainer.test() executes as expected, and training continues as expected. However, trainer.test() is now called after EVERY epoch. These extra calls are not originating in my code.
Here is the code making the call:
    def on_epoch_end(self):
        #graph errors: avg training and validation loss
        if self.epochReport:
            self.logger.experiment.add_scalars('Stats_epoch/loss', {'avg_trn_loss': mean([x.item() for x in self.trn_loss]), 'avg_val_loss': mean([x.item() for x in self.val_loss])}, self.global_step)
            self.logger.experiment.add_scalars('Stats_epoch/acc',  {'avg_trn_acc':  mean([x for x in self.trn_acc]),         'avg_val_acc':  mean([x for x in self.val_acc])},         self.global_step)

        if (((self.current_epoch+1)%self.test_prd)==0) or ((self.current_epoch+1)==self.max_nb_epochs):
            msg("on_epoch_end")      # for debugging
            self.trainer.test()

Here is the test related code:

    def test_step(self, batch, batch_nb):
        imgs, labels        = batch
        out                 = self.forward(imgs)
        loss                = self.loss(out, labels)

        # stats: calc accuracy, save loss, acc
        # accuracy by category
        out_idx             = torch.argmax(out, 1)
        c                   = (out_idx==labels)
        for i in range(len(c)):
            self.cls_cor[labels[i]] += c[i].item()
            self.cls_tot[labels[i]] += 1

        # acc overall
        acc                 = ((labels==out.argmax(1)).sum()).item()/labels.shape[0]
        return {'test_loss': loss}

    def test_end(self, outputs):

        avg_loss = torch.stack([x['test_loss'] for x in outputs]).mean()

        # graph test loss, accuracy
        if self.tstReport:
            # get overall accuracy, add text; get accuracy per category, add text; log, reset
            tst_acc   = self.cls_cor.sum() / self.cls_tot.sum()
            text      = f'Overall accuracy of the network on {int(self.cls_tot[0]):d} test images: {100.0 * tst_acc:4.1f}%  \n'
            for i in range(len(self.cls_cor)):
                text += f'Accuracy of {self.labels[i]} : {100.0 * (self.cls_cor[i] / self.cls_tot[i]):4.1f}%  \n'

            self.logger.experiment.add_text(   'Test: accuracy',        text,                                 self.global_step)
            self.logger.experiment.add_scalars('Stats_epoch/tst_loss', {'avg tst_loss': avg_loss}, self.global_step)
            self.logger.experiment.add_scalars('Stats_epoch/tst_acc',  {'avg tst_acc' : tst_acc*100.0},      self.global_step)

        # clear data if reporting or not
        for i in range(len(self.cls_cor)):
            self.cls_cor[i] = self.cls_tot[i] = 0

        return {'avg_test_loss': avg_loss}

Any input appreciated.
seth

@sneiman still having this issue?

will try new version today.
Sent from mobile device - sorry for typos and brevity.
This entire message is confidential. If it isn't intended for you, you may not use it - so please throw it away and forget about it.
On Dec 4, 2019, at 4:28 AM, William Falcon<EMAIL_ADDRESS>wrote:

@sneimanhttps://github.com/sneiman still having this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/williamFalcon/pytorch-lightning/issues/517?email_source=notifications&email_token=AA6YDOVLJXTFVAIFJXLPIELQW6O7LA5CNFSM4JN63QR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF425PI#issuecomment-561622717, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA6YDOV6TUZ3DJBWKTLRLWLQW6O7LANCNFSM4JN63QRQ.

I am still having this issue. I am not sure if you want me to try it on a new version? I did reinstall on the off change that the repo had been updated. Let me know if you want me to do something else.
s


Added C++ code for issue #1553

What have you Changed(must)
Added C++ code for 303. Range Sum Query - Immutable
Issue no.(must) - #1553
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will be marked as spam.
[x] My file is in the proper folder
[x] I am following clean code and Documentation.
[x] I have added the title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

Please merge this.


Freeze at Settings Scrren

Hy all there,
The NSPanel with Tasmota works fine I managed to set Widgets over Mqtt and deal with received Messages. The strange behavior I have is that when I swiped to Settings Screen on the NSPanel it self (swiping from up to down). It is not possible to leave this Screen. I can set All settings which are displayed in the Screen but coming back to Homescreen it's not possible. My solution was to restart Panel over tasmota but I think that's not how the Designer has planed it ;)

When initially drawing widgets you need to send commands for all 8 indexes, if you want to keep an index empty send a delete command for that index.

You need to send widgets for all 8 positions otherwise it will freeze.

Okey I try it. But how I get back from the settings screen to home screen?

Perfect Thank you are Great !!!!!!!!!!!
When I send the whole Widget Config at once there is no freeze in Settings Screen


training time

Hi dear author, I wonder what is the training time?

Hi,
Please see here as described in the paper:

Please reopen if the issue is not solved!


ActionHide T field is incorrect

InActionHide the T value refers to a list of actions - looks like a copy-past errors from the Next field. It should be
• An indirect reference to an annotation dictionary
• A text string giving the fully qualified field name of an interactive form field whose associated widget annotation or annotations are to be affected (see <IP_ADDRESS>, "Field names")
• An array of such dictionaries or text strings

Thanks! Great find. Resolved on "Extensions" branch (data yet to be propagated to PDF version data models).
Also added a new predicate to test for valid partial Field Names - see INTERNAL_GRAMMAR.md on branch


Spotify Jukebox Extension

Testers needed!
All seems to work, although I could with tidying some code

Codecov Report

Merging #203 (ed6cccb) into master (05139b3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   29.86%   29.86%
=======================================
  Files          31       31
  Lines        2213     2213
=======================================
  Hits          661      661
  Misses       1552     1552

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 5fbd1f0...ed6cccb. Read the comment docs.


False positive triggering when unfreeze prop via physgun and the "R" key.

Actually, subject, any attempt to unfreeze prop via physgun and the "R" key leads to a false positive triggering and the prop in this case becomes a ghost.
Triggers both when unfreezing one prop via crosshair targeting, and when unfreezing all props.
Conflicts between addons are excluded, because I also checked in the case of installing only your addon.

Fixed.


[Docs] Fixes Arrayable typos in docs

This fixes typos in the docs, changing Arrayble to Arrayable in ArrayableNormalizer and ArrayableTransformer.

Thanks


Fine amplitude

Summary
This PR introduces the fine amplitude calibration experiment.
Details and comments
The fine amplitude applies the same gate a variable number of times and then determines the deviation in the rotation angle from the intended target.

The commit 1f21bb7 fixes the issue with the sign of d_theta here it is important to have the excited state prepared.


Error in PipenvUsageError?

Step 1/5 : FROM python:3.8.0a1-alpine3.9
 ---> 4b47ccb20dbe
Step 2/5 : ENV PYTHONDONTWRITEBYTECODE 1
 ---> Using cache
 ---> 1266f81bbbb0
Step 3/5 : RUN pip install pipenv==2018.11.26
 ---> Using cache
 ---> 282c4198a839
Step 4/5 : COPY Pipfile Pipfile.lock /
 ---> a10b922545ea
Step 5/5 : RUN pipenv install --system --deploy --dev
 ---> Running in c1a8bbad3884
Your Pipfile.lock (0e51d6) is out of date. Expected: (cefd04).
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 10, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pipenv/cli/command.py", line 235, in install
    retcode = do_install(
  File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1863, in do_install
    do_init(
  File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1192, in do_init
    raise exceptions.DeployException
  File "/usr/local/lib/python3.8/site-packages/pipenv/exceptions.py", line 168, in __init__
    PipenvUsageError.__init__(message=fix_utf8(message), extra=extra, **kwargs)
TypeError: __init__() missing 1 required positional argument: 'self'

__init__ is correct in master branch... I wonder where I got this odd version from...

It was fixed in e532f16c62abff3e20e9129139889d166759cc77
Waiting for new release!

@dimaqq Do you know any simple workaround? I suddenly start hitting this for no reason and there is no new release...

@dimaqq Just started hitting this as well...
I'm on the python:3.6-alpine docker image, python 3.6.8, pipenv version 2018.11.26

I guess the best is to ask nicely for a new release.
I've pinned pipenv==2018.10.13 or to be precise included that in my the docker image:
ENV PYTHONDONTWRITEBYTECODE 1
RUN pip install pipenv==2018.10.13
COPY Pipfile Pipfile.lock /
RUN pipenv install --system --deploy

If you need newer functionality (https://github.com/pypa/pipenv/blob/master/CHANGELOG.rst#20181126-2018-11-26, there's plenty), patch our local pipenv with https://github.com/pypa/pipenv/commit/e532f16c62abff3e20e9129139889d166759cc77 or build your own wheel from master and install your custom build...

To my knowledge, I think this is only hit when there is a problem with the command or the Pipfile itself. If others come across this, check the Pipfile/Pipfile.lock is OK (not trashed by a merge conflict) and possibly recreate it by deleting the lockfile and pipenv lock again.

I see the same error in pipenv-2018.11.26


[DO NOT MERGE][WIP] First stab at running paas-cf unit tests on GitHub Actions

🚨 DO NOT MERGE 🚨
What
Describe what you have changed and why.
How to review
Describe the steps required to test the changes.
Who can review
Describe who can review the changes. Or more importantly, list the people
that can't review, because they worked on it.

Questions borne of talking to Richard: why port 8553 in the failing test? Does Travis have a fancy DNS resolver setup?

@AP-Hunt Can we close this?

@AP-Hunt Can we close this?

Yes I think it probably can. Closing 🔨 ❌


Provide functionality to connect Alby browser extension

As a user of RaspiBlitz Web I would like to be able to connect to Alby by clicking a button in the dashboard. Currently I have to look up the credentials to set up the connection separately.
Alby needs: "Public node URL"/ "TOR REST URL" and the admin macaroon
Ideally the credentials are handed over to the extension and automatically plugged in the according data fields.

as of 3.3.2020

Good idea. We'll have a look into it when we find some time.

I started to add a system/connection-info endpoint on the BlitzAPI that provides the LND macaroon - see PR:
https://github.com/fusion44/blitz_api/pull/86/

Is there also an endpoint for the onion address of the REST connection to LND?
(today I get it by: sudo cat /mnt/hdd/tor/lndrest8080/hostname)
A user needs both the macaroon and that address for connecting Alby.

Is there also an endpoint for the onion address of the REST connection to LND?

@MoritzKa thats part of that new endpoints data: https://github.com/fusion44/blitz_api/pull/86
If lnd is activated the the response to system/connection-info looks like:
{
  "lnd_admin_macaroon": "0201036C6E6402F801030A10B9BC5746E0F52F441BE2BF3B75A1C1EC1201301A160A0761646472657373120472656164120577726974651A130A04696E666F120472656164120577726974651A170A08696E766F69636573120472656164120577726974651A210A086D616361726F6FD634804926E441E8C730F92AE0C10E5732EE20EB6D6DE",
  "lnd_invoice_macaroon": "0201036C6E640258030A10B7BC5746E0F52F441BE2BF3B75A1C1EC1201301A160A0761646472657373120472656164120577726974651A170A08696E766F6963657312047",
  "lnd_readonly_macaroon": "0201036C6E6402AC01030A10B8BC5746E0F52F441BE2BF3B75A1C1EC1201301A0F0A07616464726573731204726561641A0C0A04696E666F1204726561641A100A08696E766F696365731204726561641A100A086D616361726F6F6E1204726561641A0F0A076D6573736167651204726561641A100A086F6666636861696E1204726561641A0F0A076F6E636861696E1204726561641A0D0A0570656572731204726561641A0E0A067369676E65721204726561640000062065950AD6F3E7C234B5E76B9EC58838180AB9296F99D49F9C0396C9138",
  "lnd_rest_onion":"7hyube57cxcd47lcgrihujaevtsqlgd5ga34l637rgsyvd32x6.onion:8080",
  "lnd_tls_cert": "2D2D2D2D2D424547494E2043455254494649434154452D2D2D2D2D0A4D494943436A434341624367417749424167495156505242734D556F4D37443532634574762B6671696A414B42676771686B6A4F50515144416A41314D5238770A485159445651514B45785A73626D5167595856306232646C626D56795958526C5A43426A5A584A304D52497745415944565151444760A633351774868634E4D6A45774F4449334D546B304D7A51775768634E4D6A49784D4449794D546B304D7A5177576A41314D523877485159445651514B45785A730A626D5167595856306232646C626D56795958526C5A43426A5A584A304D524977454159445651514445776C7362324E68624768766333517757544154426763710A686B6A4F5051494242676771686B6A4F50514D4242774E434141512B4A42564C363634484C58346F4F78482F534C705A61584E4E474F775657496E44373058310A4745426F425341492F3177372B354D635855694F6E554552793041524641304E366D354E4B666B502B346130586E79566F3447684D4947654D413447413155640A447745422F775145417749437044415442674E56485355454444414B4267677242674546425163444154415042674E5648524D4241663845425441444151482F0A4D42304741315564446751574242513946686E4B31517256705670344E68746A4A66323567584262687A424842674E56485245455144412B67676C7362324E680A62476876633353434248567561586943436E56756158687759574E725A56D364842483841414147484541414141414141414141410A414141414141414141414577436759494B6F5A497A6A3045417749445341417752514968414A726D33786478504C737444382F466B61554A68534846375375740A7A2B344776524A512F637A4876326836416941383677627747782F4C624A5074716342476E773639626C73507A6646496F2F3072434F636C4F754F5248773D3D0A2D2D2D2D2D454E44204345525449464943415445",
  "lnd_btcpay_connection_string": "",
  "lnd_zeus_connection_string": "lndconnect://7hyube57cxcd47lcgrihujaevtsqlgd5ga34l637rgsyvd32x6.onion:8080?macaroon=AgEDbG5kAvgBAwoQubxXRuD1L0Qb4r87daHB7BIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoTCgRpbmZvEgRyZWFkEgV3cml0ZRoXCghpbnZvaWNlcxIEcmVhZBIFd3JpdGUaIQoIbWFjYXJvb24SCGdlbmVyYXRlEgRyZWFkEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYg0JENEUVinuZ2_WNIBJJuRB6Mcw-SrgwQ5XMu4g621t4&cert=MIICCjCCAbCgAwIBAgIQVPRBsMUoM7D52cEtv-fqijAKBggqhkjOPQQDAjA1MR8wHQYDVQQKExZsbmQgYXV0b2dlbmVyYXRlZCBjZXJ0MRIwEAYDVQQDEwlsb2NhbGhvc3QwHhcNMjEwODI3MTk0MzQwWhcNMjIxMDIyMTk0MzQwWjA1MR8wHQYDVQQKExZsbmQgYXV0b2dlbmVyYXRlZCBjZXJ0MRIwEAYDVQQDEwlsb2NhbGhvc3QwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ-JBVL664HLX4oOxH_SLpZaXD70X1GEBoBSAI_1w7-5McXUiOnUERy0ARFA0N6m5NKfkP-4a0XnyVo4GhMIGeMwICpDATBgNVHSUEDDAKBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH_MB0GA1UdDgQWBBQ9FhnK1QrVpVp4NhtjJf25gXBbhzBHBgNVHREEQDA-gglsb2NhbGhvc3SCBHVuaXiCCnVuaXhwYWNrZXSCB2J1ZmNvbm6HBH8AAAGHEAAAAAAAAAAAAAAAAAAAAAEwCgYIKoZIzj0EAwIDSAAwRQIhAJrm3xdxPLstD8_FkaUJhSHF7Sutz-4GvRJQ_czHv2h6AiA86wbwGx_LbJPtqcBGnw69blsPzfFIo",
  "cl_rest_zeus_connection_string": "",
  "cl_rest_macaroon": "",
  "cl_rest_onion": ""
}

Thank you!
From what I can judge that looks good.

Would this approach work?:

On "settings" screen:

either display REST API host and Macaroon (HEX format) here
or show these in a modal after clicking a button

Display these in a way that the "strings" can be copied easily

In this way the Alby raspiblitz connector info could be extended by mentioning the web-interface as an easy way to get the needed info.

Sorry @escapedcat kinda forgot about your comment :(
Would something like #522 be an option?
You could define a custom "page" and add an API endpoint for blitzapi to display the macaroon.

No worries, sounds good

Closing this in favour of #632


Meteor Accounts is moving away from login with SRP

I just noticed this while reading the 0.8.2 release notes, but am not sure if this is going to affect how this package works. Any thoughts on how this will affect node-ddp before I upgrade to 0.8.2?

@matthewforr: working link for v0.8.2 release notes: https://github.com/meteor/meteor/blob/devel/History.md#v082-2014-jun-23

Can you maybe explain why (do you know) why no salt is being used? I got this possible attack vector regarding from a friend regarding securtiy and salt:
1- Login to the application
2- Intercept the request
3- Observe the SHA 256 Hash digest
4- Now use any online SHA 256 decoder and found the cracked hash
Just how possible is this?

It's actually worse than that. All you need to do is send the same intercepted password hash to re-authenticate as that user. Meteor (and by extension its authentication package) is really only secure over SSL.
I can't speak for the MDG, but the old SRP scheme was complicated and didn't really increase security much because presumably if you can intercept the authentication exchange, you can also intercept (and replace) the browser HTTP requests that load the javascript code implementing the client-side of the exchange. And of course that would give you access to everything including the plaintext password.
So HTTPS / SSL connections are the only real answer for a system like Meteor, and IMO the MDG finally acknowledged that when they made the switch to SHA256 in 0.8.2.
You can read a bit more about this here: https://www.npmjs.com/package/ddp-login#security

Thanks for clearing that up!
Im no expert but would a salt not make in more secure then or is this not possible because of the server side end?

Without SSL, the Meteor authentication token, which is issued as a result of a successful login, it also sent back and forth in the clear. Possession of this token allows the attacker to fully impersonate a given user, even with no knowledge of their password.
The only benefit of salt is it makes it much more difficult to use pre-computed tables to reverse a hashed password back into the plaintext. Salting passwords (along with expensive hashing functions like bcrypt) helps a lot to protect them from being reversed when the authentication database from a server is compromised. Meteor does both of those things on the server-side.
But in this case, salting the password during the exchange does very little to help because a "Man-in-the-middle" attacker with access to the unencrypted communications between browser and server can simply substitute or add any javascript code he wants to the Meteor client bundle. Among other things, that code can send plaintext passwords the user enters to a server anywhere on the internet. So this is the weakest link, and the only practical way to defend against it is to use SSL. Also, users shouldn't be reusing passwords between different services, but that's a different issue...


Detect absense of openssl and inform the user about it

Problem
Right now we don't detect presence of openssl on the CLI but it is dynamically linked dependency for the engines on linux. This can lead to undefined behaviour like CLI trying to download the binaries with no idea about openssl version leading to platform detection like linux-arm-openssl-undefined or spawning errors when node tries to spawn query-engine.

Suggested solution
Detect openssl presence on the CLI on linux and inform the user about openssl requirement.

Alternatives
Statically link/Vendor OpenSSL. This might be actually a requirement for upcoming napi preview.

Additional context
I hit this when trying to prisma studio on m1 mac docker which was using the node alpine image.

Did you manage to solve this problem?
FROM node:15-alpine
...
RUN apk add --no-cache openssl

Did not do the trick for me. Do I need to specify a specific version?

@maxxafari This is just an improvement about warning. If your imagine isn't working, open a new issue describing the full problem.

I think this can be closed with the changes you made @jkomyno ?


when does Fine grain lineage feature come out?

asDataHub Features say:

Coarse grain lineage: support for lineage at the dataset level, tabular & graphical visualization of downstreams/upstreams
Fine grain lineage: support for lineage at the field level [coming soon]

apache atlas has powerful lineage,
we want to use datahub,but field level lineage  datahub has not come out;
so  can you tell me  how long is the [coming soon] ?

Please take a look at our Roadmap to get a sense of timing. There's a lot of interest for fine grain lineage so it's certainly one of the things we'd like to prioritize internally.

Let's concentrate the discussion in this issue: https://github.com/linkedin/datahub/issues/1731


Index in Playlist URLs is being ignored

Set e.g. this URL with index=8:
https://www.youtube.com/watch?v=tvTRZJ-4EyI&list=PLlrk7Psha6E9SAfeFJTJHkVJjoax4MRpt&index=8
In the browser, "Kendrick Lamar - HUMBLE." opens as a video.
In react-player, it always loads the first video of the playlist with index 1.
Something else I notice:

If I set light={true}, the cover-image is correct before you click play.

Using:
NextJS v10.0.4,
React v17,
react-player 2.9.0

Workaround:
Set the index additionally under config
config={{
youtube: {
playerVars: { index: 8 }
}}}

ReactPlayer wasn't really built to support playlists. It’s a nice feature because it was easy to add, but is not fully supported.
Updating the index in config won’t work because playerVars is only used when instantiating the player. Changing playerVars after the player is loaded will do nothing. Further to this, the config is memoized and only updates when the url changes (see https://github.com/cookpete/react-player/issues/1162#issuecomment-775503444)
You are better off using the getInternalPlayer() instance method to get the Youtube Player instance, then calling playVideoAt() as detailed here: https://developers.google.com/youtube/iframe_api_reference#playing-a-video-in-a-playlist

For whos need a quick solution without code change, downgrading React Player to ^2.7.2 can solves this issue.

adding a reference to #1183

Is possible to remove list param from URL to play desired video.
Example:
const newUrl = new URL(item.resource_url);
const urlSearchObj = new URLSearchParams(newUrl.search);
urlSearchObj.delete('list');
const url = ${newUrl.origin}${newUrl.pathname}?${urlSearchObj.toString()};


Failure to run unit test when using with workspace

When using this crate in another crate part of a workspace, calling cargo test will fail at the machine!() macro. For example:
error: proc macro panicked
  --> /Users/nbigaouette/example/subcrate/src/lib.rs:18:1
   |
18 | / machine::machine!(
19 | |     /// Different states
20 | |     #[derive(Debug, PartialEq)]
21 | |     enum MyState {
...  |
26 | |     }
27 | | );
   | |__^
   |
   = help: message: error writing machine definition: Os { code: 2, kind: NotFound, message: "No such file or directory" }

error: aborting due to previous error

error: test failed, to rerun pass '--doc'

The error comes from this file: https://github.com/rust-bakery/machine/blob/20b140debfbf36443cb90f48f0dd617119d4d165/src/lib.rs#L448-L456
The macro will use target/machine to output the generated file, but this is not the proper way to get the path. The target directory is expected to be under subcrate/target but this directory does not get created by cargo. I had to manually create it for the macro to succeed.

I'm running into this as well - I believe this code should use CARGO_BUILD_TARGET_DIR to find the directory under which to place the machine/ subdir. I'll try and make that change on a fork & submit a PR soon.

@nbigaouette-eai if you're still using machine, I'd be interested what your results are with the patch in the pull request above!

@antifuchs that PR looks good and solves the issue for me, please merge it!

Sadly I don't have write access to the repo, someone in the @rust-bakery org has to do it.


Spec overload resolution

Also remove the concept of specialised signatures, which are overload sets that have string literal types.
Note that this does not update the rules on overload assignability, nor does it describe the interaction of anyFunctionType with contextual typing when called from type inference.

@sandersn can we get this change in


detach archive from pgmq extension

Provide the ability to "detach" an archive table from the extension. this would prevent the archive table from being dropped when drop extension pgmq is run.
pseudo
fn detach_archive(queue_name: str)
   sql::exec( alter extension pgmq drop table pgmq.{prefix}queue_name  )

Suggestion: allow detaching queues as well.

This has a problem: if the schema belongs to pgmq and is dropped with the pgmq extension, we would need to move the table.

Update: seems like the schema isn't dropped, different from the tables, etc.


Finetuning recipe for custom dataset

Can you please share some finetuning recipe for custom dataset?

Hi @nahidalam,
Thank You for your interest in our work. We finetune for 3 epochs using 32 batch size in total. In the deployed version, we only finetuned the linear layer projecting visual features to Vicuna input space.
We are in the process of making pretrained models and the code ready for release. It should be released withing one month. Stay tuned and enjoy the demo!


Nested form data with files coming back null

Hello
This is awesome first off. I'm just stuck on nested Objects not getting appended. (Or at least they come back null.)
JSON example.
department: {       main_image: {         image: File,         name: string,         meta_tag: string       },       title: string,       subtitle: string,       meta_tag: sring,       meta_description: string,       slug: string,       published: boolean     }
So when that is converted into FormData the main_image object is returned as null.
json-form-data works fine directly converting a main_image instance into formData but when the object is nested it returns null.
Thoughts?
Maybe I am approaching this wrong..
Nuxt.js is the Framework.

Hi @CisarJosh,
Could you provide a code example of how you are using the library? json-form-data should support the conversion of deeply nested objects. I added an additional unit test to cover this specific example.
Cheers, Adam

Closing due to inactivity.


option to disable armor creation

Is your feature request related to a problem? Please describe.
an option to disable armor when creating material sets, useful if you're adding wood/stone-based toolsets
Describe the solution you'd like
probably another bool to enable/disable armor creation for the material
Describe alternatives you've considered
having each tool as separate static data files was considered after looking at what Dlayler was doing, but this could make it tedious
Additional context
can't think of much to put here

I might look into this someday


Add attribute certificate corpus

Corpus for attribute certificate fuzz testing.
Attribute certificate support added in PR: https://github.com/openssl/openssl/pull/15857

@JonathanWilbur This corpus is seeded in part with the test attribute certificate that you provided here.  I'd like to add your  or other to this commit message.  Please let me know if that's ok.

I am not quite sure what you are asking, but if you are asking to include the attribute certificate I produced in that thread, you are absolutely welcome to. I grant you unlimited license to it, and I would be happy to produce more for you if you'd like. Please let me know if I can do anything else to help.

Thanks. I was asking to add your name to the commit message in the form of
Acked-by: Jonathan M. Wilbur<EMAIL_ADDRESS>so that your permission will be captured in the git log, instead of just the PR comments.

I created a PR to include such a commit: https://github.com/dhobsong/fuzz-corpora/pull/1

Thanks. I've added your "Ack" to the commit in this PR.

Sorry.  It looks like I closed this somehow?!   Reopening


Detect flexvolume dirpath

https://github.com/rancher/longhorn/issues/266
WIP needs some more testing

@yasker ready for review

@yasker

Merged, thanks!
Please update the doc in another PR.


FileNotFoundError: [Errno 2] No such file or directory: 'model.pth.tar'

inference worked few days ago but not working anymore because of broken googledrive weight file links.
Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:
 https://drive.google.com/uc?id=1J7ZP_q-6mryXUhZ-8j9-RIItz2nJGOIX

FileNotFoundError                         Traceback (most recent call last)
 in
49 speaker_pre_trained_path = "./klaam/data/model_weights/hifigan/generator_universal.pth.tar"
50
---> 51 ar_model = TextToSpeech(prepare_tts_model_path, model_config_path, train_config_path, vocoder_config_path, speaker_pre_trained_path,root_path)
52
53
5 frames
/content/./klaam/klaam/run.py in init(self, prepare_tts_model_path, model_config_path, train_config_path, vocoder_config_path, speaker_pre_trained_path, root_path)
67         self.vocoder_config_path = vocoder_config_path
68         self.speaker_pre_trained_path = speaker_pre_trained_path
---> 69         self.model, self.vocoder, self.configs = prepare_tts_model(
70             self.configs, self.vocoder_config_path, self.speaker_pre_trained_path
71         )
/content/./klaam/klaam/external/FastSpeech2/inference.py in prepare_tts_model(configs, vocoder_config_path, speaker_pre_trained_path)
57
58     # Get model
---> 59     model = get_model_inference(configs, DEVICE, train=False)
60
61     # Load vocoder
/content/./klaam/klaam/external/FastSpeech2/utils/model.py in get_model_inference(configs, device, train)
42     if not os.path.exists(ckpt_path):
43         gdown.download(url, ckpt_path, quiet=False)
---> 44     ckpt = torch.load(ckpt_path, map_location=torch.device("cpu"))
45     model.load_state_dict(ckpt["model"])
46
/usr/local/lib/python3.8/dist-packages/torch/serialization.py in load(f, map_location, pickle_module, **pickle_load_args)
697         pickle_load_args['encoding'] = 'utf-8'
698
--> 699     with _open_file_like(f, 'rb') as opened_file:
700         if _is_zipfile(opened_file):
701             # The zipfile reader is going to advance the current file position.
/usr/local/lib/python3.8/dist-packages/torch/serialization.py in _open_file_like(name_or_buffer, mode)
228 def _open_file_like(name_or_buffer, mode):
229     if _is_path(name_or_buffer):
--> 230         return _open_file(name_or_buffer, mode)
231     else:
232         if 'w' in mode:
/usr/local/lib/python3.8/dist-packages/torch/serialization.py in init(self, name, mode)
209 class _open_file(_opener):
210     def init(self, name, mode):
--> 211         super(_open_file, self).init(open(name, mode))
212
213     def exit(self, *args):
FileNotFoundError: [Errno 2] No such file or directory: 'model.pth.tar'

sorry my bad, this error is related to gdown : https://stackoverflow.com/questions/60739653/gdown-is-giving-permission-error-for-particular-file-although-it-is-opening-up-f

@radicali94, it seems the file was removed by mistake from my drive. If someone has it I will be able to upload it.


Why doesn't '-f mp4' doesn't download highest avalible resolution

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I tried it on a few videos. When I leave the format blank, I get the best quality file which is usually webm. When I specify by format id (eg. avc video and aac audio) it works fine. But when I do '-f mp4' it suddenly downloads 720p intstead of 1080, even tho there is avc or av1 avalible in 1080. Is it because specifying the extension only gives a pre-merged file? How do I make it give me the best quality but in a specified container?
For example:
yt-dlp 'https://www.youtube.com/watch?v=DXiCrL4j9Iw' -f mp4 downloads ID 22 despite there being ID 299 which is AVC 1080/60.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['https://www.youtube.com/watch?v=DXiCrL4j9Iw', '-f', 'mp4', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (pip)
[debug] Python 3.11.3 (CPython arm64 64bit) - macOS-13.3.1-arm64-arm-64bit (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[youtube] Extracting URL: https://www.youtube.com/watch?v=DXiCrL4j9Iw
[youtube] DXiCrL4j9Iw: Downloading webpage
[youtube] DXiCrL4j9Iw: Downloading android player API JSON
[debug] Loading youtube-nsig.90a441fd from cache
[debug] [youtube] Decrypted nsig Z4PsWljp1OUKqbxcJh => ocIcyT6L2KPcLg
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] DXiCrL4j9Iw: Downloading 1 format(s): 22
[debug] Invoking http downloader on "https://rr2---sn-u2oxu-fgvz.googlevideo.com/videoplayback?expire=1684449713&ei=UVVmZN3wENvYyAXgyYnYBg&ip=<IP_ADDRESS>&id=o-AEWcfheI3tFcPqo5OYYiu4DtxbrFTn8t-2JCVwsqP3Y8&itag=22&source=youtube&requiressl=yes&mh=FF&mm=31%2C29&mn=sn-u2oxu-fgvz%2Csn-u2oxu-f5fe6&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=1326250&spc=qEK7B4LKv3HZRYsJTaY2YCEliUpdIxc&vprv=1&svpuc=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=1081.213&lmt=1684393097696618&mt=1684427835&fvip=4&fexp=24007246%2C51000024&c=ANDROID&txp=3318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAKH3Xi4d2fzr49JNMdOjHjruGd6IANVC4rU0-aWLVJZPAiEAtZRvCgvvrdFhJy9euuc-8I8uySdCUKiVgVxtE1j8YRU%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAPco1IEU1VgmP7znchqUY5DKKM0kK_XJIJ6u43E9u-FiAiEAu-ndpS8q2F3ZyToS9xgbRSZt1Bdm60_zeGVNL1Pagss%3D"
[download] Destination: The Worst Garry's Mod Server [DXiCrL4j9Iw].mp4
[download] 100% of  112.90MiB in 00:00:26 at 4.26MiB/s

Alternatively, you can use format sorting. -S "ext" will prioritize sorting formats by extension, and mp4 is first in the order of extensions:
$ yt-dlp -S "ext" "DXiCrL4j9Iw" --get-format
299 - 1920x1080 (1080p60)+140 - audio only (medium)


Ability to set both custom disk_size and security groups

Is your request related to a problem? Please describe.
I was trying to set disk_size as I am running tensorflow and I am always running out of space since the docker image is so large. I notice it had no effects and found the numerous related github issues and FAQ entry.
However, the way I read it, I can either have custom security groups or custom disk size? This mutual exclusion is odd and very limiting. I did try and it does make the cluster inaccessible.
Describe the solution you'd like.
I would like to be able to set both custom security groups and custom disk size.
Describe alternatives you've considered.
I am at a loss for ideas.

This is down to the EKS API https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/faq.md#setting-disk_size-or-remote_access-does-not-make-any-changes
I would recommend you stay on the custom launch group route that this module defaults to use - it makes it pretty much transparent to users. You just need to specify your disk requirements in a different way to achieve the same outcome:
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/a68aac6cf29011e95405207d409d03360d3af56d/examples/eks_managed_node_group/main.tf#L204-L216


Use CSS3 filter for dimmer blurring

I can see that blurring on dimmer is not performant as per current implementation.
Can we use CSS3 blurring like  -webkit-filter: blur(5px) or  backdrop-filter: blur(5px)? This is improve performance and simplify the implementation.

It does use filter: blur but css filters themselves are not performant.
Backdrop filter is only supported in Safari unfortunately but would simplify things.


添加暗色主题 token 值

Codecov Report

Merging #44 (7073609) into master (5d7d598) will increase coverage by 0.43%.
The diff coverage is 100.00%.

:exclamation: Current head 7073609 differs from pull request most recent head 8202fa3. Consider uploading reports for the commit 8202fa3 to get more accurate results

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
+ Coverage   65.30%   65.74%   +0.43%
==========================================
  Files          87       88       +1
  Lines         712      724      +12
  Branches      140      142       +2
==========================================
+ Hits          465      476      +11
- Misses        246      247       +1
  Partials        1        1

Impacted Files
Coverage Δ

src/previewer.tsx
50.00% <100.00%> (ø)

src/theme/dark.ts
100.00% <100.00%> (ø)

src/TokenInput.tsx
7.89% <0.00%> (-0.22%)
:arrow_down:

src/component-panel/ComponentCard.tsx
81.81% <0.00%> (+1.81%)
:arrow_up:

Continue to review full report at Codecov.

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


airship-in-a-bottle single node fails

The airship-in-a-bottle single node deployment failing with the following error.
2019-06-13 15:10:10,928 WARNING  req_id=- ctx=- end_user=- user=- promenade.tar_bundler:tar_bundler.py: 38:add Zero length file added to path=etc/apt/sources.list.d/promenade-sources.list
2019-06-13 15:10:11,803 ERROR    req_id=- ctx=- end_user=- user=- promenade.renderer:renderer.py: 78:render_template_into_bundler Error rendering template (/opt/promenade/promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml)
Traceback (most recent call last):
File "/opt/promenade/promenade/renderer.py", line 76, in render_template_into_bundler
data = template.render(config=config, now=now)
File "/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "

error 'generating genesis'
set +x
Error when generating genesis.
exit 1
clean
set +x
To remove files generated during this script's execution, delete /root/deploy.
This VM is disposable. Re-deployment in this same VM will lead to unpredictable results.

We haven't released anything with the name "airship-in-a-bottle". Maybe ask the people who did.

We also haven't released any sort of Kubernetes support, or anything called "promenade".

I am sorry. Could be mistakenly reached to this site. Please disregards this request.


Saving, feature normalization

In this branch saving of prepare pipeline was changed to use .h5 file. Because of this change there are several changes in other cli tools.
Additionally, feature normalization by class count was introduced into feature engineering.
There were also some fixes of various issues that were encountered.

@dmacko232 for normalization, we should probably decide whether to use number of lines of code vs. number of classes.
Could you compute two correlations: (number of crypto API records, number of classes), (number of crypto API records, total number LoC in sample)? For normalization, we should choose the feature with higher correlation.


add SecAuditLogType HTTPS for retrocompatibility with Modsecurity

Summary
Modsecurity (2.x/3.x) currently has the Option to write audit logs directly via via Network (http/https) in JSON format. This can be usefull to directly ship to a logging endpoint and skip the need for (local) file based writes.
Basic example
SecAuditLogFormat JSON
SecAuditLogType HTTPS
SecAuditLog http://<ip>:<port>

Documentation: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual-(v3.x)#user-content-SecAuditLogType
Motivation
Since Coraza WAF aims to be a "drop in Replacement" I would suggest this feature to be added as well if possible.
This Subject was initially discussed here: https://github.com/corazawaf/coraza/discussions/813

Thanks for opening this issue. There is a PR that started this work https://github.com/corazawaf/coraza/pull/826

HTTPS audit log is now implemented and will be available in the v3.0.3 release

Please do try it and let us know so we proceed with the release.
On Tue, 11 Jul 2023, 03:22 Juan Pablo Tosso, @.***>
wrote:

HTTPS audit log is now implemented and will be available in the v3.0.3
release
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/issues/829#issuecomment-1629952330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYAWE74A2O5EGXWUOKRDXPSTFPANCNFSM6AAAAAAZYBB2U4
.
You are receiving this because you commented.Message ID:
@.***>

Most Awesome! Will try this as soon as possible but am currently stuck with some tasks. It may take a while/week or like for me to  dig into this. Will report back as soon as possible!

Awesome. We will hold the release until you could test it out.
On Tue, 11 Jul 2023, 08:06 amsnek, @.***> wrote:

Most Awesome! Will try this as soon as possible but am currently stuck
with some tasks. It may take a while/week or like for me to dig into this.
Will report back as soon as possible!
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/issues/829#issuecomment-1630196031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYAXWLEE4Y7HJRR5L3PDXPTUORANCNFSM6AAAAAAZYBB2U4
.
You are receiving this because you commented.Message ID:
@.***>

I just realised that I entirely forgot (also to mention) that I only used the haproxy / coraza-spoa plugin so far-> I somehow assumed that this is somewhat analogous (or maybe it is and I am not checking out the correct/latest for coraza-spoa, though I tried all branches). 🙈
coraza-spoa currently complains:
{"level":"error","ts":1689345696.5340078,"msg":"unable to create waf instance","app":"httpslog_test","error":"invalid WAF config from string: failed to parse string: failed to compile the directive \"secauditlogtype\": invalid logger \"HTTPS\""}
panic: invalid WAF config from string: failed to parse string: failed to compile the directive "secauditlogtype": invalid logger "HTTPS"
```

will try and setup my testing Scenario with corazawaf itself. Or is there a way I could do this with spoa already? sorry for the confusion, its been a while I last touched coraza.

Hey! Coraza v3.0.3 will provide https logs supports. It's already available, we are just waiting to create the tag.

@jptosso could you please create a branch so @amsnek can try out. also dont forget to include the change of the content type before cutting 3.0.3

This feature is already released. @amsnek your feedback would be appreciated.

Hello, will do. Last i tried ~1 week ago I still had the error that is an invalid logger.

Please make sure you are using coraza v3.0.3

Hello,
I am using the latest coraza-spoa (https://github.com/corazawaf/coraza-spoa.git) but the error remains:
./coraza-spoa_amd64 -config config.yaml
Loading 1 applications
panic: invalid WAF config from string: failed to parse string: failed to compile the directive "secauditlogtype": invalid logger "https"

goroutine 1 [running]:
main.main()
        /git/coraza-spoa/cmd/coraza-spoa/main.go:24 +0x109

-> can I not test this with coraza-spoa?
as stated in: https://github.com/corazawaf/coraza/issues/829#issuecomment-1635971849

Not sure coraza-spoa is up to date to it. Could you please verify it with go mod?

yeah, but not sure howto test it properly in my setup with "go mod", didnt use that yet.
-> but will do so but will take some time to look into that.

can confirm, that works! 👍
lots of (important) fields are empty (uri, version, method etc) in json format but that its independent from "secauditlogtype"
much awesome, thanks!
-> will close the issue

Great. Make sure you are using all log parts

yeah, i am using the same as on my modsecurity counterpart:
SecAuditLogParts ABIJDEFHZ
-> but either I am doing something wrong, or lots of fields are empty
I made a feature request and more detailed description for this in:
https://github.com/corazawaf/coraza/issues/856

closing again -> SecAuditLogType HTTPS works as intended.
Thanks!

Awesome!
On Thu, 21 Sept 2023, 08:02 amsnek, @.***> wrote:

closing again -> SecAuditLogType HTTPS works as intended.
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/issues/829#issuecomment-1728906893,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYASGG4ZOIICIU7XC72TX3PJ73ANCNFSM6AAAAAAZYBB2U4
.
You are receiving this because you commented.Message ID:
@.***>


Switch Page uuid implicitly switch contexts and browsers since Id's are now unique

Will be solved in PR #1926


SyncList only syncs the GameObject of a Struct.

Describe the bug
When a client connects, they cannot see the characteristics of the previously created items (of the clients that were already connected).
That's happening is when OnNetworkObjListCallback is called the GameObject of the new object is created, but it have not  created the NetworkObjComponent component yet, it has not synchronized on the clients yet . The targets' camera  works because it uses the Transform, which already exists.
[System.Serializable]
public struct  ObjSync
{
    public GameObject NetworkGO;

    public ObjSync(NetworkObjComponent P)
    {
        NetworkGO = P.gameObject;
    }

    public NetworkObjComponent Get()
    {
       return NetworkGO != null? NetworkGO.GetComponent<NetworkObjComponent>() : null;
    }
}

Repro project
Google Drive
To Reproduce
Steps to reproduce the behavior:

Open the attached project 'MirrorExperiment'
Build it as Standalone
Run one instance as 'LAN Server Only'
Run one instance as 'LAN Client'
Press Space Key in the Client instance to duplicate the objects.
Run another instance as 'LAN Client' and see how the Objects has not sync.

Expected behavior
The new client connecting to the game should be able to see those created objects, and not only that, if they are synchronized correctly, I could iterate the list of objects to apply some logic, but these objects do not 'exist' in the iterator (NetworkObjComponent of NetworkGO is not sync).
Screenshots
2 Clients
The first client clone one object on its instance, the second client joined to the game and see the custom sprite (not sync object), then the first client clone its objects again and the other client was able to see the new objects
Desktop (please complete the following information):

OS: Windows
Build target:  Standalone
Unity version: 2018.4.0f1
Mirror branch: From AssetStore Version 10.4.7, Mar 3, 2020

Additional context

I tried many things like dividing the logic of ObjSync into other script with its namespace.
Why the struct must have a monobehavieur? because in some games you need those Obj to function as Players that you can manage, that is, a client controlling many objects of his property.

@MayenStudios sync netIds instead, and look up the gameobject via NetworkIdentity.spawned[netId].
if you use a [SyncVar] GameObject, that's what we do behind the scenes too.
the client doesn't see everything the server sees, so there is no guarantee that syncing a GameObject that the server knows will be known on the client too. for example, if a client walks out of proximity then it becomes 'null' on the client, even though it's not null on the server.
using netId solves that because the id never gets null. it might be temporarily not possible to look it up in spawned[netId], but as soon as the client is back into proximity it will be found again.
feel free to reopen if it still doesn't work.

what would be the correct way to do it? because if I do it in the OnStartServer of the client the netId of the object that I want to synchronize will not be created yet and it will always be 0 for everyone.
I would like to donate to help me solve this problem that I have had since Unet for months.


Seeding sizeof() Error

When I run php artisan migrate --seed or php artisan db:seed --class=CountriesSeeder, an error show  to my terminal and no data inserted into the database:
In Countries.php line 43:
  sizeof(): Parameter must be an array or an object that implements Countable

Replacing line 43 of Countries.php from :
// if (sizeof($this->countries) == 0){
to :
if (is_null($this->countries) || empty($this->countries)) {
works for me.

I did that @Filimoni , but now I'm getting the following error:
Class 'Countries' not found

When is this going to be implemented in the master branch?

For me, it was a PHP version issue. I was getting the error with PHP 7.2 but not with PHP 7.1
I have both versions installed on my machine so I need to run php7.1 artisan serve

Any update on getting this merged? Its not in either branch as can be seen, as already mentioned, viewing the source on here.
Thanks


Support disabling global context and page

🚀 Feature Proposal
Apologies if there is already a way to do this. It looks like this preset spawns a new context and page for each test. Is there a way to disable this behavior ?
Motivation
There are some cases when I am testing with an unknown number of contexts and pages. This is when I have to manage their creation on my own.
Example
Maybe by setting something like that into the config file ?
module.exports = {
  page: 'none',
  browserContext: 'none'
}

Pitch
I think it would be useful for those who only need a global browser instance across tests. I'd like to hear your thoughts. I'd be happy to help by opening a PR for it.

A PR would be helpful.


Delay click a button in number of seconds

Hi there, I am using your tool and would need your help to advise how can I set delay click a button in number of seconds in a web-form, for example after 5s, the Submit button will be clicked, just enough!
Thanks in advance.

Checkout unit wait for action https://getautoclicker.com/docs/4.x/action/init-wait/


[BUG] Contract multiple files cannot be downloaded

BSC Contract multiple files cannot be downloaded

Hello, can you provide the address of the contract that cannot be downloaded?

contract link: https://bscscan.com/address/0x0C950d28D71490199efD792f64aC3D68402bCE67#code

Is it still updated?

Is it still updated?

Sorry, I've been busy lately, I'll fix it within a week

Sorry for the long wait, it has been fixed


Update netty and enable bytebuf leak detection

See commit messages for details

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed

@andreidan pushed another commit

LGTM pull request analysis was skipped for 65ae6376477f6e69cecc5f66626acd48c9e39062 by mfussenegger. Analysis of future commits will happen as normal.

Comment posted by LGTM.com

LGTM pull request analysis was skipped for 65ae6376477f6e69cecc5f66626acd48c9e39062 by mfussenegger. Analysis of future commits will happen as normal.

Comment posted by LGTM.com


Not able to import css using the scss

I am working on reactjs project where we are using the scss. I am facing issue with date picker. When I import the scss file of date picker into code. SCSS compiler will change the actual name of classes with some thing datepicker_dkfjkadjfklaj.
So here is there any way we can avoid the scss compile to change the name of classes and get the as it is into into DOM from file.
I heard some thing about the :global selectors but not sure how we can apply this.
I can understand this is not completely related to the react-datepicker. Any help for the same will much appreciate.
stakoverflow: [http://stackoverflow.com/questions/39205459/how-to-import-the-scss-library-into-code-so-that-the-classes-name-does-not-chang?noredirect=1#comment65753815_39205459]
Thank you in Advance !!!

Create an file with name Datapiecker.scss and Import that into our custom component.
in that file use the below code
:global{
 /*
 css here
copy this css from datepicker library and past here. I will appear the into DOM as it is.

*/
}


feat: specify panel names for the dashboard page

This PR allows to specify panel names (as of now, there are 3 pre-built panels that could be used) for the dashboard page.

Codecov Report

Merging #767 (a418c24) into release/v5.27.0 (eeb03d6) will decrease coverage by 0.71%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@                 Coverage Diff                 @@
##           release/v5.27.0     #767      +/-   ##
===================================================
- Coverage            77.41%   76.70%   -0.71%
===================================================
  Files                   41       41
  Lines                 2147     2181      +34
  Branches               409      416       +7
===================================================
+ Hits                  1662     1673      +11
- Misses                 456      480      +24
+ Partials                29       28       -1

Impacted Files
Coverage Δ

splunk_add_on_ucc_framework/commands/build.py
14.56% <ø> (+0.05%)
:arrow_up:

splunk_add_on_ucc_framework/dashboard.py
100.00% <100.00%> (ø)

...nk_add_on_ucc_framework/global_config_validator.py
93.36% <100.00%> (+0.75%)
:arrow_up:

... and 1 file with indirect coverage changes


Add the ability to disable automatic symlink

Hi! Thank you for the awesome action.
Could you add an option to disable symlinks? I use this action to build CMake C++ projects with different compilers and use it by simply passing -D CMAKE_C_COMPILER_LAUNCHER=buildcache to configure arguments. And when I need clang as a compiler, then I have problems with duplicate buildcache.

Hi there! I'd be happy to take a PR that implements it

Worth noting that my main use case for this action was because ccache did not support "ivfsoverlay" in Xcode for iOS projects so ccache-action was inefficient vs buildcache + buildcache-action here.
ccache now supports this mode and is thus a great deal faster than buildcache, so I probably won't even be using my own action (this one here) anymore in practice.
So I'm going to close this as I'll fix errors but enhancement requests aren't something I just want to leave sitting on the issues list.
As mentioned though, if buildcache is superior for you and you'd like this action to support it, I'd be happy to take a PR


Make the project use Java 11

Updates language and class version to Java 11 and adds bnd instructions that are now needed for compatibility.
Closes #35

As mentioned in the related ticket, I can't currently work with the master branch so I had to do it here instead. I guess we can then cherry pick.


notifications bigger than 99 get cut off, pass in larger width for th…

…ree digit numbers
https://app.clubhouse.io/augur/story/15477/show-99-if-there-are-more-than-99-notifications

Coverage remained the same at 66.592% when pulling b6071cb3a6aa3c68f0f916ae44a1472dcbf747f9 on phoebemirman/ch15477/show-99-if-there-are-more-than-99-notifications into 4b7749b4c54a3c0f3d9519164b6c1df7a9a4677e on master.


An adjustment to the 'img =' cv2 call to still execute in a different…

…/newer python environment, instead of failing
I know this is unmaintained - but just a quick n' dirty fix to still run just in case anyone else comes across this project in the future and is running a newer implementation of python/opencv, like me

Thanks 🙏


Fix camera Up axis

Hi, I found a few minor annoyances while tinkering with your otherwise excellent library. This attempts to fix one of them, I'll keep the merge requests coming if you're interested ;)
It seems that Three.js sets the wrong "up" axis for CAD-based files, so the rotation of the model is a bit awkward when displaying a gcode. This seems to fix the issue for not just GoSlice, but also for Cura and PrusaSlicer, possibly more.

Hi,
interesting, thank you!
I will test it tomorrow.
Feel free to open more PRs 👍

Released v0.4.1 with this fix, thank you :-)

Thanks! Happy to contribute.


Release Tasks 0.7.0

These are the release activities to be performed when releasing Gauge java.
Pre release

[x] Check all commits that has been added with this release and make sure the relevant issues are tested/closed.
[x] Check if all relevant tests(FTs and LSP tests on gocd, travis) are passing
[x] Check compatibility of plugin with gauge and other plugins. Make sure gauge/other plugins are released if needed
[x] Take a call on release.

Release

[x] Trigger the java-deploy pipeline
[x] Make a note of all external contributors and add thank you note in release notes
[x] Review the release notes and publish it.
[x] Make changes to gauge-repository with latest version details.

Post release

[x] Check if the latest version of the plugin is shown for gauge update -c command
[ ] Send release mail to google groups
[x] Bump up plugin version for further development

This release has some issues. The release has been reverted. We won't be sending google group emails.


Incorporating glass_type's input constraints

Since glass_type is similar to nom_thick in that the input glass type must be an instance of a set (i.e. {AN, HS, FT}). Assuming that glass_type should be updated to a ConstrainedChunk type as well, it currently isn't possible to assign physical constraints to the constrained chunk glass_type due to the fact that "AN", "HS", and "FT" are abbreviations, and therefore, symbols cannot be extracted from annealedGlass, heatSGlass, or fullyTGlass.
I considered changing the abbreviations to symbols using (for example) Atomic "AN", but even then, the type would remain CI and that wouldn't solve the issue at hand.
Should the types be changed from CI (i.e. common idea) to something else like a VarChunk so I can access the symbols? Is changing the type the best solution? @palmerst @szymczdm
(Pulled out from issue #286)

Rather than a specific type, you should consider what information is needed, and then use the classes instead.

Currently, I believe CI is an instance of the NamedIdea class, which to my knowledge never has a symbol that can be referenced, so I'm not sure how to use the class in this case...
It makes sense that AN, HS, and FT are abbreviations (i.e. are kept as Strings rather than Exprs) because these acronyms are never directly used in an equation (which comes back to being related to issue #226...) so like @JacquesCarette said, changing the type doesn't seem like the best solution either.
More directly related to this issue, for now, I created new variables using V and implemented their use in the constraints for glass_type, but it definitely needs to be improved, so left a Fixme in the comments of GlassBR\Unitals.hs
This issue closes as of commit 6ff0da2.


Link to pre-generated data sets leads to 404

Under the header Data sets in the README, the following link leads to a 404 for me
Should it lead to https://ldbcouncil.org/data-sets-surf-repository/ ?

It missed the extension. I added it, thanks!


Unify control dimensions

Currently controls have been independently styled and are therefore very disparate in terms of their dimensions. So placing these components adjacent to each other leads to a bad look. The goal is to ensure that components have consistent dimensions, mainly heights but also, if possible, widths.

Hey ! I d like to work on this one. Hopefully it could be my first contribution as an outreachy applicant?

hey dhruvkb ! I haven t heard from you yet; can I PR it?  thank you

@dhruvkb? ...

I believe @dhruvkb is traveling. @hugosolar maybe you could weigh in?

Thanks for replying to me. If @hugosolar could lead me into this issue , that d be great.
Thanks again @kgodey

@MysticNas sorry for not replying for so long, you're welcome to work on this. In fact, as a general rule of FOSS, unless someone is already working on an issue and your work would override theirs, you're always invited to contribute.

hello @dhruvkb , would it possible for you to screenshoot one of the said unconsistent controls. I m not sure which ones I should work on. Thank you.

@MysticNas the following is a table of controls and their dimensions.

Component
Height
Border

Button
35.2
1

InputField
35.2
1

SelectField
37.2
1

SwitchField
20
4

ChoiceField
24
1

Ideally these components should coalesced to a 2.25em/2.5em height scale and set to a box-sizing of border-box so that the border is factored into the height. Some fields such as the switch and choice are smaller by design, so they should use margins for alignment (or be made bigger if that looks better). They should ideally have a control.styl stylesheet to inherit from so that all the values are consistent across the system.
The goal here is to unify all these control heights and borders so that

if they happen to be inlined, all their upper and lower edges are aligned
if they happen to be stacked, all their start edges (left if LTR and right if RTL) are aligned

Hope that clarifies it!

Thank it helped.    From what I understand , the boxes I have circled in red are what you call "controls". However , I couldn't find the heights and Border measurements you mention (35.2/ 1). Could you tell me which file you saw those measurements so I know which file I should work on?  Also, It appears I should learn Vue in order to use a  "control.styl" stylesheet. I ll try my best to fiddle with this framework.

@MysticNas a control is any component that is meant to provide input to the app (such as a button or input field or switch) as opposed to a presentational component that merely shows content (such as an image view or heading). The red boxes you drew are just previews for the component allowing you to see how it looks and works in actual use.
Those measurements were taken using the box layout visualiser available in your browser’s dev tools. Try F12.
Some familiarity with Vue is essential because Vocabulary is completely built upon the framework.

With PRs #52 and #53, both SwitchField and Shield have been converted to a 36px/2.25em height. This value should therefore be taken as the de facto standard for the other controls.

This issue that has, unfortunately, been rendered irrelevant with the usage of Bulma as the base for Vocabulary. Closing.


Improve TWRI Regridding example

In GitLab by @JoerivanEngelen on Oct 19, 2023, 11:18
There are some flaws/mistakes in the TWRI Regridding example which we can improve:

The regridded plots don't seem to differ much in terms of cell size. We are going from 5000 to 3751.0/1670.0 and apparently this makes for only a subtle decrease visually.
Furthermore the dx dy in the title of the plot stay 5000 (perhaps a fix for the Regridder?), making for a very confusing plot (I first thought the example was bugged).
"TWRI Regridding" is not a very descriptive name, we'd better name it something like: "Differens ways to regrid models"
The bullet list in the introduction doesn't work unfortunately (sphinx' .rst is very picky about newlines, so probably the result of that).
post (or fix) issue on xugrid for updating dx/dy on regridding

"Furthermore the dx dy in the title of the plot stay 5000 (perhaps a fix for the Regridder?), making for a very confusing plot (I first thought the example was bugged)."
The issue here was that for some arrays the regridder is not called. For example a K-array with only a layer dimension. Such arrays carry the dx-dy  coordinates. Adding them to the dataset will update the dx/dy coordinates of the dataset. This can be fixed by removing dx/dy from layer -based arrays when regridding.


[WIP] added GitHub action support for building and testing as KCL on Linux …

1. Does this PR affect any open issues?(Y/N)

[ ] N
[x] Y

Added the Linux ci part  for issue

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.787%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2293

Relevant Lines:
2612

💛  - Coveralls

I am not sure whats wrong im doing here, according to me it should've got the Makefile from the topmost directory but it isn't  getting its location from the image it pulled from the registry of kcllang of arm64, @Peefy can you help here?

I am not sure whats wrong im doing here, according to me it should've got the Makefile from the topmost directory but it isn't getting its location from the image it pulled from the registry of kcllang of arm64, @Peefy can you help here?

Thank you for your contribution. I will take a look.

Seems to lost the checkout action:
      - name: Check out code
        uses: actions/checkout@v3
        with:
          submodules: "true"

According to the CI Run cargo is there

I am not sure why its still complaining, I also tried exporting the PATH of it explicitly after the rust toolchain installation but still didn't worked out,
Run docker run --rm --platform linux/arm64 \
/workspace/run.sh -a build
/workspace/scripts/build.sh: line 26: cargo: command not found
make: *** [Makefile:26: build] Error [1](https://github.com/kcl-lang/kcl/actions/runs/7771608343/job/21193110606?pr=1023#step:9:1)27
Error: Process completed with exit code 2.

cc @Peefy

LGTM! @octonawish-akcodes Dot worry, I'll fix it and I've merged this PR.


i18n(zh-cn): update guides/integrations-guide/node.mdx

What kind of changes does this PR include?

New or updated content
Translated content

Description

What does this PR change? Give us a brief description.
i18n(zh-cn): update guides/integrations-guide/node.mdx

@liruifengv


How to Update Bitcoin Client on ROKOS to 0.12

How to and Info:
https://bitcointalk.org/index.php?topic=1312616.msg13777205#msg13777205

will get updated and added to the tutorials to be closed after.

Tutorial added: https://github.com/okcashpro/ROKOS-OK-Bitcoin-Fullnode/tree/master/tutorials/Update Bitcoin Client-Node in ROKOS


Dynamically load country and region options in AddressForm

Type: major
Enhancement
In the meteor RC app, we grabbed available countries and region options from the db to populate the AddressForm. For the need component-library AddressForm we'd like to just dynamically load these options via a JSON file.
Expected behavior
All current RC country and region option should be available by default on the AddressBook

:tada: This issue has been resolved in version 0.31.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[XC 10.2] Remove final boost thread references in cmake & change macos boost build

Change Description
Because this could be the last boost thread reference, we need to tell cmake to still pass thread compiler flags. There is also an appbase sync in here that removes boost thread there and picks up another unsynced change.
Also, when building boost on macos, only build the libraries needed by eosio

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

Hey @spoonincode, just wanted to mention that we can use $CPU_CORE instead of the $(sysctl -in machdep.cpu.core_count).


Change .x to 0.x in set-operation tests

This makes the numbers easier to read, and also works around a julia-vscode  bug

Gentle bump