Simplify constraints

Feature Request
Constraints are a intermediate step between DTOs and field specs. They should be simplified, greatly reducing the code base in this particular area whilst also decoupling core logic from the profile.
Tasks

[ ] Combine DTO to Constraint logic with Constraint to FieldSpec logic.

Estimate - 3

Investigation: This is far to big a change to be considered at this current type.


Image fixups in EC Class method overview.

Addresses requested image fixups tracked in #24.

looks great. Thanks James!


Update Composer dependencies (2022-11-03-00-10)

Visual regression test passed!
View the visual regression test report


Isue #7172  fixed

#7172

Working on Issue

Closing this pull request as no activity from the last 1.5 months.
Feel free to open a new pull request once done.


Pre-trained models

Hi, it's a nice work and we're interested in it!
Could you release the pre-trained models (ViT-S or ViT-Ti)? We believe the pre-trained models also matter for the community! 😊

@wondervictor Thanks for your interest in this work. We will also release the pre-trained models on ImageNet.


Standard pop-up blocker for Chrome and Firefox blocks consent screeen

After user signs-in, a call to acquireTokenPopup(["https://graph.microsoft.com/user.read"]) fails due built-in pop-up blocker in Chrome or Firefox when consent is needed. The following error is happens:
popup_window_error:Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser
In order to test this, create a new brand new application in ARP, login with a user using a private session, and then call acquireTokenPopup to acquire the token

@andretms This is a standard problem where the browser blocks the popup window from opening if it is not a direct result of a click event. We have mentioned in the Read me that the developers need to allow popups in the browser if they want to consume msal and take advantage of the popup based login and acquireToken.

Hello @rohitnarula7176!
Is there any changes to this statement? Does msal go well with popup blockers nowadays?
When I call getCachedTokenInternal() with popup blocker, it fails to retrieve token.


Django18 compatibility

Django 1.8 joins tables in a slightly differing manner than prior versions.
Also, it uses the 'atomic' method instead of the temporary 'commit_on_success_unless_managed'.'.

Confirmed that commit_on_success_unless_managed is deprecated in Django 1.8 Django docs
Will there be support for Django 1.6 in upcoming versions of CleanerVersion?

Hi @boydjohnson. Thanks for the confirmation. Django 1.6 already IS supported as stated by the README. If you look at our tox.ini, you can see that one of the environments is Django 1.6.

Hi @maennel thanks for the prompt reply. I meant would it be that 1.6 wouldn't be supported as changes are made to make CleanerVersion work with 1.8.

No, we try to keep CleanerVersion to support officially supported current
Django versions. We don't support versions prior to 1.6, since
CleanerVersion was written when 1.6 was out.
So, with the changes in this PR, CleanerVersion will work with, and is
tested against Django versions 1.6, 1.7 and 1.8.
On Thu, May 28, 2015, 00:57 Boyd Johnson<EMAIL_ADDRESS>wrote:

Hi @maennel https://github.com/maennel thanks for the prompt reply. I
meant would it be that 1.6 wouldn't be supported as changes are made to
make CleanerVersion work with 1.8.
—
Reply to this email directly or view it on GitHub
https://github.com/swisscom/cleanerversion/pull/79#issuecomment-106102663
.

@maennel : Looks good to me.  #80 -> #79 would take care of a couple deprecation warnings.

Hey @brki, thanks for the PR. If it's ok for you, we can merge this PR into master?


Adding "requests" extra to setup.py.

Fixes #29.
@lukesneeringer @jonparrott I'm not sure if this is what you had in mind or something else.
/cc @tseaver

/cc @nkeriks


Update Active Directory Attack.md

Hello, can you unsubscribe me from this email? it’s becoming really
annoying! I have unsubscribed numerous times yet I keep receiving these
emails!!
On Wed, 12 Oct 2022 at 8:26 PM, Seb @.***> wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/swisskyrepo/PayloadsAllTheThings/pull/574
Commit Summary

b809e10
https://github.com/swisskyrepo/PayloadsAllTheThings/pull/574/commits/b809e104e66c3a530bb9bd8a9559291044f61df5
Update Active Directory Attack.md

