provision: Check for shell_profile files before creating them.

@hackerkid Would be better to check your Travis result, Says something like website not found

@anirudhjain75  I don't think error has to do anything with this PR.

Exception: Page not found: <404 https://www.ime.usp.br/~pf/Kernighan-Ritchie/C-Programming-Ebook.pdf>

The link in the docs is broken. Many other PRs are also getting their Travis test failed because of this issue.

This looks great!  Merged, thanks @hackerkid!


Upgrade to gradle 6.8

We should use version 6.8 of gradle instead of 6.7.1 (current one)

Huh, I forgot about that. Seems like my computer's default version was 6.7.1 so it auto-generated as such!
I'll make sure to change it in a later commit, thank you :)


FIX: Call Icon Positioning and Powercord Spotify widget overlapp

There were some small problems on the controls in the voice chat
Before

After

There were also some overlapping in the Powercord spotify widget:
Before

After

Cheers for the pr but you have a error with the Spotify height selector. I'll just fix this while I fix other things.


This is not a issue but a solution for you to use manual mapping

To have ESP or any of the features work with manual mapping you need to follow these steps

Open the solution after cloning it
set the project settings to release | x64
go to the project settings and then go to C/C++
then go to Command Line then in the Additional Options put /Zc:threadSafeInit-

To have ESP or any of the features work with manual mapping you need to follow these steps

Open the solution after cloning it
set the project settings to release | x64
go to the project settings and then go to C/C++
then go to Command Line then in the Additional Options put /Zc:threadSafeInit-

can you explain why? i'm trynna learn

DaddyKermit please leave this git because this isn't for you nor your programming skills, Do not skip classes !


c3 is very slow with big arrays

how can i make c3 faster?when i have more than 1500 data it becomes very slow.Also zoom is slower

That would really depend on how you wrote your code...
I'm using c3 with millions of data points and it works well.

show me that....because i make a simple code 20 rows and i only add 3000 data and sometimes firefox fall down

and of course is very slow

I also experience significant slow-down with increasing number of data points. Would be really interested in seeing a performant implementation with many data points.

Hi,
I have also the same problem with C3 with 2000 datasets.
It is a really good tool for graphing, but it's really slow. I checked it also eith 500 datasets and it is still slower than I expected.


README: Say when tagpass/tagdrop are valid from.

According to the following thread the tagpass and tagdrop parameters are only valid from telegraf 0.1.5.  This is a fix for the README file to specify that.

:+1:, thanks for the contribution!!
when you get a chance, please sign the CLA: https://influxdb.com/community/cla.html


The generated commit messages can easily differ significantly from the actual situation.

I think this tool is more customizable and easier to use than OpenCommit, but the generated commit messages often deviate too much from the actual situation.
I wonder if there’s a chance to reference OpenCommit's prompts to optimize the AI-generated messages.

@leoli0605 PR Welcome. Maybe you could refer to https://github.com/appleboy/CodeGPT/issues/142 to customize the prompt message.


Ability to select substrings of words

Hello,
This is an enhancement idea  - at the moment the highlighter only highlights full words.
Would it be possible to allow highlighting parts of the words too?
For example, create a rule for Foo should highlight:

IAbstractFooFactory
FooProcessor
_listOfInactiveFoo = new();

etc.
Ideally, separate rules for Foo and Bar should result in two highlights in one word, e.g.
var percentageOfFooInBarCollection = new();
This is useful in large codebases where you add 'a similar concept' as something that exists already (e.g. Foo) and there are many places where this Foo is used, so they should all stand out nicely.
Kind regards,

Thanks for the feedback! This has been implemented and will be released in the next build shortly. :)


tsxs accepts .lo files as argument for linking

It would be quite useful for tsxs utility to accept .lo files while linking the plugin: it would enable writing makefile that first compile changed files and then link all object files into a plugin.
The suggested patch modifies tsxs.in file accordingly.

If we are going to accept .lo files we should also accept .o files.

If we are going to accept .lo files we should also accept .o files.

Done


Trigonometric Calculator🧮

Description 📜
Trigonometric calculator is a calculator which will help to calculate the sin, cos,tan value of any given angle and it will display the relevant result . It's made using HTML,CSS,JS

Fixes #248

Checklist ✅

[X] I follow Contributing Guidelines & Code of conduct of this project.
[X] I have performed a self-review of my own code or work.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[X] I'm GSSOC'22 contributor
[X] Have you added a working video of your calculator ?

Screenshots / Gif (Optional) 📸

https://user-images.githubusercontent.com/77873383/163701322-04ac5ac1-886b-4c0b-9d3b-b779de61ba07.mp4

@mansi-garg-12 , @Chayan-11  please check it

Code is good to go But try to make it responsive....

https://user-images.githubusercontent.com/77873383/163727136-3f804903-62b9-4eed-bfaa-906e16d42ed7.mp4
Hey @mansi-garg-12 , It's already responsive..kindly look into the video

similar functionalities can be found in https://vashishth.me/CalcHub/Calculators/Scientific_Calculator/
closing this pr :)

similar functionalities can be found in https://vashishth.me/CalcHub/Calculators/Scientific_Calculator/
closing this pr :)

It's Scientific Calculator but mine is specifily for Trigonometric values....I put lot of effort on it...mentor mansi also told about merging ...now why are you closing it?


Enhance entra m365group user add by specifying multiple users. Closes…

Closes #6060

Thanks, we'll try to review it ASAP!

Really good job Saurabh. I will merge this soon. Thanks for the addition

Thank you @MathijsVerbeeck , I made one more minor change to make the role validation to be case insensitive.

PR merged succesfully. Thanks for your contribution.


Automatic renewal question - apply the certificat also to an other port than 443

I use Letsencrypt-win-simple at an Windows Server 2008R2. I've a website xyz.com that runs on port 80 and 443 only for generating the letsencrypt certificate.
The 'real' website runs on other ports eg. https://xyz.com:5678 .  Manual installation of the certificate works fine, but if letsencrypt-win-simple renews the certificate the new one is only bound to the 443 site. Is it possible to tell letsencrypt-win-simple to renew the certificat also for other ports?

I just ran into the exact same problem - the certificate is renewed, 443 updated correctly but since the old certificate is deleted, the binding on the other port becomes invalid and does not work at all.

@Knagis The --keepexisting flag stops the old certificate being deleted.
Otherwise, you both might be better off with a 'manual' update.

So is it possible to configure letsencrypt-win-simple to create AND renew an SSL cert on a port other than 443?  It would be good if it would prompt for the port number to use or put it in a config file or something.  But it seems to only create and bind to 443, or am I incorrect?  Thanks - Kris

I've made some changes so that the IIS plugin updates all bindings for a host, not just the first one it happens to find.

Thanks WT that is SUPER HELPFUL!  I'm working on renewing the certs this week so I appreciate your efforts to keep this up to date and enhancing it!  Cheers!


Doesn't support include shorthand

This doesn't work:
include: '/ci/shared/cache_variables.yml'
Error message: Didn't understand include "/"
this is "Single string with the include:local method implied"
This does work:
include:
  - local: '/ci/shared/cache_variables.yml'

https://github.com/firecow/gitlab-ci-local/commit/42bc8f51e43847302dddc081da56bb4615c641b8


Add infinite-width bit extract operator

Related issue: #857
Type of change: other enhancement
Impact: API addition (no impact on existing code)
Development Phase: hypothetical proposal
@jackkoenig @azidar @ducky64 This is an example of the hypothetical "infinite extract" operator. Not that I'm saying this is the right solution, but it is one easy solution.
Note: i is a terrible name that I just made up as an example.

Can we do something more compositional rather than introducing a special-case extract operation? I'd prefer something like (5.U.pad)(4, 2), though we should think about that an unbounded pad would do (or whether it's even useful) in other cases.

I'm not sure what the final word on this was, but I personally am in favor of not breaking backwards compatibility for this, and just adding a safe extract operator. I don't like i as the API though....

So the issue is that the backwards compatible solution means inconsistent behavior depending on whether your bit extraction is handled in Chisel frontend on a literal (in which case it implicitly pads the number to infinity) or in FIRRTL (where it would error out). And I'd argue that the former case is probably more of a bug than anything else, since it was a result of trying to special case literals in the chisel frontend but failing to maintain consistent behavior with FIRRTL.
We could also introduce a runtime deprecation phase, where the inconsistency will continue to work but emit a runtime deprecation warning, before removing it outright.


add amscd compatibility

Lists amscd as compatible with the usual math disclaimer and adds a test file. The content in the tag structure in acrobat is mostly nonsense but that's also true for other math objects.

but that's also true for other math objects

for which "other" math objects is this the case?

@FrankMittelbach All I mean is the plain text tag labels are not particularly useful for math. For example if you add
\begin{equation}
\prod_{x\in |X|}\frac{1}{1-t^{\deg x}}
\end{equation}

to the test file the tag structure looks like

ok, so what you are saying (I think) is that if math is not having an associated file or imbedded mathml in the inner part of the structure is essentialy useless --- which it is, and what this remark means about the need for external tools.
However, I wonder if we should in the basic version (where the formula content is described via alt text) mark the actual formula content as artifact. Wdyt @u-fischer @davidcarlisle ?

@FrankMittelbach

However, I wonder if we should in the basic version (where the formula content is described via alt text) mark the actual formula content as artifact. Wdyt @u-fischer @davidcarlisle ?

artifact seems wrong (since it is the main content)  but would it be better when there is no mathml to give the tex source as ActualText instead of, or as well as, Alt? rather than just letting the raw character data fall through to the tagging?
I did try to do that just now but failed to get the right tagpdfsetup incantation @u-fischer ?

artifact seems wrong (since it is the main content) but would it be better when there is no mathml to give the tex source as ActualText instead of, or as well as, Alt? rather than just letting the raw character data fall through to the tagging?
I did try to do that just now but failed to get the right tagpdfsetup incantation @u-fischer ?

I suggested artifact, because it might otherwise be read  even if there is alt + Actual text, I think some  viewers / AT tools do that. But I agree in principle just ActualText should be fine (maybe plus alt). Guess it need experimenting with different tools and/or ask around. But somehow we should suppress the strange data currently shown. @u-fischer ?
but perhaps we should not discuss this here further but open an issue for this as it isn't urgent and this pr should get merged.

I don't think that ActualText is correct unless we start to add tagging inside the Formula and want to handle single symbols. Artifact doesn't sound right either. The best way imho to get rid of the "strange data" is to use unicode-math plus some better definitions for \frac etc.

what's wrong (though not good) with ActualText containing the TeX source?

Well the TeX source is not the "actual text". Beside this it wouldn't help: you would still see the "strange data", but on the other side you would affect copy&paste.


too many values to unpack

I'm getting this error when trying to run the script https://github.com/danvk/oldnyc/blob/master/ocr/tess/crop_morphology.py:
$: ./crop_morphology.py untitled.jpg
untitled.jpg too many values to unpack

Any hint of what can be the issue?

the same problem to u

