SAK-44207 Update sequence definition in hbm.xml files for Hibernate 5

Many sequences were not being created in Oracle via auto.ddl.
In Hibernate 5.3 the setting hibernate.id.new_generator_mappings is set to true by default.
This makes the old way of defining a sequence using generator class="native" not work. Instead,
this should be updated to class="org.hibernate.id.enhanced.SequenceStyleGenerator" and sequence
parameter is now called sequence_name.

Question Dave are you sure your using the right Dialect?
As "native" simply calls org.hibernate.dialect.Dialect#getNativeIdentifierGeneratorStrategy
which the corresponding Dialect for Oracle should return the the sequence generation strategy for that db.

I tried with org.hibernate.dialect.Oracle10gDialect and org.hibernate.dialect.Oracle12cDialect (which is now supported with hibernate 5.0) and both produced the same issue where many sequences were missing.
You definitely know way more about this than I do, so if this isn't the right way to fix this I can keep looking into it. I haven't done extensive testing with mysql to see if this changes behavior there. I also didn't try leaving class="native" while updating only the parameter from name="sequence" to name="sequence_name".
It was surprising that native was no longer working...

Maybe you could try adding to db-components.xml?
false

That was my thought as well when I read that the default switched from false to true (and it does fix the problem), but looking into it further made it seem like setting it to true and using SequenceStyleGenerator was better for JPA and Oracle. Although, I've also seen that when it is set to true, using GenerationType.AUTO is not great for MySQL because in that case it will fall back on TABLE generator instead of IDENTITY. Also, it appears that beginning with Oracle 12c IDENTITY is supported by Oracle...?
It sounds like what we want to do is set this back to what it was (false) before the Hibernate upgrade. I'll update the pull request to set it in db-components.xml instead of switching the sequences in the hbm.xml files.
However, I'd love to know what is our current recommendation for generators for ID columns and what's the plan for the future. Do we make the minimum Oracle version 12c at some point and switch everything to IDENTITY? Perhaps we switch to using SequenceStyleGenerator with an exception added to the config for MySQL to fallback to IDENTITY instead of TABLE? It's been hard to find a definitive answer online what's best for an enterprise-level application using JPA and Hibernate that needs to support Oracle and MySQL equally. What do you think?


Update stage_3.s

Data descriptor is not needed in long mode
41th bit of code descriptor is unused in long mode

Thanks for the PR!

Data descriptor is not needed in long mode

You're right that it is not needed in this case, but you still need them for system calls. I'm fine with removing it here.

41th bit of code descriptor is unused in long mode

The AMD manual states that this bit is ignored, but I can't find anything like this in the Intel manual. There are some slight differences between the two sometimes, so I think it's better to keep the readable bit if there is any doubt.

@phil-opp , regarding the WRITABLE descriptor flag (41th bit) I am refering to
https://github.com/rust-osdev/x86_64/blob/8922d8d0b8532324237c2384bdddc91c335bc54f/src/structures/gdt.rs#L208
which states it's not needed in long mode..  Also I've read it your blog_os tutorial, IIRC.

Looks like this PR fell off my raday, sorry! With https://github.com/rust-osdev/bootloader/pull/232 merged, the stage_3.s assembly file no longer exists, so i think we can close this PR.


Suggested Settings Toggle Compatibility with Heck

Hello!
I know this is a bit redundant, but I know some mappers like to "suggest" settings that people should use on their maps. This is popular with modmaps and some Chroma lightshow maps. I think it would be great to add a suggested setting toggle using the Heck settings suggestion system found here: https://github.com/Aeroluna/Heck/wiki/Settings
Essentially it would just turn off this mod for the map then turn it back on after

The issue with that is that maps would have to actually use it, and with this being such a rather niche plugin, most just wouldnt. On top off that, I believe I need to reference Heck to be able to implement that which is kind of an annoyance


LayerMask: PersonMaskUltra和LayerMask: PersonMaskUltra V2

