MTOUCH : error MT5210: Native linking failed, undefined symbol on IOS

Thank you for this amazing library.
When added to XF <IP_ADDRESS>2 in VS Mac 8.10.2 the project refused o build with the error in the subject.
see more below
MTOUCH : error MT5210: Native linking failed, undefined symbol: _GTMFetcherApplicationIdentifier. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
MTOUCH : error MT5210: Native linking failed, undefined symbol: _GTMFetcherSystemVersionString. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _GTMSessionFetcherAssertValidSelector. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _GULIsLoggableLevel. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _GULLogBasic. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _GULLogError. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _GULLogInfo. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _GULLogWarning. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _GULSetLoggerLevel. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: FIRApp. The symbol '_OBJC_CLASS_$_FIRApp' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: FIRAppAssociationRegistration. The symbol '_OBJC_CLASS_$_FIRAppAssociationRegistration' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: FIRComponent. The symbol '_OBJC_CLASS_$_FIRComponent' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: FIRComponentType. The symbol '_OBJC_CLASS_$_FIRComponentType' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: FIRInstallations. The symbol '_OBJC_CLASS_$_FIRInstallations' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: FIRRemoteConfig. The symbol '_OBJC_CLASS_$_FIRRemoteConfig' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBCodedOutputStream. The symbol '_OBJC_CLASS_$_GPBCodedOutputStream' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBDescriptor. The symbol '_OBJC_CLASS_$_GPBDescriptor' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBEnumArray. The symbol '_OBJC_CLASS_$_GPBEnumArray' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBEnumDescriptor. The symbol '_OBJC_CLASS_$_GPBEnumDescriptor' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBExtensionDescriptor. The symbol '_OBJC_CLASS_$_GPBExtensionDescriptor' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBExtensionRegistry. The symbol '_OBJC_CLASS_$_GPBExtensionRegistry' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBFileDescriptor. The symbol '_OBJC_CLASS_$_GPBFileDescriptor' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBInt32Array. The symbol '_OBJC_CLASS_$_GPBInt32Array' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBMessage. The symbol '_OBJC_CLASS_$_GPBMessage' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GPBRootObject. The symbol '_OBJC_CLASS_$_GPBRootObject' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVisionQuery_ImagesAnnotate. The symbol '_OBJC_CLASS_$_GTLRVisionQuery_ImagesAnnotate' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVisionService. The symbol '_OBJC_CLASS_$_GTLRVisionService' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVision_AnnotateImageRequest. The symbol '_OBJC_CLASS_$_GTLRVision_AnnotateImageRequest' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVision_BatchAnnotateImagesRequest. The symbol '_OBJC_CLASS_$_GTLRVision_BatchAnnotateImagesRequest' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVision_DetectedBreak. The symbol '_OBJC_CLASS_$_GTLRVision_DetectedBreak' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVision_Feature. The symbol '_OBJC_CLASS_$_GTLRVision_Feature' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVision_Image. The symbol '_OBJC_CLASS_$_GTLRVision_Image' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVision_ImageContext. The symbol '_OBJC_CLASS_$_GTLRVision_ImageContext' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTLRVision_LatLng. The symbol '_OBJC_CLASS_$_GTLRVision_LatLng' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTMLogMininumLevelFilter. The symbol '_OBJC_CLASS_$_GTMLogMininumLevelFilter' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTMLogger. The symbol '_OBJC_CLASS_$_GTMLogger' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTMSessionCookieStorage. The symbol '_OBJC_CLASS_$_GTMSessionCookieStorage' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTMSessionFetcher. The symbol '_OBJC_CLASS_$_GTMSessionFetcher' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GTMSessionFetcherService. The symbol '_OBJC_CLASS_$_GTMSessionFetcherService' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GULAppDelegateSwizzler. The symbol '_OBJC_CLASS_$_GULAppDelegateSwizzler' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GULAppEnvironmentUtil. The symbol '_OBJC_CLASS_$_GULAppEnvironmentUtil' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GULMutableDictionary. The symbol '_OBJC_CLASS_$_GULMutableDictionary' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GULNetwork. The symbol '_OBJC_CLASS_$_GULNetwork' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GULSwizzler. The symbol '_OBJC_CLASS_$_GULSwizzler' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GULUserDefaults. The symbol '_OBJC_CLASS_$_GULUserDefaults' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: TFLInterpreter. The symbol '_OBJC_CLASS_$_TFLInterpreter' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _OBJC_METACLASS_$_GPBMessage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _OBJC_METACLASS_$_GPBRootObject. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _OBJC_METACLASS_$_GTMLogger. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _TFLVersion. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRAppDeleteNotification. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRAppNameKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRDefaultAppName. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRLoggerMLKit. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Block_BlockType_Barcode. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Block_BlockType_Picture. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Block_BlockType_Ruler. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Block_BlockType_Table. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Block_BlockType_Text. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_DetectedBreak_Type_EolSureSpace. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_DetectedBreak_Type_Hyphen. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_DetectedBreak_Type_LineBreak. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_DetectedBreak_Type_Space. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_DetectedBreak_Type_SureSpace. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Feature_Type_DocumentTextDetection. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Feature_Type_LabelDetection. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Feature_Type_LandmarkDetection. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTLRVision_Feature_Type_TextDetection. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGTMSessionFetcherStatusDomain. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGULNetworkHTTPStatusCodeCannotAcceptTraffic. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGULNetworkHTTPStatusCodeNotFound. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGULNetworkHTTPStatusCodeNotModified. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGULNetworkHTTPStatusCodeUnavailable. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGULNetworkHTTPStatusNoContent. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _kGULNetworkHTTPStatusOK. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_decode. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_decode_varint. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_encode. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_encode_string. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_encode_submessage. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_encode_tag_for_field. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_encode_varint. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_istream_from_buffer. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_ostream_from_buffer. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : error MT5210: Native linking failed, undefined symbol: _pb_read. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

