3D image support

Hi
Thanks for making this package available publicly. It is really powerful.
Is there any plan to support feature extraction for 3D images in the near future?
Cheers
Pradeep

Hi, yes we are currently actively working adding 3D image support. See #65 . The plan is to get this done in the next 2-3 months to get something out there. One key challenge we see is the lack to data to test things out. There are many ways to represent 3D images. For example, a stack of 2D images in a directory, a zarr file using OME NGFF spec, a single Tiff file with OME TIFF metadata . Currently, we are planning to support only the first one (2D images in a directory) and then gradually add the rest. Please, feel free to share what 3D features you are interested in :-)

Thanks @sameeul.
I think within the python API, if you allow the flexibility of passing a 3D array and process it so that 3D features are extracted, that would be great. Currently, it extracts 2D features for every slice.
With reading files in a directory, is there the flexibility for the user to define a custom image reader?
For datasets, I can see an Arabidopsis one here: https://bioimage.io/#/?tags=3d&type=dataset&id=ilastik%2Fplantseg_ovules
Within the Broad Bioimage benchmark challenge, you can find some datasets here if you search for 3D: https://bbbc.broadinstitute.org/search/3d?
Within this resource, you can see many datasets are organized as tiff stacks, instead of a 2D slice in a directory. It would be worth supporting this format.
To be honest, with features, I am interested in all the features currently listed on the nyxus website in 3D. Cellprofiler measurements are usually  a good reference, which you probably know.
I'm definitely interested in object intensity distribution, i.e. radial features.
Another option is extracting features after application of a convolutional filter, such as a gaussian filter. Is this something of interest?

@pr4deepr : Thanks for the inputs. We will definitely keep these in mind as we keep developing the features.

Tagging @haesleinhuepf for ideas


Add option to select images

HI
You can add option to select images ? (like this package)
thanks for your work!

Hi @d-knafo ! I currently don't update this package with new feature anymore (only maintenance and merge PR). Still, if you want to submit a PR with implementation, I will review it, merge it and release it!


HSEARCH-2535 @Facet on container (Iterable, Array, ...) properties indexes the container's toString()

https://hibernate.atlassian.net/browse/HSEARCH-2535
I added code to support both collections of Strings and collections of numeric values, but only containers of Strings work right now, due to HSEARCH-1927. This one will have to be fixed in another PR.
I think it's safe to merge this PR during the CR period, because the previous behavior was clearly suboptimal:

it simply failed for multi-valued numeric fields, which it still will unless you only have arrays/collections/maps with one element
and more importantly it used to index the result of calling toString() on arrays/collections/maps for multi-valued string fields, which may work in some cases but clearly isn't a good solution

Jenkins, test this please

I fixed a variable name for consistency and merged (s/multivalued/multiValued/).
Thanks.


Enable inference of input types when using FnToProduct

Implements #350

Modulo the comments above ... :+1:

Sorry ... I didn't see that you pushed that last commit :-(
Would you mind rebasing, then I'll merge :-)

Rebased and merged in 48d8be07a62815d9e6dddb6aa370f95d26353fca and 048bc8753e1726ea6497b6553621cf276efa7c70 ... many thanks! :-)


Crowdin integration for localizing content

Description
We don't want to reinvent a translation system in the backend, so we want to integrate with crowdin.
The admin-interface should only operate on the primary language, which is currently Norwegian.
High level flow
New content:

An admin adds new episode
An admin clicks "send to translation"
Content appears in crowdin (crowdin notifies translators automatically via email)

Updates:

An admin edits an existing episode

Optional checkbox to bypass translation (for minor changes).

Content reappears in crowdin

On finished translations:

Synced and available immediately if possible

Technical details
Translation tables are all the tables ending with _t
Extra notes

If you use webhooks, maybe use pub sub to make sure we dont lose any.
This should be a generic standalone service which we can copy-paste when integrating with other systems.
It should run on google cloud run.
Whatever we make should be compatible with enabling in-context localization
The "files" in crowdin should probably be HTML files with styles for title, description, etc.

@mulundapm
@KillerX
comments?

This should be a generic standalone service which we can copy-paste when integrating with other systems.
I would prefer to think of this as a module in the system. With an interface something like:

interface translateCallback {
    updateTranslation(id, lang, string, ...)
}

type TranslationClient struct { ... }

func (tc TranslationClient) sendToTranslation(id, originalLang, string, ...) {...}

Then if we want we can easily split it into a service but IMO a service for now will just complicate things for no good reason.

I think maybe "send to translation" is unecessary and it should instead just be immediate. Crowdin lets you add "context" to a string, so if we want to inform the translators that this is a draft, we could write it there.
@mulundapm

The title or description is usually not ready when place holder is made. As long as it is easy for translator to identify which are draft and that they are not suppose to translate them, it should be fine. To switch over from draft to ready be translated, where should I be doing it?

Ok so that changes my mind. But my worry with a "send to translation" button is that we might end up never sending certain things to translation.

Ok so that changes my mind. But my worry with a "send to translation" button is that we might end up never sending certain things to translation.

Maybe some way of having a general overview of untranslated and being able to send from a central place?

Pris says the title is always ready when a draft is created.
Even if it wasn't, when we change the title in Admin, it should update the "source string" in crowdin so it should be fine either way.
We just need to make description etc nullable and not send it to crowdin if it's empty.


Week 3 Review Ticket

List, Dictionaries, and Iteration: Link
HTML Fragments: Link
Example Markdown Table: Link
Time Box Homepage: Link

Kalani Cabral-Omana
Score = 3.0
Added all four types of loops for his lists and dictionaries
Made a dictionary quiz that showed understanding
Created a Time Box for assignments and used liquid syntax


Notification

issue: https://github.com/tomochain/tomomaster/issues/476
Currently, there are 4 statues for notification:

Proposed, a candidate is proposed
Resign, a masternode resigns
Slashed, a masternode get slashed
Outtop, a masternode is kicked out of top 150

Before logging in:

After logging in:

Pull Request Test Coverage Report for Build 1246

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.47%

Totals

Change from base Build 1244:
0.0%

Covered Lines:
92

Relevant Lines:
103

💛  - Coveralls


Add example how to fix iostream/cout/cerr/stringstream locale issue

All locales should work out of the box. Worst case we implement library functions (inside mg_procedures.h and mg_utils.hpp).

Yep, thanks for the notification!


scanning folder for git repository stucks

Type: Bug
I use an existing git repo on a linux system and used version 1.84.2. With this version everything works well. I see the git repo in the source control tab. Remote development works fine.
With version 1.86.1 or 1.86.2  source control windows shows all the time scanning folder for git repository. I opened the same folder on the same machine like when I used 1.84.2.  I did a complete installation of vs code. Before the installation I deleted the .vscode-server folder on the linux system and also all directories on the windows system. Git version on the Linux system is 2.35.7.  Git plugin in VS code is enabled. VS code version is 1.86.1 shows the same behaviour.

install 1.84.2 on your system
connect it to linux system (remote development per ssh)
open folder with a git branch
have a look to the output of source control windows, you can do a commit or whatever.
deinstall 1.84.2 and install 1.86.2
connect it to linux system (remote development per ssh)
open folder with a git branch
have a look to the output of source control windows -> Scanning folder for git repos appears

VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Remote OS version: Linux x64 6.1.38-rt12-LLTng-g3494faaf50f2
Connection to 'ssh-remote+<IP_ADDRESS>' could not be established

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2904)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.76GB (17.91GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: <IP_ADDRESS>

OS
Linux x64 6.1.38-rt12-LLTng-g3494faaf50f2

CPUs
Intel(R) Xeon(R) W-2295 CPU @ 3.00GHz (18 x 3000)

Memory (System)
62.52GB (60.78GB free)

VM
0%

Connection to 'ssh-remote+<IP_ADDRESS>' could not be established
Extensions (7)

Extension
Author (truncated)
Version

remote-ssh
ms-
0.108.0

remote-ssh-edit
ms-
0.86.0

remote-explorer
ms-
0.4.1

cmake-tools
ms-
1.17.16

cpptools
ms-
1.19.4

cpptools-extension-pack
ms-
1.3.0

cmake
twx
0.0.17

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30968133
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww2:30959801
cppperfcontrol:30973184
d34g3935:30971562
edj9j583:30969295
fegfb526:30961430
bg6jg535:30958357
dsvsc020:30973508

I also felt stuck when using version 1.86.2

Are you using remote development (tunnels/ssh)?
Does VSCode say

Cannot activate the 'Git' extension because it depends on the 'Git Base' extension which is disabled.

when it starts up? (Look for popups at the bottom right corner)
Does the Output panel for Window have the following entry?

[error] Cannot activate the 'Git' extension because it depends on unknown extension 'vscode.git-base': Error: Cannot activate the 'Git' extension because it depends on unknown extension 'vscode.git-base'

I have updated to 1.87, but this issue still occurs.

Possibly related to https://github.com/microsoft/vscode/issues/157817

For me  version 1.87.0 does not work. With this version I get the Remote Extension host terminated unexpectedly ... error again that is fixed in the january release, I deinstalled VS code completely and removed everything from linux system (.vscode-server folder) but it is still not possible to work with it. I go back to the october release at least this works.

Are you doing remote development (tunnels/ssh) on a Linux server from a Windows machine?
yes

Does VSCode say
Cannot activate the 'Git' extension because it depends on the 'Git Base' extension which is disabled.
when it starts up? (Look for popups at the bottom right corner)
No

Does the Output panel for Window have the following entry?
[error] Cannot activate the 'Git' extension because it depends on unknown extension 'vscode.git-base': Error: Cannot activate
the 'Git' extension because it depends on unknown extension 'vscode.git-base'
No

It tried 1.88.1 and it still not working. The source control tab does not recognize the git repo.

same problem for me, using 1.85.2 VSCodium. Doing remote work via ssh session from macOS to rocky linux server.
Version: 1.85.2
Release: 24019
Commit: c8a36a69377856369f139f39ee56dd3838130fbf
Date: 2024-01-19T18:25:52.688Z (3 mos ago)
Electron: 25.9.7
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.2.0

I tried the latest version 1.90.2. Still not working
Do you need more information, logs?

Hi there is no git channel just a github authentification channel. See picture:

Which channel log do you want?

Hi there is no git channel just a github authentification channel. See picture:  Which channel log do you want?

Scroll up. It should be above GitHub. The list items are ordered alphabetically.

Hi
I can't scroll up. github authentification is the top entry. Maybe this is reason why my git repo isn't shown.

@ARoy-NI, thanks for the screenshot. It seems that for some reason the output channel for the Git extension that runs in the remote extension host has not been created. Do you mind sharing the contents of the "Window" output channel as it might have information on why the Git output channel is missing. Thanks!

HI
I created a log and added it.
Window.log
If you need further logs just write me.

Hi, are there any news about the problem / how I can solve it? The problem still exists in the version 1.91.1.

@sandy081, could you please review the logs (https://github.com/microsoft/vscode/issues/206315#issuecomment-2196716958) to see why the git output channel is not present? Thank you!

Can you please search for git extension @builtin git in the extensions view and see if the extension is activated?

Closing the issue as we never received the necessary information to further investigate it.


Modify the "metrics-middleware" module to make the master version compile successfully.

Modify the "metrics-middleware" module to make the master version compile successfully.

Sorry, what does this solve? This seems to be using an outdated version. Please use go11.1 with the ory ecosystem, and set export GO111MODULE=on.


Exclude files

Hello,
I'd like to run htmlcs on my project. However, running htmlcs hint gives a lot of false positives since it lints also the HTML files of the project dependencies stored in ./node_modules. The only workaround I can think of is to list all the directories (e.g. foo/**/*.html, bar/**/*.html) and the top-level HTML files (i.e. *.html). But with this approach, there is a big chance that I'll forget to add a newly created directories in the future and I won't notice that they are not linted.
It would be nice if there was a way to list files/globs that should be excluded (like what you can do with .gitignore).

OK, I don't need this any more (I'm going to use something like find ... | xargs ...). But maybe some one else does...

I'll focus on #72 first, and then this. Before I've done that, I'll recommend fecs, which hints HTML files based on htmlcs, however, with better interface (file excluding, path globs support, ...). Maybe you will find it useful.


Query.children returns the element itself if an empty list of selectors is passed.

The example provided in the documentation passes, but maybe not the way we expect:
test "The
 only has
 children" <|
    \() ->
        div []
            [ ul [ class "items active" ]
                [ li [] [ text "first item" ]
                , li [] [ text "second item" ]
                , li [] [ text "third item" ]
                ]
            ]
            |> Query.fromHtml
            |> Query.find [ tag "ul" ]
            |> Query.children []
            |> Query.each (Query.has [ tag "li" ])

This example also passes:
test "The
 has a
 child" <|
    \() ->
        div []
            [ ul [ class "items active" ]
                [ li [] [ text "first item" ]
                , li [] [ text "second item" ]
                , li [] [ text "third item" ]
                ]
            ]
            |> Query.fromHtml
            |> Query.find [ tag "ul" ]
            |> Query.children []
            |> Query.each (Query.has [ tag "ul" ])

And this one fails:
test "The
 has 3 children" <|
                \() ->
                    div []
                        [ ul []
                            [ li [] [ text "first item" ]
                            , li [] [ text "second item" ]
                            , li [] [ text "third item" ]
                            ]
                        ]
                        |> Query.fromHtml
                        |> Query.find [ Selector.tag "ul" ]
                        |> Query.children []
                        |> Query.count (Expect.equal 3)

with the output:
    ▼ Query.fromHtml

                    first item

                    second item

                    third item

    ▼ Query.find [ tag "ul" ]

        1)

                    first item

                    second item

                    third item

    ▼ Query.children []

        1)

                    first item

                    second item

                    third item

    ▼ Query.count

    1
    ╷
    │ Expect.equal
    ╵
    3

It does pass, however, if we pass children a selector:
test "The
 has 3 children" <|
                \() ->
                    div []
                        [ ul []
                            [ li [] [ text "first item" ]
                            , li [] [ text "second item" ]
                            , li [] [ text "third item" ]
                            ]
                        ]
                        |> Query.fromHtml
                        |> Query.find [ Selector.tag "ul" ]
                        |> Query.children [ Selector.tag "li" ]
                        |> Query.count (Expect.equal 3)

Seems like maybe it's the result of:
        Children selectors ->
            elmHtmlList
                |> InternalSelector.queryAllChildren selectors
                |> Ok

https://github.com/eeue56/elm-html-test/blob/feab9639cc59e2979ec06114380416ad1fd52935/src/Test/Html/Query/Internal.elm#L289-L292
to
queryAllChildren : List Selector -> List (ElmHtml msg) -> List (ElmHtml msg)
queryAllChildren selectors list =
    case selectors of
        [] ->
            list

https://github.com/eeue56/elm-html-test/blob/3c9c9cb596756dfc41d5fe35adb1b8f89d7afc0e/src/Test/Html/Selector/Internal.elm#L79-L80


Error upon importing google.storage due to six location issues

Thx for your excellent explanation and approach. Eager to try out.
Error upon import says:
cannot import name 'collections_abc' from 'six.moves' (unknown location)
Have updated to latest SIX version (1.15) but still get the error.
Any hints?

Hi @tomthebuzz,
The unknown location import happens with Google Cloud packages, such as Google BigQuery and Google Cloud Storage, from time to time.
For instance see googleapis/google-cloud-python#9965 .
I should have pinned the versions of all the required packages in the Docker images, rather than installing the most up-to-date versions.
I can probably take care of this on Tuesday.


Method naming: sap.ui.core.Core.byId vs. sap.ui.core.Element.getElementById

If we check the history of the method sap.ui.core.Core.byId, then we will see that initially there was a method sap.ui.core.Core.getElementById, which later has been replaced by sap.ui.core.Core.byId.
Now, sap.ui.core.Core.byId is deprecated and is replaced by sap.ui.core.Element.getElementById.
Which means that an evolution of this method looks like:
sap.ui.core.Core.getElementById → sap.ui.core.Core.byId → sap.ui.core.Element.getElementById
Wouldn't it be more consistent/logical to call the new method sap.ui.core.Element.byId?
This should definitely simplify the code refactoring and the migration to the new API.
P.S. Besides that, Element.getElementById is way more verbose than Element.byId.

Hello @pubmikeb ,
Thank you for the proposal. I have created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Kind Regards,
Elena

Hi @pubmikeb,
Element.byId was actually one candidate during the process of choosing the best name for replacing Core.byId. However, because of enabling static inheritance in the future, all sub-classes that inherit from sap/ui/core/Element will get this static method as well. This causes ambiguity when you read code like Button.byId. Someone may interpret this method to only return Button instance which has the given id but it behaves the same as being called Element.byId since this method is simply inherited from the sap/ui/core/Element.
Therefore we added the word Element again into the method name to explicitly indicate that the method only checks the id and not the specific type of the instance.
Thank you for pointing this out and it was not easy for us to make such a decision. I hope you can understand the explanation and we are happy to see more naming discussions :).
Best regards,
Jiawei


run.bash not pulled from dockerhub

Followed instructions from: Option 1: Pull from DockerHub (recommended) but when running :
 ./run.bash osrf/icra2023_ros2_gz_tutorial:tutorial_nvidia

was getting
 ./run.bash: command not found

Manually getting run.bash (and chmod +x it) from your repo solved the issue

Hi, that is working as intended. DockerHub contains the Docker image, but you need to clone this GitHub repository to get the run.bash in order to run the Docker image. It does not work to have the run.bash inside the Docker image, because that file is needed outside the image, on the host machine, in order to run the image.
Does that make sense?
I'm going to close this ticket as resolved. Feel free to reopen if you have a related followup question.


Install Error occurred on Ubuntu 16.04 case:460886