问题：不能正常运行。
已经运行过repair_dependency.bat
这两个命令在我测试的过程中一直不能运行。下面是错误日志
Error occurred when executing LayerMask: PersonMaskUltra:
[Errno 13] Permission denied: 'G:\AI\ComfyUI_M\ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite'
File "G:\AI\ComfyUI_M\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\AI\ComfyUI_M\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\AI\ComfyUI_M\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\AI\ComfyUI_M\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\person_mask_Ultra.py", line 63, in person_mask_ultra
with open(a_person_mask_generator_model_path, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

没用repair_dependency.bat修复之前也是这样吗？错误信息显示是文件权限问题不能打开，请查看你的protobuf依赖包版本

已经安装到了最新版本，protobuf==5.26.0  我用你的.bat安装试过不可以。我自己手动安装仍然不能成功运行。
修复之前也是不可以运行的，

I have the same error I install dependencies and the errors keep pop
Error occurred when executing LayerMask: PersonMaskUltra V2:
[Errno 13] Permission denied: 'K:\ComfyUI\ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite'
File "K:\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "K:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py", line 69, in person_mask_ultra_v2
with open(a_person_mask_generator_model_path, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@liulsg Try this [ pip install protobuf==4.25.3 ] it will uninstall the current version and install this one work for me but dont fix the errors.

Deleting the folder mediapipe and running the node will create a new one and download the model this fix the problem for me.

经过测试，出现此问题的原因是：自动下载的模型锁了权限
解决办法：删除 mediapipe 文件，手动创建mediapipe 文件并到官网下载模型放入这个文件夹内（与protobuf版本关系不大，我测试升降版本都没有问题），下面是原网址解决办法和模型下载地址。
https://github.com/djbielejeski/a-person-mask-generator/issues/28
https://developers.google.com/mediapipe/solutions/vision/image_segmenter#multiclass-model

After testing, the reason for this problem is: the automatically downloaded model locks permissions Solution: delete the mediapipe file, manually create the mediapipe file and download the model to the official website and put it in this folder (with protobuf version has little to do with it, I tested the upgrade version without problems), the following is the original URL solution and model download address.

不过这个节点的判断逻辑应该还有优化的空间。
检测不到对应信息直接报错（比如开启检测衣服，未检测到直接报错）

求整合或替代

这是哪个节点，求链接

这个节点的判断逻辑应该还有优化的空间。 检测不到对应信息直接报错（比如开启检测衣服，未检测到直接报错）

这个问题非常好解决，selfie_multiclass_256x256.tflite这个文件下载时生成了一个同名文件夹，把这个文件从文件夹里拿出来就OK了。
This problem is very easy to solve, selfie_multiclass_256x256.tflite this file download generated a folder with the same name, the file out of the folder is OK.

Error occurred when executing LayerMask: PersonMaskUltra V2:
We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like hustvl/vitmatte-small-composition-1k is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

执行 LayerMask 时出错：PersonMaskUltra V2：
我们无法连接到“https://huggingface.co”来加载此文件，在缓存文件中找不到它，并且看起来 hustvl/vitmatte-small-composition-1k 不是包含名为 config.json 的文件的目录的路径。在“https://huggingface.co/docs/transformers/installation#offline-mode”中签出您的互联网连接或查看如何在离线模式下运行库。

+1

Error occurred when executing LayerMask: SegmentAnythingUltra V2:
('Connection broken: IncompleteRead(149015986 bytes read, 175360628 more expected)', IncompleteRead(149015986 bytes read, 175360628 more expected))
File "D:\ai\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)

Error occurred when executing LayerMask: PersonMaskUltra V2:
Failed to import transformers.models.pvt_v2.configuration_pvt_v2 because of the following error (look up to see its traceback):
No module named 'transformers.models.pvt_v2.configuration_pvt_v2'
"How can this be solved, big shots?"

Failed to import transformers.models.pvt_v2.configuration_pvt_v2 because of the following error (look up to see its traceback): No module named 'transformers.models.pvt_v2.configuration_pvt_v2'

Try update the transformers dependency

Have yours been solved? I'm from
https://developers.google.com/mediapipe/solutions/vision/image_segmenter#multiclass-model
https://hf-mirror.com/yolain/selfie_multiclass_256x256/tree/main
Whether creating files manually or automatically has all been tried or
Error occurred when executing LayerMask: PersonMaskUltra V2: [Errno 13] Permission denied: 'H:\\sd\\ComfyUI\\models\\mediapipe\\selfie_multiclass_256x256.tflite'

执行LayerMask时出错：PersonMaskUltra V2：
我们无法连接到“ https://huggingface.co”来加载这个文件，在缓存文件中找不到它，并且看起来hustvl/vitmatte-small-composition-1k 不是包含名为 config.json 的文件的目录的路径。在“ https://huggingface.co/docs/transformers/installation#offline-mode”中标注出您的互联网连接或查看如何在离线模式下运行库。

+1

then :
D:\Install\Comfy ui\ComfyUI-aki-v1.3\models\vitmatte does not appear to have a file named config.json. Checkout 'https://huggingface.co/D:\Install\Comfy ui\ComfyUI-aki-v1.3\models\vitmatte/tree/main' for available files.

经过，出现此问题的原因是：自动下载的模型锁定了权限 解决方法：删除mediapipe文件，手动创建mediapipe文件并到官网下载模型文件夹这个文件夹内（与protobuf版本关系不大，我测试升降平台版本都没有问题），下面是原网址解决方法和模型下载地址。 djbielejeski/a-person-mask-generator#28  https://developers.google.com/mediapipe/solutions/vision/image_segmenter#multiclass-model
经测试，该问题原因是：自动下载的模型锁了权限解决办法：删除mediapipe文件，手动创建mediapipe文件并到官网下载模型放在此文件夹下（跟protobuf版本关系不大，我测试过升级版本没有问题），以下是原网址解决办法和模型下载地址。

then:
D:\Install\Comfy ui\ComfyUI-aki-v1.3\models\vitmatte does not appear to have a file named config.json. Checkout 'https://huggingface.co/D:\Install\Comfy ui\ComfyUI-aki-v1.3\models\vitmatte/tree/main' for available files.

Have yours been solved? I'm from https:// developers.google.com /mediapipe/solutions/vision/image_segmenter#multiclass-model https://hf-mirror.com/yolain/selfie_multiclass_256x256/tree/main Whether creating files manually or automatically has all been tried or Error occurred when executing LayerMask: PersonMaskUltra V2: [Errno 13] Permission denied: 'H:\\sd\\ComfyUI\\models\\mediapipe\\selfie_multiclass_256x256.tflite'

I'm getting the same error

感谢投稿怕冷爱上雪，您的投稿已收到，当晚就会开始审核。分享精神最可贵，如果稿件没有通过也非常感谢您投稿！软件无怕冷爱上雪版权的审核通过也不会发放奖励请勿使用快压流氓软件打包压缩包 发现一律略过

I am still getting this error. Downloading the file manually and putting it in a manually created \ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite directory results in the same error.
Deleting the mediapipe folder entirely and letting Comfy recreate it also gives the same error.
I am using the Windows portable standalone install.

same here

error still persist, no solution found.
i have delete the folder and have comfy to create a new one --------- not working
i have made the folder manually and download the model-------------not working
i have moved the selfie_multiclass_256x256.tflite up one level as instructed in a chinese website and i get this error:
Incorrect path_or_model_id: 'E:\Comfy--UI\ComfyUI_windows_portable\ComfyUI\models\vitmatte'. Please provide either the path to a local folder or the repo_id of a model on the Hub
i have lower the comfyui manager to weak and low------------------not working
at this point i don't see how this error could be solved.

The error indicates a permission issue with accessing the selfie_multiclass_256x256.tflite model file in the G:\AI\ComfyUI_M\ComfyUI\models\mediapipe directory. The system reports [Errno 13] Permission denied. Let’s step through this systematically:

Possible Causes & Solutions

File Permissions Issue:

The script is not allowed to read the file because of insufficient permissions.
Solution: Ensure the user executing the script has read permissions to the file and its parent directories.

Steps:

Right-click selfie_multiclass_256x256.tflite → Properties → Security.
Ensure the user account or "Everyone" group has Read permissions.
If not, click Edit → Add the relevant user → Check Read permission → Apply.

Windows Blocking the File:

Windows sometimes blocks downloaded files for security reasons.
Solution: Unblock the file.

Steps:

Right-click the selfie_multiclass_256x256.tflite file → Properties.
Check if there's an "Unblock" button at the bottom → Click Unblock.

Antivirus or Security Software Interference:

Some antivirus programs block access to certain files by unfamiliar programs.
Solution: Temporarily disable the antivirus or create an exception for the ComfyUI directory.

Locked File:

The file could be in use by another process.
Solution: Restart your machine to release any potential file locks.

Remapping the Directory (Workaround):

Idea: If permission issues persist, you can copy the mediapipe folder to another location with full access and redirect the path programmatically using symbolic links or environment variables.

Steps:

Create a new folder: C:\Models\mediapipe.

Copy selfie_multiclass_256x256.tflite into C:\Models\mediapipe.

Create a symbolic link (Windows) to point to this new location:
mklink /D "G:\AI\ComfyUI_M\ComfyUI\models\mediapipe" "C:\Models\mediapipe"

Execute with Elevated Privileges:

Solution: Run Python with administrator privileges.

Steps:

Open Command Prompt as Administrator.

Navigate to your ComfyUI directory.

Run the script:
python main.py

Next Steps

If none of these solutions work, there may be an issue with file corruption or disk access settings. Let me know which steps you’ve tried!

tried all of the above and all other nodes works without issues, but the problem is not resolve file can't be corrupted after downloading it 10 times and disk access is not giving issues on any other application.
about the 6th point i went to comfyui folder and 2 folder down to it and i can't run the command python main.py as it return
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
restarted comfyui, but nothing seems working

ok seems I have fixed thanks to trial and error
first take the selfie_multiclass_256x256.tflite and put it in the mediapipe folder, once you do that you will get an error about vitmatte missing, download the config.json preprocessor_config.json model.safetensors selfie_segmenter.tflite and put it in the vitmatte folder ( you have to create the folder manually if you don't have it) this is what made it work for me, you can get these models at
https://huggingface.co/hustvl/vitmatte-small-composition-1k/tree/main

vitmatte folder

sorry, tell me please the location of these folder

ok seems I have fixed thanks to trial and error
first take the selfie_multiclass_256x256.tflite and put it in the mediapipe folder, once you do that you will get an error about vitmatte missing, download the config.json preprocessor_config.json model.safetensors selfie_segmenter.tflite and put it in the vitmatte folder ( you have to create the folder manually if you don't have it) this is what made it work for me, you can get these models at
https://huggingface.co/hustvl/vitmatte-small-composition-1k/tree/main

hey that one worked. TY mate

vitmatte folder

sorry, tell me please the location of these folder

you have to create a new directory in your models dir - "vitmatte" which contains files config.json, preprocessor_config.json, model.safetensors from link https://huggingface.co/hustvl/vitmatte-small-composition-1k/tree/main
then in models/mediapipe there is a subdirectory "selfie_multiclass_256x256.tflite" which contains the file with the same name as the subdirectory "selfie_multiclass_256x256.tflite" - that is wrong. You need to put the file "selfie_multiclass_256x256.tflite" directly in models/mediapipe. Then it works - at least for me :)

The error indicates a permission issue with accessing the selfie_multiclass_256x256.tflite model file in the G:\AI\ComfyUI_M\ComfyUI\models\mediapipe directory. The system reports [Errno 13] Permission denied. Let’s step through this systematically:
Possible Causes & Solutions

File Permissions Issue:

The script is not allowed to read the file because of insufficient permissions.
Solution: Ensure the user executing the script has read permissions to the file and its parent directories.

Steps:

Right-click selfie_multiclass_256x256.tflite → Properties → Security.
Ensure the user account or "Everyone" group has Read permissions.
If not, click Edit → Add the relevant user → Check Read permission → Apply.

Windows Blocking the File:

Windows sometimes blocks downloaded files for security reasons.
Solution: Unblock the file.

Steps:

Right-click the selfie_multiclass_256x256.tflite file → Properties.
Check if there's an "Unblock" button at the bottom → Click Unblock.

Antivirus or Security Software Interference:

Some antivirus programs block access to certain files by unfamiliar programs.
Solution: Temporarily disable the antivirus or create an exception for the ComfyUI directory.

Locked File:

The file could be in use by another process.
Solution: Restart your machine to release any potential file locks.

Remapping the Directory (Workaround):

Idea: If permission issues persist, you can copy the mediapipe folder to another location with full access and redirect the path programmatically using symbolic links or environment variables.

Steps:

Create a new folder: C:\Models\mediapipe.
Copy selfie_multiclass_256x256.tflite into C:\Models\mediapipe.
Create a symbolic link (Windows) to point to this new location:mklink /D "G:\AI\ComfyUI_M\ComfyUI\models\mediapipe" "C:\Models\mediapipe"

Execute with Elevated Privileges:

Solution: Run Python with administrator privileges.

Steps:

Open Command Prompt as Administrator.
Navigate to your ComfyUI directory.
Run the script:python main.py

Next Steps

If none of these solutions work, there may be an issue with file corruption or disk access settings. Let me know which steps you’ve tried!

Unblocking and remapping method worked for me , thanks


Ayaneo Air 1S needs extra firmware file for sound

Describe the bug
Ayaneo Air 1S does not have any sound in bazzite due to a really odd speaker pin out.
What did you expect to happen?
This issue have been fixed in a few other similar distro's like ChimeraOS/chimeraos@2ae2da734ae95740b6a3caa19fee55e559c8364d and SteamFork/distribution@16b78597b19f691d1e25d6c26a4b77ef11ef2a38
Hardware
Ayaneo Air 1S

Fix will be in the next bazzite unstable version and come with F41.

Still not fixed as of unstable-41.20241026
Will report back as testing versions come out...

Thanks for catching that. New build in unstable with the firmware file.

Firmware file is in place as of ublue-os/bazzite@313ffe8b831cd2881fc01bd869609142b2f64c44 but still no sound on the Aya Neo Air 1s.
I have confirmed the firmware file is located at /usr/lib/firmware/aw87xxx_acf.bin.xz and /usr/lib/firmware/aw87559/aw87xxx_acf.bin.xz as of unstable-41.20241027.3 images
Maybe it doesn't like being in .xz format?

Paste a dmesg here

lsmod | grep aw87xxx does that show anything"

The realtek quirk for the 1S is there for sure too

justinhunkele@syn-2603-6010-e4f0-81b0-0000-0000-0000-1aa9:~$ lsmod | grep aw87xxx
snd_soc_aw87xxx       188416  0
snd_soc_core          512000  3 snd_soc_aw87xxx,snd_sof,soundwire_amd
justinhunkele@syn-2603-6010-e4f0-81b0-0000-0000-0000-1aa9:~$

justinhunkele@syn-2603-6010-e4f0-81b0-0000-0000-0000-1aa9:~$ sudo dmesg | grep aw87
[    6.663804] [Awinic] [i2c-AWDZ8830:00]aw87xxx_i2c_probe: I2C_ACPI_CLIENT_COUNT returned [2]
[    6.663809] [Awinic] [i2c-AWDZ8830:00]aw87xxx_malloc_init: Driver struct alloc and mutex init done, devinfo: i2c_bus=1, i2c_addr=58
[    6.663814] [Awinic] [i2c-AWDZ8830:00]aw87xxx_device_parse_port_id_dt: read aw-rx-port-id failed,use default
[    6.663817] [Awinic] [i2c-AWDZ8830:00]aw87xxx_device_parse_port_id_dt: rx-port-id: 0x4000
[    6.663819] [Awinic] [i2c-AWDZ8830:00]aw87xxx_device_parse_topo_id_dt: read aw-rx-topo-id failed,use default
[    6.663822] [Awinic] [i2c-AWDZ8830:00]aw87xxx_device_parse_topo_id_dt: rx-topo-id: 0x1000ff01
[    6.663889] [Awinic] [i2c-AWDZ8830:00]aw87xxx_i2c_probe: reset gpio[24c] parse succeed
[    6.667904] [Awinic] [i2c-AWDZ8830:00]aw87xxx_dev_hw_pwr_ctrl: hw power on
[    6.668079] [Awinic] [i2c-AWDZ8830:00]aw87xxx_dev_get_chipid: read chipid[0x5a] succeed
[    6.670218] [Awinic] [i2c-AWDZ8830:00]aw87xxx_dev_hw_pwr_ctrl: hw power off
[    6.672458] [Awinic] [i2c-AWDZ8830:00]aw87xxx_fw_load_init: enter
[    6.672521] [Awinic] [i2c-AWDZ8830:00]aw87xxx_monitor_init: monitor init succeed
[    6.672523] [Awinic] [i2c-AWDZ8830:00]aw87xxx_i2c_probe: succeed, dev_index=[1], g_aw87xxx_dev_cnt= [1]
[    6.672525] [Awinic] [i2c-AWDZ8830:00]aw87xxx_i2c_probe: acpi_c=[2] dev_c=[1]
[    6.676553] [Awinic] [i2c-AWDZ8830:00]aw87xxx_dev_hw_pwr_ctrl: hw power on
[    6.676711] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_malloc_init: Driver struct alloc and mutex init done, devinfo: i2c_bus=1, i2c_addr=5b
[    6.676716] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_device_parse_port_id_dt: read aw-rx-port-id failed,use default
[    6.676718] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_device_parse_port_id_dt: rx-port-id: 0x4000
[    6.676720] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_device_parse_topo_id_dt: read aw-rx-topo-id failed,use default
[    6.676722] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_device_parse_topo_id_dt: rx-topo-id: 0x1000ff01
[    6.677431] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_dev_get_chipid: read chipid[0x5a] succeed
[    6.677609] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_fw_load_init: enter
[    6.677618] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_monitor_init: monitor init succeed
[    6.677620] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_i2c_probe: succeed, dev_index=[2], g_aw87xxx_dev_cnt= [2]
[    6.677623] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_i2c_probe: acpi_c=[0] dev_c=[2]
[    6.960378] Modules linked in: snd_sof_amd_acp63(+) wl(POE+) snd_sof_amd_vangogh snd_sof_amd_rembrandt mac80211(+) snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp intel_rapl_msr btusb amd_atl libarc4 snd_sof btrtl snd_hda_codec_realtek intel_rapl_common snd_sof_utils btintel edac_mce_amd btbcm snd_hda_codec_generic btmtk snd_pci_ps snd_hda_scodec_component snd_hda_codec_hdmi snd_hda_intel snd_amd_sdw_acpi bluetooth ayaneo_platform(OE) kvm_amd iwlwifi soundwire_amd snd_intel_dspcfg snd_intel_sdw_acpi soundwire_generic_allocation xpad joydev spd5118 oxp_sensors soundwire_bus snd_soc_aw87xxx bmi260_i2c(OE) kvm snd_hda_codec snd_rpl_pci_acp6x bmi260_core(OE) snd_pci_acp6x cfg80211 snd_soc_core snd_hda_core bmi160_spi snd_pci_acp5x rapl snd_hwdep regmap_spi wmi_bmof snd_compress snd_rn_pci_acp3x snd_seq ac97_bus snd_acp_config snd_pcm_dmaengine snd_seq_device snd_soc_acpi bmi160_i2c i2c_piix4 thunderbolt pcspkr rfkill soc_button_array snd_pci_acp3x k10temp snd_pcm bmi160_core i2c_smbus
[    9.682214] [Awinic] [i2c-AWDZ8830:00]aw87xxx_fw_load: fw_data parse failed
[    9.682243] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_fw_load: fw_data parse failed
[   21.711495] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer uinput acpi_call nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables qrtr bnep sunrpc binfmt_misc vfat fat iwlmvm snd_sof_amd_acp63 wl(POE) snd_sof_amd_vangogh snd_sof_amd_rembrandt mac80211 snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp intel_rapl_msr btusb amd_atl libarc4 snd_sof btrtl snd_hda_codec_realtek intel_rapl_common snd_sof_utils btintel edac_mce_amd btbcm snd_hda_codec_generic btmtk snd_pci_ps snd_hda_scodec_component snd_hda_codec_hdmi snd_hda_intel snd_amd_sdw_acpi bluetooth ayaneo_platform(OE) kvm_amd iwlwifi soundwire_amd snd_intel_dspcfg snd_intel_sdw_acpi soundwire_generic_allocation xpad joydev spd5118 oxp_sensors soundwire_bus snd_soc_aw87xxx bmi260_i2c(OE) kvm snd_hda_codec snd_rpl_pci_acp6x bmi260_core(OE) snd_pci_acp6x cfg80211
[   21.713806] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer uinput acpi_call nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables qrtr bnep sunrpc binfmt_misc vfat fat iwlmvm snd_sof_amd_acp63 wl(POE) snd_sof_amd_vangogh snd_sof_amd_rembrandt mac80211 snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp intel_rapl_msr btusb amd_atl libarc4 snd_sof btrtl snd_hda_codec_realtek intel_rapl_common snd_sof_utils btintel edac_mce_amd btbcm snd_hda_codec_generic btmtk snd_pci_ps snd_hda_scodec_component snd_hda_codec_hdmi snd_hda_intel snd_amd_sdw_acpi bluetooth ayaneo_platform(OE) kvm_amd iwlwifi soundwire_amd snd_intel_dspcfg snd_intel_sdw_acpi soundwire_generic_allocation xpad joydev spd5118 oxp_sensors soundwire_bus snd_soc_aw87xxx bmi260_i2c(OE) kvm snd_hda_codec snd_rpl_pci_acp6x bmi260_core(OE) snd_pci_acp6x cfg80211

paste the whole thing please

dmesg.txt
lsmod.txt

Your device reads the firmware file and finds the speakers. So first thought is it doesnt like the firmware and wants some ayaneo one.

This is the same orangepi-xunlong firmware file that Chimera uses in their fix out of the AUR and sound works as expected on Chimera.
Weird...

This is what Chimera is using - https://aur.archlinux.org/packages/aw87559-firmware
It sure looks the same at least

It does indeed. Maybe i did the merge wrong, unsure. But it fails to bind your device to firmware. Also, the firmware file in that repo updated 3 months ago, there is a previous version there.
Can you try it? sudo rpm-ostree usroverlay --hotfix

Turns out Awinic made the fine decision to name all their firmware files the same. So the orange pi repo has 2 firmware files that have different hashes.
Then, the AUR repo used to reference a google driver rar file with 1S drivers that now is gonezo and was definitely a different hash. This is when Chos 46 was built.
And if you look online, there are some phone dumps with more random files with different hashes
@KyleGospo this will have to be BYO for now. Drop the fw file, and symlink  the fw file to /usr/local/ for the F41 release. Then we ask for people to collect the firmware files.

Ok, so there are multiple firmware files depending on your device. I edited the kernel driver to automatically select the correct file depending on the device. We do not have the permission to redistribute the files for now, so you will need to install them yourself.
However, they are easy enough to find. For Ayn MiniPro and Ayaneo, the driver pack for your device, then head into 0X_Audio -> AW87XXX... -> Driver -> Signed -> awinic_smartk_acf.bin (or similar name; ~1kb size) In the case of Orange Pi, here is the file.
Then, place the file in /usr/local with the following name depending on device:
❯ sha256sum *
d29703932b73a6588c131ea20d0f2d2cf76221018aa179984a758da2982dab15  aw87xxx_acf_air1s.bin
8e6edd2623d9b90a60acbe04aded7eb038abcb2d48e17656319366db9582e21f  aw87xxx_acf_kun.bin
d29703932b73a6588c131ea20d0f2d2cf76221018aa179984a758da2982dab15  aw87xxx_acf_minipro.bin
7db2c6eaca3135d732c2e635388e87cb49fc998b3f9a859c2a891ee78797eba3  aw87xxx_acf_orangepi.bin

Those are the hashes and how to calculate them as well, so you can be sure you have the correct file. Other devices will expect aw87xxx_acf.bin until we identify them.
You can verify the name with the following command:
sudo dmesg | grep "loading firmware name:"
For people in this thread, this is for kernel 6.11.5-306 onward, which is currently building.

I can confirm this fix is working now with the firmware file manually in place and as of ublue-os/bazzite@e3832fea8141aa041a58945a1bf6bbc6f088b669 successfully links to the provided file. Thank you for the quick response to this 😄

Heads up, we are changing the directory to /usr/local/firmware to not spam files all over /usr/local so you will need to move the file over.
sudo mkdir -p /usr/local/firmware
sudo mv /usr/local/aw87* /usr/local/firmware

Apologies in advance, this isn't that clear, is the file in the directory meant to be called:
d29703932b73a6588c131ea20d0f2d2cf76221018aa179984a758da2982dab15  awinic/aw87xxx_acf_air1s.bin
or
awinic/aw87xxx_acf_air1s.bin
or
aw87xxx_acf_air1s.bin
Ive tried all three in the directory and once i restart nothing has changed. I might be being a massive noob on this one. Once Ive got clear instructions ill make a youtube video on this as a lot of people will appreciate this change

Just run ujust install-speaker-firmare

Still not sound from the speakers on my end. I ran in terminal:
sudo dmesg | grep "loading firmware name:"
And it produces:
bazzite@192:~$ sudo dmesg | grep "loading firmware name:"
[sudo] password for bazzite:
[    8.258845] [Awinic] [i2c-AWDZ8830:00]aw87xxx_fw_load_init: loading firmware name: [aw87xxx_acf_air1s.bin]
[    8.265908] [Awinic] [i2c-AWDZ8830:00.1]aw87xxx_fw_load_init: loading firmware name: [aw87xxx_acf_air1s.bin]
bazzite@192:~$

So  I assume its working, and then I ran:
ujust install-speaker-firmare
and it produces:
/usr/local/firmware/ 100% [============================================================>]      43     --.-KB/s
[Files: 1  Bytes: 43  [86 B/s] Redirects: 0  Todo: 0  Errors: ]
/usr/local/firmware/ 100% [============================================================>]      43     --.-KB/s
[Files: 1  Bytes: 43  [129 B/s] Redirects: 0  Todo: 0  Errors:]
/usr/local/firmware/ 100% [============================================================>]     756     --.-KB/s
[Files: 1  Bytes: 756  [2.39KB/s] Redirects: 0  Todo: 0  Error]
/usr/local/firmware/ 100% [============================================================>]     756     --.-KB/s
[Files: 1  Bytes: 756  [2.10KB/s] Redirects: 0  Todo: 0  Error]
/usr/local/firmware/ 100% [============================================================>]     756     --.-KB/s
[Files: 1  Bytes: 756  [2.23KB/s] Redirects: 0  Todo: 0  Error]
/usr/local/firmware/ 100% [============================================================>]    1.51K    --.-KB/s
[Files: 1  Bytes: 1.51K [5.88KB/s] Redirects: 0  Todo: 0  Erro]

did you reboot afterwards?

yes sir, reboot and no change - i check the audio settings and tested the speakers to no avail

Send the full log
sudo dmesg | fpaste

https://paste.centos.org/view/b1e7974a


Clarification of the v4 upgrade note

Docs Build status updates of commit b603153:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/98329/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Uncaught error in iframe

When using GM I came across an issue where the iframe died.

I connected to https://notify.gm.walletconnect.com/ and attempted to subscribe.
This didn't work and there was a spinner.
I then went to the iOS wallet and subscribed directly.
Some moments later I went back to the dapp and saw the above screenshot.
On Slack it was mentioned that this can be caused by an uncaught error in iframe.

We no longer use iframes


pip install azimuth installs scikit-learn 0.18.1

Azimuth required scikit-learn >=0.17.1, < 0.18.1
Tests will fail with 0.18.1, when nosetests:
c:\python27\lib\site-packages\sklearn\cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
c:\python27\lib\site-packages\sklearn\grid_search.py:43: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
  DeprecationWarning)
EE
======================================================================
ERROR: test_predictions_nopos (test_saved_models.SavedModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
...
  File "sklearn\tree\_tree.pyx", line 632, in sklearn.tree._tree.Tree.__setstate__ (sklearn\tree\_tree.c:8125)
KeyError: 'max_depth'
-------------------- >> begin captured stdout << ---------------------
No model file specified, using V3_model_nopos

--------------------- >> end captured stdout << ----------------------

======================================================================
ERROR: test_predictions_pos (test_saved_models.SavedModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
 ...
  File "sklearn\tree\_tree.pyx", line 632, in sklearn.tree._tree.Tree.__setstate__ (sklearn\tree\_tree.c:8125)
KeyError: 'max_depth'
-------------------- >> begin captured stdout << ---------------------
No model file specified, using V3_model_full

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 2 tests in 0.813s

FAILED (errors=2)

Thanks @elibol for providing the solution:

pip uninstall scikit-learn
pip --no-cache-dir install scikit-learn==0.17.1
python

import sklearn
sklearn.version
you should see '0.17.1'

Then nosetests should work.


Implemented step 1 and 2 for WoT. Still need to notify the POR subjec…

Implemented following functionalities:

Fetch stranger certificate by keylocator
Request POR certificate issued by every other known (authenticated) user

If my cert store has N other users, send N interests for each
If not getting at least one POR, abort (treat as data verification failure)

Cross-sign stranger public key as POR certificate
Putting POR certificate into cert store
POR subject serves all POR it received

Missing functionality: Notify the POR subject a new POR is generated, let it fetch by name

Hello. Please run pnpm format, pnpm lint and pnpm test locally and fix the errors.

How is your progress on this?

How is your progress on this?

I'll fix these before the end of the weekend.


Timeline variables are not overridable

Describe the bug
Many of CSS variables in Timeline component are not overriddable.
Ref: https://github.com/vmware/clarity/blob/e9d804682fa6b9f410a1de04553fa69fbec450ad/src/clr-angular/timeline/_variables.timeline.scss
// overall
$clr-timeline-icon-size: $clr_baselineRem_1_5;
$clr-timeline-icon-inner-padding: $clr_baselineRem_2px;
...

Typical practice in clarity has been to append !default to variables, but in this file many of the styles don't have !default added.   Is this a miss or there is a conscious decision to not allow overrides?
We are clr baseline of 16px, needed to adjust the various sizes of clr-timeline for it to still appear as it appears in Clarity website https://v2.clarity.design/timeline#examples.  Without overriding variables, the timeline appears bit smaller - though it is working as expected.
Ours

Clarity:

How to reproduce
Following guide on themeing (https://v2.clarity.design/themes) to add custom theme
// Your Application Theme File
@import "./theme.scss";

// Clarity Component SCSS
@import<EMAIL_ADDRESS>

In theme.scss, change icon size to 2rem
$clr-timeline-icon-size: 2rem
Expected behavior
Icons become bigger in timeline
Versions
App

Angular: 8.2.13
Node: v10.16.0
Clarity: 2.2.2

Device:

Type: Dell Laptop
OS: Windows 10
Browser Chrome
Version [e.g. 22]

Additional notes
Add any other notes about the problem here.

Generally speaking, Clarity avoids making sizing and layout variables "overrideable".
Given the nature of the timeline component and the precise positioning involved, changing the sizes within the component could cause unexpected side effects to the layout of the component.
What is it you are trying to override and why?

With baseline as 16px in our theme,  the icon size is 24 px (1.5rem).  I would like to make the icon size to 36px by using 2rem.  Thats the first step -- I do see alignment issues if I use bigger icon.  I was thinking that by overriding multiple timeline SCSS variables, I should be able to make timeline look like the clarity with baseline 16px

That would require a pretty deep knowledge of the variables. IMO, the best path forward is applying custom CSS. It would allow you to optimize the layout for your specific use case without unintended side effects creeping in.


2024 02 21 prototype version 4 updates

PR Checklist

[X] Set yourself as the Assignee
[X] Tag anyone you would like to review, or @forms-design or @forms-devs
[X] Fill in the template below

What
This update relates to trelllo card https://trello.com/c/P3Lr5u8y/1396-documentation-fixes-update-prototype-version-4

Updated what we found (which didn’t really seem to be a huge amount)
Removed unnecessary formatting and content
Added link to the UR GitHub (this won’t work until merged as the filename was changed after I branched this version)
Added a bit more of a detailed change write up for the “edit question” screen and the minimal feedback we got from the round of testing done on it

How to review

Semantic: Do you agree with the changes?
Syntactic: Spelling, grammar, etc.
Is there anything you think I’ve missed?
Were there opportunities or decisions we made off the back of this version?

Who can review
Anyone can review, but it’d be great if @hannahkc can take a look I might have miss remembered/missed something we talked about.

ah ok cool!


Authorising single user to push commits using Github access token

I'm not sure if this is already possible or not.
The current entries endpoint might be susceptible to abuse as anyone can make the request to https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/
Is there a way to authorise the request, maybe with an access token? So that only the requests with valid tokens make a PR?
Something like, https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/?token=xxyyzz
This way we can safely get rid of the moderation as well

An encrypted Token field can be added to config and user can make the request with the original token.
The token from request can then be compared with the decrypted token from config to authorise the request.

The current entries endpoint might be susceptible to abuse as anyone can make the request to https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/.

For real examples of this, one may refer to #298.

Is there a way to authorise the request, maybe with an access token? So that only the requests with valid tokens make a PR?

This is already implemented in #219, and further enhanced in #231.  You may test @staticmanlab, a public instance for GitLab, which has implemented the later unmerged PR.
N.B. My instance doens't have Akismet and Mailgun since the main goal for setting it up is to test its GitLab support, so I choose not to expose myself to their pricing plans.


Add activity feed API

Current dependencies on/for this PR:

#40  👈
main

This stack of pull requests is managed by Graphite.


save_result (and save_model): Is the boolean return value useful at all?

Process ID: save_result (and save_model)
Describe the issue:
@soxofaan has a good point in https://github.com/Open-EO/openeo-processes/pull/304#discussion_r821430414 :

if the storage failed, an error should be thrown, it's just too error prone to return a boolean nobody is going to check.

save_result returns false in case of some failures, but throws in other cases (FormatUnsuitable for example). I doubt that in case of a failures, any implementation will actually return false. Instead they likely all throw an error and fail. Thus, the only value you may effectively get from this process is "true".
Also, it's actually not well defined what would fail and what would result in false. So this is an interoperability issue.
The only reason for a boolean I could find it that if you have two save_result nodes that then you can save partial results, but that seems like a strange thing if other issues throw anyway.
Proposed solution:
His proposal:

I think it's cleaner to return nothing (null) or return the original data

Context: There's no void in openEO, null is a strange replacement. Effectively, then we could also clarify that it's always true and throws otherwise. Changing to null doesn't bring any real benefit here. So we could return the original data instead. I actually think this was already proposed somewhere else, too. On the other hand, you can simply connect any following processes after save_result with the previous node and get the same behavior. Should we clarify that save_result always throws and otherwise always returns true? Or should we completely redefine the return value?
Additional context:
Should go through PSC if a breaking change is proposed.

We discussed this today and keep the boolean result. All options where chaining is required can be solved otherwise and may just be back-end limitation. This way we keep the option to later use the return value for something more useful, e.g. to return a vector data cube for each generated STAC item.


Azure API Management

Does anyone use this with Azure API Management?
It seems like their "portal" screen doesnt render "objects" defined in schemes.
EX:

vs

Did you create the APIM API by givin APIM your Swagger json or via some other method?

I just pointed to the json URL of the function app just like in the swagger ui.

Maybe this helps?
https://docs.microsoft.com/en-us/azure/api-management/api-management-api-import-restrictions

I don't think this has anything to do with this package. We are writing the open api spec for a new project manually (yaml). We came a cross this problem as well. Arrays of objects are ignored as well. I think this is a bug in api management...

@LockTar Yeah I'm not sure where the error is currently lol, it could be API Mgnt wants a diff format.  I posted the issue on their github also.  Was just wondering if anyone had a quick answer where I could just do a quick find replace or something, or if we knew what the standard was have an option to output in that format :)
https://github.com/Azure/api-management-developer-portal/issues/522

Looks like they have a bug and know how to fix.  Yay.
https://github.com/Azure/api-management-developer-portal/issues/522#issuecomment-595452958

Looks like we're missing allOf case when rendering the documentation.


What-if command failing for ARM templates containing 'Microsoft.Certificates' resources

Describe the bug
Command Name
az deployment group what-if
Errors:
DeploymentWhatIfResourceError - The request to predict template deployment changes to scope '/subscriptions/********-****-****-****-************/resourceGroups/**********-*******-prd' has failed due to a resource error. See details for more information.
MissingApiVersionParameter - The api-version query parameter (?api-version=) is required for all requests.

To Reproduce:
Create an ARM template containing a "Microsoft.Certificates" resource:
{
  "comments": "Certificate",
  "type": "Microsoft.Web/certificates",
  "name": "[variables('certificateName')]",
  "apiVersion": "2018-11-01",
  "location": "[resourceGroup().location]",
  "properties": {
    "pfxBlob": "[variables('certJson').data]",
    "password": "[variables('certJson').password]"
  },
  "dependsOn": []
},

Try to execute the what-if command normally:

az deployment group what-if -g {resourcegroupname} -f {armtemplate} -p {parametersfile}

Expected Behavior
The what-if command runs and shows the prediction of the deployment of the ARM template.
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.30.0

Additional Context
In the above case, information about the certificate is coming from a KeyVault where it was stored as a secret.
The 'certJson' variable contains a JSON object with information about the certificate.
If the certificates resource section is commented out of the template, the what-if command runs without any issues.

ARM

@Shenglol Could you please take a look at this issue?

Will take a look.

I wasn't able to reproduce it. @nuno-barreiro could you check if the certificate name [variables('certificateName')] contains any special characters that need to be url encoded (e.g. #)?

You're right on that one @shenglol. It does have a # in the name.
After removing it the what-if command works perfectly.

Thanks for the confirmation. If you need to keep the # in the name it is recommended to use the uriComponent template function to encode it.
@zhoxing-ms we may close the issue now.


remove on-demand text

i like to be able to remove the word on-demand for showing over poster

I've consider the option to allow text changes here. You could then just remove the text.

Would changing the "on-demand" headers to a badge (like the media details below) also achieve a similar result (aesthetically)?

i think the 'pill' format would be too small, considering what that this is not a media player

Feature to customise all banner text has been released in v1.3.0. A future release will address hiding on-demand titles and footers

Until there is a formal option to hide the on-demand banners, you can still do this by putting in a custom on-demand banner with just a space.

Now in current release


Replace DB with Store in service/user

@asim
Replacing DB with Store have done.
Please review the changes, and I'll work on migration scripts.
close https://github.com/micro/services/issues/315

Looks good. Thanks for all this effort.

@asim  Please let me know how many records in postgres and if every table needs to be migrated.

table
need migrate?  (Y/N)
count

users
Y

passwords
Y

password-reset-codes

sessions

tokens

@asim
Could you please help me to review my LAST commit?
I get all accounts from auth package, but when I pass the *auth.Account to context with auth.ContextWithAccount(ctx, account), it still runs error: missing account from context
Then I read the source code, I noticed that when calling a service with context, the account information always be driven with Authorization  Header, so my account in context didn't work.
https://github.com/micro/micro/blob/2e7245423520668605ba5f2866c3fec42f445cb3/util/wrapper/wrapper.go#L102-L106
What's more, I noticed that the account info was fetched with new struct{}，
So I think if I pass account in my user service, but fetch in db service, it can't be fetch right.
https://github.com/micro/micro/blob/master/service/auth/auth.go#L173-L187
I'm still in stuck. 😢
If this was a stupid question, please forgive me due to that I'm totally fresh in micro.

@asim  Any tips for me ?
If there isn't good way to deal with it,
then I have to start a migration process each time a user make request for their data. 😢

I won't have a chance to look at this until Monday but it sounds like without the user token it's basically impossible to get the data from the dB. So it's one where we'd either need to write an admin endpoint for the db to enable this migration or do it on the user request.
I won't have a chance to look at this properly until Monday unfortunately

Okay, thanks for your helpful tips.

@asim  I finally find a method to migrate.
I directly read rows from postgres , then write to the micro Store.
Please review my codes about migration in the ~/user/migrate directory, or you can just review my last commit.
If there is no big problem, I'll continue to add tables of session、verify, etc.
I'v did tests on my local environment, and it worked!

@asim
Finally, I finish the migration script !
My script execute like this:

Directly connect to the postgres
Read rows from tables with specific suffix, including *_users, *_passwords, *_sessions, *_tokens, *_password_reset_codes
Write the rows to Store

Yes! It migrates all the tables for user service, and what's more, these steps are all idempotent !
What you need to do is deploying it. It reads postgres connection string from config with key micro.db.database, it's same with db service. 😜

@asim  Sorry, I forgot to remove WIP in the title, this PR is ready to review.

Thanks, I will probably get around to reviewing this tomorrow.

Not forgetting this. Will just take time to review.

Take your time.
By the way, I'm studying cuelang, and work on some cue tutorials document translations.
So it will take up most of my free time, after that, I'll come back.

I had one more comment, and there's now a go.sum conflict but otherwise I'm ready to merge and then run this. We may just need to coordinate time of availability in case there are bugs.


Minor formatting error in user guide

https://github.com/AY2324S2-CS2103-F09-3/tp/blob/master/docs/UserGuide.md?plain=1#L183 and https://github.com/AY2324S2-CS2103-F09-3/tp/blob/master/docs/UserGuide.md?plain=1#L183 is not formatted properly (the asterisks show up when viewing).

Closed as it only appears on the GitHub preview and not the website.


WIP: Test win builds

Closing because I'll work on this one and it's faster to push directly to my own fork.


for visual clarity: please end function w/ return

Strictly speaking unnecessary because None is implicitly returned anyway, but I prefer that to have it easier jumping between functions.
Note that pylint will complain ...
https://pylint.readthedocs.io/en/latest/user_guide/messages/refactor/useless-return.html
... but that's ok
https://github.com/core-unit-bioinformatics/cubi-tools/blob/041731d1fa2c4b0d960000748185f9110410ff90/cubi-tools/update_workflow.py#L266

Implemented


Support multi-connection local BS repos

Problem
Sometimes, you want to have multiple decompilers connected to the same BinSync repo at the same time. You don't have a remote, so you want edits in all your decompilers to affect the local repo's version control. You can't depend on pulling from a remote.
In this case, BinSync completely blows up. Under the hood, we depend on Git, so you can't have two processes working independently to interact with the same local Git project. You need to synchronize actions, like commits and pulls.
Proposed Approach
To make this possible, the only real solution is to create a Git synchronization server in BinSync. This change is major if incorporated directly into the client of BinSync.
Since so much code will be duplicated if it is not, we should integrate this change directly into the Client.
I propose you do the following:

Create a new Python file and class called GitServer, this new class can operate in two modes:

Object mode: does not spin up a real server at all and instead just does the operations in the same thread
Server mode: spins up a server and takes requests over a PyRPC to do Git operations

Using the new GitServer object, update client.py to have a reference to it and use it for Git operations
Update use of any Client function that uses @atomic_git_action (and its subfunctions) to be in GitServer. As an example this func: https://github.com/binsync/binsync/blob/70c0b9d4f863d30665f1ee131c04e448c98be619/binsync/core/client.py#L277

Steps for Completion
I think this should be completed in two parts:

Implement the GitServer, duplicating code from Client right now and keep both. We add a simple option to Client to use the server instead of using the local functions. Keep it experimental until the core team can do part 2:
Delete all the reused code in Client and make it use the GitServer object mode.

Limitations

You will still need to be using 2 different users when connected on the same local repo, since we will not be trying to deal with conflicts in actions in the server. That would be out of scope :).
In step 1 of the implementation, a single process using the server will be slower than its operating speed now. This can be bad when people use it for a fast CTF

Alternatives

Instead of doing a full server, we can just have a shared file that we synchronize on. Hacky.
Continue to not support multi-local connections, since it's already supported if you just copy the repo and have a remote repo

Additional context
This feature request was derived from discussion with Exiled on Discord: https://discord.com/channels/900841083532087347/930156084281356289/1189088322178531328.

Howdy! Super interested in helping out here! Incredibly detailed issue which helps me out a lot! :)


add process depencency, as webpack 5 doesn't polyfill.

Purpose
Fixes memo serialize and deserialize after webpack 5 upgrade
Changes

add process polyfill

Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.

Where does the memo serialize and deserialize use process?

Where does the memo serialize and deserialize use process?

Where does the memo serialize and deserialize use process?

It is the cbor dependency.


Please remove my name and student comment from UWFlow

Hello @JGulbronson and UWFlow Team.
I kindly ask that you remove my name: Michael Holland from UW Flow and the comment(s) that a really difficult and angry student left on my name page. I taught Sociology (SOC) 322.
I am still a student and it was my first course. I am not even a professor, so I don't see the point in having a student harm my image as a graduate student.
I very, very, kindly request that you remove my information from your UWFlow Site. Please let me know:
<EMAIL_ADDRESS>Thanks,
Michael Holland

Hi Mike, they have been removed. In general I prefer to leave reviews up if I feel that they can help students make informed choices during course selection. However, as you are no longer teaching, this does not apply.
Regardless of how difficult of angry a student may have been, the review itself did not seem abusive or derogatory towards you, so had you still been teaching I would have likely leaned towards leaving it up.


[837] Updating the donations/index page theme

Resolves #837
Description

Making it use the new Bootstrap 4 theme
Type of change

UI Update

How Has This Been Tested?
Visually

Screenshots

I'm not yet sure what the best way to update the date_select is or if it's something to handle later.

@daniesg If date_select is stable and usable, and doesn't have a specific Bootstrap 4 magic fix, don't worry about it. :)
Thank you! :+1:


New workergroups configuration UI (dashboard)

Plus:

Adding job moving feature
Job retry count shown in the dashboard

What happened with this PR? Looked promising.


Flatten packet parsing

Currently, on no_std hardware, we always allocate the maximum possible packet size on the heap.
This is not very efficient.
Handle nested PDUs as simple &[u8] slices.
trait Pdu {
    fn vector(&self) -> u32;

    fn pack(&self, buf: &[u8]) -> Result<(), PackError> {
        ...
    }

    fn pack_header(&self, buf: &[u8]) -> Result<(), PackError>;

    fn pack_data(&self, buf: &[u8]) -> Result<(), PackError>;

    fn len(&self) -> usize {
        ...
    }

    fn vector_len(&self) -> usize;

    fn header_len(&self) -> usize;

    fn data_len(&self) -> usize;
}

This makes all very complicated and the API inerergonomic.
Also, a packet size of 1144 bytes (about 1 kB) does not seem to bad.


[TW#27711] ESP BT SPP: Interrupt wdt timeout upon disabling then enabling gap_scan_mode

Environment

Development Kit:none
Module or chip used:  ESP32-PICO-D4
IDF version: v3.3-dev-337-g1cffc90e5
Build System:  CMake
Compiler version: 1.22.0-80-g6c4433a
Operating System: Linux
Power Supply:  USB

Problem Description
In order to save power, I want to be able to disable, then re-enable the BT SPP module. Doing so, however, repeatably causes a crash and restart of the system, effectively making it impossible to restart the Bluetooth system.
More specifically, the crash occurs shortly after a second call to esp_bt_gap_set_scan_mode (in the order of a few ms); without setting any scan mode the system works. This is also undesirable, as without a scan mode enabled, nothing can connect to the device.
Expected Behavior
The calls to esp_bt_gap_set_scan_mode and esp_bt_controller_enable/disable should not crash. They should simply restart the Bluetooth system, and thusly allow my system to save power by disabling Bluetooth when not needed.
Actual Behavior
The second call to esp_bt_gap_set_scan_mode, which re-enables the discoverable_connectable mode, seems to cause an Interrupt to hang up. A few ms later, the interrupt watchdog is triggered, causing a Guru Meditation Error on Core 0 and resetting the chip.
Steps to reproduce
Simply set up the build environment to have BT SPP mode enabled, and run the code below.
Code to reproduce this issue
  // Minimal initialisation above (i.e. #include's, nvs, tcp_ip and event loop init)

  esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
  bt_cfg.mode = ESP_BT_MODE_CLASSIC_BT;
  esp_bt_controller_init(&bt_cfg);
  esp_bt_controller_enable(ESP_BT_MODE_CLASSIC_BT);
  esp_bluedroid_init();
  esp_bluedroid_enable();

  while (true) {
		puts("SPP: Disabling");
		esp_bt_controller_disable();

		vTaskDelay(3000 / portTICK_PERIOD_MS);

		puts("SPP: Enabling");
		esp_bt_controller_enable(ESP_BT_MODE_CLASSIC_BT);
		while(esp_bt_controller_get_status() != ESP_BT_CONTROLLER_STATUS_ENABLED)
				vTaskDelay(10);
		esp_bt_gap_set_scan_mode(ESP_BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE);

		vTaskDelay(3000/portTICK_PERIOD_MS);
	}

Debug Logs
SPP: Disabling
SPP: Enabling
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC      : 0x40087d7f  PS      : 0x00060034  A0      : 0x80088cc6  A1      : 0x3ffbe6c0
0x40087d7f: r_rwble_isr at ??:?

A2      : 0x00000004  A3      : 0x3ff71210  A4      : 0x800817b3  A5      : 0x3ffbbba0
A6      : 0x00000000  A7      : 0x00000002  A8      : 0x00000020  A9      : 0x00000010
A10     : 0x00000000  A11     : 0x3ffb7fec  A12     : 0x800907cd  A13     : 0x3ffbbb90
A14     : 0x00000003  A15     : 0x00060323  SAR     : 0x0000001d  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000
Core 0 was running in ISR context:
EPC1    : 0x40153fa6  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x40087d7f
0x40153fa6: esp_pm_impl_waiti at /opt/ESP/esp-idf/components/esp32/pm_esp32.c:487

0x40087d7f: r_rwble_isr at ??:?

Backtrace: 0x40087d7f:0x3ffbe6c0 0x40088cc3:0x3ffbe6e0 0x40082972:0x3ffbe700 0x40153fa3:0x00000000
0x40087d7f: r_rwble_isr at ??:?

0x40088cc3: r_rwbtdm_isr_wrapper at intc.c:?

0x40082972: _xt_lowint1 at /opt/ESP/esp-idf/components/freertos/xtensa_vectors.S:1105

0x40153fa3: esp_pm_impl_waiti at /opt/ESP/esp-idf/components/esp32/pm_esp32.c:487

Core 1 register dump:
PC      : 0x40153fa6  PS      : 0x00060f34  A0      : 0x800d32c6  A1      : 0x3ffbc350
0x40153fa6: esp_pm_impl_waiti at /opt/ESP/esp-idf/components/esp32/pm_esp32.c:487

A2      : 0x3ffcba49  A3      : 0x00060f20  A4      : 0x00000000  A5      : 0x00000001
A6      : 0x00000003  A7      : 0x00060023  A8      : 0x800d2662  A9      : 0x3ffbc340
A10     : 0x00000003  A11     : 0x00060f23  A12     : 0x00060f20  A13     : 0x3ffbc260
A14     : 0x00000003  A15     : 0x00060023  SAR     : 0x0000001d  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000

Backtrace: 0x40153fa6:0x3ffbc350 0x400d32c3:0x3ffbc370 0x40090da9:0x3ffbc390 0x4008fded:0x3ffbc3b0
0x40153fa6: esp_pm_impl_waiti at /opt/ESP/esp-idf/components/esp32/pm_esp32.c:487

0x400d32c3: esp_vApplicationIdleHook at /opt/ESP/esp-idf/components/esp32/freertos_hooks.c:86

0x40090da9: prvIdleTask at /opt/ESP/esp-idf/components/freertos/tasks.c:3537

0x4008fded: vPortTaskWrapper at /opt/ESP/esp-idf/components/freertos/port.c:403

Hi, @Xasin , Before disable controller, you should disable and deinit SPP and bluedroid. Then after enable controller, init and enable bluedroid and SPP again.

@Xasin ，Yes, (de)initialisation be executed that often is not a good idea.
We are working on light sleep and DFS,  when it is done, it can save much power when there is nothing to do.

@blueMoodBHD Automatic light sleep compatibility would be fantastic, especially combined with BLE.
I suppose that in that case this issue should be closed since technically I wasn't running into a bug, I was just doing it wrong.
I'm looking forward to the Light Sleep functionality! Until then, I'll just have to charge my system a bit more often.

@Xasin Thanks for reporting, feel free to reopen the issue if the issue reappears. Thanks.


Add speed and timecode feedback variables

Can we add feedback variables to show the timecodes and playback speed?  The companion-module-bmd-hyperdeck has numerous variables for:

Timecode - e.g. $(hyperdeck:timecodeHMSF)
Countdown Timecode - e.g $(hyperdeck:timecodeHMS)
Recording time available - e.g. $(hyperdeck:recordingTime)
Playback Speed - e.g. $(hyperdeck:speed)

I also really need timecode feedback and more control functions, because I use T2 player, and the current functions are not enough for some large-scale project productions.
This is the compatibility of the T2 AMP protocol
https://wwwapps.grassvalley.com/docs/Manuals/iddr/t2/T2_UsersManual_AMP_E_0111_2011.pdf


Add slide_o_mix to developers

Description
Repo: https://github.com/jenkinsci/webhook-step-plugin
Mailing List Discussion: https://groups.google.com/forum/#!msg/jenkinsci-dev/h02bjOJG46c/2BBMpJyzAQAJ
Submitter checklist for changing permissions

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Requesting @oleg-nenashev to review and merge so I don't just merge something that is for myself...

Thanks!


Device Request - Radar sensor - Smart Life / ZG-205Z

Pls ignore, I already found another issue requesting it
Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device.

Device Information

Device Name: Smart Life Human Presence Detector
Device Model: ZG-205Z / ZG-205W
Device Description: Radar sensor
Link to device image:[ Provide the URL to an image/photo of the device](https://nl.aliexpress.com/item/1005005951964477.html?spm=a2g0o.order_list.order_list_main.28.506079d2EOcc3c&gatewayAdapt=glo2nld)

Device Interview

  "ids": {
    "modelId": "TS0225",
    "manufacturerName": "_TZE200_2aaelwxk"
  },
  "endpoints": {
    "ieeeAddress": "a4:c1:38:4d:5f:a9:d2:87",
    "networkAddress": 9919,
    "modelId": "TS0225",
    "manufacturerName": "_TZE200_2aaelwxk",
    "endpointDescriptors": [
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 9919,
        "_reserved": 34,
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 1026,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          0,
          3,
          1280,
          57346,
          61184,
          60928,
          57344,
          1024
        ],
        "outputClusters": [
          3,
          57346,
          61184,
          60928,
          57344
        ]
      },
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 9919,
        "_reserved": 10,
        "endpointId": 242,
        "applicationProfileId": 41440,
        "applicationDeviceId": 97,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [],
        "outputClusters": [
          33
        ]
      }
    ],
    "deviceType": "router",
    "receiveWhenIdle": true,
    "swBuildId": "0122052017",
    "capabilities": {
      "alternatePANCoordinator": false,
      "deviceType": true,
      "powerSourceMains": true,
      "receiveWhenIdle": true,
      "security": false,
      "allocateAddress": true
    },
    "extendedEndpointDescriptors": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 0,
                "name": "zclVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 1,
                "name": "appVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 2,
                "name": "stackVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 3,
                "name": "hwVersion"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 4,
                "name": "manufacturerName"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 5,
                "name": "modelId"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 7,
                "name": "powerSource"
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 18,
                "name": "deviceEnabled"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 16384,
                "name": "swBuildId"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision"
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "identify": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 0,
                "name": "identifyTime",
                "value": 0
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "iasZone": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 0,
                "name": "zoneState",
                "value": "notEnrolled"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 1,
                "name": "zoneType",
                "value": "motionSensor"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 2,
                "name": "zoneStatus",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0,
                    0
                  ]
                }
              },
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 16,
                "name": "iasCIEAddress",
                "value": "30:fb:10:ff:fe:09:7c:cf"
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 17,
                "name": "zoneId",
                "value": 6
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "illuminanceMeasurement": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 0,
                "name": "measuredValue",
                "value": 1000
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 1,
                "name": "minMeasuredValue",
                "value": 0
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 2,
                "name": "maxMeasuredValue",
                "value": 4000
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        },
        "bindings": {
          "identify": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable"
                ],
                "id": 0,
                "name": "identifyTime",
                "value": 0
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        }
      },
      "242": {
        "clusters": {},
        "bindings": {}
      }
    }
  }

