feat(protocol/protocol): Add protocol JSON deserialization library.

CI shall be fixed in consequent commits to the branch.

Could you share your motivation behind this new library package?

what other packages are going to benefit from it? what use case do you envisage it would take part in?

The only beneficiary so far is the currencies package's build script, but can be extended to cover dex too in the future, if we decide we'd like to.


scipy.stats.expon.rvs(scale=np.array([10.0, 10.0, 10.0]))  generate same values

np.random.seed(1)
scipy.stats.expon.rvs(scale=np.array([10.0, 0.1, 10.0]))
array([ 5.39605837,  0.05396058,  5.39605837])

Notice the 1st and 3rd values are equal.
Is it made by design? I felt it is very unintuitive that rvs can generate fixed results.

This reminds me of https://github.com/scipy/scipy/issues/2069.

Looks like this is the same as that.


How to use this python script ?

How to use these script ?
I am writing my own python script to upload using their api, I failed so many times, even though my thunder bird client can access the api just fine, it seems like rapidgator is blocking python mechanism, and we need to simulate click and touch,etc. Headache.

I havn't tested this, my wrapper is still in development, but have you read the documentation? https://rapidgator.net/article/api/file#upload

I havn't tested this, my wrapper is still in development, but have you read the documentation? https://rapidgator.net/article/api/file#upload

Yes, I can upload and download via api for other filehost just fine, but rapidgator reject it so many times, don't know what mechanism they are using. I tried simple get access token, it's success via postman or thunderbird client. When I create the python script to get it, it keep saying
{'response': None, 'status': 401, 'details': 'Error: Wrong e-mail or password.'}
even though details are correct.

Do you use my script and it doesn't work? Because I can login with my credentials without any problems.
Clone the repo and create a file inside with the following content:
from rapidgatorAPI import RapidgatorAPI

rg = RapidgatorAPI("email", "password")
print(rg.info())

Do you use my script and it doesn't work? Because I can login with my credentials without any problems.
Clone the repo and create a file inside with the following content:
from rapidgatorAPI import RapidgatorAPI

rg = RapidgatorAPI("email", "password")
print(rg.info())

At the beginning,  I don't know how to use your code, so I didn't tried, and somehow this code of yours is working for me. Can you give me more example on how to do file uploading on your script ?
Here is my simple code to get access token, you can try it
import requests

email = "my-email"
password = "my-password"

url = f"http://rapidgator.net/api/v2/user/login?login={email}&password={password}"

response = requests.post(url)

print(response.json())

my code always return {'response': None, 'status': 401, 'details': 'Error: Wrong e-mail or password.'} even though the credentials are correct.

What I think here is a problem of your usage of GET and POST and sending parameters with it. Sending parameters via url like login?login={email}&password={password} is possible when sending a GET request. But since you want to send a POST requests I recommend to do something like this:
import requests

params = {"login": "yourEmail", "password": "yourPassword"}
r = requests.post("https://rapidgator.net/api/v2/user/login", data=params)
print(r.json())

You can upload with my script, I just tested it. Please pull the newest changes.
I created a file upload_test.txt with some text inside and ran the following code:
from rapidgatorAPI import RapidgatorAPI
import hashlib
import os
import requests

rg = RapidgatorAPI("myEmail", "myPassword")
print(rg.info())

sha1 = hashlib.md5()
with open("upload_test.txt", 'rb') as f:
    while True:
        data = f.read(65536)
        if not data:
            break
        sha1.update(data)

size = os.path.getsize("upload_test.txt")
upload = rg.file_upload("upload_test.txt", sha1.hexdigest(), size) # prepare upload

# make upload to a URL which was specified in the previous API call
files = {'file': open('upload_test.txt', 'rb')}
r = requests.post(upload.url, files=files)

print(rg.file_upload_info(upload.upload_id)) # check the status of the upload

You can upload with my script, I just tested it. Please pull the newest changes.
I created a file upload_test.txt with some text inside and ran the following code:
from rapidgatorAPI import RapidgatorAPI
import hashlib
import os
import requests

rg = RapidgatorAPI("myEmail", "myPassword")
print(rg.info())

sha1 = hashlib.md5()
with open("upload_test.txt", 'rb') as f:
    while True:
        data = f.read(65536)
        if not data:
            break
        sha1.update(data)

size = os.path.getsize("upload_test.txt")
upload = rg.file_upload("upload_test.txt", sha1.hexdigest(), size) # prepare upload

# make upload to a URL which was specified in the previous API call
files = {'file': open('upload_test.txt', 'rb')}
r = requests.post(upload.url, files=files)

print(rg.file_upload_info(upload.upload_id)) # check the status of the upload

