Classification, moovieset id (Polish language) - Bug ??

Version: 3.0-SNAPSHOT
Build: 2018-08-02 00:21
OS: Windows 7 6.1
JDK: 1.8.0_171 amd64 Oracle Corporation
Hello
I am already trying to go to TMMv3 - it has more possibilities (although v2 I liked the look more - but maybe it's a matter of habit).
Until now, .nfo files in my movies have been created in TMMv2.

When importing movies (.nfo), it does not load the classification
in the movieset TMDB id - after pressing the movie tmdbid - nothing is found (in the .nfo file tmdbset is saved)
In TMM I have set the language of Polish and in this language we describe the problem. If I set it to English then it's OK.
Is it possible for TMMv3 to automatically load tmdbset into the movieset tab ???
Until now, after changing the path and loading .nfo, I had to use the search finger tmdbid separately for each collection - which is very troublesome.
Regards
P.S.
thank you for more colors in TMM3 - now it becomes more transparent for me.
You could still change something :)

tmm_logs.zip
Edit:

When searching for extra artwork in movieset - pops up - Problem detected. Both in Polish and English.
new log
does not search tv series information if TMM is switched to Polish

tmm_logs.zip

Alright when you are switching from a version to another there are things to have in mind.
First of all tMM v3 is still under heavy development, is in Alpha and soon will be Beta, so it's nowhere near a stable release. We do have a way to convert older databases from tMM v2.x to v3.x but i guess it still has some issues.
To be more safe as of now, you can either stick with the older version until v3 hits a stable release, or clean install a v3 instance, configure it from the begin, include your datasources and let it run. Most of your movies will need a further rescraping, since we changed the format of the ".nfo" to be more consistent with the new format of Kodi's ".nfo".
It is not advised to use old configuration files with the newest version.

well, the new NFO importer/parse should be able to read various formats.. this should work.
as ProIcons said - the databases are incompatible and you may start over again - but almost all information is stored inside the NFO files - EXCEPT extra movie set data like the plot (movie set name is in the NFO of every movie and artwork is on the file system).
when I've got some spare time I will have a look at the other issues..
btw: v3 is an alpha, but we have many users using v3 for months now and we have very few issues reported by them - so I would stay it is already in a good shape ;)

what exactly do you mean with NFO-classification? if you mean certification I can only say that the unit tests work here..
please provide a reproduceable example

I did not want to be misunderstood. I know TMMv3 is in alpha version and does not criticize errors. My remarks are also intended to help in developing the program so that I can use it in the future without any problems :)
In my opinion, in the movie set - name, information about the plot and id are stored in the .nfo file (i.e., probably all I need). But id does not show up on the movie set tab.
I am referring to the certification of eg R, PG13 etc. After indicating the path and loading the films, it does not show the certification (in the NFO file it is saved).
I have recorded movies on the NAS and I have quite a lot of them, so I'm trying to find a way to import everything into v3 (not to correct each movie again).

please provide a NFO file where the certification does not get read by tmm!

according to the tmdbid for the set:
a) yes, I've missed to parse it from the NFO - will be fixed with the build tomorrow
b) tmm v2 does not write this ID yet.. I may add this to v2 too (along with the set-plot) to make the transition to v3 easier

example NFO
Yoga Hosers [Yoga Hosers] (2016).zip

thanks for finding this bug.. this has been introduced by https://github.com/tinyMediaManager/tinyMediaManager/commit/b85a6cd2faf07fc93616c5e01ad4ec4ae4b98fcd and was not detectable by the unit test :(
should work in the build tomorrow

so after reading all your issues, I think everything should be fixed with the build tomorrow - please test and confirm the fixes!
thx

this should also be solved? cannot reproduce it here

I will try to trace it

okay, somehow there is nothing found in tmdb for this id - I'll suppress the error popup in the next build

a new build is done - please check if the error screen disappeared

OK it works. :)
thank you very much


flight-core: init at 2.14.9

Description of changes

Things done
Flight Core is an MIT licensed installer, launcher and mod-manager for Northstar for Linux. This derivation uses the official AppImage (currently at 2.14.8) as its source.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Updated PR to 2.14.9


More nullptr checking on visuals and base axis

🦟 Bug fix
Needed by https://github.com/ignitionrobotics/ign-gazebo/pull/1105/
Summary

A couple of these nullptr checks were needed by https://github.com/ignitionrobotics/ign-gazebo/pull/1105/. While at it, I also went over Ogre2Visual and OgreVisual, added more nullptr checks, and reduced the diff between them.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

Ticketed https://github.com/ignitionrobotics/ign-rendering/issues/488 for the ABI checker failure, it's not caused by this PR.


Showing no infomation

Connect to server (actually works)
UI on Android show "--" for all values.

Running Linux Ubuntu LTS-based with ZSH shell, and Android beta N.

Same here.

Same here.  but using marshmallow.
Audit log shows:
"Attempted to executed command: 'cat /proc/net/dev' but the requested session dosen't exist'"
"Attempted to executed command: 'df | grep /$' but the requested session dosen't exist'"
"Attempted to executed command: 'cat /proc/stat' but the requested session dosen't exist'"
"Attempted to executed command: 'cat /proc/meminfo' but the requested session dosen't exist'"
"Attempted to executed command: 'uptime' but the requested session dosen't exist'"
"Disconnected Session ####"
"Opened a session to myhost"
looks like something in the open session might be blocking things.

Same for me. I thought it may be an AWS Linux issue until I saw this thread. Used to work on same servers but suddenly stopped. Tried on lollipop and marshmallow but same thing. Connects fine but no metrics displayed.

Figured out my issue was due to MaxSessions option in sshd. /etc/ssh/sshd_config on the server I was connecting to. Updating to OpenSSH 5.1 allows me to change the default number of 10 to be higher. It solved the issue for me. Hope it helps out others with same problem.
If you tail -f the /var/log/secure file while you have the performance monitor app running and see sshd error no more sessions then that is the issue.

How many sessions is it creating?!
I get this issue with a limit of 30

It's not juice that's the issue in opening too many sessions for me. I was seeing lots of sessions open due to having quite a few move scripts using ssh and also too many users logging into the server. The issue I saw was that when juice performance monitor connected there were no sessions available for it.

Hi!
I have 2 servers that do not show any information in the display (only --). Both have one thing in common they do not use the standard ssh port 22.
The app connects to both but I get the above mentioned error message "sshd[####]: error: no more sessions".  No matter how high I increase MaxSessions in /etc/ssh/sshd_config I still get this error and only -- on the display.
I am wondering if somehow when it is requesting information it is using port 22 instead of the port it used to make the original connection. The two servers that I have that it does not work on use non-standard ports and not the same number either.
To others that have posted in this issue that are only seeing -- in the display, are your ssh connections on port 22 or another port?
Thanks in advance for looking into this!
Frederick

I had this problem on Android N talking to an Ubuntu 16.04 box. A workaround for me was to remove the connection in JuiceSSH and create it again.

Hi!
I have increased the MaxSessions and MaxStartups to where I no longer get the sshd error: no more sessions, however I still do not have any information displaying in the app.
With one of the servers that I am having this problem the ssh server is running on port other than 22. On another it is running on 22 but a firewall is forwarding requests from a different port to 22 on the server.
If I login to the server via ssh I can run the commands that Hegz listed above in his log file and get results, so that does not seem to be the issue.

It seems to be spawning continuous new sessions, all while no information is coming up. This suggests some kind of loop.  The more I increase the MaxSessions, the longer it takes to get the "no more sessions" error while I still see no information on my app, but eventually that error arrives.

Same here.
I'm not using any firewall or fail2ban, it's on the default port as well.
JuiceSSH connects to it fine and i can run htop.

I think it has more to do with some security that has been added in recent versions of linux distros. It works for me on debian jessie, but not on debian stretch.

Same problem here using CentOS 7.5 on the Kernel 3.10.0-862.6.3.el7.x86_64
When I connect the app to my Server the /var/log/secure gets spammed with "sshd[1974]: error: no more sessions"

Doesn't work on Arch Linux with latest kernel

ubuntu 18.04.1 LTS same problem...

I have same problem

Same problem here, please help


Expression has changed after it was checked

Hi !
i tried to add the module to my component and it works successfully, but i still have one bug and i still don't know the source of this one :
DateTimePickerComponent.ngfactory.js:263 ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'undefined'. Current value: '[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]'.
at viewDebugError (vendor.bundle.js:93186)
at expressionChangedAfterItHasBeenCheckedError (vendor.bundle.js:93164)
at checkBindingNoChanges (vendor.bundle.js:93328)
at checkNoChangesNodeInline (vendor.bundle.js:97200)
at checkNoChangesNode (vendor.bundle.js:97174)
at debugCheckNoChangesNode (vendor.bundle.js:97954)
at debugCheckDirectivesFn (vendor.bundle.js:97856)
at Object.View_DateTimePickerComponent_5._co [as updateDirectives] (DateTimePickerComponent.ngfactory.js:306)
at Object.debugUpdateDirectives [as updateDirectives] (vendor.bundle.js:97838)
at checkNoChangesView (vendor.bundle.js:96994)
thanks !!

You need to set [(ngModel)]

i already set it by i still have the same problem

@AmineBena17
Then you may use a angular-cli to create a sample app to demonstrate the issue and publish to your git. In this case, I could download the git and see the problem

@AmineBena17
Are u sure you used it like this way? you have to bind a variable to [(ngModel)], otherwise you would get an error like you described before.
<owl-date-time [(ngModel)]="moment" ></owl-date-time>

@DanielYKPan  yes i used it in this way and i still have the same problem

Could you share you code?

same issue
this is my code
javascript <owl-date-time name="date" [(ngModel)]="date" [showHeader]="true" [inline]="true" [inputId]="'input10'"></owl-date-time>
error:
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'undefined'. Current value...

What angular version are u using? What environment r u in?

angular :4.4.1
production: true

@BlankHrt
Could you build a simple angular-cli project to demonstrate the issue and publish to you git. In this case, I could download the project and figure out what is going on

ok,wait a minute

@DanielYKPan this is my repo
https://github.com/BlankHrt/activity.git

where do use the component?

src/app/hot/hot-add.component.html

@BlankHrt
No way i could debug it from you original git.
Could you just create a simple new angular-cli, and only use the picker component to demonstrate the issue

@BlankHrt
I tried my best.
Try the 5.0.0 beta 6 version to see if the issue solved.
I would close this issue at this moment.

@DanielYKPan
I  created a new repo , it's Ok
https://github.com/BlankHrt/date-picker
i don't know why it's not working with

i update to 5.0.0-beta.6.
well done!
thank you!

it works now !
thank you


Implement img2text widget

Implement Text-to-Image widget
https://github.com/huggingface/transformers/pull/18821#issuecomment-1234524309
input (identical to ImageClassificationWidget):
const requestBody = { file }; // img file

output (identical to TextGenerationWidget):
Array<{ generated_text: string; }>

example:
[
  {
    "generated_text": "Some text"
  }
]

