[2024.3.0b0] Invalid supported color modes

The problem
Seems that starting with HA 2024.3.0b0, HA starts to complain that the currently set supported color modes attribute (ColorMode.BRIGHTNESS, ColorMode.RGB) is invalid:
Logger: homeassistant.components.light
Source: components/light/__init__.py:1165
integration: Light (documentation, issues)
First occurred: 7:28:20 PM (3 occurrences)
Last logged: 7:28:20 PM

None (<class 'custom_components.pura.light.PuraLightEntity'>) sets invalid supported color modes {<ColorMode.RGB: 'rgb'>, <ColorMode.BRIGHTNESS: 'brightness'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/natekspencer/hacs-pura/issues

I read through the light entity documentation and can't seem to discern what exactly is wrong about the currently set supported modes.
What version of Home Assistant Core are you running?
2024.3.0b0
What was the last working version of Home Assistant Core?
2024.2.x
Diagnostics information
No response
Anything in the logs that might be useful?
No response
Additional information
No response

Looks like ColorMode.RGB inherently supports brightness, so the issue is the inclusion of ColorMode.Brightness in the set. I'll get that adjusted shortly.

Ah, yup that's it! I thought that may be the case and removed brightness, but forgot to keep RGB in a set and instead just used ColorMode.RGB. Putting it in a set fixed it.

Release 0.1.22 adjusts this


Hidive not working with --cookies-from-browser

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting that a supported site is broken
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
United Kingdom
Provide a description that is worded well enough to be understood
Currently the --cookies-from-browser feature doesn't seem to be working with the hidive extractor. When trying to download premium content with cookies from the browser you get the premiumcontent error. When exporting the same cookies to a file and giving them via the --cookies option it works perfectly.
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
[debug] Command-line config: ['--cookies-from-browser', 'chrome', '-vU', 'https://www.hidive.com/stream/reincarnated-as-a-sword/s01e011']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[Cookies] Extracting cookies from chrome
[debug] Extracting cookies from: "C:\Users\nicho\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies"
[debug] Found local state file at "C:\Users\nicho\AppData\Local\Google\Chrome\User Data\Local State"
[Cookies] Extracted 3040 cookies from chrome
[debug] cookie version breakdown: {'v10': 3040, 'other': 0, 'unencrypted': 0}
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[HiDive] Extracting URL: https://www.hidive.com/stream/reincarnated-as-a-sword/s01e011
[HiDive] reincarnated-as-a-sword/s01e011: Downloading JSON metadata
ERROR: [HiDive] reincarnated-as-a-sword/s01e011: HiDive said: PremiumContent
  File "yt_dlp\extractor\common.py", line 694, in extract
  File "yt_dlp\extractor\hidive.py", line 81, in _real_extract

Try using --username instead

[HiDive] None: Downloading webpage
[HiDive] Logging in
ERROR: [HiDive] reincarnated-as-a-sword/s01e011: Unable to extract profile_id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

cc @chexxor since u added the profile selection code

Actually, it looks like a tiny bug. @nmills3 Would you be able to test this patch?
diff --git a/yt_dlp/extractor/hidive.py b/yt_dlp/extractor/hidive.py
index 8a8749859..f5d05ff9f 100644
--- a/yt_dlp/extractor/hidive.py
+++ b/yt_dlp/extractor/hidive.py
@@ -47,7 +47,7 @@ def _perform_login(self, username, password):
         login_webpage = self._download_webpage(
             self._LOGIN_URL, None, 'Logging in', data=urlencode_postdata(data))
         # If the user has multiple profiles on their account, select one. For now pick the first profile.
-        profile_id = self._search_regex(r'<button [^>]+?data-profile-id="(\w+)"', login_webpage, 'profile_id')
+        profile_id = self._search_regex(r'<button [^>]+?data-profile-id="(\w+)"', login_webpage, 'profile_id', default=None)
         if profile_id is None:
             return  # If only one profile, Hidive auto-selects it
         profile_id_hash = self._search_regex(r'\<button [^>]+?data-hash="(\w+)"', login_webpage, 'profile_id_hash')

how do i test it? i've only even used the binaries to run yt-dlp before

@nmills3 This "hydive.py" file is an interpreted script, so you can update it in place. You just need to find that file on your file system and edit it to add that "default=None" part to that line.
I don't know how to locate that file on your filesystem though. If on linux,  you could use "which yt-dlp", or similar. Any ideas from anyone else?

When exporting the same cookies to a file and giving them via the --cookies option it works perfectly

cannot confirm w/o account but this could possibly be caused by #5534

I've only used yt-dlp for Hidive. I tried the "cookies from browser" feature when I was making that patch for the Hidive extractor, but I couldn't get it to work.
@nmills3 have you successfully used "cookies from browser" with other extractors? Or did it work with the Hidive extractor in the past?

When exporting the same cookies to a file and giving them via the --cookies option it works perfectly

I did not notice this part! If this is true, then issue is definitely #5534. Closing as duplicate

@chexxor i can confirm that other extractors ARE working with --cookies-from-browser i tested using crunchyroll and that grabbed the cookies from the browser and worked fine. So this issue with cookies from browser is specific to hidive for me.
I did also find that hidive or the hidive extractor is very picky with what cookie export tools work with it. When testing originally i found that the cookies exported by the chrome extension "Edit this cookie" did not work and the only one i did manage to get working cookies from was "get cookies.txt LOCALLY". i'm not sure if that's relevant but maybe that tool grabs a cookie that some other tools miss

I think the issue here is that HIDIVE uses session cookies, and those don't seem to be persisted to the Firefox cookies.sqlite file. Hence, yt-dlp won't be able to see those session cookies, and HIDIVE will think you're not logged in.
What worked for me was to combine the --cookies option (so that yt-dlp persists the session cookies), and the --username option:
# This first command will fail with the "PremiumContent" error, but it will store the session
# cookies in the cookie jar:
yt-dlp --cookies yt-dlp-cookies.txt --username<EMAIL_ADDRESS>https://www.hidive.com/stream/xxxx

# Running the previous command once again will now succeed, presumably because it used some of
# the session cookies in the cookie jar:
yt-dlp --cookies yt-dlp-cookies.txt --username<EMAIL_ADDRESS>https://www.hidive.com/stream/xxxx

So it seems like the HIDIVE extractor would also need to be patched so that it makes an additional request to get the session cookies.

Neither --username nor extracting the cookies and using those works anymore. It seems like Hidive is now prompting users with a challenge to prove they're human.

Nevermind. Using --username with --cookies works.

[debug] Command-line config: ['-v', '-R', 'infinite', '--force-overwrites', '--fragment-retries', 'infinite', '--no-mtime', '--proxy', 'http://<IP_ADDRESS>:1080', 'https://www.hidive.com/stream/chiikawa/s01e054', '-u', 'PRIVATE', '-p', 'PRIVATE', '-N', '16', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0', '--cookies', '/root/cookie-sentai.txt', '--embed-subs', '--convert-subs', 'ass', '--sub-langs', 'all', '--remux-video', 'mkv', '-o', '/root/bangumi/[GJ.Y] Chiikawa - 54 (Sentai .mkv']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481]
[debug] Lazy loading extractors is disabled
[debug] Python 3.9.5 (CPython aarch64 64bit) - Linux-5.10.0-21-arm64-aarch64-with-glibc2.36 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.36)
[debug] exe versions: ffmpeg N-109851-ge506ea3ce1-20230212 (setts), ffprobe N-108083-g06b98e396a-20220909
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {'all': 'http://<IP_ADDRESS>:1080'}
[debug] Loaded 1857 extractors
[HiDive] None: Downloading webpage
[HiDive] Logging in
[HiDive] Extracting URL: https://www.hidive.com/stream/chiikawa/s01e054
[HiDive] chiikawa/s01e054: Downloading JSON metadata
ERROR: [HiDive] chiikawa/s01e054: HiDive said: PremiumContent
  File "/root/dump_tools/yt-dlp-sentai/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
  File "/root/dump_tools/yt-dlp-sentai/yt_dlp/extractor/hidive.py", line 93, in _real_extract
    raise ExtractorError(

It seems like Hidive is now prompting users with a challenge to prove they're human.

I think you are right, seems -u -p is broken now.

Dumping all cookies for hidive.com (and subdomains), and using the resulting cookie jar (--cookies option) still works for me.
The important thing is to also include session cookies in the cookie jar.

Dumping all cookies
How did you dump cookies?

Dumping all cookies

How did you dump cookies?

I personally used the cookies.txt extension for Firefox.

Reading the cookies from file worked for me until 2 days ago, now it's the same problem as with --cookies-from-browser. Session cookies were also included:
[debug] Command-line config: ['https://www.hidive.com/stream/spy-classroom/s02e019', '-v', '-u', 'PRIVATE', '-p', 'PRIVATE', '--ignore-config', '-f', 'b[language=ja]/b', '--video-multistreams', '--audio-multistreams', '--write-subs', '--sub-lang', 'english-subs', '--sub-format', 'vtt', '--add-metadata', '--remux-video', 'mkv', '--merge-output-format', 'mkv', '--rm-cache-dir', '-o', '.\\temp\\hidive\\single\\%(title)s.%(ext)s']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[7cccab79e] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2023-02-22-git-d5cc7acff1-full_build-www.gyan.dev (setts), ffprobe 2023-02-22-git-d5cc7acff1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1864 extractors
Removing cache dir C:\Users\User/.cache\yt-dlp ..
[HiDive] None: Downloading webpage
[HiDive] Logging in
[HiDive] Extracting URL: https://www.hidive.com/stream/spy-classroom/s02e019
[HiDive] spy-classroom/s02e019: Downloading JSON metadata
ERROR: [HiDive] spy-classroom/s02e019: HiDive said: PremiumContent
  File "yt_dlp\extractor\common.py", line 715, in extract
  File "yt_dlp\extractor\hidive.py", line 82, in _real_extract

Can confirm the extractor no longer works with --username and newly-extracted cookies:
[debug] Command-line config: ['-N', '4', '--add-metadata', '--all-subs', '-f', '--cookies', '../cookies/Hidive/cookies.txt', '-o', '%(title)s.%(ext)s', '-v', 'https://www.hidive.com/stream/oshi-no-ko/s01e001', '-u', 'PRIVATE']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481]
[debug] Python 3.11.3 (CPython x86_64 64bit) - Linux-6.4.11-zen2-1-zen-x86_64-with-glibc2.38 (OpenSSL 3.1.2 1 Aug 2023, glibc 2.38)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.12.0, brotlicffi-<IP_ADDRESS>, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[generic] Extracting URL: ../cookies/Hidive/cookies.txt
ERROR: [generic] None: '../cookies/Hidive/cookies.txt' is not a valid URL. Set --default-search "ytsearch" (or run  yt-dlp "ytsearch:../cookies/Hidive/cookies.txt" ) to search YouTube
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 710, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/generic.py", line 2403, in _real_extract
    raise ExtractorError(

[HiDive] None: Downloading webpage
[HiDive] Logging in
[HiDive] Extracting URL: https://www.hidive.com/stream/oshi-no-ko/s01e001
[HiDive] oshi-no-ko/s01e001: Downloading JSON metadata
ERROR: [HiDive] oshi-no-ko/s01e001: HiDive said: PremiumContent
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 710, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/hidive.py", line 82, in _real_extract
    raise ExtractorError(

what if you only pass cookies (no -u or -p)

@BraveSail:

How did you dump cookies?

I wrote my own script because I don't trust the Firefox extensions that are available (call me paranoid): https://gist.github.com/Tblue/8c6ee7c29b683dcf3e5dad2ff1edc338
Usage:

Visit hidive.com, and make sure you're logged in.
Make sure Firefox is set to restore windows and tabs on start (otherwise, session cookies won't be persisted to disk).
Close Firefox.
Make sure the Python package lz4 is installed: Either use the package manager of your OS (on Arch Linux, install package python-lz4), or create a virtualenv and install lz4 using pip.
Run: ./dump-firefox-cookies.py ~/.mozilla/firefox/lgcihc77.default-1554305833516  cookies.txt -l '*.hidive.com' (you of course need to specify the correct path to your Firefox profile)
Find cookies in file cookies.txt.

I just tried it, and it still works for me. I can download an episode from Hidive.

I just tried it, and it still works for me.

Thanks for your script, it works.
But I think it's a temporary fix since the expiration date of cookies, I dont know if yt-dlp can renew the cookie automatically, like crunchyroll, I need to renew the cookie by opening the browser manually. The final fix is using curl_cffi to bypass the CR's human verification then let yt-dlp login with username and password, but seems hidive doesn't use cloudflare.

A glance suggests they use ReCaptcha and AWS WAF's "Intelligent threat integration": https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html

Honestly, I don't think it's worthwhile trying to circumvent ReCaptcha and/or AWS WAF security features.
Even if you manage to do it (and it would certainly be interesting), it'll just turn into a game of cat and mouse. It's way easier (and more future-proof) to just grab the cookies, even if you have to open hidive.com in a browser from time to time.

But I think it's a temporary fix since the expiration date of cookies, I dont know if yt-dlp can renew the cookie automatically,

The cookie expired, seems the valid period is 1 month.


Update expressroute-howto-linkvnet-cli.md

The listed command is for creating an authorization. There is no command to add authorizations.

@duongau
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


[stdlib] Eliminate _HasherCore protocol

This is a spinoff of #20185, trying to track down a code size regression.

@swift-ci benchmark

With the new String representation, this is likely a viable change now.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please benchmark

@swift-ci please benchmark

@swift-ci please benchmark

@swift-ci please benchmark

@swift-ci please test macOS platform

Build failed
Swift Test OS X Platform
Git Sha - 7a717d62f3e821772226923db04a4dd1431c7486

Build comment file:
No performance and code size changes

How to read the data
The tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false alarms. Unexpected regressions which are marked with '(?)' are probably noise. If you see regressions which you cannot explain you can try to run the benchmarks again. If regressions still show up, please consult with the performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

@swift-ci test

@swift-ci test

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 7a717d62f3e821772226923db04a4dd1431c7486

Build failed
Swift Test Linux Platform
Git Sha - 264be404232119ef09f17fe03025f564a7122b5a

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci smoke test and merge

@swift-ci smoke test and merge

@swift-ci smoke test and merge

@swift-ci smoke test and merge

@swift-ci smoke test and merge


chore(oauth): updated secret.js

Assignee Tasks

[ ] updated Google OAuth 2.0 credentials
[ ] referenced any relevant issues

Guidelines
Please add a description of this Pull Request's motivation/user story, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant info.

Updated secret.js
closes #14

Got it. The keys have been updated.


fix: help text for open-mediation flag

Signed-off-by: Daniel Bluhm<EMAIL_ADDRESS>

Codecov Report

Merging #1445 (1cb755f) into main (ef70a8a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1445   +/-   ##
=======================================
  Coverage   94.59%   94.59%
=======================================
  Files         483      483
  Lines       29664    29664
=======================================
  Hits        28061    28061
  Misses       1603     1603


Add tool for cycling through electrodes on device

This could be used to check that all electrodes are connected (i.e., measure capacitance of air gap) and/or to figure out on startup which reservoirs contain liquid.

Trac update at 20120223T04:56:38: ryan changed description from "This could be used to check that are all electrodes are connected (i.e., measure capacitance of air gap) and/or to figure out on startup which reservoirs contain liquid." to "This could be used to check that all electrodes are connected (i.e., measure capacitance of air gap) and/or to figure out on startup which reservoirs contain liquid."

Trac update at 20120302T02:02:49: ryan changed status from "new" to "accepted"

Trac update at 20140312T20:02:01: ryan changed milestone from "1.0" to "1.1"

Trac update at 20140417T19:40:13: ryan changed component from "core" to "microdrop"

Migrated to https://github.com/wheeler-microfluidics/dmf_control_board_plugin/issues/5


Hide exposed utility functions in collections

Some utility functions, which should not be exposed publicly, should just be converted into internal functions to avoid confusion and make this change less breaking in the future.
Offending functions: https://github.com/near/near-sdk-js/blob/37965b8b1f5f467761938229fedf9cd0532cfd24/src/collections/unordered-map.js#L35-L51
https://github.com/near/near-sdk-js/blob/37965b8b1f5f467761938229fedf9cd0532cfd24/src/collections/unordered-set.js#L23-L33
https://github.com/near/near-sdk-js/blob/master/src/collections/vector.js#L23-L28

Duplicated with #83

Duplicated with #83

oops, I really do have a bad memory 😂


Barbs do not support transparency yet have transparency controls

They do support transparency when you disable constant coloring. Should they?


feat(accessory): remove outdated services and update platform accessory

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unexpected usage at EditorSimpleWorker

I get this error in the console. It still works however..
Error: Unexpected usage     at EditorSimpleWorker.loadForeignModule (webpack-internal:///./node_modules/monaco-editor-vue3/node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js:480:31)     at eval (webpack-internal:///./node_modules/monaco-editor-vue3/node_modules/monaco-editor/esm/vs/editor/browser/services/webWorker.js:44:30) Error: Unexpected usage

This error implies you're trying to use a language type that you haven't loaded the service worker for.
For example if I try and use JS, but I haven't loaded the JS/TS worker:
import jsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker';
import tsWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker';

I would get the same error


Improved Elasticsearch explanation parsing/display

Improvements to how Elatsicsearch explains are parsed/displayed

Ignore spurious "Math.min ofs" that show up in the explain, delegating to lower levels in the explain
field value factor function queries dig into the function queries below

@softwaredoug is this ready to be merged?
I reviewed the code, it looks fine from my stand point

Yup it's ready. Have been using it locally for client work.
On Thu, Dec 24, 2015 at 9:37 AM, Youssef Chaker<EMAIL_ADDRESS>wrote:

@softwaredoug https://github.com/softwaredoug is this ready to be
merged?
I reviewed the code, it looks fine from my stand point
—
Reply to this email directly or view it on GitHub
https://github.com/o19s/splainer-search/pull/27#issuecomment-167119094.

@softwaredoug cool. I'll let you tag it and release it.


Prevent duplicate entries in ConfigMap

Allow Values.volumes.import to propagate server.directories.import
Fix unmigrated dbms.jvm.additional regex

Fixes #119

^ Also noticed that the apoc ConfigMap doesn't use the fully qualified name if provided

Thanks for the contribution @rlch, dev is the correct target. Would you mind adding a unit test case for this?

Hey @ojhughes, could you clarify what test-cases you'd like to see, and is there any documentation around your unit-testing practices?
As per the migration guide for v5:
https://neo4j.com/docs/upgrade-migration-guide/current/version-5/changelogs/configuration-settings/
this PR is just dealing with an unmigrated dbms.jvm.additional key, as well as ensuring the APOC ConfigMap name matches that of the volume template.

@rlch Sorry for the delay I missed your comment. no docs really, I think we just need to add a test case here https://github.com/neo4j/helm-charts/blob/dev/internal/unit_tests/neo4j_configuration_test.go

this is fixed with this
https://github.com/neo4j/helm-charts/commit/c59a10b317d06304ae19b149f6d662618bd95444


[Bug]: Profile and Contact names display all-caps when heading only

Describe the bug
The wallet's profile name and all added contacts name display using the actual case (lower or upper) in most places, but when a heading (Profile or Contacts pages) it is all-caps. This fits with the new branding but I don't think it is suitable for profile names because case is a means of personalisation. We should always display profile names using the chosen character cases.
Reproduce

Edit your profile name
View it on the Profile page
Observe it is all-caps on one screen only (see video for details)

Screenshots / Recording
https://github.com/synonymdev/bitkit/assets/74595920/b31e8a0f-7b1d-47a2-acc6-0d27cd0c1fd7
Operating system
Android 13 TKQ1.221114.001
Bitkit version
9e848b8443daa828ad40fc6822640fcd013bf39f
Log output
No response

From Aldert "The user name will just display differently based on the context and I would prefer for it to match the new brand visual identity."


Potential way for study group to learn more about Data Science

I came across these data science competitions and I remember that a lot of people were generally interested in data science: https://www.kaggle.com/competitions
Once we get started/improve perhaps we can make teams for these competitions. Let me know what you guys think!

+1
This seems like a fantastic way to learn both coding and statistics, AND a great way to bring together people from different disciplines behind a single project (or multiple projects!).

I would love to participate in these competitions! Definitely interested in data science.

+1 great idea! it could be a nice way to focus efforts or highlight certain packages or skills

+1
Given the limited course offerings in machine learning, it'd be cool to see a study group dedicated to this. I'd definitely attend.

sounds good!

Hi Everyone,
Any interest in converting this into a coworking session?
Best,
Tom

Yes, I'd be in for this too
On Fri, Oct 23, 2015 at 1:28 PM, Tom Hohenstein<EMAIL_ADDRESS>wrote:

Hi Everyone,
Any interest in converting this into a coworking session
http://mozillascience.github.io/studyGroupHandbook/event-types.html?
Best,
Tom
—
Reply to this email directly or view it on GitHub
https://github.com/bulib/studyGroup/issues/12#issuecomment-150640033.

How does sometime next week sound?
I started a when2meet at:
http://www.when2meet.com/?3720466-QzYBd

It looks like Thursday afternoon is best. How does from 5:00-7:00 sound? These sessions are more informal and people can come and go as their schedule dictates.
Can we get STO 442 from 5-7 on Nov 5?

I personally won't be there because I'll be leaving town Thursday afternoon, but you can email our administrative assistant Frederick George<EMAIL_ADDRESS>to see if you can reserve the room for that time.

@ashiklom  sorry we will miss you again! and thank you for the contact.

Hi Everyone,
We have STO 442 from 5-7 on Thursday. Hope to see you there!
-Tom

We had a small but good session - 4 attendees. We are going to do another session on Nov. 9. I'm going to close this issue and create a new issue called "Kaggle Competition"


Autosave-Message showing even if saving is disabled

I am currently running...

SpongeForge version: 2353
Java version: 1.8
Operating System:

[x] Linux (Ubuntu, Debian, Fedora, etc)
[ ] macOS
[ ] Windows

What is the expected result?
The auto-saving message should only be printed if saving is activated (/save-on) as only then the world gets saved.
What is the current result?
When the minecraft-saving-option is disabled (/save-off) and sponge performs an autosave (based on the time configured in the sponge/global.conf), the log always shows the message

Auto-saving chunks for level 'world'/Overworld

(https://github.com/SpongePowered/SpongeCommon/blob/f430565244e46ad89a219cfb1323f1492bdcdb74/src/main/java/org/spongepowered/common/mixin/core/server/MixinMinecraftServer.java#L721).
but the world does not get saved.
Possible ways to fix:

Print a warning (similiar to https://github.com/SpongePowered/SpongeCommon/blob/f430565244e46ad89a219cfb1323f1492bdcdb74/src/main/java/org/spongepowered/common/mixin/core/server/MixinMinecraftServer.java#L710 if saving is disabled and an autosave is performed)
Remove the message if saving is disabled
Always save the world (even if the saving is disabled)

I would prefer sponges autosave to save even if minecraft saving is turned off.
That way you can control saving mechanics even better.
Sponges auto save should do the same as entering save-all in console.

This is clearly a bug.
We should not claim in the log to save, if saving is disabled.
My opinion @i9hdkill is that /save-off should be the highest priority when it comes to auto-saves of any manner.
Backup systems use /save-off in order to trigger backups and ensure atomic writes and backups are performed. To do anything counter to this behavior would risk peoples backup systems.
I believe a warning is the best way to go.


Remove const generic from arrays

A lot of the doc tests still need to be updated, plus the bindings, but otherwise this is a big step!


New blizzard domain

The lancache folks discovered a new domain for blizzard, pushing upstream.

Hi picchioni
Thanks for the pr, two questions

which "lancache guys"
can you confirm where this has been tested

Answering my own question 1 --> Reference: https://github.com/bntjah/lancache/issues/110

For question 2, Here's a screenshot of a pcap I took if that helps (attempted to download Starcraft 2). I can provide an actual pcap if you'd like

It's more assurance that it doesn't break anything on other systems. If you've only tested this on a local install then we need a larger sample size to ensure there's nothing breaking in it!

Agreed, a sample size of 1 isn't a representation. I just tested in my lab setup, but not on anything in larger scale.

Tested on my network, adding this domain to my local unbound, and now blizzard games are being passed through my cache

First post and have no idea what i'm doing but hope this helps.  You can check your Agent log files in the Battle.net Agent directory.  It looks like everything from <IP_ADDRESS> up to .8 is under both http and https for us.cdn.blizzard.com
Here is as copy past from one of the logs after downloading starcraft 2:
[I 2018-10-02 22:36:38.0712] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0712] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0712] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0713] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0713] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0713] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0714] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0714] {2d4c} INF: adding network address <IP_ADDRESS>:80 for server http://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0714] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0715] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0715] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0715] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0716] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0716] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0716] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/ [I 2018-10-02 22:36:38.0717] {2d4c} INF: adding network address <IP_ADDRESS>:443 for server https://us.cdn.blizzard.com/

Works for me, thanks for the testing all


SUPPORT THIS PROJECT link broken (and changelog showing a not released version)

as per title

Thanks - both are known.  Still working through some of the stuff.


Using "Prism.highlight()" with plugins

Motivation
For dynamic code change with Vuejs I need to generate the highlighted code with low-level function. This way :
this.formattedCode = Prism.highlight(this.code, Prism.languages['custom'], 'custom')

Description
The code highlight works as expected but the plugin line-numbers doesn't enable.
I expect this :

But I got this :

I assume that it because the line-numbers code is missing.
I'm looking for a way to generate the highlighted with some plugins. For example : Prism.highlight(text, grammar, language, plugins)
Alternatives
Any workaround is welcome but I didn't find one so far.

Line numbers (like most plugins) requires the hooks from the Prism.highlightElement function.
As a rule of thumb: Everything that interacts with the DOM needs Prism.highlightElement. This includes adding new DOM nodes but also reading the classes of elements (line-numbers).


error！！！！！！！！！！！！！！！！！！！！

when I first step to run the model.py, An error occurred:
The size of tensor a (196) must match the size of tensor b (256) at non-singleton dimension 1

Hi, Thanks for comments !
You need to use same size of resolution parameters.
def ResNet50(num_classes=1000, resolution=(224, 224)):
    return ResNet(Bottleneck, [3, 4, 6, 3], num_classes=num_classes, resolution=resolution)

def main():
    model = ResNet50()
    x = torch.randn([2, 3, 224, 224])
    print(model(x).size())
    print(get_n_params(model))


esp32s3: add simple boot support

Summary
The Simple Boot feature for Espressif chips is a method of booting that doesn't depend on a 2nd stage bootloader. Its not the intention to replace a 2nd stage bootloader such as MCUboot and ESP-IDF bootloader, but to have a minimal and straight-forward way of booting, and also simplify the building.
This commit also removes deprecated code and makes this bootloader configuration as default for esp32s3 targets and removes the need for running 'make bootloader' command for it.
Other related fix, but not directly to Simple Boot:

Instrumentation is required to run from IRAM to support it during initialization. is_eco0 function also needs to run from IRAM.
rtc.data section placement was fixed.
Provide arch-defined interfaces for efuses, in order to decouple board config level from arch-defined values.

Impact
ESP32-S3 targets and bootloader.
Testing
Internal CI testing

@tmedicci @eren-terzioglu @xiaoxiang781216 PTAL

@almir-okato have you tested CONFIG_ESP32S3_APP_FORMAT_LEGACY=y with this patch?
my attempt to fix it: https://github.com/apache/nuttx/pull/12264

@almir-okato is this supposed to work for esp32s3 with 32MB flash?
i've got:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:2
load:0x3fc9def0,len:0x2b50
load:0x40374000,len:0xacf0
SHA-256 comparison failed:
Calculated: 1537b56fc55c4dec244926d9c9c4a21d13bff2c351d5a4f1979c9469d4074ea5
Expected:<PHONE_NUMBER>270000000000000000000000000000000000000000000000000000
Attempting to boot anyway...
entry 0x40374fcc
*** Booting NuttX ***
dram: lma 0x00000020 vma 0x3fc9def0 len 0x2b50   (11088)
iram: lma 0x00002b78 vma 0x40374000 len 0xacf0   (44272)
padd: lma 0x0000d878 vma 0x00000000 len 0x2780   (10112)
imap: lma 0x00010000 vma 0x42030000 len 0x9b55c  (636252)
padd: lma 0x000ab564 vma 0x00000000 len 0x4ab4   (19124)
dmap: lma 0x000b0020 vma 0x3c000020 len 0x287ec  (165868)
total segments stored 6
AB[CPU1] nx_mount: found procfs
[CPU1] esp32s3_spiflash_alloc_mtdpart: ESP32-S3 SPI Flash information:
[CPU1] esp32s3_spiflash_alloc_mtdpart:  ID = 0x0
[CPU1] esp32s3_spiflash_alloc_mtdpart:  Status mask = 0xffff
[CPU1] esp32s3_spiflash_alloc_mtdpart:  Chip size = 16384 KB
[CPU1] esp32s3_spiflash_alloc_mtdpart:  Page size = 256 B
[CPU1] esp32s3_spiflash_alloc_mtdpart:  Sector size = 4 KB
[CPU1] esp32s3_spiflash_alloc_mtdpart:  Block size = 64 KB
[CPU1] esp32s3_spiflash_alloc_mtdpart:  MTD offset = 0x180000
[CPU1] esp32s3_spiflash_alloc_mtdpart:  MTD size = 0x1e80000
[CPU1] esp32s3_ioctl: cmd: 1537
[CPU1] esp32s3_ioctl: blocksize: 256 erasesize: 4096 neraseblocks: 4096
[CPU1] esp32s3_ioctl: return 0
[CPU1] mtd_partition: ERROR: sub-region too big
[CPU1] esp32s3_spiflash_alloc_mtdpart: ERROR: Failed to create MTD partition
[CPU1] ERROR: Failed to alloc MTD partition of SPI Flash
[CPU1] ERROR: Failed to initialize SPI Flash

i can use the same board with ESP32S3_APP_FORMAT_LEGACY.
(using CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y)


Logo fetch from the url on home page right bottom side.

Hi Team,
We need to fetch our cortication logo of DUNS from this url

this need to be only on the home page footer right side corner,

See delayed.js to learn how to load an external script from within an ES module.


Provide alignment function on crate types to get the alignment size.

Is your feature request related to a problem? Please describe.
Sometimes one wants to use the alignment size of a given slice as a constant.
Currently that requires duplicating A::size() for the given A.
Describe the solution you'd like
AlignedBytes, AlignedSlice and AlignedBlock should all have an alignment function that
returns the alignment size. It must be noted in the docs that this might not reflect the actual alignment (it might be lower than the actual alignment).

Implemented as


bulletTrain.segment is throwing an error.

I'm using React v16.12.0
When I use bulletTrain.segment, I get the error below:
bullet_train_client__WEBPACK_IMPORTED_MODULE_1___default.a.segment
Full Code

const environmentID='dfsssffsdsfsfsdsdsggdsfs';

export const useBulletTrain = () => {
  const [hasLoaded, setHasLoaded] = useState(false);
  const [enableTimeAttendance, setEnableTimeAttendance] = useState(false);
  const [belongsToTrailUsers, setBelongToTrialUsers] = useState(false);

  useEffect(() => {

    bulletTrain.identify('yhjgjgjhgjgjgjg');
    bulletTrain.init({
      environmentID,
      defaultFlags: {
        enable_time_attendance: false
      },
      onChange: () => {
        try {
          bulletTrain.segment("trial_users");
        } catch (error) {
          console.log({error}) // error caught here
        }

        setHasLoaded(true);
        setEnableTimeAttendance(bulletTrain.hasFeature("enable_time_attendance"));
        setBelongToTrialUsers(bulletTrain.segment("trial_users"));
      }
    });
  }, []);

  return { hasLoaded, enableTimeAttendance, belongsToTrailUsers };
};

bulletTrain.segment is not a function that we have, what are you trying to achieve?

You cannot get whether a user belongs to a segment directly, we may allow such things in the future but that is perhaps a misuse of the library.
The idea of segments is to control feature flags with segment overrides.
For your scenario of "trial users" you have 2 options:
Option 1: use setTrait and getTrait to detect and set whether the user is a "trial user".
Although this approach is simple it may not give you the most flexibility.
Option 2: Create a feature called "trial_user" and override it for a segment.
I'll explain with some screenshots here to give you a better idea of how this would work:
Step 1 : Create your feature flag for trial users, using whatever default you feel is best for on or off

Step 2: Create a segment that drives the feature flag

Step 3: Set the feature flag to be turned on for that segment

Your code would then be driven by bulletTrain.hasFeature. You'd also get the additional benefit of being able to override this feature on a per user basis / add other segments that have this feature enabled e.g by an email address regex.

Hopefully this answers your question! If not feel free to reply and I'll get back to you.

Hi @kyle-ssg, thanks for suggesting this approach. Works great.


full cov and bug fixes

variety of network failure scenarios tested
two bugs found and fixed:

lookup wasn't returning an eventemitter - is now
utp errors were being swallowed, now they propagate

coverage at 100%:

Looks great!


Crash in ~CriticalSection

https://sentry.adguard.com/adg/adguard-mac/issues/19086/?query=is:unresolved

PR1110

AdGuard should not crash frequently with this stacktrace

No need to test, no new crashes in Sentry.


Login with existing API key

When clicking the Login button on the Xata: Explorer I am always directed to the page "New API key for Xata VSCode extension". Once I log out I have no option in the UI to log back in with an existing key. It would be great to provide an option "Login with existing API key".
Also, for this purpose, when creating an API key for the extension it would be great to expose it to the user so they can keep it to log back in. This way the user won't need to sign in to their Xata app account on a browser session every time they would like to login to the Xata VS Code extension.

Thanks for the feedback!
You can actually already log with an existing key

But since this is not the "prefered flow", this is not on the main flow and there just as backup plan if something doesn't work 😁
For the idea of exposing the key to the user… I see why you want this but the idea is more that you log only one time and that's it (and this is the same for our CLI).
Also it's a best practice to not share token between usages, so if one token is corrupted, you can granulary revoked it.
Maybe, what you want, is a way to select an existing token instead of creating a new one in the app.xata.io (but this can only  regenerate the token, for security reasons)

Thanks @fabien0102 , great to see the option to Login with token already exists and can be accessed in Settings -> Command Palette -> > Xata: Login with token.
Hint: After installing the extension for the first time, VS Code might need to be restarted for the command to be available. To me, this command was available in the palette list but when I run it I received an error popup. It was resolved after restarting Visual Studio.

Since there is a method to login with API key as mentioned above, I will go ahead and close this. Thanks!


Support music_pb2 / generator_pb2 type checking

Generated python files had no type information so users who use modules under  note_seq.protobuf with type checker like mypy need to add lots of comments to make lines be ignored by type checkers. I added pyi stub files without changing module codes with several protobuf packages listed in /note_seq/protobuf/README.md. It should helps users use NoteSequence more comfortably and make full use of NoteSequence functions and representations in practical and creative music application!
mypy-protobuf is not tested with protobuf==3.6.1 but it worked. I confirmed some type checker outputs with offiial sample snippet like below.
Before

After

Thank you for pointing this out! I just noticed that the latest version of protoc natively supports pyi outputs, so I think we'll prefer to stick with that. I'm working on a PR for it and should have it committed soon: #63

@atsukoba I release a new pip package of note-seq, but I think the type hints weren't included in the new package. Can you verify if the hints are working for you, and if not, would you mind looking into what modifications are needed to setup.py to include them?

@cghawthorne Thank you for your commit and release. I confirmed that the new release (0.0.4) package doesn't contain stub files. According to mypy docs, we should add the argment package_data: Mapping[str, list[str]] to setuptools.setup function.
for example, we can add the arg below to track stub files in the package.
package_data={"note_seq": ["*.pyi", "**/*.pyi"]}

Thanks! Could you try v0.0.5 of the pip package? Hopefully that solves it!

@cghawthorne Thank you for updating pip package. I checked v0.0.5 and found stub pyi files for generated .py files. Type checkers on my local environment well works with the new release.


Add support for @RequestBody in WebComponentProcessor and update web samples accordingly

I'm trying to run my Spring Boot Application 2.4.4 docker image using org.springframework.experimental.aot 0.9.1 and when I try to converter @RequestBody parameter into one of my class EmpresaDTO  is throwing me an error:
Commands
$ gradle :bootBuildImage
$ docker run --rm -p 8080:8080 docker.io/library/application:0.0.1

Stacktrace
2021-03-29 14:00:23.737  INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
Mar 29, 2021 2:00:23 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class io.prosperare.asset.manager.controller.empresas.EmpresaDTO]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `io.prosperare.asset.manager.controller.empresas.EmpresaDTO` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: (PushbackInputStream); line: 2, column: 5]] with root cause
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `io.prosperare.asset.manager.controller.empresas.EmpresaDTO` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: (PushbackInputStream); line: 2, column: 5]

