Carla 0.9.4 Compiled version Town 6 python headers missing.

I was trying to run the compile version of Carla 0.9.4, the one with just Town 6; but cannot find a .sh file or python headers in the zip.

The Town06 package contains only the assets (3D models, materials, etc.) and map of Town06, you can add it to your own copy of the simulator. It's a DLC talking in video-game terms. Download the TownXX.tar.gz, place it in ExportedMaps folder (no need to decompress!), then run the ImportMaps.sh script. See How to import a map.
This is the first town that we release with this new method. The idea is to have the towns as separate packages, so you download only what you are going to use (otherwise the main executable is getting too big). Plus, with this, people can now share their custom maps without having to recompile and redistribute the simulator.
Sorry we haven't documented this feature enough!

But is it possible to use this asset map in lower versions of Carla?
0.9.1 specifically?
Does the UE version effect it?

I see.
Thank you @nsubiron
Also, is there any way to package a specific map as a standalone simulation server. (Using the package makefile or the packaging function in UE editor). I didn't find anything related in the documentation.

@Manojbhat09 In older versions of Carla you need to recompile the simulator to add a new map. Also using a map from a different version may not work or give errors, it depends if the assets in the map depend on our code.
@aroongta You can set the maps that will be included when doing a make package in DefaultGame.ini.


feat(ui): better snackbars and import provisioning json

Fixes #1942

cc @blhoward2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.004%) to 24.447%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/store/mutations.js
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
3732

Relevant Lines:
16118

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.004%) to 24.447%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/store/mutations.js
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
3732

Relevant Lines:
16118

💛  - Coveralls


Add some firewall to Yggdrasil app

I'm no longer running the Yggdrasil ZeroNet tracker listed on the Yggdrasil Services webpage (clearnet). The reason is that China is hacking my phone, so I'm using NetGuard now.
https://github.com/M66B/NetGuard
My suggestion is to borrow the features or the code (license permitting, I hope) of NetGuard so I can have both Yggdrasil and a firewall running simultaneously. I would no longer have to compromise features nor security by having to choose one app over the other.
I wouldn't mind at all if Yggdrasil and NetGuard were merged into one app. That would be fantastic. In fact, that would help to grow the Yggdrasil network.

VPN service is not under our control enough.  It should be implemented in https://github.com/yggdrasil-network/yggdrasil-go core. Please file the issue in mentioned repo.


[API] Bond constructor

I have the following suggestions about the constructor of the class Bond.

For the argument bd_type, BD_REG, BD_Ket and BD_Bra are not good names. I would suggest to change them to for example dir::none, dir::in, dir::out or so.
Not clear to me how to include two different quantum numbers, for example U(1) and Z_2, in the same Bond.

KET, BRA make more sense physically, but it could be confusing in terms of TN. In 45649aa an alias is made,
so one can also assign
BD_IN = BD_KET
BD_OUT = BD_BRA
BD_NON = BD_REG


Youtube embed playlist link downloading wrong videos

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/playlist?embed=no&list=PLx2vkxEuABu3turBLmOoUU6YvX8hKiqVd']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.6 (CPython) - Linux-5.12.16-1-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:tab] PLx2vkxEuABu3turBLmOoUU6YvX8hKiqVd: Downloading webpage
[download] Downloading playlist: PLx2vkxEuABu3turBLmOoUU6YvX8hKiqVd
[youtube:tab] Downloading page 1
[youtube:tab] Downloading page 2
[youtube:tab] Downloading page 3
[youtube:tab] Downloading page 4
[youtube:tab] Downloading page 5
[youtube:tab] Downloading page 6
[youtube:tab] Downloading page 7
[youtube:tab] Downloading page 8
[youtube:tab] Downloading page 9
[youtube:tab] Downloading page 10
[youtube:tab] Downloading page 11
[youtube:tab] Downloading page 12
[youtube:tab] Downloading page 13
[youtube:tab] Downloading page 14
[youtube:tab] Downloading page 15
[youtube:tab] playlist PLx2vkxEuABu3turBLmOoUU6YvX8hKiqVd: Downloading 377 videos
[download] Downloading video 1 of 377
[youtube] 8oGDoAHwerc: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r2---sn-no52-jijl.googlevideo.com/videoplayback?expire=1626853006&ei=Lnr3YOmoCeOlmgf1m6Mw&ip=<IP_ADDRESS>&id=o-AOBYYrcalSjXmNzg0l8SQ3QKCJUXb8G6BZ00HAMJGxPy&itag=243&aitags=133%2C134%2C160%2C242%2C243%2C278%2C394%2C395%2C396&source=youtube&requiressl=yes&mh=dq&mm=31%2C29&mn=sn-no52-jijl%2Csn-ntqe6nes&ms=au%2Crdu&mv=m&mvi=2&pl=23&initcwndbps=1323750&vprv=1&mime=video%2Fwebm&ns=e6ALra0F0v_wjSZSI_CVdsIG&gir=yes&clen=187953&dur=8.966&lmt=1625430613754539&mt=1626831171&fvip=5&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=aXl631JpOFTpffP&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgDeiSco03Hb7KQ53vpWos3vUkC9eAQ1Vo63Y3zvIcK_oCIG0zORhGVVj-Ek2U5P2FNwKeoz_1KTmPBeV3R9gtIvIl&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAOll8qiYNnLU4Wkbfj1U0A2lcqSnLxt-n1UhKP58joV1AiEA0kuTfdYG-K39wRArOA9SyH2eSW-sMiEN_aMvw3juBZg%3D'
[download] Destination: Wait how old are you; 16-8oGDoAHwerc.f243.webm
[download] 100% of 183.55KiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-no52-jijl.googlevideo.com/videoplayback?expire=1626853006&ei=Lnr3YOmoCeOlmgf1m6Mw&ip=<IP_ADDRESS>&id=o-AOBYYrcalSjXmNzg0l8SQ3QKCJUXb8G6BZ00HAMJGxPy&itag=140&source=youtube&requiressl=yes&mh=dq&mm=31%2C29&mn=sn-no52-jijl%2Csn-ntqe6nes&ms=au%2Crdu&mv=m&mvi=2&pl=23&initcwndbps=1323750&vprv=1&mime=audio%2Fmp4&ns=e6ALra0F0v_wjSZSI_CVdsIG&gir=yes&clen=146856&dur=9.032&lmt=1625428816894582&mt=1626831171&fvip=5&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5532434&n=aXl631JpOFTpffP&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgcgLkliBDuEaY7bmb8GX7alg-Tcrnu_d4IBv3Lxy3N4wCIDf4ysy0QD_5zxsH1T6XONh_P8ua1tfsWD97JlGEaT7f&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAOll8qiYNnLU4Wkbfj1U0A2lcqSnLxt-n1UhKP58joV1AiEA0kuTfdYG-K39wRArOA9SyH2eSW-sMiEN_aMvw3juBZg%3D'
[download] Destination: Wait how old are you; 16-8oGDoAHwerc.f140.m4a
[download] 100% of 143.41KiB in 00:00
[ffmpeg] Merging formats into "Wait how old are you; 16-8oGDoAHwerc.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Wait how old are you; 16-8oGDoAHwerc.f243.webm' -i 'file:Wait how old are you; 16-8oGDoAHwerc.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Wait how old are you; 16-8oGDoAHwerc.temp.mkv'
Deleting original file Wait how old are you; 16-8oGDoAHwerc.f243.webm (pass -k to keep)
Deleting original file Wait how old are you; 16-8oGDoAHwerc.f140.m4a (pass -k to keep)
[download] Downloading video 2 of 377
[youtube] ey3zZLi-DSg: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r2---sn-no52-jijl.googlevideo.com/videoplayback?expire=1626853007&ei=L3r3YK61Eb6_z7sPjrSK2A4&ip=<IP_ADDRESS>&id=o-AMT6rfKjgoYLQjJNd3A20XdiOI5O3yLM3EBlC-EPkc0s&itag=399&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=OR&mm=31%2C29&mn=sn-no52-jijl%2Csn-ntqe6nel&ms=au%2Crdu&mv=m&mvi=2&pl=23&initcwndbps=1323750&vprv=1&mime=video%2Fmp4&ns=lSLReXcYYm_O94F7RVzs8_0G&gir=yes&clen=815030158&dur=8986.497&lmt=1626563655022117&mt=1626831171&fvip=2&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5531432&n=DzpXkY6reFYPRD3&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgVS0_sR2aptpc7P2wbjBd6d5A5rhvQb8HceawZxtdC_ECICcrBDcrVbPbfJSbYQulDzbUq4_51rWhSsjOTJOkTxyM&sig=AOq0QJ8wRQIgaeKH4LBXDFZkMWK94mCAeV4NhHr5ucVSthCSJGIEJjsCIQCMTZifrfLszLl0Adtll3-NGCqqFdanfmt_pGO4CmXjUw=='
[download] Destination: Maroon 5, Adele, Taylor Swift, Ed Sheeran, Shawn Mendes, Sam Smith, Charlie Puth Pop Songs Hits 2021-ey3zZLi-DSg.f399.mp4
[download]   0.5% of 777.27MiB at  6.75MiB/s ETA 01:54^C
ERROR: Interrupted by user

Description

Its downloading videos that are not in the playlist (looks like they are from the home page), it should download the 8 videos from the playlist but it does not. This playlist URL comes from an embed playlist.  link

The URL you gave is wrong. It should be
https://www.youtube.com/playlist?embed=no&list=PLx2vkxEuABu3turBLmOoUU6YvX8hKiqVd

not
https://www.youtube.com/playlist?embed=no&list=PLx2vkxEuABu3turBLmOoUU6YvX8hKiqVd

The second one redirects to home page even in browser


correct cryptocoins count in the level select dialog

the number of available coins is not always displayed correctly

bug fixed in version 1.18 (number of coins spent was not restored correctly when starting the game)
I hope the count's okay now ... if not, please open another issue.


Feature/comments web UI

Description
Added the possibility to add a comment as a column in the flow table. Then, added a section in the flow details panel where we can see and modify the comment. I modified the backend as well since we were not supporting the modification of a comment. I hope the way I did it is correct :)
closes : #6708
Checklist

[x] I have updated tests where applicable.
[x] I have added an entry to the CHANGELOG.

if you like it, I can then update the tests. Let me know :) thank you

@mhils I made a change in the app.css file, basically adding the style for the comment column in the flow table. In general, as stated in the README, this file shouldn't be pushed, but in this case can I push my changes?