Note:
In transformers implementation, I see that the pipeline is called image-to-text-generation, while in the hub, we already defined it as image-to-text without the generation part. Please let me know if it is an issue: @Narsil @osanseviero
todos:

[ ] test when api-inference is up @Narsil
[ ] document widget input sample

Related to

In transformers implementation, I see that the pipeline is called image-to-text-generation, while in the hub, we already defined it as image-to-text without the generation part. Please let me know if it is an issue:

This should take care of it https://github.com/huggingface/transformers/pull/18864

LGTM. I don't think we chose List[{"generated_text": str}] for the output  but {"generated_text": str} only (I think).
I think being aligned with what we already have is better.
@OlivierDehaene In general, unfortunately since the pipelines were created at different times by different people originally, the exact output types are not super normalized, especially on the List, List of List stuff. This is something I would like to change on v5 (whenever we decide to go for it and I don't think we have plans) so that the pipeline code could be more regular.
For text-generation it can really generate multiple texts (it's controlled by num_return_sequences) and I think enabling the list here also enables more uses cases (even for captioning you might be interested to generate several at once and choose the best).
However, I don't think we should by highly strict in v4 since every pipeline is ever so slightly different than it's neighbor.

Closing as this now lives in https://github.com/huggingface/hub-docs.


Need an app packaging solution

Hi,
This project looks really good!
I would love to give it a try but I can't seem to find any information related to releasing a DeskGap project?
Any hints?
Thank you. :)

I am working on this.
Now I have a simple script that packages the Pym app but it's nonconfigurable. Will release it when it's ready.

Would also love/appreciate this tooling. Thanks for the awesome work!

See pkg

What I see is that the problem falls into 2 parts:

"Build" - e.g. on MacOS we want to produce a MyApp.app package (with Contents/Resources etc)
"Distribute" - e.g. for Mac Users we'd want to be able to produce a friendly DMG

For the 2nd part, I have been using DMG Canvas  - it's mainly a manual process, but allows the owner of the app to precisely design how the installer should look. It also takes care of code signing, and so on.
Once designed, the DMG canvas step can also be integrated in the build.
See here for details.
NB I've only included MacOS specific ideas at this point. For simplicity, I'd recommend dealing with one platform at a time, otherwise things get complex quite quickly.

Under Windows, 7zip and SFX could be used

+1 to this. Will really be useful.

@e-id @m4heshd @remorses Could you write some example code and/or configuration to build for Windows?
I want to understand how to create .appx.
https://github.com/ken0x0a/deskgap-packaging-scripts
Mac version is working okay (still need work though).
Could you help me?
There is no appxmanifest.xml in pym-packaging-scripts
Plz share code! Thank you!

Providing at least one example of how to use pkg to build a deskgap application will  be very helpful.
All my attemtps ends with an "cannot find module deksgap" message when I run the binary

What works for me:
a) download the binaries for your platform(s) here:
https://github.com/patr0nus/DeskGap#api-demos
b) put your own markup/code/style in app.html and app.css
c) zip it and distribute.
If you are worried about people being able to look into your code, you cannot really prevent that (which also applies to Electron).

What works for me:
a) download the binaries for your platform(s) here:
https://github.com/patr0nus/DeskGap#api-demos
b) put your own markup/code/style in app.html and app.css
c) zip it and distribute.
If you are worried about people being able to look into your code, you cannot really prevent that (which also applies to Electron).

I am more worried about people being confused by a zip file that expands into 3 files vs a single executable rather than my code being exposed

With what I described above, you'll have one executable and one folder, which should be communicable.
But yes, it's more than one file.


fix: [FX-2626] set up danger env variable for self-hosted runners

FX-2626
Description
Self-hosted runners may override GITHUB_URL variable, so requests may be performed incorectly.
This code explains how danger defined API URL: https://github.com/danger/danger-js/blob/main/source/platforms/github/GitHubAPI.ts#LL452C96-L452C118
How to test

Use branch version in an existing GH Workflow with defined self-hosted runners

Development checks

[x] Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

@toptal-anvil ping reviewers


Expose BCW options for caching

Only recompile if sass or scss files change.

The RegExp should be /\.(sass|scss)$/i, but otherwise LGTM.

I'm curious why unrelated files are in the actively developed style tree. I suspect my
Recent fixes to cli and bcw will mitigate this need.
I'm fine if a user can opt into this, but don't think it should be enabled by default. Since other file types can be encoded into sass output.
More perf work is planned, and will continue to make improvement here without this fix being enabled by default for everyone

I agree. @knownasilya the way to provide this feature is to expose the cacheInclude option. Then users can specify that RegExp if they want.

Probably worth exposing the exclude option as well.

@aexmachina Made the changes to this PR to just expose the options.

Nice one, thanks!

Published v1.5.0


Implement KMAC

Provides support for the SHA3 and XOF family

This is not tested by CAVP so we will close and potentially reopen at a future time.


docs: typo on README.md

Fixed some typos about Tenant annotations and a little error on the chart doc
Related to #108

Let's ignore the failed checks, we're going to fix this in a while once v0.1.0 is release.


Ramen must gather script

Bash script to gather Ramen related cluster data.  The script outputs a file with a name that looks like: ramen_must_gather.${HOSTNAME}.2021-10-06_12.50.23.tar.gz.  See the attached file for an example
ramen_must_gather.eyewall3.2021-10-06_12.50.23.tar.gz
.

Closing this as stale (routine cleanup) (also currently kubectl-gather is in use)


Fix broken link - let GitHub.com make the link :)

For AKS Operations, because the file is named README.md a link to readme.md will fail on Linux. Similar to an index.html, we can just leave it out and GitHub makes the proper link :)

@JasonBeck2  you can try out the changes here https://github.com/Azure/FTALive-Sessions/tree/fix/aks-overview-links/content/cloud-native


ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/myfolder/venv/lib/python3.8/site-packages/setuptools-67.8.0.dist-info/METADATA'

I am consistently hitting this error and I do not understand why. I have a workaround but I would like to find a solution.
It happens with other packages sometimes too (e.g. boto3) but for this particular case is setuptools.
I am running a third party pipeline, that creates a venv (python 3.8) then first updates pip, setup tools and wheel:
Successfully installed pip-23.2.1 setuptools-67.8.0 wheel-0.41.1

and then runs a pip command with my list of requirements. Where I get this error:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/myfolder/venv/lib/python3.8/site-packages/setuptools-67.8.0.dist-info/METADATA'

If I used --force-reinstall the issue disappears, but this is not a thing that I can use when running pip within a thirdparty pipeline.

I've searched for similar issues already, and my issue has not been reported yet.
There is a similar one (that was fixed to be a warning not an error) but not exactly the same https://github.com/pypa/pip/pull/8926

I tried different versions of pip and setuptools but the error persists.

I missed posted here this issue it was meant for pip https://github.com/pypa/pip/issues/12230
Apologies.


request: Discord Polls

Is there an existing issue or pull request for this?

[X] I have searched the existing issues and pull requests

Feature description
Be able to create a Discord poll message:
Poll Running:
With multiple votes allowed: https://i.imgur.com/xIa45sd.png
With single vote allowed: https://i.imgur.com/ArqC1Gv.png
Poll End:
Single vote: https://i.imgur.com/2ESlcs3.png
Multiple votes: https://i.imgur.com/Cp5tWSF.png
No votes: https://i.imgur.com/XyFLx9O.png
Desired solution
Have something like

<discord-poll>

This would have something like: question, expires, votes

<discord-poll-answer> (this would be inside <discord-poll>)

This would have something like: title (or answer), votes, emoji

Unsure how to handle the poll end / answer winner(s)

Alternatives considered
N/A
Additional context
No response

I'm open to PRs for this. Quite a bit to add so it would be nice if someone could at least make a start at it.

Maybe I will give this a try one day.

I started doing this, I just don't know when it will be ready, so I'll send a pull request and leave it as drafted to make updates.

I started doing this, I just don't know when it will be ready, so I'll send a pull request and leave it as drafted to make updates.

Added in #492, released in v4.0.0-alpha.36


Fix the closer channel in pkg/sshd/server.go

Summary
There is a chan interface{} in pkg/sshd/server.go that acts as a sentinel channel. It is, however, checked in the event loop that accepts incoming socket connections like so:
if len(closer) > 0 {
    <-closer
    // ...
   return nil
}

Above the for, this comment exists: // FIXME: Since Accept blocks, closer may not be checked often enough.. If the closer channel is still needed, that FIXME comment should be addressed.

ping @arschles as to if this is still scheduled for the v2.0-rc1 milestone

nope, moving into v2


FindFirstDescendant finds it target once, then fails on second run.

Hi,
I am working on a simple winforms application using the designer with a button which I can click and then it fills out a form for me.
I made a class with a method FillFormGeneric() which works fine, then I made a second method, FillFormExtra() in this class, which only works once, then it gets a nullreference exception on
var specificsTab = editDialogue.FindFirstDescendant(cf => cf.ByName("Specifics"));
the second time i click the button.
The plan was to have 2 buttons, one which launches just the first method, and a 2nd which executes both of them.
This is how I have written the class which I wish to give more methods, is there something wrong with this setup since it fails on the line with FindFirstDescendant() on my 2nd method?
`public static class FormInformation
{
    public static void FillFormGeneric()
    {
        using (var app = Application.Attach("program.exe"))
        {
            using (var automation = new UIA3Automation())
            {
                var mainWindow = app.GetMainWindow(automation);
                var editDialogue = mainWindow.FindFirstChild(cf => cf.ByControlType(ControlType.Window));
                var generalPane = editDialogue.FindFirstDescendant(cf => cf.ByName("General").And(cf.ByControlType(ControlType.Pane)));
                var name = generalPane.FindFirstDescendant(cf => cf.ByAutomationId("Name")).AsTextBox();
                string formName = UIA.Common.Name;
                name.Enter(formName);
                //Do more things...
            }
        }
    }

    public static void FillFormExtra()
    {
        using (var app = Application.Attach("program.exe"))
        {
            using (var automation = new UIA3Automation())
            {
                var mainWindow = app.GetMainWindow(automation);
                var editDialogue = mainWindow.FindFirstChild(cf => cf.ByControlType(ControlType.Window));
                var specificsTab = editDialogue.FindFirstDescendant(cf => cf.ByName("Specifics")); //Works once, then System.NullReferenceException
                specificsTab.Click();
                //Do more things...
            }
        }
    }
}`

Keep in mind that the find methods return null if the element is not available at that exact moment.
Try putting a Retry.WhileNull around it.

Ok, ill try that.
Thanks for the reply.

I can't find a Retry.WhileNull in FlaUI.Core.Tools.
I see only Retry.While and Retry.WhileException
Do I have an outdated version? I've gotten FlaUI through the nuget manager in visual studio.

You should use the 2.0.0 pre-release version.

Ah, I will do that then and try again on monday :)

Installed the 2.0.0 version and managed to make it work with retry while null.
Thanks for the help!


Create a dummy oop adapter implementation for TDD of OOP adapter work.

@douglas-reid @geeknoid @mandarjog FYI