Hi, I'm trying to install the tiscamera for my DMK 72BUC02 , and I followed the installation informations step by step, but when I ran the "sudo make install" an error occurred:
wzj@ubuntu:~/tiscamera/build$ sudo make install
[  1%] Built target pugixml_obj
Scanning dependencies of target tcam-base
[  1%] Building CXX object src/CMakeFiles/tcam-base.dir/logging.cpp.o
[ 10%] Built target tcam-base
[ 11%] Linking CXX shared library libtcam.so
[ 19%] Built target tcam
[ 20%] Linking C shared library libtcamprop.so
[ 21%] Built target tcamprop
[ 22%] Generating Tcam-0.1.gir
[ 23%] Generating Tcam-0.1.typelib
[ 23%] Built target create_gobject
Scanning dependencies of target tcam-algorithms
[ 23%] Building CXX object src/algorithms/CMakeFiles/tcam-algorithms.dir/whitebalance.cpp.o
[ 24%] Building CXX object src/algorithms/CMakeFiles/tcam-algorithms.dir/biteater.cpp.o
[ 25%] Building CXX object src/algorithms/CMakeFiles/tcam-algorithms.dir/parallel.cpp.o
[ 26%] Linking CXX shared library libtcam-algorithms.so
[ 31%] Built target tcam-algorithms
Scanning dependencies of target tcamgstbase
[ 32%] Building CXX object src/gstreamer-1.0/CMakeFiles/tcamgstbase.dir/tcamgstbase.cpp.o
[ 33%] Linking CXX shared library libtcamgstbase.so
[ 33%] Built target tcamgstbase
Scanning dependencies of target gsttcamautoexposure
[ 34%] Building CXX object src/gstreamer-1.0/CMakeFiles/gsttcamautoexposure.dir/gsttcamautoexposure.cpp.o
[ 35%] Linking CXX shared library libgsttcamautoexposure.so
[ 35%] Built target gsttcamautoexposure
Scanning dependencies of target gsttcamautofocus
[ 36%] Building CXX object src/gstreamer-1.0/CMakeFiles/gsttcamautofocus.dir/gsttcamautofocus.cpp.o
[ 37%] Linking CXX shared library libgsttcamautofocus.so
[ 37%] Built target gsttcamautofocus
Scanning dependencies of target gsttcamwhitebalance
[ 37%] Building CXX object src/gstreamer-1.0/CMakeFiles/gsttcamwhitebalance.dir/gsttcamwhitebalance.cpp.o
[ 38%] Linking CXX shared library libgsttcamwhitebalance.so
[ 38%] Built target gsttcamwhitebalance
Scanning dependencies of target gsttcamsrc
[ 39%] Building CXX object src/gstreamer-1.0/CMakeFiles/gsttcamsrc.dir/gsttcamsrc.cpp.o
[ 40%] Linking CXX shared library libgsttcamsrc.so
[ 40%] Built target gsttcamsrc
Scanning dependencies of target gsttcambiteater
[ 41%] Building CXX object src/gstreamer-1.0/CMakeFiles/gsttcambiteater.dir/gsttcambiteater.cpp.o
[ 42%] Linking CXX shared library libgsttcambiteater.so
[ 42%] Built target gsttcambiteater
Scanning dependencies of target gsttcambin
[ 42%] Building CXX object src/gstreamer-1.0/CMakeFiles/gsttcambin.dir/gsttcambin.cpp.o
/home/wzj/tiscamera/src/gstreamer-1.0/gsttcambin.cpp: In lambda function:
/home/wzj/tiscamera/src/gstreamer-1.0/gsttcambin.cpp:644:104: warning: format not a string literal and no format arguments [-Wformat-security]
g_error_new(GST_CORE_ERROR, GST_CORE_ERROR_MISSING_PLUGIN, msg_string.c_str());
^
[ 43%] Linking CXX shared library libgsttcambin.so
[ 43%] Built target gsttcambin
[ 45%] Built target tcam-dfk73
[ 46%] Linking CXX shared library libtcam-v4l2.so
[ 49%] Built target tcam-v4l2
[ 50%] Linking CXX shared library libtcam-libusb.so
[ 58%] Built target tcam-libusb
Scanning dependencies of target tcam-ctrl
[ 59%] Building CXX object tools/tcam-ctrl/CMakeFiles/tcam-ctrl.dir/main.cpp.o
[ 60%] Building CXX object tools/tcam-ctrl/CMakeFiles/tcam-ctrl.dir/properties.cpp.o
[ 60%] Building CXX object tools/tcam-ctrl/CMakeFiles/tcam-ctrl.dir/formats.cpp.o
[ 61%] Linking CXX executable tcam-ctrl
[ 61%] Built target tcam-ctrl
[ 91%] Built target 33update
[ 98%] Built target firmware-update
[100%] Built target dfk73udev
Install the project...
-- Install configuration: ""
-- Installing: /usr/lib/libtcam.so.0.10.0
-- Up-to-date: /usr/lib/libtcam.so.0
-- Up-to-date: /usr/lib/libtcam.so
-- Set runtime path of "/usr/lib/libtcam.so.0.10.0" to "/usr/lib/tcam-0"
-- Installing: /usr/lib/libtcamprop.so.0.1
-- Up-to-date: /usr/lib/libtcamprop.so
-- Set runtime path of "/usr/lib/libtcamprop.so.0.1" to ""
-- Installing: /usr/share/gir-1.0/Tcam-0.1.gir
-- Installing: /usr/lib/x86_64-linux-gnu/girepository-1.0/Tcam-0.1.typelib
-- Up-to-date: /usr/include/tcamprop.h
-- Installing: /usr/lib/libtcamgstbase.so
-- Set runtime path of "/usr/lib/libtcamgstbase.so" to ""
-- Installing: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamsrc.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamsrc.so" to ""
-- Installing: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamwhitebalance.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamwhitebalance.so" to ""
-- Installing: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamautoexposure.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamautoexposure.so" to ""
-- Installing: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamautofocus.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcamautofocus.so" to ""
-- Installing: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcambiteater.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcambiteater.so" to ""
-- Installing: /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcambin.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttcambin.so" to ""
-- Installing: /usr/lib/libtcam-algorithms.so.0.10.0
-- Up-to-date: /usr/lib/libtcam-algorithms.so.0
-- Up-to-date: /usr/lib/libtcam-algorithms.so
-- Installing: /usr/lib/tcam-0/libtcam-v4l2.so.0.10.0
-- Up-to-date: /usr/lib/tcam-0/libtcam-v4l2.so.0
-- Up-to-date: /usr/lib/tcam-0/libtcam-v4l2.so
-- Set runtime path of "/usr/lib/tcam-0/libtcam-v4l2.so.0.10.0" to ""
-- Up-to-date: /usr/lib/libtcam-dfk73.so.0.10.0
-- Up-to-date: /usr/lib/libtcam-dfk73.so.0
-- Up-to-date: /usr/lib/libtcam-dfk73.so
-- Installing: /usr/lib/tcam-0/libtcam-libusb.so.0.10.0
-- Up-to-date: /usr/lib/tcam-0/libtcam-libusb.so.0
-- Up-to-date: /usr/lib/tcam-0/libtcam-libusb.so
-- Set runtime path of "/usr/lib/tcam-0/libtcam-libusb.so.0.10.0" to ""
-- Up-to-date: /usr/lib/pkgconfig/tcam.pc
-- Up-to-date: /usr/share/tiscamera/images
-- Up-to-date: /usr/share/tiscamera/images/23uc256.png
-- Up-to-date: /usr/share/tiscamera/images/logo.jpg
-- Up-to-date: /usr/share/uvcdynctrl/data/199e/tisEUVC.xml
-- Up-to-date: /usr/share/uvcdynctrl/data/199e/usb3.xml
-- Up-to-date: /usr/lib/udev/rules.d/80-theimagingsource-cameras.rules
-- Installing: /usr/bin/tcam-ctrl
-- Set runtime path of "/usr/bin/tcam-ctrl" to ""
-- Up-to-date: /usr/bin/tcam-capture
CMake Error at tools/tcam-capture/cmake_install.cmake:40 (file):
file INSTALL given no DESTINATION
Call Stack (most recent call first):
tools/cmake_install.cmake:38 (include)
cmake_install.cmake:40 (include)
Makefile:115: recipe for target 'install' failed
make: *** [install] Error 1
How to solve it? Thanks in advance~

Hello
I just tested that on a freshly installed Ubuntu and there was no problem with installing tcam-capture.
If you did not change the cmake parameters, then tcam-capture should be installed into /usr/bin. "/usr" is the preffix passed by "-DCMAKE_INSTALL_PREFIX=/usr" to cmake.
I suggest to remove the build directory and repeat the build steps, making sure, you copied the cmake command line (readme.md) completely (with the to dots (..) at the end.
Stefan

Thank you, I'll try your suggestion.

The culprit is python.
We installed Anaconda3 for machine learning.
python in Anaconda3 and the default one under /usr/bin may be messed up in apt-get install, build or run time.
After removing Anaconda3 from PATH, your instructions works and tcam-capture runs well.
Thanks for help.

Thanks for your help.
I meet the same problem, and it be solved now after your suggestion.


Showcase Submission for 85-the-game-of-life

Thank you Sungyoung Kim for your contribution! A member of the Coding Train team will review it shortly.

Game of Life with Interactions!
Sungyoung Kim

Wonderful work!


Inline loaded variables into kerchunk references

Would close case (1) of #62.
After #69 was merged, the next step (this PR) is to write loaded numpy arrays into the kerchunk references "inlined".

The important part of this PR now works, but there's some annoying inconsistency in how kerchunk writes out NaN vs "NaN" vs null which is causing the test to fail 😠

For reference the reason this test fails is that kerchunk.hdf.SingleHdf5ToZarr produces a references dict with these entries:
{
    'air/.zarray': '{"chunks":[2920,25,53],"compressor":null,"dtype":"<i2","fill_value":null,"filters":null,"order":"C","shape":[2920,25,53],"zarr_format":2}',
    ...
    'lat/.zarray': '{"chunks":[25],"compressor":null,"dtype":"<f4","fill_value":"NaN","filters":null,"order":"C","shape":[25],"zarr_format":2}',
...
}

Notice that for the variable air the default zarr fill_value of np.NaN is encoded as null, whereas for the variable lat it is encoded as "NaN". I see no possible reason for this discrepancy, and the fsspec mapper apparently accepts either.

Whilst this PR now passes for "inlining" the lat and lon variables (yay), it will fail if you attempt to load either the air variable or the time variable.
The air variable case is some json encoding error, which should be fixable with the right set of arguments to json.dumps.
The time variable case is I think much harder - the encoded bytes look different to those that come out of kerchunk, presumably because kerchunk is doing some kind of CF-related encoding first. But looking inside kerchunk.hdf5.SingleHdfToZarr I am none the wiser as to what it's doing that I would need to replicate.

The time variable case is I think much harder - the encoded bytes look different to those that come out of kerchunk, presumably because kerchunk is doing some kind of CF-related encoding first. But looking inside kerchunk.hdf5.SingleHdfToZarr I am none the wiser as to what it's doing that I would need to replicate.

So if I simply pass decode_times=False to xr.open_dataset internally then this test passes.
I think this implies that kerchunk is not actually doing any decoding of times at all?

https://fsspec.github.io/kerchunk/reference.html#kerchunk.combine.MultiZarrToZarr
”cf:{var}”, interpret the value of var using cftime, returning a datetime. These will be automatically re-encoded with cftime, unless you specify an “M8[*]” dtype for the coordinate, in which case a conversion will be attempted.

E   OSError: Unable to synchronously open file (file signature not found)

Given that the tests all pass for me locally

So right now I can successfully inline the lat and lon variables in the xarray tutorial dataset (which have no encoding), but cannot serialize the air variable (which has scale_factor and offset encoding), nor the time variable (which has cf calendar and units encoding).
So I've parametrized the test to show what works and xfailed the ones that don't. I'm also now raising NotImplementedErrors when encoding is encountered.

@norlandrhagen do you have any idea what this error is? Or even how I might try to reproduce it locally?

OSError: Unable to synchronously open file (file signature not found)

@martindurant I'm seeing an error in a call to SingleHdf5ToZarr (which I'm calling for comparison purposes) - but it's only occurring in the CI. All my google results for this error say that it means the file is corrupted, but I don't understand why it would be corrupted when written out from xarray (and openable locally). Have you seen this before?