@mhils I made a change in the app.css file, basically adding the style for the comment column in the flow table. In general, as stated in the README, this file shouldn't be pushed, but in this case can I push my changes?

app.css is autogenerated from the less files. So you want to modify the less files in https://github.com/mitmproxy/mitmproxy/tree/main/web/src/css and keep app.css as-is. It will be automatically updated on the next release. :)

@mhils I made a change in the app.css file, basically adding the style for the comment column in the flow table. In general, as stated in the README, this file shouldn't be pushed, but in this case can I push my changes?

app.css is autogenerated from the less files. So you want to modify the less files in https://github.com/mitmproxy/mitmproxy/tree/main/web/src/css and keep app.css as-is. It will be automatically updated on the next release. :)

ahhh I see now, thank you !

it seems there are issues with the coverage. I don't understand why onEditDone isn't tested by ValueEditorSpec.tsx

@mhils Is there a reason why the folder editors is being ignored in the coverage report (line 13 jest.config.js )? Due to this, I believe I may not be able to pass the codecov/patch test. I am just missing 2 lines :(

a) looks like we can remove the editors exclusion.
b) failing coverage CI is not an absolute blocker. I'll try to take a closer look at the PR later today

Looks good, thanks!
The more I look at it the more I want to merge it with the Timings pane, but let's resist the urge and get this in first. :)

Alright :) I'll do it in the future, I promise ahah. For the coverage ? Is it fine ?


Remove non-existent header, add missing import, remove redundancy.

Didn't build as is, due to import of non-existent file and missing import of existing file!

:crickets:

Sorry for the late answer, first child has just arrived :-)

@flavionegrao congrats!  :cake:
Busy times for you!


Add a way to dry run as any account

It seems to me that https://github.com/Cardinal-Cryptography/ink-wrapper/blob/d13339dd7ed1f591effe863b99532e239e84c2a7/ink-wrapper-types/src/calls.rs#L231 should have one additional parameter: the contract caller. This way when dry-running one can pass any account.

I agree with the goal of dry-running as any account, but I think this could be achieved in a number of ways, not sure what's best for now, so I just reworded the title of the issue. In particular, the ongoing assumption was that the calling account is dependent on the connection - another option would be to have a method like as_dry_run(account_id) on the connection itself that would return a ReadOnlyConnection with the account to use baked in. TBD by person working on this issue.


BigQuery pipelines which query INFORMATION_SCHEMA views can fail to determine a query location

Repro steps:

Run a BigQueryIO pipeline which executes a BigQuery query over the INFORMATION_SCHEMA.TABLES view for a dataset
Run a BigQueryIO pipeline which executes a BigQuery query over the INFORMATION_SCHEMA.SCHEMATA view for a region
Run a BigQueryIO pipeline which executes a BigQuery query over the INFORMATION_SCHEMA.SCHEMATA view without specifying a region

Expected behavior: all 3 pipelines succeed
Imported from Jira BEAM-12752. Original Jira may contain additional context.
Reported by: kjung520.

We also recently faced a similar issue and managed to work around this by setting the withQueryLocation on BigQueryIO.read()


feature request: find indexPath of an object in the results

I'm sure there are other use cases for this, but here's my current one. I have a list where one item is selected and I have to remember which one it is. So I stash the object id in NSUserDefaults, and every time I fetch my results, I need to know the indexPath of my selected item so I can tell the table it's selected.
For now, I've implemented this extension to do it for me. One method to find it by id, and more general purpose one that can take any NSPredicate to find the first object that matches some condition(s).
In my case, I only have one section, so I'm only searching a single section. Someone else might want to search all sections.
import RealmResultsController

extension RealmResultsController {

  func indexPathOf(sectionIndex: Int, id: AnyObject) -> NSIndexPath? {
    return indexPathOf(sectionIndex, predicate: NSPredicate(format: "id == %@", argumentArray: [id]))
  }

