on_new_sample() error

I've tried to stream an RTSP video from my camera without success. I also tried other sample RTSP urls and I get the same error. The url I tried is rtsp://<IP_ADDRESS>/vod/mp4:BigBuckBunny_175k.mov and this is the output:

createKinesisVideoClient(): EnterINFO -
createKinesisVideoClient(): Creating Kinesis Video Client
INFO -
heapInitialize(): Initializing native heap with limit size 536870912, spill ratio 0% and flags 0x00000001
INFO -
heapInitialize(): Creating AIV heap.
INFO -
heapInitialize(): Heap is initialized OK
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
INFO - New credentials expiration is<PHONE_NUMBER>
DEBUG - createDeviceHandler invoked
INFO -
createDeviceResultEvent(): Create device result event.
DEBUG - clientReadyHandler invoked
DEBUG - Awaiting for the producer to become ready...
DEBUG - Kinesis Video producer is Ready.
DEBUG - Client is ready
INFO - Creating Kinesis Video Stream front-door-camera
INFO -
createKinesisVideoStream(): Creating Kinesis Video Stream.
DEBUG - describeStreamHandler invoked
DEBUG - Awaiting for the stream to become ready...
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
DEBUG - describeStream response: {"StreamInfo":{"CreationTime":1.528591028827E9,"DataRetentionInHours":2,"DeviceName":"Kinesis_Video_Device","KmsKeyId":"arn:aws:kms:us-west-2:857745839647:alias/aws/kinesisvideo","MediaType":"video/h264","Status":"ACTIVE","StreamARN":"arn:aws:kinesisvideo:us-west-2:857745839647:stream/front-door-camera/1528591028827","StreamName":"front-door-camera","Version":"UGTgyEZaXYlqCGQvRdeU"}}
INFO - Discovered existing Kinesis Video stream: arn:aws:kinesisvideo:us-west-2:857745839647:stream/front-door-camera/1528591028827
INFO - stream arn in stream_info struct: arn:aws:kinesisvideo:us-west-2:857745839647:stream/front-door-camera/1528591028827
INFO -
describeStreamResultEvent(): Describe stream result event.
DEBUG - streamingEndpointHandler invoked
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
DEBUG - getStreamingEndpoint response: {"DataEndpoint":"https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com"}
INFO - streaming to endpoint: https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com
INFO -
getStreamingEndpointResultEvent(): Get streaming endpoint result event.
DEBUG - streamingTokenHandler invoked
INFO - Refreshing credentials. Force refreshing: 1 Now time is:<PHONE_NUMBER> Expiration:<PHONE_NUMBER>
INFO - New credentials expiration is<PHONE_NUMBER>
INFO -
getStreamingTokenResultEvent(): Get streaming token result event.
DEBUG - streamReadyHandler invoked
DEBUG - Kinesis Video stream front-door-camera is Ready.
DEBUG - Stream is ready
DEBUG - Pipeline OK
DEBUG - rtsp://<IP_ADDRESS>/vod/mp4:BigBuckBunny_175k.mov
DEBUG - appsink configured
DEBUG - Pipeline built, elements *NOT* yet linked
DEBUG - Pipeline playing
New RTSP source found: recv_rtp_src_0_150577551_96
New RTSP source found: recv_rtp_src_1_68827483_97
Source link FAILED
Source linked.
INFO -
kinesisVideoStreamFormatChanged(): Stream format changed.
ERROR -
on_new_sample(): kinesis_video_flags=1 pts=605968510 dts=605968510

DEBUG - putStreamHandler invoked
DEBUG - Created a new PutMedia request with stream upload handle: 0
INFO -
putStreamResultEvent(): Put stream result event.
INFO - Creating new connection for Kinesis Video stream: front-door-camera
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
INFO -
getKinesisVideoMetrics(): Get the memory metrics size.
INFO -
getKinesisVideoStreamMetrics(): Get stream metrics for Stream 00007f94da8ee66e.
DEBUG - Kinesis Video client and stream metrics
	>> Overall storage size: 536870912
	>> Available storage size: 536869760
	>> Allocated storage size: 1152
	>> Total view allocation size: 144072
	>> Total streams frame rate: 30
	>> Total streams transfer rate: 4194304
	>> Current view duration: 200000
	>> Overall view duration: 200000
	>> Current view size: 1112
	>> Overall view size: 1112
	>> Current frame rate: 30
	>> Current transfer rate: 4194304
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=647968510 dts=647968510

ERROR -
on_new_sample(): kinesis_video_flags=0 pts=688968510 dts=688968510

ERROR -
on_new_sample(): kinesis_video_flags=0 pts=730968510 dts=730968510

ERROR -
on_new_sample(): kinesis_video_flags=0 pts=772968510 dts=772968510

DEBUG - Curl post header write function returned:HTTP/1.1 100 Continue

DEBUG - Curl post header write function returned:

DEBUG - Wrote 1340 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=813968510 dts=813968510

DEBUG - Wrote 156 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=855968510 dts=855968510

DEBUG - Wrote 163 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=897968510 dts=897968510

DEBUG - Wrote 157 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=938968510 dts=938968510

DEBUG - Wrote 162 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=980968510 dts=980968510

DEBUG - Curl post header write function returned:HTTP/1.1 200 OK

DEBUG - Curl post header write function returned:x-amzn-RequestId: beeef72d-6db5-11e8-957d-dd8a783f5ab7

DEBUG - Curl post header write function returned:Content-Type: application/json

DEBUG - Curl post header write function returned:Transfer-Encoding: chunked

DEBUG - Curl post header write function returned:Date: Mon, 11 Jun 2018 20:26:39 GMT

DEBUG - Curl post header write function returned:

DEBUG - Wrote 42 bytes to Kinesis Video. Upload stream handle: 0
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":0,"FragmentNumber":"91343852333181774400852596062858897863980421376"}

DEBUG - fragmentAckReceivedHandler invoked
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1022968510 dts=1022968510

DEBUG - Wrote 99 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1063968510 dts=1063968510

DEBUG - Wrote 139 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1105968510 dts=1105968510

DEBUG - Wrote 172 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1147968510 dts=1147968510

ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1188968510 dts=1188968510

DEBUG - Wrote 174 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 74 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1230968510 dts=1230968510

DEBUG - Wrote 165 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1272968510 dts=1272968510

DEBUG - Wrote 180 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1313968510 dts=1313968510

DEBUG - Wrote 185 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1355968510 dts=1355968510

DEBUG - Wrote 211 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1397968510 dts=1397968510

