[iOS] Capabilities in provisioning profile not being recognised during IPA build

Steps to Reproduce

Execute flutter build ipa --flavor prod --verbose

Expected results:
Archive and IPA to build successfully
Actual results:
Encountered error while creating the IPA:
error: exportArchive: "Runner.app" requires a provisioning profile with the Push Notifications, Associated Domains, and Sign in with Apple features.

Provisioning profile details

All required capabilities are added to the provisioning profile

The profile is added to the Signing Capabilities of the required Configuration
The .xcarchive file is built successfully and uploaded to test flight, but none of the functions requiring Provisioning Profile capabilities (Sign in with Apple, Associated Domains) are working.

Error logs
[        ] Building App Store IPA...
[   +1 ms] executing: xcrun xcodebuild -exportArchive -allowProvisioningDeviceRegistration -allowProvisioningUpdates -archivePath
/Users/user/Documents/GitHub/digital-registers-mobile/build/ios/archive/Runner.xcarchive -exportPath /Users/user/Documents/GitHub/digital-registers-mobile/build/ios/ipa -exportOptionsPlist
/var/folders/2c/6fhg6_rj751cc2b507wmdzmh0000gn/T/flutter_tools.60xmUE/flutter_build_ios.oS4K8E/ExportOptions.plist
[+14859 ms] ** EXPORT FAILED **

                     2022-07-15 11:43:30.208 xcodebuild[26949:69918] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
                     Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
                     2022-07-15 11:43:30.208 xcodebuild[26949:69918] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
                     Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
                     2022-07-15 11:43:30.486 xcodebuild[26949:69918] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path
                     "/var/folders/2c/6fhg6_rj751cc2b507wmdzmh0000gn/T/prod_2022-07-15_11-43-30.485.xcdistributionlogs".
                     error: exportArchive: "Runner.app" requires a provisioning profile with the Push Notifications, Associated Domains, and Sign in with Apple features.

                     Error Domain=IDEProvisioningErrorDomain Code=9 ""Runner.app" requires a provisioning profile with the Push Notifications, Associated Domains, and Sign in with Apple features."
                     UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="Runner.app" requires a provisioning profile with the Push Notifications, Associated Domains, and Sign in with
                     Apple features., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
[   +2 ms] Building App Store IPA... (completed in 14.9s)
[   +1 ms] Encountered error while creating the IPA:
[   +1 ms] error: exportArchive: "Runner.app" requires a provisioning profile with the Push Notifications, Associated Domains, and Sign in with Apple features.

Flutter doctor
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.3.1 21E258 darwin-x64, locale en-GB)
    • Flutter version 3.0.2 at /Users/user/Downloads/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (5 weeks ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/witbybit/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] VS Code (version 1.66.2)
    • VS Code at /Users/user/Downloads/Visual Studio Code 3.app/Contents
    • Flutter extension version 3.40.0

[✓] VS Code (version 1.55.2)
    • VS Code at /Users/user/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] VS Code (version 1.66.2)
    • VS Code at /Users/user/Downloads/Visual Studio Code 2.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.3.1 21E258 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Hi @VanshikaBagrodia, please provide the full verbose logs of flutter build ipa --flavor prod --verbose.
Can you also upgrade to the latest version of stable (3.0.5) to see if you still experience this issue?
If you do, can you provide some steps to reproduce or a minimal sample?
Thank you


Module-Request Conan Exiles

Module Request
Game Information:
Game Title: Conan Exiles
How to obtain: https://store.steampowered.com/app/440900
Suppoted OSs: Windows 10
Supports RCON/Console input? Yes
I confirm:

[X] that I have searched for an existing module request for this application.
[X] that the server is an official server distributed by the games publishers/developers.
[X] that the server is available to the general public.
[X] that the server can be run headless (without a GUI).
[x] that my checkboxes above look like the one on the left (remove this line when done)

I know this is listed as "coming soon" on the website but from searching the forums etc. it appears it has been that way since 2017.
I would really like to be able to use AMP to run my Conan server.
Thanks!

I was just looking for this. It would be a better way to get one spun up as well.

It appears there is a config for the generic module but it doesn't seem to work all that well. Have to configure everything manually in the files and I can't get the workshop section to work for downloading and installing mods. Would be nice if they would add official support.

the reason the generic modules don't work with mods is because the game can be downloaded anonymously but mods cant. So you would have to log into SteamCMD to get the mods. But the Generic Module doesn't support logging into SteamCMD. I would also like official support for Conan Exiles. Either that or the ability to tell SteamCMD to use a login on Generic Modules.

Curious about the status of this too. Conan Exiles (and Terraria) have been listed as coming soon for quite some time on the frontpage of the project's website

the reason the generic modules don't work with mods is because the game can be downloaded anonymously but mods cant. So you would have to log into SteamCMD to get the mods. But the Generic Module doesn't support logging into SteamCMD. I would also like official support for Conan Exiles. Either that or the ability to tell SteamCMD to use a login on Generic Modules.

Mods can be downloaded anon as ARK and multiple other games/servers do it all the time.

You are correct. Ark and multiple others do. Because those modules support logging into steamCMD. The Generic module does not support it.

the reason the generic modules don't work with mods is because the game can be downloaded anonymously but mods cant. So you would have to log into SteamCMD to get the mods. But the Generic Module doesn't support logging into SteamCMD. I would also like official support for Conan Exiles. Either that or the ability to tell SteamCMD to use a login on Generic Modules.

Mods can be downloaded anon as ARK and multiple other games/servers do it all the time.

Incorrect. Ark and multiple other modules do download mods but only because they need to be logged into steamCMD as a user to download the server and they reuse the login session to get the mods. But the generic module does not support logging into steamCMD and as such does not allow for automatic mod downloading/updating as it requires a logged in user session to download mods and not being logged in as an anonymous user. Witch at current is all the generic module supports.

the reason the generic modules don't work with mods is because the game can be downloaded anonymously but mods cant. So you would have to log into SteamCMD to get the mods. But the Generic Module doesn't support logging into SteamCMD. I would also like official support for Conan Exiles. Either that or the ability to tell SteamCMD to use a login on Generic Modules.

Mods can be downloaded anon as ARK and multiple other games/servers do it all the time.

Incorrect. Ark and multiple other modules do download mods but only because they need to be logged into steamCMD as a user to download the server and they reuse the login session to get the mods. But the generic module does not support logging into steamCMD and as such does not allow for automatic mod downloading/updating as it requires a logged in user session to download mods and not being logged in as an anonymous user. Witch at current is all the generic module supports.

I run multiple ARK servers and have since it was released as well as many other game servers and none of them have a Steam login to download mods. So what are they using user wise to login then as I have never provided a login to download the server software or the mods.

the reason the generic modules don't work with mods is because the game can be downloaded anonymously but mods cant. So you would have to log into SteamCMD to get the mods. But the Generic Module doesn't support logging into SteamCMD. I would also like official support for Conan Exiles. Either that or the ability to tell SteamCMD to use a login on Generic Modules.

Mods can be downloaded anon as ARK and multiple other games/servers do it all the time.

Incorrect. Ark and multiple other modules do download mods but only because they need to be logged into steamCMD as a user to download the server and they reuse the login session to get the mods. But the generic module does not support logging into steamCMD and as such does not allow for automatic mod downloading/updating as it requires a logged in user session to download mods and not being logged in as an anonymous user. Witch at current is all the generic module supports.

I run multiple ARK servers and have since it was released as well as many other game servers and none of them have a Steam login to download mods. So what are they using user wise to login then as I have never provided a login to download the server software or the mods.

Those modules will ask you for your steam username and password once when the instance is installed. Then will continue to reuse that authentication from then on.

Literally all you have to do is go set up a generic modular and manually install a server the. Try to add items to the steam mods list and it will fail to download them. That’s would be proof enough of needing a password for mods. Relying on preconfigured module for your information on a generic module is not a reliable source of how it works.

The generic module does support logging into steam now. There's a setting called SteamForceLoginPrompt that does what it sounds like. More importantly, Generic supports multiple update sources via Steam for a single game.


0.10.x release planning

There's recently been a number of fairly substantial new features and changes merged into master.  I feel like it's probably worth moving to 0.10.x.  Also, correct me if I'm wrong, the changes to the settings/options to use strict feels like a breaking change.

Assuming we default strict to "warn", there might be some now warnings for users.
But the bigger change is line breaks. This will definitely cause different behavior for inline math (hopefully for the better). So 0.10 sounds good to me.
I'd suggest we go through a series of alphas and/or betas, like 0.9, given the number of changes.

I think we should default strict to "ignore".

But the bigger change is line breaks.

Good call.

I'd suggest we go through a series of alphas and/or betas, like 0.9, given the number of changes.

Hopefully we won't need as many alphas/betas as last time.

Haha, hopefully!
Oh, also the new throwOnError behavior is changed (and hopefully much harder to accidentally code injection vulnerabilities).

How about a major version release, i.e., v1.0? Do we have milestones for 1.0?

v1.0 is a sign that the software is ready for production use.  I personally think KaTeX has reached that level, though I'm sure some disagree (doesn't support all MathJax features).  If we'd rather make milestones for 1.0 and then achieve them, though, we can stick with 0.10 for this bursting release.
By the way, I've mentioned before but it bares repeating in this thread: I think it'd be good for #1278 to land before 0.10.0 gets released, at least the final version, but ideally even the alpha version, so that users don't need to learn about unicodeTextInMathMode.

A release would also benefit from #1162.

I think making a milestone for 1.0 is a good idea.  That way we can go through all of our existing issues and pending PRs to see if there's anything that we think should be addressed before moving to 1.0.

