Themes: Make it easy to create beautiful plots with hvPlot

Currently there is no easy (i.e. one-line of code) to make your hvPlot beautiful.
And (in my opinion) the existing theme has not been attractive for a decade. The colors, fonts and other details needs a modernization. I believe the lots of users will drop a plotting library if they cannot easily create great looking plots.

I would like a oneliner that can see the theme used for hvPlot.
.set_theme("made_up")

In my dream world the same theme made_up theme would work across backends and across hvplot, HoloViews and Panel.
I believe especially having a beautiful theme for Matplotlib+Bokeh backends in light + dark mode would be really, really valuable. As there are already many Matplotlib themes out there it might be possible to convert one of these to a Bokeh theme. The existing bokeh themes are ugly - don't use them.
I would also like the ability to specify one accent color similarly to the Fast templates, potentially a color palette and font to enable users to easily use their organizations style. For private fonts I would need to the ability to refererence a css style sheet in hvPlot.
Personally I would like this for work and my private life - for example whenever I demo hvPlot and HoloViews and try to communicate how powerful it is. Its just difficult because you cannot get over the initial hurdle of the output not looking awesome by default. People just don't see the rest.
A simple minimal solution might to be Gallery notebook examples of how to style each backend.
While we are at it the Bokeh default tool should also be changed to zoom. I see users being confused all the time because it is not the default. And double-click should zoom out. And there is no need to display hover tool icons. This would all significantly improve the user experience.

There is some discussion with useful information here. But you can see how painful it is and how you have to use Panel to get an end to end solution supporting custom fonts.
https://discourse.holoviz.org/t/how-do-i-use-custom-font-in-holoviews/303/11

For example I can easily change the color map for bar charts. But the hover color and color user for the selected tools is still blue.
It does not look appealing and as something you would present to any other than you self and your data colleagues.

Being able to easily select a better theme including a few variables like font, accent color and color map would make a world of a difference.
We have that for the Panel FastListTemplate. Must be possible to carve out.

And (in my opinion) the existing theme has not been attractive for a decade.

I assume you're talking about Bokeh since hvPlot is only a few years old. Did you open a feature request on Bokeh's Github to improve its theme? That would benefit a lot of people, not just hvPlot's users.

Its just difficult because you cannot get over the initial hurdle of the output not looking awesome by default. People just don't see the rest.

That is not really the experience I've got. For instance, Matplotib plots aren't particularly beautiful by default, yet there's millions of Matplotlib plots out there.
I think the source of your tension using hvPlot is that you are using it just to make beautiful plots. I think hvPlot and HoloViews should be improved to make plots that are more beautiful and publication-ready, and that the documentation should be improved to show how to do that. But what they excel at is data exploration, which is the step in a data analysis workflow where you're trying to understand the data and should not (really, you should not) focus on how things look, as it can only distract you from your goal.
@jlstevens is there a way in HoloViews to define themes?

For the most part, HoloViews simply exposes whatever theming support exists in the plotting backend. For instance, Bokeh plots can have bokeh themes applied.
Of course, HoloViews has some of its own defaults that can be overridden as desired - if you wanted to you could collect yours preferences together and override some global style/plotting options. As a whole, we haven't really done this much though, but of course if someone were to make a nice alternative theme, we would be very happy to consider making it available to everyone!

Its actually not the theme.
It requires css as well for which i dont know a mechanism to inject.
And i believe it should be possible to quickly share the resultat of exploration in a nice looking and functioning way with colleges, managers and other stakeholders.
Furthermore we also need the web site to be nice looking to appeal to users. And the same when used in blogs, social media and when answering users on discourse.
Right now the web site reference examples looks like exploration. There is no easy way to get to an end result.


LLVM12 - llvmtools build breaks as libcxx

Building llvmtools with llvm-12.0.0 on a glibc host .... Build fails.
[ 70%] Building CXX object src/CMakeFiles/cxx_shared.dir/charconv.cpp.o                  [139/1822]
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:    /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:321:9: error: no member named 'signbit' in the global namespace; did you mean '__signbit'?
using ::signbit;
      ~~^~~~~~~
        __signbit
/llvmtools/include/math.h:93:5: note: '__signbit' declared here
int __signbit(double);
    ^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:322:9: error: no member named 'fpclassify' in the global namespace; did you mean '__fpclassify'?
using ::fpclassify;
      ~~^~~~~~~~~~
        __fpclassify
/llvmtools/include/math.h:51:5: note: '__fpclassify' declared here
int __fpclassify(double);
    ^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:323:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
      ~~^~~~~~~~
        finite
/llvmtools/include/math.h:401:13: note: 'finite' declared here
int         finite(double);
            ^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:324:9: error: no membe[106/1822]sinf' in the global namespace
using ::isinf;
      ~~^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:325:9: error: no member named 'isnan' in the global namespace
using ::isnan;
      ~~^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:326:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
      ~~^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:327:9: error: no member named 'isgreater' in the global namespace; did you mean '__isgreater'?
using ::isgreater;
      ~~^~~~~~~~~
        __isgreater
/llvmtools/include/math.h:118:1: note: '__isgreater' declared here
__ISREL_DEF(greater, >, double_t)
^
/llvmtools/include/math.h:105:21: note: expanded from macro '__ISREL_DEF'
static __inline int __is##rel(type __x, type __y) \
                    ^
<scratch space>:59:1: note: expanded from here
__isgreater
^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:328:9: error: no member named 'isgreaterequal' in the global namespace; did you mean '__isgreaterequal'?
using ::isgreaterequal;
      ~~^~~~~~~~~~~~~~
        __isgreaterequal
/llvmtools/include/math.h:121:1: note: '__isgreaterequal' declared here
__ISREL_DEF(greaterequal, >=, double_t)                                                   [72/1822]
^
/llvmtools/include/math.h:105:21: note: expanded from macro '__ISREL_DEF'
static __inline int __is##rel(type __x, type __y) \
                    ^
<scratch space>:62:1: note: expanded from here
__isgreaterequal
^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:329:9: error: no member named 'isless' in the global namespace; did you mean '__isless'?
using ::isless;
      ~~^~~~~~
        __isless
/llvmtools/include/math.h:109:1: note: '__isless' declared here
__ISREL_DEF(less, <, double_t)
^
/llvmtools/include/math.h:105:21: note: expanded from macro '__ISREL_DEF'
static __inline int __is##rel(type __x, type __y) \
                    ^
<scratch space>:50:1: note: expanded from here
__isless
^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:330:9: error: no member named 'islessequal' in the global namespace; did you mean '__islessequal'?
using ::islessequal;
      ~~^~~~~~~~~~~
        __islessequal
/llvmtools/include/math.h:112:1: note: '__islessequal' declared here
__ISREL_DEF(lessequal, <=, double_t)
^
/llvmtools/include/math.h:105:21: note: expanded from macro '__ISREL_DEF'                 [38/1822]
static __inline int __is##rel(type __x, type __y) \
                    ^
<scratch space>:53:1: note: expanded from here
__islessequal
^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:331:9: error: no member named 'islessgreater' in the global namespace; did you mean '__islessgreater'?
using ::islessgreater;
      ~~^~~~~~~~~~~~~
        __islessgreater
/llvmtools/include/math.h:115:1: note: '__islessgreater' declared here
__ISREL_DEF(lessgreater, !=, double_t)
^
/llvmtools/include/math.h:105:21: note: expanded from macro '__ISREL_DEF'
static __inline int __is##rel(type __x, type __y) \
                    ^
<scratch space>:56:1: note: expanded from here
__islessgreater
^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:332:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:333:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:339:9: error: no member named 'abs' in the global namespace; did you mean 'fabs'?
using ::abs;                                                                               [4/1822]
      ~~^~~
        fabs
/llvmtools/include/math.h:203:13: note: 'fabs' declared here
double      fabs(double);
            ^
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/src/charconv.cpp:9:
In file included from /mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/charconv:79:
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:644:26: error: no template named 'numeric_limits'
    bool _FloatBigger = (numeric_limits<_FloatT>::digits > numeric_limits<_IntT>::digits),
                         ^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:644:60: error: no template named 'numeric_limits'
    bool _FloatBigger = (numeric_limits<_FloatT>::digits > numeric_limits<_IntT>::digits),
                                                           ^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:645:18: error: no template named 'numeric_limits'
    int _Bits = (numeric_limits<_IntT>::digits - numeric_limits<_FloatT>::digits)>
                 ^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:645:50: error: no template named 'numeric_limits'
    int _Bits = (numeric_limits<_IntT>::digits - numeric_limits<_FloatT>::digits)>
                                                 ^
/mnt/cmlfs/sources/llvm/projects/libcxx/build/include/c++/v1/cmath:650:17: error: no template named 'numeric_limits'
  static_assert(numeric_limits<_FloatT>::radix == 2, "FloatT has incorrect radix");
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/CMakeFiles/cxx_shared.dir/build.make:128: src/CMakeFiles/cxx_shared.dir/charconv.cpp.o] Error 1
make[2]: Leaving directory '/mnt/cmlfs/sources/llvm/projects/libcxx/build'
make[1]: *** [CMakeFiles/Makefile2:533: src/CMakeFiles/cxx_shared.dir/all] Error 2
make[1]: Leaving directory '/mnt/cmlfs/sources/llvm/projects/libcxx/build'
make: *** [Makefile:130: all] Error 2
make: Leaving directory '/mnt/cmlfs/sources/llvm/projects/libcxx/build'

Conflict with libcxx's math header

I figured as such, but I haven't figured out what to change.

Removing this should fix this issue
        -DCMAKE_CXX_FLAGS="-I/llvmtools/include"
        -DCMAKE_C_FLAGS="-I/llvmtools/include"

but there are still one problems still appears because of not including linux API headers
/mnt/cmlfs/sources/llvm/projects/libcxx/src/atomic.cpp:19:10: fatal error: 'linux/futex.h' file not found
#include <linux/futex.h>
         ^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/CMakeFiles/cxx_static.dir/build.make:104: src/CMakeFiles/cxx_static.dir/atomic.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 72%] Building CXX object src/CMakeFiles/cxx_shared.dir/bind.cpp.o
/mnt/cmlfs/sources/llvm/projects/libcxx/src/atomic.cpp:19:10: fatal error: 'linux/futex.h' file not found
#include <linux/futex.h>
         ^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/CMakeFiles/cxx_shared.dir/build.make:104: src/CMakeFiles/cxx_shared.dir/atomic.cpp.o] Error 1

hmmmmm:
The build actually fails because of "#include <linux/futex.h>".
Musl does not have this header file and the build fails with a
missing header file error.

https://reviews.llvm.org/D76632

hmmmmm:
The build actually fails because of "#include <linux/futex.h>".
Musl does not have this header file and the build fails with a
missing header file error.

https://reviews.llvm.org/D76632

Its not from libc, but from linux headers