[ENH] Improve convergence between ALE null methods

Closes #396.

Changes proposed in this pull request:

Increase resolution of ALE analytic null histogram from bins of 0.0001 to bins of 0.00001.
Round up maximum MA values based on target resolution in ALE histogram generation so that we don't need an arbitrary buffer.
Simplify histogram generation in ALE.
Also increase resolution of SCALE analytic null histogram by same factor. Reverted since it was too memory-intensive for the CI.

The only failing test is test_corr_transform_smoke[fwe_montecarlo-normal_data-ale+analytic-mkda_kernel]. I'm not sure what the problem is.

the error is coming from this line
ss_idx = np.maximum(0, np.where(hist_weights <= p)[0][0] - 1)

the error occurs when p is less than any of the hist_weights. If p = 0.05 and hist_weights = array([1.0, 0.5, 0.2]), then np.where(hist_weights <= p) returns (array([], dtype=int64),). Since the array is empty, it does not have an index of [0].
This code fixes the immediate problem, I'll take a look at the code to see if there is something else strange going on:
ss_idx = np.maximum(
                0,
                np.where(
                    hist_weights <= p,
                    np.arange(hist_weights.size),
                    hist_weights.size,
                ).min() - 1,
            )

Thank you for digging into this! It seems like the issue, then, is that the maximum possible value for an MKDA kernel + the ALE summary statistic formula (i.e., 1) is fairly highly probable, while any summary statistic value above that is impossible, and thus p-values associated with those higher values drop down to zero. By not including impossibly high values in the histogram, I was removing these p=0 locations.
One solution that seems to work is to simply include one extra bin when I create the histogram bins. Thus, the last bin's p-value will always be zero (since it exceeds the maximum possible summary statistic value), and when we grab the bin before the identified one, we will grab the maximum possible value's bin.

I think the extra bin solution works and makes sense, so I'm going to merge this.


mptcp.dev v2

In this PR, we switch to a completely new version of the website.
This PR has 3 commits:

Jekyll with 'Just the Docs' theme
Cloudflare Web Analytics (not to hide that with other changes as it might raise questions)
New content

A preview is visible in https://mux99.github.io/mptcp.dev/, but we can also merge this to see the new content on https://mptcp.dev, and fix issues later.

@matttbe I was concerned I created a headache for you with all the separate suggestions. Relieved to see the Add suggestion to batch button is available in the File tab :)


How should I use this project to complete the pose estimation of the target object？

I now have: the internal parameter matrix of the camera, the 3D model of the target object, and the rgb image of the target object. My goal is to estimate the pose matrix of the object in the camera coordinate system. I am currently get target object bbox by object detection model and using the pnp method. Can I use this project to obtain the pose of the target object more accurately?

Hi @GhYang0519
Yes, you can use this project to obtain better correspondences for PnP. You would need to build a sparse SfM model for the target object (e.g. from a set of images), and then you can estimate the camera pose of your RGB image in the target object frame (which you can transform to obtain the pose matrix in the camera coordinate system).
You can run all these steps with hloc, LightGlue is already integrated there. Checkout the demo notebook (also available in colab) to get started.

thank you for your reply
Can I get the corresponding points between the current RGB image and the template RGB image through LightGlue, and calculate homography transformation through these corresponding points, and then for the template RGB image, I already know the 2D-3D correspondence of the target object in the image, At this point, can I calculate the pose matrix of the target object in the current RGB image?


Comictagger 1.5.5-2 won't open anymore on arch linux

I have been using comic tagger on arch Linux, worked great. Then some time ago it stopped working. I don't recall specifically at what time or kernel version of arch. I am on 6.9.3-arch1-1 as I write this. I have attempted reinstalling the application from AUR. However nothing happens when I click on the application.

1.6.0-alpha.4: Johann Kraus and later have appimages built I suggest using them. Otherwise post on https://aur.archlinux.org/packages/comictagger for assistance packaging on Arch. Or you can install with pip pip3 install comictagger[GUI] or pipx install comictagger[GUI]


Using Plain Go Type

From example:
browser, err := pw.Chromium.Launch(playwright.BrowserTypeLaunchOptions{
    Headless: playwright.Bool(false),
})

Is it possible to use plain Go type bool like:
browser, err := pw.Chromium.Launch(playwright.BrowserTypeLaunchOptions{
    Headless: false,
})

You can convert false to playwright.Bool(false) in Launch() method.
This will be easier for end user.
Also the you may not need to export Bool() or similar type convert method as a public method.