MTOUCH : warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker

MTOUCH : warning MT5215: References to 'System.Net.Security' might require additional -framework=XXX or -lXXX instructions to the native linker

MTOUCH : warning MT5215: References to 'Kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker

MTOUCH : warning MT5215: References to 'libEGL' might require additional -framework=XXX or -lXXX instructions to the native linker

MTOUCH : error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz -lc++ -ObjC -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -lz -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker "/Users/ololadeoyebanji/Projects/SterlingMobile/SterlingMobile.iOS/obj/iPhoneSimulator/Debug/device-builds/iphone 8-14.4/Entitlements.xcent"

Hi @technololy,
I have tried the same config as you and it seems alright.
Did your iOS project set to Link framework SDK only and ARM64 only?
I also updated the package to Xamarin Form <IP_ADDRESS>2 in version 5.0.8

Hi @JimmyPun610,
I encounter the same issue as @technololy, but I only have this line of error,
MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRLoggerMLKit. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
I using the BarcodeScanner.XF 6.2.2-pre which using your custom build iOS MLKit library and removed the deprecated Xamarin.Firebase.iOS.MLKit and Xamarin.Firebase.iOS.MLKit.Common which I use previously, but the error still exist, do you have any idea regarding this? Appreciate your helps!
I did set my iOS project to Link framework SDK only and ARM64 only as well.
For your reference, my current NuGet version:

Xamarin.Forms <IP_ADDRESS>1
BarcodeScanner.XF 6.2.2-pre
Xamarin.Build.Download 0.11.2
Xamarin.Essentials 1.7.3
Xamarin.Google.iOS.SignIn <IP_ADDRESS>

I have the exact sae problem as @dzeping96.
Please fix this issue as it prevents my app to be published to the store.
Thanks in advance.

@JimmyPun610 thanks. i remember it worked for me after some house cleaning. thank you for this amazing library


2.3.2

Pull Request Etiquette
There are several guidelines you should follow in order for your Pull Request to be merged.
Replace [ ] with [x] to cross the checkbox.

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

It is sometimes better to include more changes in a single commit.
If you find yourself having an overwhelming amount of commits, you
can rebase your branch.

Changes
Replace this sentence with a description of che changes introduced by this PR.

#108 #110

Changes from #107 are partially untested and need to be tested before we release.

This warrants a bump in version to minor release level, right? As in, directly 2.4.0.

They were fairly minor changes, I see no need to bump minor. But there also no reason we can't.

This warrants a bump in version to minor release level, right? As in, directly 2.4.0.

They were fairly minor changes, I see no need to bump minor. But there also no reason we can't.

The following (from the latest dev release) warrants a minor version bump (x.Y.z) instead of a patch bump (x.y.Z):

New Features
Ability to turn existing signs into Shops using /ts (create/createbi/createi)

if (((TradeShop) Bukkit.getPluginManager().getPlugin("TradeShop")).isFrozen()) return;
https://github.com/Tradeshop/TradeShop/blob/7824f0c265fd4883892c9d9fe6a651b778b86b0c/src/main/java/org/shanerx/tradeshop/objects/Shop.java#L733
What is this for? it seems to be constantly stopping the updateSign() method from running?
^ I'm seeing this when I'm trying to create signs using the commands.
also in most places you can either use plugin or utils.getPlugin instead of ((TradeShop) Bukkit.getPluginManager().getPlugin("TradeShop"))

This warrants a bump in version to minor release level, right? As in, directly 2.4.0.

They were fairly minor changes, I see no need to bump minor. But there also no reason we can't.

The following (from the latest dev release) warrants a minor version bump (x.Y.z) instead of a patch bump (x.y.Z):

New Features
Ability to turn existing signs into Shops using /ts (create/createbi/createi)

Bumping to 2.4.0 with my next set of changes and also adding in the toggleable Admin mode since that is a small addition and makes me feel better about making it a minor release.

- `What` command now requires `EDIT` permission; Not sure if I want this to be this way, if we remove this the wiki needs to be updated to reflect it.
No. What command now need requires INFO permission. Why? What - permission, what this is shop and list products, costs and etc.

- `What` command now requires `EDIT` permission; Not sure if I want this to be this way, if we remove this the wiki needs to be updated to reflect it. No. What command now need requires INFO permission. Why? What - permission, what this is shop and list products, costs and etc. @KillerOfPie

The commit note was wrong and they can't be edited afaik, if you look at the first 2.3.2 release notes it is correct in that.

What is this for? it seems to be constantly stopping the updateSign() method from running?
@KillerOfPie Correct, it is a hacky fix for that very tricky bug that kept us confused for months because of automatic early sign updates.

Is the new fix tested extensively?

Is the new replacement fix tested extensively?

No, I never got it on my test server so I can't know for dire. but the problem was just an error in console so

Merging and releasing.


Compatibility with ColBERT Models Trained with Pylate