DEBUG - Wrote 190 bytes to Kinesis Video. Upload stream handle: 0```

Hi, my apologies. You can get rid of that by commenting out the line 212 in the kinesis_video_gstreamer_sample_rtsp_app.cpp.

Hi, just wanna confim if you were able to stream successfully. Thanks

Thank you for the quick reply but the issue is not the log message. The problem is that the content is not showing in KVS.

@julianoteixeirafox could you please provide more information. Assuming you are trying to view the content in the KVS console window. What does it show? Could you also include more of the log spanning a few tens of seconds to ensure you are getting the ACKs back from the service so we can see whether the ingestion works just fine.
One important note: The KVS console playback will only "work" if the retention period of the stream is not set to 0.

@julianoteixeirafox

Just checked the console view for the test stream  rtsp://<IP_ADDRESS>/vod/mp4:BigBuckBunny_175k.mov and it renders the video without any issues.
Could you attach your screenshot?
Thanks

And these is the logs I get:
INFO - Initializing curl.
createKinesisVideoClient(): EnterINFO -
createKinesisVideoClient(): Creating Kinesis Video Client
INFO -
heapInitialize(): Initializing native heap with limit size 536870912, spill ratio 0% and flags 0x00000001
INFO -
heapInitialize(): Creating AIV heap.
INFO -
heapInitialize(): Heap is initialized OK
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
INFO - New credentials expiration is<PHONE_NUMBER>
DEBUG - createDeviceHandler invoked
INFO -
createDeviceResultEvent(): Create device result event.
DEBUG - clientReadyHandler invoked
DEBUG - Awaiting for the producer to become ready...
DEBUG - Kinesis Video producer is Ready.
DEBUG - Client is ready
INFO - Creating Kinesis Video Stream front-door-camera
INFO -
createKinesisVideoStream(): Creating Kinesis Video Stream.
DEBUG - describeStreamHandler invoked
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
DEBUG - Awaiting for the stream to become ready...
DEBUG - describeStream response: {"StreamInfo":{"CreationTime":1.528591028827E9,"DataRetentionInHours":2,"DeviceName":"Kinesis_Video_Device","KmsKeyId":"arn:aws:kms:us-west-2:857745839647:alias/aws/kinesisvideo","MediaType":"video/h264","Status":"ACTIVE","StreamARN":"arn:aws:kinesisvideo:us-west-2:857745839647:stream/front-door-camera/1528591028827","StreamName":"front-door-camera","Version":"UGTgyEZaXYlqCGQvRdeU"}}
INFO - Discovered existing Kinesis Video stream: arn:aws:kinesisvideo:us-west-2:857745839647:stream/front-door-camera/1528591028827
INFO - stream arn in stream_info struct: arn:aws:kinesisvideo:us-west-2:857745839647:stream/front-door-camera/1528591028827
INFO -
describeStreamResultEvent(): Describe stream result event.
DEBUG - streamingEndpointHandler invoked
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
DEBUG - getStreamingEndpoint response: {"DataEndpoint":"https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com"}
INFO - streaming to endpoint: https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com
INFO -
getStreamingEndpointResultEvent(): Get streaming endpoint result event.
DEBUG - streamingTokenHandler invoked
INFO - Refreshing credentials. Force refreshing: 1 Now time is:<PHONE_NUMBER> Expiration:<PHONE_NUMBER>
INFO - New credentials expiration is<PHONE_NUMBER>
INFO -
getStreamingTokenResultEvent(): Get streaming token result event.
DEBUG - streamReadyHandler invoked
DEBUG - Kinesis Video stream front-door-camera is Ready.
DEBUG - Stream is ready
DEBUG - Pipeline OK
DEBUG - rtsp://<IP_ADDRESS>/vod/mp4:BigBuckBunny_175k.mov
DEBUG - appsink configured
DEBUG - Pipeline built, elements NOT yet linked
DEBUG - Pipeline playing
New RTSP source found: recv_rtp_src_0_291024170_96
Source link FAILED
New RTSP source found: recv_rtp_src_1_1977569481_97
Source linked.
INFO -
kinesisVideoStreamFormatChanged(): Stream format changed.
ERROR -
on_new_sample(): kinesis_video_flags=1 pts=625242015 dts=625242015
DEBUG - putStreamHandler invoked
DEBUG - Created a new PutMedia request with stream upload handle: 0
INFO -
putStreamResultEvent(): Put stream result event.
INFO - Creating new connection for Kinesis Video stream: front-door-camera
INFO - Refreshing credentials. Force refreshing: 0 Now time is:<PHONE_NUMBER> Expiration: 0
INFO -
getKinesisVideoMetrics(): Get the memory metrics size.
INFO -
getKinesisVideoStreamMetrics(): Get stream metrics for Stream 00007fee65031a6e.
DEBUG - Kinesis Video client and stream metrics
>> Overall storage size: 536870912
>> Available storage size: 536869760
>> Allocated storage size: 1152
>> Total view allocation size: 144072
>> Total streams frame rate: 30
>> Total streams transfer rate: 4194304
>> Current view duration: 200000
>> Overall view duration: 200000
>> Current view size: 1112
>> Overall view size: 1112
>> Current frame rate: 30
>> Current transfer rate: 4194304
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=667242015 dts=667242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=708242015 dts=708242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=750242015 dts=750242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=792242015 dts=792242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=833242015 dts=833242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=875242015 dts=875242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=917242015 dts=917242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=958242015 dts=958242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1000242015 dts=1000242015
DEBUG - Curl post header write function returned:HTTP/1.1 100 Continue
DEBUG - Curl post header write function returned:
DEBUG - Wrote 2020 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1042242015 dts=1042242015
DEBUG - Wrote 99 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1083242015 dts=1083242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1125242015 dts=1125242015
DEBUG - Curl post header write function returned:HTTP/1.1 200 OK
DEBUG - Curl post header write function returned:x-amzn-RequestId: 23eaef0a-6f61-11e8-9668-b773eb4ae12f
DEBUG - Curl post header write function returned:Content-Type: application/json
DEBUG - Curl post header write function returned:Transfer-Encoding: chunked
DEBUG - Curl post header write function returned:Date: Wed, 13 Jun 2018 23:26:04 GMT
DEBUG - Curl post header write function returned:
DEBUG - Wrote 311 bytes to Kinesis Video. Upload stream handle: 0
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":0,"FragmentNumber":"91343852333181779357564513361570793790369428304"}
DEBUG - fragmentAckReceivedHandler invoked
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1167242015 dts=1167242015
DEBUG - Wrote 174 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1208242015 dts=1208242015
DEBUG - Wrote 74 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1250242015 dts=1250242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1292242015 dts=1292242015
DEBUG - Wrote 165 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 180 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1333242015 dts=1333242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1375242015 dts=1375242015
DEBUG - Wrote 185 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1417242015 dts=1417242015
DEBUG - Wrote 211 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 190 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1458242015 dts=1458242015
DEBUG - Wrote 226 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1500242015 dts=1500242015
DEBUG - Wrote 213 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1542242015 dts=1542242015
DEBUG - Wrote 244 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1583242015 dts=1583242015
DEBUG - Wrote 226 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1625242015 dts=1625242015
DEBUG - Wrote 248 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1667242015 dts=1667242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1708242015 dts=1708242015
DEBUG - Wrote 232 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 268 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1750242015 dts=1750242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1792242015 dts=1792242015
DEBUG - Wrote 264 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 276 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1833242015 dts=1833242015
DEBUG - Wrote 278 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1875242015 dts=1875242015
DEBUG - Wrote 277 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1917242015 dts=1917242015
DEBUG - Wrote 317 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=1958242015 dts=1958242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2000242015 dts=2000242015
DEBUG - Wrote 270 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 317 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2042242015 dts=2042242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2083242015 dts=2083242015
DEBUG - Wrote 304 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 319 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2125242015 dts=2125242015
DEBUG - Wrote 319 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2167242015 dts=2167242015
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2208242015 dts=2208242015
DEBUG - Wrote 394 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 346 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2250242015 dts=2250242015
DEBUG - Wrote 398 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2292242015 dts=2292242015
DEBUG - Wrote 379 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2332986532 dts=2332986532
DEBUG - Wrote 396 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2374912259 dts=2374912259
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2416893364 dts=2416893364
DEBUG - Wrote 402 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 372 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2457889257 dts=2457889257
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2499888520 dts=2499888520
DEBUG - Wrote 438 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 358 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2541888416 dts=2541888416
DEBUG - Wrote 448 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2582888405 dts=2582888405
DEBUG - Wrote 484 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=1 pts=2624888404 dts=2624888404
INFO -
getKinesisVideoMetrics(): Get the memory metrics size.
DEBUG - Wrote 831 bytes to Kinesis Video. Upload stream handle: 0
INFO -
getKinesisVideoStreamMetrics(): Get stream metrics for Stream 00007fee65031a6e.
DEBUG - Kinesis Video client and stream metrics
>> Overall storage size: 536870912
>> Available storage size: 536855795
>> Allocated storage size: 15117
>> Total view allocation size: 144072
>> Total streams frame rate: 2928
>> Total streams transfer rate: 2784589
>> Current view duration: 0
>> Overall view duration: 20190000
>> Current view size: 0
>> Overall view size: 13157
>> Current frame rate: 2928.2
>> Current transfer rate: 2784589
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2666888404 dts=2666888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2707888404 dts=2707888404
DEBUG - Wrote 434 bytes to Kinesis Video. Upload stream handle: 0
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":0,"FragmentNumber":"91343852333181779357564513361570793790369428304"}
DEBUG - fragmentAckReceivedHandler invoked
DEBUG - Wrote 581 bytes to Kinesis Video. Upload stream handle: 0
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1999,"FragmentNumber":"91343852333181779362516273518712315311504427046"}
DEBUG - fragmentAckReceivedHandler invoked
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2749888404 dts=2749888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2791888404 dts=2791888404
DEBUG - Wrote 62 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2832888404 dts=2832888404
DEBUG - Wrote 94 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2874888404 dts=2874888404
DEBUG - Wrote 39 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2916888404 dts=2916888404
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":0,"FragmentNumber":"91343852333181779357564513361570793790369428304"}
DEBUG - fragmentAckReceivedHandler invoked
DEBUG - Wrote 72 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2957888404 dts=2957888404
DEBUG - Wrote 66 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=2999888404 dts=2999888404
DEBUG - Wrote 87 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3041888404 dts=3041888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3082888404 dts=3082888404
DEBUG - Wrote 86 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3124888404 dts=3124888404
DEBUG - Wrote 148 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3166888404 dts=3166888404
DEBUG - Wrote 54 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3207888404 dts=3207888404
DEBUG - Wrote 45 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3249888404 dts=3249888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3291888404 dts=3291888404
DEBUG - Wrote 61 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3332888404 dts=3332888404
DEBUG - Wrote 861 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3374888404 dts=3374888404
DEBUG - Wrote 716 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3416888404 dts=3416888404
DEBUG - Wrote 720 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3457888404 dts=3457888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3499888404 dts=3499888404
DEBUG - Wrote 405 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 394 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3541888404 dts=3541888404
DEBUG - Wrote 314 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3582888404 dts=3582888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3624888404 dts=3624888404
DEBUG - Wrote 434 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 352 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3666888404 dts=3666888404
DEBUG - Wrote 549 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3707888404 dts=3707888404
DEBUG - Wrote 557 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3749888404 dts=3749888404
DEBUG - Wrote 562 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3791888404 dts=3791888404
DEBUG - Wrote 518 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3832888404 dts=3832888404
DEBUG - Wrote 591 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3874888404 dts=3874888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3916888404 dts=3916888404
DEBUG - Wrote 678 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 686 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3957888404 dts=3957888404
DEBUG - Wrote 629 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=3999888404 dts=3999888404
DEBUG - Wrote 591 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4041888404 dts=4041888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4082888404 dts=4082888404
DEBUG - Wrote 778 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 753 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4124888404 dts=4124888404
DEBUG - Wrote 734 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4166888404 dts=4166888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4207888404 dts=4207888404
DEBUG - Wrote 682 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 653 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4249888404 dts=4249888404
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4291888404 dts=4291888404
DEBUG - Wrote 707 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 610 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4332888404 dts=4332888404
DEBUG - Wrote 587 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4374917824 dts=4374917824
DEBUG - Wrote 602 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4416947008 dts=4416947008
DEBUG - Wrote 548 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4457975959 dts=4457975959
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4500004678 dts=4500004678
DEBUG - Wrote 571 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 616 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4542033168 dts=4542033168
DEBUG - Wrote 572 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4583061430 dts=4583061430
DEBUG - Wrote 524 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=1 pts=4625089466 dts=4625089466
INFO -
getKinesisVideoMetrics(): Get the memory metrics size.
INFO -
getKinesisVideoStreamMetrics(): Get stream metrics for Stream 00007fee65031a6e.
DEBUG - Wrote 4432 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Kinesis Video client and stream metrics
>> Overall storage size: 536870912
>> Available storage size: 536843360
>> Allocated storage size: 27552
>> Total view allocation size: 144072
>> Total streams frame rate: 3525
>> Total streams transfer rate: 1758973
>> Current view duration: 0
>> Overall view duration: 20210000
>> Current view size: 0
>> Overall view size: 25586
>> Current frame rate: 3525.7
>> Current transfer rate: 1758973
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4667117277 dts=4667117277
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4708144866 dts=4708144866
DEBUG - Wrote 234 bytes to Kinesis Video. Upload stream handle: 0
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1999,"FragmentNumber":"91343852333181779362516273518712315311504427046"}
DEBUG - fragmentAckReceivedHandler invoked
DEBUG - Wrote 319 bytes to Kinesis Video. Upload stream handle: 0
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":4000,"FragmentNumber":"91343852333181779367468033675853836953618505479"}
DEBUG - fragmentAckReceivedHandler invoked
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4750172234 dts=4750172234
DEBUG - Wrote 341 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4792199383 dts=4792199383
INFO - Curl post body write function for stream: front-door-camera and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":1999,"FragmentNumber":"91343852333181779362516273518712315311504427046"}
DEBUG - fragmentAckReceivedHandler invoked
DEBUG - Wrote 391 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4833226315 dts=4833226315
DEBUG - Wrote 418 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4875258822 dts=4875258822
DEBUG - Wrote 383 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4917291069 dts=4917291069
DEBUG - Wrote 394 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=4958323058 dts=4958323058
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5000354791 dts=5000354791
DEBUG - Wrote 396 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5042380357 dts=5042380357
DEBUG - Wrote 794 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5083405718 dts=5083405718
DEBUG - Wrote 348 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5125430876 dts=5125430876
DEBUG - Wrote 349 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5167455833 dts=5167455833
DEBUG - Wrote 366 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5208480590 dts=5208480590
DEBUG - Wrote 365 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5250505149 dts=5250505149
DEBUG - Wrote 390 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5292529512 dts=5292529512
DEBUG - Wrote 290 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5333553680 dts=5333553680
DEBUG - Wrote 333 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5375577655 dts=5375577655
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5417601438 dts=5417601438
DEBUG - Wrote 306 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 342 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5458625031 dts=5458625031
DEBUG - Wrote 360 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5500648435 dts=5500648435
DEBUG - Wrote 370 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5542671652 dts=5542671652
DEBUG - Wrote 458 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5583694683 dts=5583694683
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5625717530 dts=5625717530
DEBUG - Wrote 442 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 493 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5667740194 dts=5667740194
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5708762677 dts=5708762677
DEBUG - Wrote 471 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 520 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5750784980 dts=5750784980
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5792807104 dts=5792807104
DEBUG - Wrote 505 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 504 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5833829051 dts=5833829051
DEBUG - Wrote 500 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5875850823 dts=5875850823
DEBUG - Wrote 546 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5917872421 dts=5917872421
DEBUG - Wrote 610 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=5958893846 dts=5958893846
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=6000915099 dts=6000915099
DEBUG - Wrote 600 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 492 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=6042936182 dts=6042936182
DEBUG - Wrote 439 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=6083957097 dts=6083957097
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=6125977844 dts=6125977844
DEBUG - Wrote 453 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 417 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=6167998425 dts=6167998425
DEBUG - Wrote 498 bytes to Kinesis Video. Upload stream handle: 0
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=6209018842 dts=6209018842
ERROR -
on_new_sample(): kinesis_video_flags=0 pts=6251034170 dts=6251034170
DEBUG - Wrote 508 bytes to Kinesis Video. Upload stream handle: 0
DEBUG - Wrote 473 bytes to Kinesis Video. Upload stream handle: 0

Looking at the logs I can confirm that you have no issues streaming data up - you have adequate bandwidth and you are getting ACKs back OK.
We need to understand why you are unable to see the stream. Could you please try server-side timestamps from the console - just under the video screen?

Same problem

Seems like the screen shot is the same - at least the button hasn't changed to Producer time stamps.
At any rate, could you please confirm that you are using the right account/stream that was used in the producer? Also, what's the browser you are using? Assuming you have already ensured you have the adequate bandwidth/latency from your browser.

Yes. It has to be same account because I only have one kinesis stream in my aws console. I'm using chrome.

@julianoteixeirafox Can you change the region to us-west-2 in your aws console? It should be on the right top corner. Thanks.

That did it!

Lol! Could you please go ahead and close the issue.

Switching to us-east-2 did it also for me, but why? what's the reason?

@roccomuso I suspect you are talking about us-west-2. By default the producer will send stream data into us-west-2 region and it will create a stream for you if the stream didn't exist. If you want to use Kinesis Video Streams in other regions, please follow this instruction.
optionally, set AWS_DEFAULT_REGION environment variable for the region other than us-west-2.

Hi, my apologies. You can get rid of that by commenting out the line 212 in the kinesis_video_gstreamer_sample_rtsp_app.cpp.

no file as such, we have amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-gst-demo/kinesis_video_gstreamer_sample_app.cpp file.
can you let me know which line to remove to get rid of
ERROR -
on_new_sample(): kinesis_video_flags=0 error

Hi Iam trying to live stream using gstreamer plugin in amazon kinesis
rohan@rohan-HP-15-Notebook-PC:~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build$ gst-launch-1.0 autovideosrc ! videoconvert ! video/x-raw,format =I420,width=640,height=480,framerate=30/1 ! vtenc_h264_hw allow-frame-recording=FALSE realtime= TRUE ma-keyframe-interval=45 bitrate=500 ! h264parse ! video/-h264,stream-format=avc,alignment=au,width=640,height=480,framerate=30/1 ! kvssink stream-name= "Aerologiks2" storage-size= 1024 aws-region = us-east-1 log-config=kvslog
WARNING: erroneous pipeline: no element "vtenc_h264_hw"
But Iam stuck here please help me in doing this
Iam using ubuntu 16.04
I perfectly installed ./install-script

Addressed in another issue: https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/138#issuecomment-489386942


WIP: Fix the variable scope issue (#3838)

In the IR optimization pass, we turn all the loop to do-while loop form. But in the do-while loop form, the loop body block is dominating the blocks after the loop break block. This assumption is fine for SPIRV and IR code, however, it's incorrect for all the other language target (e.g. c/c++/cuda/glsl/hlsl) because the instructions defined in the loop body is invisible from outside of the loop. Therefore, when translating to other textual language, there could be issue for the variables scope.
To fix this issue, we first detect the instructions that are defined inside the loop block, then check if these instructions are used after the break block. If so, we duplicate these instructions right before their users such that we can make those instructions available globally.

I think the flow should be:

compute Dictionary<IRBlock*, List<IRLoop*>> for all blocks in the func the list of loop regions they are in.
add all insts in the func to work list.
Loop until work list is dry. For all insts in the work list, do the checking and duplication/load/store when needed.

compute Dictionary<IRBlock*, List<IRLoop*>> for all blocks in the func the list of loop regions they are in.
Why does a block have more loop regions? Do you mean we need to consider about multiple level loops?

Loop until work list is dry. For all insts in the work list, do the checking and duplication/load/store when needed.
I'm still thinking about our previous discussions.
What kinds of instructions are needed to duplicate outside loop?

Why do we need to check the load/store? I know the current process is not exactly correct, but seems like just duplicating the the instructions right before the use site resolves the issue. I can't come up with a corner case that can fail this for now.

There are certain things that you can't declare a variable and store it in.
For example, the result of getElementPtr() inst is a pointer.
You can't define a variable whose type is a pointer in HLSL.
The only way to make it available outside the loop is to duplicate it.

On the other side, there are certain things that you don't want to duplicate.
For example:
int someGlobalVar;
void doSomeSideEffect() { someGlobalVar++; }
...

do
{
       int a = doSomeSideEffect();
}while();
int b = a + 1;

You cannot duplicate the call to doSomeSideEffect because that changes the semantics of the program.

Those are really good examples.
I need to think about how to categorize which instructions need to be duplicated, and which are not.

The reason to use workList is to avoid any recursive calls. I think the structure here can be streamlined so that we are processing one use at at a time instead of one instruction at a time. An instruction may need to be duplicated multiple times if the use sites are in different loop regions.
For storable inst, because we already created the variable at global scope, we only need to process once and insert a load at each out of scope use site.


[BUG] Org-mode cursor is not visible if at end of line or beginning of new line

Describe the issue
When in an org file, the cursor is not visible if it's at  the end of the line or the beginning of a new line. In case it's inside a sentence, then the cursor is visible.
It doesn't have anything to do with a specific theme and it doesn't happen in any other file type. I'm running emacs27, but I don't think it has anything to do with this since I've tried Spacemacs as well and it didn't have the same behavior.
Here's a video:

This problem started a week or two ago. I thought I could ignore it, but I can't anymore. My two cents is that it might be from the package that draws a black highlight over the text at the current line (not hl-line-mode). It widens as more text is written, i don't know how to explain it any better.
M-x describe-char

             position: 122 of 313 (39%), column: 0
            character: C-j (displayed as C-j) (codepoint 10, #o12, #xa)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x0A
               script: latin
               syntax:   	which means: whitespace
             to input: type "C-x 8 RET a" or "C-x 8 RET LINE FEED (LF)"
          buffer code: #x0A
            file code: #x0A (encoded by coding system undecided-unix)
              display: no font available

Character code properties: customize what to show
  old-name: LINE FEED (LF)
  general-category: Cc (Other, Control)

There is an overlay here:
 From 122 to 123
  face                 hl-line
  priority             -50
  window               #<window 3 on test.org>

There are text properties here:
  fontified            t
  line-prefix          [Show]
  wrap-prefix          [Show]

Steps to reproduce
Nothing special. Just try to write an org file
System information

```
emacs   version    27.0.50
        features   XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD PDUMPER LCMS2 GMP
        build      okt 27, 2019
        buildopts  (--build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --program-suffix=-snapshot --with-modules=yes --with-x=yes --with-x-toolkit=gtk3 --with-xwidgets=yes 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-snapshot-THfQKC/emacs-snapshot-99081=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro')
        windowsys  x
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop, origin/develop, origin/HEAD d407b3355 2019-10-30 00:03:39 -0400
system  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /usr/bin/zsh
        uname      Linux 5.0.0-32-generic #34-Ubuntu SMP Wed Oct 2 02:06:48 UTC 2019 x86_64
        path       (~/.local/bin/ /snap/bin/ /usr/local/bin/ ~/.local/bin/ /snap/bin/ /usr/local/bin/ ~/.nvm/versions/node/v10.16.0/bin/ ~/.local/bin/ /snap/bin/ /usr/local/bin/ ~/.local/bin/ /usr/local/sbin/ /usr/local/bin/ /usr/sbin/ /usr/bin/ /sbin/ /bin/ /usr/games/ /usr/local/games/ /snap/bin/ ~/.local/share/fzf/bin/ /usr/lib/x86_64-linux-gnu/emacs/27.0.50/x86_64-linux-gnu/)
config  envfile    envvar-file
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) treemacs vc-gutter window-select workspaces :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs dired electric vc :tools ansible docker eval flycheck (lookup +docsets) lsp magit pass :lang common-lisp data emacs-lisp (javascript +lsp) markdown (org +dragndrop +ipython +pandoc +present) python sh :config (default +bindings +smartparens))
        packages   (n/a)
        elpa       (n/a)
