Add ability to save fitted model objects

Add a save method to the model base class.

I did this at some point, but forgot to reference this issue in the commit. It's also got at least one test, so this is done.
Should add more tests in the future.


define record() more explicitly that it is a "set the value"

Depends on https://github.com/apple/swift-metrics/pull/31 so please merge that first
Resolves https://github.com/apple/swift-metrics/issues/34
Only commit to look at here is https://github.com/apple/swift-metrics/commit/22dd2161da89e9beca2d99245a4da9cb4f1d1703
The text is a bit dry, but since don't have a "spec" and the types are the spec basically I figured explaining it a bit more could be fine.

@ktoso can you rebase so easier to review the actual change

Thanks for review everyone, sorry I missed it for a week;
Addressed your feedback @tomerd, removed the sentence explaining what backends "might" do, agree that wrong place to pitch this: https://github.com/apple/swift-metrics/pull/35/commits/ee94fe5104b7d50001471cc2a6f47359500788d8


Error loading model in query_gen_and_train.py

Hello,
I'm working on the GenQ setting and find that the model loading part seems incorrect. In query_gen_and_train.py, the model loading part is like:
#### Provide any sentence-transformers model path
model_path = "bert-base-uncased" # or "msmarco-distilbert-base-v3"
retriever = TrainRetriever(model_path=model_path, batch_size=64, max_seq_length=350)

However, the TrainRetriever class doesn't have the argument model_path. It seems that the error was introduced in this commit.
Shi Yu

Hi @Yu-Shi,
Thanks for bringing this to my notice.
The example has been updated.
Kind Regards,
Nandan


TEIIDTOOLS-151 Adjustments to wizard layout

Changes some styling on the wizards.  Decreases the vertical height of the steps area and decreases some content area padding also.

I made the css changes - added "important" and changed the units from px to em.


Multiple Accounts

Hello!  Is it possible to have multiple accounts setup?  So that if my partner is on her phone playing some music it shows up?  I added her email to the list but I'm not seeing anything.
Thanks!

Hello!  Is it possible to have multiple accounts setup?  So that if my partner is on her phone playing some music it shows up?  I added her email to the list but I'm not seeing anything.
Thanks!

Hi, currently there is no way to use multiple account in the same module, I don't know if there are other module that allow you to spin up different instances of the same module.
If it's a requested feature I'm happy to add it, but currently I don't have time.


Elasticsearch support ?

Is there a plan to support Elasticsearch ? I am sure lot of folks will benefit from it.
Thanks

The support is already there if you render metrics as timeseries.
No plans for table format metrics. There is no necessity for hadling tables.

Feel free to reopen this if you have any specific usecase or notice any issue


server error

➜  kcptun cat kcptun.log
2016/08/09 14:30:44 version: 20160808
2016/08/09 14:30:44 listening on  [::]:554
2016/08/09 14:30:44 encryption: aes
2016/08/09 14:30:44 nodelay parameters: 1 20 2 1
2016/08/09 14:30:44 sndwnd: 2048 rcvwnd: 2048
2016/08/09 14:30:44 compression: true
2016/08/09 14:30:44 mtu: 1400
2016/08/09 14:30:44 datashard: 10 parityshard: 3
2016/08/09 14:30:44 acknodelay: false
2016/08/09 14:30:44 dscp: 0
2016/08/09 14:30:44 sockbuf: 4194304
2016/08/09 14:30:44 keepalive: 10
2016/08/09 14:31:12 remote address: 電信IP:62889
2016/08/09 14:31:12 dial tcp <IP_ADDRESS>:994: getsockopt: connection refused
2016/08/09 14:31:12 [ERR] yamux: Failed to read header: broken pipe
2016/08/09 14:31:12 remote address: 電信IP:62889
2016/08/09 14:31:12 dial tcp <IP_ADDRESS>:994: getsockopt: connection refused
2016/08/09 14:31:12 [ERR] yamux: Failed to read header: broken pipe
2016/08/09 14:31:12 remote address: 電信IP:62889
2016/08/09 14:31:12 dial tcp <IP_ADDRESS>:994: getsockopt: connection refused
2016/08/09 14:31:12 [ERR] yamux: Failed to read header: broken pipe
2016/08/09 14:31:12 remote address: 電信IP:62889
2016/08/09 14:31:12 dial tcp <IP_ADDRESS>:994: getsockopt: connection refused
2016/08/09 14:31:12 [ERR] yamux: Failed to read header: broken pipe
2016/08/09 14:31:13 remote address: 電信IP:62889

2016/08/09 14:32:13 keepalive timeout

Hi:

Are you using the latest release?
Which OS do you use?
Which end for this issue related to, client or server?
Does your ISP or VPS blocked UDP?
Does your VPS firewall allows UDP pass through?
Are you using the same version for both client & server
Did you correctly set the -target value, -t value	target server address (default: "<IP_ADDRESS>:12948") on the server side?

server and client version : 20160808
server with CentOS 7 x64 and client with win10 x64
server in error, log in issue/102
client log

2016/08/09 14:39:27 version: 20160808
2016/08/09 14:39:27 listening on: [::]:2333
2016/08/09 14:39:27 encryption: aes
2016/08/09 14:39:27 nodelay parameters: 1 20 2 1
2016/08/09 14:39:27 remote address: 服務器IP:554
2016/08/09 14:39:27 sndwnd: 128 rcvwnd: 1024
2016/08/09 14:39:27 compression: true
2016/08/09 14:39:27 mtu: 1400
2016/08/09 14:39:27 datashard: 10 parityshard: 3
2016/08/09 14:39:27 acknodelay: false
2016/08/09 14:39:27 dscp: 46
2016/08/09 14:39:27 sockbuf: 4194304
2016/08/09 14:39:27 keepalive: 10
2016/08/09 14:39:27 conn: 1
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:34 stream opened
2016/08/09 14:39:37 stream opened
2016/08/09 14:39:37 stream opened
2016/08/09 14:39:47 stream opened
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 [ERR] yamux: Failed to read header: snappy: corrupt input
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 [ERR] yamux: keepalive failed: session shutdown
2016/08/09 14:40:04 stream closed
2016/08/09 14:40:04 stream closed

server use iptables -F
windows firewall in default and access double 'yes' to kcptun client for windows.
yes,server and client version is same.
i use ./server_linux_amd64 -t "<IP_ADDRESS>:994" -l ":554" -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2 and full ip ./server_linux_amd64 -t "<IP_ADDRESS>:994" -l "服務器IP:554" -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2, also error.

you can trytelnet <IP_ADDRESS>:994 on your server to check connectivity.

➜  kcptun telnet <IP_ADDRESS>:994
telnet: <IP_ADDRESS>:994: Name or service not known
<IP_ADDRESS>:994: Unknown host
???
this result from my server.

so , what's the backend server running on your vps?
https://github.com/xtaci/kcptun/blob/master/kcptun.png
What is your SERVER

./server_linux_amd64 -t "<IP_ADDRESS>:994" -l "服務器IP:554" -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2
994 is my shadowsocks listening port.
I solve this problem........23333
./server_linux_amd64 -t "服務器IP:994" -l "服務器IP:554" -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2
because in linode you must use full ip, and in aliyun/others vps you can use <IP_ADDRESS> as server listening ip.
and thank you patiently answered.

Thank ky0ncheng. Very helpful. :)

Thanks @ky0ncheng solved.

server version 20160816 problem
server start  listening ip is public ip.
I try server listening ip change to <IP_ADDRESS>, not solved.
This problem exist in Aliyun ECS with centOS 7 ，Linode with centOS is OK（you can use server public ip as listening ip）.
client log:
2016/08/16 12:55:36 version: 20160816 2016/08/16 12:55:36 listening on: [::]:2333 2016/08/16 12:55:36 encryption: aes 2016/08/16 12:55:36 nodelay parameters: 1 20 2 1 2016/08/16 12:55:36 remote address: server_public_ip:554 2016/08/16 12:55:36 sndwnd: 12 rcvwnd: 1024 2016/08/16 12:55:36 compression: true 2016/08/16 12:55:36 mtu: 1400 2016/08/16 12:55:36 datashard: 10 parityshard: 3 2016/08/16 12:55:36 acknodelay: false 2016/08/16 12:55:36 dscp: 46 2016/08/16 12:55:36 sockbuf: 4194304 2016/08/16 12:55:36 keepalive: 10 2016/08/16 12:55:36 conn: 1 2016/08/16 12:55:50 stream opened 2016/08/16 12:55:56 stream opened 2016/08/16 12:55:56 stream opened 2016/08/16 12:55:56 stream opened 2016/08/16 12:55:56 stream opened 2016/08/16 12:55:56 stream opened 2016/08/16 12:55:56 stream opened 2016/08/16 12:55:59 stream opened 2016/08/16 12:56:20 stream closed 2016/08/16 12:56:26 stream closed 2016/08/16 12:56:26 stream closed 2016/08/16 12:56:26 stream closed 2016/08/16 12:56:26 stream closed 2016/08/16 12:56:26 stream closed 2016/08/16 12:56:26 stream closed 2016/08/16 12:56:29 stream closed 2016/08/16 12:56:36 [ERR] yamux: keepalive failed: i/o deadline reached 2016/08/16 12:56:36 [ERR] yamux: Failed to read header: broken pipe 2016/08/16 12:58:35 session shutdown 2016/08/16 12:58:35 stream opened 2016/08/16 12:58:35 stream opened 2016/08/16 12:58:35 stream opened 2016/08/16 12:58:35 stream opened 2016/08/16 12:58:35 stream opened 2016/08/16 12:58:35 stream closed 2016/08/16 12:58:35 stream closed
server log:
➜  kcptun cat kcptun.log 2016/08/16 12:57:50 version: 20160816 2016/08/16 12:57:50 listening on  server_public_ip:554 2016/08/16 12:57:50 encryption: aes 2016/08/16 12:57:50 nodelay parameters: 1 20 2 1 2016/08/16 12:57:50 sndwnd: 2048 rcvwnd: 2048 2016/08/16 12:57:50 compression: true 2016/08/16 12:57:50 mtu: 1400 2016/08/16 12:57:50 datashard: 10 parityshard: 3 2016/08/16 12:57:50 acknodelay: false 2016/08/16 12:57:50 dscp: 0 2016/08/16 12:57:50 sockbuf: 4194304 2016/08/16 12:57:50 keepalive: 10 2016/08/16 12:58:37 remote address: <IP_ADDRESS>:56840 2016/08/16 12:58:37 stream opened 2016/08/16 12:58:37 stream opened 2016/08/16 12:58:37 stream opened 2016/08/16 12:58:37 stream opened 2016/08/16 12:58:37 stream opened 2016/08/16 12:58:37 stream closed 2016/08/16 12:58:37 stream closed 2016/08/16 12:58:37 stream closed 2016/08/16 12:58:37 stream closed

