wlcore kernel module fails and wifi does not work on beaglebone green wifi

The wlcore/wl18xx kernel module fails on the beaglebone green wifi on version 2.0.0-rc5.rev1
If we revert a kernel patch, like in this PR https://github.com/resin-os/resin-beaglebone/pull/82 , then the wifi kernel module does not crash anymore.
However, even after this the wifi is not functioning correctly. Symptoms for this other problem have been described here: https://mail.gnome.org/archives/networkmanager-list/2017-March/msg00094.html

I have merged the BeagleBone Blue changes to master which includes a kernel bump and drops the problematic kernel change in the linked issue.
I have tested the wifi on the Blue and it seems to be working ok:
Mar 27 10:44:43 beaglebone systemd[1]: Starting Network Manager...
Mar 27 10:44:44 beaglebone NetworkManager[905]: <info>  [1490611484.2917] NetworkManager (version 1.4.2) is starting...
Mar 27 10:44:44 beaglebone NetworkManager[905]: <info>  [1490611484.3084] Read config: /etc/NetworkManager/NetworkManager.conf
Mar 27 10:44:44 resin NetworkManager[905]: <info>  [1490611484.6539] manager[0xfa9028]: monitoring kernel firmware directory '/lib/firmware'.
Mar 27 10:44:45 resin NetworkManager[905]: <info>  [1490611485.0774] dns-mgr[0xfb9018]: init: dns=default, rc-manager=resolvconf
Mar 27 10:44:45 resin NetworkManager[905]: <info>  [1490611485.0871] rfkill0: found WiFi radio killswitch (at /sys/devices/platform/ocp/47810000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:2/wl18xx.2.auto/ieee80211/phy0/rfkill0) (driver wl18xx_driver)
Mar 27 10:44:45 resin NetworkManager[905]: <info>  [1490611485.0908] manager[0xfa9028]: WiFi hardware radio set enabled
Mar 27 10:44:45 resin NetworkManager[905]: <info>  [1490611485.0931] manager[0xfa9028]: WWAN hardware radio set enabled
Mar 27 10:44:45 resin systemd[1]: Started Network Manager.
Mar 27 10:44:45 resin NetworkManager[905]: <info>  [1490611485.8107] settings: loaded plugin keyfile: (c) 2007 - 2015 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.3185] keyfile: new connection /etc/NetworkManager/system-connections/resin-sample (bcb05b81-52cb-3828-8088-c0f55e950375,"resin-sample")
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.8808] settings: hostname: using hostnamed
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.8834] settings: hostname changed from (none) to "resin"
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.8946] dhcp-init: Using DHCP client 'dhclient'
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9084] manager: WiFi enabled by radio killswitch; enabled by state file
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9089] manager: WWAN enabled by radio killswitch; enabled by state file
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9091] manager: Networking is enabled by state file
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9096] Loaded device plugin: NMVxlanFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9098] Loaded device plugin: NMVlanFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9100] Loaded device plugin: NMVethFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9102] Loaded device plugin: NMTunFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9104] Loaded device plugin: NMMacvlanFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9106] Loaded device plugin: NMIPTunnelFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9107] Loaded device plugin: NMInfinibandFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9109] Loaded device plugin: NMEthernetFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9112] Loaded device plugin: NMBridgeFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9114] Loaded device plugin: NMBondFactory (internal)
Mar 27 10:44:46 resin NetworkManager[905]: <info>  [1490611486.9422] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/libnm-device-plugin-wifi.so)
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.0031] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/libnm-device-plugin-wwan.so)
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.0277] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.0470] device (lo): link connected
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.0671] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/0)
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.0983] manager: (can0): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.1089] (wlan0): using nl80211 for WiFi device control
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.1142] device (wlan0): driver supports Access Point (AP) mode
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.1427] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/2)
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.1805] device (wlan0): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Mar 27 10:44:47 resin NetworkManager[905]: <info>  [1490611487.8455] device (wlan0): set-hw-addr: set MAC address to 1E:A6:04:AB:CE:42 (scanning)
Mar 27 10:44:48 resin NetworkManager[905]: <info>  [1490611488.7392] ModemManager available in the bus
Mar 27 10:44:48 resin NetworkManager[905]: <info>  [1490611488.8467] supplicant: wpa_supplicant running
Mar 27 10:44:48 resin NetworkManager[905]: <info>  [1490611488.8490] device (wlan0): supplicant interface state: init -> starting
Mar 27 10:44:48 resin NetworkManager[905]: <info>  [1490611488.9417] sup-iface[0xfb7208,wlan0]: supports 1 scan SSIDs
Mar 27 10:44:48 resin NetworkManager[905]: <info>  [1490611488.9717] device (wlan0): supplicant interface state: starting -> ready
Mar 27 10:44:48 resin NetworkManager[905]: <info>  [1490611488.9743] manager: startup complete
Mar 27 10:44:48 resin NetworkManager[905]: <info>  [1490611488.9837] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Mar 27 10:44:50 resin NetworkManager[905]: <info>  [1490611490.1738] manager: (docker0): new Bridge device (/org/freedesktop/NetworkManager/Devices/3)
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.0611] device (wlan0): supplicant interface state: ready -> inactive
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.1459] policy: auto-activating connection 'resin-sample'
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.1780] device (wlan0): Activation: starting connection 'resin-sample' (bcb05b81-52cb-3828-8088-c0f55e950375)
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.1859] device (wlan0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.1983] manager: NetworkManager state is now CONNECTING
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.2617] device (wlan0): set-hw-addr: set-cloned MAC address to DE:AD:BE:EF:00:00 (permanent)
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.8515] device (wlan0): supplicant interface state: inactive -> disabled
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.8690] device (wlan0): supplicant interface state: disabled -> inactive
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.8770] device (wlan0): state change: prepare -> config (reason 'none') [40 50 0]
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.8858] device (wlan0): Activation: (wifi) access point 'resin-sample' has security, but secrets are required.
Mar 27 10:44:53 resin NetworkManager[905]: <info>  [1490611493.8877] device (wlan0): state change: config -> need-auth (reason 'none') [50 60 0]
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0124] device (wlan0): state change: need-auth -> prepare (reason 'none') [60 40 0]
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0289] device (wlan0): state change: prepare -> config (reason 'none') [40 50 0]
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0388] device (wlan0): Activation: (wifi) connection 'resin-sample' has security, and secrets exist.  No new secrets needed.
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0413] Config: added 'ssid' value 'Tempura'
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0416] Config: added 'scan_ssid' value '1'
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0418] Config: added 'key_mgmt' value 'WPA-PSK'
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0419] Config: added 'auth_alg' value 'OPEN'
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0420] Config: added 'psk' value '<omitted>'
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.0600] sup-iface[0xfb7208,wlan0]: config: set interface ap_scan to 1
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.5164] device (wlan0): supplicant interface state: inactive -> authenticating
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.5661] device (wlan0): supplicant interface state: authenticating -> associating
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.6133] device (wlan0): supplicant interface state: associating -> 4-way handshake
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.7784] device (wlan0): supplicant interface state: 4-way handshake -> completed
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.7845] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'Tempura'.
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.7929] device (wlan0): state change: config -> ip-config (reason 'none') [50 70 0]
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.8106] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Mar 27 10:44:54 resin NetworkManager[905]: <info>  [1490611494.8403] dhcp4 (wlan0): dhclient started with pid 1188
Mar 27 10:44:55 resin dhclient[1188]: DHCPDISCOVER on wlan0 to <IP_ADDRESS> port 67 interval 3
Mar 27 10:44:56 resin dhclient[1188]: DHCPREQUEST on wlan0 to <IP_ADDRESS> port 67
Mar 27 10:44:56 resin dhclient[1188]: DHCPOFFER from <IP_ADDRESS>
Mar 27 10:44:56 resin dhclient[1188]: DHCPACK from <IP_ADDRESS>
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3429] dhcp4 (wlan0):   address <IP_ADDRESS>
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3483] dhcp4 (wlan0):   plen 24 (<IP_ADDRESS>)
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3515] dhcp4 (wlan0):   gateway <IP_ADDRESS>
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3537] dhcp4 (wlan0):   server identifier <IP_ADDRESS>
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3539] dhcp4 (wlan0):   lease time 86400
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3542] dhcp4 (wlan0):   nameserver '<IP_ADDRESS>'
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3543] dhcp4 (wlan0):   nameserver '<IP_ADDRESS>'
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.3544] dhcp4 (wlan0): state changed unknown -> bound
Mar 27 10:44:56 resin dhclient[1188]: bound to <IP_ADDRESS> -- renewal in 36601 seconds.
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.4340] device (wlan0): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.4519] device (wlan0): state change: ip-check -> secondaries (reason 'none') [80 90 0]
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.4728] device (wlan0): state change: secondaries -> activated (reason 'none') [90 100 0]
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.4785] manager: NetworkManager state is now CONNECTED_LOCAL
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.5600] manager: NetworkManager state is now CONNECTED_GLOBAL
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.5700] policy: set 'resin-sample' (wlan0) as default for IPv4 routing and DNS
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.5709] dns-mgr: Writing DNS information to /sbin/resolvconf
Mar 27 10:44:56 resin NetworkManager[905]: <info>  [1490611496.8558] device (wlan0): Activation: successful, device activated.

@imrehg reports the generic beaglebone image 2.0.0 rev4 boots and associates to the wifi on BBGW.

I still have this issue on a 2.0.0+rev2 beaglebone image


Don't limit HTML processor to certain tags

The HTML processor is currently limited to only extract text from h1 h2 h3 h4 h5 h6 p. Given a HTML page this will miss a lot of content like divs, article, list and table tags.
Would it not be better to just extract all text by passing the contents of <body> to Nokogiri, like Nokogiri::HTML(data).text

@drale2k It does depend on how you'd like to chunk the document. Like does put an Article Title into a separate chunk on its own make sense?


refactor: remove error return from solve_dependencies

As reported on issue #45, with the new pydantic version "ErrorWrapper" is not supported.
I have noticed that the return value error on "solve_dependencies" is not used, so I removed it.