in older versions cv2.findContours return 2 values
in new versions of opencv, this funcion return 3 values, so you have to update the code to receive these 3 values:
Ex:
from contours, hierarchy = cv2.findContours
to something like this:
_, contours, hierarchy = cv2.findContours


Lists (ordered & unordered) don't use the correct internal Type

I'm attempting to use this library with Heist by passing the results from the markdown function through xmlhtml's renderHtmlNodes.
import Text.Markdown (markdown, defaultMarkdownSettings, msXssProtect)
import Text.Blaze.Renderer.XmlHtml (renderHtmlNodes)

renderHtmlNodes $ markdown defaultMarkdownSettings { msXssProtect = False } "# Title\n\n* one\n* two (*foo*)\n"

The results are pretty close to what I would expect except for one little problem:  the opening and closing tags for the unordered list are in a TextNode:
[Element {elementTag = "h1", elementAttrs = [], elementChildren = [TextNode "Title"]}
,TextNode "<ul>"
,Element {elementTag = "li", elementAttrs = [], elementChildren = [TextNode "one"]}
,Element {elementTag = "li", elementAttrs = [], elementChildren =
	[TextNode "two ("
	,Element {elementTag = "i", elementAttrs = [], elementChildren = [TextNode "foo"]}
	,TextNode ")"
	]}
,TextNode "</ul>"
]

The correct output should look like this:
[Element {elementTag = "h1", elementAttrs = [], elementChildren = [TextNode "Title"]}
,Element {elementTag = "ul", elementAttrs = [], elementChildren =
	[Element {elementTag = "li", elementAttrs = [], elementChildren = TextNode "one"]}
	,Element {elementTag = "li", elementAttrs = [], elementChildren =
		[TextNode "two ("
		,Element {elementTag = "i", elementAttrs = [], elementChildren = [TextNode "foo"]}
		,TextNode ")"
		]}
	]}
]

The results are the same for both ordered and unordered lists.

This isn't a use case I've designed the library to address, but if you'd
like to send a PR that keeps the output the same but makes the structure
more to your liking, I'm open to it.
On Sun, Sep 17, 2017 at 8:01 PM, cimmanon<EMAIL_ADDRESS>wrote:

I'm attempting to use this library with Heist by passing the results from
the markdown function through xmlhtml's renderHtmlNodes.
import Text.Markdown (markdown, defaultMarkdownSettings, msXssProtect)import Text.Blaze.Renderer.XmlHtml (renderHtmlNodes)
renderHtmlNodes $ markdown defaultMarkdownSettings { msXssProtect = False } "# Title\n\n* one\n* two (foo)\n"
The results are pretty close to what I would expect except for one little
problem: the opening and closing tags for the unordered list are in a
TextNode:
[Element {elementTag = "h1", elementAttrs = [], elementChildren = [TextNode "Title"]}
,TextNode ""
,Element {elementTag = "li", elementAttrs = [], elementChildren = [TextNode "one"]}
,Element {elementTag = "li", elementAttrs = [], elementChildren =
[TextNode "two ("
,Element {elementTag = "i", elementAttrs = [], elementChildren = [TextNode "foo"]}
,TextNode ")"
]}
,TextNode ""
]
The correct output should look like this:
[Element {elementTag = "h1", elementAttrs = [], elementChildren = [TextNode "Title"]}
,Element {elementTag = "ul", elementAttrs = [], elementChildren =
[Element {elementTag = "li", elementAttrs = [], elementChildren = TextNode "one"]}
,Element {elementTag = "li", elementAttrs = [], elementChildren = [TextNode "one"]}
,Element {elementTag = "li", elementAttrs = [], elementChildren =
[TextNode "two ("
,Element {elementTag = "i", elementAttrs = [], elementChildren = [TextNode "foo"]}
,TextNode ")"
]}
]}
]
The results are the same for both ordered and unordered lists.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/snoyberg/markdown/issues/36, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADBBw81lZD6nC20VFBhQT78pkizZ4pxks5sjVBggaJpZM4PaNTb
.


Updated ERC tokens samples

added check for math oveflow where necessary - Closes #701
added name, symbol and default token options to all go erc sample that were missing these options
renamed SetOptions() to Initialize()
made sure that you need to initialize contract and its options (call Initialize()) first before calling any contract functions
made sure Inizialized() can be called only once

Signed-off-by: fraVlaca<EMAIL_ADDRESS>

Could definitely have a try, do you have a more detailed idea in what the experiment and goals of it would look like? @jkneubuh
Would the aim be to do the same actions on different implementations of functionally equivalent chaincode and test that they all have the same result despite the implementation?


How to use webrtc-unidirectional-h264?

I've compiled it with GST 1.17 (master) and start it. It shows:
WebRTC page link: http://<IP_ADDRESS>:57778/
When I go to link in browser, I have this message in the terminal:
Processing new websocket connection 0x556eb535f920
And that's all. Nothing happens. Browser' javascript console shows nothing too.
What is the correct way to run it? Should I start the signaling server before?

The unidirectional example is a standalone simple HTTP server, it doesn't require the signalling service. It's also a really minimal example and not handling any pipeline errors properly - so my first guess is that you are missing a plugin and it can't build the sender pipeline.
Run the example with GST_DEBUG=3 like:
GST_DEBUG=3 ./webrtc-unidirectional-h264
and see if any warning or error level messages are printed.

Yes, you were right:
WARN                 basesrc gstbasesrc.c:3075:gst_base_src_loop:<v4l2src0> error: Internal data stream error.
0:00:21.647724330 28329 0x55c6506840f0 WARN                 basesrc gstbasesrc.c:3075:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason not-negotiated (-4)

Will try with videotestsrc

I've changed src to the videotestsrc, and now it exchanges with SDP offers, but right after I've got:
Received ICE candidate with mline index 0; candidate: candidate:3870668465 1 udp<PHONE_NUMBER> c2f7a3e6-4725-4c12-a670-bd2c987ea256.local 44201 typ host generation 0 ufrag ityw network-cost 999
and nothing is playing.

Thank you very much for your help. I've managed to make it works with videotestsrc and firefox. But now, when I'm trying to set rtspsrc instead of videotestsrc it stops working. I don't know why, but on the almost same offer firefox sends completely different answer:
Here is videotestsrc offer and firefox answer:

 Negotiation offer created:
v=0
o=-<PHONE_NUMBER>35251100 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:PlDlYGWc3Cv4SLQXpXNruB+CPswDgqHT
a=ice-pwd:epaey6zLfRWKcydN+OwmSGyqeHqk5KTt
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack pli
a=framerate:30
a=fmtp:96 packetization-mode=1;profile-level-id=42c00d;sprop-parameter-sets=Z0LADdoFB+wFqDAINSgAAAMACAAAAwHkeKFV,aM48gA==
a=ssrc:3594085650 msid:user1213536650@host-936ce970 webrtctransceiver0
a=ssrc:3594085650 cname:user1213536650@host-936ce970
a=mid:video0
a=fingerprint:sha-256 8E:E8:7F:C0:E9:98:44:78:F2:EF:D1:A4:2A:41:4B:58:94:67:76:63:04:72:8F:BA:CE:AE:75:92:CA:ED:33:36

Received SDP:
v=0
o=mozilla...THIS_IS_SDPARTA-75.0<PHONE_NUMBER>614964782 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 4B:6F:E2:E9:A0:EE:EE:A8:29:93:AA:5C:67:44:5C:68:17:3A:59:BF:4C:46:D3:F8:B5:BE:A5:58:39:D6:50:64
a=ice-options:trickle
a=msid-semantic:WMS *
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=recvonly
a=fmtp:96 profile-level-id=42e00d;level-asymmetry-allowed=1;packetization-mode=1
a=ice-pwd:8651e0cf0720238624c0674dd56b97d5
a=ice-ufrag:6d3d35bb
a=mid:video0
a=rtcp-fb:96 nack pli
a=rtcp-mux
a=rtpmap:96 H264/90000
a=setup:active

Here is with rtspsrc:
Negotiation offer created:
v=0
o=-<PHONE_NUMBER>932552102 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:8j2pXxYTwEEL9cwzDTprzQOuGx03gk2S
a=ice-pwd:azJw/arzC58TbxI83ABTvvZNgu9m/aSh
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack pli
a=framerate:20
a=fmtp:96 packetization-mode=1;profile-level-id=4d4028;sprop-parameter-sets=Z01AKJWgHgCJ+WbIAAADAAgAAAMBRCA=,aO48gA==
a=ssrc:2919030461 msid:user3184521545@host-62db5e00 webrtctransceiver0
a=ssrc:2919030461 cname:user3184521545@host-62db5e00
a=mid:video0
a=fingerprint:sha-256 AF:CE:87:C7:A5:27:9E:6E:21:3F:4B:8D:34:F7:2A:78:FC:4D:07:39:EA:64:71:19:61:D5:40:43:22:E9:AC:6E

Received SDP:
v=0
o=mozilla...THIS_IS_SDPARTA-75.0<PHONE_NUMBER>843286918 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 57:3A:E7:73:22:8C:ED:E7:D5:A5:EB:2F:71:80:43:AF:14:DB:69:3A:B1:55:2B:12:CE:7E:F8:28:0D:E0:03:92
a=ice-options:trickle
a=msid-semantic:WMS *
m=video 0 UDP/TLS/RTP/SAVPF 120
c=IN IP4 <IP_ADDRESS>
a=inactive
a=mid:video0
a=rtpmap:120 VP8/90000

I know, that it is our of this issue, but I was not able to google anything similar. Any thought?

Firefox is fussy about the profile-level-id in the offer, which is determined by the H.264 profile and level. The 'video/x-h264,profile=constrained-baseline' caps filter constrains that partly and works for videotestsrc with the 640x360 @ 15fps video.
Changing it to 'video/x-h264,profile=constrained-baseline,level=(string)4' works for me here with 1080p 30fps video and Firefox

I'm trying to stream h264 directly from IP camera. So my pipeline, ideally, should look like:
receiver_entry->pipeline = gst_parse_launch ("webrtcbin name=webrtcbin stun-server=stun://" STUN_SERVER " "
       "rtspsrc<EMAIL_ADDRESS>buffer-mode=0 latency=10"
       " ! webrtcbin. ", &error);

No h264depay - h264pay required, as I already have rtp packed h264 stream. So, I'm not very clear where I should set 'video/x-h264,profile=constrained-baseline,level=(string)4' caps.

I've found out. That in such case I should add webrtc transiver manually:
GstWebRTCRTPTransceiver *trans = NULL;
GstCaps *caps =
gst_caps_new_simple (
 "application/x-rtp",
"media", G_TYPE_STRING, "video",
"encoding-name", G_TYPE_STRING, "H264",
"clock-rate", G_TYPE_INT, 90000,
"payload", G_TYPE_INT, RTP_PAYLOAD_TYPE,
NULL);
g_signal_emit_by_name( receiver_entry->webrtcbin, "add-transceiver", GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY, caps, &trans );

But still got wrong SDP answer.

If you're receiving H.264 and retransmitting without reencoding, you're completely at the mercy of the IP camera and whatever H.264 profile / level it's sending you. It may or may not be usable in the browser.

