Connection closed by foreign host

non-amd64 和thread_reuse 这两个分支运行都能连上vpn，但是telnet服务器端口都显示Connection closed by foreign host
查看TCP.log
[2022-09-08 06:43:46][INFO][TCPModule.cpp:384] - TCP startup ok! processID 106, threadID<PHONE_NUMBER>44
[2022-09-08 06:44:45][INFO][TcpConf.cpp:18] - unsupport data compress ! return compress=0
[2022-09-08 06:44:45][INFO][TcpService.cpp:779] - svpnhost <IP_ADDRESS>!
[2022-09-08 06:44:45][INFO][TcpService.cpp:793] - find svpnport 4431
[2022-09-08 06:44:45][INFO][CSocketChannel.cpp:135] - connect is in progress, using select please!
[2022-09-08 06:44:45][INFO][TcpService.cpp:655] - remoteSocketChannel connected SVPN inprogress! register to TcpTimer
[2022-09-08 06:44:45][INFO][TcpService.cpp:404] - RemoteSocketChannel connect SVPN successfully!
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:455] - remote channel 23 do syn
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:466] - OK: [Remote]SSL_SYN->SSL_RECV since send ssl's syn packet successfully
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:505] - OK: [Remote]SSL_RECV->SSL_ACK since recv ssl's ack packet successfully
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:552] - remote channel 23 do ack
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:556] - OK: [Remote]SSL_ACK->SSL_RES since send ssl's ack packet successfully
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:606] - remote channel 23 do res
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:413] - get original failed! handle(22), port(41358)
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:614] - Err: [Remote]SSL_RES->SSL_CLOSE since get original address failed
[2022-09-08 06:44:45][INFO][CSocketChannel.cpp:319] - socketChannel(-1) has closed
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:982] - [Remote 23]doRemoteChannelClose
[2022-09-08 06:44:45][INFO][CSocketChannel.cpp:319] - socketChannel(-1) has closed
[2022-09-08 06:44:45][INFO][CRemoteSocketChannel.cpp:1075] - RemoteSocketChannel has been destroyed!
会有这个报错
能帮忙看一下是什么问题吗？
谢谢！

容器里运行 ip route 结果如何？
以及 ip route get 你要访问的ip 的结果如何？

root@5b99a67bc1fe:/usr/share/sangfor/EasyConnect/resources/logs# ip route
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS>/16 dev eth0 proto kernel scope link src <IP_ADDRESS>
root@5b99a67bc1fe:/usr/share/sangfor/EasyConnect/resources/logs# ip route get <IP_ADDRESS>
<IP_ADDRESS> via <IP_ADDRESS> dev eth0 src <IP_ADDRESS> uid 0
cache

root@5b99a67bc1fe:/usr/share/sangfor/EasyConnect/resources/logs# ip route default via <IP_ADDRESS> dev eth0 <IP_ADDRESS>/16 dev eth0 proto kernel scope link src <IP_ADDRESS>
root@5b99a67bc1fe:/usr/share/sangfor/EasyConnect/resources/logs# ip route get <IP_ADDRESS> <IP_ADDRESS> via <IP_ADDRESS> dev eth0 src <IP_ADDRESS> uid 0 cache

看起来 easyconnect 的虚拟网卡并没有成功启动。
启动容器的命令行是什么？
日志目录下的 svpnservice.log 有什么内容？

docker run --device /dev/net/tun --cap-add NET_ADMIN -ti -d -p 8888:8888 -e EC_VER=7.6.3 -e CLI_OPTS="-d <IP_ADDRESS>:4431 -u aaa -p bbb" --name vpn hagb/docker-easyconnect
root@5b99a67bc1fe:/usr/share/sangfor/EasyConnect/resources/logs# cat svpnservice.log
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: lsb_release: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/usr/share/sangfor/EasyConnect/resources/shell/list_dns.sh: line 16: nmcli: command not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/usr/share/sangfor/EasyConnect/resources/shell/list_dns.sh: line 18: nmcli: command not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
cat: '/etc/NetworkManager/system-connections/*': No such file or directory
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
iptables: Bad rule (does a matching rule exist in that chain?).
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
localservice init success
svpnservice init success
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sh: 1: route: not found
ERROR: ld.so: object '/usr/local/lib/libthread_reuse.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

看看 ip addr、ip link、ip tuntap list 的输出？看起来虚拟网卡是开起来的，只是路由没有设置。

root@5b99a67bc1fe:/usr/share/sangfor/EasyConnect/resources/logs# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
2: tunl0@NONE:  mtu 1480 qdisc noop state DOWN group default qlen 1000
link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
3: ip6tnl0@NONE:  mtu 1452 qdisc noop state DOWN group default qlen 1000
link/tunnel6 :: brd :: permaddr 72b9:6b58:c40e::
30: eth0@if31: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:11:00:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global eth0
valid_lft forever preferred_lft forever
root@5b99a67bc1fe:/usr/share/sangfor/EasyConnect/resources/logs# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: tunl0@NONE:  mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
3: ip6tnl0@NONE:  mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd :: permaddr 72b9:6b58:c40e::
30: eth0@if31: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 02:42:ac:11:00:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
ip tuntap list没内容

@williamszz 挺奇怪的。我没有见过这种情况，因为接触不到 easyconnect 的源码所以也只能猜测报错的含义。
ip tuntap list 是否在刚刚连接上 vpn 的时候还有内容，然后过了一会儿 TCP.log 出现报错之后就没了？

@williamszz 挺奇怪的。我没有见过这种情况，因为接触不到 easyconnect 的源码所以也只能猜测报错的含义（但是实在猜不出来）。 ip tuntap list 是否在刚刚连接上 vpn 的时候还有内容，然后过了一会儿 TCP.log 出现报错之后就没了？

ip tuntap list 一直没内容
TCP.log报错是telnet或者ssh服务器才会有
在另一台x86的mac上没这个问题
我再研究研究，感谢答复。

或许可以试试 https://github.com/Hagb/docker-easyconnect/issues/25#issuecomment-1233369467 里的 arm64 客户端，配合 master分支进行构建。（需要把 zip下载下来再解压出 deb，然后在本地开个 http 服务器提供给容器构建 或者 把 dockerfile 里面用 wget 下载改成从本地 add 到容器）

或许可以试试 #25 (comment) 里的 arm64 客户端，配合 master分支进行构建。（需要把 zip下载下来再解压出 deb，然后在本地开个 http 服务器提供给容器构建 或者 把 dockerfile 里面用 wget 下载改成从本地 add 到容器）

好的，我试试。


Passdown ref

Codecov Report

Merging #2 into master will increase coverage by 5.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   53.35%   58.36%   +5.00%
==========================================
  Files          26       26
  Lines        1893     1866      -27
==========================================
+ Hits         1010     1089      +79
+ Misses        883      777     -106

Impacted Files
Coverage Δ

src/Logical/StructuredLogicalCircuits.jl
15.38% <0.00%> (-13.19%)
:arrow_down:

src/Logical/Queries.jl
60.24% <0.00%> (+30.34%)
:arrow_up:

src/Utils/Graphs.jl
46.98% <0.00%> (-1.29%)
:arrow_down:

src/Logical/CircuitTraversal.jl
43.47% <0.00%> (-6.53%)
:arrow_down:

Continue to review full report at Codecov.

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


Changes to categories show no changes on the website

If I add categories or change an existing category, the changes made don't show up on the category list on the home page. Only if I recycle the application pool I get the desired result.

This is not a bug. The categories are cached for performance. Just remove the cache attribute


Provide PBKDF2 password encryption and fix route handling

Please address possible bugs detected by sonarcloud. (The public thing is ok IMHO as it was a deliberate design choice)

Please address possible bugs detected by sonarcloud. (The public thing is ok IMHO as it was a deliberate design choice)

I already fixed it ;)

I already fixed it ;)

There are 14 code smells still to be addressed. If you like we can go over them together. ;)
code smells

Please add tests.


Document the reason for needing NODE_ENV

Started to see error:

Reason: Have to set explicit NODE_ENV

But it does not explain anywhere why/what are the implications.

This error is not coming from Knip (there's no NODE_ENV in the program at all).
Knip loads and executes configuration files such as webpack.config.js and vite.config.ts, so my guess this is raised through one of the plugins.
Knip may help by setting that variable if the tool demands it.

Knip loads and executes configuration files such as webpack.config.js and vite.config.ts, so my guess this is raised through one of the plugins.

That's indeed what's happening here!
I was thrown off because it started happening after attempting to update Knip, so I suppose Knip started loading these files whereas before it didn't.
I don't think Knip should do anything about. Maybe say which file threw an error if error was thrown.

I was thrown off because it started happening after attempting to update Knip, so I suppose Knip started loading these files whereas before it didn't.

A few new plugins have been introduced recently. It could also be caused by extending existing globs for config files (such as postcss.config.cjs).


Creat Ian's Treasure Hunt post

I already merged it, but I just noticed that I think you used the default GitHub commit title. I think he wants us to use a title other than the default one.


Added a Registration page to Hostel Management System and Linked it with the Login Page

Title and Issue number

Title : Added a Registration page to Hostel Management System and Linked it with the Login Page
Issue No. : #1147
Code Stack : HTML, CSS and JavaScript
Close #1147

Video (mandatory)
https://github.com/user-attachments/assets/9d30192f-3011-4d03-96c3-f65dd0741af9
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
I have created a Registration Page for the Hostel Management System project as described in my issue. The registration page collects relevant information like Student Name, Email, Phone number, Password, Hostel, and Room No. On successful submission of the form, an alert box pops up confirming the user's registration before redirecting them to the Login Page.
The new Registration page is linked to the existing Login page via the "REGISTER" link that was already present. To ensure a conistent User Experience, I have maintained the same UI design as the Login page for the new Registration page.
Are you contributing under any Open-source programme?

[ ] I'm a GSSOC'24 contributor
[x] I'm a SSOC'24 contributor

@apu52 Hey kindly review my PR and if satisfied, please merge it under SSOC'24.

@zul132 good work

Thank you ☺


update github-action update versions.tf

   1.  Update License
   2. Update terraform.yml
   3. update version.tf in examples

Not sure what the intentions are here, but instead of trying to claim credit for an OSS module, maybe try contributing back to the community?

cc @antonbabenko

https://github.com/clouddrove - the organization they were copying some of the modules by terraform-aws-modules and by cloudposse some time ago.
They are not the only company that does it, so there is nothing new or special.
Contributing to OSS modules?!? Why??? :)