However, my class has the default constructor. Am I missing something?
public class EmpresaDTO {

	public long id;
	public String cnpj;
	public String nomeFantasia;
	public String razaoSocial;

	public EmpresaDTO() {

	}
}

ps1: When I execute gradle bootRun it works fine, however, when I build a native image and run inside a docker container it does not.
ps2: When I do not convert to native image, and run inside a docker container It also works fine
Am I missing something?

It may be that we have to refine our WebComponentProcessor to handle this use case, could you please provide a repro project ?

Following the Github project as requested.
https://github.com/diogopeixoto/spring-native-example

EmpresaDTO must be registered in reflect-config Jackson uses reflection for serialisation

Added @TypeHint to my @SpringBootApplication class and worked.
Thanks @sgyeme

Ok so it seems we have a combination of 3 issues here:

@ControllerAdvice is not supported, see #498 related issue
We missed field reflection entries, this is fixed via 537bb4a7f80ed5746d86d05dc656d127a9d48cda
This (multi-module) Gradle project demonstrates that sometimes EmpresaDTO reflection entries are generated, sometimes not.

About the third point, I made a diff between the with/without versions, and I see 2 differences:

io.prosperare.asset.manager.controller.empresas.EmpresaDTO
org.springframework.http.HttpEntity

@bclozel @aclement Any thoughts about the potential source of this transient issue?