I'm closing this as this is no longer needed. Please refer to our previous exchange here: https://github.com/melvinkcx/fastapi-events/issues/45#issuecomment-1675995898


Rename Name allocations from lexer

I don't expect this to make a difference in the parser, since we still perform the same allocation in the parser now rather than the lexer, but am still curious to see the benchmarks.

Good improvement in the lexer, but no change in the parser. I'd actually be curious if the parser got worse or not? The parser benchmark includes lexing right now.

It looks like parsing did get a bit slower but didn't meet our reporting threshold. So this probably isn't worth doing right now.

\cc @MichaReiser just for fun


⚠ Secret Website 3 has degraded performance

In b1cbbac, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2074 ms

Resolved: Secret Website 3 performance has improved in ea82439.


VCC-3451 Add toggleButtonIcon; remove FontAwesome dependency for the demo page

General

Introduces toggleButtonIcon, an optional (and default null) way to easily add a custom text/HTML icon within the toggle button. This could be anything from a Unicode symbol to an inline <svg>, FontAwesome markup, an <img>, etc.

Demo Page

Removes the CDN link for FontAwesome
Uses a basic CSS triangle as the default-icon when no toggleButtonIcon is provided

@Farsad Good idea! I updated this PR. I kept it more generic with toggleButtonIcon because we could support Unicode characters, icon framework markup, SVGs, images, etc.

@Farsad This is updated, but I noticed a bug. With multiple HTML Combobo are initialized with different icons, everything works as expected. When <select> are added to the page and initialized with the combobo class, the toggleButtonIcon config seems to get shared and the last config to specify an icon overrides other Combobo.
This only happens when the default value of toggleButtonIcon is falsey (null, '', or false); if the default value has actual content like ▼, other Combobo do not inherit the icon from the rogue config.
I believe this is some sort of object/reference mutation (as opposed to cloning/creating shallow copies) from something deeper in the project that needs fixing. Maybe some Babel updates will help?
I will handle this when working on additional tickets and we should re-test after the main work is complete.


Added two methods to monitor syncing progress.

Added a way to monitor the client's progress while syncing by both making it possible to fetch the latest SyncProgress map and by subscribing to a new head event.
I also moved the react and react-native dependencies to peer dependencies to make it possible for the library user to pick their preferred react-native/react versions and to better match other react-native libraries. It may make sense to make these require specific minimum versions but I don't know what the minimums should be.

For now, I think we should leave the choice to the user to pick their preferred react-native/react versions.
Good work !


codebase used to generate 2024-02-19 forecasts

noting we might want to turn on auto-merge here to save everyone some time


0.5.8的新版似乎没上pip, 本地实在编译不过

改动太大，有严重bug，暂时从pypi删除了，抱歉。
On Wed, Aug 9, 2023 at 09:25 pscj @.***> wrote:

—
Reply to this email directly, view it on GitHub
https://github.com/yifeikong/curl_cffi/issues/99, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH4ZX7GLWJOPXTH3MPU44LXULRHTANCNFSM6AAAAAA3JIRFYI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
来自手机回复

明白了，还是那个cookie转换搞的


Move the TypeCollector trait to the ir module

This commit move the TypeCollector trait out from the codegen module and into its own submodule in ir::type_collector. Additionally, it puts the various TypeCollector trait implementations next to the types that each implementation is for.
I'm going to start using this trait outside of codegen, and I think it makes more sense in ir since it is implemented by ir types and is all about ir things.
r? @emilio

Sounds good. There's a typo in the commit message (This commit move -> this commit moves). r=me apart from that.

@bors-servo delegate+

:v: @fitzgen can now approve this pull request

@bors-servo r=emilio

:pushpin: Commit 005fd43 has been approved by emilio

:hourglass: Testing commit 005fd43 with merge f967825...

Thanks! Fixed the typo :)

:sunny: Test successful - status-travis


CLI log levels shouldn't just be a uint_t

Right now, per --help
-l <uint64_t>,  --log-level <uint64_t>
  Log level

This isn't the most helpful... IMO this should conform to what people are used to (info, fine, debug, etc) but perhaps the convention in C++ is different? Regardless, there should be some what to know what will get you what

Will fix

https://github.com/lyft/envoy/pull/160


MODULES-1863 - Fix Git Config with multiple users

As shown in #59, the git_config provider won't work with non-root users unless you change the cwd.
However, whilst writing the beaker tests for this, I also realised that the current type for git_config uses the key for the namevar, it's not possible to have multiple configs for different users using the same key.
This PR changes the namevar to name, cherry picks the commit from @cristi1979, adds Beaker tests to check the behaviour works and adds some basic type and provider specs too.

Squashed commits as requested by @hunner


[KOGITO-8129] Async API guide

JIRA:
https://issues.redhat.com/browse/KOGITO-8129

@ricardozanini yes, once we have the example available, we should add a link to it.


Cache setting is missing the 'deliver' action

Fastly supports 'deliver' in its UI for cache settings, so this provider should add the option as well as cache, pass and restart.

Hi @jsierles thanks for opening this issue (and your patience waiting for a reply).
Upon investigating the available actions in the UI we find that the 'Deliver' option is in fact passing a value of 'cache':

Which is already supported in Go-Fastly:
https://github.com/fastly/go-fastly/blob/f435b9545d1fcad68ee3d0e942ad84da9d2792b5/fastly/cache_setting.go#L10-L19
If you have any further queries then please just let me know. I'll leave this issue open for a little longer to give you a chance to review and either close it yourself or raise questions, otherwise if there is no further discussion required by the end of the week I'll close this issue.
Thanks.

Hi @jsierles thanks for opening this issue (and your patience waiting for a reply).
Upon investigating the available actions in the UI we find that the 'Deliver' option is in fact passing a value of 'cache':

Which is already supported in Go-Fastly:
https://github.com/fastly/go-fastly/blob/f435b9545d1fcad68ee3d0e942ad84da9d2792b5/fastly/cache_setting.go#L10-L19
If you have any further queries then please just let me know. I'll leave this issue open for a little longer to give you a chance to review and either close it yourself or raise questions, otherwise if there is no further discussion required by the end of the week I'll close this issue.
Thanks.


Experiment some lazy-loading mechanism...

All is said! :)

Maybe this is helpful for you: https://github.com/atotic/lazy-pages ;)
Nevertheless I unfortunately doubt that it will be possible while still maintaining fluid transitions...


Fixed #290 -- Importing from django.core.urlresolvers is deprecated in favor of django.urls

RemovedInDjango20Warning: Importing from django.core.urlresolvers is deprecated in favor of django.urls

Coverage remained the same at 100.0% when pulling 448a02a639e89b1b336d3c5c6218774d7dadfe2b on felixxm:issue-290 into aaa4516d4b455f79fa0fe9f6626b34d1e67e2abe on pinax:master.

Coverage remained the same at 100.0% when pulling d1995af3deb39430239b4a7a81d6c317f56b4229 on felixxm:issue-290 into aaa4516d4b455f79fa0fe9f6626b34d1e67e2abe on pinax:master.

@paltman Done.

Coverage remained the same at 100.0% when pulling 8d426c298e905901ef5178ad4cc9c4b6e6852cd1 on felixxm:issue-290 into d12c36748b8aa85029ec249ea7eb8993fb2db8b4 on pinax:master.

Coverage remained the same at 100.0% when pulling 8d426c298e905901ef5178ad4cc9c4b6e6852cd1 on felixxm:issue-290 into d12c36748b8aa85029ec249ea7eb8993fb2db8b4 on pinax:master.

Coverage remained the same at 100.0% when pulling 8d426c298e905901ef5178ad4cc9c4b6e6852cd1 on felixxm:issue-290 into d12c36748b8aa85029ec249ea7eb8993fb2db8b4 on pinax:master.

Changes Unknown when pulling ede4af46d2fd7bc200e60890aa735de35ba5585e on felixxm:issue-290 into ** on pinax:master**.

Changes Unknown when pulling ede4af46d2fd7bc200e60890aa735de35ba5585e on felixxm:issue-290 into ** on pinax:master**.

Changes Unknown when pulling ede4af46d2fd7bc200e60890aa735de35ba5585e on felixxm:issue-290 into ** on pinax:master**.

Changes Unknown when pulling ede4af46d2fd7bc200e60890aa735de35ba5585e on felixxm:issue-290 into ** on pinax:master**.

Coverage remained the same at 100.0% when pulling ede4af46d2fd7bc200e60890aa735de35ba5585e on felixxm:issue-290 into 661538816dacba9287d104a58b4cdbce8e460deb on pinax:master.


Compatibility with Kindle Paperwhite 1 (2015)

Thanks for sharing this awesome project! When I try to run the binary, it is looking for a libharfbuzz.so.0, which does not exist:
[root@kindle us]# ./photoframe
./photoframe: error while loading shared libraries:
libharfbuzz.so.0: cannot open shared object file: No such file or directory

This happens on a Kindle Paperwhite (2015) with Firmware version <IP_ADDRESS>.
I tried to re-use the lib files from KOreader, which seems to work, but I now get a crash that suggests an issue with the network polling (kernel supports it though: /proc/sys/fs/epoll/ has max_user_watches). It might be because Go has removed compatibility with kernel 2.6.
[root@kindle us]# ./photoframe https://foobar
runtime: epollwait on fd 4 failed with 38
fatal error: runtime: netpoll failed

runtime stack:
runtime.throw({0x2f5583, 0x17})
	/usr/local/go/src/runtime/panic.go:1047 +0x4c fp=0x496e34bc sp=0x496e34a8 pc=0x4c7fc
runtime.netpoll(0x0)
	/usr/local/go/src/runtime/netpoll_epoll.go:121 +0x414 fp=0x496e3d20 sp=0x496e34bc pc=0x484a4
runtime.sysmon()
	/usr/local/go/src/runtime/proc.go:5362 +0x4ac fp=0x496e3d80 sp=0x496e3d20 pc=0x5c780
runtime.mstart1()
	/usr/local/go/src/runtime/proc.go:1498 +0x7c fp=0x496e3d90 sp=0x496e3d80 pc=0x52ae8