Hi,
yeah, the point of that is it's otherwise not possible to differentiate if a value was set or not internally. GRPC/Protobuf are using it in the same way.
(These methods are basically returning it's pointer value)

Understand. Thanks.

Go Nuts Mailing List:
https://groups.google.com/u/1/g/golang-nuts/c/ucgTYyBe0es


dns-root-data: init at 2017-06-16

As outlined in https://github.com/NixOS/nixpkgs/commit/cb59381eee5e89079cc855e52777dae7dc29263d#commitcomment-22565238, add a package for dnssec roots and use them in a few packages.
I chose to include an update script and commit root.keys into nixpkgs rather than using a fixed output derivation because unbound itself depends on the location of root.keys.
~Do we need root.ds?~

We should put both keys in there now already, as the rollover will happen soon.  The DS records certainly are available now, so we could use those instead.  I immediately can't see the new DNSKEY record, but maybe we can find it somewhere.

Or if we at least add it before branching 17.09...

Ah, debian has them: https://anonscm.debian.org/cgit/pkg-dns/dns-root-data.git/tree/root.key

Do we need root.ds?

In theory, either DS or DNSKEY records are enough.  DNSKEYs are used in the end, but resolvers can simply retrieve current DNSKEY set from the public DNS and verify them via the DS records.

:+1: on the new KSK but unbound-anchor only puts the current key into root.keys because the new one will be published via DNS on July 11, 2017. I didn't want to commit an unreproducible root.keys.

I'd expect a feature like this to be tied to a module.

@0xABAB There is no default location for the root anchors, so on non-NixOS systems we won't be able to find them. Therefore it should be implemented in nixpkgs itself rather than a NixOS module.

The new DNSKEY is in public DNS now!  I'm sorry; I've been terribly out of time lately.

Thanks for the reminder. I'll check if the script now returns both and push to master. ;)

BTW, the DS are also obtainable via unbound-anchor -F -a root.ds, which fetches them from https://data.iana.org with pinned certificate.

Cool, then I'll add that to the script. The second DNSKEY has also been fetched.

I believe so!  I just changed some details in 338a1952049.

Thanks! :+1:


Foundations 2.1

When does the updated foundations come out? Do we have to do anything to get the update? Is there another webinar? Will there be a document that tells us all the updates that are happening?

Foundation 2.1 will be out tomorrow! You can see the changelog here: https://github.com/zurb/foundation-emails/releases
You can update in the command line: 'npm update'

Is it still going to be released today?
Hollie Swidarski
Designer
<EMAIL_ADDRESS>From: Rafi <notifications<EMAIL_ADDRESS>Reply-To: zurb/foundation-emails <reply<EMAIL_ADDRESS>Date: Wednesday, April 20, 2016 at 12:46 PM
To: zurb/foundation-emails <foundation-emails<EMAIL_ADDRESS>Cc: Hollie Swidarksi <hswidarski<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [zurb/foundation-emails] Foundations 2.1 (#374)
Foundation 2.1 will be out tomorrow! You can see the changelog here: https://github.com/zurb/foundation-emails/releases
You can update in the command line: 'npm update'
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/zurb/foundation-emails/issues/374#issuecomment-212532113


Unpublishing content type entry does not remove index unless you manually update it

Description
Unpublishing a content type entry via the official Draft/Publish plugin causes an inconsistent behavior with the Meilisearch plugin.
Unpublishing does not remove the entry from the index, unless the whole index is manually refreshed via the plugin's page.
Publishing the entry does automatically add it, so this can not be solved with a publicationState property or similar.
Expected behavior
Upon pressing the Unpublish button, the index for that entry should be automatically removed.
Current behavior
Unpublishing an entry does not remove it remove it from the index automatically.
When accessing the Meilisearch plugin page the indexed number of documents exceed the number of total documents (as seen in the screenshot below). This is not just a visual bug, the index is actually there.
Screenshots or Logs

Environment (please complete the following information):

OS: Windows 10 64-bit
MeiliSearch version: v0.24.0
strapi-plugin-meilisearch version: 0.4.1
Browser: Google Chrome Version 97.0.4692.71/
Strapi version: v3.6.8
Node version: 12.20.1

Hey @Tocas97
You are absolutely right. I forgot to add a listener to the unpublish action. Let me add that to the important features to add

Sorry, this issue is not fixed yet. Tested on version 0.6.6.

Hey @vietlongn I did not realize you were using strapi v3! The fix has been introduced in the plugin compatible with strapi v4.
Since there are a lot of users still using strapi v3, could you upvote this ?
https://github.com/meilisearch/strapi-plugin-meilisearch/issues/444

Since v3 is not used a lot, this issue might not be relevant anymore. closing this. Feel free to re-open if it is still needed


Use UTF-8 character set

Hi, thanks for this great action! I have a hopefully small request please.
I am working on an ODBC library written in Python. My CI test matrix runs the test suite using different combinations of OS and DBMS.
On Windows with a PostgreSQL backend (created via this action), I get one failed test. It is a round-trip of inserting/reading a UTF-8 string to check that what is read matches what was inserted. The same test passes for all other combinations of OS and DBMS, but for Postgres on Windows I get this error back from the ODBC driver:
22P05ERROR: character with byte sequence 0xf0 0x9f 0x8c 0x9c in encoding "UTF8" has no equivalent in encoding "WIN1252"
This error occurs on the insert SQL statement. The issue is that the database has a character encoding of WIN1252 and the unusual UTF-8 character in the string cannot be converted to the server's encoding. (SO link)
Would it be possible for the database to be created with UTF-8 character set? That way, I would be able to insert and read back the string in this test.
I'm not an expert, but I think I am asking for something like this:
initdb -E UTF8

Hey @chrisimcevoy,
Thanks for reporting the issue. I'll see what I can do. Let me check some docs regarding client/server encodings and encoding negotiation (if any).

I have published ikalnytskyi/action-setup-postgres@v3 where encoding=UTF-8 and locale=en_US.UTF-8 are enforced on Linux, macOS and Windows runners.


build index from directory of peptide files

motivation: I wanted to build an index from a directory with many protein files.
I created a new flag --index-from-dir for sencha index. If this flag is specified, the peptides supplied are considered a directory, which we look in for *fa.gz, *.faa.gz, *.fa files. Default functionality remains the same, with the exception that peptides are handled as a list [peptides]
Main changes: modified functions to accept a list of peptides files rather than a single file, and modified make_peptide_bloom_filter to actually loop through and use these files for the bloom filter.
This is likely not be the best way to do this, but it's working for now (index tests passing).
thoughts and ideas @olgabot @pranathivemuri?

@bluegenes the code generally looks good to me, just tiny comments on names, logging

are you going to use this in a kmermaid pipeline, then you might have to change the version here - https://github.com/nf-core/kmermaid/blob/dev/environment.yml#L38

@olgabot please review when you get a chance, thanks!

What if someone provides a folder of bloom filters with --peptides-are-bloom-filter? What is the expected behavior there? Do the bloom filters get merged, or does only the first one encountered by os.listdir get used? For simplicity, I think the easiest thing is to only allow one item when --peptides-are-bloom-filter for now, and consider merging indexes/bloom filter as a future feature.

index-from-dir is only an option in index, not translate, so it only handles cases with fasta files that can be read by screed (doesn't handle bloom filters at all). You could extend the functionality to translate, but I don't think it's necessary and it adds this complication.
In translate, The cli allows only one peptide/bloom filter input, right? (@click.argument("peptides", nargs=1))
So we should only ever have to deal with one bloom filter?


Make acme certificate manager a singleton

Support for acme certifiate manager needs to be added in three places, in:
(a) http middlewares.
(b) http server.
(c) http multiplexer.
When procuring certificates(and running in general), x/crypto/acme will mutate the certificateManager to add state.
Thus the three places(above) that require the certificate manager ought to share the same instance.
Hence this change.

Codecov Report
Patch coverage: 64.86% and project coverage change: -0.25 :warning:

Comparison is base (a97aa95) 78.79% compared to head (d680c27) 78.55%.

:exclamation: Current head d680c27 differs from pull request most recent head 564feac. Consider uploading reports for the commit 564feac to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #293      +/-   ##
==========================================
- Coverage   78.79%   78.55%   -0.25%
==========================================
  Files          39       39
  Lines        3556     3576      +20
==========================================
+ Hits         2802     2809       +7
- Misses        622      634      +12
- Partials      132      133       +1

Impacted Files
Coverage Δ

middleware/acme.go
100.00% <ø> (ø)

server/tls_conf.go
49.25% <ø> (ø)

mux/mux.go
67.85% <35.29%> (-8.27%)
:arrow_down:

middleware/middleware.go
99.16% <66.66%> (-0.84%)
:arrow_down:

internal/dmn/dmn.go
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Superseded by https://github.com/komuw/ong/pull/294


Cli: Offer command name configuration

Currently the command name is not part of the help page.
To compute the command name offer the possibilities:

Use the passed argc/argv information to get the comman name from argv[0].
Allow to override the above behavior and explicitly set the command name.

See also #37


SyntaxError on python 3.4

/home/js/.virtualenvs/ppm/bin/python /home/js/git/ppm/manage.py runserver 8000
Traceback (most recent call last):
  File "/home/js/git/ppm/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/js/.virtualenvs/ppm/lib64/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/js/.virtualenvs/ppm/lib64/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/home/js/.virtualenvs/ppm/lib64/python3.4/site-packages/django/__init__.py", line 21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/js/.virtualenvs/ppm/lib64/python3.4/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/home/js/.virtualenvs/ppm/lib64/python3.4/site-packages/django/apps/config.py", line 202, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib64/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1467, in exec_module
  File "<frozen importlib._bootstrap>", line 1572, in get_code
  File "<frozen importlib._bootstrap>", line 1532, in source_to_code
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/js/.virtualenvs/ppm/lib64/python3.4/site-packages/devserver/models.py", line 20
    raise exceptions.ImproperlyConfigured, '%s isn\'t a devserver module' % path
                                         ^
SyntaxError: invalid syntax

There is a still a PR #75 to fix this.


Implement bootstrapping

Bootstrap resampling with replacement. Can specify nrow and seed, but not whether or not to replace. Was thinking of making this method the de facto train/test splitter, but easier to just replicate the needed functionality in a dedicated method for that.
Requested @gpestre review to verify I am not needlessly making copies of data or messing with the underlying dataframes – or any other mistake I can't think of.

Excellent point and explanation, @gpestre ! Certainly helped me understand better what's going on. I added a commit to incorporate your proposed changes. Didn't run tests on it, but I assume it's working – and if not we just have one more Issue in the backlog 😅


Do not render client validation when Validator::with is set and withClient is not

There is a common problem with model attribute validation: when developer defines when condition in the model rule, but forgots about whenClient.
This leads to inconsistend client-side validation.
This PR fixes behaviour of ActiveFieleld::getClientOptions() so JS will not be rendered, when when is defined, and withClient is not.

Set 'enableClientValidation' => false will do the same without this PR.
Considering this PR will change important default behaviour, i'm not sure that it can be merged.
So when there is something this in the code:
['price', 'required', 'when' => function ($model) {
    return Yii::$app->user->can('setPrice');
}

The form will be busted.

Then I don't think it's a good idea to change it.


Download profession types

I can't download a list of all profession types. In the downloaded files i get the profession ID but not it's name.

This is a duplicate of this: https://github.com/acdh-oeaw/apis-core/issues/202 so closed


bug(): Component DataProvider is never called

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Project created using Visual Studio 2022 Preview.
.NET ASPIRE SOLUTION
-> .NET 8 Blazor Web App (Auto mode) with sample components
<Sidebar @ref="sidebar"
IconName="IconName.BootstrapFill"
Title="Blazor Bootstrap"
DataProvider="SidebarDataProvider" />
@code {
    Sidebar sidebar;
    IEnumerable<NavItem> navItems;

    private async Task<SidebarDataProviderResult> SidebarDataProvider(SidebarDataProviderRequest request)
    {
        if (navItems is null)
            navItems = GetNavItems();

        return await Task.FromResult(request.ApplyTo(navItems));
    }

    private IEnumerable<NavItem> GetNavItems()
    {
        navItems = new List<NavItem>
        {
            new NavItem { Href = "/getting-started", IconName = IconName.HouseDoorFill, Text = "Getting Started"},
            new NavItem { Href = "/alerts", IconName = IconName.CheckCircleFill, Text = "Alerts"},
            new NavItem { Href = "/autocomplete", IconName = IconName.InputCursorText, Text = "Auto Complete"},
            new NavItem { Href = "/breadcrumb", IconName = IconName.SegmentedNav, Text = "Breadcrumb"},
            new NavItem { Href = "/sidebar", IconName = IconName.LayoutSidebarInset, Text = "Sidebar"},
        };
        return navItems;
    }
}

This code produce this result :

Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
.NET 8
Anything else?
No response

Minimalistic repo project : https://github.com/ntmessagebox/BootstrapAspire
(It's not using Render mode auto but it's not also not working)

@ntmessagebox Hi. We not provider any component named of Sidebar. I think you created an Issue in the wrong repo


configure OTEL of access log to export using HTTP

Title: configure OTEL of access log to export using HTTP
Description:

When I configured access log in envoy, I selected OpenTelemetryAccessLogConfig extension. I found that this extension can only configure gRPC to export logs through common_config. Is there any other way to export logs using HTTP?

I think the answer is no. That is gRPC specific. ref: (1)grpc.v3.CommonGrpcAccessLogConfig
(2)https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/access_loggers/grpc/v3/als.proto#envoy-v3-api-msg-extensions-access-loggers-grpc-v3-commongrpcaccesslogconfig
cced code owner: @itamarkam @yanavlasov

The OTel access logger is based on the gRPC access logger. so I don't think that HTTP is possible (unless there's a way to configure it using the gRPC config).
Side note: does Envoy have an HTTP access logger?

OTel 访问记录器基于 gRPC 访问记录器。所以我认为 HTTP 是不可能的（除非有办法使用 gRPC 配置来配置它）。 附注：Envoy 有 HTTP 访问记录器吗？

I see. Is there some other better way to achieve my goal?

I remember that I set it up to send the streaming logs to a non streaming endpoint and it worked (just resets the connection every time it sends some logs). Maybe that's a good starting point.

I remember that I set it up to send the streaming logs to a non streaming endpoint and it worked (just resets the connection every time it sends some logs). Maybe that's a good starting point.

This seems like a good idea, thanks

Thanks everyone, I solved the problem based on your responses.
I will close this issue


The model can not converge.

Hello @omoindrot , thanks for your great work. I build a Resnet to do speaker recognition job, but when I use triplet loss to train my model the loss is 0.5 and didn't decrease. Am I use triplet loss in wrong way?
    def _inference(self, inp):
        for i in range(self.n_blocks):
            if i > 0:
                inp_channel = inp.get_shape().as_list()[-1]
                inp = self._conv2d(name='conv5%d'%i, shape=[5, 5, inp_channel, self.out_channel[i]],
                                   strides=[1, 2, 2, 1], x=inp, padding='SAME')
                inp = self._residual_block(inp, self.out_channel[i], "residual_block_%d" % i,
                                           is_first_layer=False)

            else:
                inp_channel = inp.get_shape().as_list()[-1]
                inp = self._conv2d(name='conv5%d' % i, shape=[5, 5, inp_channel, self.out_channel[i]],
                                   strides=[1, 2, 2, 1], x=inp, padding='SAME')
                inp = self._residual_block(inp, self.out_channel[i], "residual_block_%d" % i,
                                           is_first_layer=True)
            print(inp.get_shape().as_list())

        inp = tf.reduce_mean(inp, axis=1)

        inp = tf.reshape(inp, [-1, inp.get_shape().as_list()[1]*inp.get_shape().as_list()[2]])

        weight_affine = self._new_variable("affine_weight", [inp.get_shape().as_list()[-1], 512],
                                           weight_type="FC")
        bias_affine = self._new_variable("affine_bias", [512], "FC")
        inp = tf.nn.relu(tf.matmul(inp, weight_affine) + bias_affine)
        print(inp.get_shape().as_list())
        output = tf.nn.l2_normalize(inp)
        return output

    def _triplet_loss(self, inp, targets):
        if targets.get_shape().as_list()[-1] != 1:
            targets = tf.argmax(targets, axis=1)
        loss = triplet_loss.batch_hard_triplet_loss(targets, inp, 0.5)
        return loss

See issue #6, if the loss is exactly 0.5 it means the embeddings have collapse into one point.
The first thing to try is to decrease the learning rate, it worked for other people before.
An additional note: the loss will not decrease during training because it's the average over the positive triplets. So the loss will just oscillate during training. However the fraction of positive triplets should decrease.

thanks for your advice.


refactor: Refactor Required in index.html

The code in index.html needs refactoring to improve readability for new developers. Adding comments will help them understand the structure better.
Reason for Refactor:
Clarity: The current HTML structure can be confusing for newcomers.
Documentation: There are minimal comments explaining the layout.
Specific Areas for Refactor:
File: index.html
Proposed Changes:
Simplify the HTML structure where possible.
Add comments to explain the purpose of key sections.
Benefits of the Refactor:
Enhances code readability and makes onboarding easier for new contributors.
Provides better documentation of the project structure.
Label:
refactor

Can you assign this issue to me, please?

I would like to apply to this issue, can you assign this to me ? @devjainofficial

@VuTranQuocThaiB2111951
you can work on it


Configure Azure PipelinesCode workflow

This pipeline configuration builds the application and produces a build for the Release configuration.

Another test.


JEI Integration Missing

Hi,
Is there Crafttweaker integration?
If yes, where can I find documentation about it?

Actually I think it's up to  the single mods, just because CT can't create support for every single mod, by the way I don't actually know
Ok I asked in the CT discord server, and now I'm sure of it, it's up to the modder
however is this mod going to be further developed? I've seen it's been pretty inactive lately

Sure it is. I just have a lot of mods to work on. But this is not abandoned.
I have no clue how to do CT support though. I'm a bit surprised it needs mod support as none of my mods have it and I'm pretty sure other people are using CT with my other mods

Hmm. But the Aqua Munda recipes already have a configurable system on their own. i.e. you can add/remove recipes in config for all the blocks in the mod. So I think this is not needed

you're right, I missed that other config
But, is there a way to make recipes show in JEI?
cause otherwise people will think they can't make it

No that's still missing. I'll reopen this ticket and rename it to 'JEI integration missing'

oh, ok, thanks for everything!

so any updates on this issue?

No sorry. Also hard at work at another mod for now so will be a while I'm afraid

It's ok, if I have some time to learn how jei integration works I'll maybe make a pull request for this purpose

Working on this now

Next version of AquaMunda will have JEI recipe support for the cooker, grindstone and cutting board

ok, thanks for the effort, really appreciate it!


Cleanup-like refactoring.

Code is mostly the same. General sweeping across the codebase so we have a good base for next implementations. Smaller cleanups will come as I'll go and add new stuff.

I'll fix the conflicts later (forgot to rebase).

Conflicts resolved.

I'll fix the conflicts later (forgot to rebase).

Sure, that's ok by me 🙂


Typo: canImport(Gibc) rather than canImport(Glibc)

https://github.com/apple/swift-foundation/blob/e27532d244fa554f0cf83a0b4f286c282d395fd0/Sources/FoundationEssentials/JSON/JSONDecoder.swift#L15

Also fixed in #68


chores

After executing below code
# Read Chore:
c = tm1.chores.get('aaa')
# Print out the tasks
for task in c.tasks:
    print("Process: {} Parameters: {}".format(task, task.parameters))

I am facing error as
Text: {"error":{"code":"","message":"'Chores' resource can not be resolved on type 'EntityContainer'."}} Status Code: 404 Reason: Not Found
how to resolve it?
Thanks in advance

What’s your version of TM1 / Planning Analytics?
On Mon, 16 Jul 2018 at 10:04, abhijit2813<EMAIL_ADDRESS>wrote:

After executing below code
Read Chore:
c = tm1.chores.get('aaa')
Print out the tasks
for task in c.tasks:
print("Process: {} Parameters: {}".format(task, task.parameters))
I am facing error as
Text: {"error":{"code":"","message":"'Chores' resource can not be resolved
on type 'EntityContainer'."}} Status Code: 404 Reason: Not Found
how to resolve it?
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/TM1py-samples/issues/24, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AOepM1rHJOZgblpTQ6uKyzcBbo9Lrz5_ks5uHEkjgaJpZM4VQtce
.

TM1 10.2.2

https://code.cubewise.com/blog/determine-the-version-of-ibm-planning-analytics

10.2.20000.50159

Version is too old. REST API in that version is very limited.
You need to have 10.2.2 FP 5 or higher.
On Mon, 16 Jul 2018 at 12:11, abhijit2813<EMAIL_ADDRESS>wrote:

10.2.20000.50159
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/TM1py-samples/issues/24#issuecomment-405202565,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOepMxRYHwxovR9l4xGGoP87Hlxa7hYvks5uHGbpgaJpZM4VQtce
.

Ok  I am downloading FP5 fixpack and then I will checks
once again thanks Marius for your prompt support.

Maybe upgrade to FP7. Then you can use all features of TM1py.
Sent from my iPhone

On 16 Jul 2018, at 13:33, abhijit2813<EMAIL_ADDRESS>wrote:
Ok I am downloading FP5 fixpack and then I will checks
once again thanks Marius for your prompt support.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


counterpartycore.lib.check.ConsensusError: Incorrect txlist_hash hash for block 700000

Having copied over my addrindexrs db from another drive, I was synching Counterparty Core for the first time on a new device when I got the following error:
2024-07-13T02:56:31.633-04:00 - [   ERROR] - Exception caught!
Traceback (most recent call last):
  File "/Users//repos/counterparty-core/counterparty-core/counterpartycore/server.py", line 730, in start_all
    blocks.catch_up(db)
  File "/Users//repos/counterparty-core/counterparty-core/counterpartycore/lib/blocks.py", line 1238, in catch_up
    tx_index = parse_new_block(db, decoded_block, tx_index=tx_index)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users//repos/counterparty-core/counterparty-core/counterpartycore/lib/blocks.py", line 1154, in parse_new_block
    new_ledger_hash, new_txlist_hash, new_messages_hash = parse_block(
                                                          ^^^^^^^^^^^^
  File "/Users//repos/counterparty-core/counterparty-core/counterpartycore/lib/blocks.py", line 324, in parse_block
    new_txlist_hash, found_txlist_hash = check.consensus_hash(
                                         ^^^^^^^^^^^^^^^^^^^^^
  File "/Users//repos/counterparty-core/counterparty-core/counterpartycore/lib/check.py", line 890, in consensus_hash
    raise ConsensusError(error_message)
counterpartycore.lib.check.ConsensusError: Incorrect txlist_hash hash for block 700000.  Calculated 997c53b7ca735452ea954d1cf3fc74e9b37eaaf4e180b092576483df12274cdd but expected abb48c10d692c159180a376b4a9002abcf582fab1b5652ba3ccdc73f4b5e0d8a
2024-07-13T02:56:31.640-04:00 - [    INFO] - Stopping API Server...
2024-07-13T02:56:31.791-04:00 - [    INFO] - Stopping API Watcher...
2024-07-13T02:56:33.171-04:00 - [    INFO] - Stopping telemetry daemon...
2024-07-13T02:56:33.388-04:00 - [    INFO] - Stopping API Status Poller...
2024-07-13T02:56:33.638-04:00 - [    INFO] - Stopping API Server v1...
2024-07-13T02:56:33.665-04:00 - [    INFO] - Closing database connections...
2024-07-13T02:56:33.686-04:00 - [    INFO] - Stopping AddrIndexRs thread...
2024-07-13T02:56:33.686-04:00 - [    INFO] - Shutting down logging...
2024-07-13T02:56:33.686-04:00 - [    INFO] - Stopping prefetcher...
ERROR:root:SQLITE_LOG: recovered 806 frames from WAL file /Users//Library/Application Support/counterparty/counterparty.api.db-wal (283) SQLITE_NOTICE_RECOVER_WAL
2024-07-13T02:56:34.874-04:00 - [    INFO] - Shutdown complete.

This was fixed with a rollback.

most probably a bad rsfetcher version.

I thought we were doing a version check to prevent that?

yep but @pinnate-modo compiled a version from branch apidb, after we bump the version but before we fixed all the bugs..

makes sense!


Terminal selects lines when scrolling down the scroll bar and crashes when right clicked afterwards

Windows terminal exits with code -1073741189 (0xc000027b). When clicking on a spot in the terminal, dragging down the scroll bar, then right clicking.
Environment
Windows build number: [Version 10.0.18898.1000]
Using powershell

Steps to reproduce

Populate the terminal with ls until scroll bar is around 1/3 height of the terminal

Scroll up top the top

Left click within the terminal

Drag the scroll bar down

Right click within the terminal

Expected behavior

Expected the terminal to do nothing.
Actual behavior
Exited with code -1073741189.

Confirmed. It may be due to the amount of data being send to clip.

AH.
Yea that looks bad. Looks like the Control needs to eat any mouse events that the scrollbar is handling. Kinda shocked that the scrollbar doesn't handle this by default.
@carlos-zamora has been doing most our mouse things, so I'll ping him here to get his eyes on it, but I'll also mark it help-wanted, if someone in the community wants to try and snipe this one from him :)


[Feature] Adding images

Description
I want to add background images in when a specific calculator is added or maybe adding some GUI effects in it.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[X] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Please assign me this issue

👋 Hello! I'd be happy to help with this issue. Could you please assign it to me? Additionally, could you please label it for the appropriate level? Thank you! 🚀

Hello, I am interested into this part (GUI) graphical user interface
i would like to work on this project. Assign it to me

Can you elaborate your issue properly @Chelseasingla1


HiveSinkWriter exception causes the writer thread to hang

Summary
The HiveSinkWriter raises the following exception:
10:45:17.646 [pool-9-thread-2] ERROR io.eels.component.hive.HiveSinkWriter - Could not perform write
org.apache.hadoop.hive.metastore.api.MetaException: Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=blah, access=WRITE, inode="/location/business_date=01-SEP-2016/type=mytype/version=1/batch_id=aa4a3ee6-bed2-4b1e-b81e-cb7bb38e7c2a":admin:supergroup:drwxrwxr-x
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319)
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:292)
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:213)
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:190)
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkPermission(FSDirectory.java:1728)
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkPermission(FSDirectory.java:1712)
	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkAncestorAccess(FSDirectory.java:1695)
	at org.apache.hadoop.hdfs.server.namenode.FSDirMkdirOp.mkdirs(FSDirMkdirOp.java:71)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:3896)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:984)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:622)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)