By the way, it works when you create the transceiver manually because it gets WebRTC to report a fake H.264 profile-level-id into the SDP. That works because the browser can actually decode more profiles/levels than it is willing to accept if you tell it the truth.

I've added rtph264depay->rth264pay step and SDP started to look completely different. My SDP has
a=sendonly
for both cases,
Chrome SDP in the answer has both:
a=sendonly
a=recvonly

but Firefox has only:
a=sendrecv
Can I add anything to make it work?

It would help to see the whole SDP. I'm not sure what you're describing.

Here output for Firefox:
Negotiation offer created:
v=0
o=-<PHONE_NUMBER>177594982 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=ice-options:trickle
a=group:BUNDLE video0 video1
m=video 9 UDP/TLS/RTP/SAVPF 105
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:i8LhaAaYMnE9ZioBlgIRSWtwzIOrs+8V
a=ice-pwd:uzOkTnB4dEkN90iwQoQ6A05Rinu9FY4d
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:105 H264/90000
a=rtcp-fb:105 nack pli
a=recvonly
a=fmtp:105 profile-level-id=4d4028;packetization-mode=1;sprop-parameter-sets=Z01AKJWgHgCJ+WbIAAADAAgAAAMBRCA=,aO48gA==
a=ssrc:262572500 msid:user1445342556@host-708dbb5a webrtctransceiver2
a=ssrc:262572500 cname:user1445342556@host-708dbb5a
a=mid:video0
a=fingerprint:sha-256 6C:7F:4D:1E:4C:AF:93:F9:CD:4D:8F:6B:D5:63:92:03:F7:13:44:15:DB:1C:CB:2E:C6:D8:9E:B0:36:16:D3:C4
m=video 0 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:i8LhaAaYMnE9ZioBlgIRSWtwzIOrs+8V
a=ice-pwd:uzOkTnB4dEkN90iwQoQ6A05Rinu9FY4d
a=bundle-only
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack pli
a=mid:video1
a=fingerprint:sha-256 6C:7F:4D:1E:4C:AF:93:F9:CD:4D:8F:6B:D5:63:92:03:F7:13:44:15:DB:1C:CB:2E:C6:D8:9E:B0:36:16:D3:C4

Received SDP:
v=0
o=mozilla...THIS_IS_SDPARTA-75.0<PHONE_NUMBER>08296999 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 0A:C7:A2:56:7D:1F:06:82:6D:41:A0:23:A5:E8:F7:62:BC:9B:C8:66:4A:F9:B7:DA:F1:49:5F:EC:11:2E:E5:C1
a=ice-options:trickle
a=msid-semantic:WMS *
m=video 0 UDP/TLS/RTP/SAVPF 120
c=IN IP4 <IP_ADDRESS>
a=inactive
a=mid:video0
a=rtpmap:120 VP8/90000
m=video 0 UDP/TLS/RTP/SAVPF 120
c=IN IP4 <IP_ADDRESS>
a=inactive
a=mid:video1
a=rtpmap:120 VP8/90000

0:01:19.132431922 26242 0x559f9bbdf990 ERROR              webrtcbin gstwebrtcbin.c:4248:_set_description_task:<webrtcbin> media 0 is missing or contains an empty 'ice-ufrag' attribute

Here is for Chrome:
Negotiation offer created:
v=0
o=-<PHONE_NUMBER>545516472 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=ice-options:trickle
a=group:BUNDLE application0 video1
m=application 9 UDP/TLS/RTP/SAVPF 107
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:F+Pclsy3D9XCZrv4PLg1MRpSC6wr0309
a=ice-pwd:sizMbxHH9Y7/cH7vTgOrwuFb5oohAI4m
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:107 VND.ONVIF.METADATA/90000
a=rtcp-fb:107 nack pli
a=recvonly
a=fmtp:107 decodertag=h3c-v3 RTCP=0
a=ssrc:116046122 msid:user3302686175@host-79943653 webrtctransceiver0
a=ssrc:116046122 cname:user3302686175@host-79943653
a=mid:application0
a=fingerprint:sha-256 A8:AB:1E:47:9E:89:66:7A:AF:FD:BC:EB:44:82:CA:A3:7B:4F:8A:8E:C2:37:0D:70:C5:C6:67:F4:39:92:3F:47
m=video 0 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:F+Pclsy3D9XCZrv4PLg1MRpSC6wr0309
a=ice-pwd:sizMbxHH9Y7/cH7vTgOrwuFb5oohAI4m
a=bundle-only
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack pli
a=mid:video1
a=fingerprint:sha-256 A8:AB:1E:47:9E:89:66:7A:AF:FD:BC:EB:44:82:CA:A3:7B:4F:8A:8E:C2:37:0D:70:C5:C6:67:F4:39:92:3F:47

Received SDP:
v=0
o=-<PHONE_NUMBER>304585396 2 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=group:BUNDLE application0 video1
a=msid-semantic: WMS
m=application 9 UDP/TLS/RTP/SAVPF 0
c=IN IP4 <IP_ADDRESS>
b=AS:30
a=rtcp:9 IN IP4 <IP_ADDRESS>
a=ice-ufrag:Nj5k
a=ice-pwd:tDL+CSNnj7AYAvMBv27uJKss
a=ice-options:trickle
a=fingerprint:sha-256 08:B2:95:EA:77:CC:D4:07:ED:E8:16:09:8A:C2:06:23:81:56:1A:78:43:8B:04:DC:E6:2A:C9:E0:F0:93:FE:31
a=setup:active
a=mid:application0
a=sendonly
a=rtcp-mux
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=rtcp:9 IN IP4 <IP_ADDRESS>
a=ice-ufrag:Nj5k
a=ice-pwd:tDL+CSNnj7AYAvMBv27uJKss
a=ice-options:trickle
a=fingerprint:sha-256 08:B2:95:EA:77:CC:D4:07:ED:E8:16:09:8A:C2:06:23:81:56:1A:78:43:8B:04:DC:E6:2A:C9:E0:F0:93:FE:31
a=setup:active
a=mid:video1
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack pli
a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f

0:00:08.164452458 32291 0x55db874720a0 ERROR              webrtcbin gstwebrtcbin.c:4193:_update_transceivers_from_sdp:<webrtcbin> Unknown media type in SDP at index 0

Both not working

Pretty strange SDPs. Why is the offer generated to Chrome different to the one for Firefox? The Chrome offer has incomplete caps and also includes an ONVIF metadata stream? Maybe your setup code is racy.
It's also strange that you're sending an offer with 2 video streams - 1 sendonly video stream, and 1 recvonly. In the SDP sent to Firefox, it has a recvonly video stream (asking Firefox to send a stream to us), and specifies a profile-level-id that Firefox doesn't support, so it comes back inactive. The other stream 'sendonly' doesn't contain profile-level-id, and firefox rejects it for that reason. The field is probably missing because the caps are incomplete - you might need to wait for the pipeline to preroll some data from the webcam before you can send the WebRTC offer.

Thank you very much for your help. Because this topic is not googlable at all.
So, as you predict, I faced an issue, that profile-level-id is not supported by browsers. First of all, I was not able to find a list of supported profiles for each browser. Second, can you explain a bit, how does webrtcbin generate SDP offer. What data does influent on outgoing profile-level-id generation? For example, when I have rtspsrc->webrtcsink pipeline, I have profile-level-id=42001f. When I add rtspsrc->depay->parse->pay->webrtcsink, I have profile-level-id=64002a.

The profile-level-id is generated from the H.264 profile and level in the codec_data or SPS. It's calculated here in the payloader: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/blob/798f320ba7b38c65cbf2069e62e072903ad0ad9d/gst/rtp/gstrtph264pay.c#L485
When you take it straight from rtspsrc, it comes from the profile-level-id of the SDP the RTSP server provides, which might not actually match the stream.

I understand, that with browsers there can be profile-level-id issues. So, I decided, first to try it on GST->WebRTC->GST chain. From c sendrecv code I've made sendonly, and from python one, I've made recv only. It successfully establishes a connection, gathering ice candidates. But after that, on the sender side I have an error:
ERROR              webrtcbin gstwebrtcbin.c:4248:_set_description_task:<sendrecv> Fingerprint in media 1 differs from previous fingerprint. sha-256 C6:72:49:E0:FF:F0:12:BD:25:98:57:2B:C2:72:AE:0F:26:DE:FD:90:38:68:4B:46:46:CB:DC:C0:22:1E:F5:38' != 'sha-256 7E:DC:FC:CC:A4:94:F2:02:9B:E3:FD:52:76:7C:FB:E8:C6:5D:BF:D1:1C:AC:76:EE:29:5C:88:C7:3A:83:F5:D6'
My Sender offer:
Sending offer:
v=0
o=-<PHONE_NUMBER>724955141 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=ice-options:trickle
a=group:BUNDLE video0 application1
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:xt4XLsdVoRCRlum2fPJtmRGJL7fb0ENO
a=ice-pwd:MENhziE42JlR7XeyIPaZ0P3oT/fE76E3
a=rtcp-mux
a=rtcp-rsize
a=sendonly
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack pli
a=framerate:30
a=fmtp:96 packetization-mode=1;profile-level-id=42c015;sprop-parameter-sets=Z0LAFdkBQfsBagwCDUoAAAMAAgAAAwB5HixckA==,aMuMsg==
a=ssrc:3980819698 msid:user805512454@host-5bc3a76 webrtctransceiver0
a=ssrc:3980819698 cname:user805512454@host-5bc3a76
a=mid:video0
a=fingerprint:sha-256 7E:DC:FC:CC:A4:94:F2:02:9B:E3:FD:52:76:7C:FB:E8:C6:5D:BF:D1:1C:AC:76:EE:29:5C:88:C7:3A:83:F5:D6
m=application 9 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:xt4XLsdVoRCRlum2fPJtmRGJL7fb0ENO
a=ice-pwd:MENhziE42JlR7XeyIPaZ0P3oT/fE76E3
a=bundle-only
a=mid:application1
a=sctp-port:5000
a=fingerprint:sha-256 7E:DC:FC:CC:A4:94:F2:02:9B:E3:FD:52:76:7C:FB:E8:C6:5D:BF:D1:1C:AC:76:EE:29:5C:88:C7:3A:83:F5:D6

Reciever's answer:
Received answer:
v=0
o=-<PHONE_NUMBER>724955141 0 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=ice-options:trickle
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 <IP_ADDRESS>
a=ice-ufrag:8B+c/yOc6wLYa0wmvaT0AfWV4mAvxV7Z
a=ice-pwd:LDIfvGdFQ+H2x2D9A09+Db1GpzWfpJkn
a=rtcp-mux
a=mid:video0
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack pli
a=fmtp:96 packetization-mode=1;profile-level-id=42c015;sprop-parameter-sets=Z0LAFdkBQfsBagwCDUoAAAMAAgAAAwB5HixckA==,aMuMsg==
a=recvonly
a=setup:active
a=fingerprint:sha-256 C6:72:49:E0:FF:F0:12:BD:25:98:57:2B:C2:72:AE:0F:26:DE:FD:90:38:68:4B:46:46:CB:DC:C0:22:1E:F5:38
m=application 0 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP4 <IP_ADDRESS>
a=setup:actpass
a=ice-ufrag:xt4XLsdVoRCRlum2fPJtmRGJL7fb0ENO
a=ice-pwd:MENhziE42JlR7XeyIPaZ0P3oT/fE76E3
a=bundle-only
a=mid:application1
a=sctp-port:5000
a=fingerprint:sha-256 7E:DC:FC:CC:A4:94:F2:02:9B:E3:FD:52:76:7C:FB:E8:C6:5D:BF:D1:1C:AC:76:EE:29:5C:88:C7:3A:83:F5:D6

