TabBar speed...

I'm looking at switching to this component from the TabBarIOS component since I can more easily program routes.
It seems to work almost out of the box but the biggest problem I have so far is the tabbar seems to wait for the component to load/render fully before switching the tabbaritem/button/icon's state.
Is there a way to cache or differ the loading of the component once I click the tabbar icon?

It's also kind of janky, often white screen is all I get... any thoughts on what to look for? :\

It's also eating up memory like a bosssss haha. Eeeeee.

Sorry for the hasty reply... On further inspection this is caused by not using "type='switch'", presumably because it is continually pushing each tab onto the view stack? Anyhoo, next problem is figuring out how to get rid of the NavigationBar with type='switch' is on, the two methods hideNavBar={true} and showNavigationBar={false} don't seem to work.

Thanks for the feedback. You may implement your own tab bar for desired functionality. This component provides just simplest tab bar mostly to demonstrate navigation, but you could pass own one.


distillation: fix ModuleNotFoundError error in token counts script

Hi,
I'm currently trying out "distillation" 😅
This PR a ModuleNotFoundError message in the token_counts.py script (same error was recently fixed in 803c1cc4eacd38f1b854578d7d717b5e4a1ada47 🤗

Great, thanks @stefan-it!


Get XXXXX.png 404 (Not Found)

GET http://<my_domain>/tmp/saved/XX/XXXXX.png 404 (Not Found)
actualy in my case path need to be http://<my_domain>/graph/tmp/saved/XX/XXXXX.png
I do not know if it is correct post all errors with common reason?

It is ok now. Maybe we will fix it in future.


Need an obvious way to debug note sync problems on Windows

Problems during note sync are easy to debug on Linux thanks to the new --debug-sync switch.
How can I provide information about note sync problems on Windows? There isn't any console output and the lines with error in the synchronisation dialogue aren't clickable.

Sorry Eric, something I skipped over I am afraid.
Its a little harder under windows due, as you note to no default console.
The debug messages can be written to a file that you can read later. But you have to tell the app where that file is. So, you need to either create a windows shortcut with this info or launch tomboy-ng from the command line. The latter is my preferred model of course being a Linux user, use what suits you.
From memory (I don't have a windows machine with me at present) the command line would be eg
tomboy-ng --debug-sync --debug-log=somefile.txt
You need to do that somewhere were you have write permission or set a valid path in front of the "somefile.txt".
You can do what you want and the read the file with (eg) notepad. There are some tools that let you tail a file but I am afraid I cannot remember what they are under windows. Please let me know if you don't make good progress.
David

http://wiki.freepascal.org/LazLogger

Thanks. I wasn't able to make it work with the --debug-log flag (tomboy-ng just didn't start) but setting the environment variable tomboy-ng64_debuglog worked.
The problems that I saw where:

wrong nesting of tags in two notes, e.g.
<list><list-item dir="ltr">Text <underline>OtherText</list-item></list></underline> instead of
<list><list-item dir="ltr">Text <underline>OtherText</underline></list-item></list>
1 problem with & - there was & &amp in the source of the note

Ah, thats good info Erik. The underline is new code and I guess a bug has slipped through. What you see there is definitely bad xml. Will mess with Indexing but will load into the editbox (as I noted in other post).
I suggest you avoid using underline until we have fixed this. And I am away from the box I generate windows binaries for many weeks I'm afraid.
The & issue. You mention there was a "& &amp" in the xml, can I clarify ?  Note "& &" ? with a semicoma after the amp ?
Is it possible the & that has been messed up was involved with a bullet point ? I am quite unhappy with the bullet code, for reasons just outside my reach, its vastly more complicated than it should be.
Davo

It was indeed & &. I must have cut off the end during copy & paste. IIRC I saw the problems with & in several places, both in the title and in the main body of the note.

OK, I have traced the problem relating to the underline xml. A misplaced 'end' that was allowing BulletList() to skip a few lines. I have fixed that with a commit to source just now. But I will not be able to generate new binaries with that fix for some time.
So, unless you are willing to pull down the source and build it yourself, all I can recommend is you avoid having underline, strike out and fixed width inside Bullet Lists. And I'll ship new binaries as soon as I return home.
Very sorry about that.
I have not been able reproduce the & problem #63 at this stage.

I have committed some changes that will now push out a short text file, a copy of the linux/mac man page, with the 64bit windows install kit. And the html directory with further docs.
Not proper windows help files but, hopefully a step in right direction.


The method used to create the "cog_region" variable no longer gives the right result

File: 02b - Speech.ipynb
Link: https://github.com/MicrosoftDocs/ai-fundamentals/blob/master/02b - Speech.ipynb
Issue Description: found in "Line 49"
"cog_region = cog_endpoint[8:cog_endpoint.find('.')]\n",
For new cognitive service resources, this variable returns the name and not the region of the resource which leads to "SpeechRecognitionResult(result_id=**************, text="", reason=ResultReason.Canceled) later down the line
Worked around by statically entering the region of the resource

Thanks @davidokeyode - fixed!


503 error is returned on device uninstallation

Part of the device uninstallation process is to call reset_circus.sh which in turn does what the name says -- and resets Circus. Unfortunately, Chaussette is managed by Circus, which means that Fermentrack is taken down by the reset unnecessarily.
This relates to #138 which I think is being resolved by the branch 0459343e0aeebbc0abea1532ff09aad39019ab58 is part of. Guessing this can be resolved once that branch is merged in - but noting the issue here for tracking so it doesn't get forgotten.

There is actually no need to remove the process from circus by Fermentrack django, brewpi_spawner.py will periodically query the database and stop/remove or start processes as needed.
The relevant function is here:
https://github.com/thorrak/fermentrack/blob/master/fermentrack_django/brewpi_spawner.py#L68

... damnit. That makes sense. Commenting out the offending lines & closing issue.


The screenshots for Storage Account Migration do not match the current portal

The screenshots for Storage Account Migration do not match the current portal. When I look at a storage account, the Settings area doesn't have the same options as in this screenshot and I do not see any storage accounts that seem to have the "Migrate to ARM" option. I have no way to tell which storage account may need migration and how to migrate. Can you update this article to match current Portal views?

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

ID: abb30484-04e7-3ba3-2d5c-51b312ad5c69
Version Independent ID: f9a80b3f-ad3e-2985-dfbf-b69b6f614daa
Content: Overview of platform-supported migration of IaaS resources from classic to Azure Resource Manager - Azure Virtual Machines
Content Source: articles/virtual-machines/migration-classic-resource-manager-overview.md
Service: virtual-machines
Sub-service: classic-to-arm-migration
GitHub Login: @tanmaygore
Microsoft Alias: tagore

@4deeptech
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@tanmaygore
Can you please check and add your comments on this doc update request as applicable.

Thank you for the feedback. I've updated the storage account section and created a new screenshot.
#please-close


Monitor errors with runOnSourceError

It would be useful to monitor problems with sources.
Currently I only see this in the logs: 2020/12/17 19:11:14 [0/0/0] [path 29b6ee50] rtsp source ERR: dial tcp <IP_ADDRESS>:554: connect: connection refused
Which is ok for manual monitoring of logs but doesn't look suitable for automatic parsing and generation of alerts when something wrong happens with a specific source.
I think it could be done with a runOnSourceError field, and setting a REASON environment variable that could be:

timeout
404_not_found
403_forbidden
503_unavailable
...

mmm
From my experience with monitoring systems (Grafana, Prometheus, Loki, etc), alarms are often generated from logs, it's enough to setup a modern logger (Loki, Logstash, InfluxDB), extract metadata from log lines through regular expressions, and the configuring alarms - it's way more versatile and efficient than scripts, so my advice is to first try these solutions, then, if they're not enough, we can discuss enhancements.

mmm
From my experience with monitoring systems (Grafana, Prometheus, Loki, etc), alarms are often generated from logs, it's enough to setup a modern logger (Loki, Logstash, InfluxDB), extract metadata from log lines through regular expressions, and the configuring alarms - it's way more versatile and efficient than scripts, so my advice is to first try these solutions, then, if they're not enough, we can discuss enhancements.

I already implemented such parsing but it's not so versatile. For example, the logging format changed between version 0.12 and 0.13 so it completely breaks parsing made for 0.12.
Basically, the rtsp server should be free to log as it wishes, while something like runOnSourceError would be a contract that defines the most common encountered RTSP errors in a less fragile format.

I already implemented such parsing but it's not so versatile. For example, the logging format changed between version 0.12 and 0.13 so it completely breaks parsing made for 0.12.
Basically, the rtsp server should be free to log as it wishes, while something like runOnSourceError would be a contract that defines the most common encountered RTSP errors in a less fragile format.

@aler9 Would you consider this as an enhacement? In my opinion (use-case) it's not suitable to generate alerts from a log monitoring dashboard because the end users who edit the connection strings do not (cannot, and should not) access such a dashboard which is only available internally for devops.
So in my application I would  of course not generate alerts from the script itself, it's a complex pipeline including NoSQL database but the first step is for the controlling application to get the errors in a reliable format, and the only way I see that is with a runOnSourceError script.
I started digging through the codebase, hoping I could implement myself and PR, but I could not figure it out. For example, I discovered that the error "rtsp source ERR" does not even originate from this code, but from gortsplib code..

errors of sourcertsp can be intercepted here
https://github.com/aler9/rtsp-simple-server/blob/97305af2724810d673907c33e024acd604ec3be2/internal/sourcertsp/source.go#L145
and here
https://github.com/aler9/rtsp-simple-server/blob/97305af2724810d673907c33e024acd604ec3be2/internal/sourcertsp/source.go#L168


Fix Travis build

Extracted from #3.

Looks like you've already signed the @stellar CLA also, thanks!


Unable to install 0.7.5 on macOS Sierra 10.12.6

My command:
gem install charlock_holmes -- --with-icu-dir=/usr/local/opt/icu4c

Output:
Building native extensions with: '--with-icu-dir=/usr/local/opt/icu4c'
This could take a while...
ERROR:  Error installing charlock_holmes:
	ERROR: Failed to build gem native extension.

    current directory: /usr/local/lib/ruby/gems/2.4.0/gems/charlock_holmes-0.7.5/ext/charlock_holmes
/usr/local/opt/ruby/bin/ruby -r ./siteconf20170831-19095-1crbzog.rb extconf.rb --with-icu-dir=/usr/local/opt/icu4c
checking for -licui18n... yes
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: /usr/local/lib/ruby/gems/2.4.0/gems/charlock_holmes-0.7.5/ext/charlock_holmes
make "DESTDIR=" clean

current directory: /usr/local/lib/ruby/gems/2.4.0/gems/charlock_holmes-0.7.5/ext/charlock_holmes
make "DESTDIR="
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);
                ~ ^~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:980:6: note: expanded from macro 'RSTRING_LEN'
     RSTRING_EMBED_LEN(str) : \
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:976:6: note: expanded from macro 'RSTRING_EMBED_LEN'
     (long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
                ~ ^~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:981:28: note: expanded from macro 'RSTRING_LEN'
     RSTRING(str)->as.heap.len)
     ~~~~~~~~~~~~~~~~~~~~~~^~~