@sdeleuze I would say next step check the spring.components created in either case (failing not/failing) - if that is different check the classpath used for the failing/not-failing case.

I've found the problem that triggers the reflection data being there/absent depending on the run. I've created #729 to track that problem. I'm closing this issue since it's been superseded by others in the meantime.
Thanks!


add texas instruments repo badge

BUG=#407

I'm unsure what the reason for the failing CLA check is. I will look into it Monday PT and get back to you.

@TI-AviBerko, it appears that this may be your first PR to Tensorflow. Below is the error message with a link to how you can sign the CLA:
We couldn't find a Contributor License Agreement (CLA) for some of the contributors shown below. All contributors listed must be covered under a CLA for this pull request to be merged.
If you are not currently covered under a CLA, please visit https://cla.developers.google.com. Once you've signed (or fixed any issues), please request a rescan from a repository manager.


Trinity Fails To Restart

py-evm Version: Trinity v0.1.0-alpha.1 "Valentina Tereshkova"
OS: Ubuntu 17.10
Python Version (python --version): Python 3.6.3
Environment (output of pip freeze):

aiohttp==2.3.10
asn1crypto==0.24.0
async-lru==0.1.0
async-timeout==3.0.0
attrdict==2.0.0
backcall==0.1.0
certifi==2018.4.16
cffi==1.11.5
chardet==3.0.4
coincurve==7.1.0
command-not-found==0.3
cryptography==2.2.2
cytoolz==<IP_ADDRESS>
decorator==4.3.0
distro-info==0.17
eth-abi==1.1.1
eth-account==0.2.3
eth-bloom==1.0.0
eth-hash==0.1.4
eth-keyfile==0.5.1
eth-keys==0.2.0b3
eth-rlp==0.1.2
eth-utils==1.0.3
hexbytes==0.1.0
idna==2.6
idna-ssl==1.0.1
ipython==6.4.0
ipython-genutils==0.2.0
jedi==0.12.0
keyring==10.4.0
keyrings.alt==2.2
language-selector==0.1
lru-dict==1.1.6
lxml==4.2.1
multidict==4.3.1
netdisco==1.4.1
netifaces==0.10.7
parsimonious==0.8.0
parso==0.2.1
pexpect==4.6.0
pickleshare==0.7.4
plyvel==1.0.4
prompt-toolkit==1.0.15
ptyprocess==0.5.2
py-ecc==1.4.2
py-evm==0.2.0a19
pycparser==2.18
pycrypto==2.6.1
pycryptodome==3.6.1
pyethash==0.1.27
Pygments==2.2.0
pygobject==3.24.1
pysha3==1.0.2
python-apt==1.4.0b3
python-dateutil==2.7.3
pyxdg==0.25
PyYAML==3.12
requests==2.18.4
rlp==1.0.1
SecretStorage==2.3.1
simplegeneric==0.8.1
six==1.11.0
ssh-import-id==5.7
toolz==0.9.0
traitlets==4.3.2
trie==1.3.7
trinity==0.1.0a3
ufw==0.35
unattended-upgrades==0.1
uPnPClient==0.0.8
urllib3==1.22
wcwidth==0.1.7
web3==4.2.1
websockets==5.0.1
yarl==1.2.4
zeroconf==0.20.0