on LLVM11, it went further after patching src/atomic.cpp
[ 83%] Building CXX object src/CMakeFiles/cxx_shared.dir/filesystem/operations.cpp.o
/mnt/cmlfs/sources/llvm/projects/libcxx/src/filesystem/operations.cpp:29:10: fatal error: 'linux/version.h' file not found
#include <linux/version.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/CMakeFiles/cxx_shared.dir/build.make:531: src/CMakeFiles/cxx_shared.dir/filesystem/operations.cpp.o] Error 1
make[2]: Leaving directory '/mnt/cmlfs/sources/llvm/projects/libcxx/build'
make[1]: *** [CMakeFiles/Makefile2:408: src/CMakeFiles/cxx_shared.dir/all] Error 2
make[1]: Leaving directory '/mnt/cmlfs/sources/llvm/projects/libcxx/build'
make: *** [Makefile:130: all] Error 2
make: Leaving directory '/mnt/cmlfs/sources/llvm/projects/libcxx/build'

I also patched src/filesystem/operations.cpp and libcxx completes!
I will upload a patch soon

Got it

Using -isystem instead of -I
cmake -B build  \
      -DCMAKE_INSTALL_PREFIX=/llvmtools \
      -DLLVM_PATH="${LLVMSRC}" \
      -DLIBCXX_ENABLE_SHARED=ON \
      -DLIBCXX_ENABLE_STATIC=ON  \
      -DLIBCXX_HAS_MUSL_LIBC=ON \
      -DLIBCXX_USE_COMPILER_RT=ON \
      -DLIBCXX_CXX_ABI=libcxxabi \
      -DLIBCXX_CXX_ABI_INCLUDE_PATHS="/llvmtools/include" \
      -DLIBCXXABI_USE_LLVM_UNWINDER=ON \
      -DLIBCXX_CXX_ABI_LIBRARY_PATH=/llvmtools/lib \
      -DLIBCXX_INSTALL_HEADERS=ON \
      -DCMAKE_CXX_FLAGS="-isystem /llvmtools/include" \

OH! that better than patching the source. :+1:

Made the change with b88d11f
Thanks!


General Questions On LGSVL source code

Hello LGSVL Team, I have started working on the source code. If there are changes done how can we rebuild without using Unity Editor. If there are some files which need to be run where can we find them ?

You need Unity to build the code. Please follow our instructions here: https://www.lgsvlsimulator.com/docs/build-instructions/


Changing format for the section level as expected

What type of PR is this?
/kind documentation
[skip ci]
What does does this PR do / why we need it:
Changes the doc format as expected. After document title i.e level 0 we should use level 1.
Ref : https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/
Which issue(s) this PR fixes:
Fixes NA
How to test changes / Special notes to the reviewer:
👀

But anyways I can see this is unnecessarily changing the look and feel of doc.

We can ignore the warning https://github.com/openshift/odo/pull/3576#discussion_r454821493
/close


Change pull request template link to use new site

How has grep managed to fail me so much with this.


Release Proposal v0.4.3

