text:
[FEAT] maxHeight settings for use with fitHeight setting

What are you trying to add to Cupertino-Pane?
Setting for maximum pane height when fitHeight setting is true. eg maxHeight - an integer representing maximum height in pixels.
Describe your feature request detailed
If fitHeight is true and the pane contains a long list, the height of the displayed pane may end up the height of the window. If maxHeight was set, and the calculated pane height is greater than maxHeight, set the pane height to maxHeight.
Is there an alternative at the latest version?
[ ] Yes (descripe the alternative)
[ X] No
Is this related to an issue?
[X] Yes (Give a link to the issue)
[ ] No
https://github.com/roman-rr/cupertino-pane/issues/113

@sjregan Please check in v.1.2.2 option fitScreenHeight: true.

@sjregan Please check in v.1.2.2 option fitScreenHeight: true.

@roman-rr I have seen the option fitScreenHeight: true thank you, what I would like to be able to do is set the maximum height of the pane to the height of the screen minus X pixels.
The reason for this is so the page title behind the pane can still be seen to give the pane context.

@roman-rr I have seen the option fitScreenHeight: true thank you, what I would like to be able to do is set the maximum height of the pane to the height of the screen minus X pixels.
The reason for this is so the page title behind the pane can still be seen to give the pane context.

@sjregan Please check 1.2.3
let settings = {
  fitHeight: true,
  maxFitHeight: 400
};

@sjregan Please check 1.2.3
let settings = {
  fitHeight: true,
  maxFitHeight: 400
};

authors: roman-rr sjregan

repo: roman-rr/cupertino-pane


text:
Shrink on Square shape

Hi,
in Launcher Icon Generator, when Shape = Square selected, the result image shrank and displayed a little bit smaller than other icons in android launcher.
If you make it normal like Shape = Bevel, that becomes the best choice in this field.

This bug still exist as selecting the Square, the padding will increase comparing to other

Compare the generated square to the Google Maps or Google Keep icon. The square is the correct size per the spec.

source: gharchive/issue

authors: SHi-ON romannurik winsontan520

repo: romannurik/AndroidAssetStudio

license_type: permissive

license_source: bigquery


text:
colorized PASS/FAIL

This is a no brainer and I love that it's using escape codes instead of a colorize style library. Lightweight for the win. Merged.

source: gharchive/pull-request

authors: lmacken ronaldstoner

repo: ronaldstoner/selfhash-python

license: MIT

license_source: github-api


text:
Types package

Is your feature request related to a problem? Please describe

It is correct to have types in a specific package, or should them be in the package which uses them?

the types package was meant to be useful to third parties integrating with rönd data models; also having them in a standalone package helped preventing cyclic dependencies, now that package definition has been reworked (and I think we found a good solution) we could move them in a specific package thought

authors: davidebianchi fredmaggiowski

repo: rond-authz/rond


text:
功能请求：/statistic中增加各项数据增长量记录以及更细粒度的原始数据

您的功能请求是否与问题有关？ 请描述一下。

描述你想要的解决方案
个人认为数据图表中的数据还有很大的展示潜力
例如{上传/下载/bonus/保种数}{每小时/每日/每周/每月}{增长量/时段内平均量}
目前我个人的需求是单个站每小时的魔力值增长量，
因为frds存在邀请奖励所以只看网站的保种获魔数据不准确
另外，目前自动刷新数据似乎是每天一次，希望可以添加更多样的更新频率，
例如每小时一次，以便提供更高粒度的原始数据
描述您考虑过的替代方案

其他附加信息

之前的issue #242 被bot自动关闭了，重新按格式提交

这个以后可以考虑增加频率设置。
具体统计形式有待讨论。

我想加入两个新功能

在“站点数据”里加入 时魔 的显示
自定义站点跳转链接（直接跳转到某个分类页面，而不是主页）。

每小时的刷新，估计不少站点都会想到负载问题，故不考虑

authors: Mosney hxsf ronggang ted423

repo: ronggang/PT-Plugin-Plus


text:
Correct the wrong match

Correct the wrong match, when process a jar package within a jar package (such as spring-boot, a jar package after repackage), should use jarInputStream instead of jarUrl, because jarUrl parses the outermost jar for this scenario.

thanks @kerwin612 , I've merged your changes into working branch ref-0.10.2.
made a few cleanups to the test, you can check'em out and you're welcome to contribute again in the same manner.

repo: ronmamo/reflections

license: WTFPL


text:
Problema da variavel desc2 - desc2 var problem.

Copiar a solução mostrada abaixo.
Copy the fix shown below.
https://gitlab.com/VanessaE/homedecor_modpack/-/blob/master/homedecor_kitchen/init.lua#L156

Curiosamente, nos logs do mercurio, os itens que não aparecem no craft estão com avisos de terem paleta de cores mas não terem o paramtype2 definido. Seja lá o que isso for.

@jgoffredo com o update feito agora pouco, o unified_inventory foi atualizado. Talvez agora as receitas apareçam. Acho que vou ter que usar a versão Git do homedecor, não parece estar atualizado na ContentDB.

O mod mudou de lugar e o bug aparentemente ainda está aberto: mt-mods/homedecor_modpack#4

authors: jgoffredo ronoaldo

repo: ronoaldo/mercurio


text:
🛑 TROJAN 🇩🇪 Germany DEH 1 is down

