Pre-compile shader assets

Currently, shaders are compiled to the application's temporary folder at first launch. But this can cause a long pause on the very first run: not great for first impressions!
Since shaders are StereoKit specific creations anyhow, not generic assets, it would be fine to just pre-compile them, and use the compiled shader as the final asset. This could be a command-line utility executed through something like the documentation tool, or a standalone tool/IDE for building shaders that outputs a compiled file. Command-line may be a good stop-gap until a shader editor can be built.
This should also consider multi-platform rendering, so a pre-compiled shader asset should contain binary data for DirectX as well as OpenGL or Vulkan, whatever we settle on for rendering on non-windows platforms. Doesn't need to be in until we have multi-platform rendering, but it's good to consider when writing it.

Added a pre-compiled shader format that contains shader metadata as well as the ability to contain multiple shader binary blobs for different platforms!
Also added a command-line tool for compiling shaders. Has a few options, and it works well enough for now.
After using this with the default shaders, this cuts down load time dramatically :) Mission accomplished!
This commit was the most recent update for the feature:
c38bfdf0a8bcafba08ac9966e10121156fee621c


Feature: Change redeem collaterals policy

Codecov Report

Merging #129 (b7dd8e6) into master (f239014) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master    #129   +/-   ##
======================================
  Coverage    5.28%   5.28%
======================================
  Files         511     511
  Lines       10617   10611    -6
  Branches     2815    2811    -4
======================================
  Hits          561     561
+ Misses      10056   10050    -6

Impacted Files
Coverage Δ

app/src/pages/borrow/components/LTVGraph/index.tsx
0.00% <0.00%> (ø)

...pp/src/pages/borrow/components/useBorrowDialog.tsx
0.00% <ø> (ø)

...s/borrow/components/useProvideCollateralDialog.tsx
0.00% <ø> (ø)

...es/borrow/components/useRedeemCollateralDialog.tsx
0.00% <0.00%> (ø)

app/src/pages/borrow/components/useRepayDialog.tsx
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Unexpected EOF processing raster data

ERROR: generating texture: image.Decode: unexpected EOF

This is encountered with some tiles of the VectorMap District data, due to some issue in the golang.org/x/tiff package.
See: https://github.com/golang/go/issues/30827#issuecomment-774469551
I could vendor that fix into this package, or perhaps find a different tiff package to use.

Hello,I have a question.
If i don't want to change the package how can I do?
Or is there any other different tiff package to use.

Which package don't you want to modify?
I think it should be possible to replace the _ "golang.org/x/image/tiff" line in osdata/raster/raster.go with any other library which registers a handler for TIFF files with the standard Go image package.
This one might do it: https://github.com/chai2010/tiff


tests: net: socketpair: clean up tests and provide coverage for all libcs

No actual changes to test functionality, just general improvements for clarity and coverage. Please see individual commit messages for details

tests: net: socketpair: remove unused extern declarations
tests: net: socketpair: remove test_socketpair_ prefix
tests: net: socketpair: rename files to be less redundant
tests: net: socketpair: put common includes in one header
tests: net: socketpair: use do not alias read and write
tests: net: socketpair: coverage for all C libraries
tests: net: socketpair: skip nonblock tests for POSIX arch

@rlubos - should be ready. For POSIX arch, will need to create a ticket to fix fcntl with socketpair and there is a conflicting def for gethostname on POSIX arch as well.


Capybara PhantomJs and Angularjs

Hi,
I am trying to integrate cucumber with third party angularJs application and I don't  have access to the angularjs code.
I have tried installing capybara-ng,capybara/angular gems and have even included include Capybara::Angular::DSL in the specs folder and in the support folder but still I am not able to get all the HTML elements located on that page due to which my tests are failing.
I am using the below versions:
Ruby -2.0.3
Phantomjs - 2.0.0 windows
jRuby - 1.7.12
Any help is much appreciated.

Thank you for submitting this ticket!
This issue tracker primarily serves as the tool to report and track bugs, defects, and development tasks.
For the general question, code review request, build problem, or other related discussion, please post it to either:

the official PhantomJS users mailing-list
Stack Overflow (with phantomjs tag)

If you have not read it yet, please check also a few tips on Effective Q&A.


Added Introduction to NumPy

Added a page to the wiki containing an introduction to the Python library NumPy, which provides a memory-efficient and flexible array data type to store values in n-dimensional collections. The introduction goes over how to include NumPy in Python projects, how arrays are created and how they work, how to use 2+ dimensional arrays, and various operations that can be conducted on/between arrays.

I also considered what you said about it being a Python library, but I am not sure how I could mention it naturally, especially considering that there is no Python page on the wiki (as far as I currently know). Additionally, I added '1' to the end of the table of contents endpoints as part of the convention set by other md files already present on the wiki.
Thank you for your input regarding the use case, including the import statements, and typos. I will make changes to address these comments shortly.


Unify the rules in the implementation and in the paper

Rewrite rules

[ ] NF condition in R_DOT and R_COPY

https://github.com/objectionary/normalizer/pull/449
https://github.com/yegor256/phi-paper/pull/45

[x] https://github.com/objectionary/normalizer/issues/448

[ ] https://github.com/yegor256/phi-paper/pull/46
[ ] https://github.com/objectionary/normalizer/pull/468

[x] ξ-dispatch
[x] R_COPY
[X] R_COPY_EMPTY
[X] R_φ
[X] R_OVER
[X] R_MISS
[X] R_STOP
[X] R_DD
[X] R_DC

Dataization

[ ] Unify dataization.
The implementation and the description of the dataization in the paper are quite different in the structure, but they behave in a same way. I wonder how can I prove that? ?
[ ] https://github.com/yegor256/phi-paper/issues/43 – termination issues caused by Φ-dispatch and R_COPY.

[ ] https://github.com/yegor256/phi-paper/pull/47 – what to consider nf in dataization
[ ] https://github.com/yegor256/phi-paper/pull/48 – morph lambda before normalization

Other issues

[ ] address the failing tests (?)
[ ] Other ideas where to look for problems:

[ ] Can I do .ρ but there's no ρ and there is φ, and then R_φ is applied and we get something unexpected
[ ] About morphing lambda whenever it's possible. What if we start normalization when it's not possible to morph lambda, then do something and lambda appears and after that normalization doesn't terminate

Closing this issue because it's about the old version of rules.


fix(menu): close when click on menu button

Correctly close the menu when open when clicking on the menu button
again.

Would be great to have a cypress test for this issue as well 😃

Add Fixes #48 somewhere?

LGTM


Fixed #27834 -- Added StrIndex database function.

https://code.djangoproject.com/ticket/27834

Looks mostly good to me. A few questions.

What happens if the first argument on mysql is some kind of multibyte unicode and so is the search string? Does the binary have any effect there?

Have you tested with TextField? I guess there's no support from MySQL or Oracle since they use LOBs. Have we documented TextField limitations with other string based db functions? If we haven't already, then it's fine to ignore for this patch.

I added a test with TextField, looks good on those DBs. Will investigate the multibyte / unicode thing this evening.

In the Oracle database we have five different functions INSTR, INSTRB, INSTRC, INSTR2, INSTR4 that search a string for a substring. Maybe we should add test for unicode strings  e.g.
    def test_strindex_unicode(self):
        Author.objects.create(name='ツリー')
        Author.objects.create(name='皇帝')
        Author.objects.create(name='皇帝 ツリー')
        authors = Author.objects.annotate(fullstop=StrIndex('name', 'リ'))
        self.assertQuerysetEqual(
            authors.order_by('name'),
            [2, 0, 5],
            lambda a: a.fullstop
        )

to make sure that everything works fine.

According to this this bug, MySQL INSTR() won't allow accurate case-sensitivity and multibyte string comparisons. Just added the unicode test and I'm assuming it'll fail on MySQL. Any ideas? Or do I just add a warning in the docs?

@bradmerlin what are the options here for mysql? Perhaps we can land on the least worst solution. @adamchainz any mysql insights?

Without any new information, we have two choices: either don't support case sensitivity, or don't support multibyte strings. Supporting multibyte strings strikes me as the more important of the two.

Afraid I don't know any magic workarounds.
I'd be in favour of supporting multibyte strings over case sensitivity, MySQL is case insensitive by default anyway.

I added a commit with some edits, could you check it?

From https://docs.djangoproject.com/en/dev/ref/models/expressions/#django.db.models.Func:

Positional arguments can be expressions or Python values. Strings are assumed to be column references and will be wrapped in F() expressions while other values will be wrapped in Value() expressions.