Fix: off-by-one bug handling bad_pkt

Proposed solution to https://github.com/mscdex/ssh2-streams/issues/79
In https://github.com/mscdex/ssh2-streams/blob/master/lib/sftp.js#L275 we subtract 1 from packet header length field to account for type byte. However, when handling the bad_pkt condition, we omit to add 1 back to header length field when copying header to front of pktHdrBuf (https://github.com/mscdex/ssh2-streams/blob/master/lib/sftp.js#L314), resulting in corruption of the packet header.

Thanks, landed in 0d229ddc8d805a35f3533c1678d8a2e4366a0f1f.


CIT fixups

move all new network fixtures to fixtures.go
maintain a convenience pointer in fixture structs
use convenience pointer instead of name matching loops
require fixture structs in SetCustomNetwork, reducing necessary safety checks
add tests for new network fixtures

/hold

/lgtm
One possible work is to continue break down fixture.go to multiple component such as network.go subnetwork.go vm.go

/unhold


[Bug]The " Lets go" button is not clickable on the onboarding pop up

Description
[What happened]The "Let's go" button is not clickable on the Onboarding pop up when the user deletes the default org
Steps to reproduce the behavior:

Sign in to appsmith
Create a new org
Assign the default org to other users
delete the default org
Now start the Onboarding by clicking on a welcome tour
The let's go button is not clickable

https://www.loom.com/share/9bd352fa12924d05a2c0cd37f2317341
Important Details

Version: [Cloud]
OS: [MacOSX]
Browser [chrome]
Environment [release]

@akash-codemonk, assigning to you since you worked on On boarding right? Let me know if that's not the case :)

@RakshaKShetty Is this still happening? I removed myself from the default org and clicked on Let's go it creates an application from the other organisation.

Closing this as this is no longer happening. @RakshaKShetty


Trigger refresh with VoiceOver three-finger scroll gesture

The standard UIRefreshControl triggers refresh when a user swipes down with three fingers while the content is already scrolled to top.
VoiceOver users would expect the same behavior from SSPullToRefresh control.

I ended up overriding accessibilityScroll in SSPullToRefreshView subclass like this:
override func accessibilityScroll(direction: UIAccessibilityScrollDirection) -> Bool {
    if let scrollView = self.scrollView where scrollView.contentOffset.y == -scrollView.contentInset.top && direction == .Up {
        self.startLoadingAndExpand(true, animated: true)
        UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, "Refreshing content…")
        return true
    } else {
        return false
    }
}

However it's not called directly, thus I have to call it from accessibilityScroll in my UIViewController subclass (which is called by the system)
override func accessibilityScroll(direction: UIAccessibilityScrollDirection) -> Bool {
    return self.refreshView?.accessibilityScroll(direction) ?? false
}


How can change user interface to English?

How can change user interface to English?
怎么修改成英语?现在还不能？

您好
现在此项目正在工作阶段
目前ArcTime的UI语言是嵌在程序里面的
我们需要等待开发者整理语言包
谢谢您的支持
Hi,
This Project is still under construction
ArcTime's UI Language Pack are still inside the main application
We need to wait the separate Language Pack from the developer
Thanks for supporting this project.


[Debian] Add Debian 11

New Debian 11 release: https://www.debian.org/News/2021/20210814

Thanks a lot @Evernow 💯!


[.] without escaping should be metachar and not just dot itself

@andgineer
@SlMaker - your opinion? I can fix. if you find info about other engines

on https://regex101.com/r/qr9Zbh/1 [.] matches only the dot for all flavours

@andgineer So maybe leave code as is? its now as in all flavors?

Ok.. but strange anyway - [\w] works as expected - any word letter..

because of my adddions - I added that \w \d \W \D work in [ ].

So nothing needs to be changed?

yes

@andgineer closing it?

https://regex.sorokin.engineer/en/latest/regular_expressions.html#predefined-character-classes

You may use \w, \d and \s within user character classes.

yes - I even documented that by your request but forget that ;)

Forget-forgot-forgotten
:)


Analytics privacy concern

- a screenview hit type with the official Homebrew command you have run (with arguments stripped) e.g. brew list (not brew list foo or any external commands except bundle, cask and services)
an event hit type with the install event category, the Homebrew formula from a non-private GitHub tap you have requested to install and any used options e.g. wget --with-pcre as the action and an event label e.g. Mac OS X 10.11, non-/usr/local, CI to indicate the OS version, non-standard installation location and invocation as part of CI. This allows us to identify formulae that need fixed and where more easily.
- an event hit type with the BuildError event category, the Homebrew formula that failed to install e.g. wget as the action and an event label e.g. Mac OS X 10.11
- an exception hit type with the exception event category, exception description of the exception name e.g. FormulaUnavailableError and whether the exception was fatal e.g. 1

I wonder if any errors or exceptions from non-public taps are reported?

Nope: https://github.com/Homebrew/brew/blob/05efd70dc350bf60c47d25d1d48da188ffb504df/Library/Homebrew/utils/analytics.rb#L55

Presuming question resolved by Baptiste? Shout otherwise.


Go inst supported in the contribution?

Seems like my commits with golang arent being counted...

Hi, @RubenMateus! In which of your repositories golang is not shown?

Hey @yaronskaya, these two repos show up in the list but its not counting on the main graph.
repos:
https://github.com/RubenMateus/ready-set-go
https://github.com/RubenMateus/go-playground
sourcerer link
https://sourcerer.io/rubenmateus

Looks like C# is not in top-6 languages and therefore is not shown in languages section.


Adding new test for C API, etc.

There are 3 C API fixes / improvements in this PR:

Adding C api test: test_space_nested_in_atom, which corresponds to they Python test test_match_nested_grounding_space, but without relying on Python.

Fixing oversight in C API in signature of space_clone_handle(), which I missed in the C API regularization pass a few weeks ago.

Adding atom_vec_clone() function, because it's convenient

Added fix for release build segfault (https://github.com/trueagi-io/hyperon-experimental/issues/405) in 1681a3e commit.

It makes sense probably to switch CI build to the release mode. Then we will detect such release build issues earlier. What do you think?

It makes sense probably to switch CI build to the release mode. Then we will detect such release build issues earlier. What do you think?

I think it's a good idea.  The main reason being that it will give the faster performance to users.  The downside is that it'll make crash reports from the wild a little harder to follow, but I think the performance outweighs this concern.


Change in timezone after generate PDF

Hello,
I'm using your library for generating PDF from html. Before generate Pdf Timezone is Asia/Kolkata, But after generating Pdf timezone is change to Europe/London.
Below is my code:
      print_r(new \DateTime()); // Asia/Kolkata         $mpdfService = $this->container->get('tfox.mpdfport');         $response = $mpdfService->generatePdf($html);         print_r(new \DateTime()); // Europe/London         file_put_contents($pathToPdf, $response);         chmod($pathToPdf,0777);

hello,
it's normal. Mpdf update do 6.1 and this library call 6.0
https://github.com/mpdf/mpdf/issues/137


feature/interactive plot

Added support for interactive line plots, with two sets of single choice filters (for berlin/deutschland and for units of measure like anzahl/umsatz) and a set of multi choice filters (for the specific branches, such as nahrung/pharma/textil).
Also refactored the code a little using the Factory Method and Template Method patterns.
We can have a pair programming session with @ZenVega to go over the code together.
@MRigal Feel free to review the code / join our session, but I just added you as optional :)

Super cool. Great commenting! Here are two possible improvements we already talked about:

Make a config file for default of each TYPE OF PLOT and another one for each CONCRETE PLOT that overrides those values

Make different plots for Berlin and Deutschland that are modified by the same filters


[ui] Updated success message is a red alert

Good first commit for a new user maybe,
Steps to replicate:

Go to user page
Press update button
See red notice, notice should be green/blue for good UI

But that is an error message, why would it not be red?

Nope, you are correct, I didn't bother to read the alert apparently ahahaha!


Upgraded Package versions of nettle and gnutls

Description: Upgraded Package versions of nettle and gnutls
Changes Proposed in PR:
Fixes: # Vulnerabilities.
General Checklist

[ ] Updated Added functionality/ bug fix in release notes
[ ] Added examples for new feature
[ ] Updated the documentation

CRD Checklist

[ ] Updated required CR schema

/AzurePipelines run

/AzurePipelines run

/AzurePipelines run


Feature/comment pane

Todo list

[x] Load comments and check whether file exists at the same time

[x] Loading state and loaded state
[x] Call waterbutler
[x] Recent comments refactor