Additional Comments:

Note: Provide any other relevant information or requests related to the device. Link to where you bought the device can be of help

How to interview a device

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want to be added. Thank you for your contribution!

@testuser83  use this forked repo. there your device is supported.
https://github.com/eelco2k/com.tuya.zigbee/tree/SDK3/drivers/radar_sensor_2

@testuser83 use this forked repo. there your device is supported. https://github.com/eelco2k/com.tuya.zigbee/tree/SDK3/drivers/radar_sensor_2

Thank you so much. I was not aware. Now finding out how to install it and see if it works for me.

@testuser83 use this forked repo. there your device is supported. https://github.com/eelco2k/com.tuya.zigbee/tree/SDK3/drivers/radar_sensor_2

Thank you so much. I was not aware. Now finding out how to install it and see if it works for me.
Done and it works. Thanks again :-)

@testuser83 I have the same issue with my new radar sensor. Could you please tell me how you installed the driver on homey to make it work? Hope you can help me, thanks!

https://github.com/JohanBendz/com.tuya.zigbee/issues/831#issuecomment-2102595271
should get you going!

Hi Eelco2K, thank you!! I have your app installed now, and my Radar sensors are working like a charm. Thanks again for the help!


Update documentation and examples

We should have clean launch files with a updated README and examples.