runtime.mstart0()
	/usr/local/go/src/runtime/proc.go:1455 +0x7c fp=0x496e3da4 sp=0x496e3d90 pc=0x52a5c
runtime.mstart()
	/usr/local/go/src/runtime/asm_arm.s:210 +0x8 fp=0x496e3da8 sp=0x496e3da4 pc=0x81a78

goroutine 1 [running]:
	goroutine running on other thread; stack unavailable

goroutine 2 [force gc (idle)]:
runtime.gopark(0x308c78, 0x4e62f8, 0x11, 0x14, 0x1)
	/usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x828fd8 sp=0x828fc4 pc=0x4ff3c
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:387
runtime.forcegchelper()
	/usr/local/go/src/runtime/proc.go:305 +0xd4 fp=0x828fec sp=0x828fd8 pc=0x4fd5c
runtime.goexit()
	/usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x828fec sp=0x828fec pc=0x83770
created by runtime.init.5
	/usr/local/go/src/runtime/proc.go:293 +0x1c

goroutine 3 [GC sweep wait]:
runtime.gopark(0x308c78, 0x4e6610, 0xc, 0x14, 0x1)
	/usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x8297c8 sp=0x8297b4 pc=0x4ff3c
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:387
runtime.bgsweep(0x81c040)
	/usr/local/go/src/runtime/mgcsweep.go:278 +0x94 fp=0x8297e4 sp=0x8297c8 pc=0x39ce0
runtime.gcenable.func1()
	/usr/local/go/src/runtime/mgc.go:178 +0x28 fp=0x8297ec sp=0x8297e4 pc=0x29eec
runtime.goexit()
	/usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x8297ec sp=0x8297ec pc=0x83770
created by runtime.gcenable
	/usr/local/go/src/runtime/mgc.go:178 +0x74

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x308c78, 0x4e68a0, 0xd, 0x14, 0x2)
	/usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x829fb4 sp=0x829fa0 pc=0x4ff3c
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:387
runtime.(*scavengerState).park(0x4e68a0)
	/usr/local/go/src/runtime/mgcscavenge.go:400 +0x64 fp=0x829fc8 sp=0x829fb4 pc=0x3707c
runtime.bgscavenge(0x81c040)
	/usr/local/go/src/runtime/mgcscavenge.go:628 +0x3c fp=0x829fe4 sp=0x829fc8 pc=0x37940
runtime.gcenable.func2()
	/usr/local/go/src/runtime/mgc.go:179 +0x28 fp=0x829fec sp=0x829fe4 pc=0x29e98
runtime.goexit()
	/usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x829fec sp=0x829fec pc=0x83770
created by runtime.gcenable
	/usr/local/go/src/runtime/mgc.go:179 +0xbc

goroutine 5 [finalizer wait]:
runtime.gopark(0x308bb8, 0x4f78ac, 0x10, 0x14, 0x1)
	/usr/local/go/src/runtime/proc.go:381 +0x100 fp=0x82878c sp=0x828778 pc=0x4ff3c
runtime.runfinq()
	/usr/local/go/src/runtime/mfinal.go:193 +0xfc fp=0x8287ec sp=0x82878c pc=0x28dc4
runtime.goexit()
	/usr/local/go/src/runtime/asm_arm.s:831 +0x4 fp=0x8287ec sp=0x8287ec pc=0x83770
created by runtime.createfing
	/usr/local/go/src/runtime/mfinal.go:163 +0x5c

When using Go 1.18 and re-adding epoll_wait, this seems to work again. I just need to set up a working cross-compilation environment for Go.

May I ask how you build environment looks like for cross-compilation?

I pushed my current Docker cross-compilation-environment to kindle-cross-compile-toolchain.
It might help you to setup toolchain for go 1.18

Thank you so much, that is very helpful.


Fix llm instanceof wrong ChatOpenAI type

update
import { ChatOpenAI } from '../../chatmodels/ChatOpenAI/FlowiseChatOpenAI'

to
import { ChatOpenAI } from '@langchain/openai'

it is the correct import, FlowiseChatOpenAI is needed for multiModalOption

it is the correct import, FlowiseChatOpenAI is needed for multiModalOption

I see that the actual instance of llm is LanhchainChatOpenAI. Should logical OR be used here?

it is the correct import, FlowiseChatOpenAI is needed for multiModalOption

I see that the actual instance of llm is LanhchainChatOpenAI. Should logical OR be used here?

which line?

it is the correct import, FlowiseChatOpenAI is needed for multiModalOption

I see that the actual instance of llm is LanhchainChatOpenAI. Should logical OR be used here?

which line?

https://github.com/FlowiseAI/Flowise/blob/15a416a58f4865a07b35443a563d546e31e92d47/packages/components/nodes/multiagents/Supervisor/Supervisor.ts#L225

@HenryHengZJ Is there any problem with this?

if you look at this line, llm.multiModalOption is only a method from the custom FlowiseChatOpenAI here
so for any LLMs that is able to process images, we need the custom override class, cant use the direct import


Implemented dynamic archive directory creation

Dynamic archive was only able to create dynamic file names. Directory names were not affected.
For example, with archiveFileName="Logs/Archive/archived-{#}/file.log" the created directory's name was archived-{#}.
Based on this issue:
https://stackoverflow.com/questions/77366618/subtract-from-date-in-nlog-configuration/77368855#77368855
Note: I did not implement this in FileArchiveModeDynamicSequence, because I'm not familiar with that mode and it looked different to the others.

Thank you for the pull-request. I have some requests before merging:

Please make an unit-test that verifies archive-folder is actually created as expected (Add to FileTargetTests.cs)
Please replace the RegEx-usage with FileNameTemplate instead (Maybe rename class to FilePathTemplate)

If you have issues with building unit-test-project locally. Then just update the NLog.UnitTests.csproj to have <TargetFrameworks>net461</TargetFrameworks> (Removing net6.0)

Closing due to inactivity.


brew reinstall --HEAD neovim fail

error output:
Last 15 lines from /Users/aioiyuuko/Library/Logs/Homebrew/neovim/04.make:
In file included from /tmp/neovim-20161224-8524-1jnwjoj/src/nvim/tui/input.c:2:
/tmp/neovim-20161224-8524-1jnwjoj/src/nvim/tui/input.h:15:3: error: unknown type name 'TermKey_Terminfo_Getstr_Hook'
  TermKey_Terminfo_Getstr_Hook *tk_ti_hook_fn;  ///< libtermkey terminfo hook
  ^
1 error generated.
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/tui/input.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/neovim-20161224-8524-1jnwjoj/src/nvim/tui/tui.c:32:
/tmp/neovim-20161224-8524-1jnwjoj/src/nvim/tui/input.h:15:3: error: unknown type name 'TermKey_Terminfo_Getstr_Hook'
  TermKey_Terminfo_Getstr_Hook *tk_ti_hook_fn;  ///< libtermkey terminfo hook
  ^
1 error generated.
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/tui/tui.c.o] Error 1
make[1]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
make: *** [all] Error 2

Upstream seems to have bumped libtermkey to 0.19, which doesn't match with homebrew's one (0.18).
I think this will be solved once homebrew's libtermkey formula is updated.

Formula update has been accepted.
Please brew update and try again.

Thank you @equal-l2 ! I also added guards for other systems which are stuck on older libtermkey: https://github.com/neovim/neovim/commit/cdcf5d2039d5149d8e5d06347400af916b907808

Thanks 👍


Remove unnecessary fields in the sub-event array of super events

Description
Remove all keys in the sub-events array except for those in the schema.
**Fixes #836 **
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[x] When possible

Type of changes
Please select a relevant option:

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

@clav1d, Please remove this PR from the "Platform Development" GitHub project as this is already linked to the issue and the issue is in the same project. This is to avoid duplicate entries. Thanks.

@clav1d, Please remove this PR from the "Platform Development" GitHub project as this is already linked to the issue and the issue is in the same project. This is to avoid duplicate entries. Thanks.

So only the issue needs to be put in the project?

Yes, that's right. Thanks.

I'm still seeing unnecessary fields in the published super event (see below). Could you please look into this?

I'm still seeing unnecessary fields in the published super event (see below). Could you please look into this?

Sure, I'll look into this. Are these fields still showing up on the Events Manager's database or the Events Building Block database?

I'm still seeing unnecessary fields in the published super event (see below). Could you please look into this?

Sure, I'll look into this. Are these fields still showing up on the Events Manager's database or the Events Building Block database?

This is the GET /events/ response from the Events Building Block after publishing the super event. I followed the steps to repeat in the bug report but added two sub-events instead of one. Thanks.

I'm still seeing unnecessary fields in the published super event (see below). Could you please look into this?

Sure, I'll look into this. Are these fields still showing up on the Events Manager's database or the Events Building Block database?

This is the GET /events/<id> response from the Events Building Block after publishing the super event. I followed the steps to repeat in the bug report but added two sub-events instead of one. Thanks.

Thanks for the information. I'll be working on fixing this.

Hi @sandeep-ps , I believe this bug is fixed now. Please review again when you are available.

Please fix the merge conflicts. Thanks.

I think I will fix the merge conflicts and merge this PR.


raspi-gpio: bump to revision 4edfde1

This includes the following changes:
4edfde1 Update raw output to show pull registers on 2711
Signed-off-by: Pierre-Jean Texier<EMAIL_ADDRESS>

Thanks. Merged to master.


Bug: Markdown Editor vs Rendered

Markdown string:
#My Topic

without the space after the # will render correctly in the Editing UI but not upon save.
Must change to the below to get consistent results.
# My Topic

Could be due to different parsers / engines


Missing PIP module breaks debug

When debug=true, tracebacks are seen due to missing Python lib: django-debug-toolbar

This should not be the case anymore as django-debug-toolbar is part of the base requirements.


ISPN-9030 Avoid anonymous classes inside lambdas

