text:
[3.0.1-rc1] Proxmox 8.1.4 Cloud init not working

When provisioning a virtual machine (VM) using the Telmate Terraform plugin for Proxmox, with a base on a pre-configured cloud-init template, the resulting VM loses all its configuration settings, such as boot disk, RAM, and core allocations.
Environment Details
Proxmox version: 8.1.4
Telmate Terraform plugin version: 3.0.1-rc1
Terraform version: v1.7.1 on linux_amd64
Cloud-init template settings taken from Proxmox Documentation
terraform {
  required_providers {
    proxmox = {
      source = "Telmate/proxmox"
      version = "3.0.1-rc1"
    }
  }
}

provider "proxmox" {
  # Configuration options
   pm_api_url = "https://127.0.0.1:8006/api2/json"
}

resource "proxmox_vm_qemu" "test" {
   name        = "test"
   target_node = "pve"
   clone       = "focal64"
}

The resource example is take from plugin documentation
Another strange behaviour is that as soon as start all works

After some times all configuration disappear

I have the same issue. Some people say that its working but officially that doesn't work and is mentioned here
https://github.com/Telmate/terraform-provider-proxmox/issues/922
I believe here is a PR to fix this : https://github.com/TechDufus/home.io/pull/4

@TheLillo Hi, I've been trying to find a workaround for this for some time and I finally found it: https://github.com/Telmate/terraform-provider-proxmox/issues/901#issuecomment-1939589804
Hope it helps.

@TheLillo Hi, I've been trying to find a workaround for this for some time and I finally found it: #901 (comment)
Hope it helps.

I doubt that this is not the case. :/

Same issue for me. I use local-zfs.

I've had the same problem - here's what I did to fix it

On your Proxmox server, run the following to create your cloud-init template VM
In my case I'm using the latest Ubuntu 22.04 cloud-init image
Note as well that I'm using virt-customize to install the qemu guest agent to the VM as it's required for terraform destroy and to confirm that the agent is installed

wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
apt install guestfs-tools
virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent
qm create 9000 --name ci-template --memory 2048 --net0 virtio,bridge=vmbr2 --scsihw virtio-scsi-pci
qm set 9000 --scsi0 local-lvm:0,import-from=/root/jammy-server-cloudimg-amd64.img
qm set 9000 --ide2 local-lvm:cloudinit
qm set 9000 --boot order=scsi0
qm set 9000 --serial0 socket --vga serial0
qm template 9000

The docs for this next part are wrong

cloudinit_cdrom_storage - string - Set the storage location for the cloud-init drive. Required when specifying cicustom.

This isn't true and needs to be defined in your Terraform config even if you're not using cicustom
In my case I just needed to define the variable cloudinit_cdrom_storage  as local-lvm

After doing all of this, my Terraform applies now work

Awesome, but you what is the universal solution? You for example are using cloudinit during template creation

qm set 9000 --ide2 local-lvm:cloudinit
That's ok but worked in Proxmox v7. Now In proxmox 8 doesn't. Some say that cloudinit shouldn't be set at all in template. Other say that it should be on ide3. None of that worked. I'm using cicustom and when there is phase when terraform resize the disk to bigger one and sets cloudinit suddenly cloudinit isn't attached at all and on ide2 empty cdrom appears. And that's the problem. Anyone who fix this isn't using cicustom using snippets.

Interesting, I think there's a PR coming to fix this for good, but in the
meantime this works for people like me just doing a simple cloud init config
Annoying that this doesn't work for people using cicustom though
On Tue, 13 Feb 2024, 17:17 Konrad, @.***> wrote:

I've had the same problem - here's what I did to fix it

On your Proxmox server, run the following to create your cloud-init
template VM
In my case I'm using the latest Ubuntu 22.04 cloud-init image
Note as well that I'm using virt-customize to install the qemu guest
agent to the VM as it's required for terraform destroy and to confirm
that the agent is installed

wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
apt install guestfs-tools
virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent
qm create 9000 --name ci-template --memory 2048 --net0 virtio,bridge=vmbr2 --scsihw virtio-scsi-pci
qm set 9000 --scsi0 local-lvm:0,import-from=/root/jammy-server-cloudimg-amd64.img
qm set 9000 --ide2 local-lvm:cloudinit
qm set 9000 --boot order=scsi0
qm set 9000 --serial0 socket --vga serial0
qm template 9000

The docs for this next part are wrong

cloudinit_cdrom_storage - string - Set the storage location for the cloud-init drive. Required when specifying cicustom.

This isn't true and needs to be defined in your Terraform config
even if you're not using cicustom
In my case I just needed to define the variable cloudinit_cdrom_storage
as local-lvm

After doing all of this, my Terraform applies now work
Awesome, but you what is the universal solution? You for example are using
cloudinit during template creation
qm set 9000 --ide2 local-lvm:cloudinit
That's ok but worked in Proxmox v7. Now In proxmox 8 doesn't. Some say
that cloudinit shouldn't be set at all in template. Other say that it
should be on ide3. None of that worked. I'm using cicustom and when there
is phase when terraform resize the disk to bigger one and sets cloudinit
suddenly cloudinit isn't attached at all and on ide2 empty cdrom appears.
And that's the problem. Anyone who fix this isn't using cicustom using
snippets.
—
Reply to this email directly, view it on GitHub
https://github.com/Telmate/terraform-provider-proxmox/issues/935#issuecomment-1942041794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBSAZ6DR2VO3AAN4YRZUA3YTON33AVCNFSM6AAAAABDDSNMVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSGA2DCNZZGQ
.
You are receiving this because you commented.Message ID:
@.***>

@USBAkimbo  you are referring to this https://github.com/Telmate/terraform-provider-proxmox/pull/937 ? I hope this will help as it removes that damn ISO which is so useless.

I have almost the same issue. But in my provisioning process the Cloudinit dissapear Some people say that its working but officially that doesn't work and is mentioned here #922 I believe here is a PR to fix this : TechDufus/home.io#4

As the owner of that PR, my workaround is setting the agent = 0 during VM creation. That allowed my cloud init settings (set in the vm module) to properly apply. After that I change the agent = 1 and move on
And my PR is my personal setup, not for the provider. I'm still a novice that's just using the providers other people are making 😅

hello, I've tried electropolis solution without any success, it still removes disks during after VM creation, during cloudinit boot (haven't tried other options)
agent toggling doesnt change anything in my case.

I've posted a minimal example over here that works to deploy a VM with cloud init enabled. I'm testing on Proxmox 7.4-17 and my template VM has cloud init enabled.
I've also submitted a merge request to update the documentation to indicate that cloudinit_cdrom_storage is always required when using cloud init. #939
Hopefully the example either works for others and can help people determine what's different between their terraform and my example, or it doesn't work and we can figure out if it's another issue (e.g. an incompatibility with the Proxmox 8.x release).
None of this addresses the problem of cicustom not working, but we'll get a separate ticket to focus specifically on that problem.

I also encounter the issue of cicustom not working as expected, but I want to execute scripts post VM deployment.
In my case, if I set cicustom correctly, then cicustom, ciuser, cipassword, etc., will not work either, leading to an inability to log into my VM to check any messages, and the default ubuntu also don't work.
If not use cicustom to execute script, I use Provisioner, but I don't know how that SSH login to the VMs inside PVE using passwords (in connection segment), I only can't SSH login to main console of my node.
Any helpful suggestions would be greatly appreciated.

I need to investigate the "cicustom doesn't work" issue because it should work and as best I can tell, it doesn't.
Until that is resolved, I can only offer you a workaround, which is using the pattern that I use when deploying VMs:

Use Terraform and Cloud Init to create the VM and set the IP address, netmask, gateway, DNS server, and SSH keys
Use ansible to SSH in and run any scripts that need run (installing nginx, setting up Nextcloud, etc.)

I chain these two things together with a resource "null_resource" "provisioning" block in my terraform, and then a block in there that looks something like this:
  provisioner "local-exec" {
    command = "cd ../../ansible/test_environment; ansible-playbook --limit ${var.fqdn} ../${var.fqdn}.yml"
  }

I know this is not a solution, only a workaround, but it's the best I have for you at the moment.

I need to investigate the "cicustom doesn't work" issue because it should work and as best I can tell, it doesn't.
Until that is resolved, I can only offer you a workaround, which is using the pattern that I use when deploying VMs:

Use Terraform and Cloud Init to create the VM and set the IP address, netmask, gateway, DNS server, and SSH keys
Use ansible to SSH in and run any scripts that need run (installing nginx, setting up Nextcloud, etc.)

I chain these two things together with a resource "null_resource" "provisioning" block in my terraform, and then a block in there that looks something like this:
  provisioner "local-exec" {
    command = "cd ../../ansible/test_environment; ansible-playbook --limit ${var.fqdn} ../${var.fqdn}.yml"
  }

I know this is not a solution, only a workaround, but it's the best I have for you at the moment.

We can debate what solution is working but that's not the case. It's a workaround that doesn't even applied the current scenario with cicustom . By definition workaround should be something that address current problem and relies with the same methods that doesn't work by providing a capable workaround using the same schema. Setting those minimalistic settings using those ciuser cipassword and so on is not the case here because that limits the functionality of cloudinit. With cicustom that relies on yaml snippets with cloudinit give SO MUCH more. Makes an ultimate images that doesn't need to be set additionally with ansible and all other roles that will prepare the image after post provisioning. Plus using ansible doesn't gives you immutable infrastructure. So basically you have an Image that can be change freely when it comes to cloudinit inside image you cannot. And that's the whole point of it. This is also the schema that included in many cloud providers when setting up flavours. All images in those flavours are pre-defined with some cloud settings and cannot be changed by any customer until he uses his own images but then he will lose much more of the cloud functionality when it comes monitoring that vm for example. This is what NOT having a more extensive cloudinit gives you.

As suggested above, I solved creation issues with cloudinit_cdrom_storage, and it works. But another problem is that an attempt to execute terraform apply again wants to re-create everything again. The thing that "forces replacement" is cicustom that it wants to set no null.
Other things it detects as need changing include ciuser, numa, qemu_os, smbios, network.mtu.
Finally, it wants to drop vga { type = "serial0", memory = 0 } and create another vga { type = "serial0" }.
Not sure if I need to create another issue to report all this, seems to be caused by the same thing.