Blow is a proposal for release notes:
Admission
Fix panic error when label is empty on Namespace (#447 @SSmallMonster )
Scheduler,LocalStorage,LocalDiskManager,Evictor
N/A
Other

Improve the docs style of README(#446 @windsonsea )
Update e2e test (#459 @FloatXD )
Add CHANGELOG (#461 @SSmallMonster )

If necessary, we can move this style guide of writing to hwameistor repo.

If necessary, we can move this style guide of writing to hwameistor repo.

Thanks for your suggestions, style guide of writing is good. I think this guidance document can be added.
@sun7927 What's your opinion ;-)


Add performing linter checks in pre-push hook

Unfortunately, client-side hooks are not copied when you clone a repository. Also, it looks like we can't use update server-side hook: https://github.com/orgs/community/discussions/23467#discussioncomment-3240468
So, I close the issue and leave lint checking in CI layer.


Routed network proxy_ndp error

Host: Ubuntu 22.04
lxd 5.13
lxd     git-57a5cc6  24804  latest/edge
When trying to add a routed Ipv6:
  eth1:
    ipv6.address: 2a0b:bbc0:xxxx::xxxx:xxxx
    nictype: routed
    parent: eno4
    type: nic

get:
Config parsing error: Failed to start device "eth1": Routed mode requires sysctl net.ipv6.conf.eno4.proxy_ndp=1
sysctl config:
/etc/sysctl.conf
net.ipv6.conf.default.autoconf=1
net.ipv6.conf.all.autoconf=1
net.ipv6.conf.eno4.autoconf=1
net.ipv6.conf.eno4.forwarding=1
net.ipv6.conf.all.proxy_ndp=1
net.ipv6.conf.eno4.proxy_ndp=1

Though config is activated in sysctl, it gets dectivated by itself and I need to run sysctl -p manually.
I am not sure whether it is nftables or netplan who is deactivating only this  particular config. My guess, netplan.
Is it an upstream bug?
Yet it affects LXD.

This will depend on how your system is configured. LXD won't automatically enable proxy_ndp on the parent interface as it can affect things outside of LXD. So it will be needed to figure out what is resetting it on your system and stop it.
This sort of query would be better suited to the support forum as its more about support with system configuration than a bug in LXD.


Constructing machines creates a duplicate board when completed

Description
So apparently when constructing a machine (only tested with chem dispenser and master so far) you get the boards back when you finish constructing the machine. This is probably already reported on but i figured i would drop one just in case....
Reproduction

start building a machine
put all components in
screwdrive to finish
machine finishes but gives you the board back
ummm.gif

Git bisect led me to commit c5552034012848457e008598a54540fb7726ed9e as the potential origin of this issue, which did not build, but the next commit cb2d2b426b32b05716b957f653f10434bce2e51 did, and that commit has this issue, whereas commit 3b763192b024ecebffa9850d986cd8b7584508b0 did not. As of this writing, master at commit a0eb543176327ccaab9bbf50714c724dcc3508e6 no longer has this issue, and the earliest commit before that which I can find that builds which has this issue is 0048dc59197ef27fb0443a7837818449c45e9122.
@metalgearsloth  Was this due to the container tweaks performed in RobustToolbox? It seems they've been reverted recently.

this was fixed, probably with the various container bugfixes.


Feat: Udemy Scraper

Describe the feature
Adding Scraper of Udemy:

Scrape various courses from udemy
Scrape data from a specific course
Return JSON data

Add ScreenShots
Scrape data by searching:

Scrape data if a specific selected course like Course Content, Sections, etc

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC 23 contributor
[X] I want to work on this issue

Go ahead @prathameshParadkar
Note

Create a separate module for this, as per the folder and project structure
Work on one method at first, like a method to fetch the top courses of each category.
User will provide the keyword as a constructor to the class and then call a method on it to return the data


improvment showSaveDialog

Looks good now. Thanks!
Could you squash commits into one? For example, use this command:
git rebase -i HEAD~4

(leave pick for the first commit, and f/fixup/s/squash for others)


Deploy your app to Fiori Launchpad

Hi,
Appears there are steps missing between the first course and this course. I did figure out some of the missing steps. I am still unable to import the App into the WEB IDE (Full Stack) as I get the following error: "The application does not have an active version".  Additional direction would be appreciated.
Thanks!

You must first deploy you application to the SAP Cloud Platform. Make sure when doing so to check that it is activated.

After deploying to the SAP Cloud Platform, you can register the app to the Fiori Launchpad.

Hi Meredith,

From: Meredith Hassett<EMAIL_ADDRESS>Sent: Monday, August 6, 2018 7:26 PM
To: SAPDocuments/Tutorials
Cc: romer9; Author
Subject: Re: [SAPDocuments/Tutorials] Deploy your app to Fiori Launchpad (#2492)
You must first deploy you application to the SAP Cloud Platform. Make sure when doing so to check that it is activated.
[image]https://user-images.githubusercontent.com/1703983/43745760-604802aa-9995-11e8-80ff-7f0af5fcc1c2.png
[https://user-images.githubusercontent.com/1703983/43745760-604802aa-9995-11e8-80ff-7f0af5fcc1c2.png]
After deploying to the SAP Cloud Platform, you can register the app to the Fiori Launchpad.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/2492#issuecomment-410884185, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AoGQ-noq9PdexaepXQ8xAeJYXpoHQYIAks5uONCsgaJpZM4Vs5Zs.

Hi Meredith,
Note that I am in the SAP Web IDE Full applications. I am unable to deploy because I do not have an active version. Note the results from 'File --> Import  --> Application from SAP Cloud Platform.
[cid:8bc0fe72-0818-4a40-be08-4df36b6fa1a1]

From: Meredith Hassett<EMAIL_ADDRESS>Sent: Monday, August 6, 2018 7:26 PM
To: SAPDocuments/Tutorials
Cc: romer9; Author
Subject: Re: [SAPDocuments/Tutorials] Deploy your app to Fiori Launchpad (#2492)
You must first deploy you application to the SAP Cloud Platform. Make sure when doing so to check that it is activated.
[image]https://user-images.githubusercontent.com/1703983/43745760-604802aa-9995-11e8-80ff-7f0af5fcc1c2.png
[https://user-images.githubusercontent.com/1703983/43745760-604802aa-9995-11e8-80ff-7f0af5fcc1c2.png]
After deploying to the SAP Cloud Platform, you can register the app to the Fiori Launchpad.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/2492#issuecomment-410884185, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AoGQ-noq9PdexaepXQ8xAeJYXpoHQYIAks5uONCsgaJpZM4Vs5Zs.

Did you mean to attach some images in your latest comment? If so, I am unable to see them. If you are importing the project from BUILD, you need to follow the steps in the tutorial that indicate it should be created via the New Project from Template option. BUILD projects are not directly compatible with SAP Cloud Platform.

Hi,
Yes, there should have been a screen shot. What is 'BUILD'? I have followed the steps in  the tutorial.
Thanks

From: Meredith Hassett<EMAIL_ADDRESS>Sent: Tuesday, August 7, 2018 4:01 PM
To: SAPDocuments/Tutorials
Cc: romer9; Author
Subject: Re: [SAPDocuments/Tutorials] Deploy your app to Fiori Launchpad (#2492)
Did you mean to attach some images in your latest comment? If so, I am unable to see them. If you are importing the project from BUILD, you need to follow the steps in the tutorial that indicate it should be created via the New Project from Template option. BUILD projects are not directly compatible with SAP Cloud Platform.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/2492#issuecomment-411183237, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AoGQ-gk_kAnCpXy-t4zRjnZJop1WrKAUks5uOfIugaJpZM4Vs5Zs.

Can you please attach the screenshots? No where in this tutorial series should you be using the File > Import option.

Hi,
Have attached a Word document with the the screen shot. You can see that my other Apps have loaded and the 'jjjllotteryapp' will not load because it does not have an active version. I tried the option of File > Import to see if that would resolve the problem.
Thanks

From: Meredith Hassett<EMAIL_ADDRESS>Sent: Tuesday, August 7, 2018 7:32 PM
To: SAPDocuments/Tutorials
Cc: romer9; Author
Subject: Re: [SAPDocuments/Tutorials] Deploy your app to Fiori Launchpad (#2492)
Can you please attach the screenshots? No where in this tutorial series should you be using the File > Import option.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/2492#issuecomment-411235291, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AoGQ-orqXpjTPp6v9f_CGnPlUcSikK4aks5uOiN_gaJpZM4Vs5Zs.

@rbrainey can you handle this?

No. I'm going to remove Meredith and myself and assign it to one of our SCP topic owners.

Hi @romer9,
Unfortunately, GitHub removes all attachments from the email before it converts it to a response.
Can you please upload the file directly here

Hi Marius,
Thank you for your response. Unfortunately I do not have the screen shots/attachments any more. I encountered this challenge (issue) a year ago. Since then I have moved on.
Regards,
Jerome

From: Marius Obert<EMAIL_ADDRESS>Sent: Tuesday, May 7, 2019 5:21 AM
To: SAPDocuments/Tutorials
Cc: romer9; Mention
Subject: Re: [SAPDocuments/Tutorials] Deploy your app to Fiori Launchpad (#2492)
Hi @romer9https://github.com/romer9,
Unfortunately, GitHub removes all attachments from the email before it converts it to a response.
Can you please upload the file directly herehttps://github.com/SAPDocuments/Tutorials/issues/2492
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/2492#issuecomment-490004095, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKAZB6XS7XOC2T64NRCZM43PUFC3HANCNFSM4FNTSZWA.

Hi Jerome,
sorry that we didn't get back to you earlier. I'll close this issue then


Mediapipe ImageSegmenter doesn't work in Mozilla and Android browsers

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Linux, Ubuntu,
Mobile device if the issue happens on mobile device
Pixel 6
Browser and version if the issue happens on browser
Mozilla (v 113.0.1), Google Chrome
Programming Language and version
JS
MediaPipe version
No response
Bazel version
No response
Solution
ImageSegmenter
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
always get empty threshold mask result when use vision task with image segmenter on Mobile and Mozilla desktop.

Cheked also with my custom js (using knockout)

this.filesetResolver = await FilesetResolver.forVisionTasks(data.visionWasmUrl);
this.hairSegmenter = await ImageSegmenter.createFromOptions(this.filesetResolver, {
                        baseOptions: {
                            modelAssetPath: [path_here],
                            delegate: "GPU"
                        },
                        outputCategoryMask: false,
                        outputConfidenceMasks: true,
                        runningMode: "VIDEO"
                    });

this.hairSegmenter.segmentForVideo(this.videoElementHTMLObject,startTimeMs,this.drawHair)

//a piece of code from drawHair function:

const mask = result.confidenceMasks[this.RESULT_HAIR_INDEX].getAsFloat32Array();
 for (let i = 0; i < mask.length; ++i) {
  if (mask[i] > 0.5) // ->>>>>  here mask[i] always = 0

even if open demo https://mediapipe-studio.webapps.google.com/demo/image_segmenter on Pixels or Mozilla it doesn't work

Describe the expected behaviour
As expected result I want to get a real hair mask result with not empty threshold

Standalone code/steps you may have used to try to get what you need
this.filesetResolver = await FilesetResolver.forVisionTasks(data.visionWasmUrl);
this.hairSegmenter = await ImageSegmenter.createFromOptions(this.filesetResolver, {
                        baseOptions: {
                            modelAssetPath: [path_here],
                            delegate: "GPU"
                        },
                        outputCategoryMask: false,
                        outputConfidenceMasks: true,
                        runningMode: "VIDEO"
                    });

this.hairSegmenter.segmentForVideo(this.videoElementHTMLObject,startTimeMs,this.drawHair)

//a piece of code from drawHair function:

const mask = result.confidenceMasks[this.RESULT_HAIR_INDEX].getAsFloat32Array();
 for (let i = 0; i < mask.length; ++i) {
  if (mask[i] > 0.5) // ->>>>>  here mask[i] always = 0

Other info / Complete Logs
logs from mozilla:

Content-Security-Policy warnings 2
Some cookies are misusing the recommended “SameSite“ attribute 86
Component analytics tracker already installed for alkaliAccountSelectorTracker 83a8e44533e4943485fa67687487242f07b71693.js:1924:1735
Component analytics tracker already installed for alkaliFeedbackWidgetTracker 83a8e44533e4943485fa67687487242f07b71693.js:1924:1735
Component analytics tracker already installed for alkaliTosTracker 83a8e44533e4943485fa67687487242f07b71693.js:1924:1735
Detected build id: alkali.mediapipestudio_20230510_1517_RC00 as alkali.mediapipestudio_20230510_1517_RC00 5 83a8e44533e4943485fa67687487242f07b71693.js:407:93
Detected build id: alkali.mediapipestudio_20230510_1517_RC00 as alkali.mediapipestudio_20230510_1517_RC00 83a8e44533e4943485fa67687487242f07b71693.js:407:93
Detected server environment: PRODUCTION as GCS prod 83a8e44533e4943485fa67687487242f07b71693.js:406:411
Detected build id: alkali.mediapipestudio_20230510_1517_RC00 as alkali.mediapipestudio_20230510_1517_RC00 83a8e44533e4943485fa67687487242f07b71693.js:407:93
WARNING: Multiple instances of Three.js being imported. ad89869963b07077c4330d0e32a998a2cc5cbd27.js:6:572987
wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type 'application/octet-stream' expected 'application/wasm' 193cd492c0b2a967a4912923278c1ac367d05d47.js:363:8
falling back to ArrayBuffer instantiation 193cd492c0b2a967a4912923278c1ac367d05d47.js:364:8
I0000 00:00:1685625572.210000       1 gl_context_webgl.cc:112] Successfully created a WebGL context with major version 3 and handle 1 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625572.211000       1 gl_context.cc:359] GL version: 3.0 (OpenGL ES 3.0 (WebGL 2.0)), renderer: Intel(R) HD Graphics 400 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
W0000 00:00:1685625572.215000       1 gl_context.cc:1002] OpenGL error checking is disabled 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
Graph successfully started running. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1070:8
INFO: Created TensorFlow Lite XNNPACK delegate for CPU. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625572.221000       1 segmentation_postprocessor_gl.cc:378] NONE activation function chosen on GPU 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
Graph finished closing successfully. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1070:8
I0000 00:00:1685625572.244000       1 gl_context_webgl.cc:130] Successfully destroyed WebGL context with handle 1 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625572.246000       1 gl_context_webgl.cc:112] Successfully created a WebGL context with major version 3 and handle 28 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625572.247000       1 gl_context.cc:359] GL version: 3.0 (OpenGL ES 3.0 (WebGL 2.0)), renderer: Intel(R) HD Graphics 400 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
Graph successfully started running. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1070:8
Found Custom Op: Convolution2DTransposeBias 2 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625574.287000       1 segmentation_postprocessor_gl.cc:378] NONE activation function chosen on GPU 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
Graph finished closing successfully. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1070:8
I0000 00:00:1685625574.316000       1 gl_context_webgl.cc:130] Successfully destroyed WebGL context with handle 28 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625574.319000       1 gl_context_webgl.cc:112] Successfully created a WebGL context with major version 3 and handle 423 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625574.323000       1 gl_context.cc:359] GL version: 3.0 (OpenGL ES 3.0 (WebGL 2.0)), renderer: Intel(R) HD Graphics 400 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
Graph successfully started running. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1070:8
Found Custom Op: Convolution2DTransposeBias 2 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625574.545000       1 segmentation_postprocessor_gl.cc:378] NONE activation function chosen on GPU 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
Graph finished closing successfully. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1070:8
I0000 00:00:1685625574.571000       1 gl_context_webgl.cc:130] Successfully destroyed WebGL context with handle 423 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625574.573000       1 gl_context_webgl.cc:112] Successfully created a WebGL context with major version 3 and handle 818 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625574.577000       1 gl_context.cc:359] GL version: 3.0 (OpenGL ES 3.0 (WebGL 2.0)), renderer: Intel(R) HD Graphics 400 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
Graph successfully started running. 193cd492c0b2a967a4912923278c1ac367d05d47.js:1070:8
WebGL warning: drawArraysInstanced: Tex image TEXTURE_2D level 0 is incurring lazy initialization. 2
Found Custom Op: Convolution2DTransposeBias 2 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
I0000 00:00:1685625574.838000       1 segmentation_postprocessor_gl.cc:378] NONE activation function chosen on GPU 193cd492c0b2a967a4912923278c1ac367d05d47.js:1086:8
WebGL warning: drawArraysInstanced: Tex image TEXTURE_2D level 0 is incurring lazy initialization.
WebGL warning: readPixels: Format and type RED/FLOAT incompatible with this R32F attachment. This framebuffer requires either RGBA/FLOAT or getParameter(IMPLEMENTATION_COLOR_READ_FORMAT/_TYPE) RGBA/FLOAT. 29
After reporting 32, no further warnings will be reported for this WebGL context.
Source map error: Error: request failed with status 404
Resource URL: https://www.gstatic.com/alkali/608912838d92ccd01c3273ef6b42fff033135226.css
Source Map URL: mediapipestudio-theme.css.map

This is a related issue to https://github.com/googlesamples/mediapipe/issues/159.  MPMask elements generated with GPU delegate are not yet supported on all platforms.  We're working on patches for these issues now, but in the meantime, try using a CPU delegate-- that will be slower but should hopefully work in the meantime.

@annysmolyan,
We have observed that image segmentation is functioning as expected in the Android Chrome Browser. Nevertheless, in the Mozilla browser, we cannot guarantee the functionality of the demo, as our testing has primarily focused on the browsers specified in the documentation.
We kindly request you to initiate a new feature request to include support for the Mozilla Browser, highlighting the potential benefits that the community could derive from such an enhancement. Furthermore, we intend to execute the demo on supported browsers and kindly request that you notify us if similar issues are encountered.
Moreover, we would appreciate your confirmation regarding the closure of this issue and the necessary status update, should it no longer be a concern from your end.

Is there any way to detect GPU support for the current browser to set the correct options for delegate CPU/GPU?
Something like this would be very helpfull:
ImageSegmenter.getSupportedProcessingUnits() // returns a list like ['CPU', 'GPU']

Thanks!


Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

I receive bellow error (recaptcha v2)
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
G https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:296
c https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:28
T https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:51
T https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:28
G https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:296
e https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:126
next https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:57
p https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:23
promise callback*D https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:24
H https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:24
T https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:24
e https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:91
r https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:295
G https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:35
e https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:126
next https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:57
H https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:24
T https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:24
e https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:91
T https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:34
T https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:58
r https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:338
BQ https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:489
y https://www.gstatic.com/recaptcha/releases/UFwvoDBMjc8LiYc1DKXiAomK/recaptcha__pl.js:345
This error occures on http://www.piekniejszezycie.pl/

Same here with the Automatically render the reCAPTCHA widget: https://developers.google.com/recaptcha/docs/display#auto_render

