Controlplane part of forwarder-vpp leaks

Description
forwarder-vpp has two interface leaks:

timeout chain element doesn't call Close for expired connections. Therefore, vpp interfaces are not deleted
Even if we call Close in forwarder-vpp it doesn't delete vxlan interfaces

Tasks

[x] Investigate why timeout doesn't call Close - 8h

[x] Make timeout chain element close connetions faster - 1h
[x] Add  logs to timeout chain element - 1h
[x] Run tests with the modified timeout - 3h
[x] Check collected logs - 3h

[x] Fix timeout chain element - 24h
[x] Investigate why forwarder-vpp doesn't close vxlan interfaces - 6h

[x] Run scaling tests - 3h
[x] Check collected logs - 3h

[x] Fix vxlan problem - 16h

Total: 54h

All changes that fix tap interface leaks are in these PRs:

https://github.com/networkservicemesh/sdk/pull/1643
https://github.com/networkservicemesh/sdk-vpp/pull/835

Seems like the problem still exsisting and to forwarder is leaking:

The picture shows mem consumption for forwarder vpp.
forwarder-vpp_goroutineprofiles_20240920082027.tar.gz
forwarder-vpp_memprofiles_20240920082112.tar.gz

Current plan

[ ] Test 40 clients and 1 endpoint on Azure cluster with 2 nodes for 24 hours. Collect memory, goroutine profiles, vpp memory profiles and kubectl top after 10 min of testing and after 24 hours of testing.
[ ] Test 40 clients and 1 endpoint on Azure cluster with 2 nodes for 24 hours. Scale clients for 0 to 40 every 60 seconds. Collect memory, goroutine profiles, vpp memory profiles and kubectl top at the beginning, after 10 min of testing and after 24 hours of testing.

After fixing context leaks in nsmonitor and timeout chain element forwarder shows the next results on 30 NSCs and 10 NSEs:
3h of testing:
nsm-system    forwarder-vpp-gr729                   135m         363Mi
nsm-system    forwarder-vpp-zjd5x                   200m         390Mi
nsm-system    nsmgr-25vvt                           167m         92Mi
nsm-system    nsmgr-f6rjf                           92m          71Mi

18h of testing:
nsm-system    forwarder-vpp-gr729                   132m         401Mi
nsm-system    forwarder-vpp-zjd5x                   199m         438Mi
nsm-system    nsmgr-25vvt                           175m         97Mi
nsm-system    nsmgr-f6rjf                           92m          74Mi

3d20h of testing:
nsm-system    forwarder-vpp-gr729                   272m         421Mi
nsm-system    forwarder-vpp-zjd5x                   310m         443Mi
nsm-system    nsmgr-25vvt                           197m         103Mi
nsm-system    nsmgr-f6rjf                           101m         78Mi

4d5h of testing:
nsm-system    forwarder-vpp-gr729                   228m         417Mi
nsm-system    forwarder-vpp-zjd5x                   203m         448Mi
nsm-system    nsmgr-25vvt                           213m         101Mi
nsm-system    nsmgr-f6rjf                           110m         83Mi

30m after testing:
nsm-system    forwarder-vpp-gr729                   66m          414Mi
nsm-system    forwarder-vpp-zjd5x                   63m          428Mi
nsm-system    nsmgr-25vvt                           49m          87Mi
nsm-system    nsmgr-f6rjf                           46m          73Mi

memory and goroutine profiles don't show any leaks 30m after testing. Here are all profiles: traces.zip

@NikitaSkrynnik attached archive is empty, could you resend it?

We found that Go runtime in nsmgr (probably in forwarder-vpp too) is aware of the memory consumption shown by the metrics server in Kubernetes. Runtime can allocate big chunks of memory during highload tests but usually don't return them to the kernel. It's due to default memory management settings in Go.
This behaviour can be changed by setting env var GODEBUG=madvdontneed=1. It makes Go runtime return memory to the kernel as soon as the memory is not needed.

Forwarder VPPTesting
After 150h of highload testing with 30 clients and 10 endpoints on Azure cluster forwarder memory growth is:

forwarder memory consumption is slowly growing. Go memory profiles show 6mb of allocated memory after 150h, goroutine count is 288.
vpp memory usage for forwarder-vpp-qhn7q is:

Hi, @szvincze! We don't see any memory leaks on our side. Could you tell about your test results? Is everything stable on your side? Can we close this issue?

@szvincze we've added a potential fix for the problem https://github.com/networkservicemesh/sdk-vpp/pull/877
if you get a chance please test latest main images.


Unable to launch homebridge after adding -hue

I've been running homebridge for a few months with the plugin-wemo system and it's been great...
I've added a Hue Bridge v2 square and a couple of lightstrips via HomeKit... however I want to bring a Hue Dimmer switch and eventually a motion detector in.
I've installed homebridge-hue, updated my config.json
{
	"bridge": {
		"name": "TakeItToTheBridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "xxx-xx-254"
	},

	"platforms": [{
		"platform": "BelkinWeMo",
		"name": "WeMo Platform",
		"noMotionTimer": 60,
		"ignoredDevices": []
	}, {
		"platforms": [{
			"platform": "Hue",
			"name": "Hue",
			"users": {
				"001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
				"001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
			},
			"sensors": true,
			"excludeSensorTypes": ["Daylight", "CLIP", "Geofence"],
			"lights": true,
			"ct": true
		}]
	}]
}

And when I run homebridge it fails to launch:
[4/12/2017, 7:02:01 AM] Loaded plugin: homebridge-hue
[4/12/2017, 7:02:01 AM] Registering platform 'homebridge-hue.Hue'
[4/12/2017, 7:02:01 AM] ---
[4/12/2017, 7:02:01 AM] Loaded plugin: homebridge-platform-wemo
[4/12/2017, 7:02:01 AM] Registering platform 'homebridge-platform-wemo.BelkinWeMo'
[4/12/2017, 7:02:01 AM] ---
[4/12/2017, 7:02:01 AM] Loaded config.json with 0 accessories and 2 platforms.
[4/12/2017, 7:02:01 AM] ---
[4/12/2017, 7:02:01 AM] Loading 2 platforms...
[4/12/2017, 7:02:01 AM] [WeMo Platform] Initializing BelkinWeMo platform...
/usr/local/lib/node_modules/homebridge/lib/api.js:108
  if (name.indexOf('.') == -1) {
          ^

TypeError: Cannot read property 'indexOf' of undefined
    at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:108:11)
    at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:284:45)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

I'm completely stuck - I've removed homebridge-hue and reconfigured my config.json file back for wemo and it's working again.
Any help would be great!
Ps. thanks for doing so much brilliant work - reading through this, I'm amazed at how much you've done!

I've never seen this error, but I think it might be caused by an error in your config.json.  It shouldn't have a nested platforms array, just a single array with two objects:
{
	"bridge": {
		"name": "TakeItToTheBridge",
		"username": "CC:22:3D:E3:CE:30",
		"port": 51826,
		"pin": "xxx-xx-254"
	},
	"platforms": [{
		"platform": "BelkinWeMo",
		"name": "WeMo Platform",
		"noMotionTimer": 60,
		"ignoredDevices": []
	}, {
		"platform": "Hue",
		"name": "Hue",
		"users": {
			"001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
			"001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
		},
		"sensors": true,
		"excludeSensorTypes": ["Daylight", "CLIP", "Geofence"],
		"lights": true,
		"ct": true
	}]
}

I now have a working homebridge-hue & homebridge-platform-wemo.
I'm utterly in your debt. Thank you so much for this!
Is there a way I can contribute to keep this amazing development going?

Hey, I have been ebaau help a lot of folks out here.  I hope you see this:)  I am trying to setup home bridge with hue and I am having the same issue that I see a lot of people talk about but I haven't been able to resolve it with what I found.  I keep getting the was not registered with any plugin error.
Any help would be GREATLY apprecited
My config.json
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

"accessories": [
    {
        "accessory": "WeMo",
        "name": "Coffee Maker"
    }
],

"platforms": [
  {
        "platform": "PhillipsHue",
        "name": "Hue",
        "host": "<IP_ADDRESS>",
        "users": {
          "001788FFFE4C543A": "m2d8FBHGXwlQigSuRV3c4YGTRbBMYnctk7ysmXM4"
        },
        "sensors": true,
        "excludeSensorTypes": ["CLIP", "Geofence", "Daylight"],
        "lowBattery": 25,
        "lights": false,
        "philipsLights": false,
        "ct": false,
        "wallSwitch": false,
        "groups": false,
        "group0": false,
        "rooms": false,
        "schedules": false,
        "rules": false,
        "heartrate": 2,
        "timeout": 2,
        "parallelRequests": 10,
        "waitTimeResend": 300,
        "waitTimeSwitch": 100,
        "waitTimeUpdate": 20
      }
    ]

}
And this is the error:
homebridge
[6/29/2017, 10:06:45 PM] Loaded plugin: homebridge-hue
[6/29/2017, 10:06:45 PM] Registering platform 'homebridge-hue.Hue'
[6/29/2017, 10:06:45 PM] ---
[6/29/2017, 10:06:45 PM] Loaded config.json with 1 accessories and 1 platforms.
[6/29/2017, 10:06:45 PM] ---
[6/29/2017, 10:06:45 PM] Loading 1 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'PhillipsHue' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:284:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)

You need to specify "platform": "Hue".