我不明白问题是啥

kcptun lastest version 20160816 doesn't work with config of 20160808.
server and client log is normal. but it can not connect any website.
server firewall is reseted.
version 20160808 replaced of  version 20160816 is OK.
more private detail you can contact by email.
新版本kcptun 20160816無法使用201608的配置。
log記錄是正常的，但是無法打開任何網頁。
防火牆規則重置過。
換回舊版本一切正常。
更多細節可以通過郵件與我溝通。

我现在用的就是0816，我无法重现错误。

在Centos 6.5 x64上部署了 kcptun  无法访问任何网页呀   ，版本是“version: 20160816” 以下是启动命令
./server_linux_amd64 -t "<IP_ADDRESS>:443" -l ":4000" -mode fast2
client_windows_amd64.exe -r "ip:4000" -l ":8388" -mode fast2
防火墙均以关闭。 telnet SS端口443 也正常。 4000 UDP端口也已经监听 。 server 端跟 client 端反复出现这些信息：
2016/08/18 17:50:24 stream opened
2016/08/18 17:50:24 stream closed
2016/08/18 17:50:24 stream opened
2016/08/18 17:50:24 stream closed
2016/08/18 17:50:25 stream opened
2016/08/18 17:50:25 stream closed
2016/08/18 17:51:49 [ERR] yamux: keepalive failed: i/o deadline reached
2016/08/18 17:51:49 [ERR] yamux: Failed to read header: broken pipe
2016/08/18 17:51:49 keepalive timeout

同樣的錯誤

@feiyin
建議使用 CentOS，只啟用 iptables 作為 firewall。
入個報錯可以嘗試 ipatbles -F
啟用 IP 使用 VPS 的外網 IP。
https://ky0n.xyz/kcptun/
https://github.com/ky0ncheng/kcptun-script

digitalocean 无论是外网IP还是<IP_ADDRESS> 都不行

没有特别的需要就不要用Cent OS ，老老实实用Debian或者Ubuntu，会省很多心

@braveguywallce 就是用的Ubuntu…

@se77en 同为DO，Debian 8.5x64, 没有任何问题。估计你哪里设置不对，和kcptun本身没关系。

@braveguywallce Ubuntu 16.04，配置没有问题，在 Vultr 上面是好的，估计是 DO 抽风

@se77en DO 有些IP本来就和国内不通的，你可以ping 和 traceroute 看下你主机IP是否和国内的网络连通？我前面换过两个IP.

@braveguywallce 我的是连通的，之前上面的 ss 一直是好用的，上了 kcptun 就不行

@se77en  https://github.com/xtaci/kcptun/issues/130 供参考

@xtaci https://github.com/xtaci/kcptun/issues/130#issuecomment-242294989


investigation: buildUIData() is not being used correctly and it gets called multiple times in the Home screen.

Fixed by: https://github.com/NigelBreslaw/guardian-ghost/pull/679


Serial Monitor displays nothing.

I bought a LilyGo Soldered pin S3 board no touch screen.
I am using Mac Monterey 12.6.3 M1 and Arduino IDE 2.0.5.
I am using the example arduino_gfx_demo to test the board.
If we analyse the code in the file arduino_gfx_demo.ino in the line 21 we should expect the output Hello T-Display-S3 in the Arduino-IDE Serial Monitor.
When I upload the code I can see all the printnice output in the T-Display but I cant see the Serial.println("Hello T-Display-S3"); in the Serial Monitor.
I also tried to display in the terminal using the ls /dev/tty.* to identify the boad port and the screen /dev/tty.usbmodem2101 to display the serial monitor info.
I am following all the settings suggested in the README.md > correct settings in the Tools menu but I see nothing. No displays.
Is there any process that is publishing all outputs to the board screen?

Have you displayed serial on this board with a simpler sketch!?

OK, looks like a simple enough test sketch ;)
I am using Arduino 2.0.4 not the beta nightly build.
I am running ESP32 v2.0.6.
I will try and duplicate your problem tonight.
Sometimes I have to push the little reset button on the back and try toggling the serial controls to the right of the serial monitor, especially the “timestamp”.

I have an extensive LilyGO T-Display S3 GitHub repository with all the problems I (and others) have faced, here:
https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples
They keep changing the setup config advice!  Here is a screen shot from their ReadMe from  December 2022:
https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples/blob/main/Arduino_Config.png
The difference that I see that impacts Serial Monitor is this one:
"USB DFU On Boot | Enabled" is the new setting.
I'm not sure what it does but I have always followed the previous advice and "Disabled"
Hope this helps, keep me informed!
 As shown below

https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware

"> I uploaded a firmware that displays and prints time stamps. Please try it out https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware"
What does this firmware do?
I asked in another Issue about the bootloader being protected in ROM and cannot be damaged.
I thought that the only program  in a board is the bootloader and your sketch?
Thank you, Terry

Sketch > https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/example/TFT_Rainbow
Install Esptool > https://github.com/RavenSystem/esp-homekit-devices/wiki/Install-ESPTool-on-macOS
Let you brush in the firmware I provided to see if this board works properly Now, don't you say you can't output any messages to Serial?

@lewisxhe It is working. This is what I did:

Installed ESPTOOL -> python3 -m pip install esptool
CD to the firmware folder -> https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware
Ran your code -> esptool --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin
Rainbow is in the device screen
Opened the ArduinoIDE in any project and connected to the board port
Display millis is ok, as we can see in the picture.

opened a previous project simple hello world.
uploaded it to to the board with the same configuration as 2 days ago
Now I see hello world in the display.

And also can verify Serial.print from other projects.

All is good but what is different now? What was the issue? The only different thing in my machine is that I have installed ESPTOOL but I think this is not what is making the difference. I will close the ticket. Thanks

Yes I now got an output, but with a new sketch not anymore.

OK ...found it .. for the Lilygo T-display S3 you have to set USB CDC on Boot "Enable".

It seems that this error is related to another error that I posted here.
In the 138 issue AND maybe here, it seems that there is a physical issue with the flash memory. I had to replace the board and I bought another ESP32-S3 from another vendor.
The brand new LilyGO board and the other brand new board are still showing the same issues: sometimes it does not finishes the upload process (issue 138) and sometimes it still do not shows the output in the Serial Monitor.
In 100% of the time when I follow the instructions suggested by @lewisxhe in this topic it shows the output in the Serial Monitor, pressing the boot.
But not all that times I have the firmware uploaded (issue 138).
All that is leading me to conclude that there is something in the software or in the OS MAC

Hi  @igoralves1
From what you conclude it has something to do with your OS?

I had a similar issue with a Lilygo T-QT ESP32-S3 board.  Lewisxhe's suggestion to set USB CDC on boot to "Enabled" solved my issue. Interestingly, the issue wasn't evident when using the Seeed-XIAO-ESP32C3 or the Lilygo T Display boards, even with USB CDC on boot set to "Disabled". Go figure.
One difference between my settings (that worked) and igoralves1's settings is I don't have USB DFU on boot "Enabled".
A very BIG thank you to Lewisxhe for solving my issue.

 As shown below

Hi I came across this issue trying to print "Hello, world!" to serial monitor, my issue was resolved by setting USB CDC On Boot to "Enabled".
Board : Lilygo T-QT ESP32-S3
OS : Windows 10
Arduino IDE Version : 2.3.2

Thank you.

Hi.
my T-Display S3 on Arduino IDE, works well only when serial monitor is open, if close it no luck, why so?

In Tools, try "USB CDC on Boot »  > Disabled

Le 19 juin 2024 à 04:42, xinzhou @.***> a écrit :
Hi.
my T-Display S3 on Arduino IDE, works well only when serial monitor is open, if close it no luck, why so?
—
Reply to this email directly, view it on GitHub https://github.com/Xinyuan-LilyGO/T-Display-S3/issues/126#issuecomment-2177433133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAZUKKUNJU3ZBWEQYOEH3LZIDVYLAVCNFSM6AAAAAAWBJZLAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXGQZTGMJTGM.
You are receiving this because you are subscribed to this thread.


Add checkout modal

Purpose
Added placeholder checkout page modal.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Open the same modal when clicking on save for later

Done.


Catalina OS

Checklist

[x] I'm asking a question
[ ] I've looked through the README and FAQ for similar questions
[ ] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
Does Youtube-dl still operate with Catalina OS or is Mojave OS the most up to date OS that can operate and support this downloader?

Any OS that operates python 2.6+ or python 3.2+.


New Theme Editor - Control Picker broken, Horizontal Min Size is too large, Cannot remove item types (?), No UndoRedo support (Proposal?)

CC @pycbouh
Related to https://github.com/godotengine/godot/pull/49388
Godot version
3.4.beta1
System information
Linux
Issue description

[ ] 1) Control picker tries to select one giant "Panel" instead of individual elements. Scrolling also shows an issue with clipping content.

Click the control picker button.
Click on any UI element in the preview.

[ ] 2) Decreasing the window width while the theme is open causes a horizontal overflow issue.
https://user-images.githubusercontent.com/14253836/125661079-66bdcce9-4e35-48b5-945e-9ab66c24eca2.mp4

Decrease the window width to the minimum. The inspector is now partially or completely invisible.

[ ] 3) There seems to be no option to remove an item type (could be a wontfix, not sure).

Add an item that you do not want anymore.
Try to remove it.

[ ] 4) None of the functions (Variable modification, add/remove item types, etc.) seem to support UndoRedo.
https://user-images.githubusercontent.com/14253836/125661422-709fae4e-7f81-4d18-82b2-0f0965e7a3e2.mp4

Make any sort of modification to the theme.
Try to undo your change.

Steps to reproduce
See Above
Minimal reproduction project
Very basic testing project with a theme and a label.
Test.zip

Decreasing the window width while the theme is open causes a horizontal overflow issue.

It's a pretty big editor, not sure how much distance we can extract from it while keeping it usable.

There seems to be no option to remove an item type (could be a wontfix, not sure)

Types don't exist in a way that would allow to remove them and yet have a nice flow to add them before adding items. Empty types aren't saved with the resource itself, so it doesn't matter other than some occasional clutter if you decide to remove a type.

None of the functions (Variable modification, add/remove item types, etc.) seem to support UndoRedo.

