Failed to capture Slack reference

Got this error when expanding Slack references (channel or user):
pmxbot-bot-7dc95ccf8b-2vbhl pmxbot-bot 2018-05-24T11:23:05.804271055Z Error resolving slack reference
pmxbot-bot-7dc95ccf8b-2vbhl pmxbot-bot 2018-05-24T11:23:05.804274651Z Traceback (most recent call last):
pmxbot-bot-7dc95ccf8b-2vbhl pmxbot-bot 2018-05-24T11:23:05.804278019Z   File "/usr/local/lib/python3.6/site-packages/pmxbot/slack.py", line 99, in _expand
pmxbot-bot-7dc95ccf8b-2vbhl pmxbot-bot 2018-05-24T11:23:05.804281773Z     ref = resolvers[match_type](match_name)
pmxbot-bot-7dc95ccf8b-2vbhl pmxbot-bot 2018-05-24T11:23:05.804285541Z KeyError: '|'
pmxbot-bot-7dc95ccf8b-2vbhl pmxbot-bot 2018-05-24T11:23:05.80428834Z Error resolving slack reference

To reproduce, just do: !m test|pipes.

Hmm. I guess I hadn't noticed that | is indicated as a valid character in the type of the regex. Is that a mistake?

I suspect pipe is used as separator for status, like lbolla|away. I don't know if the Slack API would handle it correctly when requested to resolve it (i.e. would it strip out the "status" part?).


Allow requests with a DELETE verb to carry a body

I'm getting this error when trying to bind a DELETE verb to a handler that expects a body: cannot claim request body of DELETE.
The error seems to originate from here. I propose that we remove this restriction as it's absolutely fine for DELETE requests to carry a body.

There was some discussion about this here: https://github.com/cashapp/misk/pull/1369#discussion_r371443935
In summary: the body of a DELETE request may be ignored by clients and servers, so we fail instead to remove ambiguity. This SO question has mixed opinions on it too: https://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request

I'm not aware of any HTTP standard that disallows DELETE bodies. But you're right, I don't think this is important enough to warrant a change.


Added Progress indicator "Question x of y".

Fixes https://github.com/KristofferStrube/EditorConfigWizard/issues/2

This is a nice touch.  It will make it much nicer to go through the form.


Describe which templates are supported in list

Please describe all templates which are suuported for "template" field in "list" entity. Now you describe only part of them and for end user (e.g. for me) isn't clear which templates exactly are supported.
Thank you.

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

ID: abc5a9ce-652e-1dc5-c3a8-8b9e342efafb
Version Independent ID: 04c8824e-5e0c-0086-a972-97f3a890ab47
Content: List - Microsoft Graph v1.0
Content Source: api-reference/v1.0/resources/list.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKelley

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


timeout with withdraw

https://github.com/zksync-sdk/zksync2-python/blob/master/examples/11_withdrawal.py
I try run this example and get errors like this:
Traceback (most recent call last):
File "C:\Users\User\PycharmProjects\zksync\venv\lib\site-packages\zksync2\module\zksync_module.py", line 383, in wait_finalized
_timeout.sleep(poll_latency)
File "C:\Users\User\PycharmProjects\zksync\venv\lib\site-packages\web3_utils\threads.py", line 99, in sleep
self.check()
File "C:\Users\User\PycharmProjects\zksync\venv\lib\site-packages\web3_utils\threads.py", line 92, in check
raise self
web3._utils.threads.Timeout: 240 seconds
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\User\PycharmProjects\zksync\main2.py", line 141, in
example_withdrawal(0.0001)
File "C:\Users\User\PycharmProjects\zksync\main2.py", line 70, in example_withdrawal
zks_receipt = web3.zksync.wait_finalized(tx_hash, timeout=240, poll_latency=0.5)
File "C:\Users\User\PycharmProjects\zksync\venv\lib\site-packages\zksync2\module\zksync_module.py", line 387, in wait_finalized
raise TimeExhausted(
web3.exceptions.TimeExhausted: Transaction HexBytes('0x8a47e826e7ae59fb9034b05b5af1ef3a0ad160ba1c50930da8d2e7b116fcbfa9') is not in the chain after 240 seconds

Are you connected to a remote test network or a local network ?

remote
ZKSYNC_TEST_URL = "https://zksync2-testnet.zksync.dev"
ETH_TEST_URL = "https://rpc.ankr.com/eth_goerli"

remote
ZKSYNC_TEST_URL = "https://zksync2-testnet.zksync.dev"
ETH_TEST_URL = "https://rpc.ankr.com/eth_goerli"

Withdrawal on testnet takes around 11 hours to complete. So there is no point to wait that long in program, so program should end when withdrawal transaction is finished. Do not forget that finalize withdrawal needs to be executed after withdrawal. So the workflow is following.

Execute Withdraw script.
Wait for transaction to be completed.
Execute Finalize Withdraw srcript.

Here are the examples:

Withdrawal
Finalize Withdrawal


add deepmd workflow :ocean:

@sionab I went through and organized the code a little. I also updated your workflow to accept temperatures as an input parameter -- plus automatically handle each continuation step. I didn't run any of this code yet, so more testing is probably needed. Good work so far though!

@jacksund sweet thanks! By next version do you mean v0.12.0 or the one after that?

0.12.0 was released a few months ago, so it will be on the next one (v0.13.0)!

When I clone my repo onto warwulf do I have to do anything else (besides the directions on simmate) to be able to do the 'git pull origin deepmd' thing?


Add ElasticUI framework for client

What does this change?

Install Elastic UI (EUI) and dependencies
Replace existing client functionality with EUI components.

How to test

How can we measure success?

Have we considered potential risks?

Images

Before
After

Accessibility

[ ] Tested with screen reader
[ ] Navigable with keyboard
[ ] Colour contrast passed
[ ] The change doesn't use only colour to convey meaning

think search might be a bit broken

think search might be a bit broken

think search might be a bit broken

Thanks for this! I haven't been able to reproduce yet though..
When you were running locally, has the pg_trgm extension been enabled in the local db? That's a possible source of it breaking like this. If that's not it, are you able to take a look at the error that's being sent back from the server? (The JSON parsing issue will probably because Play's sending back HTML for an error page.)

@twrichards I've removed the comments & code that weren't meant to be committed -- thanks for catching those!
It all seems to be working okay for me locally and I haven't been able to reproduce the issue you were having with search. Perhaps we can pair tomorrow on trying to reproduce?

We're confident that the issue with search locally isn't a regression here. We're going to add a fix here, but in the short term if you run this in the newswires db container it should unblock locally: psql -U postgres -d newswires -c "create extension if not exists pg_trgm;"


I can't run normally

I can't run normally, it shall be reported to the error

@songxiaowei112
which platform? centos, debian, or .... can you offer more information about the error.
 46 deps: nop
 47     @cd ../deps/libpcap/  && ./configure && make
 48     @cd ../deps/lua/src && make $(os_Platform)

it seems command 'cd' didn't work in Makefile, so it can't find the configure file

Red hat 6.5

@songxiaowei112 the /bin/sh is missing, link or copy sh script to /bin/sh


SSC-117 Updated to be linear, changed label placement, console warnings removed

Step Number and Title needs 5-10 px space between them
Updated step title to be blow number
Made stepper linear so progression only happens on Next click
Can still move backwards via the step buttons to completed steps
Before

AFTER

loom: https://www.loom.com/share/cc8db538fedd4f50bed6fc2f20e2f7e8

:tada: This PR is included in version 2.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Atom 1.7.3 asciidoc-preview rendering broken

Description
Atom 1.7.3: Previewing asciidoc works as expected. The preview no longer renders automatically though. Specifically, one cannot see an automatic update of new information render in the preview window until they close the preview window and reopen it.
Steps to Reproduce

Write anything to an .adoc file
Preview with asciidoc-preview using the Ctrl + Shift + A (Cmd + Shift + A on Mac)
Preview will render as normal
Edit the information in the .adoc file
The preview pane will not reflect the updated information.

Expected behavior: Preview pane should live update the information. This is a working feature in Atom version 1.7.2
Actual behavior: Preview pane needed to be closed and reopened to reflect edits to the information.
Versions
Atom version: 1.7.3
APM version: 1.9.2
Tested on Mac OS X 10.11.4
Note
This is not a package issue because the asciidoc-preview hasn't received any updates since 2015-08-12.

@as-cii The only relevant change between 1.7.2 and 1.7.3 I can see that might be related to this is the text-buffer bump? I haven't attempted to repro this however, but figured I check with you.
Had a quick glance at the asciidoc-preview code, but I didn't immidiately see anything that uses private APIs or anything that would otherwise cause this regression...

Thanks @thomasjo for the heads-up, and thank you @darshandsoni for reporting this issue.
Interestingly, I am not able to reproduce on master and neither on 1.7.3. I noticed, however, that there's a setting in that package which explicitly enables re-rendering upon saving a file: can you confirm you haven't enabled that option? Also, could you try disabling every other package and make sure that none of them is influencing this wrong behaviour?
Thanks! 🙇

Thanks for the follow up, @thomasjo and @as-cii.
I can confirm that I hadn't enabled that setting for re-rendering upon save. I tried disabling every other package to no avail either.
I tested it out on my other machines running Fedora 23 and Ubuntu 16.04 and everything works normally. So I think it's just some weird botch on my Mac somewhere. Testing on another Mac soon... I will update you shortly...

Alright so works fine on other macs too. Rebooted mine and life is all good. Can't believe I didn't think of testing other systems out first / rebooting. Pebkac much?
Thanks for all the follow up though!

Thanks for the update @darshandsoni!  If this happens again feel free to comment here.


fix: use same directory listing format as nginx

This PR adopts similar directory listing structure as NGINX to keep existing crawlers and scripts working.

Is there a context to the "fix"? Is the html structure expected for parsing reasons?

nginx uses columns with fixed length: 50 chars for the file name 1 space date 20 chars for the file size
The name is truncated if it's too long: direct.nodejs.org/download/test The size is written in bytes, without a unit

I'm not sure we should limit to 50 characters, I don't think this is an issue for us.

@flakey5 can you also add an screenshot on some directory listings how it'd look like?

We can try it. Also would love if dark theme kept working.