Work in progress in opentera-webrtc-ros-dev branch


Create boat state class

Purpose

The physics model is defined by two reference frames, in particular the fixed reference frame and the global reference frame. The purpose of this issue is to create a class named BoatState that contains the kinematics data of the boat at a particular instance in time.
Important: Please take a read through the current version of the Physics Engine Design Specification before starting on this issue.

Description

File Location: boat_simulator/nodes/physics_engine/state.py
The BoatState class will contain the following information:

Kinematics data of the object, both in the fixed and global references

Position, velocity, and acceleration (both cartesian and angular)
The uniform timestep between data points (aka the update frequency)

The BoatState class should implement the model state definition in the design specification. The BoatState class should have the following behavior:

Be able to return kinematics data relative to both reference frames when requested
Updating the kinematics data requires the net force only. You may assume that it is already calculated outside the class.

Tests
Add your tests to tests/unit/nodes/physics_engine/. Use the pytest API to make your tests.

Resources

UBC Sailbot Python Conventions and Style Guide
Python Dependent Properties to compute certain members when access rather than needing to update them all the time (recommended for any position and velocity calculations)
PyTest Examples

@eomielan Next steps:

[ ] Transfer your implementation to model.py. You do not need to implement any force computations yet.
[ ] Create another class that separates the kinematics computation from the BoatState class so that it can be tested. For this new class, you can assume that for each step, you have the net force and torque.
[ ] Test the class you implemented for kinematics computations.