Im extremely new to this, probably should have read up on this a lot more before deciding to attempt this. downloaded Homebridge last night and downloaded 3 plugins i desired to have, wasn't able to exactly get Homebridge to find the plugins and frustrated i decided to go backwards and delete everything (which Im sure i may have missed deleting some files)
plugins i tried to make work on homebridge were;
-hisense-remote
-hisensetv
-home assistant
restarting fresh attempting to download homebridge, i am able TO run homebridge, and it states i do not have any plug ins nor config.json
upon opening the config-sample.json, and opening in atom text editor
removing the data in accessories and platforms,
removing -sample portion
moving config.json over to ~/.homebridge
when i now run homebridge,
i get the same
"Error: The requested platform 'PhillipsHue' was not registered by any plugin."
my config.json
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:31",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
"accessories": [],
"platforms": []
}
and here is the error
[12/11/2018, 3:48:12 PM] Loaded config.json with 1 accessories and 1 platforms.
[12/11/2018, 3:48:12 PM] ---
[12/11/2018, 3:48:12 PM] No plugins found. See the README for information on installing plugins.
[12/11/2018, 3:48:12 PM] Loading 1 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'PhilipsHue' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:316:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
Please, any help would be greatly appreciated.
I am still looking up where I may have gone wrong, thank you.

You’re using a different config.json than the one listed above.  Are you running homebridge as the right user?
Make sure you install homebridge and all plugins globally, using:
sudo npm -g i homebridge --unsafe-perm
sudo npm -g i homebridge-xxx

i had already attempted to add homebridge to my homekit, to which i got an error saying if i wanted to add an accessory, i had to reset it ... not exactly word for word the error, but on google i saw people saying to change the bridge username and it would work if i tried scanning it to add to my homekit for my iphone.
i used the first homebridge install
sudo npm -g i homebridge --unsafe-perm

The config.json that homebridge is using is not the config.json you listed.  You have another copy of that file somewhere.

i did download that file several times and used the same name, is there any way i can do a general search or uninstaller to remove every one? or will I have to manually search?
thanks @ebaauw !

wow.... i NEVER do this, i (embarrassingly) assumed it wasnt necessary to save in atom anytime i modified a file, I had deleted several times my cached accessory but never hit save. that fixed it. thank you @ebaauw for such a speedy reply!


Support for structured logging (JSON) #437

Added json_logs feature and made the used logging library dependend on the current feature flag setting.

The logging seems to be working as expected. It is possible to switch between env_logger and json_env_logger2 using the json_logs feature:

I used the following configuration for testing:
[source]
type = "N2N"
address = ["Tcp", "relays-new.cardano-mainnet.iohk.io:3001"]
magic = "mainnet"

[source.mapper]
include_block_end_events = false
include_transaction_details = true
include_transaction_end_events = false
include_block_cbor = false
include_byron_ebb = false

[[filters]]
type = "Selection"

[filters.check]
predicate = "variant_in"
argument = ["Block","Transaction","RollBack"]

[sink]
type = "Stdout"

The following commands seem to work as expected:
cargo run -- daemon --config ./mainnet_tcp_config.toml
cargo run --features json_logs -- daemon --config ./mainnet_tcp_config.toml


Data forwarding repeatedly stopping

I have a problem on 2 different installations where BS just stops forwarding the data after 24-36 hours after a re-start.
This only happens where BS connects over LAN/TCP to the source, never when it uses a /dev/usb port.
INPUT_OPTIONS="--net <IP_ADDRESS>:10003"
The TCP connection  stays up, BS answers new local connections to the output ports, but no data is coming through.
if I stop and start the service, everything works again for a day or two.
TCP keepalive issue?  In my experience they cause this kind of problems, better just check if data is coming in or re-connect.
The source are Radarcapes.
EDIT: Also with Dump1090 on the other end it shows the same problem.
● beast-splitter.service - Mode S Beast data forwarder
Loaded: loaded (/lib/systemd/system/beast-splitter.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-08-27 09:17:02 CEST; 1 weeks 0 days ago
Docs: https://github.com/flightaware/beast-splitter
Main PID: 391 (beast-splitter)
CGroup: /system.slice/beast-splitter.service
└─391 /usr/bin/beast-splitter --net <IP_ADDRESS>:10003 --listen localhost:35005:RCdfGi --listen localhost:45005:Bcdfgij

When it gets stuck, what is the state of the TCP connection? Is new data actually arriving from the remote site? Is there data waiting in the receive buffer that beast-splitter isn't reading? What does the Radarcape think the state of the connection is?

I have another one here that is stuck right now if you need further details. Here the other side is actually dump1090-fa on another Rpi.
OUTPUT_OPTIONS="--listen localhost:30005:BCdfGi --connect localhost:30004:BCdfGi"```

All connections show "Established".

netstat -tpn | grep beast
tcp        0      0 <IP_ADDRESS>:54598         <IP_ADDRESS>:30004         ESTABLISHED 16357/beast-splitte
tcp        0      0 <IP_ADDRESS>:30005         <IP_ADDRESS>:54054         ESTABLISHED 16357/beast-splitte
tcp        0      0 <IP_ADDRESS>:44636      <IP_ADDRESS>:30005       ESTABLISHED 16357/beast-splitte
tcp        0      0 <IP_ADDRESS>:30005         <IP_ADDRESS>:52514         ESTABLISHED 16357/beast-splitte

There is plenty of data if I make a parallell connection to the same port, but none on the BS output ports.

root@P-ESSE01:~# nc localhost 30005
^C
root@P-ESSE01:~#

root@P-ESSE01:~# nc <IP_ADDRESS> 30005
2??R?K?]Fv?r2??R?x?=P?3??R?켠0?????s?3??R??-w???`0???Z?2??SK?]Fv?r3??S?w????????B??3??Sа????*A4?
}k?2??S?? ?Œ?2??SLλ]Fv?r3??S-?;?FX??qH??2??S?f]D	?^T?3??S?'?0?????s?2??LO)]BB??vQ3????'???g: ?է!2??S	^?<]F??e$3??S	ѻ'?0?9?0?>?)2??S
ҫ& 0K?)2??S
??? 0K?+3??S
??Р??i??7??@?2??S
??+?F!/?!??3??S??;???A ???GE?2??S?(     ^

The service is active and there are no attempts to re-connect to 1.8

root@P-ESSE01:~# systemctl status beast-splitter.service
● beast-splitter.service - Mode S Beast data forwarder
Loaded: loaded (/lib/systemd/system/beast-splitter.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-08-26 17:18:05 CEST; 1 weeks 1 days ago
Docs: https://github.com/flightaware/beast-splitter
Main PID: 16357 (beast-splitter)
CGroup: /system.slice/beast-splitter.service
└─16357 /usr/bin/beast-splitter --net <IP_ADDRESS>:30005 --listen localhost:30005:BCdfGi --connect localhost:30004:BCdfGi --status-file /run/beast-splitter/status.json
Sep 03 21:31:54 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:52758: settings changed to BCdfgij
Sep 03 21:34:24 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:52758: connection closed
Sep 03 21:34:24 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:30005: accepted a connection from <IP_ADDRESS>:52778 with settings BCdfgi
Sep 03 21:34:24 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:52778: settings changed to BCdfgij
Sep 03 21:36:54 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:52778: connection closed
Sep 03 21:36:54 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:30005: accepted a connection from <IP_ADDRESS>:52798 with settings BCdfgi
Sep 03 21:36:54 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:52798: settings changed to BCdfgij
Sep 03 21:39:25 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:52798: connection closed
Sep 03 21:39:25 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:30005: accepted a connection from <IP_ADDRESS>:52812 with settings BCdfgi
Sep 03 21:39:25 P-ESSE01 beast-splitter[16357]: <IP_ADDRESS>:52812: settings changed to BCdfgij

What does netstat look like on the dump1090 side?
Usually the cause of this sort of behavior is that the sending side no longer believes the connection is alive, but the receiving side never heard the connection teardown messages. This can be e.g. because of a sufficiently long network outage, or intermediate firewalls losing connection state.
dump1090-fa and, I think, Radarcapes will ensure they're always sending regular data, so treating the connection as failed after a timeout with no data is one way to solve it. But this behaviour is not universal so it'd need to be optional. Sending periodic beast commands upstream is another way to detect a failed connection. Enabling TCP keepalives is third way but the typical keepalive timeouts tend to be very large (hours).

Revisiting.
In my experience with TCP data in NMEA & AIS networks, where data is similar and often unidirectional, there is a need to have a data timeout on the receiving side somewhere between 60 and 200 seconds. Otherwise this condition  will appear sooner or later. In this particular case once per day on average.
I now have access to both sides of this connection, here is the Beast-splitter side (IP <IP_ADDRESS> connecting to .1.8:30005)

And here is the dump1090-fa side,

Just like you say there is no connection there any more.
After re-starting beast-splitter:

it is working normally again, for a while.
It would be very good to add an optional data timeout, otherwise the network input is not so useable.
mlat-client handles this already as default I think? It does not have this problem if I connect it directly to a network port without using beast-splitter in between. But then I don't get the ADSB-data to the rest of the system.

Revisiting.
In my experience with TCP data in NMEA & AIS networks, where data is similar and often unidirectional, there is a need to have a data timeout on the receiving side somewhere between 60 and 200 seconds. Otherwise this condition  will appear sooner or later. In this particular case once per day on average.
I now have access to both sides of this connection, here is the Beast-splitter side (IP <IP_ADDRESS> connecting to .1.8:30005)

And here is the dump1090-fa side,

Just like you say there is no connection there any more.
After re-starting beast-splitter:

it is working normally again, for a while.
It would be very good to add an optional data timeout, otherwise the network input is not so useable.
mlat-client handles this already as default I think? It does not have this problem if I connect it directly to a network port without using beast-splitter in between. But then I don't get the ADSB-data to the rest of the system.

Re-visiting. Same problem on another host. It has sat there for a week now thinking the connection is up. A data timeout is needed.
9404 /usr/bin/beast-splitter --net <IP_ADDRESS>:10002 --listen localhost:30005:RCdfGi --listen localhost:40005:BCDfgij --connect localhost:30004:BCdfGi --status-file /run/beast-splitter/status.json
root@P-ESPA01:~# netstat -tpn | grep beast
tcp        0      0 <IP_ADDRESS>:30005         <IP_ADDRESS>:39208         ESTABLISHED 9404/beast-splitter
tcp        0      0 <IP_ADDRESS>:30005         <IP_ADDRESS>:51620         ESTABLISHED 9404/beast-splitter
tcp        0      0 <IP_ADDRESS>:46606     <IP_ADDRESS>:10002     ESTABLISHED 9404/beast-splitter
root@P-ESPA01:~# cat /run/beast-splitter/status.json
{
"radio"    : {
"status"  : "red",
"message" : "Not connected to receiver"
root@P-ESPA01:~# nc <IP_ADDRESS> 10002
24Xħ??=??34Xħ?)V?=?80????34X?QM?	??J%-??2ԧ34X?
No problem to re-connect.

I doubt I'll get to this any time soon - can you look at doing a PR for this?

That "not connected" is a little odd though - I wonder if something else is going on there. What's the last log output?

My understanding is that Beast-splitter "knows" on a data level that it is not receiving status messages (it is a Radarcape), therefor the "Not connected..." messages , but the TCP connection has not been re-established correctly. So BS doesn't "do" anything with the information that the status messages are lost.  Different OSI layers...
I only have log entries back to the 16th, lost connection on the 12th. It just repeats like this and are the incoming connections.
Sep 18 18:47:23 P-ESPA01 beast-splitter[9404]: <IP_ADDRESS>:51810: settings changed to RCdfGij
Sep 18 18:49:53 P-ESPA01 beast-splitter[9404]: <IP_ADDRESS>:51810: connection closed
Sep 18 18:49:53 P-ESPA01 beast-splitter[9404]: <IP_ADDRESS>:30005: accepted a connection from <IP_ADDRESS>:51816 with settings RCdfGi
Sep 18 18:49:53 P-ESPA01 beast-splitter[9404]: <IP_ADDRESS>:51816: settings changed to RCdfGij
mlat-client seems to have a 150s timeout and re-establishes connections repeatedly.
Sep 18 18:59:54 P-ESPA01 vrss-mlat-client[255]: Sun Sep 18 18:59:54 2022 Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
Sep 18 18:59:54 P-ESPA01 vrss-mlat-client[255]: Sun Sep 18 18:59:54 2022 Input connected to localhost:30005
Sep 18 18:59:54 P-ESPA01 vrss-mlat-client[255]: Sun Sep 18 18:59:54 2022 Input format changed to RADARCAPE, 1000MHz clock

I doubt I'll get to this any time soon - can you look at doing a PR for this?

I will look, but my programming skills are unfortunately more in the line of making a script that reads status.json and forces a re-start of the beast-splitter service if there are too many consecutive "Not connected"....

When beast-splitter has seen at least one status message, it expects at least one status message every 15 seconds. If 15 seconds elapses with no status messages, it will disconnect / reconnect, which is basically exactly what you're asking for here:
https://github.com/flightaware/beast-splitter/blob/0b03490bfaa3424adb0f8c108f66abe28b15befe/beast_input.cc#L277
The "not connected to receiver", however, means that is_connected() returns false:
https://github.com/flightaware/beast-splitter/blob/0b03490bfaa3424adb0f8c108f66abe28b15befe/status_writer.cc#L170
https://github.com/flightaware/beast-splitter/blob/0b03490bfaa3424adb0f8c108f66abe28b15befe/beast_input.h#L86
If is_connected() is false, that means that either
a) we have no connection at all; or
b) we have a connection, but autodetection of Beast vs Radarcape mode is still in progress; or
c) we have a connection, but we don't have "sync" (where "sync" means "discovered the start of a correctly formatted message" -- this is more relevant for serial connections, where you might start receiving data mid-message).
For (a) the OS, at least, thinks we have a connection;
for (b) that condition should only last for a few seconds, not hours;
which leaves (c)
So my current guess (in the absence of a bug somewhere in the above code) is that beast-splitter established the most recent network connection, and then absolutely nothing was ever received - no status messages, no data, nothing. Since no status message was received, the must-see-regular-status-messages timeout never gets started and the connection just sits there forever.

