utf8 Encoding/Decoding error

I am getting this error in my terminal(after successfully logging in and having a config file):
Exception, Driver exited 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Main Exception local variable 'driver' referenced before assignment
Press Enter to continue
Do you know why I am getting this?
I cloned the latest updated repo

show to full terminal output
show me the process of creating config

                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 1
    Leave Blank and Press Enter if you don't want to overwrite Previous Values

Enter the URL text file path: /Users/t/Downloads/educative.io_scraper-master/urls.txt
Enter Save Path: /Users/t/Downloads/educative.io_scraper-master/n
Headless T/F? T
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 3
Driver Loaded
Press Enter to return to Main Menu after Login is successfull
Login Success!
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 4
            Scraper Started, Log file can be found in Save directory

Exception, Driver exited 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Main Exception local variable 'driver' referenced before assignment
Press Enter to continue

@anilabhadatta
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 1
    Leave Blank and Press Enter if you don't want to overwrite Previous Values

Enter the URL text file path: /Users/taranjeetsinghdhingra/Downloads/educative.io_scraper-master/urls.txt
Enter Save Path: /Users/taranjeetsinghdhingra/Downloads/educative.io_scraper-master/n
Headless T/F? T
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 3
Driver Loaded
Press Enter to return to Main Menu after Login is successfull
Login Success!
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 4
            Scraper Started, Log file can be found in Save directory

Exception, Driver exited 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Main Exception local variable 'driver' referenced before assignment
Press Enter to continue

@anilabhadatta
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 1
    Leave Blank and Press Enter if you don't want to overwrite Previous Values

Enter the URL text file path: /Users/t/Downloads/educative.io_scraper-master/urls.txt
Enter Save Path: /Users/t/Downloads/educative.io_scraper-master/n
Headless T/F? T
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 3
Driver Loaded
Press Enter to return to Main Menu after Login is successfull
Login Success!
                    Educative Scraper (version 8.5), developed by Anilabha Datta
                    Project Link: https://github.com/anilabhadatta/educative.io_scraper
                    Please go through the ReadMe for more information about this project.

                    Press 1 and Enter to generate config
                    Press 2 and Enter to select a config [Currently selected config 0]
                    Press 3 and Enter to login Educative
                    Press 4 and Enter to start scraping
                    Press Enter to exit

Enter your choice: 4
            Scraper Started, Log file can be found in Save directory

Exception, Driver exited 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Main Exception local variable 'driver' referenced before assignment
Press Enter to continue

@taranjeetsingh257 what are you pasting in your url.txt file?

https://www.educative.io/courses/operating-systems-virtualization-concurrency-persistence/xl7XB03xZ4J
This is the content of my url.txt file
Yes, I am able to open the browser and login

@anilabhadatta
https://www.educative.io/courses/operating-systems-virtualization-concurrency-persistence/xl7XB03xZ4J
This is the content of my url.txt file
Yes, I am able to open the browser and login

Any update? @anilabhadatta

@taranjeetsingh257 Show me screenshot after running the scraper . Full terminal output is required

@taranjeetsingh257 This is my output, No problems in my end.
            Scraper Started, Log file can be found in Save directory

Driver Loaded
                        [Selected config: 0] Starting Scraping: 0, https://www.educative.io/courses/operating-systems-virtualization-concurrency-persistence/xl7XB03xZ4J

Load Webpage Function
Checking Login Function
Checking for captcha Function...
Create Course Folder Function
Getting File Name

