ci: Add dev deps and eval scripts to Dockerfile

Description of the change

Related issue number

How to verify the PR

Was the PR tested

[ ] I have added >=1 unit test(s) for every new method I have added.
[ ] I have ensured all unit tests pass

Interesting strategy, this would allow us to build dev images by setting ENABLE_DEV although the common way of creating a dev image is to create a dev stage as Alex has done in this PR -- https://github.com/foundation-model-stack/fms-hf-tuning/pull/283. Probably better to have the dev stage so that it can also include dev tools like git and microdnf/yum

@anhuong Sure, I like the dev stage approach as well. Looks like that PR also installs vscode for debugging. I see you started a review there, I can close this one and we can see about getting that other PR merged in?

Looks like PR #283 will cover adding a dev image


Support nested structs in Struct expression

Is your feature request related to a problem or challenge?
Required to allow transformations the produce complex structured data
Describe the solution you'd like
Allow structs and array within a struct expression
Describe alternatives you've considered
No response
Additional context
Currently, only primitive types are supported:
/// Currently supported types by the struct function.
pub static SUPPORTED_STRUCT_TYPES: &[DataType] = &[
    DataType::Boolean,
    DataType::UInt8,
    DataType::UInt16,
    DataType::UInt32,
    DataType::UInt64,
    DataType::Int8,
    DataType::Int16,
    DataType::Int32,
    DataType::Int64,
    DataType::Float32,
    DataType::Float64,
    DataType::Utf8,
    DataType::LargeUtf8,
];

https://github.com/apache/arrow-datafusion/issues/2326

This could be closed


RFC: How much stuff should go into board support crates?

I'd like to have a discussion on this. Currently, our board support crates are quite light, basically just pin definitions. @tarcieri is looking to integrate drivers for sensors, and possibly additional abstractions based on those drivers for trellis_m4. I'm wondering if we should add neopixel support via smart-leds to all the board support crates with neopixels. Any comments for or against are appreciated.

As @sajattack already mentioned, personally I'd be a fan of "batteries included" board support crates that make it convenient to use all of the available board hardware without having to import a bunch of additional crates. There's a certain amount of "wiring up" that has to happen to use those crates, and I think it's nice when all of that functionality is readily available.
The "batteries included" support for using hardware via 3rd party crates can be gated behind cargo features, e.g. smart-leds can be an optional = true dependency in Cargo.toml, and then when its cargo feature is enabled, corresponding support functions can be enabled in the board support crate as well.