Why does it happen?

I've never seen that. It's probably a bug or limitation in webrtcbin, but maybe triggered by something weird in your test code? The answer SDP has changed the a=fingerprint:sha-256 line for the video media compared to what the offer had

The data channel section has been rejected.  This is a known case where webrtcbin doesn't quite get the SDP negotiation correct.

I just noticed the reply SDP in https://github.com/centricular/gstwebrtc-demos/issues/172#issuecomment-615199041 doesn't have BUNDLE in it. Is the answerer running an older version of GStreamer than the offerer?

Can you please help me how to use webrtc-unidirectional-h264? I'm facing the same issue as you. I built the application using the following command:
gcc webrtc-unidirectional-h264.c $(pkg-config --cflags --libs gstreamer-webrtc-1.0 gstreamer-sdp-1.0 libsoup-2.4 json-glib-1.0) -o webrtc-unidirectional-h264
Then the output is as below:
WebRTC page link: http://<IP_ADDRESS>:57778/
Processing new websocket connection 0x.....
Closed websocket connection 0x....
There is no output.

Hello @thaytan. Thank you very much for your help. I was able to run it with gst->gst concept. It looks like that it were issues with profile-ids for browsers.
@dudulashok  I was not able to run webrtc-unidirectional-h264. I've redesigned sendrecv example to be sendonly for c, and recvonly for python.

Hello Ali,
I've got everything working, but I was doing with C<->Python bindings with
no browser involved. Unfortunately, I'm not able to help you with browser.
Best regards,
On Tue, Mar 9, 2021, 14:03 Ali @.***> wrote:

@zingfrid https://github.com/zingfrid Hey have you got an example lying
around of how you got sendrecv working for receiving on the client only?
For some reason the remote video won't show unless I use getUserMedia
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/centricular/gstwebrtc-demos/issues/172#issuecomment-793787899,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADAKCJQ6EHC6UJF7DR3RQS3TCYFB5ANCNFSM4MEAQ7AA
.

These examples have moved to https://gitlab.freedesktop.org/gstreamer/gst-examples/-/tree/master/webrtc and this repository will not be updated further.


When app not used for a while, expandablerecyclerview menus are empty

I have been using expandable recyclerview for years but a problem I've had for some time is now very frequent.  If the application is not used for a while (it used to be days, but now it can be hours), every activity that uses expandablerecyclerview will be blank.  I have to hit home twice to get to the splash page when everything starts to work again.   There is nothing special about the splash page and nothing to do with expandablerecyclerview there.
I think it is odd that it happens to all activities that use it, and not just one.  I presume some resource is getting destroyed or recycled, and this is confusing something somewhere.  The database still works so the recyclerview lists should be intact.  I don't know how to approach this problem as I haven't seen it in the debugger.
My apps are free, and no one has complained about the problem, but it really bothers me and I would be happy to pay a little if someone can help me fix it.

+1

Closing this as this library is deprecated: https://github.com/thoughtbot/expandable-recycler-view/pull/235


[FEAT] Compreface Detection Models = Custom Builds

i tried to change another compre-face docker with a different detection-model than the default.
i tried the hardest-one without GPU, and the system stood nearly still.
than i changed to mobilenet and retrained one folder.
i did the same with the default facenet-model.
the default had better recognition.
now i search for powerfull hardware and GPU.Support to try the hardest modell and compare again.
i will report back ..
( one has to change the .env file to switch easy the models with the docker-compose call.)

somebody is using double-take with the heaviest model.
great. but it is eating memory... or is it double-take?
-> https://github.com/exadel-inc/CompreFace/issues/569

somebody is using double-take with the heaviest model. great. but it is eating memory... or is it double-take? -> exadel-inc/CompreFace#569

Double Take shouldn't be. It's a pretty light weight API and frontend. Guessing the memory leaks would be from CompreFace.

they found the resnet taking ~ 1500 MB memory vs. (default) mobilefacenet ~ 720mb
https://github.com/exadel-inc/CompreFace/issues/569#issuecomment-884852387
doubletake stays the shining winner! 👍

i got another instance of compreface running with nvidia-gpu model.
would be great to configure a second instance, but seems not possible to have 2 instances of compreface?
could this be a feature request?

my new compreface instance is ver 0.61 (jumped from 0.6.0).
not sure if its from the new code, but if it try to train my images with this new gpu-model on this new version i got api-errors on the compreface log:
compreface-api            | }
compreface-ui             | <IP_ADDRESS> - - [07/Nov/2021:18:11:09 +0000] "POST /api/v1/recognition/faces?subject=test1 HTTP/1.1" 201 99 "-" "axios/0.22.0"
compreface-postgres-db    | 2021-11-07 18:11:46.011 UTC [208] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-ui             | <IP_ADDRESS> - - [07/Nov/2021:18:11:50 +0000] "DELETE /api/v1/recognition/faces?subject=test4 HTTP/1.1" 200 30 "-" "axios/0.22.0"
compreface-postgres-db    | 2021-11-07 18:11:59.351 UTC [211] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:00.048 UTC [213] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:03.359 UTC [215] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:06.479 UTC [217] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:26.134 UTC [219] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0

any hints what to do about this?

weird. on my first seperate CPU maschine i got now cuda-errors.
but on this maschine is no nvidia-gpu.
how did this switched over?
compreface-core           | 2021-11-07 18:22:22.181578: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
compreface-core           | {"severity": "DEBUG", "message": "Found: BoundingBoxDTO(x_min=173, y_min=158, x_max=386, y_max=417, probability=0.9265303015708923, _np_landmarks=array([[266, 2                                                                  64],\n       [333, 266],\n       [313, 320],\n       [268, 350],\n       [318, 351]]))", "request": {"method": "POST", "path": "/find_faces", "filename": "lenna.jpg", "api_key": "", "remot                                                                  e_addr": "<IP_ADDRESS>"}, "logger": "src.services.facescan.plugins.facenet.facenet", "module": "facenet", "traceback": null, "build_version": "dev"}
compreface-core           | 2021-11-07 18:22:30.345086: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
compreface-core           | {"severity": "DEBUG", "message": "Found: BoundingBoxDTO(x_min=173, y_min=158, x_max=386, y_max=417, probability=0.9265303015708923, _np_landmarks=array([[266, 2                                                                  64],\n       [333, 266],\n       [313, 320],\n       [268, 350],\n       [318, 351]]))", "request": {"method": "POST", "path": "/find_faces", "filename": "lenna.jpg", "api_key": "", "remot                                                                  e_addr": "<IP_ADDRESS>"}, "logger": "src.services.facescan.plugins.facenet.facenet", "module": "facenet", "traceback": null, "build_version": "dev"}
compreface-ui             | <IP_ADDRESS> - - [07/Nov/2021:18:22:44 +0000] "POST /api/v1/recognition/recognize?face_plugins=age,gender&det_prob_threshold=0.6 HTTP/1.1" 499 0 "-" "axios/0.22.0"

still interesting modell-zoo for exploration of more accuracy and maybe faster detection:
https://github.com/deepinsight/insightface/tree/master/python-package

my new compreface instance is ver 0.61 (jumped from 0.6.0). not sure if its from the new code, but if it try to train my images with this new gpu-model on this new version i got api-errors on the compreface log:
compreface-api            | }
compreface-ui             | <IP_ADDRESS> - - [07/Nov/2021:18:11:09 +0000] "POST /api/v1/recognition/faces?subject=test1 HTTP/1.1" 201 99 "-" "axios/0.22.0"
compreface-postgres-db    | 2021-11-07 18:11:46.011 UTC [208] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-ui             | <IP_ADDRESS> - - [07/Nov/2021:18:11:50 +0000] "DELETE /api/v1/recognition/faces?subject=test4 HTTP/1.1" 200 30 "-" "axios/0.22.0"
compreface-postgres-db    | 2021-11-07 18:11:59.351 UTC [211] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:00.048 UTC [213] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:03.359 UTC [215] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:06.479 UTC [217] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
compreface-postgres-db    | 2021-11-07 18:12:26.134 UTC [219] FATAL:  unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0

any hints what to do about this? its inside compreface? migration needed? or its api-call?

I have the same issue on compreface 0.6.1 mobilenet gpu with external postgres13 db trying to use a Nvidia 1050Ti.
When double-take tries to connect I get:
{"severity": "DEBUG", "message": "Found: BoundingBoxDTO(x_min=295, y_min=374, x_max=357, y_max=439, probability=0.00024579002638347447, _np_landmarks=array([[316.83188, 405.41898],\n [331.1991 , 400.42044],\n [328.3878 , 414.35837],\n [331.13724, 424.109 ],\n [341.3721 , 419.83313]], dtype=float32))", "request": {"method": "POST", "path": "/find_faces", "filename": "lenna.jpg", "api_key": "", "remote_addr": "<IP_ADDRESS>"}, "logger": "src.services.facescan.plugins.insightface.insightface", "module": "insightface", "traceback": null, "build_version": "dev"}
this is the single docker version, so I'm not sure if gpu errors are being omitted.


changing refresh interval in rke-metadata-config doesn't take effect immediately

Bring up a rancher setup with a downstream cluster
Navigate to /v3/settings/rke-metadata-config
Change the URL to a different repo (with some new CRDs preferably) and set the time to 1 (1 minute) and save.

Expected: refresh to happen and start showing the following log line every minute.
[INFO] driverMetadata: checking rke-metadata-url every 1m0s
But the refresh doesn't happen. Looks like the previous timers are not reset when there is a config change.
Workaround: Either a manual refresh (Tools -> Drivers -> Refresh Kubernetes Metadata) or a restart of the rancher pod fixes the issue.

Available to test. Since it is hard to notice any real change in data.json, QA can verify this according to rancher logs. There are logs that indicates when driverMetadata is updated.

the validation for this bug fix is covered in the validation for this issue: https://github.com/rancher/rancher/issues/25162#issuecomment-591726838

go to Settings -> rke-metadata-config to change the refreshing interval to 1

"refresh-interval-minutes": "1",

edit the data.json file to add a new k8s version v1.18.1-rancher1-1, and change the default to v1.18.x

Results:

in Rancher's log, the following shows every minute which indicates the refresh is triggered automatically