In 95a7442, TROJAN 🇩🇪 Germany DEH 1 (https://det-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇩🇪 Germany DEH 1 is back up in 1df8103.

repo: roosterkid/opentunnel-status-server


text:
🛑 TROJAN 🇸🇬 Singapore SGA 1 is down

In b8f6573, TROJAN 🇸🇬 Singapore SGA 1 (https://sgt-3.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇸🇬 Singapore SGA 1 is back up in 8560e3a.


text:
🛑 SSH 🇺🇸 United States USF 2 is down

In 6259234, SSH 🇺🇸 United States USF 2 (http://uss-2.opensvr.net:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇺🇸 United States USF 2 is back up in 4263a3f.


text:
🛑 XRAY 🇩🇪 Germany DEH 1 is down

In ef7e09a, XRAY 🇩🇪 Germany DEH 1 (https://dex-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇩🇪 Germany DEH 1 is back up in 5910ee6.


text:
🛑 TROJAN 🇺🇸 United States USO 1 is down

In aba5ba3, TROJAN 🇺🇸 United States USO 1 (https://ust-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇺🇸 United States USO 1 is back up in 9ee0797.


text:
🛑 V2RAY 🇸🇬 Singapore SGF 2 is down

In 8a33088, V2RAY 🇸🇬 Singapore SGF 2 (https://sgv-2.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇸🇬 Singapore SGF 2 is back up in c6849a2.


text:
🛑 V2RAY 🇸🇬 Singapore SGF 1 is down

In 69cd0ef, V2RAY 🇸🇬 Singapore SGF 1 (https://sgv-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇸🇬 Singapore SGF 1 is back up in 9706753.


text:
SUMMARY.md中 1.1 和2.2.1引用相同的文件,造成gitbook在阅读完2.2.1章节后,点击 > 时跳转到 1.2章节

- [1. Kubernetes简介](introduction/index.md)
  - [1.1 核心概念](introduction/concepts.md)

- [2. 核心原理](architecture/index.md)
  - [2.1 设计理念](architecture/concepts.md)
  - [2.2 主要概念](architecture/objects.md)
    - [2.2.1 Pod, Service, Namespace和Node](introduction/concepts.md)

SUMMARY.md中 1.1 和2.2.1引用相同的文件,造成gitbook在阅读完2.2.1章节后,点击  > 按钮时跳转到 1.2章节
PS
architecture/Service.md中
1.
另外，也可以讲已有的服务  ==>  另外，也可以将已有的服务
2.
－ 只支持4层负载均衡，没有7层功能
－ 对外访问的时候，NodePort类型需要在外部搭建额外的负载均衡，而LoadBalancer要求
上面两行中的 －是中文符,应该使用英文符的 -
觉得文章写得很好,所以想把这些小瑕疵都除去,见谅

多谢指正，已修复。
PS. Pod, Service, Namespace和Node已去掉，将分别创建Pod、Namespace和Node的文章。

authors: jschunlei rootsongjc

repo: rootsongjc/kubernetes-handbook


text:
thormang3_opc: 0.1.0-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository thormang3_opc to 0.1.0-0:

upstream repository: https://github.com/ROBOTIS-GIT/ROBOTIS-THORMANG-OPC.git
release repository: https://github.com/ROBOTIS-GIT-release/ROBOTIS-THORMANG-OPC-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.21
previous version for package: null

thormang3_action_script_player
* first public release for Kinetic
* modified arg of ros init
* added a fuction - action play for only specified joints
  modified action_script_player.cpp
  modified action_script.yaml
  modified message_callback.cpp for coding style
* modified thormang3_foot_step_generator for realtime control
  modified src in robotis_foot_step_generator.cpp and robotis_foot_step_generator.h
  modified msg file
  applied coding style
* enable stop button : thormang3_demo, walking
* ROS C++ coding style is applied.
* Change name of thormang3_motion_script_player to thormang3_action_script_player.
* Contributors: Jay Song, Kayman, Pyo

thormang3_foot_step_generator
* first public release for Kinetic
* applied coding style
  modified thormang3_offset_tuner_client : dynamic UI
* step data can be changed in walking.
* modified thormang3_foot_step_generator for realtime control
* removed balance_param.yaml
* added thormang3_motion_script
  added thormang3_action_msgs
* modified thormang3_walking_module_msgs
  added demo : manipulation, walking
* Contributors: Jay Song, Zerom, Kayman, Pyo

thormang3_opc
* first public release for Kinetic

This needs to be rebased to resolve conflicts with previously merged PRs.

@dirk-thomas Okay, I will check and re-send RP. :)

You can rebase the branch in place or use the -p option to bloom to regenerate the pull-request without redoing the release.

authors: dirk-thomas robotpilot tfoote

repo: ros/rosdistro


text:
darknet_ros: 1.1.5-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository darknet_ros to 1.1.5-1:

upstream repository: https://github.com/leggedrobotics/darknet_ros
release repository: https://github.com/leggedrobotics/darknet_ros-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.0
previous version for package: 1.1.4-0

darknet_ros
* Merge pull request `#308 <https://github.com/leggedrobotics/darknet_ros/issues/308>`_ from leggedrobotics/noetic
  Noetic
* Minor fix in CMake.
* Minor fix in test.
* Updated readme.
* Updated to newest darknet and fixed opencv on Ubuntu 20.04.
* First changes in CMakeLists.
* Merge pull request `#287 <https://github.com/leggedrobotics/darknet_ros/issues/287>`_ from leggedrobotics/feature/nodeletize
  Feature/nodeletize
* Small adjustments
* Added pointer deletion in destructor and minor formatting
* Minor formatting
* Adding option to use nodelet
* Add libxext
* Add libxt-dev
* Retrieve binaries from Github releases
* Merge pull request `#232 <https://github.com/leggedrobotics/darknet_ros/issues/232>`_ from leggedrobotics/add-required-deps
  Update package.xml dependencies
* Don't require cmake-clang-tools
* Update package.xml dependencies
* Added clang tooling.
* Merge pull request `#207 <https://github.com/leggedrobotics/darknet_ros/issues/207>`_ from umdlife/install_weights
  Add install targets for configuration files
* Add install targets for configuration files
  Adds the `launch`, `config`, and `yolo_network_config` folders to the
  install target for `darknet_ros` so they are available in the catkin
  install directory.
* Fixed linking of cuda libraries.
* Merge branch 'kunaltyagi-cleanup'
* Cleaned up CMakeLists.txt, used OpenCV C++ API for cpp file
* Merge pull request `#189 <https://github.com/leggedrobotics/darknet_ros/issues/189>`_ from martinspedro/master
  /darknet_ros/found_object uses custom msg with Header for improving synchronization
* YOLO publishes Object Count with Time stamp using custom msg with Header
* Merge pull request `#183 <https://github.com/leggedrobotics/darknet_ros/issues/183>`_ from kunaltyagi/id_num
  Add numerical ID and launch param for image
* Adding numerical ID and launch param for image
* Merge pull request `#182 <https://github.com/leggedrobotics/darknet_ros/issues/182>`_ from leggedrobotics/fix/image_publisher
  Fixed copy of image publisher.
* Fixed copy of image publisher.
* Merge branch 'kjbilton-master'
* Increased scope of image acquisition mutex to prevent image overwriting
* Merge branch 'utra-robosoccer-master'
* Removed warnings caused by catkin builds
* Added test_depend of wget to accomodate Jenkins.
* Contributors: Jason Wang, Kunal Tyagi, Kyle Bilton, Marko Bjelonic, Pedro Martins, Tom Lankhorst, Tomas Gareau, timonh

darknet_ros_msgs
* Merge pull request `#189 <https://github.com/leggedrobotics/darknet_ros/issues/189>`_ from martinspedro/master
  /darknet_ros/found_object uses custom msg with Header for improving synchronization
* std_msgs::Int8 with Header for Object Count
* Merge pull request `#183 <https://github.com/leggedrobotics/darknet_ros/issues/183>`_ from kunaltyagi/id_num
  Add numerical ID and launch param for image
* Adding numerical ID and launch param for image
* Contributors: Kunal Tyagi, Marko Bjelonic, Pedro Martins

I added the darknet_ros package. Can we merge this PR now?

We're currently on a sync hold for Noetic, but we'll look into merging it as soon as that is done.

authors: clalancette mbjelonic


text:
eigenpy: 2.7.12-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository eigenpy to 2.7.12-1:

upstream repository: https://github.com/stack-of-tasks/eigenpy.git
release repository: https://github.com/stack-of-tasks/eigenpy-ros-release.git
distro file: noetic/distribution.yaml
bloom version: 0.11.2
previous version for package: 2.7.11-1

@sloretz This might fix the sot-core etc. regression


text:
Add flatland ros1 packages for kinetic+noetic

Please add the following dependency to the rosdep database.
Package name:
flatland (metapackage), flatland_server, flatland_msgs, flatland_plugins, flatland_viz
Package Upstream Source:
https://github.com/avidbots/flatland (? or n/a)
Purpose of using this:
Flatland is lightweight 2d simulator (2.5d) built on Box2D and tightly integrated with ROS. It can serve as a gazebo alternative.
Distro packaging links:
Links to Distribution Packages

n/a?

Please Add This Package to be indexed in the rosdistro.
kinetic and noetic
(a ros2 port is in mostly done works but one thing at a time).
The source is here:
https://github.com/avidbots/flatland
Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file
[x] This package is expected to build on the submitted rosdistro

Realized I'm missing the rosdep entries. Will re-submit later.


text:
spatio_temporal_voxel_layer: 2.3.0-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository spatio_temporal_voxel_layer to 2.3.0-1:

upstream repository: https://github.com/SteveMacenski/spatio_temporal_voxel_layer.git
release repository: https://github.com/SteveMacenski/spatio_temporal_voxel_layer-release.git
distro file: humble/distribution.yaml
bloom version: 0.12.0
previous version for package: null

This is an attempt to release STVL into ROS 2 with a vendorized OpenVDB to get the build farm turning over due to long-time broken OpenVDB binaries. If this works out fine, I'll update with Iron as well

I actually don't know, I haven't looked yet :smile:


text:
Add source entry for ai_msgs (jazzy)

This is a new package so I'm adding the source entry per https://docs.ros.org/en/jazzy/How-To-Guides/Releasing/Release-Team-Repository.html#create-a-new-release-repository
This service is intended for prompting AI models.
@brettpac @yassiezar

I feel like ai_msgs is a bit too generic, specially since AI is a bit of a generic name for systems that can do different things now, what more in the future. Following REP-144 on package naming conventions: Package names should be specific enough to identify what the package does.
Not sure how many AI cases this msg will cover, feel free to explain it's use, but I see an optional image as input which tells me it might be tailored towards some specific types of AI. Could we have some package name that is closer to the actual task it might be used for?

The goal of these messages is to convert a prompt to an AI model, whether it's ChatGPT or Google Gemini or Mistral.
I thought about llm_msgs or gpt_msgs but those terms are likely to fall out of favor soon.
How about ai_prompt_msgs?
BTW we expect to add more msg types to the package as needed.

Specifically, I want to use it to:

prevent my robot from driving into mud/water
check if an item is grasped
check the vicinity of the robot

It seems that all of the AI models you mentioned are LLMs, so I would argue that llm_msgs might be some better description of the package. Then this package can be scoped to LLMs messages and for other AI types to come new packages can be created.

Well, those AI models are multimodal now. They can take audio, image, and spreadsheet inputs now, too. I'm not OK with the llm_msgs name; it would have been great a year ago.
Here are some ideas which ChatGPT generated for me:

Creating a name for a ROS2 message package that conveys prompts to AI models should ideally be descriptive, concise, and reflect the types of data it handles. Here are some suggestions:
ai_interface_msgs
ai_data_msgs
ai_comm_msgs
ai_prompting_msgs
ai_request_msgs
ai_query_msgs
ai_prompt_data_msgs
ai_input_msgs
ai_task_msgs
ai_media_msgs
ai_multimodal_msgs
ai_signal_msgs
ai_directive_msgs
ai_command_msgs
ai_stimulus_msgs

These names aim to capture the essence of communicating prompts (which might include strings, images, and potentially audio) to AI models. Choose one that best fits the scope and future plans of your package.

Similar to https://github.com/ros/rosdistro/pull/42014#pullrequestreview-2170529789, I recommend robosoft_ai_msgs

[x] At least one of the following must be present

[x] Top level license file:
[ ] Per package license files:

[x] License is OSI-approved:  Apache License 2.0
[x] License correctly listed in package.xmls
[x] Public source repo: https://github.com/robosoft-ai/robosoft_ai_msgs
[x] Source repository contains ROS packages
[x] Each package meets REP-144 naming conventions

Package name details
$ find . -name "package.xml" -exec grep --color=auto -e "<name>" "{}" ";"
<name>robosoft_ai_msgs</name>

License details
$ find . -name "package.xml" -exec grep --color=auto -e "<license>" "{}" "+"
<license>Apache-2.0</license>

How about openai_msgs? robosoft_ai_msgs just doesn't roll off the tongue, and the PR has nothing to do with robosoft, functionally

But oepnai is an organization not a system that does something concrete...

I could do openai_prompt_msgs if you like. The messages are for prompting OpenAI.
Like I said before, it's very hard to nail down a specific application; the inputs will be many things.

Will you accept prompt_msgs @marcoag ? Surely prompting is something concrete.

@marcoag & @Yadunund,
Yes, OpenAI is an organization. Robosoft is an organization too. But you guys saw no issues with recommending robosoft_ai_msgs for the name.
So what is the problem with openai_msgs? A package of msgs and services meant to interface ROS2 with online services provided by OpenAI, like ChatGPT-4, ChatGPT-4o, DALL-E and whatever they come up with down the road.
This "concrete"ness argument made by marcoag should be tossed out immediately. It's vague, arbitrary and found absolutely nowhere in REP-144.
But, as per REP-144, the name openai_msgs is more descriptive than robosoft_ai_msgs in that the messages are used to interface ROS2 systems with llms/products/online services offered by OpenAI. And since these are the only products/services offered by OpenAI, I don't believe it is necessary to add additional modifiers like prompt or llm (such as openai_prompt_msgs).

@brettpac thanks for your feedback!

Yes, OpenAI is an organization. Robosoft is an organization too. But you guys saw no issues with recommending robosoft_ai_msgs for the name.

If this package was under an openai Github org, it would have been no problem to go with openai_msgs. However it is not.

So what is the problem with openai_msgs? A package of msgs and services meant to interface ROS2 with online services provided by OpenAI, like ChatGPT-4, ChatGPT-4o, DALL-E and whatever they come up with down the road.

The problem is that these AI tools are used by a number of users. What if someone else wanted to release such a package because they felt their interface definitions were more appropriate? Unless there is some effort made to gain a consensus from the community, like for mocap systems, it wouldn't be fair for an org that is unaffiliated with openai to maintain openai_msgs. Some specialization in the naming would make things unequivocal.

But, as per REP-144, the name openai_msgs is more descriptive than robosoft_ai_msgs in that the messages are used to interface ROS2 systems with llms/products/online services offered by OpenAI.

imo robosoft_openai_msgs would be a good compromise. Would you be agreeable to that? it would be akin to the willow_garage_pr2_wavefront_planner_launch example in REP-144.

I think we all agree, if OpenAI ever wants to officially release a ROS package, they can have the package name back. In case that's the holdup.

@AndyZe I think the deliberating over the right package name now saves the trouble of renaming, updating release repos, making downstream users update their codebase, etc in the future if OpenAI decides to release such a package.
Anyways, I recognize this is mine (and Marco's) subjective opinions which may not be shared with other rosdistro maintainers so I've added this topic to next week's ROS 2 Weekly meeting's agenda to get more opinions. Thanks a lot for your patience as we navigate thought this, I understand it can be frustrating...

Is chatgpt_msgs an option that would be approved?
I think it's somewhat hilarious that @AndyZe's original intent for a package that could be used for multiple llms has now gotten narrowed down to just one in order to appease the reviewers and REP-144, but thats the world we live in. But I digress...

Noting that 4 long-standing, high-level ROS contributors have already deliberated over these message formats/naming.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/soliciting-feedback-on-a-msg-package-for-ai-prompting/38587/1

Soliciting community feedback here!
https://discourse.ros.org/t/soliciting-feedback-on-a-msg-package-for-ai-prompting/38587

I think it's somewhat hilarious that @AndyZe's original intent for a package that could be used for multiple llms has now gotten narrowed down to just one in order to appease the reviewers and REP-144, but thats the world we live in. But I digress...

@marcoag had approved robosoft_ai_msgs which could have been used for multiple llms however there was some push back after. @AndyZe's discourse post is a great start so let's take it from there :)

OK, this should be ready @marcoag and @Yadunund. Thank you (truly) for helping find good package names. It was worth iterating.

OK, this should be ready @marcoag and @Yadunund. Thank you (truly) for helping find good package names. It was worth iterating.

Thanks for being patient while iterating on this!

authors: AndyZe Yadunund brettpac marcoag ros-discourse


text:
Update real-time documentation

We added a section in Tutorials -> Advanced -> Real-Time.
It is still a DRAFT version.

Note that the ros2_tracing tutorial is being reviewed in #3621

Note that the ros2_tracing tutorial is being reviewed in #3621

@christophebedard thanks for pointing this out. I removed the files, which are reviewed in #3621, from this pull request.

authors: JanStaschulat christophebedard


text:
FusedLeakyReLUFunction avoid ONNX export

I am trying to export the stylegan generator to onnx but the custom FusedLeakyReLUFunction is not proper for this purpose.
Someone can help??? Is this possible?

Same problem, any solution?

Same problem here

ref：https://github.com/yangxy/GPEN/blob/main/face_model/op/fused_act.py#L96

not solved - but more troubleshooting here - https://github.com/bes-dev/MobileStyleGAN.pytorch/issues/44

authors: DaeyangCho MarkZXZX alcasla johndpope simplew2011


text:
Request for a Stop button

Describe the solution you'd like
As a user, I'd like to have the ability to stop the running process via a Stop button. This would allow the user to kill the operation of dotnet app in progress.
Describe alternatives you've considered
The current alternative is to find the dotnet process and kill it via Task Manager.
Additional context
Sample mini-app:
bool tryAgain = true;
do
{
  if (1 == 0)
    tryAgain = false;
} while (tryAgain);

This already exists, it's just called "restart process". I've already renamed it to Stop and changed the icon in the main branch.

Thank you, @aelij, I apologize for wasting your time.
The name "restart" mislead me that it started again versus stopping. Also, in the example case, it ran so quickly that the output was still waiting to catch-up.
Thank you again for updating the main branch, looking forward to it. Keep up the great work!! I love this as a scratch pad.

authors: DamianSuess aelij

repo: roslynpad/roslynpad


text:
Add Black, Isort and Codecov to workflow

Functionalities to add to workflow:

[x] Black
[x] Isort
[x] Codecov
[x] Deploy docs

Adding some routines to the workflow to run after the tests.

It looks like secrets are only available if we create a PR from a branch within the repository (not from a fork).
I will merge this one and try to create a branch inside the repository to test it.

It looks like secrets are only available if we create a PR from a branch within the repository (not from a fork).
I will merge this one and try to create a branch inside the repository to test it.

repo: ross-rotordynamics/ross


text:
how to compute TL-ID and TG-ID?

Thanks.

There is something odd about the similarity metrics. The values can exceed 1.0. When I calculated them on source and edited videos using another StyleGAN editing approach, I got such values (1.04 and 1.09) for Local and global. I looked at your code, and I think it is all sensible since depending on head motion in the real videos, identity can be "better" controlled in the edit. It makes me wonder how useful these two metrics are in their current form. Even the reduced form of comparing identity within each video alone (i.e., source and edited) doesn't necessarily say much, the edited can have higher id preservation.
Thanks for sharing!

@rotemtzaban
I completely agree that the ID metrics by in large are delivering what we actually want. So I don't mean to be critical of TL/TG-ID, I was intrigued when I saw the table in the paper, and on first look it didn't occur to me that the metric can stray above 1.0.  I am not sure that aiming for 1.0 solves the puzzle of how to compare the IDs, especially in your paper that the edits include age and gender. It makes me wonder if ID is even a relevant metric for these edits.  Even with face expression edits, ID may get erratic as it should, since the actual face is different, despite us mentally calling it the same ID.
Add to it that the ID networks by and large are, in my opinion, not suitable for the objective. I don't think they capture the subtleties of the problem, but it is all what we have.
Anyway, to avoid a philosophical discussion, I wonder whether replacing the divide operation by cross correlation is a safer choice for at least face expression edits? Alternatively, the "ideal" criteria for performance can be posed as (1) the variance in identity over the entire edited video is zero (2) the closest real-frame ID distance to a given edited frame is 1.0 (for non age/gender examples), i.e., the edited frame is indistinguishable from a real one. I wish I can come up with better metrics, the editing task is likely ill-defined.
Cheers

Hi @yaseryacoob,
TL/TG-ID metrics were deliberately designed to measure temporal coherence and not the quality of identity preservation in the individual frame edits / inversions themselves.
Your proposed minimal variance metric can also target the same goal, but please note that it suffers from the same flaw and actually doesn't let you identify cases where the editing method destroys part of the original content. For example, consider the case of a network that outputs the exact same image for all frames. This network will score perfectly on the minimal variation metric. This may be indented, as such a video is indeed perfectly consistent, but it wouldn't be as clear that there's an over-smoothing effect.
In other words - synthesized videos can absolutely reach better temporal coherence than real ones, and our metric does capture this. But it also gives you a way to identify this scenario if it's not desirable (which it won't be in most cases).
Your concern is of course justified. Temporal coherence alone is definitely not enough, we might want to better measure the overall realism of videos, including not only temporal consistency but also a per-frame realism and maybe even ensuring that the motion in the video makes sense. To my knowledge - using a single metric for all of those components is still an open question.

authors: laolongboy rmokady yaseryacoob

repo: rotemtzaban/STIT


text:
mermaid language to rough

I (like a lot of other people) use mermaid for source controlling diagrams. I would love to see if there is a way to render rough (style) diagrams from mermaid definition.

you can do this in D2:
https://play.d2lang.com/?script=pJFRyoNADITfc4q5wO8B9uG_ikR3KaGu2k1sEfHuJerS10IfEybMl5l-Ulty0oCNgAM6QB9Da9wNiQCJATIatk_sAXORzGVt72nd_Uw8oKR6SAnIrk2ljgOrtcscvd8Ak5zUOM-0E13K3_zz9BQ_syLjjYDXUeQX7vX75sLA339l10YiEfumo3ji9T4x7ec6NkzvAAAA__8%3D&sketch=1&theme=5&layout=dagre

authors: alixander avelino

repo: rough-stuff/rough


text:
🛑 Fossil based IRC Log is down

In 624d84a, Fossil based IRC Log (https://rouilj.dynamic-dns.net/fossil/roundup_irc_logs/doc/trunk/log/roundup/) was down:

HTTP code: 503
Response time: 340 ms

Resolved: Fossil based IRC Log is back up in 04c7646.

repo: rouilj/RoundupAssets


text:
🛑 Travis CI is down

In 00794a9, Travis CI (https://travis-ci.com/github/roundup-tracker/roundup) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Travis CI is back up in 1fe76e7.


text:
Helm chart repo inaccessible via Artifactory

Hi, you had kind of a similar issue in https://github.com/rowanruseler/helm-charts/issues/171#issue-1400560712
At least I hope my problem is related to the fact that opening the repo via browser and without adding the index.yaml part throws the 404:

Helm chart repo at https://helm.runix.net/ returns 404.

Currently I am trying to utilize the repo as a remote repository in Artifactory...for testing purposes I added the elastic repo as well as the runix repo:

Despite the fact that both have been added in a similar fashion the elastic repo works fine, while no fetch from runix may be performed. And it throws this nice error:

Which is why I hope the problem is related to https://github.com/rowanruseler/helm-charts/issues/171#issue-1400560712
Could you please have a look into the 404

This is a repository, you can add it with: helm repo add runix https://helm.runix.net
I never tested it on artifactory, it is technically just a github page. You can view the github pages here: https://github.com/rowanruseler/helm-charts/tree/gh-pages
So what happens when you add this url: https://github.com/rowanruseler/helm-charts/blob/gh-pages/index.yaml

glad it worked out!

repo: rowanruseler/helm-charts


text:
希望采用文件创建的时间戳作为永久链接

一般来说创建时间不会修改，所以作为永久链接非常适合。其次也赋予url一定意义，使其和文章也有一点的关联性。

当时考虑过这个，但因为时间戳太长了，最后没有使用。

crc32 & dec 也很长啊。秒级时间戳就够用了。

一般地，建议使用crc16

生成链接后如果更改文章标题， 链接仍然有效吗

@bejondshao yes

authors: bejondshao rozbo webees

repo: rozbo/hexo-abbrlink


text:
Port SPI changes from rp2040-hal to rp235x-hal

The updates from #831 were only applied to rp2040-hal.
This patch ports them to rp235x-hal.

What testing has been done? Should I run a demo and try it?

Only tested that it still builds.
The actual change is that it's now possible to call set_format without first disabling the peripheral. As I understand it from #831, the datasheet could be interpreted in a way that forbids this, but other implementations "in the wild" already do it so it's supposed to be fine. The wording is exactly identical in the RP235x datasheet.

authors: jannic thejpster

repo: rp-rs/rp-hal


text:
Which keys should be used for github actions?

Hello,
I am a little bit confused by the read.me file. Should I add prod or staging supabase secrets to github actions secret section?

Hello,
I'm a bit confused too 😂
Actually ... it depends of your strategy (e2e on staging or production env) 🙃
I forked github ci from Remix indie stack (witch use a sqlite locally and a sqlite "containerized" on fly.io).
I should take a moment to rewrite the readme and the ci :/
For the moment, I put my staging database credentials on github secrets, it's just for cypress task.
In real situation, I guess I would still put staging secrets to run cypress on staging env before releasing to production.

I think of a step to add : checking if production database has been migrated before "deploy to prod" or adding a step to apply migration (i'm always cautious with steps like that).

Github action is new for me, so, I'm sorry if it's not usable out of the box

authors: berkerdemirer rphlmr

repo: rphlmr/supa-fly-stack


text:
Added failover capabilities via config file

I made an integration test, RqliteFailoverTest, which uses a local installation of rqlite (specified in a config file, but we could require that Rqlite be on the path).
In the test, the client is loaded with a config file which specifies the hostnames and ports of the available nodes. After checking that we've connected to the leader, the test kills the leader node and the client connects to the new leader by cycling through the config list.
In order to avoid duplicating my retry method, I created a GenericRequest and GenericResponse abstract class and interface.
I set the default retry timeout period to 8 seconds, but it can also be configured in the client code.  I haven't had any failures with that time period but I did have some when the timeout period was 6 seconds.

Thanks for your contribution -- can you resolve the merge conflicts? I cannot merge the PR until you do so.

Done!

authors: hprovenza otoolep

repo: rqlite/rqlite-java


text:
Adding tests

Great project @rrag  - if I were to add some tests where would you most want to see them first?
My preference would be to use jest but open to a different library if you'd prefer.

Thank you, jest is great, I am good with the choice. There are no tests right now so having any test is an improvement. I would like to chat and discuss some of the topics I am not sure how to solve

Trigger mouse and touch events
Testing with canvas elements
comparing the output of canvas with an image

I suppose SVG compare can be done via jest snapshots
For starters, I would say testing the methods on ChartCanvas, EventCapture and GenericComponent will cover a lot of scenarios. Also many of these methods can be tested without triggering mouse/touch events and dealing with canvas/svg, so I guess using only jest for these would suffice.

Great, I've put this on my backlog and have some time coming up in September which I would love to spend on the project.

authors: joshuavial rrag

repo: rrag/react-stockcharts

license: mit


text:
🛑 dm.vern.cc is down

In da5eaf6, dm.vern.cc (https://dm.vern.cc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: dm.vern.cc is back up in e8a1da4 after 1 hour, 37 minutes.

repo: rramiachraf/dumb-instances


text:
add rule (rrd) huge files

script + template + css together
warning on 250 lines and error on 500 lines

Could we increase the warning limit to 300? 👀 @rrd108

Sure.


text:
Roku sdk requires deep linkling?

what do i put in the deep linking section? does this even support deep linking?

Also, how do i downsize? apparently roku does not support channels that are over 4 megabytes, however i dint add anything, just used the generator

@furynightwing On the left select type of video from your feed, exam,ple = short-form video or Movie, Etc! On the right go into your feed, and get the video ID number, and enter it! Next place a short description under that! = Save and done with deep linking!

am i supposed to do that with all of my videos?

why just one tho?

@furynightwing Thats what Roku ask of you because of the deep linking in SDK package they only want one to see your link

ohh! ok
thanks

@furynightwing You will see once you add one link you will get a check mark for publishing

yes i did! so quick question tho, so now will it add all the videos in my feed for deeplinking too, or just that one?

@furynightwing Your feed will add all the videos

authors: ferdiworks furynightwing


text:
Preparing auto-clustering

In this PR I've added a script from http://chad.ill.ac/post/35967173942/easy-ejabberd-clustering-guide-mnesia-mysql and https://github.com/chadillac/ejabberd-easy_cluster which makes it easier to setup a multi master cluster.
Also, I've made SSL optional for s2s and webadmin. For webadmin it is desirable to have disabled SSL on the ejabberd node because you might want to offload SSL to the load balancer (e.g. Haproxy)

That looks great. erlc can change the output dir with the -o switch, so we do not need to switch to root.
# Compile erl scripts
RUN erlc -W0 -o $EJABBERD_ROOT/lib/stdlib/ebin \
    $EJABBERD_ROOT/bin/scripts/erl/*.erl

$EJABBERD_ROOT/lib/stdlib/ebin is not a good place for ejabberd-modules maybe the ejabberd bin directory described in https://www.ejabberd.im/ejabberd-modules is a better place for the beam files.
# Compile erl scripts
RUN erlc -W0 -o $EJABBERD_ROOT/bin \
    $EJABBERD_ROOT/bin/scripts/erl/*.erl

I've updated looked into it and it seems that the current way to go is to have a variable 'CONTRIB_MODULES_PATH' in ejabberdct.cfg. (see: https://github.com/processone/ejabberd-contrib)
I've implemented that in commit
https://github.com/dirkmoors/docker-ejabberd/commit/13bfa344733753e9f0a6978d5b508e2d8b63140f

This looks promising to integrate the clustering as a POST command?
http://easyerl.blogspot.be/2012/09/easy-ejabberd-clustering-procedure.html

Just four more things I would like to see in this PR:

I don't think that it's necessary to change the module path via environment. Serving the static path ~/.ejabberd-modules should be fine enough. Maybe ~/modules and then add it to VOLUMES.
Create the module path should be done in the install RUN section to omit an extra step.
If erlc fails to compile the build process stops and never print the error message, that's fine if something fails on build the image is not complete.
Compile any erl file in scripts/erl

Here is my diff how I imagine this feature:
diff --git a/Dockerfile b/Dockerfile
index 510f1f9..ebbbec8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,6 @@ ENV EJABBERD_USER ejabberd
 ENV EJABBERD_ROOT /opt/ejabberd
 ENV EJABBERD_WEB_ADMIN_SSL true
 ENV EJABBERD_S2S_SSL true
-ENV EJABBERD_CONTRIB_MODULES_PATH $EJABBERD_ROOT/.ejabberd-modules/
 ENV HOME $EJABBERD_ROOT
 ENV PATH $EJABBERD_ROOT/bin:/usr/sbin:/usr/bin:/sbin:/bin
 ENV DEBIAN_FRONTEND noninteractive
@@ -45,6 +44,7 @@ RUN gpg --keyserver hkp://hkps.pool.sks-keyservers.net --recv-keys 31468D18DF984
             --adminpw ejabberd \
     && rm -rf /tmp/* \
     && mkdir $EJABBERD_ROOT/ssl \
+    && mkdir $EJABBERD_ROOT/.ejabberd-modules \
     && rm -rf $EJABBERD_ROOT/database/ejabberd@localhost

 # Make config
@@ -60,14 +60,9 @@ COPY ./run $EJABBERD_ROOT/bin/run
 # Add run scripts
 ADD ./scripts $EJABBERD_ROOT/bin/scripts

-# Prepare output directory for plugins
-RUN mkdir -p $EJABBERD_CONTRIB_MODULES_PATH
-
-# Compile easy cluster. The output files have to be in the /lib/ejabberd/ebin/ directory!
-RUN erlc -W0 -o $EJABBERD_CONTRIB_MODULES_PATH $EJABBERD_ROOT/bin/scripts/erl/easy_cluster.erl
-
-# Check for compiled plugins
-RUN if [ ! -f $EJABBERD_CONTRIB_MODULES_PATH/easy_cluster.beam ]; then echo "Failed to compile erlang plugin!"; exit 1; fi
+# Compile erl scripts
+RUN erlc -W0 -o $EJABBERD_ROOT/.ejabberd-modules \
+    $EJABBERD_ROOT/bin/scripts/erl/*.erl

 VOLUME ["$EJABBERD_ROOT/database", "$EJABBERD_ROOT/ssl"]
 EXPOSE 5222 5269 5280 4560
diff --git a/ejabberdctl.cfg.tpl b/ejabberdctl.cfg.tpl
index 1431c98..6fa1641 100644
--- a/ejabberdctl.cfg.tpl
+++ b/ejabberdctl.cfg.tpl
@@ -158,10 +158,11 @@ EJABBERD_BYPASS_WARNINGS=true

 #.
-#' CONTRIB_MODULES_PATH: Path to directory where extra modules (*.beam) are installed
+#' CONTRIB_MODULES_PATH:
+
+# Path to directory where extra modules (*.beam) are installed.
 #
 # Source: https://github.com/processone/ejabberd-contrib
 #
 # Default: ~/.ejabberd-modules
-CONTRIB_MODULES_PATH={{ env['EJABBERD_CONTRIB_MODULES_PATH'] or "~/.ejabberd-modules" }}
-
+CONTRIB_MODULES_PATH="/opt/ejabberd/.ejabberd-modules"
[rroe:~/Workspace/docker/rroemhild/ejabberd] auto-cluster(+8/-12)* ±
[rroe:~/Workspace/docker/rroemhild/ejabberd] auto-cluster(+11/-12)* ± git diff
diff --git a/Dockerfile b/Dockerfile
index 510f1f9..cc2f732 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,6 @@ ENV EJABBERD_USER ejabberd
 ENV EJABBERD_ROOT /opt/ejabberd
 ENV EJABBERD_WEB_ADMIN_SSL true
 ENV EJABBERD_S2S_SSL true
-ENV EJABBERD_CONTRIB_MODULES_PATH $EJABBERD_ROOT/.ejabberd-modules/
 ENV HOME $EJABBERD_ROOT
 ENV PATH $EJABBERD_ROOT/bin:/usr/sbin:/usr/bin:/sbin:/bin
 ENV DEBIAN_FRONTEND noninteractive
@@ -45,6 +44,7 @@ RUN gpg --keyserver hkp://hkps.pool.sks-keyservers.net --recv-keys 31468D18DF984
             --adminpw ejabberd \
     && rm -rf /tmp/* \
     && mkdir $EJABBERD_ROOT/ssl \
+    && mkdir $EJABBERD_ROOT/modules \
     && rm -rf $EJABBERD_ROOT/database/ejabberd@localhost

 # Make config
@@ -60,16 +60,14 @@ COPY ./run $EJABBERD_ROOT/bin/run
 # Add run scripts
 ADD ./scripts $EJABBERD_ROOT/bin/scripts

-# Prepare output directory for plugins
-RUN mkdir -p $EJABBERD_CONTRIB_MODULES_PATH
+# Compile erl scripts
+RUN erlc -W0 -o $EJABBERD_ROOT/modules \
+    $EJABBERD_ROOT/bin/scripts/erl/*.erl

-# Compile easy cluster. The output files have to be in the /lib/ejabberd/ebin/ directory!
-RUN erlc -W0 -o $EJABBERD_CONTRIB_MODULES_PATH $EJABBERD_ROOT/bin/scripts/erl/easy_cluster.erl
+VOLUME ["$EJABBERD_ROOT/database",
+        "$EJABBERD_ROOT/ssl",
+        "$EJABBERD_ROOT/modules"]

-# Check for compiled plugins
-RUN if [ ! -f $EJABBERD_CONTRIB_MODULES_PATH/easy_cluster.beam ]; then echo "Failed to compile erlang plugin!"; exit 1; fi
-
-VOLUME ["$EJABBERD_ROOT/database", "$EJABBERD_ROOT/ssl"]
 EXPOSE 5222 5269 5280 4560

 CMD ["start"]
diff --git a/ejabberdctl.cfg.tpl b/ejabberdctl.cfg.tpl
index 1431c98..6fa1641 100644
--- a/ejabberdctl.cfg.tpl
+++ b/ejabberdctl.cfg.tpl
@@ -158,10 +158,11 @@ EJABBERD_BYPASS_WARNINGS=true

 #.
-#' CONTRIB_MODULES_PATH: Path to directory where extra modules (*.beam) are installed
+#' CONTRIB_MODULES_PATH:
+
+# Path to directory where extra modules (*.beam) are installed.
 #
 # Source: https://github.com/processone/ejabberd-contrib
 #
 # Default: ~/.ejabberd-modules
-CONTRIB_MODULES_PATH={{ env['EJABBERD_CONTRIB_MODULES_PATH'] or "~/.ejabberd-modules" }}
-
+CONTRIB_MODULES_PATH="/opt/ejabberd/modules"

Hmmm ejabberdctl is not able to load the module.
(ejabberd@localhost)1> l('easy_cluster').
{error,nofile}

/opt/ejabberd/lib/ejabberd-15.03/ebin seems to be the right directory for this plugin.

So CONTRIB_MODULES_PATH is a good thing to add but not necessary for the cluster plugin. I would like to see a new clear PR for this feature to the master branch without the module parts and I'll add the module part later if this is ok for you.

Ok, I'll look into it this evening.

With 15.03 clustering was improved. Did you test this? http://docs.ejabberd.im/admin/guide/clustering/

No I didn't know this...I'll give it a go, definitely!

I've renamed the branch: https://github.com/dirkmoors/docker-ejabberd/tree/ssl-fixes

authors: dirkmoors rroemhild

repo: rroemhild/docker-ejabberd


text:
How can I use ChangeNotifierProvider/StateNotifierProvider with Consumer

The doc only has an example for flutter_hooks useProvider. But I only want to use flutter_riverpod's Consumer only.
I tried this but the view is not updated when the data is changed:
class SomeState with ChangeNotifier {
   String data = '';

  void getData() async {
    data = 'abc';
    notifyListeners();
  }
}

final stateProvider = ChangeNotifierProvider<SomeState>((_) => SomeState());

// ...

stateProvider.read(context).getData();

// ...

return Consumer((_, read) {
  final state = read(stateProvider);

  return Text(state.data);
})

That should work.

@rrousselGit Hmm, I reinstall the app and it works now. Sorry for bothering you!

authors: rrousselGit scitbiz


text:
How to hook this method

How to hook this method
_import java.lang.reflect.Method;
String serialnum = null;
try {
Class<?> c = Class.forName("android.os.SystemProperties");
Method get = c.getMethod("get", String.class, String.class );
serialnum = (String)(   get.invoke(c, "ro.serialno", "unknown" )  );
}
catch (Exception ignored)
{
}
@AndHook.HookHelper.Hook(value = "android.os.SystemProperties")
private static String get(final Class<?> clss, final String name, String def) {
if (name.equals("ro.serialno") || name.equals("ro.boot.serialno"))
return "FakeSerial";
return AndHook.HookHelper.invokeObjectOrigin(null, name, def);
}

I want hook this method
_import java.lang.reflect.Method;
String serialnum = null;
try {
Class<?> c = Class.forName("android.os.SystemProperties");
Method get = c.getMethod("get", String.class, String.class );
serialnum = (String)( get.invoke(c, "ro.serialno", "unknown" ) );
}
catch (Exception ignored)
{
}

repo: rrrfff/AndHook


text:
[Bug Report]  fflags.DZ set incorrectly after  fdiv.s instruction

Environment:
RSD version: bd7c5c12dfd8d20c7cb5c1d5a75f7ba59f9fce52

Bug Description:
There is an instruction fdiv.s  fs1, fa4, ft7, where fa4=0x47bca361 and ft7=0x00000000.
After the fdiv.s instruction, fflags.DZ flag in RSD maintains 0 . However, fflags.DZ  flag  in spike is set to 1 .

It seems that RSD update fflags.DZ incorrectly.

From what I can see, it does not appear to be implemented, but I don't know how it actually is. @ RSD team?

authors: lpha-z zhangkanqi

repo: rsd-devel/rsd


text:
simplify/clarify A0005 and A0007

A0005 and A0007 are a bit confusing:
A0005 | Communication error between traffic controllers / synchronisation error
A0007 | Communication error between one or multiple traffic controllers and central control system
Maybe:
A0005: Synchronization error
A0007: Communication error
With a field in each indicating with system the error relates to, eg. NTP

I'm closing this. Feel free to open this issue again if you have any feedback on the draft

authors: emiltin otterdahl


text:
Clicking on dock icon does nothing

After hitting Cmd + W, clicking on the dock icon for the app should bring up the window again. Instead, nothing happens.

fixed in #6

repo: rsms/fb-mac-messenger


text:
Let user specify a Proxy func for NewWebsocketClientTransport

Motivation
For the NewWebsocketClientTransport, the proxy function is hardcoded to http.ProxyFromEnvironment. This is not ideal for processes where multiple Proxy settings are required.  Java SDK allows the user to pass in an httpClient, which can have its own Proxy configuration.
Desired solution
When invoking NewWebsocketClientTransport, let the user provide a Proxy function that can be passed to websocket.Dialer. The function signature is a de-facto standard, it's used by http.Transport as well.
Considered alternatives
None.
Additional context
The change is very straight-forward and provides more flexibility to the user of rsocket-go.
Proposed changes in my fork: https://github.com/ronakg/rsocket-go/commit/5133e493d058e8a7e95620bb6f3b1d3f8b173a9c. I can raise the PR once we have discussed the solution in this issue.

The v0.8.1 released with this new feature. 🎉 🎉 🎉
Thanks for your hard work!

authors: jjeffcaii ronakg

repo: rsocket/rsocket-go


text:
Minimum jerk planning

Has anyone tried adding minimum jerk constraints to Teb planner? or have any thoughts on best ways achieve a minimum jerk trajectory for the robot?

Found a pull request with something similar:


text:
Any support for Electron?

Hi there,
Before, I want to say that you did an amazing job with Quasar Framework 👍
Do you plan to add the support of Electron to develop desktop applications in the future?
Thank you

Hi,
Thanks for your kind words.
It's an excellent idea. I will put Electron support on my to-do list :+1:

👏👏👏

+1

Will make an electron starter kit soon.

It's like the project https://github.com/SimulatedGREG/electron-vue is becoming more mature every day. Just leaving it here in case joining efforts makes sense.

Making progress with the starter kit ;)

Electron coming to Quasar. Finalized first beta, will write documentation and release it very soon.

Released wrapper. Update to latest Quasar CLI and issue $ quasar wrap electron from your project folder. You'll get all instructions from the CLI. Documentation on the official website will follow soon, but for now the CLI instructions will suffice.

authors: Atinux ErickPetru mlenormand rstoenescu

repo: rstoenescu/quasar-framework


text:
TX Power not saving after a reboot

Apparently whenever you change the TX Power, it resets back to 10 dB after a reboot. I'm running the latest version.

I will be posting a new version soon that fixes this issue.

Release v1.4.4 fixes this issue and has been published.

I think we have this solved for now as I found the place where I missed persisting it to NVS.  Open another issue if you see this again or re-open this one.

authors: prbtt rstrouse

repo: rstrouse/ESPSomfy-RTS

license: Unlicense


text:
Can’t access ip address interface

Hey, I seem to be having an issue where everything will work great for so long no more then 2 days, then my blinds will become unavailable, if I try and access the ip address of espsomfyrts it will not connect, the only way to resolve the issue is turning the device off and back on again. I would say it’s like it’s lost WiFi connection but when I look in my router settings it’s still online and available. Do you know what the issue may be? Thanks

Is there any way you can hook it up to a serial connection to see the logs when it fails?  This would mean that you have it plugged into and powered from the serial device.

Yes the time zone is correct, I’ve reserved the ip address within my router settings is that what you mean? I’ve plugged it into my computer and launched esphome web to see the logs,
It says successfully connected to ip address, but I can’t access it still,
And it seems to get stuck on initializing RX Queue

The very next thing it does is call out to github to check for the next release.  This is a great clue.  Can your device reach the internet?  I may need to figure out how to fail the request sooner if that is what is failing.

Yes I have internet to the device.  After many many reboots I’ve got it all working again, but if it’s following the same trend it will go unavailable again in 24/48 hours. Hopefully not.

What are you powering with?

An Apple usb charger plug.

It is odd that it is failing like that.  It will be interesting to see the log when it does fail.  I will add some code to timeout if the interweb gets lost.

Okie thank you.. yes it’s very odd behaviour. I will see how it goes and see if it does it again..

So i went to update the device today and the same as happened after the update, i cannot access the device from the ip address anymore. connecting it to the logs it stops at loading file /main.css.
Radio Pins Configured!
Successfully set up the radio
Enabled receive on Pin #12 Timing: 1
Initializing RX Queue
[HTTPS] GET... code: 200
[HTTPS] GET... code: 200 - 12884
Socket [0] Connected from (my ip address) url: /
Loading file /index.html
Loading file /main.css

The Loading file /main.css is interesting as the very next thing is should get is a request for the /icons.css file.  I have added a response to the options request just in case the browser asks for it.  The other thing to check is to see if the browser cache is being disrupted.  You will see an error in the developer tools if there is an issue with the browser cache.  There is no error and the there is no follow on request from the browser.
Update the firmware and application from the Main repo and lets see if I see an options request.

@mvantschip what version were you coming from?

@mvantschip the issue that @Jack123uk is having is corruption of the SPIFFS partition.  Although, I think your SPIFFS is corrupt I suspect that it is probably related to a quirk in the update library.
I have had a few folks that have had the application upload process not write the final bytes to the SPIFFS partition because the code for ending the update reboots the MCU before it has had time to flush.  In v2.2.x I have added a delay after the final bytes to allow it to flush.  In all the hundreds of times I updated the SPIFFS partition it happened only once but I suspect it requires the response to process before it forces the reboot.  This allowed me to understand what was going on because the device was connected to the log at the time.
Unfortunately, you will need to flash the SomfyController.onboard.esp32.bin file then restore the backup that was created when you tried to install the SomfyController.littlefs.bin.  v2.2.x and above should no longer have this intermittent issue.

I am closing this.  The SPIFFS update has been repaired in 2.2.x for boards that do not flush the flash quickly enough before the update library reboots the device.

@rstrouse sorry I’ve been away, thank you for the quick fixes you have made, everything seems to be working perfectly now. Thanks


text:
Support maxAge query parameter to Shields.io in badge redirect

Details
Shields.io allows passing a maxAge query parameter that should address #1612, but this is not supported by the RTD redirect.
Expected Result
The Location header from curl -v https://readthedocs.org/projects/pyphi/badge/?version=latest&style=flat-square&maxAge=600 should be:
Location: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat-square&maxAge=600

Actual Result
maxAge is ignored, though style is respected.
The Location header from curl -v https://readthedocs.org/projects/pyphi/badge/?version=latest&style=flat-square&maxAge=600 is:
Location: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat-square

This would be a great contribution! The code is here: https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/projects/views/public.py#L119

Implemented in PR #3005.

authors: ericholscher wmayner


text:
Search for mkdocs.yaml inside other directories

This fix #3249
Our docs mention that we search for the mkdocs.yaml inside the docs directory, but that's a lie, we only search in the root of the project. Also, this will prepare our code for the mkdocs key of the new yaml file.

Some changes depend on #4041

OK, I tested this manually with two projects (mkdocs and https://github.com/rtfd/readthedocs.org/issues/3249#issuecomment-394079920) it works as expected, going to block this due https://github.com/rtfd/readthedocs.org/pull/4041

Updated and tested, just to note that this feature doesn't work as the initially reported issue because of https://www.mkdocs.org/about/release-notes/#stricter-directory-validation. this is more useful for people that have a layout like:

someproject/docs/
someproject/mkdocs.yml
readme.md

So, people need to install a previous version of mkdocs for it to works in a structure like the above.
For that reason, I decided to no implement that.
Is this PR still useful?
Yes, with this we can support the mkdocs.configuration key. We can modify this later to read the value from the rtd configuration file. Also, I had added some tests :)

Looks good. 👍

authors: ericholscher stsewd


text:
update class name that used in latest CommonMark package (v0.6.4)

Update class name that used in latest CommonMark package (v0.6.4).
This fixed the Issue #24 .

This should have the tests fixed before merging. Guessing we need to unpin the version of Commonmark? I believe there were larger issues with newer versions of Commonmark based on a refactor, more than the naming, that needs to be fixed.

Closing this due to lack of activity. Feel free to re-open with tests.

authors: ericholscher liangfu

repo: rtfd/recommonmark


text:
logger is not defined

It seems something overwrites logger
Was trying example in test/Websockettest.html

Sorry, I can't reproduce the error. Can you please give a more detailed explaination? Is the issue still present in the latest version?

Sorry my bad
...in my implementation I renamed log to logger simply because variable log was just undefined after inclusion of logger.js. No idea why so I supposed it's a bug.

authors: PanzerMarduk cproof

repo: rtr-nettest/rmbtws


text:
add engine to package.json (v5, master)

This helps in detecting compatibility issues right during the npm installation. Fix for #1

Thanks!


text:
Update audience props as optional

This PR update the audience props as optional to match auth0/auth0-react (cf. https://github.com/auth0/auth0-react/blob/master/src/auth0-provider.tsx#L139) and @auth0/auth0-spa-js

Thanks.

authors: rturnq xstevenyung


text:
Added .gemspec file, re-enabled caching by default

Two things:
Added .gemspec file which was generated by jeweler.
Re-enabled caching by default.
All tests pass.

coool

authors: mstump rubiojr

repo: rubiojr/yumrepo


text:
Import new spec

https://github.com/rubocop-hq/rubocop/pull/6070 added a new performance
spec. It also made some changes to a cop, but I haven't imported any cops yet.
I will get the latest rubocop master when I pull those in.

Thanks for dealing with that right away!

authors: composerinteralia koic

repo: rubocop-hq/rubocop-performance


text:
Add new Rails/RedundantForeignKey cop

The foreign key for an association can be overridden with the :foreign_key option. This cop detects when the specified value is the same as the default.
Aside from being unnecessary, setting the foreign key prevents the inverse association from being inferred automatically, which can lead to unnecessary queries.
The default foreign key logic implemented here matches what Rails does internally:
https://github.com/rails/rails/blob/95af87f0a4b6274a43853ed68b17e17c21f804f3/activerecord/lib/active_record/reflection.rb#L659-L667
I don't think this warrants an entry in the Rails Style Guide on its own, but a more general section about ensuring associations have inverses that mentions foreign_key as a gotcha might be useful.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] If this is a new cop, consider making a corresponding update to the Rails Style Guide.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thanks!

authors: eugeneius koic

repo: rubocop-hq/rubocop-rails


text:
[Fix #8990] Make Style/HashEachMethods aware of Thread.current

Fixes #8990.
This PR makes Style/HashEachMethods aware of built-in Thread.current. And Thread.current is set to AllowedReceivers by default that can be specified for method calls.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!

authors: bbatsov koic

repo: rubocop/rubocop


text:
Project hiatus

Hi Louis!
It would seem based on the commit history and domain expiration that the Mutiny testing framework became an inactive project as of one year ago. I would like to request, if you don't intend to actively develop this framework that the URL be relinquished for use.
I am working on an organization named Mutiny as well which attempts to provide students attending coding bootcamps with open-sourced supplementary material as well as a place to come together in general. We are currently using team-mutiny as our URL but we'd prefer to avoid any potential confusion and simply redirect students to mutiny.
TL;DR: we'd love to use your URL, if she'll have us back :)

Hi @teddy-error,
That's right -- I'm not actively developing Mutiny at the moment, so more than happy to pass on the organisation name. I'll rename the organisation that owns this project shortly, and then mutiny should be free for you to pick up.

Thank you for your kindness, @louismrose

authors: louismrose teddy-error

repo: ruby-mutiny/mutiny


text:
Numbered parameter mismatched Error strings

I do not posses the power to re-open #1820 but these are different string mismatches in numbered parameter errors not addressed in #1820.
Expected SyntaxError ((?-mix:_1 is reserved for numbered parameter))
but got: SyntaxError ((eval):1: _1 is reserved for a numbered parameter)

The additional a from Prism makes 3 spec failures in ruby/spec.  Additionally:
Expected SyntaxError ((?-mix:ordinary parameter is defined))
but got: SyntaxError ((eval):1: numbered parameters are not allowed alongside explicit parameters)

What a very specific spec failure. I will begrudgingly update them to include those phrases.

authors: enebo kddnewton

repo: ruby/prism


text:
Is the project being maintained?

Hello I am very interested in the Vessel Crawler, I found it simple and productive.
However, I have some doubts that are not in the README or more elaborate example.
bundle exec vessel new MyCrawler
How i run in PROD mode?
What would Fields or Middleware? How to use it?
Could this path lib/helpers be where I could put my classes, for example saved in a database or make a call in another api with data from the crawler ?
I can help improve this documentation with these features, but I need this initial kick to create a more complete documentation.
Thanks
Att.

It is! And it's actively used internally, it's just lack of time to keep the docs updated. In fact there's even more coming in this year. I'll give answers in the next comment.

@ricsdeol First of all I need to make new release and update the README a bit.

VESSEL_ENV=prod bundle exec vessel start crawler_name
Fields are used to declare types and parse values when assigning them. If you create a file for example:

Vessel::Crawler::FieldType.add(:desc) do |value|
  value.to_s.strip[0..20] + "..."
end

and then assign filed in the crawler:
field :desc, value: xpath(...)

it will be shortened to 20 chars when assignined.
3. Fields at the end are passed to middleware stack where you can transform and pass to other middlewares. Default middleware is Debug but for production you could add SendToProduction middleware that at the end will send data to given endpoint.
4. Helpers are just some services or modules that help to convert the data, you could create a class and put it there. For instance PriceHelper and so on.

authors: ricsdeol route

repo: rubycdp/vessel


text:
Add contributions section to readme

🔗 Issue
#254
✍ Description
Added a contributions section. This section has basic guide lines for contributing to Pet Rescue, including how to add someone as a contributor through a pr
📷 Screenshots/Demos

@kasugaijin Thank you for the notes. I added/delete what you mentioned. Here is a screen shot after the changes. Think this will do it.

@kasugaijin Thanks for the guidance, I will try to ask more questions up front next time.

repo: rubyforgood/pet-rescue


text:
MISCONF Redis is configured to save RDB snapshots

I'm getting following error at a regular interval:
Redis::CommandError in Private::FundsController#index
MISCONF Redis is configured to save RDB snapshots but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
daemons log file size is huge. and it also gives following error:
The application could not be started.
Exception type: Passenger::SystemException
Error message: Cannot create a temporary directory in the format of '/tmp/passenger-spawn-debug.XXX': No space left on device (errno=28)
Backtrace:
in 'void Passenger::SpawningKit::SmartSpawner::startPreloader()' (SmartSpawner.h:209) in 'virtual Passenger::SpawningKit::Result Passenger::SpawningKit::SmartSpawner::spawn(const Options&)' (SmartSpawner.h:801) in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (SpawningAndRestarting.cpp:95)
Could anyone please help me?

Hi @khalidMahmod
You are running out of your disk space. Just clean your disk & configure logrotate (or disable logs).

authors: khalidMahmod yivo

repo: rubykube/peatio


text:
Integrate ability to withdraw using Beneficiary model

Since we can store Beneficiaries in peatio starting from #2347 now we can implement user withdraw API for both fiat & crypto currencies. It means that in this patch we have replaced POST accounts/withdraw rid param with beneficiary_id. This change gives ability to use active beneficiaries for both fiat & crypto withdrawals.
beneficiary_id foreign key was added to Withdraw model so now it has optional belongs_to association with Beneficiary.
Also this patch improves Withdraw sum & amount precision logic. Instead of rounding attributes on creation now attributes precision is validated on Withdraw creation.
This patch also adds additional validation for Beneficiary data attribute

@mod

Do you agree with current implementation of Beneficiary [#rid] (https://github.com/rubykube/peatio/pull/2355/files#diff-6e05fe864ea0539ae975438cae065700R109). For me it looks like the most logical one

Do we need to expose also beneficiary data on listing withdraws ?

Do you agree with current implementation of Beneficiary #rid. For me it looks like the most logical one

  def rid
    currency.coin? ? data['address'] : beneficiary.fullname + currency
  end

Do we need to expose also beneficiary data on listing withdraws ? Or which fields do we need to add ?

Yes, display return withdrawal join full beneficiary in admin api.

authors: mod ysv


text:
FAQ's: last paragraph

FAQ's: the last paragraph, the bullet points are aligned left and the text is aligned to the center.
Suggestions:
Maybe this paragraph could be entirely aligned to the left?
Or the whole FAQ's aligned to the left?

I think it would be cool to have the whole FAQs left aligned. This was also the intended behaviour. But I think things changed when merged into the new design.

done :)

authors: netagonen sabrina-ulbrich zaziemo


text:
Expose device_id through session

I'm submitting this separately because I'm not sure that the second commit it is optimal.

Looks fine for now, though we may introduce a first-class DeviceId type to ruma-identifiers in the future. I'll comment here again once ruma-api-client is updated so you can update the dependency.

we may introduce a first-class DeviceId type to ruma-identifiers in the future.

I was wondering about that.  There are actually a bunch of identifier-type things for e2ee, but it isn't clear to me that they all belong in ruma-identifiers.
I wrote something which I use in my olm crate: https://github.com/musoke/e2e-types/blob/master/src/device/mod.rs  Happy to send a PR to ruma-identifiers: it would make things simpler for me for now.

The Matrix spec is generally not good at specifying the requirements for identifiers. Nevertheless, I think it'd be useful to have a DeviceId type even if it doesn't enforce much beyond a String. I will add that in soon.
I created an issue for device ID grammar on the spec if you'd like to follow it: https://github.com/matrix-org/matrix-doc/issues/1257

authors: jimmycuadra musoke

repo: ruma/ruma-client


text:
[Bug]: InvalidArgument on get_base_model for GeminiMultiModal

Bug Description
GeminiMultiModal(model_name="models/gemini-pro-vision") fails even though the model name is valid?
GEMINI_MM_MODELS = (
    "models/gemini-pro-vision",
    "models/gemini-ultra-vision",
)

Version
0.10.20
Steps to Reproduce
%pip install llama-index-multi-modal-llms-gemini
%pip install llama-index-vector-stores-qdrant
%pip install llama-index-embeddings-gemini
%pip install llama-index-llms-gemini
%pip install llama-index 'google-generativeai>=0.3.0' matplotlib qdrant_clien

from llama_index.multi_modal_llms.gemini import GeminiMultiModal
gemini_pro = GeminiMultiModal(model_name="models/gemini-pro-vision")

Relevant Logs/Tracbacks
---------------------------------------------------------------------------
InvalidArgument                           Traceback (most recent call last)
Cell In[9], [line 12](vscode-notebook-cell:?execution_count=9&line=12)
      [8](vscode-notebook-cell:?execution_count=9&line=8) display_img(image_urls[0])
     [10](vscode-notebook-cell:?execution_count=9&line=10) image_documents = load_image_urls(image_urls)
---> [12](vscode-notebook-cell:?execution_count=9&line=12) gemini_pro = GeminiMultiModal()

File [~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:105](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:105), in GeminiMultiModal.__init__(self, api_key, model_name, temperature, max_tokens, generation_config, safety_settings, api_base, transport, callback_manager, **generate_kwargs)
     [94](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:94)     raise ValueError(
     [95](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:95)         f"Invalid model {model_name}. "
     [96](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:96)         f"Available models are: {GEMINI_MM_MODELS}"
     [97](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:97)     )
     [99](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:99) self._model = genai.GenerativeModel(
    [100](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:100)     model_name=model_name,
    [101](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:101)     generation_config=final_gen_config,
    [102](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:102)     safety_settings=safety_settings,
    [103](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:103) )
--> [105](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:105) self._model_meta = genai.get_model(model_name)
    [107](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:107) supported_methods = self._model_meta.supported_generation_methods
    [108](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/llama_index/multi_modal_llms/gemini/base.py:108) if "generateContent" not in supported_methods:

File [~/.python/current/lib/python3.10/site-packages/google/generativeai/models.py:49](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/google/generativeai/models.py:49), in get_model(name, client)
     [47](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/google/generativeai/models.py:47) name = model_types.make_model_name(name)
     [48](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/google/generativeai/models.py:48) if name.startswith("models/"):
---> [49](https://vscode-remote+codespaces-002bhumble-002drotary-002dphone-002d4g5wg9rx37q7p.vscode-resource.vscode-cdn.net/workspaces/notebooks/notebooks/~/.python/current/lib/python3.10/site-packages/google/generativeai/models.py:49)     return get_base_model(name, client=client)
...
metadata {
  key: "service"
  value: "generativelanguage.googleapis.com"
}
]

Well, same with just invoking GeminiMultiModal() without a model_name, it should basically pick up GEMINI_MM_MODELS[0]
model_name: str = Field(
        default=GEMINI_MM_MODELS[0], description="The Gemini model to use."
    )

>>> import google.generativeai as genai

>>> for m in genai.list_models():
...   print(m.name)
...
models/chat-bison-001
models/text-bison-001
models/embedding-gecko-001
models/gemini-1.0-pro
models/gemini-1.0-pro-001
models/gemini-1.0-pro-latest
models/gemini-1.0-pro-vision-latest
models/gemini-pro
models/gemini-pro-vision
models/embedding-001
models/aqa

@hatianzhang does this work for you?

@hemanth could it be that the error is not because of the model name? AFAIK llama-index passes three arguments to the genai.GenerativeModel class, model_name, generation_config, and safety_settings.
self._model = genai.GenerativeModel(
            model_name=model_name,
            generation_config=final_gen_config,
            safety_settings=safety_settings,
        )

This is from https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-gemini/llama_index/multi_modal_llms/gemini/base.py
It may also be that the types for generation_config, and safety_settings is not supported anymore by google.
For example, the generation_config type can be a union of three things:
GenerationConfigType = Union[glm.GenerationConfig, GenerationConfigDict, GenerationConfig]

And as far as I understand it, the GenerationConfigDict, which inherits from TypedDict, MUST have four keys: candidate_count: int
stop_sequences: Iterable[str]
max_output_tokens: int
temperature: float
class GenerationConfigDict(TypedDict):
    # TODO(markdaoust): Python 3.11+ use `NotRequired`, ref: https://peps.python.org/pep-0655/
    candidate_count: int
    stop_sequences: Iterable[str]
    max_output_tokens: int
    temperature: float

In llama-index, if a generation_config is not defined when called GeminiMultiModal(), a base_gen_config dict is created which contains only temperature as a key/value pair, not the other values.
Tl;dr - can you try defining a generation_config and a safety_settings when calling the GeminiMultiModal class?
Potential quick fixes - Maybe we remove the base_gen_config entirely? Google's generative ai library is able to support if generative_config and satefy_settings are None.

authors: chilicrabcakes hemanth


text:
[Bug]: RaptorRetriever query error : RuntimeError: this event loop is already running.

Bug Description
Use sanic as a web server to provide an interface. Use the RetrieverQueryEngine to query query_engine.query(""), and report RuntimeError: this event loop is already running.
Version
0.10.52
Steps to Reproduce
retriever = RaptorRetriever(
[],
embed_model=OpenAIEmbedding(
model="text-embedding-3-small", api_key=api_key, api_base=base_url
),  # used for embedding clusters
llm=OpenAI(model="gpt-3.5-turbo", temperature=0.1,
api_key=api_key, api_base=base_url),
# used for generating summaries
vector_store=vector_store,  # used for storage
similarity_top_k=2,  # top k for each layer, or overall top-k for collapsed
mode="tree_traversal",  # sets default mode
)
query_engine = RetrieverQueryEngine.from_args(
retriever, llm=OpenAI(model="gpt-3.5-turbo", temperature=0.1,
api_key=api_key,
api_base=base_url),
text_qa_template=CHAT_TEXT_QA_PROMPT,
streaming=True,
response_synthesizer=synth,
use_async=True
)
@app.route("/test", methods=['POST'])
async def test(req: request):
res = query_engine.query("who are you").response_gen
return res
if name == "main":
app.run(host='0.0.0.0', port=8777, workers=1, access_log=False)
Relevant Logs/Tracbacks
File "/raptor/venv/lib/python3.11/site-packages/nest_asyncio.py", line 35, in run
    loop.run_until_complete(task)
  File "uvloop/loop.pyx", line 1511, in uvloop.loop.Loop.run_until_complete
  File "uvloop/loop.pyx", line 1504, in uvloop.loop.Loop.run_until_complete
  File "uvloop/loop.pyx", line 1377, in uvloop.loop.Loop.run_forever
  File "uvloop/loop.pyx", line 518, in uvloop.loop.Loop._run
RuntimeError: this event loop is already running.

I see uvloop, so I'm guessing you are using fastapi
Try setting the loop type unicorn.run(...., loop="asyncio")

i used Sanic

Hello, @ljhssga! 👋 I'm here to help you with any bugs, questions, or contributions you have. I'm an expert bot designed to assist you while you wait for a human maintainer.
To resolve the RuntimeError: this event loop is already running when using Sanic as a web server and querying with RetrieverQueryEngine, you can use the nest_asyncio library. This library allows you to nest asyncio event loops, which can help you run an event loop within an already running event loop.
Here's how you can modify your code:

Install nest_asyncio:pip install nest_asyncio

Apply nest_asyncio in your code:import nest_asyncio
nest_asyncio.apply()

Update your Sanic app:import nest_asyncio
from sanic import Sanic
from sanic.response import json
from your_module import RaptorRetriever, RetrieverQueryEngine, OpenAIEmbedding, OpenAI, vector_store, CHAT_TEXT_QA_PROMPT, synth

# Apply nest_asyncio
nest_asyncio.apply()

app = Sanic("MyApp")

retriever = RaptorRetriever(
    [],
    embed_model=OpenAIEmbedding(
        model="text-embedding-3-small", api_key=api_key, api_base=base_url
    ),
    llm=OpenAI(model="gpt-3.5-turbo", temperature=0.1, api_key=api_key, api_base=base_url),
    vector_store=vector_store,
    similarity_top_k=2,
    mode="tree_traversal",
)

query_engine = RetrieverQueryEngine.from_args(
    retriever, llm=OpenAI(model="gpt-3.5-turbo", temperature=0.1, api_key=api_key, api_base=base_url),
    text_qa_template=CHAT_TEXT_QA_PROMPT,
    streaming=True,
    response_synthesizer=synth,
    use_async=True
)

@app.route("/test", methods=['POST'])
async def test(req):
    res = await query_engine.aretrieve("who are you")
    return json(res)

if __name__ == "__main__":
    app.run(host='0.0.0.0', port=8777, workers=1, access_log=False)

By applying nest_asyncio, you can avoid the RuntimeError and run your Sanic web server alongside other asynchronous tasks [1][2].
To continue talking to Dosu, mention @dosu.

It doesn't work

I tried to add
import nest_asyncio
nest_asyncio.apply()
But he still didn't work


text:
[Bug]: Bedrock converse LLM

Bug Description
I am trying to use bedrockConverse LLM and use it to generate the summary in following way
llm = BedrockConverse(
               model=llm_prediction_model,
               region_name=region_name,
               timeout=llm_api_timeout,
               callback_manager=self.__rag_svc.get_llm_callback_manager(
                           handlers=[llm_debug_callback, llm_counter_callback]
                       )
           )

resp = llm.complete(query)

same prompt is working fine on my local, But as soon as i move to dev environment it is giving me error
Invalid payload! Need prompt and completion or messages and response
my ecs is present under vpc which is in eu-west-2 but the model i am using is anthropic.claude-3-5-sonnet-20240620-v1:0 which is in us-east-1, but the error message does not signify this is the issue
prompt used is
The Economist Style guide is below:
- Do not say "The article " in any part of the summary
- DO NOT mention any information like "Here is a summary in The Economist style, using bullet points" in the summary at all, Just start with the
summary
- Create summary without telling the user that the article is being summarised.
- Do not use clichés, idioms or figures of speech that are widely found in journalism. For example do not use phrases like "Much ink has been spilled".
- Do not use long, rare or high-register words where short and common alternatives are available. For example the word "prestidigitation" should be replaced with "magic" or "sleight of hand".
- Remove extra words, phrases and sentences that add no extra meaning. Phrases that include such extra words are sometimes called tautologies, pleonasms or redundancies. For example, each of the phrases below should be replaced with the word or shorter phrase in parentheses that follow. absolute certainty (certainty), policymaking process (policymaking), past, lived or personal experience (experience), empirical research (research, or a study), in close proximity to (close to). In general, be as simple and concise as possible.
- In general, be as concise and simple as possible and remove all redundancies.
- The passive voice is a grammatical structure like “The ball was kicked by the boy” or “The building was burned down by arsonists.” In these sentences the grammatical subjects are “the ball” and “the building”. But the performer of the action is “the boy” or “arsonists”. Do not use the passive voice when you can use the active voice. The two sentences above should be replaced with “The boy kicked the ball” and “Arsonists burned down the building.” Some passive-voice sentences do not mention who performed the action, as in “Several protesters were killed.” Such sentences should be reworded as active ones, with the performer of the action named, as in “Police killed several protesters.”
- Do not use years before nouns as though they were adjectives, as in “a 1999 election”, “a 2013 paper”, “the 1973 decision that legalised abortion”. Instead use “an election in 1999”, a paper published in 2013” or “the decision that legalised abortion in 1973”.
- Do not use “likely” as an adverb, as in “He will likely meet with the prime minister next week.” Use “likely” only as an adjective, as in “New elections are now likely.”
- Do not use Americanisms and instead use the British spellings of words. For example use, “colour” not “colour”, and “specialised” in place of “specialized”. In general words with “ize” should be replaced with “ise”. Use “car” not “automobile”, “company” not “corporation”, “transport” not “transportation”, “district” not “neighbourhood”). There are many other Americanisms that should be replaced with British English variants. Please find all of them.
- Do not prefix the summary with “The article ” or similar phrases. Instead, start the summary with the main points of the article.

The expected output format:
- Use bullet points to list out three key points

Please summarise using the Economist style guide:
Rama
Significance of Rama

Ram Lalla, the five-year old form of Rama is the principal deity of the Ram Mandir.
Rama is a prominent Hindu deity who is regarded as a Pūrṇāvatāra (lit. 'complete avatar') of the God Vishnu.[c] and some Hindus view Rama as Para Brahman (lit. 'The ultimate Brahman'). Rama holds huge significance in Hindu culture and religion. In the Rama avatar, Vishnu is not supposed to exhibit any of his divine potencies and lead life as a human.[30] As Rama is said to have possessed sixteen ideal qualities, Hindus view Rama as Puruṣottama (lit. 'The ideal man'), Vigrahavān dharmaḥ (lit. 'Embodiment of Dharma') and Ādi Puruṣa .[31][32][d] According to the Hindu epic Ramayana, Rama was born in Ayodhya.[33] Ayodhya is among seven most sacred cities to Hindus.[34]

Pilgrim site
Three places in Ayodhya are considered as prominent puṇya kṣētra (lit. 'virtued pilgrimage site') by Hindus. They are Janmasthāna (lit. 'The birthplace'), Svargadvāra (lit. 'The gateway to Heaven') and Yajñasthala (lit. 'Place where holy sacrifice was performed'). Temples commemorating these events used to exist in olden days as Janmasthān temple, Svargadvār temple and Trētā-kā-Thākūr temple respectively. However, they were destroyed during Islamic rule in the medieval ages and mosques were built.[35][36] While Marxist historians like Irfan Habib agree about the fate of Svargadvar and Treta-ka-Thakur temples, there is some lack of consensus among scholars whether Janmasthan temple was destroyed or not during Medieval rule which eventually led to Ayodhya dispute that was resolved legally.[37] The Trayōdaśakṣarī maṁtra (lit. '13-character mantra') also known as Śrī Rāma Tāraka Mantra (lit. 'The Rama mantra for Salvation') is Śrī Rāma Jaya Rāma Jaya Jaya Rāma and many Hindus believe that chanting it repeatedly lead to salvation.[38][39] Tāraka means something that carries or helps a Jīva (lit. 'a living being') cross the ocean of samsara. Devotees of Rama such as Valmiki, Tulsidas, Bhadrachala Ramadasu, Samartha Ramadas, Tyagaraja, Purandara Dasa, Gondavalekar Maharaj and Mahatma Gandhi popularised this mantra.[40]

Deity
See also: Balak Ram
Ram Mandir is being built to commemorate the birth of Rama at his Janmasthan. Therefore, the presiding deity of the temple is supposed to be the infant form of Rama, an avatar of Vishnu. Rama in that infant form was referred as Ram Lalla (lit. 'Child Rama') by Tulsidas. However, the idol of Rama that was placed in 1949 referred to as Ram Lalla Virajman (lit. 'Installed Child Rama') by local Hindus.[41] Ram Lalla was a litigant in the court case over the disputed site in 1989, being considered a "juristic person" by the law.[3] He was represented by Triloki Nath Pandey, a senior VHP leader who was considered Ram Lalla's closest 'human' friend.[41] As a new idol of the deity got installed in the sanctum sanctorum as the Mūlavirāt mūrti (lit. The main presiding deity),[e] the Mandir Trust has informed that the Ram Lalla Virajman idol of 1949 shall henceforth be used as Utsava mūrti (lit. idol for festivals).[44]

History
See also: Ram Janmabhoomi and Ayodhya dispute
Ayodhya dispute
Archaeology of Ayodhya Vishnu Hari inscriptionBabri Masjid Demolition of the Babri MasjidRam JanmabhoomiAyodhya firing incident2005 Ram Janmabhoomi attack2019 Supreme Court verdictRam MandirMuhammad bin Abdullah Masjid
Organizations
Hindu MahasabhaVishva Hindu ParishadRam Janmabhoomi NyasBharatiya Janata PartyLiberhan CommissionNirmohi AkharaUttar Pradesh Sunni Central Waqf Board
vte
The site is the former location of the Babri Masjid, which was built in the 16th century. The mosque was attacked and demolished in 1992.[13][14][15] In 2019, the Supreme Court of India delivered the verdict to give the disputed land to Hindus for the construction of a temple, while Muslims would be given land elsewhere to construct a mosque.[45]

Medieval

1717 CE Map of Ayodhya's Ram Mandir at Jaipur City Palace
In 1528, the commander of the Mughal Empire, Mir Baqi, constructed the Babri Masjid mosque, under the order of Babur, on the site of the Ram Janmabhoomi, the mythical birthplace of Rama.[46][page needed] The earliest record of the mosque may be traced back to 1767, in the Latin book Descriptio Indiae, authored by the Jesuit missionary Joseph Tiefenthaler. According to him, the local population believed that the mosque was constructed by destroying the Ramkot temple, believed to be the fortress of Rama in Ayodhya, and the Bedi, where the birthplace of Rama is situated.[47][48]

The Ram Mandir is being built to commemorate the birth of Rama at his Janmasthan. The presiding deity of the temple is supposed to be the infant form of Rama, an avatar of Vishnu. Rama is a prominent Hindu deity who is regarded as a Pūrṇāvatāra of the God Vishnu and some Hindus view Rama as Para Brahman. Three places in Ayodhya are considered as prominent puṇya kṣētra by Hindus. They are Janmasthāna, Svargadvāra and Yajñasthala. The site is the former location of the Babri Masjid, which was built in the 16th century and demolished in 1992. In 2019, the Supreme Court of India delivered the verdict to give the disputed land to Hindus for the construction of a temple, while Muslims would be given land elsewhere to construct a mosque.

Rama, a Hindu deity and avatar of Vishnu, is the principal deity of Ram Mandir in Ayodhya. Considered the ideal man and embodiment of dharma, Rama's birthplace Ayodhya is sacred to Hindus. The temple site, formerly Babri Masjid, was disputed until a 2019 Supreme Court verdict allowed temple construction. The infant form, Ram Lalla, is the presiding deity.
The Ram Mandir is being built to commemorate the birth of Rama at his Janmasthan. The presiding deity of the temple is supposed to be the infant form of Rama, an avatar of Vishnu. The site is the former location of the Babri Masjid, which was built in the 16th century and demolished in 1992. In 2019, the Supreme Court of India delivered the verdict to give the disputed land to Hindus for the construction of a temple.

Version
0.1.30
Steps to Reproduce
mentioned above
Relevant Logs/Tracbacks
No response

llama_index==0.10.30
llama-index-core==0.10.57
langchain==0.0.312
tiktoken
python-dotenv
fastapi==0.98.0
loguru
pymongo==4.6.1
motor
bs4
newrelic==8.8.1
okta_jwt_verifier
sqlalchemy==2.0.25
pgvector>=0.2.4,<0.3.0  # Adjusted for compatibility
psycopg2-binary==2.9.9
asyncpg==0.29.0
tenacity==8.2.3
opensearch-py==2.5.0
greenlet==2.0.2
uvicorn==0.24.0.post1
nltk==3.8.1
xmltodict==0.13.0
llama-hub==0.0.12
boto3==1.34.122
certifi==2023.7.22
alembic==1.11.3
python-jose==3.3.0
redis
cachetools==5.3.2
unstructured==0.10.19
LLaMA related packages, ensure no version conflicts
llama-index-llms-openai==0.1.28
llama-index-agent-openai
llama-index-vector-stores-postgres==0.1.5
llama-index-vector-stores-opensearch==0.1.11
llama-index-embeddings-text-embeddings-inference==0.1.2
llama-index-storage-docstore-mongodb
llama-index-readers-s3
llama-index-storage-index-store-mongodb
llama-index-storage-kvstore-mongodb==0.1.2
llama-index-embeddings-openai
llama-index-llms-bedrock-converse==0.1.6
PyJWT==2.0.0
For testing
pytest==7.2.1
pytest-asyncio==0.23.7
parameterized==0.9.0
aioresponses==0.7.6
pre-commit
sagemaker==2.223.0
For CDK
aws-cdk-lib==2.146.0
constructs>=10.0.0,<11.0.0
setuptools==70.2.0

O i think you are right , but llm.complete has first parameter as prompt
def complete(
self, prompt: str, formatted: bool = False, **kwargs: Any
) -> CompletionResponse:
i don't think we need to pass in explicipely.
config is absolutely in sync, please grill down a bit more, i don't think it is the basic one

as i alrready mentioned i debugged it locally it is working fine, i cannot apply debugger on dev as packages are installed at runtime there

what permissions shall i add in ecs container to access bedrock converse api, right now i have added below ones
for k in sm_secrets:
sm_secrets[k].grant_read(task_definition.task_role)
    content_drop_bucket.grant_read(task_definition.task_role)

    bedrock_policy = iam.PolicyStatement(
        actions=[
            "bedrock:InvokeEndpoint",
            "bedrock:ListEndpoints"
        ],
        resources=["*"]
    )
    task_definition.add_to_task_role_policy(bedrock_policy)

do you think Error in summarization Invalid payload! Need prompt and completion or messages and response.this error can anyhow be related to ecs container not able to access converse api, my prompt structure is right as bedrock convers api itself convers the prompt into correct format

Ok my ecs task is running in a vpc and i want to access bedrock converse api from that ecs task, tell me what configurations do i need to change in addition to above one

Going to close this out, the issue was that the token counter was masking the real error
Removing the token counter would have shown the real error
This is fixed in latest versions (releasing the fix soon)

authors: MeghaWalia-eco logan-markewich


text:
[Documentation]: Questions for RedisIndex

Documentation Issue Description
May I ask for more explaination for doc of RedisStore.

How to load index in RedisVectorStore that had been loaded previously? (So that it avoids embedding and cost again.)
Would SimpleDirectoryReader('data').load_data() do it automatically (Assume files are all unchange)
Or neither of it and VectorStoreIndex.from_documents do it, which means I need to implement this layer myself?

I also suggest that add 'retriever = index.as_retriever()' part to this page, so that readers can understand its usage with flexibility.
Documenation Link
https://gpt-index.readthedocs.io/en/latest/examples/vector_stores/RedisIndexDemo.html

I've tried something like this:
r = redis.Redis()
    check_exist = r.get(f"added:{index_name}")
    if check_exist:
        print(f"index {index_name} found.")
        vector_store = RedisVectorStore(
                index_name=index_name,
                index_prefix="llama",
                redis_url=redisURL,
                # overwrite=True,
            )
        storage_context = StorageContext.from_defaults(vector_store=vector_store)
        index = load_index_from_storage(storage_context=storage_context)

However it says:

index = load_index_from_storage(storage_context=storage_contex)
ValueError: No index in storage context, check if you specified the right persist_dir.

I've refered other source, but it did not apply to Redis:
https://gpt-index.readthedocs.io/en/latest/core_modules/data_modules/storage/save_load.html
storage_context = StorageContext.from_defaults(
    docstore=SimpleDocumentStore.from_persist_dir(persist_dir="<persist_dir>"),
    vector_store=SimpleVectorStore.from_persist_dir(persist_dir="<persist_dir>"),
    index_store=SimpleIndexStore.from_persist_dir(persist_dir="<persist_dir>"),
)

Also, RedisVectorStore seems do not have a smilar function called 'from_persist_dir' or 'from_persist'.

I've found code here and tried to put them togeher:
https://github.com/jerryjliu/llama_index/pull/6619
index_store = RedisIndexStore.from_host_and_port(
            host="localhost", port=6379, namespace="llama_index"
        )
        storage_context = StorageContext.from_defaults(vector_store=vector_store, index_store=index_store)
        index = load_index_from_storage(storage_context)

It still says

ValueError: No index in storage context, check if you specified the right persist_dir.

There I've traced to:
llama_index/indices/loading.py line 64:

index_structs = storage_context.index_store.index_structs()

This line returns empty 'index_structs' as []
That's the furthest way I can explore on my own.

I've tried another piece here:
https://gpt-index.readthedocs.io/en/latest/core_modules/data_modules/index/vector_store_guide.html
vector_store = RedisVectorStore(
                index_name=index_name,
                index_prefix="llama",
                redis_url=redisURL,
                # overwrite=True,
            )

# ADD HERE:
index = VectorStoreIndex.from_vector_store(vector_store=vector_store)

I was able to proceed to:
r = index.as_retriever()
response = r.retrieve(promt_text)

Then got a strange error from redis:
INFO:llama_index.vector_stores.redis:Querying index index_name
Querying index index_name
...
... return self._retrieve(str_or_query_bundle)
... query_result = self._vector_store.query(query, **self._kwargs)
... response = connection.read_response()
/redis/connection.py", line 905, in read_response
    raise response
redis.exceptions.ResponseError: Property `vector_score` not loaded nor in schema

That final approach is the intended way to load a saved vector store
Not sure on that error though, that's a little weird 🤔

That final approach is the intended way to load a saved vector store
Not sure on that error though, that's a little weird 🤔

Now everything is functioning normally, but I have no clue whatsoever.

any resolution to this vector_score problem
despite following the same code its still showing the same error
raise response
redis.exceptions.ResponseError: Property vector_score not loaded nor in schema

I am also getting this error, very strange as the code ran fine, then I flushed the DB and recreated the index in exactly the same way and my next query threw that error.  FT.INFO reveals the a correct index.