Installing 0.7.8 on macOS 14.5 (Sonoma) error.

gem install charlock_holmes
Building native extensions. This could take a while...
ERROR:  Error installing charlock_holmes:
	ERROR: Failed to build gem native extension.

    current directory: /Users/me/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/charlock_holmes-0.7.8/ext/charlock_holmes
/Users/me/.rbenv/versions/3.3.3/bin/ruby extconf.rb
checking for pkg-config for icu-i18n... not found
checking for pkg-config for icu-io... not found
checking for pkg-config for icu-uc... not found
checking for -licui18n... yes
checking for unicode/ucnv.h... yes
checking for -lz... yes
checking for -licuuc... yes
checking for -licudata... yes
creating Makefile

current directory: /Users/me/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/charlock_holmes-0.7.8/ext/charlock_holmes
make DESTDIR\= sitearchdir\=./.gem.20240704-49730-lnpeup sitelibdir\=./.gem.20240704-49730-lnpeup clean

current directory: /Users/me/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/charlock_holmes-0.7.8/ext/charlock_holmes
make DESTDIR\= sitearchdir\=./.gem.20240704-49730-lnpeup sitelibdir\=./.gem.20240704-49730-lnpeup
compiling converter.c
converter.c:23:12: warning: implicit conversion loses integer precision: 'long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
        src_len = RSTRING_LEN(rb_txt);
                ~ ^~~~~~~~~~~~~~~~~~~
/Users/me/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
1 warning generated.
compiling encoding_detector.c
encoding_detector.c:183:71: warning: implicit conversion loses integer precision: 'long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
                ucsdet_setDeclaredEncoding(detector->csd, RSTRING_PTR(rb_enc_hint), RSTRING_LEN(rb_enc_hint), &status);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/me/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
encoding_detector.c:232:71: warning: implicit conversion loses integer precision: 'long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
                ucsdet_setDeclaredEncoding(detector->csd, RSTRING_PTR(rb_enc_hint), RSTRING_LEN(rb_enc_hint), &status);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/me/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
2 warnings generated.
compiling ext.c
compiling transliterator.cpp
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:26:
/opt/homebrew/opt/icu4c/include/unicode/uobject.h:134:54: error: expected ';' at end of declaration list
    static void * U_EXPORT2 operator new(size_t size) noexcept;
                                                     ^
                                                     ;
/opt/homebrew/opt/icu4c/include/unicode/uobject.h:141:56: error: expected ';' at end of declaration list
    static void * U_EXPORT2 operator new[](size_t size) noexcept;
                                                       ^
                                                       ;
/opt/homebrew/opt/icu4c/include/unicode/uobject.h:151:51: error: expected ';' at end of declaration list
    static void U_EXPORT2 operator delete(void *p) noexcept;
                                                  ^
                                                  ;
/opt/homebrew/opt/icu4c/include/unicode/uobject.h:158:53: error: expected ';' at end of declaration list
    static void U_EXPORT2 operator delete[](void *p) noexcept;
                                                    ^
                                                    ;
/opt/homebrew/opt/icu4c/include/unicode/uobject.h:166:67: error: expected ';' at end of declaration list
    static inline void * U_EXPORT2 operator new(size_t, void *ptr) noexcept { return ptr; }
                                                                  ^
                                                                  ;
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:27:
In file included from /opt/homebrew/opt/icu4c/include/unicode/unistr.h:36:
/opt/homebrew/opt/icu4c/include/unicode/char16ptr.h:42:30: warning: 'final' keyword is a C++11 extension [-Wc++11-extensions]
class U_COMMON_API Char16Ptr final {
                             ^
/opt/homebrew/opt/icu4c/include/unicode/char16ptr.h:93:19: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    Char16Ptr() = delete;
                  ^
/opt/homebrew/opt/icu4c/include/unicode/char16ptr.h:149:35: warning: 'final' keyword is a C++11 extension [-Wc++11-extensions]
class U_COMMON_API ConstChar16Ptr final {
                                  ^
/opt/homebrew/opt/icu4c/include/unicode/char16ptr.h:201:24: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    ConstChar16Ptr() = delete;
                       ^
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:27:
In file included from /opt/homebrew/opt/icu4c/include/unicode/unistr.h:39:
/opt/homebrew/opt/icu4c/include/unicode/stringpiece.h:133:22: warning: default template arguments for a function template are a C++11 extension [-Wc++11-extensions]
            typename = typename std::enable_if<
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:27:
In file included from /opt/homebrew/opt/icu4c/include/unicode/unistr.h:40:
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:164:32: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  ByteSink(const ByteSink &) = delete;
                               ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:165:43: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  ByteSink &operator=(const ByteSink &) = delete;
                                          ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:209:53: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual void Append(const char* bytes, int32_t n) override;
                                                    ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:227:59: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
                                int32_t* result_capacity) override;
                                                          ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:256:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  CheckedArrayByteSink() = delete;
                           ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:257:56: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  CheckedArrayByteSink(const CheckedArrayByteSink &) = delete;
                                                       ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:258:67: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  CheckedArrayByteSink &operator=(const CheckedArrayByteSink &) = delete;
                                                                  ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:294:52: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual void Append(const char* data, int32_t n) override { dest_->append(data, n); }
                                                   ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:298:22: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  StringByteSink() = delete;
                     ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:299:44: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  StringByteSink(const StringByteSink &) = delete;
                                           ^
/opt/homebrew/opt/icu4c/include/unicode/bytestream.h:300:55: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
  StringByteSink &operator=(const StringByteSink &) = delete;
                                                      ^
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:27:
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:1529:44: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
              UnicodeString& target) const override;
                                           ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:1909:42: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  UnicodeString &operator=(UnicodeString &&src) noexcept;
                                         ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:1909:48: error: expected ';' at end of declaration list
  UnicodeString &operator=(UnicodeString &&src) noexcept;
                                               ^
                                               ;
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:1916:34: error: expected ';' at end of declaration list
  void swap(UnicodeString &other) noexcept;
                                 ^
                                 ;
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:1925:45: error: expected ';' at end of declaration list
  swap(UnicodeString &s1, UnicodeString &s2) noexcept {
                                            ^
                                            ;
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:2459:64: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
                                    const UnicodeString& text) override;
                                                               ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:2466:37: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual UBool hasMetaData() const override;
                                    ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:2481:65: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual void copy(int32_t start, int32_t limit, int32_t dest) override;
                                                                ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3309:31: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
  UnicodeString(UnicodeString &&src) noexcept;
                              ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3309:37: error: expected ';' at end of declaration list
  UnicodeString(UnicodeString &&src) noexcept;
                                    ^
                                    ;
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3341:40: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual UnicodeString *clone() const override;
                                       ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3447:46: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual UClassID getDynamicClassID() const override;
                                             ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3458:37: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual int32_t getLength() const override;
                                    ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3465:52: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual char16_t getCharAt(int32_t offset) const override;
                                                   ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3472:53: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
  virtual UChar32 getChar32At(int32_t offset) const override;
                                                    ^
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3634:63: error: expected ';' at end of declaration list
  void copyFieldsFrom(UnicodeString &src, UBool setSrcToBogus) noexcept;
                                                              ^
                                                              ;
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:2998:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text)) {}
      ^~~~~~~~~~~~~
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3048:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text), textLength) {}
      ^~~~~~~~~~~~~
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:3129:7: error: delegating constructors are permitted only in C++11
      UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}
      ^~~~~~~~~~~~~
