ToS TimeSegmentedValue, TimeSegmentedValueRatio Indicators

Which version are you running? The lastest version is on Github. Pip is for major releases.
import pandas_ta as ta
print(ta.version)
0.3.14b0

Hi Kevin,
Do you think it is possible to create a couple of new indicators for me that I am currently using on TOS? Here is the thinkscript code for them. Thank you so much for your help.
### RelativeVolumeStDev:
Also known as: Absolute Zscore of Volume. Does not need to be implemented, see example in comments below. - KJ
#
# TD Ameritrade IP Company, Inc. (c) 2014-2021
#

declare lower;
declare zerobase;

input length = 60;
input numDev = 2.0;
input allowNegativeValues = no;

def rawRelVol = (volume - Average(volume, length)) / StDev(volume, length);
plot RelVol = if allowNegativeValues then rawRelVol else Max(0, rawRelVol);
plot StDevLevel = numDev;

RelVol.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
RelVol.SetLineWeight(3);
RelVol.DefineColor("Above", GetColor(0));
RelVol.DefineColor("Below", GetColor(2));
RelVol.AssignValueColor(if RelVol >= numDev then RelVol.Color("Above") else RelVol.Color("Below"));
StDevLevel.SetDefaultColor(GetColor(7));
StDevLevel.SetStyle(Curve.SHORT_DASH);

### Time Segmented Value

input length = 18;
input avgLength = 10;

#TSV=(Sum( IIf( C > Ref(C,-1), V * ( C-Ref(C,-1) ),
# IIf( C < Ref(C,-1),-V * ( C-Ref(C,-1) ), 0 ) ) ,18));

def TSV = sum( if close > close[1] then volume * (close - close[1]) else if close < close[1] then -1* volume *(close - close[1]) else 0, length);

#Plot TSVAvg = Average( TSV,2);
##TSVAvg.SetDefaultColor(Color.GREEN);
#TSVAvg.SetLineWeight(3);
#TSVAvg.AssignValueColor(color.blue);
#TSVAvg.SetStyle(Curve.MEDIUM_DASH);
##TSVAvg.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);

Plot TSVAvg2 = Average(TSV, avglength);
TSVAvg2.SetLineWeight(3);
TSVAvg2.AssignValueColor(color.yellow);
TSVAvg2.SetStyle(Curve.FIRM);
#TSVAvg2.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);

plot ZeroLine = 0;
ZeroLine.SetLineWeight(2);
ZeroLine.SetDefaultColor(Color.RED);
ZeroLine.SetStyle(Curve.SHORT_DASH);

plot TSV2 = TSV;

#TSV.SetDefaultColor(GetColor(1));
TSV2.SetLineWeight(1);
TSV2.AssignValueColor(if close > close[1] then color.green else color.red);
TSV2.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);

def tt = TSV / TSVAvg2;
#tt.SetLineWeight(3);
#tt.AssignValueColor(color.yellow);
#tt.SetStyle(Curve.SHORT_DASH);

AddLabel(yes, Round(tt, 2), if TSV > TSVAvg2 then if close > open then color.dark_green else color.yellow else color.white);

### Time Segmented Value Ratio:

input length = 18;
input avgLength = 10;

#TSV=(Sum( IIf( C > Ref(C,-1), V * ( C-Ref(C,-1) ),
# IIf( C < Ref(C,-1),-V * ( C-Ref(C,-1) ), 0 ) ) ,18));

def TSV = sum( if close > close[1] then volume * (close - close[1]) else if close < close[1] then -1* volume *(close - close[1]) else 0, length);

#Plot TSVAvg = Average( TSV,2);
##TSVAvg.SetDefaultColor(Color.GREEN);
#TSVAvg.SetLineWeight(3);
#TSVAvg.AssignValueColor(color.blue);
#TSVAvg.SetStyle(Curve.MEDIUM_DASH);
##TSVAvg.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);

def TSVAvg2 = Average(TSV, avglength);

plot ZeroLine = 0;
ZeroLine.SetLineWeight(2);
ZeroLine.SetDefaultColor(Color.RED);
ZeroLine.SetStyle(Curve.MEDIUM_DASH);

#def TSV2 = TSV;