Indeed, it was never integrated with editor's UndoRedo. Functions that existed before the overhaul never supported it either, likely because they can take some time to complete. But I guess it can be implemented for some of the new ones.

Fixed by #50519.


Failed assertion: line 4234 pos 12: '_lifecycleState != _ElementLifecycle.defunct': is not true.

I've encountered an error which says
Failed assertion: line 4234 pos 12: '_lifecycleState != _ElementLifecycle.defunct': is not true.

I came across this issue when I tried to change the state in dispose() method.

@override
void dispose() {
setState(() => _successErrorLoader = "");
setState(() => _ackMessage = "");
}

I want to do some state changes when an component is unmounted (removed from the screen). Please provide any alternative solution or a fix for this error.

Hi @amalmohann, Thanks for filing the issue. You generally get this error if you try to call setState after dispose. To prevent this error you could put a check
if(mounted){
  setState((){});
}

In case you need further help please try asking questions on support forums like StackOverflow. Closing as this is neither a bug nor a feature request.


React Native 0.50.1 - Release Crash

Hi,
I just upgraded from RN 0.49 to 0.50.1 and have ran into problem when building and running the  release version. I trimmed my app back to the simplest version it could be and I narrowed it down to NativeBase.
react-native, react and native-base version
"native-base": "^2.3.3",
"react": "^16.0.0",
"react-native": "^0.50.1",
Expected behaviour
App does not crash when built for release and ran.
Actual behaviour
App crashes when built and ran in release mode. The following output is shown in the Xcode output:
Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'e.length')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'e.length'), stack:
<unknown>@340:132
<unknown>@340:196
exports@340:395
<unknown>@338:218
<unknown>@338:72
t@2:620
<unknown>@333:1740
t@2:620
<unknown>@332:131
t@2:620
<unknown>@331:131
t@2:620
<unknown>@330:308
t@2:620
<unknown>@329:216
t@2:620
<unknown>@308:742
t@2:620
<unknown>@13:152
t@2:620
<unknown>@12:30
t@2:620
<unknown>@2:154
global code@631:9
'
*** First throw call stack:
(0x182a27d38 0x181f3c528 0x182a27c80 0x100fd5398 0x100fd305c 0x182a2f6a0 0x18290e820 0x18291322c 0x100fe6058 0x101025d74 0x101025ad4 0x103ffd49c 0x103ffd45c 0x10400c110 0x1040009a4 0x10400d104 0x104014100 0x182652fe0 0x182652c30)

Steps to reproduce (code snippet or screenshot)
This code causes the issue to appear:
import React from 'react';

import {
  AppRegistry,
  //Text
} from 'react-native';
import {
  Text
} from 'native-base';

export default class App extends React.Component {
  render() {
    return (
      <Text>Hello World</Text>
    );
  }
}

AppRegistry.registerComponent('whereverly_app', () => App);

However if I remove the reference to NativeBase it all seems to work. Working code:
import React from 'react';

import {
  AppRegistry,
  Text
} from 'react-native';

export default class App extends React.Component {
  render() {
    return (
      <Text>Hello World</Text>
    );
  }
}

AppRegistry.registerComponent('whereverly_app', () => App);

Screenshot of emulator/device
N/A
Is the bug present in both ios and android or in any one of them?
I am only developing on iOS currently.
Any other additional info which would help us debug the issue quicker.
Sorry I can't be of more help but the issue only appears in production which makes it tricky to track down. I thought it might be something todo with this: https://github.com/facebook/react-native/issues/16567

@stephenheron @PvanHengel @whevether Can you check through this on Forum
http://discuss.nativebase.io/t/native-base-is-not-setup-with-0-50-version-of-react-native/582

I have the same crash on release but I dont use NativeBase.
Created this issue on official repository: https://github.com/facebook/react-native/issues/16745

I had the same issue but the issue has been resolved for me by adding below to package.json and doing yarn install.
"resolutions": {
        "metro-bundler": "0.20.1"
}

The issue is with metro-bundler and the uglify process. I tried unmangling the minified bundle and the issue was coming from color-convert dependency that NativeBase pulls in as part of the color dependency. But the fix should be in metro-bundler itself and eventually react-native.

Unfortunately 20.1 didn't work for us... We are still digging, hope someone finds a fix soon!

And neither 0.20.2

Im trying 20.2 now as well...  I assume will get the same result as you, fingers crossed though, this is a major blocker.

Agreed 0.20.2 doesn't work either...

I got the same issue, but it works fine in debug mode

I found the solution is add this code into package.json
"resolutions": {
		"metro-bundler": "0.20.2",
		"color-convert": "1.9.1",
		"uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"
},

Yes! Thanks @naviocean

Uglify-js tag a new version that fix this issue for me, so you can add resolutions like this :
`"resolutions": {
"metro-bundler": "0.20.2",

"color-convert": "1.9.1",

"uglify-js": "3.1.9"

},`

I got this error, tried adding uglify js not working any other solution?
It works fine in debug mode.

React-Native 0.50.4
React  16.0.0

0.50.4

Fixed with NativeBase 2.3.5

this happens again!
my package is:
  "dependencies": {
    "@babel/runtime": "^7.1.2",
    "native-base": "^2.8.0",
    "react": "16.5.0",
    "react-native": "0.57.1",
    "react-native-charts-wrapper": "^0.4.8",
    "react-navigation": "^2.17.0"
  },

I'm still getting an error too. I am not 100% certain that nativeBase is the issue but here is the error I'm getting from Android Studio and what versions I am using.
"native-base": "2.8.1",
"native-base-shoutem-theme": "0.2.2",
"prop-types": "^15.6.2",
"react": "16.4.1",
"react-native": "0.56.1",

2018-12-05 12:46:58.940 23769-23822/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
    Process: com.unrollme, PID: 23769
    com.facebook.react.common.JavascriptException: undefined is not an object (evaluating 'Sn[e]'), stack:
    extractEvents@118:27186
    extractEvents@118:23685
    handleTopLevel@118:27393
    <unknown>@118:28878
    qn@118:28103
    z@118:6018
    perform@119:3484
    batchedUpdates@119:18574
    Ce@118:10516
    Q@118:6049
    K@118:6111
    _receiveRootNodeIDEvent@118:28849
    receiveEvent@118:28961
    value@32:2975
    <unknown>@32:280
    value@32:2426
    callFunctionReturnFlushedQueue@32:252

        at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:54)
        at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:38)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
        at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)
        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
        at android.os.Looper.loop(Looper.java:193)
        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)
        at java.lang.Thread.run(Thread.java:764)


Rollback:  Generic access point

Note :- Please follow the below points while attaching test cases document link below:
- If label Tested is added then test cases document URL is mandatory.
- Link added should be a valid URL and accessible throughout the org.
- If the branch name contains hotfix / revert by default the BVT workflow check will pass.

Test Case Document URL

Please paste test case document link here....

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0b17117) 89.01% compared to head (5f00dc4) 89.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #101      +/-   ##
==========================================
+ Coverage   89.01%   89.43%   +0.42%
==========================================
  Files          23       22       -1
  Lines         446      426      -20
==========================================
- Hits          397      381      -16
+ Misses         49       45       -4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[gardening] Fix recently introduced typo: "exectuable" → "executable"

What's in this pull request?
Fix recently introduced typo: "exectuable" → "executable"
Resolved bug number: –

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

Feel free to directly commit "obvious" changes like this (assuming they pass tests).  Thanks!

@lattner Thanks! I've been a bit hesitant to do that due to fear of messing up, but I'll try to be more brave going forward :-)
Instead of committing directly, would it be okay for me to create PR:s also for such trivial/obvious changes, review them myself on GitHub and then merge myself? That procedure with an extra check would feel safer for me :-)
Apropos accidental mess-ups - please consider disabling force pushing to master if that policy is not in place yet. See GitHub's documentation about protected branches and the story about the accidental force push that caused quite some problems for the Jenkins project back in 2013.

Sure, feel free to use whatever workflow you prefer.  I'll check on force push, thanks!


add firebase realtime database to store data from contact form

Related Issue

Closes: #459
Description of Changes

Added a new function to store user data from contact form
added firebase realtime database .

Checklist:

[x ] My code adheres to the established style guidelines of this project.
[ x] I have conducted a self-review of my code.
[x ] I have made corresponding updates to the project documentation.
[x ] My changes have not introduced any new warnings.

Please provide any necessary screenshots to illustrate the changes made.

@AKD-01 Please review my pr

hey, @AKD-01 Please review my PR. I did all the necessary things required for connecting firebase realtime database to the contact form .


Online Spreadsheet V2.0

I, Mohammed Rehan, am once again pleased to present the Version 2.0 for our Module: Online Spreadsheet.
For this release, we basically let everyone follow their own way of solving the task at hand and at the end, evaluated the versions that everyone tried to build.
From which versions created by Alan Chungath, Maria Rex and my fellow Co-Lead Umer Salim are notable.
Aaliyah Shaikh, Adeeba Shaikh and Anirudh Tilak have also been actively involved.
However, the version submitted here mostly contains my approach as it was providing more features efficiently.
Feature Updates:

UI Optimization
Support for Importing and Exporting .csv files.
Support for Importing and Exporting .xlsx files.
Support for Importing and Exporting .xls files.
Cross File Format Importing and Exporting also supported
Increased Code Robustness.
Original File Name Persists when Exporting.

I, Mohammed Rehan, am once again pleased to present the Version 2.0 for our Module: Online Spreadsheet. For this release, we basically let everyone follow their own way of solving the task at hand and at the end, evaluated the versions that everyone tried to build. From which versions created by Alan Chungath, Maria Rex and my fellow Co-Lead Umer Salim are notable. Aaliyah Shaikh, Adeeba Shaikh and Anirudh Tilak have also been actively involved. However, the version submitted here mostly contains my approach as it was providing more features efficiently.
Feature Updates:

UI Optimization
Support for Importing and Exporting .csv files.
Support for Importing and Exporting .xlsx files.
Support for Importing and Exporting .xls files.
Cross File Format Importing and Exporting also supported
Increased Code Robustness.
Original File Name Persists when Exporting.

Please First Merge PR #76 before Merging this Pull Request.


Default Collapse / Expand

Please how can i make all items (parents) collapse or expand by default.
Depending on what i want.

Sorry i found it by reading the librairy's java documentation .
The functions are :

collapseAllParents()    Collapses all parents in the list.
expandAllParents()    Expands all parents in the list.

Thanks for the librairy


Add file for amp-google-vrview-image sample

Simple example with single amp-google-vrview-image component.
PTAL.

Makes sense; I will add other samples in the same file, along the lines of the amp-form sample.