Tried to use a ColBERT model trained using Pylate since it was built on top of Sentence Transformers. The model loaded (SetFitModel.from_pretrained) but failed in trainer.train():
[/usr/local/lib/python3.10/dist-packages/sentence_transformers/losses/CosineSimilarityLoss.py](https://localhost:8080/#)
---> 76         embeddings = [self.model(sentence_feature)["sentence_embedding"] for sentence_feature in sentence_features]
KeyError: 'sentence_embedding'
Are those models fully incompatible or there is a fix?

I'm afraid those are fully incompatible. ColBERT models simply have different outputs than regular Sentence Transformer models.

Tom Aarsen


DEMETER updates

Updated download routine, variable names, PEP8 compliance, and added coordinate conversion routines.

I need to run some errands to support my recording project tomorrow. I plan to be back on this today.
On Oct 9, 2018, at 2:58 PM, Angeline Burrell <notifications<EMAIL_ADDRESS>wrote:
@aburrellhttps://github.com/aburrell requested your review on: rstoneback/pysat#92https://github.com/rstoneback/pysat/pull/92 DEMETER updates.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/pull/92#event-1893813829, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADbdefYEYmtK4w7NJ2U1vWnHBTBBlC2qks5ujP_kgaJpZM4XUBDv.


Audio Playback not working on 2.3.1

Environment

OS: Linux Mint Cinnamon
scrcpy version: newest version: 2.3.1
installation method: apt install scrcpy
device model: Samsung Galaxy s23 plus SM-S916B
Android version: Android 14

Describe the bug
So my Setup with version 1.21.1 before updating was my Phone hooked up to my Pc via USB and a pair of Bluetooth Headphones connected to my Phone. Then i open a terminal and type scrcpy to start the mirroring. Now i have my Phone screen mirrored onto my PC and have audio from my Phone.
After i made a issue that --turn-screen-off was broken but i just had a older version installed, i removed the version 1.21.1 i had and got me the latest 2.3.1. But now after i got the new version and i start a mirror now the audio turns off. i was going through the wiki a little and couldnt find anything that could turn on audio, just to turn it off.
$ scrcpy
scrcpy 2.3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  R5CW12PGC0T                     device  SM_S916B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 11.9 MB/s (66007 bytes in 0.005s)
[server] INFO: Device: [samsung] samsung SM-S916B (Android 14)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
INFO: Trilinear filtering enabled

my Phone hooked up to my Pc via USB and a pair of Bluetooth Headphones connected to my Phone

If you disconnect your bluetooth headphones, is the audio correctly forwarded to the computer? (#4083)
If you want to keep audio on the phone (not forward it to the computer), just disable it:
scrcpy --no-audio

https://github.com/Genymobile/scrcpy/blob/master/doc/audio.md

Disconnecting Headphones makes it work again and i dont need the --no-audio setting because the audio comes out of the phone as i want. But connecting the Headphones again, audio seems to be turned off again and only comes back by using the --no-audio setting. Maybe i just misunderstood the Wiki ¯_(ツ)_/¯
No audio

To disable audio:

scrcpy --no-audio

Thought disable audio = No Audio at all
But when --no-audio means no audio out of the Pc Speakers i would then close this issue :)

because the audio comes out of the phone as i want

That's unexpected, it should be forwarded to the computer (unless it fails to capture). Try to start scrcpy when the earphones are disconnected maybe. In practice, scrcpy capture the "remote submix" source, how it behaves concretely is up to the device system ROM.

But when --no-audio means no audio out of the Pc Speakers i would then close this issue :)

--no-audio means scrcpy does not capture audio (so it keeps playing on the phone), like --no-video means scrcpy does not capture video.

After unplugging and plugging my speaker it fixed it self :). Thanks for the help


fix: properly handle output dir with sub dirs that do not exist

What does this PR do?
Ensures that output dir that contains sub dir that do not exist are created before project is generated
What issues does this PR fix or reference?
@W-9945150@

@peternhale I'm not sure I fully understand what this is for. Could you include an example of the behavior you were experiencing that this PR fixes and/or some testing instructions please?

@RodEsp
Current behavior
In the parent folder where the project will be created run sf generate project --output-dir ./this/dir/does/not/exist --name myproject
which yields
sf generate project --output-dir ./this/dir/does/not/exist --name myproject
Error: ENOENT: no such file or directory, mkdir 'this/dir/does/not/exist'

(ENOENT)
(node:30727) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, mkdir 'this/dir/does/not/exist'
    at Object.mkdirSync (fs.js:1013:3)
    at makeEmptyFolders (/usr/local/lib/node_modules/@salesforce/cli/node_modules/@salesforce/templates/lib/generators/projectGenerator.js:134:16)
    at ProjectGenerator.writing (/usr/local/lib/node_modules/@salesforce/cli/node_modules/@salesforce/templates/lib/generators/projectGenerator.js:76:13)
    at Object.<anonymous> (/usr/local/lib/node_modules/@salesforce/cli/node_modules/@salesforce/templates/node_modules/yeoman-generator/lib/index.js:991:25)
    at /usr/local/lib/node_modules/@salesforce/cli/node_modules/run-async/index.js:49:25
    at new Promise (<anonymous>)
    at /usr/local/lib/node_modules/@salesforce/cli/node_modules/run-async/index.js:26:19
    at runLoop.add.once.once (/usr/local/lib/node_modules/@salesforce/cli/node_modules/@salesforce/templates/node_modules/yeoman-generator/lib/index.js:992:11)
    at Immediate.<anonymous> (/usr/local/lib/node_modules/@salesforce/cli/node_modules/yeoman-environment/node_modules/grouped-queue/lib/subqueue.js:48:34)
    at processImmediate (internal/timers.js:464:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:30727) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:30727) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This change ensures this/dir/does/not/exist is created before running yoeman


Dude Yes!!!! Thank you so much!

I have no issue just wanted to say thanks, this is SUPER helpful!!!!!

Just saw your message,
Thanks man! I'm so glad thus could help you :D Please let me know if you have any issue with it!


Go 1.12 MacOS syscall/IO perf regression