Can you try out PR #6 ? (Compiles, minimal testing)


[Enhancement] Support load segment parallel in shared_data

Why I'm doing:
Query may be slow when cache miss if there are many rowset or segments, for Initialization  of segment is serial。
What I'm doing:
Initialization of Rowsets and segments asynchronous
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@mergify backport branch-3.2-jeff-io

ignore backport check: 3.2.7

@smartlxh are these parameters visible to users, if yes, would you pls add the parameter description to https://docs.starrocks.io/zh/docs/3.3/administration/management/BE_configuration/

ignore backport check: 3.2.8


Android FlatList with borderRadius applied does not respect border to clip list items on Android

Description
When applying border radius to a FlatList on Android, FlatList style is not respected when clipping child views in the list. Works on iOS, screen recording for comparison.
Applying 'overflow':'hidden' does not fix.
Steps to reproduce
Render this FlatList:
<View style={{ justifyContent: 'center', alignItems: 'center' }}>                         <FlatList                             style={{                                 width: 150,                                 height: 100,                                 backgroundColor: 'gray',                                 borderBottomLeftRadius:95,                                 borderBottomRightRadius:100,                                 borderTopLeftRadius:180,                                 borderTopRightRadius:165,                             }}                             data={['1', '2', '3']}                             contentContainerStyle={{                                 justifyContent: 'center',                                 alignItems: 'center',                             }}                             renderItem={({ item, index }) => {                                 return (                                     <View key={index} style={{width: 150, height: 50, backgroundColor: 'red'}}>                                         <Text style={{textAlign: 'center'}}>{item}</Text>                                     </View>                                 )                             }}                             numColumns={1}                             horizontal={true}                             pagingEnabled={true}                             decelerationRate={'fast'}                             showsHorizontalScrollIndicator={false}                         />                     </View>
React Native Version
0.73.8, also tested on 0.74.1
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
  OS: macOS 14.5
  CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Memory: 166.17 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.11.1
    path: ~/.volta/tools/image/node/20.11.1/bin/node
  Yarn:
    version: 3.6.4
    path: ~/.volta/tools/image/yarn/3.8.0/bin/yarn
  npm:
    version: 10.2.4
    path: ~/.volta/tools/image/node/20.11.1/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK:
    API Levels:
      - "30"
      - "31"
      - "33"
      - "33"
      - "34"
    Build Tools:
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 33.0.0
      - 33.0.1
      - 33.0.2
      - 34.0.0
      - 34.0.0
    System Images:
      - android-30 | Google APIs Intel x86 Atom
      - android-30 | Google Play Intel x86 Atom
      - android-31 | Google APIs Intel x86_64 Atom
      - android-33 | Android TV Intel x86 Atom
      - android-33 | Google APIs Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
      - android-34 | Google Play Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11076708
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.9
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.1
    wanted: 0.74.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs
No stack trace required

Reproducer
https://github.com/CalNicklin/flatlist-bug-android
Screenshots and Videos
https://github.com/facebook/react-native/assets/102017276/5f6f7f3a-bead-4b48-b861-d878f83414fc

This is known bug where Android only does border clipping to child for  component currently. This will likely be fixed in future version, but workaround could be to wrap list in view, and apply radius to that.

Thanks for the thoughts - unfortunately that doesn't work

@NickGerleman is this the related to the Android bug where borderWidth applied to only one side doesn't render correctly? i.e. should be inset and adhere to borderRadius, instead it's offset.


Fix and improve zap

Improve speed/disk by disabling db recovery log (not a game changer)
See https://groups.google.com/g/zaproxy-users/c/L51nDFh0fjk
Ugrade github.com/zaproxy/zap-api-go
Pin 2.13.0 and add to dependabot.
Fix 2.13.0 not working because of add-on updates after server is suposed to be ready.level=warning msg="Scan not present in response body when calling Spider().Scan()" checkID=9f514c48-5d09-11ee-8109-465c9e98cb60"

Add optimizations from zap_tune
Setup max_scan_duration to allow the scan to report vulnerabilities before being killed by the agent.

Overall LGTM. I just left some minor comments.


Broken link to demo site

See https://github.com/gohugoio/hugo/issues/10612

Please remove the Demo button on the page https://themes.gohugo.io/themes/feelit/. It redirect to a different unsecure site on each click

See gohugoio/hugo#10612

Please remove the Demo button on the page https://themes.gohugo.io/themes/feelit/. It redirect to a different unsecure site on each click

Thanks, i'll take a look into it

Fixed
https://themes.gohugo.io/themes/feelit/


Support MixtureModels

Distributions.MixtureModel takes a collection of Distribution components. To support this with KeyedDistribution components, we need to overload the MixtureModel constructors to check that the keys of each component are the same.
Alternatively, we could implement KeyedMixtureModel that assigns the keys to its own field, but I'm not sure if that's useful.

Related: logpdf of MixtureModel runs into problems:
E.g. the following errors
k = ["a", "b", "c"]
d = KeyedDistribution(MvNormal(m, W), k)
kmd = KeyedDistribution(MixtureModel([d, d], [0.5, 0.5]), k)
KeyedDistributions.KeyedMixtureModel([d, d], [0.5, 0.5])
@test Distributions.logpdf(kmdd, zeros(3)) == Distributions.logpdf(d, zeros(3))

when KeyedDistributions tries to reconstruct the distribution https://github.com/invenia/KeyedDistributions.jl/blob/main/src/KeyedDistributions.jl#L159

Closing as #40 has been merged.


feat: use obstacle_cruise_planner by default