[Group Elements in Reports] When an Group element is clicked, the associated Description text is not being displayed

Version of Archi, Operating System
Archi 4.3.0 on Windows 10 Pro

Expected Behaviour
When an Group element is clicked in a Report, the associated Description text should be displayed in the lower-left Documentation tab in in the web report.
Actual Behaviour
When an Group element is clicked in a Report, the associated Description text is not being displayed in the lower-left Documentation tab in in the web report.
Steps to Reproduce the Behaviour

Open the report from here: https://mwherman2000.github.io/indy-arm/
Click any view in the left panel
Select any Group element in the image of the view
Look under the Description tab in the lower-right corner of the web app
Nothing shows up (assuming the Description property was given a non-zero length string)

This is issue #446
Will be implemented in next version

Fixed in 4.4 beta


Replace black_box with std::hint::black_box

Rust version 1.66 now comes with a stabilized version of a black_box function that emits an "empty" assembly directive.  This patch replaces the older optimization barrier, which was based on a volatile read with the newly standardized function.
Announcement from Mara:
https://hachyderm.io/@Mara/109518823276877083
Current implementation of black_box in rustc:
https://github.com/rust-lang/rust/blob/a803f313fdf8f6eb2d674d7dfb3694a2b437ee1e/compiler/rustc_codegen_llvm/src/intrinsic.rs#L341-L375