Version: go version go1.12 darwin/amd64 (MacOS 10.13.6)
After upgrading from go 1.11.5 to go 1.12 I'm seeing a very large performance regression in https://github.com/etcd-io/bbolt tests (see https://github.com/etcd-io/bbolt/issues/149). BoltDB is a memory-mapped BTree database used in projects such as etcd.
Filing an issue here since the only change that has happened is I have changed Go versions.
 On my machine step (3) takes ~0.09s and step (2) takes ~2.6s.

30x slower is worse than I would have hoped, but some slowdown is expected.  See the release notes, specifically https://golang.org/doc/go1.12#darwin.  We now make all system calls through the C library on Darwin, because it is the only way to be forward compatible to future releases.

Yeah I figured it might be related to https://github.com/golang/go/issues/17490. Would it be possible to get this behaviour flagged on/off by any chance? I'd be willing to not have forward-compatible builds, i.e. for when running tests.
Also, when I used pprof to debug this, I couldn't actually identify the cause of the slow down. Is this expected?
For example, here's the blockprofile graph:

And here's the cpuprofile graph:

Both were computed by running go test -run TestSimulate_1000op_1p -blockprofile block.out -cpuprofile profile.out. Note how the cpuprofile graph only has a total of 120ms spent in syscalls, while the total test time was ~2.6s and the blockprofile graph shows ~2.4s spent blocking on a mutex.

It's not realistically possible to use a flag.  The changes are extensive.  We can't support both versions, especially since Apple has explicitly told us to stop using the old version.
I don't really know the answers to your profiling questions.  But when I look at your profile, one thing jumps out at me: the use of File.Sync.  Another change in 1.12, mentioned at https://golang.org/doc/go1.12#os, is that File.Sync now works correctly on Darwin.  As a consequence, it is much slower than it used to be.  It is possible that that change, rather than the change to use the C library, is the bulk of the slowdown that you are seeing.  Although File.Sync is now much slower on Darwin, it's important to understand that the implementation in Go 1.11 and earlier was simply incorrect, and did not provide the protections expected from the use of File.Sync.  There is no way to recover that time other than to stop calling File.Sync.  See also #26650 and #27415.

Makes sense regarding the flag. And ah interesting, thanks for pointing this out @ianlancetaylor. Good to know (and luckily our production workloads all run on Linux).
 When I did this, and ran with go 1.12 darwin/amd64, the tests complete in ~0.1s. Much closer to the go 1.11 speed of 0.08s!
✓ jnewman@Jareds-MacBook-Pro:~/go/src/go.etcd.io/bbolt | master● $ git --no-pager diff
diff --git a/boltsync_unix.go b/boltsync_unix.go
index 9587afe..ed070be 100644
--- a/boltsync_unix.go
+++ b/boltsync_unix.go
@@ -4,5 +4,5 @@ package bbolt

 // fdatasync flushes written data to a file descriptor.
 func fdatasync(db *DB) error {
-	return db.file.Sync()
+	return nil
 }
✓ jnewman@Jareds-MacBook-Pro:~/go/src/go.etcd.io/bbolt | master● $ go test -run TestSimulate_1000op_1p
seed: 48000
quick settings: count=5, items=1000, ksize=1024, vsize=1024
PASS
ok  	go.etcd.io/bbolt	0.100s

OK, thanks, I don't think there is anything to do here.

When I run the same test on a linux machine, I see it take ~0.27s:
centos:/home/anduril/go/src/go.etcd.io/bbolt
$ go test -run TestSimulate_1000op_1p
seed: 8609
quick settings: count=5, items=1000, ksize=1024, vsize=1024
PASS
ok  	go.etcd.io/bbolt	0.270s
centos:/home/anduril/go/src/go.etcd.io/bbolt
$ go version
go version go1.12 linux/amd64

This means that the macos' fsync implementation is still 10x slower than linux's (!!).  I guess since the FD.Fsync implementation literally just performs a F_FULLFSYNC syscall, I guess yeah there isn't really much you can do...


Remove As trait bound from Currency::Balance