Description
Based on the following discussion, we switch the stop planner from obstacle_stop_planner to obstacle_cruise_planner.
https://github.com/orgs/autowarefoundation/discussions/3964

Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Replaced by https://github.com/autowarefoundation/autoware_launch/pull/765


Inquiry: can we monitor db connection pool

Please answer these questions before submitting your issue.

Why do you submit this issue?
[*] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
can we monitor db connection pool ? i am using java application hosted on tomcat connecting to mysql. would like few metrics like total number of connections used, time taken to obtain connection from connection pool.

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

I think @ascrutae is working on this part, but it will take time. This is not a small feature.

DBCP, Alibaba Druid(https://github.com/apache/skywalking-java/pull/27), and HikariCP(https://github.com/apache/skywalking-java/pull/29) are supported now.

DBCP, Alibaba Druid(apache/skywalking-java#27), and HikariCP(apache/skywalking-java#29) are supported now.
Add this Druid plugins only have trace data.  Does this plugin have metrics like jdbc_connections_max?

DBCP, Alibaba Druid(apache/skywalking-java#27), and HikariCP(apache/skywalking-java#29) are supported now.
Add this Druid plugins only have trace data.  Does this plugin have metrics like jdbc_connections_max?

They didn't provide meter reporting. We provided APIs for plugins.
https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/java-plugin-development-guide/#meter-plugin

DBCP, Alibaba Druid(apache/skywalking-java#27), and HikariCP(apache/skywalking-java#29) are supported now.
Add this Druid plugins only have trace data.  Does this plugin have metrics like jdbc_connections_max?

They didn't provide meter reporting. We provided APIs for plugins. https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/java-plugin-development-guide/#meter-plugin

import skywalking-sdk dependency, and use skywalking api to report metric when we use java-agent right ?

DBCP, Alibaba Druid(apache/skywalking-java#27), and HikariCP(apache/skywalking-java#29) are supported now.
Add this Druid plugins only have trace data.  Does this plugin have metrics like jdbc_connections_max?

They didn't provide meter reporting. We provided APIs for plugins. https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/java-plugin-development-guide/#meter-plugin

import skywalking-sdk dependency, and use skywalking api to report metric when we use java-agent right ?

import skywalking-sdk dependency

No, this isn't this API for. These APIs are designed for plugins, which allow no-code changes from end users.

Does it has any demo in java plugins？

DBCP, Alibaba Druid(apache/skywalking-java#27), and HikariCP(apache/skywalking-java#29) are supported now.
Add this Druid plugins only have trace data.  Does this plugin have metrics like jdbc_connections_max?

They didn't provide meter reporting. We provided APIs for plugins. https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/java-plugin-development-guide/#meter-plugin

import skywalking-sdk dependency, and use skywalking api to report metric when we use java-agent right ?

import skywalking-sdk dependency

No, this isn't this API for. These APIs are designed for plugins, which allow no-code changes from end users.

Does it has any demo in java plugins？

Isn't API doc clear enough? What is the demo?

I just provided the link for the doc. The plugin APIs have nothing related to toolkit.
What is plugin API?, the APIs you used in plugin(interceptors) to create spans(tags, context, etc.) are the tracing APIs. In the same time, we provided the meter API for metrics collecting.

I just provided the link for the doc. The plugin APIs have nothing related to toolkit.
What is plugin API?, the APIs you used in plugin(interceptors) to create spans(tags, context, etc.) are the tracing APIs. In the same time, we provided the meter API for metrics collecting.

I understood, Thanks I need modify plugin (interceptors) what i need

Yes, also you need to setup meter analysis rule(MAL engine) to parse the meter data to queryable data.


Incorrect Typescript syntax highlighting when using instanceof, followed by ||, in if statement

VSCode Version: 1.22.2
OS Version: Windows 10 Pro 64-bit (10.0, Build 14393)

Steps to Reproduce:

In a Typescript file, write an if statement that contains an instanceof expression, followed by either a logical-or or logical-and operator, and then another expression.

Here is a screenshot of how the syntax highlighting looks:

Here is how it should look:

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

Please share the text from those screenshots

Here is the exact code file that is causing a problem. Line 15 (first line within the constructor) is the exact line.
import hexrgb from "hex-rgb";
import rgbhex from "rgb-hex";
import inRange from "in-range";
import isHex from "is-hex";

export class ColourTransferKey {

  public red: number;
  public green: number;
  public blue: number;

  private _x: number;

  public constructor(x?: number, value?: Uint8Array | number[] | string) {
    if (value instanceof Uint8Array || Array.isArray(value)) {
      this.red   = value[0] || 0;
      this.green = value[1] || 0;
      this.blue  = value[2] || 0;
    } else {
      this.hex = value || "FFFFFF";
    }
    this.x = x || 0;
  }

  public get hex(): string {
    return "#" + rgbhex(this.red, this.green, this.blue);
  }

  public set hex(x: string) {
    if (x.startsWith("#")) x = x.substring(1);
    if (! isHex(x)) throw new Error("Expected hex string");

    const rgb = hexrgb(x);
    this.red = rgb.red;
    this.green = rgb.green;
    this.blue = rgb.blue;
  }

  public get x(): number {
    return this._x;
  }

  public set x(x: number) {
    if (! inRange(x, 0, 1)) {
      throw new Error("`x` must be in range [0, 1]");
    }
    this._x = x;
  }

}

They were fixed in https://github.com/Microsoft/TypeScript-TmLanguage/commit/c4d834c232aacd99890b28d64c6ba3deda1bfd58
and merged in https://github.com/Microsoft/vscode/commit/d0bc1c3fe4c3790ae72f4692e4cdbcff469e5f80#diff-833eb8d6808e9f783ae62832e68bce3aR2212

Thanks. Yes looks fixes in insiders builds


Consider supporting multiple CTLogs

Description
Currently we support one CTLog where SCT is then returned from. It might be useful in the future to support multiple ones. Besides the obvious need to modify code, just curious if we may want to consider at least allowing the API here:
https://github.com/sigstore/fulcio/blob/main/pkg/api/client.go#L31
Also copied here in case links shift:
type CertificateResponse struct {
	CertPEM  []byte
	ChainPEM []byte
	SCT      []byte
}

To be able to return multiple SCT, and we could further restrict the current api to say that it will only return 0 atm.
Brought this up 2022-01-04 meeting and it was deemed that we may want to look into this, from a quick look didn't see an issue, so here it is :)
There also has been some further discussion in the past so mayhaps we can gather those thoughts here, or pointers to them in case folks want to chime in / follow along.

https://github.com/sigstore/fulcio/pull/507 will solve this since an SCT list will be embedded in certificates.

Nice!

Closing issue, as we now support embedding SCT lists in certificates.


Boiler and images not showing

Logger: frontend.js.latest.202406100
Source: components/system_log/init.py:333
First occurred: 18:13:33 (32 occurrences)
Last logged: 18:17:42
Uncaught error from Chrome <IP_ADDRESS> on Windows 10 TypeError: Cannot create property 'scale_factor' on string 'Boiler type not suppored: peltec | cmpelet | biotec | biopl (optional).' /hacsfiles/lovelace-centrometal-boiler-card/centrometal-boiler-card.js:21:37 ResizeObserver. (/hacsfiles/lovelace-centrometal-boiler-card/centrometal-boiler-card.js:19:15)
Uncaught error from Chrome <IP_ADDRESS> on Windows 10 TypeError: Cannot create property 'scale_factor' on string 'Parameter "boiler_state" nor detected nor configured.' /hacsfiles/lovelace-centrometal-boiler-card/centrometal-boiler-card.js:21:37 ResizeObserver. (/hacsfiles/lovelace-centrometal-boiler-card/centrometal-boiler-card.js:19:15)

Two questions, what is your boiler name, model? And what web url you use when accessing it online?

Boiler name is cmpelet
Card configuration is:
type: custom:centrometal-boiler-card
device_type: cmpelet
When i access online i use home assistant app on phone or i use chrome to connect from laptop (same issue on both devices)
When i acces to centrometal portal (portal.centrometal.h) without using HA is working ok.


[BUG] - Documentation guide not building the project

What is the bug?
During ./gradlew clean assemble when setting up the project throws error of detecting some dependencies tried both JAVA 11 and 17 results the same issue
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to https://github.com/opensearch-project/security/blob/main/DEVELOPER_GUIDE.md#prerequisites
Follow all the setups till the 'building'
run the command ./gradlew clean assemble
See error

What is the expected behavior?
Should build the project
What is your host/environment?

OS: Linux (Fedora)
Version [e.g. 36]
Security

Do you have any screenshots?

Do you have any additional context?
Add any other context about the problem.

We had build breaks in main that were recently resolved, can you post your commit SHA, failures are expected if you are not built off of 41d68cc.
I can't tell the source of the error as it looks like its off the screen, if you are running the latest commit and are still seeing the error, could you copy the whole console output and paste into a GIST [1] that you link here?
[1] https://gist.github.com/

Yes its the same SHA --> 41d68ccb30b52f285ea350038437871d72d59c83

Just pulled the latest commit, it's working now thanks however do you know the reason why it was breaking at compile time?

@nishp77 Our main branch is associated with OpenSearch's main branch, which occasionally gets breaking changes that are targeting the 3.0.0 release.  This synchronization can lead to breaks like this one, most of the types we fix them quickly, but in this case, it was a hard issue to resolve checkout the pull request if you are curious about the details [1].  We created an issue in OpenSearch-build [2] to see if we can better detect/mitigate issues like this in the future.
[1] https://github.com/opensearch-project/security/pull/2166
[2] https://github.com/opensearch-project/opensearch-build/issues/2749


feat(fabric-test-ledger): add support to enrolling users in different Orgs

Created new methods to avoid breaking changes in the API exported.
New methods created:

capitalizedMspIdOfOrg
enrollAdminV2
enrollUserV2
createCaClientV2

closes #2248
Signed-off-by: André Augusto<EMAIL_ADDRESS>

I have one question here for @petermetz
When does api version (like in this case v2) in our code, needs to be v2? Should we not tie the api version to our cacti version or something similar sort of mapping, so that its the same everywhere? Otherwise tracking where-all its v1 and where-all its v2, and why the upgrade was done will be troublesome to track (Specially for the devs who are using Cacti and want to upgrade to a newer version of code)
The issue #2248 is more of a bug than an enhancement (in my opinion), and to fix the bug, we can still use the v1 version with the  updated code.

@AndreAugusto11 any updates on this? (Asking as #2185 is dependent on this)


[3.x] TileMapEditor Fix interrupted erasing not being properly finished

When in some erasing tool and LMB was pressed then the tool would be changed to non-erasing tool without properly finishing the ongoing erasing (specifically not finishing UndoRedo action could cause a crash). Proper finishing was handled only on RMB release. Added a check on LMB press to ensure ongoing erasing would be properly finished.
(Code handling all these tools feels spaghettish so... I just added some more pasta to it. :wink: Should be good enough for a hot-fix. Wouldn't be surprised if there were more unhandled hidden cases like this one in there though.)
Fixes #63160.
To make it clear, now:

Press and hold RMB -> erasing.
Click LMB (while holding RMB) -> finish erasing, place tile.
Still holding RMB -> nothing, erasing was finished. Would need to release and press RMB again to start a new erase.

Thanks!


compilation failed : PSutil (setup.py)

during the compilation of the setup.py psutil points this error:
Extracting Ice-0.1.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Ice 0.1.0 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/Ice-0.1.0-py2.7.egg
Processing dependencies for Ice == 0.1.0
Searching for psutil == 2.1.1
Reading https://pypi.python.org/simple/psutil/
Best match: psutil 2.1.1
downloading https://pypi.python.org/packages/64/4b/70601d39b8e445265ed148affc49f7bfbd246940637785be5c80e007fa6e/psutil-2.1.1.tar.gz#md5=72a6b15d589fab11f6ca245b775bc3c6
Processing psutil-2.1.1.tar.gz
Writing /tmp/easy_install-UY1tBr/psutil-2.1.1/setup.cfg
Running psutil-2.1.1 / setup.py -q bdist_egg --dist-dir /tmp/easy_install-UY1tBr/psutil-2.1.1/egg-dist-tmp-6wwtMv
warning: the previously-included files matching '*' found under directory 'docs / _build'
psutil / _psutil_linux.c: 12: 20: Fatal error: Python.h: File or directory not found
#include <Python.h>
^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
gustavo IamSad @: ~ / Downloads / Ice-master $

Have you tried installing python-dev?
sudo apt-get install python-dev

worked, thanks

I'm having this same problem. I am using python-dev and followed the instructions.
maura@Mephistopheles:~/Software/Ice$ python --version
Python 2.7.12
maura@Mephistopheles:~/Software/Ice$ python -m ice
[ERROR] An exception occurred while running Ice
Traceback (most recent call last):
  File "ice/decorators.py", line 10, in wrapped
    func(*args, **kwargs)
  File "ice/cli/runner.py", line 84, in run
    self.get_steam(app_settings.config),
  File "ice/tasks/engine.py", line 27, in __init__
    self.users = filter(is_user_context, steam_module.local_user_contexts(self.steam))
TypeError: 'NoneType' object is not iterable

Close the window, or hit enter to exit...

maura@Mephistopheles:~/Software/Ice$


feat: observe env for debug and bind the flag to it

This PR

Observes debug env variable [with or prefix will be FLAGD_DEBUG] and binds --debug and -x flags to it.

Related Issues
Fixes #1323

Thanks @snosratiershad


encoding/asn1: support decoding BER-encoded messages (e.g. PKCS7)

There's a couple blockers to being able to parse a BER-encoded PKCS7 message:

Support indefinite-length encoding.
Support "ANY DEFINED BY".

/CC @agl
Also please take a look at #8860  and #10621.

encoding/asn1's design hasn't worked out too well and I don't think that BER support would be suitable.

I'm aware of at least three other libraries that need to support BER encoding. Two of them ends up ~reimplementing all of asn1 (without nicer tagging/unmarshaling support), and the other tries to convert BER to DER but does it wrong. Afaict they could use golang's asn1 if it supported indefinite-length encodings. The change to implement this is relatively small, and would help reduce the proliferation of buggy implementations.

David, since this issue was closed, what did you end up doing for PKCS 7 and BER instead?

I ended up writing a "BER-to-DER" converter, which I'd like to open-source, but haven't had a chance to yet.


Aggregate warnings on collapse nav section

This PR closes https://github.com/kubeshop/monokle/issues/1495
Changes

Aggregates warnings on collapsing a navigation section.

How to test it

Open a project with warnings or errors
Collapse a nav section with said warnings
Validate that warnings are aggregated.

Screenshots
https://user-images.githubusercontent.com/7761005/161929246-c4be3314-8a17-4e89-945c-5daf87d1d961.mov
Checklist

[x ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

Julio is going to give me an updated icon as contrast is not very good, but functionally everything is there.


Move Unit Test to SPM based

Based on #7

Move Unit Test to SPM based
Remove unused UITest file
Add github action for CI (Required by 1)

After this PR, we can simple run swift test or open Package.swift to run unit-test.
No more pod install and xcworkspace required.

Given that the majority of the iOS library now support SPM or only support SPM.
It seem strange that a swift library not support "Swift Package Manager".

This PR and the following PR will not break the old dependence tool manager like Carthage or Cocoapods


Add a Meyer-Wallach-Brennen measure

Meyer-Wallach-Brennen measure calculates the average subsystem linear entropy of the constituent subsystems.
The mathematical formula for this measure is,
$$Q=2\left(1-\frac{1}{n}\sum_{i=1}^n Tr(\rho_i^2)\right),$$
where $\rho_i$ is a density matrix obtained by tracing all the other subsystems except the ith subsystem and n is the total number of subsystems.

Hi @ikkoham , I would greatly appreciate your comments on this pull request. Could you kindly share your thoughts on whether you believe it would be a useful addition?


useSearchParams is changing twice after go back in browser history

After setting a new search string, go back in the browser history and try to set it again, the search string will be changed twice. The first change will be the value that I'm trying to set and the second change will be the previous value.
I think the problem is because the reactive location.search is trying to re-execute. The solution would be wrap mergeSearchString with an untrack?
https://github.com/solidjs/solid-app-router/blob/92131af5bebce2f3993283349dcddf72f9506d75/src/routing.ts#L94-L97

Thanks for pointing this out. It probably is a good idea to not track the location.search here in case setSearchParams is called from within a tracking scope like an effect. Ultimately the underlying problem appears to be in Solid itself, where the global reactive listener isn't getting cleaned up under a specific circumstance the router hits. This causes things to get tracked unexpectedly from otherwise inert scopes like an event handler.


Add error handling if a Selenium promise fails

Today one problem is that BrowserTime can fail silent, if we use the proxy and get a connection refuse like:

Error: ECONNREFUSED connect ECONNREFUSED
    at ClientRequest. (/Users/peter/git/bt3/node_modules/selenium-webdriver/http/index.js:145:16)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)

This happens right now if you are using PhantomJS2 and has the proxy turned on.

this is fixed


GROUNDWORK-1936: Disable the metrics filtering feature

Temporarily disable the metrics filtering feature until the UI is ready
!!! DO NOT MERGE !!!

done


Ability to omit matrix network from nick.

When you have a line like this in your config:
RemoteNickFormat="<{NICK}> "

This will expand remote usernames to (for example):
<jim:matrix.org>

i.e. the network name is part of the username. It would be nice to be able to omit the network part, and just have:
<jim>

for example.
How about having a {NICK_SHORT} macro in addition to {NICK}
Thanks

This seems like a matrix specific issue.
I'll add a matrix specific option for this, maybe NoHomeserverSuffix or something like that.

Ok, I've added this feature in master.


add auto-play option

I think it was a good change, and I'm just overloaded.
If you want to try and push this, let's give it a shot.
Main change should be a slight delay in playing - ~1 second - so people see the text.

Main change should be a slight delay in playing - ~1 second - so people see the text.

I think people read faster than the average speaking rate, don't you?

It's true, but since there's a reload effect (text is changing, screen might be moving) I think ~1 second will let the person refocus.


use functions like fopen_s to eliminate warnings for MSVC

use functions like fopen_s to eliminate warnings for MSVC

i hope carrot can submit a pr to fix this  : D


Add setHintAttributedStringGenerationBlock method

Hi,
Very nice component. I'm wondering if it could be possible to add a setHintAttributedStringGenerationBlock to have attributed string for the hint instead of just plain text.
Regards,

Hi @Appsido,
I like the idea, didn't think about it. Can be very useful. Do you want to develop this feature?
Kind Regards,

Hi @Eclair,
I'll give a try ;)

Sorry, had some time, decided to implement it.

Arf...

Let us know when this is available on cocoa pods

I see. I think better to keep both methods, because to set NSString usually is simpler, than generate NSAttributedString each time.
I will update cocoapods in 5 mins and give you link )

Version 0.12 is available under CocoaPods: https://cocoapods.org/pods/CircleProgressBar

Thanks


Make E subtype of Throwable

There is also a bigger discussion to be solved In issue #7

E is not necessarily a Throwable, in fact I use it with E being something like Error(code: Stong, msg: String)

The thing is that this may be the only way of implementing the Effect[F[_]] typeclass from cats effect, Effect extends eventually from MonadError by setting the error to Throwable :/


Improve rendering perf

Fixes #14
Per @samccone's analysis and recs,

When manually animating, hint to the browser what to promote to a new layer 🤡
Avoid JS overhead in animations

I've set out to do a couple of things:

[x] Use will-change on all animated elements
[x] Pre-calculate frames (all values that get mapped to style attrs) before animation starts
[x] Memoize frame parts and reuse between static stack entries (faster calculation of frames & less react rendering)
[ ] Go around React to apply frame values to dom nodes Gave up because perf is already decent and code would become hard to maintain, maybe next time

will-change made a big impact by making intermediate frames smooth, but the "deciding" moments when a stack entry is added/removed are still a bit janky. While not perfect, the improvements are significant (especially on mobile devices).
Before (Macbook 12)

After (Macbook 12)

Before (Nexus 5X)

After (Nexus 5X)

At first I got confused by having more time spent in Scripting, Rendering and Paint in the optimized version, but I think that's because it ends un rendering more frames than in the slower version.

Nice stuff!!


Fix signature digests computation and isolate packages processing to bundle release

Cherrypicking #7741 and #7744 to main.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/override eks-anywhere-e2e-presubmit


Unable to list the contents of a symbolic directory

os: Ubuntu 20.10
lsd --version: 0.20.1
echo $TERM: xterm-256color
echo $LS_COLORS:

I have a symbolic link to folder that I use to store music. There's over 3K files with over 400 directories that fails to display with lsd. On the other hand lsd displays the contents of another symbolic linked directory containing 3 items. ls and tree work fine in displaying the contents.
Expected behavior
Display the contents of a directory A where A is a symbolic link.
Actual behavior
lsd returns with "Invalid argument (os error 22)"

@maleyva1 can you paste some example output of the lsd and ls, so that we can try to find out what the problem might be?

@zwpaper

hi @maleyva1 thanks for sharing the screencast, I noticed the error output but still has no clue about the cause,
can you help to make sure 2 more things:

is there an alias for lsd? try to check it with type lsd and unalias it.
maybe there are some filenames that make it error, try to check it with

for i in `ls`; do out=`lsd $i`; if [ $? != 0 ]; then echo $out; fi; done

@zwpaper

No. I have ls aliased to lsd.
Here's a screencast of the output:

sorry for my mistake, there are some bugs in my command, please try this again:
for i in . ; do out=`lsd $i 2>&1`; if echo $out | grep error >/dev/null 2>&1 ; then echo "$i: $out" ; fi; done

BTW, the bugs are:

there are spaces inside your filenames and I did not consider it.
lsd does not return an error code when errors occurred, I will create an issue for this

@zwpaper
No problem. I appreciate the help. Here's the screencast of the command:

@maleyva1 Sorry that we are making you run quite a few scripts. But if you don't mind sharing your music collection could you post the output of this.
for i in *;do printf "%s : " "$i"; lsd -d "$i"; done > output

@meain It's a bit long so here you go:
output.txt

Is there any network disk mounting under this dir?

@zwpaper No.


[BUG] Random test failure of SFA

Failed test test_sfa_anova[information-gain] randomly here: https://github.com/aeon-toolkit/aeon/actions/runs/4489276050/jobs/7895037324?pr=221
is this related https://github.com/aeon-toolkit/aeon/pull/196 @TonyBagnall ?

probably, I'll look, its probably testing seems SFA is returning just inf


[feat] Write out full user name

What is your feature request?
We need to write the user's full name "FIRSTNAME LASTNAME" out as "full_name" in the hpcusers REST API.
Have you seen anything similar somewhere else?
They did a similar thing!

SlugRelatedField with name as full name or first_name last_name.

phone_number


Maintenance of project_management module

Module to maintain
Website: https://school-brainhack.github.io/modules/project_management/
Code: https://github.com/school-brainhack/school-brainhack.github.io/tree/main/content/en/modules/project_management
Work to be done
Please ensure:

[ ] links, resources and exercises reflect the state-of-the-art
[ ] videos are of good quality and reflect the materials.

If any update / re-write of the module is needed, feel free to suggest alternative material in a comment!
If you think major changes are needed, we suggest you open an issue for new modules.

@all-contributors please add @htwangtw for bug, content, doc, eventOrganizing, maintenance, mentoring, review, ideas.


Feature Request: Full Date Format

This is a super useful package, thanks for making it!
Beyond the "long" date format, iOS/MacOS have a "full" date format. I think Android and JS have something similar, not sure about Windows, though. 🙂
It'd be great to have access to that pattern, too.

Thank you for the feedback and for the feature request.
iOS and macOS full date pattern is already implemented in dev branch.  So it will be in version 1.1.0 for 100%.
Similarly with web.
Unfortunately Android doesn't have full date format.
Currently checking what is possible on Windows

Thanks for that, @Nikoro!
Looking at the Android docs, it appears that there isn't a getFullDateFormat() helper method in the android.text.format.DateFormat class, but it can be retrieved with the somewhere more verbose java.text.DateFormat.getDateInstance(java.text.DateFormat.FULL) (ref). Does that look like a possibility to you?

This is brilliant! @pento
Thanks a lot!
So full date format for Android will be added in the next version 🎉


MQTT In Topic

I have been trying to roll my own WS2812 and MQTT device on an ESP8266.  I have had limited success because I can change colours on the device by sending MQTT messages based on single bits in the payload.
What I'd like to do is use JSON so I can change any attribute, but converting a field in a JSON payload to a uint8_t variable to change "ws2812fx.setMode();" doesnt seem to work no matter what I do.
So, I was taking a look at the McLighting work and it's beautiful.  There is a lot of great stuff in here.  But I don't see anything being done with the MQTT inTopic.  I see it being set, and I see outTopic messages being sent.  Is the inTopic there as a placeholder or can I remotely control "McLighting" by sending JSON messages?

Ah yes, thanks for the reply.
I figured out how anyways, using this as a reference: https://github.com/timmo001/ESP8266-MQTT-JSON-Lights
Cheers.


Display more papers for each topic

Currently, each topic displays no more than 20 papers on the results page. This is not sufficient for accessing all relevant papers from the past month.
The solution for this should be quite straightforward, most likely through implementing pagination to give users multiple pages of result papers for a topic.

Alternatively, just don't put any limits on the number of papers displayed.


Http response template

#10 support template response

Hi. My apologies for the delay, this project has been stale for some time.
This was implemented in commit 586d548b6efaa5d206dcf67e3fae568a453b941e on top of a bigger to update the repository dependencies, enhance the overall code, add some missing functionality, add proper CI/CD and configure branch rulesets (See also release 2.1.0).
Only Mustache and Velocity are supported for now due to some currently known limitations with Javascript templates that prevent testing against the latest version of the server.


Add ProspectsGG

The white is part of the logo btw. They are a ESEA and CEVO team from NA.

I'm not sure about this one.
I'm trying to decide how to go about "temporary" teams. I've added a few (AliGon, aimface) but not sure how to do going forward. Any thoughts?

I don't feel like they are going to get picked up anytime soon, but I
understand why you wouldn't want to add it.
On Aug 15, 2016 12:36 AM, "Oskar Risberg"<EMAIL_ADDRESS>wrote:

I'm not sure about this one.
I'm trying to decide how to go about "temporary" teams. I've added a few
(AliGon, aimface) but not sure how to do going forward. Any thoughts?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kokarn/csgo-data/issues/158#issuecomment-239745023,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARfY4lpZBU0qpG3h6suVGxn49n5JU0fpks5qgBbxgaJpZM4JihAh
.

They have been under the name Prospects for a while, so i think you should add it, but i do understand you dont like to add temporary names.

This particular team makes me more hesitant than others simply because I can't find a good size logo.
If I found one that would be say > 400x400 I'd be happy to add them.
As it stands now it seems a bit wrong because they are both a "temporary" team and there is no good resolution logo available.

Okay, yeah I don't think adding them would work well seeing those conditions
On Aug 16, 2016 12:30 AM, "Oskar Risberg"<EMAIL_ADDRESS>wrote:

This particular team makes me more hesitant than others simply because I
can't find a good size logo.
If I found one that would be say > 400x400 I'd be happy to add them.
As it stands now it seems a bit wrong because they are both a "temporary"
team and there is no good resolution logo available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kokarn/csgo-data/issues/158#issuecomment-240024839,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARfY4mHIpGqyPZI5stzp_bqS_i07MYfgks5qgWcGgaJpZM4JihAh
.

I'll leave this open if a better logo happen to pop up.

Alright
On Aug 16, 2016 11:19 PM, "Oskar Risberg"<EMAIL_ADDRESS>wrote:

I'll leave this open if a better logo happen to pop up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kokarn/csgo-data/issues/158#issuecomment-240323332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARfY4uoZet2fX3hihNUwVBBSNj91hrqRks5qgqfRgaJpZM4JihAh
.


Updated site.php 'dashboard'

'dashboard' command updated to use 'pantheon.io' rather than 'getpantheon.com'.

:+1: thanks!


Implement async Wait traits from embedded-hal-async

This patch implements the embedded-hal-async Wait trait, which enables
waiting on an level/edge for pins in an async fashion.
It has been tested on multiple esp32s3 devices in production

Not sure why cargo fmt errors out on the trailing whitespace in the allow, but i fixed it.
I also have a version of this that uses AtomicWaker instead of RefCell<Optional>, which is simpler, and doesn't require disabling interrupts to set the waker.
This is how basically all the other HAL's you will find do it - some form of atomic waker storage.
It is also Sync, and the current solution is only Send because of RefCell.
The downside is it requires the futures crate (or we  have to copy the impl or find another).
I would guess as more and more async is implemented, the likelihood you need futures at some point anyway is high.
You can also feature disable basically all of it (we only need async-io feature).
But it's your show :)
Let me know if you want me to update this to the AtomicWaker version or not.
.

I've updated to use notifications.
If you make one function in channel-bridge's Notification class public (poll_wait) we can reuse the crate.
It's actually the only one we need, so right now, i've copied your implementation and made that function accessible.

@MabezDev This PR is very close to completion but still needs a few final small touches before merging. Given that the submitter might have moved after our strong disagreement what to do on pin drop I might be looking into it, but it will take some time. In any case, no rush - if you have time these days, you can of course also address my last set of comments.

I think I've addressed everything in the latest commit.

Let's push it then?


Mockup with autolayout > Chip with icons

Mockup with autolayout considering icons in both sides is made here: https://www.figma.com/file/BKj1iiFncgfLb7iRMjz0nt/🧪-Workshop?type=design&node-id=1089%3A7902&mode=design&t=NKKjgkXygnfJHnTb-1

Now we are waiting Bentes feedback to mark it as "done" (or not)


Recommended hardware?

The files print nicely, thanks! What hardware is intended for assembly?

Just printed this myself. You'll want m2 screws to assemble, and preferably with a flat head. Just for future printers!

@CooperWallace That's amazing! Show some pictures if you can

@mrbell Added the hardware here: https://github.com/serverwentdown/lily58-3d#hardware


use list of supported CUDA arch in cuda_levels_details

Checklist before submitting

[ ] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Magma code expects cuda capabilities to be passed as sm_ options, so adding sm_75 and sm_80 for CUDA 10.2 and CUDA 11 respectively.
Also using either compute_75 or compute_80 depending on CUDA version to support PTX for the latest supported CUDA arch.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

I pushed an update to switch from semi-colons to commas.


Can you return a response statusCode ?

I think it's very important to return à statusCode of response, in order to permit us to display a good message to user

Sure. Thanks for tge suggestion. Will be working on it and will be made available in the next update.

Fixed


EXC_BAD_ACCESS Upon Logging in

Hello,
In UberKitDemo, I get an EXC_BAD_ACCESS after login:sender is called. This is after inserting the correct clientId, clientSecret, etc.
Perhaps this is an issue relating to the new API updates -- any thoughts?
It is clear to me that the issue occurs in [uberKit startLogin].
Best,
Joshua

Hi @joshim5,
I tried running the app and it worked just fine for me. Could you share some of your code, it's possible that you're calling an object that hasn't been initialized correctly.
Also, have you tried adding breakpoints before the method call?

Sachin

Hi Sachin,
Thanks for the quick response. What redirect_uri are you using?
Best,
Josh

@joshim5 What should be used for the redirect_uri?

@joshim5 @hpogosyan The redirect_uri according to the API documentation for a mobile app is supposed to go to your server that would have a special redirect back to your app.
The redirect URL in the iOS app can be created by adding a URL type in the info section of your app's target as shown in the screenshot below.

The login flow would thus be:
Login completion -> your own server (such as Heroku as Uber only accepts URIs as https) -> iOS app redirect URL (uberkit:// in this case)
This approach would be used when trying to log in through mobile safari where the users exits the app. However with UberKit, since the user never leaves the app as the login view is presented within the app, all you have to do is dismiss the login view once you receive a callback to these delegate methods
- (void) uberKit: (UberKit *) uberKit didReceiveAccessToken: (NSString *) accessToken
{
    //Got the access token, can now make requests for user data
}
- (void) uberKit: (UberKit *) uberKit loginFailedWithError: (NSError *) error
{
    //An error occurred in the login process
}

This means that you can set any redirect URI you want in the dev portal as long as you're not leaving the app to login. So to answer your question, if you're not leaving the app to login then you just need to make sure that the redirect URI you're setting in UberKit is the same as the one you specify on the Uber developer portal.
Please let me know if you have any other questions regarding this.
-Sachin

@sachinkesiraju I am using the UberKitDemo in your repo. What's the quickest way to setup a redirect_uri without actually hosting a server. Is there a service that does this?

To set up your own server, you could simply add an endpoint to one you already own or you could try using a service like https://www.paperplane.io/
The thing is you don't actually need to have a redirect URI for UberKitDemo as it doesn't move out of the app. You just need to set any placeholder redirect URI in Uber Developers and make sure you copy it exactly when you initialize UberKit for login.

@sachinkesiraju I got around that issue, thank you for your help. Now I am experiencing a crash after a successful build:
http://hastebin.com/iqaheqoqod.md
I am on:
Xcode Version 6.2 (6C131e)
OS X Yosemite 10.10.2
iOS SDK 8.2

@hpogosyan This a range exception which means that somewhere in your code, you are trying to access an element of an array that does not exist at the specified index.
I believe this is the method where the error is
 [uberKit getProductsForLocation:location withCompletionHandler:^(NSArray *products, NSURLResponse *response, NSError *error)
     {
         if(!error)
         {
             UberProduct *product = [products objectAtIndex:0]; //Here's where the issue is
             NSLog(@"Product name of first %@", product.product_description);
         }
         else
         {
             NSLog(@"Error %@", error);
         }
     }];

Here, you're probably getting this error because you're trying to access index 0 of products when products may be empty. Try logging products to confirm this.
This is merely a logical error and has nothing to do with an exc_bad_access or the login process.

I'm also experiencing this issue, although intermittent. EXC_BAD_ACCESS when calling startLogin

Same for me. There is a random crash. It happens inside of web view:
#1  0x30a671db in -[UIWebView webView:decidePolicyForNavigationAction:request:frame:decisionListener:]
You have to remove the delegate before leaving the view:
// UberKit.m file

(void)dealloc {
[self.loginView setDelegate:nil];
}

more details here: http://stackoverflow.com/questions/1264727/uiwebview-exc-bad-access-crash

Hey guys,
Thank you so much for your feedback. I'm sorry I didn't have time to fix these bugs earlier, but I'm gonna down to it now. There definitely seems to be an issue with the oauth flow so I'll be looking into it for the next couple of days. In case anyone's looking for an immediate solution, would everybody be cool if I replaced the login through web view with mobile safari (that worked in a previous commit)?
Thanks so much for using UberKit.
-Sachin

@dserkin that fix worked well for me. Thanks for your help.


Merge dev into master

Relevant files to be reviewed are contained in commit ec00dddf3419af78f0654bc24ac983e2b739736a

 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.8 out of 9 committers have signed the CLA.:white_check_mark: nlsdfnbch:white_check_mark: ulope:white_check_mark: hackaugusto:white_check_mark: christianbrb:white_check_mark: agatsoh:white_check_mark: konradkonrad:white_check_mark: rakanalh:white_check_mark: karlb:x: DevOpsBotDevOpsBot 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.


Plugin not working -- MapStyleOptions

Hello, i have installed the google-maps plugin and my problem is that when installing the FCM plugin gives me this error:

Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-s
ervices plugin (information about the latest version is available at https://bin
tray.com/android/android-tools/com.google.gms.google-services/) or updating the
version of com.google.android.gms to 9.0.0.

I changed the google-play-services version to 9.0.0 in project.properties but now it gives me this error:

import com.google.android.gms.maps.model.MapStyleOptions;
^
symbol:   class MapStyleOptions
location: package com.google.android.gms.maps.model

Anyone have the solution?

Must be 10.0.0 or over.

Switch to:

cordova.system.library.4=com.google.android.gms:play-services-maps:10.0.0
cordova.system.library.5=com.google.android.gms:play-services-location:10.0.0

But now the first mistake I had:

*** What went wrong:
Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-s
ervices plugin (information about the latest version is available at https://bin
tray.com/android/android-tools/com.google.gms.google-services/) or updating the
version of com.google.android.gms to 9.0.0.**

It seems the FCM plugin is too old.
You need to choose this plugin or the FCM plugin.

I see, it was probably that. Do you know of any plugin for push notifications?


Added chicken biscuit potpie recipe.

Chicken biscuit potpie recipe.

Add to the index. Don't add extra newlines between list entries.

fixed


2022-12-13 Testing Pull

For now, changes default to sync cursor and resolution. Also adds generation resolution (albeit smaller) to cursor render to make it more explicit.

Add drag area selection for dream generation. There is some duplicate code, but will handle that another day. Supposedly partially solves #91.

good heavens the drag-arbitrary-area dream tool is like 4x nicer than i was imagining given that i suggested an entirely different tool
i've actually already caught the secondary render resolution indicator in action a few times, saving me after i accidentally left sync off when testing #99 lol
seriously though 100% delightful 👍

Fixed (supposedly) #99. Let's wait for responses to #99 and #93 to merge this pull request.

new changes here are wonderful as always for what it's worth 👍

new changes here are wonderful as always for what it's worth +1

Yeah, but this pull is dragging a bit! Today (maybe tonight) will try doing the keep mask Gaussian blur and merge this thing

@zero01101 Do you think it's too big of a change? (this last commit)

Solving the incompatibility in another way would likely require modifying the viewport to use world coordinates for dragging the canvas, which is... How could I say... Hard.

Yeah, but this pull is dragging a bit!
i'm in no hurry - this is still a silly little gizmo toy project to me, i'm just thrilled other people use it :) i'll likely be somewhat predisposed for the near foreseeable anyhow :/

Do you think it's too big of a change? (this last commit)

i unfortunately won't get a chance to even try it for hours, will check this evening, a quick glance doesn't appear to be TOO overwhelming however and knowing you, it's pretty sure to be masterful :)
actually, i just pushed some changes i failed to last night; you might want to give them a once-over and make sure i didn't ruin something inadvertently since i had to modify the _dream() output :|

hm, seems something's firing _dream_onwheel twice when changing reticle size...

hm, seems something's firing _dream_onwheel twice when changing reticle size...  seems to have been introduced with https://github.com/zero01101/openOutpaint/pull/100/commits/9a81946eef6a80885afe7e4752aa120187685fd2

Will give this a look.
Yeah, about the Ctrl for pan was mostly because it would be quite difficult to allow it to work as is without messing with other things and then I made up the consistency argument after that.
But the more I think about it, it seems more like a logical thing to do.

lol yeah i'm trying to figure out what causes it too, stepping through is weird; like the new swheel handler picks up first but fails to kick in as expected but i can't see what's causing the normal wheel handler to get too excited

There shouldn't be anything that could duplicate an event, I think. I'm via cellphone for now, but I can look into it a bit.

oh geez, of course no hurries at all lol, just finally getting a chance to check out your commits and noticed that so i started going back through each commit to see where it started :D

Got home, found the issue. (Duplicate listener registered)

lmao and here i was THIS CLOSE to saying "ok ok ok i found something; look in current branch there's 3 handlers registered and one looks duplicated" but you had to be just a bit faster ;)

confirmed fixed :D

lmao and here i was THIS CLOSE to saying "ok ok ok i found something; look in current branch there's 3 handlers registered and one looks duplicated" but you had to be just a bit faster ;)
confirmed fixed :D
[edit]
i JUST noticed that those are three different handlers and am now questioning my ability to read

Haha yeah, I used the ol' debugging prints to check for wheel events specifically:

working on wiki here and there, will also version bump main when that's all set.  my sincerest gratitude as always :)

Okay, thanks! Created discussion to notify people about the pan control changes.

good plan; i'll also put a callout in the readme features about that 👍


How were numbers in Table 5 generated?

Hi, reading the QLoRA paper, you folks are reporting the results on MMLU test set in Table 5:

Per my understanding, the MMLU results would have been produced as follows:

Finetune LLaMA on a dataset, keep the checkpoint that gets best MMLU eval performance (with params --do_train --do_eval --mmlu_split eval
Test the best checkpoint on MMLU test (with params --do_test --mmlu_split test)

Is my understanding correct? Thanks!

I tried set, --do_mmlu_eval True but it did not produce any mmlu metrics


Elastic Search requests disappear from "external services" after upgrading

Description
From @brian38 on Explorer's Hub
In our rails app, requests to our elasticsearch cluster have historically accounted for a high percentage of our outgoing HTTP traffic. Until recently, requests to it would appear near the top of the list at “External Services.”
Now, it’s not found there at all. I can kind of find my way to that “external service” item by going to “Transactions”, selecting a slow transaction, seeing the request to Elasticsearch at the top of that (it usually accounts for a high percentage of those transactions), and clicking that link. At that point I’m sent to “External Services”, and I’m looking at graphs of response time and throughput for requests to the Elasticsearch cluster. I can see at the top of those charts the throughput (CPM), which should place it easily at #1 on the list—but it doesn’t appear in the list at all.
We upgraded gem newrelic_rpm from <IP_ADDRESS>0 to 6.14.0… which I realize is an enormous gap. Unfortunately, that’s long enough ago that I can’t compare data in Newrelic before and after.
Most of our app makes requests using Typhoeus directly. In the case of requests to elasticsearch, we use the chewy gem, which uses the elasticsearch gem, which uses the elasticsearch-transport gem, which uses the faraday gem. Faraday is essentially just an interface around whatever actual http library it detects is present (or is configured to use), and since we haven’t configured it otherwise, it ends up using Typhoeus. (I’ve double-checked some backtraces during those requests to confirm that’s the case.)
We’re on Typhoeus 1.4.0, but as recently as 2 weeks ago, we were using Typhoeus 0.8.0—although I had noticed that these elasticsearch requests were absent in Newrelic even before that, so I think we can rule that out as a cause.

@mwlang seeing this issue as well. currently on newrelic_rpm 6.15.0 and rails 6.1.1, but was also happening prior to those versions.

We plan on adding instrumentation to Elastic Search, we will revisit this ticket during the implementation of that feature.

This issue has been resolved. We've released 8.12.0 which introduces brand new elasticsearch instrumentation which will record data related to elasticsearch requests independent of the instrumentation of the underlying http library being used.


Add missing import

This test currently only works when run after other tests which import morpheus.config

@GPUtester merge

@gpucibot merge


correct mocks for view providers

v12.1.1 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Look for all kinds of pages for pages widget

When creating a multi-part blog post, I create a directory, an _index.md inside of it with a foreword or the first chapter, and .md files with chapters alongside the _index.md. However, even if I specify type: post in the front matter of _index.md, it's never picked up by the "pages" widget: its kind is not "page" but "section."
Kind of a page doesn't look like something that can be overridden in a front matter, so here's my best guess on how to get where I want to be: make "pages" widget look for the specified type not only among regular pages (pages of kind "page") but all the pages of the current language.
Not sure it's the right way to go, though, so if someone knows how to do it better, please drop a comment.

@gcushen could you take a look?

Academic has docs type for multi-part content. It appears your use case is quite niche. Can you provide an example on your use case of creating blog posts as sections?

Assuming the following is a listing of my "blog" directory:
.
└── my-post
    ├── demo.md
    └── _index.md

where "index.md" is the post itself, and "demo.md" is a demo of what is described there. Although docs would work, this tiny little "demo" makes it neither a course nor a set of docs: it's still a blog post, one with a dependent resource that should live close to its parent -- in the same folder. In this case /blog/my-post gives the post itself that lives in _index.md, and /blog/my-post/demo shows the demo. If I use just "index.md", "demo.md" is not rendered.
However, when putting together the comment above, I realized that the following structure does exactly what I want (without abusing listings):
.
└── my-post
    ├── demo
    │   └── index.md
    └── index.md

So, this is probably just another "thanks for inspiration" and "sorry for the noise" pull request :)

Made it optional.
@gcushen given the description above, do you think the change is worth merging into Academic?

It's a feature request, and it's still relevant.
@gcushen , if a case of "more complex" blog post doesn't make sense to you, I can live with an overridden template, I guess, so it's ok to reject it if it doesn't align with your vision for Academic. No hard feelings about that, just let me know what is the preferred way to deal with this request.

It's a feature request, and it's still relevant.
Please, let me know whether this kind of change is welcome in academic.

@kamazee @gcushen This looks really interesting. I'm wondering if the linked Hugo technique solves the same problem without a modification of the theme: https://discourse.gohugo.io/t/replacement-for-mmark-include-file-functionality/23726/4

@HughP, could you elaborate? While "include" inself is useful, I don't see how it can solve this problem.

@kamazee Without loading your example, or the example linked, (but I did read the code) it seems to me as I read the issue as presented, that what you're trying to do is to include demo.md's content in the display of _index.md which seems (if I understand the hugo discussion) to be the same basic functionality. Your proposed solution uses header specific metadata, and relies on the theme, whereas the hugo solution relies on a short code. Shortcodes are generally (but not always) theme independent.

it seems to me as I read the issue as presented, that what you're trying to do is to include demo.md's content in the display of _index.md which seems (if I understand the hugo discussion) to be the same basic functionality as the OP on the Hugo forums was trying to do

No, not really. Maybe my poor explanation is one of the reasons why PR went stale, so I'll try again.
I want to publish blog posts that consist of the post itself and few "bonuses," such as an additional explanation or a live demo that is put on a separate page (demo.html in the example above). As an entry point to such a structure, I use _index.md, so the _index.md contains the post itself. Academic can show a block with recent posts, and posts that are in _index.md don't get into such blocks because candidates for displaying in them are only looked up among regular pages but _index.md is a "section" page, not a regular one. I want blog posts on "non-regular" kinds of pages to be found for listing as well. So, include doesn't look like something that would help.

Nobody seems to be interested, so I'm withdrawing the PR.


Fix #158 -- Remove sphinx build on test tear down

Oh never mind, It doesn't fix #158. It's still a good idea tho.

[Current coverage][cc-pull] is 79.96%

Merging [#159][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #159   diff @@
==========================================
  Files            10         10
  Lines           604        604
  Methods           0          0
  Messages          0          0
  Branches         92         92
==========================================
  Hits            483        483
  Misses           98         98
  Partials         23         23

Powered by Codecov. Last updated by [7aaffd3...ade2ad3][cc-compare]
[cc-base-branch]: https://codecov.io/gh/jazzband/django-configurations/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/jazzband/django-configurations/compare/7aaffd3a9571e7f559d7134f09aa3c42af4f1c7d...ade2ad38fbc4ffc9c61bcfbfa8a891c480db1a61
[cc-pull]: https://codecov.io/gh/jazzband/django-configurations/pull/159?src=pr

This test is flaky for pypy. I will drop it, since it will make development more difficult.


Added shouldEscapeLava option to BotBehaviour

Added this in case some Task need to player to die in lava, you can use Altoclef.getBehaviour().setEscapeLava(bool) to choose if the bot should automatically escape lava or not (part of WorldSurvivalChain).

Great idea, I'll probably do that tomorrow.

Here is the Javadoc.


Add enable_password_config

Overview
Add configuration to change password_config behavior.
Rationale
This way the administrator can disable password login if the user login via SSO, for example.
Juju Events Changes

Module Changes

Library Changes

Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Manging Charm Complexity
[x] The documentation is generated using src-docs
[x] The documentation for charmhub is updated.
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

Fix #62

Isn't something missing in this PR ?
I see a new config added to the charm_start but it doesn't seem to be used, and there's a method that disable password config but in an "hardcoded" way


callback is not invoked for international readers

@isaacwhite and I ran into this when investigating https://github.com/newsdev/google-travel-feeds/issues/13 -- the optional callback is consistently invoked for US users, but was not firing for international visitors.
The problem seems to lie in this line:
https://github.com/newsdev/geoip/blob/master/frontend/geoip.js#L96
The international locations do not have a dma_code and sometimes do not have a postal_code.  The early return in this line causes decorate() to bail before it's had a chance to invoke the callback.

Good catch!  I'll fix it soon.