2 warnings 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);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:980:6: note: expanded from macro 'RSTRING_LEN'
     RSTRING_EMBED_LEN(str) : \
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:976:6: note: expanded from macro 'RSTRING_EMBED_LEN'
     (long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:981:28: note: expanded from macro 'RSTRING_LEN'
     RSTRING(str)->as.heap.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);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:980:6: note: expanded from macro 'RSTRING_LEN'
     RSTRING_EMBED_LEN(str) : \
     ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:976:6: note: expanded from macro 'RSTRING_EMBED_LEN'
     (long)((RBASIC(str)->flags >> RSTRING_EMBED_LEN_SHIFT) & \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                          ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:981:28: note: expanded from macro 'RSTRING_LEN'
     RSTRING(str)->as.heap.len)
     ~~~~~~~~~~~~~~~~~~~~~~^~~
4 warnings generated.
compiling ext.c
compiling transliterator.cpp
In file included from transliterator.cpp:5:
In file included from /usr/local/opt/icu4c/include/unicode/translit.h:25:
In file included from /usr/local/opt/icu4c/include/unicode/unistr.h:33:
/usr/local/opt/icu4c/include/unicode/char16ptr.h:90:19: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    Char16Ptr() = delete;
                  ^
/usr/local/opt/icu4c/include/unicode/char16ptr.h:198: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 /usr/local/opt/icu4c/include/unicode/translit.h:25:
/usr/local/opt/icu4c/include/unicode/unistr.h:3025:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text)) {}
      ^~~~~~~~~~~~~
/usr/local/opt/icu4c/include/unicode/unistr.h:3087:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text), length) {}
      ^~~~~~~~~~~~~
/usr/local/opt/icu4c/include/unicode/unistr.h:3180:7: error: delegating constructors are permitted only in C++11
      UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}
      ^~~~~~~~~~~~~
transliterator.cpp:101:60: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  trans = Transliterator::createInstance(UnicodeString(id, id_len), UTRANS_FORWARD, p_error, status);
                                         ~~~~~~~~~~~~~     ^~~~~~
transliterator.cpp:106:34: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
  u_txt = new UnicodeString(txt, txt_len);
              ~~~~~~~~~~~~~      ^~~~~~~
4 warnings and 3 errors generated.
make: *** [transliterator.o] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/local/lib/ruby/gems/2.4.0/gems/charlock_holmes-0.7.5 for inspection.
Results logged to /usr/local/lib/ruby/gems/2.4.0/extensions/x86_64-darwin-16/2.4.0/charlock_holmes-0.7.5/gem_make.out

+1

+1

I had the same problem. 0.7.4 worked for me, but 0.7.3 and 0.7.5 did not.   ¯\_(ツ)_/¯

Hi all, I've run into this same issue, except I'm on El Capitan (10.11.6). Using bundler 1.15.4, ruby 2.3.1, and Xcode 8.2.1 build 8C1002:
checking for main() in -licui18n... yes
checking for main() in -licui18n... yes
checking for unicode/ucnv.h... yes
checking for main() in -lz... yes
checking for main() in -licuuc... yes
checking for main() in -licudata... yes
creating Makefile

current directory: /Users/bbushey/Development/evolution/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/ext/charlock_holmes
make "DESTDIR=" clean

current directory: /Users/bbushey/Development/evolution/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/ext/charlock_holmes
make "DESTDIR="
compiling converter.c
compiling encoding_detector.c
compiling ext.c
compiling transliterator.cpp
In file included from transliterator.cpp:5:
In file included from /usr/local/opt/icu4c/include/unicode/translit.h:25:
In file included from /usr/local/opt/icu4c/include/unicode/unistr.h:33:
/usr/local/opt/icu4c/include/unicode/char16ptr.h:90:19: warning: deleted function definitions are a C++11 extension
[-Wc++11-extensions]
    Char16Ptr() = delete;
                  ^
/usr/local/opt/icu4c/include/unicode/char16ptr.h:198: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 /usr/local/opt/icu4c/include/unicode/translit.h:25:
/usr/local/opt/icu4c/include/unicode/unistr.h:3025:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text)) {}
      ^~~~~~~~~~~~~
/usr/local/opt/icu4c/include/unicode/unistr.h:3087:7: error: delegating constructors are permitted only in C++11
      UnicodeString(ConstChar16Ptr(text), length) {}
      ^~~~~~~~~~~~~
/usr/local/opt/icu4c/include/unicode/unistr.h:3180:7: error: delegating constructors are permitted only in C++11
      UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}
      ^~~~~~~~~~~~~
transliterator.cpp:101:60: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int32_t'
(aka 'int') [-Wshorten-64-to-32]
  trans = Transliterator::createInstance(UnicodeString(id, id_len), UTRANS_FORWARD, p_error, status);
                                         ~~~~~~~~~~~~~     ^~~~~~
transliterator.cpp:106:34: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int32_t'
(aka 'int') [-Wshorten-64-to-32]
  u_txt = new UnicodeString(txt, txt_len);
              ~~~~~~~~~~~~~      ^~~~~~~
4 warnings and 3 errors generated.
make: *** [transliterator.o] Error 1

make failed, exit code 2

... and this is why people stop using C++. 😂
(Just teasing. C++ is a wonderful language, all things considered.)

... and this is why people stop using C++. 😂
(Just teasing. C++ is a wonderful language.)

Can you install gem setting manually c flags?
gem install charlock_holmes -- --with-cxxflags=-std=c++11

I just ran into this issue on the High Sierra GM candidate (10.3 Beta).
Was fixed when I ran:
gem install charlock_holmes -v '0.7.3' -- --with-icu-dir=/usr/local/opt/icu4c --with-cxxflags=-std=c++11

👍

Updating Ruby to 2.4.2 version solve the problem, of course before that you need install icu4c
brew install icu4c

Having a similar issue with the official release of High Sierra (10.13.0) and the system installed Ruby 2.3.0, except it's also having issues with the Ruby Frameworks's config.h header which appears to conflict with a c++11 standard and errors out:
compiling transliterator.cpp
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby.h:33:
In file included from
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/ruby.h:24:
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin17/ruby/config.h:368:31:
error: invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]
#define RUBY_ARCH "universal-"RUBY_PLATFORM_OS
                              ^

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin17/ruby/config.h:369:35:
error: invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]
#define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS
                                  ^

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin17/ruby/config.h:369:55:
error: invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]
#define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS
                                                      ^

3 errors generated.
make: *** [transliterator.o] Error 1

I fixed it by running:
bundle config build.charlock_holmes --with-icu-dir=/usr/local/opt/icu4c --with-cxxflags=\'-Wno-reserved-user-defined-literal -std=c++11\'

before installing the bundle that required charlock_holmes 0.7.5 (GitLab CE), which suppressed the error and got it building properly. Hope this helps someone in the future!

Only this works for me:
sudo gem install charlock_holmes -- --with-icu-dir=/usr/local/opt/icu4c --with-cxxflags=\'-Wno-reserved-user-defined-literal -std=c++11\'

Please give 0.7.6 a try.

Just tried, doesn't help... the workaround listed still fixes it.

I was finally able to get around this by downgrading my icu4c install as suggested at https://github.com/brianmario/charlock_holmes/issues/117#issuecomment-347267575. Once that was done gem install charlock_holmes --version 0.7.5 -- --with-icu-dir=/usr/local/opt/icu4c --with-cxxflags=-std=c++11 installed without issue.

Although that ☝ appears to result in npm install not working, at least for the one library I tried installing, until I put icu4c back to the current version which then broke charlock_homes again 🤷♂

I was able to install 0.7.6 fine under High Sierra 10.3.6 with Ruby 2.4.4 via RVM, but trying to install it against the system Ruby (2.3.7p456) fails with:
ERROR:  Error installing charlock_holmes:
	ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180726-54665-1wlohkx.rb extconf.rb --with-icu-dir=/usr/local/opt/icu4c --with-cxxflags=-std=c++11
checking for main() in -licui18n... yes
checking for main() in -licui18n... yes
checking for unicode/ucnv.h... yes
checking for main() in -lz... yes
checking for main() in -licuuc... yes
checking for main() in -licudata... yes
creating Makefile

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/charlock_holmes-0.7.6/mkmf.log

current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
make "DESTDIR=" clean

current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
make "DESTDIR="
compiling converter.c
compiling encoding_detector.c
compiling ext.c
compiling transliterator.cpp
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby.h:33:
In file included from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/ruby.h:24:
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin17/ruby/config.h:368:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
#define RUBY_ARCH "universal-"RUBY_PLATFORM_OS
                              ^

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin17/ruby/config.h:369:35: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
#define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS
                                  ^

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin17/ruby/config.h:369:55: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
#define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS
                                                      ^

3 errors generated.
make: *** [transliterator.o] Error 1