[x] Show comment but say "File deleted"
[x] Remove unnecessary API calls to fetch discussion users
[x] Make hidden comments not expandable (using knockout)
[x] May need to remove "unread comments"

[x] File timestamps
[x] Async call

[x] Figshare file name
[ ] Migration

Initial pass finished. :poodle:

Ready for 2nd pass :jack_o_lantern:

Pass finished. :deciduous_tree:

Ready for another pass once travis build passes

This PR will be continued in #2534


Remove references to the router executor

While lacking full context on how Citus now applies router executor performance gains in the new real-time executor, I made a guess at how to revise the docs.
Fixes #48

Looks good! :shipit:


Configure gRPC scala sample so it can be tested on Kubernetes

This will not actually work yet, but let's see how far it gets

This now works, but there is a test failing because of the combination of JDK 1.8.252 and alpn-agent 2.0.9 #165

This now works, but there is a test failing because of the combination of JDK 1.8.252 and alpn-agent 2.0.9 #165

Meh. We should mark the JDK8-gRPC samples as allows_failure like in play-samples

This now works, but there is a test failing because of the combination of JDK 1.8.252 and alpn-agent 2.0.9 #165

Meh. We should mark the JDK8-gRPC samples as allows_failure like in play-samples

#167

@raboof we have this long-forgotten PR. What do you say we merge it already?

I guess it needs a rebase/travis tweak?

🤞🏼

:green_heart:


Implement linting on change

As per this comment in #28, a new feature request:
Actually implement python.linting.lintOnTextChange, to apply linting to the unsaved buffer.
This is a desirable, if nontrivial, function.
See also #313 - if this is implemented, that should be reversed.

Please update #313 to point to this issue instead, so that people can vote for it.

@kav2k you can leave a comment referencing this issue if you want; there shouldn't be anything requiring special privileges to do so.

Plus, it would make sense to edit the issue text, as it explicitly says "please add your vote 👍 against the following issue #28."

@kav2k I removed the mention in the other issue.

I'll just point out that PyCharm, atom, and sublime already have this. Most language packages for VSCode also have it. So this is really an outlier in terms of missing functionality.
Thanks!

PS: since I cant comment on #313...
It advises:
"python.linting.lintOnSave": true,
"files.autoSave": true

As far as I can tell "files.autoSave": true is not actually an expected state for this option. I may be wrong but when I look at this, the options provide are:
 // Controls auto save of dirty files. Accepted values:
'off',
'afterDelay',
'onFocusChange' (editor loses focus),
'onWindowChange' (window loses focus). If set to 'afterDelay', you can configure the delay in 'files.autoSaveDelay'.

This is kind of crazy to me. I have to have my file write to disk every second in order to get linting while I write?
I will echo @malmaud  on pointing out that this doesn't seem to be a "luxury" setting for most other languages/editors. It was quite surprising to me when I encountered this in this extension.
However, please don't misunderstand my tone: I am VERY thankful for your work so far and would like to point out that having python so well supported for the most part in VS Code was what allowed me to finally leave Atom. It have for the MOST part been a spectacular change.
So thanks.

This will be done via integration of Python analysis engine from Visual Studio.  You can track the project here https://github.com/Microsoft/vscode-python/projects/7#card-8034268

@MikhailArkhipov, any news on this?

The effort I believe is tracked in https://github.com/Microsoft/vscode-python/projects/7 but it seems that while the development proceeds at a steady pace, new issues appear at the same rate. I wonder whether there already is a somehow-working prototype?

Just wanted to add my encouragement for this feature. Was thinking about switching to VS Code after an impressive demo from a buddy, but not being able to live-lint Python is a blocker for me. Best wishes to you all working on this.

@dannysanchez you might want to try out the new language server, it has support for live linting.
Add the setting python.jediEnabled: false in settings.json

@DonJayamanne How soon are you planing to release the new server? I'd like to try, but I'd prefer to wait for the official release instead of trying betas.

Do you still plan to implement this? From what I've seen, currently only option is to use Microsoft Python Language Server with its own linter as it is the only thing that allows you to lint the buffer on change. Problem is that this doesn't allow you to use any external linters like mypy or flake8 so its use is very limited in comparison to other editors like Atom, PyCharm, Sublime Text.

Please implement this, for those of us using some external linter like flake8 or others it is impossible to do so in vsc and therefore hurts our project that use these types of formatting

Please upvote the issue as individual comments requesting the feature won't be noticed (we sort by upvotes to help plan new feature work).
And we have not made a decision about this (hence the "needs decision" label).

Glad to see this reopened!

(we sort by upvotes to help plan new feature work).

Out of curiosity, how do you do that?

@marnovo You have sort in issue list

Wouldn't it make more sense to use mypy daemon (see #1577) for this? It is much faster -- it provides few 100 ms update time even for very large projects.

Mypy isn't only linter that should be supported though.

Is there any update on this?

@boojum no update to speak of. We do our dev and spec work in the open so when there's something to update it will be on this issue.

Almost 3 years since issue creation & yet voting is going on! What is this? A feature for the next president ? 🤣

"python.jediEnabled": false now gives a warning "Unknown Configuration Setting," is that workaround no longer functional?

"python.jediEnabled": false now gives a warning "Unknown Configuration Setting," is that workaround no longer functional?

@jonahpearl that setting was dropped months ago; to turn off auto-complete you want "python.languageServer": "none" (I believe; doing this from memory).

@jonahpearl that setting was dropped months ago; to turn off auto-complete you want "python.languageServer": "none" (I believe; doing this from memory).

It is  "python.languageServer": "None" if you wish to turn off IntelliSense, but if you wish to use a language server that provides live linting, you can try our new and more performant language server called Pylance. If you're interested in trying it out, you can download it from the marketplace and set "python.languageServer": "Pylance"  instead 😊

It is  "python.languageServer": "None" if you wish to turn off IntelliSense, but if you wish to use a language server that provides live linting, you can try our new and more performant language server called Pylance. If you're interested in trying it out, you can download it from the marketplace and set "python.languageServer": "Pylance"  instead 😊

I guess the lint on text change should be default like TS files. I hope vs-code provides the same for python. I mean developer won't turn on autoSave if he/she wants full control over his/her file.
With linters like mypy this is a real deal-breaker.
Some Thoughts:

TS is getting more popular due to its runtime error checking and other awesome features - Thanks to text change linting
FastAPI like python web framework also enforces using pydantic and typing. - Missing text change linting
We can't get most out of mypy linter - Missing text change linting
If other languages have it why not python?
autoSave is fine but what about those who don't want autosave and want full control over saving files(manually - I guess most people prefer ctrl + s rather than autosave).

Since I moved from Sublime this is the first point I disappointed from vs-code. I hope this gets implemented in vs-code because if you are not getting linting while you are doing static typing, static typing doesn't matter I guess.
Regards.

@fusion-a yes, if you wanted to write your own extension to implement something because we are not moving fast enough then you certainly can; we have no special access to APIs or anything, so anything we can do anyone can do.

Is there any extension that implements this? This is a very basic functionality that is missing

@Gabriel-p I'm personally not aware of any, but we have started researching this ourselves. It very well might mean we end up with separate extensions for each linter, though.

Hi everyone, any news since September? Did anyone find another extension for this?
I've just decided to leave Atom for VScode, and what I've seen until now is just great. But this is a dealbreaker, it is just too important for me. If anyone else went through this I'm all ears for advice/hindsight

Our first linter extension got announced as part of the VS Code 1.66 release: https://github.com/microsoft/vscode-pylint . If performance holds up we can consider adding this feature there. You can also turn on auto-save and that will also trigger the linter more-or-less as you type.

I'm still pretty new at all of this stuff, but I didn't see mention here yet: cornflakes, the flake8 plugin, does have lintOnType, and might be a useful reference.

@NireBryce are you talking about https://marketplace.visualstudio.com/items?itemName=kevinglasson.cornflakes-linter ?

yep -- cornflakes' lint-on-type works and has for at least a year.  I don't know how it performs on larger projects, but right now it's a pretty imperceptible delay

I encourage folks to check out https://github.com/microsoft/vscode-python/issues/408#issuecomment-1092077148 and see if it works for them.

Linting on change has be added to pylint: https://marketplace.visualstudio.com/items?itemName=ms-python.pylint , see readme for setting to enable this.
Ruff linter (which has pylint, flake8, bandit, pycodestyle, pydocstyle rules) also supports this: https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff
See https://github.com/astral-sh/ruff-lsp/issues/280 for setting to enable it.


awk illegal statements