https://issues.jboss.org/browse/ISPN-9030
Only changing TxInterceptor and HibernateSearchPropertyHelper for now because that's where we saw the errors.
I've been trying to find all the lambdas that contain an inner class but I've hit a bug in structural search (IDEA-189344), and I have a feeling the 2 IntelliJ bugs are related.

If it's just these two, ok, let's fix them. If there are more ... I would not bother. There are workarounds.

@anistor I always got the error in one of these 2 classes, but even if it was 20 classes I think it would still be worth it: I spend at least 30 mins every time fixing the compilation error every time it appears.

30?? I spend about 3 mins when it happens. I think we need to move to another IDE....

Integrated in master. Thanks @danberindei !


DASH scale requirement update

ENIs per 200G link reduced to 32 from 64
adjusted CPS value in HLD to match the hero test
increased flow timer from 1 sec to 5 sec ( to reduce PPS requirements for BG traffic)

Will cover in DASH community call, then sign-off/merge

/easycla

Per Community Call, merging


Feature request: TinyUSB integration

Hi! I am developing apps for ESP32-S2/S3 platform. These chips are not supported by usb-device, but they are compatible with tinyUSB stack. It will be great to create a thin wrapper, that implements UsbBus trait and uses tinyUSB as backend.  It will provide a workaround for a lot of devices, until there will be a native driver.

So usb-device is the USB device-side stack (along with the class drivers), so it's a replacement for tinyUSB on embedded devices. As such, I'm not entirely sure how it would make sense to add a shim into the one usb device stack for another, as they're just two different avenues to do the same thing.

Closing, as I do not think there's further activities here in this crate.


Check for legacy code if it's still needed

Throughout the codebase there is plenty of legacy code with unclear purpose.
We need to check these parts and remove or replace them.
Currently some are taged like this (of course not exhaustively):
# TODO RDF: Check if this should be removed or adapted

This TODO should be reused whenever you come across a code segment you're not sure about, so that we can collect them under this tag.
Now there are 10 such occurrences in https://github.com/acdh-oeaw/apis-core-rdf/commit/10548ec60e14db147168481ee1f30ee1fed0c018

Closing this as duplicate of the linked ticket, but (anyone) feel free to reopen it if you disagree with my reasoning over there.

This issue is the more appropriate one compared to the other issue, as here are some code markers provided already.

closing as to generic


Supporting a function that will only be proxied if the tag is added

What would you like to be added/modified:
Why is this needed:
Currently, Edgemesh supports adding filter tags to k8s services. But our scenario is that there are many places to create services on the cloud, and there is no guarantee that filter tags will be added to all places. Additionally, some cloud services are deployed before installing Edgemesh.Can  supporting a function that will only be proxied if the tag is added?

@JiaweiGithub  A exists feature, you can refer to https://github.com/kubeedge/edgemesh/blob/main/pkg/apis/config/v1alpha1/types.go#L175

@JiaweiGithub A exists feature, you can refer to https://github.com/kubeedge/edgemesh/blob/main/pkg/apis/config/v1alpha1/types.go#L175

Thanks


Add warning message to postinstall

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

add  A warning or some sort of message should be shown when installing a formula with a post_install block or a cask with a {pre,post}flight block for https://github.com/Homebrew/brew/issues/13794

@Rylan12 Personally: I don't think we need a warning here at all. I'm not convinced post_install changes often enough without rebottling to warrant this sort of edge case spamming everyone else.

When a user runs the postinstall (whether through a regular install or manually), we can compare what's going to be run with the hash from the API. If they don't match, that's an indication that there is a new postinstall block available.
Thoughts?

@Rylan12 Makes sense to me! If we're going to store a hash here, though, we may want to consider also storing the actual post_install source and consider using that when the hash differs (assuming the version/revision/etc. are the same).

We could, but that means we're potentially executing code online which is exactly what we're trying to avoid. So if we do that, I think it should not be done automatically

@Rylan12 I think if we want this to be the default path in the nearish future we need to brainstorm a fix that works here 100% of the time. Perhaps that is requiring a revision bump or at least new bottles if a post_install changes?

@Rylan12 I think if we want this to be the default path in the nearish future we need to brainstorm a fix that works here 100% of the time. Perhaps that is requiring a revision bump or at least new bottles if a post_install changes?

I think this is a better option, as long as we believe it can be maintained. A revision bump probably would be easier to write an audit for, since I don't think there are any checks we run to make sure bottles are made, but has the downside of forcing users to upgrade when they may not have to

I think this is a better option, as long as we believe it can be maintained.

Yeh, I think we'll need an audit to enforce it.

A revision bump probably would be easier to write an audit for, since I don't think there are any checks we run to make sure bottles are made, but has the downside of forcing users to upgrade when they may not have to

Yeh, unsure how to force the bottle requirement but I think it'd be better. We want to avoid doing so many unnecessary revision bumps so I fear a little making this mandatory. CC @Homebrew/brew for thoughts on approach here.

We could probably set up @BrewTestBot to request changes to PRs that modify the postinstall blocks so that they cannot be merged regularly. And then update the various merge workflows to have @BrewTestBot remove their requested changes. That way new bottles are always made?

@Rylan12 Yeh, that sounds like a good idea 👍🏻

@hyuraku I'm going to close this out because it sounds like we'd like to address the issue in a different way.
I don't have the bandwidth right now to work on this but if you or someone else would like to I'll happily review a PR!


show_mapping command error in 0.4.1 and django 1.10.4

$ ./manage.py show_mapping                                                                                Traceback (most recent call last):
  File "./manage.py", line 17, in <module>
    execute_from_command_line(sys.argv)
  File "/home/visgean/.virtualenvs/seeder/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/home/visgean/.virtualenvs/seeder/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/visgean/.virtualenvs/seeder/lib/python3.5/site-packages/django/core/management/__init__.py", line 208, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/visgean/.virtualenvs/seeder/lib/python3.5/site-packages/django/core/management/__init__.py", line 40, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/visgean/.virtualenvs/seeder/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/visgean/.virtualenvs/seeder/lib/python3.5/site-packages/elasticstack/management/commands/show_mapping.py", line 34, in <module>
    class Command(BaseCommand):
  File "/home/visgean/.virtualenvs/seeder/lib/python3.5/site-packages/elasticstack/management/commands/show_mapping.py", line 39, in Command
    option_list = BaseCommand.option_list + (
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

Thank you for reporting this - 0.5.0 is up on PyPI now.

Thanks for the fix :).


Add shared singleton tracker instance to simplify initializing and retrieving tracker

Similar to Mixpanel and Keen's sharedClient concept.

Closing as implemented as part of the upcoming version 2.0.
The version 2.0 allows multiple instances of the trackers letting the use of a defaultTracker, behaving as a singleton within the app.
More details in the ticket #566


Install pre-commit hooks. Lint and format repo

Rules that can be ignored:

E741 Ambiguous variable name
E731 Do not use lambda


Update tcp.js

residue
thats why its not printing data

A unit test to show the issue would be a nice add.
TY for the fix!

Coverage remained the same at 62.21% when pulling 0c79627179b675f223c4023fc464f7de9b8498e0 on sandeshdanwale:patch-1 into 32b93f0b12798bb348cd3e2227898fd7fa4f3a8a on mranney:master.


Rename internalinds and externalinds

I think we should rename internalinds and externalinds to something like unique_linkinds and unique_siteinds to make it clearer what they are returning, and keep things consistent with our current convention that siteinds refers to external indices and linkinds refers to internal indices.

Closed by #156.


Using deprecated method

In init.lua, Line 67, promise_send should be promise_request

Thank you for catching this!


Expose span scope Arel

Checklist

[x] Continuous integration passes, or no functional code was changed
[x] Changelog entry added, or no entry is necessary

Notes
Also adds specs for expired, current_or_future, and future
resolves #23

not in scope for this PR, but this can go along well with https://github.com/annkissam/acts_as_span/issues/26 @izzergh - needing those scopes exposed in the API more consistently has come up on LD; they'd make @petrucioata and @katemacewan's lives easier


[docs][quick-start] add version to compatible docker-compose lower version

add version to compatible docker-compose lower version, for docker-compose 1.2x.x, execute docker-compose up -d will meet the following problem:

For later docker-compose versions though a version is not required. It may be better to keep it as is and users can specify a version if they use older docker-compose?

That's a good suggestion 👍

That's a good suggestion 👍

I have changed it, please review again.
Thank you very much!


Use literal % in printf spec description

Assertion annotations use fmt.Sprintf so the unspecified % value looks weird when it shows up. Fixes the current output example of:
given a 10%!r(MISSING)oute weight for app 1, the expected response count is ~10

This is just a logging change; no runtime or tests affected.

Verified that test failures look much better with this change. Thanks!


Modernize CI

[x] Remove warnings in Github CI "Summary" area. (Usually related to using outdated actions).
[ ] Add code coverage report.
[x] Check clippy on stable and beta.
[x] Run docs on nightly, with docs.rs options enabled.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@9d6ea86). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #68   +/-   ##
=======================================
  Coverage        ?   27.11%
=======================================
  Files           ?       58
  Lines           ?     1829
  Branches        ?        0
=======================================
  Hits            ?      496
  Misses          ?     1333
  Partials        ?        0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Sortablejs autoscroll conflicts with custom scroll

You have a custom scroll provided by some third-party js-library.
When you use sortablejs with autoscrolling enabled it scrolls via assigning values to el.scrollTop/el.scrollLeft HTMLElement properties.
Assigning to el.scrollTop/el.scrollLeft doesn't work (or even worse: it breaks your custom scroll).

Example: try move topmost item to the end of list.
PR #884 intended to fix this issue.

Done, see dev-branch.


Can you add a action to limit the number of open active trades when a certain filter condition is met?

I use v 1.07 with great satisfaction, but there are 2 issues that bother me:

I found that with certain EAs if there is a parameter that controls the MAX number of trades that the EA can open it can protect us from callout and margin calls. For example, if you make "MaxOrder" parameter = 2 in the Golden Elephant, this EA would not fail even during a large DD. However, when we do that the gains are limited when the market behaves well with minimal DDs. Also, most EAs don't have parameters that control this issue and for most EAs we don't have the source code. So is there a way, instead of turning off Autotrading at a free margin level of X (say 1000%), just to start limiting the number of new trades that can be opened to a certain number but not turning off Autotrading? If this is possible, when the free margin indicates impending peril, we could limit the risk but not shut off trading altogether.  The opposite could be also useful - open the full throttle above a certain condition.