What is wrong?
After noting the Too many files error in #830 I stopped the process, cleaned up the logs, then attempted to restart the process, but it does not start, I just get these errors:
Process SpawnProcess-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.6/dist-packages/trinity/utils/logging.py", line 99, in inner
    return fn(*args, **inner_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/trinity/main.py", line 136, in run_database_process
    serve_chaindb(chain_config, base_db)
  File "/usr/local/lib/python3.6/dist-packages/trinity/chains/__init__.py", line 180, in serve_chaindb
    server = manager.get_server()  # type: ignore
  File "/usr/lib/python3.6/multiprocessing/managers.py", line 482, in get_server
    self._authkey, self._serializer)
  File "/usr/lib/python3.6/multiprocessing/managers.py", line 139, in __init__
    self.listener = Listener(address=address, backlog=16)
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 438, in __init__
    self._listener = SocketListener(address, family, backlog)
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 576, in __init__
    self._socket.bind(address)
OSError: [Errno 98] Address already in use
Process SpawnProcess-2:
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.6/dist-packages/trinity/utils/logging.py", line 99, in inner
    return fn(*args, **inner_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/trinity/main.py", line 158, in launch_node
    node = NodeClass(chain_config)
  File "/usr/local/lib/python3.6/dist-packages/trinity/nodes/full.py", line 19, in __init__
    super().__init__(chain_config)
  File "/usr/local/lib/python3.6/dist-packages/trinity/nodes/base.py", line 54, in __init__
    self._db_manager.connect()  # type: ignore
  File "/usr/lib/python3.6/multiprocessing/managers.py", line 489, in connect
    conn = Client(self._address, authkey=self._authkey)
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 487, in Client
    c = SocketClient(address)
  File "/usr/lib/python3.6/multiprocessing/connection.py", line 614, in SocketClient
    s.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused

How can it be fixed
I don't know...

Related to https://github.com/ethereum/py-evm/issues/808

I do indeed run with supervisor and those steps did indeed allow my node to start again. Thanks, feel free to close or leave open as you see fit.

Leaving open because we need to explore how we can shutdown gracefully in situations like this.

I've experienced this without supervisord. Removing the dangling IPC socket files "solved" the issue for me. Forgot to check whether the LOCK file was still around.

Here's a somewhat hackish proposal for an interim solution if we can't figure how to prevent this from happening just now.
Write a command such as repair that can be used as trinity repair and basically does all the things that @pipermerriam listed above to get the node unstuck.
Any unresolved errors at startup such as the "Address already in use" error should then bring up a user friendly message that educate the user about the trinity repair command. I think invoking that command should always be a deliberate decision by the user and note done automatically because e.g. "Adress already in use" may be a totally legitimate thing in some situations and may not be necessarily caused by an unclean shutdown.
This is obviously more a workaround than a proper fix so I'm just throwing this idea in as an interim solution.

👍
$ trinity fix_unclean_shutdown

It just occurred to me that even if the underlying issue that causes these unclean shutdowns is solved, such a fix-unclean-shutdown command still seems valuable. There are still situations (such as power outages) would lead to left ipc pipe files etc.
The most critical part of this though seems to find a cleaner way for pkill python3 because obviously that could affect other programs as well.
Ideally, the Trinity processes would be labeled (e.g. trinity-main, trinity-networking and trinity-database) so that they can be identified accordingly. That said, labeling processes seems to be a messy business (also considering different OSes).

I don't think we have this specific issue anymore. Previously I was able to reproduce this quite consistently (using trinity console). Now, that doesn't seem to appear anymore (there have been some related fixes).
I think we can close this issue but we may want to extract the proposed fix-unclean-shutdown command into a separate issue. That said, it seems more tricky than initially expected because it seems to be a pain to reliably name processes which in turn makes it quite hard to identify the processes that we want to kill.

I think we can still create a fix-unclean-shutdown command that is useful without the pkill part.  Maybe  just add helpful logging output to instruct the user that they might have to kill a running process and some basic instructions on how to do that and a big fat warning that they should know what they are doing before running pkill commands.

Removing the dangling IPC socket files "solved" the issue for me.

This is weird. The socket file isn't removed for me on shutdown, but that doesn't seem to be a problem for starting trinity back up. Maybe an OS-specific behavior?

Just making a note here in case this helps anyone in the future:
I faced this issue today while running trinity from master, when I accidentally closed my terminal.
I got the following error:
   ERROR  08-03 01:39:05               asyncio  Task exception was never retrieved
future: <Task finished coro=<AsyncioIsolatedPlugin._prepare_start() done, defined at /Users/voith/Projects/new-ethereum/trinity/trinity/extensibility/asyncio.py:29> exception=ConnectionRefusedError(61, 'Connection refused')>
Traceback (most recent call last):
  File "/Users/voith/Projects/new-ethereum/trinity/trinity/extensibility/asyncio.py", line 45, in _prepare_start
    self.do_start()
  File "/Users/voith/Projects/new-ethereum/trinity/trinity/plugins/builtin/syncer/plugin.py", line 296, in do_start
    node = NodeClass(self.event_bus, trinity_config)
  File "/Users/voith/Projects/new-ethereum/trinity/trinity/nodes/full.py", line 21, in __init__
    super().__init__(event_bus, trinity_config)
  File "/Users/voith/Projects/new-ethereum/trinity/trinity/nodes/base.py", line 58, in __init__
    self._db_manager = create_db_consumer_manager(trinity_config.database_ipc_path)
  File "/Users/voith/Projects/new-ethereum/trinity/trinity/db/eth1/manager.py", line 84, in create_db_consumer_manager
    manager.connect()
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/managers.py", line 532, in connect
    conn = Client(self._address, authkey=self._authkey)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/connection.py", line 492, in Client
    c = SocketClient(address)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/connection.py", line 619, in SocketClient
    s.connect(address)
ConnectionRefusedError: [Errno 61] Connection refused

trinity fix-unclean-shutdown did not work for me.
I had to do:
rm /Users/voith/.local/share/trinity/ropsten/ipcs-eth1/*.ipc

It should definitely clean those IPC files up for you. Master is pretty crashy right now, and I had to do the same thing earlier today.
Note that you must run the fix-unclean-shutdown with the same command flags as you ran the original trinity with. For example, if your trinity --ropsten shell crashed, then you need to run trinity --ropsten fix-unclean-shutdown.

trinity --ropsten fix-unclean-shutdow

@carver Missed the ropsten flag, Thanks.


Timer endpoints

Coverage decreased (-0.05%) to 92.991% when pulling 01811550ce392dc809137cfeabab96d6f91083b0 on timer-endpoints into be61c8b6f1091cd8941aa9b1b4666d5fa0df7460 on master.

Coverage decreased (-0.05%) to 92.991% when pulling cb870db3bb7b8469552a206cba0e62ac455aa5dc on timer-endpoints into be61c8b6f1091cd8941aa9b1b4666d5fa0df7460 on master.

Coverage decreased (-0.03%) to 93.01% when pulling cb870db3bb7b8469552a206cba0e62ac455aa5dc on timer-endpoints into be61c8b6f1091cd8941aa9b1b4666d5fa0df7460 on master.

Coverage decreased (-0.03%) to 93.01% when pulling 1582f0ac7cd58d5d91830db2b18b0af75d910c2b on timer-endpoints into be61c8b6f1091cd8941aa9b1b4666d5fa0df7460 on master.


bodyParser of kit

thank you for open source reactql.
i found a bug about bodyParser.
when clone the kit by reactql cli, bodyParser middleware is not work.
but if change the code in server.js.
use bodyParser middleware after instance Koa.
bodyParser is work.
`const app = new Koa()
// Adds CORS config
.use(koaCors(config.corsOptions))
// Error wrapper.  If an error manages to slip through the middleware
// chain, it will be caught and logged back here
.use(async (ctx, next) => {
try {
await next();
} catch (e) {
// If we have a custom error handler, use that - else simply log a
// message and return one to the user
if (typeof config.errorHandler === 'function') {
config.errorHandler(e, ctx, next);
} else {
console.log('Error:', e.message);
ctx.body = 'There was an error. Please try again later.';
}
}
});
if (config.enableBodyParser) {
app.use(require('koa-bodyparser')(
// Pass in any options that may have been set in userland
config.bodyParserOptions,
));
}`

Apologies for the generic response, but I've released a new v3.0 kit, which has been re-written from the ground up.
It bumps the ReactQL stack to Webpack 4, React 16.4, Apollo Client 2.0, and adds Styled Components, full SSR (even in development), and has been re-written in Typescript. It's leaner, faster and has been brought completely up-to-date.
If you're still using ReactQL (and I appreciate you may not be, given the time lag in my response), I'd recommend checking out the new kit to see if your issue has been answered. If not, please feel free to post a new issue at https://github.com/leebenson/reactql


Yelp dataset

How is the Yelp dataset constructed?
The paper mentions that there are 1.5M+ samples in the original dataset, but you used 280K + 19K samples for the polarity version. How did you construct these small ones? Are they available for download?
Thanks!

The download link is available in the repo readme


Test randomly failed in CI

The CI tests failed only once after this commit: https://github.com/pipalacademy/capstone/commit/163710d96a81ba12cdec839433387a39351db7fc  which only makes a change in the HTML template.
nomad.Nomad().job.get_deployment(job_id) isn't supposed to return None . If the job doesn't exist in nomad, it should fail with an exception but that didn't happen. The test started passing after a change which handled returning None but still didn't change the behaviour overall. I reverted this change in another branch and found that it actually made no difference and the tests were passing without it also.
This felt random and worth documenting.

This was the error and the line which caused it:
File "/home/runner/work/capstone/capstone/capstone/deployment.py", line 173, in run
    _, logs, ok = self.check_health(job_id)
File "/home/runner/work/capstone/capstone/capstone/deployment.py", line 262, in check_health
    status = depl["Status"]
TypeError: 'NoneType' object is not subscriptable

depl is the dict returned by nomad.Nomad().job.get_deployment(job_id) and it can never be None. I checked the source code:
[1] https://github.com/pipalacademy/capstone/blob/d47af6fda2f90bc1bcdec721ccb6820ca676d3ff/capstone/deployment.py#L256-L260
[2] https://github.com/jrxFive/python-nomad/blob/364f063a061d95a4ae4500580930bb0bb42ba134/nomad/api/job.py#L126-L138
[3] https://github.com/jrxFive/python-nomad/blob/364f063a061d95a4ae4500580930bb0bb42ba134/nomad/api/base.py#L121
There is no way for _request to return a None value. All paths either return a response or raise some exception. This is very weird.


Added Japanese translation

Thanks. Nice work !

Hi,
There is few more strings to translate starting here: https://github.com/llaske/sugarizer/blob/master/locale.ini#L948
Could you have a look on it ?
    Lionel


A few lintings

The missing interpolator seems to be a mistake; the tuple adaptation a matter of style or tolerance.
The unused imports were unused.
A possible build tweak to lint against 2.12.x, whitelisting certain dubious practices, as when Woody Allen as Miles Monroe wakes up in Sleeper and everything bad for you is good. That was back when Woody Allen was good.
Left as separate commits for easy cherry-picking and choosing.

PackExamples fakes out the "selecting a val from DelayedInit" test because the selection is examples.this.PackExamples.sb instead of PackExamples.this.sb. Turned off that lint, but left lint on for examples. Certainly examples are the primary source for newcomers wondering "what do I need to import?"

Codecov Report

Merging #799 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #799   +/-   ##
=======================================
  Coverage   87.99%   87.99%
=======================================
  Files          64       64
  Lines        1499     1499
  Branches        5        5
=======================================
  Hits         1319     1319
  Misses        180      180

Impacted Files
Coverage Δ

core/src/main/scala/shapeless/default.scala
0% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/hlists.scala
63.15% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/ops/records.scala
89.32% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/singletons.scala
0% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/ops/coproduct.scala
85.65% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/zipper.scala
0% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/lazy.scala
0% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/generic1.scala
0% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/typeclass.scala
0% <ø> (ø)
:arrow_up:

core/src/main/scala/shapeless/ops/hlists.scala
93.31% <ø> (ø)
:arrow_up:

... and 6 more

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 e70f01e...b55d558. Read the comment docs.

Sorry, I don't understand what codecov is trying to tell me.

@som-snytt thanks for this!
I also can't make a lot of sense of the codecov output ... I think I'm going to take it out altogether.

This all looks good, but I'm going to punt it until 2.4.0.


Initial plugins proposal

For https://github.com/kubernetes-incubator/kube-aws/issues/509

Codecov Report

Merging #751 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #751   +/-   ##
=======================================
  Coverage   34.28%   34.28%
=======================================
  Files          55       55
  Lines        3077     3077
=======================================
  Hits         1055     1055
  Misses       1863     1863
  Partials      159      159

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 0a693ab...530ec66. Read the comment docs.

@c-knowles I'm still reconsidering/updating my implementation proposal of the plugin system at https://gist.github.com/mumoshu/3fa94cee7be23f5a8765c10dd6a91861#file-example-plugin-yaml.
For now, I'm rather going to provide the user <plugin name>/plugin.yaml for defining all the customizations to cluster.yaml, stack-templates, assets, etc, other than logics(like validations and defaulting which seems not feasible in yaml)
WDYT?

@mumoshu if you think that's a good in road to get started I'm happy to roll with that and see where we get to.

Good point!
I have been scratching my head about that but I'm now considering grpc+yaml
by using hashicorp/go-plugin as a plugin system over grpc while marshalling
complex params as yaml.
I don't like to implement a yet another plugin system of my own, at least.
I considered golang's native plugin but it does't work on macOS until go
1.9.
WDYT?
2017年7月13日(木) 20:10 Maxim Ivanov<EMAIL_ADDRESS>
@redbaron commented on this pull request.
In proposals/plugins.md
https://github.com/kubernetes-incubator/kube-aws/pull/751#discussion_r127189142
:

Some plugins will be provided by kube-aws and some will be specific to a user

Both will use the same mechanisms to hook into kube-aws/deploy etc

Both types of plugins will be enabled and configured in the same way
+* Built-in plugins versus contrib plugins

kube-aws will accept contrib plugins for features considered to be applicable to many users

Contrib plugins will be enabled in a similar way but specifically marked as not fully

battle tested; they will still be configured in the same way
+* Plugins will be allowed to act across the whole cluster or act on a specific set of node pools, this should form part of the base configuration for which plugins to run

+## Stages
+
+The workflow for kube-aws should consist of the following stages, each of which will be called on the plugins in turn. Each stage will complete across all plugins prior to proceeding to the next stage. All plugins will receive input based on the whole setup, not just their own. This will allow them to hook into parameters from other plugins or core logic. The stages are not intended to become kube-aws commands and should mostly be transparent to a kube-aws user.
+
+1. initialise

Perform any prerequisite setup required such as calls to external system. Configuration, presence of files etc can be validated.

Input - configuration

how plugins communicate with core? will it be YAML? JSON? binary
protocols? which communication channel is used? pipes? socket? passed file
descriptors?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/kube-aws/pull/751#pullrequestreview-49746185,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABV-SHvg93LBmqgjNiSxiFlIp-Ut8y-ks5sNfs9gaJpZM4OSBem
.

My vote goes for the hashicorp plugin because it's available now, although I've never used it before so I don't actually mind picking another. I'd like to switch to native go plugins when it's available. Grpc seems a natural fit as well.

@c-knowles Thanks for your efforts on this! #791 should provide the first impl of this.


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2023-05-15T01:33:08+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
f57cf05ccee913f2835804dbc6d230d924eb4f0b
link
true
/test integ-security-multicluster

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.


Dagger Engine should include everything needed for multi-arch builds: binfmt, QEMU

We should include binfmt in our Dagger Engine. This need was described in this issue https://github.com/dagger/dagger/issues/1371#issuecomment-1018407356 and has emerged in the de facto implementations of our multi-arch demos where we install binfmt for QEMU:

https://github.com/kpenfound/greetings-api/blob/main/.circleci/config.yml#L11-L12
https://github.com/kpenfound/greetings-api/blob/main/.github/workflows/test.yml#L11-L13
https://gist.github.com/jpadams/ae659037469940fc5323ae8e79b59dbe#file-ci-for-ecs-demo-L7

@sipsma @aluzzardi  what do you think?

To clarify one thing, binfmt isn't just a package that needs to be installed, the docker run --rm --privileged tonistiigi/binfmt:latest --install all command actually results in the kernel being configured with qemu settings at runtime (basically registers emulators by writing to magic files under /proc/sys: https://docs.kernel.org/admin-guide/binfmt-misc.html).
We could make it so that our engine image does that automatically when it starts. My hesitation is that this is a kernel setting that's not namespaced to the container (afaik, apparently there was a patch submitted to the kernel to namespace this but I don't see that it was ever merged).
It's thus possible that changing this setting could thus interfere with something else users are running on the machine where the engine image is running. So even if we do run this by default we probably need a way to disable it, which means we need to find a way of exposing this knob to users when provisioning. In general we are trying to avoid any such knobs as much as possible...
So, tl;dr it's kind of complicated. I think for now I'd like to leave it as is unless it's becoming an active pain point for users.

@sipsma says to leave as-is for now, so closing


Scroll position?

Hi. One thing I would like to do is in my custom tab bar component get access to the scroll position as a user is swiping between tabs so that I can have an animation in my tab bar component that animates with you as you scroll. Is this possible?
Thanks!

You get a position prop which you can use to do that.

https://snack.expo.io/@satya164/react-navigation-custom-tabbar-example

Oh, amazing, thanks :)

Hello,
I'm using react-navigation 4.x with react-navigation-tabs.
It seems the API has changed and position is now an instance of AnimatedCond from react-native-reanimated lib, and so the provided snack is no longer working.
I'm a beginner regarding animations and I can't figure out how to use position to animate my custom header, could someone provide a snack that works with the latest version?
Thanks!

I have updated the snack.

Thank you!

Is it possible to get this position value outside of the tabbar as well?
I want to animate an image across my app based on the routes


Disable hermetic builds for cli image workaround

In the #160 PR the binary cli tools are fetched using ec image extract, hence we'll need the buildah task to allow network access.
This should be reverted once we have a better solution for the "too many base images overflow tekton task result" problem.

I'm not 100%, but I think this will be needed if we go ahead with the cli image build workaround in #160.

/ok-to-test


VM Nuget Package Publishing failed

... with an authorization error
https://github.com/CodebreakerApp/Codebreaker.Xaml/actions/runs/9874521215/job/27269145085

With this, we'll switch to the 4.x version number with the next preview packages


Add subcontract invocation test.

Added two smart contracts (actually in another PR by mistake), one just prints (logs) hello, another one invokes smart contract by given id and function name.
Wanted to add test for balance to be sure that both smart contracts got executed, but for some reason its always different amount of gas taken.

#155

CallContract and SpawnContract are copied from #174

Renamed dummy to hello_world.
rustfmted both smart contracts used in test


Point.java has comments using ISO encoding incompatible with UTF-8

Not a big deal but it prevents compilation on Linux or OSX after a git clone of the repo.
It can be fixed with iconv command though.

Fixed in pull request #10


Change PyPSA-Eur-Sec licence from copyleft GPLv3 to more liberal MIT

Similar to PyPSA (https://github.com/PyPSA/PyPSA/pull/274) and PyPSA-Eur (https://github.com/PyPSA/pypsa-eur/pull/276), with this pull request the licence for PyPSA-Eur-Sec would be changed from the copyleft GNU General Public License Version 3 (GPLv3) to the more liberal MIT License.
This change is suggested because the benefits of a more liberal license seem to outweigh the benefits of a copyleft approach.
For a discussion of the benefits of either license see https://github.com/PyPSA/PyPSA/pull/274
This change requires the consent of all people who have substantially contributed code to PyPSA-Eur-Sec. If you consent, please reply with a :heavy_check_mark: below. If you do not consent, please reply with a :x: below. Please respond by 30th September 2021. Please feel free to also discuss below. Thanks for your help!
Consent Overview
@nworbmot
@martavp
@lisazeyen
@fneum :heavy_check_mark:
@leonsn
@martacki :heavy_check_mark:

✔


Item tag does not accept variables

Grafana 8.1.2
Zabbix 5.4.3
Grafana-Zabbix Plugin 4.2.2

Item tag does not accept variables as input, in the Query inspector it looks like the correct value is passed:

But the Item field is not filled if an variable is used.

I have same problem

I'have error too

I'have error too

hello when will be fix of this issue ?

When I try to use variable as a part of item tag, it adds it to the query with brackets. And it ruins regex.


chore(dependencies): Unpin org.jetbrains.kotlin

Bumping kork on front50 is failing because at some point recently we upgraded kotlin, and it looks like it has a new artifact that isn't in the pinned version.
I'm not sure why the pin was added initially, but the tests all pass when it is removed. When this is removed, kork can successfully be bumped.

This should unblock the auto-bump in #767 that is now quite a bit behind the latest kork.
@ajordens : Do you remember why this was pinned initially and if there's a reason we shouldn't un-pin it?


ZEPPELIN-1430. Display appId and webui link in LivyInterpreter's output

What is this PR for?
For now, it is hard to figure out what the yarn application of the livy session represent, it would be better to display the appId and webui link in the output of LivyInterpreter for diagnosing purpose. It can also be applied to the native SparkInterpreter, but could be done in another ticket.
What type of PR is it?
[Feature]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1430

How should this be tested?
Tested manually
Screenshots (if appropriate)

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@prabhjyotsingh @Leemoonsoo @felixcheung @bzz @minahlee Please help review.
I changed the livy output display style from plain text to angular in order to display the link. And for now it is only applicable in LivyScalaInterpreter, I can add it to Python/R interpreter as well when this approach is acceptable.

Here is before and after of this PR that I observe, and I see these 2 changes

now it does not stream output, i.e. it waits for the entire paragraph execution to be finished, and returns result.
and I see empty line between "1" and "2" where I wrote "Thread.sleep()", not a big deal, but it wasn't earlier.

Before:

After:

I think displaying result with additional information is quick and simple approach. However, i think there're some downsides like

can not leverage output streaming
when user output want to use different zeppelin display system, like %table, %html, etc, it may be conflict with the feature this PR trying to provide.

I think better approach would be support multiple interpreter result and display additional informations as a one of separate interpreter result with it's own result type.
Although it'll going to be very large work, i think resolving ZEPPELIN-212 and build this feature on top of it, is right approach.

Thanks for the info, I agree that the long term solution would be using  support multiple interpreter result. But for livy interpreter, it is very hard to figure out which spark app each session represent. And I think multiple user environment is common for livy users so additional info would be very helpful for livy users. So how about adding a new option to livy interpreter for this feature and by default it is turned off ? When  support multiple interpreter result is implemented, we can turn the feature on by default.

Add @felixcheung for review.

I think the problem is if the output is a DataFrame now it can't be turned into a table since %angular is already there because only the first type is picked up? That would seem to me a bigger problem.
Also, while I think it's important to support multiple output types, for interpreter output customization like this it might be an opportunity to create a new framework to allow this to plug in to the paragraph "gear" menu or similar UX decorators? This could be a great opportunity to add Spark UI web link to the Spark interpreter group too.
I agree with @zjffdu that this is important to have in the short term, and I think it's a good idea if we change the output type if only under the switch for Livy interpreter only.

@felixcheung DataFrame won't be affected, as it is handled in %livy.sql (LivySparkSQLInterpreter). And since ZeppelinContext is not available in livy, so you can not user z.show(df) in livy

@prabhjyotsingh @felixcheung @Leemoonsoo I just update the PR to add a flag to display appInfo. By default it is false.

LGTM except for one question

Also, can you update the doc as well.
Rest LGTM.

Will merge this if no more discussion.

@zjffdu and @prabhjyotsingh the new static Maps can these be converted to ConcurrentHashMaps's to prevent possible future contention with multiple users/threads.
https://dzone.com/articles/java-7-hashmap-vs


Add and improve documentation for dimensionality reduction

Improves documentation for the dimensionality reduction function, and adds a jupyter notebook tutorial for the same. I'm not the most familiar with the details of dimensionality reduction, so extra attention to the evaluation metrics / model summary section of the documentation would be appreciated! This is mostly what I could gather from limited information available online.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.33%. Comparing base (5380439) to head (31455e1).
Report is 56 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
- Coverage   63.58%   63.33%   -0.25%
==========================================
  Files          61       65       +4
  Lines        2043     2122      +79
==========================================
+ Hits         1299     1344      +45
- Misses        744      778      +34

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

Hi @fabiocat93, is there anything else that is missing before this can be merged?

you are good!


Docs: Broken link Burst example

The codepen example link is broken in the docs: https://github.com/legomushroom/mojs/blob/master/api/burst.md
Leads to: http://codepen.io/sol0mka/pen/JKWKVR?editors=0010

@Sandstedt why do you think it is broken?

@legomushroom It returns a 404. Maybe it's private? Remember we had a similar issue way back.

@Sandstedt oh I see, please try now

Works great! Thanks!


chore: tidy up ConfigDef to aid README generation

fixes #111
Open questions (see output below for reference):

Is importance level correct for each?
Is order correct?
Do batch size, topics and starting sequence belong under "database" group?

Here is the RST output for the Sink Connector:
Database
^^^^^^^^

``cloudant.url``
  Cloudant database connection URL (eg https://<uuid>.cloudantnosqldb.appdomain.cloud)

  * Type: string
  * Valid Values: <any URL>
  * Importance: high

``cloudant.db``
  Cloudant database name (for sink connector it will be created if it does not exist)

  * Type: string
  * Importance: high

``batch.size``
  Size of batches to send to Cloudant _bulk_docs endpoint

  * Type: int
  * Default: 1000
  * Valid Values: [1,...,20000]
  * Importance: medium

``topics``
  Kafka topic list

  * Type: list
  * Importance: high

Authentication
^^^^^^^^^^^^^^

``cloudant.auth.type``
  Cloudant authentication method (or type)

  * Type: string
  * Default: iam
  * Valid Values: [iam, couchdb_session, basic, noauth, bearertoken, container, vpc]
  * Importance: high

``cloudant.apikey``
  Cloudant database IAM API key, for use with "iam" authentication

  * Type: password
  * Default: null
  * Importance: high

``cloudant.username``
  Cloudant username, for use with "couchdb_session" or "basic" authentication

  * Type: string
  * Default: null
  * Importance: high

``cloudant.password``
  Cloudant password, for use with "couchdb_session" or "basic" authentication

  * Type: password
  * Default: null
  * Importance: high

``cloudant.bearer.token``
  Cloudant bearer token, for use with "bearerToken" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.iam.profile.id``
  Cloudant IAM profile ID, for use with "container" or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.iam.profile.name``
  Cloudant IAM profile name, for use with "container" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.cr.token.filename``
  Cloudant CR token filename, for use with "container" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.iam.profile.crn``
  Clouant IAM profile CRN, for use with "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.auth.url``
  Cloudant auth URL, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Valid Values: <any URL>
  * Importance: low

``cloudant.scope``
  Cloudant scope, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.client.id``
  Cloudant client ID, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.client.secret``
  Cloudant client secret, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

and for the source:
Database
^^^^^^^^

``cloudant.url``
  Cloudant database connection URL (eg https://<uuid>.cloudantnosqldb.appdomain.cloud)

  * Type: string
  * Valid Values: <any URL>
  * Importance: high

``cloudant.db``
  Cloudant database name (for sink connector it will be created if it does not exist)

  * Type: string
  * Importance: high

``batch.size``
  Size of batches to retrieve from Cloudant _changes endpoint

  * Type: int
  * Default: 1000
  * Valid Values: [1,...,20000]
  * Importance: medium

``cloudant.since``
  Last update sequence identifier to resume from. Identified sequence number is included in the result set. See "last_seq" parameter in Cloudant _changes API documentation for details. (example: 1-g1AAAAI9eJyV0EsKwjAUBdD4Ad2FdQMlMW3TjOxONF9KqS1oHDjSnehOdCe6k5oQsNZBqZP3HiEcLrcEAMzziQSB5KLeq0zyJDTqYE4QJqEo66NklQkrZUr7c8wAXzRNU-T22tmHGVMUapR2Bdwj8MBOvu4gscQyUtghyw-CYJ-SOWXTUSJMkKQ_UWgfsnXIuYOkhCCN6PBGqqmd4GKXda4OGvk0VCcCweHFeOjmoXubiEREIyb-KMdLDy89W4nTVGkqhhfkoZeHvkrimMJYrYo31bKsIg)

  * Type: string
  * Default: 0
  * Importance: low

``topics``
  Kafka topic list

  * Type: list
  * Importance: high

Authentication
^^^^^^^^^^^^^^

``cloudant.auth.type``
  Cloudant authentication method (or type)

  * Type: string
  * Default: iam
  * Valid Values: [iam, couchdb_session, basic, noauth, bearertoken, container, vpc]
  * Importance: high

``cloudant.apikey``
  Cloudant database IAM API key, for use with "iam" authentication

  * Type: password
  * Default: null
  * Importance: high

``cloudant.username``
  Cloudant username, for use with "couchdb_session" or "basic" authentication

  * Type: string
  * Default: null
  * Importance: high

``cloudant.password``
  Cloudant password, for use with "couchdb_session" or "basic" authentication

  * Type: password
  * Default: null
  * Importance: high

``cloudant.bearer.token``
  Cloudant bearer token, for use with "bearerToken" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.iam.profile.id``
  Cloudant IAM profile ID, for use with "container" or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.iam.profile.name``
  Cloudant IAM profile name, for use with "container" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.cr.token.filename``
  Cloudant CR token filename, for use with "container" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.iam.profile.crn``
  Clouant IAM profile CRN, for use with "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.auth.url``
  Cloudant auth URL, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Valid Values: <any URL>
  * Importance: low

``cloudant.scope``
  Cloudant scope, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.client.id``
  Cloudant client ID, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

``cloudant.client.secret``
  Cloudant client secret, for use with "iam", "container", or "vpc" authentication

  * Type: string
  * Default: null
  * Importance: low

Is importance level correct for each?

Auth type being high makes sense, but whether any of the other auth props are h/m/l really depends which auth type you are trying to use. Not sure if that means we should make them all low or all high or somewhere inbetween. The subtlety is that some are more important than others so I think if we have iam.profile.id we don't really need the alternative crn/name props.

So I thought about making auth type high, as well as API key. I also made username and password high because we know a lot of users use basic auth, despite our best efforts. And then all the other related stuff has been made low.


Added fetch --all and git switch -c [local] [remote/branch]

Add commands to fetch everything from remote and switch to local branch based of fetched branches

Thanks for the contribution @eztaban

I just released v1.5.0 with your changes :)

Awesome, thank you.
I already updated and saw they were added :)
Mvh
Iason
Sendt fra Proton Mail Android
-------- Oprindelig besked --------
20.12.2024 09.05, Dzhavat Ushev  skrev:

I just released v1.5.0 with your changes :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Fix emotion video button

This PR hides iOS video-playback buttons which get distorted in emotion-widgets due to shopware's scaling of video-elements.

Th white circle is the iOS-Play button. distorted due to transform: scale
Description
Please describe your pull request:

Why is it necessary? see screenshot
What does it improve? hide the button
Does it have side effects? no. this doesn't affect usability as it has no consequences for functionality

Questions
Answers

BC breaks?
no

Tests pass?
yes

How to test?
add a video-element

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-17592.
Please use this issue to track the state of your pull request.

Hey @screeny05 is the PR still relevant? I couldn't see any problems on iOS 10.3 anymore.

True, the ugliness seems to be gone. But still there are the iOS Controls visible. Don't know if that's necessary.

I agree, I'll take a look on it.

Hey @screeny05
I tired to verify with the iOS 11.1 and I can't reproduce the issue anymore. I'll close the PR and ticket, if you're still encountering the issue, please feel free to open up another ticket with a detailed test case.
Best regards, klarstil


Dependency in workspace not recompiled after compiler version change

Steps to reproduce

Create a new crate.
Inside that crate, create another crate. This crate should be both a path dependency and a workspace member of the root crate.
Compile both crates.
Change your compiler version (using rustup, etc.)
Compile the member crate.
Compile the root crate.

You should get an error found crate "member" compiled by an incompatible version of rustc.
Expected behavior
The dependency is recompiled using the new compiler.
You can see this error happening in the rust-rosetta CI here. It seems that the artifacts in the cache were compiled with an older nightly, so the compilation failed.

I’ve experienced the same. After updating the compiler, I tried to run the tests in the nested crate, and I got the following error:
error: found crate `foo` compiled by an incompatible version of rustc [E0514]
help: please recompile that crate using this compiler (rustc 1.12.0-nightly (936bfea94 2016-07-20))

I believe it should have been automatically recompiled.

Thanks for the report! After investigating I've concluded that this is a dupe of https://github.com/rust-lang/cargo/issues/2897, so I'm going to close in favor of that.

@alexcrichton looks like you linked back to this issue 😄  what is the dupe number?

Gah sorry about that! I meant to link to https://github.com/rust-lang/cargo/issues/2855


a warning dialog cannot be closed blured

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

vscode-eslint
dbaeumer
1.2.5

Steps to Reproduce:
random appears.
a warning dialog that cannot be closed and blurs...
the warning is 'typescript service ends in last 10 minutes'

Can you please provide a screenshot of the warning and some repo steps for the problem.

Closing as we need more info to investigate this. Please also try out the latest VSCode insiders releases which contain a number of important fixes


Simplify docs publishing CI/CD step

Description

@sarayourfriend pointed out in a different project that we could simplify the docs publishing steps thanks to the action we were using! I've tested it there and these changes work great :smile:
Testing Instructions

We'll see if the CI/CD works!
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

We cannot simplify them here. With these changes we would destroy the PR previews each time main is published as this approach replaces all the code in the branch with the folder (which will not include the previews).

Ahhh, okay thank you for that context 🙂 I'll close this