  func indexPathOf(sectionIndex: Int, predicate: NSPredicate) -> NSIndexPath? {
    for row in 0..<numberOfObjectsAt(sectionIndex) {
      let indexPath = NSIndexPath(forRow: row, inSection: sectionIndex)
      let object = objectAt(indexPath)
      if predicate.evaluateWithObject(object as?  My bad I just realized I posted this to the wrong issues list. Was intending to put this on https://github.com/redbooth/RealmResultsController.

 My bad I just realized I posted this to the wrong issues list. Was intending to put this on https://github.com/redbooth/RealmResultsController.


[Question]: Codegen Timeout In Playwright Version 1.20.1 , Net6.0

Your question
I have a question about codegen, when i use "pwsh .\playwright.ps1 codegen" or "playwright codegen" ,  allways failed because of Timeout in Version 1.20.1

I don't know how to deal with it.
//here is info
But if run codegen with playwright - 1.17.3 ,  chorme will start and record operation correctly after 10s.
And if i  test playwright in c#code, then chorme auto start correctly both in version 1.17.3 and 1.20.1
await using var browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions
{
      Headless = false,
});
//other codes....

Hey! This timeout is very weird, which Windows version are you using? Could you try reproducing it in version 1.20.2? (contains a bunch of bug fixes)

windows setting:
Windows10 Professional
version 1909
i have test codegen with PlayWright 1.20.2, but it's the same as version 1.20.1

actually，when i test codege with version 1.20.1 and 1.20.2,  i have seen a white area show in top-right desktop after about 12 seconds ( i konw it should be the record-window), But after about 5 seconds, the white area disappeared. then  after about 6 seconds, i can see the timeout problem in Powershell

Setting the following environment variables might yield to more errors/warnings: DEBUG=pw:browser,pw:api,pw:protocol.
Does normal Playwright as a library work for you?

hello, normal Playwright as a library run well when in Visual Studio.
And Here is logs of codegen in powershell
Active code page: 65001
PS E:\csharp\playwright\play2\ConsoleApp2\ConsoleApp2> ls env:DEBUG
Name                           Value
----                           -----
DEBUG                          pw:browser,pw:api,pw:protocol

PS E:\csharp\playwright\play2\ConsoleApp2\ConsoleApp2> playwright codegen                                               2022-04-06T01:09:16.006Z pw:api => command.<anonymous> started
2022-04-06T01:09:25.496Z pw:browser <launching> C:\Users\Administrator\AppData\Local\ms-playwright\chromium-978106\chrome-win\chrome.exe --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --no-sandbox --user-data-dir=C:\Users\ADMINI~1\AppData\Local\Temp\playwright_chromiumdev_profile-SbI1lU --remote-debugging-pipe --no-startup-window
2022-04-06T01:09:31.533Z pw:browser <launched> pid=8688
2022-04-06T01:09:31.534Z pw:protocol SEND ► {"id":1,"method":"Browser.getVersion"}
2022-04-06T01:09:37.759Z pw:protocol ◀ RECV {"id":1,"result":{"protocolVersion":"1.3","product":"Chrome/101.0.4929.0","revision":"@110dd5afedc7ef6846418b5df65fcc2c456184e0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4929.0 Safari/537.36","jsVersion":"10.1.69"}}
2022-04-06T01:09:37.759Z pw:protocol SEND ► {"id":2,"method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":true,"flatten":true}}
2022-04-06T01:09:37.766Z pw:protocol ◀ RECV {"id":2,"result":{}}
2022-04-06T01:09:37.767Z pw:api <= command.<anonymous> succeeded
2022-04-06T01:09:37.768Z pw:api =>  started
2022-04-06T01:09:37.768Z pw:protocol SEND ► {"id":3,"method":"Target.createBrowserContext","params":{"disposeOnDetach":true}}
2022-04-06T01:09:37.771Z pw:protocol ◀ RECV {"id":3,"result":{"browserContextId":"85DB444AAB825BCE7E50BF6DF1FBA112"}}
2022-04-06T01:09:37.772Z pw:protocol SEND ► {"id":4,"method":"Browser.setDownloadBehavior","params":{"behavior":"allowAndName","browserContextId":"85DB444AAB825BCE7E50BF6DF1FBA112","downloadPath":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\playwright-artifacts-uXEgsz","eventsEnabled":true}}
2022-04-06T01:09:37.773Z pw:protocol ◀ RECV {"id":4,"result":{}}
2022-04-06T01:09:37.774Z pw:api <=  succeeded
2022-04-06T01:09:37.801Z pw:api =>  started
2022-04-06T01:09:51.726Z pw:browser <launching> C:\Users\Administrator\AppData\Local\ms-playwright\chromium-978106\chrome-win\chrome.exe --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --no-sandbox --app=data:text/html, --window-size=600,600 --window-position=1020,10 --test-type= --user-data-dir=C:\Users\ADMINI~1\AppData\Local\Temp\playwright_chromiumdev_profile-lMWlG8 --remote-debugging-pipe about:blank
2022-04-06T01:09:57.766Z pw:browser <launched> pid=31864
2022-04-06T01:09:57.767Z pw:protocol SEND ► {"id":1,"method":"Browser.getVersion"}
2022-04-06T01:10:07.804Z pw:browser [pid=31864] <gracefully close start>
2022-04-06T01:10:07.805Z pw:browser [pid=31864] <kill>
2022-04-06T01:10:07.805Z pw:browser [pid=31864] <will force kill>
2022-04-06T01:10:28.127Z pw:browser [pid=31864] taskkill stderr: �ɹ�: ����ֹ PID 28064 (���� PID 17364 �ӽ�� �)�Ľ��̡�
�ɹ�: ����ֹ PID 17364 (���� PID 31864 �ӽ���)�Ľ��̡�
�ɹ�: ����ֹ PID 27604 (���� PID 31864 �ӽ���)�Ľ��̡�
�ɹ�: ����ֹ PID 31864 (���� PID 27656 �ӽ���)�Ľ��̡�

2022-04-06T01:10:28.127Z pw:protocol ◀ RECV {"id":1,"result":{"protocolVersion":"1.3","product":"Chrome/101.0.4929.0","revision":"@110dd5afedc7ef6846418b5df65fcc2c456184e0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4929.0 Safari/537.36","jsVersion":"10.1.69"}}
2022-04-06T01:10:28.128Z pw:protocol SEND ► {"id":2,"method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":true,"flatten":true}}
2022-04-06T01:10:28.128Z pw:protocol SEND ► {"id":3,"method":"Browser.setDownloadBehavior","params":{"behavior":"allowAndName","downloadPath":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\playwright-artifacts-sgIs0R","eventsEnabled":true}}
2022-04-06T01:10:28.129Z pw:protocol ◀ RECV {"id":-9999,"result":{}}
2022-04-06T01:10:28.136Z pw:browser [pid=31864] <process did exit: exitCode=1, signal=null>
2022-04-06T01:10:28.136Z pw:browser [pid=31864] starting temporary directories cleanup
2022-04-06T01:10:28.160Z pw:browser [pid=31864] finished temporary directories cleanup
2022-04-06T01:10:28.160Z pw:browser [pid=31864] <gracefully close end>
2022-04-06T01:10:28.160Z pw:api <=  failed
: Timeout 30000ms exceeded.
    at captureRawStack (E:\csharp\playwright\play2\ConsoleApp2\ConsoleApp2\bin\Debug\net6.0\.playwright\package\lib\utils\stackTrace.js:64:17) {
  name: 'TimeoutError'
}
2022-04-06T01:10:28.162Z pw:browser [pid=8688] <kill>
2022-04-06T01:10:28.162Z pw:browser [pid=8688] <will force kill>
2022-04-06T01:10:34.192Z pw:browser [pid=8688] taskkill stderr: �ɹ�: ����ֹ PID 20160 (���� PID 8688 �ӽ���)�Ľ��̡�
�ɹ�: ����ֹ PID 124 (���� PID 8688 �ӽ���)�Ľ��̡�
�ɹ�: ����ֹ PID 23092 (���� PID 8688 �ӽ���)�Ľ��̡�
�ɹ�: ����ֹ PID 8688 (���� PID 27656 �ӽ���)�Ľ��̡�

2022-04-06T01:10:34.192Z pw:browser [pid=8688] starting temporary directories cleanup
2022-04-06T01:10:34.245Z pw:browser [pid=8688] finished temporary directories cleanup
PS E:\csharp\playwright\play2\ConsoleApp2\ConsoleApp2>


Fixed the issue that caused the app to crash after a download has completed

This was happening because the torrent object was becoming 'null' after the download has completed. Adding ternary operator prevented the crash.

@pratikbaid3 Please provide gif showing what happens now, after the download completes.

@pratikbaid3 A better UX would be to close(pop) the torrent's details screen after the download completes.

Ok. Ill pop off this screen as soon as the download is completed

@harchani-ritik

#26


Return redis_events tests

Bring back the redis_events integration tests that use additional plugin after repairing the build backend config line that was missing.
Also: changed the integration image names so faber using the integration dockerfile with the additional plugin is different from alice using the normal dockerfile in the docker directory.
Also: removed the edit condition for the PR workflow. It's not needed.
Also: Had to add additional $ character on the docker compose startup command on my linux machine. Not sure why? The workflow machine works with or without it.

Looks good to me, wondering about @WadeBarnes 's comment regarding the duplicate Dockerfile for the integration tests, but might be for another issue.

I couldn't think of a way to install the basic_message_storage plugin without another dockerfile. I agree it would be nice not to have an additional (almost duplicate) file.


VNC (X Server, Guacd, Guacamole) does not work after installing sysbox on docker host

I'm used to launching 4 containers (VNC + Guacd + Guacamole + AnotherContainer)  and I can launch a graphical app in AnotherContainer, and I can always visualize it, either directly connecting to VNC or through Guacamole.
However, since I installed sysbox in the Docker Host, the graphical tools doesn't work as expect anymore.
If I put runtime: sysbox-runc in the docker-compose file, when I try to run a graphical app it says it cannot connect to the DISPLAY.
But If I remove runtime: sysbox-runc from the docker-compose file, I can launch graphical things but parts of the window are missing.
I tested installing sysbox on a docker host that runs Ubuntu 18.04, and also on another host that runs Ubuntu 20.04 but the problem happens in both cases.
Has anybody else experienced this? If so, how did you solve it?
In the image below we can see an example of gazebo on the left, and rviz on the right, that are not shown properly.

@rubenanapu, thanks for reporting this.
I can think of a couple of issues that may explain what you are observing when you make use of "sysbox-runc" in your docker-compose file. But none of that would explain your second issue: parts of the window are missing when you don't use sysbox-runc.
Let's step back for a sec and try to understand your scenario in more details. Can you please share your docker-compose to help me reproduce the issue locally?
Thanks.

Hi @rodnymolina ,
sure. This is the docker-compose.yml file you can use to reproduce the issue:
version: '3'

services:
  vnc:
    image: x11vnc/desktop:latest
    container_name: vnc
    hostname: vnc
    ports:
      - 5901:5901
      - 6901:6901
      - 6080:6080
    volumes:
      - x11_volume:/tmp/.X11-unix:rw
    command:
      - sudo chown -R ubuntu:ubuntu /tmp/.X11-unix && /sbin/my_init --quiet -- /sbin/setuser ubuntu && startvnc.sh >> /home/ubuntu/.log/vnc.log

  ros:
    image: osrf/ros:noetic-desktop-full
    container_name: ros
    hostname: ros
    environment:
      - "QT_X11_NO_MITSHM=1"  #fix some QT bugs
      - DISPLAY=:0
    volumes:
      - x11_volume:/tmp/.X11-unix:rw
    depends_on:
      - vnc
    entrypoint: [ "/bin/bash", "-c" ]
    command:
      - source /opt/ros/noetic/setup.bash && stdbuf -o L roslaunch gazebo_ros empty_world.launch --screen

volumes:
  x11_volume:

I normally do the following:

Stop any existing container of this docker-compose with:  docker-compose down
Remove any volume named x11_volume with:

docker volume rm -f $(docker volume ls --filter 'name=x11_volume' -q)

Start the containers with: docker-compose up

After starting the containers, you should see the vnc container printing something like this:

vnc    | Open your web browser with URL:
vnc    |     http://localhost:6080/vnc.html?resize=downscale&autoconnect=1&password=ueuO4Apd

You can then open that URL in your browser in order to see the Graphical Tools. The URL/password will be different each time you run docker-compose up. You should also repeat the 3 steps each time you want to run docker-compose up just to make sure you will be able to access the Graphical Tools using the web browser.
When you open the web browser, you will see something like this:

Before starting sysbox, the way it originally works is like this:

Please let me know if I can help you diagnose it in any other way.

You are setting DISPLAY=:0 and share /tmp/.X11-unix for the ros container.
Sharing an X unix socket does not work yet with sysbox, compare #272.
A possible solution is to use X over TCP with x11docker to avoid using a unix socket. Compare #452.

I have tested the current master version of Sysbox / upcoming version 0.5.0.
The issue above should be solved with it. Sharing unix sockets is no longer a problem with new kernel feature of id-mapped mounts (kernel version >=5.12). Previous shifts failed with this.

Hi @rubenanapu , let us know if you would like to try the upcoming v0.5.0 version please. We are likely going to post a beta version of it on the repo very soon.

Hi @mviereck, @ctalledo, and @rodnymolina
First, Congratulations to the Nestybox team for integrating the Docker, Inc, as announced yesterday in the blog.
Now, back to technical talks, I've just installed nestybox on Ubuntu 22.04, which has the kernel 5.15.0-1004-aws and I'm still having the problem in which parts of the screen are black.
At least one of the problems described in the issue was solved:

When I add runtime: sysbox-runc to the docker-compose.yaml file, at least now I do not have that error which says it cannot connect to the DISPLAY.

But as I mentioned, just for you to know, some parts of the screen/application are still now shown (the black in the background is ok because it is a terminal, but the black in the Gazebo window is still a problem):

I am not sure, but I suspect an issue with graphic card drivers. What graphic card is installed in your computer?
Unfortunately sysbox cannot share the device files yet.
It might help to use a not accelerated X server that uses software rendering only.
A possible test setup:

Install Xephyr
Run e.g. Xephyr :1
Set DISPLAY=:1 instead of DISPLAY=:0

If that helps, you could use x11docker to improve the setup.


Error:Gradle: Execution failed for task ':html:compileGwt'.

after git clone and IntelliJ Project Import I keep seeing this error when trying to start example gdxpayexample code from bitbucket:

I'm not using any Java 8 language feature I only use it as SDK.

After I switched to Java 1.7 it started to work.


Add handling for channels in different workspaces that share the same ID

Slack supports the concept of shared channels, when the same channel is available in multiple workspaces. Jira Slack plugin fails if such set up is configured. These are the stacktraces that may be noticed in logs in such cases:
 java.lang.IllegalStateException: Duplicate key Conversation(id=GK9DTHU5V, ...)
 	at java.util.stream.Collectors.lambda$throwingMerger$0(Collectors.java:133)
 	at java.util.HashMap.merge(HashMap.java:1256)
 	at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320)
 	at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
 	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
 	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
 	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
 	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
 	at com.atlassian.plugins.slack.api.client.ConversationLoaderHelper.conversationsAndLinksById(ConversationLoaderHelper.java:112)
 	at com.atlassian.jira.plugins.slack.manager.impl.DefaultProjectConfigurationManager.toProjectConfigurationDTOs(DefaultProjectConfigurationManager.java:340)
 	at com.atlassian.jira.plugins.slack.manager.impl.DefaultProjectConfigurationManager.getConfigurations(DefaultProjectConfigurationManager.java:100)
 	at com.atlassian.jira.plugins.slack.web.contextproviders.SlackGlobalAdminDataProvider.getContextMap(SlackGlobalAdminDataProvider.java:57)

and another one
An error occurred rendering com.atlassian.jira.plugins.jira-slack-server-integration-plugin:slack-space-to-channel-global. Ignoring
java.lang.IllegalStateException: Duplicate key C023DDE3M7W (attempted merging values [com.atlassian.jira.plugins.slack.model.dto.ConfigurationGroupDTO@71e2e75a] and [com.atlassian.jira.plugins.slack.model.dto.ConfigurationGroupDTO@62206cf8])
	at java.base/java.util.stream.Collectors.duplicateKeyException(Unknown Source)
	at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Unknown Source)
	at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
	at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
	at com.atlassian.jira.plugins.slack.model.dto.ProjectToChannelConfigurationDTO.<init>(ProjectToChannelConfigurationDTO.java:39)
	at com.atlassian.jira.plugins.slack.manager.impl.DefaultProjectConfigurationManager.toProjectToChannelConfigurationDTO(DefaultProjectConfigurationManager.java:154)
	at com.atlassian.jira.plugins.slack.manager.impl.DefaultProjectConfigurationManager.getConfigurations(DefaultProjectConfigurationManager.java:116)

As a temporary workaround user may delete duplicating records from the database manually, but as a long-term solution the app logic should be changed to handle this case without errors.

This issue was tackled in #153 and #164 that were merged to dev. It is pending next release now.

The fix was included into Bitbucket Server for Slack v.4.0.1.

The fix was included into Jira Server for Slack 2.0.23 and Confluence Server for Slack 2.1.4


Migrate over to BufferNodeProcess to resolve Node path issues

Closes #86, #98, #105, #106, #108, #109
What this does it is migrates us from using BufferedProcess which is just a generic class that allow us to run commands, and instead uses BufferNodeProcess with uses the built-in Node for Atom.
By doing this it allows us to let Atom deal with the path issues and all of that for now and in the future, so that we don't need to keep manipulate it everything things keep breaking.
There are two reasons why this stopped working, some global paths like atom-ide would get appended to the NODE_PATH variable and break the link. Additionally, when they released v1.21.0 they restored Atom's "ASAR" archive functionality which messed up the original path.
This removes all of the path stuff from the plugin, so it should be far more stable in the future as well as resolve a lot of issues people are having currently with using the plugin.

@jas-chen You may want to create a new release, as more people upgrade this is only going to continue to be a growing problem for more and more users (such as myself). Also, thanks for your work on this it's a fantastic plugin <3

Great!

Just released v2.2.0. Thank you for your contribution!!!


Does it support reverse proxy?

Use the following code to test

func main() {
	proxy := goproxy.NewProxyHttpServer()
	proxy.Verbose = true

	proxy.OnRequest().DoFunc(
		func(r *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
			host := "www.google.com"

			log.Println(r.Header.Get("Host"))

			r.Header.Set("Host", host)
			r.Host = host
			r.URL.Host = host
			r.URL.Scheme = "https"
			return r, nil
		})

	http.Handle("/", proxy)

	err := http.ListenAndServe(":8080", nil)

	if err != nil {
		log.Fatal(err)
	}
}

i put it http://<IP_ADDRESS> reverse proxy to www.google.com, But encountered the following error.
github.com/elazarl/goproxy/proxy.go line: 104
		if !r.URL.IsAbs() {
			proxy.NonproxyHandler.ServeHTTP(w, r)
			return
		}

If I delete the three lines of code, you can use goproxy reverse proxy to Google. This will greatly improve the use of goproxy scenes.
This is similar to the nginx reverse proxy effect that can be used to add code to add logic. If it can be, would be great

If anyone is able to translate it, I'll be halt to answer, and you can
translate it back :-)
On Sun, May 7, 2017, 1:32 AM 娃娃脾气<EMAIL_ADDRESS>wrote:

使用以下代码进行测试
func main() {
proxy := goproxy.NewProxyHttpServer()
proxy.Verbose = true
proxy.OnRequest().DoFunc(
func(r *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
host := "www.google.com"
  	log.Println(r.Header.Get("Host"))

  	r.Header.Set("Host", host)
  	r.Host = host
  	r.URL.Host = host
  	r.URL.Scheme = "https"
  	return r, nil
  })

http.Handle("/", proxy)
err := http.ListenAndServe(":8080", nil)
if err != nil {
log.Fatal(err)
}
}
我将http://<IP_ADDRESS>反向代理到谷歌, 但是遇到阻止。
github.com/elazarl/goproxy/proxy.go line: 104
  if !r.URL.IsAbs() {
  	proxy.NonproxyHandler.ServeHTTP(w, r)
  	return
  }

如果我删除这3行代码，是可以用goproxy实现反向代理到谷歌的。这将大大提高goproxy的使用场景。
这是类似nginx反向代理的效果，可以使用go代码增加逻辑。如果可以，将是巨大的
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/issues/221, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP4ohh1u2wpzrpdVHjRwszZPpyqro6Fks5r3PThgaJpZM4NS7ic
.

@elazarl I have finished the translation, please give me advice

@elazarl hi

BTW, I'm also interested in reverse proxy functionality.
Is it possible to make NonproxyHandler "overridable"?

Ok, it was late night, so I didn't check myself. But yes, it is possible to change meaning of NonproxyHandler on creation of goproxy, something like that:
	proxy := goproxy.NewProxyHttpServer()
	proxy.Verbose = true

	proxy.NonproxyHandler = http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
		// Reverse proxy code goes here
	})