File Changes
(1 file
https://github.com/swisskyrepo/PayloadsAllTheThings/pull/574/files)

M Methodology and Resources/Active Directory Attack.md
https://github.com/swisskyrepo/PayloadsAllTheThings/pull/574/files#diff-3b98604a871086a1c51d4def7c0b9495b055aa3b6aae25017b603394cefd5690
(5)

Patch Links:

https://github.com/swisskyrepo/PayloadsAllTheThings/pull/574.patch
https://github.com/swisskyrepo/PayloadsAllTheThings/pull/574.diff

—
Reply to this email directly, view it on GitHub
https://github.com/swisskyrepo/PayloadsAllTheThings/pull/574, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APBIUFKXHEOGDRV45P6QQCLWC4GG7ANCNFSM6AAAAAARDSYCUY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[Question] How to setting/config auto-translation ?

I want to turn on/off auto translate to some language
I accident turn disable auto translate into some language, and cannot find a way to turn it on.
...

Summary: where is the setting for auto translate ? I can't find it.

I'm also interested in this. I suspect by default it doesn't translate system languages you have added in android settings.

I'm also interested in this, I had automatic translation but somehow it was disabled or it's not working for me anymore


remove sparksession code that is not compliant with spark connect

@MrPowers
looks good to me

Tests are passed, LGTM


FFmpeg not correcting container via php

I am calling this command from my php site:

Everything works fine and the file is being saved as well with this output:
[youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] RF0HhrwIwp0: Downloading DASH manifest [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 146.11KiB/s ETA 00:44 [download] 0.0% of 6.30MiB at 416.83KiB/s ETA 00:15 [download] 0.1% of 6.30MiB at 947.87KiB/s ETA 00:06 [download] 0.2% of 6.30MiB at 1.93MiB/s ETA 00:03 [download] 0.5% of 6.30MiB at 1.63MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.38MiB/s ETA 00:04 [download] 2.0% of 6.30MiB at 1.15MiB/s ETA 00:05 [download] 4.0% of 6.30MiB at 442.06KiB/s ETA 00:14 [download] 7.9% of 6.30MiB at 254.34KiB/s ETA 00:23 [download] 10.7% of 6.30MiB at 259.85KiB/s ETA 00:22 [download] 15.0% of 6.30MiB at 291.74KiB/s ETA 00:18 [download] 21.5% of 6.30MiB at 373.71KiB/s ETA 00:13 [download] 34.5% of 6.30MiB at 489.44KiB/s ETA 00:08 [download] 50.1% of 6.30MiB at 568.80KiB/s ETA 00:05 [download] 63.9% of 6.30MiB at 664.06KiB/s ETA 00:03 [download] 90.1% of 6.30MiB at 795.23KiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 832.05KiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:07 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a"
BUT: although it states that ffmpeg corrected the container for the audio file, they are still corrupted and can't be played from iTunes. The same command from the terminal works as requested and corrects the container correctly.
I have tested if php can access ffmpeg [system("ffmpeg -h")] and also have tried to give a location for ffmpeg [echo system('~/bin/youtube-dl --ffmpeg-location ~/.toast/armed/bin/ffmpeg --extract-audio -o "~/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0')]. Still without success. My current ffmpeg version is 2.6.2 and my youtube-dl version is from 2015.04.28
Have you ever encountered such a problem and know how to solve this, or is it a new issue?

Post the full output you get when running with --verbose option.

That's the full output:
[youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&nh=IgpwcjAyLmZyYTA1KgkxMjcuMC4wLjE&gcr=de&ms=au&mv=u&mm=31&pl=32&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&key=dg_yt0&sver=3&fexp=900720,907263,934954,934968,935035,938028,9405960,9406544,9407407,9408134,9408142,9408707,9408788,940939,9412547,9413154,948124,952612,952637,952642,957201&signature=7454A5D47FD6E1412DF9E267A301340F11805423.7C2F580D4BBBA19E1DA1C719EA88941791B1C211&mt=1430676685&upn=NPUOQkiwwdc&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430699083&sparams=ip,ipbits,expire,id,itag,source,requiressl,nh,gcr,ms,mv,mm,pl,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 106.77KiB/s ETA 01:00 [download] 0.0% of 6.30MiB at 303.50KiB/s ETA 00:21 [download] 0.1% of 6.30MiB at 572.22KiB/s ETA 00:11 [download] 0.2% of 6.30MiB at 1.13MiB/s ETA 00:05 [download] 0.5% of 6.30MiB at 1.66MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.77MiB/s ETA 00:03 [download] 2.0% of 6.30MiB at 1.76MiB/s ETA 00:03 [download] 4.0% of 6.30MiB at 1.74MiB/s ETA 00:03 [download] 7.9% of 6.30MiB at 1.73MiB/s ETA 00:03 [download] 15.9% of 6.30MiB at 1.70MiB/s ETA 00:03 [download] 31.7% of 6.30MiB at 1.70MiB/s ETA 00:02 [download] 58.7% of 6.30MiB at 1.69MiB/s ETA 00:01 [download] 85.5% of 6.30MiB at 1.60MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.57MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:04 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a
I also always delete the old m4a file before running a new test.

This is not the full output. Do not remove the debug info at the beginning:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'RF0HhrwIwp0', u'-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.04.28
[debug] Git HEAD: 848edea
[debug] Python version 2.7.9 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-71608-ga924b83, ffprobe N-71608-ga924b83, rtmpdum
p 2.4
[debug] Proxy map: {}

I actually did not delete anything, that was all I got from php.
This is what I receive running the same code in terminal:
(ext)s" RF0HhrwIwp0
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--extract-audio', u'-o', u'~/html/YouTubeDownloader/%(id)s.%(ext)s', u'RF0HhrwIwp0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.04.28
[debug] Python version 2.6.6 - Linux-2.6.32-504.12.2.el6.x86_64-x86_64-with-centos-6.6-Final
[debug] exe versions: ffmpeg 2.6.2, ffprobe 2.6.2
[debug] Proxy map: {}
[youtube] RF0HhrwIwp0: Downloading webpage
[youtube] RF0HhrwIwp0: Extracting video information
[youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] RF0HhrwIwp0: Downloading DASH manifest
[debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&mv=u&ms=au&mm=31&nh=IgpwcjAyLmZyYTA1KgkxMjcuMC4wLjE&gcr=de&pl=32&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&upn=X8jSFAzn_Bw&signature=75248DFE40CDD35062B907A83C6D9E773939E64B.48BEBE10A62559D3BD8EE741F81B467DF6757857&sver=3&key=dg_yt0&mt=1430677976&fexp=900720,907263,934954,936118,938028,9406722,9407991,9408033,9408095,9408142,9408705,9408911,9409254,9412773,9412839,948124,952612,952637,952640,952642,957201&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430699721&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,mm,nh,gcr,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a
[download] 100% of 6.30MiB in 00:04
[ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a"
[debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a
[debug] ffmpeg command line: ffprobe -show_streams /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a
[youtube] Post-process file /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a exists, skipping
However, when I run it from the terminal, the containers ARE corrected.

On PHP you also need to capture stderr (I don't know how)

@lordwilmore have you put --verbose in your php script?

@dstftw yes, --verbose is turned on, i made this request:
[echo system('~/bin/youtube-dl --verbose --extract-audio -o "~/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0');]
and got that output:
[youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&ms=au&mv=m&mm=31&gcr=de&pl=32&nh=IgpwcjA0LmZyYTAzKgkxMjcuMC4wLjE&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&mt=1430679744&upn=MlZTkp1YUrQ&sver=3&key=dg_yt0&signature=4CF18840EC04C893C59A7647584EDFE4BBD33AD4.2AC2C052EDCE37F03FCFEB7D96E084355BE361&fexp=900720,907263,934954,938028,939986,9406848,9406938,9407118,9407664,9407924,9407966,9408050,9408142,9408707,9409028,9412764,948124,952612,952637,952642,957201&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430701414&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,mm,gcr,pl,nh,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 145.03KiB/s ETA 00:44 [download] 0.0% of 6.30MiB at 417.65KiB/s ETA 00:15 [download] 0.1% of 6.30MiB at 943.27KiB/s ETA 00:06 [download] 0.2% of 6.30MiB at 1.93MiB/s ETA 00:03 [download] 0.5% of 6.30MiB at 1.88MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.75MiB/s ETA 00:03 [download] 2.0% of 6.30MiB at 1.75MiB/s ETA 00:03 [download] 4.0% of 6.30MiB at 1.72MiB/s ETA 00:03 [download] 7.9% of 6.30MiB at 1.71MiB/s ETA 00:03 [download] 15.9% of 6.30MiB at 1.70MiB/s ETA 00:03 [download] 31.7% of 6.30MiB at 1.60MiB/s ETA 00:02 [download] 55.7% of 6.30MiB at 1.45MiB/s ETA 00:01 [download] 76.2% of 6.30MiB at 1.45MiB/s ETA 00:01 [download] 99.2% of 6.30MiB at 1.51MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.51MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:04 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a
@jaimeMF I googled and it seems like one can get the stderr by appending 2>&1 to the call, so now it lookes like this:
[echo system('~/bin/youtube-dl --verbose --extract-audio -o "~/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0 2>&1');]
That's the output:
[debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'--extract-audio', u'-o', u'~/html/YouTubeDownloader/%(id)s.%(ext)s', u'RF0HhrwIwp0'] [debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968 [debug] youtube-dl version 2015.04.28 [debug] Python version 2.6.6 - Linux-2.6.32-504.12.2.el6.x86_64-x86_64-with-centos-6.6-Final [debug] exe versions: ffmpeg 0.6.5, ffprobe 0.6.5 [debug] Proxy map: {} [youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&gcr=de&mm=31&mv=m&ms=au&pl=32&nh=IgpwcjA0LmZyYTAzKgkxMjcuMC4wLjE&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&fexp=900720,907263,916727,924637,936025,937412,938028,938688,9405185,9406848,9407642,9408708,9409175,9409231,9410645,9412987,9413103,948124,952612,952637,952642,957201&mt=1430679378&upn=QpcAhdMPTaE&key=dg_yt0&signature=053C545F2A78908D54C725FFA2F0486D4931C2B5.13BEC42044D3DC822C3160C4641CE6EB16B48036&sver=3&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430701081&sparams=ip,ipbits,expire,id,itag,source,requiressl,gcr,mm,mv,ms,pl,nh,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 24.08KiB/s ETA 04:28 [download] 0.0% of 6.30MiB at 71.43KiB/s ETA 01:30 [download] 0.1% of 6.30MiB at 165.63KiB/s ETA 00:38 [download] 0.2% of 6.30MiB at 353.36KiB/s ETA 00:18 [download] 0.5% of 6.30MiB at 538.51KiB/s ETA 00:11 [download] 1.0% of 6.30MiB at 515.75KiB/s ETA 00:12 [download] 2.0% of 6.30MiB at 531.07KiB/s ETA 00:11 [download] 4.0% of 6.30MiB at 644.86KiB/s ETA 00:09 [download] 7.9% of 6.30MiB at 802.42KiB/s ETA 00:07 [download] 15.9% of 6.30MiB at 1.06MiB/s ETA 00:04 [download] 31.7% of 6.30MiB at 1.08MiB/s ETA 00:03 [download] 49.1% of 6.30MiB at 1.28MiB/s ETA 00:02 [download] 79.8% of 6.30MiB at 1.40MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.45MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:04 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" WARNING: Your copy of ffmpeg is outdated, update ffmpeg to version 1.0 or newer if you encounter any errors. [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a ERROR: Unrecognized option 'c' Traceback (most recent call last): File "/home/inventor/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1512, in post_process files_to_delete, info = pp.run(info) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 623, in run self.run_ffmpeg(filename, temp_filename, options) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 152, in run_ffmpeg self.run_ffmpeg_multiple_files([path], out_path, opts) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 148, in run_ffmpeg_multiple_files raise FFmpegPostProcessorError(msg) FFmpegPostProcessorError

@lordwilmore as you can see from log

exe versions: ffmpeg 0.6.5, ffprobe 0.6.5
ffmpeg that is running from script is very old. Update it.

Are you running from the server and the command line on the same computer and use?
In the apache log it says ffmpeg 0.6.5, which is really old.

That is weird indeed, because I have contacted my web hoster and he updated it. Also running "ffmpeg -v" from the console outputs: "ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers"
also the weird thing is that as mentioned above, ffmpeg actually works with youtube-dl when I call it from the command line.
and yes, I do run the php and the command on the same server, i also save the files in the same directory.

You should compare the output of which ffmpeg from the command line and from php. They may have a different PATH variable.

calling "which ffmpeg" from terminal outputs: ~/.toast/armed/bin/ffmpeg
calling "which ffmpeg" from php outputs: /usr/bin/ffmpeg /usr/bin/ffmpeg
So you might actually have a point here. However running the code and giving the correct ffmpeg path still does not correct the audio header:
[echo system('~/bin/youtube-dl --ffmpeg-location ~/.toast/armed/bin/ffmpeg --extract-audio -o "~/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0');]

We can't help without the output with the --verbose option.

this call: echo system('~/bin/youtube-dl --verbose --ffmpeg-location ~/.toast/armed/bin/ffmpeg --extract-audio -o "~/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0 2>&1')
this output:
[debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'--ffmpeg-location', u'/home/inventor/.toast/armed/bin/ffmpeg', u'--extract-audio', u'-o', u'~/html/YouTubeDownloader/%(id)s.%(ext)s', u'RF0HhrwIwp0'] [debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968 [debug] youtube-dl version 2015.04.28 [debug] Python version 2.6.6 - Linux-2.6.32-504.12.2.el6.x86_64-x86_64-with-centos-6.6-Final [debug] exe versions: ffmpeg present, ffprobe present [debug] Proxy map: {} [youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&gcr=de&nh=IgpwcjAyLmZyYTA1KgkxMjcuMC4wLjE&mm=31&mv=u&ms=au&pl=32&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&upn=hCyQ7ATQPjI&key=dg_yt0&fexp=900720,907263,934954,938028,9407992,9408142,9408245,9408708,9409294,9412942,948124,948808,952612,952637,952642,957201&mt=1430681635&sver=3&signature=8379B79CEEBAD4567B077CFF4DCBF8BE6BD06E4A.93C3906E5D1D4BEF19DDA01E5C68E6213EAB4771&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430703570&sparams=ip,ipbits,expire,id,itag,source,requiressl,gcr,nh,mm,mv,ms,pl,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 118.27KiB/s ETA 00:55 [download] 0.0% of 6.30MiB at 333.37KiB/s ETA 00:19 [download] 0.1% of 6.30MiB at 743.97KiB/s ETA 00:08 [download] 0.2% of 6.30MiB at 1.49MiB/s ETA 00:04 [download] 0.5% of 6.30MiB at 1.74MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.76MiB/s ETA 00:03 [download] 2.0% of 6.30MiB at 1.77MiB/s ETA 00:03 [download] 4.0% of 6.30MiB at 1.73MiB/s ETA 00:03 [download] 7.9% of 6.30MiB at 1.74MiB/s ETA 00:03 [download] 15.9% of 6.30MiB at 1.71MiB/s ETA 00:03 [download] 31.7% of 6.30MiB at 1.66MiB/s ETA 00:02 [download] 57.2% of 6.30MiB at 1.63MiB/s ETA 00:01 [download] 82.5% of 6.30MiB at 1.61MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.63MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:03 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [debug] ffmpeg command line: /home/inventor/.toast/armed/bin/ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a ERROR: /home/inventor/.toast/armed/bin/ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/home/inventor/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1512, in post_process files_to_delete, info = pp.run(info) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 623, in run self.run_ffmpeg(filename, temp_filename, options) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 152, in run_ffmpeg self.run_ffmpeg_multiple_files([path], out_path, opts) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 148, in run_ffmpeg_multiple_files raise FFmpegPostProcessorError(msg) FFmpegPostProcessorError
is that sufficient or do you need anything else?
and is that "--ffmpeg-location ~/.toast/armed/bin/ffmpeg" correct? Or do i have to set the location differently?

There's something in your copy on ffmpeg:
 ERROR: /home/inventor/.toast/armed/bin/ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file:

Does /home/inventor/.toast/armed/bin/ffmpeg work if you manually run it?

from the terminal it outputs:
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
configuration: --prefix=/home/inventor/.toast/armed --enable-shared
libavutil      54. 20.100 / 54. 20.100
libavcodec     56. 26.100 / 56. 26.100
libavformat    56. 25.101 / 56. 25.101
libavdevice    56.  4.100 / 56.  4.100
libavfilter     5. 11.102 /  5. 11.102
libswscale      3.  1.101 /  3.  1.101
libswresample   1.  1.100 /  1.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
from php:
/home/inventor/.toast/armed/bin/ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file: No such file or directory /home/inventor/.toast/armed/bin/ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file: No such file or directory

Maybe it's an issue with $LD_LIBRARY_PATH. Try to specify it in PHP.


[CELEBORN-1164] Introduce FetchDataFailCount metric to expose the count of fetching chunk failed in current worker

What changes were proposed in this pull request?
Introduce FetchDataFailCount metric to expose the count of fetching chunk failed in current worker.
Why are the changes needed?
The metrics about the count of PushData or PushMergedData failed in current worker is supported at present. It's better to support FetchDataFailCount metric to expose the count of fetching chunk failed in current worker.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Internal test.

@FMX, could you help to review this pull request?


Checkout docker tags for dynamic versioning

thanks @frcroth

coverage: 88.189%. remained the same
when pulling c322c2f33310347126aaeec52f2d639007dd2507 on docker-fetch-tags
into e814a20ec17398529f051dfa41f91ed97d3c326f on main.


New release?

Howdy all,
Thanks for the great work on rbenv. Would it be possible to release a new version of rbenv?
Since 0.4.0 was released, rbenv-rehash was merged into rbenv and other nice changes have been added.
I've been installing rbenv through Homebrew, but Homebrew sometimes removes formulas that stop making stable releases, moving them to https://github.com/Homebrew/homebrew-head-only.
Some nice things about using Homebrew without --HEAD include being able to have shell functions like brew_install_or_upgrade, consistency with other programs (Git, Vim, Hub, Postgres, etc.), and using the bottled versions (saving time on installation).
What do you think? Thanks for considering it.
Cheers,
Dan

Yep!

https://github.com/sstephenson/rbenv/issues/609#issuecomment-69810173
https://github.com/sstephenson/rbenv/issues/587#issuecomment-42778928
https://github.com/sstephenson/rbenv/issues/551#issuecomment-35224060
https://github.com/sstephenson/rbenv/issues/517#issuecomment-31341669
https://github.com/sstephenson/rbenv/issues/494#issuecomment-29342030
https://github.com/sstephenson/rbenv/issues/604#issuecomment-48424293


Window not proper theme (dark instead of light)

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)
v0.18.0
What operating system and version?
Linux Debian 8.7
Gnome 3.14.1
What did you do?
I opened the application
What did you expect to happen?
A light Window.
What actually happened?
A dark Window.
As you can see in the screenshot I'm using a light theme but WebTorrent uses a dark one.

WebTorrent only has a dark theme for the moment. To keep things simple, we want to have one UI theme across OS platforms. In a future version, we may consider a UI that takes into account the OS theme settings, but it's not a priority at the moment.
Also, when Chromium updates to GTK3, then we can probably match the menu bar to the rest of the UI (i.e. make it dark).
See: https://github.com/electron/electron/issues/2927
See: https://chromium.googlesource.com/chromium/src/+/acc4214c4dece4e70fb53355d557bd45f35965d6/docs/linux_gtk_theme_integration.md#GTK3


How to stop?

How do I stop the chat (and close the websocket)? I'm new to swift so there is probably something I'm missing.

I implemented several improvements in my fork, in case someone is interested.


Clean up SqlServerSyntax.cs

Fixes #243

@erikbra & @wokket
I couldn't get these tests running on my Mac either using grate core. I have Docker etc. but am unsure as to what piece I'm missing.


Setup coverity scan automation for C+(Cython) and Python part of project

Hi,
please setup CI automation for coverity scans for C++/Python parts of project.
There is existing project with manually scanned python part
https://scan.coverity.com/projects/daal4py
You can prepare configuration and  validate it on test project or we can work together to setup it for existing one

@napetrov I would like to take up this issue.

@chinvib66  - great! would you like to setup this for existing project or just create and commit configuration that i will add afterwards?

@napetrov Thanks for assigning me!

In travis jobs of my fork branch, the project is being built properly for linux, but the tar file is not getting submitted to coverity api. I'll have to dig bit deep into how coverity works with travis and conda. Of course, any help is appreciated.
I am unassigning myself from this issue for the time being. In case I find a solution, and issue is still available, I'll try to submit a pr.

@chinvib66  Thanks.
i don't think that build it job will work well for Python+ Cython code
https://scan.coverity.com/travis_ci
I saw an example of running it via command line - assume this can be automated -
https://community.synopsys.com/s/question/0D53400004KuySECAZ/does-coverty-support-to-scan-cc-and-python-at-the-same-time


🎁 Add killOnServerStop to debug configuration

Fixes #163124
A new configuration parameter, named killOnServerStop, is added. When this parameter is enabled, child debug sessions will be stopped whenever the server (the parent session) stops. The default value for the parameter is false to keep the existing behavior unchanged.
Verification
To verify this PR, use babakks/vscode-verify-kill-on-server-stop which is made for this purpose. Instructions are available in the README.md of the repo.

There's also a merge conflict here

There's also a merge conflict here

Merged with the main.


GPU Memory Allocation Issue with POT==0.9.1

With POT 0.9.1 GPU memory is allocated on import in combination with deep learning packages see https://github.com/PythonOT/POT/issues/523
https://github.com/PythonOT/POT/issues/516
Recommend downgrading to POT < 0.9.1 for now.

I just verified that this is fixed by https://github.com/PythonOT/POT/pull/520 when I install it from their master. Previously nearly all GPU memory would be all pre-allocated and now I can see the true usage.

Oh that’s interesting! @atong01 would you mind checking as well on the example that was broken?


DirEntries throws in foreach

jason reported this on 2014-03-17T07:52:24Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=12391
CC List

andre.artus
christof
ckatko
dlang (@Vild)
mike
timothee.cour2

Description
Using DMD Version 2.065, Windows 7 x86

A previous similar issue has been fixed on Linux.
http://d.puremagic.com/issues/show_bug.cgi?id=8298

To reproduce this try iterating over c:\windows it will yield an access denied exception. Alternatively create some directory in a sub directory and remove your access to it.

The error I got was: std.file.FileException@std\file.d(2519): c:/windows\CSC\v2.0.6: Access is denied

jason commented on 2014-03-17T07:55:30Z
example code:
    import std.file;
    foreach (DirEntry e; dirEntries("c:/windows", SpanMode.depth))
    {
        writeln("entry: ", e.name);
    }

mike commented on 2014-03-18T15:42:18Z
dirIterator throws an exception when it tries to traverse into a directory for which it does not have any read permissions.

This issue also exists on Linux/posix systems.

andre.artus commented on 2018-10-31T03:39:41Z
I would really like to see either a complementary function, or a parameter, or any other solution to this problem. At the moment I have to maintain a parallel implementation of dirEntries. While I'm sure it exists for someone, I don't have a use case favouring the current behaviour.

Most of my utilities where using dirEntries would be useful scan the full filesystem. I cannot even exclude these directories by name as the crash happens before I get the result.

auto dFiles = dirEntries(path,"*.{d,di}",SpanMode.depth);
foreach (d; dFiles) {
// nothing happening here
}

std.file.FileException@std\file.d(4573): [Folder]: Access is denied.

timothee.cour2 commented on 2016-01-11T04:08:15Z
ping on this.

I made local modifications to my git repo as this error was a blocker:

auto h = directory.length ? opendir(directory.tempCString()) : opendir(".");

                if(!h) {
                    auto s = strerror(errno).to!string;
                    import std.stdio;
                    stderr.writeln("ERROR: ", __FILE__,":",__LINE__," ",directory , " ",s);
                    return false;
                }

jason commented on 2022-12-28T18:57:53Z
I see that some documentation has been added to this, which is helpful. I do think however that SpanMode.depth is somewhat unhelpful to have, given that there is no possibility of handling errors and continuing; some people may miss the fact that it behaves in the way it does.

It may be better to remove the depth mode altogether if the API isn't going to be adjusted in any way, but equally I don't see why this API does not follow that of countless other languages that have solved the same problem as I previously mentioned. Here is rust's effort if the python one was unsound in some way. https://rust-lang-nursery.github.io/rust-cookbook/file/dir.html#recursively-find-duplicate-file-names

jason commented on 2016-03-23T18:23:20Z
Could we not take something out of python's book (or some other language):

os.walk https://docs.python.org/2/library/os.html

(1) This [os.walk] gives an opportunity to have an error handler during the walk.
(2) alternatively a parameter that accepts a range that becomes a list of errors.
(3) something else...

#2 doesn't seem that flexible looking at it, #1 would seem to be the way, as it acts as a predicate in python too, if an exception is thrown from the error handler the walk is stopped, otherwise it is not.

Often times I would like to ignore errors but log them. Other times better to stop the traversal.

ckatko commented on 2022-12-23T15:55:31Z
This issue from 2014 is still not resolved?

The function as-is, is completely broken (and nearly useless) if it cannot handle a simple permissions issue. That means every single program using this function is subject to breaking if a file/folder with inaccessible permissions is placed in a desired search directory. Even if you catch exceptions overall, it's still going to terminate the loop from searching, breaking whatever file listing the program depended on.

And even if that was acceptable, it's still not documented that this happens.

This definitely needs addressed as it's a fundamental building block of D's standard library. You are basically expected to use this for any enumerated file access.

dlang-bot commented on 2023-01-05T09:00:43Z
dlang/phobos pull request #8656 "Document dirEntries throws without read permission" was merged into master:

- 3aa94941b3a963d84f910bd31b2dd16e0b19665a by Nick Treleaven:
  Document dirEntries throws without read permission

  Part of:
  Issue 12391 - dirEntries throws in foreach

  Add example showing how to handle subdirectory read permission failures.

https://github.com/dlang/phobos/pull/8656

b2.temp commented on 2016-03-23T02:03:41Z
It seems to be by design. By hand it's possible to catch silently (e.g the /srv/tftpboot folder on linux).

void scan(string root)
{
    foreach(DirEntry entry; dirEntries(root, SpanMode.shallow))
    {
        try
        {
            writeln(entry.name);
            if (entry.isDir) scan(entry.name);
        }
        catch (FileException fe) {continue;}
    }
}

void main()
{
    scan("/srv/");
}�

The error happens in "bool stepIn(string directory)�" (std.file) because the folders are only put on a stack if they have a valid handle.

What could be done is to put them on the stack, always, and to test later, when the stack is used if the handle of each item is valid, but then the control is lost over when and why a problem happens. The iterator could even return a DirEntry with a special flag (hasNoHandle) to denote that an error occured.

dlang-bot commented on 2022-12-27T11:09:59Z
@ntrel updated dlang/phobos pull request #8656 "Document dirEntries throws without read permission" mentioning this issue:

- Document dirEntries throws without read permission

  Part of:
  Issue 12391 - dirEntries throws in foreach

  Add example showing how to handle subdirectory read permission failures.

https://github.com/dlang/phobos/pull/8656

b2.temp commented on 2016-03-23T01:51:59Z
*** Issue 12513 has been marked as a duplicate of this issue. ***

dlang-bot commented on 2023-01-13T22:27:11Z
@dukc updated dlang/phobos pull request #8657 "Fixed many issues in grapheme walker" mentioning this issue:

- Document dirEntries throws without read permission

  Part of:
  Issue 12391 - dirEntries throws in foreach

  Add example showing how to handle subdirectory read permission failures.

https://github.com/dlang/phobos/pull/8657


Change return type of libspdm_const_compare_mem

libspdm does not need to know the number of bytes that are the same, as is with memcmp. It just needs to know if the contents of the two buffers are equal or not.
Signed-off-by: Steven Bellock<EMAIL_ADDRESS>

reference: https://github.com/DMTF/libspdm/issues/1585


Add intro

How programs work

Not like spreadsheets, they go in order:
input data
plot data
compute mean
compute standard deviation
run regression
Each of these components has a number of steps, but the idea is to run through them in order.  Like a novel, but not like a spreadsheet, which does everything at once.

Resources

Hard way
Codecademy
Coursera
Comments on each, strengths and weaknesses.

Done.  See http://davebackus.gitbooks.io/test/content/py-fun1.html


Code | Alphabetic Pattern 39

@aryashah2k Kindly assign this one to me.

@aryashah2k Kindly assign this one to me.


Issue trying to update DriverAutomationTool

Hi,
Trying to update my MSEndpointMgr tool but it seems to be throwing an error when I click "Update Tool". See attached screenshots. I am new to using this tool which I have inherited.
Any assistance would be much appreciated.

I am getting this same message. Any updates or work arounds?

Still no dice trying to fix this. Anyone able to figure this one out? Much appreciated!

I am getting this same message. Any updates or work arounds?

I've ended up manually updating it.
Downloaded the files as ZIP from: https://github.com/maurice-daly/DriverAutomationTool
Extracted the zip file > Copied the 3 files from the Current Branch folder (the exe/config/md5) > copied to the install location of the driver tool (default location: C:\Program Files\MSEndpointMgr\Driver Automation Tool)


Tensorflow lite lstm/bilstm reset variables why needed ? Can we avoid reset variables.

Getting different outputs for multiple runs in tensorflow lite invoke when reset is not called. Why different output ? Is this step causes performance issue in multiple runs because of reset function extra step during every run. why interpreter.reset_all_variables() is needed.
`# -- coding: utf-8 --
"""BiLSTMinput_Var_LastMode_layer.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1xTKC1yQ4S016p_yFFFm91TCJlHj7nnDf
"""
import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
model = keras.Sequential()
Add a LSTM layer with 128 internal units.
model.add(layers.Bidirectional(layers.LSTM(input_shape=(None,20),units= 128, return_sequences = False)))
Step 2: Train & Evaluate the model.
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy']);
x_test = np.zeros([3000,4,20], dtype=np.float32);
x_train = np.zeros([3000,4,20], dtype=np.float32);
y_test =  np.zeros([3000, 1,], dtype=np.float32);
y_train = np.zeros([3000, 1,], dtype=np.float32);
model.fit(x_train, y_train, epochs=5)
model.evaluate(x_test, y_test)
model.summary()
run_model = tf.function(lambda x: model(x))
This is important, let's fix the input size.
BATCH_SIZE = 1
STEPS = 2
INPUT_SIZE = 20
concrete_func = run_model.get_concrete_function(
tf.TensorSpec([BATCH_SIZE, STEPS, INPUT_SIZE], model.inputs[0].dtype))
model directory.
MODEL_DIR = "keras_bi_lstm_new"
model.save(MODEL_DIR, save_format="tf", signatures=concrete_func)
converter = tf.lite.TFLiteConverter.from_saved_model(MODEL_DIR)
tflite_model = converter.convert()
with open('bilstmmodel_1_2_20.tflite', 'wb') as f:
f.write(tflite_model)
Run the model with TensorFlow Lite
interpreter = tf.lite.Interpreter(model_content=tflite_model)
#interpreter = tf.lite.Interpreter(model_path="bilstmmodel_last_1_2_20.tflite")
interpreter.allocate_tensors()
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
input_shape = input_details[0]['shape']
output_shape = output_details[0]['shape']
print(input_shape)
print(output_shape)
myinp = np.loadtxt('img.txt')
myinp = np.resize(myinp,input_shape);
myinp = (np.float32(myinp) - 0) / 1
print(myinp)
interpreter.allocate_tensors()
interpreter.set_tensor(input_details[0]["index"], myinp)
interpreter.invoke()
result = interpreter.get_tensor(output_details[0]["index"])
print(result)
interpreter.invoke()
result = interpreter.get_tensor(output_details[0]["index"])
print(result)
interpreter.reset_all_variables()
interpreter.invoke()
result = interpreter.get_tensor(output_details[0]["index"])
print(result)
print(result.shape)`

@pranathibl
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code to reproduce the issue faced]

@renjie-liu could you take a look at this?

Yes, the reset variable call is expected, the lstm kernel in tflite is stateful (meaning the states will be mutated and stayed there so you don't need to copy and pass in again).

Is there any way to avoid based on network type. For CNN's we dont need that right ?

Yes, for CNN network you don't need to do that


implement lists

still have a bit of work to do, but started this task with cd2edd4 through 14a4828


Fix subclass check 112

Re-create PR https://github.com/StackStorm/st2/pull/1617 for 0.11.2

LGTM, +1


Unsymmetric linear elasticity solution from symmetric setup

Creating a perfectly symmetric problem setup produces an unsymmetric solution. Symmetric boundary conditions, symmetric differential equation, symmetric knot vector discretization.
#! /usr/bin/env python

from __future__ import division
from nutils import mesh, plot, util, log, library, function, debug
import numpy
from math import pi

@log.title
def makeplots( domain, geom, stress ):

  points, colors = domain.elem_eval( [ geom, stress[0,1] ], ischeme='bezier3', separate=True )
  with plot.PyPlot( 'stress', ndigits=0 ) as plt:
    plt.mesh( points, colors, tight=False )
    plt.colorbar()

def main( nelems=12, stress=library.Hooke(lmbda=1,mu=1), degree=3, withplots=True, solvetol=1e-10 ):

  # construct mesh
  v1 = numpy.linspace( 0, 1, 11 )
  v2 = numpy.linspace( 0, 1, 9 )
  m1 = [4,1,1,1,1,3,1,1,1,1,4]
  m2 = [4,1,1,1,1,1,1,1,4]
  domain, geom = mesh.rectilinear( [v1,v2] )

  # prepare basis
  dbasis = domain.basis( 'bspline', degree=[3,3], knotmultiplicities=[m1, m2] ).vector( 2 )

  # construct matrix
  elasticity = function.outer( dbasis.grad(geom), stress(dbasis.symgrad(geom)) ).sum([2,3])
  matrix = domain.integrate( elasticity, geometry=geom, ischeme='gauss2' )
  x, y = geom
  firstQuarter = function.asarray([function.cos(   y *pi/2   ), function.sin(   y *pi/2   )]) - [x,y]
  thirdQuarter = function.asarray([function.cos((1-y)*pi/2+pi), function.sin((1-y)*pi/2+pi)]) - [x,y]
  bottom       = function.asarray([x, -1+x]) - [x,y]
  top          = function.asarray([-1+function.greater(x,.5)*(x-.5)*2, function.less(x,.5)*(x-.5)*2 + 1]) - [x,y]

  # construct dirichlet boundary constraints
  cons = domain.boundary['left'].project( thirdQuarter, geometry=geom, onto=dbasis, ischeme='gauss2' ) \
       | domain.boundary['right'].project( firstQuarter, geometry=geom, onto=dbasis, ischeme='gauss2' ) \
       | domain.boundary['bottom'].project( bottom, geometry=geom, onto=dbasis, ischeme='gauss2' ) \
       | domain.boundary['top'].project( top, geometry=geom, onto=dbasis, ischeme='gauss2' )

  # solve system
  lhs = matrix.solve( constrain=cons, tol=solvetol, symmetric=True, precon='diag' )

  # construct solution function
  disp = dbasis.dot( lhs )

  # plot solution
  if withplots:
    makeplots( domain, geom+disp, stress(disp.symgrad(geom)) )
util.run( main )

Produces the following output

Notice in particular the diagonal line from top left to bottom right is not straight, but rather curved.

import matplotlib.pyplot as plt

  # plot control mesh
  n1,n2 = (15,11)
  knot1 = []
  knot2 = []
  for (x,m) in zip(v1,m1):
    knot1 += [x]*m
  for (x,m) in zip(v2,m2):
    knot2 += [x]*m
  x = numpy.zeros((n1,n2))
  y = numpy.zeros((n1,n2))
  for i in range(n1):
    for j in range(n2):
      x[i,j] = numpy.mean(knot1[i+1:i+4])
      y[i,j] = numpy.mean(knot2[j+1:j+4])
  cp = numpy.reshape(lhs, (2, n1, n2), order='C')
  plt.plot( x+cp[0,:,:],     y+cp[1,:,:],    'ko-')
  plt.plot((x+cp[0,:,:]).T, (y+cp[1,:,:]).T, 'ko-')
  plt.axis('equal')
  plt.show()

I think the problem you observe has to do with the infinitesimal strain assumption. The boundary conditions you prescribe show large displacements and rotation of the undeformed geometry. In this case finite strain theory should be applied.
The Nutils examples folder also contains an example with finite strain theory. If I apply this example on your script, I obtain (diagonal line and grid to show symmetry):

I do have to mention that there is a sort of unexplained singularity (high stress) in the top-left corner of the original geometry (left middle in the deformed geometry). To not see this high stress value I have fixed the clim of the colorbar. I didn't find the time yet to find the underlying reason of this numerical artifact.
The script:
#! /usr/bin/env python3

from __future__ import division
from nutils import mesh, plot, util, log, library, function, debug
import numpy
from math import pi

_ = numpy.newaxis

@log.title
def makeplots( domain, geom, stress ):

  points, colors = domain.elem_eval( [ geom, stress[0,1] ], ischeme='bezier4', separate=True )
  with plot.PyPlot( 'stress', ndigits=0 ) as plt:
    plt.mesh( points, colors, tight=False )
    plt.colorbar()
    plt.clim(-0.3,0.3)
    plt.plot([-1,1],[1,-1])
    plt.grid('on')

def main( nelems=12, stress=library.Hooke(lmbda=1,mu=1), degree=3, withplots=True, solvetol=1e-10, restol=1e-10 ):

  # construct mesh
  v1 = numpy.linspace( 0, 1, 11 )
  v2 = numpy.linspace( 0, 1, 9 )
  m1 = [4,1,1,1,1,3,1,1,1,1,4]
  m2 = [4,1,1,1,1,1,1,1,4]
  domain, geom0 = mesh.rectilinear( [v1,v2] )

  # prepare basis
  dbasis = domain.basis( 'bspline', degree=[3,3], knotmultiplicities=[m1, m2] ).vector( 2 )
# dbasis = domain.basis( 'std', degree=[3,3]).vector( 2 )

  # construct matrix
  elasticity = function.outer( dbasis.grad(geom0), stress(dbasis.symgrad(geom0)) ).sum([2,3])
  matrix = domain.integrate( elasticity, geometry=geom0, ischeme='gauss6' )
  x, y = geom0
  firstQuarter = function.asarray([function.cos(   y *pi/2   ), function.sin(   y *pi/2   )]) - [x,y]
  thirdQuarter = function.asarray([function.cos((1-y)*pi/2+pi), function.sin((1-y)*pi/2+pi)]) - [x,y]
  bottom       = function.asarray([x, -1+x]) - [x,y]
  top          = function.asarray([-1+function.greater(x,.5)*(x-.5)*2, function.less(x,.5)*(x-.5)*2 + 1]) - [x,y]

  # construct dirichlet boundary constraints
  cons = domain.boundary['left'].project( thirdQuarter, geometry=geom0, onto=dbasis, ischeme='gauss6' )\
       | domain.boundary['right'].project( firstQuarter, geometry=geom0, onto=dbasis, ischeme='gauss6' )\
       | domain.boundary['bottom'].project( bottom, geometry=geom0, onto=dbasis, ischeme='gauss6' )\
       | domain.boundary['top'].project( top, geometry=geom0, onto=dbasis, ischeme='gauss6' )

  # solve system
  lhs = matrix.solve( constrain=cons, tol=solvetol, symmetric=True, precon='diag' )

  # construct solution function
  disp = dbasis.dot( lhs )

  # plot solution
  if withplots:
    makeplots( domain, geom0+disp, stress(disp.symgrad(geom0)) )

  geom = geom0 + disp
  for istep in log.count( 'newton' ):

    E = dbasis.symgrad(geom) - .5 * function.add_T( ( dbasis.grad(geom)[:,:,:,_] * disp.grad(geom)[_,:,_,:] ).sum(1) )
    F = .5 * function.outer( disp.grad(geom), axis=1 ).sum(0)
    A = function.outer( dbasis.grad(geom), stress(E) ).sum([-2,-1])
    B = ( dbasis.grad(geom) * stress(-F) ).sum([-2,-1])
    matrix, rhs = domain.integrate( [ A, B ], geometry=geom, ischeme='gauss6' )

    lhs, info = matrix.solve( rhs, constrain=cons, lhs0=lhs, tol=restol, precon='spilu', info=True )
    if not info.niter:
      break

    disp = dbasis.dot( lhs )
    geom = geom0 + disp

  # plot solution
  if withplots:
    strain = disp.symgrad(geom) - .5 * function.outer( disp.grad(geom), axis=1 ).sum(0)
    makeplots( domain, geom0+disp, stress(strain) )

util.run(main)

Please take a look at the latest checkout of Nutils (development branch). There are new features such as the possibility of using namespaces. The use of namespaces improves readability significantly. Furthermore, non-linear residuals are expressed without first manually linearizing the weak form; Nutils will linearize instead.
If you like to continue with finite strain formulations, the examples folder contains a finite-strain example using a namespace. In this example the strain is defined and the strain energy is minimized directly.
I hope this helps. If you have any further questions, please let us know.

That was great! Solved a lot of confusion. To be honest I still don't exactly know why the seemingly symmetric linear elasticity operator gives such unsymmetric results, but I agree that we are far far away from the realm of infinitesimal strain so the physics model set up don't make any sense. However I won't linger too long on it since the finite strain formulation solves all my (current) problems.
Regarding the stress singularity, then I'm pretty sure that this is related to the fact that the singularity point contains an element with an interior 180 degree angle resulting in a singular jacobian from the geometric mapping. Evaluating derivatives here will give bogus output.
Next question: Is there any way to control divergence of the matrix solve here
    lhs, info = matrix.solve( rhs, constrain=cons, lhs0=lhs, tol=restol, precon='spilu', info=True )
    if not info.niter:
      break

The tolerance provided is only applied for convergence, not divergence. It seemed that any additional arguments are passed directly to the underlying scipy solvers, but if I tried to make these divergece (with i.e. maxiter=4), then nutils breaks execution with an AssertionError.
Note: I'm building a downstream library which is intended to use nutils and I'm thus required to only use the published stable versions of nutils available on pip. The last update on PyPI was over 18 months ago, so I would not be sad if v3.0 or even v2.1 appeared there anytime soon :wink:

So I did find a workaround, but this is based on a try - except block, and as far as I understand this is not intended to catch assertions, but rather exceptions created by raise.
try:
    lhs, info = matrix.solve( rhs, constrain=cons, lhs0=lhs, tol=restol, precon='spilu', info=True, maxiter=4 )
except AssertionError:
    print('Solver diverged, try smaller deformation')

If no explicit divergence-control is available in nutils, would it be possible to swap out a few assert with raise ?

Agreed. It is our intention to swap out assertions with raises where it is used for control flow, like in this case, which admittedly is bad programming. Since you rely on published versions the best option for now seems to be indeed to catch the AssertionError, or alternatively to avoid the matrix wrapper altogether and use matrix.toscipy(). In the next published version (which is approaching) we will aim to have all wrongly placed asserts removed.

I've added issue #228 to track the progress of replacing assertions with exceptions, part of the v3.0 milestone.


Fixes #15

Fixes #15

I think this is all I need to add for the name option to be added to the request?


Remove duplicate crates.version column

Reported by @koenaad:

So, I was checking out the database of docs.rs, I am a bit confused about why there is a column versions in the crates table: https://github.com/rust-lang/docs.rs/blob/master/src/db/migrate.rs#L105
The table releases contains the releases per crate and also has a column version. So the same information can be retrieved by doing a join between crates and releases. Something like this:

select crates."name", releases."version", releases.release_time, releases.build_status
from releases
inner join crates on releases.crate_id = crates.id
where crates.name = 'fie'
order by releases.release_time desc;

It seems to kept in sync by add_package: https://github.com/rust-lang/docs.rs/blob/master/src/db/add_package.rs#L151.

There's no sense in storing duplicate data in postgres, so I'd like to see the crates.version column removed eventually.

I can remove the use of crates.versions in crate_details.rs (https://github.com/rust-lang/docs.rs/blob/master/src/web/crate_details.rs#L114) when implementing the 2nd change of https://github.com/rust-lang/docs.rs/issues/516#issuecomment-570279786

I would rather separate feature PRs from refactoring PRs. Our test suite still isn't as good as I'd like and smaller PRs makes it easier to rollback commits. This is especially true for the SQL queries which are mostly not type checked, if you delete crates.version there will be no compile errors but the site may panic at runtime.

See https://github.com/rust-lang/docs.rs/pull/466 for an example of a PR that passed all tests but still crashed the site.

Fixed in https://github.com/rust-lang/docs.rs/pull/804


Fix inconsistencies in Query light mode

Summary

Update the styles in Alloy Query light mode to fix the inconsistencies of small elements with the rest of the UI in light mode.
High-level changes:

Make all buttons have consistent styling (blue/orange instead of gray everywhere)

i.e., aggregation operator buttons, local mode button, tooltip icons
dropdowns that had dark background

Fix styling of property info tooltips
Fix styling of ag-grid in light mode

i.e., local mode pivot table, check query entitlements

Fix styling of search config popovers
Make all Modals have primary/secondary action buttons. All modal close/cancel buttons should be secondary (gray in dark mode, blue in light mode)
Make virtual assistant styling consistent with light mode
Fix bug with derivation column lambda editor switching between light/dark mode
Update all places that used to use darkMode={true} to instead make use of the TEMPORARY__isLightColorThemeEnabled variable
Fix styling of inputs with errors in light mode (should have red outline)

How did you test this change?

[ ] Test(s) added
[x] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

Closing this MR in favor of https://github.com/finos/legend-studio/pull/3019 to avoid the gs-opensource-bot force syncing branches.


Flat namespace vs submodules

One item of the "RFC: Roadmap for Shapely 2.0" we didn't yet fully discuss is how to incorporate the vectorized functions of PyGEOS into Shapely (see also this section).
There are two aspects to this:

where to put the vectorized functions? (currently in the top-level pygeos namespace)
what to do with the existing scalar functions in shapely? (currently in submodules in shapely, eg ops, algorithms, affinity, validation, wkt/wkb, etc)

The obvious option for the first point is to follow PyGEOS and keep those new vectorized functions in the top-level namespace (as user-facing exposure). Although this breaks with the current pattern in Shapely (currently nothing is exposed in Shapely's top-level namespace, users need to import everything from some submodule), I would personally strongly argue for doing this. I think there are several reasons to do this: 1) user-friendly (less imports are needed; you don't need to know/remember for each function in which submodule it is located), 2) we don't need to create many new public submodules (currently many features are only available as method on the Geometry classes and not as function in a submodules, such as all predicates), 3) easier transition for people already using pygeos.
There are of course alternatives as mentioned in the RFC link (single submodule, multiple submodules as is the case right now, etc).
If we go with the top-level namespace for the functions, the question is then what to do with the existing submodules in Shapely? (those can probably be discussed on a case by case depending on the outcome of the first question)

Indeed, flatter namespaces are friendly to users. I support having the vectorized functions at the top level.
The wkb/wkt modules: since they expose the same interface, it seems fine to have separate modules instead of wkt_dumps/wkb_dumps at the top level. In my experience, applications are using one serialization or the other, not a mix.

Indeed, flatter namespaces are friendly to users. I support having the vectorized functions at the top level.

That sounds good!

The wkb/wkt modules: since they expose the same interface, it seems fine to have separate modules instead of wkt_dumps/wkb_dumps at the top level.

The top-level functions in pygeos are currently called to_wk[b|t] / from_wk[b|t], and work on in-memory data (so are equivalent to dumps / loads, and not dump/load).

what to do with the existing scalar functions in shapely? (currently in submodules in shapely, eg ops, algorithms, affinity, validation, wkt/wkb, etc)

Looking at a few of them:

ops currently has those functions: 'linemerge', 'polygonize', 'polygonize_full', 'transform', 'unary_union', 'triangulate', 'voronoi_diagram', 'split', 'nearest_points', 'validate', 'snap', 'shared_paths', 'clip_by_rect', 'orient', 'substring'.

Most of those map to one of the vectorized functions from pygeos, and can probably eventually be deprecated in ops in favor of the top-level vectorized function (but that doesn't necessarily need to happen soon / in 2.0)
split, substring and orient are currently custom implemented operations that don't map directly to a GEOS function

algorithms.polylabel: this is also a custom implementation, but this might actually be similar as GEOS' new "MaximumInscribedCircle" (https://blog.cleverelephant.ca/2020/06/developer-life-2.html)
validity: the tho functions here (make_valid and explain_validity) also map to a vectorized function
affinity: this currently has some custom functionality to perform affine transformations (both general with custom matrix as a set of predefined ones). This might be worth keeping in a separate submodule?


install the system apps into fabric8-system namespace?

when installing fabric8 with minikube we tend to get things like kube dashboard or helm installed into the kube-system namespace.
I wonder if we should do the same for system services in fabric8 too?
e.g. install the following services into the fabric8-system namespace:

fabric8 (console)
exposecontroller
configmapcontroller
any ingress/router related stuff

I wonder what other system services we should install; maybe nexus and content-repository?

Yeah, we already install the ingress stuff in fabric8-system and I've been meaning to move exposecontroller + configmapcontroller there too. Moving the console there makes sense also.  It will also make team development namespaces cleaner too.

yeah - then we can have basically 2 install steps:

the system (into fabric8-system)
a team (in any namespace, just installs the team stuff)

might be nice to default to having the local nexus in each team just point at the global nexus? We may wanna do defaults for things like gogs too maybe?

That sounds like a good plan to me.

once we've got the new fabric8-platform package working, we should probably default to install the fabric8 system into the fabric8 namespace (lazily creating it if it does not exist) unless the user specifies a different namespace


[Improvement] Change java package name?

What would you like to be improved?
Currently, the package name is "com.datastrato.gravitino" Should we change this to "com.gravitino" or something else? Note we may be asked to do this when we donate the code to the ASF perhaps to "org.apache.gravitino"? The ASF generally disallows company names in packages but will allow if it's hard to change. (Apache Flex is a good example of this.)
How should we improve?
Consider what to do.

Fixed.


Backport 1.3: Change PK module preprocessor check on word size

Description
There were preprocessor directives in pk.c and pk_wrap.c that checked
whether the bit length of size_t was greater than that of unsigned int.
However, the check relied on the POLARSSL_HAVE_INT64 macro being
defined which is not directly related to size_t. This might result in
errors in some platforms. This change modifies the check to use the
macros SIZE_MAX and UINT_MAX instead making the code more robust.
NOTE:

This is a backport of https://github.com/ARMmbed/mbedtls/pull/1043 to mbed TLS 1.3

Status
READY

CI failed only due to known issues (timing test, slow start in compat.sh) so ok to merge.


WIP hellocolibri, obtaining,cleaning rsv,dataplane

Introduces a COLIBRI client example.
Pending:

[ ] Documentation of the example
[ ] Cleanup the code
[ ] No changes to go.mod
[ ] Merge of https://github.com/netsec-ethz/scion/pull/101 in scionlab

This change is

Obsolete.


New App: tummychow.git-absorb

Adding New Portable Application. Resolves #103855

Microsoft Reviewers: Open in CodeFlow

This one is being taken to manual reviews.

@stephengillie I failed out from the Automatic Validation.

 Validation-Executable-Error is because the git-absorb command returns %ERRORLEVEL% = 1 if it's not being ran inside of a repository folder:
Apr 30 15:39:57.871 CRIT absorb failed, err: could not find repository from '.'; class=Repository (6); code=NotFound (-3)

Which means that running the git-absorb command in C:\Users\%USERNAME%\Documents\GitHub\winget-pkgs passes with %ERRORLEVEL% = 0:
PS C:\Users\TAP\Documents\GitHub\winget-pkgs> git-absorb
Apr 30 15:42:09.041 WARN Will not fix up past commits not authored by you, use --force to override, commit: cccdd4f1db400afd2658a863dc1cd8fcfb21b772
Apr 30 15:42:09.048 CRIT No commits available to fix up, exiting
PS C:\Users\TAP\Documents\GitHub\winget-pkgs> $LASTEXITCODE
0

Oh. I see which is depend on other application.


Add hiddenWhen to debuggers in package.json

This PR adds the 'hiddenWhen' attribute to debuggers contributed by the C# Extension.
Related: https://github.com/microsoft/vscode/pull/193157
Fixes:

https://github.com/microsoft/vscode-dotnettools/issues/14
https://github.com/microsoft/vscode-dotnettools/issues/512
https://github.com/microsoft/vscode-dotnettools/issues/513

Note: This PR requires the VS Code September 2023 Update

I assume the plan here is to wait for a 1.83 version of vscode to be released?

I assume the plan here is to wait for a 1.83 version of vscode to be released?

Do we have a pre-release train this could hop on for validation?

I assume the plan here is to wait for a 1.83 version of vscode to be released?

Do we have a pre-release train this could hop on for validation?

We don't currently have a planned prerelease, but we can ship a prerelease out of main at any time.  That prerelease would only work on vscode insiders though.
The other, more complicated problem is that our integration tests run on vscode release.  We would also have to switch the integration tests to acquire and run on insiders vscode in order to merge this PR (they're currently all failing on this PR for that reason)

Do we need to wait? In other words, will older versions of VS Code just ignore the attribute?

These changes work if you use a version of vscode >1.83.0. We do not need the engine upgrade requirement.


Linux Installation for demo

OS : Ubuntu 14.04 LTS
NW version : 0.14.3-sdk
My steps so far.

clone this repo.
npm install
start NW.

now after those process. i got his error
Cannot read property 'addRule' of undefined
"window.document.styleSheets[0].addRule('........');"
i already added style tag on my main html.
is there something that i've missed?

If you installed the prerequisites, then no, there should be no issues..
That error is specific to not being able to find a style tag in the header as you suspected, what happens when you do window.document.styleSheets in the console?

Object found when i do log the "window.document.styleSheets".
just now i added, the css/general.css via link rel on my html file, so that it would not execute the injection of css. and i got another error,
" Cannot read property 'firstChild' of null
if (window.document.getElementById(this.context.substring(1)).firstChild) {
"

Are you using it in a new window instead of the default window that opens when you start the app?

I'm using it as default window via package.json "main" : "index.html"

well.. it looks like the window it's checking, is not the window where you want the player to be.

what do you mean?
here's my index.html

and my package.json
{
    "name": "wcjs-player-demo",
    "description": "WebChimera.js Player Demo",
    "version": "0.0.1",
    "private": true,
    "main": "index.html",
    "dependencies": {
        "wcjs-player": "*"
    },
    "env": "development"
}

i also tried this running on windows. still no luck. :(

Open node_modules/wcjs-player/index.js

Add win = window to the vars

Add win = wcpSettings.win ? wcpSettings.win : window; right above this line

Replace all window. with win. in the entire file

Use var player = new wjs("#player").addPlayer({ autoplay: true, win: window }); instead of the addPlayer() call your doing now

I followed the instructions above and still got an error about the addRule.

Then try a different version of NW.js, this can't be the player's fault, as it couldn't break window even if it wanted to.

Hi Jaruba,
Its working now, i use the old version of NW.JS (0.12.3).
Thank you so much for your time :)

Not familiar with NW & eletron,
after I build successfully( npm install), how to run the demo?

@xiongjiabin as you created a different issue with a running nw.js or electron, I guess you figured it out, closing as the original issue was solved


scrape table from filter

Hi,
I want to get the table from this url:
https://www.hvw-online.org/spielbetrieb/ergebnissetabellen#/league?ogId=3&pId=83&lId=45926
I guess the is a problem with special characters maybe? Anyone an idea?
regards,
Timo

"ngRepeat" ... sounds like Angular as Frontend Framework, so you can't get the html via curl or something like that because there is no html. The browser will build the page for you.
You could maybe use chrome headless to fetch the html?


Allow to use custom injector instead of "Custom CSS and JS Loader"

There are some other injector extensions available which are used for other projects. I dont like the idea to use multiple injection types, because it will likely broke in a couple of updates. I use apc (apc.imports setting) which provides customisation of UI and completely makes sense to use with your animations. It doesnt spawn message about corrupted visual studio and loads your extension without any problem.
First of all, "Custom CSS and JS Loader" method didnt work for me also
And I would like to uninstall that extension, but VS throws an error "Cannot uninstall 'Custom CSS and JS Loader' extension. 'VSCode Animations' extension depends on this"
I can't remove "vscode_custom_css.imports" setting either, every reload it adds your updateHandler.js
Anyway, thanks for your great job!

Ok, good idea. I am not too sure about removing the custom css and js as a dependency since it allows people to easily get it set up but what do you think about if I made a toggle setting for automatic using custom css and js or custom? Custom CSS and JS doesn't do anything if you leave it disabled anyways, I know this isn't the best if you really don't like that extension but for other people that want a quick install it should stay a dependency.
Let me know if that setting would be good. I could also make a command you can run to get the url of the file to paste into your settings and of course it wouldn't automatically add it to the custom css and js ones if you turned that setting on.
The main reason I wouldn't convert entirely to another injection extension is because it would be a mess for everyone who currently has the extension.

Yep, the setting toggle would be great

Published 1.0.14 which adds this. Check the new section on the readme for info. Let me know if everything works properly sometime and then I will close this issue.

I am going to assume it works for you and close this now.

@BrandonKirbyson thanks, it works like a charm


Suit protection regenerates at improper times

This bug affects the Normal setting for the Environmental Damage & Afflictions gameplay setting. Has been in the game since at least the August update, but perhaps as early as the May update. If you are in a location which is considered safe from ambient environmental effects (Cydonia, New Homestead, etc), OR if you are on a planet that is not cold, hot, or corrosive/toxic, hazardous weather will deplete your suit protection as expected. However, once suit protection reaches 0, it will begin to regenerate for a second before depleting again. This repeats over and over, spamming your HUD with these notifications.

Details
This is because the ENV_Weather spells [001639EB], [001639F8], [001639F9], [00163A00], [00163A02], [00163A03], [00163A05], [00163FE7], [00281ECB], [00281ECD] all have a condition of 'Subject.IsTrueForConditionForm(ENV_CND_InHazardousEnvironment [CNDF:0011F365]) = 1' on the 'ENV_DMG_*_Weather_SoakDepleted_NonExtremePlanet_Effect' effects for these spells. This condition prevents these effects from applying in the locations mentioned above, which causes suit protection to begin to regenerate once it reaches 0. This condition is unnecessary, because these effects are already properly controlled by two other conditions which only allow them to apply if the player's suit protection is <= 1, and the player is not in a sealed area. Additionally, as they are set up, these magic effects only end up applying keywords to the player (one of which keeps suit protection at 0). Afflictions are still gained because they are controlled by another effect.
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Set the Environmental Damage & Afflictions gameplay setting to Normal. Stand in a location such as Cydonia during a sandstorm. Watch the HUD, and listen to the suit protection alert, as it fully depletes. You will see it regenerate for a second before depleting again. This will repeat until you leave the affected location, or the weather ends.

Fix attached. The 'Subject.IsTrueForConditionForm(ENV_CND_InHazardousEnvironment [CNDF:0011F365]) = 1' condition has been removed from the 'ENV_DMG_*_Weather_SoakDepleted_NonExtremePlanet_Effect' effects in the following weather spells: [001639EB], [001639F8], [001639F9], [00163A00], [00163A02], [00163A03], [00163A05], [00163FE7], [00281ECB], [00281ECD]
SFCP_1142.zip


Change length of primary_node.comment, dep upgrade, doc updates.

...

Coverage remained the same at 91.462% when pulling 3cd9fb4ea5658464c6373aeaa1f56b18085d2b4f on RickCarlino:db_lengths into 20c978d57f018bb13543528c90feea079c5163e9 on FarmBot:staging.


Add CI to Kitura-Sample

CI was added and is now passing: https://travis-ci.org/IBM-Swift/Kitura-Sample/builds/129258870.


Added alexruperez.com to blogs.json

Thanks Alex!
Is this a feed of things you star on GitHub or is there writing there also? When I look at the feed it looks like maybe just your GitHub feed?

Thank you @daveverwer!
Yes, I have been personally selecting and promoting GitHub repos that I consider outstanding/interesting for years, I think it can be interesting. But if it is not the approach you are looking for, no problem, you can close the pull request. 🙂

When you put it like that, I agree it should be included. It's just that the feed also included things like tags being created in your repos and so I thought it might be a little less structured than that. I'll merge it now. Thanks.

@daveverwer opps, that tag is a bug in my code! Hehe. Thanks for the merge and the feedback, I'll fix it. 👍


Delay 2s with bmdplay

Hi,
I have Blackmagic Intensity Pro 4K on a server run Debian Jessie. I tried to capture and play on TV with bmdcapture and bmdplay.
I used this command:
./bmdcapture -C 0 -m 7 -n 1500 -F nut -f pipe:1 | ./bmdplay -C 0 -m 7 -f pipe:0
Video shown on TV but was delayed 2s. How can I play real-time video?
Thanks,

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28082970-delay-2s-with-bmdplay?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github).

            -b <num>             Milliseconds of pre-buffering before playback (default = 2000 ms)

You need to tune this option.
I hope it helps =)

It works fine. Awesome. Thank you very much!
Now I also want to store recorded video with this command:
./bmdcapture -C 0 -m 7 -n 1500 -F nut -f pipe:1  | tee > test.avi | ./bmdplay -C 0 -m 7 -f pipe:0
Because I want to add trademark to video so I changed your bmdcapture. However, video shown on TV have no trademark as stored video.

You can use avconv to add it.

Hi Luca,
Thanks for the reply. But what I want is to get the data from the
bmdcapture for 2 pipe line: recording and streaming. I used a tee, but
failed. Can you show me how to handle it or let me know if I use the wrong
tee command.
Thank you very much.
2015-11-30 1:59 GMT+07:00 Luca Barbato<EMAIL_ADDRESS>
Closed #67 https://github.com/lu-zero/bmdtools/issues/67.
—
Reply to this email directly or view it on GitHub
https://github.com/lu-zero/bmdtools/issues/67#event-477144951.


Component API consistency

The API for Hero, River and FAQ components is very different at the moment. We should strive for a common way of doing things.
It's a mix of this.
<Component heading="..."  In sapien sit ullamcorper id. Aliquam luctus sed turpis felis nam pulvinar risus elementum."
  primaryAction={{
    text: 'Primary action',
    href: '#',
  }}
  secondaryAction={{
    text: 'Secondary action',
    href: '#',
  }}
  align="center"
/>

Current River

They can be composed in any order, but their rendered output will always be in the in the predetermined order.

This API suggests to me that I could pass in more than one <Text /> component (or other), but actually only the first one is accepted. If we control the allowed number of components and the order, there is no reason to declare River.Content.
<River>
  <River.Visual>
    <img
      src="https://via.placeholder.com/600x400/f5f5f5/f5f5f5.png"
      alt="placeholder, blank area with an off-white background color"
    />
  </River.Visual>
  <River.Content>
    <Heading>Heading</Heading>
    <Text>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sapien sit
      ullamcorper id. Aliquam luctus sed turpis felis nam pulvinar risus
      elementum.
    </Text>
    <Link href="#">Call to action</Link>
  </River.Content>
</River>

Current FAQ
<FAQ>
  <FAQ.Heading>Frequently asked questions</FAQ.Heading>
  <FAQ.Item>
    <FAQ.Question>
      What's included in the GitHub for Startups offer?
    </FAQ.Question>
    <FAQ.Answer>
      <p>
        All GitHub for Startups companies receive up to 20 seats of GitHub
        Enterprise for free for year one and 50% off year two. Learn more
        about the features and capabilities of GitHub Enterprise{' '}
        <InlineLink
          href="https://www.github.com"
          target="_blank"
          rel="noreferrer"
        >
          here
        </InlineLink>
        .
      </p>
    </FAQ.Answer>
  </FAQ.Item>
</FAQ>

Next steps:

Await feedback from @stefankp et al
Document API conventions and rationales in an ADR

@rezrah I think we should prefer the composable APIs when possible. Exception could be when a component only has required inputs. Looking forward to the Hero refactor 👌

Closing this issue as..

A revised hero has now shipped with a composable API
We'll be writing up the ADR in contributor documentation in Q1
We already have established precedent for writing composable component API's, which is being used in all net new components.


Implement improved logging function - Restore deleted pauses, removed added periods

Removes the four different logging functions used for different padding scenarios, and replaces them with one simplified version that preserves arbitrary space padding anywhere in the message line, and also supports sending blank lines.
An earlier pull request was closed due to the following issues, which I believe have been fixed:

I added a number of pauses for testing during development, then deleted them all using a find-and-replace. Unfortunately, this also deleted several pauses that were supposed to be part of the script. These have been restored.
I added periods to several comment lines, which deviates from the script standard. These have been removed.

Grr, it won't let me auto-merge the pull request. I think because I made changes to the original file to incorporate the window title and end-of-script color switch changes, so it's out of sync with the current code. Is there anyway to re-submit off the current code base?

OK, I just manually added these changes to the master copy and they'll be reflected here in a bit. Thanks again.

I was worried about the merging, but hoped it would still work. Live and learn. Thanks for taking the time to do it manually.


AVX512 test failure

Hi. on a Ryzen 7*** series, if relevant, I got during make -f Makefile.testing test in the c sub-directory:
Testing 0x00000060
AddressSanitizer:DEADLYSIGNAL
==37697==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x64ae1f0fefa4 bp 0x7fff4ee2f970 sp 0x7fff4ee2d200 T0)
==37697==The signal is caused by a READ memory access.
==37697==Hint: this fault was caused by a dereference of a high value address (see register values below).  Disassemble the provided pc to learn which register was used.
#0 0x64ae1f0fefa4 in blake3_hash16_avx512 (/BLAKE3/c/blake3+0x131fa4) (BuildId: 437efdf9a18d03604553d6113dbee7c8a062baaa)
#1 0x64ae1f12e67f in blake3_hash_many_avx512 (/BLAKE3/c/blake3+0x16167f) (BuildId: 437efdf9a18d03604553d6113dbee7c8a062baaa)
#2 0x64ae1f02e6af in blake3_compress_subtree_wide (/BLAKE3/c/blake3+0x616af) (BuildId: 437efdf9a18d03604553d6113dbee7c8a062baaa)
#3 0x64ae1f036199 in blake3_hasher_update.part.0 (/BLAKE3/c/blake3+0x69199) (BuildId: 437efdf9a18d03604553d6113dbee7c8a062baaa)
#4 0x64ae1f02d3d7 in main (/BLAKE3/c/blake3+0x603d7) (BuildId: 437efdf9a18d03604553d6113dbee7c8a062baaa)
#5 0x730a6d243ccf  (/usr/lib/libc.so.6+0x25ccf) (BuildId: 6542915cee3354fbcf2b3ac5542201faec43b5c9)
#6 0x730a6d243d89 in __libc_start_main (/usr/lib/libc.so.6+0x25d89) (BuildId: 6542915cee3354fbcf2b3ac5542201faec43b5c9)
#7 0x64ae1f02deb4 in _start (/BLAKE3/c/blake3+0x60eb4) (BuildId: 437efdf9a18d03604553d6113dbee7c8a062baaa)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/BLAKE3/c/blake3+0x131fa4) (BuildId: 437efdf9a18d03604553d6113dbee7c8a062baaa) in blake3_hash16_avx512
==37697==ABORTING
Traceback (most recent call last):
File "/BLAKE3/c/./test.py", line 97, in
main()
File "/BLAKE3/c/./test.py", line 48, in main
test_hash = run_blake3([], input)
^^^^^^^^^^^^^^^^^^^^^
File "/BLAKE3/c/./test.py", line 14, in run_blake3
output = subprocess.run([path.join(HERE, "blake3")] + args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/BLAKE3/c/./blake3']' returned non-zero exit status 1.
make: *** [Makefile.testing:69: test] Error 1
I did not go through any of the .S files, but only one .c file: throwing up the diff in case you want to check/look thorugh, address it. This was first and only attempt at auditing the fix, so upstream needs to verify if the case of exactly 16 left should be in the other condition.
DIFF: (mind you, I don't know how to use web html for formatting is it three backticks for <pre> styles?)
diff --git a/c/blake3_avx512.c b/c/blake3_avx512.c
index d6b1ae9..97b19d1 100644
--- a/c/blake3_avx512.c
+++ b/c/blake3_avx512.c
@@ -1177,7 +1177,7 @@ void blake3_hash_many_avx512(const uint8_t *const *inputs, size_t num_inputs,
                              uint64_t counter, bool increment_counter,
                              uint8_t flags, uint8_t flags_start,
                              uint8_t flags_end, uint8_t *out) {
-  while (num_inputs >= 16) {
+  while (num_inputs > 16) {
     blake3_hash16_avx512(inputs, blocks, key, counter, increment_counter, flags,
                          flags_start, flags_end, out);
     if (increment_counter) {

This is caused by this GCC bug.

Cheers. I usually am on a distant cousin or superset to arch linux although ssp doesn't have to be on/default. Nevertheless, I am on an arch like thing momentarily for a while and it's just so buggy. (endeavour or so). But still, compiler bugs are compiler bugs. I have my fair share of experience of using too experimental versions so I prefer using stable versions now. This fix isn't out yet on this os though but good to know. I'll keep an eye on it. I think I was the first to adopt your blake3 as default into a package manager already just a fortnight after it was released on github. I know, not smart to take something entirely unvetted as a default security wise but blake2 was already held on great regard ,)


BeginSwapingSlots Typo

Swapping should have two p's in BeginSwapingSlots and BeginSwapingSlotsAsync The comments spell it right. I understand this would be a breaking change, but it's better to change early before the library gains broad usage.https://github.com/Azure/azure-sdk-for-net/issues/610

please reopen if this is an issue.


Resolve file paths before passing to native commands

Summary of the new feature/enhancement
On Windows, the ~ is only understood by PowerShell.  So if you try: notepad ~\foo.txt, it complains it can't find the file path.  On Windows and non-Windows PSDrives have no meaning outside of PowerShell, so you can't do something like pico temp:/temp.txt with expectation that you're creating a file in the temp drive.
Proposed technical implementation details (optional)
The problem is determining if the file path should be resolved or if it's a literal string being passed to the native command.  In most cases, it would seem that resolving the path would be fine.  Literal strings can have quotes around them making it explicit.

Resolving PSDrive-based paths to native filesystem paths on all platforms sounds like a nice enhancement.
Yes, on Unix quoting is already being used to distinguish between a (potential) filesystem path to be ~-resolved and globbed (unquoted) and a literal argument (quoted), a nod to POSIX-like shells.
However, the automatic globbing is probably not a good idea on Windows, where it is up to the target command to expand globs (wildcard expressions).
So that leaves us with the following - is that what you had in mind?

All platforms:

Expand unquoted (token-initial) ~ (as before, only if followed by a path separator or nothing at all)
Convert an unquoted path that starts with a PS-only drive spec to a native filesystem path

Unix-like platforms only:

Perform globbing (expansion to individual filename arguments based on wildcard patterns) on unquoted paths.


[Beacon for IBM.com] Publishing the Beacon package for availability to adopters and internal applications

User Story

As a [user role below]:
DDS Developer

I need to:
have a packaged version of Beacon for IBM.com

so that I can:
utilize this within various applications that need to run Beacon

Additional information

We can either go with publish to npm, or run as npx
We own the @ibmdotcom namespace in npm public
This will be used in the Web UI and Reporting Tools

Acceptance criteria

[x] Availability of Beacon for IBM.com package
[x] Documentation on how to use
[ ] Versioning/release planning documentation
[ ] Publish pipeline created in Jenkins

@kennylam with the PR just merged, would this be considered done or anything else needs to be adjusted?


Fixes issue #5529

This is supposed to fix [Issue 5529] (https://github.com/prometheus/prometheus/issues/5529) by checking that rules are not repeated in the same group,

This fix isn't right, this is a semantic issue rather than a syntactic one. This can only be caught at runtime.

Isn't the semantic expressed through syntax?
As far as I understand from the issue, the user is warning that Prometheus is behaving in an unsafe way because it allows the same record rule to be set multiple times and then takes a random value when querying. I thought it would be better to prevent this unpredictable behavior at the root.
But if you think this can be done in a better way, and if you would like to give me some more directions, I'm happy to help.

This is something that you can't determine the correctness of purely by inspection, you can only tell once you have the result of the query and then see the clashes.

Ok as far as I understand, the syntax is actually valid. It is allowed to specify the same metric multiple times with different labels.
The problem is that at the moment of the evaluation of the last rule cannot return a consistent result. Probably time series are not sorted and are stored in a map. I will make another attempt.


New version: Microsoft.Sysinternals.ProcessMonitor version 4.01

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
This PR resolves #159491

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/142854


As a player in the game, I want to be able to view my own song selection, while being unable to know others' song selections

Story
As a player in the game, I want to be able to listen to my own song selection, while being unable to listen to others' song selections.


config.position is not documented

I'm using flatpickr to select a range interval. It is positioned near a player which is centered at the bottom of my view.
I looked up for a way to open the calendar always on top of the input. Searching  up the positionCalendar() function in the src, I came across the config.position option, which values can be "above" or "below".
Can those options be added to the documentation ?
Your Environment

flatpickr version used: flatpickr v3.0.6
Browser name and version: Chrome 61.0.3163.91
OS and version:

Did you find the answer?

It also would be cool if you can positioning the calendar left/right from an input like so:
------------------------ <----------
| INPUT                |  |        |
------------------------  |        |
                          |        |
                          |--------|

Should I prepare a PR? It's really good to know.

This has been added to the documentation. Thank you for reporting!


feat: Refactor Twitter/Telegram actions

Adds a custom js script to directly call the telegram api and send/pin messages.
Fixes issues with the markdown formatting.
Combines 4 github workflows into one.

Closes #2
Closes #21
Closes #22

@KartikSoneji is this ready for review?

@KartikSoneji is this ready for review?

Yes, unless we are planning to shift to WhatsApp Communities.

Yes, unless we are planning to shift to WhatsApp Communities.

We haven't finalized anything like that but until then I guess we can merge it.

Yes, unless we are planning to shift to WhatsApp Communities.

We haven't finalized anything like that but until then I guess we can merge it.

OK, I still have to add the wait action and push back the starting times.

@KartikSoneji still working on it?

Hey @KartikSoneji I just remembered that there have been lots of cases (two in just the past two weeks) where the summary was delayed or there was some other issue, which made us have to run specific message workflows again. If we combine all message workflows in one workflow, we will lose the granular control that we currently enjoy. How do you think we should tackle this?

@HarshKapadia2 I think this should still allow the same flexibility.
https://github.com/OurTechCommunity/catchup/blob/aab8230a5d2f85fd50d851141bd4d4824bc049b7/.github/workflows/send-messages.yaml#L9-L23

@KartikSoneji this looks good to me, but please just give this a cursory glance and then merge it if everything seems okay to you.
This makes me think, is there is way to check such CI/CD workflow changes before merging? Is building a separate testing environment the answer?

Nudging @KartikSoneji 🥰

With upcoming changes to the Twitter API, what should we do?

Let's move to an issue.

@KartikSoneji any updates?

This looks good to me. I'm going to merge it. Thank you so much, @KartikSoneji!


Kev/65&63&66_warning_popup

Pull Request Details
What issue does this PR address

removed the popup warning for checkbutton
request password key first, then submit button, then resources created
Password entry will not be lost if the checkbox is not selected

Link to associated issue: #65

#63

#66

Checklist
Complete the check-list below to ensure your branch is ready for PR.
Flutter Style Guide: https://survivor.togaware.com/gnulinux/flutter-style.html

[x] Screenshots included in linked issue
[x] Changes adhere to the team style and coding guideline
[x] No confidential information
[x] No duplicated content
[x] No lint check errors related to your changes (make prep)
[x] Pre-exisiting lint errors noted:
[x] Tested on at least one device

[ ] Android Phone
[ ] Android Emulator
[x] Chrome
[ ] iOS
[ ] Linux
[x] MacOS
[ ] Windows

[x] Added 2 reviewers

Finalising
Once PR discussion is complete and 2 reviewers have approved:

[ ] Merge dev into the branch
[ ] Resolve any conflicts
[ ] Bump appropriate version and build number in pubspec.yaml
[ ] Add one line summary into CHANGELOG.md
[ ] Push to git repository and review
[ ] Merge PR into dev

The changes look good. Two minor comments:

The alter text looks a little too big

I guess we don't need to repeat the common text in the URLs

The changes look good. Two minor comments:

The alter text looks a little too big

I guess we don't need to repeat the common text in the URLs

On it

The changes look good. Two minor comments:

The alter text looks a little too big

I guess we don't need to repeat the common text in the URLs

On it

For the list of resources, have the base of the URI once in the heading:
Resources that will be created within https://pods.solidcommunity.au/joe-demo/keypod:
And then list
sharing
shared
data
...

I have also made some format and layout changes.

Hold the PR until we have the change suggested by @cdawei: show the URI base path just once.


Implemented new REST API hpFlows to add high priority flows to Azkaban.

These high priority flows when run in containeirzed dispatch mode, will only use ACTIVE version of the docker image of all the jobtypes required.
This ensures that these flows always run on a stable version rather than any version which is being ramped up and is potentially unstable.
There API can be only called by either Azkaban admins or the designated owners.
Currently the ability to add owners is a manual process. An ADMIN only API to add such owners will come in the future.
API to remove a flow or list of flows from the high priority flows will also come in future.
Added unit tests as and where needed.

At this PR creation time, the idea was to keep handful of owners for a jobtype partner who will add the HP flows. However, now the priorities have changed and we can work on implementation to manage ownership mapping.