Conclusions so far: using the same image from the VR Viewers documentation; depending on the attributes used the image is treated as monoscopic or stereoscopic.  There are four cases with combinations of the parameters. In order to truly see the difference between the specific cases, the sample has to be experienced with a cardboard viewer (it is vrview sample after all). I specified that in the intro section to the component.

Thanks!


Changing the filter text resets selection

When you're batch adding projects, you want to be able to select project across multiple filters, so whenever we check something we should add it to a checked list rather than relying on the checked property (potentially even changing the checkbox to a button to avoid confusion) and have a separate list view with the added projects (allowing to remove them from there).
This way they would survive changes in filtering and enable even more productivity.
PS: I might do this myself and PR, just created the issue so that it's reported.

Thanks for the suggestion!
After thinking about it, I think having an internal list of selections which is preserved even if the list is filtered would be fine - I don't like the idea of complicating the UI by adding a second list and extra buttons etc. I would probably just add a new label below the list which states "nnn projects selected (xxx items hidden)" so it's more obvious that additional items are selected.
Or just change the filter code to not remove checked items which would be even simpler.
Feel free to raise a PR if you want otherwise I'll add something myself when I get some free time.

Thank you for coding this in the first place! Great tool!
Regarding the second list, the idea is that the user knows exactly what's selected at all times, could be a second list, could be sticky items on this list (maybe better UX), what do you think?


fix: Don't remove when.

#361  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @budde377 and the rest of your teammates on  Graphite

Merge activity

Sep 4, 3:06 PM EDT: @budde377 started a stack merge that includes this pull request via Graphite.


add --double-wilson-reindexing-ops

This PR adds the option to provide reindexing operations for edges in the Double Wilson prior graph.

what could be useful indicators that the symop the user provides is correct? Perhaps % children with a parent?

Codecov Report
Attention: Patch coverage is 20.00000% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 78.42%.  Consider uploading reports for the commit ee226e7 to get more accurate results

Files
Patch %
Lines

careless/io/manager.py
16.66%
5 Missing :warning:

careless/models/priors/wilson.py
25.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
- Coverage   78.69%   78.42%   -0.27%
==========================================
  Files          52       52
  Lines        2347     2355       +8
==========================================
  Hits         1847     1847
- Misses        500      508       +8

Flag
Coverage Δ