Implement a no-op backend that implement a check/report/quota template IBP
Hook it into the Mixer test scripts.


Upgrade Android Studio to 3.2.0 (and other version upgrades)

It's March 7, 2018 and its about time to upgrade stuff here to the latest versions;

Special thanks to @1and1get2 for starting this process in https://github.com/vestrel00/android-dagger-butterknife-mvp/pull/69

Android Studio: 2.3.3 -> 3.2.0 (canary 5)
Gradle: 3.4.1 -> 4.6 (Android Studio 3.x+ requires Gradle version 4.1 or higher).
Kotlin: 1.2.0 -> 1.2.21 (The newest version is 1.2.30. However, Android Studio 3.2.0 includes Kotlin plugin v1.2.21.)
Support Lib: 26.0.1 -> 27.1.0
Dagger 2: 2.14 -> 2.14.1
Butterknife: 8.8.0 -> 8.8.1
buildToolsVersion: 26.0.1 -> 27.0.3
compileSdkVersion: 26 -> 27
targetSdkVersion: 26 -> 27

The above updates will be applied to all branches: master, master-support, master-kotlin, master-support-kotlin.
Update
Here are the PRs that apply the above upgrades to the main branches;

master: #71
master-kotlin: #72
master-support: #73
master-support-kotlin: #74

As of merging the above PRs, Travis builds fails due to Android-27 licensing issues. A temporary workaround fixes this in https://github.com/vestrel00/android-dagger-butterknife-mvp/commit/303c65c93080c0822c8474a7a6c0045ce01e22ae.

All branches have been upgraded.


Use shared SPDX action

This iuses the shared SPDX action in the new Orga. Should not change anyhting functionality wise.
I am however not sure if deleting the action itself has neagative side effects in case it is used elsewhere. If other repos refer to a tag, no issue, if they refer to no reference or master it needs further PRs in the other Repos. Any idea @erikbosch ?