plot tt = TSV / TSVAvg2;
tt.SetLineWeight(3);
tt.AssignValueColor(color.yellow);
tt.SetStyle(Curve.SHORT_DASH);```

Hello @hhashim1,
They will be added to the list of indicators to be included. However, I can not guarantee they will be implemented any time soon unfortunately unless you or someone else is willing to do it. I am knee deep in unresolved Issues and prior indicator requests with little to no support from other users or developers. 😞 To that end, it has been labeled as another Help Wanted case.
Kind Regards,
KJ

@hhashim1,
Upon review of RelativeVolumeStDev source, it is essentially the zscore of volume input and therefore is no need to implement a separate indicator for this.
df = # ohlcv
df["relvolstd"] = ta.zscore(df["volume"], length=60) # with negative values
# OR
df["relvolstd"] = ta.zscore(df["volume"], length=60).abs() # with positive values
print(df)

Kind Regards,
KJ

Hey Kevin,
Thanks for getting back to me. I can definitely help with creating
indicators (at least the ones I have asked for). If you could give me a
quick 5 mins crash course on do's and dont's of your library, I can
definitely help out with that. I might also be able to help with other
indicators and aspects of the library.
Let me know when you have some time to chat about the next steps.
Hussain Hashim
512-277-0263 (Mobile)
@.***
On Tue, Nov 16, 2021 at 10:46 AM Kevin Johnson @.***>
wrote:

Hello @hhashim1 https://github.com/hhashim1,
They will be added to the list of indicators to be included. However, I
can not guarantee they will be implemented any time soon unfortunately
unless you or someone else is willing to do it. I am knee deep in
unresolved Issues and prior indicator requests with little to no support
from other users or developers. 😞 To that end, it has been labeled as
another Help Wanted case.
Kind Regards,
KJ
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twopirllc/pandas-ta/issues/431#issuecomment-970460493,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO7RTYKGJFMYR2JS6M5SCCDUMKDHRANCNFSM5IDH6PTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@twopirllc let me know if you need additional help with new development. I have some friends who have some bandwidth and are good at this kind of stuff. I can definitely ask them if they are willing to help out and take your lib to the next step.

@hhashim1,

Thanks for getting back to me.
👍🏼

I can definitely help with creating
indicators (at least the ones I have asked for). If you could give me a
quick 5 mins crash course on do's and dont's of your library, I can
definitely help out with that

Great! 😎  To that end...

Have your friends read this comment to see if they are interested in contributing. 😎
Install Python packages of TA Lib (if possible), yfinance, stochastic, and other suggested packages.
Install the development branch of Pandas TA.$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

Get familiar with the organization of the code base.
Be able to run all the example Jupyter Notebooks.
Here is a Roadmap for features, indicators #299. Look it over. It needs some editing, but those are some things that I would like to achieve.

I recommend reading #355 and trying to implement Time Segmented Value described above. The hardest part will be the core logic of the desired indicator and not necessarily integrating the indicator into the library (easy part). Please let me know if the guide is not clear enough.
After adding an indicator to the library, consider working on #404. It is a simple way to improve the library without worrying about breaking indicator calculations.
Go through the outstanding Issues that have labels such as Good First Issue, Help Wanted and Bug and try to resolve the Issues with separate Pull Requests.

Do not feel overwhelmed!

Cheers!
KJ

Hey, count me in! I will download the development repo and start looking at
the structure. In the meantime, I will also ask my friend.
By the way, I have already updated the code to use Polygon as a data source
on top of AlphaAdvantage and Yahoo. My friend wrote a library for Polygon
and I have used his as he makes it super easy. He is working on making his
library the official Polygon library :-)
By the way, is it possible to have a Discord server for discussion and
support? I think its much faster and you won't be the one to be knee-deep
in answering questions. You will have other members who can always chime
in. You also have your collabs who can help.
Think about it. I am a member of a couple of other discord servers that are
support systems for other libraries and it makes it much easier on the
owner.
Let's talk! Oh, you can email me directly. I emailed you last night so you
can respond to my personal email.
On Tue, Nov 16, 2021 at 4:55 PM Kevin Johnson @.***>
wrote:

@hhashim1 https://github.com/hhashim1,
Thanks for getting back to me.
👍🏼
I can definitely help with creating
indicators (at least the ones I have asked for). If you could give me a
quick 5 mins crash course on do's and dont's of your library, I can
definitely help out with that
Great! 😎 To that end...

Have your friends read this comment to see if they are interested in
contributing. 😎
Install Python packages of TA Lib (if possible), yfinance,
stochastic, and other suggested packages.
Install the development branch of Pandas TA.

$ pip install -U @.***

Get familiar with the organization of the code base.
Be able to run all the example Jupyter Notebooks
https://github.com/twopirllc/pandas-ta/tree/main/examples.
Here is a Roadmap for features, indicators #299
https://github.com/twopirllc/pandas-ta/issues/299. Look it over. It
needs some editing, but those are some things that I would like to achieve.

I recommend reading #355
https://github.com/twopirllc/pandas-ta/issues/355 and trying to
implement Time Segmented Value described above. The hardest part
will be the core logic of the desired indicator and not necessarily
integrating the indicator into the library (easy part). Please let me know
if the guide is not clear enough.
After adding an indicator to the library, consider working on #404
https://github.com/twopirllc/pandas-ta/issues/404. It is a simple
way to improve the library without worrying about breaking indicator
calculations.
Go through the outstanding Issues that have labels such as Good
First Issue, Help Wanted and Bug and try to resolve the Issues
with separate Pull Requests.

Do not feel overwhelmed!

Cheers!
KJ
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twopirllc/pandas-ta/issues/431#issuecomment-970770141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO7RTYJOQ2IX2TKAUUMZ7YDUMLONXANCNFSM5IDH6PTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@hhashim1,
Great!
I am trying to get some of this done in the free time, so please be patient.

By the way, I have already updated the code to use Polygon as a data source
on top of AlphaAdvantage and Yahoo. My friend wrote a library for Polygon
and I have used his as he makes it super easy. He is working on making his
library the official Polygon library :-)

Great! Looking forward to it. A Polygon wrapper would be a nice additional resource. 😎

By the way, is it possible to have a Discord server for discussion and
support? I think its much faster and you won't be the one to be knee-deep
in answering questions. You will have other members who can always chime
in. You also have your collabs who can help.

Think about it. I am a member of a couple of other discord servers that are
support systems for other libraries and it makes it much easier on the
owner.

Sure. I can set up a Discord server, but only for serious collaborators. Once Pandas TA
reaches a level of maturity and hopefully low maintenance, I may consider opening it up
to users. 🤷🏼♂  Time will tell.

Let's talk! Oh, you can email me directly. I emailed you last night so you
can respond to my personal email.

We will. 😎
KJ

hey @twopirllc

A Polygon wrapper would be a nice additional resource

As Hashim mentioned a friend of his wrote a wrapper for polygon.io as s data source, I am that friend :D
The lib is public alpha (v0.9.6) and I'm holding off production release v1.0.0 until the polygon lib team reaches out (I'm in conversations with Quinton, their CEO on slack and they have some internal things to do before the integration.
hashim and I (well more like Hashim alone :D ) is working towards adding that lib as a data source since polygon is a very fine data provider.

Sure. I can set up a Discord server, but only for serious collaborators.

If you wish, feel free to use the server I have setup for polygon lib support. I would create a private collab channel where only we three can see/send msgs (hashim is already a part of it). Once you feel the lib is mature enough to have its own server, feel free to create one or just open up that channel for public, however you wish.
Hashim mentioned to me yday about his convo with you in #431 . and we decided to help however we can :)

Hi @twopirllc,

As Hashim mentioned a friend of his wrote a wrapper for polygon.io as s data source, I am that friend :D
The lib is public alpha (v0.9.6) and I'm holding off production release v1.0.0 until the polygon lib team reaches out (I'm in conversations with Quinton, their CEO on slack and they have some internal things to do before the integration.

Nice to meet you! 😎 I connected the dots. 😁
Awesome! Congrats on getting included with Polygon integration with your library. 🥂

hashim and I (well more like Hashim alone :D ) is working towards adding that lib as a data source since polygon is a very fine data provider.

True. Long ago for my first Open Source Python package, I wrote an AlphaVantage API wrapper. Sadly I still haven't integrated it yet with Pandas TA. In due time.

If you wish, feel free to use the server I have setup for polygon lib support. I would create a private collab channel where only we three can see/send msgs (hashim is already a part of it). Once you feel the lib is mature enough to have its own server, feel free to create one or just open up that channel for public, however you wish. I don't have many members since I only published it a few days back.

Cool! I will join up soon!

Hashim mentioned to me yday about his convo with you in #431 . and we decided to help however we can :)

Cool! 😎  Thanks!
KJ


What are you using to ensure app integrity under iOS?

Avoid duplicates

[X] Question is not already answered in the FAQ
[X] Question is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Question has not already been asked in another issue

Your Question
Which API/tool are you using to check the app's integrity under iOS? I searched the code with the term "DCAppAttestService", as this is the standard method for doing such checks under iOS (Apple Developer link), however, I didn't find anything. So I wonder what API/tool are you actually using to check the app's integrity here?

The DeviceCheck API is used
https://developer.apple.com/documentation/devicecheck
https://github.com/corona-warn-app/cwa-app-ios/blob/release/3.1.x/src/xcode/ENA/ENA/Source/Services/PPAccessControl/PPACDeviceCheck.swift

Thanks Thomas, closing as answered!


Clarify how to remove multiple legal hold tags with az storage container legal-hold [clear|set]

I'm using az storage container legal-hold clear to remove legal hold tags on a Blob Storage container. Quoting part of the help text:
$ az storage container legal-hold clear --help

Command
    ...

Arguments
    --tags          [Required] : Each tag should be 3 to 23 alphanumeric characters and is
                                 normalized to lower case.
    …

The name "tags" implies that this argument can be used to delete multiple tags in one go – rather than running multiple commands, running one tag at a time – but it wasn't clear to me how you're meant to do this.
I found out by searching the repo and discovering a test that deletes multiple tags, but it could be clearer from the help text/documentation:
https://github.com/Azure/azure-cli/blob/a2f2ec07c93e46103d703f98710e5756acfab085/src/azure-cli/azure/cli/command_modules/storage/tests/latest/test_storage_container_legal_hold.py#L29-L31
The same seems to be true of the set command.
Environment Summary
macOS-10.14.6-x86_64-i386-64bit
Python 3.8.5
Installer: HOMEBREW

azure-cli 2.10.1 *

Additional Context

storage

Hi @alexwlchan , I have tested the feature and it works as expected:
❯ az storage container legal-hold set --account-name xxxxx -c test --tags aaa bbb cccc -g zuh
{
  "hasLegalHold": true,
  "tags": [
    "aaa",
    "bbb",
    "cccc"
  ]
}

❯ az storage container legal-hold clear --account-name xxxxx -c test --tags aaa bbb cccc -g zuh
{
  "hasLegalHold": false,
  "tags": []
}

If you still have the issue, could you show me the debug info with --debug in the command.

The problem isn’t “setting/clearing multiple tags is broken”, more ”I couldn’t work out how to set/clear multiple tags from the documentation”.


Pass down CMAKE_CXX_FLAGS to external dependency projects

Specify _GLIBCXX_USE_CXX11_ABI for protobuf dependency

nGraph already has a CMake variable for this purpose. Check
https://github.com/NervanaSystems/ngraph/blob/master/CMakeLists.txt#L128-L156


Add left-out nullptr for example code in SetValue

As suggested, SetValue's example code should be checked against nullptr: if( property ) needs to be if( property != nullptr )

Learn Build status updates of commit 5d1363e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/mfc/reference/cmfcpropertygridproperty-class.md
:white_check_mark:Succeeded

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

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

Trying a close/reopen to clear the stuck license/cla check.

Trying another close/reopen to clear the stuck license/cla check.

Learn Build status updates of commit 5d1363e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/mfc/reference/cmfcpropertygridproperty-class.md
:white_check_mark:Succeeded

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

Trying another close/reopen to clear the stuck license/cla check.

Learn Build status updates of commit 5d1363e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/mfc/reference/cmfcpropertygridproperty-class.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit 5d1363e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/mfc/reference/cmfcpropertygridproperty-class.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit 5d1363e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/mfc/reference/cmfcpropertygridproperty-class.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit f4e96df:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: CannotMergeCommit] Cannot merge commit f4e96dff2b6fcdffa75e174dfab3ac9a130652ff in branch patch-3 of repository https://github.com/rtischer8277/cpp-docs into branch main (commit dc882505c7b93bfa2292568281648f6befa4b593). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Yeah, this will take some work. Sit tight.

I'm going to wait on the next merge from the private branch before going any further.

Learn Build status updates of commit f4e96df:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: CannotMergeCommit] Cannot merge commit f4e96dff2b6fcdffa75e174dfab3ac9a130652ff in branch patch-3 of repository https://github.com/rtischer8277/cpp-docs into branch main (commit dc882505c7b93bfa2292568281648f6befa4b593). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 07e9c20:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/mfc/reference/cmfcpropertygridproperty-class.md
:white_check_mark:Succeeded

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


Marathon edit looking for GitHub repo when it shouldn't

If you run marathon edit FooScript it prints this error:
🏃  Cloning https://github.com/FooScript.swift.git...
💥  Failed to download script from 'https://github.com/FooScript.swift.git' (ShellOutError(message: "remote: Not Found\nfatal: repository \'https://github.com/FooScript.swift.git/\' not found", output: ""))
👉  Make sure that the URL is reachable, and that it contains a valid Swift script

It seems like Marathon should know that it shouldn't try to resolve scripts from GitHub unless there is a / in the path (since you won't ever find any repos directly off of https://github.com/, but rather after username/. Marathon assumes right away that if the script doesn't exist at that path it must be a remote repo, which might be too hasty of an assumption.
If you agree @JohnSundell, perhaps we prompt the user that the script doesn't exist and that they can create it using marathon create FooScript.

Yeah, this is a bug. It's a regression caused by https://github.com/JohnSundell/Marathon/pull/76, will fix it 👍 Will also add the prompt like you suggested @clayellis, great idea! 🚀


implement command to handle past messages of a channel

command history

ask for channel id
ask since when or number of messages
ask how to handle duplicates

done in 6655a223504326d8a6cbda9ed8daeee1ac2c5def, needs documentation


Suppress clang warning of "performSelector may cause a leak because its ...

...selector is unknown" with ARC. Assumes that your methodForExecution will not leak memory.

I've merged this fix from https://github.com/matej/MBProgressHUD/commit/49a531e7f7e4a3678bbf5495cfc69025e07933b1

Totally missed that commit; thanks.


using jboss datasource

Hi,
Is it possible to connect via jndi to the jboss datasource using application.conf?
Thanks

Did you try ?

yes. not working...can you confirm that?

I hava never tried! :)
Symptoms ? Stacktraces ?

symptoms: no documentation :(

I have posted a question here:
https://groups.google.com/forum/#!searchin/play-framework/jboss$20jndi/play-framework/FdSvRqO4lhA/RBAzZZGegmcJ
still I can't solve it.
do you have any ideas?

Hi found https://github.com/play2war/play2-war-plugin/issues/218 but can't find a way out.


libarchive: disable cpio file-access-time related tests

Description of changes
These are mysteriously flakey on some peoples darwin systems, which could be the result of stray accesses or timezone issues.
See discussion in #171016
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I will double check this, I definitely have that kind of processes running on this laptop, but I have another laptop I can test on.

Tested it on a laptop that doesn't have such processes and can confirm it builds correctly.


I can't import lib without lib

Hey. Did you find any solutions?

nothing, but for now I'm using another bot that I've always had to adjust according to my needs

can you share the bot?

Bro, I'm refining the CAPTCHA solving system and other small flaws that make the gaming experience unpleasant;  As soon as I finish I'll put everything on GitHub at a base price of €25 for Hunting + Captcha + Autobuy (balls).  Then later I will also try my hand at implementing a bot solely for fishing

Paid bots alr exist bro

and?


AmbiguousConfigurationSelectionException with .module dependency

Expected Behavior
Projects that produce the a .module metadata file should be able to produce a backwards compatible pom file without causing ambiguity issues in the variant aware downstreams.
Current Behavior
The consuming project gets stuck trying disambiguate between identical variant entries in the .module directory. The error message is also poor in that it shows the following:
Cannot choose between the following variants of com.trevjonez:and-lib:0.1.0: releaseApi
All of them match the consumer attributes: Variant 'releaseApi':

In this case there is two instances of releaseApi listed in the variants differing only by the download location, even though the artifact hash's are identical.
Context
I am building a plugin to add variant aware and relatively pain free artifact publishing via the maven-publish gradle plugin. My downstream consumer only works when I omit a base level default configuration, this causes my base level pom file to be generated without dependencies listed.
I could really use some better context on expected behavior of these types of publications. I think I may have thought of a solution as I type this up right now but it might be just a workaround not a solution.
Steps to Reproduce (for bugs)

clone: https://github.com/trevjonez/android-components-plugin
checkout: 88f6f6cdfaad36434ba3c43137d5f983c2c6bfa6
invoke: ./gradlew test
inspect: result of com.trevjonez.AndroidComponentsPluginTest.'app can consume lib'

Your Environment

Test subject project Build scan URL: https://scans.gradle.com/s/ahzivfq7qwkpo/failure?openFailures=WzBd&openStackTraces=WzIse31d#top=0
Top level project build scan URL: https://gradle.com/s/5osx77ljv2cvi
.module file currently generated: https://gist.github.com/trevjonez/2a8646a81f9beea158a1db828939906a

I found a solution (workaround?) that involved creating a legacy variant usage context to attach to my root software component instance that allows a pom to be generated so that it will redirect to the default variant.
I added two more files to the OP .module gist that show the output changes by using the legacy usage. guidance on the right way to handle this situation would be great.

I think this issue is actually pretty severe now that more MPP projects are coming into the fold. This breaks kapt entirely for Kotlin projects right now if any MPP dependencies are on the kapt configuration (transitive or direct), and also breaks some other plugins when resolving configurations.
Kapt issue filed here: https://youtrack.jetbrains.com/issue/KT-31641. Repro steps here https://youtrack.jetbrains.com/issue/KT-33206
Another gradle plugin example: https://github.com/ben-manes/gradle-versions-plugin/issues/334

If I understand correctly the original question:

you want to publish a single Android lib with debug and release flavors, mixed with api and runtime variants,
for that, you will produce different Maven GAVs but all grouped under a single aggregated GAV so that, for Gradle, resolution can happen with .module metadata,
but you still want the root Maven GAV to default to a variant and include the necessary information?

This clearly goes beyond the default .module <-> POM file mapping that Gradle does.
I think the easiest path is to actually modify the generated POM file in the root module so that it references what you pick as the default variant to resolve. So effectively aiming for your gist modification but without the legacy variant appearing the .module file.
Because you do all this in a plugin, from deciding what is published to how, it is the easiest and shortest path.
The only think I could see Gradle doing here is fail in the case you try publishing 2 variants with the exact same attributes.
@ZacSweers I do not think the two issues are related. Here the problem is about creating the .module file, with duplicate variants causing a problem. While the kapt issue looks like a consumption one, where published files are valid, but the consuming configuration is not specific enough about what it needs when faced with MPP libs.

As mentioned in my comment, this is not just a kapt issue. A regular gradle plugin that tries to call resolvedConfiguration on a configuration will receive the same error as mentioned in the original description ("Cannot choose between the following variants of..."). It's unclear what kapt or any other plugin reading configurations are supposed to do in this case. Happy to file a separate issue if you think it's different from this one, but I do believe this is a problem Gradle should solve. Otherwise it's just a land mine for unsuspecting plugins that try to read what looks like a perfectly normal public API.

I'll jump in the conversation on ben-manes/gradle-versions-plugin#334 to try to understand where the error is coming from exactly.
And I confirm my initial analysis: the issue here is a publication one while the other issues linked are consumption ones.
While it may require a fix at the publication site, it is much more likely that plugins will have to adapt to the upcoming features of variant aware dependency management, especially as leveraged by Kotlin MPP projects.

@ljacomet just wanted to say thanks for the detailed explanations on both of the issues I linked above 👍. Hopefully they can get resolved soon with the added context, and apologies for the noise here

Closing as extra validation was added in #10769 and there is no further plan on solving the particular use case described here in core Gradle.


Virtual kubelet cache protection

Description
This commit adds a protection layer to the cache access, preventing the log of several log messages communicating the caches have not been instantiated. Those errors cannot be avoided since they make part of the transitory state of a new mapping operation between two namespaces.

/rebase

/rebase


Feature/check password using hash

Fix "Add a separate test case to verify the CheckPassword method using few existing hash values"

@fedelippo Please rebase your branch

@fedelippo Please rebase your branch

Rebase done

Thanks @fedelippo


TFTRT: Can I specify the computation precision for a specific layer?

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):
1.14

Describe the feature and the current behavior/state.
Support blacklist of ops that cannot use lower precision when converting a graph into tftrt with precision mode of fp16 or int8. Or provide a way to specify a subgraph that cannot be optimized by tftrt.
Who will benefit with this feature?
All users that need a mixed precision of their model and want to optimize the model by tftrt.
Any Other info.
In my product I'm developing a model that needs full precision for a few layers (which include elementwise ops and conv ops). The layers need full precision because they are doing some math computation that cannot sacrifice precision. I also want to use tftrt to optimize the graph because most of other layers can use precision as low as fp16 or int8. However, i cannot find a way in tftrt to specify a blacklist of ops that cannot use lower precision. And there is no way to specify a subgraph that cannot be optimized by tftrt. Tensorrt supports specifying a precision for a layer but my model uses many ops that don't exist in tensorrt so I cannot convert it into tensorrt.
Thank you.
@trevor-m

the only way is thru tf.cast?

@motionlife  I think tftrt will automatically convert all conv ops to use precision mode specified in the graph conversion api, and there is no way to disable tftrt for a subgraph. How can tf.cast solve this?

I believe now it'll fallback to fp16 if int8 is not available, see here. Does this work for you @x10000year ?

@aaroey Yes, that's definitely useful! Then I can force some layer to use fp16. It will be better if there's a way to force some layer to use fp32.

@pooyadavoodi would you please take a look? Thanks.

This feature is currently not supported by TF-TRT.
Since TensorRT supports this already, we can consider adding this feature.
It would require an API such that users can provide a list of ops/subgraphs with their desired precision.
We don't currently have a plan to add this feature.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Some more typehints

Changed pattern typing.Tuple etc to from typing import Any, Callable, Dict, Optional, Tuple. Or was the other pattern intended?
Changed Union[np.ndarray, float] to Sequnce (discussed in #1337)
Some fixes for the rate function Callable[[float], float]

There seems to be an import error in the tests. I think you can try adding the missing module(s) in poetry.


[Rancher2] Conflicting instructions for creating readme file for Charts

Request Summary:
URL: https://rancher.com/docs/rancher/v2.6/en/helm-charts/creating-apps/
It's not clear from the docs, if one needs to create README.md or app-readme.md in the chart.

@leodotcloud They both need to be created, they are not interchangeable. README.md contains all the important information regarding an app like what it does, the values you can set to configure it, cluster requirements, maintainers, etc, whereas app-readme.md is a brief description of the app the UI displays in the app's installation page. The app-readme.md is commonly just a copy of the description of the app and important requirements found in the README.md as that's what we would like a user to see right away.

Closing issue as per @PennyScissors, docs shouldn't need to be updated at this time.


Add ying yang grid

This PR adds a new projection based grid, the ying yang grid. It restructures some of the lambert conformal logic a bit, so Simon should take a look.


Does not render the full table

Hi,
if a dashboard contains a long table (about 3 pages) it is cut after the first page.
Same result with and without "-grid-layout=1"
Any hint how to solve this?
thx & BR
Oliver

This reporter will only give you screenshot of the data you see on UI.
For complete data of a table, I am working on generating a csv out of table and sending it as an attachment along with the pdf in email.
Hope this helps.

Thanks for the hint.
In my case all the data is seen on the UI, but there is a scrollbar (browser scrollbar, not a panel scrollbar).

I am using this to generate SVP and PDF from different data sources.
pure golang, and well used by many projects.
it even supports chart generation and you can then have that in you PDF or SVG.
Am currently using this to monitor nats


Remove Connecting to xxxx from IW when changing kernels

Run a cell
When you get a promtp to select another kernel, select one with ipykernel
Cell runs

However you still end up with the message Connecting to xyz, which is confusing.
Why are we still trying to connect to xyz when I've changed the kernel?

Why are we still trying to connect to xyz when I've changed the kernel?

Isn't this the same as initial startup of the iw? The IW is opened, kernel is auto selected, but it will still say it's connecting to xyz. The message indicates that the extension is launching the underling kernel and fetching specs/help info of the kernel.

Run a cell for kernel xyz
When you get a prompt to select another kernel abc, select one with ipykernel
Cell runs

However you still end up with the message Connecting to xyz, which is confusing.
I think with the refactoring in Dec this may have been fixed.
Let me test this again.

Ideally we should remove Connecting to Python 3.8.12 and replace that with Connecting to golden_scenario... the new kernel.
Also looks like there's a bug now, we don't run the cell at all. THe connecting message comes up after the cell, which is wrong.
Will file a separate issue for that.

/verified


vertical text recognition

First of all, thank you so much for such a wonderful job,but i try to test some vertical text,cannot detect any character,if need some train Specifically for it or model have some defects?

@mathpopo Simultaneous recognition of horizontal and vertical texts in natural scene images is another interesting research topic, which is not covered in this work. For simplicity, most recent STR methods have focused on horizontal texts, and this work also follows the scheme; leaving the problem as a future work (see Section 4.5).
Using this implementation, you may train your own model on vertical texts. However, horizontal and vertical texts have different characteristics. Therefore, it can be harder to get a good model that achieves high performance on both.

@mathpopo Simultaneous recognition of horizontal and vertical texts in natural scene images is another interesting research topic, which is not covered in this work. For simplicity, most recent STR methods have focused on horizontal texts, and this work also follows the scheme; leaving the problem as a future work (see Section 4.5).
Using this framework, you may train your own model on vertical texts. However, horizontal and vertical texts have different characteristics. Therefore, it can be harder to get a good model that achieves high performance on both.

@mathpopo if your model was not trained with vertical texts, the model usually cannot detect any character on vertical texts.
Thus, to recognize vertical texts, you should generate/collect some vertical texts and train with them.
Best


falcoctl-artifact-follow.service crashes after RPM based install

Hi,
Installing falco via RPM on a brand new install ends up with falcoctl-artifact-follow.service repeatedly failing with the error
falcoctl-artifact-follow.service: Failed to set up mount namespacing: /run/systemd/unit-root/usr/share/falco: No such file or directory
(falcoctl)[5475]: falcoctl-artifact-follow.service: Failed at step NAMESPACE spawning /usr/bin/falcoctl: No such file or directory

This is based on an OpenSUSE Tumbleweed installation,
Creating the empty directory /usr/share/falco fixes the problem.
This empty directory should be included in the RPM package.

The systemd service file /usr/lib/systemd/system/falcoctl-artifact-follow.service  expects to have read-write access to /usr/share/falco, however that directory is not part of the RPM based install, and is not created as a post installs script, so the service repeatedly fails.

Install the RPM installation on a brand new openSUSE system (probably the same for any RPM based distro)
start falco services
monitor logs via systemctl -lf and observe

Feb 20 14:10:30 cat.snc.me.uk systemd[1]: Started Falcoctl Artifact Follow: automatic artifacts update service.
Feb 20 14:10:30 cat.snc.me.uk (falcoctl)[5441]: falcoctl-artifact-follow.service: Failed to set up mount namespacing: /run/systemd/unit-root/usr/share/falco: No such file or directory
Feb 20 14:10:30 cat.snc.me.uk (falcoctl)[5441]: falcoctl-artifact-follow.service: Failed at step NAMESPACE spawning /usr/bin/falcoctl: No such file or directory
Feb 20 14:10:30 cat.snc.me.uk systemd[1]: falcoctl-artifact-follow.service: Main process exited, code=exited, status=226/NAMESPACE
Feb 20 14:10:30 cat.snc.me.uk systemd[1]: falcoctl-artifact-follow.service: Failed with result 'exit-code'.

Expected behaviour
service to keep running.

Environment

Falco version:

Tue Feb 20 14:13:24 2024: Falco version: 0.37.1 (x86_64)

# rpm -qa |grep falco
falco-0.37.1-1.x86_64

System info:

{
  "machine": "x86_64",
  "nodename": "worker1.mydomain",
  "release": "6.7.4-1-default",
  "sysname": "Linux",
  "version": "#1 SMP PREEMPT_DYNAMIC Tue Feb  6 05:32:37 UTC 2024 (01735a3)"
}

Cloud provider or hardware configuration:
n/a

OS:

# cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20240216"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20240216"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
# CPE 2.3 format, boo#1217921
CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20240216:*:*:*:*:*:*:*"
#CPE 2.2 format
#CPE_NAME="cpe:/o:opensuse:tumbleweed:20240216"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"

Kernel:

> uname -a
Linux worker1.snc.me.uk 6.7.4-1-default #1 SMP PREEMPT_DYNAMIC Tue Feb  6 05:32:37 UTC 2024 (01735a3) x86_64 x86_64 x86_64 GNU/Linux

Installation method:
RPM based install

Additional context

Hi! Thanks for opening this issue and also for tracking down the root cause.
This is because in 0.37.0 Falco dropped bundled plugins (ie: plugins shipped within the deb/rpm/tar.gz packages), therefore we don't have /usr/share/falco created by default anymore.
cc @alacuku should we let Falcoctl create the folder for us, if it is non-existent? Or should Falco create the folder empty?

/assign

The directory has to be there for systemd to start the binary.
It should probably be packaged as an empty dir in the RPM package, or created by the RPM post-install script.

Opened the fixing PR! Thank you very much!
/milestone 0.38.0


form-recognizer error in docs

In code sample for "Analyze the form layout" content type is shown as application/json... this is invalid for the call as we are sending a byte stream, not json, change to application/octet-stream and the code then works.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 02b5c013-5dc0-f414-e201-e9f5576ceebf
Version Independent ID: e12aa506-55d8-8a29-fd31-61a672c49073
Content: Quickstart: Extract text and layout information using Python - Form Recognizer - Azure Cognitive Services
Content Source: articles/cognitive-services/form-recognizer/quickstarts/python-layout.md
Service: cognitive-services
Sub-service: forms-recognizer
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

https://github.com/MicrosoftDocs/azure-docs/pull/64636

@realAngryAnalytics
Thanks for the feedback! We are currently investigating and will update you shortly.

@realAngryAnalytics Thanks for the feedback again, I will reach out to the author for the PR review.
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Generate your cache please

i keep getting this message, I'm not sure what to do.
there is no path '/Volumes/Transcend/VCTK-Corpus/'
should i create it and put the dropbox file in it?
{'AUDIO': {'SAMPLE_RATE': 8000,
'VCTK_CORPUS_PATH': '/Volumes/Transcend/VCTK-Corpus/'}}
Initializing AudioReader()
audio_dir = /Volumes/Transcend/VCTK-Corpus/
sample_rate = 8000
speakers_sub_list = ['p225']
Nothing found at /tmp/tensorflow-ctc-speech-recognition/. Generating all the caches now.
Traceback (most recent call last):
File "generate_audio_cache.py", line 18, in
generate()
File "generate_audio_cache.py", line 14, in generate
speakers_sub_list=speakers_sub_list)
File "/Users/XXXX/Desktop/file/ctc-speech/audio_reader.py", line 59, in init
assert len(files) != 0, 'Generate your cache please.'
AssertionError: Generate your cache please.

Ive just received your email. You have to generate your cache first by running:
python3 generate_audio_cache.py

Make sure you download the relevant files beforehand: https://www.dropbox.com/s/xecprghgwbbuk3m/vctk-pc225.tar.gz?dl=1


[vcpkg - bootstrap] openSUSE 15.2 - Unknown escape sequence

Describe the bug
Unknown escape sequence warnings when running bootstrap-vcpkg.sh
Environment

OS: [Linux - openSUSE 15.2 WSL2 and Hyper-V]
Compiler: gcc (SUSE Linux) 9.3.1 20200406 [revision 6db837a5288ee3ca5ec504fbd5a765817e556ac2]

To Reproduce
Steps to reproduce the behavior:

$ git pull

$ ./bootstrap-vcpkg.sh --disableMetrics
-- The CXX compiler identification is GNU 9.3.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting the C++ compiler in use
-- Detecting the C++ compiler in use - gcc
-- Detecting the C++ standard library
-- Detecting the C++ standard library - libstdc++
-- Detecting how to use the C++ filesystem library
-- Detecting how to use the C++ filesystem library -
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ac-130h/git/vcpkg/toolsrc/build.rel
[0/2] Re-checking globbed directories...
[27/80] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/build.cpp.o
../src/vcpkg/build.cpp: In function ‘std::string vcpkg::Build::create_user_troubleshooting_message(const vcpkg::PackageSpec&)’:
../src/vcpkg/build.cpp:1092:33: warning: unknown escape sequence: '/'
1092 |         auto vcpkg_update_cmd = "./vcpkg";
|                                 ^~~~~~~~~~
[48/80] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/commands.version.cpp.o
../src/vcpkg/commands.version.cpp: In function ‘void vcpkg::Commands::Version::warn_if_vcpkg_version_mismatch(const vcpkg::VcpkgPaths&)’:
../src/vcpkg/commands.version.cpp:67:38: warning: unknown escape sequence: '/'
67 |                     auto bootstrap = "./bootstrap-vcpkg.sh";
|                                      ^~~~~~~~~~~~~~~~~~~~~~~
[57/80] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/dependencies.cpp.o
../src/vcpkg/dependencies.cpp: In member function ‘vcpkg::Dependencies::{anonymous}::Cluster& vcpkg::Dependencies::ClusterGraph::get(const vcpkg::InstalledPackageView&)’:
../src/vcpkg/dependencies.cpp:263:41: warning: unknown escape sequence: '/'
263 |                 auto vcpkg_remove_cmd = "./vcpkg";
|                                         ^~~~~~~~~~
[69/80] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/update.cpp.o
../src/vcpkg/update.cpp: In function ‘void vcpkg::Update::perform_and_exit(const vcpkg::VcpkgCmdArguments&, const vcpkg::VcpkgPaths&)’:
../src/vcpkg/update.cpp:81:30: warning: unknown escape sequence: '/'
81 |             auto vcpkg_cmd = "./vcpkg";
|                              ^~~~~~~~~~
[75/80] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/sourceparagraph.cpp.o
../src/vcpkg/sourceparagraph.cpp: In function ‘void vcpkg::print_error_message(vcpkg::Span<const std::unique_ptrvcpkg::Parse::ParseControlErrorInfo >)’:
../src/vcpkg/sourceparagraph.cpp:185:30: warning: unknown escape sequence: '/'
185 |             auto bootstrap = "./bootstrap-vcpkg.sh";
|                              ^~~~~~~~~~~~~~~~~~~~~~~
[80/80] Linking CXX executable vcpkg

Expected behavior
./bootstrap-vcpkg.sh should run with no errors/warnings.
Failure logs

No Logs

Additional context
Ran bootstrap-vcpkg.sh after yesterday's changes (08/19/2020) there were no errors, after today's (08/20/2020) updates the warnings/errors occur. No updates to openSUSE have been made since Saturday (08/15/2020).

Update, to rule out a corrupted fork and/or instance:

I deleted my fork copy of vcpkg and re-forked it again
I deleted the vcpkg instances from both the WSL2 and Hyper-V openSUSE linux machines
I re-cloned the vcpkg instance from my forked copy
I ran bootstrap-vcpkg.sh --disableMetrics on both with same errors.
My Windows instances of vcpkg (cloned from the same forked copy of vcpkg) did not have these errors when running .\bootstrap-vcpkg.bat -verbose -disableMetrics -win64 -withVSPath "'%VCPKG_VISUAL_STUDIO_PATH%'" 2 each one prod, one test for each VS2017 and VS2019

See https://github.com/microsoft/vcpkg/commit/680b2928a1b7173f7fcb420612f5536a192f9ca3#r41619715 this was brought up in the original PR #12976 by @qis but somehow was not corrected before these changes were committed to master???

@StarGate-One Nah, I sneaked in that comment after reading those warnings when compiling master. It looked harmless and I was too lazy to create a PR. ^_^

@StarGate-One Nah, I sneaked in that comment after reading those warnings when compiling master. It looked harmless and I was too lazy to create a PR. ^_^

LOL - but I personally think with the introduction of the "new warnings" should have been caught and corrected before it was committed ^_^.
.

@StarGate-One, It's my fault, sorry for the mistake!
Fixed by PR https://github.com/microsoft/vcpkg/pull/13043

The PR has been merged, please get latest source and try again.


ppc64le support for Quay Operator (PROJQUAY-5372)

Builds and deploys successfully on ppc64le OCP clusters by running ./hack/build.sh and then ./hack/deploy.sh
e2e tests pass for all quay-registry builds
Dockerfile supports amd64, ppc64le image operator builds
Makefile runs e2e tests for amd64, ppc64le environments
build.sh has updated amd64, ppc64le supported tag dependencies (quay, quay-builder, quay-builder-qemu clair, redis, postgres)

Updated build.sh and image.yaml to support multi-arch builds.
Have been tested successfully.
Removed s390x tag to let Z test and add themselves

Finalized build.sh to have proper multi-arch build for index image. Each arch image build for index image pulls correct bundle image before manifesting into one multi-arch image


Allow extending and shrinking of public IP address range

Currently, there is not API to update or shrink/expand the public IP range for an advanced zone. Add an API to allow that.
ISSUE TYPE

Feature Idea

COMPONENT NAME

API, public ip address

CLOUDSTACK VERSION

4.9, 4.11, master

A good addition. +1

A good addition. +1

is that you volunteering, @Spaceman1984 ?

@nvazquez maybe someone can be assigned to continue PR3997 to completion?

PR #5411 continuing work from PR 3997


Vector layer with a raster overlay (raster overlay not visible)

How to reproduce

Leaflet version I'm using: 1.3.1
Browser (with version) I'm using: Latest Chrome
OS/Platform (with version) I'm using: Windows 10
Create a leaflet map and use a vector layer with leaflet mapbox gl. Add a second raster overlay

What behaviour I'm expecting and which behaviour I'm seeing
I expect raster overlay is projected over the vector layer, but raster layer isn't visible anymore. Is this a bug?
var Lmap = L.map('map', {

    maxBounds: L.latLngBounds(L.latLng(49.4227, 2.2749), L.latLng(51.6633, 6.5815)),
    minZoom: 8,
    maxZoom: 18
});

var gl = L.mapboxGL({
    attribution: '© OpenMapTiles © OpenStreetMap contributors © MapTiler',
    accessToken: 'not-needed',
    style: 'https://maps.tilehosting.com/styles/topo/style.json?key=xxx'
});

var network_overlay = L.tileLayer('https://xxx.com/geoserver/gwc/service/gmaps?layers=nodemapp-public-with-cache&zoom={z}&x={x}&y={y}', {

    opacity: 0.7

});

gl.addTo(Lmap);
network_overlay.addTo(Lmap);

This is by design — please see this tutorial https://leafletjs.com/examples/map-panes/


10 display data

Thanks for doing that, code is much cleaner now. One thing i noticed inside of Squeak is that when a Mensa has no Meals yet. The canteenMorph doesn't extend to the full width of the other/the widget

But i guess that problem resolves itself, if there will be a meal stating that there are no meals


Not possible to add ClientCertificate with the request

Hi,
I'm working on a Xamarin project where we need to achieve two factor authentication using client certificate + user credentials.
I order to do that, we want  to "attach" a client certificate with the requests (https).
For example:
Using HttpWebRequest it could be achieved as following:
HttpWebRequest webRequest = WebRequest.CreateHttp(testUrl);
var cert = GetTheCertificate();       //some code getting a locally stored client certificate
webRequest.ClientCertificates.Add(cert);
Using HttpClient it could be achieved by using a WebRequestHandler as following:
var cert = GetTheCertificate();       //some code getting a locally stored client certificate
var handler = new WebRequestHandler();
handler.ClientCertificateOptions = ClientCertificateOption.Manual;
handler.ClientCertificates.Add(cert);
var client = new HttpClient(handler);
var request = new HttpRequestMessage(HttpMethod.Get, testUrl);
In ModernHttpClient,
The NativeMessageHandler has the "ClientCertificateOptions" property
but the "ClientCertificates" property is not present.
The possibility to add a Client Certificate seems to be missing.

I can see that it is not a new issue:
https://github.com/paulcbetts/ModernHttpClient/issues/48
Nowadays is Client Certificates not longer a "niche scenario" but a must have.
Did @rossdargan solution described on issue 48 have ever been fully implemented?


update recommendations API optimalquery to fetch results

The general strategy involves initially attempting the optimal query;
if the sum of duration is not matched and rowscount > optimal query count, then considering an alternative suboptimal query.
optimal query
        select *  from kruize_results k1_0 where k1_0.experiment_name=? and k1_0.interval_start_time>=? and k1_0.interval_end_time<=? order by k1_0.interval_end_time desc fetch first ? rows only
here   interval_start_time = interval_end_time - (LONG_TERM_DURATION_DAYS + THRESHOLD 10 days)
suboptimal query
      select *  from kruize_results k1_0 where k1_0.experiment_name=? and k1_0.interval_end_time<=? order by   k1_0.interval_end_time desc fetch first ? rows only
Row Limit is
        (LONG_TERM_DURATION_DAYS * 60) mins /  TrialSetting.mesurment_durationMinutes

Closing stale PRs


Added json task launch file for VSCode

Also added  “src/pip-delete-this-directory.txt” and “src/pyqtgraph-0.11.0.dev0/” to .gitignore.
Sid

Looks good!  Thank you @sidprice!


update libvirt configuration step for new releases

should LIBVIRT_BUILD point to LIBVIRT_SOURCE/build on 6.7+?

No, I have follow-up patches that allowed me to complete the go generate workflow, and after seeing your comment it made me realize that it would be better if I just rolled them up into one PR instead of trying to get them merged separately, otherwise the README might be misleading if this merges as is.


Replace FileHelper::filterPath to PathMatcher

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
✔

Fixed issues
#20

CsrfToken::getValue() used to get token for send via request. Missing token should throw an exception, not generate a new token.

This pull request seems to be alright but usage should be checked/adjusted in assets package, AssetPublisher.

This pull request seems to be alright but usage should be checked/adjusted in assets package, AssetPublisher.

Done: https://github.com/yiisoft/assets/pull/48

Good one. Thank you!


Upgrade vulnerable dependencies

This PR:

Specifies node 8 for development
Uses an npm 6 lockfile
Upgrades mocha
Upgrades gulp
Fixes some vulnerabilities automatically with npm audit fix
Upgrades coveralls
Upgrades eslint, which includes:

Bumping eslint-config-airbnb
Adding eslint-plugin-import
Fixing a bunch of new linting rules/errors, mostly using eslint . --fix. Hence the heap of changes.
Setting a number of new linting rules to disabled in the .eslintrc. It would be good to enable these rules later on, but for now there are too many to go through in one PR.

Fixes a typo, which was probably causing a small bug in logging
Sets inquirer to a version that exists in the npm registry. The version was set to 1.3.0 for in the package-lock.json for some reason, which is not a real version 😕

There are two more vulnerabilities to sort:

nsp > cli-table2 > lodash - for which I think we should just remove the audit functionality until we get around to https://github.com/tes/bosco/issues/250
knox > debug

Coverage remained the same at 81.275% when pulling 919b4998cb1c72f9f400fd6d4c9ccc6fff626d3b on patch_vuln into 2772b171776709b5f3480c1c65388230c4e20568 on master.

Released as 0.5.122.


cache-control always includes private even if fetch has no credentials

Describe the bug
I'm filing this in as a bug simply because it's either a bug in the project or misleading documentation.
So when using the maxage attribute on the load function, SvelteKit builds the cache-control header into that page. According to the documentation: The resulting cache header will include private if user data was involved in rendering the page (either via session, or because a credentialled fetch was made in a load function).
My goal is to just cache the page that uses a fetch request with no user data. Seems that SvelteKit is forcing the private in cache-control just by using fetch.
	export async function load({ fetch }) {
		const res = await fetch('/covidData.json');

		if (res.ok) {
			const data = await res.json();

			return {
				props: {
					data: await new CovidData(data[0], data[1])
				},
				maxage: 3600
			};
		}
	}

This page will always include private in the response header.
If I don't use fetch from the load function, then it includes public.
Logs
No logs for this, but here is a screenshot of the browser response header:

To Reproduce
Just build out a simple page that makes a fetch request, then pass in a maxage to the load response. Check in the browser's dev tools that the response cache-control headers will always include private.
This is happening both on dev(svelte-kit dev) and prod (svelte-kit start).
Expected behavior
If fetch is being used without custom headers then perhaps we should not set the cache-control to private. Ideally, private should only be included if we pass in parameters to fetch, but I see that being a brittle solution. Maybe we could override it somehow, with a private: false on the load response? Or just being able to return fully custom headers on load.
Information about your SvelteKit Installation:

The output of npx envinfo --system --npmPackages svelte,@sveltejs/kit --binaries --browsers

  System:
    OS: Linux 5.8 Pop!_OS 20.10
    CPU: (12) x64 AMD Ryzen 5 1600X Six-Core Processor
    Memory: 7.84 GB / 15.63 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 14.15.3 - ~/.asdf/installs/nodejs/14.15.3/bin/node
    Yarn: 1.22.5 - /usr/bin/yarn
    npm: 6.14.9 - ~/.asdf/installs/nodejs/14.15.3/bin/npm
  Browsers:
    Firefox: 86.0.1
  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.64
    svelte: ^3.29.0 => 3.36.0

Browser
Brave

Svelte Kit Adapter
Node, but will switch to Netlify before going into prod.

Severity
I'm just trying out SvelteKit for fun, I think it's an awesome project. But this bug basically makes the usage of this project a bit hard for me, at work and in freelancing scenarios. Without being able to cache pages that make "public" fetch requests on the load function, I'm basically forcing myself to consistently pay for serverless executions, instead of caching said page for the specified maxage. This is because no cloud provider will cache pages with private in the cache-control.
Additional context
The use case for this is a classically SSR page that contains the latest updates to Covid numbers in Portugal. I want the page to be server-rendered but the results cached by an hour so I serve that from the CDN instead of hitting the serverless function on Netlify over and over.

Well well, was looking through the project code, and realized a non-credentialed request actually means, which makes sense with the regular fetch API.
https://github.com/sveltejs/kit/blob/a59fbd07caa3fbee22b8c4abbf065be623c774d4/packages/kit/src/runtime/server/page.js#L89
Internally it basically does:
		if (opts.credentials !== 'omit') {
			uses_credentials = true;
		}

If I change my fetch call on load to:
await fetch('/covidData.json', { credentials: 'omit' });

The cache-control is then public.
So I guess this is working as expected, but we could use some more clarity in the docs in my opinion.

I wonder if there's an opportunity to be slightly smarter here. Perhaps the check should be if (has_cookies && opts.credentials !== 'omit') instead of just if (opts.credentials !== 'omit')

I'm getting private even with credentials: 'omit'. Running with adapter-node

Okay... I figured out why.
My code was like this, destructing the args to Load as per the example
export const load: Load = async ({ page, fetch, session, context }) => {

However, pulling in session (even though it was unused) I think triggered this check https://github.com/sveltejs/kit/blob/42dc6b30139257952f92f8803a16b8139babb246/packages/kit/src/runtime/server/page.js#L270-L273.
I've fixed it by only destructuring page & fetch but it was a bit of a headscratcher for a while.

The other issue that credentials: 'omit' breaks cloudflare pages https://github.com/sveltejs/kit/issues/3728
So serverside fetch can't use omit at all, making impossible to set cache-control public.

Also seems like here https://github.com/sveltejs/kit/blob/27a9888161b86bcc8418f87f93ed54959c631079/packages/kit/src/runtime/server/page/render.js#L133-L135 is an error
IMO Framework need to instercept that subscribe was called from rendered page. And not that session was changed during rendering.
Should be something like
const tmp = session.subscribe;
session.subscribe = (v) => {
  tmp(v);
  is_private = true;
}

I've opened #4549 for more control over public vs private. The Cloudflare stuff should be fixed by #4548. The last item in this thread that needs attention (AFAICT) is the session tracking stuff, which was a rookie error on my end — have opened #4550, which will close this issue once merged.


Seeing a scope bug in 2.2.0?

I know 2.2.0 is a week out, but I figured I'd do some early testing.
I'm running:
bundle exec sprockets --include="src/javascripts" --output="build"

I expected it to only process files in the src/javascripts dir. Instead, I'm seeing it grabbing all the css/js/coffee/sass it can find and processing it. It's grabbing stuff from the root directory, from src, from src/stylesheets. It also ends up grabbing the build directory and tries to process it on a second run.
Further testing reveals that it seems to scope to the directory the command is run in. If I run
bundle exec sprockets -include="." --output="../../build"

From inside the javascripts directory it scopes as expected. Move one directory back and target the javascripts directory and it still grabs stuff from stylesheets.
I'm sure it's on a list somewhere but figured it was worth reporting.

Thanks for helping us test the command-line utility, Ben. I think we probably ought not to add . to the default load path.

Yeah, its a bug.
You should get an error if you don't pass any file names into sprockets.


Added NL query context management.

Added application state management using easy-peasy
Clicking on a sample query now starts a new context
"Recent" sidebar items switch between query contexts
Improved scrolling behavior when running queries and switching contexts
Refactored several components

Verified against go/dcnl-main-demo
Screencast:

Thanks Dan.  I'll take a look with an eye towards regression in 2-3 hrs.


Real-CUGAN License

It appears to be listed here? https://github.com/bilibili/ailab/blob/main/Real-CUGAN/LICENSE
You have it marked as "Unknown" in your LICENSE file.
I'm also somewhat concerned about having code merged in that has no known license, like DCTLSA. Wouldn't it be preferable to wait until you know what the license is?

Thanks, I have added the Real-CUGAN license.
About code with unknown licenses, they are open source and the likelyhood of it not being under a permissive open source license is minimal. With that being said, no authors have expressed concerns about it as of speaking, otherwise we would have agreed to keep or remove it.

@muslll It's easier to tack onto this issue. DCTLSA posted their license on the repo: https://github.com/zengkun301/DCTLSA#license


Add pyupgrade pre-commit hook

Codecov Report

Merging #208 (db2168d) into main (51e7774) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head db2168d differs from pull request most recent head ab89483. Consider uploading reports for the commit ab89483 to get more accurate results

@@            Coverage Diff            @@
##              main      #208   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           41        41
  Branches         8         8
=========================================
  Hits            41        41

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51e7774...ab89483. Read the comment docs.


Vg apim is

Purpose
Add IS as KM changes to vagrant-apim
Test environment
Vagrant 2.2.5
Ubuntu 16.04

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Ridmi Lokumudali seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


test: add tests for FeePool and handler

Description

Add unit tests for uncovered statements in distribution module

Testcases for handler and FeePool

Checklist:

[x] I followed the contributing guidelines and code of conduct.
[x] I have added a relevant changelog to CHANGELOG.md
[x] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[ ] I have updated API documentation client/docs/swagger-ui/swagger.yaml

@tkxkd0159
Thanks for the comments.
I've found no handler in the latest cosmos-sdk and also they seemed test for DistributeFromFeePool.
The tests I added cover only one additional case which is an exceptional case of 'types.ErrBadDistribution'.
I agree, following cosmos-sdk is more expensive than adding a test for only one additional case.
I'll close this PR.

In my opinion, this PR should be closed. There are some reasons

we already don't use handler anymore. we registered all gRPC router and every tx are routed by them.
test cases related to SetFeePool already set in upstream. so we should follow this to avoid future conflicts & redundant test

Thanks for the comments.
I've found no handler in the latest cosmos-sdk and also they seemed test for DistributeFromFeePool.
The tests I added cover only one additional case which is an exceptional case of 'types.ErrBadDistribution'.
I agree, following cosmos-sdk is more expensive than adding a test for only one additional case.
I'll close this PR.


feat: #638 Add cronjob config for database restore

added a yaml file for setting up a cronjob for database restore, refs: #638

Full documentation is at: https://github.com/bcgov/nr-fom/wiki/Database-Restore

Thanks for the PR!
Any successful deployments (not always required) will be available below.

api
admin
public

Once merged, code will be promoted and handed off to following workflow run.

Main Merge Workflow

Thanks for the PR!
Any successful deployments (not always required) will be available below.

api
admin
public

Once merged, code will be promoted and handed off to following workflow run.

Main Merge Workflow

Reading the wiki process: "Do a manual backup of the current database (can do that in the database pod, so this temporary backup will be stored in the database volume)" -> the specific commands to run should be provided. I'm a little concerned by doing this versus the normal backup process as if you need to restore from this special backup you need a special restore process, but on the other hand if the regular restore process fails, this approach should still succeed. Just want to be careful that if this special backup isn't stored within a PVC, then if the DB pod restarts the backup will be lost.

Team Evergreen has in their backlog to look at DB restore/backup as part of STRA-- goal was to not use PVC but object storage. they had buckets created for this purpose, but I am not sure how far they have gone with it yet. @craigyu or @DerekRoberts may know?

@webgismd Yup! @RMCampos is working on that. I'll be sidekicking and making it easier to repeat.

@webgismd for FOM at least, the database is small and we store a limited number of backups so storage demands are limited. But there are some nice aspects to using object storage instead of a PVC - better resistance to ransomware-style attacks, especially if you can structure your object storage permissions to be insert-only... I'd be more worried though about every team developing a completely different backup/restore process, versus having a defined method for OpenShift Postgres DBs that all the teams can leverage.

I 100% agree here @basilv , FDS is essentially on its own to develop a pattern for itself.  I don't see alot of tactile support from other teams in this area. Perhaps something to discuss with @RMCampos @jazzgrewal @craigyu @paulushcgcj @abschwenker @DerekRoberts

@webgismd @basilv Big yes!  Let's solve this and get it out there.  Our teams, quickstart, developer.gov, stink overflow, etc.

@webgismd for FOM at least, the database is small and we store a limited number of backups so storage demands are limited. But there are some nice aspects to using object storage instead of a PVC - better resistance to ransomware-style attacks, especially if you can structure your object storage permissions to be insert-only... I'd be more worried though about every team developing a completely different backup/restore process, versus having a defined method for OpenShift Postgres DBs that all the teams can leverage.

The base here was derived from client. In our case, we will keep both a PVC and an S3 backup, as the PVC is a "hot" copy, that will be the more recent one while the S3 will have all past and all current ones, but will be handled as a "cold" copy. This was at least the idea/suggestion I gave and is what we're aiming to do on client.


config files updates

Looks good at a glance, I'm going to deploy it to my pis and double check its all working

#Sign-off from my side


How to use this in collection? Please give an example | Please Update Readme

I have done the configuration part as mentioned in the plugin readme, but still unable to successfully fulfil the request, when trying to upload getting error :  ERROR (payload): APIError: Cloudinary: {}
my Server.ts file
  app.use(mediaManagement(cloudinaryConfig))
My cloudinaryConfig Object
const cloudinaryConfig = cloudinary.config({   cloud_name: process.env.CLOUDINARY_CLOUD_NAME,   api_key: process.env.CLOUDINARY_API_KEY,   api_secret: process.env.CLOUDINARY_API_SECRET, });
My payload.config.ts file
  plugins: [cloudinaryPlugin()],

hey @SanchitB23 when do you encounter the API Error issue?
which version of the plugin and payload are you using?

hey @SanchitB23, are the env variables properly set?
There was an issue with the latest updates from payload (you can see here: https://github.com/finkinfridom/payload-cloudinary-plugin/issues/130) and maybe you're facing the same.


Umbral Strike

https://www.d20pfsrd.com/magic/all-spells/u/umbral-strike/

Exists in vanilla.

Wonderful.


Add support for checksums/hashes with SFTP

This change adds support for checksums/hashes when using SFTP remotes. While SFTP doesn't directly support hashing, appropriate programs can be called using SSH, at least if shell access is available.
Since the function that determines which hash functions are available on the remote system is called frequently, it caches its result.
It's my first time writing Go code, so if there's anything I can or will need to improve, I'd be glad to be told. Thanks!

Thanks for all your feedback! I've implemented hash caching and the tests. Should be good to go now? :-)

I've squashed that and merged it in 80ce569874697eea30a82583f1cd0ef75764869f - thank you very much for your contribution - it makes the sftp remote even more useful!

This branch did get tested by travis but I didn't see any notification in the pull request, so I merged it and broke the build :-(
Fixed with 74687c25f55a68583e0f8bf6d9c97a4b9c6f5c2f.


"Confirming..." shown in feed after transaction has been rejected

Expected Behavior
feed item should show an error state when the transaction cannot be completed & removed from feed
Current Behavior
https://celo-org.slack.com/archives/C018VLA3YAK/p1601666037020700

Duplicate of #5257. I also marked this as a P2 because it does not impact functionality.


Invalid CORS Request

Describe the bug
I have created a helloworld graphql project and it is accessible using http://localhost:8080/graphiql but when I try to access it with http://localhost:8080/graphql in Altair in chrome, I am getting 403 "Invalid CORS Request"

What form of Altair are you using? Chrome extension? Web app? Desktop app?

Going to close this issue as stale. Feel free to comment here if that is not the case.


[rom_ctrl] Remove a bogus TODO comment

When I wrote this, I imagined that a bus access when the ROM checker
was running should result in an error response. What we've ended up
with is that the bus access will just stall until the checker is done,
which seems like a perfectly reasonable behaviour. Let's just keep
that!
@cdgori: Just a ping to check that you agree about this. I suspect this will only ever happen if someone manages to reset the rom_ctrl block without resetting the power manager (otherwise, there aren't any bus hosts that are going to be trying to read the ROM). In that case, things are looking bad but I think the best response is probably to have KMAC and/or keymgr spot an unexpected request and explode that way. In normal operation, this should never happen (because Ibex doesn't come out of reset until after the check is finished).

I think this (stall until checker is done) sounds good given the way I understand things to work (and is consistent with sram_ctrl behavior, though one could argue that any attempted reads while rom_ctrl is doing its work are really unexpected/weird).
Two questions:

Do we have a way to mock-up that full chip case you described of glitching/forcing rom_ctrl to reset and then seeing kmac explode?  Seems like good behavior to verify.
When you say that there aren't any bus hosts that would read the ROM, is that structurally sourced (i.e. this is the Ibex I-Port and therefore Ibex / Rom_ctrl are the only bus hosts, and Ibex should be in reset at this point in the boot sequence) or something else I'm not understanding?

For (1), I think we'd have to do something like what you're describing to test this "properly". Anecdotally: until recently the automated CSR tests didn't wait until rom_ctrl was done before they started reading and writing. This caused other problems, but I think I saw them stalling in the way we'd expect.
For (2), there are 3 hosts on "xbar_main" (the crossbar which has rom_ctrl as a device). These are the Ibex I and D sides, plus the debug module. I'm not sure exactly what the debug module can do at the start of time: maybe that can observe this stall?

It's good that the previous versions of the automated CSRs at least ~exercised the stalling behavior.  But I was trying for the more drastic case of kmac actually going to some terminal condition because it got stalled.
As for the other point, I guess Ibex D port can read the ROM as data?  This is a bit unexpected to me.  And then we'll need to understand what the debug module can do.  (I'm not worried so much about testbench components, but rather things that will be present in the design at tapeout.)

As for the other point, I guess Ibex D port can read the ROM as data?

Yep, I think so. You're going to need that for initialised data in the ROM image (unless you fancy constructing strings with sequences of addi operations :-p)

And then we'll need to understand what the debug module can do.

Yep, I think so. You're going to need that for initialised data in the ROM image (unless you fancy constructing strings with sequences of addi operations :-p)

Ah, right, pesky strings.  :)  Maybe a bit over-the-top in terms of things to worry about, but is there some PMP/ePMP attribute defined for the ROM regions that prevents execution from the data region?

I'll open a follow-up issue about the system-level test case. I think Sri has it on a list somewhere, but it can't hurt to check.
Thanks.

is there some PMP/ePMP attribute defined for the ROM regions that prevents execution from the data region?

I'm not sure. @cfrantz / @mundaym: I guess this is a maskrom question?


Make codebase compatible with Java6

The constructor of AssertionError that takes two parameters was
introduced in Java7. The constructor of IllegalStateException however is
available in Java6 and should fit all our needs.

This PR is needed, since uber-build runs only with Java6 and after the introduction of -Xfatal-warnings, the code did no longer compile. The only reason why the code compiled at all, was because the compiler implicitly converted the two parameters to a Tuple2 and passed it to a constructor that expected a single parameter of type Any: facepalm

Autotupling strikes again! Good catch!


[Not Issue] Special Thanks.

This is not an issue but I just want to thank you for providing this plugin.
This worked great in my project in almost every case.
Thanks for your work and sharing.
It'd be best if this plugin provide localized strings for country name, but I know it is too much to provide them internally.
Thanks again.

Thank you very much! This is really important to me.
I'll try to improve this plugin, I'm open to any request.
About the localized strings I don't know if this would be worth it. By the way I'll think about it.
Fell free to suggest improvements, make pull requests or whatever 😃

@hyochan I was just looking the closed issue list and I notice this one. I wanted to let you know that now the library implements localizations :)


Table with one element does not show any rows

I forked your checkbox example to have only one element.
I think you call the $watch $params wrongly.
http://plnkr.co/edit/F9BmHCeYAynSivp3C2tK

it is fixed in v0.5.0

maybe we're doing something wrong? it might be related to pagination. if I set count: 10, it works.
$scope.surveyStats = new ngTableParams({
                page: 1,            // show first page
                count: surveyStats.length           // count per page
            }, {
                counts: [],
                total: surveyStats.length,
                getData: function ($defer, params) {
                    console.log("in GETDATA", surveyStats );
                    $defer.resolve(surveyStats);
                }
            });

it never enters in getData with these parameters and an endpoint in an API returning an array of 1 element, like this:
http :8000/v2.0/survey-stats/ "Authorization:Bearer 542844...c09161"
HTTP/1.0 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Date: Wed, 18 Feb 2015 20:21:24 GMT
Last-Modified: Wed, 18 Feb 2015 19:21:24 GMT
Server: WSGIServer/0.1 Python/2.7.3
Vary: Accept
X-Frame-Options: SAMEORIGIN

[
    {
        "count": 689,
        "survey": 21,
        "title": "a title"
    },
    {}
]


tv_device runs into error "free(): double free detected in tcache 2"

Sample program runs into a double free error. My platform is a Raspbian 11 bullseye. The error I receive is:
Initializing UPnP Sdk with
        interface = {NULL} port = 0
UPnP Initialized
        ipaddress = <IP_ADDRESS> port = 49152
Specifying the webserver root directory -- ./web
Registering the RootDevice
         with desc_doc_url: http://<IP_ADDRESS>:49152/tvdevicedesc.xml
free(): double free detected in tcache 2
Aborted

Using valgrind (https://valgrind.org/) I tracked down the issue to the following line in webserver.c: https://github.com/pupnp/pupnp/blob/master/upnp/src/genlib/net/http/webserver.c#L554
It appears that fp is closed and then is closed again at the exit_function label.
Here is the commit that introduced the double close: https://github.com/pupnp/pupnp/commit/0b1a6c59be3babc3ecaf81debdfc159759872215#diff-0b6cfade43473f4ba934e72d8cf4618e511b14e5aefdc60b5ca7a2a6ee18425f
Either fp should be set to NULL after the close at line 554 or it should be removed entirely.

Great job!
Both solutions you suggest are fine. I think I prefer setting fp to zero right after close, since the close at this position indicates for those reading the code that we no longer need fp.
Would you like to make a patch and a pull request or do you want me to do the commit? Since you've nailed it, I think you should do it. If you choose to do it, please update the Changelog file too.
Best regards,
Marcelo.

Cool, I'll make a patch and pull request. I'll be sure to get it in this week.

I think that this issue #389 has been resolved with the merging of PR #390.

You are correct. Closing.


Fix issue with Clang-Tidy comments generated for external files

close #82

The applicant of the original issue has disappeared somewhere, but I think this PR definitely should fix it.

Hey Folks,
Sorry, I just got pulled in to other fires.
Thank you for this adjustment.
I plan to deploy the latest, and will let you know if I see the same issue.


bug: auto-release is broken

This is a tracking issue for the issue of auto-releases not working since we moved to the mono-repo.
At core the challenging thing here is that python-semantic-release operates entirely on commit messages. Thus it has no way of knowing which commits correspond to which submodules. This could be resolved in a number of ways:
- Adding another GH action to modify the PR description to include which modules it modifies, then providing semantic-release a custom Python reader which would then extract that info
- Requiring pull-requestors to annotate which modules their PR affects, which seems error-prone and undesirable
- Not doing auto-releases (not a good option)
- Wait on the upstream library to do something (not a good option)

Publish Release: The problem here is a bit more banal: we just don't have a super easy way to get this to execute only for the modified files (if the on filter in the action includes all )

A corollary problem is that the old auto-release mechanism wasn't correctly segmenting README files: e.g. if you look at https://github.com/amundsen-io/amundsendatabuilder/releases/tag/4.3.1, it contains items for all of the releases that have ever happened (since we implemented auto-release), not just new changes for that particular release. You can see this reflected in https://github.com/amundsen-io/amundsendatabuilder/blob/master/CHANGELOG.md, which doesn't have subsections for particular releases.

Build and publish docker image still not working


Keeps blinking

Hi
I used to use Platformio but I had the problem that the cursor kept blinking and I couldn't type. So I switched to Termination. But the same thing is still happening!
OS: Windows 10 64-bit 10.0.17134
Atom version: 1.27.2
Termination: Latest

Was a solution ever found for this?


facebook referral

Hi,
facebook referrals annoy me and I tried to fight with that by using this extension, but failed.
Could you give me some advice?
Example link:
https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.natgeomedia.com%2Fenvironment%2Farticle%2Fcontent-16328.html%3Ffbclid%3DIwAR1FBwkEIqs6fdFkHrVDUu9vrSWutRGtM1de7LlTbvEDLzqAU5GJI_m4s2E&h=AT1L1xPXU_uy3hvhLwk5LbG8B_Hc8m5DZFZ5wdyRtcgP5LCaGwVFuOaza5EC_wpyUyhsbHJCOpG5xKh46oa_FKuMniMbPBxESQWKqXW7vRdzDIgnj40BnYa9sj4_BS2ReEk&__tn__=%2CmH-R&c[0]=AT3UKwrlARcCaQ1sd3erszm0BhMYGEP363_6lrk6c3UixYxCAj3HTlCH2ZDXh2hiQp_f_cqGR4toUDlX7wQytp8TZF4GDJxlnLGqw0PBTS6-phFfyoXPGEHF2l84Vuik-14SwQhchzJyQQgoLQOZT270uhhNMynAuFPBIJVgF0_cYBGaRQ
Target end address in this case:
https://www.natgeomedia.com/environment/article/content-16328.html
What I wrote:
Source: ^https://l.facebook.com/l.php?u=(.?)(?=&|$)
Destination: https://(.?)(?:&|$)
What I got from this rule:
https://%28.%2A/?)(?:&|$)&h=AT1L1xPXU_uy3hvhLwk5LbG8B_Hc8m5DZFZ5wdyRtcgP5LCaGwVFuOaza5EC_wpyUyhsbHJCOpG5xKh46oa_FKuMniMbPBxESQWKqXW7vRdzDIgnj40BnYa9sj4_BS2ReEk&tn=%2CmH-R&c[0]=AT3UKwrlARcCaQ1sd3erszm0BhMYGEP363_6lrk6c3UixYxCAj3HTlCH2ZDXh2hiQp_f_cqGR4toUDlX7wQytp8TZF4GDJxlnLGqw0PBTS6-phFfyoXPGEHF2l84Vuik-14SwQhchzJyQQgoLQOZT270uhhNMynAuFPBIJVgF0_cYBGaRQ
Thanks.

I can figure out the URL part but it doesn't work since the URL is URL encoded and not recognized by the omnibox.

I can figure out the URL part but it doesn't work since the URL is URL encoded and not recognized by the omnibox.

Hi I think it's possible:
https://l.facebook.com/l.php?u=https%3A%2F%2F**### www.natgeomedia.com%2Fenvironment%2Farticle%2Fcontent-16328.html**%3Ffbclid%3DIwAR1FBwkEIqs6fdFkHrVDUu9vrSWutRGtM1de7LlTbvEDLzqAU5GJI_m4s2E&h=AT1L1xPXU_uy3hvhLwk5LbG8B_Hc8m5DZFZ5wdyRtcgP5LCaGwVFuOaza5EC_wpyUyhsbHJCOpG5xKh46oa_FKuMniMbPBxESQWKqXW7vRdzDIgnj40BnYa9sj4_BS2ReEk&tn=%2CmH-R&c[0]=AT3UKwrlARcCaQ1sd3erszm0BhMYGEP363_6lrk6c3UixYxCAj3HTlCH2ZDXh2hiQp_f_cqGR4toUDlX7wQytp8TZF4GDJxlnLGqw0PBTS6-phFfyoXPGEHF2l84Vuik-14SwQhchzJyQQgoLQOZT270uhhNMynAuFPBIJVgF0_cYBGaRQ


EqQ sometimes called with only one argument

Found these lines, where EqQ is called with only one argument. But where seem to be no definition for only one argument.
EqQ[m + 1/2] in this line

https://github.com/RuleBasedIntegration/Rubi/blob/26b65aa1e3adf733511df3a4d7ffb2d8709a5a9d/Rubi/IntegrationRules/1 Algebraic functions/1.2 Trinomial products/1.2.4 Improper/<IP_ADDRESS> (d x)^m (a x^q%2Bb x^n%2Bc x^(2 n-q))%5Ep.m#L7

EqQ[m - 2*n + 1] in these lines:

https://github.com/RuleBasedIntegration/Rubi/blob/26b65aa1e3adf733511df3a4d7ffb2d8709a5a9d/Rubi/IntegrationRules/6 Hyperbolic functions/6.1 Hyperbolic sine/6.1.12 (e x)^m (a%2Bb sinh(c%2Bd x^n))%5Ep.m#L38
https://github.com/RuleBasedIntegration/Rubi/blob/26b65aa1e3adf733511df3a4d7ffb2d8709a5a9d/Rubi/IntegrationRules/6 Hyperbolic functions/6.1 Hyperbolic sine/6.1.12 (e x)^m (a%2Bb sinh(c%2Bd x^n))%5Ep.m#L39

Thanks axkr for reporting these deficiencies in Rubi 4.16.1.  They were introduced when converting Rubi from using ZeroQ[u] to EqQ[u,0].  Turns out they are harmless, and so were not discovered by the integration test-suite.  If you wish to fix them anyway:

In the file "<IP_ADDRESS> (d x)^m (a x^q+b x^n+c x^(2 n-q))^p", simply delete EqQ[m+1/2]  ||.
In the file "6.1.12 (e x)^m (a+b sinh(c+d x^n))^p", change the two occurrences of EqQ[m-2*n+1] to EqQ[m-2*n+1,0].

Albert


{CI} Update fabricbot.json for aks pull request

Add @FumingZhang to aks pull request reviewer
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

CI