This is due to me not having write permission on the underlying HDFS folder.

Problem
The problem looks like the writer thread is blocked/locked on putting a row on the LinkedBlockingQueue called buffer, e.g.:
Stack trace:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:350)
io.eels.component.hive.HiveSinkWriter.write(HiveSinkWriter.scala:101)
io.eels.actions.SinkAction$$anonfun$execute$1.apply(SinkAction.scala:14)
io.eels.actions.SinkAction$$anonfun$execute$1.apply(SinkAction.scala:13)
scala.collection.Iterator$class.foreach(Iterator.scala:893)
io.eels.CloseableIterator$$anon$1.foreach(CloseableIterator.scala:9)
io.eels.CloseableIterator$class.foreach(CloseableIterator.scala:18)
io.eels.CloseableIterator$$anon$2.foreach(CloseableIterator.scala:26)
io.eels.actions.SinkAction$.execute(SinkAction.scala:13)
io.eels.Frame$class.to(Frame.scala:343)
io.eels.Frame$$anon$25.to(Frame.scala:287)
com.db.treasury.cassini.importer.GenericDatasetProcessor$$anonfun$1$$anon$1.call(GenericDatasetProcessor.scala:83)
com.db.treasury.cassini.importer.GenericDatasetProcessor$$anonfun$1$$anon$1.call(GenericDatasetProcessor.scala:62)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)