In the current implementationStrIndex handles the second arg differently (it's wrapped in Value, but not F), isn't the mentioned behavior implied for all Func subclasses?

Can the second argument of the INSTR SQL function be a column name? If so, I guess it may make sense to make the change you suggest.

Yes it can, that's standard SQL. Makes sense to me to make the change for consistency, though it makes the most common case a little annoying because one has to write InStr('field_name', Value('needle'))

FWIW I think that if an API makes more sense without defaulting strings to F expressions, then that's fine, as long as the difference is documented in some way. Strings are assumed to be F expressions only because that's what the common case usually calls for, and it was backwards compatible.
I wonder if it would be worth defining a class property that _parse_expressions uses to wrap non-expressions, rather than having subclasses all implementing the same pattern over and over. It'd also let us document overrides in a standard way.

FWIW I think that if an API makes more sense without defaulting strings to F expressions, then that's fine, as long as the difference is documented in some way.

@jarshwah the thing I dislike about this approach is that users have to hit the documentation/source to figure out if it was decided a specific API defaulted to wrapping strings in F() or not. Being consistent about the need to wrap strings values in V() makes it a better user experience IMHO.

I'm in favour of being consistent too.


dl.bintray.com 403 forbidden

Operating System: Ubuntu 20.04
When I run
./etc/DependencyInstaller.sh -dev

I got the following message:
--2021-05-06 10:21:44--  https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz
Resolving dl.bintray.com (dl.bintray.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to dl.bintray.com (dl.bintray.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-05-06 10:21:45 ERROR 403: Forbidden.

It seems that this website is down.
After I run
cmake ..

I got the following message
-- OpenROAD version: 1
-- OpenROAD git sha: fca18d9c7f54f67a79d05c7958def4068b0255db
-- System name: Linux
-- Compiler: GNU 9.3.0
-- Build type: RELEASE
-- Install prefix: /usr/local
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- TCL readline library: /usr/lib/x86_64-linux-gnu/libtclreadline.so
-- TCL readline header: /usr/include/x86_64-linux-gnu
CMake Error at /usr/local/share/cmake-3.14/Modules/FindBoost.cmake:2132 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  src/CMakeLists.txt:71 (find_package)

CMake Error at src/CMakeLists.txt:109 (find_package):
  By not providing "Findspdlog.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "spdlog", but
  CMake did not find one.

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

    spdlogConfig.cmake
    spdlog-config.cmake

  Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
  "spdlog_DIR" to a directory containing one of the above files.  If "spdlog"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
See also "/home/tyww/Desktop/OpenROAD/build/CMakeFiles/CMakeOutput.log".

Is there a way to properly install all the dependencies? Thank you.

You have an old version, this is already fixed, see
https://github.com/The-OpenROAD-Project/OpenROAD/blob/2d4e8c5d8d3422dfb8888013e7a088b2a445df03/etc/DependencyInstaller.sh#L39

Thank you for your response!
After I tried the new version, I still cannot install the boost library.
./bootstrap.sh: 1: ./tools/build/src/engine/build.sh: not found
Building Boost.Build engine with toolset ...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details

It turns out that the ./tool/build is an empty directory. I tried to fix this problem by downloading the build directory and rebuild the boost. Then I found that many of the other directories for building the boost is empty.
I wonder what should I do with this problem? Thank you!

We build our docker containers this way so I am not sure what is different in your setup.  @vvbandeira any thoughts on this?

I got the following error when running sudo ./etc/DependencyInstaller.sh -dev
./etc/DependencyInstaller.sh: line 41: cd: boost-1.72.0: Not a directory

Then when I run cmake .. I got
-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OpenROAD version: 1
-- OpenROAD git sha: 130274741ed9d0731cb08828665e8c722a6af630
-- System name: Linux
-- Compiler: GNU 9.3.0
-- Build type: RELEASE
-- Install prefix: /usr/local
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- TCL readline library: /usr/lib/x86_64-linux-gnu/libtclreadline.so
-- TCL readline header: /usr/include/x86_64-linux-gnu
-- Found SWIG: /usr/bin/swig (found suitable version "4.0.1", minimum required is "3.0")
CMake Error at /usr/local/share/cmake-3.14/Modules/FindBoost.cmake:2132 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  src/CMakeLists.txt:70 (find_package)

-- Found Python3: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.5") found components:  Development
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
CMake Error at src/CMakeLists.txt:107 (find_package):
  By not providing "Findspdlog.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "spdlog", but
  CMake did not find one.

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

    spdlogConfig.cmake
    spdlog-config.cmake

  Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
  "spdlog_DIR" to a directory containing one of the above files.  If "spdlog"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!

Not sure what should I do with it.

Clearly boost didn't get installed so that's why cmake fails.
I tried the steps manually and I see something is odd.
% wget https://github.com/boostorg/boost/archive/refs/tags/boost-1.72.0.tar.gz -o boost-1.72.0
% tar -xf boost-1.72.0.tar.gz
% ls
boost-1.72.0  boost-1.72.0.tar.gz  boost-boost-1.72.0/
The subdirectory is boost-boost-1.72.0 not boost-1.72.0 which is why cd fails.  @vvbandeira any ideas what has changed?  I assume you ran this to build the docker image.

I think this could be related to the recent change to where we download the tar file. I will take a look.

@Jenny-Tan can you try again with latest master branch? I just merged a possible fix with #676

I just did it. The boost library is now found but there are still errors.
-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OpenROAD version: 1
-- OpenROAD git sha: 223c78e86234fd3671c600c87187632ca1cf83a7
-- System name: Linux
-- Compiler: GNU 9.3.0
-- Build type: RELEASE
-- Install prefix: /usr/local
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- TCL readline library: /usr/lib/x86_64-linux-gnu/libtclreadline.so
-- TCL readline header: /usr/include/x86_64-linux-gnu
-- Found SWIG: /usr/bin/swig (found suitable version "4.0.1", minimum required is "3.0")
-- Boost  found.
-- Found Python3: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.5") found components:  Development
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
CMake Error at src/CMakeLists.txt:107 (find_package):
  By not providing "Findspdlog.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "spdlog", but
  CMake did not find one.

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

    spdlogConfig.cmake
    spdlog-config.cmake

  Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
  "spdlog_DIR" to a directory containing one of the above files.  If "spdlog"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!

Should I manually install spdlog?

Yes try it manually.  In general it would be helpful to have a log of when you ran DependencyInstaller.sh so we could see what happened.

@Jenny-Tan were you able to install and build? If so, please close the issue.

Closing due to inactivity, also the initial issue was fixed.


Get sql server key add 2016 support

Fixes #215
Changes proposed in this pull request:

Add one liner to support 2016 paths and messages.
Added simple debug statement to verify my assumptions

How to test this code:

This is a minimal bug fix, but you should now be able to Get-SqlServerKey Sql2016 | select "Product Key" on SQL 2016 instances.

Hell yes this works well! Thanks bud!


ModuleNotFoundError when python ./scripts/dream.py or python scripts/dream_web.py

During "python ./scripts/dream.py" or python scripts/dream_web.py, the fallowing ModuleNotFoundError occurred
(ldm) red@yellow:/mnt/c/stable-diffusion$  python ./scripts/dream.py
Traceback (most recent call last):
  File "./scripts/dream.py", line 10, in <module>
    import ldm.dream.readline
ModuleNotFoundError: No module named 'ldm'

(ldm) red@yellow:/mnt/c/stable-diffusion$ python scripts/dream_web.py
Loading model...
Traceback (most recent call last):
  File "scripts/dream_web.py", line 9, in <module>
    from ldm.simplet2i import T2I
ModuleNotFoundError: No module named 'ldm'

WSL and Windows produced the same error in a conda built environment. The model.ckpt placed in "stable-diffusion\models\ldm\stable-diffusion-v1".

The issue resolve by recreate conda environment

I encountered the same issue. It will be kind to add the following instruction to README.md or FAQ.
If you reuse the ldm environment of CompVis/stable-diffusion by installing additional requirements, don't forget to run
pip uninstall latent-diffusion  # uninstall CompVis/stable-diffusion
pip install -e .  # install lstein/stable-diffusion


welcome example is not working

Type of issue
Code doesn't work
Description
Well, finally i found the newest documentation ( version 8 ) and it is still not working from the start:
in the function 'OnConfiguring' you use the 'optionsBuilder**.UseSqlServer**( ...' .
-> There is no '.UseSqlServer' to be found.
And there is the questions why do you use properties?
Page URL
https://learn.microsoft.com/de-de/ef/core/
Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/index.md
Document Version Independent Id
f4681bc6-57be-6e69-cad9-776ce64d93bd
Article author
@ajcvickers

Have you tried Getting Started with EF Core

Well, sure i am still learning it. And that means i am now with 'Creating a model -> keys'. But my intitial request is about what you read first at the top.
I can explain that it is very frustrating to find working examples. If you search for it EF 6 has the most weight in the search engines and you happen to be catched in a loop with Visual Studio claiming that data sources are not supported. You click the link and find a tutorial starting the same not working ways again.
Thats why i was happy to find this documention finally via the link from the NuGet package.
But the documentation is not correct and seems to be done in very fast ways just to push it into the newest shape without testing.
It's always only a litte bit that's missing, like first example a few lines about the to be installed NuGet packages ( '.UseSQLServer' ).
That carries on to ... example: tutorial with WPF, where the screenshots are from 2019 and it is about EF 8. While it seems to work, the program is not taking numbers/producing them  for the second list ( products -> ProductID ). You should be the one being better in knowing why not - i could guess its about foreign keys are made read-only in the tables?
Lastly i really wonder about the use of properties - for me you only need them if you leave C# for example if you use XAML. But where do you leave C# here? Is it the parsing into SQL from EF? I read that you watch out for properties in the data classes to migrate them into the tables automaticly - but this is the doing of EF and why have i to use properties?
i hope you don't feel offended - this wasn't my wish

@MarcTolkmitt The doc page your commenting on is supposed to tell you what EF Core is not how to use it. The page that tells you what packages to install, etc. is the "Getting Started" page.


[Suggestion]: Compatibility with Immersive Portals and more

Suggestion (Required)
I would appreciate adding compatibility so that the portal block of Immersive Portals generates the green air bubble in the Nether. It would also be helpful to have a green bubble for the End portal and its Immersive Portals counterpart. An configuration file to add other blocks to the bubble generation would be appreciated for modified environments.

Air quality provider blocks are now controlled via block tags. You yourself can now add Immersive Portals' blocks to the thinair:green_air_providers block tag for them to be supported. If you share the corresponding block ids here I can add them to the mod by default.


Prototype single repo

Scala & Extension in harmony

I like this idea, especially because it lessens the requirements for releasing new versions of either the backend or frontend: they would be the same thing. It would also remove the "choose a backend version" dialog on launch.

It would indeed eliminate the need to pick a different DAP backend, but it would be nice to keep the ability to run against multiple versions of Daffodil from a single extension.
The "choose a backend" dialog might become a choose a version of Daffodil dialog.

I think Mike and Steve would appreciate that option.  "Choose the version of Daffodil..."

To support multiple Daffodil versions in the debugger, assuming Daffodil binary compatibility, we would need to:

Mark the Daffodil dependencies as provided. This would compile the debugger against the libraries, but not include them in the artifact. The current dependencies are "org.apache.daffodil" %% "daffodil-sapi" % daffodilVer and   "org.apache.daffodil" %% "daffodil-runtime1" % daffodilVer.
Download (and cache) Daffodil releases, for example, https://www.apache.org/dyn/closer.lua/daffodil/3.1.0/bin/apache-daffodil-3.1.0-bin.tgz. These releases must include Daffodil and all transitive dependencies needed by Daffodil. Unpack somewhere.

What I don't know is how to add the Daffodil dependencies to the classpath of the packaged debugger. Looking at the da-podil script, the classpath is hard-coded and doesn't seem to be able to be modified.

What I don't know is how to add the Daffodil dependencies to the classpath of the packaged debugger. Looking at the da-podil script, the classpath is hard-coded and doesn't seem to be able to be modified.

To "link" multiple artifacts at runtime is a tough coordination problem, and the tooling discourages it. So I think to support multiple Daffodil versions, we'll need to release multiple debugger artifacts for each debugger release.

I was thinking of https://www.scala-sbt.org/1.x/docs/Howto-Customizing-Paths.html#Change+the+default+(unmanaged)+library+directory we we originally discussed this.

So I think to support multiple Daffodil versions, we'll need to release multiple debugger artifacts for each debugger release.

This scales fine for 0.1.0.

I was thinking of https://www.scala-sbt.org/1.x/docs/Howto-Customizing-Paths.html#Change+the+default+(unmanaged)+library+directory we we originally discussed this.

I believe that only applies to the build process, but when you package using sbt-native-packager, all the libraries need to be present so they are included in the artifact. The artifact it builds can't, afaict, have a classpath that is extended at runtime (choosing the Daffodil version on the user's machine).

Yeah, that was my impression after looking into it this morning.  So I think what you said above is good for our 0.1.0.

The artifact it builds can't, afaict, have a classpath that is extended at runtime (choosing the Daffodil version on the user's machine).

I think one could still build against the Daffodil API as a provided artifact, exclude it during packaging, and do some post processing of the script that native packager generates to add the version specific path to the classpath.
That's an enhancement in my mind, not required for right now.
Anyway 0.1.0 will still support 100% of the releases possible right now.

Ok, this is super weird: I have no idea what causes the example-daffodil-debug packaging to name the launch script da-podil.sh.
With the Scala code migrated to the example-daffodil-vscode repo, the script name is daffodil-debugger, which corresponds to the configured name of the sbt project (name := "daffodil-debugger").
I suppose this is ok, it's just a mystery for the prior repo.

I'm guessing the prior script naming is because of this:
sbt:daffodil-debugger> show discoveredMainClasses
[info] * ddb.debugger.dapodil.DAPodil
[info] * ddb.debugger.z.main

And somehow DAPodil gets escaped by the packaging plugin to da-podil...?

Yeah, looks like a combination of multiple main methods detected and some camel-to-lower logic.
Looking at this I was surprised the source was merged together.  Was expecting a separate dirs for scala and typescript.
Is this how other extensions do it?

After experimenting with the wrong thing a couple of times, I think the extension changes for a monorepo need to be:

Build actions should additionally build the backend artifact and include it in any releases.
We don't want the user to pick the version of the backend, the backend should be co-released with the extension. So don't query for the tags of the project repository. The backend release artifact is directly resolvable from the version of the extension, i.e., extension 0.0.10 maps to https://github.com/${backend.owner}/${backend.repo}/releases/download/v0.0.10/daffodil-debugger-0.0.10.zip. I'm not sure how to get the extension version into the extension source code, but this seems to be one idea.
In the future, we'll want the user to choose Daffodil versions associated with the specific extension+backend version. To support that, we'd add the Daffodil version to the name of the backend artifact, e.g., daffodfil-debugger-3.1.0-0.0.10.zip vs. daffodfil-debugger-3.2.0-0.0.10.zip, etc.

closed by #76


gh-40 Increase test coverage for media and geolocation modules

Coverage increased (+2.4%) to 86.763% when pulling 10b45cba78ae8e4b1d8919ef548e8478852ae6c1 on geolocation-tests into 6b6b3d366eedaeec753474ce034bbf575bc0d3ac on master.


Investigate the possibility of splitting the logic to startup/shutdown the OCaml runtime to another crate

Related to #34 and the idea @mrmr1993 had (with proof-of-concept in #36).
Will require some synchronization with @zshipko to keep things compatible with ocaml-rs.
From the point of view of things being different when the program is Rust-driven from when the program is OCaml-driven, the split makes sense, because the dependencies and requirements are not the same. When ocaml-interop/ocaml-rs are used to write Rust code that will be called from an OCaml program, the startup and shutdown of the OCaml runtime is already handled by the OCaml program, and doesn't make sense for the Rust code to do it. But when the driving program is a Rust program, it must initialize (and shutdown) the OCaml runtime by itself.
The solution I am thinking about is to remove from ocaml-interop the OCamlRuntime::init_persistent()/init() methods and the implementation of the Drop trait for OCamlRuntime. Then in a new crate, implement a new type that will serve as the handle for the runtime initialization, which will have this Drop implementatios, the init*() methods, and a way to borrow from it a &mut OCamlRuntime.
So this (from the ocaml-interop example in the docs):
fn main() {
    // IMPORTANT: the OCaml runtime has to be initialized first.
    let mut cr = OCamlRuntime::init();
    let first_n = twice(&mut cr, 5);
    let bytes1 = "000000000000000".to_owned();
    let bytes2 = "aaaaaaaaaaaaaaa".to_owned();
    println!("Bytes1 before: {}", bytes1);
    println!("Bytes2 before: {}", bytes2);
    let (result1, result2) = increment_bytes(&mut cr, bytes1, bytes2, first_n);
    println!("Bytes1 after: {}", result1);
    println!("Bytes2 after: {}", result2);
    // `OCamlRuntime`'s `Drop` implementation will perform the necessary cleanup
    // to shutdown the OCaml runtime.
}

will look like this
fn main() {
    // IMPORTANT: the OCaml runtime has to be initialized first.
    let mut cr = ocaml_runtime::OCamlRuntimeInit::start();
    // Assuming we can Deref OCamlRuntimeInit into an OCamlRuntime
    // alternatively a new method will be added to do that.
    let first_n = twice(&mut cr, 5);
    let bytes1 = "000000000000000".to_owned();
    let bytes2 = "aaaaaaaaaaaaaaa".to_owned();
    println!("Bytes1 before: {}", bytes1);
    println!("Bytes2 before: {}", bytes2);
    let (result1, result2) = increment_bytes(&mut cr, bytes1, bytes2, first_n);
    println!("Bytes1 after: {}", result1);
    println!("Bytes2 after: {}", result2);
    // `OCamlRuntimeInit`'s `Drop` implementation will perform the necessary cleanup
    // to shutdown the OCaml runtime.
}

Some things to keep in mind here: https://github.com/tezedge/ocaml-interop/issues/39


Don't append stringified JSON in the error message

Adding the request and response objects in the error message makes it too long and it's redundant because those objects have their own properties.

Hey @nunovieira what do you mean by:

and it's redundant because those objects have their own properties.

Haven't used this in a while!
I guess it's because that object is already created with that data. Further down there's:
    this.response = response
    this.request = request

You already have access to those properties.
Appending request and response to a message just creates noise.


Add capability to include multi-scraped sensor in statistics graph

Is your feature request related to a problem? Please describe.
Currently, scraped sensors are not considered measurements by HA and therefore long-term data are not collected. This means that one cannot make long-term plots on the new statistics graph card. I scrape a whole bunch of numerical data into HA and it would be great to be able to look at long-term trends.
Describe the solution you'd like
It would be great if it were possible to set a property for a sensor such that HA would collect statistics on it, according to the spec here.
Describe alternatives you've considered
Extending the database  is not really an option beyond some 10s of days and is completely unnecessary for most cases.

Yeah, I'm already looking into this after yesterday's 2021.8 release

Hi
I’ve upgraded to 5.3.0dev and have added the state_class attribute to a couple of numerical scrapers but they do not appear in the sensors I can pick for a ststistics plot
state_class: measurement
unit_of_measurement: °C
friendly_name: WU Dejvice Temperature

but maybe you are not ready to announce this yet.

Hi, it works for me:

Could you share your full config?

Same trouble here
-   resource: https://www.bbc.co.uk/weather/2656955
    name: bbc_weather_scrape
    scan_interval: 1800
    sensor:
      - unique_id: multiscrape_test
        name: multiscrape_test
        select: "#daylink-13 > div:nth-child(4) > div:nth-child(1) > div:nth-child(1) > div:nth-child(4) > div:nth-child(1) > div:nth-child(1) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1)"
        state_class: measurement
        unit_of_measurement: '°C'

It works when you add a device_class:
- resource: https://www.bbc.co.uk/weather/2656955
    name: bbc_weather_scrape
    scan_interval: 1800
    sensor:
      - unique_id: multiscrape_test
        name: multiscrape_test
        select: "#daylink-13 > div:nth-child(4) > div:nth-child(1) > div:nth-child(1) > div:nth-child(4) > div:nth-child(1) > div:nth-child(1) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1)"
        state_class: measurement
        device_class: temperature
        unit_of_measurement: '°C'
        value_template: '{{ (value.split("°")[0]) }}'

I didn't know that was a requirement and I think it's a bit strange, but that's a question for home assistant core.

Thanks @danieldotnl that has now got it appearing as a selectable statistic, however when I select it it says no statistics found. Am I missing a step? I even tried adding it to my config.yaml as per https://www.home-assistant.io/integrations/statistics/

No, adding it to your config.yaml shouldn't be necessary. I believe the statistics are calculated hourly, so you should wait at least an hour before it's populated.
But great to hear that it works for you now. I'll close the issue.


When forking solution, after save, but before publish, Kata is lost?

When creating a fork of a Kata solution, and saving it (but not yet published), I cannot seem to retrieve the edited fork after I have closed the tab. How to retrieve?

I am always careful when translating a Kata to be sure to publish it in the same sitting... because I think I once had same scenario you described where I saved several hours translating work (but did not yet publish it), and then could not find my way back to it...

Actually, for these saved translation can be retrieved from the 'Drafts' section of the translations on your Profile page. I'm looking for something similar to Kata forks.

Found the answer; under your solution, select 'fork', from there a special 'Draft' section show the draft versions.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target-new/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target-new.git

Docs Build status updates of commit 0c2d56e:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-20-10-46-14 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-20-10-46-14

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Menu goes outside when closer to edges.

Need to fix the display point calculation.

http://stackoverflow.com/questions/1841124/find-the-potential-width-of-a-hidden-element

The width of an element that has CSS visibility: hidden is measurable

Possible solution
.context-menu > .dropdown-menu {
    display: block;
    visibility: hidden;
}

.context-menu.open > .dropdown-menu {
    visibility: visible;
}

fixed in #6


Release new version for #688

CVE-2021-27568 is fixed through #688  but new version is not yet released

Fixed in 2.6.0


[cherry-pick][branch-3.1][Enhancement] Use consistent hash as hdfs backend selector default strategy (#27985)

Use consistent hash as hdfs backend selector default strategy, do not depend on be be num which may cause lots of cache miss when scale out/in
add profile for scan node about scan bytes/ rebalance bytes
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 35 / 36 (97.22%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/ScanNode.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/common/util/ConsistentHashRing.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/system/ComputeNode.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
25
25
100.00%
[]


general Xcode/tool problems affecting the whole server

If there are Xcode or other tool issues that are impacting the server as a whole, we need to figure out the best way to notify people

[ ] Dashboard banner?
[ ] Pager-duty?
[ ] Github Issue creation?
[ ] Attempt to fix common problems (xcode-install)?

I think email would probably the most generic, most common one we could start with. And then we can go from there. And agreed, the first integration (e.g. email) should already be built in a way to allow developers to hook in their own systems, maybe just allowing running a shell script in the beginning

I was even thinking, just for a MVP of this issue, persisting the notifications somewhere and getting a dashboard banner that you can acknowledge/dismiss

Yeah, that's a great idea 👍 Sending emails is still a pain nowadays, so your approach might be the best one to get started with


Java 12.4: Abstract Classes #2427

Description 📜
Done Audio Explaining the Abstract Classes
Fixes  #2427

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Java_Domain

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Abstract Classes #2427  : Adding Abstract Classes audio in .mp3 format


missing line from stdout of child process

Hi,
Thanks a lot for the compact and efficient PROCXX.
I nevertheless have a little problem getting all the line of the stdout from the child process
I am using your procxx to make unit test of a command line interpreter that I've written.
The problem I am dealing with is that some lines are missing.
Ex: if stdout is the two lines "0\n" and ";\n", I effectively get the two line
But if stdout is the tow lines "unknown command\n" and ";\n" I only get the last "\n"
Have you any suggestions to solve my problem.
Thanks.

What compiler/OS are you using? I can't reproduce this issue with the following code:
/// @file outputter.cpp
#include <iostream>

int main()
{
    std::cout << "unknown command\n;\n";
    return 0;
}

/// @file tester.cpp
#include <iostream>
#include <string>
#include "process.h"

int main()
{
    procxx::process p{"./outputter"};
    p.exec();

    std::string line;
    while (std::getline(p.output(), line))
    {
        std::cout << line << std::endl;
    }
    return 0;
}

Using GCC 5.3.0 and Clang 3.7.1 (with libc++) both give me the expected output
unknown command
;

I'm using linux gcc 4.8.4
Effectively, with your example. I get all the content of the stdout of child process ..
I'll continue my investigations. And really fan of the simplicity and compactness of your procxx
Thanks for your reactivity.

I figured out where my problem was ..
Some of the output were written in std::cout whereas some other were in the std:cerr.
This rose an other question .. is it possible to capture the std::cerr with your procxx.
If yes could you give me some help?
Anyway, maybe discussion could be closed.
Thanks a lot for the time spent.

Let me know if you have any more issues/questions!


Geospatial indexes

First of all, this is a great tool - thanks for building it.
I was looking at config/indexes.json and I couldn't see any geospatial indexes. Any guidance on how to quickly add geo indexes would be appreciated!

@nikolayg I'm guessing you planning on querying the data using MongoDB then? :)

Ah yes, in Mongo. I tweaked your code a little bit and managed to get 2dsphere indexes.
On another note - there's an issue when you try to populate a remote mongo server over the network. The scripts read the files and populate the buffers much faster than the DB insertion. This results in out-of-memory exceptions. Even 4G of --max-old-space-size didn't help. I ended up running the scripts with a local Mongo, and then imported the dumps in the server.

Ah nice work!
Thanks for discovering that issue, probably should add an option to wait for the records to be inserted before reading more from the files, that should eliminate the issue.


[WARC writer / protocol-okhttp] WARC-Truncated header issues and improvements

There are some oddities how truncated captures are recorded in WARC files. See also Henry Thompson's report and the discussion in the Common Crawl user group.

[x] (protocol-okhttp) reliably annotate content truncated by length limit:

this happens mostly (100 out of 110) for pages with Content-Encoding: gzip
no truncation flag is added if the loop to read content chunk by chunk is exited reaching the content limit exactly: verify and open issue to fix this in upstream Nutch (NUTCH-2729)

[x] analyze truncations flagged as "disconnect" due to an IOException

in 3 analyzed WARC files all records flagged by "disconnect" have either "gzip" content encoding or "chunked" transfer encoding (or even both) - the reason could be also a broken encoding not a "network disconnect". Note: would need also to clarify how to annotate truncations due to protocol-level errors.
see #13 for more details

[x] always add a Content-Length header to HTTP headers in WARC file, even if there wasn't one in the original HTTP response (eg. for chunked transfer encoding). Implemented in 3663f35.
[x] (in the course) upgrade to latest okhttp library (NUTCH-2728)
[x] port fixes to StormCrawler: DigitalPebble/storm-crawler#757

For analysis and verification see

cc-pyspark#9 to mine (presumably) truncated records from WARC files
Python Notebook to aggregate metrics from the list of records

Implemented and fixed for August 2019 crawl (CC-MAIN-2019-35). Solution verified on 100 randomly selected WARC files.

Implemented and fixed for August 2019 crawl (CC-MAIN-2019-35). Solution verified on 100 randomly selected WARC files.

The above notebook is now here


Map schema to YAML files in VS Code

@yammes08 I'll let you merge, so you have time to look at it.

Does this negate the need to add the line to the top of each .yml file, or does that still need to be done as a follow-up action?

It negates the need. There's more than one way to add the schema.
The downside is, users that copy these templates won't have the schema set up by default. I really wanted that, but when I add that heading to the top line it exceeds the line length and I get failures in the yaml lint workflow. I'm not sure how to exclude that line from the length check.
At the very least, this change will provide you schema validation as you edit the templates, so it's something...


Switch claim reconcilers from HasDirectClassReferenceKind to IsManagedKind predicate

What happened?
HasDirectClassReferenceKind does not support static provisioning. crossplane-runtime has been updated with a fix, but this stack must be updated. See crossplaneio/crossplane-runtime#28 for details.

https://github.com/crossplaneio/crossplane-runtime/issues/33

Closing this in favor of #16 and opening an issue of its kind on stack-gcp, which is where I believe this was intended to be opened.


Fix search by title

Add loading wheel whilst searching.
Style add seed button correctly.

Having problems accessing the Microsoft Academic Graph so this may have to wait for a later release, once we implement title search via CrossRef

MVP using crossref now on zotero-front-end branch


Proper forum for noob questions?

I'm very interested in this project as a user, and have worked through an initial implementation, but of course I have many questions.  I wondering if there is an existing forum where non-technical questions can be asked and discussed.  If none yet exists, may I suggest https://www.reddit.com/r/BirdNET-Analyzer/.

I've created the subreddit at https://www.reddit.com/r/BirdNET_Analyzer.  (Notice the underscore rather than dash like above.). I'll try and pretty it up over the next few days.

Thanks, I've already added my first reply :) I'll put the link in the README so everyone knows. I'll close this issue for now.


User log out when changing account or network in wallet

Describe the bug
After login, when user change network or account in wallet, user has to be logged out.
To Reproduce
Steps to reproduce the behavior:

User login with wallet.
User change account in wallet.
User is not logged out.

Expected behavior
User has to be logged out.

Log out when changing account


After upgrade from 0.6.15 to 0.6.16 (docker) many 500 errors

After I upgraded from docker image gogs/gogs:latest that contained 0.6.15 to the current image 0.6.16, I can no longer access either issues or repositories.
Situation:
1 user - no repository
1 organisation - 1 repository

docker run --restart always --detach --name=gogs -p 10022:22 -p 10080:3000 -v /data/docker/gogs:/data gogs/gogs

after pulling the new gogs docker image, stopping and removing the old container, and restarting the above docker run, all started normally.
I can login to the UI, I see all entries on the dashboard, but the moment I want to browse the "organisation" repository (or the issues), I get an error 500.
When doing a docker logs gogs, I get the following output:

[Macaron] Started GET /organisation/website.git/info/refs?service=git-upload-pack for 172.x.x.x
[Macaron] Completed /organisation/website.git/info/refs?service=git-upload-pack 401 Unauthorized in 1.861422ms
[Macaron] Started GET /organisation/website.git/info/refs?service=git-upload-pack for 172.x.x.x
[Macaron] Completed /organisation/website.git/info/refs?service=git-upload-pack 401 Unauthorized in 1.81288ms
[Macaron] Started GET /organisation/website.git/info/refs?service=git-upload-pack for 172.x.x.x
[Macaron] Completed /organisation/website.git/info/refs?service=git-upload-pack 404 Not Found in 114.099148ms
[Macaron] Started GET / for 192.x.x.x
[Macaron] Completed / 200 OK in 27.144833ms
[Macaron] Started GET /Organisation/website for 192.x.x.x
2015/10/12 19:40:25 [...s/middleware/repo.go:321 func1()] [E] GetTags: chdir /home/git/gogs-repositories/organisation/website.git: no such file or directory
[Macaron] Completed /Organisation/website 500 Internal Server Error in 9.814868ms

when looking in my directory structure, the website.git is available...

$ ls -l /data/docker/gogs/git/gogs-repositories/ictcorebiz/website.git/
total 36
-rw-r--r--   1 xyzuser xyzgroup   23 Sep 30 21:38 HEAD
drwxr-xr-x   2 xyzuser xyzgroup 4096 Sep 30 21:38 branches
-rw-r--r--   1 xyzuser xyzgroup   66 Sep 30 21:38 config
-rw-r--r--   1 xyzuser xyzgroup   73 Sep 30 21:38 description
drwxr-xr-x   2 xyzuser xyzgroup 4096 Sep 30 21:38 hooks
drwxr-xr-x   2 xyzuser xyzgroup 4096 Oct 11 18:57 info
drwxr-xr-x 112 xyzuser xyzgroup 4096 Oct 11 18:57 objects
-rw-r--r--   1 xyzuser xyzgroup   85 Sep 30 23:48 packed-refs
drwxr-xr-x   4 xyzuser xyzgroup 4096 Sep 30 21:38 refs

Thanks your feedback!
cc @0rax I think it may because the default location for storing repositories has been changed?

when going back to 0.6.15 all works fine :) so I can at least continue my development.

docker run --restart always --detach --name=gogs -p 10022:22 -p 10080:3000 -v /data/docker/gogs:/data gogs/gogs:0.6.15

@ictcorebiz yes, I've cc-ed maintainer of it.
@0rax  https://github.com/gogits/gogs/blob/develop/docker%2Fbuild.sh#L24 can here make s symbolic link from old location home/git to keep backward compatibility?

This should fix it.
Old app config makes gogs try to get git repositories from /home/git but
now git home is on /data/git.
Can you dump your app.ini here, please. So that I can make sure that this
will fix it.

probably you mean the section:

[repository]
ROOT = /home/git/gogs-repositories

Yep just needed this one. Will create backward compatibility fix right now.

@ictcorebiz my commit bfed40e should fix it.
If you can try it yourself, i've build an image for this commit available on docker hub as orax/gogs:backward-compat.

GREAT! works!
Can I continue using this image, or does it contain unfinished other work?

This image should now be pretty much done, we just took another approach to the way the container works (we reduced its size drastically). Consider just switching from orax/gogs:backward-compat to the gogs one when my PR will be merged.
For more insight on the bug, I just totally forgot about the fact that the path of the git repository was stored as a full path and not a relative path to git user home.
Just checked everything, and this docker image should be pretty much backward compatible and should not contain any more bug.
My thought on this is that we are pretty much production ready as of right now, but it might still contains some minor bugs that I will try to take care of them ASAP if they appears.
That's just my own thoughts, so it is pretty much up to you. I don't consider it bleeding edge myself.

I'll keep it at this branch-build than for now, until merged.
Thanks for the fast resolution!

Merged, Docker hub should take about 10mins to finish automated build.


Add documentation note about .env

Fixes #55 with a documentation note.

but have you thought about using python-dotenv to use them?


Add InstallOperator fucntion

towards https://github.com/giantswarm/giantswarm/issues/4355

Going with this, let's iterate.


Healthsites API has issues with unicode characters.

Attempted creation of a healthsite containing a unicode character is rejected as 400 by the API. The error returned is:
'ascii' codec can't encode character u'\xe9' in position 14: ordinal not in range(128)
I believe this is a relatively common issue. The simplest fix might be the one described in this SO Question
Here is a sample payload that is currently failing. tag.name contains unicode.
{
  "lat": 15.919151944108307,
  "lon": -16.270212410017848,
  "osm_user": "Ibou1003",
  "tag": {
    "addr_full": "Mpal",
    "amenity": "doctors",
    "beds": 15,
    "contact_number": "+221339625497",
    "dispensing": false,
    "electricity": "grid",
    "emergency": true,
    "health_amenity_type": [
      "ultrasound",
      "laboratory",
      "x_ray",
      "imaging_equipment",
      "intensive_care_unit",
      "emergency_department"
    ],
    "healthcare": [
      "pharmacy",
      "birthing_center",
      "dentist",
      "doctor",
      "laboratory"
    ],
    "id": "1f56e250-a6eb-4fd7-89f0-87a4eb5739d0",
    "insurance": "no",
    "is_in_health_area": null,
    "is_in_health_zone": null,
    "name": "Centre de santé de Mpal",
    "opening_hours": "24/7",
    "operational_status": "operational",
    "operator": "Ministère de la santé et de l'action sociale",
    "operator_type": "public",
    "osm_id": "0fe5f67a-f197-4844-88e5-7f26cc466be4",
    "source": "HS-Gather-2019-Senegal",
    "speciality": null,
    "staff_doctors": 2,
    "staff_nurses": 3,
    "timestamp": "2019-07-17T17:31:10.764000+00:00",
    "url": null,
    "username": "Ibou1003",
    "water_source": "water_works",
    "wheelchair": true
  }
}

same here, with a facility named "Maison de Santé de Torcy"

could you retest it again @nlehuby ?

I still get Error when uploading. 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128)


Could not integrate/merge multiple extent reports into one single report in C#, extent report v3

Version 3 is no longer supported..  and this feature is not available in version 4 due to several new reporters being introduced with each having its own nuances.  I do plan to add this feature back, but it will be in version 5 with no ETA as of now.

Hi @anshooarora is there any plans to incorporate this in to future .net versions?
I use Azure Dev Ops to distribute my selenium/specflow tests across multiple VMs. I am currently using ExtentReports to generate reports files on each machine - which I then gather up at the end of the run and publish. It would be a great feature to be able to merge these reports in to one, either via a command line/script that could be run at the final stage.

Hi @anshooarora is there any plans to incorporate this in to future .net versions?
I use Azure Dev Ops to distribute my selenium/specflow tests across multiple VMs. I am currently using ExtentReports to generate reports files on each machine - which I then gather up at the end of the run and publish. It would be a great feature to be able to merge these reports in to one, either via a command line/script that could be run at the final stage.

Hi @anshooarora - I'm also interested in how to merge extent reports across multiple vm's into one ExtentReport. Is it possible?

Hi @anshooarora - I'm also interested in how to merge extent reports across multiple vm's into one ExtentReport. Is it possible?


[ch3011] Fix button visual and text

https://app.clubhouse.io/enmarche/story/3011/améliorations-de-la-gestion-des-notifications

@cacahouwete we should put all this in canary mode for now since it's not connected to anything. Also I couldn't find where you're infusing the h3. Maybe you can tell me on Monday. Thank you!

why don't using the CanaryControllerTrait to disable code in production ?


Add Kotest to Test Framework Integrations

This commit adds documentation on how Testcontainers can be integrated with the Kotest framework.
From the very old #2533 it was decided that a reference to Kotest would be great in the docs. This commit adds it.

Done :)