This should be good to go, the only difference between the nginx listing & the worker should be that directories don't have a value for the last modified part

Also would love if dark theme kept working.

Same but will probably need to be something we revisit

How we deploy to staging? 🤔

Isn't it done automatically when the PR is merged on main? I see deploy workflow runs on each commit here: https://github.com/nodejs/release-cloudflare-worker/commits/main/

Isn't it done automatically when the PR is merged on main? I see deploy workflow runs on each commit here: main (commits)

Oh yes, it is :)

Should I merge to test in staging?

There still appears to be some differences

There still appears to be some differences

Ugh, it should give v<IP_ADDRESS>... I wonder what is different.

Quotes? (Single vs double)

Quotes? (Single vs double)

Yeah that appears to be the issue, https://github.com/nodejs/release-cloudflare-worker/pull/76


Bookmarks becoming folders

Steps to reproduce

create new bookmark
close browser
open new browser
sync takes place
some of new bookmarks are changes to folders with the same name

Expected behaviour
sync should update browser with all new bookmarks
Actual behaviour
some new bookmarks become folders and link is lost
Client app information
App Platform: (Chrome, Firefox, iOS, etc) Firefox 62
App Platform Version: xbrowsersync 1.4.0 (updated 6th september 2018)
Other info
Not sure if there is something specific to the links that cause this but seems to always affect the same bookmarks.

Thanks @SpearheadUK, so you're adding it using the bookmark "star" right?

That should be fine, I've just tested adding the bookmark in the same way in Firefox on one PC and my second PC running Firefox + XBS beta has automatically synced the change. I've not noticed any other bookmarks being "corrupted" (changing into a folder), can you give me some more info on which bookmarks were being corrupted in this way?
Also, importantly, if you disable sync on both PCs (Settings > Disable Sync) then re-enable the sync:

Does this resolve the issue (do the folders turn back into bookmarks? And,
Are all of the bookmarks identical on both PCs?

@SpearheadUK, I ran into a similar issue with the 1st beta but did not run beta 2 long enough to see this issue. Was Chrome the browser in step 2 and FF for step 3? What happens if you re-open the browser you closed in step 2? Dd the folder bookmarks get push to it?

I do have the extension installed on a copy of chrome. But I rarely use it. I believe I have experience this issue without any syncing taking place with chrome.
Sent from Ninehttp://www.9folders.com/

From: crankynet<EMAIL_ADDRESS>Sent: Tuesday, 11 September 2018 17:29
To: xBrowserSync/App
Cc: SpearheadUK; Mention
Subject: Re: [xBrowserSync/App] Bookmarks becoming folders (#36)
@SpearheadUKhttps://github.com/SpearheadUK, I ran into a similar issue with the 1st beta but did not run beta 2 long enough to see this issue. Was Chrome the browser in step 2 and FF for step 3? What happens if you re-open the browser you closed in step 2? Dd the folder bookmarks get push to it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/xBrowserSync/App/issues/36#issuecomment-420335645, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT9357EodW2qHiNZbKODp7F8Y3igSlHVks5uZ-T4gaJpZM4Wiz_7.

I ran into the same issue when I run Virtualbox Windows 10 with latest Chrom & Firefox+ XBS.

Verify bookmark set on both Chrome & FF are identical.
close FF
Add a bookmark on Chrome (not sure this is the issue)
Start FF again.
Bookmark sync takes place and one of the bookmark becomes a folder.

One more point to add:
The CNN bookmark changes to a folder on FF first and the one on Chrome changes soon after.

@crankynet could you just confirm for me, if you disable then re-enable the sync on Firefox (without changing any bookmarks), so you notice any odd changes? And if you do this multiple times do you notice anything?
I'm trying to determine if it's the re-population logic that is causing the problem.

Have disable/enable multiple times without issue but...
WIth XBS enabled on both, I renamed one of the bookmarks on FF (Lifehacker). Eventually, resync took place on Chrome and "Lifehacker" is changed to a folder. Seems like re-population is not causing the problem.

It has been more than 15 minutes since the last sync on Chrome, the Lifehacker bookmark on FF is still showing as a bookmark and the one on Chrome is still a folder.

Rename another bookmark on Chrome and Lifehacker became a folder on FF after resync.

I have not done much testing but I think bookmark to folder only happen to bookmarks on the bookmark bar, don't recall it ever happened to bookmarks in any folder.

I can't test right now as I'm away. But I have never had it to bookmark bar items. It's probably some random corruption. Could it happen if the url is lost from the bookmark?

From: crankynet<EMAIL_ADDRESS>Sent: Saturday, 15 September 2018 16:27
To: xBrowserSync/App
Cc: SpearheadUK; Mention
Subject: Re: [xBrowserSync/App] Bookmarks becoming folders (#36)
I have not done much testing but I think bookmark to folder only happen to bookmarks on the bookmark bar, don't recall it ever happened to bookmarks in any folder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/xBrowserSync/App/issues/36#issuecomment-421586997, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT935xas4pOWW030-cMVCxJWZ-9xfaOPks5ubRx6gaJpZM4Wiz_7.

Maybe you are on to something. XBS got the name of the bookmark from the server but the URL is not valid. WIth XBS can't recreate the bookmark, it wipes the URL field and the bookmark becomes a "folder"?

Just to let you both know, I've managed to recreate this issue and I know what the cause is. It will occur whenever you use Firefox's native bookmarks functionality to rename a bookmark (in any location), and is caused by the fact that Mozilla only provide the changed info (i.e. just the title) in the triggered event as opposed to the entire bookmark object.
Will get this fixed asap, thanks for both your help with pinning this one down guys. 👍

Great news. Thanks.

At least for the Beta, maybe the sync check should be every 5 minutes or so just so we can see if there is any issues? 10 or 15 minutes is fine for regular use.

At least for the Beta, maybe the sync check should be every 5 minutes or so just so we can see if there is any issues? 10 or 15 minutes is fine for regular use.

Yes that is a good idea, I had to make it more frequent to debug the issue so I'll commit the fix with this change to help future testing.

Great to hear.

From: Rich<EMAIL_ADDRESS>Sent: Monday, 17 September 2018 17:49
To: xBrowserSync/App
Cc: SpearheadUK; Mention
Subject: Re: [xBrowserSync/App] Bookmarks becoming folders (#36)
At least for the Beta, maybe the sync check should be every 5 minutes or so just so we can see if there is any issues? 10 or 15 minutes is fine for regular use.
Yes that is a good idea, I had to make it more frequent to debug the issue so I'll commit the fix with this change to help future testing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/xBrowserSync/App/issues/36#issuecomment-422089132, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT9351z3sLiSRovE7lsXgeHzqAPCfKXFks5ub9KggaJpZM4Wiz_7.

Hi guys, grab the latest builds which should have resolved this issue. If you could confirm this has been fixed (or not) I would greatly appreciate it!

Installed the latest build on both Firefox & Chrom. As far as I can tell, XBS on FF is running fine but it was disconnected on Chome after maybe 10 or 15 minutes. After reconnection, the bookmarks don't look the same. 1st screenshot is from FF, 2nd and 3rd one are from Chrome.

@crankynet that looks correct to me - all of the bookmarks are where they should be. The only difference is "Recent Tags", but Chrome does not implement these types of FF-specific pseudo-bookmarks (that use a place: prefix, e.g. for Recent Tags: place:type=6&sort=14&maxResults=10) so you won't see a submenu of this one in Chrome.

The issue I see is the "other bookmarks" of FF is stored under "other bookmarks" -> "[xbs] Menu" on Chrome.

If you open Other Bookmarks in FF

I reckon you will see Dictionary.com and Lifehacker as per Chrome:

If that's the case then Other Bookmarks is syncing to the correct place on both browsers. The confusion arises because although both browsers have Other Bookmarks and Bookmarks Toolbar, only FF has the concept of a Bookmarks Menu (and it also has Mobile Bookmarks but that isn't relevant here). Because Chrome does not have a Bookmarks Menu container, these bookmarks need to be synced to a folder within Other Bookmarks (which is named [xbs] Menu) instead.
It's easier to visualise using the Bookmarks Library window in FF:

So in your case, the contents of Bookmarks Menu is

which is exactly what appears in Chrome's Other Bookmarks > [xbs] Menu

Sorry for the wordy response, hope that clears things up!

Add a bookmark under "other bookmarks" on Chrome and the bookmark ended up in "Other Bookmarks"-> [xbs]Unfiled on FF. Delete the [xbs] unfiled folder but got disconnection from the server.

Yes that's how it currently works, the [xbs]... folders are containers so they can't be deleted, if you try xBrowserSync will disable your sync and show the above alert.
However this has got me thinking, by default when you add a bookmark using the xBrowserSync extension window, the bookmark is placed in the Other Bookmarks > [xbs] Unfiled folder. It might be better to add the bookmark directly into Other Bookmarks than placing them into a subfolder (and a future enhancement could allow the user to set where the bookmarks are added by default). What do you think?

Not sure if this is new...
Add a bookmark to "other bookmarks" on Chrome using keyboard shortcut control-d, and sync is disabled a few seconds later (or right away but not sure). My bookmark set is 182k according to the 1.3.1 version of the extension.

@crankynet adding a bookmark won't disable your sync on it's own, try it with a new sync to compare - create a new Chrome profile (which will have no bookmarks), add xBrowserSync, and create a new sync. Then try adding your bookmark. If it succeeds then it could be some corruption in your sync data which is causing the issue, like with this issue.

Anyway, it looks like the original reported issue has been resolved so I'm going to close this now.


Handle case when collection contains different concrete types

This is a fix for #251. Previously when comparing two lists while ignoring order, the type and matching spec values were always using the first value. The collection may contain different types, so this change now will only try to obtain a new matchingspec if it does not already have one for that type.

Thanks so much


Store release with WebView2 Runtime Fixed Version in WinUI2 app

We want to publish a WinUI2 app package using WebView2 Fixed Runtime and distribute it in the Microsoft Store but I can't. When I make a relase build of the app using Fixed Version binaries the size of the package is around 15mb and doesn't include de 200+mb of the WebView2 Fixed Runtime. Is there any documentation on how to make the package with the WebView Fixed Runtime in it ?

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

ID: 8a805f15-55ba-4ef4-aeda-22188a040c66
Version Independent ID: 88de0955-526f-a4c9-efcc-d952281850e1
Content: Distribute a WebView2 app and the WebView2 Runtime - Microsoft Edge Development
Content Source: microsoft-edge/webview2/concepts/distribution.md
Product: microsoft-edge
Technology: webview
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

@alexispolakMURAL I would encourage you to please ask the question again by filing an issue on the WebView2Feedback repository instead. Thanks!
➡ https://github.com/MicrosoftEdge/WebView2Feedback


"Hallucination" of Diff View

It seems Diff View mixes things up and I don't figure out how it makes up some changes that are not in the new version of the file.

The new file: https://github.com/covespace/devchat-webapp/blob/36-add-sign-in-and-sign-up-front-page/.circleci/config.yml
The old file: https://github.com/covespace/devchat-webapp/blob/52489a5939ff3c0052ec4661ac4be666f3b9b927/.circleci/config.yml

See the strange diff:

The Diff View actually uses the following corrupted file that, I guess, is somehow generated by the diff tool.
version: 2.1

jobs:
  build:
    docker:
      - version: 2.1

jobs:
  build:
    docker:
      - image: cimg/python:3.11
        environment:
          DATABASE_URL: postgresql://postgres@localhost/circle_test
      - image: cimg/postgres:14.8
    steps:
      - checkout
      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "webapp/requirements.txt" }}-{{ checksum "tests/requirements.txt" }}
      - run:
          name: Install dependencies
          command: |
            python -m venv venv
            . venv/bin/activate
            pip install -r webapp/requirements.txt
            pip install -r tests/requirements.txt
            pip install -r scripts/requirements.txt
            pip install pylint pytest
      - save_cache:
          paths:
            - ./venv
          key: v1-dependencies-{{ checksum "webapp/requirements.txt" }}-{{ checksum "tests/requirements.txt" }}
      - run:
          name: Run pylint
          command: |
            . venv/bin/activate
            pylint webapp
            pylint tests
      - run:
          name: Check for webapp and scripts changes
          command: |
            git diff --quiet HEAD^ HEAD webapp || echo "export WEBAPP_CHANGED=true" >> $BASH_ENV
            git diff --quiet HEAD^ HEAD scripts || echo "export SCRIPTS_CHANGED=true" >> $BASH_ENV
      - run:
          name: Run pytest
          command: |
            . venv/bin/activate
            if [ "$WEBAPP_CHANGED" = "true" ]; then
              pytest tests/webapp
            else
              echo "No changes in webapp, skipping pytest for tests/webapp"
            fi
            if [ "$SCRIPTS_CHANGED" = "true" ]; then
              pytest tests/scripts
            else
              echo "No changes in scripts, skipping pytest for tests/scripts"
            fi

workflows:
  build_and_test:
    jobs:
      - build
        environment:
          DATABASE_URL: postgresql://postgres@localhost/circle_test
      - image: cimg/postgres:14.8
    steps:
      - checkout
      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "webapp/requirements.txt" }}-{{ checksum "tests/requirements.txt" }}
      - run:
          name: Install dependencies
          command: |
            python -m venv venv
            . venv/bin/activate
            pip install -r webapp/requirements.txt
            pip install -r tests/requirements.txt
            pip install -r scripts/requirements.txt
            pip install pylint pytest
      - save_cache:
          paths:
            - ./venv
          key: v1-dependencies-{{ checksum "webapp/requirements.txt" }}-{{ checksum "tests/requirements.txt" }}
      - run:
          name: Run pylint
          command: |
            . venv/bin/activate
            pylint webapp
            pylint tests
      - run:
          name: Run pytest
          command: |
            . venv/bin/activate
            pytest tests