Here's a PR which I think is a good example of this particular issue:
PR #48: trellis_m4: Orientation detector
I implemented a simple orientation detector for the board which uses the accelerometer feature (also in an unmerged PR, #47). It's gated on the adxl343 accelerometer crate, which it requires as a dependency.
It doesn't really belong in the accelerometer crate, IMO: the algorithm is specific to the NeoTrellis M4. I also think it's generally useful functionality anyone writing programs for one of these boards would probably like.
Does it belong in the board support crate? Or should it be spun out as a separate crate? (e.g. trellis_m4_orientation)

I'm +1 on making the default feature selection batteries-included.
If that results in pulling in some heavy deps that someone might conceivably want to disable then we should add a feature gate for that, but have that feature be enabled on the list of default features.

Maybe this is a place to hijack to a similar conversation. Do we have agreement on the .split() pattern?  Seems like some crates are using it to clean up a nice (though small amount) of config boilerplate in the examples at the cost of quite a bit in the bsp.
One complaint I have is the repetition in current naming, (not to pick on just as an example)
https://github.com/jacobrosenthal/atsamd/blob/master/boards/itsybitsy_m4/src/pins.rs#L262

led.led()
i2c.i2c_master()
spi.spi_master()
display.display()
uart.uart()
dotstar.dotstar()

as well as
usb_allocator()
https://github.com/atsamd-rs/atsamd/blob/master/boards/itsybitsy_m4/src/pins.rs#L276
accel.open()
https://github.com/atsamd-rs/atsamd/blob/master/boards/trellis_m4/examples/neopixel_accel.rs#L44
and Im thinking of using .init() so you get

usb.init()
led.init()
i2c.init_master()
spi.init_master()
display.init()
uart.init()
dotstar.init()

Anyone like anything better?

Yeah if you want to add more to the BSPs that's good by me. A lot of them are fairly barebones. It hasn't been a priority for me, I like to focus on HAL and when I do a BSP it's usually just enough to get a board up and running.

Do we have agreement on the .split() pattern?

I'll note the trellis_m4 uses split() to split up the big bucket-o-pins generated by device_pins into device-specific pin sets, as many of its components have a lot of pins:
https://github.com/atsamd-rs/atsamd/blob/master/boards/trellis_m4/src/pins.rs#L80
This was helpful in splitting up ownership of the pins and handing off whole components at a time, rather than the individual pins, especially in cases like the keypad:
https://github.com/atsamd-rs/atsamd/blob/master/boards/trellis_m4/src/pins.rs#L288

Oh yeah, I just remembered, I found it less than helpful to implement split, when there were less well-defined "sets"

Thoughts on naming consistency?  Were all over the place right now. Using Init cleans up the pins.display.display() problem to pins.display.init() which i prefer.
I would argue even pins.usb.usb_allocator() and pins.i2c.i2c_master() should just become pins.usb.init() and pins.i2c.init() as well. I presume we COULD include an i2c_slave() someday, but actually I dont see that happening in a BSP. In my mind a  BSP is batteries included for a happy path based on specific vendor shipped hardware. I dont see them having tons of options like i2c_master and i2c_slave. If you get that far in your hacking I think you've graduated to forking the bsp to your own project.

Yeah init sounds good.

I have no horse in this bikeshedding race and init() sounds fine to me.
I guess the only thing I'd suggest is doing a cursory survey of some other embedded Rust projects and see if what they're doing is in anyway consistent and, if so, if we can align with other projects.

Looked around a bit.

stm32, nrf51, and others don't appear to be tackling bsps yet.
nrf52 impls new() for the entire Board type, and creates all objects in
one. However they only have very simple periphs like uart and buttons. I
wonder if that will run into any trouble with say, an i2c or spi device not
responding taking down unrelated examples.
https://github.com/nrf-rs/nrf52-hal/blob/master/boards/actinius-icarus/src/lib.rs#L430
microbit and others scattered around Ive seen 'new()' on a per peripheral
basis as well https://github.com/therealprof/microbit/blob/master/src/led.rs

I think new() is a decent contender with init()
On Wed, Nov 20, 2019 at 6:56 PM Tony Arcieri<EMAIL_ADDRESS>wrote:

I have no horse in this bikeshedding race and init() sounds fine to me.
I guess the only thing I'd suggest is doing a cursory survey of some other
embedded Rust projects and see if what they're doing is in anyway
consistent and, if so, if we can align with other projects.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/atsamd-rs/atsamd/issues/46?email_source=notifications&email_token=AADPI5FD4Z2DXLM2ELEMK5DQUXTDXA5CNFSM4HAJOC22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEYICSQ#issuecomment-556826954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPI5H237LQQMUQLVVFX6DQUXTDXANCNFSM4HAJOC2Q
.

Im using pub structs so that in the case of rtfm or something, people can create the structure themselves without the split call. With new it looks like this
    let mut buttons = Buttons {
        latch: pins.button_latch,
        data_in: pins.button_out,
        clock: pins.button_clock,
    }
    .new(&mut pins.port);

We could obviously make a boilerplate call of some kind to hide that. but why add more. init is a little better in this case
    let mut buttons = Buttons {
        latch: pins.button_latch,
        data_in: pins.button_out,
        clock: pins.button_clock,
    }
    .init(&mut pins.port);

Though I guess since we dont take in our hal, you can still split in the rtfm context just fine. I guess its still nice to offer a clean way not to
Does anyone know if theres any other benefit to this pattern in upstream right now?
https://github.com/atsamd-rs/atsamd/blob/master/boards/itsybitsy_m4/src/lib.rs#L87


Feature request: Add support for PSR7

Add support for Psr\Http\Message\UploadedFileInterface for Zend\Validator\File\* validators.

Originally posted by @svycka at https://github.com/zendframework/zend-validator/issues/62

Shouldn't this issue be closed?  It looks like the getFileInfo() method defined in Laminas\Validator\File\FileInformationTrait, used by most of the file validators, already checks to see if the supplied value is an instance of Psr\Http\Message\UploadedFileInterface and extracts the information accordingly.  The only thing really missing is that the ability to accept an UploadedFileInterface is not mentioned in the doc block.


Adds -q option and support to distros without FUSE

Added -q, by passing this flag, set -x, is not used

Added support to distros that doesn't have FUSE

Added unzip as dependency

Hi @sudo-give-me-coffee can you explain a bit more? I do not understand. What do you want to unzip?

What do you want to unzip

Some recipes uses it, like this:
https://github.com/AppImage/pkg2appimage/blob/c8e9eba164c802bd349f08105764e46b1acff8d5/recipes/esptool.yml#L11-L13
But some custom distros doesn't have it preinstalled

to unzip and how does that help for distributions that do not have FUSE?

It doesn't help, but building some recipes fails without explaining why, which is the lack of "unzip"

On systems without FUSE, you can run AppImages with --appimage-extract-and-run...

Yes, but is not possible to pass to appimagetoolwithout exposing "DOCKER_BUILD" with a any value

Adding unzip to check_dependencies won't help either; in fact it will only result in the tool to fail even for those recipes that don't need it

Ok, I will close it, since you will not merge it, I will keep a parallel version


Modified navbar on the homepage.

Related Issue
Fixes:  #2260
Description
I have modified the navbar for responsive view and also aligned the contents on the center. The navbar is now clearly visible on click of the hamburger icon.

Type of PR

[x] Bug fix
[x] Feature enhancement

Screenshots / videos (if applicable)

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

ig the changes you created has distorted about us navbar please recheck

Make the changes and create a new PR or reopen this

I will check

@RitiChandak the about us navbar was like this without my PR also.
Please can you check it once again and tell me whether to create a new PR.

@RitiChandak please reply this PR was not disturbing the about us navbar .
Please check once.


GA: Users can see a diff view of the edit

landed in main, should be available in jetbrains 5.5.11


[Android Client]  Add slider to control rotation of bot.

Currently the app only allows for strafing.
I think it would be nice if we also had the ability to rotate.
Again, low priority but a good task for anyone with experience/interest in Java or Android development.

Well this certainly wasn't done before the fundraiser... But is shelved for now until we get some time and someone interested in android development

I have recently become very interested in coding for android. I would be
happy to take this on.
On May 8, 2015 6:10 PM, "Ahmed Samara"<EMAIL_ADDRESS>wrote:

Reopened #146 https://github.com/IEEERobotics/bot2014/issues/146.
—
Reply to this email directly or view it on GitHub
https://github.com/IEEERobotics/bot2014/issues/146#event-300664070.


Highlight that we have an essentially complete OpenAPI file in /api/ somewhere

I think it's probably reasonable for this to be a new top-level item in the "REST API" section, e.g. alongside https://zulip.com/api/rest; we should basically just link to zulip.yaml.
We'll want to:

Explain for a user what OpenAPI is (maybe can borrow text from our developer documentation).
Link to zulip.yaml on GitHub, probably also the raw link for convenient download.
(We could also consider writing an endpoint for this, that does some processing to replace various syntaxes that we handle via custom Markdown).
Mention tools that can be useful with it (E.g. the OpenAPI/swagger editor)
Eventually, this would mention generated API bindings use openapi-generator, though probably only once we've made sure that works satisfactorily; so mostly this bullet is a reminder to update the issue for that work once we do this.

I would like to take up this issue @timabbott

@alceil  please take a look at the Zulip contributor guide to learn how to claim an issue, and keep in mind the following guideline:

Before you claim an issue, you should be confident that you will be able to tackle it effectively.

Ya got it @alya

@zulipbot claim


Dags not running and flower UI not working with Celery?

Hello,
So everything seems fine, no errors in the logs, except that when i run a DAG it gets scheduled but none of the tasks start. I've just tried the tutorial and the example_python_operatorschedule. i.e.
the flower web UI "Can't be reached". I've changed its port to "6666:5555" due to a conflict.
The flower logs look like this:
/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  """)
[2019-10-07 04:35:40,790] {{__init__.py:51}} INFO - Using executor CeleryExecutor
[I 191007 04:35:41 command:136] Visit me at http://<IP_ADDRESS>:5555
[I 191007 04:35:41 command:141] Broker: redis://:**@redis:6379/1
[I 191007 04:35:41 command:144] Registered tasks:
    ['celery.accumulate',
     'celery.backend_cleanup',
     'celery.chain',
     'celery.chord',
     'celery.chord_unlock',
     'celery.chunks',
     'celery.group',
     'celery.map',
     'celery.starmap']
[I 191007 04:35:41 mixins:229] Connected to redis://:**@redis:6379/1
[W 191007 04:35:46 control:44] 'stats' inspect method failed
[W 191007 04:35:46 control:44] 'active_queues' inspect method failed
[W 191007 04:35:46 control:44] 'registered' inspect method failed
[W 191007 04:35:46 control:44] 'scheduled' inspect method failed
[W 191007 04:35:46 control:44] 'active' inspect method failed
[W 191007 04:35:46 control:44] 'reserved' inspect method failed
[W 191007 04:35:46 control:44] 'revoked' inspect method failed
[W 191007 04:35:46 control:44] 'conf' inspect method failed

All the other logs look normal. I'm in New Zealand and the server is on Auckland time, should that affect the scheduler?
The tail of the webserver logs looks like this:
[2019-10-07 04:57:06,089] {{dagbag.py:90}} INFO - Filling up the DagBag from /usr/local/airflow/dags
[2019-10-07 04:57:06 +0000] [29] [INFO] Handling signal: ttou
[2019-10-07 04:57:06 +0000] [544] [INFO] Worker exiting (pid: 544)
[2019-10-07 04:57:37 +0000] [29] [INFO] Handling signal: ttin
[2019-10-07 04:57:37 +0000] [609] [INFO] Booting worker with pid: 609
[2019-10-07 04:57:37,246] {{__init__.py:51}} INFO - Using executor CeleryExecutor
[2019-10-07 04:57:37,540] {{dagbag.py:90}} INFO - Filling up the DagBag from /usr/local/airflow/dags
[2019-10-07 04:57:38 +0000] [29] [INFO] Handling signal: ttou
[2019-10-07 04:57:38 +0000] [557] [INFO] Worker exiting (pid: 557)
[2019-10-07 04:58:08 +0000] [29] [INFO] Handling signal: ttin
[2019-10-07 04:58:08 +0000] [622] [INFO] Booting worker with pid: 622
[2019-10-07 04:58:08,675] {{__init__.py:51}} INFO - Using executor CeleryExecutor
[2019-10-07 04:58:08,971] {{dagbag.py:90}} INFO - Filling up the DagBag from /usr/local/airflow/dags
[2019-10-07 04:58:09 +0000] [29] [INFO] Handling signal: ttou
[2019-10-07 04:58:09 +0000] [570] [INFO] Worker exiting (pid: 570)

which seems to happen when i run a DAG.
Finally, the only changes made to the docker-compose-CeleryExecutor.yml are removing some comments and changing the flower port:
version: '2.1'
services:
    redis:
        image: 'redis:5.0.5'
        command: redis-server --requirepass redispass

    postgres:
        image: postgres:9.6
        environment:
            - POSTGRES_USER=airflow
            - POSTGRES_PASSWORD=airflow
            - POSTGRES_DB=airflow
        # Uncomment these lines to persist data on the local filesystem.
            - PGDATA=/var/lib/postgresql/data/pgdata
        volumes:
            - ./pgdata:/var/lib/postgresql/data/pgdata

    webserver:
        image: puckel/docker-airflow:1.10.4
        restart: always
        depends_on:
            - postgres
            - redis
        environment:
            - LOAD_EX=y
            - FERNET_KEY=46BKJoQYlPPOexq0OhDZnIlNepKFf87WFwLbfzqDDho=
            - EXECUTOR=Celery
            - POSTGRES_USER=airflow
            - POSTGRES_PASSWORD=airflow
            - POSTGRES_DB=airflow
            - REDIS_PASSWORD=redispass
        volumes:
            - ./dags:/usr/local/airflow/dags
            # Uncomment to include custom plugins
            # - ./plugins:/usr/local/airflow/plugins
        ports:
            - "9090:8080"
        command: webserver
        healthcheck:
            test: ["CMD-SHELL", "[ -f /usr/local/airflow/airflow-webserver.pid ]"]
            interval: 30s
            timeout: 30s
            retries: 3

    flower:
        image: puckel/docker-airflow:1.10.4
        restart: always
        depends_on:
            - redis
        environment:
            - EXECUTOR=Celery
            - REDIS_PASSWORD=redispass
        ports:
            - "6666:5555"
        command: flower

    scheduler:
        image: puckel/docker-airflow:1.10.4
        restart: always
        depends_on:
            - webserver
        volumes:
            - ./dags:/usr/local/airflow/dags
            # Uncomment to include custom plugins
            # - ./plugins:/usr/local/airflow/plugins
        environment:
            - LOAD_EX=y
            - FERNET_KEY=46BKJoQYlPPOexq0OhDZnIlNepKFf87WFwLbfzqDDho=
            - EXECUTOR=Celery
            - POSTGRES_USER=airflow
            - POSTGRES_PASSWORD=airflow
            - POSTGRES_DB=airflow
            - REDIS_PASSWORD=redispass
        command: scheduler

    worker:
        image: puckel/docker-airflow:1.10.4
        restart: always
        depends_on:
            - scheduler
        volumes:
            - ./dags:/usr/local/airflow/dags
            # Uncomment to include custom plugins
            # - ./plugins:/usr/local/airflow/plugins
        environment:
            - FERNET_KEY=46BKJoQYlPPOexq0OhDZnIlNepKFf87WFwLbfzqDDho=
            - EXECUTOR=Celery
            - POSTGRES_USER=airflow
            - POSTGRES_PASSWORD=airflow
            - POSTGRES_DB=airflow
            - REDIS_PASSWORD=redispass
        command: worker

I created the /var/lib/postgresql/data/pgdata dir and chmod 777ed it. There doesn't seem to be anything in there?
No sure how to debug this :?
p.s. is there an example with RabbitMQ instead of redis?

came across this issue, do you remember what you did to resolve?

Hi, any resolution for this issue?


Bug - Create a New Poster not working

Description
Currently when logged in as a Manager<EMAIL_ADDRESS>and when logged into the demo account<EMAIL_ADDRESS>the Create a new Job Poster link opens up a new page with only the header and the footer displayed.
There are no contents within the page.
Technical Info
Device: Laptop
Operating System: MacOs, etc.
Browser: Chrome
Steps to Reproduce
Steps to reproduce the behaviour. Example:

Login to manager or demo account
Click on My Job Posters
Click Create a New Poster
See error

Images

@gggrant

[ ] Regression test written.

Weird deployment, fixed.


Error loading custom_components.aquaariston

Having this error in logs after HASS restart. Not able to put commends in configuration.yaml as commend is not recognized.
Logger: homeassistant.loader
Source: custom_components/aquaariston/init.py:1
First occurred: 12:48:51 AM (1 occurrences)
Last logged: 12:48:51 AM
Error loading custom_components.aquaariston. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 541, in _load_file
module = importlib.import_module(path)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/config/custom_components/aquaariston/init.py", line 1, in
from . import ariston
ImportError: cannot import name 'ariston' from partially initialized module 'custom_components.aquaariston' (most likely due to a circular import) (/config/custom_components/aquaariston/init.py)

This error is the same for me.
Workaround solution, until the developer fixes it (i.e. step back one step in the git):

git clone the component
git checkout f755aeee11 (this is the step back one)
copy the current aquaariston folder into the custom_components folder in Home Assistant

It helped me temporarily.

It worked. Thank you for the solution :)
On Dec 13, 2020, 12:30 +0100, Guido Kovács<EMAIL_ADDRESS>wrote:

This error is the same for me.
Workaround solution, until the developer fixes it (i.e. step back one step in the git):
• git clone the component
• git checkout f755aee (this is the step back one)
• copy the current aquaariston folder into the custom_components folder in Home Assistant
It helped me temporarily.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

seems like i've accidently uploaded init.py from other integration. New version was uploaded. Please let me know if it works.

Thanks, I pulled down the last version and it works!


cli: add check for .popper.yml integrity

Add code to check that pipelines and metadata dictionaries are defined in the .popper.yml file. This can be added to the read_config function, otherwise all other commands will fail. For this, we should warn the user that .popper.yml doesn't contain expected entries, that they should remove it and reinitialize the repository. For example:
ERROR: cannot read .popper.yml file. Consider deleting it and reinitializing the repo. See popper init --help for more.

I'd like to work on this issue

Sure, please go ahead and let us know if you have any question

@ivotron The documentation doesn't say anything about pipelines and metadata dictionaries in the .popper.yml file. Can you please tell me how the dictionaries are generated? I need a little more clarification to be able to work on the issue. Thanks :)

@ankan17 sorry for the confusion. These are defined when popper init is executed, specifically here. To test this on your machine, you can do:
mkdir mypaper
cd mypaper
git init
popper init
cat .popper.yml

Since some people might create the .popper.yml file by hand, or might have a .popper.yml from previous versions, we want to check that the pipelines and metadata dictionaries (YAML maps) are defined if the .popper.yml already exists.

Really appreciate the help. I have submitted the pull request :)


Unable to resolve DNS in a multi-cluster setup for headless service

Bug Description
I have installed Istio 1.12 in two different AKS clusters.
Both AKS clusters is within the same mesh and network. (vnet peered)
I have followed the following guide: https://istio.io/latest/docs/setup/install/multicluster/multi-primary/
I have two different Kafka clusters in each of the AKS clusters.
The setup looks like this:

I have the following services in cluster1:
NAME                                  TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
kafka-northeurope                     ClusterIP   <IP_ADDRESS>   <none>        9092/TCP                     77m
kafka-northeurope-headless            ClusterIP   None           <none>        9092/TCP,9093/TCP            32m
kafka-westeurope                      ClusterIP   <IP_ADDRESS>     <none>        9092/TCP                     32d
kafka-westeurope-headless             ClusterIP   None           <none>        9092/TCP,9093/TCP            32d
kafka-westeurope-kowl-service         ClusterIP   <IP_ADDRESS>   <none>        8080/TCP                     32d
kafka-westeurope-metrics              ClusterIP   <IP_ADDRESS>     <none>        9308/TCP                     32d
kafka-westeurope-zookeeper            ClusterIP   <IP_ADDRESS>    <none>        2181/TCP,2888/TCP,3888/TCP   32d
kafka-westeurope-zookeeper-headless   ClusterIP   None           <none>        2181/TCP,2888/TCP,3888/TCP   32d
kafka-westeurope-zookeeper-metrics    ClusterIP   <IP_ADDRESS>    <none>        9141/TCP                     32d

I have the following pods in cluster1:
NAME                                                READY   STATUS             RESTARTS   AGE
kafka-westeurope-0                                  3/3     Running            0          43m
kafka-westeurope-1                                  3/3     Running            0          44m
kafka-westeurope-2                                  3/3     Running            0          46m
kafka-westeurope-exporter-5c66cd997-7pdqm           2/2     Running            5          47m
kafka-westeurope-kowl-7fc8c68b74-s5k97              2/2     Running            4          47m
kafka-westeurope-mirrormaker-557769cc7f-vbgqt       1/2     CrashLoopBackOff   6          14m
kafka-westeurope-zookeeper-0                        2/2     Running            0          46m
kafka-westeurope-zookeeper-1                        2/2     Running            0          46m
kafka-westeurope-zookeeper-2                        2/2     Running            0          46m

I have the following services in cluster2:
NAME                                   TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
kafka-northeurope                      ClusterIP   <IP_ADDRESS>    <none>        9092/TCP                     3h10m
kafka-northeurope-headless             ClusterIP   None           <none>        9092/TCP,9093/TCP            3h10m
kafka-northeurope-kowl-service         ClusterIP   <IP_ADDRESS>   <none>        8080/TCP                     3h10m
kafka-northeurope-metrics              ClusterIP   <IP_ADDRESS>   <none>        9308/TCP                     3h10m
kafka-northeurope-zookeeper            ClusterIP   <IP_ADDRESS>    <none>        2181/TCP,2888/TCP,3888/TCP   3h10m
kafka-northeurope-zookeeper-headless   ClusterIP   None           <none>        2181/TCP,2888/TCP,3888/TCP   3h10m
kafka-northeurope-zookeeper-metrics    ClusterIP   <IP_ADDRESS>    <none>        9141/TCP                     3h10m

I have the following pods in cluster2:
NAME                                                 READY   STATUS    RESTARTS   AGE
kafka-northeurope-0                                  3/3     Running   0          42m
kafka-northeurope-1                                  3/3     Running   0          44m
kafka-northeurope-2                                  3/3     Running   0          47m
kafka-northeurope-exporter-76cb5d8ddc-4fgsb          2/2     Running   5          47m
kafka-northeurope-kowl-5549895cfb-4d97s              2/2     Running   5          47m
kafka-northeurope-zookeeper-0                        2/2     Running   0          45m
kafka-northeurope-zookeeper-1                        2/2     Running   0          46m
kafka-northeurope-zookeeper-2                        2/2     Running   0          47m

I am unable to reach following headless service names from cluster1:
java.net.UnknownHostException: kafka-northeurope-0.kafka-northeurope-headless.preprod.svc.cluster.local: Name or service not known
java.net.UnknownHostException: kafka-northeurope-1.kafka-northeurope-headless.preprod.svc.cluster.local: Name or service not known
java.net.UnknownHostException: kafka-northeurope-2.kafka-northeurope-headless.preprod.svc.cluster.local: Name or service not known

All pods are running with a Istio sidecar, and resolving non-headless services works fine.
The headless service (which resides both in cluster1 and cluster2 looks like this):
apiVersion: v1
kind: Service
metadata:
  annotations:
    meta.helm.sh/release-name: kafka-northeurope
    meta.helm.sh/release-namespace: preprod
  labels:
    app.kubernetes.io/component: kafka
    app.kubernetes.io/instance: kafka-northeurope
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: kafka
    helm.sh/chart: kafka-14.4.1
  name: kafka-northeurope-headless
  namespace: preprod
spec:
  clusterIP: None
  clusterIPs:
  - None
  ports:
  - name: tcp-client
    port: 9092
    protocol: TCP
    targetPort: kafka-client
  - name: tcp-internal
    port: 9093
    protocol: TCP
    targetPort: kafka-internal
  selector:
    app.kubernetes.io/component: kafka
    app.kubernetes.io/instance: kafka-northeurope
    app.kubernetes.io/name: kafka
  sessionAffinity: None
  type: ClusterIP

Do you have any ideas of what I am doing wrong?
I feel there is a lack of documentation on the area, and I hope I can contribute to the docs with whatever answer which will solve my issue.
Version
$ istioctl version
client version: 1.12.0
control plane version: 1.12.0
data plane version: 1.12.0 (10 proxies)

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:18:45Z", GoVers
ion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.9", GitCommit:"454b5b515582f8ac8419435dc9c230fc97fb844b", GitTreeState:"clean", BuildDate:"2021-11-01T19:59:05Z", GoVers
ion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}

Additional Information
No response

Hi @stevenctl, I am sorry to ping you directly, but I have seen that you have done great and significant work in regards of MCS and headless services. Do you have an idea of why it does not work for me?

Do you have ENABLE_MULTICLUSTER_HEADLESS enabled in pilot with in-agent DNS enabled?

Hi @stevenctl is ENABLE_MULTICLUSTER_HEADLESS not enabled per default in Istio 1.12?
I am a bit unsure about the in-agent DNS enablement, how do I enable that?

ENABLE_MULTICLUSTER_HEADLESS is false by default, you have to manually enable it.
@stevenctl this is only for single network, correct?

Actually, ENABLE_MULTICLUSTER_HEADLESS is enabled by default in 1.12+
For the in-agent DNS, see https://istio.io/latest/docs/ops/configuration/traffic-management/dns-proxy/.
And yes, as @linsun points out, this won't work if the headless endpoint is in another network from the client.

Thank you so much @linsun and @stevenctl :)
It got solved with the following configuration:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values: # Inspired from:  https://istio.io/latest/docs/setup/install/multicluster/multi-primary/#configure-cluster1-as-a-primary
    global:
      meshID: mesh1
      multiCluster:
        clusterName: cluster1 # is set as cluster2 in the north-europe cluster
      network: network1
  meshConfig: # Inspired from: https://istio.io/latest/docs/ops/configuration/traffic-management/dns-proxy/#getting-started
    defaultConfig:
      proxyMetadata:
        # Enable basic DNS proxying
        ISTIO_META_DNS_CAPTURE: "true"
        # Enable automatic address allocation, optional
        ISTIO_META_DNS_AUTO_ALLOCATE: "true"


Make hack/gen-content.sh discover GNU grep and sed on macOS

Running hack/gen-content.sh falls apart when running on macOS if grep doesn't point to GNU grep due to the -P flag heavily being used. This is normally not the case (you can install it via homebrew and override the grep name, but that's not the default), so I've adjusted the script to discover $GREP and $SED (just in case sed also acts up and I didn't notice) and set them to the GNU versions (which are prefixed with a g on installation). The discovery heuristics are simple but seem to be effective.
I'm not sure if this is something that is interesting to this repository (since you can also run this in a container), just wanted to submit it in case it would be useful to the community. Feel free to tell me that this will not be merged.

I've had to do something similar to this in the past. I don't have a macOS system to test on right now, but this looks like it covers the detection and use throughout.
At any rate, testing with the changes on a Linux system doesn't show anything broken by the change, so:
/lgtm


Added quiet flag to inline bundler

Thanks so much for the contribution!
To make reviewing this PR a bit easier, please fill out answers to the following questions.
What was the end-user problem that led to this PR?
I'm using inline bundler on my CI minitest file. I wanted to make it quiet so output is clean and meaningful.
What was your diagnosis of the problem?
Bundler inline's gemfile method only accepted :ui option.
What is your fix for the problem, implemented in this PR?
I added quiet option flag to gemfile method.
Why did you choose this fix out of the possible options?
I chose this fix because it looked simple and clean.

This PR will need a test before we will consider merging it.

👍 I'm on it!

How do You like it now @colby-swandale ?

some small minor details fixed!

Looks great! Thank you!
@bundlerbot r+

Thank You


Error when executing 'make'

Could someone figure out the issue i'm facing here
root@rock-3a:~/stratux# make
make xdump978 xdump1090 xgen_gdl90 fancontrol
make[1]: Entering directory '/root/stratux'
cd dump978 && make lib
make[2]: Entering directory '/root/stratux/dump978'
gcc -c -O2 -g -Wall -Werror -Ifec -fpic -DBUILD_LIB=1 dump978.c fec.c fec/decode_rs_char.c fec/init_rs_char.c
gcc -shared -lm -o ../libdump978.so dump978.o fec.o decode_rs_char.o init_rs_char.o
make[2]: Leaving directory '/root/stratux/dump978'
sudo cp -f ./libdump978.so /usr/lib/libdump978.so
git submodule update --init
cd dump1090 && make
make[2]: Entering directory '/root/stratux/dump1090'
fatal: No names found, cannot describe anything.
gcc -DMODES_DUMP1090_VERSION=\"\" -O2 -g -Wall -Werror -W `pkg-config --cflags librtlsdr`  -c dump1090.c -o dump1090.o
fatal: No names found, cannot describe anything.
gcc -DMODES_DUMP1090_VERSION=\"\" -O2 -g -Wall -Werror -W  -c anet.c -o anet.o
fatal: No names found, cannot describe anything.
gcc -DMODES_DUMP1090_VERSION=\"\" -O2 -g -Wall -Werror -W  -c interactive.c -o interactive.o
interactive.c: In function 'interactiveShowData':
interactive.c:140:44: error: '%03d' directive output may be truncated writing between 3 and 9 bytes into a region of size 5 [-Werror=format-truncation=]
  140 |                         snprintf(strFl,6,"F%03d",(a->altitude/100));
      |                                            ^~~~
interactive.c:140:42: note: directive argument in the range [-21474836, 21474836]
  140 |                         snprintf(strFl,6,"F%03d",(a->altitude/100));
      |                                          ^~~~~~~
interactive.c:140:25: note: 'snprintf' output between 5 and 11 bytes into a destination of size 6
  140 |                         snprintf(strFl,6,"F%03d",(a->altitude/100));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:37: interactive.o] Error 1
make[2]: Leaving directory '/root/stratux/dump1090'
make[1]: *** [Makefile:26: xdump1090] Error 2
make[1]: Leaving directory '/root/stratux'
make: *** [Makefile:14: all] Error 2
root@rock-3a:~/stratux#

Did you clone it like this? git clone --recursive https://github.com/b3nn0/stratux.git
Also, this 'might' have something to do with your compiler.

I cloned by following the wiki, using git clone --recursive https://github.com/cyoung/stratux
I did not clone the repository by b3nn0. I solved this issue by removing -Werror flag from the Makefile. Now the issue I face is this one:
/dump1090/dump1090.h:238: multiple definition of Modes'; dump1090.o:/root/strautx/dump1090/dump1090.h:254: first defined here
collect2: error: ld returned 1 exit status

https://github.com/b3nn0/stratux is the current source for both EU and US versions of Stratux and has supplanted the original source.  It fixes numerous issues with the original source and has added many new features, and is eminently buildable on a Stratux-imaged rPi by following the instructions in https://github.com/b3nn0/stratux/wiki/Developing-Stratux, the stratux image includes stuff like convenience scripts and a couple of dependencies that are not in the source code.
If you want to compile on a linux PC, I had to install a couple other things. (tried and succeeded on minimal versions of Debian and Ubuntu, currently trying on Arch)

go v1.20.7
build-essential
cmake
librtlsdr-dev
libncurses-dev

Thanks a lot. I have installed these dependencies as well. I'll try the repo at "https://github.com/b3nn0/stratux" now. But, would you be so kind to lay out your own for compiling the code? Including the steps regarding the installation of the dependencies and compilers. It would be really helpful.

Update: Now successfully compiling and running stratux from b3nn0/stratux source on Arch Linux minimal install running in vmware.

further help with getting help to compile stratux source would best be done by joining the Stratux ADS-B channel on Slack

Okay perfect! thanks a lot!

How did you set-up go? I'm getting issues after extracting the go v1.20 tar


Implement 'copy' command

I'm not sure if this related, but... here is a general question about node-gyp (and maybe bindings) made specific in the context of node-sqlite3.
Now that I have node-sqlite3 building with node-gyp, I would like to be able to relocate it (directly into production and not via uploading an npm package) so that require('sqlite3') just works.  I gather this is what 'node-gyp copy' will do when implemented?
I'm not sure why the node requires logic confuses me so much.  I've only read the nice docs at nodejs.org a dozen times.  I seem to get one thing working and then have trouble with the next.  :)
I've been trying to coerce node-bindings into working for any node_modules directory, but I have not been able to get 'bindings' to discover the root, perhaps because I do not have a package.json that it likes and perhaps because I only get about ten minutes to think about this between meetings.  The error is something like
Error: Could not find module root given file: C:\Documents and Settings\cm\node_modules\sqlite3\sqlite3.js
where I have put the node_sqlite3.node file right there in the node_modules\sqlite3 folder alongside sqlite3.js.
In the short term, I just need to know how to hack the relocation the the module /lib and *.node artifacts created by node-gyp.  I hope this makes sense in a sleep-deprived way.

@cmundi The error you are seeing is from node-bindings it indeed is because you do not have a package.json file, so you will need to add one of those to make it find the module root properly. Once you have the package.json in place, then you can see where node-bindings is looking for the native addon module, but for a quick reference:
> require('bindings')('node_sqlite3.node')
Error: Could not load the bindings file. Tried:
 ↳  /Users/nrajlich/node-sqlite3/out/Debug/node_sqlite3.node
 ↳  /Users/nrajlich/node-sqlite3/Debug/node_sqlite3.node
 ↳  /Users/nrajlich/node-sqlite3/out/Release/node_sqlite3.node
 ↳  /Users/nrajlich/node-sqlite3/Release/node_sqlite3.node
 ↳  /Users/nrajlich/node-sqlite3/compiled/0.6/darwin/x64/node_sqlite3.node
 ↳  /Users/nrajlich/node-sqlite3/build/Release/node_sqlite3.node
 ↳  /Users/nrajlich/node-sqlite3/build/default/node_sqlite3.node
    at bindings (/Users/nrajlich/node-sqlite3/node_modules/bindings/bindings.js:78:13)
    at repl:1:20
    at REPLServer.eval (repl.js:80:21)
    at Interface.<anonymous> (repl.js:182:12)

Does that make sense? node-bindings exists because of the historical differences in the location that node's addon files get built by default, so it's designed so that you build the addon and then require 'bindings' and it "just works" (i.e. no copying the resulting binary is necessary).
The copy command would be for the /Users/nrajlich/node-sqlite3/compiled/0.6/darwin/x64/node_sqlite3.node case, where the path is determined at runtime based on the current node version, platform and architecture. You could then commit the resulting copied binary or something, but that's "a sin" and we're still working on a better solution (likely involving npm).

Closing. I don't think we want/need a copy command after all...


Release/1.2.2

Coverage remained the same at 97.297% when pulling 2e27b361b86f8a250c7709ac725d1d696263b6e6 on release/1.2.2 into d4d31a2075fbe5173ebcb1014013dd25c5cb0770 on master.


Update scalafmt-core to 3.5.0

Updates org.scalameta:scalafmt-core from 3.4.3 to 3.5.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Codecov Report

Merging #1935 (fb1c1f9) into main (7d83746) will increase coverage by 0.28%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1935      +/-   ##
==========================================
+ Coverage   85.85%   86.13%   +0.28%
==========================================
  Files          69       69
  Lines        2488     2503      +15
  Branches      129      132       +3
==========================================
+ Hits         2136     2156      +20
+ Misses        352      347       -5

Impacted Files
Coverage Δ

...es/core/shared/src/main/scala/io/circe/Error.scala
61.76% <0.00%> (-1.40%)
:arrow_down:

...core/shared/src/main/scala/io/circe/CursorOp.scala
54.16% <0.00%> (-1.39%)
:arrow_down:

...nter/src/main/scala/io/circe/pointer/Pointer.scala
89.34% <0.00%> (-0.13%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
83.37% <0.00%> (-0.05%)
:arrow_down:

.../src/main/scala-2/io/circe/EnumerationCodecs.scala
100.00% <0.00%> (ø)

...rc/main/scala-2/io/circe/EnumerationDecoders.scala
100.00% <0.00%> (ø)

.../main/scala-2.12/io/circe/CollectionDecoders.scala

...rc/main/scala-2.12/io/circe/FactoryInstances.scala

...in/scala/io/circe/pointer/PointerSyntaxError.scala

...d/src/main/scala-2.12/io/circe/CompatBuilder.scala

... and 6 more

Continue to review full report at Codecov.

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


Simple vmap throws error

vmap! has suddenly stopped working for me
julia> vmap!(sin, zeros(4), zeros(4))
ERROR: UndefVarError: vectorizable not defined
Stacktrace:
 [1] macro expansion at /home/fredrikb/.julia/packages/LoopVectorization/T2QRW/src/map.jl:25 [inlined]
 [2] vmap!(::typeof(sin), ::Array{Float64,1}, ::Array{Float64,1}) at /home/fredrikb/.julia/packages/LoopVectorization/T2QRW/src/map.jl:25
 [3] top-level scope at none:0

(v1.3) pkg> st LoopVectorization
    Status `~/.julia/environments/v1.3/Project.toml`
  [bdcacae8] LoopVectorization v0.6.12
  [d96e819e] Parameters v0.12.0
  [476501e8] SLEEFPirates v0.3.6

On PkgEval (julia 1.5), the error is also there but different
https://github.com/JuliaCI/NanosoldierReports/blob/7e2afe28cfedbd45fcaec2baf2343ca04ce64a5b/pkgeval/by_date/2020-02/20/logs/LowLevelParticleFilters/1.5.0-DEV-6a9a92683d.log#L222

I had to do the following to get it to work
(v1.3) pkg> add<EMAIL_ADDRESS>  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.3/Project.toml`
  [3d5dd08c] + VectorizationBase v0.2.5
  Updating `~/.julia/environments/v1.3/Manifest.toml`
  [21efa798] ↓ SIMDPirates v0.3.15 ⇒ v0.3.9
  [3d5dd08c] ↓ VectorizationBase v0.3.1 ⇒ v0.2.5

Hi, thanks for the report.
I updated LoopVectorization a few days ago to reflect that change, but while I increased VectorizationBase's version to 0.4.0 to reflect that change, I made the mistake of having too open an upper bound and also did not tag a new version of LoopVectorization with that update, meaning the package manager could break people's code.
I'll release a new version of LoopVectorization soon. I'm rerunning benchmarks now. Once those finished, assuming I don't see any regressions, I'll tag new versions (one after the other) of SIMDPirates, SLEEFPirates, and then LoopVectorization with updated compat bounds and Manifest files.

I was using relatively open bounds because of the following issue:
https://github.com/chriselrod/SLEEFPirates.jl/issues/1
Using open bounds did not actually address it, but I mistakenly thought it helped and didn't notice because of the stochastic nature of the package server falling out of sync with the general registry. The issue seems to have been resolved:
https://github.com/JuliaLang/Pkg.jl/issues/1694#issuecomment-590106680
By being strict on the compats, problems like this should not come up again.
But please let me know if you run into any more issues.


2.x

🎉

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0d16c26). Click here to learn what that means.
The diff coverage is 99.72%.

@@           Coverage Diff            @@
##             master     #39   +/-   ##
========================================
  Coverage          ?   98.8%
========================================
  Files             ?      12
  Lines             ?     835
  Branches          ?       0
========================================
  Hits              ?     825
  Misses            ?      10
  Partials          ?       0


Edit Journal Entry names

As a user I want to set my own Journal Entry names.
ACs
As a user
Given I am looking at a journal entry
When I press the "Edit" button next to the title of the journal entry
And enter a new name
And submit
Then the name of the journal entry should be updated.

Think about entering the name after the entry has been finished


Allow specifying full image reference for GCP

What this PR does / why we need it:
We have an issue when creating ARM64-based instances on GCP:
An error of type = InvalidConfiguration, with message = Failed to insert instance: googleapi: Error 400: Invalid resource usage: 'Requested boot disk architecture (X86_64) is not compatible with machine type architecture (ARM64).'., invalidResourceUsage occurred

It appears that the image we use is only compatible with AMD64-based instances. We would have to use another image with ARM64-based instances, which appears to be projects/ubuntu-os-cloud/global/images/family/ubuntu-2204-lts-arm64.
We could do that by using the custom image option, but the current implementation assumes that the custom image is in the user's project. That's not the case because this image is in the global ubuntu-os-cloud project.
This PR ensures that we can specify custom images in other projects while making sure we don't break backwards compatibility.
What type of PR is this?
/kind feature
Does this PR introduce a user-facing change? Then add your Release Note here:
Allow specifying full image reference (`project/`) for GCP

Documentation:
NONE

/approve
/lgtm


gan in 5 minutes runs into an error

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation
Trace as under:
Epoch 1 of 50
Traceback (most recent call last):
File "gan_in_5.py", line 29, in
learner.train(dataset,gen_optimizer=g_optim,disc_optimizer=d_optim,save_outputs_interval=500,model_dir="./fashion-gan",latent_size=128,num_epochs=50,batch_log=False)
File "/home/sam/Documents/ComputerVision/TorchFusion/torchfusion/gan/learners/learners.py", line 863, in train
latent_size=latent_size,**kwargs)
File "/home/sam/Documents/ComputerVision/TorchFusion/torchfusion/gan/learners/learners.py", line 609, in train
super().train_loop(train_loader, gen_optimizer, disc_optimizer, **kwargs)
File "/home/sam/Documents/ComputerVision/TorchFusion/torchfusion/gan/learners/learners.py", line 186, in train_loop
self.disc_train_func(t)
File "/home/sam/Documents/ComputerVision/TorchFusion/torchfusion/gan/learners/learners.py", line 665, in disc_train_func
loss.backward()
File "/home/sam/anaconda3/envs/py36/lib/python3.6/site-packages/torch/tensor.py", line 102, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/sam/anaconda3/envs/py36/lib/python3.6/site-packages/torch/autograd/init.py", line 90, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation

Hi @shirishr I have rerun the gan in five minutes code and there was no error.
What version of torchfusion and what version of pytorch were you running on?

My apologies @johnolafenwa,
I forgot that I had switched to pytorch 1.0 rc.


Step definition path still pointing to "cypress\integration" for Cypress version 10.0.0

Current behavior
Following the major release of Cypress version 10.0.0, breaking changes have been introduced to the cucumber preprocessor.
The integrationFolder and componentFolder options were removed. These options were made obsolete by the new specPattern option.

Desired behavior
The preprocessor should not error when provided a path not within integrationFolder ("cypress\integration") for cypress version 10.0.0, rather, it should accept the path provided ("cypress/e2e").
Versions

Cypress version: 10.0.0
Preprocessor version: 4.3.1
Node version: v16.15.0

@DerKip Do you have any example of cucumber implementation on cypress > 10.0.0?

I am also suffering from this problem.

https://github.com/badeball/cypress-cucumber-preprocessor/issues/722#issuecomment-1144579920

badeball sos un bot? ponele un poco de onda


4.5.0 mini-player expands by itself on 1920x1080 resolution

OS:
Windows 10x64 version 1709 build 16299.192
Issue Descriptions:
I have a 3 monitor setup with my 2 main monitors connected via display port running at 1920x1200 and a tv connected by vga running at 1920x1080. When moving the mini-player to my 1920x1080 monitor it starts increasing in size.  I let it go and it started to cross over my other monitors.  This started happening when I updated to 4.5.0. I have restarted my computer and still occurs. It works fine on my 1920x1200 monitor.
Steps to Reproduce:
Open or move mini-player to a 1920x1080 resolution tv running over VGA.

System borders or themed borders enabled?

I am using system boarders.  I turned them off and even changed the theme with the same result.

Well, I turned system boards back on and now it shrinks until it is at it's smallest size.

Duplicate https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/2269


Re-use of URLs

Is it (or should it be) possible for a user to reuse one of the random URLs assigned to them? This way, if they don't need the output to persist, and want to run multiple commands over time, they won't be using up their allotment.

It's not currently possible to reuse URLs, though it's on the feature list for a future release.

Push

Allow


Originally posted by @JFrankfurt in https://github.com/Uniswap/token-lists/pull/97

Originally posted by @JFrankfurt in https://github.com/Uniswap/token-lists/pull/97
Originally posted by @Majidbaba in https://github.com/tronprotocol/java-tron/issues/5637
Originally posted by @Majidbaba in https://github.com/tronprotocol/java-tron/issues/5638
Originally posted by @Majidbaba in https://github.com/TelegramMessenger/Telegram-iOS/issues/1309

Please stop spamming @Majidbaba


Number input Usage needs to be updated to align with other components

A review of the Usage and Style pages was carried out as part of an accessibility review. A number of design and implementation considerations for the Number input component have been flagged in the Number input usage.pdf and Number input style.pdf documents.
These should be opened in Adobe Acrobat Reader (not in a browser) so that all the comments, replies and markings on status can be reviewed. (Any comments that have been addressed through updates to the Accessibility tab are marked as Complete or Resolved).
Sections on Anatomy and Behaviours are missing. There are also a number of specific questions to be addressed.

Sprint task for Carbon team:
Find any actionable bug changes in Gower's PDFs (direct conflicts). If there are larger concerns addressed then open a specific new issue about it and that will be addressed in a future sprint. Find any actionable bug changes in Gower's PDFs (direct conflicts). If there are larger concerns addressed then open a specific new issue about it and that will be addressed in a future sprint.

Make a list of actionable item to address from the PDF. Mark off any items that have been completed with docs updates


Reconnect to seeds

There should be some way for Tendermint to tell go-p2p that some peers are persistent and should be reconnected to.

Refs https://github.com/tendermint/tendermint/issues/430

Looking at the code I see some things which could be improved:
1. MConnection stopped twice
in connection.go https://github.com/tendermint/go-p2p/blob/13-reconnect-to-seeds/connection.go#L179
and in peer.go https://github.com/tendermint/go-p2p/blob/13-reconnect-to-seeds/peer.go#L84
2. Remove MConnection dependency on go-config
What I propose is to add MConnectionConfig struct (this seems to be the way many Go libs handle initialization)
type MConnectionConfig struct {
  send_rate int
  recv_rate int
  persistent bool
}

Ok, there is no easy way to do it because of how it is implemented right now. I see 2 ways:

Peer#persistent bool property and PersistentConn, which can wrap net.Conn and have a Redial() function

Move all connect logic into Peer, so he could reset connection himself based on Peer#persistent property

I think the simplest thing for now is just remove the peer and try and add it to the switch anew. See PR #17

Impl in https://github.com/tendermint/go-p2p/pull/18


FotoToon Activity UI improvement

Hey @llaske
I have successfully updated the code for the FotoToon Activity, ensuring that it now functions correctly. Specifically, I have resolved the issue where interactive buttons were being hidden behind box shape. To achieve this, I have modified the code to maintain a synchronous and uniform user interface for all shape elements. As a result, the user experience has not been negatively affected.
Refer to issue : https://github.com/llaske/sugarizer/issues/1221
BEFORE

AFTER
https://user-images.githubusercontent.com/96445392/222002418-10c0e8bf-9f0d-4868-ad1a-c7de507ae20f.mp4

Interactive square should appear on the item, no outside the item.
Please do not changed the UI to fix the issue.

thank you for the response @llaske. I will try to fix the issue without changing the UI.


SRV records RFC compliance

Hi Ahmet,
Sorry for my awful english.
A target in SRV record must be a domain name (not ip address). Consequently target ends in a dot.
dig +short SRV _api._tcp.billing.swarm
1 1 80 <IP_ADDRESS>.
1 1 80 <IP_ADDRESS>.

Sure I can delete last char in template, but it poor hack.
https://www.ietf.org/rfc/rfc2782.txt

@loukash Hi, you're probably right, I totally did not read the RFC. Do you have a use case for SRV records, because I am planning to remove them entirely from the project.

@ahmetalpbalkan
I paln to used a SRV in template of load balancer.
Example:
dig +short SRV _webui._tcp.swarm.docker | awk 'BEGIN { FS= " "}; { print $4":"$3 }' > balancer.conf
<IP_ADDRESS>.:8080
<IP_ADDRESS>.:32769

wagl is a cool dns discovery tool.
I can not make configuration changes with simple method.
Unfortunately consul/confd didn't support a value in SRV records.
If you will remove a support of SRV, then I can't use a wagl. I like create a containers with random ports.

@loukash I see. I was planning to remove SRV because docker now has multi-host networking (means you will not need random ports anymore). But I guess it's still sane to have it.
Actually I realized the code I have reads: https://github.com/ahmetalpbalkan/wagl/blob/7407c3fb52832a513d5ebb3d8d411fb7cb741f13/rrtype/rrtype.go#L54

func formatSRV(name, rec string) (dns.RR, error) {
	...
	host = dns.Fqdn(host) // have . suffix per SRV RFC
	...

So if I return an IP address for a SRV record, should I keep the trailing dot or not?

So if I return an IP address for a SRV record, should I keep the trailing dot or not?

If I have understood the RFC, Target must have a domain name (test.example.com), but not ip address.
dig +short SRV _api._tcp.billing.swarm
1 1 80 node01.domain.ltd.
1 1 80 nod02.domain.ltd.

@loukash Hmm I'm not sure how I can solve that. mesos-dns does the same, they return IP addresses for SRV responses: https://mesosphere.github.io/mesos-dns/docs/naming.html

mesos-dns don't compliance with rfc too :)

@loukash yeah, in this case I'm not sure how much we can solve that problem. Maybe start a thread in mesos-dns for comments? I agree that we are nowhere close to implementing RFC 2782.
For your use case, it appears like you can get it working by removing the trailing period, right?
I will think about this, maybe we can find a way to return domain names for each node (host) somehow. Thanks for bringing this to my attention.

@ahmetalpbalkan
I think to use consul/consul-template/registrator or etcd/confd/registrator or wagl/static_published_port.
In my view, wagl is the simplest tool for discovery. I want to use it. Wagl is a UNIX-way style :)
I am a newbie in docker, and can't make easy way to generate a config for load balancer.
I want to run a containers with random published ports. Unfortunately HAProxy and Nginx didn't work with SRV records.
Probably I will use a wagl (A-record) and static published ports.
I can't start a thread in mesos-dns because of my english skills :)

@ahmetalpbalkan  Do you still recommend using wagl. It sounds like Docker is building in its own DNS system
https://github.com/docker/docker/issues/19474#issuecomment-173094817

@funkytaco I believe it's not like wagl yet. That's just container name resolution through dns server instead of /etc/resolv.conf.
But I wouldn't be surprised if the situation changes soon and docker offers the same functionality.


RNaD: Possible Error in calculation of Neurd Loss

In this line of the RNaD algorithm
https://github.com/google-deepmind/open_spiel/blob/7c58b6c28cc975f2a7a02a7ea604197a30ed3186/open_spiel/python/algorithms/rnad/rnad.py#L574
Should the line instead be this? This is so we only subtract the mean calculated from the valid logits.
logits = logit_pi - (jnp.sum(
        logit_pi * legal_actions, axis=-1, keepdims=True) / jnp.sum(legal_actions, axis=-1, keepdims=True))

As a result, should the line below be an average over actions rather than a sum?
https://github.com/google-deepmind/open_spiel/blob/7c58b6c28cc975f2a7a02a7ea604197a30ed3186/open_spiel/python/algorithms/rnad/rnad.py#L579
i.e.
nerd_loss = jnp.sum(
        legal_actions *
        apply_force_with_threshold(logits, adv_pi, threshold, threshold_center),
        axis=-1) / jnp.sum(legal_actions, axis=-1)

This is particularly relevant in games where there is frequently a number of invalid actions.

@perolat can you take a look?

Hi @spktrm , I spoke to Julien.
He said you're correct about the first one, can you submit a PR?
The second one could go either way: it's just a matter of knowing what works. It is not clear whether one works better than the other and it might end up being similar behavior but require different hyper-parameters. Maybe you can try it and let us know?

I have submitted a PR regarding the first point here: https://github.com/google-deepmind/open_spiel/pull/1157, thank you for the opportunity to contribute :).
With regards to the second point, I will experiment further with the fix I am suggesting and let you know how it goes.
Meanwhile, is it possible to provide clarity on these other issues? Namely:

https://github.com/google-deepmind/open_spiel/issues/1109
https://github.com/google-deepmind/open_spiel/issues/1075

Hi @spktrm,
Yeah I will make Julien aware of those (sorry, I thought they were resolved already).
I think it may be useful to also try contacting him directly by email, though... because I'm mostly just relaying messages from here to him and back :)

Thank you. What is his best email?

Thank you. What is his best email?

Still the same one from the Mastering Stratego paper.

Fixed by https://github.com/google-deepmind/open_spiel/pull/1157, which has now been merged into master.


Fix: Ensure aborts executed between fetch complete and response.json(…

…) are handled correctly.
Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types
[x] Reviewed and tested on Mobile: not required.
[x] Created Toolbox branch: not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Great Fix! 🇺🇸


Sort packages, optimize Dockerfile

Ⅰ. Describe what this PR does
Sorting package names alphabetically for better readability and combining RUN commands to reduce Docker image layers
Ⅱ. Does this pull request fix one issue?

fixes #4308
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
I see this ENV: https://github.com/fluid-cloudnative/fluid/blob/master/addons/dynamic-mount/ossfs/docker/Dockerfile#L3
Do we want to set this as ARG (instead of hard coded ENV)?

Ⅰ. Describe what this PR does
Sorting package names alphabetically for better readability and combining RUN commands to reduce Docker image layers
Ⅱ. Does this pull request fix one issue?
fixes #4308
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
I see this ENV: https://github.com/fluid-cloudnative/fluid/blob/master/addons/dynamic-mount/ossfs/docker/Dockerfile#L3 Do we want to set this as ARG (instead of hard coded ENV)?

It would be better if we use ARG instead of ENV. Thanks.


refactor(sdk): Expand glob before passing to internal process

Resolves WB-18094 by expanding globs in run.save(). There may still exist FilesRecords with globs, which the Nexus will not process correctly.

could you explain more how it diverges from the python version?

could you explain more how it diverges from the python version?

run.save() should work the same in both. However, there may be other places where FilesRecords with globs are created and passed to the internal process. What I've found:

Run._datatypes_callback, which can probably just call save instead
The tb_watcher.py, which I think is only used with the Python service implementation
In system_info.py; this doesn't seem to pass a glob though, so it might be fine

That's just the Python code that calls publish_files, but maybe there is also Go code that creates FilesRecords with globs, or other Python codepaths.

could you explain more how it diverges from the python version?

run.save() should work the same in both. However, there may be other places where FilesRecords with globs are created and passed to the internal process. What I've found:

Run._datatypes_callback, which can probably just call save instead
The tb_watcher.py, which I think is only used with the Python service implementation
In system_info.py; this doesn't seem to pass a glob though, so it might be fine

That's just the Python code that calls publish_files, but maybe there is also Go code that creates FilesRecords with globs, or other Python codepaths.

system_info.py -is also used with the python service it is part of the system monitor service.
Run._datatypes_callback - yep, but i think it always a concrete path


Undocummented endpoint configuration

There was a new version 15 days ago which added an option to configure the endpoint used by the kms tool.
But the documentation has not been updated to reflect that.
Following the documentation in docs/kmstool.md results in the following error:
[ERROR] [2022-05-04T19:44:38Z] [00007f961e1fd700] [http-connection] - id=0x7f9610014a80: Cannot create request stream, error 2054 (AWS_ERROR_HTTP_INVALID_PATH)

I will look into adding documentation, but the previous setup should still work as it was described.

Thank you. This clarifies the confusion. Sorry I did not close the issue earlier.


The annotation about log in fact is private, would you make it protected?

So, I can use these annotations in the parent class, and the sub class could use this variable by typing no letters.

I'm not sure I understand you correctly, but let me try to interpret you request.
The lombok log annotations generate a private static field named log.  Your request is to change that behavior to generate a protected static field log instead.
If that is the case, we're going to reject that feature request, because that's not a common enough scenario, and probably leads to bugs or misleading log entries.
If you meant something else, please leave a comment.


The  electronics and fashion cards can be improved.

The cards look too simple and can be made more visually appealing.

@MAVRICK-1 please assign it to me.
I am contributing under GSSoC'24.
I agree to the

[x] https://github.com/MAVRICK-1/e-commerce_website/blob/27f19789359b63ee2caaa09c12c756059905dd64/contributing.md
[x] https://github.com/MAVRICK-1/e-commerce_website/blob/27f19789359b63ee2caaa09c12c756059905dd64/Code_of_Conduct.md

@Anou25 okay go ahead , i will add level after seeing your pr


Softlock at holy glasses check

Seed URL
https://t.sotn.io/?JuniorFinding16
Randomizer version:
2.16.6
Spoilers:
Cannot generate spoilers due to this being a tournament mode seed.
Gold/silver rings were at cube and spirit orb.  Holy glasses did not have flight.

This was a 2.16.5 seed, but the issue has been fixed in 2.16.6

This was a 2.16.5 seed, but the issue has been fixed in 2.16.6


Errors installing conan

Received a lot of errors when trying to run pip3 install --user conan.
This is a partial error output:
  ERROR: Failed building wheel for pluginbase
  Running setup.py clean for pluginbase
Failed to build conan future patch-ng pluginbase
Installing collected packages: urllib3, MarkupSafe, idna, charset-normalizer, certifi, tqdm, requests, PyYAML, python-dateutil, pygments, pluginbase, patch-ng, node-semver, Jinja2, future, fasteners, colorama, bottle, conan
  WARNING: The script normalizer is installed in '/home/werewolves/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script tqdm is installed in '/home/werewolves/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pygmentize is installed in '/home/werewolves/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    Running setup.py install for pluginbase ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_euu9t9h/pluginbase_071c50e494294c978b4fbf86ab74fcd6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_euu9t9h/pluginbase_071c50e494294c978b4fbf86ab74fcd6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ajledgq1/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/werewolves/.local/include/python3.9/pluginbase
         cwd: /tmp/pip-install-_euu9t9h/pluginbase_071c50e494294c978b4fbf86ab74fcd6/
    Complete output (24 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib
    copying pluginbase.py -> build/lib
    running install_lib
    copying build/lib/pluginbase.py -> /home/werewolves/.local/lib/python3.9/site-packages
    byte-compiling /home/werewolves/.local/lib/python3.9/site-packages/pluginbase.py to pluginbase.cpython-39.pyc
    running install_egg_info
    running egg_info
    writing pluginbase.egg-info/PKG-INFO
    writing dependency_links to pluginbase.egg-info/dependency_links.txt
    writing top-level names to pluginbase.egg-info/top_level.txt
    reading manifest file 'pluginbase.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    no previously-included directories found matching 'docs/_build'
    writing manifest file 'pluginbase.egg-info/SOURCES.txt'
    Copying pluginbase.egg-info to /home/werewolves/.local/lib/python3.9/site-packages/pluginbase-1.0.1.egg-info
    error: [Errno 13] Permission denied: '/home/werewolves/.local/lib/python3.9/site-packages/pluginbase-1.0.1.egg-info/PKG-INFO'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_euu9t9h/pluginbase_071c50e494294c978b4fbf86ab74fcd6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_euu9t9h/pluginbase_071c50e494294c978b4fbf86ab74fcd6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ajledgq1/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/werewolves/.local/include/python3.9/pluginbase Check the logs for full command output.

I was able to install conan using sudo pip3 install --user conan
It seemed to install everything in /root/.local, so I added /root/.local/bin to my PATH.
Now I am getting this error:
$ conan install . -if=build --build=missing
Traceback (most recent call last):
  File "/root/.local/bin/conan", line 5, in <module>
    from conans.conan import run
ModuleNotFoundError: No module named 'conans'

"conans" exists in /root/.local/lib/python3.9/site-packages/conans/
not sure how to reference that...

OK, was able to add /root/.local/lib to my PYTHONPATH. conan now runs, but I get this error:
ERROR: [Errno 13] Permission denied: '/home/werewolves/.conan/data/gtest/cci.20210126/_/_/source/conandata.yml'
File seems to be read only for "others". Changing permission doesn't help as when I re-run conan it cleans out the build directory and replaces the file.

@w3r3wolv3s I'm not sure you should use sudo with pip (even more so when using --user). You only use sudo or elevated permissions when you want to install stuff for the global, system-wide Python installation. It's not safe and it's being frowned upon – see What are the risks of running 'sudo pip'? To install Python package in your home directory you don't need root privileges. See description of --user option to pip. I'd like to suggest removing conan, undo all changes in PATH and PYTHONLIB and going through the standard installation flow.

@sergeyklay Unfortunately, as you can see from my first post, I was unable to install conan without using sudo. When I tried pip3 install --user conan from the instructions, I got a bunch of errors (example in the first post). I'm not entirely sure how to "remove conan" at this point. Sorry, I've never used pip or conan before.

Could you please try the following:
$ sudo chown -R $USER $HOME/.local
$ sudo pip3 uninstall conan
$ pip3 install --user conan

Out of curiosity, I re-ran pip3 install --user conan
"Requirement already satisfied: conan in ./.local/lib/python3.9/site-packages (1.40.2)"
Should I try the next install step?

Well, as I can see, you used the root user when for pip3. This is generally bad practice, even if you have clear reasons for doing so. Actually, to work with this repository, the root user is probably never needed. Could you please try with the regular user (and do not use sudo)? Anyway, could you verify conan is works now?

@sergeyklay I went ahead and uninstalled all of those components from the /root directory. I also made sure the /root directory was not in my PATH or PYTHONPATH.
I then attempted to install conan without sudo (pip install conan as they suggest on the conan page).
I verified that everything that did install went in my user folder /home/werewolves/.local/lib/python3.9/site-packages/
Unfortunately as before, installation of conan (at the "wheel" step) fails. The output and errors are here: https://u.pcloud.link/publink/show?code=kZaU06XZGEhzM298XQVq6WrrvLAWiyPTpgkX

@w3r3wolv3s From logs you are provided (thank you!):
running egg_info
writing conan.egg-info/PKG-INFO
writing dependency_links to conan.egg-info/dependency_links.txt
writing entry points to conan.egg-info/entry_points.txt
writing requirements to conan.egg-info/requires.txt
writing top-level names to conan.egg-info/top_level.txt
reading manifest file 'conan.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'conan.egg-info/SOURCES.txt'
Copying conan.egg-info to build/bdist.linux-aarch64/wheel/conan-1.40.3.egg-info
error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/conan-1.40.3.egg-info/dependency_links.txt'

The key point is:
error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/conan-1.40.3.egg-info/dependency_links.txt'

You have to use --user option, as follows:
$ pip install --user conan

@sergeyklay OK, tried with --user flag. Similar result. Log files in the same location. out_user.txt and err_user.txt

@w3r3wolv3s, This seems like a permissions issue in your environment for example see https://stackoverflow.com/a/43898861
Take a look at the logs:
...
Copying patch_ng.egg-info to build/bdist.linux-aarch64/wheel/patch_ng-1.17.4.egg-info
error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/patch_ng-1.17.4.egg-info/PKG-INFO'
...

Probably because you've already build package as root or using sudo. Try to clear your cache first:
$ sudo rm -rf /tmp/pip*

And then install conan as a regular user as follows:
$ pip install --user conan

No, that didn't work. And I removed all of the packages from root.he
out_user2.txt
err_user2.txt
This is the same thing that happened before I used sudo. That's why I tried sudo in the first place, because of the  permission issues. Sudo did allow everything to install, it just installed it in the root directory.

Question: can you install any other package using pip? For example, could you install Pytest?
$ pip install pytest

Yes. That works fine. And as you can see from earlier logs most of the components from conan installed just fine. It just seems to die when it gets to "wheel for conan".
This is the ouptput:
werewolves@localhost:~$ pip install pytest
Collecting pytest
Downloading pytest-6.2.5-py3-none-any.whl (280 kB)
|████████████████████████████████| 280 kB 532 kB/s
Collecting packaging
Downloading packaging-21.0-py3-none-any.whl (40 kB)
|████████████████████████████████| 40 kB 2.1 MB/s
Collecting py>=1.8.2
Downloading py-1.10.0-py2.py3-none-any.whl (97 kB)
|████████████████████████████████| 97 kB 1.3 MB/s
Collecting pluggy<2.0,>=0.12
Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting toml
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting attrs>=19.2.0
Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
|████████████████████████████████| 53 kB 1.2 MB/s
Collecting iniconfig
Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting pyparsing>=2.0.2
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
|████████████████████████████████| 67 kB 761 kB/s
Installing collected packages: pyparsing, toml, py, pluggy, packaging, iniconfig, attrs, pytest
Successfully installed attrs-21.2.0 iniconfig-1.1.1 packaging-21.0 pluggy-1.0.0 py-1.10.0 pyparsing-2.4.7 pytest-6.2.5 toml-0.10.2

I'll rewrite the bootstraping process to drop Conan dependency

Great, just let me know when you are ready for me to try :)

@sergeyklay I am beginning to think this is just an issue with my system. Out of curiosity, I tried rclone. I had similar weird permission problems.

@sergeyklay this is definitely a problem with my system. I apologize for taking up your time.

@w3r3wolv3s Don't worry. At least you pushed me to figure it out. In any case, the presence of conan dependency was hindered for many

I got rid of сonan here https://github.com/sergeyklay/pcloud-console-client/pull/96


Phase Non-Linearity Correction-- we try to develop our owned code but not using voxelviewer...

we try to develop our owned code but not using voxelviewer. how to prepare the LUT to be the same as you use in your default LUT? (16 points in a phase???)

Kevin,
You got it right! It is just 16-bits of signed phase offset per pixel. Starting from 0,0 and ending with 240,320 in row major form.
Regards
Bharath


Reexport now handles optional leading :: in path

Fixes https://github.com/dtolnay/proc-macro-hack/issues/36

Please add your work email to https://github.com/settings/emails if you would like for this commit to be attributed to your account.

Done: my address should no longer be private

I don't think it worked -- notice that https://github.com/dtolnay/proc-macro-hack/commit/4715ce1a80dc7f0965431eb853afc2295611eae2 does not link to https://github.com/danielhenrymantilla. You need an email in https://github.com/settings/emails that matches the one in https://github.com/dtolnay/proc-macro-hack/commit/4715ce1a80dc7f0965431eb853afc2295611eae2.patch.

You're right, I had the wrong email in my git config when I commited; well, never mind then, given how small the change is ^^


Rendering gdb tui mode seems broken

I guess this one is pretty obvious:

Steps to reproduce:
$ gdb -q -tui --args ./foobar

I in fact had to check how it is supposed to look like.
There are two problems to be fixed:

[ ] box-drawing not showing the expected characters (maybe due to shift-select VT sequences?)
[ ] background color should have been cleared, but isn't?

That's urgent enough, IMHO, i'll fix that right after i'm done with selection PR.

Affects more than just gdb tui. aptitude:

All fixed on master.


Add missing 'codecov' service

Closes #5

Coverage remained the same at 100.0% when pulling 840e44213fe0790563183572475fd02bf8e0f6b7 on dsifford:patch-1 into 307f2c3229a6edddf428ab0df19e98741f2c3f84 on IndigoUnited:master.


Issue with findByAttribue(List  names)

We have a use case in which we have below object and the corresponding mappings:
@DynamoDBTable(tableName="user_profile")
public class UserProfile implements Serializable{
@Id
@DynamoDBHashKey(attributeName="id")
private String id;
@DynamoDBAttribute(attributeName="mobile")
private String mobileNumber;
@DynamoDBAttribute(attributeName="email")
private String email;
@DynamoDBAttribute(attributeName="dob")
private String dateOfBirth;
@DynamoDBAttribute(attributeName="fname")
private String firstName;
@DynamoDBAttribute(attributeName="lname")
private String lastName;
//getter & setters
}
Also, we have a repository in which we are extending CrudRepository and when we are doing
findByFirstName(String fname) - it works fine
but, how to retrieve the List where we can do something like findByFirstName(List fnameList) ???
Can someone help in here ??

Can someone please look into it ??

List<UserProfile> findByFirstName(String firstName)

No, this thing I already know. In case of List of firstNames how do I search  ??

List<UserProfile> findByFirstNameIn(List<String> firstNames);

This somewhat tapped into spring-data magic itself.
Did @foxware00 proposal work (It should according to the reference documentation with in or isInhttps://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repository-query-keywords)

Confirmed via Testcase in #143


WIP attempt to resolve #904

What was wrong?
Peer nodes could perform and eclipse attack
How was it fixed?
limiting the number of incoming connections to 75% of total connections
no more then 2 nodes with the same IP are allowed to be connected
I think there are ways that this could have been done better. I thought that this point would be a nice time to get some feedback. I am still a bit confused on how to create tests for this, but I used ipdb.set_trace() to try to verify that things were working correctly (maybe there is a better way to do this as well). Any and all criticism is greatly appreciated. Thank you for your time.
Cute Animal Picture

Replaced by https://github.com/ethereum/py-evm/pull/935
thanks for getting the majority of this done @williambannas


Tests Failed

I have a failed test for "Core" with following output:

BindingError: Function 'Mat.create' called with an invalid number of arguments (3) - expects one of (,,function Mat$create(arg0, arg1) {
if (arguments.length !== 2) {
throwBindingError('function Mat.create called with ' + arguments.length + ' arguments, expected 2 args!');
}
Module.emscripten_trace_enter_context('embind::Mat.create');
var thisWired = classParam.toWireType(null, this);
var arg0Wired = argType0.toWireType(null, arg0); // Size
var arg1Wired = argType1.toWireType(null, arg1); // int
invoker(fn, thisWired, arg0Wired, arg1Wired);
arg0Wired_dtor(arg0Wired); // Size
Module.emscripten_trace_exit_context();
})!
extendError/errorClass<@file:///C:/Users/Workspace/test2/opencvjs/test/cv.js:4:1651615
BindingError@file:///C:/Users/Workspace/test2/opencvjs/test/cv.js line 4 > Function:2:29
throwBindingError@file:///C:/Users/Workspace/test2/opencvjs/test/cv.js:4:1652060
ensureOverloadTable/proto[methodName]@file:///C:/Users/Workspace/test2/opencvjs/test/cv.js:4:1752582
@file:///C:/Users/Workspace/test2/opencvjs/test/test_mat.js:99:9

It's seems that the emcc didn't transpile Mat.create() function with 3 arguments, is there any solution for this issue.

:+1: this issue.
Google Chrome: 	55.0.2883.87 (Official Build) (64-bit)
OS:	Ubuntu 16.04.1 LTS
JavaScript: 	V8 5.5.372.32
User Agent:	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
I have yet to find a workaround for this issue. Any thoughts?

I am seeing the same issue. On Windows 8.1, Chrome 55.0.2883.87 m.
How does this affect the samples in this project?

This bug is resolved in the latest update. I wasn't able to reproduce it on my build platform (OSX), and was only the case on Linux.


style the message input area with Bootstrap

At present, the message input area has a lot of custom styling. We need to style it with bootstrap. You can take inspiration from following image.

And unlike this image there will be two buttons in one form(one for emoji and other for send button).

@LalitNM can i work on it

@kpbot claim

Hello @LalitNM if this is not being worked on I would like to take a shot at this.

@kpbot claim

@kpbot abandon

Fixed in 818102f4d860668aaedba5ba2b11a7f0e92496e8


Date time consistency

Departure/arival time are using full time format

But others from GTFS datas are truncated

and requires the string extra+00:00 to be manipulated in HA
Others are even stranger, resembling an empty time zone

This is HA 'platform' rules/conditions, State values can apply Timezone, Attributes not. I will check the devs

All (!) attibiutes are now in UTC from dev release 1.6b3


[BUG-6471][Master] cache process definition in master

close #6471 cache process definition in master
fix bug: sub process cannot worker normally.

Codecov Report

Merging #6511 (c35bc86) into dev (a80fca7) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                dev    #6511      +/-   ##
============================================
- Coverage     38.58%   38.57%   -0.01%
+ Complexity     3205     3204       -1
============================================
  Files           645      645
  Lines         25759    25759
  Branches       2791     2791
============================================
- Hits           9938     9937       -1
  Misses        14910    14910
- Partials        911      912       +1

Impacted Files
Coverage Δ

...lphinscheduler/service/process/ProcessService.java
37.22% <100.00%> (ø)

...dolphinscheduler/remote/future/ResponseFuture.java
81.35% <0.00%> (-1.70%)
:arrow_down:

Continue to review full report at Codecov.

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


[Feature] Making the development webpack build faster - adding HardSourceWebpackPlugin

After using the boilerplate for a while and building a big project.
The initial compile time of webpack moved from 5 s to 60 s
After some research found the following very nice plugin for adding smart caching for the webpack initial build so server restart won't take 60s to recompile the frontend see:
https://medium.com/ottofellercom/0-100-in-two-seconds-speed-up-webpack-465de691ed4a
I suggest adding the following plugin to the development webpack config
https://github.com/mzgoddard/hard-source-webpack-plugin
Issue Type

[  ] Feature

Can you open up a PR with your suggested change?

Closing due to inactivity


Intermitent issue when generating podcasts with Gemini

transcript_dd5be1335f49402a9ede53a52e24a802.txt
Hey, sometimes when I try to generate a gemini based podcast, I end up with an error like this. Probably need to do some length checking on the markup. Attached the transcript for debugging.
  File "/Users/luisnovo/dev/projetos/open-notebook/open_notebook/plugins/podcasts.py", line 74, in generate_episode
    audio_file = generate_podcast(
                 ^^^^^^^^^^^^^^^^^
  File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/client.py", line 340, in generate_podcast
    return process_content(
           ^^^^^^^^^^^^^^^^
  File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/client.py", line 117, in process_content
    text_to_speech.convert_to_speech(qa_content, audio_file)
  File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/text_to_speech.py", line 103, in convert_to_speech
    audio_data = self.provider.generate_audio(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/tts/providers/gemini.py", line 101, in generate_audio
    raise RuntimeError(f"Failed to generate audio: {str(e)}") from e
RuntimeError: Failed to generate audio: 400 This request's MultiSpeakerMarkup is too long.

Each speaker turn has a max supported length by Google TTS Multispeaker
model. There are two challenges here:

Google does not disclose the max supported length
Gemini does not reliably follow the instruction pertaining to max number
of characters per turn

I am open to suggestions on how to solve this problem!
http://linkedin.com/in/tharsissouza
On Thu, Nov 7, 2024 at 7:28 PM Luis Novo @.***> wrote:

Hey, sometimes when I try to generate a gemini based podcast, I end up
with an error like this. Probably need to do some length checking on the
markup.
File "/Users/luisnovo/dev/projetos/open-notebook/open_notebook/plugins/podcasts.py", line 74, in generate_episode
audio_file = generate_podcast(
^^^^^^^^^^^^^^^^^
File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/client.py", line 340, in generate_podcast
return process_content(
^^^^^^^^^^^^^^^^
File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/client.py", line 117, in process_content
text_to_speech.convert_to_speech(qa_content, audio_file)
File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/text_to_speech.py", line 103, in convert_to_speech
audio_data = self.provider.generate_audio(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/luisnovo/dev/projetos/open-notebook/.venv/lib/python3.11/site-packages/podcastfy/tts/providers/gemini.py", line 101, in generate_audio
raise RuntimeError(f"Failed to generate audio: {str(e)}") from e
RuntimeError: Failed to generate audio: 400 This request's MultiSpeakerMarkup is too long.
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/162, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3IKFY3M3SDZYIKTIQ3Z7PSPBAVCNFSM6AAAAABRMHEXY2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2DEMZTG43TOMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'll prioritize this as highest priority along with long-form podcast generation. https://github.com/souzatharsis/podcastfy/issues/166

In addition to max length limit per turn, Multispeaker model has a 5000 bytes max limit for input text.
I'll try to optimally split input text and text per turn before doing text synthesis as a solution.
Additionally, integrating with Journey voices might be a compromise they are of high quality and way cheaper.

This has been solved in release v0.4.0.

All sample audio in README have been updated to use the new TTS Model. Added some longform podcasts too.

I've updated python notebook describing longform podcast + new Google TTS model work:

https://github.com/souzatharsis/podcastfy/blob/main/podcastfy.ipynb


[XPathBridge] Add new bridge for parsing any website using user defined xpath queries

Hello. I developed a new generic bridge. My goal was to offer customized feed generation similar to fivefilters.org or fetchrss.com. Might be useful for other advaned users aswell, as long as they know XPath expressions. This adds a new dimension of flexibility to the project.

Bridge is working perfectly.
But it need some instruction to let people know how to use it.

Bridge is working perfectly.
But it need some instruction to let people know how to use it.

Thank you this was helpful. Let me know in case there is anything else...

This sounds a bit too overkill and unsafe, but that's just me. Plus, it generates ridiculous URL like http://localhost:8000/?action=display&bridge=XPath&url=https%3A%2F%2Fnews.blizzard.com%2Fen-en&item=%2Fhtml%2Fbody%2Fdiv%2Fdiv%5B4%5D%2Fdiv%5B2%5D%2Fdiv%5B2%5D%2Fdiv%2Fdiv%2Fsection%2Fol%2Fli%2Farticle&title=.%2F%2Fdiv%2Fdiv%5B2%5D%2Fh2&content=.%2F%2Fdiv%5B%40class%3D%22ArticleListItem-description%22%5D%2Fdiv%5B%40class%3D%22h6%22%5D&uri=.%2F%2Fa%5B%40class%3D%22ArticleLink+ArticleLink%22%5D%2F%40href&author=&timestamp=.%2F%2Ftime%5B%40class%3D%22ArticleListItem-footerTimestamp%22%5D%2F%40timestamp&enclosures=.%2F%2Fdiv%5B%40class%3D%22ArticleListItem-image%22%5D%2F%40style&categories=.%2F%2Fdiv%5B%40class%3D%22ArticleListItem-label%22%5D&format=Atom, I would be this would be a stress test for many feed readers.
I think the idea itself is valid, but it should be exposed to developers, not end users. Create a new base class that can be extended by each individual bridge, so that you just define those ~10 parameters on the sub-class, plus metadata like bridge title, URL, etc. This would greatly simplify adding a new bridge for developers, without exposing such complexity to end users.

I think the idea itself is valid, but it should be exposed to developers, not end users. Create a new base class that can be extended by each individual bridge, so that you just define those ~10 parameters on the sub-class, plus metadata like bridge title, URL, etc. This would greatly simplify adding a new bridge for developers, without exposing such complexity to end users.

I think its a great idea to have an abstract XPath base class to extend from. This could make things easier. Are there more opinions on that from other maintainers?

Can you search if there's any existing bridge using XPath that can be converted? That would validate this in "production", so to speak.

Can you search if there's any existing bridge using XPath that can be converted? That would validate this in "production", so to speak.

MangareaderBridge currently is the only bridge available using XPath expressions. But I think it's too much customized for adapting it to inherit from an abstract xpath bridge class.


Have more flexible server config.

Allow more than 1 server of a given API type.
This is a breaking change to current OAuth
apps, the callback URL will need to include
the hostname.
closes #296

@pbauman Just a heads up, I don't know how often you update civet, but this PR breaks some server configuration. You will need to update civet/settings.py. Hopefully it will be clear what you need to change but if you have any questions, let me know.
Also, your OAuth Application callback URL will need to be updated. For example, for moose it was:
https://www.moosebuild.org/github/callback/
and changed to:
https://www.moosebuild.org/github/callback/github.com/
I have updated the wiki to reflect these changes but let me know if there is any confusion.

Thanks for the heads up! I usually only update it when my server has to be rebooted because of a kernel upgrade, or more nefarious things like power outages. But, given this change, I'll update it later today and let you know if I hit any snags.

OK, 1 snag. So I updated and I believe I followed all the instructions, but I guess I missed something. So I was able to successfully pulled from origin. I didn't look like I needed to actually change anything in settings.py from what I'd had before, am I mistaken? Anyway, I updated the callback link the OAuth app on Github. I restarted the server and the client. The client picked up the jobs, the website is up, but when I try to "sign in" on the website, it takes me to their 404 page. So I can't sign in to the CIVET site. Any help is greatly appreciated.

Note I didn't change any of the webhook links on the GitHub repo pages, just the callback link in my settings for the OAuth application.

Hmmm, it also looks like status updates aren't being pushed back to GitHub correctly CIVET. GitHub PR is showing "waiting" on the jobs to run, but CIVET server is showing them completed.

Just a little more information, it looks like CIVET is receiving requests from GitHub OK. I just submitted a new PR to my repo and CIVET picked it up. But the GitHub PR is not showing the usual window with the testing results, as though CIVET is not there.

You probably won't have to change much in civet/settings.py but it sounds like you will need
to change the "remote_update" value from False to True. It needs to be True for status updates to actually go to github (the default settings are setup for testing where we don't want that).
As far as the sign in problem, can you go directly to the callback URL? It should give you the home page with a message that you failed to sign in. Is there anything in the logs?

For the sign in problem, you will also need to put your "secret_id" and "client_id" from your OAuth app into the github config dictionary. All the settings were moved from GITHUB_* to a python dictionary. So if you didn't change anything when you updated, your old settings aren't being used.

All the settings were moved from GITHUB_* to a python dictionary. So if you didn't change anything when you updated, your old settings aren't being used.

AH! That wasn't clear to me. I see now those options that were moved. I updated the dictionary according to my old options and restarted the server and everything is now working as expected. Thanks for responding before the holiday and Merry Christmas!