Review suggestions:

This patch bumps the MSRV to the most recent version (1.66), which might be undesirable. One workaround is to wait for merging this until cfg_version is stabilized, and then write a fallback black_box based for rustc before 1.66.

@tarcieri Thanks for the review! I added back the original implementation (based on the volatile read).

FYI: I don't actually have commit access to subtle 😦
I've asked about what to do with these PRs. Looks good to me now aside from bikeshedding the feature name.

Mild preference for core-hint-black-box or core_hint_black_box since we've had at least three versions of the blackbox function so far, one of my assembly, one of my wat/wasm, and now the core::hint::pointer based one. It seems like a good reason to be explicit in the naming (albeit annoying verbose) about which "black box" users are opting into.

@dsprenkels Thanks for updating the documentation as well!

Heads up: the rustdoc for this function on the beta channel of rustc now contains a big scary warning saying black_box cannot be depended upon for cryptographic purposes:
https://doc.rust-lang.org/beta/core/hint/fn.black_box.html#when-is-this-useful
I think this should probably be reverted.

The clarification docs were added in https://github.com/rust-lang/rust/pull/108088. When I try to follow the rabbit hole I cannot seem to find where it was exactly specified first that black_box may not do anything useful. We should definitely revert the changes, but maybe consider keeping the feature flag to prevent a breaking change?