unittests
78.42% <20.00%> (-0.27%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I don't think the % of child reflections which can be mapped into the parent ASU is diagnostic. I can think of correct examples where the number will be at most 50% and incorrect examples where it could be 100%. I think that validating the choice of symops is outside of the scope of what I can do inside the careless CLI. I would think that CCsym is probably the most diagnostic reciprocal space measure.

OK, I am fine with merging this and closing the corresponding issue. The implementation is sound. The tricky parts (using the correct symops and properly treating the Miller indices-as-metadata) are external to Careless.


Add Big Ships from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of Azimech, to add Big Ships to CKAN.
Please direct questions about this pull request to Azimech.

Has recommendations that aren't in CKAN, and description says it is going to conflict with WW2 Warships, with shared assets.


Conda install during CI is taking 18 minutes

Looks like downloading of stuff takes forever. Maybe we can cache this list?

Directions here
https://github.com/marketplace/actions/setup-miniconda

Dupe of #4392


Rendering subitems of different types

In the TodoMVC example, the app needs to know how todo items are rendered. This works in the case of TodoMVC, where all elements are uniform, but it is more complex if a list can contain items of different types.
What would be best practice to avoid the dependency of a parent on the type of its children?

@RubenVerborgh
Create a higher order render function, renderListContainer(renderItem, { ... })

But that would then contain a switch statement or similar, right?
Would it make sense to somehow attach the render function to the state?
(I'm very new to mercury; my urge is to call item.render with a render defined on the prototype, but prototypes don't really apply.)

If it works then do it :D mercury has flexibility.

Fair enough 😄
Make things a bit more messy than I'd like, but manageable.


Creating a channel with @ will also post this user's tweets in there

This will only post their tweets in there, and their tweets will not get posted in the other channels (to prevent clutter)


Failed to install package because of CPython

Unable to install madmom because of missing CPython

A minimal code snippet that reproduces the bug.
The command you invoked (e.g., uv pip sync requirements.txt), ideally including the --verbose flag. uv add madmom
The current uv platform. x86_64
The current uv version (uv --version): uv 0.4.9

uv add madmom==0.16.1
Resolved 537 packages in 534ms
error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: madmom==0.16.1
  Caused by: Build backend failed to determine extra requires with `build_wheel()` with exit status: 1
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "/root/.cache/uv/builds-v0/.tmppCaaWn/lib/python3.10/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
  File "/root/.cache/uv/builds-v0/.tmppCaaWn/lib/python3.10/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
    self.run_setup()
  File "/root/.cache/uv/builds-v0/.tmppCaaWn/lib/python3.10/site-packages/setuptools/build_meta.py", line 503, in run_setup
    super().run_setup(setup_script=setup_script)
  File "/root/.cache/uv/builds-v0/.tmppCaaWn/lib/python3.10/site-packages/setuptools/build_meta.py", line 318, in run_setup
    exec(code, locals())
  File "<string>", line 12, in <module>
ModuleNotFoundError: No module named 'Cython'
---

Hi! It looks like it says Cython without the "P" which is quite important! It's actually a separate Python compiler that I guess this package needs?

There hasn't been a release of the project on pypi in over 5 years: https://pypi.org/project/madmom/#history
So while they have a correctly defined build system: https://github.com/CPJKU/madmom/blob/main/pyproject.toml, you can only use it by installing from source.
I would contact the project authors on where exactly you're supposed to install the project from.

Yeah you'll need to install this without build isolation in order to get it working (see, e.g., https://docs.astral.sh/uv/concepts/projects/#build-isolation). It's an issue with the package itself.
For example:
❯ uv venv
Using Python 3.12.1
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate

❯ uv pip install cython setuptools numpy
Resolved 3 packages in 6ms
Installed 3 packages in 22ms
 + cython==3.0.11
 + numpy==2.1.1
 + setuptools==74.1.2

❯ uv pip install madmom==0.16.1 --no-build-isolation
Resolved 6 packages in 8ms
Installed 4 packages in 23ms
 + madmom==0.16.1
 + mido==1.3.2
 + packaging==23.2
 + scipy==1.14.1


Powershell error

Install-Module MicrosoftTeams -AllowPrerelease -RequiredVersion "1.1.9-preview"
Install-Module : Cannot process argument transformation on parameter 'RequiredVersion'. Cannot convert value
"1.1.9-preview" to type "System.Version". Error: "Input string was not in a correct format."
At line:1 char:65

... dule MicrosoftTeams -AllowPrerelease -RequiredVersion "1.1.9-preview"

                                                      ~~~~~~~~~~~~~~~

CategoryInfo          : InvalidData: (:) [Install-Module], ParameterBindingArgumentTransformationException
FullyQualifiedErrorId : ParameterArgumentTransformationError,Install-Module

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

ID: cd283f6e-3865-ed70-d663-cc461ee8ba57
Version Independent ID: 2450d311-fc04-d8b6-b4a2-b1890ec6fc3e
Content: Install Microsoft Teams PowerShell - Microsoft Teams
Content Source: Teams/teams-powershell-install.md
Service: msteams
GitHub Login: @brandber
Microsoft Alias: brandber

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Changed Ini-Parser NuGet for project

Changed to use the .NET Standard version rather than the .NET Framework version

yes


Architecture is Clean!!

do not access private methods (XXX._get()) or things directly (XXX.interaction) but use appropriate helper methods which are sensible to expose.


Audio Recording not working in Mozilla

Hi,
It seems that the navigator.getUserMedia function is not safe to use without prefix for mozilla.
Could you change the code to use this:
navigator.getUserMedia = ( navigator.getUserMedia ||
                     navigator.webkitGetUserMedia ||
                     navigator.mozGetUserMedia ||
                     navigator.msGetUserMedia);

Had the same issue.


Slow to respond (June 28th - July 8th)

Thank you so much for all the wonderful contributions to our repo 💖 We're so excited that you're here 🌟
We may be slow to respond from June 28th through July 8th, as many people on the docs team will be taking time off.

Sorry I'm mentally and physically disabled on fixed income this been bad year with battling my needs homelessness and battling social networking and family issues. I'm just getting back on my feet.


Error in the bare metal build process:no acceptable C compiler found in $PATH  && CMAKE_CXX_COMPILER-NOTFOUND was not found

os: centos 7.6.1810 最小化安装
执行./build.sh时分别报错：
configure: error: in `/root/PolarDB-for-PostgreSQL':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

&&
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

IMO：这应该是缺少C和C++的编译环境，需要安装gcc gcc-c++

IMO，if our local has GCC environment, The installation operation should not be successful,So the change will not affect the local environment.

We will provide a docker version in the near future, please continue to pay attention

可以使用docker版本，Closed！


Terminal does not use correct casing

If you open VSCode's terminal, a part of the project's folder gets turned to lowercase. If I go to that folder in Explorer and open PowerShell window through right-click, the folder casing is correct. In some cases, like running a React server, that messes with it and throws a warning about two paths that differ only in casing.
Visual Studio Code version: 1.45.1

This can happen when you open the folder where it's lowercase. If it's an issue for react I suggest reporting to them to properly support case insensitive paths on Windows.


PREEMPTIVE: Please do not remove '-md sha1' symmetric encryption key derivation

Regarding OpenSSL 'enc' feature.
Please do not remove '-md sha1' and similar functionality.
Although the 'pbkdf2' feature is indeed useful, and I understand users should be strongly encouraged to use it, there are some situations in which it is definitely not necessary.
Version compatibility would become a significant issue. Older versions of OpenSSL do not support '-pbkdf2'. Removing support for '-md sha1' now would not allow software to support both the current and recent previous versions.
Specifically, this warning message raised concern.
echo test | openssl enc -e -aes-256-cbc -nosalt -md sha1 -pass pass:test  -out - -in - | xxd -p

*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.

ba03ee302f3d81ffcc4ff9e416b1f0b2

Of somewhat lesser concern: the warning message could require minor revisions to some complicated software using OpenSSL.

I don't see the purpose of this bug. We don't have any plans to remove it soon. At some point we will remove it. If at that point you still need to deal with files with sha1, I suggest you keep the old version around.
If someone feels like it's time to remove sha1, I doubt that they find this bug.

Unnecessary API instability is a bug.
At the very least, there needs to be a commitment to six-year support, similar to the Debian release cycle, for the command line interface to OpenSSL symmetric encryption features. Because OpenSSL is security software, and is often updated more frequently than other distro-provided software, this stability must come from upstream.
Interoperability is paramount. IoT or mesh wireless communications may include routers/devices, which may need to be replaced (due to hardware failure) without replacing all endpoints more often than absolutely necessary, or routinely building a fully custom OS. Over-the-air updates do not negate this need for this interoperability with older software versions - overusing such functionality also carries vulnerability risks. Operating transmit-only, or receiving only messages passing symmetric authentication, the need for updates may be extremely rare, given the vanishingly small attack surface associated with such limited functionality.
Performance must not be compromised where security is not affected. Key strengthening is useless in automated systems where large-entropy open-hardware generated (>512bit) keys are already used. Embedded devices using microcontrollers have little storage or processing power.
Ongoing cost-optimization and miniaturization shows embedded developers will have incentives to meet requirements at the expense of security for many more years.
Communications security is a diverse field.

If at that point you still need to deal with files with sha1, I suggest you keep the old version around.
Keeping old versions does not solve the problem of binary distro breakage. Spinning up a fresh install of Gentoo for every embedded IoT router, building dedicated hardware modems, or leaving systems unpatched, are not good options.

If someone feels like it's time to remove sha1, I doubt that they find this bug.
Then where should this issue be reported? Given its use as a dependency in other software packages, maybe it is time for OpenSSL to have an official policy regarding algorithm support?

Maybe you should read https://www.openssl.org/policies/releasestrat.html.  "Version 1.1.1 will be supported until 2023-09-11 (LTS)."  LTS releases are supported for at least five years.

Note that we have LTS releases that are supported for 5 years, and
1.1.1 is an LTS release.
Also note that I said we currently don't have any plans to remove
it. But it's really insecure, it can probably be recovered in 1
hour, so maybe we really should consider removing it as soon as
possible. But giving the current policies, as soon as possible can
still take a very long time.

Thank you for pointing out the LTS release policy. Guess I should have found that.
Nonetheless, I dispute the 'really insecure' and 'can probably be recovered in 1 hour' statements regarding SHA1 digest functionality.
Please clarify if there is a reason sha1 message digest would be 'really insecure' even with high-entropy keys. For automated communications security applications, low-entropy keys should already be considered absolutely unacceptable practice.
Eliminating existing functionality 'as soon as possible' provides an incentive not to use any security at all (eg. plaintext password hashing).
A possible compromise would be to disable message digest functionality when given inputs less than 96bits in length, forcing PBKDF2 where needed for security.

Note that you're talking about the "enc" command. This is
something people normally use to just encrypt a file with a (low
entropy) key.

It is also one of the few, if not the only, widely deployed implementations of the basic algorithms which can be used to create a pure ciphertext output authenticated and encrypted message. For that purpose, it would be nice if the API remained highly stable.
IoT is quickly making wireless device vulnerability an already badly underserved and widespread problem.

You know that we have a library right? And that enc is just a tool
that calls some of the function in the library?

Yes.

Looking back at this, this issue is a non-issue.  -md isn't removed at all, nor is the value sha1.  What this warning does say is you should use -iter or -pbkdf2, otherwise the old EVP_BytesToKey() functions will be used to derive the cipher key.

'deprecated'
Implies a feature will be removed.
The point of this bug is there are valid applications for this specific algorithm which are unnecessarily broken if this implied intent is followed through.

Yes. It's just a bit misleading to talk about -md sha1 being deprecated when it's in fact the use of EVP_BytesToKey that is.

Yes. It's just a bit misleading to talk about -md sha1 being deprecated when it's in fact the use of EVP_BytesToKey that is.

Right. The intent is to (eventually) remove EVP_BytesToKey. "-md sha1" would remain for the foreseeable future. Although, I note that we haven't actually deprecated the API itself yet, so its not going to be happening anytime soon.

Although, I note that we haven't actually deprecated the API itself yet, so its not going to be happening anytime soon.

Deprecate it now, then?

Deprecate it now, then?

Yes, we should.

I took a brief look at the source; what's the new way to do what EVP_BytesToKey does?

You're supposed to use PBKDF2 instead. You can either use the older PKCS5_PBKDF2_HMAC() function, or even in better in 3.0 you can use the new KDF API via EVP_KDF_fetch().

Will this deprecation of 'EVP_BytesToKey' allow the "-md sha1" feature continue to provide exactly the same inputs and outputs as before?
Specifically, would the command mentioned in the original post to this issue continue to produce the exact string 'ba03ee302f3d81ffcc4ff9e416b1f0b2' ?
echo test | openssl enc -e -aes-256-cbc -nosalt -md sha1 -pass pass:test  -out - -in - | xxd -p

Will this deprecation of 'EVP_BytesToKey' allow the "-md sha1" feature continue to provide exactly the same inputs and outputs as before?

Deprecation will allow it to continue. Eventual removal will not. Note that our stability policy applies:

No API or ABI breaking changes are allowed in a minor or patch release. The following stability rules apply to all changes made to code targeted for a major release from version 3.0.0 or later:
No existing public interface can be modified except where changes are unlikely to break source compatibility or where structures are made opaque.
No existing public interface can be removed until its replacement has been in place in an LTS stable release. The original interface must also have been documented as deprecated for at least 5 years. A public interface is any function, structure or macro declared in a public header file.
When structures are made opaque, any newly required accessor macros or functions are added in a feature release of the extant LTS release and all supported intermediate successor releases.

One possibility we should consider is switching the default, so that you get the PBKDF2 behaviour if you don't do anything else. You then get the legacy behaviour by adding some additional flag, e.g. "-legacykdf" or something.

Yes, I am aware of the policy now.
Changing default behavior works for me, I can't think of a reason it would be a problem anyone else can't work around.
Eventual removal, even in 5 years, would be undesirable. At least 8 would be better.

The deprecation of the use of EVP_BytesToKey has alreday been around for a few years, so if we start a 5 year count now, I believe those 8 years are already covered :wink:

The deprecation of the use of EVP_BytesToKey has alreday been around for a few years

Well, no, not really. The API has never been deprecated. It probably should have been - but it hasn't.

Note that I wrote "the deprecation of the use", not of the function itself.  I do try to choose my words carefully.  That warning has been around since 405988f2cca816fdfdf8ad62b1285dcf06822e85, i.e. for almost 5 years already.

Can you call a KDF in such a way that gets the exact same output as BytesToKey?

Can you call a KDF in such a way that gets the exact same output as BytesToKey?

No, I don't think so. EVP_BytesToKey() is OpenSSL's own special invention and isn't standards based - hence the deprecation.

So this means that files encrypted will now fail to be decrypted unless a pre-removal version is kept.  I think the project should think very carefully if they want to do that.
One possibility is to remove all internal use of BytesToKey from the runtime, and just inline the function in apps/enc.c, and only allow it for decrypting files.

One possibility is to remove all internal use of BytesToKey from the runtime, and just inline the function in apps/enc.c, and only allow it for decrypting files.

That sounds like quite a good idea (although we're not planning to actually remove yet anyway).

Please, yes, continue to allow decryption. That works for the use cases I am thinking of.

A force allow encryption flag would still be useful, though at least allowing decryption would allow one-way traffic.
To be clear, the problem I am trying to address here is the need for very long term deployment of IoT and similar devices which only process and only reply with something like a symmetrically encrypted string of bytes.
If the software to interoperate with such devices has to change within their lifetime, they must be physically replaced, or an increasingly complex support software must be arranged.
The OpenSSL 'enc' feature, if stable enough, can be ideal for such use, for a number of reasons.

If we're talking about interoperability, then it should be in your interest to use -pbkdf2, i.e. something like this:
$ echo test | openssl enc -e -aes-256-cbc -nosalt -pbkdf2 -md sha1 -pass pass:test  -out - -in - | xxd -p

EVP_BytesToKey is an OpenSSL only mehod, i.e. not interoperable with any other crypto software (that we know of).

Folks, this conversation is going around in circles.  THERE ARE EXISTING ENCRYPTED FILES.

Yes? I'm talking about encryption, which is the initial example (see -e)

Interoperability with existing, older, OpenSSL installations (which do not support -pbkdf2), as well as new installations (which currently support -md sha1) can be enough. The need for interoperability going both into past OpenSSL versions and future OpenSSL versions at the same time is my problem.

...  I wonder if EVP_BytesToKey can be turned into a legacy KDF that we stick in the legacy provider.  That way, those who absolutely want to use that can continue to do so, just with a different knob.

Interoperability between older and newer versions of OpenSSL is NOT optional for some use cases.
For everyone's information, 'coreoracle' software (not public) 'commKey' uses openssl 'enc' with appropriately long, completely random, high-entropy keys, to send and receive pure ciphertext symmetrically authenticated and encrypted messages, and never send nor accept the same ciphertext more than once.
By decoding all possible offsets of a bytestream of analog symbols from a radio demodulator (ie. a frequency mixer), and transmitting pure ciphertext through an appropriately chosen radio modulator with appropriate bandwidth usage, it is possible to communicate by radio with no emissions different from random analog noise, which to a distant listener, may be statistically indistinguishable from any thermal/atmospheric/etc source of random analog noise. Such software can also add a layer of resistance to quantum computing to existing asymmetric encryption (eg. SSH, SSL, etc).
Due to the obviously very limited 'attack surface', and the secret-splitting functionality of 'fragKey' there is usually little no security benefit from frequently updating software, and there can be significant security risk from the updates (eg. from installing large amounts of software without complete code review).
https://github.com/mirage335/coreoracle/blob/main/_prog/oracle/wrapper/_openssl.sh#L55
https://github.com/mirage335/coreoracle/blob/main/_prog/oracle/wrapper/_openssl.sh#L63

While I could work with that, changing the command line syntax as such would be really irritating to me. This would result in the codebase that works with newer systems being different from the codebase for older systems, with OpenSSL being the only cause of that breakage to keep track of. Or I would have to go put in some automatic test case and wrapper function to detect which features were available from the OpenSSL installed and provide a consistent interfaces. Again, OpenSSL would be rather uniquely unhelpful here.
 It is not helping the people who do need to be helped.


Impossible to restrict Major version number update - allowMajorUpdates=false is not respected

Test
Add org.mockito:mockito-core:1.9.5 dependency to pom.xml.
Update versions disabling major version number updates:
mvn versions:use-latest-versions -DallowMajorUpdates=false

Check results - the major number changes 1 to 2:
                <dependency>
                        <groupId>org.mockito</groupId>
                        <artifactId>mockito-core</artifactId>
-                       <version>1.9.5</version>
+                       <version>2.0.0-beta</version>
                        <scope>test</scope>
                </dependency>

Versions
mvn -version

Apache Maven 3.2.5 (NON-CANONICAL_2015-04-01T06:42:27_mockbuild; 2015-04-01T14:42:27+08:00)
Maven home: /usr/share/maven
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>-4.b16.fc22.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.1.2-200.fc22.x86_64", arch: "amd64", family: "unix"

mvn -Dplugin=versions help:describe

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-help-plugin:2.2:describe (default-cli) @ standalone-pom ---
[INFO] org.codehaus.mojo:versions-maven-plugin:2.2

Name: Versions Maven Plugin
Description: Versions Plugin for Maven 2. The Versions Plugin updates the
  versions of components in the POM.
Group Id: org.codehaus.mojo
Artifact Id: versions-maven-plugin
Version: 2.2
Goal Prefix: versions
...

UPDATE: More tests
It is assumed that:

if major is allowed, minor and incremental are also allowed;
if minor is allowed, incremental is also allowed.

This makes sense because there is normally no semantic relationship between (e.g.) two minor version number when major is different. For example, there is no point to restrict minor and incremental updates in 2.0.8 when major updates are allowed to expect results like 3.0.8 - this is simply impractical as 2.0.8/3.0.8/4.0.8/.../x.0.8 are normally irrelevant versions regardless of common less significant part x.0.8.
Let's test updates for dependency org.apache.maven:maven-plugin-api:2.0.8 which has updates for major, minor, incremental version numbers respectively.
The following dependency was added to pom.xml:
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>2.0.8</version>
    </dependency>
  </dependencies>

Expected results
Given 2.0.8 the following version are expected version numbers:

major: 3.3.3 (the latest at the time of testing);
minor: 2.2.1 (the latest in 2.x.x at the time of testing);
incremental: 2.0.11 (the latest in 2.0.x` at the time of testing).