Not sure is it best practice or not, but it should work without making changes to the core library.

Hi,
I'm hesitating to allow reverse proxy usage for goproxy, since there are many excellent reverse proxies for Go.
Is there a reason you're not using them?

You are right, and now i am using go with the http reverse proxy, it works fine
https://github.com/golang/go/blob/master/src/net/http/httputil/example_test.go

For anyone interested, here's a small hack to make it work like a "reverse proxy".
It seems (currently) the only check to detect if a request is "proxy" request or not is checking req.URL.IsAbs() which only checks URL.Schema != "". Since you’re most likely to be implementing a HTTP-based reverse-proxy, you can apply a hack like this:
func setURLScheme(next http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		r.URL.Scheme = "http"
		next.ServeHTTP(w, r)
	})
}

Then wrap the goproxy handler like setURLScheme(goproxy.NewProxyHttpServer()).


fix: voice members not updating

What type of pull request is this?

[x] Non-breaking code change
[ ] Breaking code change
[ ] Documentation change/addition
[ ] Tests change

Description

While testing voice states I noticed some odd behaviour; users were not being removed from the voice channel's member list. At first i couldnt work out why, until i found this codeblock in voicestate. I dont understand why its necessary, nor why it was added in the first place; however removing it fixes all the issues ive found with GuildVoice.voice_members
Changes

Remove weird code

Checklist

[x] I've formatted my code with Black
[x] I've ensured my code works on Python 3.10.x
[x] I've tested my code

req review from @Kigstn as they added the code. and @zevaryx as i was talking to her when i found the bug

Well the problem I had, which led to the janky solution I made, was that when the voice state changes, the user gets removed from the voice channel members list in the cache.
This results in the problem, that the event.before arg is wrong. It does not show the member in the voice_members list, since before.channel got the channel obj with the updated member list from the cache.
Removing the code block will lead to event.before.channel.voice_members to show the voice_members for the channel after the event, so without the user who switched channel / disconnected and thus be incorrect.
I dislike the current solution as well, but can't think of a better way to do that while keeping the cache accurate

The issue is, this solution renders the after payload and the channel object itself inaccurate. So by preserving accuracy of the before object, it destroys the usefulness of 2 others. Im working on an alternative now - as per our discussion last night

Im trying to replicate with the same code this morning, and i can no longer replicate. I am very confused. The only variable thats changed is discord. I'm going to close this PR until such a time i manage to replicate, or more information is found


Backport #304 onto v1.14

Summary of Changes
Backport https://github.com/jito-foundation/jito-solana/pull/304 (omits breaking deprecated argument removal)

Had to revert a clippy suggestion that broke buildkite nits.


Job Stalled

Looking for where AnnualRevenue standard field on the account level is pulling from:
We are sorry, something went wrong. Please click here to log a Github issue so that we can review the error. Please include the following details: job stalled more than allowable limit

@KriegOfSalesforce please try Salto, it's also 100% free https://www.youtube.com/watch?v=JWinaJxFqyQ&t=63s

Link @pgonzaleznetwork

says its $125/month/user

That's the paid tier. When you sign up you'll start a 30 day trial. after that it defaults back to the free tier, which is impact analysis and metadata search just like HappySoup. That part stays free forever. Give it a try 😄


ci: Add release-drafter workflow

Description

Correctly add release-drafter.
Enbolden doc links for artifacthub.

Test

Additional Information
Tradeoff

Potential improvement

Correct, that an expected fail. The config should be present in main, and it's only fixed in this PR.


Manually define FB variables

Hi,
since v. 0.11.0 Facebook variables are defined in global variables with predefined names, as explained in documentation:

export ACCESS_TOKEN=EAAAG6WgW...
export APP_SECRET=a885a...
export VERIFY_TOKEN=95vr15g...

and an older way of defining them seems to be deprecated:
Facebook::Messenger.configure do |config|
  config.access_token = ENV["ACCESS_TOKEN"]
  config.app_secret   = ENV["APP_SECRET"]
  config.verify_token = ENV["VERIFY_TOKEN"]
end

However, I use another names for facebook vars - how can I still manually define them?
thanks!
UPD: with defining FB variables as expected, the following error fired up:

/facebook-messenger-0.11.0/lib/facebook/messenger/thread.rb:17:in `set': missing keyword: access_token (ArgumentError)

(adding it here as seems to be somehow related)

I figured out the second part of my question about an error:

/facebook-messenger-0.11.0/lib/facebook/messenger/thread.rb:17:in `set': missing keyword: access_token (ArgumentError)

Need to add access_token to every Thread.set() like so:
Facebook::Messenger::Thread.set(
  {
  	setting_type: 'greeting',
    greeting: {
      text: 'greeting.'
    }
  },
  access_token: ENV['ACCESS_TOKEN']
)

Need to either document it, or (better) use global var unless other explicitly specified.
The first question about manually defining variables is still open.
thanks!

Hi @rkrayovskyy! You can write your own configuration provider to use different environment variables. It won't be too different from the default configuration provider.

I documented passing environment variables to Thread. The reason we aren't and can't default to environment variables is that it only makes sense if you're using the default configuration provider, because that's the only thing that uses environment variables. If your bot is installed to multiple Facebook Pages or if you are using your own configuration provider to use different environment variables, it won't work.


A error message is printed out with "silent=True" in XGBClassifier

silent parameter in xgboost's python api fails to prevent XGBClassifier from printing out error message. It happens if no feature is left by feature selection steps before using XGBClassifier. But it could happen in grid search or other optimization methods for tuning parameter.
Environment info
Operating System:
macOS <IP_ADDRESS>
Compiler:
gcc-6 (Homebrew GCC 6.3.0_1 --without-multilib) 6.3.0
Package used (python/R/jvm/C++):
xgboost version used: 0.60 and 0.60a2
If you are using python package, please provide

The python version and distribution
Python 3.6.0 |Anaconda custom (x86_64)| and Python 3.5.3 |Continuum Analytics, Inc.| (default, Mar  6 2017, 12:15:08)

Steps to reproduce
import numpy as np
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
from xgboost import XGBClassifier
from xgboost.core import XGBoostError
import warnings

X, y = make_classification(n_samples=1000, n_features=20,
                                    n_informative=2, n_redundant=10,
                                    random_state=42)