workflows:
  build_and_test:
    jobs:
      - build

Did you select some text in vscode editor to compare?
From context in issue, I think you select "image: cimg/python:3.11" in active editor, so diffview think you want to compare response with "image: cimg/python:3.11".


ScanNet data generation

First of all, thank you for publishing your implementation.
I want to generate the ScanNet dataset using the learned weights.
For this, from the huggingface, I downloaded the files including last.ckpt.
Then, using the demo code, I tried to render the images of the first scene (scene0000_00).
For rendering without additional training or evaluation, I slightly modified the final block of scannet.gin as follows:
run.run_render = True
run.run_train = False
run.run_eval = False

After that, I run the demo code with
python -m run --ginc configs/scannet.gin --scene_name scene0000_00

However, when I run the demo code, it seems taking too much memory and returns the following message.
Unable to allocate array with shape<PHONE_NUMBER>, 3) and data type float64

This issue also had been mentioned by #11.
The rendering loop (predict_step in /model/plenoxel_torch/model.py) seems to sequentially render the image tensors and keep all of them on RAM.
Maybe this part has better to be fixed for better accessibility of the dataset.
Anyway, in my case, I just picked one pose (frame_id=0) and rendered a single image.
The code runs without error, but it returns an unexpected result.
Fortunately, at least I can see the room-like shape (probably the room of scene0000_00, right?).

It seems that there is a pose-related problem.
The following (intermediate) pose tensors might be helpful for figuring out what is wrong.
original pose (before processing with pcd-related things)
[[[-9.554210e-01  1.196160e-01 -2.699320e-01  2.655830e+00]
  [ 2.952480e-01  3.883390e-01 -8.729390e-01  2.981598e+00]
  [ 4.080000e-04 -9.137200e-01 -4.063430e-01  1.368648e+00]
  [ 0.000000e+00  0.000000e+00  0.000000e+00  1.000000e+00]]]

render_pose (the finally returned one)
[[[-9.80858835e-01  2.35084399e-18 -1.94721569e-01  2.96767746e-01]
  [-1.16803752e-07  9.99999718e-01 -7.10082718e-07  3.07291136e-02]
  [ 1.94722179e-01 -1.46270149e-17 -9.80858767e-01  1.29165942e+00]
  [ 0.00000000e+00  0.00000000e+00  0.00000000e+00  1.00000000e+00]]]

I'm not very familiar with NeRF-related things, so the aforementioned trials might be wrong somewhere.
Any help would be greatly appreciated.

Have you try to use trans_info.npz to convert the pose. After loading pose from ScanNet convert it using the code below:
trans_info = np.load("path/to/trans_info.npz")
T = trans_info['T']
pcd_mean = trans_info['pcd_mean']
scene_scale = trans_info['scene_scale']
poses = T @ poses
poses[:, :3, 3] -= pcd_mean
poses[:, :3, 3] *= scene_scale
poses = poses.astype(np.float32)


TypeError: Couldn't build proto file into descriptor pool: duplicate symbol 'pw.rpc.EchoMessage'

Reproduction steps

connectedhomeip$ source script/bootstrap.sh
connectedhomeip$ source script/activate.sh
Enable RPCs in the build using menuconfig and build and flash the lighting-app/esp32
build pigweed/rpc_console and execute chip-console --device /dev/ttyUSB0 command

Bug prevalence
Everytime
GitHub hash of the SDK that was being used
83159c252587e695cf791dada8eb2db55ffc471d
Platform
esp32
Platform Version(s)
V1.4
Anything else?
ESP-IDF version:  v5.3
commit e0991facf5ecb362af6aac1fae972139eb38d2e4 (HEAD, tag: v5.3)

Removed the label - it looks like the chip-console has issues here. Unsure about who maintains pw-rpc things though at this point.

I was updating some logging and asserts packages, when checking RPC I hit this in #36297
It seems that the issue is that the chip console was not maintained (we seem to have no tests?) and it changged over time:

pw_system.console already imports the echo service
several arguments removed (no ipython, no output, several flags changed)

I updated it to work in that PR and tested locally on linux so far.


Assertion fails in LMMS