```

This appears to occur only on the most recent commits (within the past month) of Emacs 27. I cannot reproduce it with the month-old build of 27 available to me on NixOS (https://github.com/emacs-mirror/emacs/commit/dd162a3f2264940e3e329d0bfb195f56d00ed08f).
The reason Spacemacs doesn't suffer this issue is likely due to the fact that Doom uses the latest version of org (v9.3.x), while Spacemacs uses the org package built into Emacs (v9.1.9 in Emacs 27).
What's more, there've been a number of changes to Emacs' face spec (mainly, the addition of an :extend property, which could cause an issue like this).
It's really hard to tell and, unfortunately, I cannot easily test this at the moment.
There are a few things you can do to test where the fault lies, however:

See if you can reproduce this in Doom's sandbox, with the following code:
(defun +org--release-a () "9.3")
(fset 'org-release #'+org--release-a)
(fset 'org-git-version #'ignore)
(advice-add #'org-release :override #'+org--release-a)
(advice-add #'org-git-version :override #'ignore)
(require 'org)
(find-file "some/org/file.org")

a) Test this in vanilla Emacs by pressing C-c C-c,
b) Test this in vanilla Doom by pressing C-c C-d,
c) And test this in vanilla doom+ (doom minus your private config) by pressing C-c C-p

Try any other theme besides the ones included in the doom-themes package (to rule out the possibility that this is a theme issue).

Add this to your config and see if the issue goes away.
(remove-hook 'org-load-hook #'+org-init-appearance-h)

(remove-hook 'org-load-hook #'+org-init-appearance-h) fixes this for me for GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.12, cairo version 1.17.3) of 2019-10-26.

@dinkonin is right. Removing the #'org-init-appearence-h hook from the org-load-hook fixed the problem for me as well.
I've done some more digging and the problem in the #'org-init-appearence-h function is this:
(setq org-startup-indented t)

This enables org-indent-mode which in turn triggers the problem. I can reproduce this just by M-x org-indent-mode in an org buffer to toggle it on or off. It's not much, but hopefully this helps narrowing down the problem some more.

This suggests that the problem is the latest version of the org package. Can it be reproduced in the sandbox?

Good news, bad news.
Can't reproduce it in the vanila emacs sandbox, even with org-indent-mode enabled.
I can reproduce it in the sandbox, but in the vanila doom sandbox (C-c C-d) with org-indent-mode enabled. But! the silver lining is that if I disable hl-line-mode in vanila doom, then I can't reproduce it anymore.
So, I think it's some strange interaction between org-indent-mode and hl-line-mode

Does this fix the issue?
;; in ~/.doom.d/config.el
(custom-set-faces!
  '((hl-line solaire-hl-line-face org-indent) :extend t)

Funnily enough, there has been one commit recently in hl-line-mode that has to do something with faces: https://github.com/emacs-mirror/emacs/commit/e1b5e80aad46bba39831ae4c0aa863e69c915b4c#diff-1a66ecafbabcd5a684d87d8155af59ad

Otherwise, try disabling :extend and see if it has any effect.

Looking good with:
;; in ~/.doom.d/config.el
(custom-set-faces!
  '((hl-line solaire-hl-line-face org-indent) :extend t)

Can't see the problem anymore. Woohoo!

Great! Then the onus is on doom-themes to fix this (at least, for doom-themes' themes). There is already an open issue for it here: https://github.com/hlissner/emacs-doom-themes/issues/342. I'll keep this issue open until it is resolved.

That's great news! Thank you for the help and for providing a work around for this. This little bug was so annoying the way it was manifesting.

After some more org-mode editing, I saw that the workaround only partially works. In case you have a heading or some text and there is no new lines under it (even empty lines will do), then the problem still is there.
Non-working example:
* My heading
 ** My subheading|  <-- cursor is not visible
<EOF> <-- no new line, just EOF

Working example:
* My heading
 ** My subheading|  <-- cursor is visible
<-- new empty line
<EOF>

Seems like the solution just needs to be expanded to include headings:
(custom-set-faces!
  '((outline-1 outline-2 outline-3 outline-4 outline-5 outline-6 outline-7 outline-8) :extend t)

I've noticed that some recent changes in emacs27 break highlight-indent-guides (with character mode) when hl-line-mode is enabled (cursor disappears when you start typing).
Probably related to the same :extend change.  (custom-set-faces '(hl-line ((t (:extend t)))))  doesn't help.

@wedens Try it with one of highlight-indent-guides' faces then.

Spacemacser checking in, Emacs 27, Org 9.2.6 (org-plus-contrib-20191118 from MELPA). I'm having essentially the same issue:

Without org-indent-mode, everything is kosher, with or without hl-line-mode.
With org-indent-mode, with or without hl-line-mode, cursor disappears at end of any line in a block (including header/footer)
With org-indent-mode AND hl-line-mode, cursor disappears at end of ANY line (except top-level headings!) after the first heading in the file

For now I'm using the following partial workaround (I wish Spacemacs had the equivalent of custom-set-faces!):

(dolist (face '(hl-line org-indent))
  (set-face-attribute face nil :extend nil))

(dolist (face '(org-block org-block-begin-line org-block-end-line))
  (set-face-attribute face nil :extend nil :background nil))

The only reason I'm setting :background to nil is because the Monokai theme gives blocks a different background, which becomes "ragged" when :extend is nil.
The drawback of this hack, aside from losing the background shading for blocks, is that hl-line no longer spans across the whole window. But at least I can see the damn cursor now.
I have no idea why this behavior only seems to show up in org-indent-mode, or whether this should be regarded as a bug in Org or in Emacs.

I've added :extend to a number of faces upstream, in doom-themes, which should resolve this issue. Let me know if that isn't the case and I'll reopen this. Thanks for bringing it to my attention!


Automatic PyPi Upload Patch

This is a patch to the automatic PyPi upload workflow that was not properly executed previously. The issue was caused by the created release type that prevents the action from being triggered in case of a new draft release. In more detail, when creating a new release via the GitHub web browser, it's automatically saved as a draft. Instead, either using the GitHub CLI for creating the release or changing the release type to published solves the issue. This PR implements the latter of both options.

Thanks Niklas!


Waiting for Zitadel to become ready LOOP

Describe the problem
I'm following the Quickstart guide for self hosting, I've successfully opened the required ports and pointed my public domain to the VM.
Unfortunately it gets stuck on Waiting for Zitadel to become ready, I can access the Zitadel page with https://domainname:443/ui/console and I can also see that I get the Lets Encrypt certificate.
If I just type the domain name I get a blank page.
To Reproduce
Follow the Quickstart Guide
Expected behavior
It should go further and show me the NetBird console
Are you using NetBird Cloud?
No
NetBird version
Latest
Screenshots

hey @alfrefarina
Are you running behind Cloudflare?
Also, could you please send the output of docker compose logs command?

@alfrefarina, can you confirm if the issue persists and if you are running with the required VM size?
The database used by Zitadel is quite resource-intensive, so you should have at least  1CPU and 2GB of memory

Yes, the issue still persists. My machine is an Ubuntu 20.04 with 4CPU and 4GB of memory.

the script validates the zitadel endpoint by issuing a request to Zitadel using the domain and generated PAT.
you can test it out with the following command:
PAT=$(cat ./machinekey/zitadel-admin-sa.token)
NETBIRD_DOMAIN=<your_instance_domain>
curl -v --fail -o /dev/null "https://$NETBIRD_DOMAIN/auth/v1/users/me" -H "Authorization: Bearer $PAT"

Is possible that the system can't access the docker container using this domain

If I run these commands the script gets stuck "Trying IP:443.." at 0%, if I access the URL https://$NETBIRD_DOMAIN/auth/v1/users/me it says: "code: 16, message: auth header missing"

can you update your /etc/hosts file and add the NETBIRD_DOMAIN value pointing to a local VM IP address and then try again?

If I point the NETBIRD_DOMAIN to the local IP address your commands seem to work, but shouldn't the domain point to the Public IP?

only for remote clients, the services don't need to use private IP addresses, so changing the /etc/hosts should be fine.

Sorry but I'm confused, if I rerun the quickstart script with NETBIRD_DOMAIN pointing to my local private IP address I won't get a certificate, because it needs my Public IP address, or am I wrong?

This will only happen if you update the domain in your DNS provider. However, updating the local server's /etc/hosts file should not affect certificate provisioning.

Ok, thank you very much, I rerun the script and I can successfully reach NetBird's dashboard.


Outdated connection Stream recording storage -> OD4B

The architecture presentation is amazing - but slightly outdated right now. (the pdf has a modified time stamp from 4/12/2019)
Esp. the connection between Microsoft Stream and the storage of the recordings is incorrect today and should be updated to the current status and point to OneDrive for Business.
Thanks!
Cheers
Stephanus<EMAIL_ADDRESS>
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ad3ad624-9792-91b7-c85f-09b839b1ea44
Version Independent ID: e8288f91-11bd-599b-8a88-074917b315a4
Content: Microsoft Teams IT architecture and voice solutions posters - Microsoft Teams
Content Source: Teams/teams-architecture-solutions-posters.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @impact0815, thank you for your feedback.
This issue is similar to:
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/7565
@cichur @LolaJacobsen @CarolynRowe, Do you think we can update this poster? Thanks!

Hi,
maybe you can make use of the attached slides.
If you have questions feel free to reach out to me!
Cheers
Stephanus
From: Dario Woitasen @.>
Sent: Wednesday, September 15, 2021 8:23 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Stephanus Schulte (HE/HIM) @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Outdated connection Stream recording storage -> OD4B (#7808)
Hi @impact0815https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fimpact0815&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586664829|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Hqt9m9XrePiDHcV%2FDs%2FPuTmngufYG0u2Av%2BwmQrhA4A%3D&reserved=0, thank you for your feedback.
This issue is similar to:
#7565https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F7565&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586664829|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=F2Ds5NBswDNsLSMZ9rebzW%2FRhWtAEP4Lx6d9Ed253ws%3D&reserved=0
@cichurhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcichur&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586674787|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=vNcwCoCrhe4PLykxy5G8oPTXC9JY3HdQYbxdhqZnQQU%3D&reserved=0 @LolaJacobsenhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLolaJacobsen&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586674787|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=iJtlKfYEBXysnLqgTgwvlGuwJjprzHapFMEEV95chy8%3D&reserved=0 @CarolynRowehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCarolynRowe&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586684742|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=xJbAbiyGAwHdcp3IerxWKEvKUFe8Gm6folx0%2BO8tYc8%3D&reserved=0, Do you think we can update this poster? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F7808%23issuecomment-920268857&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586694700|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=VM8M2IWpc8INai5roJ8jyYHZLNfgKt5IKDrXBfy5NCA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJU527ZNMJ75GGO6J3Z2DZTUCDP6VANCNFSM5DY6KF4A&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586694700|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NsvF5sYT2OHpTk%2BVSKFbvXyI3iW9ILYjaMzAil9ykQQ%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586704657|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=keKxq0FbzY9FZUkC3Fu2etUoWyAbnQvHWOEatjD2g28%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|stephanus.schulte%40microsoft.com|14936f3e189c4ea94bd908d97875ca10|72f988bf86f141af91ab2d7cd011db47|1|0|637673269586704657|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hiqVeQQhU1%2FJ57ymz0FTa%2BUoJ9Ualo8E%2BOyKZNLGQMg%3D&reserved=0.

@impact0815, sorry, What did you mean? I cannot edit the posters.

We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Add dashboard templates for multiple K8s entities

Relevant information
Adding dashboard definitions for the following Kubernetes entities:

Kubernetes pod
Kubernetes deployment
Kubernetes daemonset
Kubernetes statefulset

Checklist

[ ] I've read the guidelines and understand the acceptance criteria.
[ ] The value of the attribute marked as identifier will be unique and valid.
[ ] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

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


Provided a pushMirageIntoStore import for tests and one for outside tests

Exposes a method for the consumer to push mirage's database in the ember data store
If you call this method with no parameters, it will push the entire mirage store into ember store
You may also call this method with an array of resource names. ['accounts', 'accountTypes']. These must
be the resource names camelized.
You may also call it with a hash. This hash will have the resource names as the keys and the values will either
be true (push all records for that resource) or a where hash or function that will be applied to the that resource.
{
accounts: true,
accountTypes: { state: 'OH' }
users: item => item.name.includes("Joe")
}
@param server   The mirage server
@param store    the store you wish mirage to push to
@param config   undefined means push all resources
An array will push only the resources in the array
hash in the form of resource=value    Value may be true, all records, or a where hash or function

Rebased and re-pushed this.

The linter fails on
Native JS classes should be used instead of classic classes  ember/no-classic-classes
Its in my tests. But its the way that MirageJS Documents doing it. Pretty sure you have to use extend because of the way the base class works.
Should we lighten this lint or should I look into turning it off for this one file?


typos

chore: fix typos and style
chore: fix Markdown fenced block identifier

pushed back because 94f7a2b09c906ced7c641df604a5da153aaea71c was pushed out of PR proccess and broke my PR

Sorry about that! Thanks for catching these typos!

No problem, my pleasure


Align aggregate api with mongo docs without breaking

Changes the db.collection.aggregate() api to accept both the custom aggregate( step1, step2, …) and the official mongo aggregate( pipeline, options ) notations.
The aggregate() should accept the pipeline as a string, allowing to pass options object.
Does the same as #41 , but keeping compatibility with current notation.
Mongo docs for reference: https://docs.mongodb.org/manual/reference/method/db.collection.aggregate/

This merge would be so welcomed. Is actually promised-mongo abandoned?


Untranslated string

This addon uses a custom button

That isn't one of WIM's strings. Are you using an addon that manipulates the minimap icons?

yes


[pulsar client] partitioned topic cause connection leak when connection pool disable pooling

Describe the bug
when use partitioned topic, the connection from client to discovery service will grow up and keep alive util application shut down.
To Reproduce
Steps to reproduce the behavior:

we used pulsar-perf, command is: ./bin/pulsar-perf consume -n 6 -c 0 -u pulsar://x.x.x.x:6660,x.x.x.x:6660 -s sub-1 -st Failover tenantTest/namespaceTest/partitiontopic2
then netstat -anp | grep 6660 | wc -l, the connection number will increasing slowly

Expected behavior
if we disable pooling, the connection should close when we done our lookup.
Screenshots

Additional context
there is a timer in partition topic client will autoUpdatePartitions, every getPartitionsForTopic will create a new connection and won't close it

@jiazhai @tuteng @wolfstudy PTAL

@ltamber are you interested in contributing a fix to this?

@sijie Yes, but don't have any good way to fix this

@ltamber Thanks for the help. Seems it can be stable reproduce, and you are close the the root cause. Maybe we need to handle the release of disable-pooling connection in a different way.
In the ConnectionPool, (maxConnectionsPerHosts == 0) means a "disable pooling".


Generic type, vs. type that is a generic function

Search Terms
generic type function type typeof
Question/Suggestion
I imagine this has to have come up before, but I couldn't find an exact duplicate. https://github.com/Microsoft/TypeScript/issues/28655 seems maybe related.
Basically, imagine two types:
type A<T> = (value: T) => T
type B = <T>(value: T) => T

With A, I can easily do:
type A1 = A<"hi"> // (value: "hi") => "hi", as expected.
type A2 = ReturnType<A1> // "hi", as expected

With B, there seems to be no syntax I can use to bind the type variable:
type B1 = B<"hi"> // error, type B is not generic
type B2 = ReturnType<B1> // impossible, because of error above

This becomes an issue in practice when using typeof:
function it<T>(value: T) {
  return value;
}

type C = typeof it; // Gives B, not A, understandably

Is there a workaround here? If not, I guess I'm suggesting that there be one. The current error more or less makes sense because, in the general case, I see that writing B<...> couldn't (easily) work to bind the inner type variables, as B could be something like:
type B = <T extends string>(it: T) => any | <T extends number, U>(it: T) => any

But, in the original case, where B is <T extends string>(it: T) => any, maybe there could be some operator that I could use to "lift up" the generic to turn B into A and support this case?
Checklist
My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

See #15877 -> #17574

Thanks @RyanCavanaugh. I always really appreciate your quick, helpful responses. I'm gonna close this as a duplicate of #17574 (and also probably #29043 and a number of other related issues).


Import Capped

Hello. When using Dawn Traoz's version of the plugin and mapping out the post fields correctly. I do have them move over. However its only randomly 100 items or 150 items. I am never able to go more than that. The site i'm migrating has roughly 1000 posts.

After console logging the error i'm seeing the script get hung up on Could not create story {"rendered":""}


jax.lax.while_loop unnecessary comparison

Description
This is a MWE to reproduce the error.
Note that while_loop(cond_fun=cond_fun, body_fun=body_fun, init_val=init_val) works just fine, and I expect while_loop(cond_fun=cond_fun_buggy, body_fun=body_fun_buggy, init_val=init_val_buggy) to work exactly the same.
import jax
from collections import namedtuple

Stream = namedtuple("Stream", ["name"])
init_val = {Stream("x"): 0, Stream("y"): 0, Stream("i"): 0}
init_val_buggy = {Stream("x"): 0, Stream("y"): 0, "i": 0}

def body_fun(s):
    s[Stream("i")] += 1
    return s

def body_fun_buggy(s):
    s["i"] += 1
    return s

def cond_fun(s):
    return s[Stream("i")] < 10

def cond_fun_buggy(s):
    return s["i"] < 10

jax.lax.while_loop(cond_fun=cond_fun, body_fun=body_fun, init_val=init_val)
jax.lax.while_loop(cond_fun=cond_fun_buggy, body_fun=body_fun_buggy, init_val=init_val_buggy)

The last line leads to this error:
Traceback (most recent call last):
  File "/outputs/jax_bug_mwe.py", line 23, in <module>
    jax.lax.while_loop(cond_fun=cond_fun_buggy, body_fun=cond_fun_buggy, init_val=init_val_buggy)
  File "/miniconda3/envs/jaxbugs/lib/python3.9/site-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/miniconda3/envs/jaxbugs/lib/python3.9/site-packages/jax/_src/lax/control_flow/loops.py", line 1150, in while_loop
    init_vals, init_avals, body_jaxpr, in_tree, *rest = _create_jaxpr(init_val)
  File "/miniconda3/envs/jaxbugs/lib/python3.9/site-packages/jax/_src/lax/control_flow/loops.py", line 1129, in _create_jaxpr
    init_vals, in_tree = tree_flatten((init_val,))
  File "/miniconda3/envs/jaxbugs/lib/python3.9/site-packages/jax/_src/tree_util.py", line 61, in tree_flatten
    return pytree.flatten(tree, is_leaf)
jax._src.traceback_util.UnfilteredStackTrace: TypeError: '<' not supported between instances of 'str' and 'Stream'

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/outputs/jax_bug_mwe.py", line 23, in <module>
    jax.lax.while_loop(cond_fun=cond_fun_buggy, body_fun=body_fun_buggy, init_val=init_val_buggy)
TypeError: '<' not supported between instances of 'str' and 'Stream'

What jax/jaxlib version are you using?
jax 0.4.13, jaxlib 0.4.13+cuda12.cudnn89
Which accelerator(s) are you using?
CPU
Additional system info
python 3.9 debian
NVIDIA GPU info
No response

Thanks for the report!
The issue is that JAX transformations are not compatible with arbitrary dicts, but only dicts whose keys are sortable (See #15358 for details).
I'm going to close this because it's essentially a duplicate of #15358

Also related is #4085, where there is some discussion of how pytree dict handling might be re-designed in a way that would relax this sort-compatible key requirement.


Witsml Explorer UI Enhancements

Fixes
This pull request fixes #1588 , #1589 , #1590 , #1591 , #1592 , #1593 , #1594
Description
GUI Improvements.
Type of change
GUI Improvements

Bugfix
Enhancement of existing functionality
This change requires a documentation update

Impacted Areas in Application
FrontEnd UI Components will be affected including navigation
Checklist:
Please tick all the boxes or remove the ones that aren't needed and explain why
Communication

[x] PR is related to an issue
[ ] I have made corresponding changes to the documentation

Code quality

[x] Code follows the style guidelines
[x] I have self-reviewed my code
[ ] No new warnings are generated

Test coverage

[ ] Existing tests pass
[ ] New code is covered by passing tests

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Please split this PR into one pull request per issue, starting with issue #1593 and #1594


Internal annotations

Class BaseMetric has @internal Zlodes\PrometheusExporter\Metric annotation.
As a result psalm fails when I try to call new Gauge(...), new Counter(...) or new Histogram.
The same thing with GaugeCollector, CounterCollector, HistogramCollector.
new Gauge('body_temperature', 'Body temperature in Celsius'); //Constructor Zlodes\PrometheusClient\Metric\BaseMetric::__construct is internal to Zlodes and Zlodes but called from Andrew\Zlodes\Test::test

$bodyTemperatureGauge
            ->withLabels(['source' => 'ass'])
            ->update(37.2); //The method Zlodes\PrometheusClient\Collector\ByType\GaugeCollector::update is internal to Zlodes and Zlodes but called from Andrew\Zlodes\Test::test

Hi!
Yeap, I've already fixed it. I'm going to update it yesterday.
Could you please provide versions of:

Psalm
PHP

Seems I mentioned another issue.
Just tried it on fresh project and seems that it works fine.

Hi!
[andrew@manjaro php-prometheus-client]$ composer show --direct
vimeo/psalm              5.15.0 A static analysis tool for finding errors in PHP applications
zlodes/prometheus-client 1.1.4  The Prometheus Metrics client for PHP
[andrew@manjaro php-prometheus-client]$ php -v
PHP 8.2.9 (cli) (built: Aug  1 2023 12:25:51) (NTS)

Just tried it on fresh project and seems that it works fine.

I've prepared a test project for you: https://github.com/aivchen/php-prometheus-client-test
git clone https://github.com/aivchen/php-prometheus-client-test
cd php-prometheus-client-test
composer install
vendor/bin/psalm

@aivchen Fixed. Thank you!


DocumentlCirculation.js overbook indication is wrong

@kprzerwa what do you think about red checkmarks? is it overbooked or not ? 😕

will be solved with my next PR, I close it for now


Add handlebars templating

Hey, starting to look at Bookmarklets for something and found your plugin. Thought I'd have a go at adding the template support mentioned. This PR:

Adds Handlebars template engine
Migrated HTML to hbs template as default
Added ability to pass a path to a template file
Added examples for custom HTML and custom React component output

Let me know what you think

@drjonnicholson thanks for taking the time to create this pr! Give me a few days to review it and hopefully we can get it merged in soon :)

No rush @tomrule007 - any changes let me know, happy to update

Hey @tomrule007, any thoughts / feedback?

@drjonnicholson thanks for the contribution!
I updated the Readme giving you credit for the template engine change and also published the new version.
https://www.npmjs.com/package/bookmarklet-webpack-plugin/v/1.1.0


ON-14945: ON-15027: Separate build and deploy steps to support using pre-built images in air-gapped clusters.

A series of commits that separates the build and deploy steps of sfc, onload, sfptpd and sfnettest. This does add a lot of kustomization.yaml files, but it should mean that all of the existing kustomize commands work, but now you have more control about what builds you want to take place (if any).
Testing done
Tested deploying everything in a cluster and passing accelerated traffic both when build in cluster and when using pre-built images.

May I suggest considering less generic names for the files named "patch.yaml"?

I think we should retire the existing "onload/base" and "onload/dev", otherwise, we are duplicating YAMLs.
The suggested directory tree is:
onload/
  build/
    base/
    debug/ (or whatever we call build profiles)
    release/
  deploy/
    base/
    stage/
    prod/
  resources/
    cplane/
    deviceplugin/
    imagestream/
    kmm/
    userbuild/
  clusterlocal/
    stage-debug/ (Kustomization files in these directories should refer to the above "build" and "deploy")
    prod-release/

What do you reckon?

Another thought about "examples/profiles"...
Profiles are the deployment aspect of the application, i.e. we don't rebuild (and don't want to?) the sfnt-pingpong binary depending on the profile. Thus, why not move the profile files like "examples/profiles/throughput-base/deploy" in "examples/sfnettest/deploy/throughput"?
Also, not sure why we call it "throughput-base" (i.e. "-base")?

Merged. Further naming / structure conversations can continue, but I don't think they prevent this from going in.


MAC address used on TAP interface is always identical

Tested on several systems, mostly via https://github.com/mato/docker-unikernel-runner/tree/mirage-unix (but not docker-specific). The MAC address used by mirage-net-unix to communicate on the TAP interface is always identical:
Netif: plugging into tap0 with mac c2:9d:56:19:d7:2c

The MAC address is generated by the code:
 let mac = Macaddr.make_local (fun _ -> Random.int 256) in

It looks like Random is not being seeded correctly -- what code should be responsible for this?

likely noone calls Random.self_init ().  It is called in https://github.com/mirage/mirage-tcpip/blob/25721d32f73eec66249316993773c387b587c658/tcp/pcb.ml#L648.
You can either call Random.self_init () in mirage-net-unix, or have it somehow automatically be injected into startup (as done with nocrypto entropy initialisation)... in the long run, someone should reimplement the Random API on top of the nocrypto RNG (and use that all over, instead of the LFSR provided by Random)


feat: support voting flow

[x] Add useMaciVote hook
[x] Integrate maci cli sdk publish batch method
[x] Minor naming fixes
[x] Update libs to support transaction final state
[x] Add voting mutation with lock/unlock ballot
[x] Add project id mapper to vote index
[x] Fixes for new dependencies versions

Blocked by #21
Blocked by https://github.com/privacy-scaling-explorations/maci/pull/1251
Closes #7

@0xmad seems like this PR contains 2 big things: bumping dependency versions and voting flow. do you think we should split them and we could do more for the voting flow? (e.g. consider ctrl03's opinion on batch number stuff). I could help the bumping version stuff.

Without dependency updates locking ballot won't work. Changes related to updates don't have many breaking changes, just minor fixes.


Validation pipe includes "stack" property

Describe the bug
The response from validation pipe is including a "stack" property which exposes the server's error stack trace.
To Reproduce

CreateUserDto class

import { IsIn, IsNumber, IsString } from "class-validator";

export class CreateUserDto {
  @IsString()
  name: string;

  @IsNumber()
  age: number;

  @IsIn(["MALE", "FEMALE"])
  gender: string;
}

Route method handler

@Post()
create(@Body(ValidationPipe) body: CreateUserDto) {
  return {};
}

Simple POST request

POST http://localhost:3000/api/users
Content-Type: application/json

{
    "payload": "unsupported payload"
}

The request sent by VSCode's REST Client extension.

Response from the server

HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
ETag: "6a4-I9/hzpusvz/u/gNa5qAchH+aAMc"
Vary: Accept-Encoding
Content-Encoding: gzip
Date: Wed, 29 Dec 2021 07:26:43 GMT
Connection: close
Transfer-Encoding: chunked

{
  "statusCode": 400,
  "message": "name must be a string",
  "errors": [
    "name must be a string",
    "age must be a number conforming to the specified constraints",
    "gender must be one of the following values: MALE, FEMALE"
  ],
  "stack": "BadRequestException: name must be a string\n    at Object.validateObject (~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/@storyofams/next-api-decorators/dist/internals/validateObject.js:26:15)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async ~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/@storyofams/next-api-decorators/dist/internals/handler.js:59:25\n    at async Promise.all (index 0)\n    at async UsersController.runMainLayer (~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/@storyofams/next-api-decorators/dist/internals/handler.js:41:24)\n    at async UsersController.descriptor.value (~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/@storyofams/next-api-decorators/dist/internals/handler.js:105:13)\n    at async Object.apiResolver (~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/next/dist/server/api-utils.js:102:9)\n    at async DevServer.handleApiRequest (~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/next/dist/server/next-server.js:1064:9)\n    at async Object.fn (~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/next/dist/server/next-server.js:951:37)\n    at async Router.execute (~/code/web/frameworks/nextjs/crash/next-api-decorators/node_modules/next/dist/server/router.js:222:32)"
}

Expected behavior
What I am expecting is that the validation should only return the following properties (like NestJS does):
{
  "statusCode: "",
  "error": "",
  "messages": []
}

Desktop (please complete the following information):

OS: Linux 5.15.11-arch2-1 #1 SMP PREEMPT Wed, 22 Dec 2021 09:23:54 +0000 x86_64 GNU/Linux

Additional context
Dependencies:
{
  "@storyofams/next-api-decorators": "^1.6.0",
  "next": "12.0.7",
  "class-transformer": "^0.5.1",
  "class-validator": "^0.13.2",
}

Hi @KennFatt,
Thanks for your interest in the library!
The stack property is being sent to the client only in development mode (when NODE_ENV is development) which is the case when you run yarn dev. If you build your code and run your project with yarn start you will see that the stack property is not there in the response.

Please add this to the docs. (:


Phone auth not working with testing phone numbers when using Twilio Verify

I have configured Twilio Verify with some testing phone numbers and test OTP.
On sign up or phone number change using a test phone number, SMS is being send via Twilio, on production nothing happens.
When trying to enter the test OTP agains the test phone number entered before that I got:
Token has expired or is invalid

I checked the GoTrue source code and I think I found the issue. It looks that when Twilio Verify is configured all the OTP verification in done against it, can be observed here:
https://github.com/supabase/gotrue/blob/6ea135aa5e6745ff7cbd2e2df242218a66025ca8/internal/api/verify.go#L603-L618
The expectation is when a test phone number is used, to be verified against the test OTP, instead.
Unfortunately I'm not experienced in Go, so I cannot help with a PR, but I hope I helped with this analysis.
This issue is important as I saw many discussions and issues regarding AppStore GooglePlay reviews. Our mobile apps are also blocked being reviewed because of missing test phone auth.
We will be happy to see this quickly resolved and shipped, so we can continue using this great Supabase platform in production.

Hey Team,
This should be patched now -  going to close but please let us know if there are still issues.
Thank you 🙏

@J0 getting the same error when using test numbers on local supabase
also, test numbers don't have to be tied to the sms provider right?


tag it

This project was submitted at VersionEye. Somebody wants to get notified as soon you guys create a new tag. Why not starting now with a first '0.1.0' tag ala semantic versioning? ;-)

Added release v1.0.0 tag.

:+1:


WIP - Add auth headers to st2 API calls

With 0.9 release of st2, API endpoints could have authentication turned on. Therefore, nagios and sensu handlers need to use auth headers. This PR adds the header.
An auth token for st2 can be generated using the st2 CLI.
http://docs.stackstorm.com/latest/authentication.html#testing
Note that the TTL for this token needs to be large to avoid HTTP unauthorized error (401).
TODO:

[ ] - Edit documentation to pass in ttl info.
[ ] - Edit sensu documentation to include info about auth.

I really don't like this.
We're hell-bent on shipping auth, but we need this feature in order to not introduce regressions. I don't like we have less than 24 hours to battle test this before we release.
Seems like a blocker to me for shipping auth, imo.

Let me be clear...  the feature itself is fine. Just the timing and robustness is suspect to me


Ability to annotate the base class with @Getter(inherit=true) @Setter(inherit=true)

@Getter (inherit=true)
@Setter (inherit=true)
public class Base{
  private Long id;
}
public class Extend extends Base{
  private String name;
}

I'd like to have ability to annotate base class with @Getter and @Setter, do not annotate all his successors, but have getters & setters generated for successors.
Is this possible?

I thought I needed this today, but have decided against the idea.
I'm using lombok to flesh out  "configuration" classes for Dropwizard applications. I thought It'd be really neat to enable an experimental feature like @Accessors( chain = true ) across all of my configurations by adding it to a base class. However, my "best practice" opinion: this would be an inappropriate usage of lombok. If a reader happens upon Extend.java they'd have no expectation that the compiled class would define accessors. I think this would diverge too far from the behavior and interface users have come to expect from both javac and annotations. Lombok eliminates a lot of verbosity already -- best to just stick with class definitions that are concise and complete.

I agree. And besides: This requires resolution and is, thus, very difficult to impossible to implement.

Without any judgment on the merits, resolution is a very big problem.


Full Example!

Is it possible to post a full example on how to use the plugin? ( HTML input type="text" or "date"..., and how to handle the click event ).

Wow, no one has responded to this? This is the first question I had!

ok, is kind of obvious when you try it what it does.

Please try this example for Ionic 3 https://github.com/PrithiviRajG/Ionic-3-Native-Date-Picker-example


No module named 'alpha_vantage' (Anaconda / jupyter)

Hi,
After several hours of googling and scratching my head, I was unable to find the problem as to why jupyter is not able to import alpha_vantage module and throws an error:
First I installed alpha_vantage:
C:\Users\minda>pip install alpha_vantage
Collecting alpha_vantage
Using cached https://files.pythonhosted.org/packages/90/62/c48ff7e3c7b6d7d6b50aefa48166abc3617fa724dba4bb51dab27c6288e4/alpha_vantage-2.0.0.tar.gz
Requirement already satisfied: requests in c:\users\minda\appdata\local\programs\python\python36-32\lib\site-packages (from alpha_vantage) (2.18.4)
Requirement already satisfied: simplejson in c:\users\minda\appdata\local\programs\python\python36-32\lib\site-packages (from alpha_vantage) (3.14.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\minda\appdata\local\programs\python\python36-32\lib\site-packages (from requests->alpha_vantage) (2018.1.18)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\minda\appdata\local\programs\python\python36-32\lib\site-packages (from requests->alpha_vantage) (1.22)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\minda\appdata\local\programs\python\python36-32\lib\site-packages (from requests->alpha_vantage) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\minda\appdata\local\programs\python\python36-32\lib\site-packages (from requests->alpha_vantage) (2.6)
Installing collected packages: alpha-vantage
Running setup.py install for alpha-vantage ... done
Successfully installed alpha-vantage-2.0.0
Then tried to test with the following:
import alpha_vantage
from alpha_vantage.timeseries import TimeSeries
from pprint import pprint
ts = TimeSeries(key='YOUR_API_KEY', output_format='pandas')
data, meta_data = ts.get_intraday(symbol='MSFT',interval='1min', outputsize='full')
pprint(data.head(2))
It returned error:
ModuleNotFoundError                       Traceback (most recent call last)
 in ()
----> 1 import alpha_vantage
2 from alpha_vantage.timeseries import TimeSeries
3 from pprint import pprint
4
5 ts = TimeSeries(key='YOUR_API_KEY', output_format='pandas')
ModuleNotFoundError: No module named 'alpha_vantage'
I have gone through libraries, checked all names and couldn't find any obvious issues as to why it is not working.. Any suggestion / idea would be highly appreciated.
Thanks

Hi @M1nda, what python version are you using for installing alpha_vantage? And what python version is your jupyter notebook kernel using? Btw a virtual environment is always a really good idea for developing in python (I use anaconda). I have a second repo with a jupyter notebook with examples and that ran well.

Hi Romel, I am using 3.6.4.

Hi, and your jupyter kernel is also set to python 3? Have you tried the import from a python console?

Hi Romel, after some more digging, I set up new env with py3.5, re-installed alpha_vantage and it worked! Perhaps I should have done that earlier. Many thanks for getting back to me and have a great day!


bug: error: Cannot find module '../dist/utilities'

What version of daisyUI are you using?
4.2.0
Which browsers are you seeing the problem on?
No response
Reproduction URL
dont have
Describe your issue
After latest update to 4.2.0:
[ERROR] Build failed with 1 error:
error: Cannot find module '../dist/utilities'
Require stack:
- /node_modules/daisyui/src/index.js [plugin css-file]

Downgrading to 4.1.1 - everything works.

hey @saadeghi
I just updated to 4.2.2 and now I'm seeing this too:
css        | Error: Cannot find module '../dist/utilities.cjs'
css        | Require stack:
css        | - /Users/luiz/Projects/sumiu/node_modules/daisyui/src/index.js
css        |     at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
css        |     at Function.resolve (node:internal/modules/helpers:187:19)
css        |     at _resolve (/Users/luiz/Projects/sumiu/node_modules/jiti/dist/jiti.js:1:251148)
css        |     at jiti (/Users/luiz/Projects/sumiu/node_modules/jiti/dist/jiti.js:1:253746)
css        |     at /Users/luiz/Projects/sumiu/node_modules/daisyui/src/index.js:10:21
css        |     at evalModule (/Users/luiz/Projects/sumiu/node_modules/jiti/dist/jiti.js:1:256443)
css        |     at jiti (/Users/luiz/Projects/sumiu/node_modules/jiti/dist/jiti.js:1:254371)
css        |     at /Users/luiz/Projects/sumiu/tailwind.config.js:15:3
css        |     at evalModule (/Users/luiz/Projects/sumiu/node_modules/jiti/dist/jiti.js:1:256443)
css        |     at jiti (/Users/luiz/Projects/sumiu/node_modules/jiti/dist/jiti.js:1:254371) {
css        |   code: 'MODULE_NOT_FOUND',
css        |   requireStack: [ '/Users/luiz/Projects/sumiu/node_modules/daisyui/src/index.js' ]

Same

Sorry I fucked up 🫣

Sorry I fucked up 🫣

no problems :D

we all do it lol

Must be fixed now in 4.2.3

yes :) it works now!

(◍•ᴗ•◍)


xcbuild: add support for exporting sdk info

"Real" xcodebuild allows using xcodebuild -version -sdk without
an sdk version argument, which will dump sdk info for all the
installed sdks.
Bazel"s "xcode cc toolchain setup on mac" process uses this
to determine which SDK version is actually installed.  This
change allows using a nix-supplied pinned compiler and build
system under bazel.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@worldofpeace Can you merge this, or let me know what i should be doing to move this forward?  Thanks!

@virusdave Hi, I would merge this solely off the fact @matthewbauer approves, but I'm wondering if we want a mass rebuild on darwin for master where it isn't critical. I'm suspecting not, so could you rebase onto staging?

@virusdave Hi, I would merge this solely off the fact @matthewbauer approves, but I'm wondering if we want a mass rebuild on darwin for master where it isn't critical. I'm suspecting not, so could you rebase onto staging?

Sure, done!
For my benefit, what's the difference between master and staging ?

@virusdave See https://nixos.org/nixpkgs/manual/#submitting-changes-staging-branch https://nixos.org/nixpkgs/manual/#submitting-changes-staging-next-branch

Thanks for this :sparkles:


add challenge type to proposal endpoints

returns FullProposalInfo from the relevant endpoints, which includes the challenge_type field

LGTM
Ps: Do we need to make all tests pass for this repo?

Ps: Do we need to make all tests pass for this repo?
I think we should ask @dkijania

I'll wait for his answer, but the last time master was passing CI was May 16: https://github.com/input-output-hk/vit-testing/commits/main

We are working on stability of tests for vit-testing. Currently all tests except from test-debug  job should pass (and all jobs should compile correctly)

Will backport to monorepo


Still having trouble with dynamic header

Sorry to bring this up again.
I tried the recommended solution from the closed issue: 'Dynamic Header #196' but it still will not update header values at all.
I tried with and without the map function. This is what it looks like without mapping and just using the array index for the key:

                  {tableHeaders[0].fieldName}
                  {tableHeaders[1].fieldName}
                  {tableHeaders[2].fieldName}
                  {tableHeaders[3].fieldName}
                  {tableHeaders[4].fieldName}
                  {tableHeaders[5].fieldName}
                  {tableHeaders[6].fieldName}
                  {tableHeaders[7].fieldName}

// table body...

The tableHeaders are defined like this:
  const areaHeader = unit === 'metric' ? 'Area km²' : 'Area mi²'

  const tableHeaders = [
    { fieldName: 'CCA3', id: 'cca3' },
    { fieldName: 'Flag', id: 'flag' },
    { fieldName: 'Name', id: 'name' },
    { fieldName: 'Capital', id: 'capital' },
    { fieldName: 'Region', id: 'region' },
    { fieldName: 'Subregion', id: 'subregion' },
    { fieldName: 'Population', id: 'population' },
    { fieldName: areaHeader, id: 'area' },
  ]

I'm importing the SuperResponsiveTableStyle.css styles, and everything else about the responsive table is exactly what I hoped for.
The unit value in the table body /is/ correctly updated when unit changes, and the fieldName: areaHeader value changes can be seen logged in console, but the table itself will not update the header.
I'm out of ideas. What am I doing wrong? I have to admit, I don't understand how the key property in the
 element is supposed to work, I just took a stab at following the recommended from the previous issue. It wasn't shown to be within a map function, so... ? Idk.
I definitely would be happy with this package if I did not need dynamic values.

I got it working without this package, just using semantic-ui.


Start server promise always rejected

When I try to start server - I always catch an exception in promise catch block, but then server starts and becomes operational.
10 Seconds is not enough to start java server on MacOS (Sierra 10.12), it needs a little bit more. I have fixed that with setting  startupRetries to 200
Please make in configurable
Command I use to start server:
mockServer.start_mockserver({
    serverPort: config.port,
    verbose: true
}).then(() => {
    logger.info(`Mock server started on port [${config.port}]`);
    const mockServerClient = mockServer.mockServerClient;

}).catch((err) => {
    logger.info(`Unable to start mockServer [${JSON.stringify(err)}]`);
});

Normally I release a new versions across the board for all components but the new release is not available for the main MockServer application.  However, I have bumped the version of the next release for the main MockServer application so I can release a new point version of mockserver-node.  It is now released.


FoxHttpRequestBody does not generate UTF-8 body

While integrating the hipchat-api library, I noticed an encoding issue and opened https://github.com/Viascom/hipchat-api/issues/30. However, digging deeper shows that the problem is caused by FoxHttp... so I'm opening an issue here as well.
Here's the problem: if the request contains a non-ASCII character in its body, the character will not be properly encoded.
The culprit is the following method:
ch.viascom.groundwork.foxhttp.body.request.FoxHttpRequestBody#writeBody
DataOutputStream wr = new DataOutputStream(outputStream);
wr.writeBytes(json);

And here's the javadoc of java.io.DataOutputStream#writeBytes:

Writes out the string to the underlying output stream as a
sequence of bytes. Each character in the string is written out, in
sequence, by discarding its high eight bits. If no exception is
thrown, the counter written is incremented by the
length of s.

Since internally writeBytes(String) calls charAt, it does not support UTF-8, which is why the character is not properly encoded in the request.

This issue is fixed in Version 1.3.1


View does not change with orientation

If the user changes the devices orientation while the Spinner is shown,  the view under the spinner reorients but the spinner view does not.

that's an interesting issue, I'll look into it when I have time to fix some of the code


[Bug] :

Device information

Aniyomi version: App version: <IP_ADDRESS>-5846 (standard, aa69f47a1, 93, 2022-11-15T10:50Z)
-Android version: 10 (SDK 29)
-Android build ID: QDF30.130-42-5-17
-Device brand: motorola
-Device manufacturer: motorola
-Device name: foles
-Device model: moto z4
-Device product name: foles_vzw

Source information

Name: SuperStream
Extension version: 13.4

Steps to reproduce

First Step Search for Movie/Tv Show
Second Step

Expected behavior
Search for the correct thing
Actual behavior
Nothing shows up
Other details

I'm having the same problem

I'm having the same problem

Yeah it's weird too because like 5:00 a.m. I could search stuff but then afterwards I can't anything anymore...

Still wonky and not really fix. Still get these messages on the extension...


How to play

Hi!
After training, I try to let the code to play the game by typing
SESSION_ID="201609272034" make play
However, although the code outputs turn left or turn right. The interface of the game seems stuck, and the car in it does not move at all.
Could you please give me some comments to solve this issue?

It seems that the SESSION_ID you are using is from the example provided in the readme. You should set SESSION_ID to be equal to the folder name created after you trained the agent

Thanks for your reply.  SESSION_ID is modified.
The algorithm could output turn left or right, but the game interface seems frezon.

My guess it that it did not train long enough to figure out how to drive past the starting point. My suggestion is to train it further and In case you changed something in the default hyperparameters or algorithm, my suggestion is to keep checking the metrics to make sure the agent is learning and gaining a higher final score per episode, for example.


Add presenter and deprecate document browser

Broken tests in unrelated
MicPharoPackageCommentResourceReferenceTest
 ✗ #testLoadDirectory_prefix (3ms)

so I integrate it.


handle client-side history changes

closes: #16
Also adds a * pattern to the simple router that matches anything (used as catch-all route).

We might want to get this merged soon. People other than me are starting to use reactpy-router.