make failed, exit code 2

I get the same error with or without specifying --with-icu-dir and --with-cxflags. It's not a dealbreaker since I rarely use the system Ruby and only wanted to suppress some errors I was getting on Emacs startup, but it might indicate some other problem.

Use the following command :
gem install charlock_holmes -- --with-icu-dir=/opt/local/

FWIW the install worked out of the box on Mojave with Homebrew icu4c-62.1.mojave.bottle.tar.gz.

Solution for me was to set it in bundler so the config stayed set:
$ brew install icu4c
$ bundle config build.charlock_holmes --with-icu-dir=/usr/local/opt/icu4c --with-cxxflags=-std=c++11
$ bundle

In case it can help:
I was having the following error when running:
gem install charlock_holmes -v '0.7.6' -- --with-icu-dir=/usr/ local/opt/icu4c --with-cxxflags=-std=c++11
Building native extensions with: '--with-icu-dir=/usr/local/opt/icu4c --with-cxxfla
gs=-std=c++11'
This could take a while...
ERROR:  Error installing charlock_holmes:
        ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/char
lock_holmes
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -I /Library/Rub
y/Site/2.3.0 -r ./siteconf20191008-51558-13w2yvj.rb extconf.rb --with-icu-dir\=/usr
/local/opt/icu4c --with-cxxflags\=-std\=c\+\+11
checking for main() in -licui18n... yes
checking for main() in -licui18n... yes
checking for unicode/ucnv.h... yes
checking for main() in -lz... yes
checking for main() in -licuuc... yes
checking for main() in -licudata... yes
creating Makefile

current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock
_holmes
make "DESTDIR=" clean

current directory: /Library/Ruby/Gems/2.3.0/gems/charlock_holmes-0.7.6/ext/charlock
_holmes
make "DESTDIR="
compiling converter.c
compiling encoding_detector.c
compiling ext.c
compiling transliterator.cpp
In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby.h:33:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/ruby.h:24:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin18/ruby/config.h:365:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
#define RUBY_ARCH "universal-"RUBY_PLATFORM_OS
                              ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin18/ruby/config.h:366:35: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
#define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS
                                  ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin18/ruby/config.h:366:55: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
#define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS
                                                      ^

In file included from transliterator.cpp:1:
In file included from ./common.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby.h:33:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/ruby.h:1988:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/include/ruby-2.3.0/ruby/intern.h:47:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);

I fixed it by manually editing config.h and adding space between literals and identifiers
Before
#define RUBY_ARCH "universal-"RUBY_PLATFORM_OS
#define RUBY_PLATFORM"universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS

After
#define RUBY_ARCH "universal-" RUBY_PLATFORM_OS
#define RUBY_PLATFORM "universal." RUBY_PLATFORM_CPU "-" RUBY_PLATFORM_OS

@Weakky One can also work around outdated headers in Ruby by using e.g.
gem install charlock_holmes -- --with-icu-dir=/opt/local --with-cxxflags=-Wno-reserved-user-defined-literal

I've patched Ruby master to avoid the need to introduce such spaces in future. https://github.com/ruby/ruby/commit/07f2062c8ffecc774a4ebc1f39ff2c4940592be4

This https://github.com/brianmario/charlock_holmes/issues/122#issuecomment-539457837 fixes Mac OS Catalina issue with charlock_holmes but I think the best solution is https://github.com/brianmario/charlock_holmes/issues/122#issuecomment-549819632 which does not involves editing source and it also works on Catalina.
Hopefully in future, with new @mabraham changes, we won't have this problem on a new Mac version anymore.

Can confirm this still works on macOS Monterey with 7.7
#122 (comment) does work.

sudo gem install charlock_holmes -- --with-cxxflags="-Wno-reserved-user-defined-literal -std=c++11"
2024 version 😂


[VL] support percentile/percentile_approx offload