On LMMS' current master, on closing LMMS, we get
lmms: /data/cprogs/lmms/master/src/3rdparty/rpmalloc/rpmalloc/rpmalloc/rpmalloc.c:1248: _rpmalloc_span_finalize: Assertion `span->list_size == span->used_count' failed.
Aborted (core dumped)

with rpmalloc version mjansson/rpmalloc@8d790d2b45e1818e531c61bf649c5225556dd07a .
Thanks to zonkmachine, in LMMS/lmms#5733 we found out that mjansson/rpmalloc@68c6ae5 makes the error occur.
@mjansson Can you please check if this issue is an rpmalloc issue, or an issue of LMMS using rpmalloc wrong?
Full LMMS issue: LMMS/lmms#5733
gdb backtrace:

Click to expand

(gdb) bt
#0  0x00007ffff60f2615 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff60db862 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff60db747 in _nl_load_domain.cold () at /usr/lib/libc.so.6
#3  0x00007ffff60eabf6 in  () at /usr/lib/libc.so.6
#4  0x0000555555933ffe in _rpmalloc_span_finalize (heap=0x7ffff3190058, iclass=66, span=0x7ffff2d80000, list_head=0x7ffff3190698) at /data/cprogs/lmms/master/src/3rdparty/rpmalloc/rpmalloc/rpmalloc/rpmalloc.c:1248
#5  0x0000555555935843 in _rpmalloc_heap_finalize (heap=0x7ffff3190058) at /data/cprogs/lmms/master/src/3rdparty/rpmalloc/rpmalloc/rpmalloc/rpmalloc.c:1833
#6  0x00005555559348b9 in _rpmalloc_heap_global_finalize (heap=0x7ffff3190058) at /data/cprogs/lmms/master/src/3rdparty/rpmalloc/rpmalloc/rpmalloc/rpmalloc.c:1430
#7  0x0000555555937b35 in rpmalloc_finalize () at /data/cprogs/lmms/master/src/3rdparty/rpmalloc/rpmalloc/rpmalloc/rpmalloc.c:2699
#8  0x00005555557a0e17 in MemoryManagerGlobalGuard::~MemoryManagerGlobalGuard() (this=0x555555b13070 , __in_chrg=) at /data/cprogs/lmms/master/src/core/MemoryManager.cpp:37
#9  0x00007ffff60f4db7 in __run_exit_handlers () at /usr/lib/libc.so.6
#10 0x00007ffff60f4f5e in  () at /usr/lib/libc.so.6
#11 0x00007ffff60dd159 in __libc_start_main () at /usr/lib/libc.so.6
#12 0x000055555571063e in _start ()

There is a friendly comment on the line above which says that if you hit that assert you have a memory leak 😃
I suggest that if you don’t care about leaks or statistics, either disble statistics or/and asserts, depending on what you need. If you’re building a standalone executable you could just ignore leaks as the OS will free any remaining memory pages on process termination anyway (if it’s a dynamically loaded module it’s a bit different as you should probably make sure all mapped pages are released on module unload).
Or if you want to run a tight ship, track down the leak and fix it. Depending on if you override the malloc/new entry points or use rpmalloc directly a tracker would look a bit different. Let me know if you need assistance doing this.

Thanks so far! So it simply means that we have a leak in how we use rpmalloc, and it's no leak inside rpmalloc. Is that correct?

Yes, most likely so.

Thanks, we found the leak and now use MM_FREE. The assertion is gone now.


tron.get_block returns error response

Python: 3.7
tronpy: 0.1.5
error:
>> tronpy.Tron().get_block(24223718)
{'Error': 'class com.alibaba.fastjson.JSONException : unclosed string : _'}

I found only block 24223718 have problems.
I've reported this to Tron offical telegram group, no reply yet.
But:
tron.py:
    def get_block(self, id_or_num: Union[None, str, int] = None) -> dict:
        """Get block from a block id or block number."""

        if isinstance(id_or_num, (int,)):
            block = self.provider.make_request("wallet/getblockbynum", {"num": id_or_num, "visible": True})
        elif isinstance(id_or_num, (str,)):
            block = self.provider.make_request("wallet/getblockbyid", {"value": id_or_num, "visible": True})
        elif id_or_num is None:
            block = self.provider.make_request("wallet/getnowblock", {"visible": True})
        else:
            raise TypeError("can not infer type of {}".format(id_or_num))

        if block:
            return block
        else:
            raise BlockNotFound

"wallet/getblockbynum", "wallet/getblockbyid", "wallet/getnowblock" do not have the "visible" parameter now (maybe exists before)
ref: https://developers.tron.network/reference#walletgetblockbynum

Sorry, as an HTTP client library, tronpy can't fix the json encoding/decoding bug in java-tron.
This is an upstream bug.
visible is a parameter passed to JsonEncoder, every HTTP API has a visible parameter.
 Code speaks.
Ref: https://github.com/tronprotocol/java-tron/blob/develop/framework/src/main/java/org/tron/core/services/http/GetBlockByIdServlet.java#L38
      PostParams params = PostParams.getPostParams(request);
      BytesMessage.Builder build = BytesMessage.newBuilder();
      JsonFormat.merge(params.getParams(), build, params.isVisible());
      fillResponse(params.isVisible(), build.getValue(), response);

Thanks.
And for convenience, tronpy won't switch to non-visible request.

A "visible" param to Tron.get_block ? Users can process the address format (to_base58check_address) outside without getting an error. :|

Good point, will fix this now.

😁Published as v0.1.6. You can use pip install -U tronpy to test the new API.


fix for shell dependency

@chrismattmann Try this one. I changed it to subprocess and tested this working fine on Ubuntu. Tested on virtual windows and worked fine.

@dongnizh
I've cleaned up the git history by removing the .jar files from the history of the repository.  If it is not hard to do, can you rebase your changes onto the new "master" branch?  If not, I can set up a new PR/branch for you to work with.

@ahmadia  Sure. Close this first and create new pr on your new master branch. Thanks for letting me know this.

Yeah, I'll do the rebase.

See #41


ipam: fix an use of deleted ip problem when allocation expiration timer started failed

When allocating IP with "AllocateNextWithExpiration", and IP allocation succeed
but "StartExpirationTimer" failed, then the allocated IPs would be revoked.
So in the case an error should be returned to avoid use of the deleted IPs.
Signed-off-by: yuwenchao<EMAIL_ADDRESS>ipam: fix an use of deleted ip problem when allocation expiration timer started failed

yes, it's more a code vulnerability than bug. The cilium offical ipam rarely has a problem.  But we implemented a private Allocator based on etcd, and found a problem in our k8s cluster that an IP was assigned to two different pods when the racing problem of ipam.allocatorMutex increased.  The root cause of the problem is in our private ipam allocator, but the code changes in the PR help solve the problem.


multiple API keys

It looks like the key is a global setting via a static class setter OpenAI.apiKey = 'foo'
Is there any way to create multiple OpenAI clients using different API keys?

This other client supports your use case:

https://pub.dev/packages/openai_dart


fix (navisworks): Handle calling Clash API and receiving nothing back

The ClashAPI, under certain circumstances, returns nothing, in place of the API object with callable methods.
The documented behaviour is to have the methods return nulls or empty lists, not that the ClashAPI object be itself null.
This PR adds defensive NullReference checking.

A feature release is available on Manager for now - if this IS indeed the cause of the manifested problem, I will tidy this up with the comments on the board. This is quicker than installing a copy of Simulate just now.


Guide: CLBoss - plugin for CLN

What
After merging CLN guide, we can further add CLN specific tools like this one: CLBoss
This PR adds the installation guide for setting up CLBoss on CLN-enabled nodes. It leaves out further explaination on how to configure CLBoss because of lack of personal knowledge and instead links to configuration guides by ZmnSCPxj.
The guide is placed in: /bonus/lightning
and linked in index.md under section Liquidity Management (to be discussed)
Why
CLBoss is an automated node management tool for CLN nodes. It's quite popular and widely requested.
How
CLBoss comes as a plugin that is build from source and placed into the prepared plugins folder (we set that up in CLN guide /data/cl-plugins-available). Furthermore it's loaded into CLN's config by adding the plugin parameter.
Scope

[ ] significant change to core configuration
[x] independent bonus guide
[ ] simple bug fix

Test
Installation was tested on amd64 setup and initially run on an "empy" CLN node to verify that the steps work out.
Preview: https://blckbx.github.io/raspibolt/guide/bonus/lightning/clboss.html

I don't run CLN so can't test it on the node but LGTM! Just a few nits, see below. utACK +1

Thanks for review and suggestions!

I don't run CLN so can't test it on the node but LGTM! Just a few nits, see below. utACK +1

Thanks for review and suggestions!

I tried to find someone who tested the guide on their node, but no luck so far, despite a long elapsed time. So I propose we merge this PR as it has been utACKed.
:tada:


padding-left size is different on custom-menu with nocheckmark

Please verify the version of auro-menu you have installed
No response
Please describe the bug
This is the auro-combobox with custom-menu

This is the Auro-combobox with Auro-menu

Reproducing the error
This issue cannot be reproduced on the Auro docsite
Expected behavior
The padding-left on custom-menu should be same as auro-menu
What browsers are you seeing the problem on?
No response
Additional context
No response
Exit criteria
No response

Combobox and select do not currentlhy support a custom named auro-menu.


[terra-table] Columns and rows are misaligned for selectable tables.

Bug Report
Description
When rendering a selectable terra-table with version 4.10.0, the first column has additional space that results in the rest of the columns being misaligned with the table content.
Steps to Reproduce
Bug is reproducible in the selectable terra-table example.
Additional Context / Screenshots

Expected Behavior
Leftmost column does not have additional left padding.
Possible Solution
The hidden checkbox appears to be taking up space.  May need to force the width to 0.
Environment

Component Name and Version: terra-table 4.10.0
Browser Name and Version: Chrome/IE
Node/npm Version: npm 5, node 10
Webpack Version: 4
Operating System and version (desktop or mobile): N/A

@ Mentions
@dkasper-was-taken

Looks like the hidden scss wasn't quite complete. The px unit needed to be added. For HeaderCheckMarkCell.module.scss and CheckMarkCell.module.scss we should update the .checkmark.is-hidden selector to match this:
 .checkmark.is-hidden {
    background-color: transparent;
    background-image: none;
    border: 0;
    left: 50%;
    margin: -1px;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 1px;
  }


Fix vulnerabilities

Description

Fix vulnerabilities

Commit message

chore: Fix vulnerabilities

Testing

[ x] Added unit tests
[x ] Ran unit tests successfully
[ ] Added documentation for public APIs and/or Wiki

Code coverage
Total coverage: 93.36%

Powered by Slather

  Generated by :no_entry_sign: Danger


[File Shares] Uploading file to Premium File Storage account fails with InvalidRange

Describe the bug
I can't seem to figure this one out. I have some code that is currently being used to upload files to an Azure File Share, kinda like this:
    public async Task Upload(String file, byte[] contents) {
        var share = GetShareClient(pod);

        var root = share.GetRootDirectoryClient();
        var fileref = root.GetFileClient(file);
        using ( var stream = new MemoryStream(contents) ) {
          await fileref.UploadAsync(stream);
        }
    }

It works perfectly when used with a regular Azure storage account.
However, I can't seem to make it work with an Azure File Storage Premium account. Downloading files works great, but every Upload() call I make just fails with:
Azure.RequestFailedException: The range specified is invalid for the current size of the resource.
RequestId:6da55241-501a-008e-1e77-268f50000000
Time:2021-03-31T21:49:55.3495265Z
Status: 416 (The range specified is invalid for the current size of the resource.)
ErrorCode: InvalidRange

Expected behavior
I would expect the code above to work, since it works with regular accounts. In this case, I'm using the code to replace a file that already exists on the file share, if that makes a difference.
Actual behavior (include Exception or Stack Trace)
See above
Environment:

Azure.Storage.File.Shares v 12.6.1 running on .NET core 3.1 on linux.

Hi @tomasr,
Could you post the working request/response and failing request/response from Fiddler?
Also, what is the size of the file you specified when the file was created in Azure Storage, and the size of the stream you are trying to upload?
Thanks,
-Sean

Hi @seanmcc-msft
Unfortunately, I don't have an easy way to grab those since it's in a fairly restricted environment.
Both the existing file and the new one are small, under 400 bytes, but probably slightly different sizes.
After looking at it for a while, I think the fundamental issue is that the library is always doing a ranged request, so unless the files are exactly the same size, things are just not going to work properly. I suspect that might have been going on in the non-premium storage account it was working on initially, but I am not entirely sure.
I will say the biggest issue here is not even the library behavior. It's that there's simply no documentation on how it's supposed to work. For example, while trying to get this to work I said "well, I'll just delete the existing file and upload a new one".... well, no that doesn't work either because the ranged upload request will fail if the file doesn't already exist. That was very surprising, since it's not really documented.
I kinda worked around it for now by first forcing a call to Create() first with the exact size of the file that is going to get uploaded, but even that is kinda weird, because Create() is documented as taking the "maximum size", not the actual size of the resulting file you want. Again, confusing.
I fully understand the library tries to be a relatively thin wrapper on top of the Storage API but.... It's definitely been more confusing and harder to use than the older ones, in my experience.

Hi @tomasr,

I kinda worked around it for now by first forcing a call to Create() first with the exact size of the file that is going to get uploaded, but even that is kinda weird, because Create() is documented as taking the "maximum size", not the actual size of the resulting file you want. Again, confusing.

I agree, the maximum size parameter can be confusing.  I believe the workflow you are describing should also work if you are setting max size to a size that is larger than the content you are about to uploading.
We do have public REST docs that provide more information about these operations:

Create File
Put Range

I think the key points are:

You need to create the file with a max size >= the size of your content before you call Put Range
Put Range requests are limited to 4 MB each, and the range must fall within the range of your file, which is offset 0 - max size.  The size of the range you specify must equal the length of the stream you are trying to upload.
If you don't want to worry about the 4 MB limit and ranges, you can call ShareFileClient.Upload(), and we will handle the chunking for you.

-Sean

I agree, the maximum size parameter can be confusing. I believe the workflow you are describing should also work if you are setting max size to a size that is larger than the content you are about to uploading

Well.... that was actually what I tried first, by setting maxSize=Int32.MaxSize. Imagine my surprise when querying the file properties later reported the file size as being 2GB. So... no, sounds like it better be exactly the size you want to upload.

We do have public REST docs that provide more information about these operations:

For the REST API, yes. Not the actual library. I really don't want to have to go around looking at the library source code first to figure out which REST APIs it's calling, so that I can look up the REST API docs.  ¯_(ツ)_/¯

If you don't want to worry about the 4 MB limit and ranges, you can call ShareFileClient.Upload(), and we will handle the chunking for you.

I've always been using Upload(). It was just very confusing to be getting errors related to ranges, when I wasn't doing a range request directly, nor was I uploading content over 4MB.

I was actually looking at the documentation for maximum size. "Specifies the maximum size for the file." I think says what it exactly needs to say however I can see this can be misleading. The reason why it's documented as is, is to to allow the customer to be able to allocate enough space in their file to upload. The file will not expand if you upload at the end of the file size. We are documenting it the same as the Rest API is documenting this.
https://docs.microsoft.com/en-us/rest/api/storageservices/create-file

For the REST API, yes. Not the actual library. I really don't want to have to go around looking at the library source code first to figure out which REST APIs it's calling, so that I can look up the REST API docs. ¯(ツ)/¯
I'm not sure how far in the library source code you even have to go to look for this information. In our doc strings we clearly state the corresponding REST API for these methods.
https://docs.microsoft.com/en-us/dotnet/api/azure.storage.files.shares.sharefileclient.createasync?view=azure-dotnet

https://docs.microsoft.com/en-us/dotnet/api/azure.storage.files.shares.sharefileclient.uploadasync?view=azure-dotnet

These pages are generated from our doc strings in our source, and which you don't have to dig very deep at all.

If you're looking to expand the size of the file you would have to use our SetHttpHeaders API in order to set the size to be larger.
Please reply if you have any further questions.


Musca A, B related changes, update flash algo

/morph test

page_size doesn't appear to be right in the changes. (blocksize is an alias to both page_size and sector_size.) sector_size is the erase sector size of the flash, while page_size is the programming granularity. On the QSPI, I believe the page size was 256 bytes.
Does this fix the issues with the Musca-A1 flash algo that we discussed earlier?

Earlier issue comes into picture when new flash algo that works in DAPLink is used in pyOCD. Its still under investigation. This fix will enable the older flash algo in pyOCD to work with updated DAPLink firmware. The  test program and erase page will still fail because only 256KB of flash is memory mapped in muscaA. Consider this as a patch till the updated flash algo is added to the pyOCD project.


Data Loading for Benchmarking

Goal
Develop a common way to load data for benchmarking purposes
Description
One of the issue with benchmarking is the difference in dataset structure. Within the onTime benchmarking module, this problem aims at being solved in three different aspects. First, with the availability of common datasets in the library. Second, with helper methods to create custom datasets and use them alongside any other 'onTime compatible' ones. Third, by following the already existing dataset structure 'TimeEval' as suggested by Jonathan.
Tasks

[ ] Check if something could be used from TimeEval[1]
[ ] Check the TimeEval data format[1].
[ ] Create a directory called data in https://github.com/fredmontet/ontime/tree/develop/src/ontime/module to make this new module
[ ] Add some basic datasets, see if those in Darts could be used.
[ ] Develop helper methods to add custom datasets
[ ] Make an example of how to use the developed method in a notebook

Reference
[1] https://timeeval.readthedocs.io/en/latest/

Check if something could be used from TimeEval
TimeEval has a file converter script that could be useful. but it's meant to be used on the command line so it'd need to be adapted to fit into ontime.
The benchmarking part itself looks interesting as well though the doc in this part is still a WIP.
Check the TimeEval data format
The file format is basically a comma separated CSV with headers and an index column (integers or timestamps) doc link

Since the issue #41 was created, this one can be closed.


Navigation compose page not clickable if sub-page is not enabled

Description of the bug
When you configure a compose page in your navigational page block, if you disable your display sub-pages option, the compose page won't be clickable.
Reproduction steps

Add a navigational page block in your NS
Add a compose page
Disable the display sub-pages option
Save the page
Try clicking on the compose page
Notice that nothing happens if the option is disabled
If you enable the option, the subpage from the dropdown will open your actual compose page.

Expected behavior
Even if display sub-pages is disabled, you should be still able to click and open your compose page.
Screenshot/Video

https://drive.google.com/file/d/1ndOoMkg0ATpX-KbJGjJVh9tG2Kca8t6z/view?usp=share_link
Version
Branch: 2023.3.x

Whoel nav item should be clickable and not just the text


Release VidGear Stable v0.2.4

Description
New vidgear stable release is here with focus on bug fixes and improvements to its APIs. 🎉
Key Changes:
📓 Complete Release Notes can be found here ↗
New Features ✨

CamGear:

Added a new YT_backend Internal Class with YT-DLP backend:

Implemented YT_backend a new CamGear's Internal YT-DLP backend class for extracting metadata from Streaming URLs.
Added support for pipeling (live) video-frames from all yt-dlp supported streaming sites: https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md#supported-sites
Implemented algorithm from scratch for auto-extracting resolution specific streamable URLs for pipelineing.
Implemented logic for auto-calculating best and worst resolutions.
Added new ytv_metadata global parameter to CamGear for accessing video's metadata(such as duration, title, description) on-the-go.
⚠ Playlists are still unsupported.

WebGear_RTC:

Implemented a new easy way of defining Custom Streaming Class with suitable source(such as OpenCV):

Added new custom_stream attribute with WebGear_RTC options parameter that allows you to easily define your own Custom Streaming Class with suitable source(such as OpenCV).
This implementation supports repeated Auto-Reconnection or Auto-Refresh out-of-the-box.
This implementation is more user-friendly and easy to integrate within complex APIs.
This implementation requires at-least read() and stop() methods implemented within Custom Streaming Class, otherwise WebGear_RTC will throw ValueError.
This implementation supports all vidgear's VideoCapture APIs readily as input.

Maintenance:

Added new .gitignore  for specifying intentionally untracked files to ignore

Added more files entries to .gitignore.

Added new .gitattributes to manage how Git reads line endings.

Enabled auto default behavior, in case people don't have core.autocrlf set.
Enforced LF line-endings for selective files types.
Added Binary data files that specifies they are not text, and git should not try to change them.
Added Language aware diff headers.
Added Linguist language overrides.

Docs:

Added bonus example to add real-time file audio encoding with VideoGear and Stabilizer class.
Added complete usage docs with new CamGear's Internal Class with YT-DLP backend.
Added instructions to extract video's metadata in CamGear.
Added donation link in page footer with bouncing heart animation through pure CSS.
Added info about critical changes in v0.2.4 and above installation through new announcement bar.
Added related usage docs for new WebGear_RTC custom streaming class.
Added changes for upgrading mkdocs-material from v7.x to newer v8.x.
Added outdated version warning block.

Updates/Improvements ⚡

CamGear:

Added is_livestream global YT_backend parameters.
Added default options for yt-dlp for extracting info_dict(metadata) of the video as a single JSON line.
Completely removed old logic for extracting streams using pafy.
Removed all dead code related to streamlink backend.

Setup.py:

Moved all API specific dependencies to extra_requires under the name "core". [PR #268 by @zpapakipos]
Added rule to replace GitHub heading links in description.
Updated extra_require dependencies.
Removed streamlink dependency.
Removed pafy dependency.
Removed pyzmq from latest_version group.
Updated SEO Keywords.

Docs:

Re-written pip and source installation docs.
Added warning for using -disable_force_termination flag for short duration videos.
Added permalink_title entry to mkdocs.yml.
Updated CamGear parameters.
Updated Admonitions with related information.
Updated Functional Block Diagram(gears_fbd.png) image.
Updated installation instructions.
Updated Advanced examples using WebGear_RTC's custom streaming class.
Updated code highlighting.
Updated zenodo badge.
Updated BibTex for project citation.
Replaced incorrect API parameter docs.
Updated WebGear_RTC parameters.

CI:

Updated CI tests for new WebGear_RTC custom streaming class.
Restored test_stream_mode CamGear test.
Updated Streaming Sites test links.
Added more tests cases.

Maintenance:

Updated spacing in logger formatting.
Renamed Asyncio Helper logger name.
Changed logging colors.
Updated logging messages.

Breaking Updates/Changes 💥

Installation command with pip has been changed in v0.2.4:

The legacy pip install vidgear command now installs critical bare-minimum dependencies only. Therefore in order to automatically install all the API specific dependencies as previous versions, use pip install vidgear[core] command instead.

CamGear:

Removed streamlink backend support from stream_mode in favor of more reliable CamGear's Internal YT-DLP backend class for extracting metadata from Streaming URLs.

CamGear will raise ValueError if streaming site URL is unsupported by yt-dlp backend.
CamGear will raise ValueError if yt-dlp isn't installed and stream_mode is enabled.

Removed automatic enforcing of GStreamer backend for YouTube-livestreams and made it optional.

The CamGear will not raise ValueError if GStreamer support is missing in OpenCV backends.

WebGear_RTC:

Removed support for assigning Custom Media Server Class(inherited from aiortc's VideoStreamTrack) in WebGear_RTC through its config global parameter.
WebGear_RTC API will now throws ValueError if source parameter is NoneType as well as custom_stream attribute is undefined.

Helper:

Removed restore_levelnames method.
Removed youtube_url_validator helper method.

Bug-fixes 🐛

CamGear:

Fixed KeyError Bug for missing attributed in meta_data json in some streaming sites.

Helper:

Removed unused imports.

Docs:

Removed slugify from mkdocs which was causing invalid hyperlinks in docs.
Fixed GitHub hyperlinks in README.md.
Fixed hyperlink in announcement bar.
Fixed content tabs failing to work.
Fixed line-endings and usage example code.
Removed any pafy and streamlink references.
Fixed context and typos.

CI:

Fixed NameError bugs in WebGear_RTC CI test.

Maintenance:

Removed dead logger code causing Python's Built-in logging module to hide logs.
Removed unused logging import.
Updated code comments.

Requirements / Checklist

[x] I have read the PR Guidelines.
[x] I have read the Documentation.
[x] I have updated the documentation accordingly(if required).

Related Issue

Context

VidGear's next milestone release i.e. v0.2.4 with focus on new features, critical bug fixes, performance improvements and lots of under the hood enhancements.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Screenshots (if available):
Docs are available at: https://abhitronix.github.io/vidgear/v0.2.4-dev/

@zpapakipos The release will be completed by today. 😃


Create Your Own Instagram Reel Comparing Different DID Methods

Create Your Own Instagram Video Comparing Different  Decentralized Identifier (DID) Methods
🚀 Goal
Use what you learn about Web5 DID methods  during Hacktoberfest to create your own Instagram reel focused on different DID methods.
🤔 Background
This issue focuses specifically on creating your own content regarding Web5 / tbDEX topics. Your contributions here will help developers kickstart their Web5 projects!
🤝 How You Can Contribute
We've broken it down into smaller tasks. Every contribution counts!
🔑 Tasks and Acceptance Criteria
❗You must only assign yourself one task at a time to give everyone a chance to participate.❗
You may assign yourself your next task after your current task is reviewed & accepted.

[ ] Link your submitted PR in a comment here to count towards Hacktoberfest.
[ ] You must host your content on your own website or channel.
[ ] The video submitted for this task can be cross-posted across other platforms, however it will only count towards one content task. You may not reuse your video submitted for this task to get points for another task unless there are significant changes (like adding 30 seconds of extra content on YouTube).
[ ] Add your content information directly to the site/src/externalContributors.json file in the repository.
[ ] Save your image in the site/static/image/external-contributor/ directory, ensuring the image is in a 16:9 ratio.
[ ] Create a pull request with your changes for review.
[ ] Link your submitted PR in a comment here to count towards Hacktoberfest.

Your contribution in externalContributors.json must include:

[ ] Type: Video, Blog, Social (please choose the appropriate one)
[ ] Thumbnail: the path to your image, e.g., /img/external-contributor/yourimage.png
[ ] Title: the title of your content
[ ] Link: a direct link to your content
[ ] Your name

Here’s an example of the JSON format to follow:
[
    {
        "type": "blog",
        "thumbnail": "/img/external-contributor/yourimage.png",
        "title": "Exploring Web5",
        "link": "https://linktoyourcontent.com/web5-post",
        "contributor": "Your Name"
    }
]

Available type options:

Video
Blog
Social

🌟 Resources

Create a DID Guide
 What are DIDs Guide
9 Facts about DIDs Blog
Our Blogs
Our YouTube channel

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch for this task
Follow the tasks outlined above
Submit a pull request with your changes
Respond to any feedback during the review process

Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

./take

Hey @Musaveershaik - your typo prevented the task from auto-assigning, so I have assigned it to you for you! Thank you for taking on this task, and looking forward to your video. ❤


mnist_simple.py can not reproduce the same figure.

Failed to reproduce the same figure (see below figure) while  running mnist_simple.py with same parameters from the paths /mHTM-master/dev/sp_math_pub/ and /mHTM-master/src/examples The installation procedure followed  from the mHTM's README and prequsits are succesfully installed.

While debugging the program, I realized that the sp.predict method outputs only a matrix which is populated only with zeros.
   sp_pred = sp.predict(inputs)
    print np.count_nonzero(sp_pred*1) # 0
Any ideas to fade away this problem ?

@muratkrty - I was unable to reproduce this issue. It is possible that this is a dependency issue. I have added a requirements.txt file. Please use it to install the packages matching those on my system.
If you are still having issues, try using a virtualenv. This will give you a clean Python install where you can install the required packages and this project.

Thanks for reply.
I guess, there was a problem with version conflicts (scipy and scikit_learn). Using virtualenv with requirements.txt works.


convert docs Dockerfiles to use docs/base:oss

speeds up make docs, and reduces the svn checkout timeout issue.

LGTM

@FrenchBen can you please merge, I don't have the perms here.


Account for trip IDs missing shape IDs

When the shape ID is missing, the direction
cannot be parsed. It shows up as a 0 after _
Fixes #2

I have bumped setup and made the requested changes. It has happened at least three times since I have been watching it but after the second time, I put guardrails in my own code to account for it, so I'm not sure if it has happened again since.

I would also note that your library is extremely valuable even for non-nyct feeds, and I am using it for other feeds beyond the subway. I intend to utilize it (if possible) for LIRR, MNR, NJT, and more.

LGTM. For what it's worth this appears to have happened for at least one Northbound 2 train this morning, the GTFS trip ID was 050350_0, so definitely happy to have this fixed

FYI, noticed and fixed a regression from a small syntax issue. Take 1.3.2 to avoid issues


Add License Service secrets and values to the getting started templates

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Added some License Service related secrets and values to the getting started templates. These will need to be configured by the end-user at the time of SLE installation, once we add the license service to the umbrella chart.
Why should this Pull Request be merged?
I have a PR for adding the License Service to the umbrella chart. As part of that work, I need to add some license service related secrets and values to the SLE getting started templates, so that end-users will be able to configure these, at the time of SLE installation. These are needed for our service to get deployed successfully.
What testing has been done?
We are successfully setting and using these values in our license service pipeline that deploys to the stratus dev/test environments.

Is this it? Will we need to write a tutorial or general description of the License Service eventually?

The documentation part for the License Service in general, is covered by the below user story. Since we do not have any clients for the License Service right now, this documentation is not being worked on right now.
https://dev.azure.com/ni/DevCentral/_workitems/edit/1852722/
There is another Task which takes care of updating the Persistent Storage required in the installation guide:
https://dev.azure.com/ni/DevCentral/_workitems/edit/2146135
The changes in this PR are needed for the successful deployment of the License Service at the Customer's place, even though our service is not being used by anyone.

Is this it? Will we need to write a tutorial or general description of the License Service eventually?

My guess is that it would go in one of the installation and configuration topics

Is this it? Will we need to write a tutorial or general description of the License Service eventually?

My guess is that it would go in one of the installation and configuration topics

The license service is not being used by anyone right now. We are just trying to get it deployed as part of the umbrella chart, so that we can make sure that it is deployable at the Customers place beforehand. We will have some actual clients for the license service probably during the next cycle.

Is this it? Will we need to write a tutorial or general description of the License Service eventually?

The documentation part for the License Service in general, is covered by the below user story. Since we do not have any clients for the License Service right now, this documentation is not being worked on right now. https://dev.azure.com/ni/DevCentral/_workitems/edit/1852722/
There is another Task which takes care of updating the Persistent Storage requirement in the installation guide: https://dev.azure.com/ni/DevCentral/_workitems/edit/2146135
The changes in this PR are needed for the successful deployment of the License Service at the Customer's place, even though our service is not being used by anyone.

Regardless of whether this is supported, you need to update the secrets documentation in the installation guide to include your secret.

Is this it? Will we need to write a tutorial or general description of the License Service eventually?

The documentation part for the License Service in general, is covered by the below user story. Since we do not have any clients for the License Service right now, this documentation is not being worked on right now. https://dev.azure.com/ni/DevCentral/_workitems/edit/1852722/
There is another Task which takes care of updating the Persistent Storage requirement in the installation guide: https://dev.azure.com/ni/DevCentral/_workitems/edit/2146135
The changes in this PR are needed for the successful deployment of the License Service at the Customer's place, even though our service is not being used by anyone.

Regardless of whether this is supported, you need to update the secrets documentation in the installation guide to include your secret.

Created the below Task to take care of that:
https://dev.azure.com/ni/DevCentral/_workitems/edit/2147581

Reminder: This is a breaking change and should be recorded in the breaking changes spreadsheet.

Created the below work item to take care of this one:
https://dev.azure.com/ni/DevCentral/_workitems/edit/2149568


Fix symlink creation example for Win in sync.md

The order of mklink arguments is inverse comparing to ln:

Hello! Thanks for your contribution. It seems this PR reverts 0459342, maybe @smeech, can you guess if this is right?
Thanks!

I tested on my pc with some simple commands
$ mkdir destination
$ mklink /J origin destination
Junction created for origin <<===>> destination

and created the symlink origin that forwards to destination. This is: the files are actually stored in destination/ folder, and when an app reads origin/ folder, it forwards to destination/ contents
`mklink /J "$CONFIG" "C:\Users\user\Dropbox\espanso"
is right if you want to store the config in your cloud folder