x_train, x_test, y_train, y_test = train_test_split(X, y, train_size=0.7, test_size=0.3, random_state=42)

# Use 0 feature in X empty
X_empty = np.empty(shape=(len(y_train), 0))

clf = XGBClassifier(silent=True)
try:
    with warnings.catch_warnings():
        warnings.simplefilter('ignore')
        clf.fit(X_empty, y_train)
except XGBoostError:
    print('XGBoostError is caught')

Or
print("importing modules...")
import pandas as pd
import numpy as np
from sklearn.pipeline import make_pipeline
from sklearn.ensemble import ExtraTreesClassifier
from sklearn.model_selection import train_test_split
from sklearn.feature_selection import SelectFromModel
from xgboost import XGBClassifier
from xgboost.core import XGBoostError
from random import randint
import warnings

# I wanted the label data to be a bit imbalanced
print("creating fake data...")
np.random.seed(1776)
df = pd.DataFrame(np.random.randn(8000,11), columns=list("ABCDEFGHIJK"))
label = np.array([randint(1,11) for mynumber in range(0, 8000)])
label[label <= 9] = 0
label[label >= 10] = 1
print(label)
df['label'] = label

# extract labels and drop them from the DataFrame
y = df['label'].values
colsToDrop = ['label']
xdf = df.drop(colsToDrop, axis=1)

x_train, x_test, y_train, y_test = train_test_split(xdf, y, train_size=0.7, test_size=0.3, random_state=1776)

test_pipeline = make_pipeline(
    SelectFromModel(estimator=ExtraTreesClassifier(max_features=0.2, random_state=42), threshold=0.3),
    XGBClassifier(learning_rate=0.1, max_depth=1, min_child_weight=13, nthread=1, subsample=0.6, silent=True)
    )

try:
    with warnings.catch_warnings():
        warnings.simplefilter('ignore')
        test_pipeline.fit(x_train, y_train)
except XGBoostError:
    print('XGBoostError is caught')