Also having "timeout" issues with the automatically rendered Recaptcha

I found that an old set of JS scripts named scriptaculous was causing the problem. Removed them and it was solved.
I suggest comment out one by one JS sources to see if one of them is disturbing gcaptcha

I found that an old set of JS scripts named scriptaculous was causing the problem. Removed them and it was solved.
I suggest comment out one by one JS sources to see if one of them is disturbing gcaptcha
Thanx for the hint , in my case it was prototype.js , it overwrites the reduce function from arrays

https://stackoverflow.com/questions/64737646/recaptcha-unexpected-token-in-json-at-position-0/64808781#64808781

I found that an old set of JS scripts named scriptaculous was causing the problem. Removed them and it was solved.
I suggest comment out one by one JS sources to see if one of them is disturbing gcaptcha
Thanx for the hint , in my case it was prototype.js , it overwrites the reduce function from arrays

https://stackoverflow.com/questions/64737646/recaptcha-unexpected-token-in-json-at-position-0/64808781#64808781


stepfunctions.steps.states.State.output() doesn't seem to respect result_path

Hello,
there seems to be an issue if stepfunctions.steps.states.State.output() is used together with result_path. For example:
lambda_state_first = LambdaStep(
    state_id="MyFirstLambdaStep",
    parameters={
        "FunctionName": "MakeApiCall",
        "Payload": {
          "input": "20192312"
          }
    },
    result_path="$.NewOutputPath"
)

lambda_state_first.output()["Payload"].to_jsonpath()

I would expect that the output is "$['NewOutputPath']['Payload']", but it's actually "$['Payload']". Is that expected behavior and if so, how is the correct way to use result_path together with output()?
Thanks!

One of the consequences of this issue is that there seems to be no particular way to use .output() with steps do not come one after the other.

Hi @simonloew and @alex , thank you for reaching out with these questions. I'll try and address them below:
When using result_path, the output of the state can combination of its input and the result. In the example you have described, the Lambda state's output could have additional keys besides just NewOutputPath. One such example is illustrated here. lambda_state_first.output() refers to the entire output from lambda_state_first state, and not just under the key referenced in result_path. Hence the behavior you see is expected. If you would like to refer to "$['NewOutputPath']['Payload']" , you can do so using  lambda_state_first.output()['NewOutputPath']["Payload"].
Regarding not being able to use .output() with steps that do not come one after another, Step Functions supports passing the output of a state only to its next state in the state machine.


Base image for Ubuntu Focal not available for arm64 architecture

I was checking the platform support for some devcontainer images on arm64 and just noticed that various ubuntu images support arm64 but the focal images do not.
Can we get that architecture arm64 published for Ubuntu Focal too? or this is not available because of some particular issue? (if so maybe we should document it somewhere that it is not available, we struggled with a related issue while trying to use the derived dotnet:focal image on an arm64 system).

VSCode Version:
Local OS Version: Ubuntu Focal
Local chip architecture: arm64
Reproduces in: Both
Name of Dev Container Definition with Issue: mcr.microsoft.com/vscode/devcontainers/base:focal

Steps to Reproduce:
$ docker run --rm mplatform/mquery mcr.microsoft.com/vscode/devcontainers/base:focal

Image: mcr.microsoft.com/vscode/devcontainers/base:focal (digest: sha256:ce4ae5134a435185a8a2052eab6d0ee2ad04f5f062a78377cc348ad9d8eab6f2)
 * Manifest List: No (Image type: application/vnd.docker.distribution.manifest.v2+json)
 * Supports: linux/amd64

$ docker run --rm mplatform/mquery mcr.microsoft.com/vscode/devcontainers/base:jammy

Image: mcr.microsoft.com/vscode/devcontainers/base:jammy (digest: sha256:1056dcb30c2510505fb344195f138c3a59d9323b09411045953490cc9afdd388)
 * Manifest List: Yes (Image type: application/vnd.docker.distribution.manifest.list.v2+json)
 * Supported platforms:
   - linux/amd64
   - linux/arm64

$ docker run --rm mplatform/mquery mcr.microsoft.com/vscode/devcontainers/base:bionic

Image: mcr.microsoft.com/vscode/devcontainers/base:bionic (digest: sha256:65563e258b3d994cfd015ee853cbcb75c5313837537bd7709e23c6c328fc98ca)
 * Manifest List: Yes (Image type: application/vnd.docker.distribution.manifest.list.v2+json)
 * Supported platforms:
   - linux/amd64
   - linux/arm64

This is expected.  See https://github.com/microsoft/vscode-dev-containers/issues/558
Docker Desktop bombs randomly with arm64 focal and debian buster. The same goes for buildx which prevents us from being able to cross compile.


Max: tycache family support

Changelog Description
Tycache family supports for Tyflow Plugin in Max
Additional info
Users should have tyFlow Pro Plugins to use this instance
As the tyCache format requires strict naming rules for storing the particle data, the published tyCache would adopt the originalBasename instead of using default publish naming convention.
Both tycache and tyspline export are working in the same export mode.
Testing notes:
OpenPype

Launch Max via launcher
Create -> Create tyCache
Toggle the settings you preferred in Publish tab
Publish.

Ayon

Go to Studio Setting -> Anatomy Presets -> add tyCache name according to template.json located in Openpype setting.

Launch Max via launcher
Create -> Create tyCache
Toggle the settings you preferred in Publish tab
Publish.

I just notice that opening a project when the Ayon plugin is active takes much longer to open. I had already noticed this on projects with Unreal 5.2.
I think it retries a cache of assets when opening, is there perhaps a way to remove this procedure?

@LiborBatek could you try again? :)

Ok with latest develop merged in it doesnt fail on color space anymore but during Integrate Asset publishing...
here is the log: tyFlow_Log.txt

Just wanted to remark:
What stands out to me here is that you're actually sharing logs from "details" instead of the full publishing log which is intended to be used for 'sharing your reports' by design so they can be loaded into the report viewer by devs. I have a feeling you're also 'misguided' by the visual cues of thew new publisher's design and hitting the Publisher design not actionable enough thread brought up here.

@BigRoy you probably mean sharing full JSON file log. I am aware of it but I have just simply copy/paste the failing one to make it more compact (less lines of text).
If preferable, I can always attach the full JSON file. Is that it? Thanks for your thoughts!

There would be some default channel data for tycache export preseted similar to PRT export in the updated commiot.

@Minkiu and @antirotor would be great if you can take a look at the code before the merge:).

I have updated the code, and I find out that there is only one export mode for tycache when I tested with the code. When I tested with the export mode =3, it turns out to be alembic mesh export. So both tycachespline and tycache works in the same export mode.

TyCache being produced ok, but during Load via loader it fails to set the path to the tyCache produced.
When trying manually put the path in, the tyCache correctly loads and all fine.
Need to be adressed.

@LiborBatek I restored the original code for the loader plugins for the test if it is being loaded correctly. Can you test again? Thanks.

Works like charm...Loads the tyCache immedeately...

This is what I get when trying to set version via Manage

This is what I get when trying to set version via Manage

Seems like when Frame Range in the active scene doesnt match the asset one it fails on it...

@LiborBatek this might be something with your specific environment where the previous publish does not also have a tyc representation - likely because when you published that one a longer time ago this PR was still generating different publishes or there was a bug at the time that made it fail, etc.. You might be better of doing another v10 and v11 publish and then see if you can switch to the newer ones and between them.

@BigRoy hmm did try to produce brand new publishes and switching between those only...still fails. but it cant find the
tycacheMain__tyPart_00000_00000.tyc file

did try to produce brand new publishes and switching between those only...still fails. but it cant find the
tycacheMain__tyPart_00000_00000.tyc file

Just to be clear - you are not getting the same error, but now it just fails to find the right path to set on the node? Does it give any errors?

This also happens when brand new asset created and frame range set to more ussual 1001-1100
Does the same error:

obivously we are looking for wrong file name, here are the actual ones:

This also happens when brand new asset created and frame range set to more ussual 1001-1100
Does the same error:
obivously we are looking for wrong file name, here are the actual ones:

can you test again to see if the issue still exists?

Well that commit didnt helped. at least here is more of a log (sorry for being it scrngrab but its faster when in remote on site)

Well that commit didnt helped. at least here is more of a log (sorry for being it scrngrab but its faster when in remote on site)

can you go to the error path {publish_folder}/{version} to see if there is anything?

@antirotor can you do the final check before the merge? Thanks!


AttributeError: module 'modin.pandas' has no attribute 'api'

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
Modin version (modin.__version__): 0.10.2
Python version: 3.8.10
Code we can use to reproduce:

import modin.pandas as pd
indexer = pd.api.indexers.FixedForwardWindowIndexer(window_size=d)
df['new'] = df['rough'].rolling(window=indexer).apply(np.prod, raw=True) - 1
Describe the problem
modin should have defaulted to pandas in case this functionality is not implemented instead of throwing an error.
Source code / logs
indexer = pd.api.indexers.FixedForwardWindowIndexer(window_size=d)

AttributeError: module 'modin.pandas' has no attribute 'api'

Thanks @soumava-das for the report!
@prutskov Are you able to take a look? It might just need to be rolled into the default api.

@devin-petersohn Yes, I'll take a look on this.


Replace old formatter with new formatter

Closes #1516

[x] Rename and replace old fmt with new fmt
[ ] Fix any conflicts that arise from this

This is legendary @eureka-cpu! :zap: :rocket: :100:

Omg it's happening

@eureka-cpu I've just merged in #2698 (which should have @kayagokalp's fixes for the newline issues) into your branch here!
I was expecting this to resolve these sway-fmt-v2 conflicts as there were no conflicts that arose locally when merging in master, but it seems they remain on this PR :thinking: Maybe GitHub has some approach to merging that differs from a simple local git merge?
If you have trouble resolving these conflicts within this PR, feel free to open up a new one as it's more important we land this sooner than later :)

@eureka-cpu I've just merged in #2698 (which should have @kayagokalp's fixes for the newline issues) into your branch here!
I was expecting this to resolve these sway-fmt-v2 conflicts as there were no conflicts that arose locally when merging in master, but it seems they remain on this PR thinking Maybe GitHub has some approach to merging that differs from a simple local git merge?
If you have trouble resolving these conflicts within this PR, feel free to open up a new one as it's more important we land this sooner than later :)

When I pull the branch it doesn't show any conflicts 🤔

Merging master did the trick oddly enough


testing the endpoint

This is not an issue but rather a question of how do you guys debug the gem to test real endpoints.
After fork and bundle project to my local machine "rails c" from active_shipping folder not coming up.
So I was trying to execute ruby test/console.rb giving some errors:
test/console.rb
test/console.rb: line 1: require: command not found
test/console.rb: line 2: require: command not found
test/console.rb: line 3: require: command not found
test/console.rb: line 5: include: command not found
test/console.rb: line 6: include: command not found
test/console.rb: line 7: include: command not found
test/console.rb: line 9: syntax error near unexpected token `('
test/console.rb: line 9: `def create_carrier(klass, creds)'