The other issue that bothers me is that we cannot activate the EA in a pending mode. Suppose I set up a condition and action - the EA would not do the job if there are no open trades.  For example, I mostly turn off auto trading below X free margin, but I can't set up the condition and action if there is no open trade. This requires me to periodically watch the EA and jump in to activate the action when the first trade is placed. This is a drag, because I may just miss an adverse action because of that. Also, if the EA closes all the trades with profits it triggers the action of Account Protector, and in the case above the Autotrade is turned off. This requires me to check periodically in order to reactivate the action when new trades are being placed. The lack of PENDING action that would remain active as long as a condition has not been met even if there are no active trades would make this excellent tool a superb one.

Thanks for considering - Yaron

Hello Yaron,

Unfortunately, there is no way for the AP to control how many trades some other EA can open. It could try closing all trades in excess of a certain number, but that would only lead to a disaster when an EA is constantly opening a new trade and the AP is closing it.
Sorry, but I don't understand what's the problem here... Why can't you set a free margin conditions + some actions when there are no open trades?

PS: Any specific reason you are using 1.07 and not 1.08?

Thank for your reply. Very sorry that problem 1 is not solvable. With problem 2, when I set free margin condition + action (close Autotrading)  it activates the action (showing OK) if there are open trades but if there are no open trades the condition is triggered and the Autotrading is stopped. I have then to uncheck that action, manually reactivate Autotrading and wait for the EA to open some trades. I will switch to 1.08 over the weekend. Sent from Mail for Windows From: EarnForexSent: Wednesday, September 14, 2022 3:05 AMTo: EarnForex/Account-ProtectorCc: RonLid; AuthorSubject: Re: [EarnForex/Account-Protector] Can you add a action to limit the number of open active trades when a certain filter condition is met? (Issue #7) Hello Yaron,Unfortunately, there is no way for the AP to control how many trades some other EA can open. It could try closing all trades in excess of a certain number, but that would only lead to a disaster when an EA is constantly opening a new trade and the AP is closing it.Sorry, but I don't understand what's the problem here... Why can't you set a free margin conditions + some actions when there are no open trades?PS: Any specific reason you are using 1.07 and not 1.08?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
What is the exact condition you are setting? It shouldn't be triggering just because there are no trades...

Hello again, I replaced 1.07 with 1.08 and it’s even worse. Now if there are no trades the EA also setup the condition back to 0 in addition to triggering the action.I’m sending you a series of snapshots that show what I’m talking about:Snap #1: No trades, Free Margin 6,975, Autotrading=On, No condition, No action, Snap #2: No trades, Free Margin 6,975, Autotrading=On, Condition=Margin level <=% 1000, No action,Snap #3: No trades, Free Margin 6,975, Autotrading=On, Condition=Margin level <=% 1000, No action,Snap #4: No trades, Free Margin 6,975, I selected “Disable Autotrading” -> it triggered Autotrading off and unchecked the selectionSnap #5: : No trades, Free Margin 6,975, Autotrading=Off, it unchecked and erased the value of the Condition=Margin level <=%, No action, As I said, the EA doesn’t allow to set a condition and an action when there is no active trade. Version 1.07 just triggered the Autotrading off. Version 1.08 does that and also unchecking/erasing the condition. Can that be fixed? Thanks, Yaron  Sent from Mail for Windows From: EarnForexSent: Wednesday, September 14, 2022 4:42 AMTo: EarnForex/Account-ProtectorCc: RonLid; AuthorSubject: Re: [EarnForex/Account-Protector] Can you add a action to limit the number of open active trades when a certain filter condition is met? (Issue #7) What is the exact condition you are setting? It shouldn't be triggering just because there are no trades...—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
Hello Yaron,
It looks like you are replying to this thread via email. This messes up the formatting of your responses and also doesn't allow me to see your image attachments. It would be better if you could post your response on GitHub.

Thank you. Going to sleep right now. We'll copy what I sent you by email to Github when I'll wake up.
Yaron Lidor - Chat @ Spike	[1qduub]
On September 18, 2022 at 6:31 GMT, EarnForex @.***> wrote:
Hello Yaron,
It looks like you are replying to this thread via email. This messes up the formatting of your responses and also doesn't allow me to see your image attachments. It would be better if you could post your response on GitHub.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

The condition is when the “Margin Level <= %”  ->  disable autotrading. I may use free % margins between 2000% (multipair EAs) to 150%, but mostly 1000%, and when I set it up always the free margin is higher than the condition value. Sent from Mail for Windows From: EarnForexSent: Wednesday, September 14, 2022 4:42 AMTo: EarnForex/Account-ProtectorCc: RonLid; AuthorSubject: Re: [EarnForex/Account-Protector] Can you add a action to limit the number of open active trades when a certain filter condition is met? (Issue #7) What is the exact condition you are setting? It shouldn't be triggering just because there are no trades...—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
Yes, Margin Level is 0% when you have no open trades. I will consider adding a check for open trades when Margin Level conditions are checked.

Thank you for the reply. I would appreciate if you can arrange that your great and useful EA would work while it is awaiting for trades to kick in (i.e. in a special situation that the margin is less than the condition or it's zero, when it is set up by the trader). I was thinking to ask one of the MQL5 coders to do it as a paid job on their site. Their going rate for a job like that, that usually is completed in several hours, is $30-40. I would rather have you do it, as you know the ins/outs of this ES, so I'm ready to pay you. Please let me know if you get my offer and what is the expected turn around time. Thank you, Yaron.
Yaron Lidor - Chat @ Spike	[1rzji9]
On October 11, 2022 at 9:44 GMT, EarnForex @.***> wrote:
Yes, Margin Level is 0% when you have no open trades. I will consider adding a check for open trades when Margin Level conditions are checked.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Sorry to learn that you don't do custom coding. Do you have approximate
estimate when it will be implemented?
On Wed, Oct 19, 2022, 09:25 EarnForex @.***> wrote:

Sorry, but I don't do custom coding orders. This change will be
implemented, but this will be done in its own time and completely free of
charge.
—
Reply to this email directly, view it on GitHub
https://github.com/EarnForex/Account-Protector/issues/7#issuecomment-1284190816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3B3ZKHU7Q4ABMN5SA4BYHLWEAHE3ANCNFSM6AAAAAAQMAKBQM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Was fixed back in 1.09.


Validate wordlist format in plugin PreRun

Hi,
I would like to validate the format of the wordlist for a custom plugin. I think PreRun should do this, but the problem is that I don't have access to the Gobuster object in order in PreRun in order to call getWordlist. How should I handle this?

which format do you want to validate? The wordlist has no particular format


[loc][Query][VSCode] Please clarify all three placeholders

Hi, we have a question from our translator. Can you help please? Thanks!
Source:
Install the keyboard shortcuts of {0}, {1}, {2} and {3}
File Name:
src\vs\workbench\parts\welcome\page\electron-browser\vs_code_welcome_page.nls.resx
Resource ID:
".resx", 0; "welcomePage.installKeymap"
Query:
Please advise what the placeholders stand for. Thanks!

Currently that is Vim, Sublime, Atom and others. These four are shown as links on the welcome page, hence the placeholder.


fix fast reload

Description
This fixes the long-standing issue of metro's Fast Reload feature not working properly.
It turns out that relay rewrites all generated files every time you touch any file in src, which in turn triggers a cascade of 'file updated' notifications to metro's Fast Reload service. On iOS this sudden influx seems to raise a flag, and instead of doing hundreds of Fast Reload operations it bails out and does one normal full reload. On android it doesn't bail out that way and instead just applies all the Fast Reload operations sequentially, which takes like 20s most of the time.
Anyway we can prevent the whole mess by making it so that relay only rewrites files that have actually changed.
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

🤦
Such a good PR. It must have been a fun investigation! Good job to everyone involved.

Goodbye infinite refreshes, you won't be missed
https://media4.giphy.com/media/W3fRi6uCcjsTQKEGcr/giphy.gif

Looks good to me. The edits Pavlos reported make sense, please feel free to merge once they are addressed ⭐

hmm is squash on green broken again?


Allow override for host/port parameters

What
Say I want to connect to a TLS end-point, but can only do it through an a ssh tunnel

I'll start a tunnel like so:

ssh -N -L 50321:echo.websocket.org:443 ssh.jumper.host

Then connect echo.websocket.org:443 via localhost:50321

async with websockets.connect('wss://echo.websocket.org',
                              host='<IP_ADDRESS>',
                              port=50321) as websocket:
    await websocket.send('test')
    ...

Right now this code won't work, but I can achieve the same result by supplying connected socket and an extra server_hostname parameter. It is quite a bit more work and I'd rather let underlying create_connection code setup socket of its own.
Other use-case is supplying IP address of a server, a kind of in app DNS caching.
How
It doesn't look like this requires many changes. I have prototyped this here: https://github.com/Kirill888/websockets/commit/a9f8846c7958dfabc41d3e996d47735783f2b5d8
Happy to open a PR if you are happy with such change.

The change looks reasonable.
It needs:

tests — complexity should be somewhere between ClientServerTests.test_basic and ClientServerTests.test_explicit_socket.
docs — unless we can argue that it's just the expected behavior of "serve is a wrapper around the event loop's create_server method."

This is exactly what I'm trying in here.
I do have hundreds of connections and I'm using my own DNS caching so I pass f'wss://{SERVER_IP}/uri'.
But settings in the server changed and I can't do it anymore, because the server expects the hostname in the SSL handshake.
We need a "hostname" parameter on the connect() method, so it can pass that value when opening the SSL socket.
So now I have to use the hostname in the URL, and hope I'm not opening hundreds off connections to the same IP while there are 4 servers available :(


1.20.6 Support

Explain the feature
Would be nice to have a 1.20.6 version, so people can play on LAN servers.
Ideal solution or implementation
To update to 1.20.6
[Optional] Alternative solutions or implementations
+even better if it works with Vulkan Mod
[Optional] Other context
No response

Does this mod work for you? https://modrinth.com/mod/e4mc


Event argument name conflicts with JS method values()

Hi all,
I've just noticed that Openzeppelin's IGovernor.sol interface defines an event with argumetn values (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/governance/IGovernor.sol#L28-L37)
When I try to use the generated typings, I get that event.args.values is undefined - I believe this is because of the clash between the argument name and the JS object method values()
Is there a way to check for reserved keywords and pre/su-fix the name values with an underscore or something like that?
I can access it by index as well, but it would be messy to mix accesing content by . and []. It might be also an issue for other reserved words.

Thanks for looking into it!

as @hasparus noted: https://github.com/dethcrypto/TypeChain/pull/654#issuecomment-1072313143, we are thinking that this is low priority issue without a clean solution.  For now, we suggest renaming clashing symbols manually in the ABI (ex. values => _values).
If more ppl want us to prioritize it, please speak up.


Spyder console cannot print colors

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
In the Spyder console text does not show any colors.
What steps reproduce the problem?
Run the following minimal example in the spyder console (it does require the packages rich and colorama)
# https://pypi.org/project/rich/

from rich import print
print("Hello, [bold magenta]World[/bold magenta]!", ":vampire:", locals())

# https://pypi.org/project/colorama/

from colorama import init
init()

from colorama import Fore, Back, Style
print(Fore.RED + 'some red text')
print(Back.GREEN + 'and with a green background')
print(Style.RESET_ALL)
print('back to normal now')

What is the expected output? What do you see instead?
One would expect to see colored output. For example in jupyter console the output is

In the spyder console we have

(note: the input code is syntax highlighted, but the output does not have color)
Paste Traceback/Error Below (if applicable)

No traceback available.
 This is something low priority to us, so I encourage you to go ahead and contribute to the project with this enhancement.
Thanks for reporting!


Fixing CDN link

Refer to https://github.com/dotnet/core/issues/9671 and https://build5nines.com/retirement-of-azureedge-net-dns-edg-io-business-closure-and-what-you-need-to-know/ as AzureEdge is a CDN that went out of business

very appreciated @shanselman!


fix(zentao): update zentao project's progres field's type, make it mo…

…re cpmpatible with zentao 18.1
⚠ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[x] I have read through the Contributing Documentation.
[x] I have added relevant tests.
[x] I have added relevant documentation.
[x] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary
What does this PR do?
With Zentao version 18.1, the /projects API returns progress field whose type is string. But devlake take it as float64, so an error occured. Users will get an error log like this:

And devlake's backend API returns HTTP 500 to Config UI.
This PR fix the zentao project structure, so it can work with zentao 18.1.
Does this close any open issues?
Closes xx
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

I think the best way it throw an error to http response instead of return http status code 500.


Continous collision detection.

Whether it be conservative advancement alla box2d, or simpler swept SAT ignoring rotations.
advantages of swept SAT being better speed and should not need things like shrunken shapes which in box2d force you to have polygons satisfy certain properties which would really be annoying for things like the convex decompositions!
swept SAT should be enough to avoid tunnelling in most circumstances.

Hey! Any clue on when will this be ready? Thanks a lot!

There's no expected date right yet; I have lots of work on my plate with university right now :)


Reputation System

Reputation example
!addrep @jack good prices
!-rep @jack bad prices
@jack: !rep
Response from bot shows
Positive Rep: 1
Negative Rep: 1
“good prices”
“bad prices”
!-rep command adds a negative rep, and also sends some sort of message @Administrator please validate this -rep
If the -rep is fine and deserved, then nothing happens
If it isnt deserved the administrator can use !clear rep -1 @jack
That removes a negative rep from the user

!addrep, !badrep, and !rep all functional. Need to prevent people from giving themselves rep.

Add a !toprep command that shows top 10 positive repo users and their counts

Clear bad rep via reaction by admin

This is all done, right?


Added 2 binance endpoints + small improvement

Added
https://github.com/binance-exchange/binance-official-api-docs/blob/master/wapi-api.md#asset-dividend-record-user_data
and
https://github.com/binance-exchange/binance-official-api-docs/blob/master/wapi-api.md#dustlog-user_data
endpoints.
Also small improvement in getRecvWindow
Made CoinbaseAccountServiceRaw public

wrong branch :(


Fix inconsistency of the TypeScript definitions - Solution 1

@vtroop asked a question about importing element-ui in TypeScript in #3910 today. And I notice that there is a critical inconsistency in index.d.ts:
declare namespace ElementUI { ... }
export default ElementUI

When importing element-ui, TypeScript will do conversions like this:
import ElementUI from 'element-ui'
import * as ElementUI from 'element-ui'

var ElementUI = require('element-ui').default
var ElementUI = require('element-ui')

But Babel and webpack will try to find default export for compatibility like this:
import ElementUI from 'element-ui'
// -->
var ElementUI = require('element-ui').default || require('element-ui')

In the source file, components and functions are exported via module.exports. There is no default entry in the exports.
The first solution is the same as this PR does: to change the definition file and tell users to import element-ui like this:
import * as ElementUI from 'element-ui'

See #7940 for solution 2.

@Leopoldthecoder


Support for push notifications

Tracking ticket for potential support in Hoist for "native" style notifications on desktop and potentially mobile.
See https://web.dev/explore/notifications for a nice overview of this entire system / ecosystem.
Note that we could split this support into two categories or phases:

Purely "browser local" notifications triggered by a running site (or service worker, although those are not something we currently have in play with Hoist).

Perhaps pretty limited in its utility, especially given changes to how aggressively both browsers and Hoist throttle inactive tabs, but significantly simpler.

Server-side originating notifications via the Web Push API, triggered by an HTTP request from our server to a browser-specific channel, without requiring the user to have the site loaded and active in their browser.

Would require a server-side component to store per-user subscriptions, handling of keys, and agreement from clients about what kinds of content would be suitable to send in this way.

Closing as we're looking to trim down overly broad / hypothetical tickets.  I hope that one day we will return here.


Lots of Questions on CALF-Calibration

Hello SoccerNet Dev Team,
I'm currently in the process of reading your paper on CALF-Calibration, and the entire pipeline along with the results are very impressive. I have a (many) few questions on parts of the paper/code I'm confused with, and would really appreciate it if any of you could help clear up my confusion. I know I have many questions written below, and completely understand if you're unable to answer them due to the volume. Still, I would love to dig deeper into your work, and it would be amazing if you could help me do so.
As always, thank you so much for your time, and I'm of course looking forward to your new discoveries!
Note: As mentioned in my previous issues, I'm trying to use action-spotting in the context of badminton.

Section 3: Calibration Algorithm
Here it says "We base our calibration on the Camera Calibration for Broadcast Videos (CCBV) of Sha et al. [38],
but we write our own implementation, given the absence of usable public code". I thought the public implement is here based on mentions from #19 and #32.

Section 3: Our training process
Since there's not a large enough public dataset of ground-truth calibrations, it seems you needed to use a student-teacher distillation approach. Why does this require this approach? It's also mentioned that you use the "Xeebra" from Evs to obtain the pseudo-GT calibrations. And in the CCBV repo in ./calibration_data/model.png I assume I have to swap this out for a badminton court for my application. And in ./calibration_data/dictionary.json, the data format is:

{
  {
        "posX": 0.03973018142882254,
        "posY": 68.63033722968056,
        "posZ": -15.718964999679423,
        "focalLength": 4576.520967734781,
        "pan": 7.544952667759858,
        "tilt": 77.55662442882397,
        "template_id": 0,
        "calibration": [
            4576.520967734781,
            0.0,
            960.0,
            0.0,
            4576.520967734781,
            540.0,
            0.0,
            0.0,
            1.0
        ],
        "homography": [
            4659.98895334099,
            -328.4171986412632,
            25605.797859625953,
            -60.243484492166004,
<PHONE_NUMBER>686411,
            40864.09122521112,
            0.1282196063258542,
            -0.9680549606981291,
            69.81988273325322
        ],
        "homography_resize": [
<PHONE_NUMBER>445312,
            -43.788963317871094,
            3414.106689453125,
            -8.032465934753418,
            60.64492416381836,
            5448.544921875,
            0.1282196044921875,
            -0.9680549502372742,
            69.81988525390625
        ],
        "image": "/home/fmg/sources/mmeu/data/meanshift2/gmm/dictionary-four/dict-0000.png"
    },
    ...
}

I assume this is the format that "Xeebra Evs" product will write the data as? And I believe the model predictions are in the 1_field_calib_ccbv.json files?
As a follow up to Q1, if you didn't use the CCBV code, have you open-sourced your student calibration algorithm?

Section 3: Player localization
It says for each frame, you use Mask R-CNN to obtain the bounding box, segmentation mask, and average RGB color of each detected/segmented person. When checking the 1_player_boundingbox_maskrcnn.json files, I see bbox, color and onfield predictions. Is onfield the image segmentation mask?

Section 3: Player localization
It then says "Then, we compute a field mask following [10] to filter out the bounding boxes that do not intersect the field,
thus removing e.g. staff and detections in the public". Is this lines 233-237?

Section 3: Player localization
Following up on Q4, it then says "We use the homography computed by CCBV-SN to estimate the player localization on the
field in real-world coordinates from the middle point of the bottom of their bounding box". Is this lines 260-273?

Code Blob
From #6 I gather that lines 240-257 is to transform the current frame into a top view representation? What's a "calibration cone"? Do you have an image of what it looks like?

Section 4: Top view image representations
From issue #32 I've gathered that lines 68-82 save the top view images, and I can just edit the save paths to keep them instead of overwriting them. You also read in images src/config/radar.png and src/config/model-radar-mini.png. What are these "radar" images?

Section 4: Feature vector representations
It seems that lines 89-130 load the model required to get the feature vector representations from the top view representations (depending on which backbone we want to use) and are compute & saved in lines 303-324?

Section 4: Player graph representation
Is this somewhere in the repo? I can't find the code where this at all.

Other
What do lines 276-286 and lines 289-297 do?

Hi @Wilann,
Here is the answers to your question :-)

The code you mention is indeed our re-implementation of CCVB by Floriane Magera from the "EVS broadcast Equipments" company. She is our collaborator on the paper and re-implemented the method herself.

CCBV is the calibration student and the commercial product is the teacher. We did not want our method to rely on a private company product, which is why we distilled it into an open-source architecture (CCBV). Otherwise, people using our method would have to buy the product to reproduce the results, which is not really fair for the scientific community.  We wanted a method that is 100% open-source, so that people can try it freely on their own games for research as well. If you want to have a calibration model for badminton, you would have to retrain completly CCBV from scratch with you own annotated data (or use an available calibration algorithm).

No, the segmentation mask of the players was only used to compute the average color, but was not saved in the final json file. onfield just says if the bounding box intersects the field (hence more or less if it is a player or referee: 1 , or someone in the public: 0)

No, this was done in a separate code that I don't think is available in the devkit, as it is basically a code from one of our previous work. (See https://github.com/cioppaanthony/online-distillation/blob/master/utils/field.py)

No, this was also done in a separate code that I think was not shared. What you mentionned is something we tested but that did not really improve the results, it's basically drawing a trail behind the players (a bit like tracklets) in the final image representation. So it is not used in the command line we provide.

This is simply the part of the field that the camera sees, basically the green channel of Figure 2 (a) in the paper.

These radar images are the background used for Figure 2 (a) of the paper as well. This is just to have a reference of where the players are on the field in the representation. However, lines 68-82 do not save anything, they rather load everything in memory in the correct format.

Exactly.

Yes, it is right here: https://github.com/SilvioGiancola/SoccerNetv2-DevKit/tree/main/Task1-ActionSpotting/CALF_Calibration_GCN

They draw the bounding boxes as filled rectangles in the player's average color. he first part is when there is a calibration (hence on the top-view) and the second part is when you have no calibration (drawn on the image plane, this was just for ablation that did not make it in the paper, don't worry about it).

I hope this helps you understand better our method! :-)

Hi again @cioppaanthony,
Thank you so much for such detailed and fast responses! I have some follow up questions below:

I see, so I would have to get my own annotated data. How would I begin to do so? I see the data format is in:

{
    "homography": [
        1644.5538330078125,
        -801.4969482421875,
        46028.890625,
        11.810320854187012,
        -8.94961929321289,
        22109.705078125,
        -0.011232296004891396,
        -0.788362979888916,
        45.37401580810547
    ]
}

How would I annotate this homography data?
Since I wouldn't use a teacher-student approach, I believe I can delete all code related to args.teacher - is this correct?
Also, it seems the CCBV repo doesn't have a training pipeline - I'm not familiar with CCBV at all, but would be it possible to somewhat-easily create the pipeline from the given classes?

Here's how I'm planning on computing the average color - does it make sense?
Steps:

Use Mask R-CNN to get segmentation mask of each player
Average RGB color of all points within the keypoints

Note: For the package I'm using, when there are 2 instances, I'm getting a tensor of shape [2, 1080, 1920] with boolean values. Do I just have to get the RGB color of "True" values then average them?

Following up on Q3, so field.py calculates onfield? Here are the steps I'm considering - please let me know if it makes sense or not:
Steps:

Use Mask R-CNN to get player bounding boxes
Use _______ to get field lines (not sure what I would use)
Use field.py to filter bounding boxes that do not intersect the field

What would I use to get the field lines?

Following up on Q4 (and after I actually train the CCBV model), how would I use homography from CCBV to estimate player localization on the field (from the middle point of the bottom of their bounding box - aka mostly their shoes)?

Also, where is this player localization being used in the code?

New Questions:

What do these variables mean:

args.mode - I don't think it's used anywhere
args.feature_multiplier - Used in the model somehow?
args.calibration_physic
dim_representation_player - What is this, and why should it be an even number?
args.with_dense
args.with_dropout - Is this just to see if dropout improves performance or not?

What are the "copy" functions in the model used for?
For example, init_2DConv(...) vs init_2DConv_copy(...), etc.

Thank you again for taking the time to read and answer my questions! I'm still new to many things about CALF_Calibration and CCBV, but I hope my questions made sense.

I am also interested in this question.
I also want to run train using CALF_Calibration_GCN.
I have an external video, but I'm still investigating what else I need. (Json label?)

Hi @Wilann,

What you a showing (the camera calibration json) is not groundtruth data for training CCBV, but the predictions of CCBV. I'm not sure what Floriane Magera (author of the CCBV code) used to train the network. I would suggest you raise an issue directly on CCBV's github for her to see your question, same for the training pipeline which I unfortunately don't have.

Note that args.teacher is not related to the teacher-student distillation (which is out of the scope of this repository). This argument was simply for us to try using directly the predictions of the big commercial product teacher.

That's exactly the procedure we've used! :-)

You don't need the field lines in the case of soccer, the field mask is sufficient to filter out most detections outside the field. If you have the field lines for badminton, you can use them to filter only bounding boxes intersecting your field

This is basically what's done between lines 218-297  and 328-402 of https://github.com/SilvioGiancola/SoccerNetv2-DevKit/blob/main/Task1-ActionSpotting/CALF_Calibration/src/dataset.py. The player localization is stored in representation_half_1 and representation_half_2, which is later used in the model.

mode: unused indeed, it was for experiments
features_multiplier: simply states by how much to multiply the number of features in the latent space of the original CALF(times 2 for instance). This is just to increase the size of the network for ablation purposes.
calibration_physic: In Figure 2 of the paper, to get the representation with one type of information per channel, without the player color information). This was also done for ablation purposes.
representation_player:  It is the size of the square in the representation from the top view (see Figure 2 (a) of the paper). It should be even because we use this self.size_radar_point//2 when drawing the players, so just to avoid being surprised that the representation does not change between 4 and 5 for instance.
with_dense: uses a dense layer to get to the latent space of CALF rather than the pyramid module (for ablation purposes)
with_dropout: we added a dropout on the latent space for ablation purposes.