0.10.x has had it's first -alpha so I think it's safe to close this.  @ronkok I'll publish another alpha (or beta) when #1162 is ready.


docs: update example spool ID

Closes https://github.com/Disane87/spoolman-homeassistant/issues/126

:tada: This PR is included in version 0.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Login-Final result!

finish to login

try to give better discription it's the most important thing


Food_calorie_Estimator

The Food Calorie Estimator is a machine learning tool designed to predict the number of calories in various food items based on their macronutrient content—specifically the amount of carbohydrates, proteins, and fats they contain. This estimator uses a dataset that maps different food items to their nutritional values, and it employs a Random Forest Regressor model to make accurate predictions of calorie counts.
Key Features:
Inputs: Macronutrient data (carbohydrates, proteins, fats) for different food items. Model: A Random Forest Regressor, which is a powerful and flexible ensemble learning algorithm that improves prediction accuracy by building multiple decision trees. Scaling: The input data is standardized to ensure consistency and better performance in predictions. Output: Predicted calorie content for any given food item based on its macronutrient composition.

hey @from13 , there kind of projects already there ,try to something new


Created directory, added PdsFile-related files

The files that went into the Pds4File directory include everything that was in the base pds-webtools directory EXCEPT the following:  __pycache__, finder_colors.py, ideas, run_tests_coverage.sh, testing_plan_notes.txt, and tests.
I used the Finder app to copy-and-paste the files into the directory, so that timestamps were preserved.

Fixes #57.


Implement deployment method that does not mirror Falcon Container image locally

@redhatrises I fixed this and it still works.


Speed improvements

Moved from https://github.com/macarthur-lab/gnomad_browser/issues/89
Originally created by @rowlandm on Thu, 25 Jan 2018 16:18:55 GMT

Hi there,
Thought I would put a comment here about the speed as I'm from Australia.
Even though it's only 1MB download with 35 requests for http://gnomad-beta.broadinstitute.org/gene/PCSK9 - it takes ~9-10 seconds to load.
The genepage.js is actually the biggest file 381KB (it's minified but doesn't have the .min.js extension) but  it's not on a CDN.
gnomad.js isn't minified or on a CDN.
Hope that helps...

Moved from https://github.com/macarthur-lab/gnomad_browser/issues/89#issuecomment-360520691
Originally created by @mattsolo1 on Thu, 25 Jan 2018 16:29:08 GMT

Thanks! I'll see what I can do to optimize this

Claiming success here. We're now doing the following to improve page loading time:

Compress static files and API responses with gzip
Set cache control headers for static files
Code split JS to reduce the amount needed for the initial page load


[KARAF-5164] Use Maven reactor to resolve artifacts needed by VerifyM…

…ojo and AssemblyMojo

R: @cschneider

CC: @jbonofre

retest this please

LGTM,  One question @grgrzybek. Currently you allow to optionally add it on top of the normal resolver. Would it be bad to always use the reactor based resolver?

@cschneider using reactor resolver only? without delegating to normal? but normal (pax-url-aether) resolver is needed to resolve many other artifacts during feature installation / veriication

I mean using reactor + normal resolver always.

I think it's better:

to have a Jenkins passed before merging
Using a merge commit message with "This closes #xxx" to automatically close the PR.

Not so sure about the merge commit message. The way @grgrzybek did the merge the PR goes to status merged. So I think this is fine. We also both gave LGTM so I think it is fine for him to merge.

@cschneider he has his branch, so he can do a simple git merge --no-ff -m "This closes #xxx"


mysql error "Access denied for user..."