This is a module page
Get File name module
Inside Course Folder operating systems virtualization concurrency persistence
Checking Login Function
Checking for captcha Function...
Scrolling Page
Getting File Name
This is a module page
Get File name module
Checking page
Removing Unnecessary Tags from page
Node deleted div[class*='ed-grid'] > nav
Node deleted div[aria-label*='Your Privacy']
Node deleted div[id*='view-collection-article-content-root']> :not(#handleArticleScroll) > *
Node deleted div[aria-labelledby*='simple-modal-title']
Adding Style Tag with Filter
Inside find_mark_down_quiz_containers function
No mark down quiz_container found
Inside take_quiz_screenshot function
Quiz not found
Remove Mark completed
Show Solution Function
No Solution found
Finding Slides Function
Slides Found
Show Hints Function
No hints found
Adding Name Tag in Next Back Button
Fixing SVG Tags inside Object Tags
Get HTML Page Content Using Single File Function
make_code_selectable function
make_code_selectable function executed
Creating HTML File
HTML File Created
HTML Page content taken.
Inside Widget Container Function
No widget container found
Code Container Download Type Function
No Code Container Downloadable Type found
Code Container Clipboard Type Function
No code containers found
Next Page Function
Going Next Page
--------------- 0 Complete-------------------

@taranjeetsingh257 I think you are not starting the chromedriver probably. open a separate terminal and run python chromedriver.py
I have mentioned them in Readme. Follow the steps once

@taranjeetsingh257 v3 released, reclone to a new folder and refer readme for setup instructions


difference-of-squares: remove "final" from test class

see #571

Reviewer Resources:
Track Policies

👍 awesome, thanks!


help

hi, ive been trying to setup this bot but i keep getting errors when trying to run.
i do have mods on my dedi-server could this be an issue?, the bot has permissions on discord and was tested with a different bot code to confirm permissions allow bot to send messages so i dont think thats the issue.
i am new to coding, as far as i can tell the config module is installed, visual studio and pycharm both give the same error.

Since you closed I assume you got it working?

haha yes i did, i had put the full discord channel link not the channel code. so now the bot is working but i cannot get a connection to my farm server, im using local ipv4 address, is this correct? not exaclty sure how to get the url otherwise.
also, tried to add you on discord but couldnt find user with that name.

My Discord is: iceeagle132


Build the custom theme

[x] #23
[x] #27
[x] #30
[x] Sphinx exposes docutils admonitions. As of now, the usage of note and important may be assumed. Additionally I want to provide a tldr admonition for short summaries.

[x] Provide the required styling (in theme/mischback/_src/style/components/admonitions.scss)
[x] https://docutils.sourceforge.io/docs/ref/rst/directives.html#admonitions

[x] Breadcrumbs

[x] should look like /home/[CATEGORY]
[x] Implemented as theme option (ea6aa0d54b1fc59fd0ec07bb5cc6beae6bddfbe9), not included in styling (as of now)
[x] certainly not useful at the top of the content, as this is directly below the actual navigation
[x] might be useful at the bottom of the content!
[x] included (basic) styling (ab75812c5253cced6d351c02f8f9ceb005283f21)
[ ] the styling needs more attention:

[ ] clearer distinction between the (clickable) links and the (automatically inserted) path separators
[ ] keep it unobstrusive (is this even a word?)
[ ] add some nerdyness, e.g. using a ::before element to insert $ pwd

[ ] #36
[x] #49
[ ] #31
[x] #41
[ ] #28
[ ] #42
[ ] Permalinks in/to headlines

[x] Do we really want this?
[x] Change symbol to #
[ ] low contrast to background, but visible (A rating? --> #28)
[x] This should be directly controllable from Sphinx's configuration...

[ ] Inline Code Highlighting: Is this required somewhere?!
[ ] create the build pipeline for JavaScripts
[ ] cache-busting of static assets

Icons

https://www.untitledui.com/blog/free-icon-sets
https://css.gg/app

https://github.com/astrit/css.gg

Closed with 6012879c97aec45a686a819410ab3ad4768b646e / #56

Completed with fd84d999004d2ed02669c3beb0007e6c3b412882


Source code was not found using electron-webpack

[x] Review the documentation: https://docs.sentry.io/platforms/javascript/electron/
[x] Search for existing issues: https://github.com/getsentry/sentry-electron/issues
[x] Use the latest release: https://github.com/getsentry/sentry-electron/releases
[x] Provide a link to the affected event from your Sentry account

Versions + Platform

[x] SDK version -<EMAIL_ADDRESS>[x] Electron version -<EMAIL_ADDRESS>[x] Platform - Windows

Description
I'm building my electron project using electron-webpack.
When trying to integrate sentry source-maps into the project, I'm not seeing the source code in the issues.

My artifacts are being uploaded and appear in the releases artifacts.
I have tried to use different url paths for the artifacts, none of them worked, I still cannot see the actual source-code inside the issue frames.

my event json:
  ```
{
	"event_id": "b2955d05c6fc43eb8afdb118953ffba4",
	"project": 5874033,
	"release": "0.0.6",
	"dist": null,
	"platform": "javascript",
	"message": "",
	"datetime": "2021-07-21T14:26:57.853000Z",
	"tags": [
		[
			"browser.name",
			"Chrome"
		],
		[
			"chrome",
			"Chrome 80.0.3987.158"
		],
		[
			"chrome.name",
			"Chrome"
		],
		[
			"device.family",
			"Desktop"
		],
		[
			"environment",
			"production"
		],
		[
			"event_type",
			"javascript"
		],
		[
			"handled",
			"yes"
		],
		[
			"level",
			"error"
		],
		[
			"mechanism",
			"instrument"
		],
		[
			"node",
			"Node 12.13.0"
		],
		[
			"node.name",
			"Node"
		],
		[
			"os",
			"Windows 10.0.19042"
		],
		[
			"os.name",
			"Windows"
		],
		[
			"runtime",
			"Electron 8.2.0"
		],
		[
			"runtime.name",
			"Electron"
		],
		[
			"release",
			"0.0.6"
		],
		[
			"url",
			"app:///index.html"
		]
	],
	"_meta": {
		"user": {
			"ip_address": {
				"": {
					"rem": [
						[
							"@anything:remove",
							"x"
						]
					]
				}
			}
		}
	},
	"_metrics": {
		"bytes.ingested.event": 5765,
		"bytes.stored.event": 16853,
		"flag.processing.error": true
	},
	"breadcrumbs": {
		"values": [
			{
				"timestamp":<PHONE_NUMBER>.367,
				"type": "ui",
				"category": "electron",
				"level": "info",
				"message": "app.will-finish-launching"
			},
			{
				"timestamp":<PHONE_NUMBER>.368,
				"type": "ui",
				"category": "electron",
				"level": "info",
				"message": "app.ready"
			},
			{
				"timestamp":<PHONE_NUMBER>.388,
				"type": "ui",
				"category": "electron",
				"level": "info",
				"message": "app.session-created"
			},
			{
				"timestamp":<PHONE_NUMBER>.392,
				"type": "default",
				"category": "console",
				"level": "warning",
				"message": "(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently \"false\".  It will change to be \"true\" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397"
			},
			{
				"timestamp":<PHONE_NUMBER>.392,
				"type": "ui",
				"category": "electron",
				"level": "info",
				"message": "app.web-contents-created"
			},
			{
				"timestamp":<PHONE_NUMBER>.398,
				"type": "ui",
				"category": "electron",
				"level": "info",
				"message": "app.browser-window-created"
			},
			{
				"timestamp":<PHONE_NUMBER>.444,
				"type": "ui",
				"category": "electron",
				"level": "info",
				"message": "app.browser-window-focus"
			},
			{
				"timestamp":<PHONE_NUMBER>.607,
				"type": "ui",
				"category": "electron",
				"level": "info",
				"message": "app.gpu-info-update"
			}
		]
	},
	"contexts": {
		"app": {
			"app_name": "electron-webpack-quick-start",
			"app_version": "0.0.6",
			"type": "app"
		},
		"browser": {
			"name": "Chrome",
			"type": "browser"
		},
		"chrome": {
			"name": "Chrome",
			"version": "80.0.3987.158",
			"type": "runtime"
		},
		"device": {
			"family": "Desktop",
			"arch": "x64",
			"type": "device"
		},
		"electron": {
			"crashed_process": "renderer[1]",
			"crashed_url": "app:///index.html",
			"type": "electron"
		},
		"node": {
			"name": "Node",
			"version": "12.13.0",
			"type": "runtime"
		},
		"os": {
			"name": "Windows",
			"version": "10.0.19042",
			"type": "os"
		},
		"runtime": {
			"name": "Electron",
			"version": "8.2.0",
			"type": "runtime"
		}
	},
	"culprit": "?(src/renderer/App)",
	"environment": "production",
	"errors": [
		{
			"type": "js_no_source",
			"url": "app:///renderer.js"
		},
		{
			"type": "js_no_source",
			"url": "app:///webpack/bootstrap"
		},
		{
			"type": "js_no_source",
			"url": "app:///src/renderer/index.tsx"
		},
		{
			"type": "js_no_source",
			"url": "app:///src/renderer/App.tsx"
		}
	],
	"exception": {
		"values": [
			{
				"type": "ReferenceError",
				"value": "myUndefinedFunc is not defined",
				"stacktrace": {
					"frames": [
						{
							"module": "renderer",
							"filename": "app:///renderer.js",
							"abs_path": "app:///renderer.js",
							"lineno": 1,
							"colno": 1266,
							"in_app": true
						},
						{
							"module": "webpack/bootstrap",
							"filename": "app:///webpack/bootstrap",
							"abs_path": "app:///webpack/bootstrap",
							"lineno": 83,
							"colno": 10,
							"in_app": true
						},
						{
							"function": "__webpack_require__",
							"module": "webpack/bootstrap",
							"filename": "app:///webpack/bootstrap",
							"abs_path": "app:///webpack/bootstrap",
							"lineno": 19,
							"colno": 22,
							"in_app": true
						},
						{
							"function": "Object.call",
							"module": "renderer",
							"filename": "app:///renderer.js",
							"abs_path": "app:///renderer.js",
							"lineno": 1,
							"colno": 1440,
							"in_app": true
						},
						{
							"function": "__webpack_require__",
							"module": "webpack/bootstrap",
							"filename": "app:///webpack/bootstrap",
							"abs_path": "app:///webpack/bootstrap",
							"lineno": 19,
							"colno": 22,
							"in_app": true
						},
						{
							"function": "Module.call",
							"module": "src/renderer/index",
							"filename": "app:///src/renderer/index.tsx",
							"abs_path": "app:///src/renderer/index.tsx",
							"lineno": 11,
							"colno": 10,
							"in_app": true
						},
						{
							"function": "Object.render",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 26103,
							"colno": 10,
							"in_app": true
						},
						{
							"function": "legacyRenderSubtreeIntoContainer",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 26020,
							"colno": 5,
							"in_app": true
						},
						{
							"function": "unbatchedUpdates",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 22431,
							"colno": 12,
							"in_app": true
						},
						{
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 26021,
							"colno": 7,
							"in_app": true
						},
						{
							"function": "updateContainer",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 25482,
							"colno": 3,
							"in_app": true
						},
						{
							"function": "scheduleUpdateOnFiber",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 21881,
							"colno": 7,
							"in_app": true
						},
						{
							"function": "performSyncWorkOnRoot",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 22293,
							"colno": 18,
							"in_app": true
						},
						{
							"function": "renderRootSync",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 22670,
							"colno": 7,
							"in_app": true
						},
						{
							"function": "workLoopSync",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 22707,
							"colno": 5,
							"in_app": true
						},
						{
							"function": "performUnitOfWork",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 22779,
							"colno": 12,
							"in_app": true
						},
						{
							"function": "beginWork$1",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 23964,
							"colno": 7,
							"in_app": true
						},
						{
							"function": "invokeGuardedCallback",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 4056,
							"colno": 31,
							"in_app": true
						},
						{
							"function": "Object.invokeGuardedCallbackDev",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 3994,
							"colno": 16,
							"in_app": true
						},
						{
							"function": "HTMLUnknownElement.sentryWrapped",
							"module": "@sentry/browser/src/helpers",
							"filename"<EMAIL_ADDRESS>							"abs_path"<EMAIL_ADDRESS>							"lineno": 87,
							"colno": 17,
							"in_app": true
						},
						{
							"function": "HTMLUnknownElement.callCallback",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 3945,
							"colno": 14,
							"in_app": true
						},
						{
							"function": "beginWork",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 19049,
							"colno": 16,
							"in_app": true
						},
						{
							"function": "mountIndeterminateComponent",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 17811,
							"colno": 13,
							"in_app": true
						},
						{
							"function": "renderWithHooks",
							"module": "react-dom/cjs/react-dom.development",
							"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"abs_path": "app:///node_modules/react-dom/cjs/react-dom.development.js",
							"lineno": 14985,
							"colno": 18,
							"in_app": true
						},
						{
							"module": "src/renderer/App",
							"filename": "app:///src/renderer/App.tsx",
							"abs_path": "app:///src/renderer/App.tsx",
							"lineno": 6,
							"colno": 10,
							"in_app": true
						}
					]
				},
				"mechanism": {
					"type": "instrument",
					"handled": true,
					"data": {
						"function": "addEventListener",
						"handler": "callCallback",
						"target": "EventTarget"
					}
				}
			}
		]
	},
	"extra": {
		"arguments": [
			{
				"currentTarget": "react",
				"isTrusted": "[object Event]",
				"target": "react",
				"type": "react-invokeguardedcallback"
			}
		],
		"crashed_process": "browser"
	},
	"fingerprint": [
		"{{ default }}"
	],
	"grouping_config": {
		"enhancements": "eJybzDRxY3J-bm5-npWRgaGlroGxrpHxBABcYgcZ",
		"id": "newstyle:2019-10-29"
	},
	"hashes": [
		"08c53b67a60bd25d2d4bf8ab3bb276f4"
	],
	"key_id": "1719758",
	"level": "error",
	"location": "app:///node_modules/react-dom/cjs/react-dom.development.js",
	"logger": "",
	"metadata": {
		"filename": "app:///node_modules/react-dom/cjs/react-dom.development.js",
		"function": "renderWithHooks",
		"type": "ReferenceError",
		"value": "myUndefinedFunc is not defined"
	},
	"received":<PHONE_NUMBER>.857453,
	"request": {
		"url": "app:///index.html"
	},
	"sdk": {
		"name": "sentry.javascript.electron",
		"version": "2.5.1",
		"packages": [
			{
				"name": "npm:@sentry/electron",
				"version": "2.5.1"
			}
		]
	},
	"timestamp":<PHONE_NUMBER>.853,
	"title": "ReferenceError: myUndefinedFunc is not defined",
	"type": "error",
	"user": {
		"ip_address": null,
		"geo": {
			"country_code": "IL",
			"city": "Herzliya",
			"region": "Israel"
		}
	},
	"version": "7"
}
```

my artifacts appears like so:

I have tried to change the paths into many other forms using the urlPrefix property inside the plugin options, none of them worked.
I have also tried to use the RewriteFrames integration in order to change the abs_path, but I still couldn't find the match.
I reproduced the issue based upon electron-webpack-quick-start
Just added react, typescript, sentry integration, and sentry webpack plugin.
(replace MY_DSN, ORGANIZATION and AUTH_TOKEN with your project's info, and the problem should reproduce.)
Thanks in advance!

I'm not really sure how electron-webpack works and I don't know how you're configuring the Sentry webpack plugin to work with it since you haven't show this.
It looks like electron-webpack is actually running webpack twice with two different configurations, once for the main process and once for the renderer. The paths don't appear to match up at all so electron-webpack might just not be compatible with the Sentry webpack plugin.

I have provided the reproduction repository link.
You can view it here:
https://github.com/raz-sinay/electron-webpack-sourcemaps
You can see my plugin configuration and play with it if you like.
Please try to assist us, lack of source maps damages our ability to
understand the source of our issues, which is the main reason we're using
Sentry.
בתאריך יום ב׳, 26 ביולי 2021, 16:50, מאת Tim Fish @.***

:

I'm not really sure how electron-webpack works and I don't know how
you're configuring the Sentry webpack plugin to work with it since you
haven't show this.
It looks like electron-webpack is actually running webpack twice with two
different configurations, once for the main process and once for the
renderer. The paths don't appear to match up at all so electron-webpack
might just not be compatible with the Sentry webpack plugin.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/sentry-electron/issues/354#issuecomment-886720499,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTE2M6QOLZHYWHVSI6PKJ3TZVRYZANCNFSM5AYHEIJA
.


[Tracing Framework] Extend the functionality of Scope returned from startSpan.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Addressed in #8411


Swarm create container very slow when using overlay network

When I use swarm in overlay network, I found it create container more slowly with increasing number of containers, I found the reason is that swarm refresh network when a container is created, it will cost much time for waiting response.

@xianlubird can you provide more details about your setup and how you start the swarm?

I use swarm in overlay network, using etcd as kv store. For getting network info , engine will visit etcd through network. So it will become more and more slowly to refresh network. And swarm shouldn't refresh network when container created, at this time, container hasn't network endpointID and ip, it's useless.
I have raised a issued and PR for docker engine, engine network list issue , there's more detail info about docker info and docker version
Thank you.  @nishanttotla

Already merged in docker. Done


Update main.cpp

main.cpp:270:7: warning: unused variable 'plaintext_size' [-Wunused-variable]

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


New term requests - children of "substance quantification evidence"

I can't find terms for assays involving quantification of tagged molecules.  Can you add these, or advise on alternatives?
"radioisotope quantification assay evidence (new term)"
is_a "substance quantification evidence (ECO:0000335)"
is_a "radioisotope assay evidence (ECO:0001120)"
"fluorescence quantification assay evidence (new term)"
is_a "substance quantification evidence (ECO:0000335)"
is_a "fluorescence evidence (ECO:0001115)"
Thanks!

Thank you for the request! I can’t think of any alternatives for these terms that would already be in ECO, so we can definitely add them.
Do you have any PMIDs or other references for definitions on these?

Hi @dosumis - following up on these terms.
I tried to find a source for 'radioisotope quantification assay', but only found some articles published in 1975 on hydrocarbon oxidizing bacteria. Could you provide some context for this term? What exactly is being assayed here? We are trying to focus on what the evidence is about in all new terms.
Same for 'fluorescence quantification assay evidence'. What is the fluorescence being used to measure in your case?
Thank you!

I tried to find a source for 'radioisotope quantification assay', but only found some articles published in 1975 on hydrocarbon oxidizing bacteria. Could you provide some context for this term? What exactly is being assayed here?

Most Biochemistry and cell biology in the 2nd half of the 20thC involved labelling chemical with some radio-isotope and using this to trace/quantify the chemical after some biochemical process or extraction from some biological sample.   Much of cell/organismal biology has moved on to using fluorescent tags for the same thing.  Think this is so common that not referenced.
The specific motivating case for the radio-isotope quantification used to measure transport across a membrane.  A specific term for this would be useful, but thought it worth asking for the general one first.

Thank you for the insight!
I think it would be good to go with the more-specific term that you need. If there ends up being multiple terms like that, we can always create a general parent class to organize them.

@dosumis I apologize that it's taken this long to follow up, but I wanted to reach out and see if you were still interested in these terms. Did you get a chance to determine the specific terms that would be useful? We're happy to add in both the more-specific and general terms.

Hi again. We went ahead and added these two new terms for you - they will be available in the release this Friday:

ECO:0007847 'fluorescence quantification assay evidence'
ECO:0007844 'radioisotope quantification assay evidence'

They both have automatic and manual assertion children.


's2geometry-node' only works on Mac OS

The 's2geometry-node' only works on Mac OS.
I couldn't install it on Windows nor on Ubuntu.
Is there any good alternative to this? I've seen this to generate the id's: https://github.com/jonatkins/s2-geometry-javascript/blob/master/src/s2geometry.js
But it doesn't seem to work. I've converted the s2geometry.js to a node module, if you want it?
Hope we could fix this, highly need Ubuntu support for this.

A PR was just approved in version 1.3.0 of s2geometry-node which is supposed to address these issues. Have not confirmed myself yet.

If someone needs a hotfix for this, change the package.json-file-entry: "s2geometry-node": "github:cypherix93/s2geometry-node#windows-fixes"

Fixed in https://github.com/Armax/Pokemon-GO-node-api/pull/165 by using pure JavaScript - no C++ or compiler necessary.


sync (#392)

Updates (#351)

Changing ms author (#355)

Adding video (#356)

Update DeviceSetup.md (#357)

nit (#358)

Removing FEZ (#359)

Release notes (#360)

Release note addition (#361)

Fixing TOC (#363)

Typos (#364)

Fixing broken links and updating older links (#362)

Fixing links to iot-adk-addonkit

Updating links for Custom.Cmd and Provisioning.Auto - broken links

Changes (#365)

Changes (#366)

Update 17661.md (#367)

Update 17661.md (#368)

Update GoToMarket.md (#369)

"a" or "the" but not both ([OEM license requirements] page use "the")

Release notes (#378)

rename suggested boards to SocAndCustomBoards and add contacts (#379)

change to soc and custom boards

fix links

rename SuggestedBoards.md to SoCsAndCustomBoards.md

fix link

Update SoCsAndCustomBoards.md

fix another link

link...

Update SoCsAndCustomBoards.md

Edits per request for grammar, usage, voice.

updates

update contacts

fix missing merge

fix link and trademark sign

New resources (#380)

Fix typo in GetStarted.md (#381)

Remove extra period found in "What is Windows 10 IoT?" section

Update LightningProviders.md (#388)

Update LightningProviders.md

Update LightningProviders.md

Update RPi3BP.md

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/GetStarted.md
:white_check_mark:Succeeded

windows-iotcore/TOC.md
:white_check_mark:Succeeded

windows-iotcore/build-your-image/AddRecovery.md
:white_check_mark:Succeeded

windows-iotcore/build-your-image/CreateInstallPackage.md
:white_check_mark:Succeeded

windows-iotcore/build-your-image/OSCustomizations.md
:white_check_mark:Succeeded

windows-iotcore/commercialize-your-device/GoToMarket.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/AppInstaller.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/IoTCoreShell.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/LightningProviders.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/SetupDefaultApp.md
:white_check_mark:Succeeded

windows-iotcore/extend-your-app/CortanaOnIoTCore.md
:white_check_mark:Succeeded

windows-iotcore/index.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/HardwareCompatList.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/PeripheralDrivers.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/SoCsAndCustomBoards.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/SuggestedBoards.md
:white_check_mark:Succeeded

windows-iotcore/media/AppInstaller/install-app.gif
:white_check_mark:Succeeded

windows-iotcore/media/SecurityFlowAndCertificates/securityflow.jpg
:white_check_mark:Succeeded

windows-iotcore/release-notes/CurrentCommercial.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/CurrentInsider.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/16257.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/16267.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/17661.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/17672.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/RPi3BP.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/commercial/April2018Update.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/commercial/AprilCreatorsUpdate.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/commercial/CreatorsUpdate.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/commercial/FallCreatorsUpdate.md
:white_check_mark:Succeeded

windows-iotcore/secure-your-device/SecureBootAndBitLocker.md
:white_check_mark:Succeeded

windows-iotcore/secure-your-device/SecurityFlowAndCertificates.md
:white_check_mark:Succeeded

windows-iotcore/tutorials/quickstarter/DeviceSetup.md
:white_check_mark:Succeeded

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


Review scripts and doc

Backporting some improvements from #12 to be added as a separate step, since they are not related to Django.
Multiple commits can be squashed later, pushed as separate commits to ease my maintenance and reasoning. FYI no further commit undo or alter things done in earlier commits.
Looking for feedback @mfojtik @soltysh

@rhcarvalho much better! thanks!
two inline comments, but otherwise LGTM @soltysh your turn

(LGTM after squash ;-)

@soltysh re: RHEL vs. CentOS mentioned first.
One way or another is fine for me, but the current README is not consistent.

@mfojtik @soltysh I've removed the changes to README, except for:

improving the docs for env vars.
documenting the two special files that can exist in a Python repo: requirements.txt and setup.py.
documenting how the run script decides to run with Gunicorn or via Python script.

We must have the above for me to introduce one more run strategy: Django.
Any further improvements to the README can be done as a separate PR to all sti-* image repos.

@mfojtik @soltysh I'm done with my changes here. If everything is fine I'll squash and then we can move on to #12, Django support becomes a much simpler patch after this.

LGTM ( @soltysh your turn ;-)

LGTM, squash it and I'll merged once the tests pass.


Add a list of Moocs and University courses

MOOCs and University Lectures can be a great way to get started with some area. We should have a list of them.

Probably in a separate file and linked to the main README

A few which I can find:

Finding Hidden Messages in DNA (Bioinformatics I)
Network Analysis in Systems Biology
Introduction to Systems Biology
Epigenetic Control of Gene Expression
Experimental Genome Science


fix: CI error of codeql anaylzer

Add a new sdk version in ci to fix #48

@sagilio

@AsakusaRinne fix warnings:

@AsakusaRinne have the warnings been fixed?

@AsakusaRinne have the warnings been fixed?

Yes, the warning mentioned above has been solved by forced push.


add run-time options to owlcms-firmata

Use the [JavaOptions] or [ArgOptions] section of the jpackage file using the options at build time.
Document how to change after installation
https://stackoverflow.com/questions/74118175/jpackage-how-do-you-pass-in-the-insatllation-directory-itself-as-an-argument-to

Not needed, was already present.


Fix multiple message edit upload bug.

As reported at #issues > bug in edit message:
Previously, opening multiple message_edits and then drag-dropping a
file into any one of them would cause all of them to upload ie you'd
get one uploaded file in each message_edit.
This bug was caused by returning multiple elements from
upload.get_item("drag_drop_container", config) when config.mode =
"edit".
This commit changes the selector to use the row provided (config.row),
and so ensures that the above bug doesn't happen.

bug (before)

Testing plan:

Edited relevant test line in ./frontend_tests/node_tests/upload.js
GIFs or screenshots:

after

Merged, thanks @YashRE42!


Added Support for debian

Awesome, can you add Debian build in dist instead of gdrive please?

I tried but github only allow 100mb size of a file :(
and debian build 160mb

I see. Chalo khair hogai!


Add library (common) chart

Add some of the common logic between Atlassian charts into a Helm Library Chart or common chart.
Definitions added to library chart:

fullname
name
chart
selectorLabels
labels --> commonLabels

Signed-off-by: Martin Hickey<EMAIL_ADDRESS>Partial #302

Thank you @nanux @nghazali for the reviews. Thanks also @nanux for helping finish out any missing bits and for merging.


Dynamic module path in launch.json config

I'm working in a Python project organized as a module hierarchy. To execute a file path/to/file.py, I run it as python -m path.to.file in order to resolve relative imports correctly.
To debug this file, my launch.json config currently looks like this:
{
      "name": "Python: Hardcoded Module",
      "type": "python",
      "request": "launch",
      "python": "${command:python.interpreterPath}",
      "cwd": "${workspaceFolder}",
      "module": "path.to.file",
      "args": []
    }

...plus another config for every new file I want to debug.
I would love to make a dynamic "Current file run as module from project root" launch config, and it seems to be very nearly possible, but not quite. The missing link is that I need a way to specify ${relativeFileDirname} using a period as the seperator instead of the normal path separator. If that could be achieved through either a new variable or some sort of modifier, it would improve the debugger a ton for projects structured this way!

Please file this on the python extension repo. We don't plan to provide variables in core that are just tied to specific language scenarios


dr-ausosync: report min resolved ts

Signed-off-by: lhy1024<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: ref https://github.com/tikv/pd/issues/4686

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)

Release note
None

ptal @NingLin-P

/test

/merge


[6.5.x] JBPM-5228 - Add more tests for 'fire and forget' feature

I have added more tests for 'fire and forget' feature. I tried to cover various methods from different *ServicesClient implementations.
Some tests are failing and I think those are potential bugs. Please, look at failed tests when the build is finished and tell me your opinion.

@mswiderski, I have found one problem when trying to rewrite KieServicesClientImpl methods to return null in case of NO_RESPONSE. There is a method which returns ServiceResponsesList. What should we do in this case?

@livthomas I'd say same thing here - should return nothing as there is nothing to return. So again, all returns from async handlers are empty so does not make sense to return any "fake" objects any way.

@sutaakar, thanks for your comments. I have applied some changes and added JMS transaction tests. Now there should be only one failing test method testTransactionCommitWithoutCapabilities() in JmsTransactionsIntegrationTest. We need to figure out how to retrieve server capabilities in case of JMS transactions are turned on because we cannot use RequestReplyResponseHandler. One possible solution would be to pass UserTransaction to KieServicesConfiguration and do it with AsyncResponseHandler in a transaction.
@mswiderski, when it comes to ServiceResponsesList return type of that method, I think it is not possible to return null because you do not know response types of those requests. Or should we look at the first one and act according to its value?

@livthomas ServiceResponseList is a return type of single call to the server thus it will be handled by single responseHandler and in case of async it should still return null. Does that make sense? Or there is another case...

Jenkins retest this. It seems there has been some change made in jBPM repo recently which causes build failure.

Since the problem with jBPM compilation has been fixed, Jenkins can retest this.

Jenkins retest this and do not go down this time :)

@mswiderski, look at the test failures now. Please, ignore those caused by not aborted processes and see the results of JmsResponseHandlerIntegrationTest and JmsTransactionsIntegrationTest.

testGlobalConfigurationOfAsyncResponseHandler fails because it is not possible to unmarshall Long value when using JSON and XStream. However, it works with JAXB.
testTransactionCommitWithoutSettingCapabilities fails because the client cannot retrieve a list of capabilities using RequestReplyResponseHandler when the transactions are turned on.This is expected since the transaction is never committed and we need to find the solution to this problem.

@livthomas second error is expected as request reply should never be used with transactional client as that simply leads to a deadlock.
I'll look later today/tomorrow at the other failure

@livthomas
testGlobalConfigurationOfAsyncResponseHandler fails because it is not possible to unmarshall Long value when using JSON and XStream. However, it works with JAXB.

I believe you need to use JaxbLong.class instead

@livthomas I added few comments, do you mind taking a look and let me know what you think?

I have fixed all the things we discussed. Hopefully, the tests will finally pass.

Jenkins retest this (jBPM compilation problems should be fixed now)

@livthomas #613 was just merged, could you please rebase this one so it gets tested?

Jenkins retest this

now we're talking :)
+1 to merge, thanks @livthomas great job!


docs: added migration/update to mirroring article

What type of PR is this?
documentation
Which issue does this PR fix:
none
What does this PR do / Why do we need it:
explains how to use zot mirroring for registry migration or for upgrade/downgrade
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Will fix spell-check issue:  "inplace update" will be "in place update"
Also, need comments on how OnDemand vs Pull mode affects migration/updating.


Getting empty Parser Errors after converting Godot 3 project

Godot version
v4.0.3.rc2.official [2ac4e3bb3]
System information
Windows 10
Issue description
I converted Godot 3 project to Godot 4 using v4.0.3.rc2. Conversion didn't fix everything as expected and I fixed a few minor problems. Then I got an empty Parser Error:

No additional information, no file, no line number, nothing.
Then I opened the same project with v4.0.2.stable.official [7a0977ce2], and now I got proper errors like:

I fixed a few problems and tried the v4.0.3.rc2 again, but it just gives that empty Parser Error.
Update: It seemed first that the v4.0.2.stable works fine, but after fixing some Godot 3 stuff, it too started to give empty Parser Errors, making it pretty much impossible to fix the project. I also tried v4.0.1.stable.official [cacf49999] and v4.0.stable.official [92bee43ad], but all of them give empty Parser Errors.
Update 2: I managed to see errors by starting Godot_v4.0.3-rc2_win64_console.exe. These are the errors:
SCRIPT ERROR: Parse Error: The method "get_global_position" overrides a method from native class "Node2D". This won't be called by the engine and may not work as expected. (Warning treated as error.)
          at: GDScript::reload (res://waves/enemy_pathfollow.gd:20)
SCRIPT ERROR: Parse Error: Invalid operand of type "Array" for unary operator "not".
          at: GDScript::reload (res://enemies/pathfollower.gd:40)
SCRIPT ERROR: Parse Error: Could not resolve member "get_global_position".
          at: GDScript::reload (res://enemies/pathfollower.gd:49)
ERROR: Script does not inherit from Node: res://utils.gd.
   at: (editor/editor_autoload_settings.cpp:423)
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:70)
SCRIPT ERROR: Parse Error: Closing ")" doesn't match the opening "(".
          at: GDScript::reload (res://utils.gd:193)

It would still be nice to see the errors in the GUI too.
Steps to reproduce
May be reproducible by converting a Godot 3 project.
I made a very small project with v4.0.3.rc2 which does this:
extends Node2D
func _ready() -> void:
	var s = String(1)

This produces a proper Parser Error: No constructor of "String" matches the signature "String(int)". so it seems that the empty Parser Error doesn't depend on any specific error.
Minimal reproduction project
N/A

Can you join that very small project? It would be nice for maintainers. :)

Can you join that very small project? It would be nice for maintainers. :)

That very small project is not useful, as I cannot reproduce the problem with that. The problem occurs only with my big project and I have no idea what should be left to still reproduce the problem.

I once noticed the bug, but since then I have not reproduced it.


Allow passing directories as the config sources

We should allow passing the entire directories as the config sources. In
this case CouchDB will traverse the given directories and load every
*.ini file found.
E.g.
"... -couch_ini /etc/couchdb/default.d/ /etc/couchdb/local.d/ /path/to/extra/couchdb/default.ini /path/to/extra/couchdb/local.ini ..."
Signed-off-by: Peter Lemenkov<EMAIL_ADDRESS>

Also, this should be ported to the couchdb-config app since this won't merge to master. Should be a trivial move though.

This PR was reworked, and applied upstream as apache/couchdb-config#9. Time to close this one.
Thanks everyone!


anomaly detection to pycomlink

Codecov Report

Merging #87 (08b1cca) into master (979d559) will increase coverage by 1.56%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   61.10%   62.67%   +1.56%
==========================================
  Files          24       25       +1
  Lines         833      868      +35
==========================================
+ Hits          509      544      +35
  Misses        324      324

Flag
Coverage Δ

unittests
62.67% <100.00%> (+1.56%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pycomlink/processing/__init__.py
100.00% <100.00%> (ø)

.../processing/anomaly_detection/cnn_ano_detection.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Thanks @LGlawion for your contribution 👍
But, can you edit your first post here to add a short description of the things you added in this PR. That would help to keep track of the additions and update the info on pycomlink's features e.g. in the README or whatsnew file later on.


Duplicated sentence in requirements

Basic knowledge of how to create a player will be necessary, as there will need to be players in a leaderboard before it can perform any actions on those players.
Basic knowledge of how to create a player will be necessary, as there will need to be players in a leaderboard before it can perform any actions on those players.
That's the duplication.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b7f05a46-27c7-8fec-18b9-f39b0c0c2ed2
Version Independent ID: 750bc0a1-acee-0e68-6daf-efd1c852bc02
Content: Using Prize Tables - PlayFab
Content Source: playfab-docs/features/social/tournaments-leaderboards/using-prize-tables.md
Product: playfab
GitHub Login: @v-thopra
Microsoft Alias: v-thopra

Resolved in past commit: https://github.com/MicrosoftDocs/playfab-docs/commit/26e55e5bb90f15fb2391f70f5e6f7fbee437700d.


nixos/tests/misc: account for cgroupv2

Motivation for this change
Since #104094 (d22b3ed4bcd24dcc96fd9f99c75bb568bffe2a8c), NixOS is
using the unified cgroup hierarchy by default (aka cgroupv2).
This means the blkio controller isn't there, so we should test for
something else (e.g. the presence of the io controller).
Fixes #105581.
cc @FRidh @flokli
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@ofborg test misc


feat: Add comment replies

Support replying to comments one level deep (only enforced in the UI).
Additionally this cleans up some smaller related design elements.


'NoneType' object is not callable

I receive the following error when trying to compile:
Could not satisfy all requirements for multiprocessing:
multiprocessing
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/usr/local/lib/python2.7/threading.py", line 754, in run
File "~/mongodb_consistent_backup/build/venv/lib/python2.7/site-packages/pex/crawler.py", line 144, in execute
File "/usr/local/lib/python2.7/Queue.py", line 172, in get
<type 'exceptions.TypeError'>: 'NoneType' object is not callable

Hi @nathanderson10,
Could you provide:

The steps you are using to build the tool.
The command you're using to run the tool.
The output of "mongodb-consistent-backup --version" and your version of Python.

Thanks!

Hello @nathanderson10, closing this due to no response.
We have a new 1.2.0 release that should be tested in case this is now fixed. If the issue still occurs please create a new issue with the details requested above.


teuthology/tasks/kernel: switch firmware branch name

It is now "main".
Signed-off-by: Patrick Donnelly<EMAIL_ADDRESS>

Testing here https://pulpito.ceph.com/pdonnell-2022-01-12_15:02:13-fs-pacific-distro-basic-smithi/

Seems to work as advertised.


Installation Issue

Hi,
I've installed and enabled the plugin with
composer require paroga/roundcube-nonce_login

I've also confirmed the plugin is enabled in config file:
$config['plugins'] = [
        'archive',
        'zipdownload',
        'roundcube_nonce_login',
];

But the plugin doesn't seem to work,
When I do a GET request to /?nonce_login
It just normally returns RoundCube login page.
I also dont see any new table created in the database.
Doesnt look like the plugin is working.
Am I missing something? 🤔

When I do a GET request to /?nonce_login

Did you pass a Authorization header?
You could try it with curl and the example header from the README.md. Executing curl -v -H "Authorization: Basic aW5mb0BleGFtcGxlLmNvbTpzZWNyZXQ=" https://roundcube.example.com/\?nonce_login should return 201 with a Location header, when used with the URL of your RoundCube instance.
Please be aware that this step does not check your credentials and will result in an login error later, when you open the URL returned in the header. So you need to pass valid credentials if you want to actually login :wink:.

Hey @paroga 👋
Thank you so much for responding :D
I've tried doing the curl you mentioned,
It doesnt work 😥
I've also tried from Postman.
Like this:

This is request headers (Postman automatically generating from the given Username/Password in Bsic Auth)

Looks like your installation didn't work correctly. Could you try to add something like die("This line was reached"); to line 2 to see if the file gets loaded? And if that works do that instead on for line 25, line 45 and line 48 to see which lines in the code are executed?
Did you check the log output of your webserver?
Have you succeeded with installing other RoundCube plugins before?

@paroga
Yes, you are correct.
The installation didn't work properly.
The plugin didn't get registered properly.
Even after adding
die("This line was reached"); to Line 2
That didn't show up on page load.
So I think, that proves the file is not even executed.
The extension's name is added in config tho:
$config['plugins'] = [
        'archive',
        'zipdownload',
        'roundcube_nonce_login',
];

I just tried intsalling a different extension: johndoh/contextmenu
That worked fine tho :/

**Btw, I installed Roundcube with Docker.
And then, inside the Docker container, I ran
composer require paroga/roundcube-nonce_login

And I have the files mounted, so even if Container is restarted, plugins stay installed and enabled.

Found this on the webserver logs:
errors: PHP Error: Failed to load plugin file /var/www/html/plugins/roundcube_nonce_login/roundcube_nonce_login.php in /var/www/html/program/lib/Roundcube/rcube_plugin_api.php on line 193

💡 Found the fix:
By the above logs, it looked like RoundCube was trying to load plugin from roundcube_nonce_login/roundcube_nonce_login.php but we had nonce_login.php instead of roundcube_nonce_login.php
So, I manually renamed the file to roundcube_nonce_login.php
After that, I got another issue.
Roundcube was looking for class named roundcube_nonce_login but we had nonce_login
So, I manually renamed the class.
And that seemed to work :)
Maybe you need to update the filename and the classname,
Looks like that's the conventation RoundCube is following.
or should I create a PR?


Swipe To Dismiss: Swipe to remove item when item is opened

Is it possible to achieve swipe to dismiss feature?
When layout is opened  second swipe will remove item from list (or give callback to handle)

@aradomski A couple of us have mentioned this before. I cannot find the issue where the discussion has started. We'll leave this ticket open for further people that ask.
Currently the best you could do is have an onOpenListener so when an item is open to remove it from the list. Or similarly have a delete button as your bottom view and click it to delete the item. However none of these have a fluid motion behind it (like you see in gmail/inbox).
If you want to start a pull request feel free. Otherwise maybe one of us will get around to it eventually.

+1

Update: Google announced plans for swipe to dismiss features for the new RecyclerView pattern (among other updates). I will most likely not help build the same feature for AndroidSwipeLayout however once the source code is released it shouldn't be that hard to implement into this repo.

@jpshelley Can't agree more, we should try to use standard implements.

It's already available, see https://developer.android.com/reference/android/support/v7/widget/helper/ItemTouchHelper.html
Found this after I did the +1 here :)

@akohout Nice find! I assumed they would have had a bump in the version for RecyclerView. very cool


Parser tests added

Closes: #23

PR-Codex overview
This PR adds a new Parser class to the codebase and its corresponding test class. The Parser class is responsible for parsing a given input and returning a parsed ObjectsBox.
Detailed summary

Added Parser class to the codebase.
Added ParserTest class to test the Parser class.
The Parser class has a constructor that takes an input string.
The Parser class has a parse() method that returns a parsed ObjectsBox.
The ParserTest class has test methods to test the Parser class.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@Graur please, have a look. And before it check please my comments below.
Tests would be redundant if they completely covered every case of different object structure, since the tests from ObjectsBoxTest already do that. For this reason, it seems to me that these tests are sufficient.
You may also notice that in the two tests I check a boolean variable for truth instead of comparing strings. This is due to the fact that this testing framefork makes incorrect comparisons if there is a line break in the strings. For this reason, I suggest leaving it as it is now, unless you have other ideas on how to solve this problem other than just comparing strings via equals.

@Graur please, have a look again.

@yegor256 please, have a look

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 2min)


Refactoring render quantum & co

There is a bunch of changes here:

renamed BUFFER_SIZE to RENDER_QUANTUM_SIZE
renamed alloc::AudioBuffer to alloc::AudioRenderQuantum
renamed alloc::ChannelData to alloc::AudioRenderQuantumChannel
moved all channel Config stuff (e.g. ChannelCountMode etc.) from buffer.rs to node/mod.rs
moved graph, alloc and process into renderer mod

We didn't discuss for the changes about ChannelConfig but it felt weird to have that into buffer.rs, hope it's ok for you.

Very good. Moving ChannelConfig is also fine for now.
I just realized I like render better than renderer actually. Do you agree?

Hey, cool!
I just put renderer instead of render because it sounds more as a noun than as a verb to me but, I'm not native english speaker so I might mistaking and, I don't have any strong opinion on that point neither, so I would say "as you prefer" :)
Let me know, I can change that in few minutes and add a commit

Yes, thanks. render is a bit more succinct

I have merged but please have a look at the commit I added in main.
It's always good to have a look at cargo doc --lib --open

ok thanks, I will try to be more clean with that (...and to have a closer look at rust documentation syntax)


[Bug]: /oauth/v2/keys returns {"keys": []} causing id token verification failures

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Environment
Self-hosted
Version
2.49.1
Database
PostgreSQL
Database Version
16
Describe the problem caused by this bug
When I configure a long expiration time for public and private signing keys by setting PrivateKeyLifetime: 999999h and PublicKeyLifetime: 999999h in the zitadel config file, the keys endpoint returns no keys which breaks verification for all clients.
My goal is to configure the proposed solution described in Improve OIDC key management
curl https://login.example.com/oauth/v2/keys

No signing keys are returned.  This breaks login on all services integrated with ZITADEL.
{"keys": []}

NOTE: Login via the ZITADEL web UI works at least, so I can access https://login.example.com/ui/console/users/me
To reproduce
Configure zitadel using the following ConfigMap (Note the KeyConfig) per this discord discussion: Jwks doesn't have key to match kid or alg from Jwt

ffo
I think you need to change these values https://github.com/zitadel/zitadel/blob/main/cmd/defaults.yaml#L508 and then restart zitadel to pick them up

apiVersion: v1
kind: ConfigMap
metadata:
  name: zitadel-config-yaml
data:
  zitadel-config-yaml: |2-
    Database:
      postgres:
        Admin:
          SSL:
            Mode: verify-full
        MaxConnIdleTime: 5m
        MaxConnLifetime: 1h
        MaxIdleConns: 10
        MaxOpenConns: 25
        User:
          SSL:
            Mode: verify-full
    ExternalDomain: login.example.com
    ExternalPort: 443
    ExternalSecure: true
    Machine:
      Identification:
        Hostname:
          Enabled: true
        Webhook:
          Enabled: false
    SystemDefaults:
      KeyConfig:
        PrivateKeyLifetime: 999999h
        PublicKeyLifetime: 999999h
    TLS:
      Enabled: false

Screenshots
No response
Expected behavior
When PrivateKeyLifetime: 999999h and PublicKeyLifetime: 999999h I expect /oauth/v2/keys to always return at least one active signing key.
Operating System
No response
Relevant Configuration
https://github.com/zitadel/zitadel/blob/main/cmd/defaults.yaml#L508-L509
Additional Context
No response

FYI, I updated from 2.46.0 to 2.49.1, re-ran init and setup jobs, and the problem still persists: /oauth/v2/keys returns no keys.

[!NOTE]
First I configured PrivateKeyLifetime: 999999h but accidentally left PublicKeyLifetime: 30h and restarted deployment/zitadel.  Some time later I changed PublicKeyLifetime: 999999h then restarted the deployment again.

Could this sequence of configuration changes resulted in a state where ZITADEL signs access and id tokens but then never again publishes a public key to the /oauth/v2/keys endpoint?
I could not figure out a way to get the public keys published again, so I deleted the database entirely and re-created from scratch making sure both config settings were set to 999999h from the beginning.  Hopefully this results in at least one public key always being returned.

The lifetime setting is used when creating the new keys. So if you change the lifetime, it will only get applied to the next key that will be generated. We set an expiry column based on the now+lifetime.

First I configured PrivateKeyLifetime: 999999h but accidentally left PublicKeyLifetime: 30h and restarted deployment/zitadel. Some time later I changed PublicKeyLifetime: 999999h then restarted the deployment again.

If you did that, you are in a though spot. As the private key will never expire, but the current public key will before a new one is generated. The only workaround I know is to enter in the psql shell and update the expiry column of the desired public key manually.
UPDATE projections.keys4_public
	SET expiry=?
	WHERE id=?;

This is off course not a nice solution and you risk getting into the same situation if the projection gets a new version before the 999999 hours pass.

As a key takeaway from this bug: until we improve key management, we should fix this bug by:

Reject configs where public key lifetime is less than private key lifetime and fail zitadel start if it is.
Document this requirement.

@muhlemmer Thanks for confirming, and I agree with the key takeaway.  It could help someone similar avoid the tough spot.

This is off course not a nice solution and you risk getting into the same situation if the projection gets a new version before the 999999 hours pass.

To clarify, you're referring the to the psql solution, yes?  I'm trying to understand if I've mitigated the risk of this happening again.  I solved the issue by:

Delete Deployment/zitadel
Drop all databases
Ensure both PrivateKeyLifetime: 999999h and PublicKeyLifetime: 999999h in the ConfigMap
Re-run zitadel init
Re-run zitadel setup
Re-start Deployment/zitadel

With this process, do you see any remaining risk of getting into a situation where no public keys are returned from /oauth/v2/keys, assuming these two settings are not adjusted again until the improved key management feature is released?
This is my only remaining question, this ticket may be closed after clarifying from my perspective.

To clarify, you're referring the to the psql solution, yes?

yes, if you manually update data in any of the projections.* tables, that information will get lost on the next migration. Plus, zitadel might behave in unpredictable ways because of mismatch between events and projection. But hey, if it's an emergency and it is the only way to regain access to a broken system, it can help.

With this process, do you see any remaining risk of getting into a situation where no public keys are returned from /oauth/v2/keys, assuming these two settings are not adjusted again until the improved key management feature is released?

As you have a fresh database, it should be fine with a long key lifetime. Of course we do not give any warranty as per our license ;)

Solved in https://github.com/zitadel/zitadel/issues/8031


Add ZSH and bash completion scripts

This is a first draft and while it's not perfect, it does 80% of what one would expect from shell completion. The bash version in particular needs some love, as I'm a zsh user myself — but I thought I might as well bootstrap something for others to build on.

@Arkanosis thanks for your effort on this, it is something I wanted to add sooner or later. I will find some time in the next few days to have a look at this pull request.
By the way, the command line is built with cobra, are you familiar with it? Maybe you can find useful information about bash completion on their docs: https://github.com/spf13/cobra/blob/master/bash_completions.md
Cheers,
Claudio

@Arkanosis thanks for your effort on this, it is something I wanted to add sooner or later. I will find some time in the next few days to have a look at this pull request.

Thank you!

By the way, the command line is built with cobra, are you familiar with it?

I've never used it, unfortunately. But if the completion script can be generated, that's definitely better than trying to keep the completion in sync with new version manually! :)

Hello @Arkanosis, it seems that the generation of shell completion scripts with cobra is really straightforward, I will close this PR now and will open a new one with the generated scripts.
Thank you again for your effort on this.

Hello @claudiodangelis :) Sorry for the late reply. That's great to hear! Thanks!


[RSDK-5633]   Fix stereo depth component not setting output size correctly

Context on Jira: RSDK-5633
Sent out a related PR in the DepthAI SDK that implements the actual logic on their side.
The changes in this current PR in our module is also necessary because we don't just want the closest resolution. We want the closest resolution that is larger than the given dimensions (so that cropping works properly).

Gonna hold off from merging until my change is in and released in a new DepthAI release and we bump our dep.


ability to combine 2 or more line/ providers

ability to combine 2 or more line/ providers using either same domain or different domains

I dont understand what you mean. Can you describe it a little more .

let say i have two m3u lines/ accounts from the same provider (either same domain or different domain) and they both have 1 cxn allow to each line. i would like the ability to group then together and then have the proxy load balance across them base on the defined allowed cxn. so in this case if 1 user is using 1 cxn from line 1, next user that starts watching will use the next line/cxn available from the next line and so on.

let me know if u still confuse and i will try to break it down more


Document that devc does not support kernel-slim for now

While https://github.com/OpenLiberty/ci.maven/issues/811 is not available yet, document that devc does not support a Dockerfile with kernel-slim

Done


Challenge 1

Hello, I finished all the challenge, here is the code for the app.
https://github.com/rdcs1/Challenge1
I add also the app:
https://rdcs1.github.io/Challenge1/
This is my first web application ever made... don't judge me. Thanks

Hey @rdcs1 ! 💯 Well done buddy! 🏅
I really liked how you managed to customize it even further! 👍
Two quick improvements for the next time:

Remember to add types to your variables, that's what TypeScript is about anyway 🙂
And try to use arrow functions over anonymous functions, they are mostly better!

You are ready for the next challenge!

Okay, thank you for the review, I will read about it. I hope to do a better code in the next monthly challenge. Thank you again.


Permission error with judgebot

(<Member id=240537940378386442 name='judgebot' discriminator='9243' bot=True nick=None guild=>, <Member id=240537940378386442 name='judgebot' discriminator='9243' bot=True nick=None guild=>)
{}

Reported on discordbot by discord user--------------------------------------------------------------------------------
Forbidden
Stack Trace:

  File "run.py", line 87, in <module>
    run()
  File "run.py", line 14, in run
    bot.init()
  File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 189, in init
    client.init()
  File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 31, in init
    self.run(configuration.get('token'))
  File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 564, in run
    loop.run_forever()
  File "/usr/lib64/python3.6/asyncio/base_events.py", line 422, in run_forever
    self._run_once()
  File "/usr/lib64/python3.6/asyncio/base_events.py", line 1432, in _run_once
    handle._run()
  File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
    self._callback(*self._args)
  File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 220, in _run_event
    await coro(*args, **kwargs)
  File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 80, in on_member_update
    await after.add_roles(streaming_role)
  File "/home/discord/.local/lib/python3.6/site-packages/discord/member.py", line 506, in add_roles
    await req(guild_id, user_id, role.id, reason=reason)
  File "/home/discord/.local/lib/python3.6/site-packages/discord/http.py", line 210, in request
    raise Forbidden(r, data)

Happens a lot.

It's always judgebot.
So, before.guild.roles contains a role with name == 'Currently Streaming', after.activity is an instance of Streaming and judgebot does not currently have that role, but the discordbot does not have the permissions to set judgebot to have that role.
I wonder if we can look before we leap or if we should just be ignoring this. Or have the bot complain in the channel.

Judgebot does... things.
It toggles between 'playing' and 'streaming', but doesn't actually implement the streaming activity correctly.  (No stream URL, for example)
My preference is to just ignore bot users for the currently_streaming code.  Bots don't need to be highlighted in such a way.

851228bd excludes bots.


How to install devtron in electron 12 or higher with preload js and webpack

I have an app having preload js used with bundling via webpack. I've added Devtron as an dependency package in the app. I've also added the line window.__devtron = {require, process}; in the preload.js file as guided in here. When I try to install by running require('devtron').install(); in the console tab of the electron devtools window then it throws an error Uncaught ReferenceError: require is not defined. I have even tried with window.require('devtron').install(); still throws the same error. Am i missing something?

Add your main js file of electron here. may be you forgot to use node-integration

Use this solution to solve the problem temporarily


"Changing the way you think about security"

We want to communicate the differences in thinking that we need when addressing security and safety in IoT solutions.

We are planning to have a draft in the repo early next week.


Docker won't run

It looks like the download functions for the models is currently broken.  I've tried the default image and have also tried to tinker with it myself.
The models will download, and I can verify they are on the disk, but it appears that it immediately has no idea where the model/configs are.   In the code it seems to confuse /app/models and /app/xtts_api_server/models, so maybe there's something there?
Full output from running the docker image:
2023-12-31 04:50:30.093 | INFO     | xtts_api_server.tts_funcs:create_directories:221 - Folder in the path /app/output has been created
2023-12-31 04:50:30.094 | INFO     | xtts_api_server.server:<module>:76 - Model: 'v2.0.2' starts to load,wait until it loads
[XTTS] Downloading config.json...
100%|██████████| 4.36k/4.36k [00:00<00:00, 2.51MiB/s]
[XTTS] Downloading model.pth...
100%|██████████| 1.86G/1.86G [00:34<00:00, 54.1MiB/s]
[XTTS] Downloading vocab.json...
100%|██████████| 335k/335k [00:00<00:00, 2.48MiB/s]
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/app/xtts_api_server/__main__.py", line 46, in <module>
    from xtts_api_server.server import app
  File "/app/xtts_api_server/server.py", line 77, in <module>
    XTTS.load_model()
  File "/app/xtts_api_server/tts_funcs.py", line 146, in load_model
    self.model = TTS(model_path=checkpoint_dir,config_path=config_path).to(self.device)
  File "/usr/local/lib/python3.10/dist-packages/TTS/api.py", line 70, in __init__
    self.config = load_config(config_path) if config_path else None
  File "/usr/local/lib/python3.10/dist-packages/TTS/config/__init__.py", line 91, in load_config
    with fsspec.open(config_path, "r", encoding="utf-8") as f:
  File "/usr/local/lib/python3.10/dist-packages/fsspec/core.py", line 103, in __enter__
    f = self.fs.open(self.path, mode=mode)
  File "/usr/local/lib/python3.10/dist-packages/fsspec/spec.py", line 1295, in open
    f = self._open(
  File "/usr/local/lib/python3.10/dist-packages/fsspec/implementations/local.py", line 180, in _open
    return LocalFileOpener(path, mode, fs=self, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/fsspec/implementations/local.py", line 302, in __init__
    self._open()
  File "/usr/local/lib/python3.10/dist-packages/fsspec/implementations/local.py", line 307, in _open
    self.f = open(self.path, mode=self.mode)
FileNotFoundError: [Errno 2] No such file or directory: '/app/xtts_api_server/models/v2.0.2/config.json'

This appears to work when I run your direct container from Dockerhub, daswer123/xtts-api-server, but not when I build the container myself.  Maybe it's just a documentation thing that I'm missing?

Hi docker was not created by me, I was helped, it was quite a long time ago, I unfortunately do not have the opportunity to test the docker.
After the holidays I will try to fix this problem with the help of a friend's computer.

Thanks, I took a quick stab at it but I need to understand the underlying code more.  I think it just needs a clearer mapping of the model directory to a specific folder.  It may be a good idea to extract that to an environment variable if it isn't already, then always reference that environment variable for saving/loading models

Thanks I'll try it out!

Update, sorry for the lateness, so I've tried it and it's running, but not picking up my model either.  I'm still poking at it, I want to double check to see if it's my specific image or if there's something else wrong with it, will have an update soon.

Ive got the docker running on URAID...  the docker runs and I can connect to XTTS in ST, but there are no voices.  I put the speakers folder in the app folder and voices still not found.
Im thinking that its not looking at the correct location for the files it needs.
Run xtts_api_server when the container starts
CMD ["bash", "-c", "python3 -m xtts_api_server -hs <IP_ADDRESS> -p 8020 -sf 'xtts-server/speakers' -o 'xtts-server/output' -mf 'xtts-server/models' --deepspeed"]
Would be nice if we could use an environment variable and then set our own startup options.  For example I would like to use streaming mode.


Smb length fileop 5770 v3

Requires https://github.com/OISF/suricata/pull/8493
Replaces #1110 with feature HAVE_NSS required for smb2-09-trunc-file-logging because of suricata 6 and file-store output module

Backport was merged

Merged in #1174, thanks!


Remove extensions that are invalid or unnecessary in Webpack 2 config

Fixes #544

If this is going to be fully correct for Webpack 2, "loaders" should also be changed to "rules"...

Trying to write up how to use Webpack in our docs seems to have put us on a really fast treadmill that we're not actually equipped to keep up with. I'm going to close the old PRs relating to Webpack on the assumption that they're probably just as out-of-date as the content they're trying to update.


Keep trailing newlines for Jinja templates by default. Closes #464

Codecov Report

Merging #465 (d1e98ea) into master (edc60fe) will increase coverage by 0.00%.
The diff coverage is 100.00%.

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

@@           Coverage Diff           @@
##           master     #465   +/-   ##
=======================================
  Coverage   96.25%   96.25%
=======================================
  Files          39       39
  Lines        2507     2509    +2
=======================================
+ Hits         2413     2415    +2
  Misses         94       94

Flag
Coverage Δ

unittests
96.25% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

copier/template.py
98.89% <100.00%> (+0.01%)
:arrow_up:

tests/test_jinja2_extensions.py
100.00% <100.00%> (ø)

tests/test_subdirectory.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

@Yajo done 🎉


[SDK] Exposing the branch

Is your feature request related to a problem? Please describe.
For introspection reason, I would love to have access to the branch that XataClient use under the hood.
Describe the solution you'd like
const xata = new XataClient();

console.log(xata.branch); // "main"

Describe alternatives you've considered
I tried to use the getCurrentBranchName() method, but since the databaseURL is injected as defaultOptions in XataClient I couldn't use it out-of-box.

Instead of the proposed:
xata.branch; // string | undefined

Offering:
const { branch, databaseURL } = await xata.getConfig();

Does that work?


Add an assume_exists=False argument to the files.put operation

Is your feature request related to a problem? Please describe.
For https://github.com/Fizzadar/pyinfra/issues/274 to enable the following flow:

Generate a local template
Edit it using a Python callback
Upload the file to the server

https://github.com/Fizzadar/pyinfra/commit/769e1d459e89f4b4f1abd016338741ea716c5f30


[FaloopIntegration] Feature request: Play sound on hunt notification

Hi, thanks for the great plugin!
Prior to this I was using Sonar notifications and used the following sound for S ranks to get my attention: (specificially the "Feature Unlocked" sfx)

Would it be possible to add sound notifications per rank?
Thank you again!

There is an solution for this, find an channel you dont use for anything else (i use LS8 for example), change faloop to send messages to that channel and add sound notification to that channel in game.


Responses larger than 1MB have incorrect content length header

I just found a problem with vulcand that uses the stream package in this library. When the responses is more than 1MB, it attempts to chunk the response into 1MB chunks and send them back to the client. However the content-length header does not match the actual content size.
Curl returns the following error:
curl: (18) transfer closed with 16384 bytes remaining to read
When I look at the headers, the Content-Length is exactly 1MB + 16384 bytes and there is only 1MB of content in the response. I have not been able to pinpoint exactly how the chunking logic works, but I will try to create a unit test showing the problem as soon as I can. If you have any ideas where the problem may be let me know.

I'm having similar problem where response is being truncated at 1048576 bytes when in fact it's 1237189 bytes long.
I'm using default stream settings (1MB in memory).

We ran into a similar problem with this when running vulcand in Docker scratch image. The fix came down to making an empty /tmp in our Dockerfile, otherwise ioutil.TempFile fails.
We'll be submitting a PR for oxy/fwd to at least log the error, it is being ignored as of right now.

Thanks. I think this can be marked as resolved. I'm sure people will run into this problem in the future but the fix is clearly out of scope of this project (besides actually reporting the error).


Remove redux in favor of react-query

🚀 Feature Proposal
This is a tracking issue to remove redux and replace it with react-query.
Modules to complete:

[ ] incidents
[ ] patients
[ ] scheduling
[ ] medications
[ ] labs

Motivation
For the motivations on why see: hospitalrun/hospitalrun#404

Link #2273


App Crash after wake-up from sleep-mode

App Crash with following error message after laptop was woke-up form sleep mode.

#2434 could be related

Is this still happening with 5.2?

still happening
Lens: 2024.9.300059-latest
Electron: 31.6.0
Chrome: 126.0.6478.234
Node: 20.17.0

In my case I didn't have a .k8slens folder, so I just created it and that solved the problem. You can try something like mkdir -p ~/.k8slens from your user. Or check the ownership of that folder.

In my case I didn't have a .k8slens folder, so I just created it and that solved the problem. You can try something like mkdir -p ~/.k8slens from your user. Or check the ownership of that folder.

this seems to be done the trick! thanks man!

It works for me too, thank you all guys! 👊


SimVP-IncepU-L and SimVP-gSTA-L Perform Worse Than Standard Version

Hi there,
I've been working with the SimVP models, including the enhanced 'L' versions which offer expanded dimension sizes and increased numbers of encoder and translator layers. These models have shown promising results on the MMNIST dataset, as illustrated in the attached screenshot:

However, I've encountered some performance challenges when testing these models on the KITTICaltech and KTH datasets. Notably, the 'L' versions seem to underperform compared to the standard models. For instance, on the KITTI dataset, the SimVP-gSTA model achieves an MSE of approximately 145, while the SimVP-gSTA-L model's MSE is around 274.
Given these observations, I'm seeking advice or suggestions on how to optimize or improve the performance of the larger versions of these models. Any insights or guidance would be greatly appreciated.
Thank you for your assistance.
Thanks
Yang

Yes... I also found that large models suffered from overfitting. I would suggest you train a small model for more epochs, which I found usually better than large models trained with almost the same gpu hours.
You may refer to our previous work: https://arxiv.org/abs/2211.12509.

Thanks for answering. I'll close this issue.


Refactor DiagnosticBundle to explicitly use a factory

Issue #, if available:
https://github.com/aws/eks-anywhere/issues/243
Description of changes:
Refactor the 'DiagnosticBundle' to use a proper factory, instead of the de-facto factory we had going on. This simplifies dependency management and will more easily allow us to do things like generate support bundles for the bootstrap cluster & the workload cluster during workflow steps.
This change will facilitate the replacement of SaveLogs method in the cluster manager with in invocation of a support bundle collection. Ideally we'll be able to collect from the Bootstrap Cluster, Workload Cluster, or both, depending on the workflow step that fails. This was challenging without the explicit factory as it would have required passing numerous dependencies to the cluster manager, generating multiple sets of options, etc. Using this factory patter we'll be able to simply pass a Factory and then generate the appropriate support bundle object down the line as needed.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@danbudris: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

eks-anywhere-mocks-presubmits
0603a02eab161a68a5ed9ef0838eee2eea49303d
link
/test eks-anywhere-mocks-presubmits

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm


Add a Gitter chat badge to README.md

Codecademy/console-fail-test now has a Chat Room on Gitter
@JoshuaKGoldberg has just created a chat room. You can visit it here: https://gitter.im/Codecademy/console-fail-test.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

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

@all-contributors please add @gitter-badger for code.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


build:audio-processor does not work when combined w/ other scripts

build:audio-processor does not work when combined w/ other scripts. For example adding it at the start of npm run build, it fails.

Fixed


feat(out_of_lane): ignore predicted paths of dynamic objects in irrelevent lanelets

Description

This PR improves the out_of_lane module to avoid triggering unwanted stops.
When using the predicted paths of dynamic objects, we now make sure that the object is on a lanelet that can reach the out of lane overlap (without lane changes), otherwise it is ignored.

Before
After

Tests performed

Evaluation (TIER IV internal link): https://evaluation.tier4.jp/evaluation/reports/b250dbce-1644-51f3-9fe0-98b11d53b876?project_id=x2_dev
Effects on system behavior

Some unwanted slowdown or stop caused by the out_of_lane module should no longer happen.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@maxime-clem It seems the PR is work-in-progress. Let me know if the PR is ready to review.


Dev container does not work on ARM based machine

When starting the devcontainer on a MacBook Pro M1 machine, the devcontainer fails. The problem is that tarpaulin does not work with ARM based machines. From the tarpaulin repo:
On Linux Tarpaulin's default tracing backend is still Ptrace and will only work on x86_64 processors. This can be changed to the llvm coverage instrumentation with --engine llvm, for Mac and Windows this is the default collection method.

Can we remove the last line in the Dockerfile and add documentation that if you wanted to test code coverage, you need to install that tool due to platform difference?
Expected Behavior
devcontainer should start on ARM machine
Current Behavior
devcontainer fails to start because it will not build
Steps to Reproduce

Get an ARM based laptop
Start devcontainer

cc: @juliays

Thanks for reporting this! The issue was reported to Tarpaulin and an (unreleased) fix is on their development branch, details can be found in the description of #38.
#38 applies your suggestion, we can revert this when Tarpaulin's fix is released.


View approved diffs works for new content only

Upon viewing an approved change request, the user interface conveys the changes correctly for new content. When examining an approved request with changes to existing content, the diff does not show changes.

This was as designed to show between the point at which the merge took place. We could add another UI feature which compares with current main if that turns out to be useful.

Thank-you for clarifying the feature!


Add support for other normalizations (i.e., GroupNorm) in ResNet

There is currently no code-path leveraging GroupNorm (or any other normalization).
Using GroupNorm (which has one extra parameter) could be achieved as follows:
def get_gn(num_channels):
    return nn.GroupNorm(32, num_channels)

model = models.ResNet(models.Bottleneck, [3, 4, 6, 3], norm_layer=get_gn)

Codecov Report

Merging #813 into master will decrease coverage by 0.18%.
The diff coverage is 72%.

@@            Coverage Diff             @@
##           master     #813      +/-   ##
==========================================
- Coverage    52.1%   51.91%   -0.19%
==========================================
  Files          33       33
  Lines        3276     3284       +8
  Branches      523      527       +4
==========================================
- Hits         1707     1705       -2
- Misses       1442     1447       +5
- Partials      127      132       +5

Impacted Files
Coverage Δ

torchvision/models/resnet.py
83.68% <72%> (-4.29%)
:arrow_down:

torchvision/transforms/transforms.py
82.84% <0%> (-0.68%)
:arrow_down:

Continue to review full report at Codecov.

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

Should these changes be made to other torchvision models as well?

@ekagra-ranjan yes they should, but I believe francisco is on a sprint to do them already

Are there any pre-trained weights for resnet with GroupNorm?

@rvarun7777 not yet. Models with GroupNorm are particularly useful when training a model from scratch, and do not necessarily bring better accuracies compared to BatchNorm (for classification)


Strip JSON spaces for compute to data.

Related to new changes in Provider. Not sure if it will pass yet, until the release of a new provider.

Blocked by Aquarius version.

we have v0.4.7, so it should be fine with that

@trentmc I updated the description. This was a problem because our Travis setup was hardcoded to some previous versions of aqua and provider, instead of testing with the Barge version. These were probably introduced during tests of some features in particular, and carried along into the main branch erroneously.
"Fixes provider and aquarius setup being hardcoded instead of used from Barge."


[search] polyfill search component to catch errors

While reviewing Sentry errors, I noticed that the search component is throwing errors in older browser versions like Firefox 44.

Adding babel's poyfill to the search component fixes this issue with older browsers versions (just not IE11 because it's out of scope for the search library).
Ref: https://sentry.io/organizations/mapboxcom/issues/1131166287/?referrer=slack

I built this PR locally and tested on /geographic-analytics:

[x] IE 11 works

[x] Firefox 44 works (The search component works , too. I'm not concerned about that weird icon positioning since it doesn't appear in the latest versions of Firefox.)

You can test this PR by:

npm install
npm run build
Opening another repo to test locally, like geographic-analytics, and replacing the dr-ui version number in package.json with the path to your local dr-ui repo: "@mapbox/dr-ui": "file:/Users/katydecorah/Documents/GitHub/dr-ui/pkg",
run npm install (you may need to delete node_modules first) on the tester repo and then npm start
open browserstack with Firefox 44 to confirm the site loads locally.

@colleenmcginnis looks like adding babel-plugin-transform-react-remove-prop-types here as a dependency fixed that error. I'm not exactly sure why yet. My first guess is that it's a peer dependency for one of the two packages also installed in this PR.


Show when actions would required admin privileges

Describe the solution
Like file explorer have an admin shield symbol next to an action that would require it like deleting a file.

This is already implemented in v1.5. Can you add a little more context?

Deleting or renaming won't show that they need admin always with the UAC prompt so a symbol next to the action can show it.

Oh, you mean in the context menus? Does this provide any benefit over the confirm dialog that we already show?

It only appears once for the first time its needed if i was testing actions to see if they need admin i would have to click all of them and restart files in between to see if the admin prompt comes up.   Right clicking to see a symbol can instantly tell me that multiple action's would require admin.

The UAC prompt should always show when trying to take an action that requires admin access.

you sure it only shows up once for me then files is always in admin mode until it closed

@josh-65 Files running in admin mode is something else, the UAC prompt should still come up when you need to take an action.

ok ill make a new issue.


Add readiness healthcheck to surge engine

for https://github.com/UltimateSoftware/surge-ukg/pull/473
Adds a readiness healthcheck to surge engine, as a method def ready(): Future[HealthCheck] in the HealthCheckTrait trait,
and it delegates to akka management, without starting an AM http server.
Liveness check is already implemented in the existing healthCheck() method.

@jeffboutotte the most recent version of akka management still depends on akka 2.6.14 while surge expects 2.6.15. There's several ways we could go about this.

Are we actually leveraging management for anything at the moment besides these new readiness checks? We could pull in 2.6.15 of whatever akka management needs to keep everything on a consistent version, but wondering what the value we're getting from all the extra things we pull along is.