I tested on my pc with some simple commands
$ mkdir destination
$ mklink /J origin destination
Junction created for origin <<===>> destination

and created the symlink origin that forwards to destination. This is: the files are actually stored in destination/ folder, and when an app reads origin/ folder, it forwards to destination/ contents
mklink /J "$CONFIG" "C:\Users\user\Dropbox\espanso" is right if you want to store the config in your cloud folder

This is the point of the article - how to sync config. You HAVE to store it in the cloud in that case.

That makes sense - I must confess I found the documentation confusing.
The issue was raised in the Discord discussion with @Archigos.
It certainly seemed odd that the Windows syntax should be the reverse of macOS and Linux. Does this mean all three are the wrong way round?

Yeah, windows is usually "on it's own lane" compared to linux and mac 😢


YARN-11545. Fixed FS2CS ACL conversion when all users are allowed.

Change-Id: I755a21c6d300a7a831efa675819f20a35748c6b4

Description of PR
Currently we only convert ACLs if users or groups are set. This should be extended to check if the "allAllowed" flag is set in the AcessControlList to be able to preserve * values also for the ACLs.
How was this patch tested?
Locally and unit tests.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 29s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 38s

trunk passed

+1 :green_heart:
compile
0m 42s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 41s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
0m 38s

trunk passed