Description
One main issue of performance regression compared to Vanilla Spark
Like:
ObjectHashAggregate(
	keys=[h#216:string,
          e#219:string,
          p#212:string,
          p#190:string,
          y#191:string,
          r#192:string,
          e#193:string],
    functions=[count(1), percentile(s#199L, 0.5, 1, 0, 0),
                         percentile(s#199L, 0.9, 1, 0, 0),
                         percentile_approx(e#201, 0.5, 10000, 0, 0),
                         percentile_approx(e#201, 0.9, 10000, 0, 0),
                         percentile(s#202L, 0.1, 1, 0, 0),
                         percentile(s#202L, 0.5, 1, 0, 0)])

@FelixYBW, there is one pending pr for percentile_approx: https://github.com/apache/incubator-gluten/pull/5007.

Looks pretty old PR. Can we merge?

Looks pretty old PR. Can we merge?

@FelixYBW, I guess there are some blocking issues. I'm asking the owner to see whether we can take over his work.


Grakn-client 1.7.2 needs to be compatible with protobuf 3.8.0 and grpcio 1.24.3 or newer

Description
When installing grakn-client, the following message shows up:
ERROR: tensorflow 2.1.0 has requirement protobuf>=3.8.0, but you'll have protobuf 3.6.1 which is incompatible.
ERROR: tensorflow-hub 0.8.0 has requirement protobuf>=3.8.0, but you'll have protobuf 3.6.1 which is incompatible.
ERROR: tensorboard 2.1.1 has requirement grpcio>=1.24.3, but you'll have grpcio 1.24.1 which is incompatible.
ERROR: ray 0.8.5 has requirement protobuf>=3.8.0, but you'll have protobuf 3.6.1 which is incompatible.
Environment

OS (where Grakn server runs): Ubuntu 18.04
Grakn version (and platform): 1.7
Grakn client-python version: 1.7.2
Python version: 3.7
Other environment details:

Reproducible Steps
Steps to create the smallest reproducible scenario:

pip install -U grakn-client==1.7.2

Expected Output
no error messages indicating incompatibility
Actual Output
ERROR: tensorflow 2.1.0 has requirement protobuf>=3.8.0, but you'll have protobuf 3.6.1 which is incompatible.
ERROR: tensorflow-hub 0.8.0 has requirement protobuf>=3.8.0, but you'll have protobuf 3.6.1 which is incompatible.
ERROR: tensorboard 2.1.1 has requirement grpcio>=1.24.3, but you'll have grpcio 1.24.1 which is incompatible.
ERROR: ray 0.8.5 has requirement protobuf>=3.8.0, but you'll have protobuf 3.6.1 which is incompatible.
Additional information

I'm having a similar issue - a conflict with Streamlit which requires protobuf 3.13.0.
Is there an eta for the 2.0 milestone or a fix for this?
Thanks

We have just released https://github.com/graknlabs/client-python/releases/tag/2.0.0-alpha which upgrades Grakn to 2.0 and upgrades grpcio to 1.33.2, which should resolve this issue.

We have just released grakn-client==2.0.0, which additionally upgrades grpcio to 1.36.1, protobuf to 3.15.5, so this issue can definitely be considered resolved.


Fix flatlist on Safari iOS 15

Fixes bug caused by https://github.com/Expensify/react-native-web/pull/2
Overscan positions were not calculated correctly when list is inverted, fixed by keeping css transforms and adjusting computeWindowedRenderLimits

@thienlnam ready for review. First https://github.com/Expensify/react-native-web/pull/3 needs to be merged.


Dockerfile installation error

Describe the bug
Failure to install Bundler and dependencies during Docker build process.
To Reproduce
Steps to reproduce the behavior:

Clone the repository: git clone [https://github.com/academicpages/academicpages.github.io]
Run: docker build -t jekyll-site .

Expected behavior
[+] Building 1.9s (8/9)                                    docker:desktop-linux
=> CANCELED [1/5] FROM docker.io/library/ruby:3.2@sha256:f91b6fc160a5a82  0.0s
=> CACHED [2/5] RUN apt-get update && apt-get install -y     build-essen  0.0s
=> CACHED [3/5] WORKDIR /usr/src/app                                      0.0s
=> ERROR [4/5] COPY Gemfile Gemfile.lock ./                               0.0s
Screenshots

Desktop (please complete the following information):

OS: macOS 13.0.1

Same for me

I solved this by changing COPY Gemfile Gemfile.lock ./ to COPY Gemfile ./

Pull request has been merged, please let me know if this fixes the problem.

Pull request has been merged, please let me know if this fixes the problem.

Thank you. Problem solved!


"Project Quotation Specialist" doesn't not found to "nielseniq" site

URL: https://peviitor.ro/
browser: Microsoft Edge
device: Computer
OS: windows

Steps to reproduce

1.Open the company recruitee page: https://nielseniq.com/?s=&market=global&language=en&orderby=&order=&post_type=career_job&job_locations=romania&job_teams=&job_types=
2.Pay attention that are showed four jobs
3.Open peviitor URL
4.Put the name "nielseniq" in the search field
5.Press the button "Caută"
6.Pay attention that is displayed five jobs.
7. Press the button "Vezi postul" from job "Project Quotation Specialist"
8. You observe that this job is expired.

Expected results

It should't displayed on peviitor.ro site the job "Project Quotation Specialist"  at "nielseniq" company.

Actual results

It is displayed on peviitor.ro site the job "Project Quotation Specialist"  at "nielseniq" company.

Fixed

Retest.


fix: vulnerabilities of third-party dependent libraries: CVE-2019-19794 CVE-2020-26160

Codecov Report

Merging #95 (71e6879) into master (c9bef7d) will increase coverage by 1.44%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   80.93%   82.38%   +1.44%
==========================================
  Files          14       14
  Lines         897      897
==========================================
+ Hits          726      739      +13
+ Misses        125      113      -12
+ Partials       46       45       -1

Impacted Files
Coverage Δ

internal/server/server.go
65.87% <0.00%> (+10.31%)
:arrow_up:

Continue to review full report at Codecov.

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


Fixes #56 | Humman-readable interval in config

Currently we allow user to specify intervals/timeouts in
human readable format only in command line flags. This commit
introduce allowign user to specify duration as inteager nanoseconds or
as formated string. String should have format supported by
time.ParseDuration.

Coverage remained the same at 82.428% when pulling 98a16cbc6acbb0d729245754338821e66b562282 on fixes/56/humanreadable_duration_in_config into 6867a85a379b762877ab8cd7f6cd8224422eb6b3 on master.

Coverage remained the same at 82.428% when pulling a008c3650b056430f95b575b2cbe878c78e0702d on fixes/56/humanreadable_duration_in_config into 6867a85a379b762877ab8cd7f6cd8224422eb6b3 on master.

Coverage remained the same at 82.428% when pulling a9c9b7d37b3dcf07ab24ea57850436f9383a2ed4 on fixes/56/humanreadable_duration_in_config into 6867a85a379b762877ab8cd7f6cd8224422eb6b3 on master.


fix/CI: eslint config AllowImportExportEverywhere

This PR fixes failed builds in CI

Thanks a lot for your help. I close this PR because https://github.com/Galactica-corp/galactica-monorepo/commit/aeabfd1612dde9271e744bab3237d103a1038487 fixed it.


MF-1103 - API key should ignore empty expiration time

Signed-off-by: Dušan Borovčanin<EMAIL_ADDRESS>What does this do?
This pull request fixes API key expiration validation.
Which issue(s) does this PR fix/relate to?
This pull request fixes #1103.
List any changes that modify/break current functionality
API key validation should allow using tokens with an indefinite duration.
Have you included tests for your changes?
Yes.
Did you document any new/modified functionality?
Yes, API docs are updated.

Codecov Report

Merging #1104 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1104   +/-   ##
=======================================
  Coverage   77.13%   77.13%
=======================================
  Files          95       95
  Lines        6769     6771    +2
=======================================
+ Hits         5221     5223    +2
  Misses       1211     1211
  Partials      337      337

Impacted Files
Coverage Δ

authn/keys.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Shift instructions don't use the assign operator

The virtual machine shift instructions use the << and >> operators instead of the <<= and >>= operators.

Fixed on master and SanderMertens


[question] Add Zwave2Mqtt as "Secondary Controller"

Hi guys,
can OZ2MQTT be added as "Secondary Controller"? It should be fantastic because I can avoid to repair all the stuff from scratch.
Thanks!

Zwave cannot be added as a secondary controller, only a controller can, zwave is just a gateway


Investigate vector support issue with VAT

Describe the bug
The test_iris_pt and the test_iris_tf get the same error in the unittest of VAT so
they was commented out temporarily. The problem is that the attack generates  "nan" in both cases so that could be a problem with the attack / or it simply doen't support vector.

This issue is related to issue #120 as well.


initialValues from config and initializeForm bugs after v3.1.0

Hello there.
I've faced a bug connected to initialization of form values using config property initialValues and inializeForm method
I briefly checked state of form and it seems that after calling inializeForm or setting default values through config form state looks like this .
javascript
{
form: {
myForm: {
field1: { }
}
}
}
Later when setting form values all works as expected and form state takes values
```javascript
{
   form: {
    myForm: {
      field1: {
        value: 2
      }
    }
  }
}

When using v3.1.0 and below it sets form state to this
{
   form: {
    myForm: {
      field1: {
        initial: 1,
        value: 2
      }
    }
  }
}

Will provide a sample later
Cheers

Thx for reporting, same issue as https://github.com/erikras/redux-form/issues/360

This should be fixed in v4.0.0. Come and get it!


Add unit tests for radXfer_cross_section/abstract.radXfer.cross_section.type.F90 functions

add unit tests for the addpnts function and adapt module to follow MUSICA style

@mattldawson this ticket also seems out of date. I'm not sure what this is referring to

yeah, I think Stacy merged this with the cross_section_t class


Simplify some helper specs

Create fewer records
Squash tests together when it is only expectations to reduce setup cost
Clean up contexts and descriptions to better describe what is being tested
Only build things where they will be used for tests
Let FactoryGirl handle default values for us

@miq-bot add_label test

@miq-bot add_label ui

@miq-bot add_label refactoring

@Fryguy @jrafanie Here's the daily deletion :scissors:


Move testing utils to its own package

So as not to pollute command-line flags with test.* options.
It appears that importing "testing" (from stdlib) will add flags. To
avoid this, we need code to not depend on testing. But, since
testing_utils was previously in the same package as the rest of the
code, it dragged testing in.
Renaming testing_util.go to e.g., nameserver/util_for_test.go might be enough to
avoid it being compiled with the regular code. We may want it to be
available to tests for other packages -- after all it is utilities for
testing -- so it goes in its own package.

This is meant to fix #289, right?

Yus

NB you may well have to rm  $GOPATH/pkg/linux_amd64/github.com/zettio/weave/* and make clean for this to have an effect. Annoyingly.


Roll Flutter Engine from 69075e7e87d4 to 76ecbbef3fe6 (4 revisions)

https://github.com/flutter/engine/compare/69075e7e87d4...76ecbbef3fe6
2024-07-08<EMAIL_ADDRESS>Roll Skia from 38b17b22312d to c65710d00047 (2 revisions) (flutter/engine#53758)
2024-07-08<EMAIL_ADDRESS>Roll Skia from b2c51b2fe15f to 38b17b22312d (1 revision) (flutter/engine#53757)
2024-07-08<EMAIL_ADDRESS>Roll Skia from 1f85fb9238aa to b2c51b2fe15f (3 revisions) (flutter/engine#53756)
2024-07-08<EMAIL_ADDRESS>Roll Skia from f1d06de0ae87 to 1f85fb9238aa (2 revisions) (flutter/engine#53753)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Tray icon does not show if libappindicator1 is not installed

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu) master and v0.3.3
What operating system and version? Ubuntu 15.10
What did you do? Launch the app. Close the main window.
What did you expect to happen? Tray icon should be visible to indicate that the app is still running.
What actually happened? No tray icon.
I think we should just get rid of the tray icon on Linux systems until the Electron Tray API is more reliable. These issues don't exist on Windows, as far as I'm aware.
@dcposch @grunjol Thoughts?

Looks like this happens if libappindicator1 is not installed.
@grunjol Can we add that a dependency to the .deb file?

Also, if there is some way to detect if libappindicator1 is installed, we should do that (for users who use the .zip version) and use the old behavior for them (i.e. quit the app instead of minimize to tray).

libappindicator1 is ubuntu specific (unity) so other debian derivates won't have them in the repository, we can not enforce them (we can suggest).
The problem is how to handle other DEs, because you can have other trays (like the one used by i3)  that is not libappindicator1 based, and electron uses.
Also, we can not detect loaded libraries in memory from node code without an electron API. We can check the existence of a file, but again, the location of the libraries is very distro/version dependent, so the only solution is what electron does, try to load the dynamic library (ie: libappindicator1) and if it fails, try another tray library. That is what isSupported() method should expose.
Until they expose the API we can:

Close the program on close handler (revert to old behavior)
Minimize to taskbar/launcher and keep the shutdown option (this is what  i saw in some versions of amule)

Also, we can still use the tray to have a constant desktop indicator, if the system supports it you can call it from there, if not, the program is still in minimized state and user can bring focus on it.

I'll add more detailed OS tracking in the update check. I wonder how many of our users use Ubuntu vs other Linux distributions.
I would be down to support minimize-to-tray on Ubuntu only. On any other Linux distro, WebTorrent would still work, but it would quit once you close the window.

Also, if there is some way to detect if libappindicator1 is installed, we should do that and use the old behavior for them

This sounds good to me. Most people on Ubuntu will already have it installed -- it looks like Chrome also requires it.

Correction: libappindicator1 is in debian since wheezy (2013), we can enforce it in dependencies to make sure user has it.


Add [HtmlAttributeName(..., DictionaryAttributePrefix="prefix")] part III

#89 remainder
support adding attributes (that aren't otherwise bound) to a tag helper dictionary
add ObjectCreationExpression, Prefix and more to TagHelperAttributeDescriptor
handle Prefix matches in TagHelperBlockRewriter
generate code for dictionary property initialization and indexer property assignments
extend handling of invalid attribute names to include [HtmlAttributeName]

known issue:

ObjectCreationExpression is a C# expression because otherwise generation has
insufficient information to determine correct constructor.
no VB or F# (for example) workarounds today

nits:

improve TagHelperDescriptorFactory_InvalidBoundAttributeName wording
rename resource to TagHelperDescriptorFactory_InvalidAttributeNameOrPrefixStart
correct order of arguments to FormatTagHelperDescriptorFactory_InvalidBoundAttributeName
correct TagHelperDescriptorFactoryTest test names
remove a few unnecessary ToArray() calls

/cc @NTaylorMullen
Ready to go except for question on whether Razor should initialize null dictionary properties.

Offline decisions for this PR:

Split TagHelperAttributeDescriptors for this scenario in two, using a public bool IsIndexer (or other name) to distinguish the indexer match from regular / old assignments to the property. This simplifies eventually supporting indexer assignments when the property does not support a dictionary assignment (though we are not doing that get-only feature today).
Add parse error when resolved dictionary key is string.Empty. This is almost-always an error case and we don't want to help the Razor author add a few characters after the editor auto-fills the prefix. Example error The tag helper attribute '{attribute name}' is missing a key. The syntax is <{element} {attribute name}key="value" />.
Remove initialization of null dictionary properties. This was Just Weird:tm: and encourages the anti-pattern of uninitialized collection properties. (Again, will eventually support get-only dictionary properties to better support normal patterns.)
To replace (3), add a runtime check for a null dictionary property and throw an InvalidOperationException with a RazorPage-provided Message. Check should be done once per tag helper and only when indexer assignment is used.

:watch:

Note: I'm completely cool with shipping this and delaying the test changes mentioned in my PR comments for the sake of time.

Updated

:shipit:

60c47c8


Can not run sample project with holographic remoting

Description
When trying to run the sample project with holographic remoting enabled, Unity crashes.
Steps to reproduce the issue

Set up the sample project.
Enable holographic remoting for play mode with the IP of the HoloLens 2.
Click on play with the AOASampleScene open.
Unity crashes. The crash log mentions

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Expected behavior
The scene should be able to be played using holographic remoting (?)
Development information (please complete the following information)

OS: Windows 10
Development Platform\Version: Unity 2020.3.27f1
Azure Object Anchors SDK version: 0.19

AR Device information (please complete the following information):

Device: HoloLens 2

Update
While trying to create my own app from scratch, I think I managed to pinpoint the issue. The code
ObjectAnchorsSession session = new ObjectAnchorsSession(accountInformation);
ObjectObserver observer = session.CreateObjectObserver();

causes the crash when calling CreateObjectObserver().

Just wanted to concur on this.  I'm getting a crash on the same exact method when trying to remote to the hololens 2.  CreateObjectObserver()  Not sure if it is the same exact error that Jversen reported, but it seems that it may likely be related because I've tracked it down to the same line in my code.
Unity editor crashes with...
"Unity has stopped working"
"We will now try to find a fix for the crash.  Please wait..."
"Status: There is no fix available.  Please report a bug."
Obtained 46 stack frames
0x00007ff8bdfa50c7 (Microsoft.Azure.ObjectAnchors) aoa_account_information_get_account_domain_wide
0x00007ff8bdf98390 (Microsoft.Azure.ObjectAnchors) aoa_object_anchors_session_create_object_observer
0x000001d6c130b135 (Mono JIT Code) (wrapper managed-to-native) Microsoft.Azure.ObjectAnchors.NativeLibrary:aoa_object_anchors_session_create_object_observer (intptr,intptr&)
0x000001d6c130afdb (Mono JIT Code) [Microsoft.Azure.ObjectAnchorsBridge_Editor.cs:1449] Microsoft.Azure.ObjectAnchors.ObjectAnchorsSession:CreateObjectObserver ()
0x000001d6c1264fe3 (Mono JIT Code) [ObjectLookup.cs:38] ObjectLookup/<Start>d__3:MoveNext ()
0x000001d6c1308612 (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object)
0x000001d5e6d2fcee (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001d5e6d2f39b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001d6c13084cb (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
0x000001d6c13089da (Mono JIT Code) System.Threading.Tasks.AwaitTaskContinuation:InvokeAction (object)
0x000001d6c126eae5 (Mono JIT Code) System.Threading.Tasks.AwaitTaskContinuation:RunCallback (System.Threading.ContextCallback,object,System.Threading.Tasks.Task&)
0x000001d6c126e943 (Mono JIT Code) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run (System.Threading.Tasks.Task,bool)
0x000001d5e717be03 (Mono JIT Code) System.Threading.Tasks.Task:FinishContinuations ()
0x000001d5e717b4c3 (Mono JIT Code) System.Threading.Tasks.Task:FinishStageThree ()
0x000001d6c1308953 (Mono JIT Code) System.Threading.Tasks.Task`1<Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus>:TrySetResult (Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus)
0x000001d6c13087b3 (Mono JIT Code) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus>:SetResult (Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus)
0x000001d6c12666b3 (Mono JIT Code) [Microsoft.Azure.ObjectAnchorsBridge_Editor.cs:1900] Microsoft.Azure.ObjectAnchors.ObjectObserver/<RequestAccessAsync>d__5:MoveNext ()
0x000001d6c1308612 (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object)
0x000001d5e6d2fcee (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001d5e6d2f39b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001d6c13084cb (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
0x000001d6c130837a (Mono JIT Code) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c:<.cctor>b__7_0 (object)
0x000001d6c13082b4 (Mono JIT Code) UnityEngine.UnitySynchronizationContext/WorkRequest:Invoke ()
0x000001d6c130779b (Mono JIT Code) UnityEngine.UnitySynchronizationContext:Exec ()
0x000001d6c13075bb (Mono JIT Code) UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
0x000001d6b7e609b5 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007ff8a900e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ff8a8f4e724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
0x00007ff8a8f4e8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
0x00007ff717d5ab84 (Unity) scripting_method_invoke
0x00007ff717d557a4 (Unity) ScriptingInvocation::Invoke
0x00007ff717d4f0c5 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff717e60c6b (Unity) Scripting::UnityEngine::UnitySynchronizationContextProxy::ExecuteTasks
0x00007ff717a378f6 (Unity) `InitPlayerLoopCallbacks'::`2'::UpdateScriptRunDelayedTasksRegistrator::Forward
0x00007ff717a1e43c (Unity) ExecutePlayerLoop
0x00007ff717a1e513 (Unity) ExecutePlayerLoop
0x00007ff717a24159 (Unity) PlayerLoop
0x00007ff718961178 (Unity) PlayerLoopController::UpdateScene
0x00007ff71894cf84 (Unity) PlayerLoopController::EnterPlayMode
0x00007ff71895c2d7 (Unity) PlayerLoopController::SetIsPlaying
0x00007ff71895e652 (Unity) Application::TickTimer
0x00007ff718da8d1a (Unity) MainMessageLoop
0x00007ff718dad5eb (Unity) WinMain
0x00007ff71a0c905e (Unity) __scrt_common_main_seh
0x00007ff9887154e0 (KERNEL32) BaseThreadInitThunk
0x00007ff9899a485b (ntdll) RtlUserThreadStart

The project runs if I remove the CreateObjectObserver() line.  For reference, I'm also trying to get it working in my own project following the code examples here... https://docs.microsoft.com/en-us/azure/object-anchors/concepts/sdk-overview ... because I was also unable to get the AOASampleScene project to run.

Sorry for the delay. We're taking a look at this.
Internal reference number is 38627450.

Thanks for reporting this issue! I did some sleuthing based on the call stack and I think I know what the problem is, but I haven't been able to reproduce it so far. Specifically, I see a codepath which could trigger an AV if Remoting was not properly connected when AOA was initialized. Can you provide the details of your XR plugin and Remoting configurations (WMR vs OpenXR, package version numbers, player app version number)?

Thanks for addressing the issue!
Looks similar to @charliensane on my end. Crash log from a new barebones project (i.e. not the sample app):
Received signal SIGSEGV
Stack trace:
0x00007fff989950c7 (Microsoft.Azure.ObjectAnchors) aoa_account_information_get_account_domain_wide
0x00007fff98988390 (Microsoft.Azure.ObjectAnchors) aoa_object_anchors_session_create_object_observer
0x000001c7ddd8e6fd (Mono JIT Code) (wrapper managed-to-native) Microsoft.Azure.ObjectAnchors.NativeLibrary:aoa_object_anchors_session_create_object_observer (intptr,intptr&)
0x000001c7ddd8e5bb (Mono JIT Code) [Microsoft.Azure.ObjectAnchorsBridge_Editor.cs:1449] Microsoft.Azure.ObjectAnchors.ObjectAnchorsSession:CreateObjectObserver ()
0x000001c7d9ec466b (Mono JIT Code) [ObjectSearch.cs:46] ObjectSearch/<Start>d__0:MoveNext ()
0x000001c7ddd8b392 (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object)
0x000001c7cc759486 (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001c7cc758f7b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001c7ddd8b1fb (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
0x000001c7ddd8b80a (Mono JIT Code) System.Threading.Tasks.AwaitTaskContinuation:InvokeAction (object)
0x000001c7d9ecf69e (Mono JIT Code) System.Threading.Tasks.AwaitTaskContinuation:RunCallback (System.Threading.ContextCallback,object,System.Threading.Tasks.Task&)
0x000001c7d9ecf4cb (Mono JIT Code) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run (System.Threading.Tasks.Task,bool)
0x000001c7cdae7124 (Mono JIT Code) System.Threading.Tasks.Task:FinishContinuations ()
0x000001c7cdae6d43 (Mono JIT Code) System.Threading.Tasks.Task:FinishStageThree ()
0x000001c7ddd8b6b3 (Mono JIT Code) System.Threading.Tasks.Task`1<Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus>:TrySetResult (Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus)
0x000001c7ddd8b53b (Mono JIT Code) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus>:SetResult (Microsoft.Azure.ObjectAnchors.ObjectObserverAccessStatus)
0x000001c7d9ec6b13 (Mono JIT Code) [Microsoft.Azure.ObjectAnchorsBridge_Editor.cs:1900] Microsoft.Azure.ObjectAnchors.ObjectObserver/<RequestAccessAsync>d__5:MoveNext ()
0x000001c7ddd8b392 (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object)
0x000001c7cc759486 (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001c7cc758f7b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000001c7ddd8b1fb (Mono JIT Code) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
0x000001c7ddd8b0aa (Mono JIT Code) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c:<.cctor>b__7_0 (object)
0x000001c7ddd8afb1 (Mono JIT Code) UnityEngine.UnitySynchronizationContext/WorkRequest:Invoke ()
0x000001c7d9eccffb (Mono JIT Code) UnityEngine.UnitySynchronizationContext:Exec ()
0x000001c7d9ecccfb (Mono JIT Code) UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
0x000001c7486308ad (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007fff9b71f1e0 (mono-2.0-bdwgc) [mini-runtime.c:2849] mono_jit_runtime_invoke
0x00007fff9b6a2ac2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007fff9b6abb1f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007ff71e75d7f4 (Unity) scripting_method_invoke
0x00007ff71e758ad1 (Unity) ScriptingInvocation::Invoke
0x00007ff71e7528c5 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff71da2ea8b (Unity) Scripting::UnityEngine::UnitySynchronizationContextProxy::ExecuteTasks
0x00007ff71e4955f6 (Unity) `InitPlayerLoopCallbacks'::`2'::UpdateScriptRunDelayedTasksRegistrator::Forward
0x00007ff71e47cc4c (Unity) ExecutePlayerLoop
0x00007ff71e47cd23 (Unity) ExecutePlayerLoop
0x00007ff71e4837c9 (Unity) PlayerLoop
0x00007ff71f141151 (Unity) PlayerLoopController::UpdateScene
0x00007ff71f13f3d9 (Unity) Application::TickTimer
0x00007ff71f5859a1 (Unity) MainMessageLoop
0x00007ff71f5899f1 (Unity) WinMain
0x00007ff720c195ce (Unity) __scrt_common_main_seh
0x00007ff8316c7034 (KERNEL32) BaseThreadInitThunk
0x00007ff833122651 (ntdll) RtlUserThreadStart

As for my configuration, I am using OpenXR Plugin 1.3.1 and Mixed Reality OpenXR Plugin 1.3.1. Default settings for Holographic Remoting with the IP of the HoloLens 2 set. I am not quite sure what you mean about the player app version number?

Thanks, with those details I was able to reproduce the crash locally and I fully understand the problem. Unfortunately, Azure Object Anchors only supports Holographic App Remoting with the Windows Mixed Reality XR plugin at this time. We will investigate adding support for the OpenXR XR plugin as well.

I opened #25 to track adding support for OpenXR Remoting in Unity. We'll use this issue to fix the crash so instead you'll just get a clear error message in the Console stating that AOA isn't supported in the current configuration.

@dfields-msft thank you!

To clarify, when you say that Azure Object Anchors only supports Holographic App Remoting with the Windows Mixed Reality XR plugin, does that mean that it should work when Windows Mixed Reality is chosen instead of OpenXR in XR Plug-In Management, and that Windows XR Plugin Remoting is used instead of Holographic Remoting for Play Mode?
I don't know if some update of HoloLens 2 broke anything, but I am not able to get Windows XR Plugin Remoting working for any project anymore. The HL2 is stuck on showing "Receiving..." after connecting. So not an issue with AOA, but if this is indeed a problem for all HL2 users with the latest update, remoting is currently not possible regardless of configuration.

Yes, that's correct - glad that you managed to get it working.
I have also noticed some challenges getting the connection established with recent versions of Unity. The reliable path seems to be to manually Connect and enter Play Mode once right after launching the editor; after that, "Connect on play" should work for the remainder of the session. This issue is not unique to using AOA and I'm following up with our Unity integration folks to try to resolve the problem.

By the way, as far as AOA Remoting support goes, there are a couple of caveats - specifically, features which require camera access do currently not work with Remoting. This includes "Active Observation Mode" and "High Accuracy High Latency" tracking mode. However, basic object detection and tracking should work well in the Editor. We may add support for camera-dependent modes in the future; please file a feature request if this is something that would be valuable for your workflow.

Thanks for the tips about getting the connection to work. Strangely enough, I am only able to get holographic remoting work once per session. It will work once when the Unity project is opened up, but to get it to work again I have to close the project and reload it.
Also, I am not able to get any object detection to work while remoting. I have placed my .ou-files such that the editor finds them and I am able to cycle through their meshes. The HL2 seems to be scanning the environment as it should, but it never detects any of the objects, even though I've decreased the coverage ratio slider down to 0.10. Could it have something to do with the input system after switching from OpenXR to Windows Mixed Reality?

Yeah, the Remoting configuration can unfortunately be a bit finnicky... 😕 Here's a configuration which works reliably for me (with the "connect manually before entering play mode the first time" caveat):

Unity version 2020.3.30f
ARFoundation version 4.1.9
WMR XR plugin version 4.6.2
Holographic Remoting Player app version 2.7.5

Plugin configuration:

Workflow:

Start Unity
Start player app on device
In Windows > XR > Windows XR Plugin Remoting, uncheck "Connect on play", and click "Connect"
Enter and exit Play Mode one time
Re-enable "Connect on play" checkbox
Enter and exit Play Mode as needed

Our Unity integration teams are working to improve this flow and make it more reliable; please direct general feedback on Remoting in Unity here:
https://github.com/microsoft/MixedRealityToolkit-Unity/issues
https://github.com/microsoft/MixedReality-HolographicRemoting-Samples/issues
Meanwhile, to get AOA Remoting fully working, you will need to add the Microsoft.Windows.MixedReality.DotNetWinRT package to your project as detailed here:
https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/features/tools/holographic-remoting?view=mrtkunity-2021-05#import-dotnetwinrt-into-the-project
Support for Remoting was added to the AOA SDK last fall, but depended on a few updates to the Unity XR plugin packages to work properly, which weren't publicly available at the time, so we haven't publicly documented the feature just yet. At this point, all the necessary dependencies are in place and I hope to publish updates to our samples and documentation to clarify the support for this functionality soon. Thanks for being an early adopter of this feature!

@dfields-msft Thank you very much for this detailed answer. I am now able to get the object tracking working in remote. I did not have the DotNetWinRT package installed before so maybe that was the culprit?
Only problem that remains is that the display starts flickering in the HL2 after a few seconds of remote video. This however is a more general issue. I am happy that I'll be able to continue my work :)

When the Windows XR Plugin Remoting is used, there is a note in the inspector that says "The editor uses player settings from the 'Standalone' platform for play mode [...]". Since this means that the editor is not running UWP, we encounter en error in the following snippet from https://docs.microsoft.com/en-us/azure/object-anchors/concepts/sdk-overview
#if WINDOWS_UWP
        SpatialCoordinateSystem worldOrigin = ObjectAnchorsWorldManager.WorldOrigin;
        if (worldOrigin != null)
        {
            coordinateSystem = await Task.Run(() => worldOrigin.TryToSpatialGraph());
        }
#endif

        if (!coordinateSystem.HasValue)
        {
            Debug.LogError("no coordinate system?");
            return;
        }

Is there any workaround to make use of another coordinate system while running remote?

Thank you again!
I believe there is only one thing remaining to fully apply the runtime SDK basics with remoting. The following code
using Microsoft.Azure.ObjectAnchors;

var InstanceChangedHandler = new Windows.Foundation.TypedEventHandler<ObjectInstance, ObjectInstanceChangedEventArgs>((sender, args) =>
{
    // Try to query the current instance state.
    ObjectInstanceState? state = sender.TryGetCurrentState();

    if (state.HasValue)
    {
        // Process latest state via state.Value.
        // An object pose includes scale, rotation and translation, applied in
        // the same order to the object model in the centered coordinate system.
    }
    else
    {
        // This object instance is lost for tracking, and will never be recovered.
        // The caller can detach the Changed event handler from this instance
        // and dispose it.
        sender.Dispose();
    }
});

makes use of Windows.Foundation.TypedEventHandler which is part of UWP, and can't be run through the editor. Is there any way of substituting this to something else? On the other hand, in the sample project, there is no reference to an InstanceChangedHandler or any TypedEventHandler so maybe I could ignore this part in my project?

As of the recent 0.23.0 release, all known issues* with Remoting are resolved, and documentation and samples have been updated to reflect this. See: https://docs.microsoft.com/en-us/azure/object-anchors/quickstarts/unity-remoting
Please let us know if you encounter any additional challenges using Remoting with Azure Object Anchors!
* OpenXR support is still pending per #25.


C++ east task - temperature converter

Description
Made a simple temperature converter in C++. takes in temperature in Celsius (double value) and converts it to Fahrenheit (double value).
Additional Context

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Library won't load, and can't upload.

When I open steamgriddb, I get an infinite loading circle in the library tab.  When I go to the import tab, I can see games there but when I click import nothing happens.

What does your log file say? Its usually located in %APPDATA%\Electron\log.log

What does your log file say? Its usually located in %APPDATA%\Electron\log.log

I Have the same issue... I pass the logs of this similar problem (Don't load library, but i can import games)
i have the version 0.4.2 ( my logs were in %APPDATA%\steamgriddb-manager on Windows 10 1909 (if you wanted or replay to this i can open another issue or we can use this thread)
LOG:
[2021-06-30 20:45:43.639] [info] Started SGDB Manager 0.4.2
[2021-06-30 20:45:44.733] [info] Got Steam path: c:/program files (x86)/steam
[2021-06-30 20:45:44.743] [info] Got Steam user: 81978887
[2021-06-30 20:45:44.755] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
at Function.keys ()
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
[2021-06-30 20:47:06.575] [info] Import: Started bnet
[2021-06-30 20:47:06.633] [info] Import: Completed bnet
[2021-06-30 20:47:06.634] [info] Import: Started gog
[2021-06-30 20:47:06.825] [info] Import: Completed gog
[2021-06-30 20:47:06.826] [info] Import: Started origin
[2021-06-30 20:47:08.062] [info] Import: Completed origin
[2021-06-30 20:47:08.063] [info] Import: Started uplay
[2021-06-30 20:47:08.279] [info] Import: uplay rejected Error: Could not parse YAML
[2021-06-30 20:47:17.173] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
at Function.keys ()
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
[2021-06-30 20:47:32.582] [info] Import: Started bnet
[2021-06-30 20:47:32.638] [info] Import: Completed bnet
[2021-06-30 20:47:32.639] [info] Import: Started gog
[2021-06-30 20:47:32.828] [info] Import: Completed gog
[2021-06-30 20:47:32.829] [info] Import: Started origin
[2021-06-30 20:47:33.891] [info] Import: Completed origin
[2021-06-30 20:47:33.892] [info] Import: Started uplay
[2021-06-30 20:47:34.111] [info] Import: uplay rejected Error: Could not parse YAML
[2021-06-30 20:47:51.452] [error] UnhandledRejection Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\81978887\config\grid\4087771444.png' -> 'c:\program files (x86)\steam\userdata\81978887\config\grid\17556844665536249856.png'
at Object.symlinkSync (fs.js:935:3)
at Function.lnf [as sync] (C:\Users\JuanitoCancino\AppData\Local\Programs\SteamGridDB Manager\resources\app.asar\node_modules\lnf\lib\index.js:63:20)
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:71361
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async Promise.all (index 0)
[2021-06-30 20:47:56.369] [error] UnhandledRejection Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\81978887\config\grid\2914514722.jpg' -> 'c:\program files (x86)\steam\userdata\81978887\config\grid\12517745414734086144.jpg'
at Object.symlinkSync (fs.js:935:3)
at Function.lnf [as sync] (C:\Users\JuanitoCancino\AppData\Local\Programs\SteamGridDB Manager\resources\app.asar\node_modules\lnf\lib\index.js:63:20)
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:71361
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async Promise.all (index 0)
[2021-06-30 20:48:06.208] [error] UnhandledRejection Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\81978887\config\grid\3891692453.png' -> 'c:\program files (x86)\steam\userdata\81978887\config\grid\16714691811758571520.png'
at Object.symlinkSync (fs.js:935:3)
at Function.lnf [as sync] (C:\Users\JuanitoCancino\AppData\Local\Programs\SteamGridDB Manager\resources\app.asar\node_modules\lnf\lib\index.js:63:20)
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:71361
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async Promise.all (index 0)
[2021-06-30 20:48:07.477] [error] UnhandledRejection Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\81978887\config\grid\2493392554.png' -> 'c:\program files (x86)\steam\userdata\81978887\config\grid\10709039475553468416.png'
at Object.symlinkSync (fs.js:935:3)
at Function.lnf [as sync] (C:\Users\JuanitoCancino\AppData\Local\Programs\SteamGridDB Manager\resources\app.asar\node_modules\lnf\lib\index.js:63:20)
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:71361
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async Promise.all (index 0)
[2021-06-30 20:48:10.605] [error] UnhandledRejection Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\81978887\config\grid\2503083641.png' -> 'c:\program files (x86)\steam\userdata\81978887\config\grid\10750662377281159168.png'
at Object.symlinkSync (fs.js:935:3)
at Function.lnf [as sync] (C:\Users\JuanitoCancino\AppData\Local\Programs\SteamGridDB Manager\resources\app.asar\node_modules\lnf\lib\index.js:63:20)
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:71361
at processTicksAndRejections (internal/process/task_queues.js:89:5)
at async Promise.all (index 0)
[2021-06-30 20:48:12.441] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
at Function.keys ()
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
[2021-06-30 20:52:06.632] [info] Started SGDB Manager 0.4.2
[2021-06-30 20:52:07.562] [info] Got Steam path: c:/program files (x86)/steam
[2021-06-30 20:52:07.573] [info] Got Steam user: 81978887
[2021-06-30 20:52:07.584] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
at Function.keys ()
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356
[2021-06-30 21:49:20.489] [info] Started SGDB Manager 0.4.2
[2021-06-30 21:49:21.551] [info] Got Steam path: c:/program files (x86)/steam
[2021-06-30 21:49:21.561] [info] Got Steam user: 81978887
[2021-06-30 21:49:21.566] [error] UnhandledRejection TypeError: Cannot convert undefined or null to object
at Function.keys ()
at file:///C:/Users/JuanitoCancino/AppData/Local/Programs/SteamGridDB%20Manager/resources/app.asar/public/bundle.js:70:41356

you have two errors in there
the [2021-06-30 20:47:34.111] [info] Import: uplay rejected Error: Could not parse YAML is same as https://github.com/SteamGridDB/steamgriddb-manager/issues/99
and [2021-06-30 20:48:06.208] [error] UnhandledRejection Error: EPERM: operation not permitted, symlink 'c:\program files (x86)\steam\userdata\81978887\config\grid\3891692453.png' -> 'c:\program files (x86)\steam\userdata\81978887\config\grid\16714691811758571520.png' is this https://github.com/SteamGridDB/steamgriddb-manager/issues/99#issuecomment-767124567


Add button to switch between Light/Dark mode

Version: 0.3.6
Add Dark theme and Light/Dark mode button to switch between Light and Dark theme

Using PuertoRico FMX style for light one and Nero FMX style for dark.
Choice currently is not persisted, always starting with default theme (the light one)
Eventually may also add StyleStoryItem/ThemeStoryItem to host .style files inside a Story (will override initially user setting, but they'd be able to click the button to switch between the default 2 themes again (or reload the story to load the one embedded in there - could even change themes as ActiveStoryItems become active [see if they have a ThemeStoryItem child)

not autodetecting system's Dark mode yet, only switching manually - also not remembering which you set, keeps loading with the Light Theme by default - in the future it will use the system's setting at the point of launching the app as the default, won't remember what you set in the app [that is it won't override the system setting], but you will be able to still switch to other theme(s)


About the backbone pretrained weights from facebookresearch/VMZ

I follow the instruction to download the backbone files in _https://github.com/facebookresearch/VMZ/blob/main/c2/tutorials/model_zoo.md_, but the snapshot file of this site is '.pkl' file and your weights path in config/model/backbone/irCSN152.yaml is a '.pth' file,
then:
Traceback (most recent call last):

  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/main.py", line 51, in main
    model = SaliencyModel(cfg)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/experiments/saliency.py", line 24, in __init__
    self.model = build_network(hparams.model)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/utils/construct.py", line 44, in build_network
    return retrieve("network", cfg.name)(cfg)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/network/segmentation/encoder_decoder.py", line 17, in __init__
    backbone = build_backbone(cfg.backbone)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/utils/construct.py", line 62, in build_backbone
    load_weights(
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/utils/util.py", line 144, in load_weights
    state_dict = torch.load(weights_path, map_location="cpu", encoding="utf-8")
  File "/home/wilson/anaconda3/envs/d2conv3d/lib/python3.8/site-packages/torch/serialization.py", line 713, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/home/wilson/anaconda3/envs/d2conv3d/lib/python3.8/site-packages/torch/serialization.py", line 920, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xde in position 0: invalid continuation byte

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

and I have tried to revise the line 84 in utils/util.py:
state_dict = torch.load(weights_path, map_location="cpu")
to
state_dict = torch.load(weights_path, map_location="cpu",, encoding="latin1")

something wrong:
Traceback (most recent call last):
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/main.py", line 51, in main
    model = SaliencyModel(cfg)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/experiments/saliency.py", line 24, in __init__
    self.model = build_network(hparams.model)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/utils/construct.py", line 44, in build_network
    return retrieve("network", cfg.name)(cfg)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/network/segmentation/encoder_decoder.py", line 17, in __init__
    backbone = build_backbone(cfg.backbone)
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/utils/construct.py", line 62, in build_backbone
    load_weights(
  File "/media/wilson/SD_Data/DE/video_shadow/d2conv3d-main/utils/util.py", line 144, in load_weights
    state_dict = torch.load(weights_path, map_location="cpu", encoding="latin1")
  File "/home/wilson/anaconda3/envs/d2conv3d/lib/python3.8/site-packages/torch/serialization.py", line 713, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/home/wilson/anaconda3/envs/d2conv3d/lib/python3.8/site-packages/torch/serialization.py", line 922, in _legacy_load
    raise RuntimeError("Invalid magic number; corrupt file?")
RuntimeError: Invalid magic number; corrupt file?

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

It seems can be only read by
with open(weights_path, "rb") as f:
    caffe2_checkpoint = pickle.load(f, encoding="latin1")

How can I use this '.pkl' file?

Hey, thank you for pointing out this issue!
The weights have to be converted to pytorch's format. I uploaded a script that you can use for this, e.g. after downloading the irCSN152-sports1m-pretrained model:
python convert_csn_weights.py irCSN_152_ft_kinetics_from_sports1m_f101599884.pkl resnet152_csn_ir

The arguments to the script are

The path to the backbone weights
The architecture of the backbone (the script supports resnet50_csn_ir, resnet152_csn_ir, and resnet152_csn_ip).

The script will issue warnings about the batchnorm epsilon, which is set to 1e-3 for these models. Pytorch uses 1e-5 by default, and does not save this parameter to the state dict, so it needs to be set each time the model is used. The example configurations in this code base do this (by setting the model.backbone.norm_layer_eps parameter), and it is critical to set if you're using frozen batchnorm.
Hope this helps!

邮件已收到，感谢您的来信，我将尽快给您回复。魏后胜I have received your email. Thank you for your letter. I will reply to you as soon as possible.Housheng Wei


python312Packages.b2sdk: 2.5.1 -> 2.6.0; backblaze-b2: 4.0.1 -> 4.2.0

Diff: https://github.com/Backblaze/b2-sdk-python/compare/refs/tags/v2.5.1...v2.6.0
Changelog: https://github.com/Backblaze/b2-sdk-python/blob/v2.6.0/CHANGELOG.md
Diff: https://github.com/Backblaze/B2_Command_Line_Tool/compare/refs/tags/v4.0.1...v4.2.0
Changelog: https://github.com/Backblaze/B2_Command_Line_Tool/blob/v4.2.0/CHANGELOG.md

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[x] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355202

x86_64-linux

:white_check_mark: 6 packages built:

backblaze-b2
deja-dup
duplicity
duply
python311Packages.b2sdk
python312Packages.b2sdk

aarch64-linux

:white_check_mark: 6 packages built:

backblaze-b2
deja-dup
duplicity
duply
python311Packages.b2sdk
python312Packages.b2sdk

x86_64-darwin

:x: 2 packages failed to build:

duplicity
duply

:white_check_mark: 3 packages built:

backblaze-b2
python311Packages.b2sdk
python312Packages.b2sdk

aarch64-darwin

:white_check_mark: 5 packages built:

backblaze-b2
duplicity
duply
python311Packages.b2sdk
python312Packages.b2sdk


Actually fix notranslate ltr direction

Short description

We discovered that #2873 fixed only the in-editor representation on CMS side, not on the app side. This is because we employed CSS to do that, which only applied on CMS side. We currently don't have any CSS we serve to be injected wherever HTML is embedded on the app side.
Proposed changes

Make notranslate button and telephone numbers render notranslate spans with dir="ltr" attribute
Add normalization to clean_content() for page translations to ensure all notranslate spans have

the notranslate class
the translate="no" attribute
the dir="ltr" attribute

Side effects

If we have rtl languages as source language in the future, this will need more complex logic to dynamically adjust and work the other way around
We have to fix all currently online page translations once

Resolved issues

Fixes: #2854

Pull Request Review Guidelines

From the discussion in MM I gathered that this does not fix the DeepL related bug though, right?

I seems the DeepL bug with moving spans marked with translate="no" is entirely unrelated to and unaffected by the presence or absence of dir="ltr"

Does it still make sense to merge?

I'm wondering about the same thing :)

I feel like there is some confusion about what this PR does and what problems exist outside of that, so I'll do a brain dump of my understanding.

There is a rendering/layouting issue with multi-word content in spans marked with translate="no" wherever the source language is left to right but the target language is right to left.
This is an oversight on our part and not an issue in browsers or anything, because the browser has no reason to care about translate="no", it doesn't translate anything, this is just another span that gets rendered, and we told it that this language is right to left and all inline elements should be layouted that way.

This PR addresses this problem, telling the browser that these spans should always be layouted left to right.

There is a bug in DeepL when translating HTML content. Elements can be marked with translate="no" to convey to DeepL that this content should be kept as is, but apparently sometimes the element gets put at the very start of the sentence or paragraph, not in a place that makes sense and retains the meaning.
This appears to be different between languages and I suspect has to be trained into the translation models for every language separately, which leads me to expect that this will not be a "quick fix" for DeepL.
Example

This is not addressed by this PR and does not influence the effectiveness of this PR.

Does it still make sense to merge?

So that's my impression of the situation, and if it is a sufficiently close approximation of reality, then yes, it does make sense to merge. However, in the process of the confusion and discussions on Mattermost we kind of established that there are larger problems with DeepL that likely won't be fixed that quickly and that we cannot do anything about ourselves.


New Berry Bush Branch

I got this exception. I can't figure out how to reliably reproduce it but it happens like 1/5 times you try to pick a berry while running between the 2 closest berry plants.

Seems to be working, good job!


Cannot talk to myself

Testing multiplayer locally I am unable to get the server and client to talk to eachother at all? No error messages or anything, it just doesnt seem to happen?
I'm using a single blueprint and a "switch has authority" node to have one add a server component and the other add a client component

One client needs the server component and the other should use the client component. Client should connect to server IP and port

The issue is dynamically spawning these after launch, they need to exist in the world on startup, they cannot or will not always, unsure, wrap later.


Add sentiment analysis

Three years ago, I did this using Python and R programming languages. You can find it on GitHub at the following link:
https://github.com/altunenes/EksiKelime
While I don't plan on updating or committing to this project using Python or R, we could consider using the same technique and reimplementing it in Rust.

with 1.0.7 rustysozluk has this features.


Option mount_point_mode must be a kind of [String]!  You passed 493..

I'm not using the aws_ebs_raid resource, but I'm seeing this warning in log:
[2016-02-13T01:57:46+00:00] WARN: Default value 493 is invalid for property mount_point_mode of resource aws_ebs_raid. In Chef 13 this will become an error: Option mount_point_mode must be a kind of [String]!  You passed 493.. at /var/chef/cache/cookbooks/aws/resources/ebs_raid.rb:28:in `class_from_file' at /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/event_dispatch/dispatcher.rb:43:in `call'

Using Chef 12.7.2 here.

Same thing here, not sure what it is.

I resolved the warning in my systems by adding quotes around the 00755 value at https://github.com/chef-cookbooks/aws/blob/master/resources/ebs_raid.rb#L28

:+1: Yes, please fix.

Fixed with @gpurrenhage's suggested change. The improved validation in Chef 12.7.X is throwing the error as expected here


AWS C++ application Link error with windows header files

Hi,
I have compiled aws c++ SDK successfuly.
I have an application which will access the s3 storage creating bucket,getobject etc., compiled and working well n fine.
But when i add any windows header (#include<Windows.h>/ #include <winsock2.h>), Its showing the
following Link error,
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2001	unresolved external symbol "public: virtual class Aws::Utils::Outcome<class Aws::S3::Model::GetObjectResult,class Aws::Client::AWSError > __cdecl Aws::S3::S3Client::GetObjectW(class Aws::S3::Model::GetObjectRequest const &)const " (?GetObjectW@S3Client@S3@Aws@@UEBA?AV?$Outcome@VGetObjectResult@Model@S3@Aws@@V?$AWSError@W4S3Errors@S3@Aws@@@Client@4@@Utils@3@AEBVGetObjectRequest@Model@23@@Z)	aws2	C:\Users\nandang\Documents\Visual Studio 2015\Projects\aws2\aws2\aws2.obj	1
Note: If i remove the windows headers, it builds successfully.
I need to use CreateThread and socket API's in my application.
Please suggest!!

windows header has some #define entries such as GetObject that need to be #undef d. As for CreateThread, why not just use std::thread?
Sent from my iPhone

On Jan 27, 2017, at 6:13 AM, N1N<EMAIL_ADDRESS>wrote:
Hi,
I have compiled aws c++ SDK successfuly.
I have an application which will access the s3 storage creating bucket,getobject etc., compiled and working well n fine.
But when i add any windows header (#include<Windows.h>/ #include <winsock2.h>), Its showing the
following Link error,
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2001	unresolved external symbol "public: virtual class Aws::Utils::Outcome<class Aws::S3::Model::GetObjectResult,class Aws::Client::AWSError > __cdecl Aws::S3::S3Client::GetObjectW(class Aws::S3::Model::GetObjectRequest const &)const " (?GetObjectW@S3Client@S3@Aws@@UEBA?AV?$Outcome@VGetObjectResult@Model@S3@Aws@@V?$AWSError@W4S3Errors@S3@Aws@@@Client@4@@Utils@3@AEBVGetObjectRequest@Model@23@@Z)	aws2	C:\Users\nandang\Documents\Visual Studio 2015\Projects\aws2\aws2\aws2.obj	1
Note: If i remove the windows headers, it builds successfully.
I need to use CreateThread and socket API's in my application.
Please suggest!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I would also advise partitioning your platform-specific code from the platform-agnostic code if possible.

@JonathanHenson @bretambrose Thank you! It worked!! Also i'll try with std::thread.


[slack] Link-unfurl event

What changes were proposed in this pull request?

Initial attempt for Link-Unfurl for demo.gethue.com URLs
Preview template: Customised Preview

Current Status: Following error is occurring

After looking into this and testing the api call with a minimal text payload too( still failed and this error occurred again), it looks like we are taking more time in processing the events( More than 3 seconds which is the Slack Timeout Limit ).
Therefore, when we receive slack event we need to quickly acknowledge(status=200) and process the events asynchronously or simply using a task queue and respond the payload back.
Looks like we need to use Celery to process our events @romainr ??

First, what is so slow in the call? (do you see the 3s in the logs, also should be unrelated to the logic in the current views, more a block from the slack still as the logic should be fast or just sending back text should not take time)
And before testing on demo.gethue seems like you do not test via your local dev Hue?

First, what is so slow in the call? (do you see the 3s in the logs, also should be unrelated to the logic in the current views, more a block from the slack still as the logic should be fast or just sending back text should not take time)
And before testing on demo.gethue seems like you do not test via your local dev Hue?

Successful in debugging this error @romainr.
It turns out that we were not exceeding the Slack Timeout Limit of 3s and we wont be needing Celery.
My bad, I was not making the payload correctly which was not unfurling in the link. So, our logic is correct and it is sending back the payload in time, there was a small payload error.
Also, I am testing via my local dev Hue only. The only difference is that since this changes are not live yet, I am only changing the editor id in the https://demo.gethue.com/hue/editor?editor=<my_local_query_id>, this extracts my local document and unfurls the link in slack but when we click on the preview link it wont show on demo.gethue as my local document is not on demo.gethue.

Initial link-unfurl @romainr!

Requiring Celery to unfurl a link made my day :)

Requiring Celery to unfurl a link made my day :)

That was my bad, sorry for it haha but after your comment on the error, had another debug session and got hold of that error!


review tool, generator Go modules, updates from k8s/website

When updating or pulling in this repository as a sub-module from the k8s/website repository, I noticed that
most or all of this repository's content (tool source code, theme, other files) is copied.
I'd rather not pull down the theme, but limit the update to the source in the tool/generator directories.
Investigate the generator tools and how the Go libraries are packaged for reuse in the k8s website.

/assign


Need to manually set Dash  = "0.1.3, 1.0" in the Project.toml after npm run build

as done post https://github.com/plotly/dash/pull/1804, but as of today (2021/12/09) hasn't been released yet.

as done in bc737489b4907a0f32c84fdcd03b259e03c3334e
At first I thought, we would get a new dash.py release soon-ish so I didn't think a post-build step was needed, but now 1 month after bc737489b4907a0f32c84fdcd03b259e03c3334e, maybe we'll need one.
cc https://github.com/etpinard/dash-textarea-autocomplete/pull/10

Reopening. Let's keep this as a placeholder until the next dash.py version.

Once the next version of https://github.com/plotly/dash is released, we'll be able to remove this line:
https://github.com/etpinard/dash-textarea-autocomplete/blob/1a69c434ab5985a4938ca6d0a5da284c8628c046/postbuild_fixups.sh#L20


Nexus IQ scanning alerted medium vulnerability for 992213-GO (Go) Security Update for golang.org/x/net (GHSA-vvpx-j8f3-3w6h)

We are using Splunk Otel Agent v0.70.0 for AKS and GKE. Nexus IQ scanning alerted medium vulnerability for 992213-GO (Go) Security Update for golang.org/x/net (GHSA-vvpx-j8f3-3w6h) and affected version is < 0.7.0
Description: A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of small requests
Env: Splunk Observability Cloud
Cloud Provider: AKS and GKE
Splunk Helm : v0.63.0 and noticed in latest v0.70.0
CVE Details: CVE-2022-41723
Affected Packages: GO-2023-1571 - Go Packages
Please do let me know for additional details and advice on availability of patched version of Splunk Helm
Appreciate your timely help.

Thanks @kumachop2.  golang/x/net was updated to v0.7.0 in #2594 and released in collector v0.71.0 earlier this week.

This is now fixed with 0.71.0. Closing.