"ranking" in test.json does not align with the predicted reward produced by the model

Hello! This is a very interesting work, and potentially a very impactful one. I really appreciate you guys for sharing this model.
I just have a question related to the "ranking" data provided in the test.json. It seems that many rankings did not break tie. Were these labeled by human annotators? Because I notice that the rankings produced by the reward model will almost always breaks tie. It rarely is the case that two images will get the same scalar reward value.
For example, the image set<PHONE_NUMBER> has the ranking [             2,             3,             3,             2,             4,             4,             1,             1         ] in test.json, but on the same images the reward model produced: [ 2, 6, 3, 5, 4, 7, 8, 1 ]. Just wondering why is this the case.
Thanks!

nvm just figure out these are test labels aimmed for testing the reward model


some typos and issues inn scaffold/README.md

[ ] manning-postgres should be used everywhere

[ ] secret-pw is mysql password not secret only

[ ] small improvements about the bash cmd

Thanks for contribution! I'm out of town through the weekend, but will look
at this Monday!
On Fri, Oct 2, 2020, 6:24 AM obar1<EMAIL_ADDRESS>wrote:

manning-postgres should be used everywhere
secret-pw is mysql password not secret only
small improvements about the bash cmd
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jyates/manning-energy-resources/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABQGDHS6FFX2RGWHKMU5R3SIXBBJANCNFSM4SBUHPDQ
.

PR lg so far. Do you want me to merge it?

Thanks for the contribution! It is very much appreciated!


julia 1.10.1

@stebo85
This PR uses the official julia docker image
A difference is that it directly drops the user into a running julia REPL (when testing it after an offline build, not sure if this happens in Neurodesk as well)
Another question about using julia, since there are multiple common ways to use julia:

REPL
vscode as IDE with julia extension

vscode executes files or line-by-line in an interactive julia REPL in the vscode terminal. The path to the julia executable can be given to vscode

Jupyter or Pluto notebook

Can we create user-friendly ways to run julia for all these scenarios?

REPL is easy
I tried two things for vscode

Opening the julia container and running vscode. This does not work as the command "code" is not found
Starting vscode and setting the Executable Path for julia to "/cvmfs/neurodesk.ardc.edu.au/containers/julia_1.4.1_20210105/julia". This worked, but needs good documentation so that users can follow it.

We could have 2 or 3 start options for julia, with vscode, repl and the container. Not sure if all are necessary.
"julia": {
        "apps": {
            "julia 1.4.1": {
                "version": "20210105",
                "exec": ""
            },
            "1.10.1": {
                "version": "2024...",
                "exec": ""
            },
            "1.10.1 vscodeGUI": {
                "version": "2024...",
                "exec": "code"
            },
            "1.10.1 REPL": {
                "version": "2024...",
                "exec": "julia"
            },
        },
        "categories": ["programming"]
    }

Or would it be better to use entrypoint instead of this apps configuration?
I tried the vscode container, julia seems to work there. The only issue might be that vscode extension cannot be updated or installed after the container is created.

I think this configuration is more flexible and looks good :) the entrypoint makes things a bit inflexible sometimes

I took the code container as base and removed the go and python stuff. The vscode extensions are frozen, but I think this is good enough.
I'm not sure, maybe the module.sh or other things are unnecessary here.

@korbinian90 - can you test? code ist not yet working - I think it needs a bindmount of /run but I don't understand why my old container was working correctly yet.

@stebo85 yes, the same issue, when I tried with bash /neurocommand/local/fetch_and_run.sh julia 1.10.1 20240227
code doesn't open. /usr/bin/code -v shows the version number, so it is installed
I noticed that code doesn't work in the docker container when trying it locally before pushing it, but I thought maybe GUIs don't work there.
I removed these dependencies from the installation when adapting from the code recipe to julia: cryptsetup squashfs-tools lua-bit32 lua-filesystem lua-json lua-lpeg lua-posix lua-term lua5.2 imagemagick python-pyqt5 midori
They seemed to be unrelated to vscode and "midori" couldn't be found for installation
Otherwise I changed debian:9 to debian

I tried building the original code container, it failed to build.
After adjusting debian:9 to debian and removing midori and python-pyqt5, the container was building, but at least locally the same problem still existed.

ok, good to know. I think it needs the /run directory bind mounted for vscode to work. I have an idea how to do this and will test that next week.

I tried to mount the /run directory but it doesn't work yet, because dbus being missing

Dear @korbinian90 - @Vbitz found the problem! VScode needs libX11-xcb - I now added the library to the container and it's working now :) It's currently in the release process, so should be ready to test in a few hours.

ok, do you have an idea why that happens? I have a look at it next week.

@stebo85 I managed to get a screenshot of the error
It seems to be attaching REPL and vscode to the container name and looking for a non-existing container
Starting vscodeGUI:

Starting REPLGUI:

ahh, found the problem! The menu items were incorrectly named. I just fixed that now. Can you click the Update button in the menu and then it works (It will create two entries for now, but the next release will have this appropriately fixed)

Great :) The new Neurodesk release 2024-03-27 has this fix included now.


Double check if there are no memory leaks or any performance hogs

I wonder if this is some possible memory leak or similar bug. Things to check:

Verify that surface creation is executed once and GPS array is populated only once, no duplicates: https://github.com/RecyclingTrashCans/recycling-trashcan-armap/blob/24ce063cd1c9f33b6ab69019a10cd5917d5c041c/app/src/main/java/dev/csaba/armap/recyclingtrashcans/TrashcanGeoRenderer.kt#L102
Verify that we create the set of anchors and markers only once: https://github.com/RecyclingTrashCans/recycling-trashcan-armap/blob/24ce063cd1c9f33b6ab69019a10cd5917d5c041c/app/src/main/java/dev/csaba/armap/recyclingtrashcans/TrashcanGeoRenderer.kt#L227
Verify that during rendering https://github.com/RecyclingTrashCans/recycling-trashcan-armap/blob/24ce063cd1c9f33b6ab69019a10cd5917d5c041c/app/src/main/java/dev/csaba/armap/recyclingtrashcans/TrashcanGeoRenderer.kt#L263 there's no memory leak
Possibly there's no memory leak in the support / helper code https://github.com/RecyclingTrashCans/recycling-trashcan-armap/tree/main/app/src/main/java/dev/csaba/armap/common

Ref https://github.com/google-ar/codelab-geospatial/issues/11
Demo videos https://youtu.be/w3dUH4fB68Y and https://youtu.be/pXJcbjEno_0

The new version's 3D objects has way less vertex count (very rectangular arrow), so hopefully that'll help the 3D engine.

The release version worked very smoothly on the Nord (although not in 100F heat, but screen recording was on still). So I repurpose this ticket.


upgrade alertmanager

Signed-off-by: David J. M. Karlsen<EMAIL_ADDRESS>What this PR does / why we need it:
Which issue this PR fixes
latest alert manager release
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md

/lgtm


Replaces tables with UITableViewController, second PR

@philium I made the changes.

Thank you.

@qsmmorgan I apologize. My comment about presenting as a form sheet was made on the wrong segue. I meant to put it on the one that was being presented full screen. Looking back through the changes I can't find the right segue, so maybe it was one that you didn't change.


Webui contribution

@jmcanterafonseca - Updated the Tour Guide content for WebUI according to http://jira.fiware.org/browse/WEB-923. The content in the text was still up to date. Mainly updated FI-Lab to FIWARE LAB to be consistent with the new spelling, and added the revised architexture diagram for the Release 5 set of GE

LGTM, please could you squash your commits into a single one
https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/

Hello,
done, all commits are now squashed to a single one


Using more then 2 cams to extend controller scope (question)

Hi,
First of all, thanks for your excellent work.
Question as stated in title based from my experience when playing VR games. Currently controllers are best identified when in front of cameras and you cannot use them when turned around. In case we have 3 or 4 cameras around the controller area, we could have 360' degree of coverage since we always will have at least 2 cameras that see the controller. But in most cases there will be 3 that can additionally improve accuracy.
Please let me know what do you think of that.
GB

Please follow the instructions in the 'Getting Help' section of the README.


[REEF-389]: Fix violations of ModifierOrder checkstyle

This addressed the issue by

reordering modifiers as suggested by checkstyle

JIRA: REEF-389

I'll merge this


[APPM-1635] Next button is visible even though no next page is available to go in publisher app listing.

Reference: https://wso2.org/jira/browse/APPM-1635

App manager component is being rewritten for IoT server, and this will be addressed there. Hence closing the issue.


Single Facebook author imported as multiple users

I just loaded up https://zenodotus-staging.herokuapp.com and noticed that the two most recently-archived pieces of media (at this moment) are from the same Facebook account, yet if you drill in to their user page, they're treated as distinct Facebook users within the vault. It looks like we may sometimes be creating a new user record for every archive item.
Example of three users that should be one:

https://zenodotus-staging.herokuapp.com/facebook_users/8274ed34-0445-4494-aa86-959d7f978e7e
https://zenodotus-staging.herokuapp.com/facebook_users/54c4ddaa-e544-4592-86fc-404b83614cc8
https://zenodotus-staging.herokuapp.com/facebook_users/3541c332-afbc-424b-ae90-f1893040abda

This is weird, we even have a test to handle this.
  test "can update facebook user" do
    archive_entity = Sources::FacebookUser.create_from_forki_hash([@@forki_user]).first

    # Set a property to something random
    archive_entity.facebook_user.update!({ followers_count: 2 })
    assert_equal archive_entity.facebook_user.followers_count, 2
    # Now try and save it again, and make sure the followers count is correct
    archive_entity2 = Sources::FacebookUser.create_from_forki_hash([@@forki_user]).first.facebook_user
    assert_equal archive_entity.service_id, archive_entity2.service_id
    assert_equal @@forki_user["number_of_followers"], archive_entity2.followers_count
  end

Whoops, the problem is we were looking at id in the Zeno database instead of facebook_id


Mobile Version Morning Session Review.

Add a descriptive title to your markup <title></title>
you header text "I'm Alex, Glad to see you" should not includer <br/> for flexible layout

Good design and congratulation for the good work.
Some changes need to be fixed, I see these:
♻ hamburger button need effect as in figma
♻ you have a big padding between work and headline-container section
♻ the get my resume button doesn't have effect
Your design looks well and functionalities are alright:
✔ contact form validated successful
✔ responsive alignment
Happy coding 💯 😄


Chalice does not automatically pick right version of Python to use