(I don't expect this can be merged. This is more of an issue with related code to show my point.)
I think we should release the As bound on Balance type because it may cause issues (#1377). Even substrate code base have no such issue exists, it is impossible to ensure such issue won't exist on other runtimes.
One module requires Balance: As<usize> shouldn't affect the shared abstract Currency::Balance type otherwise it means the abstraction is not correct.
In this case the Staking module can add additional trait bound and for people are not using Staking module, they don't need to support Balance: As<usize> at all.
Another reason I want to do this is because this prevents me to use some fancy type to support multi token currency with the existing Currency trait.
I want to use Vec<(AssetId, Balance)> as the Balance type but it is impossible to convert such type to a number.

looks pretty reasonable, but doesn't build.

I want to use Vec<(AssetId, Balance)> as the Balance type but it is impossible to convert such type to a number.

Note that Copy bound on Balance can prevent you from using Vec.

I want to use Vec<(AssetId, Balance)> as the Balance type but it is impossible to convert such type to a number.

Note that Copy bound on Balance can prevent you from using Vec.

Thanks for pointing it out. I guess I need to rework the design... But be able to support Balance = (u128, u128) (due token chain) could be useful regardless.

I want to use Vec<(AssetId, Balance)> as the Balance type but it is impossible to convert such type to a number.

Note that Copy bound on Balance can prevent you from using Vec.

You can still wrap it in a structure and implement Copy on it though

You can still wrap it in a structure and implement Copy on it though

But how would you implement Copy for something that is not copy-able? One can't put Vec inside of such a structure Copy structure, one can't put something like Rc there as well.

You can still wrap it in a structure and implement Copy on it though

But how would you implement Copy for something that is not copy-able? One can't put Vec inside of such a structure Copy structure, one can't put something like Rc there as well.

aah you're right I thought Copy only needed Clone to be able to be marked.

I have started removing As<u64> from SimpleArithmetic and the scope is significantly more than what I initially expected.
Please let me know if you guys want me to continue on this path. Otherwise I don't want to spend any more time on a PR that is got going to get merged.

I have started removing As<u64> from SimpleArithmetic and the scope is significantly more than what I initially expected.
Please let me know if you guys want me to continue on this path, or I should do it differently. Otherwise I don't want to spend any more time on a PR that is not going to get merged.

I'm not sure about the way to go, removing it from simple arithmetic but bounding it to every usage of simple arithmetic won't solve the issue, does it ?
Having some kind of From<u64> equivalent in simple arithmetic is legit to me. then usages of Into<u64> should be avoided as possible and if not possible should be made through a tryinto thing.
I'm saying From and TryInto but we may prefer having our traits Sa and TryAs to be able to implement defaults as we want.
This at least make every usage of As auditable easily.

I have started removing As<u64> from SimpleArithmetic and the scope is significantly more than what I initially expected.
Please let me know if you guys want me to continue on this path, or I should do it differently. Otherwise I don't want to spend any more time on a PR that is not going to get merged.

I'm not sure about the way to go, removing it from simple arithmetic but bounding it to every usage of simple arithmetic won't solve the issue, does it ?
Having some kind of From<u64> equivalent in simple arithmetic is legit to me. then usages of Into<u64> should be avoided as possible and if not possible should be made through a tryinto thing.
I'm saying From and TryInto but we may prefer having our traits Sa and TryAs to be able to implement defaults as we want.
This at least make every usage of As auditable easily.

It does make a difference. Only the Currency::Balance need to remove As<u64> bound. For the module needs it, e.g. staking, it can still require the As bound and I can choose either not using staking module, or pass a specialized trait implementation confirms the As in a meaningful way in the context of staking module. For a different module, I have the chose to pass a different trait implementation.
In the context of the module we are working on, a multi token module (similar to assets module in substrate), I can pass the main token Currency struct to staking module, pass the generalized Currency struct to another module with does not have As bound.
So maybe keep SimpleArithmetic as it is and have another version of it without As<u64> and use it for Currency::Balance?

In general I would like to see As removed entirely and switch it to TryFrom<u64>. There should be no need for TryInto<u64>; for modules that appear to need to convert a SimpleArithmetic into a u64, then there should probably be an explicit conversion type (i.e. a type of trait Convert<...> passed in to the module.

Currency bounds to TryFrom<u64>, it would fail for which reason ? if value is subset of u64, or if value doesn't make sense to be converted from u64 and doesn't want to support this ?
if the latter then it seems that there is some contradiction: because it seems I can reimplement From using Shl and One.

(also it seems a lot of conertion are made between u64 and BlockNumber in core)

I suggest this PR (if it is not to be continued as-is) to be closed and merge your work and experiments with @thiolliere here: https://github.com/paritytech/substrate/pull/2322 as they are both concerning one issue.

I have reverted the attempt to completely remove As from Currency::Balance type as it depends on #2322
The rest of the PR is still a cleanup of the code and can be merged.

@thiolliere updated


Add Semantic Tokens Support for PartiQL Server

Problem
The current aws-lsp-partiql server does not support Semantic Tokens.
Solution
This update introduces Semantic Tokens support for the aws-lsp-partiql server, enabling syntax highlighting for PartiQL files. The implementation leverages a fallible tree-sitter parser developed by the PartiQL Team.
The parser is compiled into a WebAssembly binary, which is then encoded as a base64 string within a TypeScript file for compatibility with the web-tree-sitter package. Additionally, the tree-sitter.wasm file from the web-tree-sitter package is similarly compiled into a base64 string and included in a TypeScript file. This setup enables differentiated instantiation in browser and Node.js environments, allowing the server to be used more efficiently as a web worker when assets are loaded from a CDN, compared to direct wasm file bundling.

Tested the server wrapped in the standalone runtime in VS Code:

Tested the server wrapped in the webworker runtime a web-based LSP client.

Added automated unit tests for  both the server and the service.

License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

FYI, I have included a link #363  to the closed draft PR below for historical context to help new viewers trace the development and discussion back to its origins.


GADM Loader

This PR creates a loader class to instantiate GADM data; allow normalize and gecode functions to optionally accept GADM pre-instantiated. The class, mixdata has two methods: load_gadm2() and load_gadm3().
Additionally, the normalizer, process, and geocode functions now optionally take a gadm argument (which
This can be used by Spacetag to cache the GADM file and send it to Mixmasta, without Mixmasta having to waste time loading things.

@GoogleSheets all tests passed! 🚀
Quite helpful in ensuring I didn't break things since I did change some major functions.


servicemanager legacy code

"success" param in the api result is the legacy code.
In Thunder JSON-RPC there are error codes. If ERROR_NONE the message sends a "result" object. Otherwise the message sends an error code. Error codes are part of the interface: https://github.com/rdkcentral/rdkservices/blob/df8b598e1943e0f35d7af8cf77943e034b278a1d/Messenger/Messenger.json#L76-L77
A caller shouldn't have to inspect "result" object to see if the api succeeded or not.
"getMeSomeData" methods are also the legacy code.
In Thunder JSON-RPC there are properties / readonly properties: https://github.com/rdkcentral/rdkservices/blob/df8b598e1943e0f35d7af8cf77943e034b278a1d/LocationSync/LocationSyncJsonRpc.cpp#L36

"success" parameter was added for legacy reasons to support comcast ServiceManager APIs. But going forward, newer APIs should return only error object to match the spec. Also existing APIs should return error object along with success:false in the response.

management preferred to stay with xre ServiceManager style so closing


Cards overview and functionality to modify CVC codes

A overview of the cards (Maestro and Mastercard) with the options to change PIN, CVC2-code, granted countries,  limits and attached monetary account.

Endpoints to use;
https://doc.bunq.com/api/1/call/card
https://doc.bunq.com/api/1/call/card-generated-cvc2

+1

@SamihSoylu check out the feature/cards branch 😄
Feature is coming soon

I have removed the "Generate new CVC codes" from this issue and moved it to a separate issue here: #131


[Docs]Can gNB send the packets to more than one UPF simultaneously in ULCL version

If the design issue template is not followed, the issue might be closed.

Documentation request
In the ULCL version, I want let gNB to send UDP packet to both Anchor point1 and Anchor point2 simultaneously. But when the  Anchor point1 is sending the traffic to DN1, the Anchor point2 will have some error like this

Or can I let one SMF connect to 3 UPF without using ULCL version?
Another question is that if I want to send the packet to the DN, in my uerouting.yaml my DestinationI{ should be the last UPF's IP or the DN's IP?
Suggestion
no Suggestion
Additional context
here is my smf config and uerouting.yaml

I believe that SMF connect to 3 UPF without using ULCL.
In this case, 3 of the UPF should with the DNN of internet. Can you try to test in this case?


Install for Mysql 5.6

Hello,
first of all great initiative. This is something i always dreamed of having on lambda. Could you guide me on which libmysqlclient.so version i would need for 5.6.41. i tried the official one but it fails. Any help will be appreciated

Hi - thanks for trying this project out!
To answer your question: you need libmysqlclient.so.18 for MySQL 5.6.x that is obtained from the mysql-community-common.x86_64 0:5.6.49-2.el7 yum package.
However, based on your message, I have made the changes necessary for building and packaging the AWS Lambda layer for MySQL 5.6 (and Python 3.8) in the mysql-5.6 branch in this GitHub repo. It has been tested and works fine.
Also the final layer.zip file that you need to upload to AWS Lambda to create your layer is also directly available in this repo itself. I have tested this in an AWS Lambda function, and it is working just fine with Python 3.8
If you want to build your own layer.zip from scratch, that's easy too. Just clone this repo, git checkout the mysql-5.6 branch and run the ./build.sh script (provided you have Docker installed and running beforehand). It will do the needful and you will get the required layer.zip file in the build_ouptut directory.
Let me know if this works for you and if there's anything else I can help with.

Sure will try and let you know. Thanks

Seems to give an access denied error.
I currently have aws rds mysql version 5.6.41
connects fine with pymysql. So i am sure there is a problem with the connector file

I ran the following test code in a Lambda function. The Lambda function is using the Lambda layer that I created and shared above for MySQL 5.6, and I tested it against an RDS MySQL DB running MySQL 5.6.41:
from MySQLdb import _mysql

def lambda_handler(event, context):
    db=_mysql.connect(host="database-1.cywusodsboh0.us-east-1.rds.amazonaws.com",port=3306,user="admin",passwd="lTf6iclu5LCwYSeTmacq",db="test")
    db.query("""SHOW DATABASES;""")
    r=db.store_result()
    print(r.fetch_row(0))

As you can see from the resultant screenshot here, the code is not only connecting to the DB, but it the query is also executing just fine:

The purpose of the AWS Lambda layer is just to ensure that you can import MySQLdb without any error in your AWS Lambda Function as explained in the README.
Once the Lambda Layer has got you to the stage where import MySQLdb is working, the project has accomplished its purpose :)
The following are out of scope of this project:

connection errors
the lambda function configuration (is it in the right VPC, does it have the right security groups, the right subnets, the right IAM role etc etc)
the proper DB config
proper _mysql  usage

There can be several reasons why the connection is not working - incorrect connString, VPC config, SGs, etc. Without further information it's not easy to pinpoint the cause of failure to the Lambda layer itself.
We are using the Lambda mysqlclient layer in our production environment and it has been performing flawlessly for months now. The Lambda layer is not the cause of your connection errors :)

Also just to prove that my RDS instance is actually running MySQL 5.6.41, here's a screenshot:

This is very strange. Do you think having SSL enabled to have something to do with it?

Yes, it's a possibility. You will have to troubleshoot the connection issues - as hinted at earlier, there can literally be dozens of reasons why it's not working for you, and unfortunately I can't do this for you.
I can assure you that the Lambda layer for mysqlclient is not one of the reasons that you are getting connection errors - As shown above, it's working fine even with MySQL 5.6.41 :)

i can confirm it does work. SSL was the issue
                _mysql.connect(host=values['endpoint'],
                               user=values['username'],
                               passwd=values['password'],
                               db=values['db'],
                               ssl={'ca': ssl_ca_name()})

this is the correct syntax

closing this. Thanks and keep up the good work. Really helpful.

Great! Thanks for the update, and glad it is working for you now 👍
Thanks also for sharing the solution that works with SSL.
If you found this project useful consider giving it a star here on GitHub. Cheers!

already did.... Great work.....


Update and rename qtgreet-1.0.0a_p20210127.ebuild to qtgreet-1.0.0.eb…

Please make it a new file instead of a rename.
Also generate the manifest (checksum) for the new ebuild - repoman manifest - it automatically downloads and creates the necessary checksums.
Because this is a versioned release, please change the SRC_URI to SRC_URI="https://gitlab.com/marcusbritanicus/QtGreet/-/archive/v${PV}/QtGreet-v${PV}.tar.gz"


Using local fonts

I am trying to apply the latest Public Sans font my website. I have the font installed on the computer, and I made a new .toml file in the data/fonts folder, everything is working fine on my computer.
However, I also want other visitors to my website to see this font even if they do not have it installed on their computer. I have looked through several previous issues and discussion, but I feel totally lost.
Is there a clear guide to how I can use local fonts?
Thanks in advance!

There are many guides on the web for adding a non-standard font to a site.
You'll need to upload your font to somewhere like static/fonts/public-sans.ttf, creating the folders and renaming the font file if necessary.
Next add an Academic CSS plugin to import the custom font, creating a CSS file at assets/css/custom.css:
@font-face {
  font-family: 'Public Sans Regular';
  font-style: normal;
  font-weight: 400;
  src: local('Public Sans Regular'), url('fonts/public-sans.ttf');
}

Open your config/_default/params.toml and set plugins_css = ["custom"], where custom is your CSS filename without its extension.
Finally, reference the font-family of your font in your Font Theme, for example:
# Font style metadata
name = "Default"

# Optional Google font URL
google_fonts = ""

# Font families
heading_font = "Public Sans Regular"
body_font = "Public Sans Regular"
nav_font = "Public Sans Regular"
mono_font = "monospace"

# Font size
font_size = "20"
font_size_small = "16"

Please read the docs or ask on the forums if you need further support.

Hi. I tried the suggestions listed above. But, when my webpage is opened by a visitor, it font chosen is no longer rendered.
I have enclosed the images of the same.
How it appears in my screen:

How it appears in a visitors screen:

Any help will be greatly appreciated.
Thanks!


correctly refer to "using directives"

Address incorrect use of "using statement" to refer to a "using directive".

Update source code in the private repo. It should propagate to the public repo after cross-repo sync happens. Thanks for submitting the fix!


CASMINST-5441 Use authentication for csm-helm-charts [main]

Summary and Scope
We're going to enable authentication on csm-helm-charts. In preparation to this, we'll start configuring credentials for this repo in csm build.
Issues and Related PRs

Required by  CASMINST-5441

Testing
Tested on:

Local development environment
Jenkins

Test description:

Tested image list generator locally by switching to dev artifactory instance, which does require authentication
Tested image list generator locally by connecting to main artifactory instance - it does not require authentication yet, but if credentials are provided, they must be correct. Tested all 3 scenarios (no creds, incorrect creds, correct creds).
Jenkins build produces list of images successfully.

Risks and Mitigations
Low - easy to rollback.

/backport release/1.3

/backport stable/1.2

FYI - both backports above failed, because they were already done manually. Sorry, my bad - should not have request backport of this specific change.
$ git log --oneline --no-merges stable/1.2 | grep CASMINST-5441
9aa61604 CASMINST-5441 Use authentication for csm-helm-charts
$ git log --oneline --no-merges release/1.3 | grep CASMINST-5441
f8e183cb CASMINST-5441 Use authentication for csm-helm-charts


Read flags from system file as well as user file

I added support for reading from /etc/chromium-flags.conf in addition to the user file. User flags take a higher precedence than system flags. I've already installed the binary to a shared Arch Linux server that I administer, and so far, it's been working perfectly for setting flags for all users. It also passes all the unit tests.
I think this a feature that a few users would benefit from, while not harming anyone else, so it would be great if this PR was merged. Of course, if you don't want to merge it, that's also fine, and I will just use my own fork on my systems.

Thanks, pushed your implementation (along with a couple of follow-up tweaks).
Please check if the current tip of the master branch still does what you intended.

Yeah, I think my version accidentally makes system flags take a higher precedence than user flags, but it's fixed at the tip of the master branch.


Update Writing-a-Language-Service-Plugin.md

I updated the guide so that it passes options to getCompletionsAtPosition

Thanks @SimonSiefke


updated ads test account id

The internal accounts used at Pinterest for integration tests changed a bit, so I needed to update the account ID in this end-to-end test script.

Since this update is a configuration of the tests for the repo, I'm going to declare it to be an administrative action and take care of it myself.

Since this PR is updating an account used with tests for the repo, I'm declaring it to be an administrative action and self-merge it.


Applying Helm3

@rossf7 updating helm3 branch ain't that help to minimize the changes. I think we need to perform rebase or creating another branch

Creating a draft PR for a cleaner view. https://github.com/giantswarm/chart-operator/pull/443

Can we close this and https://github.com/giantswarm/chart-operator/pull/443?
As we know we can create a PR from a fresh branch when we're ready to merge to master.

Sure let's close this


Remove check for ZeroHash to enable Nexon's Chainlink VRF use case.

Description
Remove check for ZeroHash to enable Nexon's Chainlink VRF use case.
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Checklist

[ ] I have assigned this PR to myself
[ ] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[ ] I have tested this code with the official test suite
[ ] I have tested this code manually

Manual tests
Please complete this section if you ran manual tests for this functionality, otherwise delete it
Documentation update
Please link the documentation update PR in this section if it's present, otherwise delete it
Additional comments
Please post additional comments in this section if you have them, otherwise delete it

@jhkimqd you don't want these changes to be merged? I see that PR got closed.

@Stefan-Ethernal thanks for pointing that out. The changes need to be merged, but due to local repo being deleted, I'm unable to reopen this. I'll create a new PR.


[style]: Improve hover effects on the cards in the about us page

What's the style idea?
Currently on hovering the cards, the cards move up vertically, what do you think of scaling it, it would look much more visually appealing
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I would like to work on this issue under gssoc'23

@karthiknadar1204, you have already been assigned 1 issue. Therefore, this issue will be assigned to @karantec

@JasonDsouza212 I am done with the assigned issue including the asked changes,please review that and then assign it to me.
I opened it because I was done with the assigned task


Modify model code to be interoperable between HateSpeech and Contrastive

Modified model, loss and task code to make interoperable between HateSpeech and Constrastive
Both contrastive and hate speech tasks are training on this modified code

UPDATE 02/19: Contrastive task is crashing after ~3 hours on wandb, isolating issue currently

Merging this in for now, will revisit later


Switch to gmail

Coverage remained the same at 99.204% when pulling c1abe7e062ef469706dc766c198d779798fa0bbd on prod into f71080858f0833f698599a4c8ac353b19848344a on master.


kamel uninstall --all does not remove Kamelets

kamel CLI provides the uninstall option --all
As a user I would expect the command to remove all Camel K custom resources including all Kamelets that have been installed automatically with the operator.
Unfortunately the Kamelets are not removed. Only the Kamelet CRD is removed. We should make sure to remove all Camel K custom resources when doing an uninstall --all

I think this was discussed in the past. Kamelets are generic contents, not necessarily bound to the Camel K operator (ie, you can create a kamelet and let any other system use it). I'd suggest instead we include a parameter on kamel uninstall in order to simplify the cleanup if needed. Otherwise, as a fallback, you can always use kubectl and delete all unnecessary Kamelets.

IMO --all option is exactly that option where everything should be removed including Kamelets. The short description of --all option is "Do uninstall all Camel K resources".
Also all CRDs (including Kamelet and KameletBinding) are removed with uninstall --all at the moment and only the Kamelet custom resource instances are not removed. This does no make any sense to me because the user will not be able to work with those left overs once the CRD is missing.

Looking deeper, it seems we already should support the uninstall of bundled kamelet see https://github.com/apache/camel-k/blob/4d248940a283e81dce6fa9845001d032889baef6/pkg/cmd/uninstall.go#L479. For some reason, we may miss the setting of the label during the installation procedure.

Could have been fixed by https://github.com/apache/camel-k/pull/3553

True, thanks for the info!


fixing cloud shell errors

Fix product name, direct users to skip install/setup for cloud shell. Az login is disabled in cloud shell, "cliinteractive" should never be used on az login cmds as users are already authenticated in cloud shell.

@jluk : Thanks for your contribution to the Azure documentation! The author, @echuvyrov, has been notified to review your proposed change.

#signoff


Cognitive Walkthrough

Create Cognitive Walkthrough.
5.2.5 in book

Ethan completed with the help of Shabnam


Cucumber tests not starting

Bug description
Cucumber tests running in the browser end up in a timeout due to the application not starting fast enough. As of now, it is not known if the problem is the application taking too much time to start, the default timeout of Jest's configuration, or a badly implemented test.
Files related with the problem (branch e2e_login)

Puppeteer configuration: jest-puppeteer.config.js
Jest configuration: e2e/jest-config.js
Login feature: e2e/features/login.feature
Login feature steps: e2e/step-definitions/login.steps.js

I have solved the timeout. Now you have to fix the test. The solution is in this commit eb5dc88.

Thank you very much. I also had to add another timeout because a Navigation Timeout error was being raised, but the tests are now running.

Great! I am glad that its solved. Just one extra thing. I am linking to an issue in group en2a that can help you debug your e2e tests. I didn't want to write this here again.

Sure, thank you!


Optionally cache gzipped responses.

If gzipped assets don't change often, we can save a lot of work by caching the compressed responses. The typical usage would be a cache keyed on some hash of the original content:
app['COMPRESS_CACHE_KEY'] = lambda response: hashlib.sha1(response.get_data()).hexdigest()

I implemented a simple DictCache, but it would be straightforward to add disk, Redis, etc. if necessary (although not worthwhile for my use case). If this patch is of interest, I'll add tests and add whatever cleanup is recommended.

Coverage decreased (-8.2%) to 84.48% when pulling f680fc33de106933a4601adc6498c778c7def5ee on jmcarp:cache into aa286bbc635560d40499243a0bafc738f96e46d4 on wichitacode:master.

Coverage decreased (-8.2%) to 84.48% when pulling f680fc33de106933a4601adc6498c778c7def5ee on jmcarp:cache into aa286bbc635560d40499243a0bafc738f96e46d4 on wichitacode:master.

I wanted to let you know I haven't had much time to look at this yet but it sounds great. I'll look into it deeper in the next couple days and get back you.

Sorry it took so long for me to merge this in. It looks great! Thank you.

What's the best way to use this in tandem with flask-cache?

@bookernath I'm a little late, but for anyone else looking for this, here's a snippet that seems to sync them up well for me:
from flask_cache import Cache
from flask_compress import Compress

cache = Cache(app, config=app.config.get('FLASK_CACHE'))
# Tell flask-compress about our Flask-Cache instance so it can use it as a backend
app.config['COMPRESS_CACHE_BACKEND'] = lambda: cache
Compress(app)

@jkomusin thanks for getting back to me!
I should have been more explicit though - ideally I'd want to make sure that Flask is caching the compressed response, since it'll take up less space in the cache. My best read on what you've proposed here is that the uncompressed response will be stored in cache and then compressed when read from cache. Do I have that right?

Ah I think I see what you're saying. I'm not caching the uncompressed responses from any of my Flask views right now, just checking to see if there's a matching SHA1 compressed result in the cache.
I suspect you're correct though. The method I posted, if you simply decorated a Flask view, the uncompressed response would be cached and then the compressed response would also be cached. The view would return the cached uncompressed response, then the flask-compress after_request hook would pull the cached compressed response.


⚠ Bofrost.be has degraded performance

In 2070393, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1013 ms

Resolved: Bofrost.be performance has improved in cb93f53.