I think for any exception you should bail out, e.g. in the catch block do something like the following:

  for (k <- 0 until ioThreads) {
    writerPool.submit {
      try {
        BlockingQueueConcurrentIterator(buffer, Row.Sentinel).foreach { row =>
          val writer = getOrCreateHiveWriter(row, k)._2
          // need to strip out any partition information from the written data and possibly pad
          writer.write(normalizer(row))
        }
      } catch {
        case NonFatal(e) =>
          logger.error("Could not perform write", e)
      }
    }
  }

Perhaps you should change to have a catch block which shuts down all threads and re-throws the orignal exception, e.g.:

  for (k <- 0 until ioThreads) {
    writerPool.submit {
      try {
        BlockingQueueConcurrentIterator(buffer, Row.Sentinel).foreach { row =>
          val writer = getOrCreateHiveWriter(row, k)._2
          // need to strip out any partition information from the written data and possibly pad
          writer.write(normalizer(row))
        }
      } catch {
        case throwable:Throwable =>
           writerPool.shutdown()
           throw throwable
      }
    }
  }

Nice way to quiesce but what I saw was a deadlock after examining all the  threads on jConsole,  i.e. other threads were blocked on the queue because the thread that raised the exception simply swallowed the exception and stayed in the loop I guess?

Otherwise you end up with partial writes - missing data?

ShutdownNow should send a cancellation signal to all threads sitting on the queue and bailout.

If you don't agree I lim ok to run with this

In the change I pushed if one thread has an error, all the other threads will immediately stop out, and then the blocked thread (the caller) will be freed up. This is better than using shutdownNow, as that will just interrupt each thread, but each thread won't be blocked, but be processing the remainder of the rows. Ie, my change will result in an immediate cancellation, shutdownNow would result in a delayed cancellation, and what we had before was no cancellation.

Ok

Fixed.


Support Framework 472

Added support for .net framework 4.7.2. This required adding a reference to the Microsoft diagnostics activity source package which is only included for net 4.7.2
https://github.com/RehanSaeed/Serilog.Enrichers.Span/issues/70

Thank you for your effort @bronumski. Latest release will hit NuGet in a few minutes. Release here:
https://github.com/RehanSaeed/Serilog.Enrichers.Span/releases/tag/1.4.0

@RehanSaeed - Pulled into our legacy project and works a treat. Thanks for the quick turn around, very slick.


operators [N] [CI] telegraf-operator (1.3.5)

This adds telegraf-operator to community-operators.
The operator is not created using operator-sdk hence this submission is manually created. As mentioned in checklist below, I have tested it multiple times and it worked as expected.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/merge possible


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20210720153349492 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20210720153349492 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.552%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26727

Relevant Lines:
56924

💛  - Coveralls


Ability to "Back My Stack" as an organization member

Story
As an authenticated user, I want to detect dependencies from the GitHub repositories of my organization and "Back My Stack" using the special Open Collective Tier.
Scenario

Go on https://backyourstack.com/
Sign In with GitHub
Go to one of your organization profile, ie: https://backyourstack.com/airbnb
Customize the profile

Add more dependency files
Select/Unselect repositories

Click on a "Save Profile" button

The system needs to check that I'm allowed to do that as a member of the GitHub organization
The files will be persisted to s3 under the organization identifier, ie: "airbnb"
The backing.jsonwill be available at https://backyourstack.com/airbnb/backing.json

Click on a "Back My Stack" button
A confirmation page will explain in plain english what "Backing My Stack" means, the main action is a button that
redirect to http://staging.opencollective.com/backyourstack2/contribute/level-1-9912/checkout?data={%22jsonUrl%22:%22http://backyourstack.com/Pi9vF3knlTIwKcFtmBvzX4NHGmAfbeNr/backing.json%22}
On success from the Open Collective flow, I'm redirected on a BackYourStack page confirming what happened and what I can do next

Major todo:

Day 1: Implement the Github permission verification.

[To be updated.]

The specification should actually be updated, we should merge 5) and 6) like we decided to do in the anonymous scenario.

@znarf "The system needs to check that I'm allowed to do that as a member of the GitHub organization" That was not implemented :-/


Option to show closed buffers too

This introduces an additional (opt-in) config setting to show be able to see recently-used-but-closed-buffers in the buffer view. The config setting defines how many closed buffers to remember (0 by default, i.e. the buffer view works just like now).
This is more or less the same functionality as I implemented in the package recent-files-fuzzy-finder, but considering I had to do some workarounds/hacks to extend the buffer view I think it makes more sense to just add this as an additional (opt-in) behaviour in this package.
For some motivation to this feature see recent-files-fuzzy-finder/readme#why

Any reason this one wasn't merged? It seems like a very nice feature to be able to have!


Closes #1496 doc update baseline function@devel

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

Looks good besides that grammar issue!   Just spotted when I was reviewing the site.

How is:
"For each by_vars group, the baseline record is identified by the condition specified
in filter which defaults to ABLFL == "Y". Subsequently... "

How is:
"For each by_vars group, the baseline record is identified by the condition specified in filter which defaults to ABLFL == "Y". Subsequently... "

Much clearer

Thanks Zhu for your first contribution! Feel free to merge once Ben approves.


same cert that was issued for the ADFS ? Where to get it?