Hi, I'm trying to upgrade a Chalice project to latest Python runtime version following steps from http://chalice.readthedocs.io/en/latest/topics/pyversion.html , but apparently the right version of Python doesn't get automatically picked as supposed to. This is how I can reproduce it:
✔ /tmp/testing-chalice
10:56 $ virtualenv --python python3 venv3
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6'
New python executable in /private/tmp/testing-chalice/venv3/bin/python3.6
Also creating executable in /private/tmp/testing-chalice/venv3/bin/python
Installing setuptools, pip, wheel...done.
✔ /tmp/testing-chalice
10:56 $ source venv3/bin/activate
(venv3) ✔ /tmp/testing-chalice
10:57 $ chalice --version
chalice 0.8.2
(venv3) ✔ /tmp/testing-chalice
10:57 $ python --version
Python 3.6.0
(venv3) ✔ /tmp/testing-chalice
10:57 $ chalice new-project test-versions
(venv3) ✔ /tmp/testing-chalice
10:57 $ cd test-versions
(venv3) ✔ /tmp/testing-chalice/test-versions
10:57 $ chalice package test-package
Creating deployment package.
(venv3) ✔ /tmp/testing-chalice/test-versions
10:57 $ grep -C 3 python test-package/sam.json
    "Properties": {
        "Handler": "app.app",
        "CodeUri": "./deployment.zip",
        "Runtime": "python2.7",
        "Events": {
        "indexget6a99": {
            "Type": "Api",

Running on up to date MacBook Air, installed Python v3 via Brew

Hmm I can't replicate this:
➜ virtualenv --python ~/.pyenv/versions/3.6.0/bin/python3 shaftoe
.
.
.
➜ source shaftoe/bin/activate
(shaftoe) ➜ python --version
Python 3.6.0
(shaftoe) ➜ pip install chalice
.
.
.
(shaftoe) ➜ chalice --version
chalice 0.8.2
(shaftoe) ➜  chalice new-project test-versions
(shaftoe) ➜  cd test-versions
(shaftoe) ➜  chalice package test-package
Creating deployment package.
(shaftoe) ➜  grep -C 3 python test-package/sam.json
    "APIHandler": {
      "Type": "AWS::Serverless::Function",
      "Properties": {
        "Runtime": "python3.6",
        "Handler": "app.app",
        "CodeUri": "./deployment.zip",
        "Events": {

Chalice uses sys.verison_info[0] to determine the major python version of your environment. Can you try this in your virtualenv:
(shaftoe) ➜ python
Python 3.6.0 ...
>>> import sys
>>> sys.version_info[0]
3
>>>

We simply take this value and map it to the nearest version of python that lambda supports:
https://github.com/awslabs/chalice/blob/master/chalice/config.py#L137-L142
https://github.com/awslabs/chalice/blob/master/chalice/package.py#L101
I have also never used python 3 installed from brew so I don't know if that could be contributing to the issue.

Thanks for help.
That's odd, I can see the expected version from version_info:
(venv3) ✔ /tmp/testing-chalice
10:11 $ python
Python 3.6.1 (default, Apr  4 2017, 09:40:21)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version_info[0]
3

I guess for some reason when running chalice the wrong version of the interpreter is executed, even if inside the virtualenv, will try to dig deeper as soon as I find some time

I would suggest setting a breakpoint here and see what that returns to start with.

I noticed in your original output you're not installing chalice in your venv:
✔ /tmp/testing-chalice
10:56 $ virtualenv --python python3 venv3
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6'
New python executable in /private/tmp/testing-chalice/venv3/bin/python3.6
Also creating executable in /private/tmp/testing-chalice/venv3/bin/python
Installing setuptools, pip, wheel...done.
✔ /tmp/testing-chalice
10:56 $ source venv3/bin/activate
(venv3) ✔ /tmp/testing-chalice
10:57 $ chalice --version
chalice 0.8.2

What could be happening is chalice is installed globally under python2, which would explain why it's not using the python3 version.  Could you try pip install chalice in your virtualenv?  You can also double check this by running which chalice and it should point to a location under the /private/tmp/testing-chalice/venv3/bin location.

Right on! great catch @jamesls , thanks for the help


idle time active health check

Now envoy can be configured with active health check for the upstream hosts periodically. If there are huge number of upstream hosts, the health check traffic will also become huge.
Actually, if there is continuous traffic for an upstream host, there is no need to do health check for that host with a fixed frequency.
Is it possible to do health check only when there is no correct business traffic response to that host?
For example, if there is no traffic for 1 second, then do active health check. If there is always traffic to the host (HTTP response 2xx), the host should be considered as healthy without active health check.

I'm not sure this solves the scalability problem of active HC in general, since it's really dependent on traffic patterns and a specific notion of upstream health. This is threading the line between outlier detection and active HC while removing much of the distinguishing advantages of active HC. It is a plausible optimization with these caveats. @mattklein123 ?

Yeah I have thought about an optimization like this, but it really depends on the use case and it would certainly need to be configurable. Without passive health checking configured it wouldn't work at all obviously. I will mark this help wanted.

I propose a PR https://github.com/envoyproxy/envoy/pull/24903.
Can someone have an initial review to see whether the functionality works as expected ?
I will add test case code.

Is this issue solved by #24903?

Is this issue solved by https://github.com/envoyproxy/envoy/pull/24903?

Yes I think so, thanks.


Crash in Microsoft.UI.Xaml.dll!VirtualizationInfo::UpdatePhasingInfo

Copied from internal issue.
Potentially from an app using older versions of WinUI 2.

No crash dumps available for this to make it actionable.


PHPDoc chokes on PHP 7.1 optional function parameters

When using PHP7.1 optional parameters syntax, PHPDoc does not parse the file.
Expected Behavior
This file should be parsed correctly :
<?php
/**
 * Test file
 *
 * @author      tchapi
 */

/**
 * Class Test
 *
 * This is a test
 *
 */
class Test
{
    /**
     * For the sake of it
     *
     * @param string $test (optional) whatever
     *
     * @return void
     */
    public function testme (?string $test): void
    {
        var_dump($test);
    }
}

Actual Behavior
Parse Error: Syntax error, unexpected '?', expecting T_VARIABLE on line 23  No summary was found for this file
and nothing is thus parsed in the file.
Steps to Reproduce the Problem

Parse the file above
:boom:

Your environment
PHP 7.2.6 (cli) (built: May 25 2018 06:18:07) ( NTS )
phpDocumentor version v2.9.0
Possible resolution
If PHPDoc does not support this feature yet, it could be nice to change the requirements ('PHP 7.0 or higher' in the README) to 'PHP 7.0' so that it's clear for people that stumble on this problem

Our develop branch does support php7. So that readme is correct. Master shows that we are able to run on php5.3 and higher. There is no final release yet with support for these php 7+ features. The current version required a lot of work to introduce support for php7.
Closing this because there are a number of other issues according this kind of issues.


Feature Request: allow specializing printing of native types

Hi,
First: nice library!
Second: is there a way we can overload or specialize printing of native types? For example the bool type - because I want it to print "true"/"false" not "1" or "0".
For example, would it be ok to specialize or overload boost::pfr::detail::quoted_helper()? It's in the detail namespace, so I assume we shouldn't; and besides I haven't gotten it to actually work because of the signature of quoted_helper()... but this is more about the general idea of doing so rather than the details.
I realize we can give our streamable a std::boolalpha, but doing that at every call site is annoying. And I'm not suggesting pfr's default behavior change either - I'd just like to customize it, if it's possible.(?)

There are low level functions for iterating over fields and getting field by index. You can use those, to make your own printing functions. Will that do the job?

Do you mean do something like this?:
///////////////////////////////////////
// in some header file:

namespace debug::output {

template <class Char, class Traits, class T>
inline void
print_each(std::basic_ostream<Char, Traits>& out, const T& v)
{
    if constexpr (std::is_same_v<bool, T>)
    {
        out << (v ? "true" : "false");
    }
    else
    {
        using namespace boost::pfr::ops;
        out << v;
    }
}

template <class Char, class Traits, class T>
inline std::basic_ostream<Char, Traits>&
operator<<(std::basic_ostream<Char, Traits>& out, const T& value)
{
    const char* sep = "";

    out << '{';

    boost::pfr::for_each_field(value, [&](const auto& v) {
        out << std::exchange(sep, ", ");
        print_each(out, v);
    });

    return out << '}';
}

} // namespace debug::output

///////////////////////////////////////
// in some cpp file:

namespace some_other_ns {

std::string
Options::display() const
{
    using namespace debug::output;
    std::stringstream ss;
    ss << *this;
    return ss.str();
}

} // namespace some_other_ns

yeah, that would work for me for sure. I hadn't thought of just re-recreating pfr::write().
You might want to add an example of that, if you don't have one already. I saw one for streaming a specific user type, but not for doing it for native types, and didn't make the mental connection. (it's a Monday ;)


RuntimeError: CUDA error: invalid device function

Describe the bug
Hi, I run the demo and encounter CUDA error: invalid device function
Reproduction

What command or script did you run?

python tools/train.py configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py

Did you make any modifications on the code or config? Did you understand what you have modified?
NO
What dataset did you use?
COCO

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.

The result of python mmdet/utils/collect_env.py.
sys.platform: linux
Python: 3.7.6 (default, Jan  8 2020, 19:59:22) [GCC 7.3.0]
CUDA available: True
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.0, V10.0.130
GPU 0,1,2,3,4,5,6,7: GeForce RTX 2080 Ti
GCC: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
PyTorch: 1.5.1+cu101
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v0.21.1 (Git Hash 7d2fd500bc78936d1d648ca713b901012f470dbc)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 10.1
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_
70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
  - CuDNN 7.6.3
  - Magma 2.5.2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_INTERNAL_THREA
DPOOL_IMPL -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unu
sed-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-e
rror=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1,
PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=O
FF,

TorchVision: 0.6.1
OpenCV: 4.3.0
MMCV: 1.0.3
MMDetection: 2.3.0rc0+b05c17e
MMDetection Compiler: GCC 5.4
MMDetection CUDA Compiler: 10.0

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
I tried to install from conda and pip, and this issue still exists
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

Error traceback
If applicable, paste the error trackback here.
Traceback (most recent call last):
  File "tools/train.py", line 153, in <module>
    main()
  File "tools/train.py", line 149, in main
    meta=meta)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/apis/train.py", line 128, in train_detector
    runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmcv/mmcv/runner/epoch_based_runner.py", line 122, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmcv/mmcv/runner/epoch_based_runner.py", line 32, in train
    **kwargs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmcv/mmcv/parallel/data_parallel.py", line 31, in train_step
    return self.module.train_step(*inputs[0], **kwargs[0])
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/models/detectors/base.py", line 237, in train_step
    losses = self(**data)
  File "/mnt/truenas/scratch/liuchun.yuan/anacodna3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/core/fp16/decorators.py", line 51, in new_func
    return old_func(*args, **kwargs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/models/detectors/base.py", line 171, in forward
    return self.forward_train(img, img_metas, **kwargs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/models/detectors/two_stage.py", line 156, in forward_train
    proposal_cfg=proposal_cfg)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/models/dense_heads/base_dense_head.py", line 58, in forward_train
    proposal_list = self.get_bboxes(*outs, img_metas, cfg=proposal_cfg)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/core/fp16/decorators.py", line 131, in new_func
    return old_func(*args, **kwargs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/models/dense_heads/anchor_head.py", line 574, in get_bboxes
    scale_factor, cfg, rescale)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmdetection/mmdet/models/dense_heads/rpn_head.py", line 167, in _get_bboxes_single
    dets, keep = batched_nms(proposals, scores, ids, nms_cfg)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmcv/mmcv/ops/nms.py", line 242, in batched_nms
    dets, keep = nms_op(boxes_for_nms, scores, **nms_cfg_)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmcv/mmcv/utils/misc.py", line 262, in new_func
    output = old_func(*args, **kwargs)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmcv/mmcv/ops/nms.py", line 112, in nms
    inds = NMSop.apply(boxes, scores, iou_threshold, offset)
  File "/mnt/truenas/scratch/liuchun.yuan/projects/mmcv/mmcv/ops/nms.py", line 19, in forward
    bboxes, scores, iou_threshold=float(iou_threshold), offset=offset)
RuntimeError: CUDA error: invalid device function
[1]    1159 segmentation fault (core dumped)  python tools/train.py configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

I have the same problem, I hope there is solution to fix it.

https://github.com/open-mmlab/mmdetection/blob/master/docs/install.md#common-issues

https://github.com/open-mmlab/mmdetection/blob/master/docs/install.md#common-issues

I found it is because the version of mmcv is 1.0.3, which makes it incompatible. Now it is ok. Thank you!


Preserve extension

@mrmlnc - Thanks so much.
This is awesome - and the fact that I can put path when renaming is brilliant - wish vscode had that rename with path ability as well.
One small request if possible - in 99% cases I guess people will want to keep the original extension so maybe the plugin could do the same what Atom does (extension is part of the file - but just name is highlighted)

@wallverb , you can save the file extension, simply not adding new extension.

Unfortunately, i couldn't find a way to make a selection in the input form.

That's a fantastic hint - works perfectly. Thanks so much.
Maybe would be worth to put that hint into doc - I read it - but for some reason I assumed that it will create copy of the file without extension (although I should have tried it first).

I'll be very grateful to you for a PR. :smile_cat:

Fixed in version 1.0.1.

Hi!
Version 1.0.2, I'm duplicating double-extension filenames like contentblock-type-brand-assets.inc.php and I'm having trouble preserving the ".php".
Hitting "enter" at:

The extension is not preserved:


Feature Request: Self-Improving Robust Preference Optimization (SRPO)

Hi,
This new paper (https://arxiv.org/pdf/2406.01660v2) looks very compelling.
For offline RLHF, SRPO looks outperforming DPO with OOD tasks.
Is there a plan to implement this in TRL?
I could not find SRPO implementation on Github yet.
Thanks!

I'm planning to attempt to add this to TRL. Hope to have a PR ready relatively soon!


Add beaker provision plugin using mrack

The provision step now supports beaker provider
with the beaker-mrack plugin in place.
The mrack itself now would become a dependency
for the tmt wich may or may not work for the project.
The hardware definition as I lack knowledge
is now translated from what i tried manually looking
at the docs for tmt hardware specification.
Adds mrack to setup requirements
Trying here to resolve https://github.com/teemtee/tmt/issues/254
From above issue conversation:
patrial support for:

[x] image will go to beaker distro as is

[x] - mrack supports this and translation using provisioning config file if not translation is found it passes the distro as is
[x]    hostrequire
[x]    priority
[x]   ks-append
[x]    ks-meta (https://github.com/neoave/mrack/pull/184)

[x] only minimal set of packages will be installed on Guest (default install + rsync)
[x] no ks_meta by default (wow disables crb, adds rhts ...)
[x] reserve machine for eg. 4h and extend periodically while tmt run is running (e.g. if tmt is killed machine will expire max 4h to not block the resource)

Signed-off-by: Tibor Dudlák<EMAIL_ADDRESS>Checklist

[x] implement the feature
[x] extend the test coverage
[x] update specification
[x] modify json schema
[x] mention version

The build has failed because mrack package is not available in feroda yet just with a copr enabled: https://copr.fedorainfracloud.org/coprs/g/freeipa/neoave/package/mrack/

I have pushed several changes to setup.py, specfile, makefile, and added new files which mrack uses as configuration for mrack and beaker provisioning.

/packit test

/packit test

/packit test

/packit test

/packit test

#1750 has been merged. Please, rebase on the latest main.

Rebased on top of main

Job failing on centos-stream-8 seems to be caused by an old version of pip which does not correctly bring all dependencies for aiohttp. Let's extend the /plans/install/pip plan with /tmp/venv/bin/pip install --upgrade pip to ensure we have the latest pip installed.

Resolved conflict

Is there anything i can help with to get this back on track?

rebased

Thanks. Added a checklist to the description with a few missing items. Please, update the spec, add at least a simple test plan and add at least a basic json schema for the new plugin.

Got a traceback when trying basic functionality:
tmt run -vvvddd provision -h beaker --image fedora login finish
...
  File "/home/psss/git/tmt/tmt/steps/provision/mrack.py", line 322, in create
    self._bkr_job_id, self._req = await self._mrack_provider.create_server(mrack_requirement)
  File "/home/psss/.virtualenvs/tmt/lib/python3.10/site-packages/mrack/providers/beaker.py", line 237, in create_server
    raise ProvisioningError(
mrack.errors.ProvisioningError: ('\tNo distro tree matches Recipe\n\t<distroRequires><and><distro_name op="=" value="fedora"/><distro_variant op="=" value="BaseOS"/><distro_arch op="=" value="x86_64"/></and></distroRequires>', {'name': 'fedora-x86_64', 'distro': 'fedora', 'os': 'fedora', 'group': 'linux', 'meta_distro': False, 'arch': 'x86_64', 'variant': 'BaseOS', 'ks_meta': None, 'retention_tag': 'audit', 'product': '[internal]', 'whiteboard': 'This job has been created using mrack.', 'priority': 'Normal', 'tasks': [{'name': '/distribution/dummy', 'role': 'STANDALONE'}], 'ks_append': [], 'hostRequires': None, 'distro_tags': [], 'host_id': 'fedora-x86_64'})

Got a traceback when trying basic functionality:
tmt run -vvvddd provision -h beaker --image fedora login finish
...
  File "/home/psss/git/tmt/tmt/steps/provision/mrack.py", line 322, in create
    self._bkr_job_id, self._req = await self._mrack_provider.create_server(mrack_requirement)
  File "/home/psss/.virtualenvs/tmt/lib/python3.10/site-packages/mrack/providers/beaker.py", line 237, in create_server
    raise ProvisioningError(
mrack.errors.ProvisioningError: ('\tNo distro tree matches Recipe\n\t<distroRequires><and><distro_name op="=" value="fedora"/><distro_variant op="=" value="BaseOS"/><distro_arch op="=" value="x86_64"/></and></distroRequires>', {'name': 'fedora-x86_64', 'distro': 'fedora', 'os': 'fedora', 'group': 'linux', 'meta_distro': False, 'arch': 'x86_64', 'variant': 'BaseOS', 'ks_meta': None, 'retention_tag': 'audit', 'product': '[internal]', 'whiteboard': 'This job has been created using mrack.', 'priority': 'Normal', 'tasks': [{'name': '/distribution/dummy', 'role': 'STANDALONE'}], 'ks_append': [], 'hostRequires': None, 'distro_tags': [], 'host_id': 'fedora-x86_64'})

yeah the distro fedora is not valid one I will add translation to this one as these are only one available: https://github.com/teemtee/tmt/pull/1498/files#diff-868e10104a9af74e3ed8f509df6c561f6fe661f31d2693f15f21fc5ad5747fc7R9-R48 if translation is not found we pass the original string in this case 'fedora' to beaker scheduler and it fails

Real nitpick but could the name of the beaker job contain workdir/plan? Similar how tmt creates names for VM or containers: It is easier to pair them to runs then (if one needs to manually do something)
At the moment job is named This job has been created using mrack.

Real nitpick but could the name of the beaker job contain workdir/plan? Similar how tmt creates names for VM or containers: It is easier to pair them to runs then (if one needs to manually do something)
At the moment job is named This job has been created using mrack.

^^ This, please. I wouldn't even call it a nitpick, this would be a very helpful UX improvement. Recently, we added something similar to Artemis, an Artemis deployment name & request ID, and it's priceless.

Hm, mrack.log file in cwd was created - is it just my wrong configuration?

mrack.log in cwd is expected, If there is problem with that i can try to see if it is possible to change the location, or omit,
Added _tmt_name generation to beaker job whiteboard
self._create(self._tmt_name())

I have added very limited test to test beaker provisioning is 'failing' as expected upstream as there is no kerberos ticket available and no public beaker hub. I will now try to update docs so we can continue this effort together. Do you have any tips how to improve this? @psss

mrack.log in cwd is expected, If there is problem with that i can try to see if it is possible to change the location, or omit,

Please change location or omit ;) IMO it is unexpected from user PoV and we should avoid doing that, we have tmt workdir for tmt data.

I have added very limited test to test beaker provisioning is 'failing' as expected upstream as there is no kerberos ticket available and no public beaker hub. I will now try to update docs so we can continue this effort together. Do you have any tips how to improve this?

We can fake beaker communication (see requre usage in e.g. nitrate/polarion tests).
Beaker takes its time however in the nightly (not yet but planned) we can do the real provision.

moved location to /tmp/mrack.log + handling better errors when config files are missing

What I'm not sure is the test: It is currently enabled and it is even executed in the CI but it just fails (which is expected as there is no authentication). Not sure if it makes sense to run the test in the CI just to check for the correct error code.
What about adding this new plan as /plans/manual/beaker which would be disabled and available only for manual run (when the kerberos is set). It would not be included in the how=full test suite either (until we find some way to enable it in the automation).
@lukaszachy, @happz, @thrix, what are your thoughts on this?

Looks like the same story as https://github.com/teemtee/tmt/blob/main/plans/provision/artemis/sanity.fmf - disabled by default, enabled for "manual" runs via -c how=artemis, etc. I'd propose /plans/provision/beaker then, and if this location wouldn't be used eventually, /plans/provision/artemis should be moved to follow the suit.

disabled by default, enabled for "manual" runs via -c how=artemis

Yeah, it's basically the same. I was thinking about a different folder because of the how=full adjust rule which is inherited from /plans/main.fmf. But for the artemis case adjust is used instead of adjust+ so it overrides the inherited rules and thus prevents running it in the full mode. So this is also possible way.

@psss I have updated the plan to be similar to artemis could you please check it if it is correct? i am still not 100% sure if i am defining things correctly

/packit test

Thanks a lot @psss sorry i was not replying i was off today will catch up later :)


Improvements/insert menu

Problem:
The insert menu in the right-hand column was painful to use, and far too long
Fix:
Condensed things, and also grouped fragments and conditionals in a 'Code' group.

Closing so the superior PR #3640 can replace it (once it has arrow navigation)


dr_flac: Version 0.12.29

Fix a bug where the running PCM frame index is set to an invalid value when over-seeking.
Fix a decoding error due to an incorrect validation check.

Thanks, merging.


issue when using make on evilginx2 on latest version

using 'make' gives error
make# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:128049:10: warning: function may return address of local variable [-Wreturn-local-addr]
128049 |   return pNew;
|          ^~~~
sqlite3-binding.c:128009:10: note: declared here
128009 |   Select standin;
|          ^~~~~~~
go build github.com/kgretzky/evilginx2: copying /tmp/go-build022226873/b001/exe/a.out: open ./bin/evilginx: permission denied
make: *** [Makefile:8: build] Error 1

open ./bin/evilginx: permission denied is a file permissions error. Closing as this isn't an issue directly related to the project.


Persist Live Activity as Banner if no dynamic island

Hi there,
Thanks for putting this plug in together!
Reading the ios docs I see:

Devices that don’t support the Dynamic Island: On devices that don’t support the Dynamic Island, the system uses the Lock Screen presentation of your Live Activity as a banner that briefly overlays the Home Screen or another app. This happens only when an update to your Live Activity contains an alert configuration.

I don't see an option to add an alert configuration to the update call. Am I missing how to do this?  I'd like to be able to add vibration alerts and have the banner on the unlocked screen.

@istornz — do you think this is something that you'll get to soon? Just curious. Thanks so much for this package, it's great!

@charlesRmajor I forked the repo and added the change, but haven't fully implemented providing a sound file if you want to take a look.
https://github.com/ashlynbaum/flutter_live_activities

Thanks @ashlynbaum, I will try to implement this asap (or if you want to submit a PR, you are welcome 👍 )

Submitted a PR for this!


Segmenting on multiple columns raises KeyError when there are NaNs

Description
I've executed the following code on a much larger table, and one of the fields was exactly as col_nan, it was supposed to be a boolean, but contained NaNs as well.
import pandas as pd
import whylogs as why
from whylogs.core.schema import DatasetSchema
from whylogs.core.segmentation_partition import ColumnMapperFunction, SegmentationPartition
from whylogs.core.segment import Segment
from whylogs.core.view.segmented_dataset_profile_view import SegmentedDatasetProfileView

df = pd.DataFrame({"col_1":[1,2,3,4], "col_nan": [True, True, None, None]})

segmentation_partition = SegmentationPartition(
    name="col_1,col_nan", mapper=ColumnMapperFunction(col_names=["col_1", "col_nan"])
)
multi_column_segments = {segmentation_partition.name: segmentation_partition}
schema = DatasetSchema(segments=multi_column_segments)

why.log(df, schema=schema)

And that gets me a KeyError:
KeyError                                  Traceback (most recent call last)
Cell In[5], line 1
----> 1 why.log(df, schema=schema)

File ~/Documents/repos/testing_weird_whylogs/.venv/lib/python3.8/site-packages/whylogs/api/logger/__init__.py:58, in log(obj, pandas, row, schema, name, multiple)
     55     notebook_session_log_comparison(multiple, result_sets)
     56     return result_set
---> 58 result_set = TransientLogger(schema=schema).log(obj, pandas=pandas, row=row, name=name)
     59 notebook_session_log(result_set, obj, pandas=pandas, row=row, name=name)
     60 return result_set

File ~/Documents/repos/testing_weird_whylogs/.venv/lib/python3.8/site-packages/whylogs/api/logger/logger.py:101, in Logger.log(self, obj, pandas, row, schema, timestamp_ms, name)
     99 # If segments are defined use segment_processing to return a SegmentedResultSet
    100 if active_schema and active_schema.segments:
--> 101     return segment_processing(active_schema, obj, pandas, row, self._segment_cache)
    103 profiles = self._get_matching_profiles(obj, pandas=pandas, row=row, schema=active_schema)
    105 for prof in profiles:

File ~/Documents/repos/testing_weird_whylogs/.venv/lib/python3.8/site-packages/whylogs/api/logger/segment_processing.py:149, in segment_processing(schema, obj, pandas, row, segment_cache)
    145 if segment_partition.mapper:
    146     logger.debug(
    147         f"{partition_name}: defines mapper on colums ({segment_partition.mapper.col_names}) and id ({segment_partition.mapper.id})"
    148     )
--> 149 partition_segments = _log_segment(segment_partition, schema, obj, pandas, row, segment_cache)
    150 segmented_profiles[segment_partition.id] = partition_segments
    151 segment_partitions.append(segment_partition)

File ~/Documents/repos/testing_weird_whylogs/.venv/lib/python3.8/site-packages/whylogs/api/logger/segment_processing.py:117, in _log_segment(partition, schema, obj, pandas, row, segment_cache)
    115     columns = partition.mapper.col_names if partition.mapper else None
    116     if columns:
--> 117         _process_simple_partition(partition.id, schema, segments, columns, pandas, row, segment_cache)
    118 else:
    119     raise NotImplementedError("custom mapped segments not yet implemented")

File ~/Documents/repos/testing_weird_whylogs/.venv/lib/python3.8/site-packages/whylogs/api/logger/segment_processing.py:60, in _process_simple_partition(partition_id, schema, segments, columns, pandas, row, segment_cache)
     58 grouped_data = pandas.groupby(columns)
     59 for group in grouped_data.groups.keys():
---> 60     pandas_segment = grouped_data.get_group(group)
     61     segment_key = _get_segment_from_group_key(group, partition_id)
     62     _process_segment(pandas_segment, segment_key, segments, schema, segment_cache)

File ~/.pyenv/versions/3.8.15/lib/python3.8/site-packages/pandas/core/groupby/groupby.py:811, in BaseGroupBy.get_group(self, name, obj)
    809 inds = self._get_index(name)
    810 if not len(inds):
--> 811     raise KeyError(name)
    813 return obj._take_with_is_copy(inds, axis=self.axis)

KeyError: (3, nan)

[x] I have reviewed the Guidelines for Contributing and the Code of Conduct.

this might also be useful: https://github.com/pandas-dev/pandas/issues/36060

reopening as this is still relevant


AppVeyor build broken

Here's an example:
https://ci.appveyor.com/project/yallop/ocaml-ctypes/build/1.0.132/job/ww1fp7imufm5485k
The problem appears to be a failure during Cygwin setup.
Also, it looks like Cygwin is available pre-installed on AppVeyor now, which should speed things up a little:
http://help.appveyor.com/discussions/suggestions/427-pre-install-cygwin

Fixed by #258.  As a nice side-effect of using the pre-installed Cygwin, build times have dropped from around 16 minutes to around 10 minutes.


RHEL 8 Support

Hi,
is the rhel 8 support missing from the docs or does azure monitor really not support the current rhel version?
Greetings
Klaas

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

ID: 908295a0-ead4-9061-3a60-b0e9883118e4
Version Independent ID: 7dc47b3c-5643-0b09-41b7-e69852210a1d
Content: Enable Azure Monitor for VMs (preview) overview - Azure Monitor
Content Source: articles/azure-monitor/insights/vminsights-enable-overview.md
Service: azure-monitor
GitHub Login: @bwren
Microsoft Alias: bwren

@Klaas Thank you for your query , our team will further look into it and get back to you at the earliest.

Hello @Klaas, followed up on your ask and below is the update from the feature owner:
Right now our documented support for RHEL covers 6 & 7, but not yet 8.
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/log-analytics-agent#supported-linux-operating-systems
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-enable-overview#red-hat-linux-7
If possible, share additional details on your need  for RHEL 8 support and i will gladly pass it on to the feature engineers to help prioritize the work.

We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

@femsulu

If possible, share additional details on your need for RHEL 8 support and i will gladly pass it on to the feature engineers to help prioritize the work.
RHEL7 is in maintenance support (https://access.redhat.com/support/policy/updates/errata), so I am looking to move workload towards rhel8 which is in full support until 2024.


Missing namespace causes OpenAI class to be unusable

Since the namespace was not included, importing the class to use the static client method is impossible. It also creates a situation where the documentation is wrong since it uses this class and static method combination. We should check if anywhere else has such issues and release this ASAP in a fix version.

The class gets included via Composer: https://github.com/openai-php/client/blob/9da3c248d3d0da3d26ff047168479a8becbc07d1/composer.json#L31.


tortoise: encode abstain votes as an array with layers

Motivation
In verifying tortoise we should not count weight from the ballot if the ballot abstained for that layer. This will be easier to implement if abstain votes were encoded as an array of layer.
Also, this change is a must for UBC, as we don't know the actual block value before hare termination. So there is no way to vote abstain.
Support/Against are not collapsed into a single list as it leads to less efficient implementation. Maybe we should revise it in the future.
Closes: https://github.com/spacemeshos/go-spacemesh/issues/2369
Changes

encode abstain votes as an array of layers

Test Plan
existing unit tests, logically nothing has changed

bors merge

bors merge


[KeyVault] Upgraded the versions to reflect the update on core-tracing

We accidentally released an older version of these packages.

At this point, we have test run coverage for Node 8, 10 and 12 for Linux.
The same along with Windows and Mac will get covered as part of the release pipeline.
Therefore, merging this PR to aid the release process.


https://ikfia.ysn.ru/

@commandus Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>Thank you!


Fixed MetaAnalysis images (#85)

This should fix #85. Renamed pAgF_prior to pA_prior, and restricted data within mappables when calculating pA.

Awesome, thanks! The failing test reflects the deprecation of RandomizedPCA in recent sklearn releases, so I'll merge this as-is and fix that separately.


Build failed no source package for PAM

The log related to this is :
+ apt-get build-dep -y --no-install-recommends pam
Reading package lists...
E: Unable to find a source package for pam
The command '/bin/sh -c /bd_build/prepare.sh &&         /bd_build/system_services.sh &&         /bd_build/utilities.sh &&       /bd_build/fix_pam_bug.sh &&     /bd_build/cleanup.sh' returned a non-zero code: 100
Makefile:9: recipe for target 'build' failed
make: *** [build] Error 100

Where is this happening?

If this is happening while running make build, please ensure you are building inside the Vagrant environment.

I just clone the repo, and simply call make in a fresh env.
uname -a

 Linux ------------- 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

docker info
Containers: 5
 Running: 1
 Paused: 0
 Stopped: 4
Images: 20
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 40
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-38-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 62.35 GiB
Name: static.clickyab.ae
ID: H3CN:VP5I:YUQW:O6T4:JDDB:ZXRP:TPSP:W456:GKEO:ZYST:SFEO:SKMX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Okay, you have to run Vagrant first:

$ vagrant up
$ vagrant ssh
$ cd /vagrant
$ make build

Exactly same result.

Please tell me the output of the following command: git rev-parse HEAD

As well as git status

git rev-parse HEAD
9c934771ad527190a97439910615bed66daae298

git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

This is probably related to #392 -- I would advise checking out the latest stable release tag: 0.9.21

I am thinking a package got deprecated, so I will have to fix it.

Yeah I just checked the latest build, this is what's happening: https://travis-ci.org/phusion/baseimage-docker/builds/221641732#L1102

HEAD detached at 0.9.21
nothing to commit, working directory clean

Again , same result.
Is this related to ubuntu base image?  I get the image right before this build.

Yeah, looks like a package got deprecated.

For now, you can use baseimage as-is if you don't need to make any core customizations. I will work to resolve this ASAP. Sorry for the inconvenience.

FYI: This has been resolved on master.


Adding a ";"  (semi-colon) as part of the value breaks the tools output

Trying to create a PR for the postgresql pgbouncer image of yours for the auth_query value I ran into this issue...
doing a
ini-file --section "section" -- key "key" --value "test;"  ./test.ini
will create file that looks like:
[section]
key=`test;`

it back-ticks the value, which seems to break some ini-parsers like the pgbouncer ini parser
I expected:
[section]
key=test;

Hi @NathanaelA!
If you can temporarily workaround it, could you link to this issue once you open the PR on pgbouncer? This way we have the full context and can reproduce your problem 🙂

The above CLI  command I provided will show you the issue.  Just run it and you should see the key value will have back ticks around it....

The only way to work around it currently that I'm using in my own replacement version of the  libpgbouncer.sh script in a "from" image is just a:
echo -n 'auth_query=SELECT * FROM public.user_lookup($1);' >> "$PGBOUNCER_CONF_FILE"   as ini-file has no valid work around that I could find, I tried different quoting methods and it just wants to put the back ticks into the value...
This is added as the last line in the libpgbouncer.sh file in the if ! pgbouncer_is_file_external "pgbouncer.ini"; then statement since we already have to replace the the libpgbouncer.sh file do to  open issue   https://github.com/bitnami/bitnami-docker-pgbouncer/issues/4   stopping any additional custom scripts from being called/ran...

I thought this issue was somewhat blocking the proposed PR for pgbouncer but I see they are independent.
I'm going to cc/ @juamedgod since he surely can provide a fix for this.

@NathanaelA
I pushed #9 with a cli flag to allow disabling the behavior by ignoring inline comments (which removes the special meaning of the semicolon). Could you check if that helps with your issue?
ini-file --ignore-inline-comments  --section "section" -- key "key" --value "test;" ./test.ini

@pablogalegoc - Actually it was/is blocking a new PR for pgbouncer that I haven't finished.    If this change fixes the ini issue, then I'll be putting a PR up for the auth_query...     But I was just trying to show the issue, via the CLI as it is a lot easier to debug when you have a solid method without having to also spin up a docker container.  ;-)

@juamedgod - Is there a release/RC version of this with this change that I can test, or do I have to build it?

You can grab it from the artifacts in the Circle CI run from the PR:
https://app.circleci.com/pipelines/github/bitnami/ini-file/23/workflows/2f71f9d3-2e78-45c7-a45a-495ac132b551/jobs/23/artifacts
Here is a direct link to the artifact:
https://23-150459371-gh.circle-artifacts.com/0/ini-file

Hi all, I'm going to close this issue due to inactivity but feel free to send a contribution if are open to contribute any related feature.


__VITE_PUBLIC_ASSET__hash__ doesn't get replaced in the generated output

I've created a minimal reproducible example here.

For the class bg-[url(/not-an-image.jpg)], it works correctly in the development mode, while outputs
.bg-\[url\(\/not-an-image\.jpg\)\] {
  --un-url: url(__VITE_PUBLIC_ASSET__032ad66c__);
  background-image: var(--un-url);
}

in the build mode.
Seems like the generated CSS didn't go through Vite's post-process but instead retrieved directly via the chunk hash? Just note it here for further debugging.

issue seems to be related

https://github.com/vitejs/vite/issues/9174


Transition from Qt.py to qtpy

This will help us stay up to date with https://vfxplatform.com/ and ship QuiltiX to Mac

This is now done with v0.6.0 🎉


Week 3 Review Ticket- Paige McCartin

Grade: /10
Git Hub Pages
Replit
Link to youtube playlist
Coding Review

Individual Coding:

GitHub Pages showing key learnings and challenges conquered from Tech Talks

GitHub commits you have made, show GitHub insights into your code commits.

Show Code running on Replit as well as IntelliJ

Menu review illustrating use of Lists and navigation: show runtime, code organization, code and comments

List and Loops: show runtime, code organization, code and comments

Class review and understanding: show runtime, code organization, code and comments

Show Crossover contribution:  Highlight work you did in crossover project: show their Replit runtime, code commit(s) in their GitHub repo

Show anything you have done to enhance what you have learned from Python code

Video 2 minutes: showing the above, quality suggested as follows

Make sure you cover everything, but create your own order and optimize time
Use Voice or Captions.   Try not to wiggle mouse a lot or over scroll.  Make sure you have a clear plan before you start.
Perform video in small parts 15-30 seconds and finish a key subject.  Then put the final Video together with Video editing or Youtube playlists.

Individual Coding: 9/10

[X] GitHub Pages showing key learnings and challenges conquered from Tech Talks
- GitHub pages shown in the video and explained a lot about her opinions on computing bias and how to prevent it from happening
[X] GitHub commits you have made, show GitHub insights into your code commits.

showed her Github insights which had all the commits from the past weeks

[X] Show Code running on Replit as well as IntelliJ

showed her coding running on both Replit and IntelliJ

[X] Menu review illustrating use of Lists and navigation: show runtime, code organization, code and comments

Showed the runtime and code for the menu and explain a lot about the organization of the code and how the imports work

[X] List and Loops: show runtime, code organization, code and comments

Shows runtime and code for the list and loops and discusses the importance of testers which was interesting to hear

[X] Class review and understanding: show runtime, code organization, code and comments

Doesn't have class review explained in the video but it is shown in the first clips

[X] Show Crossover contribution: Highlight work you did in crossover project: show their Replit runtime, code commit(s) in their GitHub repo

Highlighted her contributions to Allie's repository and talked about how she added the menu code to her replit

[X] Show anything you have done to enhance what you have learned from Python code

She showed the tech talk notes which she explain that she hadn't know about before

[X] Make sure you cover everything, but create your own order and optimize time

Paige organized her videos in order of the list which helped me make sure that everything was in the videos

[X] Use Voice or Captions. Try not to wiggle mouse a lot or over scroll. Make sure you have a clear plan before you start.

Paige used voice and video feed which helped to engage the watcher into the video more

[X] Perform video in small parts 15-30 seconds and finish a key subject. Then put the final Video together with Video editing or Youtube playlists.

each video is less than 30 sec and time is used well in the video


[BEAM-10527] Python2_PVR_Flink precommit publishes test results to Je…

…nkins.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Python2_PVR_Flink PreCommit

Run Seed Job

Run Python2_PVR_Flink PreCommit

Run Python2_PVR_Flink PreCommit

Run Python2_PVR_Flink PreCommit

14:50:42 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
@udim I feel like I'm missing something here, is there something else I need to do to publish test results?

14:50:42 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
@udim I feel like I'm missing something here, is there something else I need to do to publish test results?

I believe your tests are not using pytest to create the reports.
https://github.com/apache/beam/blob/858f0b9b0e55f3ea66429dc36721d9f3ab17f084/sdks/python/test-suites/portable/common.gradle#L59

Also, tox is the recommended way to set up your tests' virtualenvs.

Thanks for the feedback Udi. I am working on converting Flink runner tests to pytest and tox. In the meantime I will close this PR.


feat: provide string dereference funtion

Checklist for contributing

[ ] refer to a valid ticket id in the PR title (if applicable)
[ ] use proper Angular commit format for semantic release
[ ] provide a brief summary for the proposed changes here,
to a failing service

Summary
introduce module for housing conversion related functionality, like

dereference a string

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


Runtime Error when running locally with Docker Compose

Hello,
I'm new to using Docker to run applications so I apologise if the solution is blindingly obvious but when trying to run DPCreator using Docker Compose and then connecting to localhost://8080 through my browser I keep getting the error found below:

If anyone has any idea on how to fix this issue I would be very grateful if somebody could help.
Thank you.

Thanks, @hbyrne6
We'll give this some attention


Diff current file to earlier commits

Often use in console diff file between current state and some commit.

Just in case it's useful, you can do that with Sublimerge Pro


Add basic Get and Put Api signatures along with protobuf setup

Add Basic api signatures
Main file to review : src/main/proto/ess.proto
This will auto-generate required grpc service stubs and request/response objects.
Apart from that it is mostly auto-generated setup for gradle project.
Things like Auth will be added once we add API for creating a "store".
Currently this api can be used with any of the approach mentioned in doc, that is "Independent State Updates", "Global State Counter", "Incremental State Updates".
LDK will be using "Global State Counter", different applications might choose different approaches based on their needs.
Doc: https://docs.google.com/document/d/1mhTAnkXAtxPQRsn17gbEPIN5G8OW2h619f_yk8CXJTE/edit?usp=sharing

I think the request/response bodies may be complex enough that protobufs and strongly-typed bindings to them would be an improvement over JSON.  Also, more compact / performant.

I think the request/response bodies may be complex enough that protobufs and strongly-typed bindings to them would be an improvement over JSON. Also, more compact / performant.

I'm not sure why they would be? I agree let's avoid JSON, but there's not that many fields here, PUT is the only complicated one, and its really just a set of K-Version-V tuples. That could be sent in a format way simpler than protobufs?

What did you have in mind?  (It's probably best to have a format that is commonly used in web API client code for various languages.)

It sounds like you'd end up supporting client libraries for different languages, people writing sub-standard encoders/decoders, etc.

protobuf/grpc is industry standard and is simple.
Main reasons for protobuf and grpc being:

Highly performant
Easier to maintain backwards compatibility (cannot emphasize enough)
Cross language support (Platform-agnostic)
Makes it easier to support http/2 and async requests (we also won't have to worry about connection/channel reuse/multiplexing)

There is no way, we should be writing custom encoding/format for this. (i thought @devrandom concern about sub-standard serde was on this.)
I also think there are reasonable grpc/protobuf third party libs available in languages other than the officially supported ones. for e.g. (hyperium/tonic)
The request/response objects are complex enough, there are two more api's yet to be added, we will be adding more fields and metadata to schema as server matures.
Also, i thought we had decided on it in Meeting Notes Oct 5th: "Will use java and grpc to build backend"

Sorry wasn't in the meeting. Curious though what were the reasons java was chosen?

@Jasonvdb
Main reasons for java were : Native cloud support by official SDK's as well as related ecosystem for database accessors.
Rust doesn't have production ready SDK's from cloud providers yet. (Most are in beta, developer preview)
Client side will be written in rust and client-native languages, communicate with server side.
Also, Its not a one-way door, same proto definition can be re-implemented by another service.

Not sure if I have all the nuances of the conversations, but I believe gRPC exposes an HTTP interface with /v1, /v2, etc. style versioning. Resources:

https://github.com/googleapis/googleapis/blob/18d0ce3fe39e3bde035bfc7f97e8360b46694508/google/api/http.proto#L44-L53
https://grpc.io/blog/coreos/
https://cloud.google.com/endpoints/docs/grpc/transcoding

There is no way, we should be writing custom encoding/format for this.

I don't really understand peoples' hesitance to do this - if we're concerned about adding fields and backwards compat and all that good stuff I may agree, but I don't think that's a concern - and for a three-tuple (where one element is fixed-length) almost anything is reasonable :)

I haven't convinced myself yet that the API will remain simple.

Changed to underscore_separated_names for field names and kept camel case for structs. (acc. to protobuf generation guideline).
Synced with Matt offline and will be going ahead and merging this.


Autos/Locals value string is not updated if if using Debug Repl to change value

I changed the token['my_token' ] value from 123 to 456. The "over the mouse" value is correct, the inside value in Autos/Locals is correct, but not the initial Value column that still shows 123.
Microsoft Visual Studio Enterprise 2017 RC
Version 15.0.26001.1 D15REL
Microsoft .NET Framework
Version 4.6.01055
Installed Version: Enterprise
Visual Basic 2017 RC   00369-50000-00000-AA049
Microsoft Visual Basic 2017 RC
Visual C# 2017 RC   00369-50000-00000-AA049
Microsoft Visual C# 2017 RC
Visual F# 4.1   00369-50000-00000-AA049
Microsoft Visual F# 4.1
ASP.NET and Web Tools 2016   15.0.21128.0
ASP.NET and Web Tools 2016
Azure App Service Tools v2.9.6   15.0.21130.0
Azure App Service Tools v2.9.6
Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JavaScript Language Service   2.0
JavaScript Language Service
NuGet Package Manager   4.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Python Tools for Visual Studio   3.0.16334.1
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
Python Tools for Visual Studio - Cookiecutter Integration   3.0.16334.1
Provides cookiecutter integration.
Python Tools for Visual Studio - Django Integration   3.0.16334.1
Provides templates and integration for the Django web framework.
Python Tools for Visual Studio - Profiling Support   3.0.16334.1
Profiling support for Python projects.
R Tools for Visual Studio   0.5.21104.1600
Provides project system, R Interactive window, plotting, and more for the R programming language.
TypeScript   <IP_ADDRESS>
TypeScript tools for Visual Studio

Dup of #119


websocket vs. websocket-client

I just experienced an error with the combination of the libraries websocket and websocket-client: AttributeError: 'module' object has no attribute 'WebSocketApp'
It appears that websocket overrides the what is actually needed from websocket-client. I could resolve the issue with: pip uninstall websocket; pip uninstall websocket-client; pip install websocket-client.
Therefore I suggest to remove websocket from requirements.

Agree. Will remove the redundancy in the next release.


flawless

Describe the bug
Nothing
It's a really excellent package, it works very well to bypass cloudflare and get cookies. I'm wondering one small thing, is it possible to make a google recaptcha solver, recaptcha bypass services are very expensive.
I'm using for crawl serp and shbndn.com
Good job knks.

Hello,
For recaptcha v2 you need an image recognition api. For Recaptcha v3 this library is suitable.
https://github.com/zfcsoftware/puppeteer-real-browser?tab=readme-ov-file#httpsantcptcomscore_detector-recaptcha-v3-detects-me-what-should-i-do
You can get 0.9 points from recaptcha v3 by following the detail here. However, I'm not planning to build a new library on top of this at the moment, maybe in the future.
If you want to create and use it yourself, you can get 0.9 points by adding the user-data-dir flag.

I think my identity will be contaminated when I use user data. The proxy ip's I use have a dirty history. Thanks


Alexa does not discover any device ESP8266 and ESP32

Now two days that Alexa do not recognize the devices, also with the example programs, the same for fauxmo.
This is the debug for the ExampleBasic:
16:27:49.247 ->
16:27:49.247 -> Connecting to WiFi
16:27:49.247 -> Connecting...........
16:27:54.226 -> Connected to Viamar-FRITZ!Box
16:27:54.226 -> IP address: <IP_ADDRESS>
16:27:54.226 -> Constructing device 1
16:27:54.226 -> Adding device 1
16:27:54.226 -> Constructing device 2
16:27:54.226 -> Adding device 2
16:27:54.226 -> Adding device 3
16:27:54.226 -> Espalexa Begin...
16:27:54.226 -> MAXDEVICES 10
16:27:54.226 -> Done
16:28:08.028 -> Got UDP!
16:28:08.028 -> M-SEARCH * HTTP/1.1
16:28:08.028 -> HOST: <IP_ADDRESS>:1900
16:28:08.028 -> ST: ssdp:all
16:28:08.061 -> MAN: "ssdp:discover"
16:28:08.061 -> MX: 3
16:28:08.061 ->
16:28:08.061 ->
16:28:08.061 -> Responding search req...
16:28:08.061 -> Got UDP!
16:28:08.061 -> M-SEARCH * HTTP/1.1
16:28:08.061 -> HOST: <IP_ADDRESS>:1900
16:28:08.061 -> ST: upnp:rootdevice
16:28:08.061 -> MAN: "ssdp:discover"
16:28:08.061 -> MX: 3
16:28:08.061 ->
16:28:08.061 ->
16:28:08.061 -> Responding search req...
16:28:08.061 -> Got UDP!
16:28:08.061 -> M-SEARCH * HTTP/1.1
16:28:08.061 -> HOST: <IP_ADDRESS>:1900
16:28:08.061 -> ST: ssdp:all
16:28:08.061 -> MAN: "ssdp:discover"
16:28:08.061 -> MX: 3
16:28:08.061 ->
16:28:08.061 ->
16:28:08.061 -> Responding search req...
16:28:08.061 -> Got UDP!
16:28:08.061 -> M-SEARCH * HTTP/1.1
16:28:08.061 -> HOST: <IP_ADDRESS>:1900
16:28:08.095 -> ST: upnp:rootdevice
16:28:08.095 -> MAN: "ssdp:discover"
16:28:08.095 -> MX: 3
16:28:08.095 ->
16:28:08.095 ->
16:28:08.095 -> Responding search req...
16:28:08.095 -> Got UDP!
16:28:08.095 -> M-SEARCH * HTTP/1.1
16:28:08.095 -> HOST: <IP_ADDRESS>:1900
16:28:08.095 -> ST: ssdp:all
16:28:08.095 -> MAN: "ssdp:discover"
16:28:08.095 -> MX: 3
16:28:08.095 ->
16:28:08.095 ->
16:28:08.095 -> Responding search req...
16:28:08.095 -> Got UDP!
16:28:08.095 -> M-SEARCH * HTTP/1.1
16:28:08.095 -> HOST: <IP_ADDRESS>:1900
16:28:08.095 -> ST: upnp:rootdevice
16:28:08.095 -> MAN: "ssdp:discover"
16:28:08.095 -> MX: 3
16:28:08.095 ->
16:28:08.095 ->
16:28:08.095 -> Responding search req...
16:28:08.297 -> # Responding to description.xml ... #
16:28:08.297 ->
16:28:08.297 -> Send setup.xmlNot-Found HTTP call:
16:28:08.331 -> URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights
16:28:08.331 -> Body:
16:28:08.331 -> AlexaApiCall
16:28:08.331 -> ok
16:28:08.331 -> l0
16:28:08.331 -> lAll
16:28:08.365 -> Not-Found HTTP call:
16:28:08.365 -> URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/204504193
16:28:08.365 -> Body:
16:28:08.365 -> AlexaApiCall
16:28:08.365 -> ok
16:28:08.365 -> l204504193
16:28:08.365 -> 1
16:28:08.365 -> Not-Found HTTP call:
16:28:08.365 -> URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/204504194
16:28:08.399 -> Body:
16:28:08.399 -> AlexaApiCall
16:28:08.399 -> ok
16:28:08.399 -> l204504194
16:28:08.399 -> 2
16:28:08.399 -> Not-Found HTTP call:
16:28:08.399 -> URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights/204504195
16:28:08.399 -> Body:
16:28:08.399 -> AlexaApiCall
16:28:08.399 -> ok
16:28:08.399 -> l204504195
16:28:08.399 -> 3
16:28:08.433 -> Not-Found HTTP call:
16:28:08.433 -> URI: /api/2WLEDHardQrI3WHYTHoMcXHgEspsM8ZZRpSKtBQr/lights
16:28:08.433 -> Body:
16:28:08.433 -> AlexaApiCall
16:28:08.433 -> ok
16:28:08.433 -> l0
16:28:08.433 -> lAll
16:28:08.771 -> Got UDP!
16:28:08.771 -> M-SEARCH * HTTP/1.1
16:28:08.771 -> HOST: <IP_ADDRESS>:1900
16:28:08.771 -> MAN: "ssdp:discover"
16:28:08.771 -> MX: 1
16:28:08.771 -> ST: urn:dial-multiscreen-org:service:dial:1
16:28:08.771 -> USER-AGENT: Google Chrome/86.0.4240.111 Windows
16:28:08.771 ->
16:28:08.771 ->

me also got same type of problem,


Allow for HTTPS

The script is working great. I have switched my qbittorrent over to HTTPS, and notice that your script only supports HTTP at the moment. I'm not terribly good at git or docker, and am fumbling trying to get it so that your container will support HTTPS. If I can figure it out, I'll put in a pull request, but it might be a good idea to do it if you have the time.

I would just like to let you know that this project as well as your fork are likely now redundant as the latest version of gluetun supports VPN_PORT_FORWARDING_LISTENING_PORT. As a result, this project is being archived without resolving issues.

This has been added now as of release 1.1

Thank you for the heads up, I'll definitely take a look at the new option
gluetun has provided us.
On Sun, Nov 26, 2023 at 12:33 PM SnoringDragon @.***>
wrote:

I would just like to let you know that this project as well as your fork
are likely now redundant as the latest version of gluetun supports
VPN_PORT_FORWARDING_LISTENING_PORT. As a result, this project is being
archived without resolving issues.
—
Reply to this email directly, view it on GitHub
https://github.com/SnoringDragon/gluetun-qbittorrent-port-manager/issues/1#issuecomment-1826889403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMZOYDISFLCSH6O5O6GPQPDYGORSXAVCNFSM6AAAAAA3MQQZHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHA4DSNBQGM
.
You are receiving this because you authored the thread.Message ID:
@.***
.com>

Thank you for the heads up, I'll definitely take a look at the new option gluetun has provided us.

Bit of a correction, the feature exists, but I mistakenly assumed it solved the same problem that this project seeks to, but it does not.
The implemented solution in gluetun does not account for the fact that qbittorrent includes the config port in its announcements to trackers, which is not corrected by this port remap.
As a result, this project is still necessary for getting those packets right, thus making the port redirection irrelevant for torrent services.


Multiple dropzones wont work any more self.arg

I may not be understanding the plugin correctly but it looks like it initially uses multiple arguments y: and x: in the dropzone to specify multiple targets for methods however the latest syntax only allows for one argument.
Legacy:
      y: sort(listY, $index, $droptag, $dropdata),
      x: move(listX, listY, $index, $droptag, $dropdata)
    ">```

Current:
```v-dropzone:y="
     sort(listY, $index, $droptag, $dropdata),
     move(listX, listY, $index, $droptag, $dropdata)
    ">```

I think the "dropTo == self.arg" in the plugin needs to be rewritten to a value passed by the directives.

Same problem.... =(

Same problem...  😢

any solution for this?

Hi,
I created a fork and removed the code that was preventing this from happening.
Feel free to test it:
npm install https://github.com/ishmael/vue-dnd.git --save-dev


Add to_number

The new #{variable} syntax required for SwiftUI expects a  float or integer variable.
To support both, we first attempt to convert the entire expr into an integer, if that fails we try converting it into a float.

If the variable is not a number, we return the original string.
For example if we had the following rule:
"h-" <> height do
  height(#{height})
end

The class h-abc would produce the ast for height("abc") and it would be up to the client to detect the error.

Closing in favour of EEx support


Upgrade nebula netflixoss to 8.8.0 and gradle 6.3

Hi @brharrington
I checked with jfrog side and it seems that the package name got misconfigured again.
I changed the netflixoss plugin to always use lowercase for package name to avoid issues in the future and renamed the package on bintray so it should be fine from now on
cc @OdysseusLives @chali

Thanks, looks like the snapshot published fine after merging.

@rpalcolea the release build still failed to sync:
https://travis-ci.org/github/Netflix/AWSObjectMapper/builds/667075902?utm_source=github_status&utm_medium=notification
> Task :syncVersionToMavenCentral
Could not sync 1.11.751 version for package maven/netflixoss/AWSObjectMapper to maven central - {"message":"In order to sync to Maven Central your package must be included in the JCenter repository"}


Compiling to an output file with the same name as a native function hits LLVM assert

Compile the following with rustc unsupervise.rs -o unsupervise
native mod rustrt {
    fn unsupervise();
}

fn main() { }

rustc: /home/brian/Dev/rust/src/llvm/lib/MC/MCAssembler.cpp:132: uint64_t llvm::MCAsmLayout::getSymbolOffset(const llvm::MCSymbolData*) const: Assertion `SD->getFragment() && "Invalid getOffset() on undefined symbol!"' failed.
Stack dump:
0.      Running pass 'Function Pass Manager' on module 'unsupervise'.
Aborted

Only happens on Linux (Ubuntu 10.10 here). Thanks araujo.

This is most likely a bug in LLVM MC. It's only happen on Linux because currently only MCStreamer::EmitFileDirective is only implemented by MCELFStreamer, neither by MCMachOStreamer nor MCWinCOFFStreamer.
I will try investigate more and report to upstream.

Okay, apparently only ELF supports the ".file" directive, that's why this only effects Linux.
I think a sensible fix is adding ".rc" to module identifiers Rust generates, because function name could not have a "dot" in their names.

Can you add a comment explaining why you're adding the .rc? This will be not at all obvious to the next person who sees it.

How about 5318098? Better? :-)

Oh, you meant comment, not commit msg. Will update.

Thanks. Merged.


BinderAwareChannelResolver and thread safety

I have found a problem with the BinderAwareChannelResolver and thread safety.
When using the BinderAwareChannelResolver to dynamically send to topics in a multi threaded environment, I have been having issues with the call throwing MessagingExceptions due to Dispatcher has no subscribers for channel. The problems occur on the initial call to the topic.
On digging through the code behind the BinderAwareChannelResolver I found it uses DynamicDestinationsBindable object which is not thread safe.  When the message is sent to the topic a subscriber is also created on that topic (using a DirectChannel). If this subscriber has not been created before a further 'send' is made to the topic, then the MessagingException is thrown.
I have worked around this problem by maintaining a Set of topics which have been called, and using a synchronised code block, to ensure the topic has been correctly bound before further calls are made to it.
This problem was found when using Kafka, and spring-cloud version Finchley.SR1
The exception:
org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel

Reclassifying to enhancement since it was clearly stated in the class that it was not thread safe.

Great! thanks very much


fix: allow the use of the _CMD or _SECRET env vars

What issues does your PR fix?

fixes #506

What does your PR do?
Only sets AIRFLOW__CORE__FERNET_KEY and AIRFLOW__WEBSERVER__SECRET_KEY when the values of airflow.fernetKey and airflow.webserverSecretKey are non-empty.
This allows the use of the _CMD and _SECRET variables, which are currently overshadowed their non-suffixed versions.
Checklist
For all Pull Requests

[x] Commits are signed off
[x] Commits have semantic messages
[x] Documentation updated
[x] Passes ct linting

For releasing ONLY

[ ] Chart.yaml version bumped
[ ] CHANGELOG.md updated

@aodj thanks for this PR!
I have made some changes to your branch so it can be ready to merge in 8.6.0 of the chart.


rustup update nightly on macOS rustc does not exist

$ rustup update nightly
info: syncing channel updates for 'nightly-x86_64-apple-darwin'

  nightly-x86_64-apple-darwin unchanged - (rustc does not exist)
$ rustup --version
rustup 1.7.0 (813f7b7a8 2017-10-30)

Is nightly build for macOS down? I have yesterday's nightly installed before running rustup update nightly then rustup removed it while it can't find a newer one to install(I lost that logs on my terminal).

Until this gets resolved, you can use yesterday's nightly which has rustc for darwin:
$ rustup install nightly-2017-11-28

This is caused by rust-lang/rust#46391. Should be fixed tomorrow.


[addon-knobs] Knobs Date Throws "Maximum Call Stack" Error for Angular (Conflict with addon-actions)

Describe the bug
Knobs date() throws Maximum Call Stack Exceeded error in Angular. I am able to see the output of the knobs date for a split second before the error is thrown.
To Reproduce
import { storiesOf } from '@storybook/angular';
import { date as knobDate } from '@storybook/addon-knobs/angular'; // also tried @storybook/addon-knobs

const stories = storiesOf("Simple Components|Date", module);

stories.add("Test", () => {
    const date = knobDate("test date", new Date("2019-01-01")); // this line throws the error
    return ({
        template: "<label>{{date}}</label>",
        props: {
            date
        }
    });
});

Errors:
Uncaught RangeError: Maximum call stack size exceeded
    at JSON.stringify (<anonymous>)
    at stringify (vendors~main.2918c86addf666b280ef.bundle.js:64164)
    at PostmsgTransport.send (vendors~main.2918c86addf666b280ef.bundle.js:25660)
    at handler (vendors~main.2918c86addf666b280ef.bundle.js:25841)
    at Channel.emit (vendors~main.2918c86addf666b280ef.bundle.js:25850)
    at Object.error (vendors~main.2918c86addf666b280ef.bundle.js:4340)
    at console.logger.error (vendors~main.2918c86addf666b280ef.bundle.js:12287)
    at warningWithoutStack (vendors~main.2918c86addf666b280ef.bundle.js:86139)
    at warnAboutInvalidUpdates (vendors~main.2918c86addf666b280ef.bundle.js:102979)
    at scheduleWorkToRoot (vendors~main.2918c86addf666b280ef.bundle.js:104259)
...

Uncaught RangeError: Maximum call stack size exceeded
    at Array.splice (<anonymous>)
    at Object.<anonymous> (vendors~main.2918c86addf666b280ef.bundle.js:64178)
    at JSON.stringify (<anonymous>)
    at stringify (vendors~main.2918c86addf666b280ef.bundle.js:64164)
    at PostmsgTransport.send (vendors~main.2918c86addf666b280ef.bundle.js:25660)
    at handler (vendors~main.2918c86addf666b280ef.bundle.js:25841)
    at Channel.emit (vendors~main.2918c86addf666b280ef.bundle.js:25850)
    at Object.error (vendors~main.2918c86addf666b280ef.bundle.js:4340)
    at console.logger.error (vendors~main.2918c86addf666b280ef.bundle.js:12287)
    at warningWithoutStack (vendors~main.2918c86addf666b280ef.bundle.js:86139)
...

The above error occurred in the <Context.Consumer> component:
    in Styled(div) (created by ForwardRef)
    in ForwardRef (created by DateType)
    in DateType (created by PropForm)
    in label (created by Context.Consumer)
    in Styled(label) (created by ForwardRef)
    in ForwardRef (created by Field)
...

Expected behavior
Don't throw an error
System:
"@storybook/addon-knobs": "^4.1.4"
"@storybook/angular": "^4.1.4"

This is still an issue, I can't get actions to work with knobs. I recommend creating a demo that imports all the official addons in this repo to avoid clashes in the future.

@mikestaub is this an issue in SB5?

Yes

@mikestaub We have such a demo and the date knobs is working AFAICT: https://storybooks-angular.netlify.com/?path=/story/addon-knobs--all-knobs

The example you linked is not using the actions addon, but rather the internal ActionBar component: https://github.com/storybooks/storybook/blob/next/lib/components/src/ActionBar/ActionBar.stories.js#L36
I created a minimal example to reproduce the bug, please see here: https://github.com/mikestaub/storybook-example-bug

@mikestaub storybooks-angular is using the both the actions and knobs addons. Your repo is using actions but not knobs, and it's react not angular. 😕

Yes so perhaps this is a different bug than the original reported one. But even with just the actions addon I still get a 'stack exceeded' error.

I'm also experiencing this issue. Even when I delete all of my stories and run an empty Storybook I'm getting the Uncaught RangeError: Maximum call stack size exceeded error.

Hi, I still experience this issue and have seen it both in storybook v4 and v5. Did any of you manage to figure out how to solve this issue?


Add webconfig to roleblock

@sbesson this PR moves the cofig block directly under the web role, as discussed. Copied the block from from the learning.yml playbook, deleted everything which I did not recognize as useful or know, and added all the config as per the omero-web-outreach-webapps.omero file listings.
Nevertheless, the playbook with these changes still fails with
fatal: [ome-training-3.openmicroscopy.org]: FAILED! => {"changed": false, "msg": "Unable to start service omero-web: Job for omero-web.service failed because the control process exited with error code. See \"systemctl status omero-web.service\" and \"journalctl -xe\" for details.\n"}

...
TASK [ome.omero_web : omero web | configuration 00-omero-web.omero] ************
--- before: /opt/omero/web/config/00-omero-web.omero
+++ after: /Users/pwalczysko/.ansible/tmp/ansible-local-90782m0302681/tmpr53bxzae/00-omero-web-omero.j2
@@ -3,7 +3,6 @@
 config drop default

 # Additional custom options
-config set -- omero.web.apps '["omero_iviewer", "omero_figure", "omero_fpbioimage", "omero_webtagging_autotag", "omero_webtagging_tagsearch", "omero_parade", "omero_mapr"]'
 config set -- omero.web.mapr.config '[[{"menu": "gene", "config": {"default": ["Gene Symbol"], "all": ["Gene Symbol", "Gene Identifier"], "ns": ["openmicroscopy.org/mapr/gene"], "label": "Gene"}}, {"menu": "keyvalue", "config": {"default": ["Any Value"], "all": [], "ns": ["openmicroscopy.org/omero/client/mapAnnotation"], "label": "KeyValue"}}]]'
 config set -- omero.web.open_with '[["omero_fpbioimage", "fpbioimage_index", {"supported_objects": ["image"], "script_url": "fpbioimage/openwith.js", "label": "FPBioimage"}], ["omero_iviewer", "omero_iviewer_index", {"supported_objects": ["images", "dataset", "well"], "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}], ["omero_figure", "new_figure", {"supported_objects": ["images"], "target": "_blank", "label": "OMERO.figure"}]]'
 config set -- omero.web.ui.center_plugins '[["Parade", "omero_parade/init.js.html", "omero_parade"], ["Auto Tag", "omero_webtagging_autotag/auto_tag_init.js.html", "auto_tag_panel"]]'

changed: [ome-training-3.openmicroscopy.org]
...

with https://github.com/ome/prod-playbooks/pull/334/commits/276ed12a4f40215416e2b6fe3974e02379e3a6eb I have a successfull wet run of the playbook on ome-training-3. Web restarts and there are no errors. But the output bit of https://github.com/ome/prod-playbooks/pull/334#issuecomment-1072502699 is suggesting that the ....omero file is replaced by a ...j2 file as a source of config ? This might explain the duplication of the top links, the central pane links and of the open with links observed on ome-training-3. Also, the "Data" top link is gone, see screenshot.
ome-training-3

outreach (without this PR)

cc @will-moore

not sure what is wrong. The top links are as expected. But they do not work, maybe I am not installing the apps ?

I think https://github.com/ome/prod-playbooks/pull/334/commits/024f1c243d2bdfa734ff98e16708248d8359ede7 should fix the apps installation - did not have them in the config set block, so it could not have worked.
Will be able to verify once my ssh access is restored, see PRs on mngmt tools repo.

@sbesson with the latest commit fixing the formatting of mapr and extra config, deployed on ome-training-3. Checked there and all works. The difference between the existing and the new config seems to me to be consisting only in the ordering of the apps, which should not bear any importance ?
diff -ur new.config outreach.config
--- new.config	2022-03-21 13:12:02.837419621 +0000
+++ outreach.config	2022-03-21 13:12:12.488465336 +0000
@@ -1,4 +1,4 @@
-omero.web.apps=["omero_iviewer", "omero_figure", "omero_fpbioimage", "omero_webtagging_autotag", "omero_webtagging_tagsearch", "omero_parade", "omero_mapr", "django_prometheus"]
+omero.web.apps=["django_prometheus", "omero_figure", "omero_fpbioimage", "omero_iviewer", "omero_webtagging_autotag", "omero_webtagging_tagsearch", "omero_parade", "omero_mapr"]
 omero.web.mapr.config=[{"menu": "gene", "config": {"default": ["Gene Symbol"], "all": ["Gene Symbol", "Gene Identifier"], "ns": ["openmicroscopy.org/mapr/gene"], "label": "Gene"}}, {"menu": "keyvalue", "config": {"default": ["Any Value"], "all": [], "ns": ["openmicroscopy.org/omero/client/mapAnnotation"], "label": "KeyValue"}}]
 omero.web.middleware=[{"index": 1, "class": "django.middleware.common.BrokenLinkEmailsMiddleware"}, {"index": 2, "class": "django.middleware.common.CommonMiddleware"}, {"index": 3, "class": "django.contrib.sessions.middleware.SessionMiddleware"}, {"index": 4, "class": "django.middleware.csrf.CsrfViewMiddleware"}, {"index": 5, "class": "django.contrib.messages.middleware.MessageMiddleware"}, {"index": 6, "class": "django.middleware.clickjacking.XFrameOptionsMiddleware"}, {"index": 0, "class": "django_prometheus.middleware.PrometheusBeforeMiddleware"}, {"index": 1000, "class": "django_prometheus.middleware.PrometheusAfterMiddleware"}]
 omero.web.nginx_server_extra_config=["include /etc/nginx/conf.d-nested-includes/*.conf;", "location = /omero-ws {\n  proxy_pass https://<IP_ADDRESS>:4066;\n  proxy_http_version 1.1;\n  proxy_set_header Upgrade $http_upgrade;\n  proxy_set_header Connection $connection_upgrade;\n  proxy_read_timeout 86400;\n}\n"]

puzzled by the molecule failures here - did not touch the notebooks pertaining to ome-dundeeomero and simlar... ?

There are two types of failures here:

the ome-pg-prod playbook fails with

    fatal: [ome-pg-prod1.openmicroscopy.org]: FAILED! => {"changed": false, "msg": "No package matching 'postgresql96' found available, installed or updated", "rc": 126, "results": ["No package matching 'postgresql96' found available, installed or updated"]}

which is related to https://github.com/ome/ansible-role-postgresql/pull/26 i.e. PSQL 9.6 is EOL and has been removed from the CentOS packages.

the ome-dundeeomero, omero-training and nightshade-webclients tests all fail while linting the training server playbook with

 WARNING  Listing 1 violation(s) that are fatal
    [204] Lines should be no longer than 160 chars
    omero/training-server/playbook.yml:104
              - ["omero_iviewer", "omero_iviewer_index", {"supported_objects":["images", "dataset", "well"], "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}]

Warning: [E204] Lines should be no longer than 160 chars

I can handle the former. Do you want to look into the latter?  I assume splitting the one-line string into a YML representation similar to 0fbf81c3bffa33288c19213a01e486f0258f73e7 would be an option

I can handle the former. Do you want to look into the latter? I assume splitting the one-line string into a YML representation similar to https://github.com/ome/prod-playbooks/commit/0fbf81c3bffa33288c19213a01e486f0258f73e7 would be an option

unlike in the mapr config case, the iviewer item in the Open with list does not have nice headers everywhere. The list just starts with something which looks like a value of some (unnamed?) parameter
- ["omero_iviewer", "omero_iviewer_index", {"supported_objects":["images", "dataset", "well"], "script_url": "omero_iviewer/openwith.js", "label": "OMERO.iviewer"}]

I tried to approximate with
- omero_iviewer
          - omero_iviewer_index
          - supported_objects:
              - "images"
              - "dataset"
              - "well"
          - script_url:
              - "omero_iviewer/openwith.js"
          - label: "OMERO.iviewer"

which does not fail in ansible, but is not delivering the final result, because, obviously, the overarching syntax which would suggest "this is iviewer open with item" is not there.
How to solve and create a nice "pen" for iviewer ?

I think you're almost there. Using https://onlineyamltools.com/convert-json-to-yaml, I got
- omero_iviewer
- omero_iviewer_index
- supported_objects:
    - images
    - dataset
    - well
  script_url: omero_iviewer/openwith.js
  label: OMERO.iviewer

I think you're almost there. Using https://onlineyamltools.com/convert-json-to-yaml, I got
- omero_iviewer
- omero_iviewer_index
- supported_objects:
    - images
    - dataset
    - well
  script_url: omero_iviewer/openwith.js
  label: OMERO.iviewer

Thank you @sbesson - after some trials and errors, I realized there must be, surprisingly, a double dash as per https://github.com/ome/prod-playbooks/pull/334/commits/31b3da186153c42f902697e047b33a2c1588d157 , otherwise the web fails with an error complaining about open with and iviewer. The comparison of the before and after showed that one encompassing square bracket is missing around the whole "open with iviewer" bit. Hence the additional starting dash. Tested on ome-training-3, seems to work fine.

@sbesson this https://github.com/ome/prod-playbooks/pull/334/commits/31b3da186153c42f902697e047b33a2c1588d157 seems to have solved the milecule failures as well, except the ome-pg-prod.

Edit: deployed successfully also on ome-training-4 As with the ome-training-3, it was necessary and sufficient to
delete the file
/opt/omero/web/config/omero-web-outreach-webapps.omero
and run the playbook here.

@sbesson your commit is added. The Molecule does not seem to start ?

@sbesson your commit is added. The Molecule does not seem to start ?

I think that's related to https://www.githubstatus.com/incidents/83lq7ftk19r5 rather than my commit ;)

docker-prod is failing now

Thank you @sbesson , merging.


Update camtasia to 3.1.2

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

@vitorgalvao sorry, have no clue how the previous commit was a downgrade. one must be careful not to automate the automation ;)