Hi @LeoColman, thinking more about this... I think we should not duplicate the existing documentation in kotest but we should point to it. what do you think about renaming the file to integration and then add Kotest with a link to https://kotest.io/docs/extensions/test_containers.html
The content can says something like The following open source projects use Testcontainers

I agree!
I even tried to make it smaller to avoid maintenance issues.
How could I apply your suggestion?
Apr 20, 2023 19:46:14 Eddú Meléndez Gonzales @.***>:

Hi @LeoColman[https://github.com/LeoColman], thinking more about this... I think we should not duplicate the existing documentation in kotest but we should point to it. what do you think about renaming the file to integration and then add Kotest with a link to https://kotest.io/docs/extensions/test_containers.html
The content can says something like The following open source projects use Testcontainers
—
Reply to this email directly, view it on GitHub[https://github.com/testcontainers/testcontainers-java/pull/6930#issuecomment-1517066159], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAMBCI7FIZCNKMDDT3MKGLLXCHDEDANCNFSM6AAAAAAXEV2VXY].
You are receiving this because you were mentioned.[Tracking image][https://github.com/notifications/beacon/AAMBCI6NH45AMXKBGEDNKN3XCHDEDA5CNFSM6AAAAAAXEV2VX2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2NSL26.gif]

Just update this PR :)

Alright, I renamed it to external and replaced the documentation with links to the module itself.
Also took the opportunity to add another integration from #3298 to the same page. <-- @jlink @gtrefs

I thought of adding a last updated or last maintained to each of them, to prevent accidentally using a very old framework. Let me know what you think @eddumelendez

Thanks for your contribution, @LeoColman ! This will be available soon!


gm: add support for subClass({nativeAutoOrient: true})

This is poorly documented, but this option is checked here in their source code:
https://github.com/aheckmann/gm/blob/1d833f7ea5bb343dd9c63779796ac8a1bdb3396c/lib/convenience/autoOrient.js#L26

@lbguilherme thanks mate!


DockerContainer :8443 only shows Whitescreen, please help

Hello,
I'm currently trying to develop an app using some of the capabilities of lightning terminal,
but I encountered some issues trying to setup Dockercontainers
The console output on :8443 I encounter:

Other than that I can only see a whitescreen.
But when I inspect the error logs further and click on one of the urls I can see a html dom looking like this:
<!doctype html>

        <meta charset="utf-8"/>
        <link rel="icon" href="/lit/icons/favicon-32x32.png"/>
        <meta name="theme-color" content="#000000"/>
        <link rel="apple-touch-icon" sizes="48x48" href="/lit/icons/icon-48x48.png"/>
        <link rel="apple-touch-icon" sizes="72x72" href="/lit/icons/icon-72x72.png"/>
        <link rel="apple-touch-icon" sizes="96x96" href="/lit/icons/icon-96x96.png"/>
        <link rel="apple-touch-icon" sizes="144x144" href="/lit/icons/icon-144x144.png"/>
        <link rel="apple-touch-icon" sizes="192x192" href="/lit/icons/icon-192x192.png"/>
        <link rel="apple-touch-icon" sizes="256x256" href="/lit/icons/icon-256x256.png"/>
        <link rel="apple-touch-icon" sizes="384x384" href="/lit/icons/icon-384x384.png"/>
        <link rel="apple-touch-icon" sizes="512x512" href="/lit/icons/icon-512x512.png"/>
        <link rel="manifest" href="/lit/manifest.json"/>
        <title>Lightning Terminal</title>

        <link href="/lit/static/css/main.9b54e640.css" rel="stylesheet">

        You need to enable JavaScript to run this app.

As you can see it seems to be an issue related to javascript. I also seem to miss the lnd folder.
Do I need to import it myself into the docker containers or smth?
My current Docker Setup:
I run the newest Dockerversion: lightninglabs/lightning-terminal:v0.12.2-alpha-path-prefix
Enabled Portforwarding for
8443, 10002, 9735
Docker Container has a wallet_password file and a preconfigured litd.conf looking like this:
httpslisten=<IP_ADDRESS>:8443
uipassword=i__hate..passwords!!
tlscertpath=~/.lit/tls.cert
tlskeypath=~/.lit/tls.key
lnd-mode=integrated
network=mainnet

lnd.lnddir=~/.lnd
lnd.alias=BitNet
lnd.rpclisten=<IP_ADDRESS>:10009
lnd.listen=<IP_ADDRESS>:9735
#lnd.debuglevel=debug

lnd.bitcoin.node=neutrino
lnd.feeurl = https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json

lnd.wallet-unlock-allow-create=true
lnd.wallet-unlock-password-file=~/.lit/wallet_password

lnd.bitcoind.rpchost=localhost
lnd.bitcoind.rpcuser=testnetuser
lnd.bitcoind.rpcpass=testnetpw
lnd.bitcoind.zmqpubrawblock=localhost:28332
lnd.bitcoind.zmqpubrawtx=localhost:28333

loop.loopoutmaxparts=5

pool.newnodesonly=true

faraday.min_monitored=48h

faraday.connect_bitcoin=true
faraday.bitcoin.host=localhost
faraday.bitcoin.user=testnetuser
faraday.bitcoin.password=testnetpw

I did also already use lncli create to create a wallet.
All litcli status shows running for all services.
Other than that I didnt preconfigure anything for my docker container do I need to add some sort of lnd file or does anybody know what might be going on here?

Hi @weltitob!
Thanks for reaching out and the issue report!
Which browser are you using, and have you ensured that Javascript is enabled in the browser?

Moving a comment from #707 over to this issue to keep the conversation under the same issue, see https://github.com/lightninglabs/lightning-terminal/issues/707#issue-2082746055.
My Code:

import base64, codecs, json, requests
import sys

REST_HOST = 'localhost:8443' #8443
MACAROON_PATH = './pythonfunctions/admin.macaroon'
TLS_PATH = './pythonfunctions/taproot_tls.cert'

url = f'https://{REST_HOST}/v1/taproot-assets/getinfo'
macaroon = codecs.encode(open(MACAROON_PATH, 'rb').read(), 'hex')
headers = {'Grpc-Metadata-macaroon': macaroon}
response = requests.get(url, headers=headers, verify=TLS_PATH)

if response.status_code == 200:
    try:
        data = response.json()
        print(data)  # Print the parsed JSON data
        # process data
    except json.JSONDecodeError:
        # Handle JSON decode error
        print("Response is not in JSON format:", response.text)
else:
    # Handle HTTP error
    print("Error:", response.status_code, response.text)

My Error message:
 Response is not in JSON format: <!doctype html><meta charset="utf-8"/><link rel="icon" href="/icons/favicon-32x32.png"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png"/><link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png"/><link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png"/><link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png"/><link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png"/><link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png"/><link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png"/><link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png"/><link rel="manifest" href="/manifest.json"/><title>Lightning Terminal</title><link href="/static/css/main.488ab95f.css" rel="stylesheet">You need to enable JavaScript to run this app.

I dont know how to activate Javascript, am I doing something wrong, do I need to include soem sort of other information on API request or what am I missing?

Hi @weltitob!
Thanks for reaching out and for the issue report!
Which browser are you using, and have you ensured that Javascript is enabled in the browser settings?

For the whitescreen issue I'm using Chrome and when running Litd manually outside of the docker I have experienced zero issues with the same Chrome Browser. It seems to come down to whats happening inside of the docker. What Browser do I use inside the docker, idk, none i guess.

My current Docker Setup:
I run the newest Dockerversion: lightninglabs/lightning-terminal:v0.12.2-alpha-path-prefix

You are using the path-prefix image which sets the url path of the frontend UI to be /lit. You should use the lightninglabs/lightning-terminal:v0.12.2-alpha docker image instead which hosts the frontend app at the rool url path /
I believe this should also fix your second issue as well.

My current Docker Setup:
I run the newest Dockerversion: lightninglabs/lightning-terminal:v0.12.2-alpha-path-prefix

You are using the path-prefix image which sets the url path of the frontend UI to be /lit. You should use the lightninglabs/lightning-terminal:v0.12.2-alpha docker image instead which hosts the frontend app at the rool url path /
I believe this should also fix your second issue as well.

Hi, this actually fixed my whitescreen issue, but not my other issue.
Now that I can properly try to call the API even with my docker instances aswell
I got the same issue as for my personal node.
Thats why I seperated the two issues it now might get confusing now haha.
So basically I still have the API Error with this message once I try calling the API:
c:/Users/tobia/OneDrive/Desktop/BitNet/authentication/pythonfunctions/taproot_assets/listassets.py
Response is not in JSON format: <!doctype html><meta charset="utf-8"/><link rel="icon" href="/icons/favicon-32x32.png"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png"/><link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png"/><link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png"/><link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png"/><link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png"/><link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png"/><link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png"/><link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png"/><link rel="manifest" href="/manifest.json"/><title>Lightning Terminal</title><link href="/static/css/main.488ab95f.css" rel="stylesheet">You need to enable JavaScript to run this app.

My docker whitescreen issue is fixed tho.
This is unrelated to the docker stuff as I got this issue even before on one instance where the ui of the terminal was working (my personal node which is not dockerized)
Should I reopen the seperate issue for this? @ViktorTigerstrom
Even if not everything is fixed thanks a lot @jamaljsr 👍 💯

So basically I still have the API Error with this message once I try calling the API:
c:/Users/tobia/OneDrive/Desktop/BitNet/authentication/pythonfunctions/taproot_assets/listassets.py
Response is not in JSON format: <!doctype html><meta charset="utf-8"/><link rel="icon" href="/icons/favicon-32x32.png"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png"/><link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png"/><link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png"/><link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png"/><link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png"/><link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png"/><link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png"/><link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png"/><link rel="manifest" href="/manifest.json"/><title>Lightning Terminal</title><link href="/static/css/main.488ab95f.css" rel="stylesheet">You need to enable JavaScript to run this app.

Ah, I also thought these two issues were for the same server. For this remaining issue, are you starting litd with the --enablerest config option? Without that, the frontend app server will respond to the HTTP requests instead of the sub-servers.

So basically I still have the API Error with this message once I try calling the API:
c:/Users/tobia/OneDrive/Desktop/BitNet/authentication/pythonfunctions/taproot_assets/listassets.py
Response is not in JSON format: <!doctype html><meta charset="utf-8"/><link rel="icon" href="/icons/favicon-32x32.png"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png"/><link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png"/><link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png"/><link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png"/><link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png"/><link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png"/><link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png"/><link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png"/><link rel="manifest" href="/manifest.json"/><title>Lightning Terminal</title><link href="/static/css/main.488ab95f.css" rel="stylesheet">You need to enable JavaScript to run this app.

Ah, I also thought these two issues were for the same server. For this remaining issue, are you starting litd with the --enablerest config option? Without that, the frontend app server will respond to the HTTP requests instead of the sub-servers.

Nah you're just amazing man, it worked out like that, will close the ticket now. Thanks a lot haha <3


cloudquery-source doc added

PLEASE READ
Following a recent back-end update, all contributors with a local clone or fork of our repository are required to run yarn install. This does not apply to direct page edits.

[x] Yes, I've run yarn install
[ ] No, does not apply to me

Purpose of this pull request
This pull request...

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions, .clabot
[ ] Update Content - Revisions, updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

@JV0812, you should probably also add CloudQuery here:
http://localhost:3000/docs/integrations/product-list/#c

@JV0812, I just realized this was a draft! Sorry I put in review comments when you weren't done working on it.

Its okay @jpipkin1. Thanks for your quick review and feedback. I will incorporate the points you have mentioned and will submit the PR for review.

@JV0812, we’re removing the CloudQuery Source beta article with PR #4209 at the request of @Arpit Jaiswal (see Slack).


Cant add new page

on : /admin/pages/create
FatalErrorException in Page.php line 12:
Class 'TCG\Voyager\Models\Auth' not found

I've sent a Pull Request to fix that problem, thanks for spotting it ^^

Thanks guys, got that updated 👍


Support python 2.5

python 2.5 is only available version on RHEL 5.

Why would osbs need to run on RHEL 5? Also, AFAIK, RHEL 5 has Python 2.4.

This is about osbs-client, which will be directly used by koji (which is running on rhel 5 (because...))

FWIW, Travis CI only supports Python 2.6, 2.7, 3.2, 3.3 and 3.4.

To clarify my requirement I need python 2.5 support on RHEL 5 system.

The python version on rhel5 is 2.4.3. However I don't think we need this for the koji plugin, we just need to limit the tasks to rhel6 systems or newer.

Thanks Mike. This means tt should be ok to support Python >= 2.6, since RHEL 6 has Python 2.6. @pbabinca is this ok with you? If so, can we close this?


fix: create one-time cron backup should not earlier than the current …

…time
Signed-off-by: Liucw<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes https://github.com/kubeclipper-labs/kubeclipper/issues/73
Special notes for reviewers:
@x893675 @zhuzhenfan

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

Codecov Report

Merging #79 (71a6dd0) into master (f981490) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
- Coverage   11.67%   11.66%   -0.01%
==========================================
  Files          98       98
  Lines       15003    15006       +3
==========================================
  Hits         1751     1751
- Misses      13023    13026       +3
  Partials      229      229

Impacted Files
Coverage Δ

pkg/apis/core/v1/handler.go
0.34% <0.00%> (-0.01%)
:arrow_down:

/lgtm
/approve


migrate swal to mat dialog

Current dependencies on/for this PR:

main

PR #262

PR #263

PR #264

PR #265

PR #266

PR #272

PR #268

PR #269

Current dependencies on/for this PR:

main

PR #262

PR #263

PR #264

PR #265

PR #266

PR #272

PR #268

PR #269

Current dependencies on/for this PR:

main

PR #262

PR #263

PR #264

PR #265

PR #266

PR #272

PR #268

PR #269


Adds Python 3 test

What does this PR do?
The fluentd check appears to already support python 3, so I'm just adding a test for it to ensure we don't break python 3 support.
Motivation
We're moving everything to python3!
Review checklist

[x] PR has a meaningful title or PR has the no-changelog label attached
[x] Feature or bugfix has tests
[x] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
[ ] If PR adds a configuration option, it has been added to the configuration file.

Additional Notes
Anything else we should know when reviewing?

realized I did something wrong


Incorrect text of verifier, should be agent

Tried to fix this issue https://github.com/keylime/keylime/issues/304
Hope this is what you are looking for.

Thank you @lukehinds :)


IC-1745 allow a referral to have more than one action plan

What does this pull request do?
store a list of action plans on a referral. for now just return the last one in the list (most recently added).
revert a previous commit which explicitly stopped you adding more than one action plan to a referral.
improve the test data so you can create action plans for all sent referrals.
do not allow setting fields on action plans on creation - to do this force clients to use the 'update action plan' endpoint.
What is the intent behind these changes?
lay the groundwork for editing already submitted action plans and creating new action plans after approval.

non-active action plans are 410 Gone on reads

Well I guess it depends. It still exists. It might be a client-side superseded concern instead

non-active action plans are 410 Gone on reads

Well I guess it depends. It still exists. It might be a client-side superseded concern instead

@sldblog it also depends if the old action plan was approved or not. it's something i have thought about but it warrants it's own set of changes.


Update Reporting Periods Table and Add Certification Modal

Dependencies
Blocked by #410 (handles backend logic for certification and next reporting period selection)
Overview
Update the Reporting Periods page to display all reporting periods. Implement functionality to certify the current reporting period and view information about previously certified periods.
Columns

Name - display reporting period's name
Start Date (mm/dd/yyyy)
End Date (mm/dd/yyyy)
Certified At

If certified, this should display: "[Date Certified] by [email of user who certified]" ex: "07/01/2024 by<EMAIL_ADDRESS>If Current reporting period, a button should display that says "Certify Reporting Period"

Actions:

Display edit button if reporting period is not certified
Empty if reporting period is certified

Certifying a Reporting Period
If you click the "Certify Reporting Period" button, a window will pop up and ask you to confirm that you want to certify the period:

If you select Cancel, the period will not be certified and you will return to the Reporting Periods Page.
If you select "Certify", the following will happen:

On the reporting period page, the "Certified At" column will update to display: "[Date Certified] by [email of user who certified]" ex: "07/01/2024 by<EMAIL_ADDRESS>[Handled by #413] When users change the Reporting Period toggle to a certified reporting period, they will not see the button for "Submit Workbook" and will have no way to upload files for the certified period (including staff & admin roles)
[Handled by #410] The next reporting period in terms of next upcoming start date will become the default reporting period and users will be able to upload files for that period. If there is no subsequent reporting period, the latest one will remain the default, but you will not be able to upload files.
[Handled by #410] Only one reporting period can be open (i.e. accepting upload files) at a time

@Vikariusu Confirming that templates will not display for users

@Vikariusu the reporting period page itself looks great, thank you!
When I try to certify the reporting period, however, I get an error that I am unable to certify, even though a subsequent reporting period exists. I'll create another issue for this error


Locally served site's image links are broken when docsUrl is blank

🐛 Bug Report
When the docsUrl setting is configured to put all docs in the root, i.e. docsUrl="", images that are linked to in documents using ![example](assets/example.jpg) are broken. Whereas this works fine when built/published; images are linked to correctly.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce

Initialise a new Docusaurus project.
Rename the example docs directory to docs.
Yarn install the modules in the website directory.
Delete the example blog directory.
Remove the blog entry from headerLinks in website/siteConfig.js.
Add docsUrl: "" setting to website/siteConfig.js.
Add docs/assets directory and put an example image in there.
Link to your example image in a doc document: ![example](assets/example.jpg).

Expected behavior
When running the website locally, the image should be shown.
Actual Behavior
Image should be shown when running website locally (yarn start).
Reproducible Demo
Repo:
https://github.com/will-stone/docusaurus-image-issue
Site Config:
https://github.com/will-stone/docusaurus-image-issue/blob/master/website/siteConfig.js

PS, thanks for all the hard work! 😄 This is a great tool and we're in the process of moving over all our company docs to Docusaurus. Let me know if I can provide any more info.

cc: @yangshun @endiliey - Have you seen this issue before?


DataGrid does not prevent builtin context menu from becoming visible

Describe the bug
On right click in the DataGrid (onContextMenu) the Browsers Builtin context menu overlays spotlights context menu
To Reproduce
Steps to reproduce the behavior:

Open a dataset in a DataGrid
right click on any cell

Expected behavior
I would expect the browser menu to not show, when there is another menu provided by spotlight
Screenshots
https://user-images.githubusercontent.com/30174043/237054951-4df14427-3173-4f62-887e-e678e725d5b6.mov
Desktop (please complete the following information):
OS: macOS 12.3.1
Browser: chrome
Version: 112.0.5615.137 (Official Build) (arm64)

preventing default behavior and stopping propagation could solve it in
/frontend/src/components/widgets/DataGrid/GridContextMenu.tsx
const onContextMenu = useCallback((event: MouseEvent<HTMLElement>) => {
        const el = (event.target as HTMLElement).closest(
            'div[data-rowindex]'
        ) as HTMLElement;

        setColumnIndex(+(el?.dataset?.columnindex || -1));
        setRowIndex(+(el?.dataset?.rowindex || -1));

        event.preventDefault();
        event.stopPropagation();
    }, []);

This should be fixed now.


Hi, is there a visualisation tool to visualise the .json file in the results from test. I would like to see some radar points cast onto the image.

          Hi, is there a visualisation tool to visualise the .json file in the results from test. I would like to see some radar points cast onto the image.

Originally posted by @syh1620 in https://github.com/Toytiny/CMFlow/issues/1#issuecomment-1484350422

There is indeed one in the "vod" library. You can import the 2D visualization tool https://github.com/Toytiny/CMFlow/blob/master/preprocess/utils/vod/visualization/vis_2d.py for your goal.


remove unused typing declaration

Coverage remained the same at 100.0% when pulling 22e658b35959dde0dc9d8e06186c64d12efe81d2 on fix-env into 72b98e555d3f4b6cb78fc9afb6dab6a0305187f5 on master.


Snappy compression

added ssz and snappy encoders
refactored Req/Resp to use new ReqRespEncoder
fixed async iterable types

resolves #670

@ChainSafe/eth2-0 Can we merge this and try to fix streams in separate PR?


Issue/317 deprecate dashboard and web console section

Description
Previous PR was based off wrong branch

Move ui related options from inmanta-core to inmanta-ui
Log a deprecation warning when the web-console or the dashboard sections are used

part of #317
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Merged into branches iso5 in a4791012f97e14e4aefaab4aaa8fe52aaa1902d9


Add Drawer Navigation Snack expo example

While going through the documentation I found that drawer navigation is lacking snack expo example, unlike other navigation.
I know that it is obvious at that point on how to use the navigation but I think it would be of great help if there was a working example that we can edit on the fly.
Thanks.

Here is a simple example demonstrating the drawer navigator.
https://snack.expo.io/Bk2HvmE-N


Single User Event for multiple gRPC

Currently, you have a separate User Event (UE) for each gRCP call type.   This requires a lot of extra "boilerplate" to set up each UE, as shown in this image:

Normally, the value of separate UEs is strong typing, in that each can have a different type.  However, here all UEs have the same type, a single U64 that identifies the gRPC specific call.   Typedefs are used to convert, with no strong typing.  Thus one gains no benefit from all the extra boilerplate.
Instead, consider having only one User Event for all gRPC names, containing a cluster of two things: the U64 gRPC, plus a string containing the RPC name.   This single UE then carries all gRPC calls, with the string being fed into a case structure.
Then adding a new gRPC message just involves two message typedefs, a call to RegisterServerEvent (with tha existing UA), and a new frame in the case structure.

Related to #199

Actually, one can get close to what i would like, but combining all the UE into an array, and then looking up the Event Ref in a Map to get the RPC Name.   Like this:

See #206 for this example code

I would disagree with this change. I think the ability to handle requests in different event loops may be necessary in many projects so different requests don't block each other (The async version of the current server template)


Resizing solid gauge

It seems like the filled in part of a solid gauge gets disconnected from the rest of the gauge during resizing of the window.
Fiddle with highcharts-ng, with bug: http://jsfiddle.net/6hxaB/3/
Fiddle with highcharts, without bug: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/gauge-solid/

is this related #230

It might be related, I'll try the patch and let you know if it fixes the issue.
Thanks.


MSVC installation issues

This is now mostly fixed for VS2019 and VS2017. But still requires some more testing. The best way to fix it is to run the tests and debug the issues.

Old Description
Copied from https://github.com/jberezanski/ChocolateyPackages/issues/117
I am using visualstudio2017buildtools  and visualstudio2019buildtools to set up MSVC. However, my tests fail because vcvars.bat cannot find the toolset.
https://github.com/aminya/setup-cpp

    invalid parameters
    [ERROR:vcvars.bat] Toolset directory for version '15.9' was not found.
    [ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
    [ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
    [ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
    [ERROR:VsDevCmd.bat] Where [value] is:
    [ERROR:VsDevCmd.bat]    1 : basic debug logging
    [ERROR:VsDevCmd.bat]    2 : detailed debug logging
    [ERROR:VsDevCmd.bat]    3 : trace level logging. Redirection of output to a file when using this level is recommended.
    [ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
    [ERROR:VsDevCmd.bat]          vsdevcmd.bat > vsdevcmd.trace.txt 2>&1

https://github.com/aminya/setup-cpp/runs/3618796745?check_suite_focus=true#step:7:302

Upvote & Fund

I am using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.

Thank you in advance for helping prioritize & fund our backlog.

Found a use-case
https://github.com/rollbear/trompeloeil/issues/265

We should switch from MSVC build tools to the full Visual Studio installation. The installation of build tools is not enough in many situations.


Add instance MonadFix Rules. Can be auto-derived

Tentative. Discussion in https://github.com/ndmitchell/shake/issues/270

I thought for a long time, and ultimately decided that basically ContT is the only thing that doesn't support MonadFix (and Free monads, but there the implementation on top usually can, and List monads, but they have lots of weird bits anyway). Since Rules are really a commutative/associative bag of things, having MonadFix makes some sense, and it is derivable and likely to remain so for all future iterations of Rules, so it isn't going to hurt too much.


Use a more reliable default CPU map

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

Just a single random failure, should be good to merge.


website seems to like can't load

title

Should be loading now!
Though not working since Vercel (the platform I deployed to) doesn't seem to support web socket connections. Also, the backend seems to be very buggy, so can't really use it unless major modifications are made.
Feel free to create a pull request if you manage to make it work locally! 😃


Argo Client - Validate JWT token when deploying an Ingestion

From Argo we do not have the ometa client as we do from Airflow.
During an Ingestion Pipeline deployment through Airflow we instantiate ometa and in there we are automatically validating the JWT token. Now we need to do this at the server side.
Check the validity of the Ingestion Bot JWT Token and raise an error if:

it does not exist
it is expired
it has an invalid signature

Will keep track in the epic


Fix/imports

Summary
What is the background of this pull request?
export type fix for ESBuild import failure
Changes

What are the changes made in this pull request?
src > w3c > types.ts

Issues
What are the related issues or stories?
npm run dev failure for trustvc import due to improper type export.

reference issue:
https://github.com/TrustVC/trustvc/issues/28
After this fix, we can compile with trustvc.
Fix Reference App (Quick Experimental App):
https://github.com/ShadyAkhtar/trustvc-debug

Hey thanks for looking into this. Issue resolved in https://github.com/TrustVC/trustvc/pull/29 and close by the team


Error installing fmi integration

Hi!
I get the following error when installing the fmi integration:
"Error occurred loading configuration flow for integration fmi: No module named 'geopy'"
Running latest HassWP
https://github.com/AlexxIT/HassWP v2021.1.1
Br Marenl01

@marenl01 I have not tried HassWP, but the error seems to indicate that python package geopy is missing on your platform. This is needed for reverse geocoding of the coordinates of the closest lightning strike location. You could try and install the package manually using the instructions at the link above. That should solve the problem.

@marenl01 : Have you been able to resolve this?

@anand-p-r : No, not yet. I´ve asked AlexxIT for directions, but haven´t received any yet. I think I will migrate to an linux install since there is also other limitations in HassWP. Maybe I have better luck then. :)


Overlay doeps not work on game relaunch

When closing and opening poe the overlay does not work until I close and then open it.

I'll close this issue for now. Feel free to reopen.


Issue building for an esp32 with version 0.9.7

.pio/libdeps/esp32/Crypto/src/SHA384.cpp: In member function 'virtual void SHA384::reset()':
.pio/libdeps/esp32/Crypto/src/SHA384.cpp:57:51: error: 'memcpy' was not declared in this scope
     memcpy_P(state.h, hashStart, sizeof(hashStart));
                                                   ^
*** [.pio/build/esp32/libe26/Crypto/SHA384.cpp.o] Error 1

please fix

This one is easy. Adding one include sentence near the header will solve it.
#include <string.h>

This one is easy. Adding one include sentence near the header will solve it.
#include <string.h>

Uh ! The problem is from CryptoArduino librairie. Do you mean that we must change the librairie code ?!

I confirm. Each examples cannot build, Got .pio/libdeps/esp32/Crypto/src/SHA384.cpp: In member function 'virtual void SHA384::reset()': .pio/libdeps/esp32/Crypto/src/SHA384.cpp:57:51: error: 'memcpy' was not declared in this scope      memcpy_P(state.h, hashStart, sizeof(hashStart));


Optimization and Miscellaneous

[ ]   Search Engine Optimization
[ ]   Optimize Assets
[ ]   Faster Loading of Page
[ ]  Dynamic Loading of content using JSON Injection
[ ]  robot.txt
[ ]  Google Analytics Integration

Add .htaccess file for browser caching too.


Use -p flag with mkdir

Changes
Use the -p flag with mkdir to fix the following error when running make test:

$ make test-unit
mkdir: cannot create directory ‘build/coverage’: No such file or directory
make: *** [Makefile:167: test-unit] Error 1

Submitter Checklist

[ ] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[x] Set a kind label on this PR
[x] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes
NONE

/kind bug

/assign @SaschaSchwarze0 @qu1queee ptal

/approve


Optional response header

League\OpenAPIValidation\PSR7\Validators\HeadersValidator assumes that every header in response is required. But there is a field "required" in header specification https://github.com/OAI/OpenAPI-Specification/issues/321#issuecomment-284074270.

I've dig some history, looks valid. looks like this PR https://github.com/lezhnev74/openapi-psr7-validator/issues/30 added support only for request objects


Logging access usage.

Customer request:
Riak CS should provides another log of access usage. It allows a user to aggregate and calculate access usage from the log using Hadoop or something like that.

More detailed requirements should be defined. Anyway, worth to hold.


Drm protected Video lagging when played on 2X speed

Version
Media3 1.2.0
More version details
No response
Devices that reproduce the issue

Realme 6 | 11
Redmi 6 Pro | 10
Redmi 9 power

Devices that do not reproduce the issue
Except redmi and realme devices, in all others it is playing.
Reproducible in the demo app?
Yes
Reproduction steps
Try to play any video from this playlist "Widevine DASH (MP4, H264)" at 2x speed.
Expected result
It should play smoothly at 2x speed.
Actual result
Video start lagging.
bugreport : bugreport-RMX2001-RP1A.200720.011-2023-12-05-11-46-38.zip
Media
We are facing the same lagging issue in you demo app also while playing Widevine DASH (MP4, H264) videos at 1.75x and 2x speed. So you can get the details from your demo app and try to reproduce.
Bug Report

[X] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

Decrypting sample can be quite demanding on the playback pipeline and the player is generally more likely to run into performance issue, especially at higher playback speeds where everything has to work faster to keep up.
ExoPlayer also has a different mode when interacting with the codec that helps to solve some of the known DRM decryption slowness. It's enabled by default on API >= 31 only due to some device-specific issues with the new mode we observed on lower API levels. You can try if it helps in your case by force enabling it with forceEnableMediaCodecAsynchronousQueing. The method is on DefaultRenderersFactory that can be set in the ExoPlayer.Builder.
Other than that I'm afraid there is not much we can do about it if the device is too slow to keep up with decrypting and decoding in real-time. If you have multiple resolutions available, you may want to restrict the resolution when playing at higher speeds for example to help with this issue?


Fix cropped text in TabLine

Signed-off-by: dpodolkhov<EMAIL_ADDRESS>Fix cropping text is tabs.
Description
As line-height property is not specified, the value 1 is applied. But some letters in Italian, Vietnamese has ascenders do not fit to this height.
Motivation and Context

How has this been tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Thanks for your work 🔥


CQ clause to introduce relative time boundaries

Feature Request
Proposal:
Imagine a CQ like:
CREATE CONTINUOUS QUERY foo ON mydb RESAMPLE EVERY 10m BEGIN
   SELECT...GROUP BY time(1d)
END

There are two different possible user intentions from that syntax. Currently we only support one.
Current behavior:
A CQ like the above will execute every 10 minutes, but it will operate on the same interval every 10 minutes. The WHERE clause will be something like WHERE time > '2016-06-27 00:00:00' AND time < '2016-06-27 23:59:59' for every copy of the query run on that day. The query will update the total every 10 minutes, but there will be only one timestamp in the output for any given day.
Desired behavior:
Many users are asking for syntax to make the CQ execute a relative offset query every 10 minutes, analogous to SELECT...WHERE time > now() - 1d that runs every 10 minutes, generating 144 unique points per day, not one.
Use case:
Mostly useful for queries that use running average/max/min rather than one built on calendar boundaries. See https://groups.google.com/d/msgid/influxdb/e4b02849-ebb9-47a1-9a88-dbbf00822acc%40googlegroups.com

Thanks @beckettsean for adding this. Just in case anybody else wonders, as of today this could be solved temporarily using kapacitor with the suggestion given by @nathanielc in ticket #4820 . But it would be really helpful if influxdb could support it as well.

We have a similar need to the desired behavior. We have a 1s granularity series for which we could like to derive another 1s dataset based on the last 86,400 seconds of data. This is not currently possible as this and several other issues discuss.
After reading through the CQ docs and associated discussion on this tracker, I'm left wondering why the GROUP BY is not an optional clause in a CQ. It's slightly orthogonal to this issue, but imagine if there was a SAMPLE (instead of RESAMPLE) clause which specified EVERY <period> -- that would allow running queries at a predefined sampling rate with on an arbitrary time span.