Cannot build universal framework with Xcode 12.1

I'm having a bit of trouble building Tangram on a new iMac (running 10.15.7) and on Azure Pipelines. Nothing has changed about my build process, I simply checkout the repository and run git submodule update --init and then make ios-framework-universal to start the build. I've done this since Tangram 0.10 and now I'm getting the following error that suggests both platforms are being built for arm64, which doesn't make sense. This isn't an ARM Mac and I would expect an x86_64 build for the simulator framework.
lipo build/ios/Release-iphoneos/TangramMap.framework/TangramMap \ 		build/ios/Release-iphonesimulator/TangramMap.framework/TangramMap \ 		-create -output build/ios/Release-universal/TangramMap.framework/TangramMap fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: build/ios/Release-iphoneos/TangramMap.framework/TangramMap and build/ios/Release-iphonesimulator/TangramMap.framework/TangramMap have the same architectures (arm64) and can't be in the same fat output file make: *** [ios-framework-universal] Error 1
Does anyone see something that I'm missing? Could this issue be caused by the new CMAKE build system that is now being used by default?
As I said, I've built Tangram using this method for many versions. The only changes are a new version of Xcode.

Huh, I've never seen this one before. What version of CMake is being used for the build? It looks like CMake versions prior to 3.18.1 may have a bug related to choosing architectures for Xcode 12 builds. (https://cmake.org/cmake/help/latest/release/3.18.html#id19)

➜ cmake --version cmake version 3.18.4
Also, I can confirm that the Azure build agent is running the same CMake version. Perhaps a regression of the issue that you linked?