Don't you need to change https://github.com/eclipse/kuksa.val/blob/master/.github/workflows/check_license.yaml so that it uses the action from the new location (i.e. https://github.com/eclipse-kuksa/kuksa-actions)
Yes, it is true that other workflows in other repos might need to be changed (like https://github.com/eclipse/kuksa.val.feeders/blob/main/.github/workflows/check_license.yaml) but that is wanted. Using latest master/main is always risky :-)

Don't you need to change https://github.com/eclipse/kuksa.val/blob/master/.github/workflows/check_license.yaml so that it uses the action from the new location (i.e. https://github.com/eclipse-kuksa/kuksa-actions)

I need, I did, I didn't push, hopefully fixed now


New package: SAMtools v0.0.1

Registering package: SAMtools
Repository: https://github.com/aramirezreyes/SAMtools.jl
Created by: @aramirezreyes
Version: v0.0.1
Commit: 1ab4a07bbe9127356d6b9410ca0a6f316f459f2b
Reviewed by: @aramirezreyes
Reference: https://github.com/aramirezreyes/SAMtools.jl/commit/1ab4a07bbe9127356d6b9410ca0a6f316f459f2b#commitcomment-39887966

Why did you rename this? I will revert this merge because we can't have two folders called SAMTools and SAMtools.

This should probably also have failed CI IMO? cc @DilumAluthge
We don't really have any written out guidelines about multiple packages with the same name, or packages with cases shifted like this. Would be good to spell out that.

Why did you rename this? I will revert this merge because we can't have two folders called SAMTools and SAMtools.

There are really two packages I think:
https://github.com/natgeo-wong/SAMTools.jl This was and is now again in registry
https://github.com/aramirezreyes/SAMtools.jl

Ah, thought it was by the same author.

Isn't that even worse? It is not a rename but a package got overwritten. Checking the uuid would have shown that.

It didn't get overwritten, it was fully functional on file systems that can differentiate by letter cases.

These are two different packages, both in early stage.
I never thought it could be a problem for some systems that cannot
differentiate letter cases. If that is the case, please feel free to
revert.
I looked for the guidelines and didn't see something related to whether
those names are different or equal. Although I agree they can cause
confusion.
El mié., 17 jun 2020 2:00 a. m., Fredrik Ekre<EMAIL_ADDRESS>escribió:

It didn't get overwritten, it was fully functional on file systems that
can differentiate by letter cases.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JuliaRegistries/General/pull/16341#issuecomment-645249077,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVLG6JMLXMEM5VR2EPKZ5LRXCAZZANCNFSM4N5HUKGQ
.

Yea it's not your fault. Hopefully the packages do similar things so maybe it makes sense to join efforts.

I renamed my package, should I create a new UUID before trying to register with the new name?


[soundcloud] Enriched search results

Description of your pull request and other information

Moved _extract_info_dict, _IMAGE_REPL_RE, _ARTWORK_MAP from SoundCloudIE to SoundcloudBaseIE so that they could be used in any subextractor. Modified _extract_info_dict to take an 'extract_flat' argument. When false, it will still extract info from a SoundCloud track, but it will not make any network requests. Used _extract_info_dict(extract_flat=False) to then fatten up search results of SoundcloudSearchIE. I also fixed SoundcloudSearchIE's test case by adding the 'id' field.
Preview:
{
  "id": "hello",
  "title": "hello",
  "_type": "playlist",
  "entries": [
    {
      "id": "230155983",
      "uploader": "Grace Davies",
      "uploader_id": "44817748",
      "uploader_url": "https://soundcloud.com/gracedaviesofficial",
      "timestamp":<PHONE_NUMBER>,
      "title": "Hello - Adele",
      "description": "Vocals/Piano/Recording/Production by me, in my bedroom!\n\nFollow me on:\nWebsite: www.gracedaviesofficial.com\nFacebook: gracedaviesofficial\nYouTube: gracedaviesoffical\nInstagram: gracedaviesofficial\nSnapchat: gracedofficial\nTwitter: gracedavies",
      "thumbnails": [
        {
          "id": "mini",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-mini.jpg",
          "width": 16,
          "height": 16
        },
        {
          "id": "tiny",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-tiny.jpg",
          "width": 20,
          "height": 20
        },
        {
          "id": "small",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-small.jpg",
          "width": 32,
          "height": 32
        },
        {
          "id": "badge",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-badge.jpg",
          "width": 47,
          "height": 47
        },
        {
          "id": "t67x67",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-t67x67.jpg",
          "width": 67,
          "height": 67
        },
        {
          "id": "large",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-large.jpg",
          "width": 100,
          "height": 100
        },
        {
          "id": "t300x300",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-t300x300.jpg",
          "width": 300,
          "height": 300
        },
        {
          "id": "crop",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-crop.jpg",
          "width": 400,
          "height": 400
        },
        {
          "id": "t500x500",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-t500x500.jpg",
          "width": 500,
          "height": 500
        },
        {
          "id": "original",
          "url": "https://i1.sndcdn.com/artworks-000134001026-tugyco-original.jpg",
          "preference": 10
        }
      ],
      "duration": 300.88,
      "webpage_url": "https://soundcloud.com/gracedaviesofficial/hello-adele",
      "license": "all-rights-reserved",
      "view_count": 67911929,
      "like_count": 1074562,
      "comment_count": 8909,
      "repost_count": 53298,
      "genre": "hello",
      "formats": [],
      "ie_key": "Soundcloud",
      "_type": "url",
      "url": "https://api.soundcloud.com/tracks/230155983",
      "__x_forwarded_for_ip": null
    }
  ],
  "webpage_url": "scsearch1:hello",
  "original_url": "scsearch1:hello",
  "webpage_url_basename": "hello",
  "webpage_url_domain": null,
  "extractor": "soundcloud:search",
  "extractor_key": "SoundcloudSearch",
  "requested_entries": [
    1
  ],
  "playlist_count": 1,
  "__files_to_move": {},
  "epoch":<PHONE_NUMBER>,
  "_version": {
    "version": "2022.09.01",
    "current_git_head": "b2d5beeaa",
    "release_git_head": "5d7c7d656",
    "repository": "yt-dlp/yt-dlp"
  }
}

Template

Before submitting a pull request make sure you have:

[X] At least skimmed through contributing guidelines including yt-dlp coding conventions
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[X] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

When flat, formats must return None, not []
You got the param name reversed? Currently the extraction is flat when extract_flat=False

Fixed it!
Whoops, mixed it up in my head.

By the way, sorry for taking so long to sit down for a one-minute patch. Life always has to get in the way...

Glad I could be of use! More pulls should hopefully be on the way!

@pukkandan I think we need a follow up on this; yt-dlp does not like formats being None:
$ yt-dlp -J --flat-playlist -v scsearch:love
[debug] Command-line config: ['-J', '--flat-playlist', '-v', 'scsearch:love']
[debug] User config "/home/kwilliams/.config/yt-dlp/config": ['--netrc', '--sub-lang', 'en,en-US,eng', '--format', '(bestvideo+bestaudio/best)[format_id*=en]/(bestvideo+bestaudio/best)']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (pip) API
[debug] Python 3.10.0 (CPython 64bit) - Linux-5.15.0-48-generic-x86_64-with-glibc2.35 (glibc 2.35)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
WARNING: [soundcloud:search] parsing .netrc: No authenticators for soundcloud (None, line None)
[debug] [soundcloud:search] Extracting URL: scsearch:love
[download] Downloading playlist: love
[soundcloud:search] love: Downloading page 1
[soundcloud:search] Playlist love: Downloading 1 videos of 1
[debug] The information of all playlist entries will be held in memory
[download] Downloading video 1 of 1
ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
  File "/home/kwilliams/.cache/pypoetry/virtualenvs/playah-6OEbIXqo-py3.10/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1477, in wrapper
    return func(self, *args, **kwargs)
  File "/home/kwilliams/.cache/pypoetry/virtualenvs/playah-6OEbIXqo-py3.10/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1876, in __process_iterable_entry
    return self.process_ie_result(
  File "/home/kwilliams/.cache/pypoetry/virtualenvs/playah-6OEbIXqo-py3.10/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1623, in process_ie_result
    info_copy, _ = self.pre_process(info_copy)
  File "/home/kwilliams/.cache/pypoetry/virtualenvs/playah-6OEbIXqo-py3.10/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3438, in pre_process
    info = self.run_all_pps(key, info)
  File "/home/kwilliams/.cache/pypoetry/virtualenvs/playah-6OEbIXqo-py3.10/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3429, in run_all_pps
    self._forceprint(key, info)
  File "/home/kwilliams/.cache/pypoetry/virtualenvs/playah-6OEbIXqo-py3.10/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 2818, in _forceprint
    info_copy['formats_table'] = self.render_formats_table(info_dict)
  File "/home/kwilliams/.cache/pypoetry/virtualenvs/playah-6OEbIXqo-py3.10/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3605, in render_formats_table
    table = [
TypeError: 'NoneType' object is not iterable

[download] Finished downloading playlist: love
{"id": "love", "title": "love", "_type": "playlist", "entries": [null], "webpage_url": "scsearch:love", "original_url": "scsearch:love", "webpage_url_basename": "love", "webpage_url_domain": null, "extractor": "soundcloud:search", "extractor_key": "SoundcloudSearch", "requested_entries": [1], "playlist_count": 1, "__files_to_move": {}, "epoch":<PHONE_NUMBER>, "_version": {"version": "2022.10.04", "current_git_head": null, "release_git_head": "4e0511f", "repository": "yt-dlp/yt-dlp"}}

What I don't understand is why we are even in render_formats_table even though the argument isn't set.


Add a method to retrieve an entity by upstream ID with a hint

Summary
When processing a webhook payload, we typically only have the
information from the webhook payload available which is to say
information about the upstream entity. We even don't know exactly which
provider and which project are we handling.
We used to sort of wing it in the github webhook handler and were just
searching by upstream ID as if it was globally unique, but that no
longer works with the introduction of multiple providers where several
entities might have the same upstream ID, just in different providers.
To handle that, we add a new method to the properties service that
searches by upstream ID with a hint. At the moment, the interface
supports providerID, projectID and provider implements as a hint.
The immediate use is that the github provider will search by the
upstream ID with the hint set to ProviderTypeGithub as that's
implemented both by the app and OAuth github providers.
If any attribute of the hint is set, then the entity's attribute must
match the hint, otherwise the entity is filtered out. Additionally, once
the entity is found, the hint might contain a property with a value that
must match. The use-case there would be deleting entities where we want
to ensure that we are deleting an entity with an appropriate upstream
hook ID.
If no entities match the hints or if multiple entities match a hint, an
error is returned.
Related: #4327
Change Type

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
as part of a larger branch + unit tests
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 52.962% (+0.1%) from 52.857%
when pulling f70e4db7fcd6c0225c0e0733b6f42217f21405cb on jhrozek:entity_by_upstream_with_hint
into 6f89a1de73ec7e42b1730951b645bbfb6c1387a0 on stacklok:main.


Error when running train.py in tutorial-2-image-classifier

WARNING:tensorflow:From train.py:43: calling argmax (from tensorflow.python.ops.math_ops) with dimension is deprecated and will be removed in a future version.
Instructions for updating:
Use the axis argument instead
WARNING:tensorflow:From train.py:156: calling argmax (from tensorflow.python.ops.math_ops) with dimension is deprecated and will be removed in a future version.
Instructions for updating:
Use the axis argument instead
Going to read training images
Now going to read dogs files (Index: 0)
Now going to read cats files (Index: 1)
Complete reading input data. Will Now print a snippet of it
Number of files in Training-set:                800
Number of files in Validation-set:      200
Training Epoch 1 --- Training Accuracy:  50.0%, Validation Accuracy:  43.8%,  Validation Loss: 0.703
Traceback (most recent call last):
File "C:\Users\USER\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1327, in _do_call
return fn(*args)
File "C:\Users\USER\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1306, in _run_fn
status, run_metadata)
File "C:\Users\USER\AppData\Local\Programs\Python\Python36\lib\contextlib.py", line 89, in exit
next(self.gen)
File "C:\Users\USER\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory:
[[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, Variable, Variable/Adam, Variable/Adam_1, Variable_1, Variable_1/Adam, Variable_1/Adam_1, Variable_2, Variable_2/Adam, Variable_2/Adam_1, Variable_3, Variable_3/Adam, Variable_3/Adam_1, Variable_4, Variable_4/Adam, Variable_4/Adam_1, Variable_5, Variable_5/Adam, Variable_5/Adam_1, Variable_6, Variable_6/Adam, Variable_6/Adam_1, Variable_7, Variable_7/Adam, Variable_7/Adam_1, Variable_8, Variable_8/Adam, Variable_8/Adam_1, Variable_9, Variable_9/Adam, Variable_9/Adam_1, beta1_power, beta2_power)]]

On Windows, you will have to specify the complete path in your saver. So, if your train.py script is in C:\Users\username\Documents\code then you change your saver in train.py to saver.save(session, "C:\Users\username\Documents\code\dogs-cats-model")

Thank you, it worked


ISpindel Data Import Enhancement

Wondering if the server can handle data from an iSpindel. Would be nice to provide graphs for the data for those who have built one. I believe it has HTTP POST supported and also MQTT. I’m more of a hardware person but with some guidance could maybe hack my way through the code. Any ideas?

Just thought I’d let you know that I’ve been hacking away at this for a few hours over the weekend. Almost complete, just working through the graphing on the server landing page when the iSpindel is active. For some reason, it’s not graphing. Once I work my way through it I’ll submit a pull request if you’ve got time to review it - don’t think it bloats the server too much, but I’ll let you make that call. Thanks for all you have done so far!

Just got it working after debug. Happy to submit a Pull request once I clean up files. New to Git, so hopefully can do that without issue!

@BuckoWA https://git-scm.com/docs/gittutorial is a great resource for learning various details of git.
If you have questions PM me on FB at Ender Wiggin 🤣

Merged w/ #121


FlightTasks minor coverity fixes

Coverity scan is running again.

@dagar Where can I see these static analysis results?

@dagar Where can I see these static analysis results?

https://scan.coverity.com/projects/px4-firmware?tab=overview
Click "View Defects" to see the full list.


PostgreSQL exceptions for serialization_failure and deadlock_detected

This PR adds exception classes for PostgreSQL errors
40001 (serialization_failure)
40P01 (deadlock_detected)
Handling these error codes is useful when implementing optimistic locking where transactions are expected to fail sometimes with certain error codes and such transactions should be retried (semi-)automatically.
Overall the exception hierarchy of sqlpp needs an overhaul to allow a common implementation that would cover all connectors at once. This PR is more or less a temporary band-aid to make optimistic locking easier to implement with PostgreSQL.

Thanks, looks reasonable to me.


feat(guild)!: Converting delete_message_days in ban method to seconds

About
This pull request is about changing the ban method (both as helper and _http method) from delete_message_days to delete_message_seconds, as mentioned in a recent docs change from Discord itself.
Do notice that this is a breaking change to the ban method.
Checklist

[x] The pre-commit code linter has been run over all edited files to ensure the code is linted.
[x] I've ensured the change(s) work on 3.8.6 and higher.

I've made this pull request: (check all that apply)

[x] For the documentation
[x] To add a new feature
[ ] As a general enhancement
[ ] As a refactor of the library/the library's code
[ ] To fix an existing bug
[ ] To resolve #ISSUENUMBER

This is:

[x] A breaking change https://github.com/discord/discord-api-docs/pull/5219

We can proceed with merging as this is a discord change, we don't need to hold this breaking change back

We can proceed with merging as this is a discord change, we don't need to hold this breaking change back

So you mean removing the breaking change line?

We can proceed with merging as this is a discord change, we don't need to hold this breaking change back

So you mean removing the breaking change line?

No it is still breaking, but usually changes would have to wait until v4.4. An exception to this are changes at the discord api which force us to adapt

We can proceed with merging as this is a discord change, we don't need to hold this breaking change back

So you mean removing the breaking change line?

No it is still breaking, but usually changes would have to wait until v4.4. An exception to this are changes at the discord api which force us to adapt

Ah, I see. Got that.


[zh-cn]Update cheatsheet.md

#34971
It was caused by my misoperation in rebase, maybe I should establish a PR to solve this problem,Thanks @tengqm @Sea-n

/approve


<EMAIL_ADDRESS>getting an  error on installation into Angular

Describe the bug
i Using package manager: npm
√ Found compatible package version<EMAIL_ADDRESS>√ Package information loaded.
The package<EMAIL_ADDRESS>will be installed and executed.
Would you like to proceed? Yes
√ Package successfully installed.
"SchematicsClarityAdd" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID.
UPDATE package.json (1156 bytes)
UPDATE angular.json (3205 bytes)
UPDATE src/app/app.module.ts (488 bytes)
√ Packages installed successfully.
A clear and concise description of what the bug is, and the conditions when it occurs.
My system is Windows10 and I'm using C:\Windows\system32\cmd.exe and an administrator.
I enter "ng add @clr/angular" and get the error above:
(again)
"SchematicsClarityAdd" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID.
The rest of the package seems to install successfully but when I try to  use
 or  in Visual Studio Code (August 2021 version 1.6.0) tells me that the datagrid and column are not known elements. I tried to add  CUSTOM_ELEMENTS_SCHEMA to my schema in @ngModule
[schemas: [CUSTOM_ELEMENTS_SCHEMA],] but that didn't change anything
How to reproduce
Very Simple::
log into a Windows10 machine that has Visual Studio Code installed, open a terminal in Administrator Mode, Start a simple Angular project then at the command line type:: ng add @clr/angular and hit [Enter] You will see this::
i Using package manager: npm
√ Found compatible package version<EMAIL_ADDRESS>√ Package information loaded.
The package<EMAIL_ADDRESS>will be installed and executed.
Would you like to proceed? Yes
√ Package successfully installed.
"SchematicsClarityAdd" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID.
UPDATE package.json (1156 bytes)
UPDATE angular.json (3205 bytes)
UPDATE src/app/app.module.ts (488 bytes)
√ Packages installed successfully.
Then, in Visual Studio Code,  try to add a  with a  to your xxx.component.html template and your clr-components will be lit up in RED
Please provide a link to a reproduction scenario using one of the Clarity Stackblitz templates. Reports without a clear reproduction may not be prioritized until one is provided.
I don't know what you mean by a 'reproduction' but I looked at your Stackblitz templates and all I saw were light and dark themes and I check them against my code in VS Code and it seems to use "Clarity Datk Theme V5".  If you need something other than that, please let me know....
Steps to reproduce the behavior:
See above under ## How to reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
I'm led to expect that the clr-datagrid and all it's parts will be understood by Angular12.0.3
Versions
Clarity project:

[ ] Clarity Angular/UI

Clarity version:

[ ] v3.x
[ ] v4.x
[ ] v5.x

Framework:

[ ] Angular

Framework version:
ie: Angular 12.0.3
Device:
-Windows 10 computer
-Browser is not used in this exercise
-<EMAIL_ADDRESS>-VS Code = August 2021 (Version 1.6.0)
-Clarity Dark Theme V5
Additional notes
The problem seems to involve a schema using "id" instead of "$id".  I'm assuming this is a quick fix.  I don't know how you package your code bundles so I couldn't find the problem myself.
Below is what my src/app/app.module.ts looks like::
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { ClarityModule } from '@clr/angular';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { IssueListComponent } from './issue-list/issue-list.component';
@NgModule({
declarations: [AppComponent, IssueListComponent],
imports: [BrowserModule, ClarityModule, BrowserAnimationsModule],
providers: [],
bootstrap: [AppComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
export class AppModule {}

Hi @williamfarrell,
The steps I did on a Windows 10 computer:

Install a LTS version of NodeJS
Install globally @angular/cli
Execute ng new test
cd test
ng add @clr/angular
replacing the app.component.html content with

<clr-datagrid>
    <clr-dg-column>User ID</clr-dg-column>
    <clr-dg-column>Name</clr-dg-column>
    <clr-dg-column>Creation date</clr-dg-column>
    <clr-dg-column>Favorite color</clr-dg-column>

    <clr-dg-row *ngFor="let user of [1,2,3,4]">
        <clr-dg-cell>{{user.</clr-dg-cell>
    </clr-dg-row>

    <clr-dg-footer>4 users</clr-dg-footer>
</clr-datagrid>

ng serve

Works as expected.
What I am missing?


function imageformats.png.read_png_header is not accessible

when i try to call read_png_header with a MemStream it says that its not accessible. I can't use any other method because thats the only method accepting a stream and I only have the file in memory and not on disk

I added read_png_header_from_mem and a bunch of similar functions, see fe055df.


WishList: parcel selection

Mark area parcels based on the use of the space
ex

Industrial: Blue
Residential: Red
Nature & Park: Green
School: ...
Commercial: ...

Questions / Related issues

What types of data do we need?
Can city provide this data?

No action needed


Add Anthropic Models to Cache Prompt

Short description of the problem this fixes or functionality that this introduces. This may be used for the CHANGELOG
Adds support for Anthropic models with 'anthropic/' prefix in cache prompting.

Give a summary of what the PR does, explaining any non-trivial design decisions
This pull request addresses an issue where Anthropic models with the 'anthropic/' prefix were not being correctly identified for cache prompting support. The changes include:

Added two new entries to the cache_prompting_supported_models list:

'anthropic/claude-3-5-sonnet-20240620'
'anthropic/claude-3-haiku-20240307'

Retained the existing entries without the 'anthropic/' prefix to maintain backwards compatibility:

'claude-3-5-sonnet-20240620'
'claude-3-haiku-20240307'

This change ensures that the cache prompting feature correctly supports Anthropic models regardless of whether they are referenced with or without the 'anthropic/' prefix. This dual-entry approach allows for flexibility in model naming conventions while maintaining support for existing configurations.
The decision to keep both prefixed and non-prefixed versions was made to:

Support users who may be using the models with the 'anthropic/' prefix in their configurations.
Maintain compatibility for users who are already using the non-prefixed versions.

Link of any specific issues this addresses
Fixes https://github.com/All-Hands-AI/OpenHands/issues/3774: Incorrect identification of Anthropic models in prompt cache supported models

This shouldn't be necessary, iirc the model name is compared to be in the array entry name, so we don't need to add prefixed versions.

This shouldn't be necessary, i.e. the model name should be compared to be in the array entries' name (not equality), so we don't need to add prefixed versions.

I thought about that, but how about Anthropic models hosted elsewhere, like Bedrock?


Support multiple entry points, fix get_active_buffer_ranges

This fixes two bugs related to array allocation in C for the following functions:

get_entry_points (wrong lifetime/indexing)
get_active_buffer_ranges (wrong indexing because it followed get_entry_points)

I also added tests for these to ensure they work correctly now.
Fixes #118

bors r=kvark


Include the deprecation message in NoDeprecated's details

Currently, when reporting an error the NoDeprecated rule includes the following as its details:
This element was marked as deprecated and should not be used anymore.

Please check its documentation to know the alternative solutions.

One way that things are tagged as deprecated is when the module or function/type contains @deprecated in their documentation. What we could try to do is to extract the deprecation message next to that marker, and include it in the details when available.

Yes! I've wanted this feature but I was too lazy to ask. 😊 Thanks for bringing it up! 🙌
Right now, if anyone on the team encounters this on a module/function/type, they usually come to me to figure out what to do instead of reading the docs. If the error included the message from the docs, it might reduce the back and forth. It would reinforce even more that Elm error messages are meaningful and worth the time to read.
Here's an example of what I currently have for a deprecated module & function:
module Util.Decoders exposing (decodeErrors_DEPRECATED)

{-| This is deprecated.

@deprecated Use `Api.viewError` instead.

Move any reusuable decoders to their types. Examples:

  - `Address.decoder`
  - `Money.decoder`
  - `TimeOfDay.decoder`

-}

import Dict
import Json.Decode as JD
import List.Extra as Extra

{-| @deprecated Use `Api.viewError` instead, it will do this for you.
-}
decodeErrors_DEPRECATED : (String -> String) -> String -> List ( String, String )
decodeErrors_DEPRECATED toKey val =
    ...


createNativeQuery method returns custom entity

How do I return a custom entity object after I call the createNativeQuery method? ExampleDto, for example, has only two fields. Unlike data and entities, the mapping can be customized when it is not reactive.

I don't really understand the question, but have you used @SqlResultSetMapping?

I don't really understand the question, but have you used @SqlResultSetMapping?

It is to check the data table corresponding to entity A and return the DTO class of entity A. I'm trying the method you said


proposal number issues

Wuxian uploaded a spreadsheet on FMX at 17:37 yesterday (2021-09-07) and parseSheet shows the proposal number of 305000.
However, when she actually sets up a collection and tries to add it to the queue with Add Requests to Queue, the proposal number seems to get set back to 999999.
Note that during the day, data has gotten collected into<PHONE_NUMBER>, and jpegs are getting collected into mx999999-???? with several variants. the files are written into a directory path that includes L/xf17id2/FMX-999999_07Sep2021, which looks like it's parsing the full directory.
The latter may be due to the fact that the "current" proposal number (305000) is not in the full path - so testing with FMX-305000_07Sep2021 might have worked. lots to check anyways
Complicating factor: GUI logs show that there are issues with the database-side things - Session_has_Person constraint. need to verify who is authorized to be on 305000. This may be preventing the new visit from being used.

some of the major issues with not being able to have Session_has_Person connections was solved by mysql-connector-python conda package being regressed from 8.0.25 to 8.0.18 (same as previous LSDC envs). testing will tell us whether that solved the entire issue

As shown in my earlier comment, https://github.com/NSLS-II/conda-pack-template/pull/39/commits/a9c494e28a4f75b0be6d28d8b44646d6f6430088 fixes this issue.


Themes don't change

I have an issue
Today plugin stopped working
Even with enabled and setted up plugin, it just didn't change themes.
Video: here
I have another issue with bd, so it's maybe better discord troubles or I don't know
Hope it will be fixed somehow soon. This plugin is one of the best <3

I'll take a look at this tonight and see what's going on.

@BotAn14XD If you'd like, go ahead and test this version
It's working on my end and through all my tests.

@BotAn14XD If you'd like, go ahead and test this version
It's working on my end and through all my tests.

It works!
Thank you a lot!

Oh my, It works, thanks <3


[WIP] Tidy LimitRange concept

Minor tidying for https://kubernetes.io/docs/concepts/policy/limit-range/ [preview]
/kind cleanup

/retitle Tidy LimitRange concept

@sftim PR (#20221 ) that changes the link in the LimitRange document I opened, so how about combining it with this PR?

/retitle [WIP] Tidy LimitRange concept

Hello Prow/Tide

/retitle Tidy LimitRange concept

/lgtm
/approve


Update code to support nfdump v1.7

Hello, I would like to know if there are plans to support nfdump v1.7 format. It changed a little bit so some code rework is required.
I'm ready to help also.
As of right now, when trying to dump a v1.7 file, I got the following message:
[ERROR] nfs.Row() error:Read Block Failed blockIndex:2 : unexpected EOF

The project I originally created this for hasn't needed another version of nfdump so I haven't worked on this in a while.
If you can generate a sample of nfdump 1.7 output I'll take a look and see if I can figure out what changed and support it. If you want to make a pull request thats welcome also.
In the past it was a combination of looking at nfdump source code, and text output/trial error to determine the correct way to read the file.

@chrispassas thank you for your reply. I've tried to attach a sample here but I guess due to it's format, GitHub is complaining about it. I'm attaching it on Google Drive.
https://drive.google.com/file/d/1ug-lAbe7YPrLyX8n5SSlK1eSx69gmsnT
If you can take a look and see if there is too much or too little to do. If too much, you can give at least some directions, if possible, so I can work on it.
Anyways, thanks in advance!

@gabrielmocan I spent some time looking at this and found a couple bugs that caused the module to not return error messages when it should parsing the nfdump file header.
I pushed the changes to master and your file now returns an error. This package currently only supports nfdump version 1 layout files. It appears your file is version 2 layout.
I'm going to look into what changed and see how much work it is to update.

@gabrielmocan OK I found something if you want to dig into this.
When I original here are some pointers on how I approached it.

The header file for layout 1
https://github.com/phaag/nfdump/blob/master/src/lib/nffile.h#L80
using nfdump to output your file in csv
run this Go nfdump and print out in csv to compare output
This helps you determine if your reading the code correctly or not

Now I see a new .h file for layout 2 here
https://github.com/phaag/nfdump/blob/master/src/lib/nffileV2.h#L43
Take a look at that and see if you can make sense of it. I would be the new file format at least the "magic" and "version" are the same but from that point on its possible there could be differences.

Thanks @chrispassas , I'll take a look. I'm also talking to @phaag, as he also working on Golang tooling for nfdump.


Error during installation (testing phase)

Hello,
I'm trying to upgrade this module, because I have an error message processing some PDF files using PDF::API6:
Probable version skew in pre-compiled [...] (PDF::Font)' (cause: no object at index 776)
But I'm getting this error during the testing phase:
$ zef install 'PDF::Class:ver<0.1.2>'
===> Searching for: PDF::Class
===> Testing: PDF::Class:ver<0.1.2>:auth<github:p6-pdf>:api<PDF-1.7>
eval error:     use PDF::Class;
    use PDF::Catalog;
    my PDF::Class $pdf .= new;

    my PDF::Catalog $doc = $pdf.catalog;
    try {
        $doc.PageMode   = 'UseToes';
        CATCH { default { say "err, that didn't work: $_" } }
    }

    # same again, bypassing type checking
    $doc<PageMode>  = :name<UseToes>;

  in block  at t/00-readme.t line 25
unknown /ShadingType 42 - supported range is 1..7
No Doc handler class [PDF PDF::COS::Type]::Unknown
No Doc handler class [PDF PDF::COS::Type]::Annot::Caret
Probable version skew in pre-compiled '/home/nando/.zef/store/PDF-Class-0.1.2.tar.gz/PDF-Class-0.1.2/lib/PDF/OutputIntent.pm (PDF::OutputIntent)' (cause: no object at index 776)
  in method find-delegate at /home/nando/.zef/store/PDF-Class-0.1.2.tar.gz/PDF-Class-0.1.2/lib/PDF/Class/Loader.pm (PDF::Class::Loader) line 32
  in method load-delegate at /home/nando/.zef/store/PDF-Class-0.1.2.tar.gz/PDF-Class-0.1.2/lib/PDF/Class/Loader.pm (PDF::Class::Loader) line 105
  in block <unit> at t/load-delegate.t line 23

# Looks like you planned 18 tests, but ran 11
===> Testing [FAIL]: PDF::Class:ver<0.1.2>:auth<github:p6-pdf>:api<PDF-1.7>
Aborting due to test failure: PDF::Class:ver<0.1.2>:auth<github:p6-pdf>:api<PDF-1.7> (use --force-test to override)
  in code  at /opt/rakudo-pkg/share/perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 374
  in method test at /opt/rakudo-pkg/share/perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 354
  in code  at /opt/rakudo-pkg/share/perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 523
  in sub  at /opt/rakudo-pkg/share/perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 520
  in method install at /opt/rakudo-pkg/share/perl6/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 621
  in sub MAIN at /opt/rakudo-pkg/share/perl6/sources/81436475BD18D66BFD96BBCEE07CCCDC0F368879 (Zef::CLI) line 152
  in block <unit> at /opt/rakudo-pkg/share/perl6/resources/D822DF07A6D5CB602F97ED307F62A1B3B5D2C90D line 3
  in sub MAIN at /opt/rakudo-pkg/bin/zef line 2
  in block <unit> at /opt/rakudo-pkg/bin/zef line 2

I have the following modules installed:
$ zef list --installed|grep PDF
===> Found via /opt/rakudo-pkg/share/perl6
===> Found via /home/nando/.perl6
PDF::API6:ver<0.1.0>:auth<github:p6-pdf>
PDF::Class:ver<0.1.0>:auth<github:p6-pdf>:api<PDF-1.7>
PDF::Content:ver<0.2.1>:auth<github:p6-pdf>:api<PDF-1.7>
PDF::Grammar:ver<0.1.5>:auth<github:p6-pdf>:api<PDF-1.7>
PDF:ver<0.2.8>:auth<github:p6-pdf>:api<PDF-1.7>

and perl6 version is:
perl6 -v
This is Rakudo version 2018.03 built on MoarVM version 2018.03
implementing Perl 6.c.

Hi @frithnanth
I think there's some conflict between old and new versions. Does it help to do a reinstall of the PDF tool-chain as follows (allow ~ 30 mins):
% zef nuke PDF::API6 PDF::Class PDF::Content PDF PDF::Grammar
% zef install PDF::API6
After that, I'd also also recommend delete any local .precomp directories.
Hope this helps.

Hi @dwarring
I uninstalled and reinstalled the modules:
$ zef install PDF::API6
===> Searching for: PDF::API6
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json
===> Searching for missing dependencies: PDF, PDF::Class, PDF::Content
===> Searching for missing dependencies: PDF::Grammar
===> Testing: PDF::Grammar:ver<0.1.5>:auth<github:p6-pdf>:api<PDF-1.7>
# loading t/helloworld.pdf (set $TEST_PDF to override)
===> Testing [OK] for PDF::Grammar:ver<0.1.5>:auth<github:p6-pdf>:api<PDF-1.7>
===> Testing: PDF:ver<0.2.8>:auth<github:p6-pdf>:api<PDF-1.7>
===> Testing [OK] for PDF:ver<0.2.8>:auth<github:p6-pdf>:api<PDF-1.7>
===> Testing: PDF::Content:ver<0.2.1>:auth<github:p6-pdf>:api<PDF-1.7>
error processing 'RG' (SetStrokeRGB) operator
error processing 'TL' (SetTextLeading) operator
error processing 'Tf' (SetFont) operator
===> Testing [OK] for PDF::Content:ver<0.2.1>:auth<github:p6-pdf>:api<PDF-1.7>
===> Testing: PDF::Class:ver<0.1.2>:auth<github:p6-pdf>:api<PDF-1.7>
eval error:     use PDF::Class;
    use PDF::Catalog;
    my PDF::Class $pdf .= new;

    my PDF::Catalog $doc = $pdf.catalog;
    try {
        $doc.PageMode   = 'UseToes';
        CATCH { default { say "err, that didn't work: $_" } }
    }

    # same again, bypassing type checking
    $doc<PageMode>  = :name<UseToes>;

  in block  at t/00-readme.t line 25
unknown /ShadingType 42 - supported range is 1..7
No Doc handler class [PDF PDF::COS::Type]::Unknown
No Doc handler class [PDF PDF::COS::Type]::Annot::Caret
===> Testing [OK] for PDF::Class:ver<0.1.2>:auth<github:p6-pdf>:api<PDF-1.7>
===> Testing: PDF::API6:ver<0.1.0>:auth<github:p6-pdf>
("q", "BT", "/F1 16 Tf", "1 0 0 1 10 10 Tm", "(Hello, world) Tj", "17.6 TL", "T*", "ET", "q", "19 0 0 19 110.688 10 cm", "/Im1 Do", "Q", "Q").Seq
Text matrix updated by Tm to 1 0 0 1 10 10
===> Testing [OK] for PDF::API6:ver<0.1.0>:auth<github:p6-pdf>
===> Installing: PDF::Grammar:ver<0.1.5>:auth<github:p6-pdf>:api<PDF-1.7>
===> Installing: PDF:ver<0.2.8>:auth<github:p6-pdf>:api<PDF-1.7>
===> Installing: PDF::Content:ver<0.2.1>:auth<github:p6-pdf>:api<PDF-1.7>
===> Installing: PDF::Class:ver<0.1.2>:auth<github:p6-pdf>:api<PDF-1.7>
===> Installing: PDF::API6:ver<0.1.0>:auth<github:p6-pdf>

6 bin/ scripts [pdf-rewriter.pl pdf-append.p6 pdf-checker.p6 pdf-info.p6 pdf-revert.p6 pdf-burst.p6] installed to:
/home/nando/.perl6/bin

There are some non-fatal errors, but the modules have been installed.
Still, when I run this program:
use PDF::API6;

my PDF::API6 $pdf .= open('old.pdf');
my $page = $pdf.page(1);
my $font = $pdf.core-font('Helvetica-Bold');
$page.text: {
  .font = $font, 20;
  .text-position = 200, 700;
  .say('Hello World!');
}
$pdf.save-as('new.pdf');

I get this error:
Cannot find method 'specialize' on object of type Perl6::Metamodel::ClassHOW+{<anon>}
  in method mixin at /home/nando/.perl6/sources/822169956771DB33FC0D5BAD82085542A72639DE (PDF::COS::Tie) line 200
  in method coerce at /home/nando/.perl6/sources/9E089E43DB4C2FF54174FCC674C74CD710DDD2AA (PDF::COS::Coercer) line 63
  in method coerce at /home/nando/.perl6/sources/5091F292E9E62412B6143E4C6F25AA9CDE28AC2B (PDF::COS) line 28
  in sub  at /home/nando/.perl6/sources/822169956771DB33FC0D5BAD82085542A72639DE (PDF::COS::Tie) line 56
  in block  at /home/nando/.perl6/sources/822169956771DB33FC0D5BAD82085542A72639DE (PDF::COS::Tie) line 106
  in method tie at /home/nando/.perl6/sources/822169956771DB33FC0D5BAD82085542A72639DE (PDF::COS::Tie) line 61
  in method tie at /home/nando/.perl6/sources/822169956771DB33FC0D5BAD82085542A72639DE (PDF::COS::Tie) line 125
  in method AT-KEY at /home/nando/.perl6/sources/B8B8813B96AB3C0DAEC7B650580E7B18F08E5E8B (PDF::COS::Tie::Hash) line 54
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 22
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 22
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 22
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 22
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 29
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 22
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 22
  in method ref-count at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 22
  in method body at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 67
  in method ast at /home/nando/.perl6/sources/4F8D91227F7DC384FC722C468900C06197500BA9 (PDF::IO::Serializer) line 259
  in method ast at /home/nando/.perl6/sources/AD3EF7527B03D7E88AE13AFFE91836B2747B9109 (PDF) line 127
  in method save-as at /home/nando/.perl6/sources/AD3EF7527B03D7E88AE13AFFE91836B2747B9109 (PDF) line 149
  in method save-as at /home/nando/.perl6/sources/3A0455208EBF84A2A5453574B6FDBDD294BDB416 (PDF::Class) line 61
  in method save-as at /home/nando/.perl6/sources/AD3EF7527B03D7E88AE13AFFE91836B2747B9109 (PDF) line 144
  in method save-as at /home/nando/.perl6/sources/3A0455208EBF84A2A5453574B6FDBDD294BDB416 (PDF::Class) line 61
  in method save-as at /home/nando/.perl6/sources/AD3EF7527B03D7E88AE13AFFE91836B2747B9109 (PDF) line 130
  in method save-as at /home/nando/.perl6/sources/3A0455208EBF84A2A5453574B6FDBDD294BDB416 (PDF::Class) line 61
  in block <unit> at ./test.p6 line 13

I'm attaching the PDF file I'm using here.
pdf4.pdf
Thank you!

Thanks @frithnanth. Will look at this over the next few days.

Able to replicate this error when I follow the same steps.
Error and failure point changes when I set the include path and add some debugging:
perl6 -I. -I ../PDF-Content-p6/ -I ../PDF-p6/ -I ../PDF-Grammar-p6/ -I ../PDF-Class-p6 /tmp/tst.pl
{:obj(${:Procset($["PDF", "Text"])}), :role(PDF::Resources)}
  in method mixin at /home/david/git/PDF-API6/../PDF-p6/lib/PDF/COS/Tie.pm (PDF::COS::Tie) line 200
{:obj(${:ExtGState(${:GS0(:ind-ref($[18, 0])), :GS1(:ind-ref($[17, 0]))}), :Font(${:C2_0(:ind-ref($[5, 0])), :TT0(:ind-ref($[14, 0])), :TT1(:ind-ref($[11, 0]))}), :ProcSet($["PDF", "Text"])}), :role(PDF::Resources)}
  in method mixin at /home/david/git/PDF-API6/../PDF-p6/lib/PDF/COS/Tie.pm (PDF::COS::Tie) line 200
{:obj(${}), :role(PDF::Resources)}
  in method mixin at /home/david/git/PDF-API6/../PDF-p6/lib/PDF/COS/Tie.pm (PDF::COS::Tie) line 200
Probable version skew in pre-compiled '/home/david/git/PDF-API6/../PDF-Class-p6/lib/PDF/Font.pm (PDF::Font)' (cause: no object at index 778)

I can reproduce the error with a very simple test program:
use PDF::API6;
use PDF::Font::CIDFontType2;

==SORRY!=== Error while compiling /tmp/site#sources/58028D652811A12AAA9177AE3895DE5D47ADE0FD (PDF::Font::CIDFontType2)
Probable version skew in pre-compiled 'site#sources/BFD03D5F53D8E5928328176228516E260AB2C81D (PDF::Font)' (cause: no object at index 723)
at /tmp/site#sources/58028D652811A12AAA9177AE3895DE5D47ADE0FD (PDF::Font::CIDFontType2):5
Evidently,  PDF files with CIDFontType2 fonts are currently failing.

Latest PDF 0.3.0 and PDF::Class 0.1.3 fixes the secondary error Cannot find method 'specialize' on object of type Perl6::Metamodel::ClassHOW error. In a nutshell the PDF::COS coercements were being caused by attempts to mixin a class instead of a role, giving this error.
perl6 -e'class C1 {}; class C2 {}; my C1 $c .=new; $c.^mixin: C2'
Cannot find method 'specialize' on object of type Perl6::Metamodel::ClassHOW
  in block <unit> at -e line 1

That's now fixed.
Still not entirely sure of the primary Probable version skew in pre-compiled errors during upgrades. From past experience these may indicate that classes or roles are being mutated at run-time, e.g. by adding extra methods.

Thank you!

Thank you!

Thank you

Thank you

Hopefully better now after changing the composition of some classes and additional fixes in the PDF module. Please try again when you get a chance.

Also fixed some (but not all) the the noisy tests in PDF::Content and PDF::Class

I see that PDF::Content still displays some errors:
error processing 'RG' (SetStrokeRGB) operator
error processing 'TL' (SetTextLeading) operator
error processing 'Tf' (SetFont) operator

but the installation proceeds anyway.
Thank you!


mouse wheel to zoom font

Issue Type: Feature Request
need mouse wheel to zoom font back
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18363

This feature exists and needs to be enabled with editor.mouseWheelZoom.


Fix install-headers target

Some builds may desire to run the install-headers target prior to
building the entire tree.  Add dependencies and rules to generate the
ASN1OID.h header whenever appropriate.

I need to give it some thought myself; however, have you had any thoughts on a good unit / functional test for this?

I'm concerned that this pattern of use is not something we can support long-term.  If we end up adding other code generation tools to our build it seems likely that the install-headers target is not going to work.
Why is install-headers being used?

I need to give it some thought myself; however, have you had any thoughts on a good unit / functional test for this?

I'm not sure I've ever seen unit tests for a specific instantiation of a build system/makefile.

I'm concerned that this pattern of use is not something we can support long-term. If we end up adding other code generation tools to our build it seems likely that the install-headers target is not going to work.
Why is install-headers being used?

I think in general, the makefiles in src/include have been problematic, they certainly have not been particularly easy to work with.
On systems that heavily parallelize builds, including a number of Google Nest products, there is a usecase for running install-headers prior to the full build -- the rationale is that once the build system installs the headers, all other modules that depend on Weave being built can compile.  The link step then has a separate dependency on the Weave library being built.
You are right that the solution presented here is not scalable.  Perhaps a better approach would be to create a custom dependency target that just builds all BUILT_SOURCES prior to any work on installing headers. The primary challenge with is that autotools do not define a single action across the board that would support BUILT_SOURCES, but that is something we could likely support with nlbuild-autotools.  I will prototype this solution.
A different mechanism would be to generate the sources during the configure step; such approach meshes well with automated build systems, but has some pitfalls with partial builds.
Finally, we could entirely subvert the intentions of the build system, and make install-headers depend on the overall compilation step.  Not a great solution, but perhaps a defensible one:  in practice, the configure step takes comparable time to the actual baseline compilation step (no docs, no tests).  As a result, the rough order of magnitude for build times would remain the same.


feat: update support bundle to adapt change for mqttbroker

update support bundle from mq to mqttbroker, update api group and resource capture
int test also caught an error of orc label change, therefore also updated the label

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact<EMAIL_ADDRESS>with any additional questions or comments.
Thank you for contributing to Azure IoT Operations tooling!
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Intent for Production

[ ] It is expected that pull requests made to default or core branches such as dev or main are of production grade. Corollary to this, any merged contributions to these branches may be deployed in a public release at any given time. By checking this box, you agree and commit to the expected production quality of code.

Basic expectations

[ ] If introducing new functionality or modified behavior, are they backed by unit and/or integration tests?
[ ] In the same context as above are command names and their parameter definitions accurate? Do help docs have sufficient content?
[ ] Have all the relevant unit and integration tests pass? i.e. pytest <project root> -vv. Please provide evidence in the form of a screenshot showing a succesful run of tests locally OR a link to a test pipeline that has been run against the change-set.
[ ] Have linter checks passed using the .pylintrc and .flake8 rules? Look at the CI scripts for example usage.
[ ] Have extraneous print or debug statements, commented out code-blocks or code-statements (if any) been removed from the surface area of changes?
[ ] Have you made an entry in HISTORY.rst which concisely explains your user-facing feature or change?

Azure IoT Operations CLI maintainers reserve the right to enforce any of the outlined expectations.
A PR is considered ready for review when all basic expectations have been met (or do not apply).

test run


Stochastic indicator is shifted

pandas version: 0.3.14b0
When I compared the output of the stoch indicator with TradingView the output(k and d line) of the stoch indicator is shifted to the left.
I think that the problem is caused with those two lines:
stoch_k = ma(mamode, stoch.loc[stoch.first_valid_index():,], length=smooth_k)
stoch_d = ma(mamode, stoch_k.loc[stoch_k.first_valid_index():,], length=d)

When I changed those lines like this(I removed the loc), the output of the stochastic indicator was correct:
stoch_k = ma(mamode, stoch, length=smooth_k)
stoch_d = ma(mamode, stoch_k, length=d)

I attached 3 images:

one from tradingView

one with shifted output of the stoch indicator

one with correct output of the stoch indicator after I removed the loc[stoch.first_valid_index():,]

My guess is, that in the stoch indicator the  'loc[stoch.first_valid_index():,]' code skips some invalid values. But this shifts output of the indicator which is not good.  I compared the stoch indicator with stochrsi and the stochrsi doesn't use the loc at all.
I'm calling the stoch indicator like this:
stoch(high= highSeries, low= lowSeries, close= closeSeries, k= 14, d= 3, smooth_k= 1)

I also attached JSON with the high, low and  close values, that I used as input for the stoch indicator.
input.txt

Hello @GhostusSK,
Thanks for looking into this. While visual analysis is a good smell test, numerical results are much easier to verify and check for correlation.
Also the minimum bar of Pandas TA testing is TA Lib, which stoch and stochrsi have 99.99% and 100% correlation respectively. And in the unittests for stoch and stochrsi, I have a comment reminding me that they are TV correlated as well; but they could be wrong 🤷🏼♂ .
https://github.com/twopirllc/pandas-ta/blob/bc3b292bf1cc1d5f2aba50bb750a75209d655b37/tests/test_indicator_momentum.py#L447-L485

Testing Trading View Indicators vs Pandas TA
This is a generic guide to verify and correlate with TV, one needs to Export Chart Data from TradingView for comparison by using the hamburger menu in the upper left corner; I use the ISO format.

Once you have exported your chart data from TradingView, try the following:
import pandas as pd
import pandas_ta as ta

# Load the TV export data or whatever you saved it as
data = pd.read_csv("path/to/tradingview_data.csv")
chande = ta.cmo(data['close'], length=9, talib=False)
print(chande.iloc[-1])

# Alternatively
data.ta.cmo(length=9, talib=False, append=True)
print(data.corr()) # Check their correlation

Also please reply to this issue with your results so I can see your correlations. You may need to drop some columns before running data.corr() so it's not filled with extraneous columns.
For example, here my results when exporting from TradingView and turning off TA Lib in cmo:

If you are not able to export and do a correlation test with TV, I will do it again as soon as I can.
Kind Regards,
KJ

Hello @GhostusSK,
Ok, found some time to do a correlation test and some equivalent row prints.
Here is the raw data I exported from TV prior to running Pandas TA stoch and stochrsi indicators that I have include below: SPY_D_STOCH_STOCHRSI.csv
Imports and Settings
import pandas as pd
import pandas_ta as ta

pd.set_option("min_rows", 50)
pd.set_option("max_rows", 80)

def highlight_top(s, v=0.98):
    return ["background-color: lightgreen" if cell else "" for cell in s > v]

Pandas TA and TV: STOCH(14,3,3)
df = pd.read_csv("SPY_D_STOCH_STOCHRSI.csv")
df.set_index(pd.DatetimeIndex(df["time"]), inplace=True, drop=True)
df.ta.stoch(append=True)
df.drop(["time", "TV_STOCHRSIk_14_3_3", "TV_STOCHRSId_14_3_3"], axis=1, errors="ignore", inplace=True)
df = df[df.columns[4:]]

print(f"Total bars: {df.shape[0]}")
stcorr = df.corr()
stcorr.style.apply(highlight_top)

df[10:30].style.background_gradient(cmap="bwr")

Pandas TA and TV: STOCHRSI(14,14,3,3)
df = pd.read_csv("SPY_D_STOCH_STOCHRSI.csv")
df.set_index(pd.DatetimeIndex(df["time"]), inplace=True, drop=True)
df.ta.stochrsi(append=True)
df.drop(["time", "TV_STOCHk_14_3_3", "TV_STOCHd_14_3_3"], axis=1, errors="ignore", inplace=True)
df = df[df.columns[4:]]

print(f"Total bars: {df.shape[0]}")
stcorr = df.corr()
stcorr.style.apply(highlight_top)

df[-20:].style.background_gradient(cmap="bwr")

Hope this helps clarify the correlations that exist between TV and Pandas TA's stoch and stochrsi not to mention their correlation with TA Lib that I have excluded.
If you want to verify their correlations with TA Lib and you have TA Lib installed, you will need to modify test_indicator_momentum.py before you run:
$ make test_ta

    def test_stoch(self):
        # TV Correlation
        result = pandas_ta.stoch(self.high, self.low, self.close)
        self.assertIsInstance(result, DataFrame)
        self.assertEqual(result.name, "STOCH_14_3_3")

        print() # Add this... makes it easier to find
        try:
            expected = tal.STOCH(self.high, self.low, self.close, 14, 3, 0, 3, 0)
            expecteddf = DataFrame({"STOCHk_14_3_0_3_0": expected[0], "STOCHd_14_3_0_3": expected[1]})

            # Add the next line
            print(pandas_ta.utils.df_error_analysis(result.iloc[:, 0], expecteddf.iloc[:, 0], col=CORRELATION))

            pdt.assert_frame_equal(result, expecteddf)
        except AssertionError:
            try:
                stochk_corr = pandas_ta.utils.df_error_analysis(result.iloc[:, 0], expecteddf.iloc[:, 0], col=CORRELATION)
                self.assertGreater(stochk_corr, CORRELATION_THRESHOLD)
            except Exception as ex:
                error_analysis(result.iloc[:, 0], CORRELATION, ex)

            try:
                stochd_corr = pandas_ta.utils.df_error_analysis(result.iloc[:, 1], expecteddf.iloc[:, 1], col=CORRELATION)
                self.assertGreater(stochd_corr, CORRELATION_THRESHOLD)
            except Exception as ex:
                error_analysis(result.iloc[:, 1], CORRELATION, ex, newline=False)

    def test_stochrsi(self):
        # TV Correlation
        result = pandas_ta.stochrsi(self.close)
        self.assertIsInstance(result, DataFrame)
        self.assertEqual(result.name, "STOCHRSI_14_14_3_3")

        print() # Add this... makes it easier to find
        try:
            expected = tal.STOCHRSI(self.close, 14, 14, 3, 0)
            expecteddf = DataFrame({"STOCHRSIk_14_14_0_3": expected[0], "STOCHRSId_14_14_3_0": expected[1]})

            # Add the next line
            print(pandas_ta.utils.df_error_analysis(result.iloc[:, 0], expecteddf.iloc[:, 1], col=CORRELATION))

            pdt.assert_frame_equal(result, expecteddf)
        except AssertionError:
            try:
                stochrsid_corr = pandas_ta.utils.df_error_analysis(result.iloc[:, 0], expecteddf.iloc[:, 1], col=CORRELATION)
                self.assertGreater(stochrsid_corr, CORRELATION_THRESHOLD)
            except Exception as ex:
                error_analysis(result.iloc[:, 0], CORRELATION, ex, newline=False)

Kind Regards,
KJ

Hello @GhostusSK,
I assume by no response that the provided details were sufficient. Thus I will be closing this issue in a few days.
Kind Regards,
KJ

Hi @twopirllc,
sorry for late response, but I was busy last week. I believe you, that your implementation of TA passes the test, but those two lines doesn't give me a sense:
stoch_k = ma(mamode, stoch.loc[stoch.first_valid_index():,], length=smooth_k)
stoch_d = ma(mamode, stoch_k.loc[stoch_k.first_valid_index():,], length=d)
Imagine that you have 1000 candles and imagine that the first_valid_index() returns an index. That means, that the stoch series contains invalid values(probably NaN values).  This will cause that the stoch_k and stoch_d values will be shifted and they won't fit the input candles. If the calculated stoch_k and stoch_d don't fit the input candles, the indicator is not very usable. What purpose has the output that doesn't fit the input data?
Wouldn't it be better to not skipping the invalid values by using the code below?
stoch_k = ma(mamode, stoch, length=smooth_k)
stoch_d = ma(mamode, stoch_k, length=d)
In this case the output wouldn't be shifted because we are not skipping invalid values. Maybe for NaN values the output will contain also Nan values, but that is ok. At least the output will fit the input candles.

@GhostusSK,

sorry for late response, but I was busy last week.

No worries. It happens to us all.

Imagine that you have 1000 candles and imagine that the first_valid_index() returns an index. That means, that the stoch series contains invalid values(probably NaN values).

Yes, stoch's first  k - 1 values will be Nan and the remaining are not NaN.

This will cause that the stoch_k and stoch_d values will be shifted and they won't fit the input candle.

No. It doesn't cause a shift in stoch, first_valid_index() is a fancy selector that returns a subset of the data. It's quicker to perform calculations on a smaller set than a larger set. stoch_k and stoch_d are shifted because they are moving averages of stoch of lengths smooth_k and d respectively; they don't start where stoch left off.

In fact, whether
stoch_k = ma(mamode, stoch.loc[stoch.first_valid_index():,], length=smooth_k)
stoch_d = ma(mamode, stoch_k.loc[stoch_k.first_valid_index():,], length=d)

OR
stoch_k = ma(mamode, stoch, length=smooth_k)
stoch_d = ma(mamode, stoch_k, length=d)

is used, yields no significant difference in output and the same correlations posted previously. So at this point I don't see why it needs to be changed if they are both the same? 🤷🏼♂

If this still concerns you or think that what is implemented is incorrect, you are in luck! It is an Open Source package and you are welcome to fork, edit/experiment, and submit Pull Requests. Contributions are welcome. 😎
Hope this helps!?
Thanks,
KJ


Hello!

Hello,
Just got recommended this on the github homepage. You seem to be doing some good work!

Thanks!

yeah this is awesome


slice and makeSlice should accept ranges

Reason: When one uses an input range like iota or iotaSlice which is doesn't allow modifications (=doesn't implement lvalue index), the following two don't work:
auto a = 6.iotaSlice(2, 3);
a[0, 0] = 1; // not an lvalue
auto b = 6.iota.sliced(2, 3);
b[0, 0] = 1; // not an lvalue

However when using the new allocation APIs, we can allocate memory:
auto a = 6.iotaSlice(2, 3).slice; // we create a modifyable copy
a[0, 0] = 1;
auto b = 6.iota.array.sliced(2, 3); // or duplicate directly
b[0, 0] = 1;

Thus imho it would be nice if slice directly accepts a range, that fills the allocated array.
Basically a short wrapper around:
auto a = slice!int(2, 2);
a[] = iota(4).sliced(2, 2);

What do you think?

auto b = 6.iota.array.sliced(2, 3);

Current version is already clear auto b = 6.iota.sliced(2, 3).slice;

for ndslice module common range is slice ;)

Current version is already clear auto b = 6.iota.sliced(2, 3).slice;

... but not efficient as 6.iota.sliced(2, 3).slice gets translated to 6.iota.sliced(2, 3).byElement.array.sliced!replaceArrayWithPointer(slice.shape) - would be nice if we could avoid the duplicate allocation. slice already allocates, we just want to fill it.

No, it is already fast

see implementation

would be nice if we could avoid the duplicate allocation. slice already allocates, we just want to fill it.

Yeah just saw it - ignore my complaints for now. sorry.

It does make a huge difference - m1 and m3 take roughly twice the time (I guess the 20% are the overhead created from byElement) or am I missing something here?
fastest: 1
rel. diff for 0: 1.871
rel. diff for 1: 1.000
rel. diff for 2: 1.855
All unit tests have been run successfully.
dub test  21.39s user 0.38s system 99% cpu 21.772 total

auto m1()
{
    size_t k = 100, s1 = 10, s2 = 10;

    import std.range: iota;
    import mir.ndslice.slice: slice, sliced;
    auto r = iota(k).sliced(s1, s2).slice;
    assert(r[9, 9] == k - 1);
}

auto m2()
{
    size_t k = 100, s1 = 10, s2 = 10;

    import std.range: iota;
    import mir.ndslice.slice: slice;
    import mir.ndslice.selection: byElement;
    auto r = slice!ulong(s1, s2);
    auto range = iota(k);

    foreach(ref el; r.byElement)
    {
        el = range.front;
        range.popFront;
    }

    assert(r[9, 9] == k - 1);
}

auto m3()
{
    size_t k = 100, s1 = 10, s2 = 10;

    import std.range: iota;
    import mir.ndslice.slice: slice, sliced;
    import mir.ndslice.selection: byElement;
    auto r = slice!ulong(s1, s2);
    auto range = iota(k);

    r[] = range.sliced(s1, s2);

    assert(r[9, 9] == k - 1);
}

unittest
{
    auto n = 1_000_000;

    import std.datetime: benchmark;
    auto result = benchmark!(m1, m2, m3)(n);

    import std.stdio;
    import std.range: enumerate;
    import std.algorithm: map, minPos;

    auto rs = [result[0], result[1], result[2]].map!`a.length`;
    auto minEl = rs.enumerate.minPos!`a.value < b.value`.front;

    writeln("fastest: ", minEl.index);

    foreach (i, el; rs.enumerate)
        writefln("rel. diff for %d: %.3f", i , el * 1. / minEl.value);
}

LDC results?

LDC results?

nope - dmd, but with ldc it's still measurable!.
fastest: 1
rel. diff for 0: 1.225
rel. diff for 1: 1.000
rel. diff for 2: 1.273
All unit tests have been run successfully.
dub test --compiler=ldc  21.21s user 0.88s system 99% cpu 22.208 total

add --build=unittest-nobounds

add --build=unittest-nobounds

add --build=release-nobounds

add --build=release-nobounds

ldc: Unknown command line argument '-disable-boundscheck'.  Try: 'ldc -help'
ldc: Did you mean '-disable-dfa-sched'?

ok, lets just add --build=release

done - I was shocked a bit initially because the runtime went done from 20s to less than a second, but I added a global variable (which is printed) to add the result of the verification assert.
fastest: 2
rel. diff for 0: 2.079
rel. diff for 1: 1.780
rel. diff for 2: 1.000
true
dub --compiler=ldc --build=release  28.88s user 0.09s system 100% cpu 28.958 total

I verified the output by running in multiple orders.
Source

oh, I thought the implementation is differ. Thanks, will be fixed

Fixed


Inconsistent downloadFile failure behavior when using cliProgress with Node.js API

Came across this while debugging #12.
There's some inconsistencies with how downloadFile behaves when called with the Node.js API and reaching failure conditions with cliProgress enabled. Ideally, every failure state encountered when using the API should throw an error that can be handled by the calling program; cliProgress being enabled shouldn't change this behavior.
Note that the below don't occur when cliProgress is disabled. Instead, ipull throws the error appropriately, allowing the caller to handle the error. These also don't occur for .download(), which appears to have more robust error handling.
Error not being caught
const downloader = await downloadFile({
    url: "<file_url>",
    cliProgress: true,
    directory: dataPath
});
try {
    await downloader.download();
} catch (e) {
    log.error("Failed to download", e);
    return;
}

This appears to show the Gathering information spinner, then immediately exits the program with exit code 1, not letting any further catching happen.
Error being caught
try {
    const downloader = await downloadFile({
        url: "<file_url>",
        cliProgress: true,
        directory: dataPath
    });
    await downloader.download();
} catch (e) {
    log.error("Failed to download", e);
    return;
}

This shows the Gathering information spinner infinitely until execution is stopped with ^C (Ctrl + C). Only then does the error get handled and printed.

Thank for reporting!, I will look into that.
Seems like small fixes, will be fixed in the next patch release.

Fixed in latest version, If it is still does not work feel free to reopen :)


text-inverse can be used when background is inverse, and button documentation changes

In situations where the background image has inverse color scheme, text-inverse can be used to display text in the original body background color.
Solution for feature request https://github.com/twbs/bootstrap/issues/17634
Enhanced documentation for https://github.com/twbs/bootstrap/issues/17541

Could you please split this into two separate pull requests, since #17634 and #17541 are unrelated to each other? Thanks.

Done @cvrebert
See https://github.com/twbs/bootstrap/pull/17651 and https://github.com/twbs/bootstrap/pull/17650


Stop using deprecated x509.EncryptPEMBlock

Description

As noted in the documentation, https://pkg.go.dev/crypto/x509#EncryptPEMBlock
Deprecated: Legacy PEM encryption as specified in [RFC 1423](https://rfc-editor.org/rfc/rfc1423.html) is insecure by design. Since it does not authenticate the ciphertext, it is vulnerable to padding oracle attacks that can let an attacker recover the plaintext.
https://github.com/sigstore/scaffolding/blob/main/cmd/fulcio/createcerts/main.go#L172

I'd be happy to fix this, since this is for test code, I'm curious how important it is atm.
I poked a bit and having a hard time finding a suitable replacement without going to external libraries:
https://github.com/golang/go/issues/8860

Yes! Makes sense. I guess we need to chase down what a suitable replacement is.

@haydentherapper
This not used for staging or production, as it is only used when the certificate authority is set to fileca
For sigstore staging and production, we use kmsca, which does not use createcerts job.

Sweet, thanks for confirming. I'm looking at dropping support for RFC1423 keys in Fulcio, so I may need to import a third-party library for PKCS#8 key generation in Scaffolding. Any concerns?

@priyawadhwa is this done now with #1310 ?

I think so -- I replaced it everywhere I could, but couldn't make the change in ctlog createcerts because I don't think the ctlog supports using PKCS#8 keys