2020/02/27 01:07:08 [INFO] Refreshing driverMetadata in 1 minutes
2020/02/27 01:07:08 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json
2020/02/27 01:08:08 [INFO] Refreshing driverMetadata in 1 minutes
2020/02/27 01:08:08 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json
2020/02/27 01:09:08 [INFO] Refreshing driverMetadata in 1 minutes
2020/02/27 01:09:08 [INFO] driverMetadata: refreshing data from upstream https://raw.githubusercontent.com/jiaqiluo/kontainer-driver-metadata/issue-25162/data/data.json

in Rancher UI, the new version shows up as the default value

the values under v3/settings also reflect the changes


fv3viz: cartopy coastline source

fv3net's fv3viz uses cartopy's coastlines feature, which relies on external data that is intermittently unavailable, causing the fv3net image and the integration tests to fail. This PR redirects fv3viz's cartopy downloads to our vcm-ml-example-data repo so that there is no dependence on outside data hosting.
Significant internal changes:

modifies the cartopy config when fv3viz is imported to point its downloaders to vcm-ml-example-data coastline shapefile (other external cartopy features will fail now but none are used by fv3viz, and they could be added if really needed)

You could make an environment variable that the user can use to override that setting. That's probably the solution cartopy should have anyway.

Added the environment variable override to use cartopy's downloaders as requested


Standalone metrics package

Is your feature request related to a problem?
Several users wanted to compute metrics on their predictions. This is currently not supported. They must instead call the corresponding methods on regressors and classifiers.
Desired solution

Add a new package ml.metrics.
Add classes RegressionMetrics and ClassificationMetrics with static methods for individual metrics and a summarized version (see #713).

We wrap them in a class to

no pollute the global namespace too much
highlight which metrics are suitable for which task.

The second point was the original reason why we only made metrics available as methods of Regressor and Classifier.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

:tada: This issue has been resolved in version 0.25.0 :tada:
The release is available on:

v0.25.0
GitHub release

Your semantic-release bot :package::rocket:


Running in background or  @ PI start up and keep running

Current setup
RPI4
Raspberry Pi OS with desktop
Release date: March 15th 2024
System: 64-bit
Kernel version: 6.6
Debian version: 12 (bookworm)
Camera module 3
wifi hotspot
Would like to have run in background or not close when closing SSH terminal
I want to use this as a rear view cam in a RV trailer and view feed from Device in the tow vehicle connected via PI's hotspot with no internet connection.
I have all that working but I really need to be able to keep it running or be able to run the app.py via a remote SSH terminal. As of now can do this but when closing the terminal or loosing connected the app stops.  As far I my limited skills are there is no way i have found to keep the app running after remote terminal is closed  and keep running other than physical connection via keyboard and monitor to the RPI4.
I have tried to have the pi run the app at start up but not sure why it will not start app.  by adding it to
/etc/rc.local
I may be doing it wrong
sudo python /home/rod/picamera2-WebUI-Lite-main/app.py &
It might because running the  if you try to run the app with a command line outside of the directory there is a error
python /home/rod/picamera2-WebUI-Lite-main/app.py
command python app.py works fine if you are in the picamera2-WebUI-Lite-main directory
[0:20:38.989794380] [2068]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
[0:20:39.021644526] [2071]  WARN RPiSdn sdn.cpp:39 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:20:39.023978579] [2071]  INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media2 and ISP device /dev/media1
[0:20:39.024122799] [2071]  INFO RPI pipeline_base.cpp:1144 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:20:39.026596127] [2068]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
[0:20:39.057218386] [2074]  WARN RPiSdn sdn.cpp:39 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise
[0:20:39.059448978] [2074]  INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media2 and ISP device /dev/media1
[0:20:39.059572809] [2074]  INFO RPI pipeline_base.cpp:1144 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Traceback (most recent call last):
  File "/home/rod/picamera2-WebUI-Lite-main/app.py", line 22, in <module>
    with open("camera-config.json", "r") as file:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'camera-config.json'

Please excuse my ignorance if this is damp request or question for I am not a proficient user of the Pi interface and shell.
just tiring my best with google searches to find a solution to using the PI as a rearview camera.

No worries there are no damp questions.
1st address the RC Local might not work out because there can be issues with starting flask before the camera interface and network interface are ready. While for a quick run at boot its ok, I prefer to run either manually or as a service which I get to in a moment.
2nd the error you have seems there is a missing file. Can you make sure you pull the latest from the repo... Make sure camera-config.json file is in the same directory as the app.py
At this point maybe the file was missing and pulling the latest work and RC.local was ok to start on boot then you should be ok... If not...
Now we get to how to make service - Remove the RC local entry 1st

Run the following command and note down the location for python which python should look like "/usr/bin/python"
Goto the following directory cd /etc/systemd/system/
Create and edit the following file sudo nano picamera2-webui-lite.service
Paste this into the file, I made the changes for your username but if you see the line "ExecStart" the 1st part should be the result of your "which python" command we did at the start (if its the same then its all good)
[Unit] Description=Picamera2 WebUI Lite Server After=network.target [Service] Type=simple ExecStart=/usr/bin/python /home/pi/picamera2-WebUI-Lite/app.py Restart=always [Install] WantedBy=multi-user.target
Save the file
Run sudo systemctl start picamera2-webui-lite.service
Run the following to check the service is running sudo systemctl status picamera2-webui-lite.service
Run the following to enable the service to its running on reboot sudo systemctl enable picamera2-webui-lite.service

That 'should' be it. There might be a hicup with virtenv but I am not using that so I am not sure lets try those things to see if it works 1st. If the service does not run I will take another look.