This should be resolved in the latest build #959 has an example.

I've posted a minimal example over here that works to deploy a VM with cloud init enabled. I'm testing on Proxmox 7.4-17 and my template VM has cloud init enabled.
I've also submitted a merge request to update the documentation to indicate that cloudinit_cdrom_storage is always required when using cloud init. #939
Hopefully the example either works for others and can help people determine what's different between their terraform and my example, or it doesn't work and we can figure out if it's another issue (e.g. an incompatibility with the Proxmox 8.x release).
None of this addresses the problem of cicustom not working, but we'll get a separate ticket to focus specifically on that problem.

I also encounter the issue of cicustom not working as expected, but I want to execute scripts post VM deployment.
In my case, if I set cicustom correctly, then cicustom, ciuser, cipassword, etc., will not work either, leading to an inability to log into my VM to check any messages, and the default ubuntu also don't work.
If not use cicustom to execute script, I use Provisioner, but I don't know how that SSH login to the VMs inside PVE using passwords (in connection segment), I only can't SSH login to main console of my node.
Any helpful suggestions would be greatly appreciated.

If you can't ssh into the cloud-init VM and want to ssh into it using user/password ; you can exec into VM using xterm.js on proxmox UI. Head into the  directory  "/etc/ssh/sshd_config.d" , there might be a .conf file. Change the value to "PasswordAuthentication yes" and then restart sshd service. Try ssh into the VM again using username and password.

I've had the same problem - here's what I did to fix it
* On your Proxmox server, run the following to create your cloud-init template VM

* In my case I'm using the latest Ubuntu 22.04 cloud-init image

* Note as well that I'm using virt-customize to install the qemu guest agent to the VM as it's required for `terraform destroy` and to confirm that the agent is installed

wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
apt install guestfs-tools
virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent
qm create 9000 --name ci-template --memory 2048 --net0 virtio,bridge=vmbr2 --scsihw virtio-scsi-pci
qm set 9000 --scsi0 local-lvm:0,import-from=/root/jammy-server-cloudimg-amd64.img
qm set 9000 --ide2 local-lvm:cloudinit
qm set 9000 --boot order=scsi0
qm set 9000 --serial0 socket --vga serial0
qm template 9000

* The docs for this next part are wrong

cloudinit_cdrom_storage - string - Set the storage location for the cloud-init drive. Required when specifying cicustom.

* This isn't true and needs to be defined in your Terraform config even if you're not using `cicustom`

* In my case I just needed to define the variable `cloudinit_cdrom_storage ` as `local-lvm`

After doing all of this, my Terraform applies now work

Thank you very much for this, I've been looking everywhere for this answer... Everything clicked in place with this setting. For future reference and to facilitate google searches, here are the keywords I've been typing the past day :

No CloudInit Drive found
CloudInit configuration ignored
Terraform doesn't attributes an IP to my VM

And here is my Terraform config :
terraform {
  required_providers {
    proxmox = {
      source = "telmate/proxmox"
      version = "3.0.1-rc1"
    }
  }
}

provider "proxmox" {
  pm_api_url = "https://192.168.1.20:8006/api2/json"

  pm_api_token_id = "XXX@pve!XXX"
  pm_api_token_secret = "XXXXXX"
  pm_tls_insecure = true
}

resource "proxmox_vm_qemu" "test_server" {
  count = 1
  name = "test-vm-${count.index + 1}"
  target_node = var.proxmox_host
  clone = var.template_name
  agent = 1
  os_type = "cloud-init"
  cloudinit_cdrom_storage = "local-lvm"
  cores = 2
  sockets = 1
  cpu = "host"
  memory = 1024
  scsihw = "virtio-scsi-pci"
  bootdisk = "scsi0"

  disks {
    scsi {
      scsi0 {
        disk {
          size = 10
          storage = "local-lvm"
        }
      }
    }
  }

  network {
    model = "virtio"
    bridge = "vmbr0"
  }

  ipconfig0 = "ip=192.168.1.9/24,gw=192.168.1.1"

  ssh_user = "root"
  sshkeys = <<EOF
  ${var.ssh_key}
  EOF
}

And for completness' sake, here is how I create my template
wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2
virt-customize -a debian-12-genericcloud-amd64.qcow2 --install qemu-guest-agent --run-command 'systemctl start qemu-guest-agent.service && systemctl enable qemu-guest-agent.service'
virt-customize -a debian-12-genericcloud-amd64.qcow2 --truncate /etc/machine-id
qm create 8100 --memory 2048 --name debian-cloud --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci
qm importdisk 8100 debian-12-genericcloud-amd64.qcow2 local-lvm
qm set 8100 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-8100-disk-0
qm set 8100 --ide2 local-lvm:cloudinit
qm set 8100 --boot order=scsi0
qm set 8100 --serial0 socket --vga serial0
qm set 8100 --agent enabled=1
qm template 8100

Does anyone have been able to deploy a VM successfully using Packer (create template with cloud-init enabled) + v3.0.1-rc[12] + Proxmox  v8.1.4?
In case you did it, would you mind to share the config files and the steps? I've been working on this for a few days now but so far no luck... I can boot the VM but the cloud-init is not applied (not even the ip address indicated by

ipconfig0 = "ip=192.168.20.27/23,gw=192.168.20.1"

I haven't tried @leogout's solution yet (I need to create my image with Packer)

To whoever is on the latest terraform provider, cloudinit_cdrom_storage has been deprecated
https://github.com/Telmate/terraform-provider-proxmox/pull/1008/files
use disks/ide/ide3/cloudinit instead

authors: AirP0WeR MixedOne TheLillo Tinyblargon Torque475 USBAkimbo allen353299 electropolis elg0ch0 hestiahacker ivan-danilov leogout seckin-oter vasekhodina xlanor


text:
Seems to just crash with: Failed to find shader type FComputeShaderDeclaration

I get this when running:
Assertion failed: ShaderRef != NULL && *ShaderRef != NULL [File:Runtime/ShaderCore/Public/Shader.h] [Line: 926]
Failed to find shader type FComputeShaderDeclaration
Ensure condition failed: GetShadowIndex() == 0 [File:Runtime/Core/Public/HAL/IConsoleManager.h] [Line: 782]

Any idea what might be causing the failure?

Hello! This problem has come up a few times, so I'm going to add some
suggested solutions to the md file :)
Basically, the plugin defines its shaders in usf files. These usf files can
only be read by the engine if they reside in the Engine/Shaders folder.
This is of course a problem, since you cannot define these on the project
level, and if you want to leverage the system, you have to change your
engine setup.
The way I tried to solve this problem with the tutorial plugin was to
create a different plugin that basically just copies the shader files to
the correct location early in the editor launch process.
This seems to work for most people, but sometimes, it fails for some setups
it seems.
I can think of a few things you can try to fix this:
*Ensure that the Project/Shaders folder actually contains the usf files and
those have not been corrupted or deleted or something silly like that.
*If the files are there, you can try to remove the ShaderCopyHelper plugin
(under plugins) and manually copy the usf files to your Engine/Shaders
folder.
*This tutorial only supports 4.7, so if you happen to run a different
engine version, it might not work because of that.
I hope that this sheds some light on the situation, if you run into a new
problem, drop me a mail with some debug data and I'll try to help best I
can!
Best regards,
Temaran
On May 11, 2015 5:15 AM, "Doug" notifications@github.com wrote:

I get this when running:
Assertion failed: ShaderRef != NULL && *ShaderRef != NULL [File:Runtime/ShaderCore/Public/Shader.h] [Line: 926]
Failed to find shader type FComputeShaderDeclaration
Ensure condition failed: GetShadowIndex() == 0 [File:Runtime/Core/Public/HAL/IConsoleManager.h] [Line: 782]
Any idea what might be causing the failure?
—
Reply to this email directly or view it on GitHub
https://github.com/Temaran/UE4ShaderPluginDemo/issues/1.

hm... your plugin correctly copies the files across to Engine/Shaders:
doug:ShaderPluginDemo doug$ ls ~/dev/unreal/UnrealEngine/Engine/Shaders/ | grep Example
ComputeShaderExample.usf
PixelShaderExample.usf

...and I've tried various things, as you suggest, but no luck here.
Perhaps this just doesn't work on OSX?
The engine version is 4.7.6
If there's any specific debugging information I can provide with additional details, nudge this ticket and I'll add it.

I must admit I haven't tried this on an OSX build, and unfortunately I'm
unable to do so since I do not own any apple hardware :(
It might help if you could send me a minidump, but I'm unsure if dumps
created on osx would be runnable on my side. The minidump format is open
though, so maybe your environment can generate them somehow?
That's the only thing I can think of right now that might let me look into
it though.
It is very strange however since I use no platform specific code in that
project whatsoever. I almost get the urge to virtualbox it, although
virtualbox has problems with graphics, so it might not work either.
I'm going to ask around at work if someone has an apple compy I could
borrow or something :)
I'm sure the solution is simple though, debugging the shader load process
should reveal the problem!
Best regards,
Temaran
2015-05-19 3:33 GMT+02:00 Doug notifications@github.com:

hm... your plugin correctly copies the files across to Engine/Shaders:
doug:ShaderPluginDemo doug$ ls ~/dev/unreal/UnrealEngine/Engine/Shaders/ | grep Example
ComputeShaderExample.usf
PixelShaderExample.usf
...and I've tried various things, as you suggest, but no luck here.
Perhaps this just doesn't work on OSX?
The engine version is 4.7.6
If there's any specific debugging information I can provide with
additional details, nudge this ticket and I'll add it.
—
Reply to this email directly or view it on GitHub
https://github.com/Temaran/UE4ShaderPluginDemo/issues/1#issuecomment-103294094
.

I know this is an old one but compute shaders are not available for OS X due to OS X only supporting OpenGL 4.1 where as compute shaders were introduced in OpenGL 4.3.

source: gharchive/issue

authors: Temaran shadowmint v0q

license: MIT

license_type: permissive

license_source: github-api


text:
Ability to trigger row selection on opening context menu