This is when we tested it with a larger resnet architecture for the input features, which required 1792 input features instead of 512. This was also only for ablation purposes.

Thank you for your questions, it made me realize that the code contains too many unused stuffs that were used for ablation and that I should clean. What would you think of a minimal working code rather than this long code? I could try to produce it when I have a bit of time if you think it would be valuable.
@DogFortune
For that, you need calibration predictions from an algorithm (for instance CCBV) and player information with bounding boxes and average colors (for instance with Mask R-CNN).

Hi @cioppaanthony,

In badminton, there are line judges all around the court, which Mask R-CNN often picks up on, for example:

Sometimes it also identifies players on the screen in the stadium, as well as coaches when they're off the court (where there are no fielid lines). Would this impact the training process or results?

To get the field lines would I have to manually label them or use a calibration algorithm like CCBV?

For calibration_physic, do you mean Color Composite Image (False) and Binary Channel Image (True)?

I've also noticed that setting self.backbone_player == "3DConv" is the same as setting self.calibration == True, since I've removed the second part from your comment above:

They draw the bounding boxes as filled rectangles in the player's average color. he first part is when there is a calibration (hence on the top-view) and the second part is when you have no calibration (drawn on the image plane, this was just for ablation that did not make it in the paper, don't worry about it).

Thank you for answering my questions! I've personally already made the changes to my own copy of the code (with my own dataset, removing the half2 variables, and so on), so it wouldn't benefit me much. Although if you 'd like I could make the same changes to this repo with a PR (without removing the half2 and things like that). It would be my first PR, but let me know if I could help in this sense.