No changes allowed: SUCCESS
mvn versions:use-latest-versions -DallowMajorUpdates=false -DallowMinorUpdates=false -DallowIncrementalUpdates=false

No changes in pom.xml as expected.
incremental=true: FAILURE
mvn versions:use-latest-versions -DallowMajorUpdates=false -DallowMinorUpdates=false -DallowIncrementalUpdates=true

diff:
   <dependencies>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
-      <version>2.0.8</version>
+      <version>2.1.0-M1</version>
     </dependency>
   </dependencies>

Why would it jump from 2.0.8 to 2.1.0 (let alone suffix M1) when only incremental number 8 was allowed to be changed?
minor=true: FAILURE
mvn versions:use-latest-versions -DallowMajorUpdates=false -DallowMinorUpdates=true

diff:
   <dependencies>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
-      <version>2.0.8</version>
+      <version>3.0-beta-3</version>
     </dependency>
   </dependencies>

Why would it jump from 2.0.8 to 3.0 (let alone suffix beta-3) when only minor number 0 was allowed to be changed?
major=true: SUCCESS
mvn versions:use-latest-versions -DallowMajorUpdates=true

diff:
   <dependencies>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
-      <version>2.0.8</version>
+      <version>3.3.3</version>
     </dependency>
   </dependencies>

This update is as expected.

Would that mean allowMinorrUpdates is not respected either?

@DiJu519, I guess it would.
I added new section "UPDATE: More tests" into issue main body. It thoroughly addresses your question. Look at the case "incremental=true: FAILURE" where property allowMinorUpdates is set to false while there are still changes in minor version number.

I did some testing on this as well with a repo with non-textual semantic versions (ie, no RC, BETA, ALPHA stuff), only numeric triples (xx.yy.zz) with some SNAPSHOTS and got good results, except if the upper bound was equivalent with a -SNAPSHOT.  Since I think it is a bit different bug, I logged a separate issue #22


create description page

Hi, I have created a description page. Kindly review the code

thanks.but you should make your css file for your description page , you broke homepage .

Shouldn't we use one css for all pages? Our pages' designs aren't that different from each other, so using one css for all should be fine.

Shouldn't we use one css for all pages? Our pages' designs aren't that different from each other, so using one css for all should be fine.

@ioannismarkou It would be easier now to create for each page own css because multiple developer make this pages and then when we have it all someone will refactor it to single css file for all pages.
why I recommended that because now the homepage design is  broken .

Shouldn't we use one css for all pages? Our pages' designs aren't that different from each other, so using one css for all should be fine.

@ioannismarkou It would be easier now to create for each page own css because multiple developer make this pages and then when we have it all someone will refactor it to single css file for all pages.
why I recommended that because now the homepage design is broken>

This makes sense, we can work on our separate css files for now


Lazy loading on Homebase

As more people learn about Homebase, we should spam-proof it by only loading a limited number of DAOs in the main view.

Hey team! Please add your planning poker estimate with Zenhub @Man-Jain @fabiolalombardim @thenerdcat


Issue in new version for date-time

Hi @RobinHerbots
I might say, the new version is not entirely the same as version 3.x for DateTime.
Issue 1- When I click on any positions on content, that position would be selected (look at the image) in version 3.xx which is the best. This feature is not available in a new version I guess.

Issue 2- When I select contents using TAB, It will not let me enter anything unless I do not enter between 0 to 2 in a new version while in old, It can be possible.
For example, When I enter a value between 3 to 9, it will convert in hours and minutes with appending 0 in version 3.x.
If I enter 8888 it will turn in 08:08 this could not be possible into the latest version.
I hope you understand what I meant to be

@patel33hardik,
Yes this needs to be fixed in the new version.
A link to the previous codepen for testing.
https://codepen.io/robinherbots/pen/qzrovd

@patel33hardik,
Have a look at the codepen.  Both above mentioned issues should be solved.


scrolling follow mouse on macos

Hello,
I encountered a problem with perfect scrollbar on chrome OSX.
The scroll starts when I move the mouse.
When I down the mouse the scroll up... could you help me ?
best regards

IMG_3269.zip

this video show the problem, during this test i just move a mouse

I'm sorry for the late response here. Unfortunately it has not been reproducible in my env(macOS Chrome).
Can you specify more about reproduction, such as reproduction step, browser version, and scroll device(e.g. trackpad, bluetooth mouse, etc)?

hello,
I tried to reproduce the problem but it seems to have disappeared.
you can close this bug,
thx for your reply


statx should be available on more platform/architecture

Including struct statx, fn statx, const SYS_statx, sub-structs and related flags used by them.
Currently, SYS_statx is missing on gnu with arch mips, aarch64, mips64, s390x.
And all of them are missing on musl, while it seems to support them already.
Syscall id is only architecture related. Maybe be can simply get them from here ?

Related: https://github.com/rust-lang/rust/pull/65094


[v6] array selector

Add a way to select collection from FieldArray perhaps array[].child or array[*].child. Meanwhile is there a way to get values in get values in render of FieldArray without selector?

What do you mean by "select collection"? What are you trying to select? You can get the value of a FieldArray using a formValueSelector. What are you trying to accomplish?

Yes, i'm talking about formValueSelector. It supports "deep" paths, but it doesn't really work if you have FieldArray in your path. I does if you want to get concrete position field.fieldarray[0].field, but it's impossible to "pluck" each child with something like this field.fieldarray[].field.
{     field: {         fieldarray:[             {                 field: "A"             },             {                 field: "B"             }         ]     } } I want "A", "B", for arbitrary length of fieldarray.

Currently formValueSelector does not work on arrays:
const selector = formValueSelector('myForm')
const state = {
  form: {
    myForm: {
      values: {
        mice: ['Jaq', 'Gus', 'Major', 'Bruno']
      }
    }
  }
}

// This test fails :-(
expect(selector(state, 'mice'))
  .toEqual({
    mice: ['Jaq', 'Gus', 'Major', 'Bruno']
  })

Fixing this would solve the issue without having to implement masks because you could do:
selector('mice').map(_.property('some.field'))

I would be really happy to accept a PR that implements this! What do you think about this @erikras?

I'm confused. ☝ That test passes.

I will investigate on why it hasn't work the first time.

Ok, from what i understand you are going to fix array issue but if i want to traverse arrays i'm on my own?

// Create a selector for `myform`
const selector = formValueSelector("myform")

// Create an accessor for `child` sub field
const getChild = _.property("child")

// Connect the component
connect(
  // Select `array` field and extract `child`
  // It mimics `array[].child`
  state => selector(state, "array").map(getChild)
)

Thanks. Great work on v6.


CI: Conformance-AKS failure