Problem retrieving the Trade Hold from getTradeHoldDuration

Good morning everyone.
My Problem today is, that im not able to get the getTradeHoldDuration.
Heres the code of the gethold function
http://pastebin.com/JUaF0uCx
If you wonder about the amount of Mysql statements is because im using my database as a kinda state machine.  and i yet didnt make a function to change it to available
Is my callback wrong or is setTimeout() not working?
Everything else is working just the getTradeHold doesn't work at me.
Im setting up my API Key on login and generate new Cookies every 20 Min via Interval.
It showed the TradeHold once but it took like 10 seconds to reply it from Steam.
Thanks for helping me guys.

Think I have sort of the same problem at the moment, but not quite sure.

offers.getTradeHoldDuration({tradeOfferId: offer.tradeofferid}, function (err, hold) {
if (err) {
offers.declineOffer({tradeOfferId: offer.tradeofferid});
return;
} else {
if (hold.their != 0) {
console.log(their.hold);
offers.declineOffer({tradeOfferId: offer.tradeofferid});
return;
}
}
console.log(their.hold); //make it visual too see something atleast.
});

Is this issue still relevant?

i would not say so because i stopped working on it.


Error when clicking button

Summary
_MissingSentinel' object has no attribute '_state' is the exception when attempting to click
Reproduction Steps
`        try:
await asyncio.sleep(0.3)
        await button.click()
        print("button clicked")

    except Exception as e:
        print("button not clicked")
        print(e)
        pass

`
Code
try:
            await asyncio.sleep(0.3)

            await button.click()
            print("button clicked")

        except Exception as e:
            print("button not clicked")
            print(e)
            pass

Expected Results
I am trying to click a button but it ends up not clicking. Previous versions of this library have done this without a problem.
Actual Results
Nothing happens.
System Information

Python v3.10.10-final
discord.py-self v2.0.0-alpha

discord.py-self metadata: v2.0.0a2

aiohttp v3.8.4
system info: Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

There's a good chance that the recent upstream pull broke something relating to this, but I cannot reproduce this (and it doesn't really seem possible looking at the code). Can you elaborate on how you are getting this error?

I get a specific exception if I try to click a button:
code:
message = "......"
for comp in message.components:
    for child in comp.children:
        if child.label == "XXX":
            await child.click()

23-04-01 15:14:54 ERROR    discord.ext.tasks Unhandled exception in internal background task 'test'.
Traceback (most recent call last):
  File "/home/user/anaconda3/lib/python3.9/site-packages/discord/ext/tasks/__init__.py", line 239, in _loop
    await self.coro(*args, **kwargs)
  File "reload_module.py", line 38, in test
    await child.click()
  File "/home/user/anaconda3/lib/python3.9/site-packages/discord/components.py", line 228, in click
    message._state,
AttributeError: '_MissingSentinel' object has no attribute '_state'

OK. Got a hotfix:
message = "......"
for comp in message.components:
    for child in comp.children:
        if child.label == "XXX":
            child.message = message
            await child.click()

Should be fixed now. This is why I didn't immediately release after the upstream merge :)


[W5.11][W11-A1] wang zi

added a function to automatically list all entries after a new person is added with the add command
added a sort command to sort entries based on alphabetical order of their name

Well done. It would be good to have comments describing the various functions.
I am not sure whether it would solve the automatic check, but updating your JUnit tests may solve the problem

@alexawangzi
Some comments added. Please ack & close the PR after reading comments.


On input click, sometimes the flatpickr appear and disappear fast

Hi, if i click on left margin the flatpickr appear and disappear fast. This bug we can see even on official site.

flatpickr listens to different mouse events on the input field and will do different things depending on the event.
I can't explain exactly why this happens but it's clear that a click event never is fired. The following mouse events (in order) are fired:
1. mousedown
2. mouseout
3. mouseleave
4. mouseover
5. mouseout

If you click somewhere else on the input element the following events (in order) are fired:
1. mousedown
2. mouseout
3. mouseleave
4. mouseover
5. mouseup
6. click

As you can see there is no mouseout event in my second example.
I haven't debugged this too much but I assume that this is because the parent of the input element gets focus before the mouseup event. That causes an mouseout event which is the reason why a click event never fires.

I've submitted a PR that fixes this issue; the click event never fires because the mousedown and the mouseup events happen on different elements - the initial focus event opens the calendar, and if the cursor is on the newly drawn calendar, the mouseup event registers with a different target (which isn't the input you're aiming for), which runs close(). Using 'mousedown' instead of 'click' for the self._input and window.document event handlers ensures the correct event target is used in every case, and there are no more phantom calendar flashes.

Fixed in https://github.com/flatpickr/flatpickr/pull/2304

This issue is still showing up in version 4.6.13. On mouse down the picker disappears. I have tried with and without jquery.


Not a livereload watcher?

This doesn't actually initialize a livereload watcher, does it?
It's just a shortcut to refresh the UI, correct?

I'm not really sure what you expected to see, but as far as I can tell -- the package still does what's described in the README:

This live reloads the Atom .less files. You edit styles and they are magically reflected in any running Atom windows.

More instructions and a GIF of what that means are in the README. For example, let's say you're working on an Atom UI theme: you'd have a local clone of that theme linked into Atom, and when you start Atom in dev mode to work on the theme -- Atom's UI would live reload as you edit the theme's files. Hope that helps.

Well that's weird then because I was working on a syntax-theme in dev mode and the changes didn't appear until I reloaded the atom window myself (either via the menu or by executing the livereload action).

If you could provide the exact steps which you did so that we can perhaps try and reproduce the problem, that would be helpful (starting from a git clone command which clones the theme in question locally).

Ok so:
I'm on ArchLinux with Chrome v43
git clone https://github.com/varemenos/obscurity-syntax
cd obscurity-syntax
apm link --dev
Open Atom --> View -> Dev mode -> choose the obscurity-syntax directory
Set the current syntax theme to be Obscurity and then I start editing my syntax theme but nothing changes on save. The only ways I've found to update the Atom window with the new changes are to either use the Reload command or to I explicitly call Dev Livereload: Reload All.
But they are still a one time thing, If I do another change I need to execute one of them again.

Thanks. I just followed those steps on OSX and that works just fine for me -- here's a GIF where I edit the cursor's color:

I'll try it later on Linux, but in the meantime -- can you clarify which changes exactly your making and record a similar GIF? Also, which version of Atom are you using?

Atom version is v0.201
I can't record a GIF right now but when I do the same thing as you do, I see nothing changed.

@varemenos Can you try disabling all community packages but the theme you're working on and see if you can reproduce this?

Ok, so I disabled all community packages and themes except the theme, I've closed and reopened Atom in dev mode and tried it but still nothing
I opened the devtools and there are some errors:

I'm seeing the same on Ubuntu -- exception logged to the console (no notification) + no live reload action. /cc @kevinsawicki for :eyes:

Thanks for the report @varemenos. :bow: For future reports -- providing as many details as possible up front + steps to reproduce would minimize the back-and-forth (also see the guide and another guide). :v:

still nothing?

This issue was moved to atom/atom#18149


Add mapview in MapFragment

Issue

#17

Overview (Required)
Added Google Maps in MapFragment.
The beginning of create map page.
You should set actual google maps api key to res/values/google_maps_key.xml.
Screenshot

Before
After

Thanks for contribution! 🙇
But sorry, in this app, I want to show venue inner map and put "Show google map" button to show GoogleMap app.
The spec is not fixed, I'll put the paper mock to #17 issue.
So I'll close this issue. I'm so sorry 🙇

Ok, I understood about no need "scrollable/global" maps.
I'll check #17. 👍

🙇


accept x-http-method-override for http method

Codecov Report

Merging #44 into master will decrease coverage by 0.2%.
The diff coverage is 27.77%.

@@             Coverage Diff              @@
##             master      #44      +/-   ##
============================================
- Coverage     67.07%   66.87%   -0.21%
- Complexity      656      657       +1
============================================
  Files            45       45
  Lines          3314     3330      +16
  Branches        475      479       +4
============================================
+ Hits           2223     2227       +4
- Misses          909      920      +11
- Partials        182      183       +1

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com/google/api/control/ControlFilter.java
60.84% <100%> (ø)
38 <0> (ø)
:arrow_down:

...main/java/com/google/api/control/ConfigFilter.java
29.23% <23.52%> (-1.39%)
6 <1> (+1)

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 eda2f4f...6994b46. Read the comment docs.


Composed types (embedded)

Often it is useful a decompose complex classes into several classes with 1:1 mapping. Some frameworks supports so-called embedded/embeddable classes, which are basically serialized into their owners in object-relational mapping.
For inspiration, see Hibernate @Embedded
Note
I suggest to split this issue into 2 tasks:

Simple support of embeddable classes, i.e., one class can be embedded into another class only once. The simplification is we do not resolve collisions.
Advanced support, every class can be embedded many times into another classs and we deal with collisions of name of embedded instances.

Example 1 (simple variant)
case class Address( street: String, city: String )
case class User( name: String, address: Address )

Should be mapped to database as it is:
case class User( name: String, street: String, city: String )

Example 2 (advanced variant)
case class Address( street: String, city: String )
case class User( name: String, delivery: Address, invoices: Address )

Should be mapped to database as it is:
case class User( name: String, deliveryStreet: String, deliveryCity: String, invoicesStreet: String, invoicesCity: String )

@KarelCemus Thanks for the detailed report!
Nested case classes are already supported, but the feature isn't yet documented because I'm not sure they play well with other features. Example:
case class Contact(phone: String)
case class Person(name: String, contact: Contact)

val res: List[Person] = db.run(query[Person])
// SELECT name, contactphone FROM Person

Note that the column name is the path of the nested value, for example contactphone for contact.phone. I'm going to leave this issue open to test, document the feature, and provide a way to customize the column name for nested values.

@fwbrasil Glad to hear! Great job! (With whole quill, love it, although it's under development)

Thanks for the feedback @KarelCemus. It's under development and I hope it'll always be. Other than that, it should be ready for production. :)

It's under development and I hope it'll always be. Other than that, it should be ready for production. :)

I mean there are still features I miss to actually use it. I have to wait for them or workaround them, which one I am evaluating right now. Especially #108, #87, #115, #114 plus couple more to verify if they work or not as they are not documented. :-)

This embedded case class support is having some undesired interaction with insert/updates, see #318. As quill is not really a ORM, I would argue that this feature should be an opt-in feature that would enabled by... maybe mixing an Embbeded trait to the nested case class.
Also this is going to probably give more than a headache when I start implementing #311:) (I'm planning to explore the tagging trait approach there)

@getquill/maintainers opinions about this?

@lvicentesanchez yep, makes sense

I see the nested case class works nicely in a select statement. However on the insert quote it doesn't.
See the address part in the generated queries.
 LIMIT 1
    db.run(q).map(_.headOption)

Any chance to get this working with current release or do I need to wait to v1.0 release?

@getquill/maintainers any chance to get this working with current release or do I need to wait to v1.0 release?

@fwbrasil any chance to get this working with current release or do I need to wait for v1.0 release?

anyone?

fixed by https://github.com/getquill/quill/pull/554


ipc: add ProgInfo struct

This patch add a new struct ProgInfo that for now holds info about each call in a program []CallInfo, but in the future will be expanded with remote coverage info. Update all the callers to use the new interface as well.

Buildbot fails with:
env CGO_ENABLED=1 gometalinter.v2 ./...
fatal error: runtime: out of memory


Question regarding multi-account usage

Hi, can i mine on many accounts in one time?

Hello o/
The miner itself as an application, supports only a single account at a time. Furthermore, Twitch has internal mechanisms that may detect a single IP address managing multiple Twitch accounts at the same time, and act accordingly - limiting the lifespan of this project (no actual account bans were ever given out to my knowledge). Doing this on 2 or 3 accounts shouldn't be too big of a deal, but anything more is considered abuse. Also, I don't really support multi-account usage, so you need to figure everything out on your own.
Regardless, all that's needed to run separate instances, is just having separate folders with a miner copy in each.

Could you implement the ability to use a proxy to mine, thus bypassing Twitch's IP detection mechanisms?

Could you implement the ability to use a proxy to mine, thus bypassing Twitch's IP detection mechanisms?

Considering idling unlinked games was rejected citing potential abuse: using proxies to idle points at a far clearer case of abuse.

Proxy usage is already supported, although only a basic HTTP one. Everything else in my previous comment here still stands though.

Since the question has been answered, I guess this can be closed. For future reference for anyone reading this, multi-account usage has it's own tracking issue as well: #31.

Hello o/
The miner itself as an application, supports only a single account at a time. Furthermore, Twitch has internal mechanisms that may detect a single IP address managing multiple Twitch accounts at the same time, and act accordingly - limiting the lifespan of this project (no actual account bans were ever given out to my knowledge). Doing this on 2 or 3 accounts shouldn't be too big of a deal, but anything more is considered abuse. Also, I don't really support multi-account usage, so you need to figure everything out on your own.
Regardless, all that's needed to run separate instances, is just having separate folders with a miner copy in each.

oh hi at least 1 (cant remember if it was 2) of my accounts got banned for botting just fyi lost a like 10 year twitch account xD
just checked my emails and yeah it was 2 one for botting and then my main bc of using the account while other one was already banned

if somebody needs translation here:
"Hello ,
Twitch wants our community to be safe for everyone. That's why, among other things, we require all users to ensure that everything shared on their account complies with Twitch's Terms of Service and Community Guidelines, and based on a review of your activity or content, we have issued a warning to your account for violating the Community Guidelines. Due to the severity of the violation or the fact that you have committed multiple violations, your access to Twitch services has been suspended indefinitely.
Reason
Bypassing an account suspension
Using another account to circumvent a site-wide ban.
Examples of a policy violation include, but are not limited to
Streaming or chatting on an alternate account while a ban is in effect.
Joining another streamer's stream as a guest during a ban in effect.
Creating an alternate account during a ban in effect."

First of all, the reason for the ban is clearly stated as "Bypassing an account suspension" and "Using another account to circumvent a site-wide ban." You can only get this if you're banned from Twitch already, and then create another account. It has nothing to do with the Miner.
Second of all, this issue is already closed. If you want to provide some additional information, either use an existing issue, or make a new one. This email from Twitch isn't even worth mentioning, because the miner is clearly not the cause for the ban.


generateChangelog does not recognize parameter includeObjects

Environment
Liquibase Version: version 3.8.9
Liquibase Integration & Version: CLI and gradle
Liquibase Extension(s) & Version: none (not sure)
Database Vendor & Version: all
Operating System Type & Version: macos 10.14.6
Description
generateChangelog does not recognize parameter includeObjects.
According to this informations, generateChangelog should recognize parameter includeObjects :

jira CORE-2847
Liquibase forum

Steps To Reproduce
Run liquibase from command line :
liquibase /
--changeLogFile=xxx.xml /
--url=jdbc:oracle:thin:@xxx /
--username=xxx /
--password=xxx /
--diffTypes=data /
generateChangelog /
--includeObjects=XXX

Actual Behavior
Error :
12:48:54.731 INFO  [liquibase.integration.commandline.Main]: Starting Liquibase at mar., 12 mai 2020 12:48:54 CEST (version 3.8.9 #73 built at Mon Apr 06 09:32:58 UTC 2020)
12:48:55.289 INFO  [liquibase.integration.commandline.Main]: No Liquibase Pro license key supplied. Please set liquibaseProLicenseKey on command line or in liquibase.properties to use Liquibase Pro features.
12:48:55.290 INFO  [liquibase.integration.commandline.Main]: Liquibase Community 3.8.9 by Datical
Errors:
  Unexpected command parameter: '--includeObjects=XXX'

Expected/Desired Behavior
Be able to use includeObjects with generateChangelog
┆Issue is synchronized with this Jira Bug by Unito

Thanks @evantill for writing up this issue.  We will try to reproduce it using the repro steps you have documented and get back to you.

Hi @evantill .  It looks like --includeObjects has only ever been included as part of the ant task for generateChangeLogTask.  It sets that parameter as part of the DiffOutputControl object.

Will you consider adding it to generateChangelog ?

@evantill Yes we will take a look.  Will the other commands work in the meantime or do you have a PR to submit to add it?

no PR at the moment.

Hey @evantill , Not sure you are up for it but changing the code Liquibase code is pretty easy if you know Java.  Here's a how-to if you are interested.
And of course, I believe we already chat on Discord, there is a channel called #developers that you can get real time help with to do this feature or some other feature you think of.
Hope you are well!
Ronak