Hi @Wilann,
Judging from the images you sent, I doubt that any calibration algorithm would work as it is mostly close-up shots. Calibration can be useful in soccer for instance when you have a camera that films most of the soccer field from above, where you can clearly see the lines and thus compute a proper homography. Furthermore, since in badminton you only have 2 to 4 players at the same time, I'm not sure how much relevant information can be extracted from player localization. In soccer, the advantage is that it is easier to see team formations, like defense lines for instance. i'm not sure how that would translate to badminton.
And if you don't already have a calibration algorithm for badminton, I guess the only solution is indeed to annotate the lines and train your own model (or find one that already exists for badminton). This can be really time consuming, for a potentially low increase in performance. Therefore, I'm not sure I would recommend taking this route in your case.

Yes exactly.

About the PR, don't worry, we will keep the code up to date internally at this time, thanks for proposing. :-)

Hi @cioppaanthony
The 1st frame occurs in ~30% of a match, and the 2nd frame doesn't occur often (as it's just a quick coaching phase, maybe ~4%). I've noticed that rallies take ~30% of a match, and start of rallies often look like this frame (below), where players are always in this formation:

I understand that classes are split into patterned and fuzzy groups, and was thinking that "Rally Start" would benefit since I could classify it as patterned (because of this starting formation), but "Rally End" would just use the vanilla CALF pipeline.
Thank you for your insights! I also currently looking into NetVLAD++ to see if my use case can benefit from it.

Hi @Wilann,
Oh I see!
Therefore yes, you're right. The separation you propose between patterned and fuzzy makes sense in your case.
Good luck in your research with NetVLAD++ as well!

Hi @cioppaanthony,
That's great to hear! Thank you so much for confirming my idea - really appreciate you taking the time to help me out!


control: wrap ipopt config into DistanceApproachConfig

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: deidaraho:x: runxinherunxinhe seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Use docker buildx to add arm platform to our docker image

Now docker can Building Multi-Architecture Docker Images With Buildx which is very nice.
We use a different branch/tag for armhf support in the past, I believe it's time to use the latest docker buildx technology now.
Related to: #52 #9

We have just published an experimental version of SMF 1.2:
$ docker buildx imagetools inspect zixia/simple-mail-forwarder:1.2
Name:      docker.io/zixia/simple-mail-forwarder:1.2
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest:    sha256:7cacf28ae8a6d86c6dab3d42dc5dd0464235f7cd8de524bb12c53aec11129398