This is critical for me as I am trying to add a new carrier.
Am I missing something?

never mind. I am using the test/remote now.


Failed Login Report missing from DBADASH

Adding Failed login report to DBADASH out of box reporting.

This information could be pulled from the error log.  This could maybe be done on demand with the Messaging feature - pulling the data directly from the monitored instance.  I might look into it at some point.  Until then it would be possible to setup a custom collection/report for this.

Do you have a customer report already for this? It is kind of important.
On Mon, Oct 14, 2024, 1:20 PM David Wiseman @.***>
wrote:

This information could be pulled from the error log. This could maybe be
done on demand with the Messaging feature - pulling the data directly from
the monitored instance. I might look into it at some point. Until then it
would be possible to setup a custom collection/report for this.
—
Reply to this email directly, view it on GitHub
https://github.com/trimble-oss/dba-dash/issues/1065#issuecomment-2412141525,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGN5RX5MMRF3WHOVGECWG63Z3QRR5AVCNFSM6AAAAABPXEJSFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJSGE2DCNJSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I use this script for one week of failed logins: https://www.mssqltips.com/sqlservertip/4941/find-all-failed-sql-server-logins/
Parsing the log files can take a while, that why it was only run on demand

I meant adding it as a custom report. Again I think it is a very valuable
report that businesses care about a lot. Every morning I want to know which
accounts are failing to connect to sql.
On Mon, Oct 14, 2024, 10:46 PM R4PH1 @.***> wrote:

I use this script for one week of failed logins:
https://www.mssqltips.com/sqlservertip/4941/find-all-failed-sql-server-logins/
Parsing the log files can take a while, that why it was only run on demand
—
Reply to this email directly, view it on GitHub
https://github.com/trimble-oss/dba-dash/issues/1065#issuecomment-2412947413,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGN5RX4ERG4HVDBHZBZSHZLZ3ST2BAVCNFSM6AAAAABPXEJSFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJSHE2DONBRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Custom reports & custom collections allow for some significant customization without writing a single line of C# - allowing you to create bespoke customizations using only T-SQL.  I'm hoping that users will create things for themselves and ideally share them here for other users to benefit from.
That said, this could be a good example for users to take inspiration from.
The first thing you need is a proc to capture the failed logins on your monitored instances.  This will get the failed logins from the last day.  I'm converting the LogDate to UTC to make things easier as dates are expected to be stored in UTC format - then converted to local time in the app (The default timezone conversion could be disabled in the report if you wanted to store in local time for some reason).
CREATE OR ALTER PROC dbo.FailedLogins
AS

CREATE TABLE #ErrorLog(
	LogDate DATETIME,
	ProcessInfo NVARCHAR(50),
	Text NVARCHAR(MAX)
)
CREATE TABLE #enum(
        ArchiveNumber INT PRIMARY KEY,
        LogDate DATETIME,
        LogSize BIGINT
    );
INSERT INTO #enum
EXEC sys.sp_enumerrorlogs;

DECLARE @ArchiveNumber INT
DECLARE c1 CURSOR FAST_FORWARD LOCAL FOR SELECT ArchiveNumber
					FROM #enum
					WHERE LogDate >= DATEADD(d,-1,GETDATE())
OPEN c1
WHILE 1=1
BEGIN
	FETCH NEXT FROM c1 INTO @ArchiveNumber
	IF @@FETCH_STATUS<>0
		BREAK
	INSERT INTO #ErrorLog
	EXEC sp_readerrorlog @ArchiveNumber, 1, 'Login failed'
END

CLOSE c1
DEALLOCATE c1

SELECT DATEADD(mi,DATEDIFF(mi,GETDATE(),GETUTCDATE()),LogDate) AS LogDate, /* Convert to UTC based on current offset */
		Text
FROM #ErrorLog
WHERE LogDate >= DATEADD(d,-1,GETDATE())

⚠Note: @R4PH1 Makes a good point about the cost of this collection which will vary from instance to instance.  There are things you can do like trace flag 3226 that will reduce the noise in your errorlog which could help with performance.
Next you need to configure the custom collection in the service config tool.  Select the stored procedure and ensure the collection name is set to FailedLogins.  Set an appropriate collection frequency - anything less than 1 day should work with the collection proc.  If you have the Messaging feature enabled, you can trigger the report to run on demand outside it's scheduled collection.
The Get Script button will do a log of the hard work for you in creating the items in the repository database.  In this case we need to customize it slightly as we don't want to store the full collection each time with a new snapshot date each time it runs.
	It is recommended that you review the script and make any changes required for your environment.
	Run this script in your DBA Dash repository database
	The collected data will be inserted into a table called UserData.FailedLogins with additional columns for InstanceID and SnapshotDate
	The InstanceID column can be joined to dbo.Instances

	!! WARNING: Consider the cost of running your custom data collection !!
*/

/***************************************************************************************************************************
*                                               Set Retention                                                              *
***************************************************************************************************************************/
/*
	How long should we keep the collected data?
	Daily partitions will be created to make it efficient to clear out old data.
	If retention is over 365 days, monthly partitions will be used instead
*/
DECLARE @RetentionDays INT = 60

EXEC dbo.DataRetention_Upd @SchemaName ='UserData', @TableName = 'FailedLogins',@RetentionDays=@RetentionDays, @Validate=0

/***************************************************************************************************************************
*                                               Setup partitioning                                                         *
***************************************************************************************************************************/
/* Create partition function and scheme to make it efficient to clear out old data */
CREATE PARTITION FUNCTION [PF_UserData_FailedLogins](DATETIME2) AS RANGE RIGHT FOR VALUES()
CREATE PARTITION SCHEME [PS_UserData_FailedLogins] AS PARTITION [PF_UserData_FailedLogins] ALL TO([PRIMARY])
GO

/***************************************************************************************************************************
*                                               Create table to store data                                                 *
***************************************************************************************************************************/
/* Create user defined type so we can pass the collected data to the stored procedure */
CREATE TYPE UserData.[FailedLogins] AS TABLE (
	[LogDate] DATETIME2 NULL,
	[Text] NVARCHAR(MAX) NULL
);
GO
/* Create table to store the collected data */
GO
CREATE TABLE UserData.[FailedLogins] (
	[InstanceID] INT NOT NULL,
	[LogDate] DATETIME2 NULL,
	[Text] NVARCHAR(MAX) NULL
	/* Warning: Script just creates a clustered index on InstanceID and SnapshotDate. Consider replacing this, adding a primary key and other indexes if required */
	INDEX IX_UserData_FailedLogins CLUSTERED(InstanceID,LogDate)
) ON [PS_UserData_FailedLogins](LogDate)
WITH(DATA_COMPRESSION=PAGE);
GO
/***************************************************************************************************************************
*                                               Create procedure for import                                                *
***************************************************************************************************************************/
GO
CREATE OR ALTER PROCEDURE UserData.[FailedLogins_Upd]
(
	/* InstanceID value from dbo.Instances table (Unique ID associated with the instance) */
	@InstanceID INT,
	/*
	@SnapshotDate represents the time of the data collection in UTC.
	It's the time all the collections within the same batch (scheduled time) started.
	You can have your query return 'SYSUTCDATETIME() AS SnapshotDate' if you need higher accuracy
	*/
	@SnapshotDate DATETIME2,
	/* Table-valued parameter with the contents of our custom data collection */
	@FailedLogins [FailedLogins] READONLY
)
AS
SET XACT_ABORT ON
SET NOCOUNT ON

DECLARE @MaxLogDate DATETIME2

SELECT @MaxLogDate = ISNULL(MAX(LogDate),'19000101')
FROM UserData.[FailedLogins]
WHERE InstanceID = @InstanceID

INSERT INTO UserData.[FailedLogins]
(
	[InstanceID],
	[LogDate],
	[Text]
)
SELECT
	@InstanceID AS InstanceID,
	[LogDate],
	[Text]
FROM @FailedLogins
WHERE LogDate > @MaxLogDate

/* Log the data collection */
EXEC dbo.CollectionDates_Upd @InstanceID = @InstanceID,
		@Reference = 'UserData.FailedLogins',
		@SnapshotDate = @SnapshotDate
GO