+1 :green_heart:
mvnsite
0m 43s

trunk passed

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 38s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 20s

trunk passed

+1 :green_heart:
shadedclient
23m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 22s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 36s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 33s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
1m 21s

the patch passed

+1 :green_heart:
shadedclient
26m  8s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
84m 52s

hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 28s

The patch does not generate ASF License warnings.

179m 42s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5910/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5910

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint

uname
Linux 4d8754f436ef 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a0b20228caef9ba6a6b948523a9e991d312327a7

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5910/1/testReport/

Max. process+thread count
954 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5910/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Switch font stack to OpenHistoricalMap

Fixes #393
This PR switches the font stack from OpenMapTiles's font stacks to OpenHistoricalMap's (OHM's) font stacks. OHM's font stack is bundled with many (but not all) international scripts.  The list of font options is here: https://github.com/OpenHistoricalMap/map-styles/tree/staging/fonts
Issues:

~There is no "Bold Italic" font style in the OHM stacks, so water area labels are now just "Italic"~
Languages in OpenMapTiles are whitelisted, so not all languages are necessarily present in the underlying tiles.  I have not researched which unsupported scripts are unsupported in the tiles versus unsupported in the font stack. It is also possible that "United States" was not tagged with the language in question.
The following scripts are supported but don't seem to anti-alias properly:

Arabic
Armenian
Georgian
Malayalam
Tamil
Telugu

The following scripts were tested but are not supported in the tiles/font stack:

Cherokee
Bangla
Gujarati
Odia
Sinhala
Burmese
Khmer
Lao

I could not test the following languages, as they don't come up as an option in Google Chrome:

Inuktitut
Tifinagh
Ethiopic
Devanagari
Gurmukhi
Thaana
Tibetan

Preview below:

Cyrillic

Greek

Georgian

Armenian

Arabic

Hebrew

Cherokee
Not supported.  "United States" should render as ᏌᏊᎢᏳᎾᎵᏍᏔᏅᏍᎦᏚᎩ ᎾᎿ ᎠᎺᏰᏟ

Canadian Aboriginal Syllabics
Not tested.

Tifinagh
Not tested.

Ethiopic
Not tested.

Devanagari
Not tested.

Bengali (Bangla)
Not supported.  "United States" should render as মার্কিন যুক্তরাষ্ট্র

Gurmukhi
Not tested.

Gujarati
Not supported.  "United States" should render as સંયુક્ત રાજ્ય અમેરિકા

Odia
Not supported.  "United States" should render as ଯୁକ୍ତରାଷ୍ଟ୍ର ଆମେରିକା

Tamil

Telugu

Kannada

Malayalam

Sinhala
Not supported.  "United States" should render as අ'මෙරිකාවේ එක්සත් රාජ්යයන්

Thaana
Not tested.

Tibetan
Not tested.

Burmese
Not supported.  "United States" should render as အမေရိကန်ပြည်ထောင်စု

Khmer
Not supported.  "United States" should render as សហរដ្ឋអាមេរិក

Thai

Lao
Not supported.  "United States" should render as ສະຫະລັດອາເມລິກາ

Fixes https://github.com/ZeLonewolf/openstreetmap-americana/issues/393, https://github.com/ZeLonewolf/openstreetmap-americana/issues/580

To fix #580, we still need to load the mapbox-gl-rtl-text plugin. The Arabic screenshot above is eLbAdAeRnU otherwise.

To fix #580, we still need to load the mapbox-gl-rtl-text plugin. The Arabic screenshot above is eLbAdAeRnU otherwise.

Should #580 be re-titled to indicate that it's about right-to-left rather than those two specific language scripts?


Uncaught TypeError in repomap.py line 200

Aider version: 0.62.1
Python version: 3.11.10
Platform: macOS-14.6.1-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 23.6.0 (64bit)
Git version: git version 2.39.0
An uncaught exception occurred:
Traceback (most recent call last):
  File "repomap.py", line 213, in load_tags_cache
    self.TAGS_CACHE = Cache(path)
                      ^^^^^^^^^^^
  File "core.py", line 478, in __init__
    self.reset(key, value, update=False)
  File "core.py", line 2431, in reset
    ((old_value,),) = sql(
                      ^^^^
sqlite3.OperationalError: attempt to write a readonly database

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "repomap.py", line 185, in tags_cache_error
    shutil.rmtree(path)
  File "shutil.py", line 752, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "shutil.py", line 703, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "shutil.py", line 701, in _rmtree_safe_fd
    os.unlink(entry.name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'cache.db'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 695, in main
    coder = Coder.create(
            ^^^^^^^^^^^^^
  File "base_coder.py", line 155, in create
    res = coder(main_model, io, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 401, in __init__
    self.repo_map = RepoMap(
                    ^^^^^^^^
  File "repomap.py", line 60, in __init__
    self.load_tags_cache()
  File "repomap.py", line 215, in load_tags_cache
    self.tags_cache_error(e)
  File "repomap.py", line 200, in tags_cache_error
    except (SQLITE_ERRORS, OSError) as e:
TypeError: catching classes that do not inherit from BaseException is not allowed

Thanks for trying aider and filing this issue.
This looks like a duplicate of #2279. Please see the comments there for more information, and feel free to continue the discussion within that issue.
I'm going to close this issue for now. But please let me know if you think this is actually a distinct issue and I will reopen this issue.


the default value of question.yaml doesn't show correctly on udpate app page

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

update the chart version
go to Apps, select the app and click update
the default value of question.yaml doesn't show correctly

then remove this app and launch a new one, the default value showes correctly

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.3.3
Installation option (single install/HA): install using docker

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T12:36:28Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:13:49Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client: Docker Engine - Community
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:47:43 2018
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:55:00 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Verified on rancher:2.3.3, not able to reproduce the issue.
Steps:

Go to Cluster--> Project --> Apps --> Launch
Select app - Mysql/MongoDB.
Deploy the app.
Select App, click on Upgrade.
The default value of question.yaml are seen on the UI as expected.

@zhkou Can you give more information on what app was deployed?

here is my questions.yml
questions:
  - name: image.repository
    label: docker image repository
    type: string
    default: <IP_ADDRESS>:30000/common-idgen-be
    required: true

  - name: image.tag
    label: image tag
    type: string
    default: latest
    required: true

When launching a new app:

When updating an existing app:

I guess the answer image.repository is already dev when you deploy the app. As the answer has been set already, the default value will not be used when you do the update. Please provide the view api result for the app which you hit this issue.


Campus Info Card Layout Fix

ITS-Pro time card: https://its-pro.ucsd.edu/browse/MA-66
This is complete when:

[ ] The video is extracted into its own WebCard
[ ] The Campus Info card layout retains the links

Copy testing_kit_video.html (https://mobile.ucsd.edu/replatform/v1/qa/webview/testing_kit_video.html) into webview folder of prod folder
In staff-cards-v5.json, student-cards-v5.json, and visitor-cards-v5.json, add the following parameter above "campus_info":
"testing_kit_video": {
"cardActive": true,
"initialURL": "https://mobile.ucsd.edu/replatform/v1/prod/webview/testing_kit_video.html",
"isWebCard": true,
"requireAuth": false,
"titleText": "Testing Kit Instructions"
},
This will create a new card with just the video. Some builds may use v6 cards lists, update this as well if needed.
Copy the code from campus_info-v4.html in QA and paste it into campus_info-v4.html in prod. This will remove the video from the campus info card and only contain the two buttons.
Make sure all changes have been published


Flask App Hitting EndPoint Automatically after sometime

Dear Friends,
I am struggling to solve a problem with Flask App end points. I researched online but couldn't find the the solution.
I have created an ETL (Extract/Transform/Load) process to extract millions of records from database. And the entire frame work is written in Python. Various ETL jobs has been exposed from the Flask API Endpoints using GET method.
The jobs are time consuming and can run for hours.
Problem: As the jobs are exposed through Flask Endpoints and run for hours. Flask is hitting the API automatically after 45 mins or so. I don't want this to happen as the processing from first call didn't finish and 2nd call occurred. I noticed that the retries happen max 3 times. This is causing the contention and process overriding with each other .
What is the solution to handle this issue that automatic retries didn't occur ?
Thank You

Please ask general questions about how to use Flask and Flask-RESTful on sites like Stack Overflow. Unless you have reason to believe that your issues are caused by a problem with Flask-RESTful and can explain how to replicate the issue, that will be your best option. You've not provided any information whatsoever on how to duplicate your problem here.


fix: update types for createSecureStore

Description
Quick update to the types for createSecureStorage so that typescript doesn't freak out when adding the SecureStore options when creating a store.

NB. @istvan-szilagyi @dannyklaassen  Thanks for creating this library, it's a real life saver 🎉

Woah, been two years this has been up


Collected notes/issues #2

GS-GRID: if the min-widths attribute sets a column width to "0", hide that column at that width.
WEBSOCKETS: Brave Browser limits each domain to ten websockets between all pages. We should have some kind of warning to make sure the developer is adequately warned.
GS-COMBO: On Android, selecting an option doesn't change the value.
GS-COMBO: Unsure how to reproduce the issue, but on occasion ends up in a loop and reaches maximum call stack size. This doesn't seem to interrupt function.
FILE EDITOR: We should have a snippet (or a utility CSS class) for allowing background colors to be shown when printing the webpage.
    -moz-print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;

GS-GRID: if the min-widths attribute sets a column width to "0", hide that column at that width.
Added/fixed "small" keyword being replaced by "all"
WEBSOCKETS: Brave Browser limits each domain to ten websockets between all pages. We should have some kind of warning to make sure the developer is adequately warned.
Added warning when on brave or when more than nine websockets are opened.
GS-COMBO: On Android, selecting an option doesn't change the value.
Couldn't reproduce, Combo would not open in gs-table on android but has been fixed.
GS-COMBO: Unsure how to reproduce the issue, but on occasion ends up in a loop and reaches maximum call stack size. This doesn't seem to interrupt function.
Fixed. AttributeChanged was calling renderControl when the value attribute was changed. renderControl set the value attribute. This made a loop. Now render control only sets value attribute if the value is different.
FILE EDITOR: We should have a snippet (or a utility CSS class) for allowing background colors to be shown when printing the webpage.
Added.


Documentation: Missing Readme

Hi,
a short readme about the project would be nice. I.e. What is this? How do install the dependencys if there are any? How do I build this software? How do I run it?
😇✨

Thinking of documentation, I wondered if it would be cool to split /includes/ into subdirectories.
NevolutionX will grow and the folder is already crowded. There is not technical reason for further subdivision but I feel like it would improve the look & feel of the code base. Also, one could give a code overview in the README and would not have to reference files but subdirectories instead.


Batch Delete with HasQueryFilter

Hello, we switched from EntityFramework-Plus filter extension to EF Core HasQueryFilter because we started using views, but this again doesn't seem to work with batch delete:
System.Collections.Generic.KeyNotFoundException: The given key '__ef_filter__PROPERTYNAME_0' was not present in the dictionary.
any plans to support the ef-core query filter together with your batch / bulk operations?
Thank you!

Hello @JonathanMagnan
I totally understand that, unfortunately, currently I don't havea lot of time on my hands to set up a test project. Do you maybe have some sample projects with .net core, where you use those bulk operations? Or even better, some integration tests?
I should be able to modify them with only2 lines of code and you'd already know what exactly causes the issue for me without needing to analyze if I set up everything correctly.

We just need a simple standalone project that contains the issue that we can easily use to reproduce and test it.
Best Regards,
Jonathan

@JonathanMagnan so I've copied one of your online examples (https://dotnetfiddle.net/R6D5BX) and adjusted it to work with ef core and sqlite so I can show the error. This is the extra line which break everything: https://gist.github.com/pgrm/6e7316a776fbb270b2dbd62caa5fe017#file-brokenbatchdeleteexample-cs-L69 when this line is active I get the error:
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key '__ef_filter__ef_filter_0' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Z.EntityFramework.Plus.BatchDelete.CreateCommand(IQueryable query, IEntityType entity) in C:\Users\Jonathan\Desktop\Z\TFS\EFPlus\Z.EntityFramework.Plus\shared\Z.EF.Plus.BatchDelete.Shared\BatchDelete.cs:line 770

   at Z.EntityFramework.Plus.BatchDelete.Execute[T](IQueryable`1 query) in C:\Users\Jonathan\Desktop\Z\TFS\EFPlus\Z.EntityFramework.Plus\shared\Z.EF.Plus.BatchDelete.Shared\BatchDelete.cs:line 344
   at BrokenBatchDeleteExample.Program.Main() in MY_PATH\BrokenBatchDeleteExample\BrokenBatchDeleteExample\Program.cs:line 20

When I comment it out, it works, however, HasQueryFilter works correctly with other where conditions from EF Core, so I guess there is some parameter missing when the expression is being compiled for the batch delete functionality?
Hope this helps

Thank you,
The Gist is what we were looking for (https://gist.github.com/pgrm/6e7316a776fbb270b2dbd62caa5fe017)
I will assign a developer to it.
Best Regards,
Jonathan

Hello @pgrm ,
We investigated this issue. We have no found how to generate parameter from the QueryFilter.
Meanwhile, a temporary solution on your side is perhaps maybe only to ignore those filters for the current query with IgnoreQueryFilters
See: https://docs.microsoft.com/en-us/ef/core/querying/filters#disabling-filters
We will continue to investigate it to find a way to get those parameter values.
Best Regards,
Jonathan

Btw, a new version will be soon available with a better error message to let people know about using IgnoreQueryFilters.

@JonathanMagnan thx for the update

Hi @JonathanMagnan
First of all, thank you for this great library.
I have tried BatchUpdate and faced a similar exception.
The exception occurs here https://github.com/zzzprojects/EntityFramework-Plus/blob/master/src/shared/Z.EF.Plus.BatchUpdate.Shared/BatchUpdate.cs#L894 because queryContext.ParameterValues is empty.
I think the ParameterValues are not correctly populated here https://github.com/zzzprojects/EntityFramework-Plus/blob/master/src/shared/Z.EF.Plus._Core.Shared/EFCore/IQueryable`/CreateCommand.cs#L38.
Somehow queryContext.ParameterValues are not filled with the values of query filter parameters.

Hello @ismcagdas ,
Yes, that's exactly the issue.

Perhaps EF Core 2.x has now better method to get the query from (this one was created in early stage of EF Core 1.x)

@JonathanMagnan did you have a chance to take a look into this issue ? I would love to help if I can.

Hello @ismcagdas ,
Yes, we got the chance at multiple time but we never find out a way to solve it ;(
So for now, the only solution on your side is to apply IgnoreQueryFilters. We don't wanna apply it on our side by default since it will mislead.
Best Regards,
Jonathan

Thanks a lot.

Hi guys, Is there any update about this issue?

Hello @se ,
We didn't investigate it again. So that's the same status

Yes, we got the chance at multiple time but we never find out a way to solve it ;(

So for now, the only solution on your side is to apply IgnoreQueryFilters. We don't wanna apply it on our side by default since it will mislead.

We will probably try again when the version 3.0 will be out.

I have same problem and its not possible for us to Ignore query filters ... is there any hope to fix this issue soon ?


Update README.md

Hello - request review and approval on the inclusion of Explore AI Projects & Libraries on your list. It would be a good addition under PROJECTS section of this article. Would you like to include it in your list? We'd love to hear your feedback. Thanks!

Have you had a chance to review the PR request? Please check it and kindly accept the request (if relevant) at your earliest convenience. Thank you.


Fix flaky sparse page dmatrix test.

https://xgboost-ci.net/blue/organizations/jenkins/xgboost-win64/detail/PR-6416/1/

In a previous PR, I changed the race test to use std::thread instead of openmp to enable it on non-omp build, which was to help enabling tests with external memory on non-omp environment.  The PR changes std::thread to std::future, to avoid the sequential join.

Codecov Report

Merging #6417 (7ca20a9) into master (c763b50) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6417   +/-   ##
=======================================
  Coverage   79.94%   79.95%
=======================================
  Files          12       12
  Lines        3476     3472    -4
=======================================
- Hits         2779     2776    -3
+ Misses        697      696    -1

Impacted Files
Coverage Δ

python-package/xgboost/dask.py
81.00% <0.00%> (-0.15%)
:arrow_down:

python-package/xgboost/core.py
80.57% <0.00%> (+0.12%)
: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 c763b50...7ca20a9. Read the comment docs.


Stories won't download with the most recent changes.

I can download images and videos just fine, using their respective parameter, but stories will NOT download. Any reason this is?

Works fine for me! Stories are the first files that get downloaded from the users profile.
Can you show us your code?


I was missing dependency GeoPy

ModuleNotFoundError: No module named 'geopy'
Solved with :
pip install geopy

( OS : Linux srv-linux-11 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1)

Added to instructions

Thanks :)


Feature request: Provide environment variable to disable building from source

Operating system and version:
Linux Debian 10
What steps did you perform?
nvm install 12

What happened?
Downloading and installing node v12.13.0...
Downloading https://nodejs.org/dist/v12.13.0/node-v12.13.0-linux-x64.tar.xz...
curl: (22) The requested URL returned error: 525 Origin SSL Handshake Error
Binary download from https://nodejs.org/dist/v12.13.0/node-v12.13.0-linux-x64.tar.xz failed, trying source.
grep: /home/travis/.nvm/.cache/bin/node-v12.13.0-linux-x64/node-v12.13.0-linux-x64.tar.xz: No such file or directory
Provided file to checksum does not exist.
Binary download failed, trying source.

Then it started building from source (which took 30+ minutes).
What did you expect to happen?
I expected to be able to set an environment variable, e.g. NVM_DISABLE_SOURCE_BUILD to prevent nvm from building Node.js from the source and just exit with an error.

I suppose this seems reasonable - although just like -s (and probably should support --source) skips the binary path, i'd expect something like --binary to skip the source path.

Thanks! 🙂


Pack common tools in a specific module

While coding, planning to code or code reviewing I'm starting see a lot of repetition. My intention is to create a new module (tools/ maybe) with tools to be used by anyone in other scripts (setting up scripts from src/, exploring and analyzing data in develop/ etc.).
Anyone is free to join me in this, we can schedule and pair as this has no urgency at all.
And anyone can contribute listing functions that could be inside this module. I get started:

list path to the CSV (.xz), i.e. the existing datasets
load translations
list all record (with or without filters) from the datasets
…

Been having this need for some time already, but just thought about an issue: Jupyter Notebooks are supposed to be totally reproducible; analyses we have, if ran again, should generate the exact same results. e.g. If I use a function load_dataset('all') in my analysis, its output might change when the function receives a patch.
Personally believe that having these functions will come for the better, even if bringing this issue with them. If we start noticing real problems, we could always use inspect.getsourcelines inside the notebook.

I'd add to the list:

Fixed by serenata-toolbox (even if we have to actually use it in this repo, as in #143)


potential breaking change because of upstream bugfix

Hello @folke
You got a feature that you can specify an event like BufEnter *.lua. I'm not 100% sure how you handle this internally but it seems like this was a neovim bug which will be fixed here https://github.com/neovim/neovim/pull/25523 and will therefore lead to a breaking change.
This will not only no longer work but will actually return errors

That's something different. Will still work in lazy

maybe the same issue (just upgrade to latest lazy.nvim: acda8d2):

@linrongbin16 no, that was befcause I used a function that has only been recently added. Just pushed a fix for that.

Thanks!