Manifests:
  Name:      docker.io/zixia/simple-mail-forwarder:1.2@sha256:b68f59095e5c38bd22677885e9c78e2bb9c4e9e810059aadde6ab650cc3d204a
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/amd64

  Name:      docker.io/zixia/simple-mail-forwarder:1.2@sha256:45de2c7c96ebba77ed708e221cdb79e03ac18f8c20e94a9c75af80e49a28748c
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm/v6

  Name:      docker.io/zixia/simple-mail-forwarder:1.2@sha256:e22830cca614c2631e698261dcfd182b3a66bc4fd0d78881b1c9896ae623c80e
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm/v7

Please let me know if you can confirm any of those versions works as expected.

Implemented by https://github.com/huan/docker-simple-mail-forwarder/commit/cd1410d2b5762ec2039d66d2cd9c751d7d195374

We have republished v1.3 with multi-platforms docker image support (powered by buildx), please test and let me know whether it works under your platform.

Hi @dimitrovs, please take a look at our new v1.3 version of multi-platforms docker images which can manage all architectures  (arm/x86) in the same master branch!

maybe im doing something wrong but -

the container restarts after that, stuck on a loop (arm64, rock pi 4A)

@mrsufgi It seems that the arch is not right for your platform:

cannot execute binary file: Exec format error

Could you please tell us what docker image platform are you using?
We will use the arm version from https://github.com/just-containers/s6-overlay/releases/, please let me know if you can confirm it can work with the arm64 with rock pi 4A or not:
https://github.com/huan/docker-simple-mail-forwarder/blob/044933af0495eff8b5c58b7f8a5358bf0432400f/script/install-s6-overlay.sh#L13-L21

The latest SMF with v1.3.1 has been published.
Please try to upgrade to it to see if your problem has been solved or not on the arm64 rock pi 4A.

docker image is still 1.3 (and latest is still 1.3), just removed local image and started again, same error.

Just tried latest and 1.3 tag. They seem not to work. The container boot-loops.
If I run it from entrypoint: /bin/sh then run the entrypoint manually I get:
s6-supervise syslog-ng: warning: can't happen: timeout while the service is up!
s6-supervise postfix: warning: can't happen: timeout while the service is up!

And it keeps going on like that.
Raspsberry Pi OS with armf userspace and 64bit kernel.

We have created a new issue to track the arm 64 architecture and let's close this finished issue.


Not properly maximizing window

this is what the window should look like maximized Not using the system title bar and borders option.

now this is what happens when move the window around and maximize it back again:

this wasn't happening in the previous version, i'm on debian bullseye

this isn't happening on chromium for but it does for ungoogled chromium

Which version of ungoogled-chromium are you referring to? This issue was fixed several minor versions ago.


changed db

Assignee Tasks

[ ] added unit tests (or none needed)
[ ] written relevant docs (or none needed)
[ ] referenced any relevant issues (or none exist)

Guidelines
Please add a description of this Pull Request's motivation, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant information for posterity.

Your PR Notes Here

@comrashley — this is the base Fullstack repo, not your own fork. We recommend not forking boilermaker, but rather cloning it, and creating a GitHub repo with the clone pushed up to it. :-)


Refactor DB to replace "{domain}" with "http://localhost:8080" in self_link_href and up_link_href columns

Duplicate of #77.


lint-fmt should use the same opam-repository hash as the builds

Both lint-doc and lint-opam reset opam-repository to the hash computed in the analysis stage. lint-fmt does not, which cause failures in runs when a new Dune release is not yet available in the base image.
The lint-fmt stage (hopefully) simply needs to do the same:
RUN cd ~/opam-repository && (git cat-file -e 96c14a5143c10fe40487ddb2b446e5fe67d3b870 || git fetch origin master) && git reset -q --hard 96c14a5143c10fe40487ddb2b446e5fe67d3b870 && git log --no-decorate -n1 --oneline && opam update -u

step as the other stages.

I do not know if it is exactly related, but I got this error in the lint-fmt stage too when trying locally ocaml-bitwuzla:
#13 [stage-0 5/5] RUN opam exec -- dune build @fmt || (echo "dune build @fmt failed"; exit 2)
#13 sha256:7828afe346e0766b85218e6b192bee48701a3bf7101186155367ef38fbee98ec
#13 0.599 File "dune", line 10, characters 8-14:
#13 0.599 10 |    (lib zarith)))
#13 0.599              ^^^^^^
#13 0.599 Error: Library "zarith" not found.
#13 0.599 Hint: try:
#13 0.599   dune external-lib-deps --missing @fmt
#13 0.600 dune build @fmt failed
#13 ERROR: executor failed running [/bin/sh -c opam exec -- dune build @fmt || (echo "dune build @fmt failed"; exit 2)]: exit code: 2
------
 > [stage-0 5/5] RUN opam exec -- dune build @fmt || (echo "dune build @fmt failed"; exit 2):
------
executor failed running [/bin/sh -c opam exec -- dune build @fmt || (echo "dune build @fmt failed"; exit 2)]: exit code: 2
2021-07-06 17:04.18: Job failed: Docker build exited with status 1

Here, the foreign stubs require the include directory of zarith but the lint-fmt did not install any of the dependencies, so the stage fails.

Fixed by @kit-ty-kate in #357.
@recoules that looks like a separate issue. Possibly a dune bug? I think dune build @fmt is supposed to work even if the dependencies aren't present.


add video auto cropping

LivePortrait has support video auto cropping , please add it to comfyui

In the develop branch the cropping was already separated to its own node, and thus can be used to autocrop the driving video as well.

Could you please provide an example workflow using the LivePortraitCropper node? Currently the source image and the video seem to be swapped (it is cropping and outputing the source image and not the driving video)

But I'm probably missing something?

Could you please provide an example workflow using the LivePortraitCropper node? Currently the source image and the video seem to be swapped (it is cropping and outputing the source image and not the driving video)

But I'm probably missing something?

You need to add another cropper node so that source and driving have their own, but only connect the source cropper info. There's example workflow included, it's just disconnect on it by default.

I see, thank you for the explanation.

Could you please provide an example workflow using the LivePortraitCropper node? Currently the source image and the video seem to be swapped (it is cropping and outputing the source image and not the driving video)

But I'm probably missing something?

You need to add another cropper node so that source and driving have their own, but only connect the source cropper info. There's example workflow included, it's just disconnect on it by default.

Hi there, I see a unique simple example workflow with no cropper in the repo, do you have the link please

Are you on the develop branch? The LivePortraitCropper is only in the develop branch. You can run:
git fetch
git checkout develop

In the ComfyUI-LivePortraitKJ repo.

Anyone facing  the below error?  i am on the develop branch and the crop info nodes are connected
Error occurred when executing LivePortraitProcess:
LivePortraitProcess.process() got an unexpected keyword argument 'crop_info'


Adding a day off should apply to all teams (and possibly projects)

When a user adds a "day off" via the Team Calendar, it's reasonable that the user should be marked as "off" in other teams/projects, not just the current project.

At least there should be an option to do so (checkbox 'share with other calendars'). Sometimes it makes sense to add "day off" to one team calendar because the person is working for the other team during that timeframe and vise versa.


Fix: decode path in signature creation

When receiving a percent-encoded URL we need to percent-decode the path component to obtain a valid signature.

Note: I am not enforcing the encoding in the input, the URL must be properly encoded from outside (otherwise there may be issues, for example when using the # character which can be used for hash if not encoded)

Your PR is blocked because this repository has 6 security vulnerabillity issue(s) with critical or high severity:

minimist (CRITICAL severity). PR created by dependabot: https://github.com/oneflow/oneflow-sdk-js/pull/69
ansi-regex (HIGH severity). PR created by dependabot: https://github.com/oneflow/oneflow-sdk-js/pull/70
npm (HIGH severity). PR created by dependabot: https://github.com/oneflow/oneflow-sdk-js/pull/71
minimatch (HIGH severity). PR created by dependabot: none
json5 (HIGH severity). PR created by dependabot: https://github.com/oneflow/oneflow-sdk-js/pull/74

To unblock your PR you must fix security issues with CRITICAL or HIGH severity.
If there's no dependabot PR to fix the issue yet and you're planning on fixing it, make sure to include bump {packageName} into your commit message.
If you already fixed this issue in a different PR, please merge your branch with the default repo branch to unblock it.
If you already fixed the issue in this PR but didn't include bump {packageName} into your commit message, please edit the PR title or body so it includes bump {packageName} or update vulnerable dependencies. This will trigger the action again and will unblock the PR.

:tada: This PR is included in version 2.1.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New documentation for vstest

Description
New documentation which will be in vstest repo will be mainly focused about general functionality which is provided by TP and may be helpful for developers who use TP and new contributors.
Related issue
Kindly link any related issues. E.g. Fixes #xyz.

There's a slightly more detailed diagram in vstest-docs that we can link to from here as well.


Add missing createSIPParticipant params

The following params exist in the Go SDK but not in the node SDK:
- RingingTimeout
- MaxCallDuration
- EnableKrisp

They were added last month to the protocol: https://github.com/livekit/protocol/commit/19b686d3128927e025eb9d5258c636cc0de3e790
Tested in my local project to work correctly.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Added a change set as I assume there will be a minor version bump with this change. Feel free to take over the PR as a maintainer or ping me if I can help with something.

Pinging @dennwc for review as I saw you reviewed another SIP PR.
Hope not the wrong reviewer 🙏🏽


Openfire-Meetings视频聊天

Openfire-Meetings 视频聊天怎么嵌入到web网站，我将视频聊天地址放到web网站之后总是提示要验证用户身份，但是我的web网站已经登录了啊，转到视频聊天之后怎么去掉这个验证呢，直接就用我web网站的用户进行视频聊天。

Translated by google

How does Openfire-Meetings video chat be embedded into a web site? I always prompt the user to verify the identity of the user after placing the video chat address on the web site, but my web site is already logged in. How do I remove this verification after going to the video chat? Video chat directly with users of my web site