It's possibly to manually select an element for the ng-repeat (in the scenario of a table) inside the handler for the context menu item. But this requires the context menu item to be clicked. To better illustrate to the user which row the context menu applies to it would be better to have the row selection happen when the menu opens.
This could potentially happen via configuration by providing a menu open hook so a developer can attach a handler that deals with selection the row.

Realised this has already been suggested https://github.com/Templarian/ui.bootstrap.contextMenu/issues/11

No problem. Feel free to open issues in the future. It lets me know where the documentation needs to be updated also.
If I get a second I'll update the docs to explain this scenario since it is probably very common.

authors: Templarian vivaladan

license: mit

license_source: bigquery


text:
feat: 新增进度条组件

🤔 这个 PR 的性质是？

[ ] 日常 bug 修复
[x] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

feat(Progress): 新增进度条组件

[ ] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[ ] 文档已补充或无须补充
[x] 代码演示已提供或无须提供
[ ] TypeScript 定义已补充或无须补充
[ ] Changelog 已提供或无须提供

当前未添加API文档，用什么工具生成？

感谢共建~API文档是使用demo_tool生成的，你可以参考README.md，在all_build.sh里添加对应组件的生成脚本，然后运行试试。同学可以加下官方企微群，开发过程中，遇到任何问题，都可以在群里提问，我们会快速响应~

感谢共建~ API文档是使用demo_tool生成的，你可以参考README.md，在all_build.sh里添加对应组件的生成脚本，然后运行试试。同学可以加下官方企微群，开发过程中，遇到任何问题，都可以在群里提问，我们会快速响应

demo_tool执行有什么系统要求吗，我用windows或者WSL执行错误

source: gharchive/pull-request

repo: Tencent/tdesign-flutter


text:
[组件名称] 描述问题的标题

tdesign-miniprogram 版本
1.1.13
重现链接
No response
重现步骤
按照官方文档 npm install 后，执行 构建 npm 控制台报错如下图，无法正常使用

期望结果
能正常使用
实际结果
控制台报错各种找不到

基础库版本
2.33.0
补充说明
No response

是不是忘了构建

打开终端-> cd 到miniprogram目录下面-> npm init-y -> npm i tdesign-miniprogram -S --production->点击小程序编辑器最上面的工具->构建npm 还有注意事项如图

我所有的步骤都是按照文档中的注意事项进行的，但是依然出现了同样的错误

repo: Tencent/tdesign-miniprogram


text:
[Fab]浮动按钮遮挡左滑操作按钮

这个功能解决了什么问题
防止浮动按钮遮挡左滑操作按钮或文字

你建议的方案是什么？
浮动按钮可以自由移动拖拽

这个特性不属于 fab 组件的范畴。
你可以使用 https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html 实现

好嘞，我去试试


text:
[Form] form-item 内嵌form 样式会被影响

tdesign-vue 版本
0.50.0
重现链接
https://stackblitz.com/edit/angular-1gdk3x-h3eahm?file=src/demo.vue
重现步骤
点击提交 外层form的 必填 会影响内嵌的form样式

必填样式会透传
内嵌form-item 之间 的 margin 影响

期望结果
两个form样式互不影响
实际结果
两个form样式 影响
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response

重现链接中的代码不完整，可能需要您提供更完整的信息以便我们检查后尽快回复你

重现链接中的代码不完整，可能需要您提供更完整的信息以便我们检查后尽快回复你

其实就是外层form 触发错误 会影响内层form全部是错误 是否可以做到独立不影响

authors: Jiachang-Cai ccccpj

repo: Tencent/tdesign-vue


text:
[FEATURE] 配置文件下发支持指定文件属性

现在配置文件的「文件属性」是没用的，因为 job 不支持传输文件的时候指定文件属性，再往下深究，是 GSE 文件管道不支持这个功能，只能由我们上层来自己实现

考虑两种方案：
一是生成配置文件的时候，指定源文件的属性
二是下发文件后，用 chmod 改掉文件属性


text:
feature: Add Sensitive Configfile(close #47)

添加了敏感信息配置文档

Codecov Report

Merging #49 (3cd082a) into V1.0.2rc (343e87f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           V1.0.2rc      #49   +/-   ##
=========================================
  Coverage     53.38%   53.38%
=========================================
  Files           177      177
  Lines          8719     8719
=========================================
  Hits           4655     4655
  Misses         4064     4064

Continue to review full report at Codecov.

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

authors: codecov-commenter iSecloud


text:
Markdown Navigator - Resizeable and default height

Be able to resize the window and possibly pop over to another tab in fullscreen for richer documentation
Make the initial height of the info window taller using the draggableHelpWindowDialogService, something like 90%.

Richa to Review

repo: Teradata/covalent


text:
Templates and Styles not inlined in NPM packages

Greetings,
I'm trying to use the Covalent components within my app using the NPM packages but I'm having a problem. The component's code is already transpiled to Javascript but the styles and templates were not converted to a inline version inside the Javascript file. As a result, when I use the components, the loader does not find the styles and templates.
The Angular Material 2 NPM packages algo have the transpiled versions, but the templates and styles are inlined.
I'm using webpack to bundle and did not found a work around this problem. Do you have any thoughts about how this can be solved, or could you provide the inlined versions in a future release?
Regards

Hey @mbellezi
Right now we arent in-lining the css/html into the js file since we are waiting for typescript 2.0.0 which will allow html/css file imports.. also we are kinda hoping CLI will handle this allowing a more official solution.
We dont want to do a custom solution (search and replace with code) in the building process like angular2-material since it will only be temporary.
But if it takes too long for an official solution to come and people need it, we might have to revisit this.

Ok. Until a solution is not available, I will manually import the platform/core folder from the Covalent github project as it is in Typescript. The NPM can't be used without a preprocessing step.
One other thing I found strange is the use in the styleUrls referencing the css files instead of the scss files.  As the CLI docs states you could reference the scss for the sass processor to work. In my case, in webpack, I have to write a preprocessor step to rename the .css includes to .sass in the Covalent folder.

@mbellezi

found strange is the use in the styleUrls referencing the css

It's the standard I've seen to reference compiled CSS in styleUrls, and we try to follow the official material2 repo as closely as possible like: https://github.com/angular/material2/blob/master/src/components/button/button.ts#L29
on the topic SCSS however, I've opened an issue to ship the SCSS and CSS in case you'd want to pull in the source SCSS files in your app https://github.com/Teradata/covalent/issues/28

html and styles inlined in https://github.com/Teradata/covalent/pull/78

authors: emoralesb05 kyleledbetter mbellezi


text:
fortnitepy.Client.close() spams the same asyncio exception 7 times

Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x00000272DC5CB700>
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Program Files\Python38\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Program Files\Python38\lib\asyncio\base_events.py", line 719, in call_soon
    self._check_closed()
  File "C:\Program Files\Python38\lib\asyncio\base_events.py", line 508, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

After digging a little bit this seems like an issue with how aiohttp closes. With SelectorEventLoop (default asyncio loop < python 3.8), the error is apparently just logged. However, with ProactorEventLoop the error above is raised. The error has no affect on the closing process of fortnitepy clients and it is simply just noisy. I guess there's currently nothing else really to do than wait for an aiohttp update.

authors: Londiuh Terbau

repo: Terbau/fortnitepy


text:
Expose shortcut actions

Allow passing in custom actions for e.g. scrolling shortcuts.

For example:
TerminalView(
  ...
  shortcuts: const {
    ...
    SingleActivator(LogicalKeyboardKey.arrowUp, control: true, shift: true):
        ScrollUpIntent(),
    SingleActivator(LogicalKeyboardKey.arrowDown,
        control: true, shift: true): ScrollDownIntent(),
    SingleActivator(LogicalKeyboardKey.pageUp, shift: true):
        ScrollPageUpIntent(),
    SingleActivator(LogicalKeyboardKey.pageDown, shift: true):
        ScrollPageDownIntent(),
    SingleActivator(LogicalKeyboardKey.home, shift: true):
        ScrollToTopIntent(),
    SingleActivator(LogicalKeyboardKey.end, shift: true):
        ScrollToBottomIntent(),
  },
  actions: {
    ScrollUpIntent: ScrollUpAction(_scrollController),
    ScrollDownIntent: ScrollDownAction(_scrollController),
    ScrollPageUpIntent: ScrollPageUpAction(_scrollController),
    ScrollPageDownIntent: ScrollPageDownAction(_scrollController),
    ScrollToTopIntent: ScrollToTopAction(_scrollController),
    ScrollToBottomIntent: ScrollToBottomAction(_scrollController),
  },
)

class ScrollUpIntent extends Intent {
  const ScrollUpIntent();
}

class ScrollDownIntent extends Intent {
  const ScrollDownIntent();
}

class ScrollPageUpIntent extends Intent {
  const ScrollPageUpIntent();
}

class ScrollPageDownIntent extends Intent {
  const ScrollPageDownIntent();
}

class ScrollToTopIntent extends Intent {
  const ScrollToTopIntent();
}

class ScrollToBottomIntent extends Intent {
  const ScrollToBottomIntent();
}

class ScrollUpAction extends Action<ScrollUpIntent> {
  ScrollUpAction(this.controller);

  final ScrollController controller;

  @override
  Object? invoke(covariant ScrollUpIntent intent) {
    controller.jumpTo(controller.position.pixels - 10); // TODO: line height?
    return null;
  }
}

class ScrollDownAction extends Action<ScrollDownIntent> {
  ScrollDownAction(this.controller);

  final ScrollController controller;

  @override
  Object? invoke(covariant ScrollDownIntent intent) {
    controller.jumpTo(controller.position.pixels + 10); // TODO: line height?
    return null;
  }
}

class ScrollPageUpAction extends Action<ScrollPageUpIntent> {
  ScrollPageUpAction(this.controller);

  final ScrollController controller;

  @override
  Object? invoke(covariant ScrollPageUpIntent intent) {
    controller.jumpTo(
        controller.position.pixels - controller.position.viewportDimension);
    return null;
  }
}

class ScrollPageDownAction extends Action<ScrollPageDownIntent> {
  ScrollPageDownAction(this.controller);

  final ScrollController controller;

  @override
  Object? invoke(covariant ScrollPageDownIntent intent) {
    controller.jumpTo(
        controller.position.pixels + controller.position.viewportDimension);
    return null;
  }
}

class ScrollToTopAction extends Action<ScrollToTopIntent> {
  ScrollToTopAction(this.controller);

  final ScrollController controller;

  @override
  Object? invoke(covariant ScrollToTopIntent intent) {
    controller.jumpTo(controller.position.minScrollExtent);
    return null;
  }
}

class ScrollToBottomAction extends Action<ScrollToBottomIntent> {
  ScrollToBottomAction(this.controller);

  final ScrollController controller;

  @override
  Object? invoke(covariant ScrollToBottomIntent intent) {
    controller.jumpTo(controller.position.maxScrollExtent);
    return null;
  }
}


text:
Simplify screen background rendering

Hello, I've been experimenting with a an additional optimization in Dynamic FPS recently that modmenu can also benefit from, so I thought I'd PR it here.
The gist of it is that world rendering can be skipped if a screen is covering the whole world, which can be detected by whether a screen has a background. More details: https://github.com/juliand665/Dynamic-FPS/pull/91
Modmenu always has the dirt background, but used its own rendering for it which I've changed in this PR to use the simpler method that can make use of the optimization. Visually there is no difference: mods screen before mods screen after

Great, thank you!

authors: LostLuma Prospector

repo: TerraformersMC/ModMenu


text:
[Suggestion] Add option to use vanilla team color as heart color

Basically the title, add a config option like Use Team Color = true/false. In addition to settings hearts to team color, with it enabled render text Current Health/Max Health near the hearts either if a player has more than 10 hearts or just at all time, since all hearts should be of the same color.

I do not have any intention of adding extra features to this mod besides for compatibility, so that is unfortunately a no.

authors: Terrails Wlnfr

repo: Terrails/colorful-hearts


text:
Sorting an array of 0s ,1s and 2s

📚 Documentation
Given an array of size N containing only 0s, 1s, and 2s; sort the array in ascending order. the language is using python
Have you read the Contributing Guidelines on Pull Requests?
Input:
Enter the Number:
0 2 1 2 0
Output:
0 0 1 2 2
Explanation:
0s 1s and 2s are segregated
into ascending order

Hi @geekymeeky
Few instructions:

Install the Project locally. You need to use NodeJS and Yarn (Instructions are on README.md)
Find the directory in src where this should ideally go. Let's say it goes in competitive-coding, so create a file in there named sort-array.md
Once you do that, go over to sidebar.js in your forked repo, and go over to this line and add searching-algorithms/sort-array.md
Always check the application build and see if your article is being correctly rendered on the local server

Let me know if you need more help with this. We would be glad to have you contribute!

Heya - Hope you are working on this ✨
We have just pushed some new features on the main so it would be great if you can pull the changes from the main branch, so that we don't run into any merge conflicts.
Second, I have some important notes for you. While adding the articles, it would be preferred if you use the mdx file extension instead of md. mdx provides us to combine Markdown + React. And we will be using it for a good reason.
First, we want to tab the codes like these:

Using standard markdown won't be beneficial for us. We can use some React Code to make it possible. Don't fret out if you don't know React. Here is an official documentation that you can refer to format the Code in separate tabs. Have a look and let me know if you are still in trouble.
Also try to keep the I/O samples same for both the Code. If it requires minor altercations, feel free to do them. Thanks!

repo: TesseractCoding/NeoAlgo-Docs


text:
N Knight Kill in Java

Have you read the Contributing Guidelines on Pull Requests?
Yes.
Description
N Knight Kill is a backtracking problem in which there are N knights that are needed to be placed on an N*N board in such a manner so that no two knights can kill each other. It will display all the possible positions of N Knights.
Link
In the sample output, I have written only 1 possibility since there are many boards possible for a particular N.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes : #5835

I have edited, confirm the commit from your side.  Can you explain what does 'X' mean in the comments in the code?
Thanks :)