/***************************************************************************************************************************
*                                               Custom Reports                                                             *
***************************************************************************************************************************/
/* https://dbadash.com/docs/how-to/create-custom-reports/ */
GO
/*
	Failed Logins

	Custom report for DBA Dash.
	http://dbadash.com
	Generated: 2024-10-15 16:05:02
*/

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE OR ALTER PROC [UserReport].[FailedLogins]
(
	/* Table-valued parameter passing a list of InstanceIDs (dbo.Instance table) associated with the current context in DBA Dash */
	@InstanceIDs IDs READONLY,
	/* Optional @SnapshotDate parameter to show the data associated with a specific snapshot.  Otherwise the last snapshot is shown.


R version

On Twitter, Dan Larremore asked if anyone wanted to code up an R version. I hacked together a fairly crude port of the Python version of the code using igraph that seems to produce correct-looking output on the faculty hiring network.
spring_rank <- function(A, alpha, l0, l1, shift = TRUE) {
  N <- dim(A)[1]
  k_in <- colSums(A)
  k_out <- rowSums(A)
  One <- rep(1, N)
  C <- A + t(A)

  D1 <- matrix(0, ncol = N, nrow = N)
  D2 <- matrix(0, ncol = N, nrow = N)

  for (i in 1:N) {
    D1[i, i] <- k_out[i] + k_in[i]
    D2[i, i] <- l1 * (k_out[i] - k_in[i])
  }

  if (alpha != 0) {
    print("assuming invertible matrix")

    B = One * l0 + D2 %*% One
    A_ = alpha * diag(nrow = N, ncol = N) + D1 - C

    solvable = class(try(solve(A_, B), silent = T)) == "matrix"
    if (solvable)
    {
      print("using solve")
      rank <- solve(A_, B)
    } else {
      print("using bigcstab")
      rank <- Rlinsolve::lsolve.bicgstab(A_, B, verbose = F)
      rank <- rank$x
    }

    if (shift) {
      rank <- rank - min(rank)
    }

    names(rank) <- colnames(A)

  } else {
    print("fixing a rank degree of freedom")
    C <- C +
      matrix(rep(A[N,] , times = N),
             ncol = N,
             nrow = N,
             byrow = T) +
      matrix(rep(A[, N], times = N),
             ncol = N,
             nrow = N,
             byrow = T)

    D3 <- matrix(0, N, N)
    for (i in 1:N) {
      D3[i, i] <- l1 * (k_out[N] - k_in[N])
    }

    B <- D2 %*% One + D3 %*% One
    A_ <- D1 - C

    solvable <- class(try(solve(A_, B), silent = T)) == "matrix"
    if (solvable)
    {
      print("using solve")
      rank <- solve(A_, B)
    } else {
      print("using bigcstab")
      rank <- Rlinsolve::lsolve.bicgstab(A_, B)$x
    }

    if (shift) {
      rank <- rank - min(rank)
    }

    names(rank) <- colnames(A)
  }
  return(rank)
}

So, if run with:
library(igraph)
library(readr)
library(Rlinsolve)

df <- read_delim("US_CS_adjacency.dat",
             delim = " ",
             col_names = c("i", "j", "weight"))

G <- graph.data.frame(df)
A <- as.matrix(as_adjacency_matrix(G, attr = "weight"))

alpha <- 0.0
l0 <- 1.0
l1 <- 1.0

r <- spring_rank(A, alpha, l0, l1)
round(rev(r[order(r)]), 3)

The output is something like:
2 2.423
1 2.416
3 2.390
...
195 0.039
197 0.003
205 0.000

I've experimented with tweaking alpha, l1, and l2, and the code doesn't seem to blow up, but I haven't tried other graphs. One minor detail is that, because igraph and networkx return differently ordered adjacency matrices, the row/column used to create C if alpha=0 are not the same.
If there's interest, I think I can also hack together an R equivalent for the generative model over the next day or two and add some comments, etc.

This looks great. I am unable to check the correctness of the R code, but just from reading, a few questions:

Is the if (solvable) check for the alpha=0 case attempting to see if the system can be inverted? If so, I think that that condition should never be met, since the system is a linear-Laplacian system, and therefore never invertible.

In general, I would favor the iterative solvers, even when alpha > 0, simply because they will far more easily accommodate large matrices.

If the ranks are identical when setting min(rank)=0 using the Python/MATLAB and the R version, I think you should submit a pull request and we can get this up! Thanks for the efforts!

I just fixed it and uploaded the new version, thanks Stefan!
2018-07-24 1:11 GMT+02:00 Daniel Larremore<EMAIL_ADDRESS>
This looks great. I am unable to check the correctness of the R code, but
just from reading, a few questions:

Is the if (solvable) check for the alpha=0 case attempting to see if
the system can be inverted? If so, I think that that condition should never
be met, since the system is a linear-Laplacian system, and therefore never
invertible.
2.
In general, I would favor the iterative solvers, even when alpha > 0,
simply because they will far more easily accommodate large matrices.
If the ranks are identical when setting min(rank)=0 using the
Python/MATLAB and the R version, I think you should submit a pull request
and we can get this up! Thanks for the efforts!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cdebacco/SpringRank/issues/3#issuecomment-407229418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARSx9_mR-17GIo73KgYY7VIT5lQKMJu3ks5uJlg-gaJpZM4VbyNR
.

Yeah, this seems fine to use, if that's what you mean?
https://www.rdocumentation.org/packages/Rlinsolve/versions/0.2.0/topics/lsolve.bicgstab
That will allow the algorithm to scale nicely when there are 500 or more
nodes.
If you code it up, test it, and submit another pull request, that would be
awesome. And, again, thanks for your help. I'm 95% clueless about R stuff!
On Wed, Jul 25, 2018 at 1:30 PM Stefan McCabe<EMAIL_ADDRESS>wrote:

As for the iterative solver, I was trying to ape the structure of the
Python program as much as possible to keep things simple. Would just using
bicgstab everywhere address the concerns about large matrices?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/cdebacco/SpringRank/issues/3#issuecomment-407866830,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARD4AFboJq_KEDMJKPR99saZ1IfUXmUoks5uKMdigaJpZM4VbyNR
.


check column limit in sort operator

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #4355
Fixes #4135 4135
Problem Summary(Required) ：

Check column limit in sort operator.

@Mergifyio backport branch-2.2


feat: Make it easier to set content-type

hi @kgriffs
this is some basic code to fix #618
Could you please review it and let me know what you think about it?
thanks and happy holidays! 🎉

Current coverage is 100% (diff: 100%)

Merging #965 into master will not change coverage

@@           master   #965   diff @@
====================================
  Files          31     31
  Lines        1993   2000     +7
  Methods         0      0
  Messages        0      0
  Branches      328    328
====================================
+ Hits         1993   2000     +7
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 5fb037d...f27a5ee

Great addition! I'd also recommend documenting it here https://github.com/falconry/falcon/blob/master/falcon/response.py#L608

@ofek thanks for the feedback, I will. Not sure how to format it though. Should I also mention the options? So like falcon.HTML, falcon.XML etc?

LGTM, just add test.

Re how to organize these constants, here are some options for the sake of discussion:
# import falcon
resp.content_type = falcon.TYPE_PNG
resp.content_type = falcon.PNG
resp.content_type = falcon.media_type.PNG
resp.content_type = falcon.MEDIA_TYPE.PNG

# from...import
resp.content_type = media_type.PNG
resp.content_type = MEDIA_TYPE.PNG

The changes discussed are being worked on as a part of the PyCon Sprint and are going into #1058. The commit history is preserved on that one, so we're going to close this one for now.


Bug: Encountered new bugs after updating the framework

Describe the bug
Ater updating the wr toolkit to 0.0.107 and after that running git pull, wrappid fetch and wrappid setupcommand. I re-ran my existing front-end app with wrappid start web command and to my surprise it launched error-free but some features of my app which were running fine previously were broken like the component CoreBackdrop, also some properties were not getting applied like label was not shown in CoreCheckbox also react state hook was not working with multiple CoreComponents like CoreContainedButton, CoreBox etc even these properties are also mentioned in /guide/components.
Expected
Updating the framework should be smooth and ideally should not abruptly obsolete legacy components or introduce unexpected issues with existing features.
Additional Details

Documentation URLs:

localhost:xxxx/guide/components
localhost:xxxx/guide/styles

no work done from my side on this issue


Can't get tests to run using canonical URLs

When switching to use canonical URLs in order to use the polyserve tool, all of the web component tests break. I get messages like the following:

My repo is here - https://goo.gl/ndn1wF and this is using version 3.1.3 of wct.
Thx.

After upgrading to Polymer 1.0, the tests work without issue. Closing.


tag-expressions-ruby (broken-link)

Iv'e been trying to use this gem, its cucumber's tag expression tool for ruby.
There are no docs to help people get started with it
when i tried to go to the docs page i got 404.
I managed to get it working on my own by looking at the gem's repo, but still i think nobody has noticed that the page is down since there aren't any other issues opened.
Good day y'all!

Same broken link issue for standard library link in tag-expressions https://github.com/cucumber/cucumber/blob/master/docs/standard-library.adoc#implementations


cooking pot automation very broken

Minecraft version
1.20.1
Farmer's Delight version
1.20.1-2.1.0
Fabric Loader version
0.15.7
Fabric API version
0.92.1+1.20.1
Description
hoppers can extract from all slots of the cooking pot (including the serving queue without a container)
they should only be able to extract from the output
Steps to reproduce

put pot on hopper
add items
observe
remove hopper
add items, but not container
make cooking happen
replace hopper
observe free plate spawner

Mod list
lots of them but none relevant afaik
Logs
not logged
Minimal instance

[ ] I have tested this on a minimal instance

Performance and shader mods

[X] I am using performance or shader mods

also affected 1.20.1-2.0.17 but I found it too late to confirm and report it before the update

I'll look into this a soon as possible.

This has been a tricky one, due to my absolute unfamiliarity with Fabric's Transfer API, but a fix will be released in 2.1.1


GEODE-6534: Extract RegionPerfStats from LocalRegion

[Part of GEODE-6534: Refactor LocalRegion]
Please review: @demery-pivotal @moleske

HARegion's use of CachePerfStats via DummyCachePerfStats needs to be fixed up.

CompressionStatsDUnitTest doesn't pass StressNewTest 100% but it's not caused by my changes. It's not obvious to me how to make it more consistent.

I filed GEODE-6537 for the flaky ClearTXLockingDUnitTest.


Add dictionary words for PyTorch MME sample

Add missing dictionary words to cover PyTorch MME notebook sample
Issue #, if available: #N/A
Description of changes:
As discussed in relation to https://github.com/aws/amazon-sagemaker-examples/pull/2944, proposing to add some words to the spellcheck dictionary to cover the PyTorch Multi-Model Endpoints sample notebook.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Changes have been deployed and should see effect immidately


How to print something on crawler hit with middleware?

I'd rather not manage crawler instances and manually log for all my APIs,
I was wondering if there were a way to do something like
app.use(middleware(req=>console.log("Got crawler request!", req));

Is there a way to do this? Or am I missing something?
I'm not sure what the current middleware does. It seems to just instantiate a Crawler instance: https://github.com/JefferyHus/es6-crawler-detect/blob/b75ebdb6a010d29848b0b7f8b242197a56f37fc2/src/index.js

Yes the middle-ware objective is to allow you to use the crawler instance within your request object, instead of initiating it every time.
If I understand your demand, I think you would like to send a callback to be executed every time the middle-ware runs. If that's correct I may think of a solution, if that's not the case please elaborate more.

Yes, an optional callback that can be provided alongside setting up middleware in app.use (as in example above) would be really fantastic as it would give us a single place to manage/track hits by crawlers 😄


Psssst

Posting this for provider writers at request of @divega.
https://t.co/RHNAfkm3rS
@roji @ErikEJ @dmitry-lipetsk @caleblloyd @yukozh @cincuranet @ralmsdeveloper @bubibubi

Shhhhh....

Good one :) I'll be sure to keep it a secret...

@tonysneed  !!

Nice! 🎉

Thanks!

😍
2018-05-26 21:27 GMT+02:00 Rafael Almeida<EMAIL_ADDRESS>
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/EntityFrameworkCore/issues/12146#issuecomment-392283091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFmX2n73sNgjudaGmWokrXJwQGUjf67sks5t2ayqgaJpZM4UOk35
.

Shhh. Don't tell anyone, but https://github.com/aspnet/Home/wiki/.NET-Core-2.1.1-Early-Access-Downloads is a link I heard about that could be interesting.

FYI for anyone who downloaded, an issue was found and the build had to be re-spun. You may have to clear package caches.

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


IDVA3-1307 create service to retrieve company individual pscs

CI: No security warnings found

CI: No security warnings found


hiredis is not support 3.10

https://github.com/redis/hiredis-py/issues/130

Hi and thanks for raising this issue. Can you provide more context what do you want? Like add support for HIRedis library?

By default this project uses redis-py with hiredis.

Closed due to inactivity.


InternalServerError: function edgedb._index(uuid, text, unknown) does not exist

EdgeDB Version: EdgeDB 3.3
EdgeDB CLI Version: 3.4.0+160d07d

Steps to Reproduce:
Try to create a function with following ddl:
    CREATE FUNCTION get_anno_json() -> set of json
    USING (
        WITH
            obj := (SELECT schema::ObjectType FILTER .name = 'default::A'),
            prop := (SELECT obj.properties FILTER .name = 'a'),
            prop_json_array := (
                 SELECT prop {
                     annos := <json>(
                         SELECT .annotations {
                             val := to_json(@value),
                         } FILTER .name = 'default::my_annotation'
                     )
                 }
            ).annos['val']
        SELECT json_array_unpack(prop_json_array )
    );

And it comes with the error:
 InternalServerError: function edgedb._index(uuid, text, unknown) does not exist

But select with the funciton body alone is ok:
WITH
    obj := (SELECT schema::ObjectType FILTER .name = 'default::A'),
    prop := (SELECT obj.properties FILTER .name = 'a'),
    prop_json_array := (
         SELECT prop {
             annos := <json>(
                 SELECT .annotations {
                     val := to_json(@value),
                 } FILTER .name = 'default::my_annotation'
             )
         }
    ).annos['val']
SELECT json_array_unpack(prop_json_array)

I want to get the json-set in property annotations named default::my_annotation through this function.
I can avoid this problem by changing my function body to below:
WITH
    obj := (SELECT schema::ObjectType FILTER .name = 'default::A'),
    prop := (
           SELECT obj.properties{ annotations filter .name = 'default::my_annotation'}
           FILTER .name = 'a' AND EXISTS .annotations
    ),
    prop_json_array := (select prop {annos := to_json(.annotations@value)}).annos
 SELECT json_array_unpack(prop_json_array)

But I think both of them should be right since the select statement works.
Thanks.

The problem is gone after I upgrade the EdgeDB Version to 4.x.
Looks like it is fixed by this commit #6016
Thanks.


derive output resolution after reprojection

 [RESPECT M.1] Dateninterpolation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

33 of 33 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.006%) to 83.883%

Files with Coverage Reduction
New Missed Lines
%

operators/src/source/ogr_source/mod.rs
1
92.72%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
37162

Relevant Lines:
44302

💛  - Coveralls

bors merge


Using HTTPS enabled sbt repo URL for dependency resolution

DESCRIPTION
This PR contains changes to address the issue raised in the ticket PWN-17653(internal ticket). The changes are made to use HTTPS enabled sbt dependency resolver so that we only download dependency JARs on a secure connection.

LGTM


Update overview.md

Some small grammatical fixes

:tada: This PR is included in version 3.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Don't generate OnSerialize/OnDeserialize if not needed

fixes the issue found in #199

Codecov Report

Merging #218 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #218   +/-   ##
======================================
  Coverage    6.96%   6.96%
======================================
  Files          29      29
  Lines        5914    5914
  Branches      828     828
======================================
  Hits          412     412
  Misses       5489    5489
  Partials       13      13

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 3f0d3af...ec2f64a. Read the comment docs.

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


Problem with data source generation on Windows

On line 1367 of symphony/content/contents.blueprintsdatasources.php
$dsShell = preg_replace(array('//', '/(\t+[\r\n]){2,}/'), '', $dsShell);
the  '/(\r\n){2,}/'  part cause problems, at least with my configuration.
The first line of the data-source data file that is generated
<?phprequire_once TOOLKIT . '/class.datasource.php';class datasourcetest extends SectionDatasource

have the <?php tag and the require_once, without space between theme so the page crash with a
Symphony Fatal Error: Class 'datasourcetest' not found

if I remove the '/(\r\n){2,}/' from the replace expression everything works fine

Good catch Brendan!


The container app will be in "Failed" status after executing "Edit Secret Value..." action for the default generated secret

OS: All
Build Version: v0.7.1-alpha.0
Regression: Not a Regression
Repro Steps:

Open a containerapps-albumapi-javascript project in VS Code.
Right click one container apps environment -> Select "Create Container App from Workspace..." to create a container app.
Navigate to the "Secrets" node and execute "Edit Secret Value..." action for the default generated secret, the below error occurs.

Refresh the Azure view.
Check whether the above container app is not in "Failed" status.

Expect:
The above container app is not in "Failed" status.
Actual:
The above container app is in "Failed" status.

More Info:

Fail to execute some commands for the "Failed" container app with the same error of step 3, such as "Choose Revision Mode/Disable Ingress for Container App...".
This issue will be fixed after creating a new secret.

Hmm, I think this one may be by-design.  The ACA service isn't letting you change the key because it's crucial for maintaining the registry configuration that we have set up.  When you change it, it appears to try and verify that the connection is still valid since it's set up in our registry configuration settings.
I wonder if it's worth trying to improve the error message here.... I'll bring this one up in triage.

Closing as by design


Version Issue

Right now my project is using Angularjs 1.2.0. Which version of ng-quill and quill that supports Angularjs 1.2.0 and supports getHTML function since I need the raw HTML from the text editor. Right now I'm combining the quill version 1.0.2 and ng-quill 1.4.2, it works fine with the configuration from the latest version, but because I use the new configuration, there will be an error which is setHTML is not a function. Therefore I need to know which version is compatible, Thank you.

You do Not Need get and setHtml.
Just use ngModel and Pass a HTML String.
NgQuill should Transform IT to valid quilljs content.
If You Change Something in the Editor is Set to the ngModel.
And You can grab the HTML content from the
OnContentChanged callback/Output.
aldymadani<EMAIL_ADDRESS>schrieb am Fr., 20. Sep. 2019, 12:47:

Right now my project is using Angularjs 1.2.0. Which version of ng-quill
and quill that supports Angularjs 1.2.0 and supports getHTML function since
I need the raw HTML from the text editor. Right now I'm combining the quill
version 1.0.2 and ng-quill 1.4.2, it works fine with the configuration from
the latest version, but because I use the new configuration, there will be
an error which is setHTML is not a function. Therefore I need to know which
version is compatible, Thank you.
[image: image]
https://user-images.githubusercontent.com/33458423/65321515-fc117e80-dbd6-11e9-994e-7c21b04c759a.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ng-quill/issues/191?email_source=notifications&email_token=AARI4YEXG3ZGI4TFSVVOUS3QKSS2HA5CNFSM4IYVTPP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HMUVRMQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARI4YCJOVXJYNRZ4SIHGADQKSS2HANCNFSM4IYVTPPQ
.

and by the way... i will never support angularjs 1.2 which is 6 or 7 years old Oo...
just update to min 1.5.x.


[HxGridColumnBase] Asynchronnous method called from synchronnous Dispose?

Task ColumnsRegistration.Unregister(this); is asynchronnous.
It is currently called from synchronnous Dispose() method in HxGridColumnsBase
@jirikanda , should we rather go for IAsyncDisposable?

Ups. It brings back the issue #107. Trying fix with try/catch & NOOP in the CollectionRegistration class.


az login kill 9

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
after installing azure-cli through brew I am getting the following error when running the az command.
# az login
/opt/homebrew/bin/az: line 2: 17050 Killed: 9               AZ_INSTALLER=HOMEBREW /opt/homebrew/Cellar/azure-cli/2.18.0/libexec/bin/python -m azure.cli "$@"```

To Reproduce
Install the azure-cli through brew in an environment described above.
Expected behavior
To work!
Environment summary
Macbook Air M1 with Big Sur 11.2
# brew --version
Homebrew 3.0.0

# brew info azure-cli
azure-cli: stable 2.18.0 (bottled), HEAD
Microsoft Azure CLI 2.0
https://docs.microsoft.com/cli/azure/overview
/opt/homebrew/Cellar/azure-cli/2.18.0 (18,246 files, 295.3MB) *
  Poured from bottle on 2021-02-08 at 16:13:28
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/azure-cli.rb
License: MIT
==> Dependencies
Required<EMAIL_ADDRESS>✔<EMAIL_ADDRESS>✔
==> Options
--HEAD
	Install HEAD version
==> Analytics
install: 28,678 (30 days), 97,668 (90 days), 341,596 (365 days)
install-on-request: 28,538 (30 days), 96,930 (90 days), 337,268 (365 days)
build-error: 0 (30 days)

Additional context

duplicated #16697


Corner labeled input field with a pointing label does not format well

The following code does not work like it should.

    <input type="text" placeholder="First name">

      Please enter a value

input needs to be a child of field. In general its unsafe to combine UI elements on the same element unless it is used in the documentation.


Error when starting eovim

I compiled cleanly with
rm -rf build
./scripts/get-msgpack.sh
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

After installing and starting, I get the following:
ERR<6612>:eo lib/eo/eo.c:574 _efl_object_call_resolve() in lib/edje/edje_object.eo.c:102: func 'edje_obj_signal_emit' (1057) could not be resolved for class 'Elm.Layout'.
## Copy & Paste the below (until EOF) into a terminal, then hit Enter

eina_btlog << EOF
/lib64/libeina.so.1	 0x7fbda62b66cc 0x7fbda628f000
/lib64/libeina.so.1	 0x7fbda62b73f1 0x7fbda628f000
/lib64/libeina.so.1	 0x7fbda62b87c3 0x7fbda628f000
/lib64/libeo.so.1	 0x7fbda0d3804f 0x7fbda0d2e000
/lib64/libedje.so.1	 0x7fbda5998883 0x7fbda58ea000
fish: “eovim” terminated by signal SIGSEGV (Address boundary error)

Due to the segfault, the btlog seems to be incomplete:
/lib64/libeina.so.1| /usr/src/debug/efl-1.20.5-1.fc27.x86_64/src/lib/eina/eina_log.c      : 2055 @ eina_log_print_cb_journald()
/lib64/libeina.so.1| /usr/src/debug/efl-1.20.5-1.fc27.x86_64/src/lib/eina/eina_log.c      : 1456 @ eina_log_print_cb_stdout()
/lib64/libeina.so.1| /usr/src/debug/efl-1.20.5-1.fc27.x86_64/src/lib/eina/eina_log.c      : 2260 @ eina_log_print()
/lib64/libeo.so.1  |   /usr/src/debug/efl-1.20.5-1.fc27.x86_64/src/lib/eo/eo.c            :  583 @ _efl_object_call_resolve()
/lib64/libedje.so.1| /usr/src/debug/efl-1.20.5-1.fc27.x86_64/src/lib/edje/edje_object.eo.c:  102 @ edje_obj_signal_emit()

Running Fedora 27, so I have quite a recent version of the libs:
edje_cc --version
Version: 1.20.5

It does start if I use env EINA_LOG_BACKTRACE=0 eovim, but then I have what seems to be the commandline opened and floating above my window all the time.
I also peeked at the coredump, hope it helps:
(gdb) bt full
#0  0x00007f607341fcd2 in _eina_debug_dump_fhandle_bt (f=0x7f6071a3f660 <_IO_2_1_stderr_>, bt=bt@entry=0x7fff118c9f00, btlen=<optimized out>)
    at lib/eina/eina_debug_bt.c:70
        i = <optimized out>
        info = {dli_fname = 0x0, dli_fbase = 0x400000, dli_sname = 0x404a89 "gui_cmdline_hide", dli_saddr = 0x40af10 <gui_cmdline_hide>}
        file = 0x0
        offset = 0
        base = 0
#1  0x00007f607342e6d9 in eina_log_print_cb_stderr (args=<optimized out>, data=<optimized out>, fmt=<optimized out>, line=<optimized out>, fnc=<optimized out>, file=<optimized out>, level=<optimized out>, d=<optimized out>) at lib/eina/eina_log.c:2055
        bt =
          {0x7f607342e6cc <eina_log_print_cb_stderr+76>, 0x7f607342f3f1 <eina_log_print_unlocked+193>, 0x7f60734307c3 <eina_log_print+227>, 0x7f606deb004f <_efl_object_call_resolve+271>, 0x7f6072b10883 <edje_obj_signal_emit+131>, 0x40af27 <gui_cmdline_hide+23>, 0x40b4bc <gui_add+924>, 0x408d0d <nvim_new+749>, 0x407e6f <elm_main+687>, 0x407acc <main+44>, 0x7f607168200a <__libc_start_main+234>, 0x407b0a <_start+42>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7f6071f1364f, 0x7fff118ca530, 0x7fff118ca6c0, 0x11, 0x7fff118ca540, 0x7f6071a3b120 <_IO_strn_jumps>, 0x7f60716b4eda <vfprintf+1562>, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5a7374f31186c200, 0x7f60734682a0, 0x7fff118ca590, 0x7fff118ca5a0, 0x7f606debb093, 0x7f6071a3f660 <_IO_2_1_stderr_>, 0x7f60716b4c56 <vfprintf+918>, 0x7f6072b2ffa5, 0x7f6073442ddb <eina_str_split_full_helper+395>, 0x0, 0x0, 0x1, 0x7f605496207e, 0x7f6071f1365a, 0x0, 0xd68, 0x7f6071f1365b, 0x7f6071f13653, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5a7374f31186c200, 0x7f606debb828, 0x7fff118ca6d0, 0x7fff118cafd0, 0x7fff118cafd0, 0x7f6071a3f660 <_IO_2_1_stderr_>, 0x7f60716b4c56 <vfprintf+918>, 0x0 <repeats 21 times>, 0x2, 0x0, 0x2, 0x0 <repeats 52 times>, 0x14, 0x7f6054960a42, 0x2671d00, 0x7f60716f763a <strdup+26>, 0x7f6054960a55, 0x7f6054960a55, 0x7f6072b2ffa5, 0x7f6073442ddb <eina_str_split_full_helper+395>, 0x14, 0x7f6000000000, 0x1, 0x7f6054960a42, 0x7f6071eeaa15, 0x7f6071eeaa15, 0x7f6072b2ffa5, 0x7f6073442ddb <eina_str_split_full_helper+395>, 0x0, 0x0, 0x1, 0x7f6071eeaa02, 0x0 <repeats 31 times>, 0x5a7374f31186c200, 0x0, 0x7f6071a3f660 <_IO_2_1_stderr_>, 0x7f6071a3f660 <_IO_2_1_stderr_>, 0x7f606debb093, 0x23e, 0x7f606debc190 <__FUNCTION__.15276>, 0x1, 0x7f6071789206 <__fprintf_chk+262>, 0x3000000030, 0x7fff118ca6b0, 0x7fff118ca5c0, 0x5a7374f31186c200, 0x0, 0x0, 0x0, 0x7f6073468240, 0x7f6073468b09, 0x1f00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7f6071767940 <write+96>, 0x0, 0x1, 0x0, 0x1, 0x7f6071a3f6e3 <_IO_2_1_stderr_+131>, 0x7f60716e43fd <_IO_new_file_write+45>, 0x7f6071a3f660 <_IO_2_1_stderr_>, 0xd68, 0x1, 0x7f6071a3f6e3 <_IO_2_1_stderr_+131>, 0x7f6071a3b420 <__GI__IO_file_jumps>, 0x7f60716e6171 <__GI__IO_do_write+177>, 0x2092990, 0x7f6071a3f660 <_IO_2_1_stderr_>, 0xa, 0x7f606debb828, 0x7fff118cafd0, 0x7f606debb828, 0x23e, 0x7f60716e6623 <__GI__IO_file_overflow+259>, 0x7f6071a3f660 <_IO_2_1_stderr_>, 0x1, 0x7f606debb828, 0x7f60716e168b <putc+283>, 0x61e800 <stderr@@GLIBC_2.2.5>, 0x7f607342e772 <eina_log_print_cb_stderr+82>}
        btlen = <optimized out>
#2  0x00007f607342f3f1 in eina_log_print_unlocked (domain=31, level=EINA_LOG_LEVEL_ERR, file=0x7f606debb093 "lib/eo/eo.c", fnc=0x7f606debc190 <__FUNCTION__.15276> "_efl_object_call_resolve", line=<optimized out>, fmt=0x7f606debb828 "in %s:%d: func '%s' (%d) could not be resolved for class '%s'.", args=0x7fff118cafd0) at lib/eina/eina_log.c:1454
        d = <optimized out>
#3  0x00007f60734307c3 in eina_log_print (domain=31, level=level@entry=EINA_LOG_LEVEL_ERR, file=file@entry=0x7f606debb093 "lib/eo/eo.c", fnc=fnc@entry=0x7f606debc190 <__FUNCTION__.15276> "_efl_object_call_resolve", line=574, fmt=0x7f606debb828 "in %s:%d: func '%s' (%d) could not be resolved for class '%s'.")
    at lib/eina/eina_log.c:2259
        args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fff118cb108, reg_save_area = 0x7fff118caff0}}
#4  0x00007f606deb004f in _efl_object_call_resolve (eo_id=eo_id@entry=0x80000004c7d2c34c, func_name=func_name@entry=0x7f6072b36ed2 "edje_obj_signal_emit", call=call@entry=0x7fff118cb180, cache=0x7f60738379e0, file=file@entry=0x7f6072b36c3c "lib/edje/edje_object.eo.c", line=line@entry=102) at lib/eo/eo.c:583
        klass = <optimized out>
        inputklass = <optimized out>
        main_klass = <optimized out>
        cur_klass = <optimized out>
        obj = <optimized out>
        vtable = <optimized out>
        func = <optimized out>
        is_obj = 1 '\001'
        is_override = <optimized out>
        super = <optimized out>
        __FUNCTION__ = "_efl_object_call_resolve"
#5  0x00007f6072b10883 in edje_obj_signal_emit (obj=0x80000004c7d2c34c, emission=0x417014 "eovim,cmdline,hide", source=0x415914 "eovim")
    at lib/edje/edje_object.eo.c:102
        ___cache = {index = {{klass = 0x2254f70}}, entry = {{func = 0x22570f0}}, off = {{off = 576}}, op = 1057, generation = 1}
        ___call =
          {eo_id = 0x80000004c7d2c34c, obj = 0x24dcaa0, func = 0x800000021fd2c2f7, data = 0x7f606e0e42b9 <efl_gfx_visible_set+153>, extn1 = 0x8000000a8fd2c405, extn2 = 0x265fd20, extn3 = 0x7f6071eb1c20 <_elm_widget_efl_gfx_visible_set>, extn4 = 0x265ff50}
        _func_ = <optimized out>
#6  0x000000000040af27 in gui_cmdline_hide ()
#7  0x000000000040b4bc in gui_add ()
#8  0x0000000000408d0d in nvim_new ()
#9  0x0000000000407e6f in elm_main ()
#10 0x0000000000407acc in main ()

Hi, thanks for reporting the problem.
For the segfault, I'm afraid you have hit the same problem as in #16: there was a bug in the EFL backtrace that is in master and has not been released yet :/ So while waiting for a new release, I'm afraid you need to set EINA_LOG_BACKTRACE to 0 (or -1 to disable backtrace upon, critical errors) as you did, to prevent the segfault.
The source of issue seems to be my fault. I have no error with the master branch of EFL, but it seems I'm using the wrong API, and as such hitting an undefined behavior. I've push a patch that I hope fixes the issue.

Now that error is gone, thanks. I still get an error because I'm running neovim 0.2.0, but at least the "floating command line" is gone, yay 👍

Nice :)
Since the EFL backtrace bug is going to hit others, I've came up with a workaround that I pushed in the branch devs/jean/bt-fixup. Since I don't have a stable release of EFL (I'm working on the EFL master), could you please try to apply this patch. You should not need to manually unset EINA_LOG_BACKTRACE after applying it.
Thanks.

Yep, works like a charm. Thanks!


solutions page layout: description and tests aren't readable

The new layout made the destails/description and the tests completely unreadable, from the solutions page:

oops ;o
(FF, on desktop, while my screen is 2560 pix wide...)

Also, the test window doesn't scroll with the keyboard, only with the scroll bar on the bottom. If there are enough tests that it is impossible to have the top of the tests and the scroll bar in view at the same time, you're fscked; you can't see what's out of sight to the right of the margin. ( Unless you scroll down, then right, then back up. Nope. )

Move them above the solutions similar to the discussions page.
Can you guys explain how/when you've been using this on the solutions page so we can understand the use case better?

One use is after solving a Beta kata: looking at the tests to see if there are random tests, what the reference solution looks like, what the organisation of tests is, &c &c.

Ok, thanks.

One use is after solving a Beta kata:

Yeah, that's what I used to use it for. Having it on Solutions page is just convenient since you land there after completing. Having it on Discours page is also useful to reference while writing comments. This is why I didn't really want to do a dialog that takes over the page.

I could do that from Discourse instead of Solutions, but sometimes Discourse is long, and slooow.

Yeah, good point. It's still slow for older kata with many comments. You can also view from solution group page, but that requires clicking "Link" on the solutions page.
I think the fix is good enough for now.


Add text format parser

Zmon has written a partial implementation, we should provide one out of the box.

This is done and released, Zmon/Zalando are using it.


Some fixes to the existing code repo

After running the training and evaluations the following three issues were found:

Freeimage installation is required for A100 and V100 training, specifically for training on Synthia.
The base file configurations should be added to the evaluation command line.
The path of the Vkitti2 dataset for replacing classSegmentation and Depth were incorrect.

Thanks a lot for your cool work!

Hi @Debby123, thank you for your interest in our project and feedback.
I have reviewed your PR. It seems there are issues while parsing the file which ultimately prevents from viewing diffs (see here).
Here are some details to answer your suggestions:

About freeimage, I did not encounter this requirement, even when training on a V100. Did your execution throw an explicit dependency error? Since this is not cross-platform, I prefer not making it a project dependency and leaving it up to the user.

I have added the base config in the README evaluation (see commit).

The root is not supposed to appear in the replace statement, it was meant to fix a local dataset issue. VKITTI2_DIR is a dataset key defined in env_config.yml pointing to the root, not the actual root of the dataset. I fixed it for the appropriate dataset structure as described in the README. The two functions are now written as:

    def get_segmentation_path(self, index):
        return self.files[index]['name'] \
            .replace('rgb/Camera_0/rgb_', 'classSegmentation/Camera_0/classgt_') \
            .replace('.jpg', '.png')

    def get_depth_path(self, index):
        return self.files[index]['name'] \
            .replace('rgb', 'depth') \
            .replace('.jpg', '.png')

About freeimage: fair enough!
ReadMe: okay
vkitti2.py: okay

Thanks for looking into this.