I know what's wrong now, I contact rapidgator support few days ago, and apparently it was my password is the problem because it contains a lot of symbols @#,,etc.. so direct request to the url doesn't work, and need to use urlencode to the params. After I changed my password to something without symbols, it just worked or use urlencode method, it just works without problem now. Btw, your script is giving me error after showing rg.info
Traceback (most recent call last):
  File "/root/python/rapidgatorAPI/rg.py", line 22, in <module>
    r = requests.post(upload.url, files=files)
  File "/root/myenv/lib/python3.10/site-packages/requests/api.py", line 115, in post
    return request("post", url, data=data, json=json, **kwargs)
  File "/root/myenv/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/root/myenv/lib/python3.10/site-packages/requests/sessions.py", line 575, in request
    prep = self.prepare_request(req)
  File "/root/myenv/lib/python3.10/site-packages/requests/sessions.py", line 486, in prepare_request
    p.prepare(
  File "/root/myenv/lib/python3.10/site-packages/requests/models.py", line 368, in prepare
    self.prepare_url(url, params)
  File "/root/myenv/lib/python3.10/site-packages/requests/models.py", line 439, in prepare_url
    raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?

Anyway I will write my own script now for what I need.

The error you see looks like something was wrong with the file_upload function and it didn't return a link. You could do a print(upload) to get some more information

The error you see looks like something was wrong with the file_upload function and it didn't return a link.


single image upload(preview is not updated )

I have used this module for single image upload. At first i choose an image, its preview is here. But when I choose another file , preview is not updated in view side. please help

If you have set [max]="1" it will stop you from upload another image until the component is destroyed, or the image is cleared using the available methods.


define how to encode a DN into a URI

In order to support SAML and Certificate "issuer" being recorded in an Identifier.system; the DN encoding must be converted into a URL. The LDAP encoding is used in the examples, but this was never explained in the narrative or profile.
https://www.rfc-editor.org/rfc/rfc4516

details were requested by @ElliotSilver

used by #82


Move YAML dependency to compile sub-package

This package might work well compiled to wasm, but I'll want to reduce the dependencies as much as possible. Currently the yaml package is used in internal/types (which is required by all the packages), but it's only needed for the compile package.
To move this out I'll need to create a type alias for Postcard (and all its dependent structs), implement the UnmarshalYAML on those, and then convert to types.Postcard as part of reading the metadata from .yaml files.

Moved to Linear


ListView.builder builds unecessary items when using ScrollController

When calling the method "jumpTo" on the ScrollController, the ListView builds every item between the current position and the "scrollTo" position;
This code snippet shows the problem. In the log, it will print every item , from 0 to 10000, wich takes a loooong time to run and freezes the entire application.
The desired behavior should be the list building only the last elements of the list.
class TestListViewBuilder extends StatelessWidget {
  final _values = List.generate(10000, (index) => index);
  final _controller = ScrollController();

  @override
  Widget build(BuildContext context) {
    return Column(
      children: <Widget>[
        RaisedButton(
          child: Text("Go to bottom"),
          onPressed: () {
            _controller.jumpTo(_controller.position.maxScrollExtent);
          },
        ),
        Expanded(
          child: ListView.builder(
            controller: _controller,
            itemBuilder: (context, index) {
              print("Building index $index");
              return ListTile(title: Text("Index $index"));
            },
            itemCount: _values.length,
          ),
        ),
      ],
    );
  }
}

Flutter doctor:
[√] Flutter (Channel unknown, v0.11.9, on Microsoft Windows [versÃ£o 10.0.17134.407], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[√] Android Studio (version 3.2)
[√] IntelliJ IDEA Community Edition (version 2018.3)
[√] Connected device (1 available)

• No issues found!

#21023 looks somewhat related.

The intermediate list items are built because ListView doesn't now how big they are; so to scroll to the end it needs to layout them all out, one at a time...
You can avoid the problem by specifying itemExtent, which means that all of the items have the same height.  In this case itemExtent: 56.0 should DTRT.

But some cases we can't specify the itemExtent, since the item iteself is dynamic.
Think for example in a log list: a lot of lines of text are being added to it each second. Some lines of text are bigger than others.

So, that mean that it is impossible to do it? There is not another workaround?

To display very large list of arbitrary sized items that supports scrolling to an arbitrary offset in something like constant time, you'd have to build a custom scrolling container that could take advantage of app-specific constraints that applied to the distribution of item sizes.

#12319 is about scrolling to an index

I am even seeing this happen when you set a PageStorageKey to a CustomScrollView. Switch back to the same widget and when flutter tries to preserve the scroll position, it builds all the items from the beginning. So, if you had 5000 items in your ScrollView, and you are at 4998th one, for example, it is rebuilding all items from the beginning till 4998th item. Also, during that process, I am seeing an increased memory pressure, like its shoots memory usage from say 15mb to 400 mb and when you scroll up or down for some time, it comes back to normal. But I think on devices where memory is limited, you may see Out Of memory exception. I tested with very small items say 50 characters each. So, if you have images or more stuff on each item, surely memory can shoot event more.
I think we need to have a solution for this. Any plans on fixing this?

Persists with dev v1.16.4-pre.33

To display very large list of arbitrary sized items that supports scrolling to an arbitrary offset in something like constant time, you'd have to build a custom scrolling container that could take advantage of app-specific constraints that applied to the distribution of item sizes.

It feels like there is a middle ground here, a non app-specific method where the app-developer could aid the list in it's calculations... Anything to avoid doing a full build and layout pass on each element.
Thinking something like a measure function we could provide.
extentCalculator: (i) => return item.desc != null? 100 : 70;

We could then come up with novel ways of calculating our expected heights, without the list needing to actually lay everything out.
Note that this will become more and more of an issue, ad Desktop and Web apps roll out, with scrollbars that use JumpTo constantly with very large delta's ( as opposed to finger scrolling )

This seems to be the same issue as https://github.com/flutter/flutter/issues/52207

Please follow up on https://github.com/flutter/flutter/issues/52207,
closing current issue as duplicate,
if you disagree please write in the comments and I will reopen it


Update notepadplusplus to v7.0

Notepad++ v.7.0 was released. Major change is Notepad++ support x64.
Link to release notes - https://notepad-plus-plus.org/download/v7.html
Thank you.

Implemented in this PR: https://github.com/chocolatey/chocolatey-coreteampackages/pull/321

@pantosha this has just been pushed to chocolatey.org, and is currently going through moderation.

Ok, thank you!


read in splits from environment instead of inferring from files

By setting $PARALLELISM_JOB_NAME environment variables, we configure the number of splits for test-boosters to use rather than inferring this setting from the number of test reports found. This allows us to generate the split configuration right before running tests.

 Move parallel spec split configuration generation to the beginning of the pipeline


default license

I would like to request a default license for this project. You have MIT license on other projects. No license means that code is copyrighted (at least in some countries)

+1
I see, that you did not did anything on this project for a while.
That's absolute fine, most of us have family, friends and work.
But please consider just quickly drop a license into the code.
As geotaxis mentions you're already using the MIT license in some of your project.
That what absolutely fit our needs, I hope it does yours, too.

Hi,
I've included the MIT license file in v0.2.1.
Please let me know if something else is needed.
Thanks.

It's fine for me now.
Thank you for your quick response.


Prevent goto definition when trying to copy

Hi !
I posted in the closed issue #189 but nobody replied after 4 days..
So I create a new one so I can get some help with that.
I wanna know if it's possible to disable the goToDefinition bind to Ctrl + Click ?
 Every time I copy/paste I end up to somewhere else in the code...
Since I'm not using the goToDefinition, I wanna disable it.
Tried to overwrite the key bind like someone said on my stackoverflow  post :
{ "key": "ctrl+[mouse button]",   "command": "cursorWordLeft",
                                         "when": "editorTextFocus" }

But it didn't work...
I need some help please !

try { "key": "ctrl+[mouse button]",   "command": "-cursorWordLeft" }

Still doesn't work

@alexandrudima not sure if you or @jrieken with his new menu support.

How long is going to take to this feature be done ?
At least a month ? more ? Will it be done ?

@jbeaudoin11 can you give me more details how you are still able to reproduce this issue?

Pushed a change to stop the goto definition procedure if you change the cursor position while having Ctrl-key down. This should handle the case where you start to drag over the word to select the portion to copy.

@bpasero Alright ! can't wait to next update ! :)

It should be available tomorrow already from our insider builds, but I need to do some more testing on Windows and Linux that I did not break this feature entirely.

@bpasero Installed the insider builds and it's looking so much better now god you're my hero <3

Verified by user adding verified tag

@bpasero What about ctrl + db click (for selection) + c/v

Uh double click is tricky and I see the issue. Is it as annoying as this issue was?

@bpasero i didn't test it a lot for now. But as i know its  probably not as annoying as the other one !
From what i have seen its working very good at the moment.

OK good, I am not sure how to fix the double click thing...

@bpasero I just updated to new insiders version it doesn't work anymore ! :'(

@bpasero Doesn't work in html files. When i try it on a file link it just pop me the file.

@jbeaudoin11 yes, my solution has nothing to do with links in the editor, I suggest you open a separate issue for that.

ctrl+click does not select a word in VS Code. Currently, only double click does word selection. #3130 tracks that mouse bindings can be customized.


Translatable BootForms package

Hi
I just created a package to have BootForms work flawlessly with Dimsav's Translatable package.
https://github.com/Propaganistas/Laravel-Translatable-Bootforms
Maybe you could add a reference in the README if you like since this is a rather common use case for many developers.
Cheers.

Very cool! Added to the readme.


[CERT-TEST-FAILURE] Test_TC_CC_5_3 Min/Max values checked in step 3d and 3c are the same which fails transitions

Feature Area
Other
Test Case
TC_CC_5_3
Reproduction steps
The testcase Test_TC_CC_5_3 is testing some hiue and saturation transitions. Here in step 3c some values are checked after 10s of transitionioning. Then it waits another 5s and checks in 3d again ... but here the same values are used which indeed fails becaus ethe transition is 5s further in time.
https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_CC_5_3.yaml#L154-L170
When I use the same rate for min/max used between 3b->3c and half them I come to the followijg boundaries
    - label: "Step 3d: TH reads CurrentX attribute from DUT"
      command: "readAttribute"
      PICS: CC.S.F03 && CC.S.A0003 && CC.S.C08.Rsp
      attribute: "CurrentX"
      response:
          constraints:
              minValue: 5925
              maxValue: 10075

    - label: "Step 3d: TH reads CurrentY attribute from DUT"
      command: "readAttribute"
      PICS: CC.S.F03 && CC.S.A0004 && CC.S.C08.Rsp
      attribute: "CurrentY"
      response:
          constraints:
              minValue: 10850
              maxValue: 14150

I came across this while implementing ColorControl for matter.js.
Here the values while checking 3b are:

currentX: 13000
currentY: 14000

And in 3d they are:

currentX: 8000
currentY: 12500

Bug prevalence
always for me
GitHub hash of the SDK that was being used
master
Platform
core
Anything else?
The other question would be why chip tool tests in CI did not have the same issue, unless they somehow transition differently (which would be very strange).

Hmm, looking at the test plan it seems to indicate that the transition/step should end at 3c. 3a starts the step with a transition of 20s and both 3b and 3c waits for 10s respectively, so once 3d have waited 5s it should not have changed from 3c. With that said, there does seems to be a slight discrepancy between the ranges mentioned in some of the steps and what is used in the yaml script e.g. 3b and 3d 🤔
But I do think that the transition should stop for 3c so while the range does not match the test plan, I do think the intention of verifying the transition has stopped is okay.

Hm ... Ohh you are right ... I somehow missed the 20s and read 30s ... hhm ... ok ... I found a bug in my Step implementation. Thank you very much! Then this test is completely fine for now!


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

4208725: The 14 tokens listed in the diff below had identical values between sets and so were merged to single values to simplify the data.
Token Diff
Tokens values update (14):

accordion-disclosure-indicator-to-text
accordion-edge-to-disclosure-indicator
accordion-edge-to-text
accordion-focus-indicator-gap
accordion-top-to-text-compact-medium
accordion-top-to-text-compact-small
action-button-edge-to-hold-icon-extra-small
action-button-edge-to-hold-icon-small
asterisk-icon-size-75
corner-radius-75
drop-shadow-x
field-label-top-margin-small
status-light-dot-size-small
table-edge-to-content

Run report for 72749510
Total time: 29.2s | Comparison time: 28.3s | Estimated loss: 862.4ms (3.0% slower)

Action
Time
Status
Info

🟩
SyncWorkspace
0ms
Passed

⬛
SetupNodeTool(18.13.0)
1.1s
Skipped

🟩
InstallNodeDeps(18.13.0)
8.3s
Passed

🟩
SyncNodeProject(tokens)
0.2ms
Passed

🟩
RunTask(tokens:buildTokens)
17.6s
Passed

🟩
RunTask(tokens:buildManifest)
245.3ms
Passed

🟩
RunTask(tokens:build)
2.3s
Passed

🟩
RunTask(tokens:generateDiffResult)
2.2s
Passed

Touched files
.changeset/beige-hats-taste.md
packages/tokens/CHANGELOG.md
packages/tokens/package.json


Add string builtin.

Add new string builtin.

Thanks, you rock! :rocket:

@davidcelis could you publish this change? I have v1.0.3 and string is not highlighted.

@laughedelic Done! Sorry about the delay.


 Maximum call stack size exceeded

  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2020-10-22T20_11_22_688Z-debug.log
  The command '/bin/sh -c npm install' returned a non-zero code: 1

  Warning: Docker build failed with exit code 1, back off 5.674 seconds before retry.
  /usr/bin/docker build -t 1e5c35:7e9a42bda5f342b6826dfc8bf138c073 -f "/home/runner/work/_actions/yogevbd/enforce-label-action/2.1.0/Dockerfile" "/home/runner/work/_actions/yogevbd/enforce-label-action/2.1.0"
  Sending build context to Docker daemon  34.82kB

  Step 1/5 : FROM node:slim
   ---> 2870b8b46426
  Step 2/5 : COPY . .
   ---> Using cache
   ---> 25ccac34cace
  Step 3/5 : RUN npm install
   ---> Running in bef7a0bd6a8e
  npm notice
  npm notice New patch version of npm available! 7.0.2 -> 7.0.3
  npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.0.3>
  npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
  npm notice
  npm ERR! Maximum call stack size exceeded

  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2020-10-22T20_11_29_484Z-debug.log
  The command '/bin/sh -c npm install' returned a non-zero code: 1

  Warning: Docker build failed with exit code 1, back off 8.691 seconds before retry.
  /usr/bin/docker build -t 1e5c35:7e9a42bda5f342b6826dfc8bf138c073 -f "/home/runner/work/_actions/yogevbd/enforce-label-action/2.1.0/Dockerfile" "/home/runner/work/_actions/yogevbd/enforce-label-action/2.1.0"
  Sending build context to Docker daemon  34.82kB

  Step 1/5 : FROM node:slim
   ---> 2870b8b46426
  Step 2/5 : COPY . .
   ---> Using cache
   ---> 25ccac34cace
  Step 3/5 : RUN npm install
   ---> Running in dafd0a28c9fa
  npm notice
  npm notice New patch version of npm available! 7.0.2 -> 7.0.3
  npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.0.3>
  npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
  npm notice
  npm ERR! Maximum call stack size exceeded

  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2020-10-22T20_11_39_400Z-debug.log
  The command '/bin/sh -c npm install' returned a non-zero code: 1

Error: Docker build failed with exit code

Started to experience the same thing today. Came here to report it so glad to see I'm not the only one. @yogevbd any idea what may be going on here?

Thanks @yogevbd !


Fix cleanup of non-py-object constants on module close

Another thing uncovered by https://github.com/cython/cython/pull/5261
Not all py_constants are actually py_constants so they need to be checked before generating clean-up code.
In this case integer function argument defaults look to be being added to py_constants.
This possibly isn't the right place to fix it though, so I'm open to other suggestions

This possibly isn't the right place to fix it though, so I'm open to other suggestions

Yes, it seems surprising to keep non-Python constants in py_constants, and leads to broken code like this. I'm fine with using this as a quick-fix, but you're right, this is worth cleaning up.

 The related tests in https://github.com/cython/cython/pull/5261 still seem to fail.

You were probably referring to this, right?
typeddefaultargT373.c: In function ‘__pyx_m_clear’:
/opt/hostedtoolcache/Python/3.6.15/x64/include/python3.6m/object.h:834:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         PyObject *_py_tmp = (PyObject *)(op);   \
                             ^
typeddefaultargT373.c:2118:3: note: in expansion of macro ‘Py_CLEAR’
   Py_CLEAR(clear_module_state->__pyx_k_);
   ^~~~~~~~
/opt/hostedtoolcache/Python/3.6.15/x64/include/python3.6m/object.h:836:18: warning: assignment to ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
             (op) = NULL;                        \
                  ^
typeddefaultargT373.c:2118:3: note: in expansion of macro ‘Py_CLEAR’
   Py_CLEAR(clear_module_state->__pyx_k_);
   ^~~~~~~~
In file included from /opt/hostedtoolcache/Python/3.6.15/x64/include/python3.6m/Python.h:81,
                 from typeddefaultargT373.c:16:
typeddefaultargT373.c: In function ‘__pyx_m_traverse’:
/opt/hostedtoolcache/Python/3.6.15/x64/include/python3.6m/objimpl.h:354:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             int vret = visit((PyObject *)(op), arg);                    \
                              ^
typeddefaultargT373.c:2189:3: note: in expansion of macro ‘Py_VISIT’
   Py_VISIT(traverse_module_state->__pyx_k_);
   ^~~~~~~~

Hmm, was this actually a complete fix? The related tests in #5261 still seem to fail.

I'll check later, but I don't think I pushed this commit to #5261. So it could just be that.

You were probably referring to this, right?

Yes.
There's a remaining bug I'm aware of to do with access to module state on interpreter shutdown when cleaning up these modules. But I don't think that's fixable in 3.0 (just because it's a big changes)


change the name of the package and make a Release.

Hi, thanks for your work. I would like to use it in a project, because this repo is the access to RML when using python.
But there is no Release, there is no pypi upload. So one can only install an unstable branch directly from github.
Also there cannot be a pypi upload because there is already a package with this name:
https://pypi.org/project/pyrml/
So I would suggestion you consider a name change, prior a Release.
Beste regards

Hi @broeder-j,
thanks for your comment and sorry for the late reply.
Do you want to help us and contribute to PyRML by adding the feature you are suggesting?


[sc-156707] Info on publishing the action

contributing guidelines taken from SDK repo
split out development into it's own file


interactive bots: Create giphy bot.

Add giphy bot using giphy's translate API as used in Slack and other chat integration.

(In the screenshot, I created giphy bot account to run this interactive bot)
All reviews will be appreciated! :smile:

Automated message from Dropbox CLA bot
@rafidaslam, it looks like you've already signed the Dropbox CLA. Thanks!

Ok thanks !

Updated @femnad

@showell Updated :+1:

Thanks @trueskawka !

@rafidaslam @trueskawka I was looking at this PR since it is the only bot in the PRs and I can't help but question why you changed run.py since if this is changed, then ALL bots' run.py will have to be changed. This would cause a lot of problems. If I am not understanding something, please correct me.

@lonerz yeah, it's cannot merged now until https://github.com/zulip/zulip/pull/2671 is merged. The reason I do this is because I need information about bot is mentioned or not. If pull request about API is merged, I'll not change run.py in this pull request :+1:

@lonerz this is a non-breaking change to run.py, since it enhances it with functionality that could also be useful for other bots. Why do you think it would cause problems?

@trueskawka Ah, I see.

Updated.

Updated

Updated

@showell updated

Thanks for the review @femnad  !

@femnad updated :+1:

@femnad Updated

@femnad updated

OK, per @showell's comment I'm convinced that the file checking logic should stay where it is.
So, this looks great, thank you for the great job. Someone with fresh eyes might have other comments but I 'd like to accept the task now.

Thanks @femnad !, if there any comments about make change on this pr, I could do it..

@rafidaslam Can you rebase and make sure you update all of the bots to accept "client"?  Did you update virtual_fs.py?  I think this may be the last thing we need to fix.

@showell Updated, and sorry I forgot to add client arg in those bots, because I think those are not bots.

This is ready to merge.  I'm waiting for Monday morning PST to merge it, just because the addition of the "client" parameter may confuse other folks who rebase to this.

I, along with some other devs, would really like this feature to be merged. Would it be possible to do that? Or are we avoiding merge conflicts and would recommend that I just download this version of run.py?

I merged this code via another PR.  Closing.  thanks @rafidaslam


fixing things

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sharepointoscar
If they are not already assigned, you can assign the PR to them by writing /assign @sharepointoscar in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

:star: PR built and available in a preview environment jenkins-oscar-rollout-app-pr-5 here

:star: PR built and available in a preview environment jenkins-oscar-rollout-app-pr-5 here

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sharepointoscar
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [sharepointoscar]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


M2 features

Parser and UI Implementation

Parameters
Memo
Spend
Output
Swap
ICS-20 Withdrawal

Effect hash computation
Spend authorization signature
Updated icons

On crypto.c, I see we are caching the keys, but I don't see where we unset the cache
if (!fvk_cached_set) {
        // Compute seed
        CATCH_ZX_ERROR(computeSpendKey(&keys));

        // use seed to compute viewieng keys
        CATCH_ZX_ERROR(compute_keys(&keys));

        // Copy keys
        CATCH_ZX_ERROR(copyKeys(&keys, Fvk, output, len, cmdResponseLen));

        MEMCPY(fvk_cached, keys.fvk, FVK_LEN);

        fvk_cached_set = true;
    } else {
        MEMCPY(output, fvk_cached, FVK_LEN);
    }

On coin.h, the ticket is "penumbra". I think it should be UM
#define COIN_TICKER "penumbra"

On ICS20 transfers, are we holding a list of supported tokens, or anything like that? I wonder how we handling amount formatting, and tickers

On zemu tests, for show address randomized, on flex/stax we see "sub account # 1" when the device allows you to display it as a QR code... later you see the address. Is that correct? It seems a bit weird

For unknown assets, what we usually do is to display the asset id in a different page, not in the same where the fee value is displayed. It is a bit hard to read the fee alongside with the token asset id (taken from zemu images to)

On zemu tests, for show address randomized, on flex/stax we see "sub account # 1" when the device allows you to display it as a QR code... later you see the address. Is that correct? It seems a bit weird

Yes, that was a request from them, to display sub-account #address_index

For unknown assets, what we usually do is to display the asset id in a different page, not in the same where the fee value is displayed. It is a bit hard to read the fee alongside with the token asset id (taken from zemu images to)

I think the same, but that is the specific UI they requested in the test vectors
like everything in the same line.

From past experience, I think we will need to leave the unknown asset ids under expert mode, as ledger won't accept those long asset ids as clear signing. If expert mode is not enabled, we should reject the tx with a specific error


Define details about container hash

In the container schema, the following item is defined:
  "sha2": {
      "description": "Commit hash of image created for docker or the SHA256 hash of the container. For example: a3bf90e006b2.",
      "group": "context",
      "requirement": "optional"
    },

The field "sha2" is ambiguous in a few respects:

the hash should be of the container image, not the container itself.
sha2 itself is a set of six cryptographic hash functions: SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256. Some of these hashed have the same output size, so you can't always meaningfully tell them apart.
The encoding should be explicitly defined. Hex is probably the most common, but there are other candidates that yield shorter strings.

Finally, it may make sense to define this as a set of hashes. If sha256 is broken, it'll be easier to adapt to a set of hashes rather than a specifically hard coded value. One good example we can follow is from the In-Toto project where hashes are presented in a dictionary object with each hash explicitly listed, rather than attached to the root object. See https://github.com/in-toto/docs/blob/v0.9/in-toto-spec.md#421-hash-object-format for more information.
Hope this all helps! I'm happy to open these changes as a pull request if that would be useful.

Also, it would be helpful to list both the container id and image id explicitly when available rather than combine them into a single field where they can be either.

here is the spec for ImageID:  https://github.com/opencontainers/image-spec/blob/main/config.md#imageid

We should use the fingerprint instead of sha1, shar2, etc.

Cleaned up thanks to @rroupski 's work above.


Suggestion: Add Effects.call type

Some sync tasks such as access localStorage, call history method are also side effect.
Now we only can use the Effects.promise to do some stuff. It works but a bit strange.
e.g.
// reducer
export default (state, action) => {
  if (action.type === 'SAVE_ACCESS_TOKEN') {
    return loop(
      state
    ,
      Effects.promise(saveAccessToken, action.accessToken)
      // Effects.call(saveAccessToken, action.accessToken)
    );
  }
  return loop(state, Effects.none());
}

// tasks
export saveAccessToken = (accessToken) => {
  localStorage.accessToken = accessToken;
  return Promise.resolve({type: 'SAVE_ACCESS_TOKEN_SUCCESS'});
  // return {type: 'SAVE_ACCESS_TOKEN_SUCCESS'};
}

:+1: definitely, good idea!

@jarvisaoieong do you want to submit a PR?


Update tutorial

Tutorial should be based on calypso UI. The idea is to not make the API public, so we should be able to iterate it in the future.

The first tutorial should be based on creating a new project from scratch, not importing a project from a existing repository nor migrating an existing project to cargo


Docker updates

@kiritigowda Removes  --usecase=graphics from all dockerfiles as mentioned in  issue #147
Updates some old libraries
removes cupy from pytorch docker, since it doesn't depend on it

@LakshmiKumar23 -- let me add the va-drivers link to TOT develop and I will merge this change
Issue #147

@LakshmiKumar23 can you please resolve conflicts

@LakshmiKumar23 can you please resolve conflicts

@kiritigowda done, can you check again?


App is authorised after permission is revoked, without showing auth popup

SAFE Browser DEV build, and run with --debug option (v0.11.1 the version released today).
OS: Linux Ubuntu 18.10
Using SAFE Drive as the app (not tried with WHM), and run with NODE_ENV=test
If the authenticator padlock is 'closed' all seems well.
If the authenticator padlock is 'open', and I have revoked app permissions, the app is automatically authorised without the auth popup appearing.
What should happen is that the auth popup is shown so that the user gets to accept or deny (re)auth of the app.

Closing legacy issues - seems this was only the dev build, so no longer applicable


fix: use resolove to find imports in tests

testing changes referenced in code review for #714
This changes test imports to use resolve so that they can be run more easily from IDEs and tools
such as wallaby.js. Based on my testing, this looks like a safe change to make, and all tests pass
in VSCode, with node test, and in Wallaby.JS (running inside VSCode).

@safarmer thank you for the contribution, 👍. Do feel free to add a blurb in a testing section in the README for me to review.

@safarmer thank you for the contribution, 👍. Do feel free to add a blurb in a testing section in the README for me to review.

@safarmer to land this again, I think we could actually potentially keep the resolve for tests, but anything actually in code needs to use the relative path.
I'm curious what other libraries might be doing that load package.json for version.


Adding Network: metadata to the stream if buffer is on

Is your feature request related to a problem? Please describe.
Post processing often makes use of metadata from the stream for identifying what kind of processing to do for which streams.
Describe the solution you'd like
"Network:" metadata to be added to the stream with the channel name.
I'm aware that this would only be possible when xTeVe is set with buffering enabled.

What exactly do you mean?
xTeVe does not use a video framework to read or modify metadata.

Oh, I thought the buffering feature were treating the stream using ffmpeg or so?
How is the buffering feature provided?

The data is cached and forwarded to the client when the buffer size is reached. All client connections are monitored to allow re-streaming.

I see. So no possibility to modify the stream adding metadata?

No, xTeVe does not even know what a video stream is.


Internal errors

[ ] http://dodona.ugent.be/en/submissions/6679486
[ ] http://dodona.ugent.be/en/submissions/6679565
[ ] http://dodona.ugent.be/en/submissions/6679583

Same as #50


data race in agent tests

Still hapenning
msg="map[08eeea6ab9fd9a32c681e44ff4c2c27ae20cf45f9553d42b5e250df41a79632c:1i1]"
==================
WARNING: DATA RACE
Write at 0x00c4203bf1a0 by goroutine 65:
  github.com/rancher/agent/service/hostapi/stats.getContainerStats.func1()
      github.com/rancher/agent/service/hostapi/stats/_test/_obj_test/common.go:64 +0x35f
Previous read at 0x00c4203bf1a0 by goroutine 59:
  github.com/rancher/agent/service/hostapi/stats.getContainerStats()
      github.com/rancher/agent/service/hostapi/stats/_test/_obj_test/common.go:82 +0x37d
  github.com/rancher/agent/service/hostapi/stats.getAllDockerContainers()
      github.com/rancher/agent/service/hostapi/stats/_test/_obj_test/get_stats.go:100 +0x19c
  github.com/rancher/agent/service/hostapi/stats.(*ContainerStatsHandler).Handle()
      github.com/rancher/agent/service/hostapi/stats/_test/_obj_test/container_stats.go:219 +0x2481
Goroutine 65 (running) created at:
  github.com/rancher/agent/service/hostapi/stats.getContainerStats()
      github.com/rancher/agent/service/hostapi/stats/_test/_obj_test/common.go:67 +0x23d
  github.com/rancher/agent/service/hostapi/stats.getAllDockerContainers()
      github.com/rancher/agent/service/hostapi/stats/_test/_obj_test/get_stats.go:100 +0x19c
  github.com/rancher/agent/service/hostapi/stats.(*ContainerStatsHandler).Handle()
      github.com/rancher/agent/service/hostapi/stats/_test/_obj_test/container_stats.go:219 +0x2481
Goroutine 59 (running) created at:
  github.com/rancher/agent/vendor/github.com/rancher/websocket-proxy/backend.connectToProxyWS()
      /go/src/github.com/rancher/agent/vendor/github.com/rancher/websocket-proxy/backend/backend.go:82 +0xbe1
  github.com/rancher/agent/vendor/github.com/rancher/websocket-proxy/backend.ConnectToProxy()
      /go/src/github.com/rancher/agent/vendor/github.com/rancher/websocket-proxy/backend/backend.go:33 +0x4af
==================
PASS
coverage: 72.7% of statements
Found 1 data race(s)
FAIL github.com/rancher/agent/service/hostapi/stats 16.440s

The logic in that function is very wrong. Needs completely reworked. The race is in reading from the buffer, not the place where I previously added the mutex (maybe that was also causing a race).

https://github.com/rancher/agent/pull/134

close it for now until we see that happens again in ci.


Update TOC.yml

Hi @theovankraay - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. Would you make this content update in the private repo instead? Thank you! We'll close this PR.


Use SSL_get_error, not SSL_write rc for SSL_ERROR_WANT_* check

Description
Based on OpenSSL documentation, when SSL_write and SSL_read return a negative return code, we should use SSL_get_error to get the error code to compare with SSL_ERROR_WANT_READ and SSL_ERROR_WANT_READ.
Testing SSL_ERROR_WANT_READ and SSL_ERROR_WANT_READ (which are both positive values) against a negative return value of SSL_write and SSL_read will never return true.
This same change also needs to be done in SSLService.recv() after SSL_read. But when I tried that, Socket.isReadableOrWritable() kept returning false and so wait(forRead:) looped forever and caused the request to hang. It probably needs some additional fixes there before the SSLService.recv() fix can be done.
Motivation and Context
IBM-Swift/Kitura#1036
How Has This Been Tested?

Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

Rejecting this PR in favor of a more comprehensive fix.


Examples of temp table for window function

Fixes #830

Hi @begriffs
Following query is not supported since it has a partition by window clause on a non-distribution column. Docs say say that github_events table is distributed along repo_id column query needed to be modified. So I added event_type column to the query. This is not the best looking query, feel free to use a different column. Make sure that window function's partition by clause uses a non-distribution column like below.
SELECT event_type, repo_id, org->'id' as org_id, count(*)
  OVER (PARTITION BY event_type) -- event_type is not distribution column
  FROM github_events
 WHERE repo_id IN (8514, 15435, 19438, 21692);

This query will result in
ERROR:  could not run distributed query because the window function that is used cannot be pushed down
HINT:  Window functions are supported in two ways. Either add an equality filter on the distributed tables' partition column or use the window functions with a PARTITION BY clause containing the distribution column

It could be executed by using a temp table.

 CREATE TEMP TABLE results AS (
  SELECT event_type, repo_id, org->'id' as org_id
    FROM github_events
   WHERE repo_id IN (8514, 15435, 19438, 21692)
);

-- now run the aggregate locally
SELECT event_type, repo_id, org_id, count(*)
  OVER (PARTITION BY event_type)
  FROM results;

As I said below, feel free to change the query as you like key point is that the part OVER (PARTITION BY <column>) must include a non-distribution column.

Docs say say that github_events table is distributed along repo_id

@mtuncer interesting, I see that in some places in the docs we distribute github_events by repo_id, and in other places (like the realtime tutorial) we do it by user_id.
I provided a link in this workarounds section to the realtime tutorial definition so that the examples work. Perhaps we want to standardize the example across the docs later though...


Dataset can only by warped by a point data array.

Hi,
Could you please help figure what caused the error message below?
Thanks
warped = dem.warp_by_scalar(scale_factor=300.)
File "C:\Users\User\anaconda3\lib\site-packages\pyvista\core\filters.py", line 1135, in warp_by_scalar
raise TypeError('Dataset can only by warped by a point data array.')
TypeError: Dataset can only by warped by a point data array.

Hi this isn’t a PVGeo issue but a PyVista topic. I’d recommend heading to this forum next time: https://github.com/pyvista/pyvista-support
But to answer your question, the error message is pretty telling. The warp_by_scalar filter in PyVista can only warp by point data. You must have cell data. Try running .cell_data_to_point_data() first. E.g.:
warped = dem.cell_data_to_point_data().warp_by_scalar(scale_factor=300.)

Or because that method is so common, we’ve aliased it:
warped = dem.ctp().warp_by_scalar(scale_factor=300.)

I’d recommend reading the docs for PyVista to understand the data structures you are working with: https://docs.pyvista.org/getting-started/what-is-a-mesh.html

Specifically, this is the filter you are using: https://docs.pyvista.org/core/filters.html#pyvista.DataSetFilters.warp_by_scalar


Packaging for v0.1

Minimal build with pyproject.toml, setuptools and 'build'
Don't have to have automation yet.

#35 fixed


<EMAIL_ADDRESS>Update persistence

Updating the persistence of Rider.
Closes #13807

[x] I have read the Contributing Guide.

/verify


[Proposal]Keep the documents updated

💥 Proposal

Keep the documents updated so that other devops or  developers can test aleo programs synchronously

this is very important for updating your project documents, It seems like a shit for devlopement

Closing, as the issue has been resolved with team documentation and community i18n efforts.


Favicon: Basic drawing tool

Additionally to a Upload favicon option https://github.com/beakerbrowser/beaker/issues/875, I think that a favicon editor could be interesting and coherent with the use of Beaker: I am sometimes frustated not to be able to adapt my favicon to the page / site I publish with beaker. Sometimes, a basic red square or a yellow circle would fit perfectly.

Such an editor could be found under a Create your icon button, open a tooltip with the minimum tools required to make basic 16×16px art updated in real time in the current tab. The submission of the drawing create a favicon.ico at the root of the site folder.
Possible issue: the ico format embed more than just a 16×16px drawing. Filling all the formats can lead to an exercise with no fun.

I think this'd be great as an application published on Dat!
The flow could be:

Visite the dat website for the editor
User draws the favicon they want
It calls DatArchive.selectArchive() to prompt the user where they want to add the favicon
It saves the favicon.ico in the archive
???
Profit!

@RangerMauve is right that this can be a userland app, but I also like the idea of including this in Beaker itself. I'd accept a PR with that feature for sure.

There are a couple of open source web-based pixel art editors that could be a good starting point for this. A couple I've used include

Piskel https://github.com/piskelapp/piskel
Make 8-bit Art https://github.com/jennschiffer/make8bitart

This has been added!


fix: e2e tests path in dockerfile

Description
CI is failing because e2e tests config file path has changed and was not updated in Dockerfile.

/e2e --tests sdk,frontend --orchestrator-mode standalone

End to end tests: :hourglass_flowing_sand: STARTING

Image builds successful with Owlfred/e2e as tests have started 🎉

Image builds successful with Owlfred/e2e as tests have started 🎉 LGTM!

Actually did not think about the fact that frontend tests did not run in the first place. Seems like they're failing 😕
See logs:
[STARTED] Task without title.
[SUCCESS] Task without title.
[315:0719/134548.802668:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 541: Permission denied (13)

DevTools listening on ws://<IP_ADDRESS>:41107/devtools/browser/3f961d29-9859-4160-8088-52f7f8f59015
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[541:0719/134548.837533:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
Your configFile is invalid: /e2e/cypress.config.ts

It threw an error when required, check the stack trace below:

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /e2e/cypress.config.ts
    at new NodeError (node:internal/errors:399:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:79:11)
    at defaultGetFormat (node:internal/modules/esm/get_format:121:38)
    at defaultLoad (node:internal/modules/esm/load:81:20)
    at nextLoad (node:internal/modules/esm/loader:163:28)
    at ESMLoader.load (node:internal/modules/esm/loader:605:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:22)
    at new ModuleJob (node:internal/modules/esm/module_job:64:26)
    at #createModuleJob (node:internal/modules/esm/loader:480:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:434:34)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)


API KitPreClaimEvent

Hello, I need an API to cancel claiming of kit in certain situations. Could you add KitPreClaimEvent?

Hi @rudde0 I've added KitPreClaimEvent to my version of PlayerKits2.
You can find it here https://github.com/InfLabss/PlayerKits2-Optimized/releases/latest


Integrate alpine noarch packages into other architectures index

Fixes #26691
Revert #24972
The alpine package manager expects noarch packages in the index of other architectures too.

This is a nice way to fix the issue with noarch packages in the Alpine registry. I used a different approach in Forgejo, based on the information gathered on the official Alpine channels that noarch packages are literally just copied to the available architectures in the repository.
However, one issue I had was when I uploaded a noarch package to a repository that doesn't exist. I believe the same issue is present in your PR, if the repo is new and the first package you're uploading is a noarch package, there are no available architectures on the repository and the noarch package won't be copied to the other architectures.
The other thing I can say is, while it's nice that you keep track of the noarch packages on a separate "repo", it's not something done by Alpine, since there is no noarch repository on the official registry and apk doesn't support it yet.

there are no available architectures on the repository and the noarch package won't be copied to the other architectures

Yes, I know about the problem if there is no other package which provides an architecture. I decided to ignore it because I don't want to set some default architecture which may be correct or incorrect, the system just can't know about it.

and apk doesn't support it yet.

Yes, maybe one client does in the future.


always completely different result for same search

Hello!
I have noticed that I always get a completely different amount of scraped tweets for the same search. I am scraping all tweets with a certain hashtag - and I know there must several thousands at least in the case I'm looking at - from 01/01/2007 up until today. But every time I let Twitterscraper do its work, it gives me a completely different result.
The first time I ran my command twitterscraper #xxx --begindate 2007-01-01 --csv --output tweets_#xxx.csv it gave me about 500 tweets, the second time 2964. Then I left out the begindate and got 5067 results, I ran it again and got 3578 results. So then I changed the poolsize to 100 and got back 8985 results. This seemed like a realistic amount, but when I ran the exact same command later in order to check it, it only gave me 14 results!
It is really important for my research that I get every single tweet there is with this hashtag.
Could anyone help me to solve this problem? How can I make sure (and be sure/check) that twitterscraper really scraped ALL the tweets with the hashtag I'm looking for?
Thank you in advance!

Same issue here, working on a report and when I run the code again, I get totally different number of tweets. Any idea why>

Hello @parayamelo
I did not find a solution for the problem, but I did find a programme that worked better for me. I was able to scrape Twitter without any problem using mikhailklassen's Mining-the-Social-Web-3rd-Edition (https://github.com/mikhailklassen/Mining-the-Social-Web-3rd-Edition). Perhaps that might solve your problem as well?

Thanks, @ledgreve! Will check it out. Somebody also recommended me GetOldTweets3, https://github.com/Mottl/GetOldTweets3.
Thanks again!


Expanding Products module

Hi
Great job with whmcs-js :)

Hey @Fl4zher, thank you very much!
If there are features missing, don't hesitate to tell me and I will push them! 😉

Actually there is. Getting products :D

I've made one to test with, which do work :)
const WHMCS = require('./whmcs');

class Test extends WHMCS {
  constructor(config) {
    super(config);
  }

  getProducts(opts) {
    const options = {
      action: 'GetProducts',
      ...opts
    };

    return this.callApi(options);
  }
}

module.exports = Test;

Wow, you're actually right. I don't know how I missed that one.
I'll be pushing an update in a minute. Sorry.

Thanks :D


windows disk offline

What happened:
I created a Windows machine，use the following configuration:
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  creationTimestamp: null
  labels:
    kubevirt.io/vm: vm-cirros-datavolume
  name: windows
  namespace: vms
spec:
  dataVolumeTemplates:
  - metadata:
      name: windows-pvc
    spec:
      pvc:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 50G
        storageClassName: openebs-hostpath
      source:
        blank: {}
  running: false
  instancetype:
    kind: VirtualMachineInstancetype
    name: clarge
  template:
    metadata:
      labels:
        kubevirt.io/vm: vm-datavolume
    spec:
      domain:
        devices:
          disks:
          - bootOrder: 1
            cdrom:
              bus: sata
            name: pvcdisk
          - disk:
              bus: virtio
            name: windows-pvc
          - cdrom:
              bus: sata
            name: virtiocontainerdisk
        machine:
          type: q35
      terminationGracePeriodSeconds: 0
      volumes:
      - containerDisk:
          image: quay.io/kubevirt/virtio-container-disk
        name: virtiocontainerdisk
      - name: pvcdisk
        persistentVolumeClaim:
          claimName: win2k16
      - dataVolume:
          name: windows-pvc
        name: windows-pvc

virtctl image-upload dv win2k16
  --image-path=/root/cn_windows_server_2016_x64_dvd_9327743.iso
  --access-mode=ReadWriteOnce
  --size=6G
  --storage-class=openebs-hostpath
  --uploadproxy-url=https://<IP_ADDRESS>:443
   --insecure
  --wait-secs=240 --force-bind
  -n vms

When I configured the system to select a disk, I did not see the 50G PVC I mounted. After loading the driver, the mounted disk was displayed, but it was offline.
Environment:

KubeVirt version (use virtctl version): v1.3.1
Kubernetes version (use kubectl version): v1.30.5
OS (e.g. from /etc/os-release): rocky 9.4
Kernel (e.g. uname -a): 5.14.0-427.13.1.el9_4.x86_64

Hey @yunzck8s! 👋 I'm here to help you with your issue. I'm a bot designed to assist with bug fixes, answer questions, and guide you on becoming a contributor.
The issue you're experiencing with the Windows disk appearing offline in your KubeVirt virtual machine could be related to the virtio drivers not being properly loaded. Here are some steps to ensure the drivers are correctly installed:

Attach Virtio-Win Package: Make sure the virtio drivers are attached as a SATA CD-ROM. This is done by adding a ContainerDisk to your VirtualMachine specification, which you've already done with the virtiocontainerdisk.
Load Drivers During Windows Installation: During the Windows installation, when you reach the disk selection screen, choose the option to load drivers. Use the virtio CD-ROM to load the necessary drivers, such as viostor or vioscsi, depending on your setup. This should make the disk visible and online.
Post-Installation Driver Installation: After Windows is installed, go to Device Manager to check for any undetected devices. Install the virtio drivers for these devices to ensure all hardware is functioning correctly.

If the disk still appears offline after these steps, ensure that the virtio drivers are the correct version for your Windows installation and that they are properly loaded during the installation process [1].
To continue talking to Dosu, mention @dosu.

I solved the offline problem after loading the driver, but it prompted me that the system cannot be installed on this partition.

Hey @yunzck8s! 👋 I'm here to help you with your issue. I'm a bot designed to assist with bug fixes, answer questions, and guide you on becoming a contributor.
The issue you're experiencing with the Windows disk appearing offline in your KubeVirt virtual machine could be related to the virtio drivers not being properly loaded. Here are some steps to ensure the drivers are correctly installed:

Attach Virtio-Win Package: Make sure the virtio drivers are attached as a SATA CD-ROM. This is done by adding a ContainerDisk to your VirtualMachine specification, which you've already done with the virtiocontainerdisk.
Load Drivers During Windows Installation: During the Windows installation, when you reach the disk selection screen, choose the option to load drivers. Use the virtio CD-ROM to load the necessary drivers, such as viostor or vioscsi, depending on your setup. This should make the disk visible and online.
Post-Installation Driver Installation: After Windows is installed, go to Device Manager to check for any undetected devices. Install the virtio drivers for these devices to ensure all hardware is functioning correctly.

If the disk still appears offline after these steps, ensure that the virtio drivers are the correct version for your Windows installation and that they are properly loaded during the installation process [1].
To continue talking to Dosu, mention @dosu.

I solved the offline problem after loading the driver, but it prompted me that the system cannot be installed on this partition.


Show results when only one component is present

Results are not shown when only one component is present(input data component).
Reason: Workflow graph is not created when only one component is present in the experiment

@johnugeorge change is sending only component id, like "123", in case there are no edges in topology.
after that, the response data("Show") still seems not have the executed result. Probably, we need to modify backend to deal with this case as well.


Whitelist SourceRange via docker-compose IS NOT respected!!

Just found out that my docker config part for sourceRange is no longer working! I tested it like year ago and it worked - restricting access only to specific prefixes..
Whiteliste sourcerange via file config still works.
Was on version 1.7.16 and tested it for the latest (v1) as well 1.7.20.. this is crucial security bridge.
Linux Debian Buster
docker -v
Docker version 19.03.5, build 633a0ea838
docker-compose -v
docker-compose version 1.25.3, build d4d1b42b
None of the following was understood by traefik:
- traefik.frontend.whitelist.sourceRange=<IP_ADDRESS>/24
- traefik.frontend.whitelist.sourceRange=[<IP_ADDRESS>/24]
- traefik.frontend.whitelist.sourceRange=<IP_ADDRESS>/24,<IP_ADDRESS>/24
- traefik.frontend.whitelist.sourceRange=<IP_ADDRESS>/24, <IP_ADDRESS>/24
- traefik.frontend.whitelist.sourceRange=[<IP_ADDRESS>/24,<IP_ADDRESS>/24]
- "traefik.frontend.whitelist.sourceRange=<IP_ADDRESS>/24"
- "traefik.frontend.whitelist.sourceRange=[<IP_ADDRESS>/24]"
- "traefik.frontend.whitelist.sourceRange=<IP_ADDRESS>/24,<IP_ADDRESS>/24"
- "traefik.frontend.whitelist.sourceRange=<IP_ADDRESS>/24, <IP_ADDRESS>/24"
- "traefik.frontend.whitelist.sourceRange=[<IP_ADDRESS>/24,<IP_ADDRESS>/24]"

or
traefik.frontend.whitelist.sourceRange: <IP_ADDRESS>/24, <IP_ADDRESS>/24
traefik.frontend.whitelist.sourceRange: "<IP_ADDRESS>/24, <IP_ADDRESS>/24"
traefik.frontend.whitelist.sourceRange: [<IP_ADDRESS>/24, <IP_ADDRESS>/24]
traefik.frontend.whitelist.sourceRange: ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Removing an MCX payload from a profile doesn't actually remove the payload.

I'm trying to remove an MCX payload from one of my profiles. Although, it initially looks like it is successful, reloading the profile shows that the payload is not actually removed.
There is a video demonstration in the zip attachment below.
RemovingMCXPayloadDoesntRemove.zip

This is now fixed and added to the next beta.


⚠ Jenkins Plugins Artifactory has degraded performance

In 90c5ee7, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1252 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 1662430 after 25 minutes.


Possible unnecessary work in atmosphere shader

Noticed this while looking at some of the code.  The getLightDirection method is called, but wouldn't be used if the PER_FRAGMENT_ATMOSPHERE define was set.  IOW, that lightDirection result is only used if PER_FRAGMENT_ATMOSPHERE is not set.
https://github.com/CesiumGS/cesium/blob/main/packages/engine/Source/Shaders/SkyAtmosphereVS.glsl
`void main(void)
{
vec4 positionWC = czm_model * position;
vec3 lightDirection = getLightDirection(positionWC.xyz);  <<<<< this looks like it can go into the ifndef block below
#ifndef PER_FRAGMENT_ATMOSPHERE
    computeAtmosphereScattering(
        positionWC.xyz,
        lightDirection,
        v_rayleighColor,
        v_mieColor,
        v_opacity,
        v_translucent
    );
#endif

v_outerPositionWC = positionWC.xyz;
gl_Position = czm_modelViewProjection * position;

}`

Thanks @CartoLake! Makes sense. Would you be able to open a PR with the fix?


"Script As Create" on database node on dashboard explorer

Azure Data Studio Version: 1.12.0

Steps to Reproduce:

Open a Server dashboard page
Right-click on a database node in the explorer widget

Expected: No Script As Create
Actual: There is a Script As Create option that doesn't do anything

The sort order for the menu commands on tables is also incorrect.  The order should match OE, which is SELECT 1000, Edit Data, Script As Create.

This issue doesn't not reproduce on the current builds.  The UX for this widget has been completely redesigned since this issue was opened.


Add Summary Output File

Add an additional output file that consists of all the files and their average runtimes for easier data analysis post-BM.

This has been fixed with this commit: https://github.com/jweeks2023/LQICM-Benchmark/commit/5e93f0193ba01bcc03a17c7faf4130532e4439df


Debug in Pycharm

Hi Team,
I would like to run pynecone from a Pycharm Run Configuration to be able to set breakpoints in the code.
Did anyone get this working? I tried adding the following lines to my pynecone sample app:
if __name__ == '__main__':
    from pynecone.pc import main

    main(["run"])

However, running that fails with
──────────────────────────── Starting Pynecone App ─────────────────────────────
Traceback (most recent call last):
  File "/Users/Username/Git/pynecone-test/pynecone_test/pynecone_test.py", line 296, in <module>
    main(["run"])
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/typer/main.py", line 532, in wrapper
    return callback(**use_params)  # type: ignore
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/pynecone/pc.py", line 104, in run
    app = utils.get_app()
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/pynecone/utils.py", line 373, in get_app
    return __import__(module, fromlist=(constants.APP_VAR,))
  File "/Users/Username/Git/pynecone-test/pynecone_test/pynecone_test.py", line 8, in <module>
    class Customer(pc.Model, table=True):
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlmodel/main.py", line 369, in __init__
    DeclarativeMeta.__init__(cls, classname, bases, dict_used, **kw)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlalchemy/orm/decl_api.py", line 76, in __init__
    _as_declarative(reg, cls, dict_)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 126, in _as_declarative
    return _MapperConfig.setup_mapping(registry, cls, dict_, None, {})
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 183, in setup_mapping
    return cfg_cls(registry, cls_, dict_, table, mapper_kw)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 331, in __init__
    self._setup_table(table)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlalchemy/orm/decl_base.py", line 854, in _setup_table
    table_cls(
  File "<string>", line 2, in __new__
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned
    return fn(*args, **kwargs)
  File "/usr/local/Caskroom/mambaforge/base/envs/pynecone/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 594, in __new__
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Table 'customer' is already defined for this MetaData instance.  Specify 'extend_existing=True' to redefine options and columns on an existing Table object.

Hi, I do it this way and it works for me, I hope it can be useful for others as well.
Clone this repository, don't use pip version
git clone https://github.com/pynecone-io/pynecone
Navigate to the folder cd pynecone just cloned
Setup a virtual env (PyCharm will do it for you)
Run pip install .
Now create a new Python configuration from PyCharm
Now set Script path with pc.py path
Parameters: run
Working directory: folder of your current pynecone project.
See this example for quick overview

If somebody debugs on vscode, the launch.json likes below:
the cwd is the working directory.
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "pc",
            "type": "python",
            "request": "launch",
            "program": "${workspaceFolder}/pynecone/pc.py",
            "console": "integratedTerminal",
            "justMyCode": true,
            "args": ["run"],
            "cwd": "${workspaceFolder}/examples/hello_world"
        }
    ]
}

Even better is using the module...this should be able to be translated to either pycharm or vscode or whatever debugger you want to utilize.
{
            "name": "pynecone gui",
            "type": "python",
            "request": "launch",
            "module": "pynecone.pc",
            "justMyCode": true,
            "args": [
                "run"
            ],
            "cwd": "${workspaceFolder}/gui"
        }

Similar to #1184

Now set Script path with pc.py path
Parameters: run
Working directory: folder of your current pynecone project.
See this example for quick overview

For me, this allowed running, but not debugging and hitting breakpoints. (In Pycharm)

Hi everyone,
Having a working debugging environment in PyCharm would indeed improve the developer experience. Has anyone found a workaround with the new Reflex naming?
I can get PyCharm to stop at the breakpoints on initial rendering, but not with subsequent reloads.

https://www.youtube.com/watch?v=KQShed3LA64&pp=ygUOcHljaGFybSByZWZsZXg%3D


Send a Questionaire to ask the team to Find and Schedule another slot for the industry partner meeting.

We agreed through our last two meetings (regular team meeting and ip meeting) that this slot still fits the best currently!
For the Monday 11:15 slot we have 8/9 people ready to attend on a regular schedule. For all other dates/slots at least 2-3 people would be missing.
The SDs may have unbalanced workload depending on which backlog item gets prioritized this sprint upfront, but in sum they are well aware of overarching tasks that are going on!


Cannot use knobs in MacOS

Flutter: 2.5.1
Storybook version: 0.7.0
OS: MacOS BigSur
Running storybook on MacOS results in unusable knobs.
Same sources works from Web

I've found one issue with scrollbars on macOS. Can you please check if the latest version solves your problem?

Thank you so much.
Now it seems to work correctly.


HBASE-27666 Allow preCompact hooks to return scanners whose cells can be shipped

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 58s
Docker mode activated.


💡 change the command for logout

Summary
I have moved my system to SDDM (wayland) as my greeter but the logout command we are using doesn't have it come back after you logout.  Could we switch the command to:
swaymsg exit
which sends a message to the running Sway instance to exit gracefully, which return me to the login manager.  Or is there a way I can override the command in /etc/sway/modes/shutdown
Drawbacks
As I am not using the text greeter  I don't know how this command works with it.  Can someone try this command in a terminal and see if brings you back to the login.
Implementation idea
No response
Will you be able to contribute a PR for this?

[ ] Yes I will be able to get that feature a lot quicker.

I would have thought, that a generic systemd command (systemctl poweroff) would shutdown sway gracefully and make sddm come back properly. You sure it works with swaymsg exit?

I tried swaymsg exit and it looks just as fine for me. I think we can just switch 🤷🏼

The shutdown and restart commands worked fine, it was the logout command that didn't. So you could never switch users.
it was the loginctl terminate-user $USER that needed to be switched.

ah, oh well. didn't read that well enough. will mend it asap.

will land in 16.2.1


Implement polyline support, bump data version

Also: JMH benchmarks, bitmap indexes for geometry (accelerateGeometry), support multiple ZoneId's in response.

This rather hefty PR fixes #26, #27, and supposedly fixes #20, #32, #34, #35. It is published as version 2019b.7-SNAPSHOT, not a release yet, because I'm in doubts about some API still.


Header- CTA should be Blank

Hi Team,
While comparing the developed header block with the legacy site header block, I noticed that for the below-given pages, the URL links should be blank which means the page CTA should be blank. Although I have tried to remove the link, there is a breach in the font face and font style (please refer to the image below).
Page path Details:-

Services
Products/Viral Vector
Products/Enzymes
Products/DNA/RNA Report

SS with link:-

SS after removing a link:-

Fixed this issue. Please verify and close

@teshukatepalli1 this is not working as expected

Hi Kumaresan - As per discussion with Client, we don't have any links in menu navigation which don't point to a page. And if needed in future, thy can redirect the user to home page by providing the link to home.
We can close this issue.

As per the above thread,  we don't have any links in menu navigation that don't point to a page. And if needed in the future, thy can redirect the user to the home page by providing the link to the home.
So, closing the ticket


Resource creation file validation peculiarity

There is an unusual case that occurs in resource creation when files come from local disk and iRODS.  Multidimensional (netCDF) resources are supposed to only have one nc file.  However in creating one I selected a nc file from local disk.  I then realized that I actually wanted to load a file from iRODS so selected a file from iRODS.  I was unable to unselect the selection of the file from local disk and when I pushed create resource button the system loaded both files resulting in an improperly formed resource containing two nc files.

Unable to reproduce: added local file, selected iRODS file, was able to use the trash can and remove local file.

@dtarb can you confirm this is no longer an issue?

Given that we are migrating away from multidimensional resources, even if this is still an issue, we do not need to address.  Closing.


Define new use case for europe

We would like this use case to be scientifically meaningful
We need:

An area with plenty of observations available
A selection of datasets
A time range
Variables that we want to use as predictor variables,
For MERF/ME-EBM we need to choose the fixed and random effects variables, and also the cluster grouping
Make sure we include the necessary variables for the pyphenology thermaltime model

https://github.com/phenology/springtime/blob/main/src/springtime/recipes/model_comparison_EU_usecase.yaml exists but has not been run fully.


SearchAutocomplete: fix to clear selected item if searchfield is cleared

✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Type and select an item from the dropdown
Press Escape to clear the field

The searchfield should now clear.
🧢 Your Project:

Closing for now, added to https://github.com/adobe/react-spectrum/issues/2286


Unchecked runtime.lastError

Unchecked runtime.lastError while running tabs.captureVisibleTab: Failed to capture tab: unknown error.

chrome.tabs.captureVisibleTab throws this error,why?

IDK—sounds like you’re building something using api.js? Try digging into the google chrome extension docs.


Update livo charger documentation about eebus

More information on correctly connecting the Livo to EVCC. by setting up eebus first.

Thanks @swestland85 for the updated text. However, the device docs are auto-generated from the main repository. The right place to do this change is here: https://github.com/evcc-io/evcc/blob/d90c12c3e2165262fae005b3ea7db8f9eed5e8c1/templates/definition/charger/evbox-livo.yaml#L10
From there it will find it's way back to the documentation, evcc configure and config ui.


RPS and MPS health check fails when vault server is setup in HA mode

RPS and MPS health checks fail frequently with vault health check response code 429.
This happens when a vault cluster is setup in HA mode. In the HA mode there is a Active node and standby node.
If the vault health check  on /sys/health endpoint reaches stand-by node response code - 429 is sent.
MPS and RPS services are returning vault status as unhealthy.
To Reproduce 🪜
Steps to reproduce the behavior:
Setup vault in HA mode with Active and Standby nodes behind a load balancer.
Hit the sys/health endpoint, you will get a response code - 429 when the request reaches stand-by node.
Expected behavior
A response code of 200 when the request reaches stand-by node. This can be achieved by passing parameter - standbyok
standbyok (bool: false) – Specifies if being a standby should still return the active status code instead of the standby status code. This is useful when Vault is behind a non-configurable load balancer that just wants a 200-level response. This will not apply if the node is a performance standby.
Hashicorp documentation -
https://developer.hashicorp.com/vault/api-docs/system/health#standbyok

Resolved per linked PRs.


[MXNET-244][MXNET-523][ARM] improvements to ARMv7 based builds.

Fix build with OpenCV 2. Native RPi build.
Openblas compilation fixes and version pinning. (@lebeg)
Disabled bundled OpenMP for cross compilation. (@lebeg)
Build logic refinements.
Fixed ccache logic misalignment between arches.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Ready to merge, see also https://github.com/apache/incubator-mxnet/pull/11220  This has been cleaned due to Ccache interference with these tasks.

Includes https://github.com/apache/incubator-mxnet/pull/11245


Missing divider/separator in Zwave associations

Home Assistant release (hass --version):
0.51.2
Python release (python3 --version):
Python 3.6.2
Component/platform:
official docker
Description of problem:
When working with associations / groups in z-wave the node id are grouped together without an separator. This makes it problematic to read out actuall nodes.
Example:
Other Nodes in this group:1716
Max Associations: 10
This is node 17 and 16
Expected:
Other Nodes in this group: 17, 16
Max Associations: 10
Additional info:

Fixed by https://github.com/home-assistant/home-assistant-polymer/pull/398


Drop iojs from package.engines

Current engines option makes crx incompatible with modern versions of node.
This PR fixes the issue by removing iojs field altogether. It's kind of unnecessary anyway since iojs has been merged into node itself 😏
Please correct me if i'm wrong, we'll find a way around it. Thanks!

Is it because of the iojs that yarn then interprets as being an alias for node?
Happy to drop it anyway :-)

For the record.

Great, thanks!


Add the publish option

Add the ability to not set the package private when the code is
copyrighted.
My use case is when the code is copyrighted, but also published in a company-only repository.
In this case, it's safe to publish the package.

What about simply a publish option? Then if it's implicitly set to true, we do not turn off the publish capability.

and what if it's set to false? I mean, for copyrighted we keep the same behavior, but should we extend this behavior to the other licenses then?

Yeah, we'd need to respect receiving a false value.

Sorry for leaving this PR hanging for so long. I hadn't realized new code had been pushed. Thanks for sending this out!

no problemo :smile:


Issue #SB-19584 feat: update hierarchy enhancement

@krgauraw - Please raise another PR for @PradyumnaNagendra 's review feedback. Merging this now.


puppet-popcorntime

puppet-popcorntime installs Popcorn-Time
https://github.com/josanastrid/puppet-popcorntime

FYI: https://github.com/caskroom/homebrew-cask/pull/3954#issuecomment-44193511

Popcorn Time was subject to DMCA takedowns when hosted on GitHub

@tarebyte @josanastrid can this be merged in or the issue closed?

I think @radeksimko has a good point. If it was subject to a DCMA takedown I'd rather not add it in.
@johnbellone I apologize for taking so long with this issue.

I think the DMCA concerns here are valid. I fear Boxen would simply receive a request to remove it as well. @josanastrid thanks for your work on this, sorry we can't merge it in!


Device entity States not updating

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.
Describe the bug
The states for devices are not updating. It seems to be all sates EXCEPT for the volume, including DND, Next Alarm, Next Timer etc.
A restart of HA or a reload of the Integration picks up the state changes correctly.
To Reproduce

Set an Alarm on an Amazon device (or change the DND setting for example)
In HA, open the associated device and look at the entities, or use Developer Tools to look up the Entity.
It will be seen that the state has not changed.
Either a restart of HA or a reload of the integration followed by a repeat of step 2 above, will show the entity state correctly.

Expected behavior
When changing something on the Amazon device, it used to reflect almost immediately in the HA entity state.
Screenshots
Can be provided if needed.
System details

Home-assistant (version): 2023.7
alexa_media (version from const.py or HA startup): 4.6.5
alexapy (version from pip show alexapy or HA startup): WARNING: Package(s) not found: alexapy
Amazon 2FA is enabled Yes

Logs
Please provide logs.
home-assistant_alexa_media_2023-08-01T16-26-55.225Z.log
Additional context

Have the exact same issue. The states do not update, i have been playing Ken loggins for about 18 hours at this point according to Home Assistant... I have not ;-)
Seem that things like play and pause still work on my Echo pop, but nothing ever updates in the interface, the pause button never turns to a play after clicking, the playing state never changes, the media picture never changes on song change.

Yep, another one here. I am able to change the volume on Alexa using HA dashboard, so I can confirm Alexa Media Player is connected and working.
But when I set up a timer or alarm on Alexa, the "next alarm" entitie does not change in HA (keep showing "unknow"). It only change when I perform a reload on Alexa Media Player integration.

Same here.
When I set a timer, it will not show as <name>_next_timer. If I manually reload the integration, the timer will show up. But otherwise it stays unknown.

I too am seeing timer updates not reaching HA, and I am also seeing very odd behaviour in the maintenance of the "last_called" attribute, I use to see which device was last spoken to. It stopped updating reliably for me yesterday. Sometimes an update will eventually get through after several minutes. If I monitor all the media_player entities in node red and speak to a device, I see updates to that device come through, but it is not updating last_called on those updates. So all my custom alexa phrases which cause HA to respond with TTS spoken to the appropriate device are suddenly useless.

I have worked around this for now. For those interested who don't already know, you can restart the Integration on a regular basis using an automation. Not much use for real time things such as timers, but for Alarms that are set less frequently it could be useful.
Use the homeassistant.reload_config_entry service and pass the config ID of the Integration to it.
The Config ID can be found by going to the Integrations Page, opening the integration by clicking on it's name, and then clicking on either devices or entities. It will look something like this:
https://stuffandstuff.duckdns.org/config/devices/dashboard?historyBack=1&config_entry=**__**

I am seeing this with Glow lights (device connected via Echo).  I can tell HA to turn off a light and it immediately does so in person, but the state in HA ticks back on.  Curiously, I also have Hue devices connected through Alexa and they not only respond immediately, but the state updates in HA correctly.
A glow device that does not update state produces the following debug logs:
2023-08-02 17:16:13.310 DEBUG (MainThread) [alexapy.alexaapi] a****n@c******************t: static PUT: https://alexa.amazon.com/api/phoenix/state returned 200:OK:application/json
2023-08-02 17:16:13.310 DEBUG (MainThread) [alexapy.alexaapi] a****n@c******************t: set_light_state response: {'controlResponses': [{'code': 'SUCCESS', 'message': None, 'data': None, 'entityId': 'bbbd2ad8-c6be-4cad-956e-e2b86ab83098'}], 'errors': []} for data: {"controlRequests": [{"entityId": "bbbd2ad8-c6be-4cad-956e-e2b86ab83098", "entityType": "ENTITY", "parameters": {"action": "turnOff"}}]}

A request to turn on a Hue bulb which works correctly updates state produces the following:
023-08-02 17:17:17.879 DEBUG (MainThread) [alexapy.alexaapi] a****n@c******************t: static PUT: https://alexa.amazon.com/api/phoenix/state returned 200:OK:application/json
2023-08-02 17:17:17.879 DEBUG (MainThread) [alexapy.alexaapi] a****n@c******************t: set_light_state response: {'controlResponses': [{'code': 'SUCCESS', 'message': None, 'data': None, 'entityId': '1db928df-6661-43eb-a6b0-302f2bcc754d'}], 'errors': []} for data: {"controlRequests": [{"entityId": "1db928df-6661-43eb-a6b0-302f2bcc754d", "entityType": "ENTITY", "parameters": {"action": "turnOn"}}]}
2023-08-02 17:17:17.879 DEBUG (MainThread) [custom_components.alexa_media.alexa_entity] Coordinator data for 1********************************54d is too old to be returned.
2023-08-02 17:17:17.879 DEBUG (MainThread) [custom_components.alexa_media.alexa_entity] Coordinator data for 1********************************54d is too old to be returned.
2023-08-02 17:17:17.880 DEBUG (MainThread) [custom_components.alexa_media.alexa_entity] Coordinator data for 1********************************54d is too old to be returned.

Consistently I see the "Coordinator data for ... too old to be returned messages" after a Hue request, but not on the Glows.

Just installed this and same for me, all my alwxa media players seem stuck in their initial states.

+1 Unfortunately I don't have anything to add, except that the thing is happening to me even after a complete reinstall of Home Assistant on my RPi4. Alexa devices will always update to the correct status upon rebooting the Alexa integration itself, but no status changes happen beyond that.

I have worked around this for now. For those interested who don't already know, you can restart the Integration on a regular basis using an automation. Not much use for real time things such as timers, but for Alarms that are set less frequently it could be useful.
Use the homeassistant.reload_config_entry service and pass the config ID of the Integration to it.
The Config ID can be found by going to the Integrations Page, opening the integration by clicking on it's name, and then clicking on either devices or entities. It will look something like this:
https://stuffandstuff.duckdns.org/config/devices/dashboard?historyBack=1&config_entry= the config ID of the integration

Good work-around, but please use this option sparingly. An error in a script or automation could result in a significant increase of traffic to Amazon which may cause them to create additional headaches.
For this particular issue, it's happened in the past and has been a result of Amazon changing their API, or for users in the EU such as myself, the websocket connection temporarily stopped working due to issues on Amazon's side.

For media player state, please provide a log showing when you issued some sort of voice command and please point out the timestamp to track how the component responds.
If you're talking about timer states, that's already discussed in #1976 so track that.

This is related to timer states and I have subscribed to #1976 and #1974 which also seems to be related.
My apologies for raising a new issue unnecessarily. Have now closed this thread and suggest other subscribe to the above discussions.


Use latest LTS rather than nightly snapshot.

Now that there is a compatible LTS (this was previously not the case) it is better to use it instead of a nightly snapshot which will not be available "long term".

Thank you! I merged.


exclude bash when zsh_only=1

:PlugInstall!
won't affect .bashrc && .fzf.bash when --zsh-only applied

Thanks, but I think this is incomplete for the following reasons:

No --bash-only or --fish-only
Still updates fish stuff when --zsh-only is set
What happens when both --bash-only and --zsh-only are specified. The behavior is undefined.

So instead of this, let me add `--no-{bash,zsh,fish} flags.