Issue
the wait_ns script is throwing some exceptions related with the awk command
awk: syntax error at source line 1
 context is
	{ if ((match($2, >>>  /^([0-9]+)\/([0-9]+)$/, <<<
awk: illegal statement at source line 1

Environment
System Version: macOS 10.15 (19A546d)
Kernel Version: Darwin 19.0.0

which awk version do you have in macos?

awk --version
awk version 20070501

the issue is related to the fact that macos uses BSD awk and the script was designed for GNU awk.


keyvi binary not compiled for m1 mac

Ok, so now I'm trying to get keyvi working on my m1 mac.
It pip installs fine, but as soon as I try to import it, I get the following:
Traceback (most recent call last):
  File "[redacted]", line 2, in <module>
    import keyvi.compiler
  File "/Users/ysaxon/.pyenv/versions/3.9.10/lib/python3.9/site-packages/keyvi/__init__.py", line 23, in <module>
    from keyvi._core import MatchIterator, Match, loading_strategy_types
ImportError: dlopen(/Users/ysaxon/.pyenv/versions/3.9.10/lib/python3.9/site-packages/keyvi/_core.cpython-39-darwin.so, 0x0002): tried: '/Users/ysaxon/.pyenv/versions/3.9.10/lib/python3.9/site-packages/keyvi/_core.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/_core.cpython-39-darwin.so' (no such file), '/usr/lib/_core.cpython-39-darwin.so' (no such file)

The key line in there seems to be the following
_core.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
I'm working on compiling the core library myself right now, so if you don't have access to an M1 mac, let me know if there's anything special I should do to build a .so that you could include in the pip repo.

We don't have M1 support at the moment. It seems to me that pip should not install the x86_64 pre-compiled package on M1.
I don't have access to an M1 machine, maybe @narekgharibyan can help.
We also lack packages for arm on Linux, but I can say it works. Note that keyvi has some special optimizations (intrinsics) for x86_64, for arm it has to fallback to a slower default implementation. With other words, there is room for improvement on arm.
Please continue sharing your findings, it is much appreciated.

I have got my M1 just a few days ago, but had no chance to look into building m1 wheels yet.
I'll be mostly offline upcoming days, but am planning on looking into that after am back online.

ok, so this took me a while to figure out, but I think I got it compiled properly
the key was removing lines 328-329 in setup.py https://github.com/KeyviDev/keyvi/blob/d45ba3552873a705d24b692ca940c5e8dce540da/python/setup.py#L328
after I did this on a fresh git clone and ran python setup.py build, it returned an error ld: unknown option: -Bstatic, but when I copy pasted the clang++ command and manually removed the -Wl,-Bstatic (and then after it complained again) the -Wl,-Bdynamic, it compiled fine, and then I was able to setup.py build and setup.py install
There's probably a way to stop those dynamic and static flags in cmake somewhere (do a search for "Darwin"), but I didn't bother figuring that out.
Anyway it seems to be working I think.. time will tell..
If I can be of any further help, please let me know.

@YSaxon earlier today keyvi v0.5.4 was release.
It comes with pre-build binary wheels for M1 chip, as well as fixed source distribution.
You can see those available on: https://pypi.org/project/keyvi/0.5.4/#files
I'll be closing this issue, please let us know if you encounter any further issues.


Hacktoberfest 2022 rules

👋 We would like to welcome all the Hacktoberfest 2022 participants.
🛫 First steps

Read code of conduct.
Read contributing guidelines.
Setup your dev environment.

👉 Picking issues

Prefer starting with issues labeled as good first issue.
Always comment on the issue first to check if it's available. If it is, it will be assigned to you, and you are given 4 days to complete it. If the deadline is not met, the issue is free to be taken by somebody else. This way we want to avoid multiple people working on the same issue.
If you feel like you can also contribute more complex bug fixes/features please do not hesitate and comment on the issue you have chosen. More complex issues have no deadline.

🔬Data science contributions
This repo is primarily focused on software developers. However, if you are more of an AI person, do not worry. There are ways for you to contribute as well:

Enhance our existing docs - if you find parts that are confusing or they are missing something important, please file an issue first where we can discuss if it's appropriate and then you are good to go.
Create your own interesting Wave app and add it to our public showcase repo.

🔥 The best contributions
The high-quality contributions (beyond good first issue) will be rewarded in form of an interview for the full-time role in H2O Wave team! The best thing? Your contributions count as a technical part of the interview so the interview will consist of talking about yourself, past experience, and behavioral questions.
🆘 Asking for help
If you run into any problems, be it a dev setup or anything Wave-related, please reach out at our Discord server.

Is this issue open? Can I take up this issue? If yes can you please assign this to me?

Hi @ajjayymahato this is just an information issue and cannot be taken.

Closing as this year's Hacktoberfest has come to an end. Thanks for participating, everyone!


Missing PubSubClient.h

Hey there,
thanks for the project. When compiling i get the error message:
Missing PubSubClient.h.
Also it is not listetd in your Code directory
Regards
Felix

Sorry, starting out in Arduino - didnt realize i have to install libraries first.


podMonitorSelector alone does not work

What happened?
When using a Prometheus that only has a podMonitorSelector: {} but not a serviceMonitorSelector: {}, the pod monitor is never synced.
When starting this way, no targets appear in Prometheus. Since these are the only ones in the namespace, the secret/prometheus-prometheus entry prometheus.yaml.gz remains an empty string.
Adding a dummy serviceMonitorSelector: {} fixes this, even though there are no service monitors anywhere in the cluster.
Conversely, when updating the Prometheus to remove the serviceMonitorSelector, updates to the podMonitor are no longer reflected in Prometheus.
Did you expect to see something different?
It should be possible to use only PodMonitor.
How to reproduce it (as minimally and precisely as possible):
Apply the following manifests (or a variation on them) plus a deployment/pods with matching labels.
rocket-podmonitor.yaml.gz
rocket-prometheus.yaml.gz
Observe that kubectl get -n rocket secret/prometheus-prometheus -o yaml is empty and the timestamp is from before submitting the podmonitor:
secret.yaml
apiVersion: v1
data:
  prometheus.yaml.gz: ""
kind: Secret
metadata:
  annotations:
    empty: "true"
  creationTimestamp: "2020-04-24T08:25:06Z"
  labels:
    managed-by: prometheus-operator
  name: prometheus-prometheus
  namespace: rocket
  ownerReferences:
  - apiVersion: monitoring.coreos.com/v1
    blockOwnerDeletion: true
    controller: true
    kind: Prometheus
    name: prometheus
    uid: 0e359730-10f3-405d-b4fd-5528cc8c1bde
  resourceVersion: "69659848"
  selfLink: /api/v1/namespaces/rocket/secrets/prometheus-prometheus
  uid: a8de2009-0c40-4c89-9a8c-3f273cb8f4fb
type: Opaque

Delete the podmonitor. Update the Prometheus object to add serviceMonitorSelector: {}. Add the podmonitor. Observe that the secret now contains information, and the debug log output is much more comprehensive.
Now the secret changes and targets appear.
To test the other way around, modify the Prometheus to remove the serviceMonitorSelector. Delete the PodMonitor. Observe that the secret does not change, and the targets are still being targetted.

Adding a service monitor selector is a viable workaround for me.

This is unfortunately due to some historic legacy. I personally think we should actually remove this, since we have the additionalScrapeConfigs feature. (this used to be intentional to allow the user to manage the prometheus config themselves if service monitor selectors were unspecified, the additionalScrapeConfigs feature turned out to be the better choice though)
If you want to do a PR to fix this, I'd be happy to move forward with it.

Hmm, that sounds like it would be a breaking change for someone. I think I
can see how to extend the existing logic to be "if service and pod monitors
were unspecified", what do you think about doing that first, and then
tackling the legacy-cleanup separately?
On Fri, Apr 24, 2020 at 5:17 PM Frederic Branczyk<EMAIL_ADDRESS>wrote:

This is unfortunately due to some historic legacy. I personally think we
should actually remove this, since we have the additionalScrapeConfigs
feature. (this used to be intentional to allow the user to manage the
prometheus config themselves if service monitor selectors were unspecified,
the additionalScrapeConfigs feature turned out to be the better choice
though)
If you want to do a PR to fix this, I'd be happy to move forward with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/coreos/prometheus-operator/issues/3164#issuecomment-619141311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABAEBRFU723YSAQCUT2QKLROHCR7ANCNFSM4MP44VEA
.

That sounds good to me! Maybe we can specifically call this out in field descriptions that this behavior will be dropped in the future and we do so in a couple of releases?


Added links to EDOG reports

@savvinsergey,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


fix outdated reference to serde macro location

The Serialize and Deserialize macros are no longer part of serde and have been moved to serde_derive

You are totally right. I hadn't realized that they moved derives back into serde but under a feature flag. Thank you for taking the time to review this. I'm just going to close this.


5.8 release notes

Docs Build status updates of commit 0cac543:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

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

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

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

Docs Build status updates of commit 48b201c:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 48b201c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/consume-packages/Package-Restore.md
:warning:Warning
View
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/create-packages/Sign-a-Package.md
:white_check_mark:Succeeded
View

docs/release-notes/Index.md
:white_check_mark:Succeeded
View

docs/release-notes/NuGet-5.8.md
:white_check_mark:Succeeded
View

docs/consume-packages/Package-Restore.md

Line 5, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'karann' is not a valid Microsoft alias.
Line 176, Column 1: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: /azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops

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


Can't instantiate VMTemplates when setting VM.instantiate_name to false

Description
When setting VM.instantiate_name to false, users can't instantiate VM templates.
To Reproduce
Go to the view YAML configuration file and set VM.instantiate_name to false.
Expected behavior
To be able to instantiate VMTemplates when this setting is disabled.
Details

Affected Component: Sunstone
Hypervisor: [e.g. KVM]
Version: 6.4, development

Progress Status

[ ] Code commited
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

@tinova PRs to be approved:

Code: https://github.com/OpenNebula/one-ee/pull/2059
Docs (Known issues): https://github.com/OpenNebula/docs/pull/2277
Docs (Resolved issues): https://github.com/OpenNebula/docs/pull/2278


Fix/form style

Context
Link to Notion ticket
Additional information
I didn't do the "Comments should be added for form best practices" though.
Testing (tester)
The reviewer should check on this branch:

The code
The component in Bookshop browser
The site in CloudCannon (link here)

Before merge (PR owner)

[ ] Delete the test site in CloudCannon
[ ] For "generic" components only: remove - content_blocks from structures in the YAML file (this was added for testing).

The alignment of the groups was supposed to stay the same - just the comment for the input needed changing

The alignment of the groups was supposed to stay the same - just the comment for the input needed changing

Ah. Yes. Changed the comment and changed the alignment back.

Bug: radio group - clicking labels doesn’t select the radio input - this still appears to not work? Just adding a radio button group and adding two buttons, the IDs appear to be the same? Request another look please :)

Good spotting. It is fixed. This is because in ratio button group component radio buttons list, we didn't use bookshop component.

It probably shouldn't use the subcomponent but should pass through a UUID for each input
I think the subcomponent shouldn't be used because of the group_name and required inputs

There is a typo in the input (ratio_id -> radio_id) and then this looks great other than removing the content blocks from the page 😄


Glibc 2.34 adds close_range() which conflicts with local close_range()

Required information

LXD version:  4.16

Issue description
Building LXD against glibc-2.34 fails because of conflicting close_range()
Steps to reproduce

Install glibc-2.34
Try to build lxd

Information to attach
./../../lxd/include/syscall_wrappers.h:19:19: error: static declaration of 'close_range' follows non-static declaration
static inline int close_range(unsigned int fd, unsigned int max_fd, unsigned int flags)
                  ^
/usr/include/bits/unistd_ext.h:56:12: note: previous declaration is here
extern int close_range (unsigned int __fd, unsigned int __max_fd,
           ^
1 error generated.

@brauner can you sort this one out?
Maybe there's an ifdef we can use?


Bad link name in Create User

Environment
Platform: Kubernetes
Kubernetes/Platform Version(s): k3s 1.24
NeuVector: v5.0.3
Describe the bug
Bad link name 'Show advance setting' when creating a new local user.
To Reproduce
Steps to reproduce the behavior:

In Management Console, go to Settings -> Configuration -> Users & Roles -> Add
Enter required fields
Link 'Show advance setting' in the bottom

Expected behavior
Link (or button instead) named 'Show advanced settings'
Screenshots

duplicate


Allow manifest tags to list multiple schema_uri values.

Currently, manifest tags will only allow one schema_uri per tag. For example, this forces every transform schema in asdf-transform-schemas, to perform an allOf between the new properties added by that transform and one of the transform-* schemas. What this means is that if we want to create a new transform-* schema, we have to create a new schema for every other transform. This will allow us to only need to create an updated manifest along side the new transform-* schema, which will be less prone to human error.
Note that when validating against a tag with multiple schema_uri, one assumes an allOf condition between all of the schemas referenced (meaning it must be a valid for every schema listed under the tag).

Just a few minor points, and a request: can you update the manifest schema in asdf-standard to allow the schema URI list, then after it's merged update the submodule pointer here?

See PR asdf-format/asdf-standard#291 for updates to the manifest schema to support this. Once it is merged I'll update the submodule pointer.


Nuget package does not appear to reflect the current src

Example

https://github.com/brunohbrito/Jwks.Manager/blob/master/src/Jwks.Manager/SecurityKeyWithPrivate.cs
stamped d13b29b on Feb 26
defines
	public JsonWebKey GetSecurityKey() 	{ 		return JsonConvert.DeserializeObject<JsonWebKey>(Parameters); 	}
but nuget package 3.1.1, dated Monday, February 3, 2020 (2/3/2020)
defines
	public SecurityKey GetSecurityKey();

Source code indicates Jwks.Manager.Jwks.InMemoryStore is a public class, but it does not appear in the nuget package.
Pulling the latest code, building and checking ildasm confirms.

@brunohbrito Can you check this?

It's ok now at #10


Unable to download Sileo or Zebra

Device
Iphone 8
Version
IOS 16.7.7
Passcode?

[ ] Passcode is enabled.

Start going into detail..
After successfully using Palera1n to jailbreak my phone (Rootless), Palera1n is unable to download any package manager. I have left an image of the error i recieve. The device was freshly reset before jailbreaking. i didn't setup a password or touch id. It seems to be a timeout error from your website. I do not have good download speeds as you can see at the bottom of the picture, which might be the problem. I downloaded the file manually and was unable to find a way to install from my computer.

Familiarity with palera1n

[ ] I am familiar with palera1n and how to use it!

Familiarity with CLI

[X] I am familiar with the command-line!

Right after posting this, I turned off my Mac that it was still plugged into and unplugged it. Then my download speed went up to 3mb/s and I successfully downloaded and installed. I would like to recommend the removal of a timeout function if possible.

Theres no timeout function, this is using native ios download api's for downloading.


After RN migration from .55.4 to .57.5 I'm not able to return all the cookies

I have the same issue after migrate from .55.4 to .56 and .57.5 react-native-cookies third part library does not return all my cookies, I guess it has something to do with WKWebView implementation, even when I created a module to work with objective C and part of react-native-cookies code to get all the cookies and I had  different result for .55.4 and .57.5
This is how it looks using objective C and the debugger, I got 26 keys in comparison of just 7 keys.

Any update?

Is this library still working ? I doubt

I found a combination  where is working,
"react-native-cookies": "^3.3.0",
"react": "^16.5.2",
"react-native": "^0.57.2",
and we had to add credentials: "include" in every fetch call
Example
fetch(url, {
method: "GET",
credentials: "include"
})

I have forked the repo here: https://github.com/safaiyeh/react-native-cookie-store
We can create issues and PRs there to continue the development of the project.


Learn section needs react-router scroll management

Tips and Hints doesn't scroll to the top of the page when you click on one of the tips. The Learn section just needs the scroll management implemented for the Teach and Outreach sections.

Moved to LLK/scratchjr-website#113


FI-928: Integrate generation with validator

This branch integrates the generic generator with the validator service. When Inferno starts up, the resources for any module created via the generic will be posted to the validator service so that it can validate resources. This only works for the contents of an IG package containing the corresponding package.json. If no package.json is present, the resources are not uploaded to the validator.
This functionality depends on https://github.com/inferno-community/fhir-validator-wrapper/pull/16 and https://github.com/inferno-community/fhir-validator-wrapper/pull/18
Loading inferno's modules has been moved from Inferno::Module to a new Inferno::StartupTasks. Loading modules now may involve making a POST to an external service, so this change makes it so that you won't make external HTTP requests just by requiring lib/app/models/module.rb.
Submitter:

[x] This pull request describes why these changes were made
[x] Internal ticket links to this PR
[x] Internal ticket is properly labeled (Community/Program)
[x] Internal ticket has a justification for its Community/Program label
[x] Code diff has been reviewed for extraneous/missing code
[ ] Tests are included and test edge cases
[x] Tests/code quality metrics have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure
where appropriate, and accomplishes the task's purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure
where appropriate, and accomplishes the task's purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

I think it'd be worth updating the docker-compose.yml to use the updated image
i.e.
  validator_service:
    image: infernocommunity/fhir-validator-wrapper

can be changed to
  validator_service:
    image: infernocommunity/fhir-validator-service


Remove the top left search field?

I've tried removing sphinx_pdj_theme/search.html and sphinx_pdj_theme/searchbox.html but further than that seems difficult - is there an easy way to remove?

Hi. I just released sphinx-pdj-theme==0.4.0 and now you can remove the search using a theme option in your conf.py
html_theme_options = {
    'search': 'hide'
}


Getting started guide results in a public S3 bucket

Describe the bug
Running through the getting started guide results in an S3 bucket being created for hosting the website. The bucket has public read permissions and so falls short of I'm sure many folks security controls.
To Reproduce
Steps to reproduce the behavior:

Deploy hosting using the Amplify CLI

Expected behavior
Provide a very clear warning during the hosting deployment that Amplify will create a public bucket

Yup. I got the same thing.
Provide the information in the documentation around a Public bucket as well as in the CLI before the action is committed.

To be more specific, I don't think this is purely a documentation fix. When you run "amplify add hosting" and choose "PROD" to provision S3 + Cloudfront, it's provisioning a publicly accessible bucket and a Cloudfront distribution, where it should be provisioning a Cloudfront distribution with OAI(origin access identity) setup for the S3 bucket along with a S3 bucket policy that only allows access from the Cloudfront Distribution.

@wagneraw You’re correct. Which version of the CLI are you currently using? We merged this PR -> https://github.com/aws-amplify/amplify-cli/pull/236 a couple of days back and it is a part of the latest CLI version.

I'm on 0.1.28, which I thought was the latest?
amplify-js-app/ $ amplify --version
0.1.28

@wagneraw Just checked our version control and saw that the PR got merged and is in an alpha npm branch. We'll publish it to a stable version to NPM in the next couple of days.


⚠ Bofrost.be has degraded performance

In 2438afe, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1391 ms

Resolved: Bofrost.be performance has improved in 13de3ed after 13 minutes.


Dependencies issue

Thanks a lot for the great work!
I just had an issue with installing the requirements, could you please provide more info on the python version, cuda version, and maybe a more generic requirements file?
Thanks again!
Kind regards,
Yahya

Thank you for your positive feedback on our work. I reattempted the environment setup and found some conflicts between packages. I have updated the README.md and requirements.txt with a feasible environment installation guide.
- conda create -n diffeic python=3.8
- conda activate diffeic
- pip install torch==2.0.1
- pip install tb-nightly --index-url https://pypi.org/simple
- pip install -r requirements.txt

I hope this can help you! 😊
Kind regards,
Zhiyuan Li

Thank you for your positive feedback on our work. I reattempted the environment setup and found some conflicts between packages. I have updated the README.md and requirements.txt with a feasible environment installation guide.
- conda create -n diffeic python=3.8
- conda activate diffeic
- pip install torch==2.0.1
- pip install tb-nightly --index-url https://pypi.org/simple
- pip install -r requirements.txt

I hope this can help you! 😊
Kind regards,
Zhiyuan Li

Yeah works perfectly. I just needed to change this part
  ckpt_sd.update(ckpt_lc)
  load_state_dict(model, state_dict=ckpt_sd, strict=False)

in infrence_partition.py in line 116
Thanks a lot for the amazing work.


Feature/daef 251 Autocomplete input control

This PR introduces autocomplete input control.

TODOs

[ ] fix focus on label click
[ ] sort search results alphabetically (add property for this and use true as default)
[ ] allow duplicate entries (e.g. multiple selections of the same word)
[ ] limit number of visible results (add property for this and use 10 as default)
[ ] clear search after item selection (on mouse click in the suggestion list)
[ ] missing dropdown arrow
[x] improve styling [Nikola]

Reviewing this now...

Me too 😉

@tomothespian new component works great!
I have just fixed some minor styling issues and also added few todo-s which I think should be fixed ;)

@tomothespian @nikolaglumac what about the open TODOs in the description?

thanks @nikolaglumac 👍

No problem guys, will improve code following your suggestions and TODO's.  ;)

@DominikGuzei  fixes and improvements are done ;)

@tomothespian INVALID_CHARS a constant now but I think we also need to receive this via prop. This is proably the first thing that will be customised. A default value can be the value of the constant.
Can we also update the readme with this component? And others which are missing there.

Reviewing again now …

Great work @tomothespian, all mentioned problems have been fixed and i will merge now!


Make FixtureStore faster

Signed-off-by: Breezewish<EMAIL_ADDRESS>
What have you changed? (mandatory)
FixtureStore is used to do layered benchmarks.
Because of lacking GATs, we have to clone the data when creating a FixtureStoreScanner, which is pretty slow and have notable impact when it is used in benchmarks.
By using Arc & OwningRef, we can cut down the cost of scanning to as small as an atomic operation (from Arc).
What are the type of the changes? (mandatory)

Improvement (change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
Existing unit test
Refer to a related PR or issue link (optional)
https://github.com/tikv/tikv/issues/4339
Benchmark result if necessary (optional)
Before:
test storage::txn::store::benches::bench_fixture_batch_get                                             ... bench:      10,704 ns/iter (+/- 881)
test storage::txn::store::benches::bench_fixture_get                                                   ... bench:          89 ns/iter (+/- 4)
test storage::txn::store::benches::bench_fixture_scanner                                               ... bench:     409,364 ns/iter (+/- 34,665)
test storage::txn::store::benches::bench_fixture_scanner_next                                          ... bench:     405,722 ns/iter (+/- 19,554)
test storage::txn::store::benches::bench_fixture_scanner_scan                                          ... bench:     488,177 ns/iter (+/- 18,124)

After:
test storage::txn::store::benches::bench_fixture_batch_get                                             ... bench:      10,738 ns/iter (+/- 539)
test storage::txn::store::benches::bench_fixture_get                                                   ... bench:          88 ns/iter (+/- 7)
test storage::txn::store::benches::bench_fixture_scanner                                               ... bench:          64 ns/iter (+/- 4)
test storage::txn::store::benches::bench_fixture_scanner_next                                          ... bench:      79,791 ns/iter (+/- 3,434)
test storage::txn::store::benches::bench_fixture_scanner_scan                                          ... bench:     202,982 ns/iter (+/- 11,703)

@kennytm Thanks a lot for the suggestion. I do not have a strong opinion about which is better because I think they are similar solutions and owning_ref is my first trial and looks like it is good enough.

/test

/test

For the curious, my attempt at doing this with explicit lifetimes and without owning-ref: https://gist.github.com/nrc/2d874f115386dbca24243216360bb3bb (Note that this doesn't quite compile)

Looks like even with the help of owning_handle, we cannot reach to an agreement of whether or not the code is safe. So I decided to simply remove the 3rd-party library and implement the core idea manually so that people don't need to know anything about the safety guarantee provided by the library.
The core idea is simple:

Use Arc<> to ensure that the underlying data remains live (not deconstructed) as long as FixtureStoreScanner is live.
Use mem::transmute to overcome (fake) the difficulty of expressing the life time of the Range object. Note that the lifetime is faked. It is not truly a 'static lifetime.

How about FixtureStoreScanner is being moved? Nothing wrong will happen, since our data is placed behind a Arc<> pointer, so the moving of FixtureStoreScanner is safe.

@kennytm @brson @nrc PTAL at the new solution. Thanks!

/run-integration-tests

@kennytm I guess brian and nrc might not trust rental as well, considering that they have not used these before :) Rental's internal is even more complex and it isn't as simple as "obviously correct".

@nrc @brson @Hoverbear @BusyJay PTAL again, thanks! The change made recently is to move FixtureStore to a standalone file, so that attempts to access its inner field can be restricted to the fixture_store.rs file itself, which should be safer and clear the air for @nrc


Create: 1898-maximum-number-of-removable-characters.java

File(s) Modified: 1898-maximum-number-of-removable-characters.java
Language(s) Used: java
Submission URL: _https://leetcode.com/problems/maximum-number-of-removable-characters/submissions/1199985385/_

Could you please review this ? @sujal-goswami


System unavailable: build-siteox-solaris10u11-sparcv9-1

No longer able to have builds scheduled on it - does not appear to be contactable by jenkins.

Please put the system name in the title of this issue.

Link to any log file showing the problem: https://ci.adoptopenjdk.net/computer/build-siteox-solaris10u11-sparcv9-1/log

Please describe the issue:

@gdams Can you take a look at this please - not sure I have access to any portal on this one to see what might be wrong.

TCK one is also down :'(

Raised with Eclipse at https://bugs.eclipse.org/bugs/show_bug.cgi?id=574828 - @mbarbero attempted a reboot of one of them through the siteox console but it did not come back.

I think we're done here.

Yep


nk3: Use custom error types

Use custom error types instead of raising Exception or ValueError in pynitrokey.nk3.

First steps towards this direction in 729b1d5f70418c6cf3941e42809f7ba39315bbcd.

My approach would be: ValueErrors are fine in the library part.  Exception should be replaced with something more specific.  The CLI part should mostly use CliException.


AttributeError:'VectorizeFilter' object has no attribute 'filter_n'

(First, please check https://github.com/openai/universe/wiki/Solutions-to-common-problems for solutions to many common problems)
Actual behavior
When I attempt to run train.py the two agent threads both produce the titled attribute error.
Looking in the /universe/universe/vectorized/vectorize_filter.py file, I see filter_n is defined in the _configure function. If I place self._configure() in init the problem goes away. This is the first time I've looked at the code though so I don't know if this is the correct solution.
Versions
Linux Wintermute 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.6
universe  0.20.2
tensorflow 0.12.1
numpy 1.11.1
go-vncdriver 0.4.19
Pillow 2.3.0

Updating universe will solve this problem. ie, pip install --upgrade universe


 Is the scan command able to recover in the end, or does the top-level scan command also fail? If so, with which message exactly?

the last version, I just clone the master branch with command "git clone https://github.com/oss-review-toolkit/ort.git". and build it. then use the ./ort scan command.
no, the top-level scan command not fail. no message print.
if it is not a problem , I try to rerun again and wait how the the top-level scan command response. thank you

finaly the main thread show show work, so i think this is not a problem
please please close this ticket


Document experimental component life cycle & process

Need a process to triage experimental components
Life cycle of experimental components

Enter experimental (based on reuse)
Once a year, set reminder to look at it again
Triage based on criteria --> if good, promote to core; if not good, deprecate

To Do

create a boxnote and add to team operation folder
maybe wiki if public is ok

Started. To be improved:
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/wiki/Experimental-component-life-cycle-[WIP]


[Tracking] Check that opEquals and toHash are both defined or neither are defined

greeenify reported this on 2017-02-20T13:09:41Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=17206
CC List

jack (@JackStouffer)
n8sh.secondary
schveiguy (@schveiguy)

Description
There's a Dscanner check for this:

std/range/package.d(5748:12)[warn]: 'Cyclic' has method 'opEquals', but not 'toHash'.
std/internal/test/dummyrange.d(363:8)[warn]: 'TestFoo' has method 'opEquals', but not 'toHash'.
std/random.d(251:8)[warn]: 'LinearCongruentialEngine' has method 'opEquals', but not 'toHash'.
std/random.d(995:8)[warn]: 'XorshiftEngine' has method 'opEquals', but not 'toHash'.
std/datetime.d(9240:8)[warn]: 'Date' has method 'opCmp', but not 'opEquals'.
std/datetime.d(13548:8)[warn]: 'TimeOfDay' has method 'opCmp', but not 'opEquals'.
std/datetime.d(14822:8)[warn]: 'DateTime' has method 'opCmp', but not 'opEquals'.
std/datetime.d(31723:14)[warn]: 'StopWatch' has method 'opEquals', but not 'toHash'.
std/complex.d(99:8)[warn]: 'Complex' has method 'opEquals', but not 'toHash'.
std/array.d(162:12)[warn]: 'Foo' has method 'opEquals', but not 'toHash'.
std/functional.d(466:12)[warn]: 'Foo' has method 'opEquals', but not 'toHash'.
std/container/rbtree.d(738:13)[warn]: 'RedBlackTree' has method 'opEquals', but not 'toHash'.
std/container/array.d(249:8)[warn]: 'Array' has method 'opEquals', but not 'toHash'.
std/container/dlist.d(170:8)[warn]: 'DList' has method 'opEquals', but not 'toHash'.
std/container/slist.d(54:8)[warn]: 'SList' has method 'opEquals', but not 'toHash'.
std/numeric.d(149:8)[warn]: 'CustomFloat' has method 'opCmp', but not 'opEquals'.
std/json.d(101:8)[warn]: 'JSONValue' has method 'opEquals', but not 'toHash'.
std/socket.d(1486:7)[warn]: 'InternetAddress' has method 'opEquals', but not 'toHash'.
std/algorithm/searching.d(3235:19)[warn]: 'S2' has method 'opEquals', but not 'toHash'.
std/uni.d(1205:8)[warn]: 'PackedArrayViewImpl' has method 'opEquals', but not 'toHash'.
std/uni.d(1361:16)[warn]: 'SliceOverIndexed' has method 'opEquals', but not 'toHash'.
std/uni.d(1899:15)[warn]: 'CodepointInterval' has method 'opEquals', but not 'toHash'.
std/uni.d(3095:8)[warn]: 'CowArray' has method 'opEquals', but not 'toHash'.

schveiguy (@schveiguy) commented on 2018-07-03T11:49:46Z
(In reply to Steven Schveighoffer from comment #3)

>     bool[S1!true] aa2;
>     aa2[S1!true("hello".idup)] = true;
>     aa2[S1!true("hello".idup)] = true;
>     assert(aa2.length == 1); // fails
> }

The assert isn't telling the right story, really it should be that none of the keys are equal to each other. This is a better example:

auto s1 = S1!true("hello".idup);
auto s2 = S1!true("hello".idup);
assert(s1 == s2)
aa2[s1] = true;
aa2[s2] = true;
assert(aa2.length == 1);

n8sh.secondary commented on 2018-07-02T19:11:17Z
Half of this is wrong.  For a type to be usable as a key in an associative array it must be true that "a == b" implies "a.toHash() == b.toHash()", so when there is a non-default `==` there should also be a custom `toHash` to maintain this property. But the reverse is not true: defining a non-default `toHash` does not require a custom `opEquals`, because the default `==` is already the strictest possible condition that satisfies "a == a" (since structs can be relocated).

jack (@JackStouffer) commented on 2018-03-28T13:08:50Z
I'm turning this into a tracking issue.

schveiguy (@schveiguy) commented on 2018-07-03T11:46:01Z
No, toHash doesn't necessarily have to follow the semantics of default opEquals.

Example:

struct S1(bool customTohash)
{
    string s;
    static if(customTohash)
    {
        size_t toHash() const
        {
            return cast(size_t)s.ptr + s.length; // use string identity
        }

        /+ really should define this
        bool opEquals(const(S1) other) const { return other.s is s; }
        +/
    }
}

void main()
{
    bool[S1!false] aa1;
    aa1[S1!false("hello".idup)] = true;
    aa1[S1!false("hello".idup)] = true;
    assert(aa1.length == 1);

    bool[S1!true] aa2;
    aa2[S1!true("hello".idup)] = true;
    aa2[S1!true("hello".idup)] = true;
    assert(aa2.length == 1); // fails
}


"Unable to initialize operation" error in Generally available new designer

Describe the Bug with repro steps
I have recently done the migration of logic apps to new subscription and created new connections and configured the same (using new designer) . Then deleted old connections.
Now if I open logic app in designer mode (new, generally available designer), it shows below error message ( Unable to initialize Operation) .
Snip - Using New designer

If I open same app using legacy designer, it doesn't show any error. However it doesn't list out existing available connection.
Snip - Using Legacy Designer

 - No existing connections listed
Can you help to rectify this issue as I am unable to use previously created connection and also see the warning that Legacy designer will be deprecated soon
Note- Logic app is running fine but issue with designer
What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
No
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Microsoft Edge
Additional context
No response

@PranavPatil924 Can you please share your connections json part from codeview? Also your current workflow resourceId, need to verify few things

HI Team,,
Thanks, old subscription id reference were observed in connection (id) through code view   , After replacing this with new subscription id the issue is resolved. Now I am able to see the existing connection using new designer. Closing this issue


Refactored structures module; removed reference hardcode

Description
Refactored structures module, and addressed #99 .
We were having to pass so many arguments through to most function calls, with duplicated docs and far too much wrangling needed to make a few parameters available to a deep function call.
Now, we've added configuration fields for specifying the reference structure, and these are passed along with some other high-level config items to SnapshotArtifactory. We can then call SnapshotArtifactory.generate_representative_snapshots with only input transformations, output directory, number of processors to use, and whether to overwrite.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] check for and add unit tests for StructureArtifactory.

Status

[ ] Ready to go

Codecov Report

Merging #148 (98afb3a) into master (084da4e) will decrease coverage by 0.51%.
The diff coverage is 6.43%.

@jchodera thank you!
I'll have to think on that. It's not clear to me at this time if this change gets us closer to supporting different reference structures for individual transformations. How do you envision specifying each reference for each transformation via the CLI?

I'll have to think on that. It's not clear to me at this time if this change gets us closer to supporting different reference structures for individual transformations. How do you envision specifying each reference for each transformation via the CLI?

(1) The reference structure used for alignment during dashboard analysis should be configurable in the fragalysis JSON file.
(2) The reference PDB structures used for setting up and running perses calculations will be embedded in the JSON transformations file that the dashboard consumes. The only relevant component of this is how the PDB reference topology file is selected.
I think this should be easy to fix later, provided we keep a separation between (1) and (2) as different filenames.

Working on unit tests for this feature. This and other parts of the library would benefit from a complete project and data dir, perhaps from the minimal NEQ sprint that we used for the analysis results?
The corresponding directories give about 3GiB worth of data though. Perhaps not too bad if we package it up in an another repo, perhaps fah-xchem-testdata?

@jchodera what do you think about this idea? A 3.2GiB repo, assuming Github will let me make it, won't break the choderalab org, will it?

@jchodera what do you think about this idea? A 3.2GiB repo, assuming Github will let me make it, won't break the choderalab org, will it?

This idea won't work: data elements too big. Attempted with fah-xchem-testdata but initial push failed:
$ git push origin master
Enumerating objects: 8090, done.
Counting objects: 100% (8090/8090), done.
Delta compression using up to 8 threads
Compressing objects: 100% (8035/8035), done.
remote: fatal: pack exceeds maximum allowed size
error: remote unpack failed: index-pack abnormal exit
To github.com:choderalab/fah-xchem-testdata.git
 ! [remote rejected] master -> master (failed)
error: failed to push some refs to 'github.com:choderalab/fah-xchem-testdata.git'


Unable to connect to websocketServer on esp8266

Am able to create a web socket to wss://echo.websocket.org and receive a reply but when I try connecting to a local esp8266 socket server with the following call, it doesn't work
    let socket = WebSocket("wss://<IP_ADDRESS>:80")
    print("Socket = \(socket)")
    socket.open()
    socket.send("Test")
    socket.event.open = {
        print("Socket Opened")
    }
    socket.event.close = { code, reason, clean in
        print("Socket closed")
    }
    socket.event.error = { error in
        print("Socket Error \(error)")
    }
    socket.event.message = { message in
        print("Socket message \(message)")
        if let text = message as? String {
            self.handleMessage(jsonString: text)
        }
    }
    print("Done")

OUTPUT is
Socket = <SwiftWebSocket.WebSocket: 0x1c003de80>
Done
Also set the delegate and added functions for open, close and error but they don't fire either
When I stop the app, the esp8266 reports a web socket was disconnects, but I never shows one was connected in the first place.

Apparently the esp library doesn't support wss, works with ws.


Call missing for a language key + proper fix for accentued characters

Call missing for a language key for minimum characters in short comment + proper fix for accentued characters:

update for Trader.php file

RE-Pull request of this: https://github.com/rfdy/trader/pull/15
Recommendation from this: https://github.com/phpbb-extensions/teamsecurity/pull/27#issuecomment-91123052

mistake, sorry


Create a template or architecture for integration documentation

Create a template or architecture for integration documentation so they always have the same structure. I need that for a tool who integrated us, they will write the documentation for our site that we will review before publishing, but they want to be sure it fit in our documentation properly.
I guess something like:

Introduction to the integration
Benefits
How to install/Create account
Code demo (or how to use if no or low code)
Resources

@fakela if you can prioritize this. I'm not sure if I'm clear, so we can discuss this tomorrow.

So I agree with the structure, here is a suggestion

Introduction to the integration
Benefits (why do users need to use the integration) Optionally, this can be merged with the introduction if its not long
Prerequisite(if any)
How to install/Create account (Getting Started)
Code demo (or how to use if no or low code)(add screenshots where needed)
Troubleshoot/ Error management(if any)
Resources/References

Perfect, can you add it in the documentation.md once you accept and merge this PR https://github.com/mindee/devrel/pull/233

Perfect, can you add it in the documentation.md once you accept and merge this PR #233

Sure 🚀


add ElementTetCCR and ElementTriCCR

This PR adds two new elements ElementTetCCR and ElementTriCCR useful in approximating displacement/velocity in inompressible elasticity/stokes PDEs. These allow choosing discontinuous pressure formulations offered by ElementTetDG and ElementTriDG respectively.
References:
https://www.springer.com/gp/book/9783642870491: Implementation of Finite Element Methods for Navier-Stokes Equations, Thomasset, F. (Page-79, 3.2.3)
https://link.springer.com/book/10.1007/978-3-642-61623-5: Finite Element Methods for Navier-Stokes Equations, Vivette GiraultPierre-Arnaud Raviart (Page-139, 2.2)

Can you add these new elements to the following lists:

https://github.com/kinnala/scikit-fem/blob/master/tests/test_elements.py#L51
https://github.com/kinnala/scikit-fem/blob/master/tests/test_elements.py#L183
https://github.com/kinnala/scikit-fem/blob/master/tests/test_elements.py#L239

Also, can you add something like
class ConvergenceTriCCR(ConvergenceTriP1):
    rateL2 = 2.0
    rateH1 = 1.0
    def create_basis(self, m):
        e = ElementTriCCR()
        return InteriorBasis(m, e)

to tests/test_convergence.py.

Fantastic! Thanks for the contribution.

Fantastic! Thanks for the contribution.

Thanks for considering it. It was on my list of TODOs since almost last year but couldn't find time to put it together until now. Having this element in scikit-fem should help me in my research too.


Allow empty conversation field in ChatStreamRequest

This pull request makes conversation field optional in ChatStreamRequest, and the server will automatically create new conversation if the field is absent.

Great thanks!
BTW, are you willing to be added as a collaborator to this repo?

Hi, thank you for asking me. I would love to be added as a collaborator to this repo. It would make it faster for me to add new features to webapi.

OK thanks. I have sent you the invitation.


Link in the "Ask for Help" modal has its underline overlapping the text

Describe the Issue
The "Read-Search-Ask" link in the "Ask for Help" modal is too close to the text on the next line and even overlaps the text on some browsers.

Chrome
Firefox and Safari

Affected Page
Any challenge with the "Get Help" button.
Here is one: https://www.freecodecamp.org/learn/front-end-development-libraries/bootstrap/use-responsive-design-with-bootstrap-fluid-containers.
Steps to Reproduce

Go to https://www.freecodecamp.org/learn/front-end-development-libraries/bootstrap/use-responsive-design-with-bootstrap-fluid-containers
Click on "Get Help"
Click on "Ask for Help"
See how the link is displayed

Expected behavior
The underline of the link shouldn't overlap the text.
System

Device: Laptop
OS: MacOS
Browser:

Chrome 118
Firefox 120
Safari 17

Successfully reproduced on MacOS and browser Firefox 119:

Does the bug fixed..?


Make sure autoArrayType is unique, even if no lib is available

make sure that the type we use for autoArrayType is unique even if no global Array type was provided
Fixes #20333

@sandersn can i get a CR for this one?


Sidero repo rename

Don't forget to change your renovate config to catch the repo rename.
https://github.com/bjw-s/home-ops/blob/6cd9d8244d0b185dc42e0987a2f4fcbaa2c7f135/.github/renovate.json5#L161

Oh, good call! Thanks for pointing that out!


Returns "is already a list member" when email address isn't on the list

So this is working great, except when I try to sign up a new member using post(), if they have ever been a member of the list, it returns the error "Member Exists [status] => 400 [detail] => is already a list member". This is the case if the email address has been deleted and the member can no longer be seen or found on the list anywhere.
It's a bit of a weird one, that might be the desired behaviour for all I know. But then I'm not sure how to proceed.
It said I should use PUT instead, which then returns "Method Not Allowed. The requested method and resource are not compatible."
I'm sure it's probably obvious but I have literally not even the slightest idea how to proceed from here. Can you give me an example of how the PUT syntax would look? I assume that is what is at the root of the Method Not Allowed error.

This isn't anything this library is doing - that response is direct from MailChimp.

Surely if I'm going to use PUT that relates to the library still, though?

it's one of the numerous MailChimp API bugs
Tell their support.

Ah OK thanks. I thought if I contacted them they'd be like "You're using a third party wrapper, don't tell us about it." :P

Turns out the issue was actually that I was trying to use PUT without hashing the email address. You must hash to use PUT. I don't know if you therefore want to delete this thread or leave in case of future reference for others.

I am having this same issue, though I am not using this lib. I have an email address that used to be a member of my contacts, and that I have deleted. I am trying to do a POST to the API, and am having the same scenario as the OP. So is that specific issue still a problem with the API itself?
Is the solution to just always MD5 the email address I want to add as a contact and PUT every time I want to add a new Member? Will that even work?

In case anyone has still this issue, I was able to solve mine by coverting th emails to lower case before hashing them. https://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/#edit-put_lists_list_id_members_subscriber_hash


Cache common values of Task

null
true|false
cancelled

resolves #82

Depends on #84

@nlutsenko updated

Looks great!
Offtopic: Forgive me my lack of Java knowledge - what does generic type ? mean?

? are wildcard generics. Usage-wise Task<?> is the same as Task, but it explicitly shows that you're purposely allowing any generic type as opposed to it being a mistake.


BUG: Multiple same values can't be edited together.

If there are multiple values that are the same, batch styler cleverly assigns them only one number.
Except you can't change it.
create 3 styles with the following font sizes:
h1: 30px
h2: 25px
h3: 25px
If you select all 3, Batch Styler will give you: 30, 25
Try changing any of the numbers, nothing will happen.
Thanks

Hey @highvoltaged
Batch styler will either select all styles to that one value that you provided, or, if the amount of styles that you entered matches the length of your selected styles, will update each one with its own values.
Try entering 30, 25, 15 (or, to keep 2 the same: 30, 25, 25 while selecting all 3 styles. I hope that fixes it for you 🙏

Ah OK, then i misunderstood how it should work.
You should still consider implementing this if not too much work.
What i would expect to happen, because Batch Styler combines those numbers, that it is possible to edit them together.
For example in this situation, h2-h4 has the same size: 45px.
http://prntscr.com/sg2jz3
Currently i cannot change any values, if there are different amount of numbers.
In this case it would be great if i could just change for example h1 60px to a diffferent number, leaving the grouped 45px the same (without entering it 3 more times.
OR: If i want to change all the 45px ones to a different number, i would just replace that one, and all the same sized ones would change.
Thanks for the clarification anyway, great plugin

Published a new version that should solve this, give it a try!


Multiple path separators in the url path causing redirect

When Traefik handles an url with multiple path separators in the url path, it creates a 301 redirect.
Example:
$ curl -i http://traefik.local:80/http://app.local
HTTP/1.1 301 Moved Permanently
Location: /http:/app.local
Date: Sat, 16 Jan 2016 17:21:16 GMT
Content-Length: 0
Content-Type: text/plain; charset=utf-8

The redirect is caused by gorilla/mux: https://github.com/gorilla/mux/issues/94
I've discovered two backend apps that no longer function as designed.

thumbor/thumbor
Capgemini/mesos-ui

Like the example above, both of these apps use urls with their proxy data embedded in the url path (as opposed to a query-string). For example:
http://my-app/proxy/http://another-app

While I don't personally agree with their design decisions, these apps and probably many more are unusable due to the path cleaning / redirect.

Hi @dylanmei, ouch! If I have to merge a PR with that:

@vdemeester: WDYT?

Ohhh that's kinda bad… :sweat:


Import script update: create session for perf_db import

import_db will create a session specific to the imported db.
User should now specify miopen_v + rocm_v
clean up uniqueness constraints on some tables.

@cderb  can you please update the code coverage %?

@cderb can you please update the code coverage %?

Pass on that looks like that is going to require some debugging. Not all of our pytests work with the same environment.

@alexandraBara  Please review when convenient

@cderb  The PR has conflicts


New version: WordCloud v0.5.3

Registering package: WordCloud
Repository: https://github.com/guo-yong-zhi/WordCloud
Created by: @guo-yong-zhi
Version: v0.5.3
Commit: e8730094eb4781739a35f0cb93ae1f58f64a837e
Reviewed by: @guo-yong-zhi
Reference: https://github.com/guo-yong-zhi/WordCloud/commit/e8730094eb4781739a35f0cb93ae1f58f64a837e#commitcomment-48484287

@guo-yong-zhi can you please rename the repository to WordCloud.jl?  Thanks!
[noblock]

@guo-yong-zhi also, please note that https://github.com/guo-yong-zhi/WordCloud/commit/be522ff04f52373183bb468f00f4824514f5d85a is not acceptable because "0" effectively means an infinite number of breaking versions.  That commit should be reverted.  CompatHelper should help you keeping up with compats of dependencies.
[noblock]

@guo-yong-zhi can you please rename the repository to WordCloud.jl? Thanks!
[noblock]

[noblock] I will rename it at next version. BTW, I can't find this restriction on naming guidelines or General registry README.  It's a bit confusing.
Also thank you for your suggest about CompatHelper.


subscribeTopics not working

Hello, I'm trying to implement this lib.
I have a fully working Mercure instance with Docker, I'm sure it's working because from plain JS it works fine.
Future<Mercure> initMercure() async {

mercureClient =
        Mercure(token: authMercure.jwt, hub_url: authMercure.hub_url);

    // Subscribes to topics
    mercureClient.subscribeTopics(
        topics: authMercure.topics,
        onData: (Event event) {
          print(event.data);
        },
        onError: (Object o) {
          print('onError');
        },
        onDone: () {
          print('onDone');
        });
        return mercureClient;
}

none of the callbacks are called, from chrome/web I see the stream opened successfully with 200 code.
called from:
class _MyHomePageState extends State<MyHomePage> {
  Mercure mercureClient;
  //...

  @override
  Future<void> initState() {
    super.initState();
    // ...
    initMercure();
  }

Hi @yurik94 !
We started to implement Flutter web support in August 2019 but we never released a stable version by lack of time and of need.
The theoretically working code lay down in the feature-flutterweb branch but isn't fully tested.
You can update this branch from the current master and submit a pull request if you want.
If I have some free time, I'll try to do it myself during the next weeks.