Under "Add the ADFS account application key to Azure AD B2C"
8. ... This certificate with the private key should be the same one that was issued and used for the ADFS relying party.
What do you mean by this?
Is this the same certificate that is in use in ADFS as the service communication certificate?
Or as token-signing certificate?

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

ID: e14a5d4c-5125-8ed2-7fda-38aee1296b76
Version Independent ID: 054d298b-937e-9f01-ae56-7025e47e4eec
Content: Add ADFS as a SAML identity provider using custom policies in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-custom-setup-adfs2016-idp.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@mchudinov
Thanks for your feedback! We will investigate and update as appropriate.

This is the token signing certificate. This can be either an SSL certificate or cod signing certificate. The only requirement is that the Key Usage should contain at least a Digital Signature.
Please see this blog which explains everything in detail: https://blogs.technet.microsoft.com/askpfeplat/2018/01/29/adfs-monitoring-a-relying-party-for-certificate-changes/

I'm closing this out for now. If this does not answer your question fully or you would like to continue the discussion, please leave a comment or open a new issue and I will gladly continue the conversation.

Could you please clarify this sentence.
Make sure that you have access to the certificate .pfx file with the private key that was issued by ADFS.
Is this a token signing certificate for Relying party (RP) trust (B2C)?
The private part of the certificate (and password) is registered on B2C (as Relyng Party) .
The public part of certificate is on ADFS as IdP.
ADFS checks the requests coming from B2C are signed with this certificate.

It just sounds strange that certificate is "issued by ADFS" but it is registered with private key and password in B2C.

@mchudinov - were you ever able to figure out how to actually access/create the certificate .pfx file? It still isn't clear how exactly that certificate is configured on the ADFS server and how you obtain it (or create it?).

Anyone who is also hung up with this issue... you can find more details on this same issue here.

@mchudinov - were you ever able to figure out how to actually access/create the certificate .pfx file? It still isn't clear how exactly that certificate is configured on the ADFS server and how you obtain it (or create it?).

What I in practice do is just generate these .pfx certificates as self-signed, then upload them to Azure B2C and publish public keys through metadata. Then every of my identity providers (ADFS) - i have multiple IdPs - has an access to its own public key of pfx certificate.
I rotate these certificates regularly and ADFSs are being updates through metadata updates.
How to generate a self signed pfx certificate is another topic. I use makecert command line utility.

Thanks @mchudinov. That's exactly what I ended up doing. BTW, if anyone is on a mac, this is how I generated a new self-signed certificate.
# Create a new private key, enter a password after the command.
$ openssl genrsa -des3 -out MyCert.key 2048
# Check the new key works with the password
$ openssl rsa -check -in MyCert.key
# Generate a new self-signed certificate
$ openssl req -key MyCert.key -new -x509 -days 1825 -out MyCert.crt -subj "/CN={your-tenant-id-here}.b2clogin.com - ADFS"
# View contents of certificate
$ openssl x509 -in MyCert.crt -noout -text
# Generate new pfx file from certificate and key. Enter another password after the command
$ openssl pkcs12 -export -out MyCert.pfx -inkey MyCert.key -in MyCert.crt

Thanks for sharing the cert creation commands. This should be added to the documentation


Create high score window and the logic for opening it

This aims to solve issue #20. Work needed still

Columns should be wider I guess? Something like this code.

Columns should be wider I guess? Something like this code.


Update team page

https://sleepdata.org/team
Move to past contributors: GQ, Sara M, Ary G, Shiqiang Tao, Yan Huang.
Eliminate "Co Investigators" section. Move Shaun P to Principal Investigators (SR and SP).
Add to Team Members: Shyamal Argarwal, Ying Zhang, Kate Nuzzolo.

FYI, contributors can be set by checking the "Contributor" option on the user page, so those can be updated dynamically, I've done this for GQ, Sara, Ary, Shiqiang, and Yan.

Also, team members can be removed there by removing the "Core member" option for them on their user page.

To add Shyamal Argarwal, Ying Zhang, Kate Nuzzolo, go to their user page and select "Core Member".


excludeCategories starts a jvm when "forkEvery 1", causing slow performance

Expected Behavior
excludeCategories allows the test task to skip the test and does not start a new jvm  when "forkEvery" is specified.
Current Behavior
A new jvm should not be started to determine if a test class with a JUnit Category should be excluded from the task.
Context
This is causing slow performance for builds with a large number of tests.
Steps to Reproduce (for bugs)
I have a simple example here:
https://github.com/4n00p/mastering-gradle/tree/master/Chapter6/Test_Junit_Categories
in the build.gradle, I specify the debug jvmArgs in order to get the message:
"Listening for transport dt_socket at address:"
This lets me know if a jvm has been started ("suspend=n" so I just get a message from the jvm).
There are two tests in my example, in two separate JUnit categories (FastTest and SlowTest).
One test is included and the other is excluded, yet two jvms are started ("Listening transport...").
Your Environment
This has been demonstrated on gradle 4.7 & 4.3.1
This issue might be related to:
"--tests seems to initialize every test causing slow performance "
https://github.com/gradle/gradle/issues/3851

Gradle can only set a filter for JUnit to include/exclude classes, it cannot determine whether a class contains any included tests on its own. Thus, when you set forkEvery to 1, this behavior is to be expected.


.sample incorrect key_dimension values

d={x: (z1 * hv.VLine(x) + z1.sample(B=x) )
     for x in np.linspace(0.2, 0.8, 10)}
hv.Overlay.collate(d, key_dimensions=['B']).cols(2)

gives me:

In the left graph the ticks on the x-axis are incorrect. These are the values that I gave in with: hv.Dimension('Chemical potential', unit='meV', range=(0, 35)).

Good catch will have a look.

As far as I can tell this was fixed by acd6e4529f989. Try pulling the latest version and let me know if you can still reproduce this bug.

That was only concerning the sampling issue. The issue with the axes we addressed previously in https://github.com/ioam/holoviews/issues/42, but I haven't yet acted on it. Will hopefully get around to that today.

Yes, that fixed it. I had already installed the latest master but forgot to reload...
Is it possible to plot the same in the same range as the graph that you're sampling? The axis are still from 0 to 35.

As I said the situate_axes plot option on Image should do it. The issue is that our entire normalization system currently doesn't allow you to independently control whether the axes ranges or just the Raster luminance values are shared and since it's often pretty annoying for Images to embed in a much larger space we added the situate_axes plot option to make that behavior optional. After the discussions in https://github.com/ioam/holoviews/issues/49 and https://github.com/ioam/holoviews/issues/52, we no longer think that is a good idea but have yet to act on the conclusions we've come up with.

Yes that is a possible solution, but is there no other way?
My understanding was that in Dimension(nane, range(min, max) I put the outer values of that dimension, or am I mistaken?

The Dimension range is basically the space that the values along that Dimension lives in. So yes your understanding is correct and as I keep saying Image currently has special treatment in the way it handles those ranges, ignoring them unless situate_axes is enabled. We will get rid of this special handling but for now your options are either not to supply the Dimension.range or to enable situate_axes on Image.


Microphone Access for Gradio apps in VSCode on Windows Pro not being granted...

Launching a new gradio app with audio throws a fatal error:
"Something went wrong
Please allow access to the microphone for recording."

See dialog box above.
There is no Microphone for Recording icon in the Status Bar as referenced in the Mac OSX post for the same issue.
I am running on:
Windows 10 Pro
Python 3.10
Here is the source code:
Gradio demo from
parttime_larry_chatgpt35_and_whisper_APIs_therapist.py
import gradio as gr
def transcribe(audio):
print(audio)
return "transcription goes here: "

ui_demo = gr.Interface(fn=transcribe,
inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
ui_demo.launch()

Hi @richlysakowski - I'm not seeing the link to Live Share here.
Is there an issue you're seeing with Live Share?


Installation commands

I know I can result a noob, but.. what are the installation commands?
I am not sure if all modules have the same installation procedure so to be sure I'm asking here.
Thanks!

Same as any other module
cd ~/MagicMirror/modules
git clone https://github.com/shbatm/MMM-RTSPtoWeb
cd MMM-RTSPtoWeb
npm install


Forcing does not work for star-shaped graph

I have a graph with one central and many adjacent nodes. It works fine, if there are not too many nodes. However, if  there are more than 33 adjacent nodes (central node excluded), the entire graph just collapses to a line: You only see a single edge with the central node at one end and all other nodes clumped together on the other. It flickers several seconds (the nodes dramatically jump from one end of the line to the other and back, without ever leaving the line though) before the forcing algorithm settles for the line.
Sample code:
                        // create and populate graph
                        var graph = new Springy.Graph();
                        var center = graph.newNode({
                            label: 'ME'
                        });

                        for (var i = 0; i < 34; ++i) {
                            var node = graph.newNode({label: i});

                            // connect nodes with an edge
                            graph.newEdge(center, node);
                        };

                        var $canvas = jQuery('#graph');
                        console.assert($canvas.length, 'could not find graph canvas');

                        jQuery(function(){
                          var springy = $canvas.springy({
                            graph: graph
                          });
                        });

I fixed it by reducing the damping to 0.1 (default is 0.5):
var springy = $canvas.springy({
    graph: graph,
    damping: .1
});


submit the extension to open-vsx.org

When using some Linux installation of VSCode or Codium, it's bind to https://open-vsx.org instead of the marketplace.
Open-VSX teams provides publication instructions on https://github.com/eclipse/openvsx/wiki/Publishing-Extensions.
If this require to much work, it's possible to fill a pull request in this repository: https://github.com/open-vsx/publish-extensions/

Thanks, I don't have time to look into this just now, but certainly interested and happy to receive PRs

@chrisjsewell could you please take a look at https://github.com/executablebooks/myst-vs-code/pull/37 ?