When attempting to build my bookworm, I get the following error:
fitz@fitz-Macmini:~/Projects/Viral-Texts-Bookworm$ make bookworm init bookworm build all make[1]: Entering directory /home/fitz/Projects/Viral-Texts-Bookworm'
/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:85: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M --pipe bookworm -l WARNING -d vt_bookworm tokenize token_stream | bookworm -l WARNING -d vt_bookworm tokenize word_db
/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:125: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M -u --pipe bookworm -l WARNING -d vt_bookworm tokenize encode
bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M --pipe bookworm -l WARNING -d vt_bookworm tokenize token_stream | bookworm -l WARNING -d vt_bookworm tokenize word_db
make -f /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile .bookworm/metadata/jsoncatalog_derived.txt
make[2]: Entering directory /home/fitz/Projects/Viral-Texts-Bookworm' /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:85: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M --pipe bookworm -l WARNING -d vt_bookworm tokenize token_stream | bookworm -l WARNING -d vt_bookworm tokenize word_db /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:125: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M -u --pipe bookworm -l WARNING -d vt_bookworm tokenize encode cat .bookworm/metadata/jsoncatalog.txt | parallel --pipe bookworm -l WARNING -d vt_bookworm prep catalog_metadata > .bookworm/metadata/jsoncatalog_derived.txt make[2]: Leaving directory /home/fitz/Projects/Viral-Texts-Bookworm'
make -f /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile .bookworm/texts/textids.dbm
make[2]: Entering directory /home/fitz/Projects/Viral-Texts-Bookworm' /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:85: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M --pipe bookworm -l WARNING -d vt_bookworm tokenize token_stream | bookworm -l WARNING -d vt_bookworm tokenize word_db /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:125: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M -u --pipe bookworm -l WARNING -d vt_bookworm tokenize encode bookworm -l WARNING -d vt_bookworm prep preDatabaseMetadata /usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/fitz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).   warnings.warn(msg, UserWarning) bookworm -l WARNING -d vt_bookworm prep text_id_database /usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/fitz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).   warnings.warn(msg, UserWarning) make[2]: Leaving directory /home/fitz/Projects/Viral-Texts-Bookworm'
make -f /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile .bookworm/metadata/catalog.txt
make[2]: Entering directory /home/fitz/Projects/Viral-Texts-Bookworm' /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:85: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M --pipe bookworm -l WARNING -d vt_bookworm tokenize token_stream | bookworm -l WARNING -d vt_bookworm tokenize word_db /usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/etc/bookworm_Makefile:125: bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M -u --pipe bookworm -l WARNING -d vt_bookworm tokenize encode make[2]: .bookworm/metadata/catalog.txt' is up to date.
make[2]: Leaving directory `/home/fitz/Projects/Viral-Texts-Bookworm'
bookworm -l WARNING -d vt_bookworm tokenize text_stream | parallel --block-size 100M -u --pipe bookworm -l WARNING -d vt_bookworm tokenize encode
touch .bookworm/targets/encoded
bookworm -l WARNING -d vt_bookworm prep database_wordcounts
/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/fitz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
17/2016 20:29:23:ERROR:Query failed:
DROP TABLE IF EXISTS words
Traceback (most recent call last):
File "/usr/local/bin/bookworm", line 9, in
load_entry_point('bookwormDB==0.4.0', 'console_scripts', 'bookworm')()
File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/manager.py", line 558, in run_arguments
getattr(my_bookworm,args.action)(args)
File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/manager.py", line 228, in prep
getattr(self,args.goal)()
File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/manager.py", line 372, in database_wordcounts
Bookworm.load_word_list()
File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/CreateDatabase.py", line 209, in load_word_list
db.query("""DROP TABLE IF EXISTS words""")
File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/CreateDatabase.py", line 104, in query
self.connect()
File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/CreateDatabase.py", line 74, in connect
self.conn = MySQLdb.connect(read_default_file="~/.my.cnf",use_unicode='True', charset='utf8', db='', local_infile=1)
File "build/bdist.linux-x86_64/egg/MySQLdb/init.py", line 81, in Connect
File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 193, in init
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)")
make[1]: *** [.bookworm/targets/database_wordcounts] Error 1
make[1]: Leaving directory /home/fitz/Projects/Viral-Texts-Bookworm'

So I think "Access denied for user 'root'@'localhost" is indicating that you don't have any mysql access set up for the user defined in .my.cnf, or that you don't have that file at all.
One test here would be: can you type mysql in the terminal to log into a local mysql console?
Do you then have the permissions to run
"CREATE DATABASE test";
"GRANT ALL ON test.* to 'nobody'@'localhost' IDENTIFIED BY 'thispassworddoesntmatter'"

If not, try running bookworm config mysql

Hmm. I do have a root user set up with access and defined in .my.cnf. I ran the test as you suggested and it was successful. I also checked the permissions of the user (I'm using root, so it should have all privileges) and it all looked good.

Here's something interesting: when I run bookworm config mysql and follow the prompt Please enter an *administrative* username for your mysql with grant privileges: and I use "root," it returns No username found for the user in the global role. But, of course, that user is there in the global role (right?).

Hmm. It is hard to debug this without seeing which files are where. But I can't see how the presence of this error
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)") can mean anything other than that the configuration files are still wrong.
One possibility is that the file at ~/.my.cnf is missing some sections.  I'd try using bookworm config mysql and don't just re-enter the 'root' information for the 'admin' user: use "admin" and "password," or something like that.

Okay. Progress. I tried your suggestion at the end of your last post and didn't use root and instead created a new admin user for mysql. This allowed me to build without errors. Then, however, when I tried bookworm serve, I get the same operational error as above. What's interesting is that it here it is still trying to use 'root'@'localhost' even though the new user should be 'bwadmin'@'localhost'. I checked both the bookworm.cnf and ~/.my.cnf and they both use bwadmin. I'm not sure where it's still holding on to root.

Oh, I think I see where. I get the following error: ERROR:root:/etc/mysql/my.cnf and ERROR:root:Database error. I thought it would use ~/.my.cnf over the one in /etc/mysql/my.cnf, no?

I changed the user in /etc/mysql/my.cnf to bwadmin and that seems to have solved the problem. I was worried that it would mess up other things that use mysql (I also have a worpdress site hosted on this server), but it all seems to be working. So that's good. Thanks for the help on this.

Another user reported a similar issue.
Here's a magical set of invocations that can work in an EC2-like environment:
(from the repo directory)
# Make sure that you have access.
mysql -e "CREATE DATABASE temporary_test"
mysql -e "DROP DATABASE temporary_test"
pip install .
sudo pip install .
bookworm config --force mysql
# Enter admin password as prompted.

My install was in a state that the first mysql -e failed even the access threshold. Looking in mysql.user, somewhere along the line (my notes are good enough for me to do this again, I think, but not perfect so I don't have better info on that crux), my allegedly all-privileges user was created with only USAGE rights. So I fixed that with GRANT ALL ON *.* etc. The pip installs work fine, but then a flop on the last line. It's using root, but never asks me for a pw, so fails.
Stack trace, if it helps:
Using sudo to process password change(s) for global. The system may now request your root password.
Creating config files in /etc/bookworm.
This may require an admin password.
Traceback (most recent call last):
  File "/usr/local/bin/bookworm", line 9, in <module>
	load_entry_point('bookwormDB==0.4.0', 'console_scripts', 'bookworm')()
  File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/manager.py", line 567, in run_arguments
	getattr(my_bookworm,args.action)(args)
  File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/manager.py", line 76, in config
	bookwormDB.configuration.reconfigure_passwords(args.users,args.force)
  File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/configuration.py", line 398, in reconfigure_passwords
	update_settings_for(name,force=force)
  File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/configuration.py", line 357, in update_settings_for
	client.change_client_password()
  File "/usr/local/lib/python2.7/dist-packages/bookwormDB-0.4.0-py2.7.egg/bookwormDB/configuration.py", line 212, in change_client_password
	db = MySQLdb.connect(user="root",passwd="",host="<IP_ADDRESS>")
  File "/usr/local/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
	return Connection(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 193, in __init__
	super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")

Interesting. Yeah, it's assuming that the mysql root password is blank.
If you try bookworm config mysql (ie, without the --force) it should ask for the password interactively.
Alternatively, on a VM, you could Root up your existing mysql installation and start over.

Oh, I'm on my third uprooting of MySQL. :-D
Realized I should try to follow that stack trace myself and got to line 212 in configuration.py, saw that bit about trying root with a blank pw, so I went in to mysql and blanked root's pw, flushed privileges and then the config forcing mysql worked. It threw up a warning about no config file at /etc/bookworm/admin.cnf, but running the command again as sudo then again without sudo seemed to work. Incantations ahoy!
Currently debugging an endless spinning wheel on a test of the Federalist repo (or Simpsons, perhaps), so progress.


Downgrade patch for ESP32-S3 BSP 3.0.2

arduino-esp32 board support package v3.0.2 causes an infinite reboot error when used with ESP32-S3 boards with PSRAM.
This patch transfers the ci for these build targets to use the brentru/ci-arduino fork, which has manual instructions to build WipperSnapper using esp32 BSP 3.0.1 for the affected boards.

Before merging:

Verify in the CI logs that these platforms are correctly built on bsp 3.0.1
This needs testing on the Feather ESP32-S3 Rev. TFT
If the above is OK, use this PR to cut version for a new release

Successfully tested with Feather w/PSRAM on BSP 3.0.0


removed unused runner_execute benchmark

The provided diff represents significant changes to the benchmarking and weight calculation logic for the EVM module in a Substrate-based blockchain framework. The key modifications are:

Benchmark Removal:

The runner_execute benchmark, which tested the relationship between gas and weight by deploying and interacting with a contract designed to run indefinitely, has been removed. This included the entire setup and execution code for the benchmark.

Autogenerated Weights Update:

The autogenerated weights for the pallet_evm module have been updated. This includes:

Updated metadata such as the Substrate Benchmark CLI version, date, hostname, and CPU details.
The worst-case map size, execution environment details, and database cache configuration remain largely the same, with minor updates to the execution time and weight parts.

These changes streamline the benchmarking code by removing redundant or outdated benchmarks and updating the weight calculations to reflect the latest benchmarking results and environment configurations.

CI was cancelled by operator ...


Support for Azure AD groups

Describe the feature you'd like
The ability to assign Azure AD groups permissions within Bookstack and on shelves, books and pages.
Describe the benefits this feature would bring to BookStack users
This way user management is from a single admin portal instead of groups within AD and groups within Bookstack.
I don't know exactly how to do this, possibly use the enterprise application to get certain selected groups with members and sync them that way as regular bookstack groups.

Hello @coaqii,
Are you using AzureAD as a social login option for BookStack, or are you using AzureAD via the LDAP or SAML2 option?

Hi,
I'm using the social login option. We cannot utilize the LDAP option, would SAML2 be better for this?

SAML2 exporting your groups as an attribute would be your best bet to get the groups in a text-format.
Try setting SAML2_DUMP_USER_DETAILS=true in your .env file and share a sanitized version of a user authorization and I'll try to solve.

Since the last comment on this issue is relatively old, and since advanced group logic on social logins is not something I'd be immediately looking to support, I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.


Add LCG as random generator for BERT dropout. Monkeypatch dropout

The advantage of the LCG is that it fuses into one kernel, lowering mem requirement for dropout.
The LCG passes all tests in test_randomness.py that threefry passes.

@chenyuxyz One issue this method has is that it sometimes takes very long to search with beam because some opts are especially terrible. Some opts will take minutes to execute.


[docker] automatically release docker image

Is your feature request related to a problem? Please describe.
docker image is out of date, and nobody remembered to update it.
Describe the solution you'd like
Use Travis to periodically release new docker image for otbr.
Describe alternatives you've considered
Not sure how docker hub will authenticate. Maybe the job should be created in docker hub.
Additional context
None.

Reference: https://docs.docker.com/docker-hub/builds/

@jwhui We need to add a bot account to OpenThead team on github and docker hub so that docker hub can be linked to the code repository.

@gjc13, I enabled autobuild on docker hub for this repo. However, the builds are currently failing:
/bin/mkdir -p '/app/borderrouter/._stage/usr/include/CppUTest'
/usr/bin/install -c -m 644 include/CppUTest/CommandLineArguments.h include/CppUTest/CommandLineTestRunner.h include/CppUTest/CppUTestConfig.h include/CppUTest/JUnitTestOutput.h include/CppUTest/MemoryLeakDetector.h include/CppUTest/MemoryLeakDetectorMallocMacros.h include/CppUTest/MemoryLeakDetectorNewMacros.h include/CppUTest/MemoryLeakWarningPlugin.h include/CppUTest/PlatformSpecificFunctions.h include/CppUTest/PlatformSpecificFunctions_c.h include/CppUTest/SimpleString.h include/CppUTest/SimpleMutex.h include/CppUTest/StandardCLibrary.h include/CppUTest/TeamCityTestOutput.h include/CppUTest/TestFailure.h include/CppUTest/TestFilter.h include/CppUTest/TestHarness.h include/CppUTest/TestHarness_c.h include/CppUTest/TestMemoryAllocator.h include/CppUTest/TestOutput.h include/CppUTest/TestPlugin.h include/CppUTest/TestRegistry.h include/CppUTest/TestResult.h include/CppUTest/TestTestingFixture.h include/CppUTest/Utest.h include/CppUTest/UtestMacros.h generated/CppUTestGeneratedConfig.h '/app/borderrouter/._stage/usr/include/CppUTest'
/bin/mkdir -p '/app/borderrouter/._stage/usr/include/CppUTestExt'
/usr/bin/install -c -m 644 include/CppUTestExt/GMock.h include/CppUTestExt/GTest.h include/CppUTestExt/GTestConvertor.h include/CppUTestExt/IEEE754ExceptionsPlugin.h include/CppUTestExt/MemoryReportAllocator.h include/CppUTestExt/MemoryReporterPlugin.h include/CppUTestExt/MemoryReportFormatter.h include/CppUTestExt/MockActualCall.h include/CppUTestExt/MockCheckedActualCall.h include/CppUTestExt/MockCheckedExpectedCall.h include/CppUTestExt/MockExpectedCall.h include/CppUTestExt/MockExpectedCallsList.h include/CppUTestExt/MockFailure.h include/CppUTestExt/MockNamedValue.h include/CppUTestExt/MockSupport.h include/CppUTestExt/MockSupportPlugin.h include/CppUTestExt/MockSupport_c.h include/CppUTestExt/OrderedTest.h '/app/borderrouter/._stage/usr/include/CppUTestExt'
/bin/mkdir -p '/app/borderrouter/._stage/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 cpputest.pc '/app/borderrouter/._stage/usr/lib/pkgconfig'
make[1]: Leaving directory '/tmp/build-1556303228/cpputest-3.8'
fatal: not a git repository: /src/bq8jrkrgqvg4bgjnsqff29u/.git/modules/third_party/openthread/repo
Unable to find current revision in submodule path 'third_party/openthread/repo'
Removing intermediate container 2cf2181e886a
The command '/bin/sh -c cd /app/borderrouter && NAT64=1 ./script/bootstrap' returned a non-zero code: 1

Thoughts?

Is submodule initialized? @jwhui

Shouldn’t that be covered in script/bootstrap?

I'm sorry, but I don't have docker access to debug this issue. could you grant me the access? my account is bukepo same as github account.

Shall we create periodic tags on docker hub? Or just use the latest?

@bukepo, are you suggesting to apply release names?

Resolved by #518


Remove control dependency

It's just used in one place in one test: https://github.com/commaai/openpilot/blob/a1dce6ef475c69e446ab1ce13f1aadb26092804c/selfdrive/controls/lib/tests/test_vehicle_model.py#L50
The goal is to replace it with pure Python (and some numpy).
uv pip tree for control:
control v0.10.0
├── numpy v1.26.4
├── scipy v1.14.0
│   └── numpy v1.26.4
└── matplotlib v3.9.1
    ├── contourpy v1.2.1
    │   └── numpy v1.26.4
    ├── cycler v0.12.1
    ├── fonttools v4.53.1
    ├── kiwisolver v1.4.5
    ├── numpy v1.26.4
    ├── packaging v24.1
    ├── pillow v10.4.0
    ├── pyparsing v3.1.2
    └── python-dateutil v2.9.0.post0
        └── six v1.16.0

Hey @adeebshihadeh, Can you please assign this issue to me?
Thank you!

Hi @adeebshihadeh ,
I am very interested in working on this issue, and I have thoroughly reviewed the codebase. I am confident in my ability to resolve this issue. Here’s my approach:

State-Space Replacement: I will implement a custom StateSpace class using pure Python and NumPy to replace the dependency on the control library. This class will handle continuous and discrete-time systems, ensuring compatibility with the existing codebase.
Integration and Testing: I will integrate the new StateSpace class into test_vehicle_model.py, replacing the current usage of the control library. I will ensure that all existing tests pass and maintain the functionality of the original implementation.

Given my experience and this detailed plan, I am confident in my ability to address this issue effectively.
Could you please assign this issue to me?
Thank you!


realsense-viewer launched with no errors but cannot display components correctly

Required Info

Camera Model
D455

Firmware Version
Cannot Open RealSense Viewer --> Click info

Operating System & Version
Ubuntu 20

Kernel Version (Linux Only)
5.15.0

Platform
PC

SDK Version
2

Issue Description
Hi! I followed the "Installing the packages" at https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md to install librealsense, but when I launched realsense-viewer from a terminal, I get a huge button (even not whole) and nothing more.

logs of terminal:
 20/11 21:33:38,717 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video0
 20/11 21:33:38,718 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video1
 20/11 21:33:38,718 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
 20/11 21:33:38,718 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
 20/11 21:33:38,718 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video4
 20/11 21:33:38,718 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video5
 20/11 21:33:38,885 INFO [139745807927168] (synthetic-stream-gl.cpp:80) Initializing rendering, GLSL=1
 20/11 21:33:38,885 INFO [139745807927168] (synthetic-stream-gl.cpp:89)  0 GPU objects initialized
 20/11 21:33:38,885 INFO [139745807927168] (synthetic-stream-gl.cpp:132) Initializing processing, GLSL=1
 20/11 21:33:38,899 INFO [139745807927168] (synthetic-stream-gl.cpp:146)  0 GPU objects initialized
 20/11 21:33:38,971 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video0
 20/11 21:33:38,971 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video1
 20/11 21:33:38,971 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
 20/11 21:33:38,971 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
 20/11 21:33:38,971 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video4
 20/11 21:33:38,971 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video5
 20/11 21:33:38,971 INFO [139745807927168] (context.cpp:336) Found 1 RealSense devices (mask 0xff)
 20/11 21:33:38,987 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video0
 20/11 21:33:38,987 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video1
 20/11 21:33:38,987 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
 20/11 21:33:38,987 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
 20/11 21:33:38,987 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video4
 20/11 21:33:38,987 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video5
 20/11 21:33:38,987 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video0
 20/11 21:33:38,988 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video1
 20/11 21:33:38,988 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
 20/11 21:33:38,988 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
 20/11 21:33:38,988 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video4
 20/11 21:33:38,988 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video5
 20/11 21:33:38,989 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video0
 20/11 21:33:38,989 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video1
 20/11 21:33:38,989 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
 20/11 21:33:38,989 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
 20/11 21:33:38,989 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video4
 20/11 21:33:38,989 INFO [139745668499200] (backend-v4l2.cpp:657) Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video5
 20/11 21:33:39,005 INFO [139745807927168] (rs.cpp:2697) Framebuffer size changed to 2048 x 1349
 20/11 21:33:39,005 INFO [139745807927168] (rs.cpp:2697) Window size changed to 64 x 42
 20/11 21:33:39,005 INFO [139745807927168] (rs.cpp:2697) Scale Factor is now 32
 20/11 21:33:39,273 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video0 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video0
 20/11 21:33:39,273 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video1 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video1
 20/11 21:33:39,273 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video2 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
 20/11 21:33:39,273 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video3 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
 20/11 21:33:39,273 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video4 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video4
 20/11 21:33:39,273 INFO [139745807927168] (backend-v4l2.cpp:657) Enumerating UVC video5 realpath=/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3/video4linux/video5
 20/11 21:33:39,273 INFO [139745807927168] (context.cpp:336) Found 1 RealSense devices (mask 0xfe)

From above, it seems something wrong with Scale Factor:
 20/11 21:33:39,005 INFO [139745807927168] (rs.cpp:2697) Framebuffer size changed to 2048 x 1349
 20/11 21:33:39,005 INFO [139745807927168] (rs.cpp:2697) Window size changed to 64 x 42
 20/11 21:33:39,005 INFO [139745807927168] (rs.cpp:2697) Scale Factor is now 32

How to fix this then?

Hi @Yinshideguanghui  Does it make a difference if you press the F8 key on the top of the PC keyboard to toggle Fullscreen display mode on and off, please?

Hi @Yinshideguanghui Does it make a difference if you press the F8 key on the top of the PC keyboard to toggle Fullscreen display mode on and off, please?

F8 changes the window to fullscreen mode, but there is no difference. Just made a fullscreen "Add" button

logs when I pressed F8 twice with a two-second interval:
20/11 22:42:48,538 INFO [140437744093056] (synthetic-stream-gl.cpp:97) Shutting down rendering
 20/11 22:42:48,538 INFO [140437744093056] (synthetic-stream-gl.cpp:103)  2 GPU objects cleaned-up
 20/11 22:42:48,538 INFO [140437744093056] (synthetic-stream-gl.cpp:153) Shutting down processing
 20/11 22:42:48,539 INFO [140437744093056] (synthetic-stream-gl.cpp:164)  386 GPU objects cleaned-up
 20/11 22:42:48,763 INFO [140437744093056] (synthetic-stream-gl.cpp:80) Initializing rendering, GLSL=1
 20/11 22:42:48,764 INFO [140437744093056] (synthetic-stream-gl.cpp:89)  2 GPU objects initialized
 20/11 22:42:48,764 INFO [140437744093056] (synthetic-stream-gl.cpp:132) Initializing processing, GLSL=1
 20/11 22:42:48,783 INFO [140437744093056] (synthetic-stream-gl.cpp:146)  386 GPU objects initialized
 20/11 22:42:48,789 INFO [140437744093056] (rs.cpp:2697) Framebuffer size changed to 2488 x 1536
 20/11 22:42:48,789 INFO [140437744093056] (rs.cpp:2697) Window size changed to 77 x 48
 20/11 22:42:48,868 INFO [140437744093056] (rs.cpp:2697) Framebuffer size changed to 2560 x 1600
 20/11 22:42:48,868 INFO [140437744093056] (rs.cpp:2697) Window size changed to 80 x 50
 20/11 22:42:50,233 INFO [140437744093056] (synthetic-stream-gl.cpp:97) Shutting down rendering
 20/11 22:42:50,233 INFO [140437744093056] (synthetic-stream-gl.cpp:103)  2 GPU objects cleaned-up
 20/11 22:42:50,233 INFO [140437744093056] (synthetic-stream-gl.cpp:153) Shutting down processing
 20/11 22:42:50,234 INFO [140437744093056] (synthetic-stream-gl.cpp:164)  386 GPU objects cleaned-up
 20/11 22:42:50,435 INFO [140437744093056] (synthetic-stream-gl.cpp:80) Initializing rendering, GLSL=1
 20/11 22:42:50,436 INFO [140437744093056] (synthetic-stream-gl.cpp:89)  2 GPU objects initialized
 20/11 22:42:50,436 INFO [140437744093056] (synthetic-stream-gl.cpp:132) Initializing processing, GLSL=1
 20/11 22:42:50,501 INFO [140437744093056] (synthetic-stream-gl.cpp:146)  386 GPU objects initialized
 20/11 22:42:50,528 INFO [140437744093056] (rs.cpp:2697) Framebuffer size changed to 2488 x 1536
 20/11 22:42:50,528 INFO [140437744093056] (rs.cpp:2697) Window size changed to 77 x 48

Thanks very much for trying the fullscreen toggle option.
A few other RealSense users at https://github.com/IntelRealSense/librealsense/issues/10879 and https://github.com/IntelRealSense/librealsense/issues/5511 experienced this scale problem with the Add Source button.
If you are using Linux then the solutions suggested by an Intel RealSense team member at https://github.com/IntelRealSense/librealsense/issues/5511 are likely to be the most appropriate for you.

Thanks very much for trying the fullscreen toggle option.
A few other RealSense users at #10879 and #5511 experienced this scale problem with the Add Source button.
If you are using Linux then the solutions suggested by an Intel RealSense team member at #5511 are likely to be the most appropriate for you.

Thanks for the suggestions, but I'm afraid this caused another problem. I tried the solution at #5511, built from source, and now it shows all components nested at the top-left corner (still, F8 makes no difference, sad).

Would it be possible to update the graphics drivers on your computer please in order to eliminate the possibility that this display issue is caused by the computer's OpenGL graphics support being out of date (as realsense-viewer relies on this support).

Would it be possible to update the graphics drivers on your computer please in order to eliminate the possibility that this display issue is caused by the computer's OpenGL graphics support being out of date (as realsense-viewer relies on this support).

I've been working with an NVIDIA 3080 Ti Laptop GPU. I updated the driver to the newest (nvidia-driver-535 metapackage), but the problem still exists. I also tried sudo apt install --reinstall the opengl, glfw3, e.t.c., but that made no difference.
I am now trying to develop without using realsense-viewer to test my camera.  Hope it works so that we don't have to deal with this tough imgui problem anymore . T_T

Thanks very much for the update.  Please let me know how your work progresses.  Good luck!

Thanks very much for the update. Please let me know how your work progresses. Good luck!

I used OpenCV to show the RGB images and depths. It works fine. Thanks again for your kind and patient help! Hope this realsense-viewer bug could be figured out and fixed in the future.

Case closed due to solution achieved and no further comments received.


ddpg_pendulum example, NaN reward

In the ddpg_pendulum example, at some point the reward becomes NaN:
Training for 1000000 steps ...
Interval 1 (0 steps performed)
10000/10000 [==============================] - 45s - reward: -6.6935
50 episodes - episode_reward: -1338.704 [-1778.884, -888.810] - loss: 0.804 - mean_absolute_error: 0.539 - mean_q: -31.124

Interval 2 (10000 steps performed)
10000/10000 [==============================] - 44s - reward: -3.2394
50 episodes - episode_reward: -647.876 [-1498.992, -128.003] - loss: 1.600 - mean_absolute_error: 1.143 - mean_q: -70.293

Interval 3 (20000 steps performed)
10000/10000 [==============================] - 44s - reward: -1.6994
50 episodes - episode_reward: -339.873 [-954.513, -2.126] - loss: 3.513 - mean_absolute_error: 1.635 - mean_q: -74.608

Interval 4 (30000 steps performed)
10000/10000 [==============================] - 44s - reward: -0.6625
50 episodes - episode_reward: -132.497 [-334.801, -0.941] - loss: 6.544 - mean_absolute_error: 2.044 - mean_q: -59.374

Interval 5 (40000 steps performed)
10000/10000 [==============================] - 52s - reward: nan
50 episodes - episode_reward: nan [nan, nan] - loss: 6.731 - mean_absolute_error: 2.056 - mean_q: -49.225

Interval 6 (50000 steps performed)
 1255/10000 [==>...........................] - ETA: 39s - reward: nan

keras-rl: latest master commit
keras: 1.1.1 (Theano backend)
Python: 3.4

Hi, if the reward becomes nan, that's a problem with the environment itself, in this case with OpenAI gym. You can try to update to the latest version if you haven't already. If that doesn't help, please contact the OpenAI peeps directly, or, even better, try to fix the problem in the environment and commit a fix to the OpenAI gym repo.


fix: missing security

This PR fixes missing security schemes for ApiKey in body, path and Digest security scheme. Also there is one TODO property name in existing ApiKey schemes is marked as required but in implementation it is optional.
Schema generated from implementation: https://github.com/superfaceai/ast-js/blob/dev/src/interfaces/providerjson/providerjson.schema.json

On the TODO - optional vs. required name – I wonder why it is optional in the implementation, seems like the header field should be specified, no?

@zdne name falls back to default name: https://github.com/superfaceai/one-sdk-js/blob/dev/src/core/interpreter/http/security/api-key/api-key.ts#L39  with value Authorization. Changing this to required would meant braking change that would brak a lot of provider.jsons :|

@Jakub-Vacek so, the correct way is that the header is required? If so let's at least keep track of it in product board.

Now, implementation checks if there (in provider.json) is specified name of header. If it isn't SDK will assume that header is called Authorization, if there is specific name it will use it as name of header. Implementation makes sense (imo) and I wouldn't change it (because of breaking changes). Personally I would update the spec but I understand that it is something we should not do on regular basis.

@Jakub-Vacek ok, thanks for the explanation!

So should I update the spec? 🤷🏻♂


subctl show brokers not actually showing any useful information

What happened:
I run subctl show brokers and get nothing useful.
# subctl show brokers
Cluster "cluster1"
 ✓ Detecting broker(s)
NAMESPACE                NAME                     COMPONENTS
submariner-k8s-broker    submariner-broker        service-discovery, connectivity

Cluster "cluster2"
 ✓ Detecting broker(s)

What you expected to happen:
At least the spec from the defined broker should be shown (perhaps not in yaml), ie:
Spec:
  Components:
    service-discovery
    connectivity
  Default Globalnet Cluster Size:  65536
  Globalnet CIDR Range:            <IP_ADDRESS>/8
  Globalnet Enabled:               true

How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Im not sure if this is a bug or an enhancement :)
I think we could regard this as a bug, since subctl show brokers should give some useful info besides the fact where broker is installed.
FWIW I don't think extended info should be shown in subctl show all but we could debate that.
Environment:

Diagnose information (use subctl diagnose all):
Gather information (use subctl gather)
Cloud provider or hardware configuration:
Install tools:
Others:

Not a blocker for 0.13, but nice to have if we can improve the UX.


fix: featureProjects reduce logic

Fixes null-pointer exception.
If you have 7+ featured projects, only the first 6 featured projects will be displayed.

Merged 👍


query format at OPAL_DATA_CONFIG_SOURCES

Hello.
I met an error when using postgres fetch provider.
ValueError: OPA Client: unexpected status code: 400, error: {'reason': 'You have malformed a bad request', 'description': 'The content in the request does not match the specifications: entities deserialization error: invalid type: string "{}", expected a map', 'code': 400}
I think the query may be wrong, but I couldn't find right format.
Is there any guide?
Or what is the correct sql format including that of attrs and parents if they are empty or filled?
Thank you.

Hey @HonorBn, thank you for reporting this issue 💎
The error suggests a serialization problem, potentially due to an empty data update represented by {}. To better assist, could you provide details on your OPAL_DATA_CONFIG_SOURCES configuration and any other relevant configs?
Additionally, if you have any specific SQL queries related to this, please share those as well.
Looking forward to your response!
Let me know if you’d like further help troubleshooting this.

Hey @HonorBn :)
Also, Here is the relevant doc - https://docs.opal.ac/tutorials/write_your_own_fetch_provider/

Hey @HonorBn :)
Also, This doc might be relevant - https://docs.opal.ac/tutorials/write_your_own_fetch_provider/

Hi, @danyi1212, @maya-barak.
I'd like to know more than what is in the docs.
The query format seems to have to be the result of a Select statement with columns named uid, attrs, and parents.
The uid may be recognized well.
However, in the case of attrs and parents, no matter how many times I try, an error occurs such as invalid type: string "{}", expected a map.
I tried as the following value; , '{}'::json, json_build_object(), json_build_object('aaa', 'bbb'), and etc.
And here is my ConfigMap.
The query as the below. is,
SELECT CONCAT('{"type": "User", "id": "', account, '"}') as uid,
''{}'' as attrs,
''[]''::json as parents
FROM public.users;

It is possible that the issue is the json data type in the query.
Now knowing that you ingest it into Cedar, I've found exactly what raised the deserialization error.
Here are the available entities with types that are available in Cedar.
https://docs.cedarpolicy.com/auth/entities-syntax.html
In Cedar Agent (Stateful Web Server for Cedar) we directly use the Entities.from_json_value() to serialize the PUT /v1/data HTTP Request JSON body.
https://docs.rs/cedar-policy/latest/cedar_policy/struct.Entities.html#method.from_json_value
The serialization error is raised from this method due to the invalid values in the Request's JSON body, which was generated from the SQL Query result.
Hope that will give you a lead in resolving that issue.
Let me know if you’d like further help troubleshooting this.

Maybe the Postgres provider is loading the SQL Query result as String and not as JSON, so when it provides it to Cedar Agent it gets the error.
I would recommend running the OPAL locally and debugging it, checking what exactly is returned from the Postgres query and what is sent in the data update.
Let me know if you’d like code references or any further help troubleshooting this.


Refactor Workflows & Add Jammy Images

Intent
Previous workflows included logic within the yaml in order to tag and push various versions. I wanted to keep the steps between workflows the same while retaining log visibility.
Approach
Rather than a Makefile I have included a Justfile with one main command: build. Build takes in 4 arguments and then builds and tags images correctly based upon the arguments. This allows all of the logic that used to be in the workflow to migrate over to the Justfile making things easier to read and debug.
Docker Subfolder
The addition of the docker subfolder was somewhat arbitrary. I didn't want to have Dockerfiles directly underneath package folders and wanted to keep them easy to locate. I don't have strong opinions on this, so if anything else is suggested I am ok to switch.
Makefile
This PR grew in scope a lot since starting it. The makefile is a remnant of a pr where I was just to add Jammy images and build them. I hesitated on removing the Makefile entirely, as I'm not sure what the plans are here. Do we remove the makefile? or keep it?
Justfile Ugliness
This line is probably the biggest embodiment of the jankiness of using Just
-build-arg "${short_name}"_VERSION=$version  ${rsw_download_url_arg} --file=./{{PRODUCT}}/docker/{{OS}}/Dockerfile {{PRODUCT}}

We have Just variable substitution with {{PRODUCT}}, bash substitution with "${short_name}", and then variables that may be empty or may have arguments.
This was needed as I felt it made sense for build-preview to be encapsulated in one command rather than 3 for each package (build-preview-rsw). As a consequence there are a lot of if statements needed in order to select the right options for builds.
Automated Tests
Testing with ACT is not ideal. Things like docker-compose not being available by default make it necessary to add additional steps into workflows when performing local testing as compared to production. This would mean testing, removing additions made for testing, then pushing everytime a change needs to be made.
Notes
Why is Jammy here?
Adding Jammy images was the original goal of this PR before it evolved to a Workflow refactor. However, I think its important to keep Jammy changes bundled with the workflow refactor as it demonstrates how the workflows will support different build targets. I can always split it up, but I don't think that the Jammy changes include much more than a couple of one-line edits from the bionic dockerfiles.
Just As a Whole
As Just was used by other repos, I also used Just. However, I'm not sure that Just is ideal. It seems to me that calling a shell/python executable from Make is almost a cleaner solution than using a Justfile. Doing so would prevent the chimeric appearance of the build-preview and build-release commands that can only be understood by someone who knows bash and Just. I'm just not convinced that Just is the solution to situations where Makefiles need a bit more logic.

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

I'm a bit unclear as to why the workflow changes need to land alongside the new Jammy images -- is it possible to break these into separate PRs, or at least into separate commits?

I'm a bit unclear as to why the workflow changes need to land alongside the new Jammy images -- is it possible to break these into separate PRs, or at least into separate commits?

Added context in pr header


Confusing docs for ReconnectUrl

The docs for slack::Event::ReconnectUrl say:

Represents the slack reconnect_url event.

The link is a 404 and the Slack docs mention no such event, and yet I am receiving these. What's going on?

Slack has a relatively undocumented event for this here:
https://api.slack.com/events/reconnect_url
I'm not sure what the URL in the docs is currently but I'll fix it when I
get a moment.
On Apr 4, 2016 07:11, "Fenhl"<EMAIL_ADDRESS>wrote:

The docs for slack::Event::ReconnectUrl
http://slack-rs.github.io/slack-rs/slack/enum.Event.html#variant.ReconnectUrl
say:
Represents the slack reconnect_url
https://api.slack.com/event/reconnect_url event.
The link is a 404 and the Slack docs mention no such event, and yet I am
receiving these. What's going on?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/slack-rs/slack-rs/issues/49

Looks like it changed from event to events in the URL on slack's part.

If anyone knows more about this, please open a PR to fix. The slack docs for this appear to have been removed entirely (?)

The current docs say:

The reconnect_url event is currently unsupported and experimental.

We should update the url in our docs, but otherwise this probably actually shouldn't be better documented since it is unsupported upstream, other than perhaps to note that.

Can we turn the event off?  I am getting this event precisely every three minutes using RTM API.  Seems like unnecessary chatter considering it is experimental and has no practical or advertised use right now.

Why not just ignore them?
        if let Some(&slack::Event::ReconnectUrl) = event.as_ref().ok() {
            return;
        }

Yeah - I'm doing that. Just thought it would be good if we could turn off certain RTM events for some channels. Unnecessary traffic and work for the app for no benefit.

You can't ask slack to not send it so the data will still come and it will be parsed

I guess so

I'm going to finally close this for now. The current slack docs for this are here and they state:

The reconnect_url event is currently unsupported and experimental.


⚠ Bofrost.lu has degraded performance

In f444b86, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1241 ms

Resolved: Bofrost.lu performance has improved in c836e67 after 13 minutes.


8.18.23 code

This code updates the original StarGan with distance calculations, identity loss and an SVM classifier.


nixos/steam: support adding additional compatibility packages

Description of changes
Valve allows users to use other compatibility tools with Steam aside from the versions of Proton which they ship themselves. This is especially useful for using versions of Proton, Wine (proton-ge, wine-staging) or other tools (boxtron, luxtorpeda, roberta, etc.) which you've built yourself of pulled from packages not maintained by Valve.
More details can be found here: https://github.com/ValveSoftware/steam-for-linux/issues/6310
This PR allows users to set which additional packages they want Steam to search when listing additional compatibility tools.
NOTE: This is my first modules PR and could probably use some help, any feedback is appreciated. I've indicated where I had my doubts.
Please let me know if this needs to target staging instead of master.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@romatthe Are you still working on this pr?

@romatthe I would love getting this merged if this is still relevant. Can you do a rebase, change the change-log version to the 23.11 release and re-request reviews of the people that already approved?

@romatthe I would love getting this merged if this is still relevant. Can you do a rebase, change the change-log version to the 23.11 release and re-request reviews of the people that already approved?

I sort of lost track of this one because I was dealing with a few other Steam related issues.
I'll have a quick look at this tonight or tomorrow.

Alright, I quickly rebased the PR and moved the changelog to NixOS 23.11.
However:
Looking back at some of the code I wrote for this, I have to say that my implementation was extremely naive.
As you can see in the Valve docs, each compatibility tool should contain at least three things:

The actual tool executable
A toolmanifest.vdf file
A compatibilitytool.vdf file

This is problematic. Let's take one of the only compability tools that I currently know to be packaged within nixpkgs: SteamTinkerLaunch. Let's look at that package on my system for a sec:
$ tree /nix/store/78n73ynv5j3qkh2w9m7k42xyvm1ncgya-steamtinkerlaunch-12.12
78n73ynv5j3qkh2w9m7k42xyvm1ncgya-steamtinkerlaunch-12.12
├── bin
│   └── steamtinkerlaunch
└── share
    ├── applications
    │   └── steamtinkerlaunch.desktop
    ├── doc
    │   └── steamtinkerlaunch
    │       └── README.md
    ├── icons
    │   └── hicolor
    │       └── scalable
    │           └── apps
    │               └── steamtinkerlaunch.svg
    └── steamtinkerlaunch
    ... etc...

Using my naive solution, adding programs.steam.extraCompatPackages = with pkgs; [ steamtinkerlaunch ] would result in STEAM_EXTRA_COMPAT_TOOLS_PATHS containing /nix/store/78n73ynv5j3qkh2w9m7k42xyvm1ncgya-steamtinkerlaunch-12.12/bin/, which obviously dooes not contain the required compatibilitytool.vdf and toolmanifest.vdf, and as such Steam will not actually pick up this compatibility tools.
All of my previous tests were done with a quickly thrown together package derivation for luxtorpeda and proton-ge (both not included in nixpkgs) where all the output ended up being thrown into $out/bin. Not exactly great ahem
This presents two issues:

Packaging compatibility tools in a way that would cause them to be properly picked up by Steam clearly clashes with how package derivations are supposed to be written in Nix and nixpkgs. Throwing everything in $out/bin clearly isn't the correct solution.
Even if we had a proper way to package tools that would allow for them to be picked up by Steam, how would be actually enforce that all compatibility tools are packaged in this way in nixpkgs?

There might be SOME way around this, since I believe that Steam will also look in /usr/share/steam/compatibilitytools.d for compatibility tools. I don't know enough about Nix and NixOS to know this for sure, but if the required files are included in (e.g.) $out/share/steam/compatibilitytools.d/steamtinkerlaunch I think Nix(OS) will create the correct environment for Steam to pick these up?
I haven't had time to try this out yet, and it would still lead us back to issue (2.) of course.
Anyone else have any thoughts on this?

steamtinkerlaunch does not provide those files at all at the moment right?
So on my opinion the derivation should then provide those files, if it should be used that way.
The only question for me is here: where should a derivation place the two .vdf files. I have updated my proton-ge in my flake quite naively to drop everything in $out/opt and then have those two files placed at $out/bin (nothing else) and it picks up the runtime correctly.
I had to patch obviously the .vdf to be correct for that install, but that would be a easy job for a nix derivation.
So i am just not sure to use makeBinPath atm, as it makes not much sense for me to place those  files under $out/bin
That is at least my thinking about the situation.

It should be quite trivial to run the steamtinkerlaunch installer in a derivation to produce the compat tool dir in i.e. a separate output.
What are these vdf files and how would we produce them?

Those are basically some Json files with some required fields. Proton-ge does ship some (as comparison).
One file does define which compat is provided (eG windows to Linux) and the other file defines the display name, where the binary is located and such.
I found this as spec https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/393bb134fc01f96d68925d6bfe300d58b97744ac/docs/steam-compat-tool-interface.md


design: Add nexd fsm design

Updates #885

So the difference between UP and PEERING is that UP has not yet fetched the peer list? Are we thinking we could get stuck in the UP state and not transition to PEERING due to errors accessing the API server?

So the difference between UP and PEERING is that UP has not yet fetched the peer list? Are we thinking we could get stuck in the UP state and not transition to PEERING due to errors accessing the API server?

UP to me was the steady state when everything is configured and working properly.  PEERING is that peer configuration changes have been received and nexd is still working through processing them.

UP to me was the steady state when everything is configured and working properly. PEERING is that peer configuration changes have been received and nexd is still working through processing them.

Yup. So the current reconcile loop that we have would be:

Check that we're in UP state
Fetch latest batch of peer changes
If peers have changed, trigger "PEERING" state, then (hopefully) back to UP
If not, stay in UP state

This also helps us with scaling, since we're effectively buffering peer changes that arrive when we're PEERING.

I filed #960 to track and work on the e2e test failure that's happened here a couple times.


Add typescript-deferred header & test.

All said in commit message :) typescript-deferred is a small Promises/A+ implementation created in Typescript.

@DirtyHairy thanks mate!

@vvakame Thanks for merging ;)


Play FLV file work on Firefox but not on Google Chrome

Hi, I am using mpegts.js to play flv videos
I am using a basic example as follow
<!doctype html>
<html>
<head>
    <title>FLV Stream Test</title>
    <script src="mpegts.js"></script>
</head>
<body>
    <video id="videoElement" muted="muted" controls></video>
<script>
    if (mpegts.isSupported()) {
        var videoElement = document.getElementById('videoElement');
        var player = mpegts.createPlayer({
            type: 'flv',  // could also be mpegts, m2ts, flv
            isLive: true,
            url: 'http://<IP_ADDRESS>:8000/244_20231024T194914Z_20231024T195000Z.flv'
        });
        player.attachMediaElement(videoElement);
        player.load();
        player.play();
    }
</script>
</body>
</html>

I used this Python script to host FLV files with CORS enabled
#!/usr/bin/env python3
from http.server import HTTPServer, SimpleHTTPRequestHandler, test
import sys

class CORSRequestHandler (SimpleHTTPRequestHandler):
    def end_headers (self):
        self.send_header('Access-Control-Allow-Origin', '*')
        SimpleHTTPRequestHandler.end_headers(self)

if __name__ == '__main__':
    test(CORSRequestHandler, HTTPServer, port=int(sys.argv[1]) if len(sys.argv) > 1 else 8000)

The video played well on Firefox (version 119.0 on Ubuntu 22.04 64bit), but when using Google Chrome (version 118.0.5993.88 Official Build Linux 64-bit) video only played for 6 to 12 seconds, then it stopped and did not continue to play. I can see on the loading bar that only part of the video was loaded. This happened with both mpegts.js v1.7.3 and master branch
I don't have a background in JS and cannot figure out what went wrong with Google Chrome.
Can you take a look and give me some workarounds?
Thanks!
Here is the FLV file
244_20231024T194914Z_20231024T195000Z.zip

This video has duplicated DTS and PTS. You'd better fix the stream by using ffmpeg.
logger.js:123 [FLVDemuxer] > Video Frame, dts = 6133, cts = 0, pts = 6133
logger.js:123 [FLVDemuxer] > Video Frame, dts = 6133, cts = 400, pts = 6533
logger.js:123 [FLVDemuxer] > Video Frame, dts = 6266, cts = 67, pts = 6333
logger.js:123 [FLVDemuxer] > Video Frame, dts = 6333, cts = 0, pts = 6333
logger.js:123 [FLVDemuxer] > Video Frame, dts = 6333, cts = 133, pts = 6466
logger.js:123 [FLVDemuxer] > Video Frame, dts = 6466, cts = 267, pts = 6733
logger.js:123 [FLVDemuxer] > Video Frame, dts = 6533, cts = 133, pts = 6666

...
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8133, cts = 133, pts = 8266
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8133, cts = 0, pts = 8133
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8266, cts = 67, pts = 8333
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8333, cts = 333, pts = 8666
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8333, cts = 200, pts = 8533
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8466, cts = 0, pts = 8466
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8533, cts = 0, pts = 8533
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8533, cts = 400, pts = 8933
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8666, cts = 67, pts = 8733
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8733, cts = 0, pts = 8733
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8733, cts = 133, pts = 8866
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8866, cts = 267, pts = 9133
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8933, cts = 133, pts = 9066
logger.js:123 [FLVDemuxer] > Video Frame, dts = 8933, cts = 0, pts = 8933
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9066, cts = 67, pts = 9133
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9133, cts = 333, pts = 9466
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9133, cts = 200, pts = 9333
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9266, cts = 0, pts = 9266
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9333, cts = 0, pts = 9333
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9333, cts = 400, pts = 9733
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9466, cts = 67, pts = 9533
logger.js:123 [FLVDemuxer] > Video Frame, dts = 9533, cts = 0, pts = 9533


Migrate LinkedList

Current coverage is 87.13% (diff: 96.07%)

Merging #57 into master will increase coverage by 0.35%

@@             master        #57   diff @@
==========================================
  Files            40         42     +2
  Lines          1286       1337    +51
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1116       1165    +49
- Misses          170        172     +2
  Partials          0          0

Powered by Codecov. Last update 6e31c96...4c4319b

🎉


Synthesis failed for Google.Cloud.Iam.V1

Hello! Autosynth couldn't regenerate Google.Cloud.Iam.V1. :broken_heart:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the Google.Cloud.Iam.V1 API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
2021-03-19 22:44:02,848 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/Google.Cloud.Iam.V1
2021-03-19 22:44:03,336 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-03-19 22:44:03,340 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-03-19 22:44:03,343 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2021-03-19 22:44:03,347 autosynth [DEBUG] > Running: git config push.default simple
2021-03-19 22:44:03,350 autosynth [DEBUG] > Running: git branch -f autosynth-Google.Cloud.Iam.V1
2021-03-19 22:44:03,353 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Iam.V1
Switched to branch 'autosynth-Google.Cloud.Iam.V1'
2021-03-19 22:44:03,563 autosynth [DEBUG] > Running: git rev-parse --show-toplevel
2021-03-19 22:44:03,570 autosynth [DEBUG] > Running: git log -1 --pretty=%H
2021-03-19 22:44:03,574 autosynth [DEBUG] > Running: git remote get-url origin
2021-03-19 22:44:03,609 synthtool [ERROR] > Failed executing git checkout master:

error: Your local changes to the following files would be overwritten by checkout:
	google/cloud/dialogflow/v2/answer_record.proto
	google/cloud/dialogflow/v2/conversation.proto
	google/cloud/dialogflow/v2/conversation_profile.proto
	google/cloud/dialogflow/v2/participant.proto
Please commit your changes or stash them before you switch branches.
Aborting

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 312, in _inner_main
    git_source.enumerate_versions(sources, pathlib.Path(temp_dir))
  File "/tmpfs/src/github/synthtool/autosynth/git_source.py", line 202, in enumerate_versions
    source_versions = enumerate_versions_for_source(git_source, temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/git_source.py", line 166, in enumerate_versions_for_source
    local_repo_dir = str(synthtool_git.clone(remote))
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 85, in clone
    shell.run(["git", "checkout", "master"], cwd=str(dest), check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'checkout', 'master']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Remove deprecated publicIPs

Code LGTM, can't see why the e2e test is failing.

@k8s-bot test this please
On Mon, Jul 27, 2015 at 12:48 PM, Kelsey Hightower<EMAIL_ADDRESS>
wrote:

Code LGTM, can't see why the e2e test is failing.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/11887#issuecomment-125324012
.

Just a question. Once this gets committed, is it expected to have #10323 addressed more or less at the same time?

This is targetting 1.1 - I intend for #10323 to be resolved in 1.1, yes.
On Mon, Jul 27, 2015 at 1:05 PM, juntagabor<EMAIL_ADDRESS>wrote:

Just a question. Once this gets committed, is it expected to have #10323
https://github.com/GoogleCloudPlatform/kubernetes/issues/10323
addressed more or less at the same time?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/11887#issuecomment-125327703
.

In fact, this is a fair point.  Let's NOT commit this until we have a solution.


Can't compile outside of CordovaCameraPreviewApp

The plugin code doesn't seem properly factored-out from the demo app. See for instance:
import com.mbppower.CordovaCameraPreviewApp.R;

in CameraActivity.java

Thanks, fixed in master and in cordova plugin registry version 0.0.4
The sample app also has been updated.

Awesome, thanks!


Post notes

Just a couple minor things! Give this a rebase and I'll give it another look.

@googlebot I fixed it.

@googlebot I fixed it.


Combine s3_bench and db_bench

s3_bench and db_bench are largely the same. Let's combine them. Here are some db_bench features we want:

[x] Declarative clap args
[x] Key length
[x] l0 sst size and await durable settings
[x] Pluggable keygen
[x] Pluggable object store (with s3.rs-style AWS env vars)
[x] Logging (without breaking gnuplot)

And here are some s3_bench features we want

[x] Charts with gnuplots
[ ] Pre-population
[x] Block cache config
[x] Object cache config
[x] Mixed read/write workloads
[x] Concurrent workloads

Starting with a draft PR to track progress.
Closes #236

Got it to a point where I can run the tests on localstack and create gnuplots. Will work on migrating features this week.

@rodesai @taburet This is ready for a 👀 .
Changes:

Removed db_bench
Removed s3_bench
Created bencher

bencher borrows the following from db_bench:

Declarative clap args
Key length
l0 sst size and await durable settings
Pluggable keygen
Logging (without breaking gnuplot)

And from s3_bench:

Charts with gnuplots
Pre-population
Block cache config
Object cache config
Mixed read/write workloads
Concurrent workloads

And from the cli:

Pluggable object stores (only aws right now)
Support for .env object store configuration

In the process, I dropped:

gnuplot smoothing: I opted to drop this since we get smoothing for free from
the windowed db_bench-style stat dumps that I'm using.
pre-loading: Pre-loading can be accomplished by running the bencher with
--put-percentage 100, then runnning the bencher again with the requisite
workload.


HIGH - Fix make test

When calling make test somehow data from other postgres instance is evaporating (tables are gone and data probably also). It is vital to fix this asap

For now I removed option to make test. If I'll fix this bug then I'll return this feature


If anthropic model selected – automatically insert placeholder message for first message as user – to prevent issues

openai.InternalServerError: Error code: 500 - {'message': "Error: litellm.BadRequestError: AnthropicException - litellm.BadRequestError: AnthropicException - Invalid first message. Should always start with 'role'='user' for Anthropic. System prompt is sent separately for Anthropic. set 'litellm.modify_params = True' or 'litellm_settings:modify_params = True' on proxy, to insert a placeholder user message - '.' as the first message, "}

Hi @markokraemer, great seeing you on this corner of the internet. It's been a little while, thanks for the bug submission!
Do you have code to reproduce this so I can add some tests?
Turning on litellm modify_params seems like the right thing to do and is probably pretty safe but I want to make sure it solves your issue.

Thanks for working on this! : )
This is my code (part of it)
agent_base.py https://pastebin.com/raw/GD2EcW7X
run_agent.py https://pastebin.com/raw/weCabkd6
Yeah, the issue is that Anthropic treats it differently than OpenAI, so it's not a one-line replacement without the little modify_params – it would be convenient to have it automatically add the placeholder message.

For some reason I'm not able to reproduce the issue using your code. I had to take a bunch of stuff out to get it to run without the missing pieces so maybe I'm missing some code path?
Do you have a trace that shows where in the code it blows up?

Hey @markokraemer is this still blocking you? I can just add the setting in a branch if you're willing to test it.

Hi @markokraemer I made a branch and docker image for you with the setting:
https://github.com/datastax/astra-assistants-api/tree/ISSUE-50
https://hub.docker.com/layers/datastax/astra-assistants/issue-50/images/sha256-57da56f0642a688673cd01e41e5163500a50492d0d4e33bce4f3bc27716a8126?context=repo
Let me know if your issue goes away?


Need clarification on Fortify Collector

@tabladrum Regarding HP Fortify Collector,Could you pls help me to

how to get exact web service url for fortifyfortify.server=http://myfortify/ssc/fm-ws/services

is fortify a REST or SOAP service?

You need to configs:
fortify.token= ?????
fortify.server=http://myfortify/ssc
Fortify latest version is Rest. But current the collector that we use is 4.30 supported only.

@tabladrum currently I am using 4.21 version, can u pls tell me the changes that needs to be done for 4.30 collector code

I think the current collector should support 4.21 too.

@tabladrum  For Jira collector we have this type of query in Feature Repository
@Query(value = "{'sTeamID' : ?0 , 'isDeleted' : 'False', $and : [{'sSprintID' : {$ne : null}} , {'sSprintBeginDate' : {$lte : ?1}} , {'sSprintEndDate' : {$gte : ?1}}]}, $orderby: { 'sStatus' :-1 }", fields = "{'sSprintID' : 1, 'sSprintName' : 1,'sSprintBeginDate' : 1, 'sSprintEndDate' : 1}")
List getCurrentSprintDetail(String sTeamID, String currentISODateTime);
I want to retrieve spring details whose start date is less than current date and end date greater than current date.
From where do I need to pass these values?
Pls help

@tabladrum : When i am parsing .fpr file from hp fortify collector, I am getting mismatch in the count
Values from collector:
Severity-->blocker value-->9
Severity-->major value-->450
Severity-->critical value-->72
Values from hp fortify ssc UI:
Severity-->blocker value-->0
Severity-->major value-->50
Severity-->critical value-->12
Please help!!

We are aware of this mapping issue. We did a custom mapping. Will correct it.

@tabladrum : could you please let us know once this mapping issue is resolved.
Thanks in advance. It will be really great if this issue is fixed asap :)

Working on it. I know the changes need to be made.

@tabladrum : I tried from my end as well to map this but couldn't make it. any update ?

@tabladrum  any update on this, can this be closed?

I need to correct some mapping. Will get to it before year end.

Any update on this?

Not yet.

fyi - I have noticed that the fortify collector eats too much memory resulting into other process getting killed. seems to me that it is introducing some memory leaks

@tabladrum - Any update about the mapping mismatch? We are also facing this issue.

Hi,
Regarding the fortify token to be put in the properties file, can anyone please clarify which token is this exactly.
Fortify has a number of tokens. I have tried with authentication token which we get after sending a post request to fortify api, but that doesn't work. Please provide more details about the fortify token.
Thanks

closing the issue due to inactivity

how cam i get below configurations ?
fortify.token= ?????
fortify.server=http://myfortify/ssc


Incorrect results unless realized early

I've found a certain combination of operations that will yield incorrect results when computed lazily.
tinygrad version: 0.9.0
python version: 3.12.3
numpy version: 1.26.4
host: macOS 14 arm64
When attempting to use Tensor.multinomial() as part of working through a Karparthy tutorial (using tinygrad), I encountered a strange bug where multinomial() would always just draw the last index, even if the (realized) inputs to Tensor.multinomial looked the same by value. Some unexpected side-effect is going on within the computation graph. TinyJit is not enabled here, and the issue applies to at least both the CLANG and METAL backends.
Manually realizing the tensor at almost any point in the computation graph clears the issue. Similarly, initializing the starting ones() tensor using Tinygrad.Tensor.ones directly (instead of the output of np.ones() being passed to the Tensor initializer) also resolves it.
Working through the implementations of multinomial() and its dependency cumsum(), I've narrowed down a repro case to the following:
#!/usr/bin/env python3

from tinygrad import Tensor
from tinygrad import Device
from tinygrad.dtype import dtypes
from tinygrad.helpers import flatten
import numpy as np
import math

# this bug does not appear to be particular to device, reproducible with at least METAL and CLANG.
Device.DEFAULT = "CLANG"

# likewise, NOOPT does not appear to have any effect.

def main():
    # bug only occurs if starting from a numpy ndarray
    P = Tensor(np.ones((3, 3), dtype=np.float32))
    # swapping to this resolves the issue
    # P = Tensor.ones((3,3), dtype=dtypes.float32)

    # uncommenting this resolves the issue
    # P.realize()

    sums = P.sum(axis=1, keepdim=True)

    # uncommenting this resolves the issue
    # sums.realize()

    P /= sums

    p = P[0]

    # uncommenting this resolves the issue
    # p.realize()

    # the padded zero will be replaced with nan when the bug occurs -- but only after the below repeat.
    p = p.pad2d((1,0,0,0))

    # uncommenting this resolves the issue
    # p.realize()

    # BUG: after this repeat, the padding 0 added above with pad2d will now be
    # nan in both positions. So, indices 0 and 4 will be nan when they should be 0.
    p = p.repeat([2])

    print(p.numpy())

if __name__ == "__main__":
    main()

For reference, here is the use case using multinomial() that originally presented the issue:
#!/usr/bin/env python3

from tinygrad import Tensor
from tinygrad import Device
from tinygrad.dtype import dtypes
import numpy as np

# this bug does not appear to be particular to device, reproducible with both METAL and CLANG.
Device.DEFAULT = "CLANG"

def main():
    # make a simple tensor of probabilities. the weird part is, if dimension 0,
    # the number of rows, is equal to or greater than dimension 1, the bug
    # occurs, even though the first row is subscripted and no other is used.

    trigger_bug = True

    P = Tensor(np.ones((5 if trigger_bug else 4, 5), dtype=np.float32))
    # swapping to this resolves the issue, either 4 or 5 for the first dim will work correctly.
    # P = Tensor.ones((5 if trigger_bug else 4, 5), dtype=dtypes.float32)

    # uncommenting this resolves the issue
    # P.realize()

    sums = P.sum(axis=1, keepdim=True)

    # uncommenting this resolves the issue
    # sums.realize()

    P /= sums

    p = P[0]

    # uncommenting this resolves the issue
    # p.realize()

    # BUG: multinomial will just draw the last index every time. this is because internally the
    # probability of each index other than the last is nan.
    for c in range(10):
        ix = p.multinomial(num_samples=1, replacement=True).item()
        print(ix)

if __name__ == "__main__":
    main()

Thanks!

This is fixed on master (by luck). Will leave this issue open until we have a regression test


Add config files, configure build and logger.

All NPM scripts are smoke-tested.

Is it usual thing to name the entry point file like www?

@yurii-pht It is more of a legacy thing (originated at Apache and PHP, I think, then moved to early Express projects). In most cases index.ts, app.ts or server.ts is used as an entry point. The downside of this approach is if there are multiple files at the same time (e.g. app.ts and server.ts) it is not immediately clear what is the entry point. That's why I put it in ./bin and named it distinctively.


Add onUserAction

The recent change in #147 made it so onStateChange is called even though there are no state changes (because there's a type property on most internalSetState calls now).
So I'm wondering whether we should add an onUserAction which would be called with type, changes, and allState. Then we'd change onStateChange to only have changes (no type anymore).
Thoughts here?
I'm pretty sure that onStateChange being called repeatedly isn't a big deal, but I may be missing something here. I think that @jgoux had some issues with it being called too frequently...
I'm hoping to publish 1.0.0 by tomorrow so quick feedback would be appreciated!

I think this is what I'm going to do. But I'll leave it undocumented (because stateChangeTypes is undocumented as well). Most folks should be able to get by with onStateChange, and if we see that folks need to be notified any time the user did something that could have updated state then we'll document stateChangeTypes and onUserAction.


Combining the two forms into one

Thanks @cvetkovskin !

@cvetkovskin By the way, if possible, could you move the colors you wrote in the login form to src/design/_colors and use it as variables?


add some demo picture on readme

it can help the people fast to know your 's project

added a demo video to the README


Fixed lccal.py arguments

@rkehoe and @GrantPDonnelly. Fixed generation of plots and data filtration with unconex when their arguments did not equal true.

@johnridge and @GrantPDonnelly As there are no conflicts with the base branch, I will merge this PR.


[AutoPR eventhub/resource-manager] EventHub: Added NetwrokruleSet API

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5364

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/1679


Update Github issues templates

Replace SOFAMosn with MOSN

Codecov Report

Merging #923 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #923      +/-   ##
==========================================
- Coverage   55.56%   55.52%   -0.04%
==========================================
  Files         237      237
  Lines       23877    23877
==========================================
- Hits        13267    13258       -9
- Misses       9396     9405       +9
  Partials     1214     1214

Impacted Files
Coverage Δ

pkg/module/http2/frame.go
84.17% <0%> (-0.31%)
:arrow_down:

pkg/module/http2/transport.go
78.47% <0%> (-0.29%)
:arrow_down:

pkg/module/http2/server.go
81.7% <0%> (-0.22%)
:arrow_down:

Continue to review full report at Codecov.

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