zThanks for responding and willing to help Lol my typo Damp. Should have been dumb.
I will give it a go when I get home.
But a few questions.
Btw I have tried a fresh pi image with nothing but your program running least 4 times on a fresh image.
I followed all the instructions  from the toms hardware page
https://www.tomshardware.com/raspberry-pi/how-to-control-your-raspberry-pi-camera-using-a-web-ui.
Maybe I'm pulling from the wrong package?
From Toms write up.
wget https://github.com/monkeymademe/picamera2-WebUI-Lite/archive/refs/heads/main.zip
From the links on Toms page is how I installed picam2 UI.
But In the write up it shows
Directory picamera2-WebUI-Lite
Your package gave the program directory a name of picamera2-WebUI-Lite-main
Step 6 on toms writeup...
6. Change directory to Picamera 2.
cd picamera2-WebUI-Lite
When it errored no directory I listed the user/rod  and it showed your package created the directory as picamera2-WebUI-Lite-main`
I even tried renaming it removing the -main just in case things were referring back to the directory named that way.
The error for not being able to load the Json config only comes up if you try to load the app.py outside of the 'picamera2-WebUI-Lite` directory..
I ask about the directory name because of your new instructions of referring to ExecStart=/usr/bin/python /home/pi/picamera2-WebUI-Lite/app.py
Without -main in the directory name.
[Unit] Description=Picamera2 WebUI Lite Server After=network.target [Service] Type=simple ExecStart=/usr/bin/python /home/pi/picamera2-WebUI-Lite/app.py Restart=always [Install] WantedBy=multi-user.target```

Anyway I have a fresh install now
Working but would like it to run in background.

Thanks again for responding.
I'm just now RE learning using Linux and Python commands  after over 15 years of not using. Back in the day I ran a remotely hosted colbolt appliances webserver for my websites and shopping online shopping carts and it's slowly coming back to me because I'm old.

Btw I'm trying to get this going because we are leaving for a 7 week road trip in a few weeks.
Maybe there is a better way to make a rear view cam but I like the way your interface for controls works and looks.
https://www.facebook.com/profile.php?id=61550792727679&mibextid=ZbWKwL

I just looked at the linked files on toms page it looks like a archive.
So I will remove and install you're latest release.
 https://github.com/monkeymademe/picamera2-WebUI-Lite.git
Will I need to install flask with the bookworm pi os ?

Could you check (just run the server before installing)... I seem to remember something recently changed in bookworm that improved support. either flask or something else.  Sorry not near a pi to check

@stovedoctor shoot me an email what your plans are maybe I can throw a timelapse feature (something thats simple start and stop) for you... sweeten the trip?

Also just pushed a change. I figured out the issue with the missing json file... Running as a service the script does not like the relative path (unless its directly a flask thing) so pulling in files next to the app.py it was just lost. So I put in some changes to detect the absolute path.
systemctl method of loading the server works now.

I will close this issue for now

Got it to work.on boot  with some fumbling around.....
I copied your instructions.
errors then I noticed you had my old directory name with -mainI fixed that l and still error
then I noticed you had the file path in twice
ExecStart=/usr/bin/python /home/rod/picamera2-WebUI-Lite/picamera2-WebUI-Lite/app.py
.
I also sent you an email


Download error

Your cookies doesn't appear to be valid. Make sure to export from Apple Music website with account logged in.

How do I run this tool in termux?


Video Overlay is Black

i Don't know when it happened exactly but either after:

I upgraded Tango Developer Kit to current Updates via System Settings or...
I Upgraded from Unity 5.3.5p7 to Unity 5.5.0p4
Deploying with Debug Symbols the tablet prompts the following message on the Android Monitor's logcat in Android Studio:

01-25 21:31:13.001 537-558/com.xxxxxxxxx.unityexamples I/TangoEGL: checkAndUpdateEglState: invalid current EGLDisplay
or
01-25 21:32:09.688 537-558/com.xxxxxxxx.unityexamples I/TangoEGL: checkAndUpdateEglState: invalid current EGLDisplay 01-25 21:32:09.695 537-571/com.xxxxxxxx.unityexamples E/Unity: OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM: enum argument out of range (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 299)
it's hard to track down where the error comes from exactly because the origin to this library is hard to track: ist it coming from the TangoManager or the EnvironmentLight texture. the message is Promted in SurfaceTexture.cpp and some environmentalLight - library
maybe there is also a Camera Permission Issue. But so far older Versions built with Unity 5.3.5 work just fine under this aspect without asking for a camera permission.
GL_INVALID_ENUM might be a reason of an incompatible VideoOverlay setting in the TangoManager

A few question about your project:

Are you using multithreaded rendering?
Are you using IL2CPP or Mono2x?

Thanks!

whow, i think the multithreaded Option was the bad guy.
Now with multithreading turned off the camera image is back on :) :)

Glad to hear it! I'm glad your issue is fixed.


Fix Ajv type in onCreateAjv

When trying to compile our project with TypeScript 4.5.5 we are receiving a build error in your lib.
node_modules/objection/typings/objection/index.d.ts:1213:22 - error TS2709: Cannot use namespace 'Ajv' as a type.

1213     onCreateAjv(ajv: Ajv): void;

The proposed change references the Ajv interface in the Ajv namespace, which is probably what you mean to do here?

Never mind. npm ci actually fixed the issue on my end

@alex-all3dp I am facing same issue.
node_modules/objection/typings/objection/index.d.ts:1213:22 - error TS2709: Cannot use namespace 'Ajv' as a type.

1213     onCreateAjv(ajv: Ajv): void;

@cham11ng Sorry, no idea what it could cause on your end. Are you using npm 8.x with lockfile version 2?

It's npm 8.x and yarn 1.22.19. Updating your PR change inside node_modules fixed it actually.

Oh my bad, I found it here https://github.com/Vincit/objection.js/issues/2157. Removing node_modules from tsconfig.json "*": ["node_modules/*", "src/types/*"] solved it.


Added Viva/Topic experiences SKU

| TOPIC EXPERIENCES | TOPIC_EXPERIENCES | 4016f256-b063-4864-816e-d818aad600c9 | GRAPH_CONNECTORS_SEARCH_INDEX_TOPICEXP (b74d57b2-58e9-484a-9731-aeccbba954f0)CORTEX(c815c93d-0759-4bb8-b857-bc921a71be83) | GRAPH CONNECTORS SEARCH WITH INDEX (b74d57b2-58e9-484a-9731-aeccbba954f0)CORTEX (c815c93d-0759-4bb8-b857-bc921a71be83)|

@michevnew : Thanks for your contribution! The author(s) have been notified to review your proposed change. @nicholak

I create a PR and this should publish later today.

@Nicholak-MS It sounds like we should close this pull request, then. Let me know if that's incorrect, and we can reopen it.


Add Nong Song:

Song Name
nekopara - tokimeki emotions
Artist Name
Nekoworks
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=dflERjiF1dM
Direct File Link
https://www.mediafire.com/file/4gsg4waw7wctgiv/1950.mp3/file
Song ID
1950
Start Offset [ms]
No response
Extra
song from nekopara vol.2 for ps4

re open it pls

This submission is stale because it has been open for 14 days with no activity. If it is still relevant, please leave a comment and we will reopen it.

re open it pls


New Communication Items for BVA and Comp & Pen

We have two new communication items (notification preferences in VA Profile) that we need to add to our database. It doesn't appear that this is available for creation/update through the API at this time, however, once it exists it can be added to templates via the API.

Item Name
VA Profile Item ID

Comp and Pen Payment Notifications
5

Board of Veterans' Appeals Status Updates
6

Staging

[x] Add the new notification preferences to the communication_items table
[x] Update all SMS templates in the BVA service with the applicable communication_item_id for Board of Veterans' Appeals Status Updates (available for update via the API)

Perf

[x] Add the new notification preferences to the communication_items table

Production

[x] Add the new notification preferences to the communication_items table
[x] Update all SMS templates in the BVA service with the applicable communication_item_id for Board of Veterans' Appeals Status Updates (available for update via the API)

Hey team! Please add your planning poker estimate with Zenhub @cris-oddball @EvanParish @ianperera @jakehova @k-macmillan @kalbfled @ldraney @trevor2718

@mjones-oddball This is ready for verification.

@kalbfled Scope change. I checked Dev and see that all the communication items up to 4 exist, so I'm going to add an item to this ticket to add 5 and 6 to Dev so it's not out of date. Apologies I didn't realize they would have been added there.

Verifications Passed:

Staging had 11 sms templates, all with item 6 assigned for communication_item_id.
Communication items 5 and 6 found in perf, staging, and prod.
Prod had 11 sms templates, all with item 6 assigned for communication_item_id.


SW-5904 Add submission date to project setup sheet

The project setup sheet now has a new "Application Submission Date" column, whose
optional value we want to show as the initial last-updated date on applications
and to use as the date of the initial status change that's created at import time.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2328  👈
#2327
main

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

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Aug 27, 6:41 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


added libjpeg-turbo as a project

Added libjpeg-turbo as a Project.
Resolves se-passau/VaRA#704

Otherwise, the project builds fine on my machine :+1:

Otherwise, the project builds fine on my machine :+1:


ArcadiaState var deserialization broken

vars are deserialized as a clojure.lang.PersistentList like (var foo/bar)

Is this a correct example case?
(set-state! gobj :foo #'foo/bar)

Yes, which shows up once the state has been serialized.  Clojure handles (read-string "#'foo/bar") as (var foo/bar), so this is the result of https://github.com/arcadia-unity/Arcadia/blob/develop/Source/arcadia/internal/state_help.clj#L22
Adding an eval to that line breaks the #unity/foo -123124 db references, which is odd because (eval (read-string "#unity/transform 12341")) works just fine

There's a lot of other branches open now waiting to be merged in, and I think this may be solved on some or many of them. I will take a look.

closed as of 22b59f08715ee1d46fff655421571b341b605582, far as I can tell.


Not downloading atom-shell

I've included the plugin inside my Gruntfile.js as specified in the readme, but when I run
grunt --verbose I only get:
Running "download-atom-shell" task
Verifying properties download-atom-shell.version, download-atom-shell.outputDir exist in config...OK

And that's it - it does not download anything, just stops after that one line.
I've tested this on Linux and OSX and got the same result.

Thats the grunt-download-atom-shell related output I get @zcbenz.
Initializing
Command-line options: --verbose, --stack

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK

...

Registering "grunt-download-atom-shell" local Npm module tasks.
Reading /Users/georg/Downloads/gitclone/daemon/node_modules/grunt-download-atom-shell/package.json...OK
Parsing /Users/georg/Downloads/gitclone/daemon/node_modules/grunt-download-atom-shell/package.json...OK
Loading "download-atom-shell-task.coffee" tasks...OK
+ download-atom-shell

...

Running "download-atom-shell" task
Verifying properties download-atom-shell.version, download-atom-shell.outputDir exist in config...OK

Done, without errors.

Can you share the options you were using?

I fixed it by placing the download-atom-shell task in front of the other tasks.
Not sure what exactly caused the problem, but it works fine now.
grunt.registerTask('production', ['download-atom-shell', 'rm:main', 'uglify', 'obfuscator', 'usebanner', 'copy']);

Thanks for letting us know, closing this out.


🚸 📝 Create a cli

We'd need to create a cli so that if the user tries to create a theme without a token path, it asks him if he wants to make a default configuration.

@Emerson452 Blocked by ?


Update azure-vm-image-test.md

Fix the AppId property character casing issue as described in issue #102404

Learn Build status updates of commit 7e41c14:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/marketplace/azure-vm-image-test.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit f1ca931:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/marketplace/azure-vm-image-test.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@mathapli
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Make emote sounds disable-able through the settings

title
https://github.com/user-attachments/assets/0ef58d6d-cd93-4dba-8e8a-a8a5a937ef90
:cl:

tweak: Emote sounds for species are now properly toggled with the settings

i love how the example video uses a felinid

I'd like to look into having this merged since no alternative option has been provided since September unless @DrSmugleaf is going to make it

Smug has no intentions on making this or merging this pr so Im closing it. If anyone is interested in working on this as described it will be merged.

The above is a complete misrepresentation of my character, anyone willing to code this is free to


{Linked:Bug41431272; LinkedBug}[Voice access - Adaptive Cards]: User is not able to access 'Authcardbutton' link Using 'Click and Move to' Commands.

Target Platforms
Other
SDK Version
1.5
Application Name
Adaptive Cards
Problem Description
Test Environment:
OS Build: 25201.1000
Edge dev: Version 107.0.1379.1 (official build) dev (64-bit)
Application URL: Schema Explorer | Adaptive Cards
Accessibility Tool: Voice Access
Pre-requisite:
OS Settings->Accessibility->Voice Access (Turn ON)
Repro Steps:
Launch the above-mentioned URL on edge Dev with Valid credentials.
Command: "Voice access wake up"
Command: "Click Authcardbutton".
Command: "Move to Authcardbutton".
Observe the behavior.
Actual Result:
User is unable to access the "Authcardbutton" using Click/Move To Command.
Expected Result:
User Should be able to access the "Authcardbutton" link using "Click/Move to" VA commands.
Note:
same issue repro for Action.OpenUrl link.
PFA: Code snippet for Action.openUrl.png
Same issue repro at "Action.OpenUrl" button present under the Adaptive cards.
PFA: open url issue.mp4
Observation:
unable to access the controls using click/move to wherever
1.Special Characters: controls are having special characters like action.Choiceset.
2.text Without Space: ex: "backgroundimage" VA is taking it as Background image, so VA is not able to recognize it, as space is included between these 2words.
3.finally, user is able to access it by conveying with Spelling(Which is not a good Practice).
PFA: Backgroundimage.mp4
User Experience:
Voice access users will get impact and will get disoriented if this behavior persists.
MAS Reference:
No Disruption of Accessibility Features - Liquid (microsoft.com)
Have feedback to share on Bugs? Please help fill Trusted Tester Bug Feedback (office.com)"
Screenshots
https://user-images.githubusercontent.com/104482612/192774923-82600e8c-e6c4-4013-91c1-333708e9eb86.mp4

https://user-images.githubusercontent.com/104482612/192774573-f2ced74c-68cc-4026-9d4b-b945d0e776a8.mp4
https://user-images.githubusercontent.com/104482612/192774240-a1ac50f4-4d56-4889-8f6f-bb701c015fc7.mp4

Card JSON
NA

Sample Code Language
No response
Sample Code
No response

As per the comment mentioned in the partner bug, closing this issue.
Test Environment:
URL: Schema Explorer | Adaptive Cards
OS Version:  22H2(OS Build 25276.1000)
Browser Version: Version 111.0.1619.2 (Official build) dev (64-bit)


El video se reinicia pasado unos minutos  ( The video restarts after a few minutes)

Es un Problema que comenzó a suceder una vez que conecté el servidor streama a internet
Pasado 5-10 o 15 Minutos o  en algunos casos un poco mas .  El video se detiene y vuelve a comenzar.
Es recurrente y  molesto para poder disfrutar del contenido.
Algún tipo de solución a este problema vi que en otros comentarios un usuario comento lo mismo.
English:
It's a problem that started to happen once I connected the streama server to the internet
After 5-10 or 15 minutes or in some cases a little more. The video stops and starts again.
It is recurrent and annoying to be able to enjoy the content.
Some type of solution to this problem I saw that in other comments a user commented the same.

Operating System: Windows 10
Streama version: 1.6.0-FINAL y  1.6.1

Please write issues in english.. even if you use google translate ;)  (i edited your post and added the googleTranslate translation of your text).
Are you referring to an android app? Then this is a known issue..
or are you referring to the web-player? If so, can you check if you can reproduce on our demo-page? https://demo.streamaserver.org/login/auth (user & pass is demoUser)

The problem appears in the web browser after 5 or 10 minutes of video the same one is restarted.
And also the web player should be improved, when it passes to the next video the thumbnail of the next video is not displayed.

I can not really play it link streama to ngrok to make it visible and at the moment of playing it from the engrok link (movies or series chapters) they restart after a few minutes

streama esta conectada a NGROK


Ruby 2.3.8

💁 Updates the Ruby version to 2.3.8, the latest generally available version in the 2.3.x stream.

The Ruby version is 2.5 since https://github.com/FundingCircle/shipment_tracker/pull/411.


Please publish 0.4.1 on npm

I'm not entirely sure why #485 was closed by the author, because 0.4.1 is not yet on npm.
Could it be published?

Dmitry is just getting ready to cut the v0.5.0 release.

Just published 0.5.0

Can you additionally publish 0.4.1? We are migrating from bower to npm and our system works stable with 0.4.1

@studio-marweb You could pull v0.4.1 from github and build it locally?


Classifying connection timeouts as local reset

Title: Classifying connect timeouts as local reset
Description:
For a few months we've been seeing occasional 503 errors in our client side sidecars with the LR response flag, and the latency on these calls was always equal to the connect timeout we set. It looks like the router filter classifies connect timeouts this way: https://github.com/envoyproxy/envoy/blob/master/source/common/router/upstream_request.cc#L340
I believe this was changed in April in https://github.com/envoyproxy/envoy/commit/6aee60364ef1bb539e19abc68d1e6cbe93c41512#diff-b61a05a18225decb27f5620aefda1646c259e314547a7d985c369f62a684c12bR305, before that PR I believe that would have been considered a connection failure.
I can understand the rationale for considering it a local reset, but one side effect of that change is that a retry policy that specifies to retry connect-timeout and not reset will now fail to retry that case. Furthermore, if a request is not idempotent it's not an option to retry on reset because that can include cases where the server has already processed the request. I've also seen some confusion on the Envoy slack about this with other folks seeing LR start to show up after an Envoy upgrade. I'm not sure anything needs to change here but just wanted to raise that issue.

@alyssawilk fyi

Yep looking at before and after it looks like there was a change.  I see no reason to not reinstate prior behavior, especially if the new behavior is causing problems.

Yep looking at before and after it looks like there was a change.  I see no reason to not reinstate prior behavior, especially if the new behavior is causing problems.


Syntax issues on line 89 & 97

Summary

Syntax issues on line 89 & 97

Change List (commits, features, bugs, etc)

There is no change from previous PR

Related Issues

No previous PR related

Acceptance Test (how to verify the PR)

There is no break on code, so there are not collateral damage threat

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


nyc doesnt cover all paths when using rewire@3

Expected Behavior
nyc should cover the same code paths as istanbul
Observed Behavior
When in a project that has a dependency on rewire@3, nyc will sometimes not report all the covered code that gets executed. This behavior does not occur when using rewire@2 or when using<EMAIL_ADDRESS>Bonus Points! Code (or Repository) that Reproduces Issue
I am not entirely clear on what exactly causes this issue. It doesn't happen all the time that rewire is being used, and load order of the files seems to matter.
Below is a repository I created that reproduces the issue in a relatively small number of files.
https://github.com/bforbis/istanbul-rewire-test
Forensic Information
Operating System: macOS Sierra
Environment Information:

node version: 8.9.1
npm version: 5.5.1

Have the same issue, the coverage report is totally different if using<EMAIL_ADDRESS>

Right now this is the only thing preventing us from using async/await on our projects..

rewire@4 has just been published which seems to fix this issue by removing its dependency on babel-core.
There was one issue I did run into while upgrading one of my repositories to use rewire@4 which caused the following failure:
"before all" hook:
     Error: global leak detected: __core-js_shared__

If using nyc in cache mode, this will fail the first time and pass the second time while reading from the cache. However, I am unable to use caching because my testing is done in a clean environment within a CI/CD pipeline.
I do not have a minimum reproduction to share that shows this, but I found that updating my mocha command to mocha --require babel-register fixes this issue.


[Rest Server] Fix Docker container OOM issue

Kill Docker container when yarn container exit.

Should we set --oom-kill-disable flag or not?
And it's better to figure out Docker container OOM issue after changing container log directory.

Coverage decreased (-17.8%) to 50.774% when pulling f567a9bd2ad26cc46099cc020ee204f8f269ac81 on xiongyf/fix-oom-docker into d7682f5c2c9f119d65e6ea4d61518ecc6685cd7d on master.

Coverage decreased (-17.8%) to 50.774% when pulling f567a9bd2ad26cc46099cc020ee204f8f269ac81 on xiongyf/fix-oom-docker into d7682f5c2c9f119d65e6ea4d61518ecc6685cd7d on master.


Formalise support for Django 3.2

Fixes #6981

The remaining failure on MySQL is caused by this commit: https://github.com/django/django/commit/779e615e362108862f1681f965ee9e4f1d0ae6d2. The docs for that commit don't indicate that this is a breaking change, so it's probably an unintended regression in Django.
(#6836 also makes it difficult to test against current MySQL versions - it may be possible to work around that by retrospectively changing the initial migration in wagtail.embeds so that thumbnail_url is a TextField already, but that needs further investigation.)

Updated with fix from #6999 and workaround for the order_by/update issue from https://github.com/django/django/commit/779e615e362108862f1681f965ee9e4f1d0ae6d2 - will investigate the latter further and file an issue with Django if necessary.

MySQL order_by/update bug now reported to Django in https://code.djangoproject.com/ticket/32645.

Some warnings that'd be nice to avoid in wagtail/core/signals.py:

RemovedInDjango40Warning: The providing_args argument is deprecated. As it is purely documentational, it has no replacement. If you rely on this argument as documentation, you can move the text to a code comment or docstring.

Basically, providing_args=[…] can be removed with no consequence.

@jpmckinney Good point... removed those now, cheers!

Merged in f8299885aa916becb9109c881f3ab28408af794e + parents.


Changing from VISIBILITY_MIN to VISIBILITY_SECRET

Hi @piotrek1543, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Cool! we'll look into this :)

@dlfu have you looked already at this?

Hi @piotrek1543, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;


Update README.md

make install command work when copy-pasted
can also change it to git@github.com:whitequark/zmtp-wireshark

Thanks!


Bug: Margins for .header-title Elements Causing Text Overflow

Describe the bug
The .header-title elements on the website are not provided with a margin-right style attribute. As a result, the text of these titles extends beyond their containers, causing a display issue, as shown in the provided screenshot.
To Reproduce
Steps to reproduce the behavior:

Go to any page on the website.
Locate a .header-title element, typically found in the header or other sections.
Observe that the text of the title extends beyond its container, as shown in the screenshot.

Expected behavior
The .header-title elements should be given a margin style attribute for both right and left (horizontal) to ensure that it will maintain a visually pleasing and balanced layout.
Screenshots

Additional context
This issue affects the overall appearance and readability of the website. Adding the margin-right style attribute to .header-title elements will help ensure that titles are properly contained within their designated areas, providing a more polished and user-friendly presentation.

Hey @mahasneh, I'd like to contribute to fix this bug. Can you assign me?

Fixed it. Review my PR!


Does the model have errors?

When I use fit, it says
Error when checking target: expected bilinear_upsampling_2 to have shape (512, 512, 2) but got array with shape (512, 512, 3)
ps: My input image.shape is (512,512,3)

I also got this error, @Taylor-Rose did you find a solution? My input shape is (572,572,3) and my error message is:
ValueError: Error when checking target: expected bilinear_upsampling_2 to have shape (572, 572, 2) but got array with shape (572, 572, 1)

@kritiyer  double check that your labels are as expected. Maybe you need to set a number of classes to 2.

Thank you for the quick response! I have 1 object class and 1 background class, so would number of classes be 1 or 2? Also, should the labels be single channel images?

Depends on your loss. If you use sigmoid, you don't even need background class. If you use softmax then you need it. labels should be multichannel

Sorry if this is a silly question, should I add a sigmoid or softmax activation function to the last layer of the model then? I am using binary_crossentropy loss.

#54 answers my above question about softmax


GSD crashes when 'autoon' is enabled

See Google web cache of gametainers/GSD issue 35
Using GSD 0.1.4
"When autoon is set to true, startup crashes with this stack
TypeError: undefined is not a function
at GameServer.turnon (/srv/gsd/services/gameprocess.js:149:2)
at initServer (/srv/gsd/services/index.js:16:18)
at data (/srv/gsd/services/index.js:6:2)
at Array.forEach (native)
at Object. (/srv/gsd/services/index.js:5:29)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)

Which makes sense because initServer calls turnon with no arguments and that function expects a callback."
"Hi
I have same problem, I solved this by editing the file /srv/gsd/services/gameprocess.js
and added // in front of the line 147 from to disable the line
// callback();
now the autoon function works :-)
however I dont know if this gives any other problemes, but currently I have not seen any."
"It's probably safer to modify the services/index.js and change turnon() to turnon(function () {})"

Closing this because we have moved away from GSD and it is no longer being maintained. Scales does not implement an auto-on options anyways, so it is not something that would apply to that program anyways.
The change you made shouldn't really have any effect on the program as far as I know though.


Controller 'tagsInput', required by directive 'tiTagItem', can't be found!

I get this error after opening (and closing) some modals containing tags-input.
It's visible in Chrome console, but the UI seems fine.

Please provide some plunker showing the problem you're experiencing. You can use this template.

Hi,
I have exactly the same error.

The same error, when using tags-input on modal window ($modal from http://mgcrea.github.io/angular-strap/ ), no issue, when using same syntax on main page (not modal)

I have to confirm, same happens in a dynamically compiled template. Somehow tiTagItem loses tagsInput at recompilation

Fixed by properly $destroy-ing scopes

I have this issue in 3.1.1 just by including the module in app and adding auto-complete directive within tags-input

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.

Was this ever fixed?

I'm facing the same error with the same context.

@tuanlc it was so long ago I hardly remember what it's all about )

I'm having a metoo moment here: Error: $compile:ctreq
Missing Required Controller
Controller 'tagsInput', required by directive 'tiTagItem', can't be found!
if @pribilinskiy can come up with his historical fix that would be great!

@tuanlc it was so long ago I hardly remember what it's all about )

I have to confirm, same happens in a dynamically compiled template. Somehow tiTagItem loses tagsInput at recompilation

Fixed by properly $destroy-ing scopes

Can you please explain how? I am getting same error with AngularJS 1.7.


Add a prop to prevent scaling the canvas based on the device pixel ratio

The default behavior is to resize and scale the canvas up based on the device pixel ratio (using window.devicePixelRatio). For example, if the ratio is 3, the width and height of the canvas will be multiplied by 3. This causes the output to be 3x the size as well, which can be undesired.
This change adds a scaleToDevicePixelRatio prop, which defaults to true, but allows setting it to false which will prevent scaling the canvas.

Looks great. Thanks for your contribution!
Current PR wants to merge into v2 branch, did you consider opening another PR for Vue 3?

I'm still using Vue v2, and I don't have any experience with v3. Can you port it to v3?

I'm still using Vue v2, and I don't have any experience with v3. Can you port it to v3?

Actually, me too haha, but I think it can port to v3 directly.

@neighborhood999 Can this PR be merged and a new v2 version released, independent of a v3 PR?

@neighborhood999 Can this PR be merged and a new v2 version released, independent of a v3 PR?

Yes, that's what I mean.

I published 2.0.5-beta.1, please check it.
If everything is okay, I will publish 2.0.5 version, Thanks.

@neighborhood999 v2.0.5-beta.1 looks good to me. Thank you!

@neighborhood999 v2.0.5-beta.1 looks good to me. Thank you!

Nice, I published v2.0.5!
If you have feel time can help Vue3 is appreciated, otherwise, I will do it later.


fix(server): Switch to using access token for SSO. Fixes #4027

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[x] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

Fixes #4027
@jessesuen and @edlee2121 this changes how argo-server authenticates users. Previously, we stored their id_token as a cookie. This token was adequate because we need only to verify their identity. This is similar to Argo CD. However, ID tokens are not intended as long lived and expire after 5m, forcing users to re-login.
This PR switches to use the access token instead of the ID token. We should not store an access token in a cookie the same way you could an ID token, because if the access token is stolen, the token could be used to make API requests with other system. So now, access token is AES-GCM-256 encrypted when saved as a cookie. It is useless apart from speaking to Argo Workflows.
The encryption key is cryptographically secure random generated string. It is saved into a Kubernetes secret on first start up, so it can then be used any argo-server replica.
The access token is opaque, unlike the ID token so each argo-server must make an API request to validate it. Each time a request is made, we decrypt the cookie, and make a OIDC UserInfo request.
The cookie has a 10h expiry, secure and same-site-strict, so not accessible to HTTP or other apps. This is unchanded.
If the cookie is compromised, we are in the same situation as today (which is acceptable).
If the encryption key is compromised, the operator should delete it and restart the service. All users will be logged out, and must log back in.

Hoping I'm understanding this PR correctly, and do have some feedback:

However, ID tokens are not intended as long lived and expire after 5m, forcing users to re-login.
This PR switches to use the access token instead of the ID token.

For some context, the intent is also that the access_token in OAuth2 systems itself should also be short lived. Instead, you usually have some sort of refresh_token or credentials which can be given to a provider for a newly minted access & id token. Or at least that's how it works in OIDC land usually. So the app or session manager would either reactively (in response to a 401) or proactively (by monitoring exp) regularly request a new access_token. However here, you're not really doing OIDC or even OAuth, you'll using a JWT as a session token so this is a bit different.

We should not store an access token in a cookie the same way you could an ID token, because if the access token is stolen, the token could be used to make API requests with other system. So now, access token is AES-GCM-256 encrypted when saved as a cookie. It is useless apart from speaking to Argo Workflows.

Correct me if I'm wrong, but encrypting it does nothing, no? It just means an interceptor can't read the jwt, but it doesn't prevent them from actually using it. It sounds like what you're trying to accomplish might be better accomplished via setting HttpOnly and Secure on the cookie. Doesn't prevent HTTPS-effective MITM attacks, but prevents most other attacks. For more info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#:~:text=Restrict access to cookies

Correct me if I'm wrong, but encrypting it does nothing, no?

This prevents someone from taking the cookie and using to speak directly to another system that accepts the access token - because it is encrypted and they cannot decrypt it. In additional, this token would only have openid scope. Finally, I believe the cookie security is covered is covered by HttpOnly and Secure, SameSiteStrict

This prevents someone from taking the cookie and using to speak directly to another system that accepts the access token - because it is encrypted and they cannot decrypt it. In additional, this token would only have openid scope. Finally, I believe the cookie security is covered is covered by HttpOnly and Secure, SameSiteStrict

This is one way to solve, but usually this is also solved by requesting the access_token with something like a specific audience and then the server verifies the audience. Or via client_id or some other information stored in the jwt itself. Unless your concern is two identically configured servers, except deployed in different clusters, recieving the token?

Moved from slack to github:
So I did take a look at this and it looks like an Authorization Code flow from the server that you are then storing the access token in an encrypted cookie, I have seen this done in a few projects such as https://github.com/oauth2-proxy/oauth2-proxy the one downside to this is that cookie can get very large when encrypted with some access tokens such is the case generally with jwt’s and azure comes to mind here (also jwt’s with group scopes) oauth2-proxy actually implements a cookie splitting but actually recommend using their redis backend instead to store the token and then they just store a short session cookie https://oauth2-proxy.github.io/oauth2-proxy/auth-configuration#azure-auth-provider notice the note at the bottom Note: When using the Azure Auth provider with nginx and the cookie session store you may find the cookie is too large and doesn't get passed through correctly. Increasing the proxy_buffer_size in nginx or implementing the redis session storage should resolve this. But other than that from a security perspective nothing jumps out at me, but I didn’t spend a lot of time looking at how the cookie encryption was done.
The other option I am not sure if you thought of is the Authorization Code Flow with PKCE then it’s all done client side the downside to it is that the access_token is not stored encrypted on the client but then the server would have to validate access token agains the oauth provider because Argo Workflows has a server component to it I don’t think Auth Flow with PKCE makes the most sense but it is another flow you might be interested in knowing about

I will say the one area I think PKCE might make sense and I kind of alluded a bit to this is with people that have a k8s cluster setup for outh logins already then you don't really need any server component you just need to get a token from the same oauth provider that k8s is using and use that token then communicate to kubernetes directly from the client say a local argo server command.

Is there any consideration of implementing token_refresh in this PR as well? Azure access tokens will still be limited to 3600 seconds without it.
I believe it would require using a second cookie to store the refresh_token, adding a handler for an 'oauth2/refresh' endpoint, and then updating the UI to try and hit that endpoint on a 401 error before redirecting to the login page.

After discussion with corp experts - this is wrong approach.

Superseded by #4095


Use utf-8 everywhere

Hi guys, I 'm really appreciated for the algorithms you have provided.
Could you please use utf-8 encoding everywhere?
E.g., FastText.py, 16-17 lines should be the following:
        self.class_list = [x.strip() for x in open(
            dataset + '/data/class.txt', **encoding='utf-8'**).readlines()]

Otherwise I get the expected error:
    dataset + '/data/class.txt').readlines()]                                # 类别名单
  File "C:\Python37\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 51: character maps to <undefined>

Could you please add it to each algorithm?

Thanks for your issue, I've fixed it.


Start a proper ledger API

This is a very beginning of the cardano-ledger-api
For now it only includes one function: setBabbageMinTxOut

Was just gonna say  @JaredCorduan will have more insight to review, and I was not wrong it seems!


Removing parallel tests constraints

I will think about it later.
still facing some concurrency issues in the tests.


RfTools server crash 1.12-7.20

RFTools 1.12-7.20
Minecraft 1.12.2
Forge 1.12 2582
Using latest McJty Lib
https://pastebin.com/k9T5bZgY
Game Crash on Dedicated Server

Should be fixed in the upcoming 2.6.1 of McJtyLib which is currently waiting for approval on curseforge

It is approved; Can you test that it works? Thanks

sorry but its still crashing, https://pastebin.com/c952Hs0Q
using mcjty 1.12-2.61

RFTools 7.21 is awaiting approval fixing this

It is approved

Just updated and got a successful server boot, thanks for the quick fix.


Configure outbound Firewall rules for Gitea

Story: #544
Description
Outbound traffic is restricted, so any internet must be explicated allowed.

Configure in the Azure Firewall the Service Tags and URLs allowed for outbound/inbound traffic
Document why each of the Service Tag/URL is needed

Duplicate of #747


UrlEncodedFormEntity constructor now requires the encoding format

I have added UTF-8 as the default encoding for requests being sent to new relic.
@feanil @e0d PTAL.

:+1:


AVS legal stuff

So I've been reading through Alexa Voice Service Functional Design Guide
 and Alexa Voice Service Terms and Agreements and there's a lot of things that kinda suck that we don't have (yet) like:

you can't change the wake word (does this mean having this option in config file is a no-go?),
you have to indicate recording start and stop,
the user needs to be able to mute the mic and this needs to be indicated,
etc.

So I was thinking if any of you know if we have to also conform with those two documents even when we are just messing with it, not doing anything commercial. We can probably implement those things that we don't have yet, but it's gonna take some time. Is there an issue that we're doing the development "out in open" and people can use it now even if it doesn't comply with those two documents?
Also there could be a problem that the users could simply not connect the LEDs or whatever, so they'd lose the indication. Is that their problem then?
And there's also

Your Product must not have a product name or logo that is a variant of, or confusingly similar to, “Alexa”, “Echo,” “Amazon” or another Amazon trademark or logo.

@sammachin I believe you are the most experienced in this?

Ok SO IANAL but here's my view on things, (@flooie is a Lawyer I think so he might be well placed to comment)
Firstly we should remember that we are an open source project not a finished Alexa Device, right now we don't even need to have an Alexa Developer Account ourselves (in theory) When a user installs AlexaPi they signup and setup their own set of developer credentials and they are agreeing to the terms then, its up to them what they do with the code if they make changes they should ensure they are still within the terms of the agreement.
I hadn't properly looked at the T&C's since they removed the blanket ban on using a wakeword at all, interesting that they now say you can't change it
p) you will not use or allow the use of any wake word or other trigger word as part of accessing the Alexa Service in Your Products other than the wake or trigger words authorized by Amazon (such as “Alexa”) without Amazon’s prior written approval;
They don't specify there what the authorized wake words are exactly, I would take it to read that its "Alexa, Amazon, & Echo" like in the Echo so having the ability to change that within our code is fine, again if people use something totally different thats their lookout.
Indicating recording start/stop is already something that was in the project from day 1, The LED shows when its recording. If people choose to not wire this up thats their choice.
The ability to mute the mic is more interesting and I think has only been introduced with the allowing of wake words, In the original push to talk version I would argue that the mic was permanently muted until the user pressed the button to talk and then engaged it.
In a new wakeword setup thins might need some more work, options that I see are;

The dumb solution is to say "Its a USB Mic, if you want to mute it just unplug the mic"
Some of the USB dongles actually have a mic mute button built in, we recommend using this one.
We could re-use the button as a mute on/off switch in our code. How would we actually mute the mic? Would it be sufficient to disable wakeword when 'muted'
One school of thought is that seeing as we are open software then you can disable the mic by SSH'ing onto the box and running alsa mixer!

The naming is interesting, so far there are far more commercial projects that are using variants of the Alexa name and haven't had an issue, Amazon are very much aware of this project so I'm happy to continue as we are,
Again I don't really see this as something we need to be too worried about, I've got a pretty good rapport with Amazon I'm sure if there are any problems they will reach out in a friendly way first and we'll find a way to comply then. The whole no wakeword thing was something that I raised with them early on and they were really good at finding ways around it.
I do think some of these points above are worth @nascentobjects thinking about though as their project is far more of a commercial appliance and they don't have either a visual indicator or a button on the device.

No one from Amazon tried to talk to us (AFAIK). Closing ... Can be reopened when needed.


Update packages that depend on ansi-regex

https://github.com/textlint/textlint/issues/840
ansi-regex 2.1.1 ~ 5.0.0 is vulnerable to Inefficient Regular Expression Complexity: CVE-2021-3807
Therefore, I update packages that depend on ansi-regex that can be updated without source code modifications.

The following packages are excluded from this PR as they fail testing when updated.

chalk
string-width
strip-ansi

Thanks


Exposed metrics?

First of all thanks for publishing this, it looks useful and I'd like to give it a try soon.
Is there currently any way of external monitoring, e.g. using Prometheus? It'd be useful for making sure that securitybot runs fine from an ops perspective, but also potentially for further processing of alerts, and metrics derived from alerts.

We have hooks for our internal monitoring systems, as well as general service management monitoring. A PR that added sufficiently-generic hooks to the project would be welcome!