/opt/homebrew/opt/icu4c/include/unicode/unistr.h:4595:16: error: out-of-line definition of 'operator=' does not match any declaration in 'icu_74::UnicodeString'
UnicodeString::operator= (char16_t ch)
               ^~~~~~~~
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:29:
In file included from /opt/homebrew/opt/icu4c/include/unicode/utrans.h:22:
In file included from /opt/homebrew/opt/icu4c/include/unicode/uenum.h:25:
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:71:51: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new(size_t) = delete;
                                                  ^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:72:53: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new[](size_t) = delete;
                                                    ^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:74:58: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    static void* U_EXPORT2 operator new(size_t, void*) = delete;
                                                         ^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:224:34: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
    LocalPointer(LocalPointer<T> &&src) noexcept : LocalPointerBase<T>(src.ptr) {
                                 ^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:224:40: error: expected ';' at end of declaration list
    LocalPointer(LocalPointer<T> &&src) noexcept : LocalPointerBase<T>(src.ptr) {
                                       ^
                                       ;
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:399:30: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
    LocalArray(LocalArray<T> &&src) noexcept : LocalPointerBase<T>(src.ptr) {
                             ^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:399:36: error: expected ';' at end of declaration list
    LocalArray(LocalArray<T> &&src) noexcept : LocalPointerBase<T>(src.ptr) {
                                   ^
                                   ;
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:29:
In file included from /opt/homebrew/opt/icu4c/include/unicode/utrans.h:22:
/opt/homebrew/opt/icu4c/include/unicode/uenum.h:69:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:556:53: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName(LocalPointerClassName &&src) noexcept \
                                                    ^
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:29:
In file included from /opt/homebrew/opt/icu4c/include/unicode/utrans.h:22:
/opt/homebrew/opt/icu4c/include/unicode/uenum.h:69:1: error: expected ';' at end of declaration list
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:556:60: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName(LocalPointerClassName &&src) noexcept \
                                                           ^
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:29:
In file included from /opt/homebrew/opt/icu4c/include/unicode/utrans.h:23:
/opt/homebrew/opt/icu4c/include/unicode/uset.h:360:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
U_DEFINE_LOCAL_OPEN_POINTER(LocalUSetPointer, USet, uset_close);
^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:556:53: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName(LocalPointerClassName &&src) noexcept \
                                                    ^
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:29:
In file included from /opt/homebrew/opt/icu4c/include/unicode/utrans.h:23:
/opt/homebrew/opt/icu4c/include/unicode/uset.h:360:1: error: expected ';' at end of declaration list
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:556:60: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName(LocalPointerClassName &&src) noexcept \
                                                           ^
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:29:
/opt/homebrew/opt/icu4c/include/unicode/utrans.h:258:1: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
U_DEFINE_LOCAL_OPEN_POINTER(LocalUTransliteratorPointer, UTransliterator, utrans_close);
^
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:556:53: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName(LocalPointerClassName &&src) noexcept \
                                                    ^
In file included from transliterator.cpp:5:
In file included from /opt/homebrew/opt/icu4c/include/unicode/translit.h:29:
/opt/homebrew/opt/icu4c/include/unicode/utrans.h:258:1: error: expected ';' at end of declaration list
/opt/homebrew/opt/icu4c/include/unicode/localpointer.h:556:60: note: expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName(LocalPointerClassName &&src) noexcept \
                                                           ^
In file included from transliterator.cpp:5:
/opt/homebrew/opt/icu4c/include/unicode/translit.h:1530:52: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions]
    virtual UClassID getDynamicClassID(void) const override = 0;
                                                   ^
36 warnings and 19 errors generated.
make: *** [transliterator.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/me/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/charlock_holmes-0.7.8 for inspection.
Results logged to /Users/me/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/extensions/arm64-darwin-23/3.3.0/charlock_holmes-0.7.8/gem_make.out

0.7.7 appears to be fine but 0.7.8 causes this issue. After a few attempts to fix it I just pinned our Gemfile with version 0.7.7.

Belive this is related to the change made here - https://github.com/brianmario/charlock_holmes/pull/174 I'm seeing similar issues on OSX as the flags aren't set by default.
If you have installed icu4c via homebrew you can configure bundle to pass the cxxflags like so
bundle config build.charlock_holmes --with-icu-dir=$(brew --prefix icu4c) --with-cxxflags=-std=c++11

However it would be nice if this worked out of the box like 0.7.7 did

I'm having the same issue with Sonoma (14.5) installing 0.7.8. However, it didn't work for me even with -std=c++11 in cxxflags.
Literally tried everything in #122 , but nothing worked for me.
My icu4c version 74.2
Building native extensions with: '--with-icu-dir=/usr/local/opt/icu4c --with-cxxflags=-std=c++11'
This could take a while...
ERROR:  Error installing charlock_holmes:
	ERROR: Failed to build gem native extension.
current directory: /Users/emiliochang/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/charlock_holmes-0.7.8/ext/charlock_holmes
/Users/emiliochang/.rbenv/versions/3.3.3/bin/ruby extconf.rb --with-icu-dir\=/usr/local/opt/icu4c --with-cxxflags\=-std\=c++11
checking for pkg-config for icu-i18n... ["-I/usr/local/Cellar/icu4c/74.2/include ", "-L/usr/local/Cellar/icu4c/74.2/lib", "-licui18n -licuuc -licudata"]
checking for pkg-config for icu-io... ["-I/usr/local/Cellar/icu4c/74.2/include ", "-L/usr/local/Cellar/icu4c/74.2/lib", "-licuio -licui18n -licuuc -licudata"]
checking for pkg-config for icu-uc... ["-I/usr/local/Cellar/icu4c/74.2/include ", "-L/usr/local/Cellar/icu4c/74.2/lib", "-licuuc -licudata"]
checking for -licui18n... yes
checking for unicode/ucnv.h... yes
checking for -lz... yes
checking for -licuuc... yes
checking for -licudata... yes
creating Makefile

current directory: /Users/emiliochang/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/charlock_holmes-0.7.8/ext/charlock_holmes
make DESTDIR\= sitearchdir\=./.gem.20240705-37173-bpsoip sitelibdir\=./.gem.20240705-37173-bpsoip clean

current directory: /Users/emiliochang/.rbenv/versions/3.3.3/lib/ruby/gems/3.3.0/gems/charlock_holmes-0.7.8/ext/charlock_holmes
make DESTDIR\= sitearchdir\=./.gem.20240705-37173-bpsoip sitelibdir\=./.gem.20240705-37173-bpsoip
compiling converter.c
converter.c:23:12: warning: implicit conversion loses integer precision: 'long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
        src_len = RSTRING_LEN(rb_txt);
                ~ ^~~~~~~~~~~~~~~~~~~
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
1 warning generated.
compiling encoding_detector.c
encoding_detector.c:183:71: warning: implicit conversion loses integer precision: 'long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
                ucsdet_setDeclaredEncoding(detector->csd, RSTRING_PTR(rb_enc_hint), RSTRING_LEN(rb_enc_hint), &status);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
encoding_detector.c:232:71: warning: implicit conversion loses integer precision: 'long' to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
                ucsdet_setDeclaredEncoding(detector->csd, RSTRING_PTR(rb_enc_hint), RSTRING_LEN(rb_enc_hint), &status);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN'
#define RSTRING_LEN       RSTRING_LEN
                          ^
2 warnings generated.
compiling ext.c
compiling transliterator.cpp
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:25:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/defines.h:73:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/backward/2/attributes.h:43:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/pure.h:25:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/assert.h:132:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:27:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/anyargs.h:77:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/intern/vm.h:379:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:27:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/anyargs.h:83:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/backward/cxxanyargs.hpp:15:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/intern/cont.h:25:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/iterator.h:485:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:27:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/anyargs.h:83:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/backward/cxxanyargs.hpp:15:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/intern/cont.h:25:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/iterator.h:499:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:27:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/anyargs.h:83:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/backward/cxxanyargs.hpp:24:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/variable.h:130:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:23:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/int.h:26:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:70:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:28:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rbasic.h:95:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    RBIMPL_ATTR_NOALIAS()
    ^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noalias.h:64:32: note: expanded from macro 'RBIMPL_ATTR_NOALIAS'
# define RBIMPL_ATTR_NOALIAS() __declspec(noalias)
                               ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:98:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:115:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:130:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:151:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:163:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:188:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:199:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:216:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:228:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:248:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:260:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/ruby.h:28:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic.h:24:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/arithmetic/char.h:29:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/core/rstring.h:30:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/fl_type.h:38:
In file included from /Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/value_type.h:33:
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/error.h:299:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/Users/emiliochang/.rbenv/versions/3.3.3/include/ruby-3.3.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [transliterator.o] Error 1

make failed, exit code 2

I think https://github.com/brianmario/charlock_holmes/pull/179 solves this.

I'm having the same issue with Sonoma (14.5) installing 0.7.8 after upgrading ruby version to 3.3.3. However, it didn't work for me even with -std=c++11 in cxxflags.

exact same issue as @em1l1o for me except Ruby 3.3.1.  I'm able to get 0.7.7 installed with gem install charlock_holmes -v '0.7.7' -- --with-icu-dir=/usr/local/opt/icu4c but no matter how i pass in c++11 (or 17 flags) the error remains the same.

The error from the logs above:
error: '__declspec' attributes are not enabled

This seems related to https://bugs.ruby-lang.org/issues/18616 with a workaround in https://github.com/ruby/ruby/commit/0958e19ffb047781fe1506760c7cbd8d7fe74e57.
What happens if you run irb and RbConfig::CONFIG['CFLAGS']? You should see -fdeclspec in the list:
irb(main):001> RbConfig::CONFIG['CFLAGS']
=> "-fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef  -fno-common -pipe"
irb(main):002> RbConfig::CONFIG['CXXFLAGS']
=> "-fdeclspec"
irb(main):003> RbConfig::CONFIG['CC']
=> "clang"
irb(main):004> RbConfig::CONFIG['CXX']
=> "clang++"

Also you can try installing static_holmes and see if that resolves your issue: https://github.com/brianmario/charlock_holmes/issues/163#issuecomment-2216629735

@stanhu Here are my outputs in IRB:
irb(main):001> RbConfig::CONFIG['CFLAGS']
=> "-fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fno-common -pipe"
irb(main):002> RbConfig::CONFIG['CXXFLAGS']
=> "-fdeclspec"
irb(main):003> RbConfig::CONFIG['CC']
=> "clang"
irb(main):004> RbConfig::CONFIG['CXX']
=> "clang++"

I don't think it matters, but this is with my Gemfile pinned to 0.7.7.

@alexrogers
My problem solved by reinstalling and upgrading xcode command tool.
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
softwareupdate --all --install --force

@tenderlove Thanks for merging the fix for this. Any idea when a new Release/Tag will be made?

@joshuapinter I just shipped it, so it should be out now.

@tenderlove You the man. Just installed it and it worked perfectly. Thanks again. 🙏

thanks everyone for your help gem install charlock_holmes  -- --with-icu-dir=/usr/local/opt/icu4c worked just fine on 0.7.9


Pico display thermometer.py degree symbol

Hi,
Great wee bit of kit! I am trying to display the temperature with the degree symbol before C, but cannot get it to work. I have tried the following, but all just show random looking characters instead of the degrees symbol:
display.text("{:.2f}".format(temperature) + chr(176) + "c", 3, 3, 0, 3)
display.text("{:.2f}".format(temperature) + u"\u00B0" + "c", 3, 3, 0, 3)
display.text("{:.2f}".format(temperature) + "\xb0Cc", 3, 3, 0, 3)

You can change the scale of the built in font - see https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/modules/pico_display#text


Support Python 3

Motivation
Also added e2e

Codecov Report

Merging #2760 into master will decrease coverage by 11.06%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           master    #2760       +/-   ##
===========================================
- Coverage    84.7%   73.64%   -11.07%
===========================================
  Files         651       21      -630
  Lines       37215      664    -36551
  Branches     4491       77     -4414
===========================================
- Hits        31524      489    -31035
+ Misses       4375      148     -4227
+ Partials     1316       27     -1289


Support returning multiple validation errors

fixes #424

@zoeyTM can you walk me through our validation stage 1 vs validation stage 2 division. If we swap in full reconciliation/execution info from visualization does this distinction go away?

@kanej I believe the answer is yes. Originally, we separated validation into stages so that stage one could be used by the visualization task, but the only difference between the stages is the inclusion of execution info such as accounts and deployment parameters. If we include that info in visualization like we plan to, then I don't believe there's any reason for the stages to be separate anymore.
@alcuadrado may have a different take, but that's my perspective at least

@kanej I believe the answer is yes. Originally, we separated validation into stages so that stage one could be used by the visualization task, but the only difference between the stages is the inclusion of execution info such as accounts and deployment parameters. If we include that info in visualization like we plan to, then I don't believe there's any reason for the stages to be separate anymore.
@alcuadrado may have a different take, but that's my perspective at least

Ugh. I suspected this was the case. Alright, let me take another look over it. Do you have a feel for whether that merge would be better done as a separate PR?

@kanej I believe the answer is yes. Originally, we separated validation into stages so that stage one could be used by the visualization task, but the only difference between the stages is the inclusion of execution info such as accounts and deployment parameters. If we include that info in visualization like we plan to, then I don't believe there's any reason for the stages to be separate anymore.
@alcuadrado may have a different take, but that's my perspective at least

Ugh. I suspected this was the case. Alright, let me take another look over it. Do you have a feel for whether that merge would be better done as a separate PR?

Short answer: I think a separate PR would be better.
I was going to say it should be done after we add the execution data to visualize so we don't break it, but it doesn't actually look like we're validating in that task at all anymore. Given that, I think merging the validation stages themselves would be relatively trivial, so most of the work would just be modifying the tests.


Cannot reference operators, sources, sinks without opening Wonka.

In the upgrade from v2 to v3, we lost the ability to just reference wonka sources, sinks, and operators directly (i.e. as Wonka.subscribe or Wonka.map). Instead, it now only works if you open Wonka at the top of your .re file and additionally reference sources, sinks, and operators in their Wonka.<name> form.
Reproduction

Init a new project: bsb -init wonka-test -theme basic-reason (this assumes you already have bs-platform installed globally).
Paste this code in the root Reason file (I believe it's Demo.re in the boilerplate):

let source = Wonka.fromArray([|1, 2, 3|]);

source
|> Wonka.map((. _val) => Wonka.interval(_val * 1000) |> Wonka.take(3))
|> Wonka.concatAll
|> Wonka.subscribe((. _val) => print_int(_val));

Run yarn build.
You should see error output like the following:

➜  wonka-test yarn build
yarn run v1.16.0
$ bsb -make-world
[1/1] Building Wonka.cmi
ninja: no work to do.
[1/1] Building src/Demo-WonkaTest.cmj

  We've found a bug for you!
  /wonka-test/src/Demo.re 1:14-28

  1 │ let source = Wonka.fromArray([|1, 2, 3|]);
  2 │
  3 │ source

  The value fromArray can't be found in Wonka

Similarly, if you just open Wonka and don't reference the module further, you'll get an error. For example, following steps 3 and 4 above with this code:
open Wonka;
let source = fromArray([|1, 2, 3|]);

source
|> map((. _val) => interval(_val * 1000) |> take(3))
|> concatAll
|> subscribe((. _val) => print_int(_val));

will yield the following error:
➜  wonka-test yarn build
yarn run v1.16.0
$ bsb -make-world
[1/1] Building Wonka.cmi
ninja: no work to do.
[1/1] Building src/Demo-WonkaTest.cmj

  We've found a bug for you!
  /Users/parkerziegler/Documents/repos/OSS/wonka-test/src/Demo.re 2:14-22

  1 │ open Wonka;
  2 │ let source = fromArray([|1, 2, 3|]);
  3 │
  4 │ source

  The value fromArray can't be found

I'm thinking there's something about how modules are included that's going awry here, but I'm not 100% sure what it is. But I'll do some investigating when I can and try to see if I can figure out a solution. IIRC this worked fine in v2 so if we need to move back to a structure like that we maybe could? Not sure yet how that affects native stuff.

Examining this more, I think I uncovered the source of things. In the change from v2 to v3, the namespace flag in bsconfig was turned to true (it defaults to false for backwards compatibility: https://bucklescript.github.io/docs/en/build-configuration#name-namespace). This means that the project, by default, is under the Wonka module. So, in order to access everything in wonka.ml, you actually have to use Wonka.Wonka (the first Wonka coming from the namespace, the second being from wonka.ml).
A solution would be to revert the namespacing back to false (i.e. remove it from bsconfig.json). This seems ok to me, as all of the modules built in this project are prefixed with Wonka_ anyway, so it's very unlikely they'd conflict with any consumer code. Another possibility would be to not include anything in wonka.ml, but in that case I'm not sure how we'd do the conditional logic around including WonkaJs in web builds only 🤔

@parkerziegler ah yea that was definitely not intentional. I’ll reverse that :)


No Safari Support !!!!!!!!

Describe the bug
Have you guys tried to support Safari? I'll be a Karen for a minute and throw a tantrum but supporting Safari is not that hard at all...
Link to the blitz that caused the error
https://stackblitz.com/github/twbs/examples/tree/main/sass-js-esm?file=index.html
Steps to reproduce
Open site in any recent Safari...
Expected behavior
Use a website in my default browser...
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Browser name  = Safari
Full version  = 15.4
Major version = 15
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15
performance.memory = undefined
Hash = f46762818326be16a78de429bec3a3775ca1af32

Additional context
No response

Hi @ctkjose. Thanks for reaching out. The problem here is that we're not building something that has been done many times before.

I'll be a Karen for a minute and throw a tantrum but supporting Safari is not that hard at all...

You are absolutely right here. Supporting Safari is not hard at all, it's actually impossible today... If you had clicked the link to open the documentation and scrolled down a bit, there's a section on why Safari does not work today.
Do we want all of this to work in Safari? Of course we want that, because that would also mean that it works on iPad/iPhone and what not. But reality is that Safari just doesn't implement all the features we need. Before you start talking about polyfilling everything. Nope, impossible.


Use logging levelno instead of levelname.  Levelnames can be overridden

See https://github.com/getsentry/sentry-python/issues/1443

not set ... I'm not sure how to test that, so that line is commented out.
Ah, I see:
https://stackoverflow.com/a/70806760/2077386
I'm not sure sentry will see this case...

@sl0thentr0py could you please have a look at this?

Hey @rrauenza !
If the tests are all green, we are ready to merge this!
Thanks for this contribution, really great!
If you send me your shipping address to anton (dot) pirker [at] sentry {dot} io I can send you a couple of stickers as a small token of appreciation!


Fix 100 passive impling task

Description:

Fix master league task 4151 "'Catch 100 of every impling passively (excluding Lucky implings)"
Discord: https://discord.com/channels/342983479501389826/342983479501389826/1103108637511143484

Changes:

Fix task to only check for 50 mystery imp

Other checks:

[X] I have tested all my changes thoroughly.
Discord testing: https://discord.com/channels/940758552425955348/1162793245194072074/1172416337243545632

You committed the extra .txt file which isnt meant to be committed. I know I need to make it stop generating that.

Fixed sorry about that


Ensure adequate testing for lazy data merge and concatenate (3 man days)

At present, tests/unit/concatenate/test_concatenate.TestConcatenateBiggus is skipped, but really needs to be replaced by a dask-aware version.
I couldn't find anything specifically testing lazy merging -- I guess there should be something.

Extra tests have been added by https://github.com/SciTools/iris/pull/2492. I'm happy that they provide enought coverage.


Ingress Annotations

Is your feature request related to a problem? Please describe.

I want to be able to annotate the ingress to let cert-manager and nginx handle the certs etc...
Describe the solution you'd like to see

I'd love to have the ability to do:
HTTPIngress:
  host: query.example.com
  path: /
  annotations:
    "kubernetes.io/ingress.class": nginx
    "cert-manager.io/cluster-issuer": "letsencrypt-prod"
    "kubernetes.io/tls-acme": "true"

Fixed in https://github.com/banzaicloud/thanos-operator/pull/38


How to get the chat_id when the update is a new poll

Is there any way we could infer in which chat the poll was created as the update when a new poll is created does not have any indication of that?

Everything that we can get is contained in the context object returned in the updates received by the bot and as you mentioned

when a new poll is created does not have any indication of that?

in that case , no we cannot get the chat id

Thanks!


chore(tool): add script for finding common sdk usages

This PR resolves PHIRE-735
Description

Adds a basic script for checking for our usage of sdks that will required a privacy manifest before May.
./scripts/utils/required_reason_common_sdks.sh
Depends on ggrep, if you want to run brew install ggrep
PR Checklist

[ ] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

script for finding common sdk usage - Brian

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (script for finding common sdk usage - Brian)

  Generated by :no_entry_sign: dangerJS against 205a1c5ad04c7630cbd30d505dad8a48c6f3dc04


Aurora.js plugin

Would be cool to support aurora.js, making it possible to visualize other audio formats (aac, mp3, opus etc) in any browser. Will try to come up with something.
"Aurora.js is a framework that makes writing audio decoders in JavaScript easier. It handles common tasks for you such as dealing with binary data, and the decoding pipeline from source to demuxer to decoder, and finally to the audio hardware itself by abstracting browser audio APIs. Aurora contains two high level APIs for inspecting and playing back decoded audio, and it is easily extendible to support more sources, demuxers, decoders, and audio devices."

@katspaugh or maybe it's a new backend instead of a plugin? Should I introduce a new backend parameter for each supported audio format (e.g. mp3, opus etc)? Or just aurora and just assume the user included e.g. aac.js and the url request points to a .aac file?

here's a player class reference for the backend: https://github.com/audiocogs/aurora.js/wiki/Player-Class-Reference

It would be a cool feature indeed. It should be definitely a backend. Having a single Aurora backend sounds nicer than one for each format, but AuorarMP3, AuroraOpus etc would be also OK. See for yourself what is easier and more convenient.

It's not completely clear to me how to write a new backend but after searching for backend. in wavesurfer.js it seems a backend needs to implement at least the following methods as they're being called:
backend.getPlayedPercents
backend.destroy
backend.init
backend.on
backend.once
backend.getDuration
backend.getCurrentTime
backend.play(start, end)
backend.pause
backend.isPaused
backend.seekTo(progress * this.getDuration())
backend.setVolume(newVolume)
backend.getVolume
backend.setPlaybackRate(rate)
backend.getPeaks(width)
backend.load(url, this.mediaContainer, peaks)
backend.supportsWebAudio
backend.decodeArrayBuffer
backend.disconnectSource
backend.destroy

Maybe this should be documented somewhere (wiki?).

I think it should be a fallback mechanism coz Aurora.js currently doesn't provide all codecs in modern browsers. But Aurora.js can act as a complementary component. Maybe one day Aurora.js will replace  all codec in WebAudioAPI because it's controllable in JS.


📖 Doc: Mention that version catalogs do not support Setting plugins

A small doc change in case anyone is looking for this info like me
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation

@bot-gradle test and merge

Branch is pushed. For security reason, I've cancelled the pre-tested commit build in queue.

@bot-gradle test and merge

I've triggered a build for you.


Most black objects don't produce good depth data and are invisible.

What are the best settings to use to detect black objects?  I've tried modifying all of the knobs I could think of (e.g. exposure time, number of frequencies, filters, channel) and I can't seem to get good depth data off of many black objects.
TL;DR;
I have a shiny black plastic knight and a matte black computer case which are almost invisible to the sensor.  Some black shirts also exhibit this pattern.  Changing the pose of the objects will change how invisible the object is, but with some objects I found no good poses for capture.
In the data below you will notice that the dark night casts a shadow and has a few depth points.  The computer case is almost invisible and the points I get off of it are random and sporadic.
Please find data below of the issue with the settings I used.  I noticed in the depth image that the dark night is visible in the top right frame, so maybe there is a way to pull this data out?
invisiblack-o3d303-23k-cloud-20151112.png

invisiblack-o3d303-23k-depthimg-20151112.png

invisiblack-o3d303-100k-cloud-20151112.png

invisiblack-o3d303-rgb-calibration-20151112.png

{
    "o3d3xx":
    {
        "libo3d3xx": "111",
        "Date": "Thu Nov 12 16:17:30 2015",
        "HWInfo":
        {
            "Mainboard": "#!02_M381_003_02001855_008022954",
            "Illumination": "#!02_I300_001_02025830_008001175",
            "MACAddress": "00:02:01:40:21:02",
            "Frontend": "#!02_F341_002_15_00195_008022593",
            "Diagnose": "#!02_D322_C25_01968001_008022488",
            "Connector": "#!02_A300_001_01867216_008001175"
        },
        "SWVersion":
        {
            "IFM_Software": "1.1.288",
            "Linux": "Linux version 3.11.0-00001-g4e630e2 (eswadmin@dettlx79) (gcc version 4.7.2 (GCC) ) #1 SMP Mon Jun 8 10:25:20 CEST 2015",
            "Diagnostic_Controller": "0.3.9",
            "ELDK": "GOLDENEYE_ELDK-2015-07-01_16-26-37-cc5673110f1bff06b66149c8320f6c1823d87891",
            "Calibration_Version": "0.6.6",
            "Calibration_Device": "00:02:01:40:21:02",
            "Main_Application": "0.4.34",
            "Algorithm_Version": "0.6.19"
        },
        "Device":
        {
            "Name": "New sensor",
            "Description": "",
            "ActiveApplication": "2",
            "PcicEipEnabled": "false",
            "PcicTcpPort": "50010",
            "PcicProtocolVersion": "3",
            "IOLogicType": "1",
            "IODebouncing": "true",
            "IOExternApplicationSwitch": "0",
            "SessionTimeout": "30",
            "ServiceReportPassedBuffer": "5",
            "ServiceReportFailedBuffer": "5",
            "ExtrinsicCalibTransX": "0",
            "ExtrinsicCalibTransY": "0",
            "ExtrinsicCalibTransZ": "0",
            "ExtrinsicCalibRotX": "0",
            "ExtrinsicCalibRotY": "0",
            "ExtrinsicCalibRotZ": "0",
            "IPAddressConfig": "0",
            "PasswordActivated": "false",
            "OperatingMode": "0",
            "DeviceType": "",
            "ArticleNumber": "",
            "ArticleStatus": "",
            "UpTime": "6.953222953505516e-310",
            "ImageTimestampReference": "32667808",
            "TemperatureFront1": "1.614016023349284e-316",
            "TemperatureFront2": "6.953189366787785e-310",
            "TemperatureIMX6": "1.614027880924784e-316",
            "TemperatureIllu": "1.614039738500285e-316"
        },
        "Net":
        {
            "MACAddress": "",
            "NetworkSpeed": "0",
            "StaticIPv4Address": "<IP_ADDRESS>",
            "StaticIPv4SubNetMask": "<IP_ADDRESS>",
            "StaticIPv4Gateway": "<IP_ADDRESS>",
            "UseDHCP": "false"
        },
        "Apps":
        [
            {
                "Name": "Sample Application",
                "Description": "",
                "TriggerMode": "1",
                "PcicTcpResultOutputEnabled": "true",
                "PcicTcpResultSchema": "{ \"layouter\": \"flexible\", \"format\": { \"dataencoding\": \"ascii\" }, \"elements\": [ { \"type\": \"string\", \"value\": \"star\", \"id\": \"start_string\" }, { \"type\": \"blob\", \"id\": \"normalized_amplitude_image\" }, { \"type\": \"blob\", \"id\": \"distance_image\" }, { \"type\": \"blob\", \"id\": \"x_image\" }, { \"type\": \"blob\", \"id\": \"y_image\" }, { \"type\": \"blob\", \"id\": \"z_image\" }, { \"type\": \"blob\", \"id\": \"confidence_image\" }, { \"type\": \"blob\", \"id\": \"diagnostic_data\" }, { \"type\": \"string\", \"value\": \"stop\", \"id\": \"end_string\" } ] }",
                "PcicEipResultSchema": "{ \"layouter\": \"flexible\", \"format\": { \"dataencoding\": \"binary\", \"order\": \"big\" }, \"elements\" : [ { \"type\": \"string\", \"value\": \"star\", \"id\": \"start_string\" }, { \"type\": \"records\", \"id\": \"models\", \"elements\": [ { \"type\": \"int16\", \"id\": \"boxFound\" }, { \"type\": \"int16\", \"id\": \"width\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"height\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"length\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"xMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"yMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"zMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"yawAngle\" }, { \"type\": \"int16\", \"id\": \"qualityLength\" }, { \"type\": \"int16\", \"id\": \"qualityWidth\" }, { \"type\": \"int16\", \"id\": \"qualityHeight\" } ] }, { \"type\": \"string\", \"value\": \"stop\", \"id\": \"end_string\" } ] }",
                "LogicGraph": "{\"IOMap\": {\"OUT1\": \"RFT\",\"OUT2\": \"AQUFIN\"},\"blocks\": {\"B00001\": {\"pos\": {\"x\": 200,\"y\": 200},\"properties\": {},\"type\": \"PIN_EVENT_IMAGE_ACQUISITION_FINISHED\"},\"B00002\": {\"pos\": {\"x\": 200,\"y\": 75},\"properties\": {},\"type\": \"PIN_EVENT_READY_FOR_TRIGGER\"},\"B00003\": {\"pos\": {\"x\": 600,\"y\": 75},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT1\"},\"B00005\": {\"pos\": {\"x\": 600,\"y\": 200},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT2\"}},\"connectors\": {\"C00000\": {\"dst\": \"B00003\",\"dstEP\": 0,\"src\": \"B00002\",\"srcEP\": 0},\"C00001\": {\"dst\": \"B00005\",\"dstEP\": 0,\"src\": \"B00001\",\"srcEP\": 0}}}",
                "Type": "Camera",
                "Index": "1",
                "Id": "1186278907",
                "Imager":
                {
                    "Channel": "0",
                    "ClippingBottom": "131",
                    "ClippingLeft": "0",
                    "ClippingRight": "175",
                    "ClippingTop": "0",
                    "ContinuousAutoExposure": "false",
                    "EnableAmplitudeCorrection": "true",
                    "EnableFilterAmplitudeImage": "true",
                    "EnableFilterDistanceImage": "true",
                    "EnableRectificationAmplitudeImage": "false",
                    "EnableRectificationDistanceImage": "false",
                    "ExposureTime": "5000",
                    "ExposureTimeList": "125;5000",
                    "ExposureTimeRatio": "40",
                    "FrameRate": "5",
                    "MinimumAmplitude": "42",
                    "ReduceMotionArtifacts": "false",
                    "SpatialFilterType": "0",
                    "SymmetryThreshold": "0",
                    "TemporalFilterType": "0",
                    "ThreeFreqMax2FLineDistPercentage": "80",
                    "ThreeFreqMax3FLineDistPercentage": "80",
                    "TwoFreqMaxLineDistPercentage": "80",
                    "Type": "under5m_moderate",
                    "SpatialFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    },
                    "TemporalFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    }
                }
            },
            {
                "Name": "zdaa application",
                "Description": "TEST TEST TEST",
                "TriggerMode": "1",
                "PcicTcpResultOutputEnabled": "true",
                "PcicTcpResultSchema": "{\n    \"elements\": [\n        {\n            \"id\": \"start_string\",\n            \"type\": \"string\",\n            \"value\": \"star\"\n        },\n        {\n            \"id\": \"amplitude_image\",\n            \"type\": \"blob\"\n        },\n        {\n            \"id\": \"distance_image\",\n            \"type\": \"blob\"\n        },\n        {\n            \"id\": \"x_image\",\n            \"type\": \"blob\"\n        },\n        {\n            \"id\": \"y_image\",\n            \"type\": \"blob\"\n        },\n        {\n            \"id\": \"z_image\",\n            \"type\": \"blob\"\n        },\n        {\n            \"id\": \"confidence_image\",\n            \"type\": \"blob\"\n        },\n        {\n            \"id\": \"diagnostic_data\",\n            \"type\": \"blob\"\n        },\n        {\n            \"id\": \"end_string\",\n            \"type\": \"string\",\n            \"value\": \"stop\"\n        }\n    ],\n    \"format\": {\n        \"dataencoding\": \"ascii\"\n    },\n    \"layouter\": \"flexible\"\n}\n",
                "PcicEipResultSchema": "{ \"layouter\": \"flexible\", \"format\": { \"dataencoding\": \"binary\" }, \"elements\": [ { \"id\": \"start_string\", \"type\": \"string\", \"value\": \"star\" }, { \"id\": \"amplitude_image\", \"type\": \"blob\" }, { \"id\": \"distance_image\", \"type\": \"blob\" }, { \"id\": \"x_image\", \"type\": \"blob\" }, { \"id\": \"y_image\", \"type\": \"blob\" }, { \"id\": \"z_image\", \"type\": \"blob\" }, { \"id\": \"confidence_image\", \"type\": \"blob\" }, { \"id\": \"diagnostic_data\", \"type\": \"blob\" }, { \"id\": \"end_string\", \"type\": \"string\", \"value\": \"stop\" } ] }",
                "LogicGraph": "{\"IOMap\": {\"OUT1\": \"RFT\",\"OUT2\": \"AQUFIN\"},\"blocks\": {\"B00001\": {\"pos\": {\"x\": 200,\"y\": 200},\"properties\": {},\"type\": \"PIN_EVENT_IMAGE_ACQUISITION_FINISHED\"},\"B00002\": {\"pos\": {\"x\": 200,\"y\": 75},\"properties\": {},\"type\": \"PIN_EVENT_READY_FOR_TRIGGER\"},\"B00003\": {\"pos\": {\"x\": 600,\"y\": 75},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT1\"},\"B00005\": {\"pos\": {\"x\": 600,\"y\": 200},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT2\"}},\"connectors\": {\"C00000\": {\"dst\": \"B00003\",\"dstEP\": 0,\"src\": \"B00002\",\"srcEP\": 0},\"C00001\": {\"dst\": \"B00005\",\"dstEP\": 0,\"src\": \"B00001\",\"srcEP\": 0}}}",
                "Type": "Camera",
                "Index": "2",
                "Id": "542766213",
                "Imager":
                {
                    "Channel": "0",
                    "ClippingBottom": "131",
                    "ClippingLeft": "0",
                    "ClippingRight": "175",
                    "ClippingTop": "0",
                    "ContinuousAutoExposure": "false",
                    "EnableAmplitudeCorrection": "true",
                    "EnableFilterAmplitudeImage": "false",
                    "EnableFilterDistanceImage": "true",
                    "EnableRectificationAmplitudeImage": "false",
                    "EnableRectificationDistanceImage": "false",
                    "ExposureTime": "10000",
                    "ExposureTimeList": "10000",
                    "FrameRate": "30",
                    "MinimumAmplitude": "42",
                    "ReduceMotionArtifacts": "false",
                    "SpatialFilterType": "0",
                    "SymmetryThreshold": "0",
                    "TemporalFilterType": "0",
                    "ThreeFreqMax2FLineDistPercentage": "80",
                    "ThreeFreqMax3FLineDistPercentage": "80",
                    "TwoFreqMaxLineDistPercentage": "80",
                    "Type": "upto30m_low",
                    "SpatialFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    },
                    "TemporalFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    }
                }
            },
            {
                "Name": "100K Pixel Sample Application",
                "Description": "",
                "TriggerMode": "1",
                "PcicTcpResultOutputEnabled": "true",
                "PcicTcpResultSchema": "{ \"layouter\": \"flexible\", \"format\": { \"dataencoding\": \"ascii\" }, \"elements\": [ { \"type\": \"string\", \"value\": \"star\", \"id\": \"start_string\" }, { \"type\": \"blob\", \"id\": \"normalized_amplitude_image\" }, { \"type\": \"blob\", \"id\": \"distance_image\" }, { \"type\": \"blob\", \"id\": \"x_image\" }, { \"type\": \"blob\", \"id\": \"y_image\" }, { \"type\": \"blob\", \"id\": \"z_image\" }, { \"type\": \"blob\", \"id\": \"confidence_image\" }, { \"type\": \"blob\", \"id\": \"diagnostic_data\" }, { \"type\": \"string\", \"value\": \"stop\", \"id\": \"end_string\" } ] }",
                "PcicEipResultSchema": "{ \"layouter\": \"flexible\", \"format\": { \"dataencoding\": \"binary\", \"order\": \"big\" }, \"elements\" : [ { \"type\": \"string\", \"value\": \"star\", \"id\": \"start_string\" }, { \"type\": \"records\", \"id\": \"models\", \"elements\": [ { \"type\": \"int16\", \"id\": \"boxFound\" }, { \"type\": \"int16\", \"id\": \"width\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"height\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"length\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"xMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"yMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"zMidTop\", \"format\": { \"scale\": 1000 } }, { \"type\": \"int16\", \"id\": \"yawAngle\" }, { \"type\": \"int16\", \"id\": \"qualityLength\" }, { \"type\": \"int16\", \"id\": \"qualityWidth\" }, { \"type\": \"int16\", \"id\": \"qualityHeight\" } ] }, { \"type\": \"string\", \"value\": \"stop\", \"id\": \"end_string\" } ] }",
                "LogicGraph": "{\"IOMap\": {\"OUT1\": \"RFT\",\"OUT2\": \"AQUFIN\"},\"blocks\": {\"B00001\": {\"pos\": {\"x\": 200,\"y\": 200},\"properties\": {},\"type\": \"PIN_EVENT_IMAGE_ACQUISITION_FINISHED\"},\"B00002\": {\"pos\": {\"x\": 200,\"y\": 75},\"properties\": {},\"type\": \"PIN_EVENT_READY_FOR_TRIGGER\"},\"B00003\": {\"pos\": {\"x\": 600,\"y\": 75},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT1\"},\"B00005\": {\"pos\": {\"x\": 600,\"y\": 200},\"properties\": {\"pulse_duration\": 0},\"type\": \"DIGITAL_OUT2\"}},\"connectors\": {\"C00000\": {\"dst\": \"B00003\",\"dstEP\": 0,\"src\": \"B00002\",\"srcEP\": 0},\"C00001\": {\"dst\": \"B00005\",\"dstEP\": 0,\"src\": \"B00001\",\"srcEP\": 0}}}",
                "Type": "Camera",
                "Index": "3",
                "Id": "476707713",
                "Imager":
                {
                    "Channel": "0",
                    "ClippingBottom": "131",
                    "ClippingLeft": "0",
                    "ClippingRight": "175",
                    "ClippingTop": "0",
                    "ContinuousAutoExposure": "false",
                    "EnableAmplitudeCorrection": "true",
                    "EnableFilterAmplitudeImage": "true",
                    "EnableFilterDistanceImage": "true",
                    "EnableRectificationAmplitudeImage": "false",
                    "EnableRectificationDistanceImage": "false",
                    "ExposureTime": "5000",
                    "ExposureTimeList": "5000",
                    "FrameRate": "5",
                    "MinimumAmplitude": "42",
                    "ReduceMotionArtifacts": "false",
                    "SpatialFilterType": "0",
                    "SymmetryThreshold": "0",
                    "TemporalFilterType": "0",
                    "ThreeFreqMax2FLineDistPercentage": "80",
                    "ThreeFreqMax3FLineDistPercentage": "80",
                    "TwoFreqMaxLineDistPercentage": "80",
                    "Type": "upto30m_low",
                    "SpatialFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    },
                    "TemporalFilter":
                    {
                        "Type": "0",
                        "TypeStr_": "Off"
                    }
                }
            }
        ]
    }
}

In the invisiblack-o3d303-23k-depthimg-20151112.png image you pasted in, the top-right image is a binary encoding of the confidence image that only consults the "valid pixel" bit. In this case, good pixels are green and bad pixels are yellow. You could process the confidence image in your code to get more information on why the given pixel was flagged as invalid. Specifically, in the confidence image bits 0 - 3 (inclusive) give information regarding pixel validity:

Bit
Value

0
1 = pixel invalid

1
1 = pixel saturated

2
1 = bad A-B symmetry

3
1 = amplitude below minimum amplitude threshold

Full description of how to interpret the confidence image is available in the IFM O3D Operations Manual. For the black matte objects that are coming back as bad pixels, I would guess that potentially the amplitude is below the minimum threshold. The Imager configuration of a given application let's you tweak this value via the MinimumAmplitude directive. Something to look into I suppose.
NOTE: Right now we are returning the normalized amplitude image as the AmplitudeImage() on the ImageBuffer. In the upcoming 2.0.2 release, I expect to expose both the normalized and raw amplitude.

@bigcmos the camera is based on a time of flight imager. We are using infra-red LEDs to measure the distance between the camera and the object. The first I learned at ifm during developing software for this kind of devices, objects have different reflectivity in the infra-red spectrum  than in the visible spectrum. So it is always a good idea to check the amplitude for the pixel you are interested in. The more amplitude you have the less distance noise you get. I guess you get amplitude below minimum amplitude thresholdfor those pixels. One solution is to increase the illumination time or to reduce the distance.
Pixls with bad A-B symmetry are most probably pixels on a object which was moved during the image was taken. BTW is is the same effect when you try to take photos with your mobile during the night.

Changing the pose of the objects will change how invisible the object is, but with some objects I found no good poses for capture.
You mentioned that the black night is shiny. This may lead to some reflection of the infra-red light in a direction the camera can not catch them any more. This is like pointing a laser pointer to a mirror.

Hey @bigcmos how are things going on this issue? Do you have further updates? Should we keep it open or close it?

Closing for now as this is a question and has been inactive for over a month.

Thanks for all of the info.  It's still an issue, but I've put this on the back burner for now.  I will be exploring more object materials next year and will follow up on this after more testing.


Incorrect webm handling.

On this page we can see incorrect spacing and framing of webm video. Moreover, this file should be downloaded as well as other pictures and files

Fixed incorrect youtube rendering in https://github.com/MerkulovDaniil/notion4ever/commit/b5f4b0acea2c2322b23aaaed4095d4b843a508a5, https://github.com/MerkulovDaniil/notion4ever/commit/5ddea50ab9358ebf7b0694f3ef8fb98406ee94b8
Fixed webm downloading and responsive rendering in https://github.com/MerkulovDaniil/notion4ever/commit/3c080592dab2865c18abc332584cd4e8e59a1c8f, https://github.com/MerkulovDaniil/notion4ever/commit/da9fb4f8dc3b6db81edfab1c0fcb782931f0d9c6


SmartSelect doesn't work for Router Component

Hi,
I found that I can't create SmartSelect for router components. I had try in both ways:

by smart-select-init
more dynamically inside "mounted" event by app.smartSelect.create

the second way is also affected even with specified view:
            var smartSelect = app.smartSelect.create(
                {
                    el: $$('#super-hero'), view: mainView
                });

always the error Smart Select requires initialized View is raised.

Means that "Smart Select requires initialized View" did you init the view where Smart Select is placed?

@nolimits4web Probably it was my fault. Yes the view is initialized: var mainView = app.views.create('.view-main', {url: '/'});. Pleas note that field view passed in params in app.smartSelect.create is not used in implementation of constructor so  SmartSelect is always looking for $el.parents('.view') and finally crash (even when view is specified).  Anyway I found why smart-select-init does not want to work for me : It was my fault, SmartSelect constructior is looking only for $el.parents('.view') but can't find any because in my HTML I have declared only view-main without view (I have no idea how I overlooked this):

anyway app.smartSelect.create is always looking for "view" even when view is specified.

But it doesn't accept view parameter http://framework7.io/docs/smart-select.html#smart-select-parameters
Think I will add it, but it is kind of useless to have smart select in one view and get it opened in another

@nolimits4web I think am running into a related issue. My page component does have a view but the smart select cannot find the router. If that page is navigated to using a link then the smart select works, but if my page is a child of the view it does not work.
"framework7-react": "^3.0.1",
"framework7": "^3.0.1",
<Popup opened={this.state.opened} className="rs-add-to-cart-popup" id="rs-add-to-cart-popup" animated>
        <Views>
          <View stackPages >
            <AddToCartPage noBackLink {...this.props}/>
          </View>
        </Views>
      </Popup>

AddToCartPage

  render() {
    let product = this.state.product || {};
    return (
      <Page pageContent={false} hideBarsOnScroll className="rs-add-to-cart-page" id="rs-add-to-cart-page">
      <ListItem
        title={this.props.title}
        smartSelect
        ref={ref => this.dropdown = ref}
        smartSelectParams={{closeOnSelect: true, openIn: 'popover'}}>
        <select name={this.props.title} multiple={false} defaultValue={this.state.value}>
          {this._displayOptions()}
        </select>
      </ListItem>
      </Page>
    )


add unit cell vectors extractor

add class for unit cell vector extraction

@AmelAlhassan Sorry, this dropped from my radar for some reason... You are welcome to just ping me in such cases 😄


Hi Hugo is there a manual?

This project sounds great, but I don't know how to do with it. Would you pls give us a manual?

Hi!
Thanks for your interest in this project, it is still very much a work in progress.
Maybe I shouldn't have pushed stuff to the main branch to prevent confusion.
I'll make documentation when the first iteration of the project is finished.

OK, I see. Thank you, and your great idea. We are looking forward.


Make headless_defaults example actually headless

Fixes https://github.com/bevyengine/bevy/issues/5260

Well, the example is not what one would commonly consider headless...so perhaps the change here is to rename it if the behavior is intended?

Abandoning this in favor of renaming


System.Linq.Enumerable.from Unexpected token ?

In our project we have a number of Select() linq calls. Some of them are incorrectly transpiled to js emitting ? symbol instead of typename inside System.Linq.Enumerable.from call. Sadly I can't reproduce this on deck despite running the same bridge version 17.9
Here is working deck https://deck.net/9ec4a07d8b97faf5e52729763d37691a
But when compiling whole project code
return new Batch() {
    entity = batch,
    Uid = batch.Uid,
    Actions = batch.Actions.Select(a => Action.Deserialize(a, game)).ToList()
};

is converted to
return ($t = new TestName.Games.TestName.Actions.Batch.ctor(), $t.entity = batch, $t.Uid = batch.Uid, $t.Actions = System.Linq.Enumerable.from(batch.Actions, ?).select(function (a) {
	return TestName.Games.TestName.Actions.Action.Deserialize(a, game);
}).toList(TestName.Games.TestName.Actions.Action), $t);

And I get Uncaught SyntaxError: Unexpected token ? when running inside the browser.
Any idea why this could be happening?

@geoffreymcgill Hey, any idea what can be the reason? Any workaround suggestions?


Emote chat weh for lizards

About the PR

We thought it would be good for lizards to have this action.
Why / Balance

We think it will greatly improve overall enjoyment of wehing. Wehs..
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

There's no way we can show you how lizards can weh now with images.
Changelog
🆑

add: made lizards being able to weh through emote chat.

PS, we think we made a lot of useless "Merge branch 'space-wizards:master' into master", and if there will be someone who can tell us how to remove it from commits or how to sort it out so it will not be in commits of this branch, we would be grateful. We are some new contributors, so don't forget to correct us and tell us tips if you have any.

remove the “fix” part of cl

remove the “fix” part of cl

Thank you

okay, i made it so it's only one collection. But now no one but lizards will be able to weh from "juice that makes you weh"

why can only lizards weh with weh juice that sucks


Corrected gulp parameter

There is no "nuke", but "clean"

Q
A

content fix?
yes

New article?
no

Related issues?
-

What's in this Pull Request?
Documentation fix

@heinrich-ulbricht,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Heinrich, appreciated.


Message batch settings?

The service bus trigger extension recently shipped Batch Support:
https://github.com/Azure/azure-functions-servicebus-extension/issues/15
There's no documentation on how to configure the max batch size. I'm assuming that it goes in the host.json file, but that's not reflected here.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1752a37b-b40a-5613-3416-fd604b281dbc
Version Independent ID: f088004f-f80e-ba5c-e08e-c76ac395c809
Content: Azure Service Bus bindings for Azure Functions
Content Source: articles/azure-functions/functions-bindings-service-bus-output.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@kdr213 Thank you for your feedback! We will review and provide an update as appropriate.

Is there an update on this ?

@jeffhollan - how is maxBatchSize set?

Not sure. Would be good to ping Fabio and Alexey. I thought it would be the same as maxConcurrentCalls in host.json but would be good to confirm

@craigshoemaker FYI, there is some info at:

https://github.com/Azure/azure-functions-servicebus-extension/issues/15#issuecomment-702315755
https://github.com/MicrosoftDocs/azure-docs/issues/52706


GeoFire.setLocation -  No virtual method setValue(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/firebase/tasks/Task; in class Lcom/google/firebase/database/DatabaseReference; or its super classes (declaration of 'com.google.firebase.database.DatabaseReference'

When trying to set the setLocation on the GeoFire object runs into following issue at run time
No virtual method setValue(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/firebase/tasks/Task; in class Lcom/google/firebase/database/DatabaseReference; or its super classes (declaration of 'com.google.firebase.database.DatabaseReference' appears in  (apk file )
Using the GeoFire 2.0.0 SNAPSHOT version.
Firebase version: com.google.firebase:firebase-database:9.0.2

@jdimond @abehaskins I am seeing this as well when trying to use the geofire-2 branch in an Android app.
The problem is this block in GeoFire.java
        if (completionListener != null) {
            keyRef.setValue(updates, geoHash.getGeoHashString(), new DatabaseReference.CompletionListener() {
                @Override
                public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {
                    completionListener.onComplete(key, databaseError);
                }
            });
        } else {
            keyRef.setValue(updates, geoHash.getGeoHashString());
        }

Specifically the crash is at this line:
            keyRef.setValue(updates, geoHash.getGeoHashString());

Fixed be #34

Dus bug still seams to appear on 2.1.0 using firebase-database 9.4.0. Any ideas?

any fix yet?

hi, this bug is still present. Any news on the update?

@orzsikodon Hi, i added the Completion listener but i still run into the same bug.

any update on this?

Today is 4/19/2018 but still same problem :(

21/04/2018
The error still happening also when removing the location removeLocation(key) and doesn't work unless the listener is provided.

I change it from com.firebase:geofire-android:3.1.0  to  com.firebase:geofire-android:2.1.1
works fine :)

i am having the same issue. please help i need to keep proguard and i am time bound.

This issue is only arising with proguard. But i need to keep proguard to safeguard (somewhat) other logic inside. Please help its very urgent. Also, by downgrading dependency to 2.1.1, geoquery seems to be not working. I am not explicitly using setLocation etc, i am only using geofire to query location. Please help!

@zezi Thank you so much! Though i tried earlier to add exception in proguard, i failed to achieve the desired result. This fixed my problem. Thank you again!!!

I change it from com.firebase:geofire-android:3.1.0 to com.firebase:geofire-android:2.1.1
works fine :)

Yeah it's works for me :-) Thank you

Thanks @abelthefirst for laying it out so clearly.  This seems to be a fundamental issue with how this library is structured and published.  IMO the only way forward would be to make separate geofire-java and geofire-android libraries (no shared source, maybe a shared published dependency) but that's more effort than I can spare right now :-/

@samtstern I have extracted the geofire library as library module for android. Its working correctly but I am having difficulty in making test cases successful. My understanding is that you have written test with admin sdk for java. In case of Android I was looking for using android test so that the context is available.
Can you guide on how to convert the test cases for android library?
Here is the link to my repo:
https://github.com/umarhussain15/geofire-android

It still doesn't work in 2019.Without the listeners.

@umarhussain15 wow geofire-android is really cool!  Sorry I missed this in my inbox the first time.
I think splitting this up into Android and Java libraries with separate repos is the only way forward, but unfortunately I don't have the time to handle such a big project right now.
As for the test cases I suspect we will have to do something different on Android.  Maybe use the regular Android SDK but sign in with a custom token?

@umarhussain15 wow geofire-android is really cool! Sorry I missed this in my inbox the first time.
I think splitting this up into Android and Java libraries with separate repos is the only way forward, but unfortunately I don't have the time to handle such a big project right now.
As for the test cases I suspect we will have to do something different on Android. Maybe use the regular Android SDK but sign in with a custom token?

What are you talking about? Is there still not a solution for this. I keep getting this error from time to time. This can't happen in an app!

@emailsubjekt please have a look at https://github.com/umarhussain15/geofire-android. I have extracted the library specifically as android module to avoid the issues mention in this thread. It in working state and can be easily plugged in place of geofire-java.

@emailsubjekt please have a look at https://github.com/umarhussain15/geofire-android. I have extracted the library specifically as android module to avoid the issues mention in this thread. It in working state and can be easily plugged in place of geofire-java.

Is this official or a workaround?

@emailsubjekt it's a workaround but I officially recommend it for now!  @umarhussain15 has done the right thing.

I have finally gotten the time to take this on.  I am going to:

Make a new repository called geofire-android that ships an android-only version of this library.
Convert this repository to be java-admin only and remove the android module from here.
Republish both libraries at a new major version.

@emailsubjekt please have a look at https://github.com/umarhussain15/geofire-android. I have extracted the library specifically as android module to avoid the issues mention in this thread. It in working state and can be easily plugged in place of geofire-java.

Thanks!


[AppConfig] Re-record tests with Test proxy

API change check
API changes are not detected in this pull request.

/azp run java - appconfiguration - tests