CI Conformance-AKS has been failing consistently. It times out waiting for the cluster to be ready or IPSec tests when encryption is enabled.
IPSec test times out
+ CILIUM_CLI_IMAGE_REPO=quay.io/cilium/cilium-cli-ci
+ CILIUM_CLI_IMAGE_TAG=latest
++ pwd
+ docker run --network host -v /home/runner/.kube/config:/root/.kube/config -v /home/runner/work/cilium/cilium:/root/app -v /home/runner/.aws:/root/.aws -v /home/runner/.azure:/root/.azure -v /home/runner/.config/gcloud:/root/.config/gcloud quay.io/cilium/cilium-cli-ci:b41831060[25](https://github.com/cilium/cilium/actions/runs/11464036848/job/31899358824#step:25:26)e8d0f948ae63618462db69c015f17 cilium connectivity test --flow-validation=disabled --hubble=false --collect-sysdump-on-failure --external-target bing.com. --external-cidr <IP_ADDRESS>/8 --external-ip <IP_ADDRESS> --external-other-ip <IP_ADDRESS> --force-deploy --junit-file 'cilium-junits/Installation and Connectivity Test (1.29, eastus, 3, true) - 2.xml' --junit-property 'github_job_step=Run connectivity test with IPSec (1.29, eastus, 3, true)'
🔥 [cilium-cilium-11464036848-1-3] Deleting connectivity check deployments...
⌛ [cilium-cilium-11464036848-1-3] Waiting for namespace cilium-test-1 to disappear
✨ [cilium-cilium-11464036848-1-3] Creating namespace cilium-test-1 for connectivity check...
✨ [cilium-cilium-11464036848-1-3] Deploying echo-same-node service...
✨ [cilium-cilium-11464036848-1-3] Deploying DNS test server configmap...
✨ [cilium-cilium-11464036848-1-3] Deploying same-node deployment...
✨ [cilium-cilium-11464036848-1-3] Deploying client deployment...
✨ [cilium-cilium-11464036848-1-3] Deploying client2 deployment...
✨ [cilium-cilium-11464036848-1-3] Deploying client3 deployment...
✨ [cilium-cilium-11464036848-1-3] Deploying echo-other-node service...
✨ [cilium-cilium-11464036848-1-3] Deploying other-node deployment...
✨ [host-netns] Deploying cilium-cilium-11464036848-1-3 daemonset...
✨ [host-netns-non-cilium] Deploying cilium-cilium-114640[36](https://github.com/cilium/cilium/actions/runs/11464036848/job/31899358824#step:25:37)848-1-3 daemonset...
ℹ  Skipping tests that require a node Without Cilium
⌛ [cilium-cilium-11464036848-1-3] Waiting for deployment cilium-test-1/client to become ready...
⌛ [cilium-cilium-11464036848-1-3] Waiting for deployment cilium-test-1/client2 to become ready...
⌛ [cilium-cilium-1146[40](https://github.com/cilium/cilium/actions/runs/11464036848/job/31899358824#step:25:41)36848-1-3] Waiting for deployment cilium-test-1/echo-same-node to become ready...
⌛ [cilium-cilium-11464036848-1-3] Waiting for deployment cilium-test-1/client3 to become ready...
⌛ [cilium-cilium-11464036848-1-3] Waiting for deployment cilium-test-1/echo-other-node to become ready...
⌛ [cilium-cilium-11464036848-1-3] Waiting for pod cilium-test-1/client-d48766cfd-6j48h to reach DNS server on cilium-test-1/echo-same-node-6bbbcd7755-z6fwz pod...
⌛ [cilium-cilium-11464036848-1-3] Waiting for pod cilium-test-1/client2-6b89df6c77-bbnq2 to reach DNS server on cilium-test-1/echo-same-node-6bbbcd7755-z6fwz pod...
⌛ [cilium-cilium-11[46](https://github.com/cilium/cilium/actions/runs/11464036848/job/31899358824#step:25:47)4036848-1-3] Waiting for pod cilium-test-1/client3-7f986c467b-rt9jw to reach DNS server on cilium-test-1/echo-same-node-6bbbcd7755-z6fwz pod...
timeout reached waiting for lookup for localhost from pod cilium-test-1/client3-7f986c467b-rt9jw to server on pod cilium-test-1/echo-same-node-6bbbcd7755-z6fwz to succeed (last error: error with exec request (pod=cilium-test-1/client3-7f986c467b-rt9jw, container=): context deadline exceeded)

The cluster is not ready
    /¯¯\
 /¯¯\__/¯¯\    Cilium:             OK
 \__/¯¯\__/    Operator:           OK
 /¯¯\__/¯¯\    Envoy DaemonSet:    OK
 \__/¯¯\__/    Hubble Relay:       1 errors
    \__/       ClusterMesh:        disabled

DaemonSet              cilium             Desired: 2, Ready: 2/2, Available: 2/2
DaemonSet              cilium-envoy       Desired: 2, Ready: 2/2, Available: 2/2
Deployment             cilium-operator    Desired: 1, Ready: 1/1, Available: 1/1
Deployment             hubble-relay       Desired: 1, Unavailable: 1/1
Containers:            cilium             Running: 2
                       cilium-envoy       Running: 2
                       cilium-operator    Running: 1
                       hubble-relay       Running: 1
Cluster Pods:          11/11 managed by Cilium
Helm chart version:    1.17.0-dev
Image versions         cilium             quay.io/cilium/cilium-ci:7129ec0fc3ebbb36c17377318a5efef9726f83a4: 2
                       cilium-envoy       quay.io/cilium/cilium-envoy:v1.30.6-1729608965-1e298fad5ecff399849a689fb0730551afe42422@sha256:4bf4d4dfd23477666d9d2c05b701954df268902d9f31d691e1a0dc85661ac5ac: 2
                       cilium-operator    quay.io/cilium/operator-generic-ci:7129ec0fc3ebbb36c17377318a5efef9726f83a4: 1
                       hubble-relay       quay.io/cilium/hubble-relay-ci:7129ec0fc3ebbb36c17377318a5efef9726f83a4: 1
Errors:                hubble-relay       hubble-relay    1 pods of Deployment hubble-relay are not ready

Error: Unable to determine status:  timeout while waiting for status to become successful: context deadline exceeded

Failures:

https://github.com/cilium/cilium/actions/runs/11475615658
https://github.com/cilium/cilium/actions/runs/11470466803
https://github.com/cilium/cilium/actions/runs/11464036848

cilium-sysdumps-11464036848.zip
cilium-sysdumps-11470466803.zip
cilium-sysdumps-11475615658.zip

It looks like there are different symptoms reported here, are you sure they are related to one another? I understand that they both occurred as part of the same overall workflow, but it doesn't necessarily mean that the symptoms have the same root cause.
I pulled the sysdump from here and opened the sysdump inside for cilium-sysdump-final-1.28-eastus2-2. Since hubble-relay is the daemon reporting it never becomes available, I looked at the hubble-relay-*-prev.log. Here's the content:
2024-10-23T08:31:58.076158700Z time="2024-10-23T08:31:58.075876598Z" level=info msg="Starting gRPC health server..." addr=":4222" subsys=hubble-relay
2024-10-23T08:31:58.076269701Z time="2024-10-23T08:31:58.0761174Z" level=info msg="Starting gRPC server..." options="{peerTarget:hubble-peer.kube-system.svc.cluster.local:443 dialTimeout:30000000000 retryTimeout:5000000000 listenAddress::4245 healthListenAddress::4222 metricsListenAddress: log:0xc00038af50 serverTLSConfig:<nil> insecureServer:true clientTLSConfig:0xc0007e92a8 clusterName:cilium-cilium-11475615658-1-2 insecureClient:false observerOptions:[0x259b940 0x259ba20] grpcMetrics:<nil> grpcUnaryInterceptors:[] grpcStreamInterceptors:[]}" subsys=hubble-relay
2024-10-23T08:32:28.081277439Z time="2024-10-23T08:32:28.079790525Z" level=warning msg="Failed to create peer client for peers synchronization; will try again after the timeout has expired" error="context deadline exceeded" subsys=hubble-relay target="hubble-peer.kube-system.svc.cluster.local:443"
2024-10-23T08:33:03.080804991Z time="2024-10-23T08:33:03.080651889Z" level=warning msg="Failed to create peer client for peers synchronization; will try again after the timeout has expired" error="context deadline exceeded" subsys=hubble-relay target="hubble-peer.kube-system.svc.cluster.local:443"
2024-10-23T08:33:07.753502117Z time="2024-10-23T08:33:07.753064613Z" level=info msg="Stopping server..." subsys=hubble-relay
2024-10-23T08:33:07.753542418Z time="2024-10-23T08:33:07.753266415Z" level=info msg="Server stopped" subsys=hubble-relay

For this specific failure, the cluster never becomes ready and therefore the workflow does not proceed to get to the step where the ipsec test is deployed/run. I'm not sure if this was just poor startup timing or something disrupted the hubble initialization but I think that this should be investigated separately from the ipsec pod provisioning issue.

For this case the GitHub workflow logs report:

Wed, 23 Oct 2024 08:23:55 GMT
⌛ [cilium-cilium-11475615658-1-3] Waiting for pod cilium-test-1/client3-7f986c467b-p9zdw to reach DNS server on cilium-test-1/echo-same-node-6bbbcd7755-wbqzh pod...
Wed, 23 Oct 2024 08:24:25 GMT
timeout reached waiting for lookup for localhost from pod cilium-test-1/client3-7f986c467b-p9zdw to server on pod cilium-test-1/echo-same-node-6bbbcd7755-wbqzh to succeed (last error: error with exec request (pod=cilium-test-1/client3-7f986c467b-p9zdw, container=): context deadline exceeded)

Investigating the sysdump, I see the file k8s-pods-20241023-082426.txt (timestamp implying 08:24:26) with the following line:

cilium-test-1   client3-7f986c467b-p9zdw              1/1     Running   0          34s   <IP_ADDRESS>   aks-nodepool1-88128901-vmss000000

This seems like it lines up for the client3 Pod being created at around 08:24:52, which is just three seconds before the cilium CLI attempts to check for readiness. Are we sure that the Pod was ready to receive requests at that time? Does the CLI have retries or will it try once and time out? In the sysdump, the Pod reports that it is Ready. I didn't investigate exactly what the CLI step was trying to do, but that is probably a good next step. Maybe this is just a race condition that needs a bit more flexibility on accounting for test application startup time?

This should have been fixed by https://github.com/cilium/cilium/pull/35806.


Don't allow session with bad services or regions.

Boto should not allow you to create a session with a service and region combination that is not available.
For example, if I create a redshift session in us-west-1, boto allows me to create this session and then takes quite a while to fail my requests. I'm seeing response times in excess of 10 seconds for boto to raise an  EndpointConnectionError. I see the same thing when using the AWS CLI:
$ time aws --region=us-west-1 redshift describe-clusters

Could not connect to the endpoint URL: "https://redshift.us-west-1.amazonaws.com/"

real	0m11.699s
user	0m0.272s
sys	0m0.036s

It looks like a list of available endpoints is kept in the tests here.
Ideally boto would raise an error when a user attempts to even create the session. But if that does not sound reasonable, it would be nice to at least have formal access to that KNOWN_REGIONS list so that I can perform the validation myself.
This is not an issue with EC2 because it provides the describe_regions method. Most services don't seem to provide that.

Oops. Looks like this is a duplicate of https://github.com/boto/botocore/issues/339


[Bug] Crash App at file: D:\a\firebase-cpp-sdk\firebase-cpp-...\level_d...gine.cc Line: 307

[REQUIRED] Please fill in the following fields:

Pre-built SDK from the website or open-source from this repo: _____
Firebase C++ SDK version: 8.6.0
Problematic Firebase Component: _____ (Auth, Database, etc.)
Other Firebase Components in use: Database(maybe)(Auth, Database, etc.)
Platform you are using the C++ SDK on:Windows(Mac, Windows, or Linux)
Platform you are targeting: _____ (iOS, Android, and/or desktop)

[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
What's the issue repro rate? (eg 100%, 1/5 etc)
100%
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
I change my computer name to Thai language , example ยามิน  and when i start my application , it will be crash
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
// TODO(you): code here to reproduce the problem

This is the report bug when my application crahsed
Microsoft Visual C++ Runtime Library
Assertion failed!
Program: ...(x86)\Early Start\Monkey Stories\MonkeyStories.exe
File: D:\a\firebase-cpp-sdk\firebase-cpp-...\level_d...gine.cc
Line: 307
Expression: false
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
Abort   Retry   Ignore
Microsoft Visual C++ Runtime Library
Assertion failed!
Program: ...(x86)\Early Start\Monkey Stories\MonkeyStories.exe
File: D:\a\firebase-cpp-sdk\firebase-cpp-...\level_d...gine.cc
Line: 307
Expression: false
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
Abort   Retry   Ignore

The application crashed when I change my computer user name to Thai language  like that  ยามิน
This problem is a hot bug in my project , please help me. Thank you.
p/s: English is not my native language. I'm really sorry if i have any mistake.

This issue happend with computer name using some accented language

Do you have any ideal to solve this problem @TruongBuixuan  ???

Excuse me to modify the title a bit.
And apologize for the inconvenience.
Quick question: Did you guy happen to open more than one instance of this standalone application? Or does it crashes when you launch only a single instance?

Also, this seems to be related to persistence feature. A quick workaround is to turn off this feature with this function. Try to do so before creating any database instance.
https://firebase.google.com/docs/reference/cpp/class/firebase/database/database#classfirebase_1_1database_1_1_database_1a80516f5ad9bed9465098b07224fe4eda

@chkuang-g  it crashes when i  launch only a single instance.

Also, this seems to be related to persistence feature.
A quick workaround is to turn off this feature with set_persistence_enabled(false).
https://firebase.google.com/docs/reference/cpp/class/firebase/database/database#classfirebase_1_1database_1_1_database_1a80516f5ad9bed9465098b07224fe4eda
The only drawback to turn this off is offline access to the cached database. But this should prevent the crash.
Note: set_persistence_enabled() should be called before creating any instances of DatabaseReference, and only needs to be called once per application.

the app crashes when i launch only a single instance and it not work with me.


Template for filing an issue on error from vs code includes junk characters on GitHub issue creation page

I got an error while using the app service extension. I clicked on the pop up that came up to open an issue. The page opened pre-filled in with the exact content below, including codes for less than (<) and greater than (>) which don't render well in the GitHub issue creation page and might make the editing process confusing for less technically savvy reporters.
<Please be sure to remove any private information before submitting.>

Repro steps:
<Enter steps to reproduce issue>

Action: appService.Delete
Error type: 429
Error Message: Cannot acquire exclusive lock to create, update or delete this site. Retry the request later.

Version: 0.10.0
OS: darwin

@nnja Thanks for reporting this issue!
We had to add the codes for < and > since markdown will hide the symbols if they are between text (I guess because it's assuming it's an HTML tag?).  Do you think using \< and \> would be less confusing for reporters?

Are symbols necessary at all? Would it be possible to call attention to the sections that need to be filled in with plain text? Something like:
IMPORTANT!: Please be sure to remove any private information before submitting.
TODO: Enter steps to reproduce the issue


Choose certain lines and have more nests

Hello Chris,
I am using your package, I was trying to document a YML file and I wanted to choose some lines and leave others like for example `#' This is a flat entry.
flat: "yes"
#' But this is a two level thing.
two:
#' These can have documentation too.
entry: "hi"
#' this is the colour
color: "red"
#' this is the phone I don't want to include in my sphinx documentation
phone: "0123456789"`
So I don't want to include phone in my documentation however I want the others, is there a way to do it,
I am also using the complex scheme for nested lines, but is it possible that we have a value and inside it a value that has members inside it, example:
`#' This is a flat entry.
flat: "yes"
#' But this is a three level thing.
two:
#' These can have documentation too.
entry:
#' this is the colour
color: "red"
#' this is the phone I don't want to include in my sphinx documentation
phone: "0123456789"`
So two would be at the top and it has entry that has a member which is color, if you'd have answers two those questions Id really appreciate it.

For example, with your first document (you can use three backticks to format by the way):
test.yaml:
#' But this is a two level thing.
two:
  #' These can have documentation too.
  entry: "hi"
  #' this is the colour
  color: "red"
  #' this is the phone I don't want to include in my sphinx documentation
  phone: "0123456789"`

yamldoc test.yaml | grep -v phone

gives
# Configuration Parameters Reference

Any information about this page goes here.

## `two`

But this is a two level thing.

### Member variables:

| Key | Value | Information |
| :-: | :-: | :-- |
| `entry` | `"hi"` | These can have documentation too. |
| `color` | `"red"` | this is the colour |

---
Generated by [yamldoc](https://github.com/chris1221/yaml.doc) v0.1.6 on 2023-06-14

grep -v means "find all the lines that do not match the pattern" and the pattern is "phone".

I'm updating the code to fix some bugs right now so I would recommend that you clone the version from the master branch and use that instead of the one on Pypi. I'll be updating that soon but I haven't gotten around to it yet.
git clone https://github.com/Chris1221/yamldoc.git
pip install -e ./yamldoc

Thank you so much for your reply,
I am actually not in rush, I would appreciate much, because my yaml file has many entries and it would require me to go through entry entry, and also some parts are commented out and the commented out parts still appear in the documentation (which are lines I dont won't to document but still want to leave as they might be used soon), So what I was thinking about is it possible to do something that doesn't affect the code but still takes the lines out like for example starting with #? and ending with #$ (making it up) would suspend a certain block or line of code (for documentation) but still the code it self is functional.
example:
` #' This is a flat entry.
flat: "yes"
#' But this is a two level thing.
two:
#' These can have documentation too.
entry: "hi"
#' this is the colour
color: "red"
#?
phone: "0123456789" `
#$
#?
feature: #fast this is a commented out feature
#$`
so this would work for lines already in the code and lines that are commented out and both types you dont need in the documentation

yamldoc test.yaml | grep -v phone also how does this work with -c basic.schema

For sure, if you aren't in a rush I can add this feature in a few days. I like your idea though I might change the syntax a little. I'll ping you on this issue when I have a working version, I have a good idea how to attack this already.

yamldoc test.yaml | grep -v phone also how does this work with -c basic.schema

The | here is a bash pipe, so it takes the output of the first command and gives it as input to the second command. Here's an explanation if you're interested. To use this with a schema, you can give it as an option like you would normally and then pipe the output to grep to remove the lines you want. (The syntax for including the schema is the -s switch by the way, the -c switch is to give the prefix character).
yamldoc test.yaml -s basic.schema | grep -v phone

You can try this with the test data to try it out:
yamldoc test/yaml/basic.yaml -s test/schema/basic.schema | grep -v Any

Hello Chris,
sorry for not replying earlier, I am going to try it now thanks a lot, I will let you know soon. Thanks again.

Hello Chris,
I think its working very nice and smooth, thanks a lot, I also have some questions if you don't mind:

How to remove the type column when using a scheme as I don't want to show It in the documentation?

How to deal with such a thing:

.......
colors:
-red
-blue

when I try to document such a thing with the new feature it gives an error : AttributeError: 'ListElement' object has no attribute 'exclude'

3. Any ideas of the nested variables?

at the end I would to like to thank you much for the great effort, you are helping a lot and I am looking forward to hearing from you soon.

So the problem is not in the list its when there is a nested list:
Place:
    colors:

             -red
             -blue

Great catch! I've fixed this in the PR and merged it. If this doesn't fix your issue please feel free to re-open this ticket.
Place:
  colors:
    - red
    - blue

now reports:

Key
Value
Information

colors
['red', 'blue']

as expected :)
I've moved the work on arbitrary nested levels to #14 to separate things out. I have an idea on how to implement this but it may take a bit longer.

I will check and let you know thanks a lot.


Broken rendering with some fonts (vertical stretching of the last pixels)

Description
With some fonts the rendering looks as if the first pixels and the last pixels (vertically) are stretched, which results in broken rendering.
I could reproduce this issue with the "Algerian" font and the "Stencil" font in the rich-text example.
Steps to reproduce
Take the "rich-text" example and e.g. replace the line which sets the attributes for comic-sans with
let comic_attrs = attrs.family(Family::Name("Algerian")).stretch(cosmic_text::Stretch::ExtraCondensed);
or
let comic_attrs = attrs.family(Family::Name("Stencil"));
How does it look like
This looks especially spectacular with the "Algerian" font.
Algerian:

but is also visible with "Stencil"
Stencil:

Ouch! This is almost certainly a swash problem. Thanks for reporting. I’ll look into it.

This should be fixed with swash 0.1.17.

Thanks @dfrg!

@petersupansectra please test this after using cargo update to get the new swash crate


Milestone: Created book class

In this milestone 💪

[ ] Create a Book class
[ ] Implement methods:

[ ] can_be_archived?() in the Book class

[ ] should override the method from the parent class
[ ] should return true if the parent's method returns true OR if cover_state equals to "bad" otherwise, it should return false

@iamchristianani Thank you for approving :)


Help: How to change amount of health player gets on hit?

What do you need help for ?
Please note that the documentation is still under construction.
I have an idea for a special note type that, WHEN HIT: reduces the amount of health player gets via hitting notes

function onPlayerHit(direction:Int) {
    for(e in PlayState.ratings)
       e.health *= 0.75;
}


Link with :lineNumber didn't work on Terminal

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.94.2
OS Version: Windows 11 24H2

Steps to Reproduce:

As you can see, the :lineNumber wasn't included in the link, so I can't click on the link to go to the file with the line number specified.

Can reproduce using echo "      at ConsoleTool$/get instance()[D:\microsoft\vscode\ConsoleTool.as:46]" in pwsh:

Note that the link is validated (no ctrl to show the underline), but it doesn't include the line number.
Code pointers:
https://github.com/microsoft/vscode/blob/a5539aee23533a8083819cb0b4277b05e1d6525a/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLocalLinkDetector.ts#L81
https://github.com/microsoft/vscode/blob/a5539aee23533a8083819cb0b4277b05e1d6525a/src/vs/workbench/contrib/terminalContrib/links/browser/terminalLinkParsing.ts#L64-L126


eslint: fixing minor linting issues.

Some tests will still fail, as we have multiple "placeholders" in code that are simply waiting to be implemented. Namely errors like React is defined but never used, as we're yet not rendering any component.
E.g. :https://github.com/inveniosoftware/invenio-administration/blob/f23bacffd5fac63f6b697eb1563150ed817a6ba2/invenio_administration/assets/semantic-ui/js/invenio_administration/actions/Edit.js#L1-L8

Some tests will still fail, as we have multiple "placeholders" in code that are simply waiting to be implemented. Namely errors like React is defined but never used, as we're yet not rendering any component.
E.g. :
https://github.com/inveniosoftware/invenio-administration/blob/f23bacffd5fac63f6b697eb1563150ed817a6ba2/invenio_administration/assets/semantic-ui/js/invenio_administration/actions/Edit.js#L1-L8

could you add return statements there? the rest is warnings only, it is OK for now