Hey @bhav09, Please add the level label and close the related issue.
Thanks.

repo: TesseractCoding/NeoAlgo


text:
Tarjan's Algo---->JAVA

Have you read the Contributing Guidelines on Pull Requests?
YES
#7249 ----> FIXES

@ankitaggarwal23 @HarshCasper @siddharth25pandey @bhav09
Do check

@ankitaggarwal23 @HarshCasper @siddharth25pandey @bhav09
Do check

We found that you have plagiarized more than 3 times and also you are opening the issue blindly even though code is present that is clearly against the rules and guidelines.


text:
How can I contribute?

This lib is very useful for my test team to document the BDD, but I miss some features like,

A clear way to set MDs destination folder. I try dest parameter but seems to be the destination FILE name
Recursive input directory not working. Although it is described in the readme, it seems that the recursive format was not implemented. It works, but for one file at a time 😫

How can I contribute to implement this features?

Hey @quatoo,
yes, this package is not tested well yet. I have added you to the project so please go ahead and create pull requests.
Thank you for your input.

authors: anatolysakhno quatoo

repo: TestEssence/feature-to-md


text:
🛑 Jellyfin is down

In 7602435, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in c3e57be.

repo: TetraGG/Upptime


text:
🛑 Nextcloud is down

In 795ca94, Nextcloud (https://nextcloud.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in 8a54cb1.


text:
🛑 Proxy is down

In 3910549, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 225fffd.


text:
🛑 Nextcloud is down

In d9c7f18, Nextcloud (https://nextcloud.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in 3873d2b.


text:
🛑 Proxy is down

In 3be6773, Proxy (https://proxy.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 5b8c607.


text:
🛑 Jellyfin is down

In a50d704, Jellyfin (https://jellyfin.tetragg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jellyfin is back up in d29a98c.


text:
Add align method

Add an align method to flood (pad) blocks such that their boundaries become aligned to the required alignment.

Added to commit 1a78f87bb9aa9b11862eb646ee0b4cfc4e7ea086

repo: TexZK/bytesparse


text:
No module named 'chardet'

🐛 Bug Report
I followed the installation instruction but get
ModuleNotFoundError: No module named 'chardet'

when I try to run
poetry run <project_name> --help

Full stack trace:
Traceback (most recent call last):
  File "/home/tom/.local/bin/poetry", line 5, in <module>
    from poetry.console import main
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/__init__.py", line 1, in <module>
    from .application import Application
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/application.py", line 7, in <module>
    from .commands.about import AboutCommand
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/commands/__init__.py", line 4, in <module>
    from .check import CheckCommand
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/console/commands/check.py", line 2, in <module>
    from poetry.factory import Factory
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/factory.py", line 16, in <module>
    from .packages.locker import Locker
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/packages/__init__.py", line 2, in <module>
    from .locker import Locker
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/packages/locker.py", line 38, in <module>
    from poetry.utils.extras import get_extra_package_names
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/utils/extras.py", line 7, in <module>
    from poetry.utils.helpers import canonicalize_name
  File "/home/tom/.local/share/pypoetry/venv/lib/python3.8/site-packages/poetry/utils/helpers.py", line 11, in <module>
    import requests
  File "/home/tom/.local/lib/python3.8/site-packages/requests/__init__.py", line 44, in <module>
    import chardet
ModuleNotFoundError: No module named 'chardet'

🔬 How To Reproduce
Steps to reproduce the behavior:

make install
make pre-commit-install

Environment
            .-/+oossssoo+/-.               tom@desktop-20-3
        `:+ssssssssssssssssss+:`           ----------------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04.3 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: MS-7B00 1.0
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.11.0-44-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 135 days, 23 hours, 36 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 3579 (dpkg), 28 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.0.17
+sssshhhyNMMNyssssssssssssyNMMMysssssss+
ossyNMMMNyMMhsssssssssssssshmmmhssssssso
ossyNMMMNyMMhsssssssssssssshmmmhssssssso
+sssshhhyNMMNyssssssssssssyNMMMysssssss+
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
  +sssssssssdmydMMMMMMMMddddyssssssss+
   /ssssssssssshdmNNNNmyNMMMMhssssss/
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.

python --version

Python 3.8.10
📈 Expected behavior
No error

It works when I run the command in a virtual environment.
Just installing chardet with pip install chardet or python3.8 -m pip install chardet did not work.

Since this template uses poetry as the dependency manager, think you should use poetry add [package-name] for all additional dependencies. In your case poetry add chardet.

authors: donny-son tom-doerr

repo: TezRomacH/python-package-template


text:
Feature request: Ignore notes

Hi! It would be great to be able to exclude some notes from the list of backlinks.
For example, similar functionality is available in the Influx plugin and it is very convenient.
Thank you!

We are planning to add a "Exclude" folder feature soon. In the mean time, you can do per document exclusion. Check out the docs here:
https://github.com/TfTHacker/obsidian42-strange-new-worlds#snw-frontmatter-directives

authors: TfTHacker reddare


text:
🛑 node3.th7bo.com is down

In 0375cdf, node3.th7bo.com (node3.th7bo.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: node3.th7bo.com is back up in 28884db after 2 hours, 14 minutes.


text:
🛑 node3.th7bo.com is down

In 9a9c15a, node3.th7bo.com (node3.th7bo.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: node3.th7bo.com is back up in 313e54a after 19 minutes.


text:
NavBar

Include: 'Home', 'Profile', 'High Scores', 'Log out' using Bootstrap with React.

Basic code format has been added including drop down menu button and log in button.


text:
[ERROR MPL-0040] Failed on cluster frontend/bpd/banked_predictors_0/btb

Describe the bug
This worked previously with same area, just a tiny change to the behavioral logic of one mocked SRAM: https://github.com/The-OpenROAD-Project/megaboom/pull/135
untar https://drive.google.com/file/d/1AAwT9JdsLzWdspQP576nefa9m780JfiQ/view?usp=drive_link
./run-me-BoomTile-asap7-base.sh

Floorplan Outline: (0.0, 0.0) (2300.0, 2300.0),  Core Outline: (1.026, 1.08) (2297.97, 2297.97)
	Number of std cell instances: 1771752
	Area of std cell instances: 223780.94
	Number of macros: 70
	Area of macros: 485727.16
	Halo width: 19.00
	Halo height: 19.00
	Area of macros with halos: 1065893.00
	Area of std cell instances + Area of macros: 709508.12
	Core area: 5275827.50
	Design Utilization: 0.13
	Core Utilization: 0.05
	Manufacturing Grid: 1

[ERROR MPL-0040] Failed on cluster frontend/bpd/banked_predictors_0/btb
Error: macro_place_util.tcl, 83 MPL-0040

Expected Behavior
No error
Environment
OpenROAD v2.0-16257-g81b545063

To Reproduce
See above
Relevant log output
No response
Screenshots
No response
Additional Context
No response

Trying to whittle down...
openroad -python ~/OpenROAD-flow-scripts/tools/OpenROAD/etc/deltaDebug.py --use_stdout --persistence 3 --error_string MPL-0040  --step ./run-me-BoomTile-asap7-base.sh --base_db_path results/asap7/BoomTile/base/2_3_floorplan_tdms.odb

repo: The-OpenROAD-Project/OpenROAD


text:
Grt: refactor critical nets percentage information

During the discussions on issue #4121 ,it was realized that the information of critical nets percentage was stored twice, some times creating a difference on the values stored. This branch makes the information of critical nets percentage to be stored only on fastroute.

This branch has passed throw a secure-CI, public designs are OK, but private designs need to check by someone with access.

You should get an email once the private designs finish with a summary.

This branch has passed throw a secure-CI, public designs are OK, but private designs need to be check by someone with access.

Could you share the secure- branch name? Also, fix clang-format.

All designs that have finished so far have passed but a few big ones are still running.

This branch has passed throw a secure-CI, public designs are OK, but private designs need to be check by someone with access.

Could you share the secure- branch name? Also, fix clang-format.

Just fixed the clang-format, and the branch name is: secure-grt_refactor_cn_percentage

@arthurjolo The ok files of GRT unit tests need to be updated.

authors: arthurjolo eder-matheus maliberty


text:
function as integrand

First, thank you! It is so hard to find a package that does some simplest scientific computing in GO. Could I supply a user-defined function to the integration function instead of a string, because I am not sure how to type the sqrt function in the string?

Well, I'm glad you found this package helpful! In order to use sqrt with the string input, you would just write clc.NewFunc("sqrt(x)"). It should work just fine.
If you really want to use user defined functions, I just added them just now ( feb3d9dc1f9ed044a3846bef7fe6bc478e8fefdb ), and updated the README.md which should explain how to use them.

Great! I will try them tonight. Thank you!


text:
stoneholm dosent work on 1.18.2 forge 40.0.35

when creating a new world with stoneholm mod on, the game says that the datapack dosent work.

Yes. It is not marked as supporting 1.18.2

Yes. It is not marked as supporting 1.18.2

Will there be an update to 1.18.2？

I have no idea how much work is involved, so I TRULY appreciate your efforts and sharing this wonderful mod with the community. I hope a 1.18.2 is possible. I miss playing it in the Better Minecraft mod.

1.18.2 version would be lovely q.q

authors: GeminiMarshdevil TheGrimsey WitchyWolf tyapnekade xuwuwudi

repo: TheGrimsey/StoneholmForge


text:
Sums don't work on flexed menus

If a menu uses flexbox (or flex and flex-grow) when the itemsWidth is calculated it will always match the full width available to the container rather than the minimum required for the menu items to fit. This results in false positives for too-small.
I'm proposing a new status for squishMenu to allow more reliable calculation. The basic menu would have inline-block items, itemsWidth is calculated and a class of squish-ready is added to the container.
.container.squish-ready can then be flex-ified and all is right with the world.

Implemented this in the latest commit.

repo: TheHeat/squishMenu


text:
Hanging in AUTOMATIC1111 notebook on "Start stable-diffusion" step.

I've successfully used this notebook before, but now it's hanging after "Connected" is printed. I'm using reserved GPU remote host. I've given it 15 minutes but it won't get any further.

Saying connected means that the operation was successful and you should click on the given link to open the interface

Ah right - I actually got mixed up and had run the Dreambooth notepad previously. User error, closing

authors: TheLastBen nerdvegas

repo: TheLastBen/fast-stable-diffusion


text:
Rearrange the order of files on curse to the following

Jar files should be uploaded last.
But first, compilation files, and installers should be uploaded first. That way, curse can pick up on only the jar file, and thus, allow users to update it via the launcher without issues, and if they want to use installers or compilation files, they would have to go to the site for that.
Also, I suggest allowing for manual installation as well. The installer is currently very buggy.

I don't find any bugs in the installer... We will upload a new version for our mod, so that the CurseVoice-bug gets fixed...

repo: TheOnlySilverClaw/Reforged


text:
Codespaces

what

feat(devcontainer): add devcontainer for codespaces

why

codespaces allow you to run devcontainers avoiding the need for virtual environments. If you run your code in a container venv is not required.
You can get the same environment locally in your machine.

How to test

open vscode in the devcontianer

run ./pre-push.sh to validate tests

happy to add the devcontainer outside of this branch. Currently I'm working on the flow to integrate Azure Open AI and having that env ready saves lots of time. Cheers

Thank you for the PR.
I think your branch is out of sync, since you are changing all these unrelated files.

Cool, sync the fork and should be up to date. Do you prefer me to add this one against main and create a separate issue?

Could you please point this PR to the main branch?

Hi @jsburckhardt,
Due to the rapid development of ShellGPT and recent changes in codespaces, the current implementation in this PR is no longer compatible. With these developments in mind, I will be closing this PR. Thank you for your effort and understanding.


text:
Fix #422: Markdown formatting for chat history

@TheR1D is there any procedure I need to do for assigning a reviewer?

Ah ok good catch. Before enabling it only for default, what are your thoughts on wrapping assistant messages with markdown code block if we are in code mode? I think that would look very nice and it makes sense because the assistant is outputting code after all.
We can either change how the message is stored, or we can do this only for show_messages() by detecting mode and whether it's an assistant message.

Ah ok good catch. Before enabling it only for default, what are your thoughts on wrapping assistant messages with markdown code block if we are in code mode? I think that would look very nice and it makes sense because the assistant is outputting code after all.
We can do this only for show_messages() by detecting mode and whether it's an assistant message.
The main concern here would be not outputting markdown wrapper when user is expected to redirect to file. But I think the use case for that is only this:
sgpt --code --chat c1 "a python file that says hello" > hello.py
sgpt --code "a python file that says hello" > hello.py

Both of which do not use show_messages

You're right, we can use markdown code block when showing --code conversations with show_messages. May be we can apply md formatting for --shell conversations as well. For instance wrap assistant responses with "inline code" using backticks ``, e.g. ls -la | sort

Sounds good. I'll need to change how conversations are stored for this because we don't currently store the role along side the messages, only a json list of messages, so show-chat has no way of knowing.
My idea is to change the format from a list of messages to an object like this:
{
  "role": "...",
  "messages": [
    ...
  ],
}

This is also good for future if we ever want to store more metadata about the conversations.
Will take a look this weekend.

Ok, @TheR1D please take a look.
Some demos:

Thank you, @jeanlucthumm. I will review it during this week. I believe we may need to make some changes.

Hey @jeanlucthumm, thank you for the PR. After reviewing the changes, I believe this feature could be implemented more concisely. We can reuse the initial_message method available in ChatHandler. Here's an example:
@classmethod
def initial_message(cls, chat_id: str) -> str:
    chat_history = cls.chat_session.get_messages(chat_id)
    return chat_history[0] if chat_history else ""

Then we can slightly change logic in show_messages.
@classmethod
def show_messages(cls, chat_id: str) -> None:
    # Prints all messages from a specified chat ID to the console.
    init_message = cls.initial_message(chat_id)

    if "use and apply markdown" in init_message.lower():
        for message in cls.chat_session.get_messages(chat_id):
            if message.startswith("assistant"):
                Console().print(Markdown(message))
            else:
                typer.secho(message, fg=cfg.get("DEFAULT_COLOR"))
            typer.echo()
        return

    for index, message in enumerate(messages):
        color = "magenta" if index % 2 == 0 else "green"
        typer.secho(message, fg=color)

I think this is more suitable solution since we are following the system prompt, and it would be compatible with custom roles. It will not wrap --code conversations into a code block, but after giving it some more thought, I don't see many benefits in rendering the code using a markdown block. I think --code will mostly be used when a user wants to redirect clean code output elsewhere. If Markdown is required, we can prompt code generation using the default ShellGPT role. Could you also include tests to make sure it works as expected?
Thank you for interest and effort.

Sure, let's do it this way. Will take a look this weekend!

@TheR1D Ok I implemented your suggested change and also added unit tests. I also updated the documentation for custom roles so users are aware of this functionality.

Ok finished!

Thank you @jeanlucthumm, merged.


text:
"Damage Type" FIeld in Parent "weapon_attributes" File does not Carry Over to Other Weapon Files

When the damage type field is defined in a custom parent file, the damage type is not carried over to other items' files in the weapon_attributes directory that are assigned to the parent file (i.e. the spear.json file with a damage type of piercing does not result in the damage type being applied to all weapons with a parent file of "spear"). Defining the damage type for an item's file in the weapon_attributes directory works, however.
Being able to assign a "class" of weapons with a dedicated damage type for an attack may help with compatibility without having to assign damage types for every single weapon in the game.

Oops, my bad.

no worries

authors: InputandOutput TheRedBrain

repo: TheRedBrain/bettercombat-extension


text:
[Snyk] Fix for 4 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 4 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

jobs/pacman-qualys-enricher/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
  616
com.amazonaws:aws-java-sdk-core:  1.12.239 -> 1.12.745  Proof of Concept

Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
  616
com.amazonaws:aws-java-sdk-core:  1.12.239 -> 1.12.745  Proof of Concept

Allocation of Resources Without Limits or Throttling SNYK-JAVA-IONETTY-6483812
  586
com.amazonaws:aws-java-sdk:  1.12.290 -> 1.12.745  Proof of Concept

Denial of Service (DoS) SNYK-JAVA-IONETTY-5725787
  539
com.amazonaws:aws-java-sdk:  1.12.290 -> 1.12.745  No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 Allocation of Resources Without Limits or Throttling

Checkmarx One – Scan Summary & Details – 2e50ee9f-96ed-404a-97b0-eb7299fa1f2e
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-34050
Maven-org.springframework.amqp:spring-amqp-2.0.5.RELEASE
Vulnerable Package

CVE-2024-29857
Maven-org.bouncycastle:bcprov-jdk15on-1.67
Vulnerable Package

CVE-2024-29857
Maven-org.bouncycastle:bcprov-jdk15on-1.56
Vulnerable Package

CVE-2024-30171
Maven-org.bouncycastle:bcprov-jdk15on-1.67
Vulnerable Package

CVE-2024-30171
Maven-org.bouncycastle:bcprov-jdk15on-1.56
Vulnerable Package

CVE-2024-30172
Maven-org.bouncycastle:bcprov-jdk15on-1.56
Vulnerable Package

CVE-2024-30172
Maven-org.bouncycastle:bcprov-jdk15on-1.67
Vulnerable Package

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-es-logging-service/src/main/java/com/paladincloud/notification_log/config/AuthManager.java: 44
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-es-logging-service/src/main/java/com/paladincloud/notification_log/config/AuthManager.java: 44
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/commons/autofix/manager/AuthManager.java: 41
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-aqua-enricher/src/main/java/com/tmobile/cso/pacman/aqua/jobs/AquaDataImporter.java: 37
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/commons/autofix/manager/AuthManager.java: 41
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/commons/autofix/manager/AuthManager.java: 41
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-asset/src/main/java/com/tmobile/pacman/api/asset/service/AssetServiceImpl.java: 856
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/executor/PolicyExecutor.java: 141
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-rule-engine-2.0/src/main/java/com/tmobile/pacman/executor/PolicyExecutor.java: 141
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 281
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 72
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 67
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 281
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 72
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 67
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/service/AmazonCognitoConnector.java: 121
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-vulnerability/src/main/java/com/tmobile/pacman/api/vulnerability/service/VulnerabilityService.java: 973
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 281
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 72
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/azure-discovery/src/main/java/com/tmobile/pacbot/azure/inventory/auth/AzureCredentialProvider.java: 67
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 143
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/gcp-discovery/src/main/java/com/tmobile/pacbot/gcp/inventory/auth/GCPCredentialsProvider.java: 144
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 391
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 373
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 391
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 373
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 391
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AssetGroupUtil.java: 373
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-template-formatter-service/src/main/java/com/paladincloud/HttpUtil.java: 154
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/lambda-functions/notification-send-email-service/src/main/java/com/paladincloud/utils/HttpUtil.java: 152
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 132
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 125
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/util/AuthManager.java: 22
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 125
Attack Vector

Cleartext_Submission_of_Sensitive_Information
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/TenableAccountServiceImpl.java: 119
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20540
Attack Vector

Client_Potential_XSS
/webapp/src/app/shared/searchable-dropdown/searchable-dropdown.component.ts: 142
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21841
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21838
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21831
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21828
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21825
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 21822
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger.js: 63
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20550
Attack Vector

Client_Potential_XSS
/commons/pac-api-commons/src/main/resources/docs/v1/js/swagger-ui.js: 20547
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 111
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 106
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/controller/AccountsController.java: 59
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AbstractAccountServiceImpl.java: 89
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AwsAccountServiceImpl.java: 213
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AwsAccountServiceImpl.java: 216
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 155
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/QualysAccountServiceImpl.java: 158
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 154
Attack Vector

Privacy_Violation
/api/pacman-api-admin/src/main/java/com/tmobile/pacman/api/admin/repository/service/AquaAccountServiceImpl.java: 151

More results are available on AST platform

repo: TheRedHatter/CE


text:
[Candidate 4v4 Persian Gulf Conflict ZH v5] Wind audio is crackling

Observed behavior
Wind audio is crackling when scrolling over map.
Expected behavior
Wind audio does not crackle when scrolling over map.
Videos
https://github.com/TheSuperHackers/GeneralsRankedMaps/assets/4720891/43eabad4-0709-4554-bcc0-377d26d7c18d

should be fixed

Wind sounds ok to me. But these structures still emit sound that trigger bad crackling when scrolling.

authors: NoMerciBKK xezon

repo: TheSuperHackers/GeneralsRankedMaps


text:
Mqtt and other small fixes

Fixes #29
I've managed to fix the issues I was facing in #29.
The mqtt reconnect logic suffered the same issue. Basically it was possible that multiple callbacks were added to the handlers.
I've added a cleanup before every addition to the handlers to make sure only one callback will be in the handler.
I'm not an android developer so I've basically just hardened the logic to prevent the issue from happening.
I've also did some other minor fixes like using the displaymanager to get the state of the screen since "isInteractive" on the power manager doesn't necessarily represents the correct screen state (https://developer.android.com/reference/android/os/PowerManager#isInteractive())

Thank you very much for looking into this issue! I will look into the PR in the following days

LGTM!

Thanks for merging! Is there also a new release going to be published?

Yes, hopefully today

authors: FredericMa TheTimeWalker

repo: TheTimeWalker/wallpanel-android


text:
pretty sure discord rpc being used in this way is against tos

correct me if im wrong but from what i see, it is (im not using discord cause im at school)

I double checked in the Discord Developers server, and I did a quick scan for "token" in their ToS, and I don't think it is. If you have any reason to disagree, let me know.

repo: TheUntraceable/TokenInvalidator


text:
[BUG]: tvOS failed build on 6.1.1

Version
6.1.1
What platforms are you having the problem on?
Apple tvOS
Architecture
Old architecture
What happened?
Upgraded to 6.1.1, getting 6 compilation errors coming from NowPlayingInfoCenterManager.

Reproduction
repository link
Reproduction
Step to reproduce this bug are: Upgrade to 6.1.1 from 5.2.1, pod install. Seeing the issue on 6.0.0 too.

I think this is related to using Xcode 14.2. Currently updating to 14.3 (Swift 5.8) and will report back.

Confirming upgrading to Swift 5.8 (Xcode 14.3) fixes the issue.

repo: TheWidlarzGroup/react-native-video


text:
How to Use FunctionCall when invoking [RunCreate] API ?

Could you give some examples?

And the  Struct of AssistantFunction is same as ChatFunction, why not use the same class?
Assistant Function is lack of Executor also, which is difficult to call the Function.

@huyilong0516 If you don't have concerns to see other alternatives, you can take a look at simple-openai.
Here you have a fully functional example for calling multiple functions in a conversation supported by the Assistants API.

repo: TheoKanning/openai-java


text:
Zadanie rozgrzewkowe - Przyciski

Stwórz w Unity prosty projekt zawierający 4 podpisane przyciski. Na ekranie pojawiać ma się słowo odpowiadające jednemu z przycisków. Gdy słowo się pojawi należy wcisnąć odpowiedni przycisk. wciśnięcie odpowiedniego przycisku spowoduje pojawienie się kolejnego słowa, natomiast wciśnięcie złego przycisku zmiane koloru słowa na czerwony. Dodatkowo zrób to w 2D.

sori, zle mi sie klikneło


text:
关于使用 cutlass 实现 per-channel 量化 的 int8 conv

大佬你好，我最近在参考你的 cutlass 写一个 int8 quantized 的 conv。在你的代码中，int8 conv 和 dequantize 是两个 kernel。我想将 DQ fuse 到 conv 中作为一个 kernel 执行以节省访存。我希望借助 DefaultConv2dFprop 中的 EpilogueOp 来实现，也就是将 alpha 设为 input_scale * per_channel_weight_scale，计算公式是 alpha * conv(qin, qweight)。但是我看 alpha 只能传一个 float，所以 weight 只能做 per-tensor 量化了，这对于精度的影响是比较大的。大佬当初是不是也是因为这个原因所以选择了手动 dequant 呢？

Hi，大佬我是不敢当. 要不我们加个微信后续交流？wechat: hyfll2

authors: ThisisBillhe zhexinli


text:
Added new menu item "move system root to usb"

Hi,
I've added the new menu item "move system root to usb", see https://community.openhab.org/t/raspi-2-move-system-root-to-usb-ssd/15243
I've tested it multiple times, works fine here :-)

Hey! Great addition! I've committed a few minor fixes, apart from that everything looks nice ;) Two things:

Please have a look if you agree with my changes
We should have an emergency ready, helping the user if his system does not reboot correctly at the end. Would you add a line to the last message box saying something like "If reboot not successful - move cmdline.txt back"

Hi,
thanks for correcting the typos, I was somewhat lazy with that.
The only thing I'm really unsure is "a USB device" vs. "an USB device" and "an SDD" vs. "a SSD".
I've learned to use "an", if the following word starts with a vocal (a,e,i,o,u), so to my knowledge it should read "an USB device" and "a SSD".
I've added a line about to copy back cmdline.txt.sdcard in case of boot failure.

Hey!
no problem, I'm a bit of a perfectionist at that, so kind of the other side of the same problem :sweat_smile:

I've learned to use "an", if the following word starts with a vocal (a,e,i,o,u)

Almost right :) This is a very common mistake. The rule is true but you have to apply it to the pronunciation of a word. That's why it is "a [yu-es-be]" and "an [es-di-card]".

@jupe76 I totally forgot about that but did you try this?
https://community.openhab.org/t/openhabian-hassle-free-rpi-image/13379/185?u=thomdietrich

@jupe76 I totally forgot about that but did you try this?
https://community.openhab.org/t/openhabian-hassle-free-rpi-image/13379/185?u=thomdietrich

Hi, saw it but did'nt try it so far. I'll perhaps give it a shot the next days.

repo: ThomDietrich/openhabian

license: isc


text:
Insufficient stat penalty for ERR is wrong

In Elden Ring Reforged, the penalty for missing required stats is harsher than vanilla. I think it's around -50%, but the calculator uses the vanilla -40% penalty, so the AP shown is higher than it really is in the mod.

@ThomasJClark lowStatus_AtkPowDown in PlayerCommonParam 0

authors: ThomasJClark ividyon


text:
🛑 STRMRocks Plex is down

In 4e63e0d, STRMRocks Plex ($STRM_PLEX) was down:

HTTP code: 0
Response time: 0 ms

Resolved: STRMRocks Plex is back up in c72bddc.

repo: Thomvh/thvmh-uptime


text:
How add .c files in compilation which do not exist in src directory

I am new to ceedling. I am using ceedling in my project.
I am facing an issue when I run ceedling. I have one .c FIle which I need to test , That file exists in /src directory, but in that file, one API called which is defined in another c file, and this c files path is /src/services.
Now I don't want to mock this API and I want to use real API instead.
So I have added that C files path in my yml file as below.
:source:
- src/**
- src/services/**
but when I run ceedling then it is giving me an error like an undefined reference to that API, and the .c file where this API is Defined is also not compiled when ceedling executed.
I want to know how I can compile another c file that exist in another path then the /src path.

You've done the right thing. By adding it to the list of source directories, Ceedling will be able to find it.
The next (and hopefully last) step is that you need to tell Ceedling that it NEEDS that file for this particular test. You do that by #include-ing that files' corresponding header file in the test itself. Once it sees that you are #include-ing both of the files, it will look for both and compile each of them to include in that unit test executable.

Hi mvandervoord,
Thanks for your help, after adding #include to test file .c file starts compiling.
I am closing this issue, it is being resolved.

repo: ThrowTheSwitch/Ceedling


text:
🛑 YES24 Ticket is down

In 72ba9e1, YES24 Ticket (http://ticket.yes24.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: YES24 Ticket is back up in ec9cf22 after 7 minutes.

repo: TicketOpen/status


text:
🛑 Melon Ticket is down

In 912c7e6, Melon Ticket (https://ticket.melon.com) was down:

HTTP code: 406
Response time: 952 ms

Resolved: Melon Ticket is back up in d16ee83 after 9 minutes.


text:
Module Not Found

When I try to open the downloader it gives the message: NoModuleError: no module named 'pyquery' and immediately closes.

Did you follow the Usage section of the README.md?

Never mind, I just realized this is only for Linux. =( Thank for the reply and sorry for wasting your time.

In theory it sould be no problem running the schript on Windows, I just can't test it.

I am trying to test this on Windows. Everything worked up until Python interpreter (I acessed python through interpreter via cmd) began executing code. It was unable to execute past line 2, having the same issue Aspen is having: "No module named 'pyquery' "...
I read README but it still can't get it to work... Maybe I am misunderstanding something? I didn't get a syntax error so it was trying to execute the code... but idk, Is it even possible?

Have you installed the modules?
pip install -r requirenments.txt

in README.md

I thought I did but turns out I didn't :/
I got the script to run! However, I wasn't able to run it using the python interpreter directly.  Instead, I had to go to the exact location of the python file in my computer directory on the cmd and used python tapas-dl.py [-h/--help] [-f/--force] [-v/--verbose] URL/name [URL/name ...]
Thanks so much for the help!!

I thought I did but turns out I didn't :/
I got the script to run! However, I wasn't able to run it using the python interpreter directly. Instead, I had to go to the exact (folder) location of the python file in my computer directory on the cmd and used python tapas-dl.py [-h/--help] [-f/--force] [-v/--verbose] URL/name [URL/name ...]
I did experience the same problem regarding unicode support when running the script for other comments but reading that issue I've realized there was an edited version of the code more suited towards windows ^^; so I'm going to try that one out
Thanks for the help!

I'm already working on a few fixes so that file names are accepted by Win (#6) and novel download support (#10), but it will be a few days due to hardware failure.

Also, it would be really nice if someone could help me to write a short section for the README.md about getting the script to run on Win. (I only have Linux machines)

I'd be happy to help though I'm a bit new with coding and GitHub so my explanation might be confusing?

Just a list of things you had to do would be a huge help alone. ^^

Basically this is what I did

downloaded the zip file to my computer and extracted it

downloaded python off the website (includes pip)

opened cmd prompt

used pip install requests to download "requests" module

changed directories in the cmd to the folder that held the python file and requirenments.txt file
example:
cd Downloads\Tapas-Comics-Downloader-master

used pip install -r requirenments.txt while INSIDE the "Tapas-Comics-Downloader" folder to install the module

used python tapas-dl.py [-h/--help] [-f/--force] [-v/--verbose] URL/name [URL/name ...] to use script as needed

That was quick, thx very much, I will get back to it in a few days!

Added Windows install instruction, closing now

authors: Aspem ONSKJ TilCreator

repo: TilCreator/Tapas-Comic-Downloader


text:
4bit matmul error if have load model to cpu

I try to load the model in 4bit at GPU, and then first model.cpu() to move it to CPU, and then use model.cuda() to move it to GPU, and forward pass the model. It shows an error.
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/accelerate/hooks.py", line 165, in new_forward
output = old_forward(*args, **kwargs)
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/torch/nn/modules/container.py", line 217, in forward
input = module(input)
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/accelerate/hooks.py", line 165, in new_forward
output = old_forward(*args, **kwargs)
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/bitsandbytes/nn/modules.py", line 248, in forward
out = bnb.matmul_4bit(x, self.weight.t(), bias=bias, quant_state=self.weight.quant_state)
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/bitsandbytes/autograd/_functions.py", line 579, in matmul_4bit
return MatMul4Bit.apply(A, B, out, bias, quant_state)
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/torch/autograd/function.py", line 506, in apply
return super().apply(*args, **kwargs)  # type: ignore[misc]
File "/root/anaconda3/envs/llama-vid/lib/python3.10/site-packages/bitsandbytes/autograd/_functions.py", line 516, in forward
output = torch.nn.functional.linear(A, F.dequantize_4bit(B, state).to(A.dtype).t(), bias)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (1702x1408 and 1x1441792)

hi @wcy1122
Thanks for the issue, moving the model back and forth into CPU / GPU is not support for HF models that has been loaded with bitsandbytes due to potential quantization issues that it can cause

@wcy1122 Basically, 4-bit linear weights are stored as 2D tensors where one dimension is "1". So, you were using a raw 4-bit weight that does not get dequantized. As @younesbelkada says the workflow you're describing is not supported atm.

Get it, thanks for reply.

authors: Titus-von-Koeller wcy1122 younesbelkada

repo: TimDettmers/bitsandbytes


text:
Document keymaps

Hi, thanks for the plugin.
Can I ask for a keybinding (like ?) that shows which keybinding does what? Or maybe just add it to README/doc?

I added a temporary primitive description of each command to the README.

Thanks!

authors: TimUntersberger hkupty

repo: TimUntersberger/neogit


text:
feat: adding tests for FAST_ASSERT environment

Description of the change
This pull request includes tests that utilize the FAST_ASSERT and  FULL_ASSERT environments and tests for native builds. The objective is to identify any problems related to score corruption.
By default, the tests using the mentioned environment run for 30 seconds, and that was enough to find a bug in the Project Job Scheduling module.
A new job was created for spring-boot native build using the Liberica distribution.
Checklist
Development

[NA] The changes have been covered with tests, if necessary.
[NA] You have a green build, with the exception of the flaky tests.
[NA] UI and JS files are fully tested, the user interface works for all modules affected by your changes (e.g., solve and analyze buttons).
[NA] The network calls work for all modules affected by your changes (e.g., solving a problem).
[NA] The console messages are validated for all modules affected by your changes.

Code Review

[x] This pull request includes an explanatory title and description.
[ ] The GitHub issue is linked.
[ ] At least one other engineer has approved the changes.
[ ] After PR is merged, inform the reporter.

I think you overreached there a bit. :-) You tried to make "slowly" and "quickly" two different code paths, but it also resulted in twice the boilerplate. IMO it's enough if we just have the default and "slowly", where slowly runs everything that's default as well as everything that's slow.
Think of the users - they'll be copying this. They'll be trying to understand this. The less boilerplate you give them, the better.

I've left a few comments. Hopefully the Spring fail will be solved by the annotation I suggest; if not, please ping Chris, he's implemented the Spring native stuff.

Your suggestion to remove the @Tag worked perfectly. Thanks!

There's test failures. :-(

There's test failures. :-(

Fixed!

authors: triceo zepfred

repo: TimefoldAI/timefold-quickstarts


text:
[ENH] Real-time variables

🟢 How does GSE currently work
From wiki: variables evaluated out of combat every time you zone, change target, change talents etc.
🟢 Describe the solution you'd like
I want real-time or per-action variable evaluation. This is needed to be able track buffs debuffs on target and perform corresponding actions using conditional block in sequence.
🟢 Describe alternatives you've considered
Currently I don't able track buffs/debuffs, because variables doesn't evaluated during combat.
🟢 Additional context
I've used a simple variable to track debuff on the target, eg.:
return (AuraUtil.FindAuraByName("Hunter's Mark", "target", "HARMFUL") ~= NIL)

This function works fine, I can check it using /dump GSE.V.VariableName() and it always returns the correct value.
But it won't work during sequences, because you need to change the target or enter a combat after applying debug, so GSE can evaluate the variable.  I can't find a solution for how to make it work in the current implementation of variables in GSE.
If real-time or per-action variables can cause performance loss, we can simply have additional option(checkbox) for each variable, setting it will make this variable real-time.

What you are asking for simply can’t be done.
WoW’s anti-bot measures limit what a mod like GSE can evaluate in combat and still be able to cast spells. Once GSE looks at a buff or how much mana you have or how many combat points or enemy health or any other real time value it is then blocked from using any character abilities and spells.  It just errors with “Interface Action Blocked” and GSE simply halts until you exit combat and reload the UI.
The technical wow term for this is the “restricted combat environment” and “Tainted Execution”

authors: TimothyLuke gnibeda

repo: TimothyLuke/GSE-Advanced-Macro-Compiler


text:
Fix multiple stamps

This aims to fix #41.
I'm not sure on the tests here - as I managed to write another piece of code which fixed the test, but didn't fix my problem in practice (was just switching line 139 here with line 140.
I'm also blindly stopping the callback, which feels dumb - a better solution would probably be to fix it further down the line in lazy-pages or lazy-page, though couldn't figure out how to do that.

No worries :) Thanks for iron-lazy-pages!

repo: TimvdLippe/iron-lazy-pages


text:
fix(demo): fixed description for tui-container_adaptive

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[x] Documentation content changes

What is the current behavior?
Closes #
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

@gyxman Thanks for your contribution!
Your branch is 1047 commits behind our main-branch (and it produces merge conflicts).
Could you update your branch, please ?

Something went wrong with the rebase. Probably easier to just create a new fork and do those changes again :)

authors: gyxman nsbarsukov waterplea

repo: Tinkoff/taiga-ui


text:
README figures

Add a few illustrative figures to the readme, store them in a dedicated folder

Closed by 1.4.1

repo: ToFuProject/tofu


text:
feat: log BigQuery job details link

This will log a clickable link to the BigQuery job within BigQuery Studio. This should help debugging queries within BigQuery directly.

@plaflamme could you please rebase against latest main? This should help address the failing build.

@izeigerman done, I also squashed the commits while I was at it

authors: izeigerman plaflamme

repo: TobikoData/sqlmesh


text:
Installation in python 3.6 env fails

I am getting a Shapely install error using pip install:
Command "python setup.py egg_info" failed with error code 1 in C:\Users****\AppData\Local\Temp\pip-install-gexfihrc\shapely\
Win10, python 3.6
I tried to install it from an imgaug Github clone (git clone https://github.com/aleju/imgaug.git && cd imgaug && python setup.py install), and got the following error:
Running Shapely-1.7a1\setup.py -q bdist_egg --dist-dir C:\Users***\AppData\Local\Temp\easy_install-i8m0x3f1\Shapely-1.7a1\egg-dist-tmp-eu7galoz
error: [WinError 126] The specified module could not be found
Setuptools updated. Pip updated.

Solved using this: https://github.com/fastai/fastai/issues/685#issuecomment-416889535

repo: Toblerity/Shapely


text:
🛑 Autoservicio (Ciberseguridad) is down

In d30599a, Autoservicio (Ciberseguridad) (https://autoservicio.aysa.com.ar/authorization.do) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Autoservicio (Ciberseguridad) is back up in 75c3bca after 17 minutes.


text:
Trying to use on Mac (.NET MAUI) throws exception

Tried to add package through nuget on VS for Mac Preview (most up-to date version), and get	{System.DllNotFoundException: uiohook    at SharpHook.Native.UioHook.SetDispatchProc(DispatchProc dispatchProc, IntPtr userData)    at SharpHook.GlobalHookBase.<>c__DisplayClass16_0.b__0()}	System.DllNotFoundException
when running
var hook = new TaskPoolGlobalHook();   hook.KeyPressed += OnKeyPressed;   await hook.RunAsync();

Hi! Thanks for using SharpHook! Yes, there's currently a bug on macOS - the libuiohook.dylib file is not copied to the build directory on macOS for some reason. I haven't had the chance to investigate it yet as I don't have a Mac. You can find a workaround for this issue in this discussion thread.
Also, I'm going to close this issue as a duplicate of issue #26. If you want to discuss it further, let's move the discussion to that issue. If you believe that this is a separate issue, we can always reopen this issue instead.

Thank you so much!
Leo

From: Tolik Pylypchuk @.>
Sent: Friday, January 20, 2023 2:16 AM
To: TolikPylypchuk/SharpHook @.>
Cc: Simanonok, Leo P @.>; Author @.>
Subject: Re: [TolikPylypchuk/SharpHook] Trying to use on Mac (.NET MAUI) throws exception (Issue #31)
External Sender. Be aware of links, attachments and requests.
Hi! Thanks for using SharpHook! Yes, there's currently a bug on macOS - the libuiohook.dylib file is not copied to the build directory on macOS for some reason. I haven't had the chance to investigate it yet as I don't have a Mac. You can find a workaround for this issue in this discussion threadhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTolikPylypchuk%2FSharpHook%2Fdiscussions%2F22%23discussioncomment-4184955&data=05|01|lsimanonok%40tulane.edu|1d59d07b6fd4475e003f08dafab64572|9de9818325d94b139fc34de5489c1f3b|0|0|638097958018428858|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=48cnYTE1JuE4s51GJ7py0LZ%2BifgG%2BGRsRZJN0G%2FbHEE%3D&reserved=0.
Also, I'm going to close this issue as a duplicate of issue #26https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTolikPylypchuk%2FSharpHook%2Fissues%2F26&data=05|01|lsimanonok%40tulane.edu|1d59d07b6fd4475e003f08dafab64572|9de9818325d94b139fc34de5489c1f3b|0|0|638097958018428858|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2F3Je01l06UC4FyfR2CqaQafK6CPgopI1ox4WAvnLsq8%3D&reserved=0. If you want to discuss it further, let's move the discussion to that issue. If you believe that this is a separate issue, we can always reopen this issue instead.
—
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTolikPylypchuk%2FSharpHook%2Fissues%2F31%23issuecomment-1398003898&data=05|01|lsimanonok%40tulane.edu|1d59d07b6fd4475e003f08dafab64572|9de9818325d94b139fc34de5489c1f3b|0|0|638097958018428858|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=OtV%2BCXoc2lJwLELnfrCLNRbRa94OwnAhAILliljXoxE%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANWCANACV3AOJOCANS3OFITWTI3VJANCNFSM6AAAAAAUAZBF7Q&data=05|01|lsimanonok%40tulane.edu|1d59d07b6fd4475e003f08dafab64572|9de9818325d94b139fc34de5489c1f3b|0|0|638097958018428858|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=799UCTA4qHwXUnkO6wfXUSOePJzbeh%2BIDjQCTQcKFto%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

Hi @leosimanonok! Mac Catalyst support has been added in version 5.0.0 which I've just released, so this issue can be closed as completed now :)

authors: TolikPylypchuk leosimanonok

repo: TolikPylypchuk/SharpHook


text:
Update index.jade

Ive added some pictures!

no issues adding pictures, all good. TA

repo: TomAylen/TAFridayDemo


text:
Problem with ORMOrderByManager

In branch rename-querybulder, on line 23 at this file:
/home/www/melon/vendor/zfcampus/zf-doctrine-querybuilder-filter/src/OrderBy/ORM/Field.php
instead of $queryBuilder->orderBy(.....
should be $queryBuilder->addOrderBy(.....
When passed several orderBy clauses in query string, it catches only the last one because of that bug

Fixed with #10

authors: TomHAnderson ivok

repo: TomHAnderson/zf-doctrine-querybuilder


text:
In Referral page, click Leaderboard 'View More' button, if list too long, will not display close button

Description
In Referral page, click Leaderboard 'View More' button, if list too long, will not display close button.
Steps To Reproduce

Enter Referral page
Click Leaderboard 'View More' button

Current Behavior

if list too long, will not display close button

Expected Behavior

View More drawer should fixed height

Environment

Platform: PC
Node: v18.18.0
Browser: Chrome 126.0.6478.56

Release in #735

authors: daojoer evan-spidy


text:
Arithmetic Expressions for Note Time Values seem Broken

The example for Tone.Part in the Wiki suggests that arithmetic can be used for note time values:
var part = new Tone.Part(function(time, pitch){
	synth.triggerAttackRelease(pitch, "8n", time);
}, [["0", "C#3"], ["4n", "G3"], ["3 * 8n", "G#3"], ["2n", "C3"]]);

=> "3 * 8n"
This does not seem to work, the note is not played back: https://jsfiddle.net/hbt5q9mf/
The feature would be useful though when wanting to specify a melody (e.g. the note at "0:3:0" could also be specified as "3 * 4n" or "2n + 4n").
Should such arithmetic expressions be supported, or is the example in the Wiki wrong?

Closing since arithmetic expressions were removed in 0.12.0, as stated in the release notes:

BREAKING CHANGES:
Tone.TimeBase and all classes that extend it not longer support string expressions.
RATIONALE :

Since all classes implement valueOf, expressions can be composed in JS instead of as strings
e.g. Time('4n') * 2 + Time('3t') instead of Time('4n * 2 + 3t')
this change greatly simplifies the code and is more performant

I updated the Wiki page accordingly: https://github.com/Tonejs/Tone.js/wiki/Events/3537ef75fd55ab729c5ad7f14771feae901a8bac


text:
Bug: 插件注册之后不会再次更新注册表

操作系统
Linux
ToolDelta 版本
0.4.12
描述问题
插件在第一次被加载时，ToolDelta会在注册表内写入插件的信息供插件管理器使用。然而，再次加载这个插件时，加载器检测到这个插件已经被注册过了，就会直接跳过更新注册表的步骤，即使这个插件的信息已被更改过。(原代码)这也就造成了插件信息不同步的问题。
复现步骤
1.创建一个插件，版本为0.0.1
2.启动ToolDelta加载插件
3.发现注册表内插件版本为0.0.1
4.更新插件版本为0.0.2
5.启动ToolDelta加载插件
6.发现注册表内插件版本仍为0.0.1
期望的结果
修改插件注册表的注册逻辑：在插件信息被更改时，同步更改注册表内的信息；在插件不存在时，同步删除注册表内的信息。
截图或日志
No response

让我尝试修改它罢

尝试修复中...

已被修复，np

fix https://github.com/ToolDelta/ToolDelta/commit/3f38733dcaf7a0c159cc91cc04da6156e0864f82

fix 3f38733

此修复出现问题， 正在改正。

fix (266064)

fix 266064a

authors: SuperScript-PRC chfwd wling-art

repo: ToolDelta/ToolDelta


text:
How can a console app play well with ServiceController APIs?

So I have this console app which will be registered as a Windows Service for the client. Topshelf makes it easy to run it as a console app during debug.
But we have a lot of calls for the ServiceController class, like ServiceController.GetServices() which will fail if we are running as a console app. Is there any setting/switch within Topshelf which will mimic the console app as service, so that ServiceController.GetServices() will return our console app as well?

I am closing all issues that haven't seen any activity. You're welcome to submit a PR to resolve the issue or provide more information.

authors: nawfalhasan phatboyg

repo: Topshelf/Topshelf


text:
Add ConFIG

Currently this is just the structure without the actual implementation.

The repo: https://github.com/tum-pbs/ConFIG

authors: PierreQuinton ValerianRey

repo: TorchJD/torchjd