Output:
[15:59:14] dmlc-core/include/dmlc/logging.h:300: [15:59:14] src/tree/updater_colmaker.cc:162: Check failed: n > 0U (0 vs. 0) colsample_bytree=1 is too small that no feature can be included```

This occurs because CHECK_GT and related functions in /dmlc-core/include/dmlc/logging.h write to the log directly, and don't include a check for param.silent == 0. We don't want to wrap all these checks with if statements looking at param.silent, as they can result in LogMessageFatal, which throws an error or aborts. Instead, we could change the signature of the check functions to take silent as a parameter.
Happy to create a MR for this if it seems like an acceptable solution.


[Feature] Registry for v3

Overview
First Level

[ ] new command k3d registry

[ ] --cluster (multiple): clusters to attach to upon creation

[ ] new command k3d registry create
[ ] new command k3d registry delete
[ ] new command k3d registry start
[ ] new command k3d registry stop
[ ] new command k3d registry connect

[ ] reload containerd config to include new registry

requires https://github.com/containerd/containerd/issues/4478

Second Level

[ ] new flag k3d cluster create --use-registry REGISTRY_NAME

Important Notes

we need to keep track of the clusters using a registry, so that we can update the respective registries.yaml files when creating/starting/stopping/deleting a registry

Status

draft of first level k3d registry command

Old PR: #283  (old syntax, closed in favor of this new PR)
FYI @inercia

@iwilltry42 k3s registry connect seems more like wishful thinking given our conversation with @erikwilson and the lack of containerd support (unless we are okay with a cluster reboot which is probably fine, actually).
I may have missed it but if you haven't already I suggest adding a string slice of registries to connect to by name when invoking k3d cluster create

Thanks for the feedback @dweomer !

@iwilltry42 k3s registry connect seems more like wishful thinking given our conversation with @erikwilson and the lack of containerd support (unless we are okay with a cluster reboot which is probably fine, actually).

Fast and painless cluster reboots are on our list anyway to allow updating settings after creating the cluster. So I'll just postpone registry connect for now 👍

I may have missed it but if you haven't already I suggest adding a string slice of registries to connect to by name when invoking k3d cluster create (kind of like associating volumes to containers a la docker create|run)

Yep, I will definitely add this again. That's also how k3d 1.x handled registries (creation and connection).

Will there be a way to create the registry automatically upon cluster creation, or will this have to be a second set of commands ?

@sgandon I'm not sure about this yet, as this could result in a "flag hell" again like we had it in v1.x.
I'd personally prefer a more decoupled solution like in k3d registry create myregistry [flags, etc.] followed by k3d cluster create --registry myregistry.

@iwilltry42 If you'd give me a go, I'd build and test this branch to give early feedback... It also looks as if some checkboxes above could be ticket, so I can follow what's on desk right now.

@blaggacao

@iwilltry42 If you'd give me a go, I'd build and test this branch to give early feedback... It also looks as if some checkboxes above could be ticket, so I can follow what's on desk right now.

Thanks for your offer! I will get back to this soon. Unfortunately there are other things with a higher priority right now.
I can't even remember the current state of this PR, but feel free to test it already, write comments/proposals or even touch the code yourself :)

Might strategy of #360 serve as a temporary work around for https://github.com/containerd/containerd/issues/4478 ?

Maybe trow is worth a review as a lightweight in-cluster registry alternative: https://github.com/ContainerSolutions/trow

Might strategy of #360 serve as a temporary work around for containerd/containerd#4478 — setting requested dns entries as per registry create <name>?

I'm not sure about this, as containerd does not provide a CLI option to add new registries (and does not reload the configuration).

Maybe trow is worth a review as a lightweight in-cluster OCI-compliant registry alternative: https://github.com/ContainerSolutions/trow

It's definitely a cool project, but wouldn't suffice the requirements of k3d, as it won't be easy/reliable to share between multiple clusters :thinking:


so theresa  update problem? or I', im stuid.

WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.
Python 2.7.16 (default, Jun  5 2020, 22:59:21)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1<IP_ADDRESS>) (- macos10.15-objc- on darwin
Type "help", "copyright", "credits" or "license" for more information.

install puython
File "", line 1
install puython

#22


Test implementation of Sample Elimination Algorithm

References #13
The cySampleElim.h class handles the poisson disc sample elimination algorithm. Run and test this class through python.

[x] Verify cySampleElim class binding and linking with python
[x] Write example code that demonstrates a working Sample Elimination Algorithm
[x] Write and verify unit tests including tests for each function:
- [] WeightedSampleElimination()
- [] Eliminate()
- SetTiling()
- SetWeightLimiting()
- GetParameters()
- GetMaxPoissonDiscRadius()

Stepped through the cySampleElim class paying special attention to data types, syntax, and parameter handling.
The cyCodeBase has been hardcoded to link with matlab and will need to be updated.
It is possible to only link to PcCoarsen2D which calls this class. However linking to cySampleElim will allow the python library to interact and run unit tests. Users will be able to study and engage with the algorithm.
The class and sample elimination algorithm are well documented by the author Cem Yeksel ( Sample Elimination for Generating Poisson Disk Sample Sets ) . As part of the project documentation, a script to run an animation could help visualize the elimination algorithm and blue noise characteristics.
[t:45]

Wrote Python script to generate input sample data focusing on a finite base case. Stepped through matlab data structures created at breakpoints simultaneously with python. Drafted ways to automate this process.
[t:75]

Successfully compiled a shared library of just the cySampleElim class with bindings for python for testing. Verified creating an elim object from python and calling member functions.
Added python function to generate input data. Wrote test cases.
[t:200]

Got all the bindings to work except Eliminate(). It is an overloaded function that takes a lambda function as the weightfunction when overloaded. The syntax to get this all to work is extremely complicated (binding overloaded function with optional lambda weightfunction).
Eliminate() can be effectively tested when it's calling class PcCoarsen is binded and tested in another task. This simplifies testing and focuses efforts on the first milestone.
[t:240]


Update cleaning. Bug fixing

Update cleaning for use SpamFactory instead of
ClientFactory.
Fix bug with deleting of cache record even if
was in the exceptions.
Fix neutron find methods by removing
unnecessary wrapper around them.

Coverage remained the same at 0.0% when pulling bbc925e106edc1b8a33f3d3217b7ba223e0c2af4 on FromZeus:master into 9d64c8a9529173d2fe69887a618cbc852d3825dd on seecloud:master.


Button variants not getting applied

Describe the bug
Assigning a variant to a Button does not do anything.
To Reproduce
Steps to reproduce the behavior:

Assign variant outline (or ghost/soft/link) to UButton component

e.g. <UButton variant="outline">Button</UButton> in any .vue template

See that no outline variant has been applied

Expected behavior
When assigning variant="outline" to the Button component, I'm expecting to see the Button have the outlined style shown in NuxtUI docs.
Screenshots

Additional context
Version: nuxt-ui-vue ^0.0.9

Ahhh, I see now that variants are called intents here :) Apologies!

Ahhh, I see now that variants are called intents here :) Apologies!

No worries 👍


Prevent compromised/breached passwords

This uses the HaveIBeenPwned password API to determine if a given password has ever appeared in a breached list of passwords or not. If a password appears in the list of breached/compromised passwords, it will reject the password during registration, password reset, and changing passwords.
This does NOT send the password to HIBP, instead of does a sha1 hash of the password, and sends the first 5 characters of the hex digest to HIBP and HIBP will return a list of all of the sha1 hashes that begin with that prefix. This is not enough for HIBP to determine the password, or whether the user's password existed in the returned set. For more information see https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/.

Donald's blog post on this: https://caremad.io/posts/2018/08/pypi-compromised-passwords/


Added getVehicleSeat()

Added a much better way of finding the VehicleSeat.
Works perfectly fine, unless a HumanoidRootPart isn't present.
(In that  case, it isn't a new (player) character, but an old one)

Sorry for taking a while to get to this. I didn't accept this one because we had plans to add new API for the humanoid to get the seat the humanoid is sitting in. The new API has been merged into our integration branch so I have changed this script to account for that. There will be a new SeatPart property on the humanoid and the .Seated event will now give you the seat the humanoid is sitting in as the second parameter, nil if getting out of a seat.
While both approaches (GetConnectedParts and cameraSubject being a VehicleSeat) work, we wanted to make it a bit more intuitive to find the seat. We also have plans to move the default vehicle controls to lua, so this will also help with that.

That's better, of course.
The way I approached just seemed to be safer, not depending on the camera actually
changing its CameraSubject to the seat, on or not on time.

  However,  take all HumanoidRootParts out of them,  the ping is better tremendously and the average FPS is 20-40 FPS)  Which brings me to my next question,  why cant the roblox coding and physics department (with 5+ years of experience) cant hook a camera nor seat detection nor gravity to the torso?


Failed to retrieve octopoints

Describe the bug
My home assistant container is being spammed with these errors, I assume this has to do with the Octoplus program that I wasn't enrolled in?
Reproduction steps
Don't be enrolled in Octoplus programme?
Expected behaviour
Not spam logs with errors as Octoplus programme is optional and not everyone will be enrolled.
Tariff Code
E-1R-VAR-22-11-01-H
Integration Version
latest stable
Home Assistant Version
latest docker
Fresh Install?
Fresh install
Home Assistant Logs
2023-11-27 10:55:17.242 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
2023-11-27 11:25:17.626 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
2023-11-27 11:55:17.370 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
2023-11-27 12:25:17.750 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
2023-11-27 12:55:17.504 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
2023-11-27 13:25:17.965 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
2023-11-27 13:55:17.615 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
2023-11-27 14:25:17.943 ERROR (MainThread) [custom_components.octopus_energy.api_client] Failed to retrieve octopoints
Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

Hello, sorry for not responding. I've added some logic and updated the docs to not include this sensor if you haven't signed up. This should be fixed in v9.1.0


fix: string cutset method usage

Describe the PR
Here we are going to trim //, /* at the comment before and */ last, should use TrimPrefix and TrimSuffix instead of TrimLeft and TrimRight.
Relation issue
None

Please add unit tests that "ensure" this change is genuine and won't be reverted by mistake at a later time.

Please add unit tests that "ensure" this change is genuine and won't be reverted by mistake at a later time.

No need actually, it has already been covered by tests.
But, here we have to discuss, if a const with comment like
type Type string
const Teacher Type = "teacher" //// teacher

whether the invalid comment is teacher or // teacher ?
Maybe TrimPrefix and TrimSuffix are more accurate than TrimLeft and TrimRight.
The standard lib has provide a method to extract the comment text, but with a \n at the end.
func (g *CommentGroup) Text() string{
  ...
}


remove dnsmasq from the default package set

We saw a report in the RHEL for Edge downstream about how the inclusion of dnsmasq in the OS was causing issues for CIS Level 1 server compliance.  (Example audit rule for CIS compliance - https://www.tenable.com/audits/items/CIS_Oracle_Linux_9_v2.0.0_L1_Server.audit:35758e8a3ea48aff90e79b2d49199741)
The git archeology for the inclusion of that package appears to go back to the first definition of the IoT package set - https://pagure.io/fedora-iot/ostree/c/e4dff0e6fb85568963701ced7e8ca97e88e5f74a?branch=master
This looks very similar to the base content set that was used for Fedora Atomic Host and the rationale for the inclusion of dnsmasq in Atomic Host had to do with supporting openshift-ansible/OpenShift 3.11 - https://www.pagure.io/fedora-atomic/c/0435250a9308ba55e56f3c31edfe63aab2c41d8d
An inspection of the Requires/Recommends on dnsmasq doesn't show any default packages that depend on the package:
[core@localhost ~]$ rpm -q --whatrequires dnsmasq
no package requires dnsmasq
[core@localhost ~]$ rpm -q --whatrecommends dnsmasq
no package recommends dnsmasq

Given the history and lack of dependencies on the package, it seems like a good candidate for removal from IoT.
(We already decided to remove it from future versions of RHEL for Edge - https://github.com/osbuild/images/pull/921)

Yes, makes sense, from (a very vague) memory it was originally needed for container networking, but that's no longer the case. Filed this PR: https://pagure.io/fedora-iot/ostree/pull-request/62

Merged.


render API DTOs as objects not strings.

flask_restful supports content negotiation and DTO rendering and
does not rely on the controller rendering the response as JSON.
this change causes all API methods to return structured objects
instead of string-serialized objects.

This has been incorporated by merging #160
Thanks for your work on this.


Mssql docs

closes #713
I couldn't get deno or bun to work with the dialect. Deno was having issues connecting to the database with the message Error: Failed to connect to localhost:1433 - tlssock._start is not a function. Bun was having issues with tarn with the message Failed to connect to localhost:1433 - socket must be an instance of net.Socket.
Since this wasn't working for me, I stated that bun and deno didn't support the mssql dialect in the docs. Just want to make sure that they aren't currently known to work.
Thanks!

We need to somehow mention that it also uses Tarn for connection pool management and provide a link to tarn's documentation.
https://github.com/kysely-org/kysely/pull/724/files#diff-f8ce7b5d9b471415c6e85f9db24baf58b16c5a55101d354bf66c0dc497340671R105-R109

Regarding Deno compatibility, here's an official issue that seems related to the problem (and someone claimed it still doesn't work 2 weeks ago despite being closed).

Regarding Bun compatibility, here's an issue that seems related to the problem (all commenters use libraries that use tedious under the hood).

Thanks for all your work maintaining this library by the way. You all do an amazing job.
I'm quite ecstatic that mssql is becoming part of the core dialects.

Hey @igalklebanov,
Sorry about that. I ran into some issues getting that one to work and forgot about it (and didn't run typecheck 🤦♂)
I meant to ask: what would be a preferable solution for inserting a new row and returning data from that inserted row while #687 is still open?
The only thought I had was to use that existing findPeople function and grab the first of the array that's returned. Here's the snippet for that:
export async function createPerson(person: NewPerson) {
  await db.insertInto('person')
    .values(person)
    .executeTakeFirstOrThrow()

  const newPerson = (await findPeople(person)).at(-1)
  return newPerson
}

export async function deletePerson(id: number) {
  const person = await findPersonById(id)

  if (person) {
    await db.deleteFrom('person').where('id', '=', id).execute()
  }

  return person
}

I think that the data will be sorted by id, so this would grab the most recently inserted row, but there would be issues if something was inserted to the table with identical values between the insertInto line and newPerson line were executed.
Am I missing something or would there be no better option until the output clause is supported?

@gittgott I'd prefer using scope identity in a transaction.


Not working with bukkit4fabric

Multiverse-Core v4.2.3-SNAPSHOT-b821" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [dumptruckman, Rigby, fernferret, lithium3141, main--].
After that nothing else happens it just makes the server freeze, i use bukkit4fabric to use carpet for other things that are usefull

bukkit4fabric isnt a supported server type by mv, please use normal paper or spigot server.


Ram memory issues

Hi, I'm using gradcam++ in a for loop to save all the cam output. However, the ram keep piling up with every loop and the program terminate as ram is used up. Any way to solve this? Detach tensor? Which one?

Found out that the cam should only be initiated once


name conflicts with systemd's own python bindings; how to package?

Thanks for these excellent bindings; they are certainly much more pythonic than the ones that systemd ships.
I'm trying to package this library as I have my own software depending on it. This is quite hard, because at least in debian, import systemd is already taken by the official bindings.
In general, the naming conventions have become a bit unfortunate:

place
official systemd
mosquito

github
python-systemd
python-systemd

pypi
systemd-python
systemd

debian
python{,3}-systemd
?

import statement
import systemd
import systemd

What's your preferred way of handling this? A possible suggestion would be to rename to pysystemd, but I'm just thinking out loud here.

You are absolutelly right, actually I don't know what can I do with this collisions. Some my projects already require it as systemd.
My own solution: Making RPM package which contains a virtualenv with all dependencies.
And the second one solution: You could build package with different name (e.g. cython-systemd) and add Conflicts section for this (which contains python{,3}-systemd).
I hope this options would helps you.

Thanks for your thoughts @mosquito ! Hmmm, if you already depend on it for many projects, a rename is not really going to work. That does mean that it can't be officially packaged for debian/ubuntu , because they probably wouldn't accept a virtualenv-based solution. Is that an issue for you?
For my own project, I'm going to go with this solution here: https://github.com/tkluck/pac4cli/pull/9/commits/dc5d7a8865d072dbf6c168a40db004530882a2b2 . It's a bit silly, but it does allow both a pip (yours) and a debian (official systemd) based installation.

Actually it now broke ansbile ;)
https://github.com/ansible/ansible/issues/33523

This is an issue for "ansible" team. Distutils has internal requirements validation. systemd and python-systemd is a different packages.

Yes, so i filed bug. But i know that you use ansible, so be warned ;)

Package has been renamed as cysystemd


fix: config merge

fix https://github.com/midwayjs/midway/discussions/3482

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b9874ab) 69.98% compared to head (b9e0497) 70.57%.

Files
Patch %
Lines

src/util/index.ts
96.87%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   69.98%   70.57%   +0.59%
==========================================
  Files          11       11
  Lines        1216     1244      +28
  Branches      373      384      +11
==========================================
+ Hits          851      878      +27
- Misses        334      335       +1
  Partials       31       31

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


libBower, a server-agnostic implementation of Bower

I'm quite lazy so I took this text from Sass/libSass website changing it a bit:

We want everyone to enjoy Sass Bower, no matter what language they use. Sass Bower was originally written in Ruby JavaScript. libSass libBower is a C/C++ port of the Sass Bower engine. The point is to be simple, faster, and easy to integrate. Find out more about the project over at GitHub.

It could be a good way to relaunch Bower as a server-agnostic package management tool, what do you think about?

Unfortunately we don't have resources nor expertise to create such library


Feature Proposal: Deterministic Routing for Egress

Thanks for your submission!
Here are some guidance for submitting your issue.
Tell us why you are submitting?

[ ] I found a bug - here are some steps to recreate it.
[x] I have an idea for a new feature - please document as "As a user, I would
like to..."
[ ] I am having trouble getting setup, understanding documentation, or using
Loggregator in some way - please highlight any resources you are using.
[ ] This is an architecture change that will result in cleaner more efficient
code - Tell us why you think this is a good idea.

We review issues and PR's on a weekly basis and try to schedule and prioritize
items. If you are wondering about status of an item feel free to contact us on
our slack channel.
Problem Summary
Random sharding of the firehose means that multiple instances can not probably perform calculations on counters.
Solution Summary
See feature proposal from @knyar cc @johnsonj

This has shipped. Closing issue.

Any details of the resulting behaviour @ahevenor ?  I just finished creating my client side distributed firehose metric aggregator.  Can I throw that in the trash now?

@youngm - hopefully. You can use our RLPreader, and the deterministic name to test it out. See here


MDC-101 Android: Material Components (MDC) Basics (Java), step 5 error

While trying to complete MDC-101 Android: Material Components (MDC) Basics (Java), step 5 I got this error:
Method does not override or implement a method from a supertype
@Override
Code:
public class MainActivity extends AppCompatActivity implements NavigationHost {
@Override
public View onCreateView(
        @NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

**Codelab details

Level (MDC-101)
Language (Java )
Link to the codelab at the step with the issue (https://codelabs.developers.google.com/codelabs/mdc-101-java/#4)

Thank for your help

I make a mistake, sorry.


EDIT COMPANY VISION STATEMENT

[ ] Create a button that allows the user edit statement
[ ] Create an edit statement view

Pull request #369
goals.zuri.chat

Nice work :+1:


integrate bacon qr code

To assist with #37 and also to improve my own project, I have written a provider for BaconQrCode.
I have used the current version which relies on PHP 7.1 at minimum. It is also possible to customise the QR code slightly.
Usage:
$provider = new \RobThree\Auth\Providers\Qr\BaconQrCodeProvider();
$provider->setBorderWidth(1);
$provider->setBackgroundColour('#d0d0d0');
$provider->setForegroundColour('#333');

$twoFa = new TwoFactorAuth($issuer, 6, 30, 'sha1', $provider);

// works with standard usage
$twoFa->getQRCodeImageAsDataUri($label, $secret, 400);

// also access an SVG
$provider->getQRCodeSvg($twoFa->getQRText($label, $secret), 400);

As an aside, would you consider allowing setters in the main TwoFactorAuth class to allow setting the providers without declaring all the other options in the constructor?

I've made the requested changes however my testing was unable to throw \QRException, I haven't investigated but is it because that file is missing a namespace?

It's better already but I would like to be able to specify the imagerenderer by passing an argument to the constructor. Also I think the composer file would require a reference to BaconQrCode?

It's better already but I would like to be able to specify the imagerenderer by passing an argument to the constructor

That would make sense, the developer would presumably be able to decide on an image format with the design, would it be better as the first argument in case they were happy with the default border and colours?

Also: I am really not very much familiar with the whole composer thing; shouldn't this require a reference in the composer.json file as it's a dependency?

That is an excellent question. Related to your comment on #40 as well. Arguably, including multiple dependencies to create a QR code would lead to dependency bloat in numerous projects and may even cause conflicts if those dependencies required each other.
I mention that because endroid/qr-code relies on bacon/bacon-qr-code so if endroid required a newer version of bacon than you had specified, it could get messy. FWIW I think a lot of QR-related projects do also rely on bacon.
I guess you have a choice to make in this regard, whether you want this package to have a number of different providers relying on other packages, but those dependencies aren't immediately included in this packages dependencies (to avoid conflicts and/or integrate into users existing dependencies), or to only nominate one provider as the main one and include that dependency as necessary.
Admittedly I haven't written a test for this provider. Including a number of additional dependencies "on the fly" to test with could be complicated and annoying to maintain but not impossible.
Neither PR has included an update to the composer file so we're currently on the everything is optional but difficult to test route.
I hope this makes sense, let me know what you think.

would it be better as the first argument

If I would've coded it, I think it were the first argument; border and colors are pretty standard black/white etc. usually.

Edit: as a further aside, both provider contenders would require another PHP version bump as bacon requires >= 7.1 and endroid requires >= 7.2

Yes. I'm currently contemplating dropping support for PHP < 7.2 alltogether since they aren't supported anymore anyway. Though I think that would make a lot of people stuck on older versions (for whatever reason) unhappy. A "push" for a newer version can be 'needed' in some cases but in others people are really stuck. And besides the QR code generation requirements in these two PR's there's actually nothing in the code preventing it to run on 5.4 upwards... I only dropped 5.4 and 5.5 today becasue Travis CI doesn't support those anymore (at least not without me putting in some more effort than just removing 5.4 and 5.5 from .travis.yml 😉 )

I've just reopened the code and remembered that the format is already the last argument as per your other providers haha. I mentioned it in the comment in my last example at the end of the bit.
I'll await your decision.

Hello @RobThree , are you planning to merge this? I will be really grateful because I need a QR code provider which does not send the secret to a remote service. And regarding composer.json - you can add bacon into the suggest block (on the same level as the require block):
"suggest": {
  "bacon/bacon-qr-code": "Needed for BaconQrCodeProvider provider"
}

I have merged this one, as wel as #40. If someone would like to update the README and make a PR that would be appreciated!

What's your release schedule for this library?  As it stands, the README makes mention of the Bacon QR provider but the latest release tag does not include it.
As this is the only "baked in" QR code provider that does not send the secret to a 3rd part service over HTTP, it would be nice if a new release was created IMO, so people don't have to implement their own, or use something like 'dev-master' instead of an actual release.
Thanks for your work on this!

What's your release schedule for this library?  As it stands, the README makes mention of the Bacon QR provider but the latest release tag does not include it.
As this is the only "baked in" QR code provider that does not send the secret to a 3rd part service over HTTP, it would be nice if a new release was created IMO, so people don't have to implement their own, or use something like 'dev-master' instead of an actual release.
Thanks for your work on this!

What's your release schedule for this library?

Hmm, I've been busier than I'd like to, so I'm not sure. But I was thinking of pulling in extra people if they're interested to help out (like maybe @willpower232, @MasterOdin , @igorsantos07 or other big(ger) contributors). I'll try and see what I can co short term. If any of the tagged people would be interested, let me know! 👊

What's your release schedule for this library?

Hmm, I've been busier than I'd like to, so I'm not sure. But I was thinking of pulling in extra people if they're interested to help out (like maybe @willpower232, @MasterOdin , @igorsantos07 or other big(ger) contributors). I'll try and see what I can co short term. If any of the tagged people would be interested, let me know! 👊

@RobThree I'm happy to help maintain this library.

@RobThree I'm happy to help maintain this library.

@RobThree I'm also happy to help.  What needs to be done besides tagging a new release?  Are there issues that need to be resolved first?

@RobThree I'm also happy to help.  What needs to be done besides tagging a new release?  Are there issues that need to be resolved first?

I prefer to stay out of this, unfortunately. I've compromised with OS
packages a couple of times in the past, but my work routine never allows me
to actually work on these, so... I stay as a occasional PR writer 😅
Igor Santos
-- Desenvolvedor Web
[enviado do meu celular]
On Wed, Jan 27, 2021, 19:08 Kevin Quinn<EMAIL_ADDRESS>wrote:

@RobThree https://github.com/RobThree I'm also happy to help. What
needs to be done besides tagging a new release? Are there issues that need
to be resolved first?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobThree/TwoFactorAuth/pull/39#issuecomment-768611110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEB6S2JNRPBIAYAVQUGVS3S4CFGXANCNFSM4JAG7JNQ
.

I prefer to stay out of this, unfortunately. I've compromised with OS
packages a couple of times in the past, but my work routine never allows me
to actually work on these, so... I stay as a occasional PR writer 😅
Igor Santos
-- Desenvolvedor Web
[enviado do meu celular]
On Wed, Jan 27, 2021, 19:08 Kevin Quinn<EMAIL_ADDRESS>wrote:

@RobThree https://github.com/RobThree I'm also happy to help. What
needs to be done besides tagging a new release? Are there issues that need
to be resolved first?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobThree/TwoFactorAuth/pull/39#issuecomment-768611110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEB6S2JNRPBIAYAVQUGVS3S4CFGXANCNFSM4JAG7JNQ
.

@RobThree I'm happy to help also.
Theres definitely more work that could be done in this project. Whilst not critical, I'd say other than bulking out the test suite and any linting/static analysis checking, testing against PHP 8 would be neat. Also migrating from travis-ci.org to .com or github actions will probably become an issue shortly.

@RobThree I'm happy to help also.
Theres definitely more work that could be done in this project. Whilst not critical, I'd say other than bulking out the test suite and any linting/static analysis checking, testing against PHP 8 would be neat. Also migrating from travis-ci.org to .com or github actions will probably become an issue shortly.

Agreed @willpower232. Besides that work needs to be done in the QR providers department and the README could use some work too.
Fot me most important is we try very hard not to break current implementations. The 'core' is, as far as I am concerned, pretty much ok. More providers (QR, Time, RNG) or improvements on the current once are always welcome, again, as long as we don't break stuff willy nilly. There's thousands of people and projects relying on this library.
I have some experience with PHP but I am mostly a .Net developer; I am not very experienced with stuff like composer. PHP8 support would be great but I also would like to try to stay compatible with PHP 5.6 upwards; even though it's EOL there's still many projects that haven't been ported to later PHP versions and as long as there's no good reason to drop support for this then I'd like to keep it (for the forseeable future). That doesn't mean that we can't have providers that require new(er) PHP versions.
One thing I never stopped and took the time for to figure out: ideally the providers are moved to external packages so they have a dependency on this 'core' library. That way providers can be updated "out of band" with TwoFactorAuth and providers can be much more easily added by third parties without having to do pull requests. Also documentation for each of the providers should be moved to the wiki I think, to keep the README short(er).
This is the general direction I'd like to take this project into.
One thing that worries me is having more than one captain on a ship; in my experience this usually ends in the ship sinking. However, I also don't have the time to give this project the attention it deserves. So I vote @willpower232 be added as a collaborator and if needed (we'll discuss this in the open) we can add @MasterOdin and @kevinquinnyo later. Everyone good with that?
I will try to keep the .Net variant of this library 'in tandem' with this PHP version as much as possible.

Agreed @willpower232. Besides that work needs to be done in the QR providers department and the README could use some work too.
Fot me most important is we try very hard not to break current implementations. The 'core' is, as far as I am concerned, pretty much ok. More providers (QR, Time, RNG) or improvements on the current once are always welcome, again, as long as we don't break stuff willy nilly. There's thousands of people and projects relying on this library.
I have some experience with PHP but I am mostly a .Net developer; I am not very experienced with stuff like composer. PHP8 support would be great but I also would like to try to stay compatible with PHP 5.6 upwards; even though it's EOL there's still many projects that haven't been ported to later PHP versions and as long as there's no good reason to drop support for this then I'd like to keep it (for the forseeable future). That doesn't mean that we can't have providers that require new(er) PHP versions.
One thing I never stopped and took the time for to figure out: ideally the providers are moved to external packages so they have a dependency on this 'core' library. That way providers can be updated "out of band" with TwoFactorAuth and providers can be much more easily added by third parties without having to do pull requests. Also documentation for each of the providers should be moved to the wiki I think, to keep the README short(er).
This is the general direction I'd like to take this project into.
One thing that worries me is having more than one captain on a ship; in my experience this usually ends in the ship sinking. However, I also don't have the time to give this project the attention it deserves. So I vote @willpower232 be added as a collaborator and if needed (we'll discuss this in the open) we can add @MasterOdin and @kevinquinnyo later. Everyone good with that?
I will try to keep the .Net variant of this library 'in tandem' with this PHP version as much as possible.

Thanks for the vote!
Judging by #59, the code is working fine across all versions, I haven't had to do rewrites in other projects to support PHP 8. Obviously backwards compatibility rules out some of the "syntax sugar" but not a big deal in my book.
Having separate wrapper libraries would definitely resolve the manual requirement to install Bacon or Endroid or whatever so would present a nicer end user experience. I guess you'd have to unmerge these recent PRs to fully accomplish that unless you want to keep them in here.
I mentioned in another issue I think that wiki is great but requires you to provide write access to the repo to allow anyone to edit it so not necessarily what you want in this situation. A github-pages site could be a good alternative so you're back in PR-land.
You could also enable discussions for this repo if you wanted to stop talking in a PR :-P

Thanks for the vote!
Judging by #59, the code is working fine across all versions, I haven't had to do rewrites in other projects to support PHP 8. Obviously backwards compatibility rules out some of the "syntax sugar" but not a big deal in my book.
Having separate wrapper libraries would definitely resolve the manual requirement to install Bacon or Endroid or whatever so would present a nicer end user experience. I guess you'd have to unmerge these recent PRs to fully accomplish that unless you want to keep them in here.
I mentioned in another issue I think that wiki is great but requires you to provide write access to the repo to allow anyone to edit it so not necessarily what you want in this situation. A github-pages site could be a good alternative so you're back in PR-land.
You could also enable discussions for this repo if you wanted to stop talking in a PR :-P

A github-pages site could be a good alternative so you're back in PR-land.

That's also a good idea 👍

You could also enable discussions for this repo if you wanted to stop talking in a PR :-P

Done 😉

A github-pages site could be a good alternative so you're back in PR-land.

That's also a good idea 👍

You could also enable discussions for this repo if you wanted to stop talking in a PR :-P

Done 😉

@All I have added @willpower232 as collaborator. I hope we can make some big steps towards a new and better release. I hope we can improve / solve some minor issues first and fix up some QR code providers and hope to work towards a new major release next in where we move the providers to separate libraries/packages so we they can be released out-of-band.
Thanks to all of you for all your input, efforts and work and good luck and welcome aboard @willpower232 !

@All I have added @willpower232 as collaborator. I hope we can make some big steps towards a new and better release. I hope we can improve / solve some minor issues first and fix up some QR code providers and hope to work towards a new major release next in where we move the providers to separate libraries/packages so we they can be released out-of-band.
Thanks to all of you for all your input, efforts and work and good luck and welcome aboard @willpower232 !

:pray: unless you have any specific minor issues, I might just dive into doc blocks, code formatting, and getting test coverage up where possible

It's a bit unceremonious but; I'm happy with anything and everything you can co. Let's hold off publishing releases until we've both had a chance to review changes but other than that: I'm happy to have some help. As mentioned earlier, I've been quite busy lately so all help, however small or big, is very welcome!


os.rename doesn't overwrite on windows

This happens inside cache fetches, for index.html or json mostly.  If they're fetched once, then change, we get a traceback.

I believe this should work now.


[material-ui][FocusTrap] Update getTabbable return type from string[] to HTMLElement[]

Part of : #42231
Two files upadated
1.FocusTrap.ts : Change the return type of the getTabbable function from ReadonlyArray<string> to ReadonlyArray<HTMLElement>.
2.FocusTrap.types.ts : Change the return type of the getTabbable function from ReadonlyArray<string> to ReadonlyArray<HTMLElement>.

[x] I have followed (at least) the PR section of the contributing guide.

7 successful and 1 failing checks. Should I move forward or push this PR again for some more checks.

A PR was already created for this - #42237.

Okay


Toxicity transforms

Refactor toxicity evaluation to use transform pipelines.
Added batch_size property for transforms, in order to use map_batch
Minor modifications to helper models
Note: eval-specific unit and integration tests have not been modified!!!!
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Some context for anyone else who sees the huge git diff on this PR. I raised PR #224 which has a huge diff, and Luca started his work on Toxicity based off my branch.


fix(create-app): the node in the svelte template is incorrectly mounted.

Description

In the svelte template, it seems to need to be mounted on the app id node element. instead of the body node element.
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Hi everyone, I'm sorry to jump this PR that has been merged several years ago to start the discussion.
I would like to ask the reasons why do you use
 as a target to mount the Svelte components? Why don't keep to use instead? I change the target from
 to , the Svelte app still work.
The reason I change it because starting in Svelte version 3 (before choose Vite as scaffolding project), Svelte use  as the target to mount the svelte components. Currently I'm using Svelte + Vite and I feel weird if all the Svelte components must be glued or mounted to
 as a target instead of . It reminds me with React and Vue. In other hand, Svelte is free from this
 rule.
I'm bit worried if someone who tried Svelte with Vite will be think that:

"I must use
 to mount the Svelte components. Otherwise it doesn't work".


set custom global zone

Hello,
In my use case, I need to have a custom global zone. I want my own zone's hooks to be run, even when not using zone.run. Basically I need to replace the default Zone.current with my own zone, and use that as the "default" zone.
Is there any way to do this?
Thanks,
Matt

Will close this for now.


Implement UniqueTypeNames validation rule

Implement UniqueTypeNames validation rule (ref)
Unlike graphql-js, there is no validation context given when validating a document. A schema validation rule should be self-sufficient and based only on the given AST document.
See https://github.com/gql-dart/gql/tree/master/gql/lib/src/validation.

I opened #56. If you have any feedback, I'm happy to incorporate that into the PR.


Encounter an error

Hello, thank you for your contribution, I want to test your wonderful project, I followed your steps but encountered such errors, in addition, there are Yandex data sets I did not find online, as a beginner, I feel very confused, I hope you can answer me, I really hope to test your project, thank you
fatal: Not a git repository (or any parent directory up to the mount point /)
Stop at the file system boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM is not set).

I've solved "AttributeError: module 'importlib' has no attribute 'util'" in the last commit.
Yandex music event dataset should be downloaded manually from https://www.kaggle.com/competitions/yandex-music-event-2019-02-16 and put into data/yandex, as stated in datasets/yandex.py.

I've solved "AttributeError: module 'importlib' has no attribute 'util'" in the last commit.
Yandex music event dataset should be downloaded manually from https://www.kaggle.com/competitions/yandex-music-event-2019-02-16 and put into data/yandex, as stated in datasets/yandex.py.


Lag in Embbed Gifs

Hi, I found that this plugin works as expected when you open a GIF as an image, but when you put a GIF as an embeed source in your notes, the plugin works too bad to even understand the GIF playing it very slow.
https://github.com/user-attachments/assets/07a0d18a-3edc-49a9-ac6d-89a422d08556
I tried on every GIF on my notes to be sure about the issue.

Generally, the Gif opened with this plugin keeps the same playback progress as the original notes, as shown in the video below. Sorry, I couldn't replicate the issue you mentioned. But I'll keep trying to verify it. You might also consider moving the opened Gif aside and comparing their playback like following video.
https://github.com/user-attachments/assets/115e4e28-891b-4662-8b36-8c4fab3e2afb

Hi sissilab, ty for replying. I tried to replicate your example, and it works fine for Pin Mode. The lag comes when use Normal mode so you can replicate it.


adding boto3 minio doc loader

some people prefer to use boto3 for minio  so i figured this was a decent addition,

Okay cool will do

ok @jerryjliu, I added the stuff into library.json and each into their own respective subdir inside minio, i also updated the library.json minio entry's id to reflect the change into subdir (id: minio/minio, boto one is id: minio/boto) now , lmk what you think

Still working on this got to make a small change or two to the variables

@webcoderz There are a few errors when running the tests, could you check it, please?

Ya will do, ping when done!

@jerryjliu any final thoughts on it?

@EmanuelCampos thanks I got bogged down at work 😅

I can do some more loaders if you like , I have some ideas for things that are needed!

@wenhao-mui Definitely welcome!


is it possible to get a ref to the created component?

Hi, if I specify component="div" is it possible to get a ref to that div?
The current ref returned is the React Class Component, not the div...not sure why?
Thanks!

nevermind, just realised I can use findDOMNode to get the ref.

@mattcolman could you explain better how you managed this problem ?
Cf #132
Thanks a lot

yeah so the ref from Tappable returns the Tappable instance, say tappableRef. Then you can call ReactDOM.findDOMNode(tappableRef) to get the div. Does that make sense?

Thanks a lot @mattcolman !
Doesn't work for me, it doesn't return the DOM element but the React Class of  as ref, here's my code :
class TestTappable extends React.Component {
    divTapped = () => {
        // Returns error "getBoundingClientRect() not defined" BECAUSE this.TappableElement is not the <div> element generated by <Tappable> but the javascript React Class
        const divPosition = this.TappableElement.getBoundingClientRect();
    }

    render() {
        return (
            <Tappable
                type="div"
                ref={element => thisTappableElement = element}
                onTap={this.divTapped}
            >
                TEST
            </Tappable>
        )
    }
}

Ok solved, that works with it :
class TestTappable extends React.Component {
    divTapped = () => {
        const tappableDOMElement = ReactDOM.findDOMNode(tappableRef)
        const divPosition = tappableDOMElement.getBoundingClientRect();
    }

    render() {
        return (
            <Tappable
                type="div"
                ref={element => thisTappableElement = element}
                onTap={this.divTapped}
            >
                TEST
            </Tappable>
        )
    }
}


Container Service Persistence

As a funcX administrator I want the container service to persist container build requests so I can understand the types of containers being used by deployed functions
Assumptions

Will use SQLAlchemy to persist to a relational database
New REST endpoint to retrieve container build results as well as the full docker image reference (my.registry.address:port/repositoryname)
Save specification as well as build metrics (time)
Save a hash of the build specification

Acceptance Criteria

When I submit a container build request I get back a UID for the request
When I request the results for the UID I get back information about the build
When I request a log for the UID I get back the detailed build log
When I submit the same specification a second time, the build is skipped and I'm given a reference to the existing image

From the old project plan - closing as obsolete