I was able to work around this by explicitly adding the architecture to the makefile for ios-framework-sim. However, now that I've updated to CMAKE 3.19.1, I'm getting the following:
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/OpenGLES.framework/OpenGLES.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/OpenGLES.framework/OpenGLES.tbd (4 slices) ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/CoreText.framework/CoreText.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/CoreText.framework/CoreText.tbd (4 slices) ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics.tbd (4 slices) ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/QuartzCore.framework/QuartzCore.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/QuartzCore.framework/QuartzCore.tbd (4 slices) ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd (4 slices) ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Foundation.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Foundation.tbd (4 slices) ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/UIKit.framework/UIKit.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/UIKit.framework/UIKit.tbd (4 slices) Undefined symbols for architecture x86_64:   "_kCTFontFeatureTypeIdentifierKey", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCTFontFeatureSelectorIdentifierKey", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFArrayCreateMutable", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCFAllocatorNull", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCFBooleanTrue", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCTFontAttributeName", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCTFontPostScriptNameKey", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFStringCreateWithCharactersNoCopy", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFAttributedStringCreateMutable", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTTypesetterCreateLine", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFStringCreateWithCStringNoCopy", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFAttributedStringRemoveAttribute", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTTypesetterCreateWithAttributedStringAndOptions", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glDeleteShader", referenced from: 	  Tangram::GL::deleteShader(unsigned int) in platform_gl.o   "_CTLineGetGlyphRuns", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTRunGetAttributes", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFDictionaryGetValue", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTRunGetGlyphCount", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTRunGetPositionsPtr", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCTFontURLAttribute", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_CTFontCopyGraphicsFont", referenced from: 	  _hb_coretext_font_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTFontCreateUIFontForLanguage", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_CGFontGetCapHeight", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "_CTFontCopyPostScriptName", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_CFStringCompare", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCTFontCascadeListAttribute", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_glGenTextures", referenced from: 	  Tangram::GL::genTextures(int, unsigned int*) in platform_gl.o   "_CFDictionaryCreate", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCFAllocatorDefault", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTFontDescriptorCreateWithAttributes", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTFontCreateCopyWithAttributes", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFEqual", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CGDataProviderCreateWithData", referenced from: 	  _hb_coretext_shaper_face_data_ensure in libharfbuzz.a(hb-coretext.o)   "_CGFontCreateWithDataProvider", referenced from: 	  _hb_coretext_shaper_face_data_ensure in libharfbuzz.a(hb-coretext.o)   "_CGFontRetain", referenced from: 	  _hb_coretext_shaper_face_data_ensure in libharfbuzz.a(hb-coretext.o) 	  _hb_coretext_font_create in libharfbuzz.a(hb-coretext.o)   "_glEnable", referenced from: 	  Tangram::GL::enable(unsigned int) in platform_gl.o   "_CGFontCopyTableForTag", referenced from: 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o) 	  reference_table(hb_face_t*, unsigned int, void*) in libharfbuzz.a(hb-coretext.o)   "_glGetString", referenced from: 	  Tangram::GL::getString(unsigned int) in platform_gl.o   "_CFArrayGetValueAtIndex", referenced from: 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFDataGetBytePtr", referenced from: 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o) 	  reference_table(hb_face_t*, unsigned int, void*) in libharfbuzz.a(hb-coretext.o)   "_CFStringCreateWithCString", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "_NSRunLoopCommonModes", referenced from: 	  -[TGMapView setupDisplayLink] in TGMapView.o   "_CGFontCreateWithFontName", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "_CGDataProviderRelease", referenced from: 	  _hb_coretext_shaper_face_data_ensure in libharfbuzz.a(hb-coretext.o)   "_OBJC_CLASS_$_NSThread", referenced from: 	  objc-class-ref in iosPlatform.o   "_CGFontGetUnitsPerEm", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "_CTFontGetUnderlinePosition", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "_OBJC_CLASS_$_NSURL", referenced from: 	  objc-class-ref in iosPlatform.o   "_glUniform1iv", referenced from: 	  Tangram::GL::uniform1iv(int, int, int const*) in platform_gl.o   "_OBJC_CLASS_$_NSHTTPURLResponse", referenced from: 	  objc-class-ref in iosPlatform.o   "_OBJC_CLASS_$_UIFont", referenced from: 	  objc-class-ref in iosPlatform.o   "_UIFontWeightUltraLight", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_UIFontWeightThin", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_UIFontWeightHeavy", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_OBJC_CLASS_$_NSURLSession", referenced from: 	  objc-class-ref in TGURLHandler.o   "_OBJC_CLASS_$_NSDictionary", referenced from: 	  objc-class-ref in TGMarker.o 	  objc-class-ref in TGTypes.o   "_OBJC_CLASS_$_NSError", referenced from: 	  objc-class-ref in TGMarker.o 	  objc-class-ref in TGTypes.o   "_OBJC_CLASS_$_UIApplication", referenced from: 	  objc-class-ref in TGMapView.o   "_UIFontWeightRegular", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_CGImageGetHeight", referenced from: 	  -[TGMarker setIcon:] in TGMarker.o   "_CTLineGetTrailingWhitespaceWidth", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_OBJC_CLASS_$_EAGLContext", referenced from: 	  objc-class-ref in TGMapView.o   "_CTRunGetGlyphsPtr", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTRunGetGlyphs", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glLineWidth", referenced from: 	  Tangram::GL::lineWidth(float) in platform_gl.o   "_CGImageGetWidth", referenced from: 	  -[TGMarker setIcon:] in TGMarker.o   "_glUniform1i", referenced from: 	  Tangram::GL::uniform1i(int, int) in platform_gl.o   "_CGColorSpaceCreateDeviceRGB", referenced from: 	  -[TGMarker setIcon:] in TGMarker.o   "_CGBitmapContextCreate", referenced from: 	  -[TGMarker setIcon:] in TGMarker.o   "_CFStringHasSuffix", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_CGContextRelease", referenced from: 	  -[TGMarker setIcon:] in TGMarker.o   "_NSLocalizedDescriptionKey", referenced from: 	  -[TGMarker createNSError] in TGMarker.o 	  TGConvertCoreSceneErrorToNSError(Tangram::SceneError const*) in TGTypes.o   "_OBJC_CLASS_$_UILongPressGestureRecognizer", referenced from: 	  objc-class-ref in TGMapView.o   "_CFRetain", referenced from: 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o) 	  _hb_coretext_font_create in libharfbuzz.a(hb-coretext.o)   "_glTexParameteri", referenced from: 	  Tangram::GL::texParameteri(unsigned int, unsigned int, int) in platform_gl.o   "_CTRunGetStringIndicesPtr", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_OBJC_CLASS_$_UIRotationGestureRecognizer", referenced from: 	  objc-class-ref in TGMapView.o   "_OBJC_CLASS_$_UIPanGestureRecognizer", referenced from: 	  objc-class-ref in TGMapView.o   "_CGContextDrawImage", referenced from: 	  -[TGMarker setIcon:] in TGMarker.o   "_UIApplicationDidBecomeActiveNotification", referenced from: 	  -[TGMapView setup] in TGMapView.o   "_glFramebufferRenderbuffer", referenced from: 	  Tangram::GL::framebufferRenderbuffer(unsigned int, unsigned int, unsigned int, unsigned int) in platform_gl.o   "_OBJC_CLASS_$_UITapGestureRecognizer", referenced from: 	  objc-class-ref in TGMapView.o   "_glUniformMatrix4fv", referenced from: 	  Tangram::GL::uniformMatrix4fv(int, int, unsigned char, float const*) in platform_gl.o   "_NSLocalizedFailureReasonErrorKey", referenced from: 	  TGConvertCoreSceneErrorToNSError(Tangram::SceneError const*) in TGTypes.o   "_OBJC_CLASS_$_UIView", referenced from: 	  _OBJC_CLASS_$_TGMapView in TGMapView.o   "_CFAttributedStringReplaceString", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glActiveTexture", referenced from: 	  Tangram::GL::activeTexture(unsigned int) in platform_gl.o   "_OBJC_CLASS_$_NSBundle", referenced from: 	  objc-class-ref in TGMapView.o 	  objc-class-ref in TGTypes.o   "_OBJC_CLASS_$_NSMutableDictionary", referenced from: 	  objc-class-ref in TGMapView.o   "_CLLocationCoordinate2DMake", referenced from: 	  std::__1::__function::__func<-[TGMapView pickMarkerAt:]::$_3, std::__1::allocator<-[TGMapView pickMarkerAt:]::$_3>, void (Tangram::MarkerPickResult const*)>::operator()(Tangram::MarkerPickResult const*&&) in TGMapView.o   "_glVertexAttribPointer", referenced from: 	  Tangram::GL::vertexAttribPointer(unsigned int, int, unsigned int, unsigned char, int, void const*) in platform_gl.o   "_CFArrayAppendValue", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_OBJC_CLASS_$_NSNotificationCenter", referenced from: 	  objc-class-ref in TGMapView.o   "_OBJC_METACLASS_$_UIView", referenced from: 	  _OBJC_METACLASS_$_TGMapView in TGMapView.o   "_kCTTypesetterOptionForcedEmbeddingLevel", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTGetCoreTextVersion", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_CFRelease", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o) 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o) 	  _hb_coretext_shaper_face_data_ensure in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shaper_face_data_destroy in libharfbuzz.a(hb-coretext.o) 	  _hb_coretext_shaper_font_data_ensure in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shaper_font_data_destroy in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  ...   "_kCLLocationCoordinate2DInvalid", referenced from: 	  -[TGMapView coordinateFromViewPosition:] in TGMapView.o 	  -[TGMapView position] in TGMapView.o   "_glGetIntegerv", referenced from: 	  Tangram::GL::getIntegerv(unsigned int, int*) in platform_gl.o   "_CGPointZero", referenced from: 	  -[TGMapView viewPositionFromCoordinate:clipToViewport:] in TGMapView.o 	  -[TGMapView respondToPanGesture:] in TGMapView.o 	  -[TGMapView respondToShoveGesture:] in TGMapView.o 	  std::__1::__function::__func<-[TGMapView pickFeatureAt:]::$_2, std::__1::allocator<-[TGMapView pickFeatureAt:]::$_2>, void (Tangram::FeaturePickResult const*)>::operator()(Tangram::FeaturePickResult const*&&) in TGMapView.o 	  std::__1::__function::__func<-[TGMapView pickMarkerAt:]::$_3, std::__1::allocator<-[TGMapView pickMarkerAt:]::$_3>, void (Tangram::MarkerPickResult const*)>::operator()(Tangram::MarkerPickResult const*&&) in TGMapView.o   "_UIFontWeightSemibold", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_OBJC_CLASS_$_GLKView", referenced from: 	  objc-class-ref in TGMapView.o   "_glBindRenderbuffer", referenced from: 	  Tangram::GL::bindRenderbuffer(unsigned int, unsigned int) in platform_gl.o   "_OBJC_CLASS_$_CADisplayLink", referenced from: 	  objc-class-ref in TGMapView.o   "_glGenRenderbuffers", referenced from: 	  Tangram::GL::genRenderbuffers(int, unsigned int*) in platform_gl.o   "_glGenFramebuffers", referenced from: 	  Tangram::GL::genFramebuffers(int, unsigned int*) in platform_gl.o   "_CTFontGetSize", referenced from: 	  _hb_coretext_shaper_font_data_ensure in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_aat_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_glGenVertexArraysOES", referenced from: 	  Tangram::GL::genVertexArrays(int, unsigned int*) in platform_gl.o   "_glDeleteVertexArraysOES", referenced from: 	  Tangram::GL::deleteVertexArrays(int, unsigned int const*) in platform_gl.o   "_CTFontCreateWithGraphicsFont", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o) 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_glBindFramebuffer", referenced from: 	  Tangram::GL::bindFramebuffer(unsigned int, unsigned int) in platform_gl.o   "_glFinish", referenced from: 	  Tangram::GL::finish() in platform_gl.o   "_kCFTypeArrayCallBacks", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CFStringHasPrefix", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_glUnmapBufferOES", referenced from: 	  Tangram::GL::unmapBuffer(unsigned int) in platform_gl.o   "_glMapBufferOES", referenced from: 	  Tangram::GL::mapBuffer(unsigned int, unsigned int) in platform_gl.o   "_glUniformMatrix3fv", referenced from: 	  Tangram::GL::uniformMatrix3fv(int, int, unsigned char, float const*) in platform_gl.o   "_CFNumberCreate", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glFramebufferTexture2D", referenced from: 	  Tangram::GL::framebufferTexture2D(unsigned int, unsigned int, unsigned int, unsigned int, int) in platform_gl.o   "_glUniform4f", referenced from: 	  Tangram::GL::uniform4f(int, float, float, float, float) in platform_gl.o   "_glUniform3f", referenced from: 	  Tangram::GL::uniform3f(int, float, float, float) in platform_gl.o   "_glReadPixels", referenced from: 	  Tangram::GL::readPixels(int, int, int, int, unsigned int, unsigned int, void*) in platform_gl.o   "_CFDataGetLength", referenced from: 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o) 	  reference_table(hb_face_t*, unsigned int, void*) in libharfbuzz.a(hb-coretext.o)   "_glDepthMask", referenced from: 	  Tangram::GL::depthMask(unsigned char) in platform_gl.o   "_glUniform2f", referenced from: 	  Tangram::GL::uniform2f(int, float, float) in platform_gl.o   "_glViewport", referenced from: 	  Tangram::GL::viewport(int, int, int, int) in platform_gl.o   "_glDisableVertexAttribArray", referenced from: 	  Tangram::GL::disableVertexAttribArray(unsigned int) in platform_gl.o   "_CTRunGetStringIndices", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glClearDepthf", referenced from: 	  Tangram::GL::clearDepth(float) in platform_gl.o   "_glTexSubImage2D", referenced from: 	  Tangram::GL::texSubImage2D(unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*) in platform_gl.o   "_glCheckFramebufferStatus", referenced from: 	  Tangram::GL::checkFramebufferStatus(unsigned int) in platform_gl.o   "_glGenerateMipmap", referenced from: 	  Tangram::GL::generateMipmap(unsigned int) in platform_gl.o   "_UIApplicationDidEnterBackgroundNotification", referenced from: 	  -[TGMapView setup] in TGMapView.o   "_glCreateProgram", referenced from: 	  Tangram::GL::createProgram() in platform_gl.o   "_glDeleteTextures", referenced from: 	  Tangram::GL::deleteTextures(int, unsigned int const*) in platform_gl.o   "_CGFontGetAscent", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "_glDepthRangef", referenced from: 	  Tangram::GL::depthRange(float, float) in platform_gl.o   "_CTRunGetStatus", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_CTRunGetTypographicBounds", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glUniform3fv", referenced from: 	  Tangram::GL::uniform3fv(int, int, float const*) in platform_gl.o   "_CGFontCopyTableTags", referenced from: 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o)   "_UIFontWeightBold", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_glBindBuffer", referenced from: 	  Tangram::GL::bindBuffer(unsigned int, unsigned int) in platform_gl.o   "_glUniform1f", referenced from: 	  Tangram::GL::uniform1f(int, float) in platform_gl.o   "_CGFontGetDescent", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "_glBufferData", referenced from: 	  Tangram::GL::bufferData(unsigned int, long, void const*, unsigned int) in platform_gl.o   "_CFStringGetCharacterAtIndex", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_OBJC_CLASS_$_NSRunLoop", referenced from: 	  objc-class-ref in TGMapView.o   "_NSLocalizedRecoverySuggestionErrorKey", referenced from: 	  TGConvertCoreSceneErrorToNSError(Tangram::SceneError const*) in TGTypes.o   "_glDeleteFramebuffers", referenced from: 	  Tangram::GL::deleteFramebuffers(int, unsigned int const*) in platform_gl.o   "_CTFontCopyAttribute", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_glGetProgramiv", referenced from: 	  Tangram::GL::getProgramiv(unsigned int, unsigned int, int*) in platform_gl.o   "_glUseProgram", referenced from: 	  Tangram::GL::useProgram(unsigned int) in platform_gl.o   "_glGetUniformLocation", referenced from: 	  Tangram::GL::getUniformLocation(unsigned int, char const*) in platform_gl.o   "_CTFontDescriptorCreateWithNameAndSize", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_NSLog", referenced from: 	  -[TGMapView setupGL] in TGMapView.o   "_glAttachShader", referenced from: 	  Tangram::GL::attachShader(unsigned int, unsigned int) in platform_gl.o   "_CFAttributedStringSetAttribute", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glGetShaderInfoLog", referenced from: 	  Tangram::GL::getShaderInfoLog(unsigned int, int, int*, char*) in platform_gl.o   "_CFArrayGetCount", referenced from: 	  +[FontConverter fontDataForCGFont:] in libalfons.a(fontConverter.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glShaderSource", referenced from: 	  Tangram::GL::shaderSource(unsigned int, int, char const**, int const*) in platform_gl.o   "_kCFTypeDictionaryKeyCallBacks", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glLinkProgram", referenced from: 	  Tangram::GL::linkProgram(unsigned int) in platform_gl.o   "_kCTVerticalFormsAttributeName", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glCompileShader", referenced from: 	  Tangram::GL::compileShader(unsigned int) in platform_gl.o   "_OBJC_CLASS_$_NSURLCache", referenced from: 	  objc-class-ref in TGURLHandler.o   "_glBindVertexArrayOES", referenced from: 	  Tangram::GL::bindVertexArray(unsigned int) in platform_gl.o   "_CTRunGetStringRange", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glEnableVertexAttribArray", referenced from: 	  Tangram::GL::enableVertexAttribArray(unsigned int) in platform_gl.o   "_CGFontRelease", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o) 	  _hb_cg_font_release(void*) in libharfbuzz.a(hb-coretext.o)   "_glDrawArrays", referenced from: 	  Tangram::GL::drawArrays(unsigned int, int, int) in platform_gl.o   "_glDeleteProgram", referenced from: 	  Tangram::GL::deleteProgram(unsigned int) in platform_gl.o   "_glCreateShader", referenced from: 	  Tangram::GL::createShader(unsigned int) in platform_gl.o   "_glRenderbufferStorage", referenced from: 	  Tangram::GL::renderbufferStorage(unsigned int, unsigned int, int, int) in platform_gl.o   "_glClearColor", referenced from: 	  Tangram::GL::clearColor(float, float, float, float) in platform_gl.o   "_CTRunGetPositions", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_OBJC_CLASS_$_NSString", referenced from: 	  objc-class-ref in TGMapView.o 	  objc-class-ref in TGTypes.o 	  objc-class-ref in iosPlatform.o   "_CGFontCopyPostScriptName", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_glBindTexture", referenced from: 	  Tangram::GL::bindTexture(unsigned int, unsigned int) in platform_gl.o   "_glColorMask", referenced from: 	  Tangram::GL::colorMask(unsigned char, unsigned char, unsigned char, unsigned char) in platform_gl.o   "_CTFontCopyName", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_kCFTypeDictionaryValueCallBacks", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o) 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glDrawElements", referenced from: 	  Tangram::GL::drawElements(unsigned int, int, unsigned int, void const*) in platform_gl.o   "_glDeleteBuffers", referenced from: 	  Tangram::GL::deleteBuffers(int, unsigned int const*) in platform_gl.o   "_OBJC_CLASS_$_NSArray", referenced from: 	  objc-class-ref in appleAllowedFonts.o 	  objc-class-ref in TGMapView.o   "_CGContextConcatCTM", referenced from: 	  -[TGMarker setIcon:] in TGMarker.o   "_glGenBuffers", referenced from: 	  Tangram::GL::genBuffers(int, unsigned int*) in platform_gl.o   "_glBlendFunc", referenced from: 	  Tangram::GL::blendFunc(unsigned int, unsigned int) in platform_gl.o   "_glStencilFunc", referenced from: 	  Tangram::GL::stencilFunc(unsigned int, int, unsigned int) in platform_gl.o   "_glGetAttribLocation", referenced from: 	  Tangram::GL::getAttribLocation(unsigned int, char const*) in platform_gl.o   "_UIFontWeightBlack", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_glUniform2fv", referenced from: 	  Tangram::GL::uniform2fv(int, int, float const*) in platform_gl.o   "_glGetProgramInfoLog", referenced from: 	  Tangram::GL::getProgramInfoLog(unsigned int, int, int*, char*) in platform_gl.o   "_glStencilOp", referenced from: 	  Tangram::GL::stencilOp(unsigned int, unsigned int, unsigned int) in platform_gl.o   "_glDepthFunc", referenced from: 	  Tangram::GL::depthFunc(unsigned int) in platform_gl.o   "_CFArrayCreate", referenced from: 	  __hb_coretext_shaper_font_data_create in libharfbuzz.a(hb-coretext.o)   "_UIApplicationWillEnterForegroundNotification", referenced from: 	  -[TGMapView setup] in TGMapView.o   "_OBJC_CLASS_$_NSURLSessionConfiguration", referenced from: 	  objc-class-ref in TGURLHandler.o   "_kCTFontFeatureSettingsAttribute", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glCullFace", referenced from: 	  Tangram::GL::cullFace(unsigned int) in platform_gl.o   "_kCTKernAttributeName", referenced from: 	  __hb_coretext_shape in libharfbuzz.a(hb-coretext.o)   "_glDisable", referenced from: 	  Tangram::GL::disable(unsigned int) in platform_gl.o   "_UIFontWeightLight", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_UIFontWeightMedium", referenced from: 	  Tangram::iOSPlatform::systemFont(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const in iosPlatform.o   "_glTexImage2D", referenced from: 	  Tangram::GL::texImage2D(unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*) in platform_gl.o   "_glUniform1fv", referenced from: 	  Tangram::GL::uniform1fv(int, int, float const*) in platform_gl.o   "_glClear", referenced from: 	  Tangram::GL::clear(unsigned int) in platform_gl.o   "_OBJC_CLASS_$_UIPinchGestureRecognizer", referenced from: 	  objc-class-ref in TGMapView.o   "_glGetShaderiv", referenced from: 	  Tangram::GL::getShaderiv(unsigned int, unsigned int, int*) in platform_gl.o   "_CTFontGetUnderlineThickness", referenced from: 	  alfons::AppleFontFace::load() in libalfons.a(appleFontFace.o)   "___CFConstantStringClassReference", referenced from: 	  CFString in appleAllowedFonts.o 	  CFString in appleAllowedFonts.o 	  CFString in appleAllowedFonts.o 	  CFString in appleAllowedFonts.o 	  CFString in appleAllowedFonts.o 	  CFString in appleAllowedFonts.o 	  CFString in appleAllowedFonts.o

I tested make ios-framework-universal with Xcode 12.1 on CircleCI: https://app.circleci.com/pipelines/github/tangrams/tangram-es/167/workflows/4dd3f76c-bf7b-49ab-8d52-bbbe12e2d9d8/jobs/8618/parallel-runs/0/steps/0-104?invite=true
The linking step fails, but with a different error than the one you reported. I'm working on getting access to a machine with macOS Catalina so that I can debug this.

Great work, thanks! I can confirm that this fixes the issue for me. Cheers!


Feature ui detail layout

Some work for mobile view:

Hide/reveal header according to scroll direction
On post detail screen, Header is always shown, with Back button

@SheldonCheng can you help to rebase this PR again .... there are some merge conflicts after #77 got merged.


[TinyNPY] Add new port

I do not understand the failure reason on linux and osx, pls help!

@gnu-lorien can u pls help merging this?

It looks like the problem is that somewhere you said "TinyNPY" when you meant "tinynpy" or vice versa. When I build, the error message is this:
'$DEV/cdcseacave/packages/tinynpy_x64-linux/debug/lib/cmake/tinynpy'
does not exist.
Call Stack (most recent call first):
ports/tinynpy/portfile.cmake:23 (vcpkg_fixup_cmake_targets)
scripts/ports.cmake:74 (include)
When I ls cdcseacave/packages/tinynpy_x64-linux/debug/lib/cmake/ there's a TinyNPY directory.
So something sets the case to be the pretty version rather than the package name version which will only work case insensitive file systems.

That was it, thx for your help.
Good to merge now!


Refactor to extract TOC methods

This refactor extracts methods for building a table of contents. The purpose of the refactor is to make it easier for third-party developers to use this class, subclass it, and override the building methods.

Would you mind either bringing in master or running a bundle update to bump the gems?

If you could handle that, I'd appreciate it because the errors look spurious to me too, and I'm currently on a phone. Thanks!


How do you spot JNI API functions in shared libraries

In order to find out the dynamically registered JNI functions, you have to spot the use of JNI API function RegisterNatives. In your nativedroid, you have follow in code to find it and hook it with a customized SimProcedure:
if 'jniRegisterNativeMethods' in project.loader.main_object.imports or \
                '_ZN7android14AndroidRuntime21registerNativeMethodsEP7_JNIEnvPKcPK15JNINativeMethodi' in \
                project.loader.main_object.imports:
            project.hook_symbol('jniRegisterNativeMethods', RegisterNativeMethods(analysis_center))

This code appears in the function dynamic_register_resolve in file nativedroid/analyses/resolver/dynamic_register_resolution.py. However, I checked with many cases with several tools radare2, objdump besides angr. None of these tools provide the symbol tables contains these JNI API functions.
So I'd like to know are you sure this part of the code is really working? How did you make it work? Have you done anything extra with angr which I did not notice?

I think that's because JN-SAF is built in the way that it can work with NDK version < 16. in newer versions these symbols are not there because of some kind of optimizations of the compiler.

Thanks @behnamben , I checked with NDK version 15 and it is as you said those symbols appear. But the symbols only show in debug version, not the release version. I believe for the release version, the latest Android studio also did more things to strip off most of the symbols.
But anyway, this indicates that nativedroid need to be updated to catch up with these new features otherwise it will not be able to work with recent apps.

Although that's true, the concepts are always the same and you can easily change those signatures in the native-droid.
I also saw some problems when analyzing Armv7 or 8. it cant properly propagate the tainted value in the program.


[docs] Fix ad duplication

Closes #25828. I have seen this happen multiple times in the past but could never figure out how to reliably reproduce the bug, until today.
Preview: https://deploy-preview-25831--material-ui.netlify.app/components/alert/

@DanielJDupont Could you confirm that the issue is solved on the preview link? I can't spot it anymore.

I believe the issue is resolved, I tried throttling the connection and playing around with the Chrome network tools, I am not able to reproduce the bug anymore on the preview.

Great, thanks


refactor: reduce the usage of unreasonable optional chain

[中文版模板 / Chinese template]
🤔 This is a ...

[ ] New feature
[ ] Bug fix
[ ] TypeScript definition update
[ ] Bundle size optimization
[ ] Performance optimization
[ ] Enhancement feature
[x] Refactoring
[ ] Update dependency
[ ] Code style optimization
[ ] Test Case
[ ] Branch merge
[ ] Release
[ ] Site / documentation update
[ ] Demo update
[ ] Workflow
[ ] Other (about what?)

🔗 Related issue link

🔗 Related PR link

🐞 Bugserver case id

💡 Background and solution

📝 Changelog

Language
Changelog

🇺🇸 English

🇨🇳 Chinese

☑ Self-Check before Merge
⚠ Please check all items below before requesting a reviewing. ⚠

[ ] Doc is updated/provided or not needed
[ ] Demo is updated/provided or not needed
[ ] TypeScript definition is updated/provided or not needed
[ ] Changelog is provided or not needed

🚀 Summary
copilot:summary
🔍 Walkthrough
copilot:walkthrough

收益 6.67 KB


feat: allow comments in json

Prerequisites

[x] I have read and understand the CONTRIBUTING guide
[x] The commit message follows the conventional commits guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Description
As a user who is playing with my theme files quite a bit, I would like the ability to use comments in the json configuration. This would be useful for explanations of configuration as well as for temporarily commenting out configuration.
Comments aren't permitted in JSON, but other products have adopted JSONC, a superset of JSON which does allow comments. Products like VS Code and Windows Terminal for example.  JSONC is a superset of JSON, so existing JSON configurations are still perfectly valid.
This PR uses muhammadmuzzammil1998/jsonc to convert the JSONC to JSON.  Go's standard encoding/json is used after that, just like before.
The --print-config option still returns regular JSON.

Awesome!


Unable to install Arrow 17.0.0 with GCS enabled via conan 2.6.0

Describe the bug, including details regarding any error messages, version, and platform.
I am trying to install arrow 17 with conan 2.6.0 on Ubuntu22.04. My conanfile.py:
from conan import ConanFile

class ArrowTest(ConanFile):
    name = "arrow test"
    license = "MIT"
    description = "Arrow test"
    options = {"shared": [True, False]}
    default_options = {
        "shared": False,
        "arrow/*:acero": True,
        "arrow/*:compute": True,
        "arrow/*:dataset_modules": True,
        "arrow/*:parquet": True,
        "arrow/*:with_boost": True,
        "arrow/*:with_thrift": True,
        "arrow/*:with_flight_rpc": True,
        "arrow/*:filesystem_layer": True,
        "arrow/*:with_protobuf": True,
        "arrow/*:with_gflags": True,
        "arrow/*:with_csv": True,
        "arrow/*:with_gcs": True,
        "arrow/*:with_re2": True,
        "arrow/*:with_grpc": True,
    }

    generators = ["CMakeDeps", "CMakeToolchain"]
    exports_sources = ["CMakeLists.txt", "src/*"]
    settings = "build_type"
    build_policy = "missing"

    def requirements(self):
        self.requires("arrow/17.0.0")
        self.requires("grpc/1.54.3", override=True)
        self.requires("google-cloud-cpp/2.12.0", override=True)

The overrides are needed, because google-cloud-cpp is requested by arrow in version 1.40.1 which is not supported by conan 2.
However at some point I am getting following error:
-- Providing CMake module for FindgRPCAlt as part of ArrowFlight CMake package
-- pkg-config package for grpc++ that is used by arrow-flight for static link isn't found
CMake Error at cmake_modules/ThirdpartyToolchain.cmake:310 (find_package):
  By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "nlohmann_json", but CMake did not find one.

  Could not find a package configuration file provided by "nlohmann_json"
  with any of the following names:

    nlohmann_jsonConfig.cmake
    nlohmann_json-config.cmake

  Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
  "nlohmann_json_DIR" to a directory containing one of the above files.  If
  "nlohmann_json" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:4251 (resolve_dependency)
  CMakeLists.txt:544 (include)

-- Configuring incomplete, errors occurred!

arrow/17.0.0: ERROR:
Package 'e67d4e73024d64e3e32a44a09882bca88d817bbf' build failed
arrow/17.0.0: WARN: Build folder /home/ppkowalski/.conan2/p/b/arrow3de7586871a98/b/build/Debug
ERROR: arrow/17.0.0: Error in build() method, line 414
        cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
        ConanException: Error 1 while executing

I thought about installing nlohmann-json3-dev package using apt on the system (which I prefer not to, since I'd like to install everything with conan), then it goes further, however I am getting another error:
-- Providing CMake module for FindgRPCAlt as part of ArrowFlight CMake package
-- pkg-config package for grpc++ that is used by arrow-flight for static link isn't found
-- Found nlohmann_json: /usr/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.10.5")
-- Found nlohmann_json headers: /usr/include;/usr/include
CMake Error at cmake_modules/ThirdpartyToolchain.cmake:310 (find_package):
  By not providing "Findgoogle_cloud_cpp_storage.cmake" in CMAKE_MODULE_PATH
  this project has asked CMake to find a package configuration file provided
  by "google_cloud_cpp_storage", but CMake did not find one.

  Could not find a package configuration file provided by
  "google_cloud_cpp_storage" with any of the following names:

    google_cloud_cpp_storageConfig.cmake
    google_cloud_cpp_storage-config.cmake

  Add the installation prefix of "google_cloud_cpp_storage" to
  CMAKE_PREFIX_PATH or set "google_cloud_cpp_storage_DIR" to a directory
  containing one of the above files.  If "google_cloud_cpp_storage" provides
  a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:4462 (resolve_dependency)
  CMakeLists.txt:544 (include)

-- Configuring incomplete, errors occurred!

arrow/17.0.0: ERROR:
Package 'e67d4e73024d64e3e32a44a09882bca88d817bbf' build failed
arrow/17.0.0: WARN: Build folder /home/ppkowalski/.conan2/p/b/arrow191307691fc54/b/build/Debug
ERROR: arrow/17.0.0: Error in build() method, line 414
        cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
        ConanException: Error 1 while executing

How can I proceed?
Component(s)
Packaging

Could you use https://github.com/conan-io/conan-center-index/tree/master/recipes/nlohmann_json instead of nlohmann-json3-dev ?
Could you share a list of installed files by google-cloud-cpp?

The overrides are needed, because google-cloud-cpp is requested by arrow in version 1.40.1 which is not supported by conan 2.

Could you report it to the upstream?
https://github.com/conan-io/conan-center-index/blob/89d6c8edf50dbccefe84c24cfce45d449debfeb5/recipes/arrow/all/conanfile.py#L179

Could you use https://github.com/conan-io/conan-center-index/tree/master/recipes/nlohmann_json instead of nlohmann-json3-dev ?

I tried adding explicit dependency to nlohmann_json in my conanfile.py, but it did not help. The problem seems to be in cmake_modules/ThirdpartyToolchain.cmake which tries to install this dependency on its own. Similar problem applies to google libs, as they are being installed by conan, but ThirdpartyToolchain tries to download sources and compile it on its own

Could you report it to the upstream?

I did so: https://github.com/conan-io/conan-center-index/issues/25011

Could you show full log?
It's strange that ThirdpartyToolchain.cmake downloads and compile. It must not happen because ARROW_DEPENDENCY_SOURCE=SYSTEM is used: https://github.com/conan-io/conan-center-index/blob/a848a025cc67040b7d496cd31dc8a58125f160c4/recipes/arrow/all/conanfile.py#L284
With the configuration, it must fail when system dependencies aren't found.

Please find following log files:
conan-json.log which shows arrow install attempt (after other dependencies has been installed) WITHOUT nlohmann-json installed in the system
conan-json-from-cc.log with nlohmann-json/3.11.3 added to the conanfile.py and installed from conan center
conan-google.log after running apt-get install nlohmann-json3-dev

Thanks but they don't include information what I know...
Could you also show the followings?
find /home/ppkowalski/.conan2/p/b/nlohmann_json*

find /home/ppkowalski/.conan2/p/b/google-cloud-cpp*

BTW, the arrow conan recipe misses nlohmann_json as a build dependency with "arrow/*:with_gcs": True. Could you also report it to the upstream?

Please find the files attached:
find /home/ppkowalski/.conan2/p/nlohm* since it's header only (nothing found in p/b)
nlohmann_json.log
find /home/ppkowalski/.conan2/p/b/googl0544eb5499220/
google.log

Thanks.

find /home/ppkowalski/.conan2/p/nlohm* since it's header only (nothing found in p/b) nlohmann_json.log

This may be a problem. Could you open a new issue to conan-center-index for adding support for CMake integration?
See also: https://github.com/nlohmann/json?tab=readme-ov-file#cmake

find /home/ppkowalski/.conan2/p/b/googl*/ google.log

Hmm. Do you have installed /home/ppkowalski/.conan2/p/b/googl0544eb5499220/b/build/Debug/google/cloud/storage/google_cloud_cpp_storage-config.cmake? We need to locate it to ${PREFIX}/cmake/google_cloud_cpp_storage/google_cloud_cpp_storage-config.cmake.
See also: https://cmake.org/cmake/help/latest/command/find_package.html#search-procedure


Derpibooru is still not working Images aren't loading correctly

What steps will reproduce the problem?
Any tags
What is the expected behavior? What do you get instead?
Whenever I search a tag, "crossdressing" for example, I get less image results than expected, 741 is what grabber says yet there is 2111 on the website. So in short images are loading properly. They aren't downloading properly either, I click the "get all" button. It says it's going to download 741, again should be 2111, but even then when the download starts, it said blank/165, it only download 165. I'm not sure why this is happening. If it's the program or something I'm not doing right. I added the API to the credentials so thats not the problem.
What version of the program are you using? On what operating system?
4.8.3 The one that says "Fixed Derpibooru" but hasn't
Windows 7
Please provide any additional information below

crossdressing returns 1,631 images while logged out and 3,075 when logged in. I confirmed the logged out version properly downloads everything just now (1,631 images downloaded, no credentials provided).
Where did you get the 2,111 number?

I added the API to the credentials so thats not the problem.

By this, you mean you added your API key in the "password" field of the credentials I suppose?

Sorry, I was thinking of the "femboy" tag, but still, like you I do get 1,631 results, I don't know how you got the 3.075, because derpibooru the website says there are 3.529 results for crossdressing. It's doing this for every tag.
Yes I added the API to the password field that way I was able to also view the explicit images since I am using the "Everything" filter on the website.

Moving to most recent #907

Re-opening because the issue here is that the image/page count used for results is the one from the Regex API instead of the JSON API, which is different because the API key does not work in Regex mode.

Please explain to me what all of that means.


Debian Buster: gcc 7.3.0-3 build noise/warnings [Wdouble-promotion]

Hi James,
Noticed tonight some new Warnings with debian buster's 7.3.0 based gcc, it didn't stop the build or break anything, just something to aware off. (gcc 8.x.x is probally incoming into buster later this year)
Regards,
Generated: bin/am335x-pru0-rc-encoder-fw bin/am335x-pru1-rc-servo-fw
made: build/model.o
made: build/motor.o
src/dsm.c: In function 'rc_dsm_ch_normalized':
src/dsm.c:622:27: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(fabsf(range_up[ch-1]) < zero_tolerance || fabsf(range_down[ch-1]) < zero_tolerance || channels[ch-1]==0) return 0.0f;
                           ^
src/dsm.c:622:71: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(fabsf(range_up[ch-1]) < zero_tolerance || fabsf(range_down[ch-1]) < zero_tolerance || channels[ch-1]==0) return 0.0f;
                                                                       ^
made: build/dsm.o
made: build/button.o
made: build/math/other.o
src/math/polynomial.c: In function 'rc_poly_butter':
src/math/polynomial.c:330:17: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   P3.d[0] = 1.0f/(wc*wc);  // Initialize leading coefficient based on crossover
                 ^
src/math/polynomial.c:334:43: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
    P3.d[1] = -2.0f*cos((2.0f*i + N - 1.0f)*M_PI/(2.0f*N))/wc;
                                           ^
src/math/polynomial.c:334:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
    P3.d[1] = -2.0f*cos((2.0f*i + N - 1.0f)*M_PI/(2.0f*N))/wc;
                                                ^
src/math/polynomial.c:334:19: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
    P3.d[1] = -2.0f*cos((2.0f*i + N - 1.0f)*M_PI/(2.0f*N))/wc;
                   ^
src/math/polynomial.c:350:17: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   P2.d[0] = 1.0f/wc;
                 ^
src/math/polynomial.c:358:17: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   P3.d[0] = 1.0f/(wc*wc);
                 ^
src/math/polynomial.c:361:43: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
    P3.d[1] = -2.0f*cos((2.0f*i + N - 1.0f)*M_PI/(2.0f*N))/wc;
                                           ^
src/math/polynomial.c:361:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
    P3.d[1] = -2.0f*cos((2.0f*i + N - 1.0f)*M_PI/(2.0f*N))/wc;
                                                ^
src/math/polynomial.c:361:19: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
    P3.d[1] = -2.0f*cos((2.0f*i + N - 1.0f)*M_PI/(2.0f*N))/wc;
                   ^
made: build/math/polynomial.o
made: build/math/algebra_common.o
made: build/math/matrix.o
src/math/kalman.c: In function 'rc_kalman_reset':
src/math/kalman.c:156:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
made: build/math/kalman.o
src/math/vector.c: In function 'rc_vector_norm':
src/math/vector.c:237:6: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(p<1.001f && p>0.999f){
      ^
src/math/vector.c:237:18: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(p<1.001f && p>0.999f){
                  ^
src/math/vector.c:242:6: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(p<2.001f && p>1.999f){
      ^
src/math/vector.c:242:18: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(p<2.001f && p>1.999f){
                  ^
made: build/math/vector.o
src/math/filter.c: In function 'rc_filter_first_order_lowpass':
src/math/filter.c:587:13: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  den[1] = c -1.0f;
             ^
src/math/filter.c: In function 'rc_filter_first_order_highpass':
src/math/filter.c:613:15: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  num[0] = 1.0f-c;
               ^
src/math/filter.c:614:12: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  num[1] = c-1.0f;
            ^
src/math/filter.c:616:12: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  den[1] = c-1.0f;
            ^
made: build/math/filter.o
made: build/math/ring_buffer.o
made: build/math/quaternion.o
src/math/algebra.c: In function 'rc_algebra_qr_decomp':
src/math/algebra.c:148:9: warning: unused variable 'norm' [-Wunused-variable]
  double norm;
         ^~~~
src/math/algebra.c:147:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,steps;
        ^
made: build/math/algebra.o
made: build/version.o
made: build/pinmux.o
made: build/led.o
made: build/bmp/bmp.o
made: build/pthread.o
made: build/encoder.o
made: build/cpu.o
made: build/time.o
made: build/deprecated.o
made: build/pru/encoder_pru.o
made: build/pru/pru.o
src/pru/servo.c: In function 'rc_servo_send_pulse_normalized':
src/pru/servo.c:156:10: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(input<(-1.5-TOL) || input>(1.5+TOL)){
          ^
src/pru/servo.c:156:30: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(input<(-1.5-TOL) || input>(1.5+TOL)){
                              ^
src/pru/servo.c:161:28: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  us = 1500 + lroundf((input*600.0));
                            ^
src/pru/servo.c: In function 'rc_servo_send_esc_pulse_normalized':
src/pru/servo.c:170:10: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(input<(-0.1-TOL) || input>(1.0+TOL)){
          ^
src/pru/servo.c:170:30: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(input<(-0.1-TOL) || input>(1.0+TOL)){
                              ^
src/pru/servo.c:174:28: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  us = 1000 + lroundf((input*1000.0));
                            ^
src/pru/servo.c: In function 'rc_servo_send_oneshot_pulse_normalized':
src/pru/servo.c:183:10: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(input<(-0.1-TOL) || input>(1.0+TOL)){
          ^
src/pru/servo.c:183:30: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  if(input<(-0.1-TOL) || input>(1.0+TOL)){
                              ^
src/pru/servo.c:187:26: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  us = 125 + lroundf(input*125.0);
                          ^
made: build/pru/servo.o
made: build/start_stop.o
made: build/io/spi.o
made: build/io/i2c.o
made: build/io/uart.o
made: build/io/adc.o
made: build/io/gpio.o
made: build/io/encoder_eqep.o
made: build/io/pwm.o
made: build/mavlink_udp.o
src/mpu/mpu.c: In function 'rc_mpu_calibrate_mag_routine':
src/mpu/mpu.c:2889:22: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  new_scale[0] = 70.0f/lengths.d[0];
                      ^
src/mpu/mpu.c:2890:22: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  new_scale[1] = 70.0f/lengths.d[1];
                      ^
src/mpu/mpu.c:2891:22: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
  new_scale[2] = 70.0f/lengths.d[2];
                      ^
made: build/mpu/mpu.o
Done making lib/libroboticscape.so

Regards,

thanks for the head up!! Thing brings up something I've had floating (pun not intended) around the back of my head for a while now. Since promoting all the math library to double-precision, I was thinking of promoting the rest of the library to doubles even when it's not strictly necessary, for consistency and to perhaps avoid similar warnings in other people's projects. Everything was single-precision at first because the Sitara only does vectorized math at single-precision, but I found that in practice single-precision is simply not good enough for linear algebra and some of the control systems I do. Thoughts?


webpack bundle exceeds the 244kb limit

Running th yarn build command currently gives a warning.
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (248 KiB)
      js/vendors~app.bundle.js
      js/app.bundle.js```

I built a tool to help you analyze webpack bundles for size regressions, and report them directly to GitHub PRs. It's free for open source, so it might be worth checking out and helpful in this scenario.
https://packtracker.io


[bug]: Unable to install Invoke AI 2.2.4 and 2.2.5 on Windows 10

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cpu
VRAM
6GB
What happened?
I have got python version 3.11 installed. However, during the installation the installation is breaking doing with following message:
Collecting transformers==4.25.*
Using cached transformers-4.25.1-py3-none-any.whl (5.8 MB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement torch==1.12.1 (from versions: none)
ERROR: No matching distribution found for torch==1.12.1
Requirements installation failed. See above for errors and check https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/#troubleshooting for potential solutions.
Please suggest a remedy.
Thanks
Screenshots
No response
Additional context
No response
Contact Details
<EMAIL_ADDRESS>

+1, same error on windows 11.

Looked into it a bit and in my environment I have Python 3.11.0 installed.
PyTorch on Windows only supports Python 3.7-3.9

I have python 3.10.8 and everything working.
There is issue for pytorch and python 3.11 https://github.com/pytorch/pytorch/issues/86566

Yep, downgraded to 3.10.9 and it was able to install pytorch this time and run the installer for 2.2.5.

No luck! downgraded to 3.10.9 ran the installer. Things went fine, however, at the very end the installation broke with following message:
Successfully built InvokeAI
Installing collected packages: InvokeAI
Successfully installed InvokeAI-2.2.5
Installation successful.
.\templates\rootdir\configs\INITIAL_MODELS.yaml
.\templates\rootdir\configs\models.yaml.example
.\templates\rootdir\configs\sd-concepts.txt
.\templates\rootdir\configs\stable-diffusion\v1-finetune.yaml
.\templates\rootdir\configs\stable-diffusion\v1-finetune_style.yaml
.\templates\rootdir\configs\stable-diffusion\v1-inference.yaml
.\templates\rootdir\configs\stable-diffusion\v1-inpainting-inference.yaml
.\templates\rootdir\configs\stable-diffusion\v1-m1-finetune.yaml
8 File(s) copied
The system cannot find the path specified.
Configuration failed. See above for error messages and check https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/#troubleshooting for potential solutions.
The installer will exit now.

i get this error on windows 10:
`[notice] A new release of pip available: 22.2.2 -> 22.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Installation successful.
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
Loading Python libraries...
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Users\domin\Desktop\InvokeAi.venv\Scripts\configure_invokeai.py:44 in                │
│                                                                                │
│    41 Default_config_file = './configs/models.yaml'                                              │
│    42 SD_Configs = './configs/stable-diffusion'                                                  │
│    43                                                                                │
│ ❱  44 assert os.path.exists(Dataset_path),"The configs directory cannot be found. Please run t   │
│    45                                                                                │
│    46 Datasets = OmegaConf.load(Dataset_path)                                                    │
│    47 completer = generic_completer(['yes','no'])                                                │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
AssertionError: The configs directory cannot be found. Please run this script from within the invokeai runtime
directory.
Configuration failed. See above for error messages and check https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/#troubleshooting for potential solutions.
The installer will exit now.
Press any key to continue . . .`

I have the same error @Gitterman69

@Gitterman69 - see https://github.com/invoke-ai/InvokeAI/discussions/2304

Issue still persist.

issue still exists.


Revert #812

I believe we need to revert this change: #812

if process is not available in the global scope (and it is not in browsers) it will break because you can't check for variable existence by doing it like

if (nonExistentVar) { ... }

It breaks dead-code elimination for some reason, probably because of a more complex expression.

Published 6.1.6 that should fix this issue.

Happened to check "Used By" and saw that mobx-react started using TSDX recently -- very cool! 😄
@mweststrate I'm a maintainer now at TSDX and have patched or added features to most of its codebase, so can definitely help you get Immer on TSDX and debug any issues if you're still considering it! I didn't see any references to TSDX in Immer's issues or PRs so wasn't really sure what you tried (and you didn't file any issue at TSDX either! 😛 )

@agilgur5 Using TSDX was my choice, Michel was kinda skeptical ;) I would love to use over at mobx as well, but it's not a good fit because it's sort of hand made monorepo and I don't think TSDX can handle that well.
As for Immer, I don't maintain that, but in opinion, there is no reason to break something that works, right? :)

For Immer it should be fine I'd expect, but I tried it twice and in both
cases I got very weird babel exceptions, so didn't try any further. If it
aint broken... ;-). But if you think it'd be cool if Immer uses TSDX feel
free to PR :). MobX will probably be trickier indeed.
On Fri, Feb 7, 2020 at 8:23 AM Daniel K<EMAIL_ADDRESS>wrote:

@agilgur5 https://github.com/agilgur5 Using TSDX was my choice, Michel
was kinda skeptical ;) I would love to use over at mobx as well, but it's
not a good fit because it's sort of hand made monorepo and I don't think
TSDX can handle that well.
As for Immer, I don't maintain that, but in opinion, there is no reason to
break something that works, right? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mobxjs/mobx-react/issues/820?email_source=notifications&email_token=AAN4NBGEMCFGJLVWWRWONB3RBUK6ZA5CNFSM4KJ5FON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELCDL7Q#issuecomment-583284222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBHQJ4VXCQTELGL6TOLRBUK6ZANCNFSM4KJ5FONQ
.

So I just released TSDX v0.13.0 and wanted to come back to this now that that's finally out. TSDX went from 3 somewhat active maintainers to 1 (me) and I just got committing privileges last week and publishing 2 days ago -- wanted to make sure that was settled out before migrating any libraries myself.
But then I saw https://github.com/immerjs/immer/pull/536, so seems like the Immer migration was done shortly after this! Sorry I couldn't be of more help! Let me know in the future if you need any support on it!

One major thing I noticed between the bili config and the TSDX config was the lack of the bundleNodeModules option. TSDX currently treats all absolute imports as externals, including for UMD (https://github.com/jaredpalmer/tsdx/issues/179), unless configured differently. That doesn't seem to impact immer though, as it has 0 dependencies anyway.


Doc-3547

SonarQube plugin and troubleshooting

@douglas-j-bothwell I added some troubleshooting information for SonarQube that came through a CI ticket. I wasn't sure if I should add it to the SonarQube scanner step reference page.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://656fa81fd4ca4f46b473a80c--harness-developer.netlify.app


ca: Fixes #2877 mgmt server cert should have all addrs of default nic

This fixes the default RootCA provider implementation to initiate
and issue certificate for mgmt server on startup for all the IP addresses
on the default nic of that host.
Fixes #2877
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✖debian.


Fix SearchBar cancel button typo

I found a typo at SearchBar.showsCancelButton, it always set to the default value no matter I changed it to true.

@adi-li great catch, thank you!


Bugfix/#247 code generation for list of string+list of string builder

Fix for #247.
fix "java.util.NoSuchElementException" because of calling next() twice
RestServiceClassCreator.java#L828

thanx - very much appreciated especially since my time for resty is very limited nowadays


Make clappr responsive

What is a simple way of making clappr take up the full size of its container?
Thanks

@imabee101 in the player configuration, just set width and height attributes to '100%' and it will automatically adjust to container element.

Thank-you for the response. I did that and the player will no longer load.
https://i.gyazo.com/032a7fb5de867eb40b13a92d269e7ab1.png

@imabee101 check if the player container element has appropriate size.
Example :

    <title>My App</title>

Thank-you very much!

I tried the code you specified and the player just stays at 640 by 360. The player wont change sizes. Any other suggestions?

With width and height set to '100%' Clappr player will adapt size to the "player" container div.
You have to change css style on container div to fullfills your needs.

Thank-you

Here's how you would make Clappr responsive using Bootsrap.
I was forced to use a slightly different technique than what @kslimani suggests above to get this to work.

See example here: https://codepen.io/tecfu/pen/LJRmPQ

Here's how you would make Clappr responsive using Bootsrap.
I was forced to use a slightly different technique than what @kslimani suggests above to get this to work.

See example here: https://codepen.io/tecfu/pen/LJRmPQ

Thanks for this my saviour. Works perfect. Just need to change parent: '#player-container' to parentId: '#player-container'

Here's how you would make Clappr responsive using Bootsrap.
I was forced to use a slightly different technique than what @kslimani suggests above to get this to work.

See example here: https://codepen.io/tecfu/pen/LJRmPQ

Thanks for this my saviour. Works perfect. Just need to change parent: '#player-container' to parentId: '#player-container'


object and array slices by array should work

o = a: 123, b: 394, c: 321
you can do:
o<[a b]> # => [123, 394]
which is great, if you have keys = <[a b]>, this should work too:
o[...keys] # => [123, 394]
(note that o[...<[a b]>] does work)
same thing for array should work as well:
[1,2,3][...indexes]
where indexes = [1,2]

Arise, dead thread! I would be in favor of this change—I think it's the more intuitive interpretation of the syntax, and obviously more consistent given the behavior of o[...<[a b]>]. But it is a breaking change, and there is currently one test that contraindicates it in chaining.ls:
a = [0 1 2][[0 1], {2}]
eq '0,1' ''+a.0
eq '0,1' ''+a[...0] # would fail because 0 is not an array
eq 2 a.1.2

I'm still for it; what do others think?

The new behavior can be applied to non-literals only, so the change wouldn't be breaking.
Although the current behavior seems hardly intuitive. a[...b] compiles roughly to a[b].slice(), so I doubt anyone would want to use it in that way, though I may be wrong.

There are, I must admit, valid use cases for the current behavior that don't neatly adapt to the new one. parts[\first \second ...\rest] as shorthand for [parts.first, parts.second].concat(parts.rest) is kind of nice. Still unintuitive IMO given the way splat works otherwise, but convenient if that's what you want.


[minor] Cannot set "Control+/" as a Shortcut

OS: Windows 10 x64
When I press Ctrl+"/" just nothing happens.

same issue here, cannot set it to "Super + Space"

@Ribtoks you can use the workaround from #223 and set Ctrl+/ via editing config file.

@maximbaz Yup, proves to work. Thanks!

Anyway, it is just workaround and we will fix this bug

Will be included in next release!