Added Core Options types: ClientOptions, RequestOptions and TransportOptions

Fixes #314.
TransportOptions includes a timeout property, which won't be used yet by our CancellationToken pending some discussions about how to properly implement such a feature.

Not sure if we should rename apiVersion to serviceVersion instead, it appears that's what it's called in other languages. What do you think @bsiegel?

Not sure if we should rename apiVersion to serviceVersion instead, it appears that's what it's called in other languages. What do you think @bsiegel?

I think I agree, apiVersion seems like the correct name.

I think I agree, apiVersion seems like the correct name.

I think I agree, apiVersion seems like the correct name.

Did you mean to say serviceVersion?

I think I agree, apiVersion seems like the correct name.

Did you mean to say serviceVersion?

Actually, it seems that the use of serviceVersion and apiVersion is split between languages, for exmaple, for KeyVault .NET and Java use the former and Python and JS use the latter.

Actually, it seems that the use of serviceVersion and apiVersion is split between languages, for exmaple, for KeyVault .NET and Java use the former and Python and JS use the latter.

I think we can go with apiVersion for now to be consistent with iOS and change it later if we think it's necessary :) @bsiegel @anuchandy

I think we can go with apiVersion for now to be consistent with iOS and change it later if we think it's necessary :) @bsiegel @anuchandy

This looks good for Core, however it doesn't fully complete #314 - that requires that we also update client libraries to use this hierarchy. As it is now, I think this is fine but it means if we compile the entire SDK locally it will fail because clients will not be updated to the new options types. Do you want to try to address that here, or should we file an issue to update the client libraries as part of a followup?

This looks good for Core, however it doesn't fully complete #314 - that requires that we also update client libraries to use this hierarchy. As it is now, I think this is fine but it means if we compile the entire SDK locally it will fail because clients will not be updated to the new options types. Do you want to try to address that here, or should we file an issue to update the client libraries as part of a followup?

As discussed separately with @bsiegel, this change is additive for the most part and should not affect client libraries that depend on Azure Core.

As discussed separately with @bsiegel, this change is additive for the most part and should not affect client libraries that depend on Azure Core.


redirect_to appears not to work

Hello, we've been using this product for a while now and recently noticed all of our pages that use redirect_to are not redirecting to the expected destination.
As an example: this URL https://18f.gsa.gov/tags/day in the life/ should redirect to this url: https://18f.gsa.gov/tags/day-in-the-life/ but as you can see it generates a blank page instead. Here's the source file that generates that page.
I haven't tested it with all the pages using redirect_to but /tags/demo day/ and /how we work/ are also failing.
Pages using redirect_from appear to be working correctly.

More background! Sleuthing by @jeremiak has shown that adding index.html to the end of the permalink you want to redirect will make it work. See, for example, this file: https://github.com/18F/18f.gsa.gov/blob/4437b6f57e1374c1d61e1638e509aac095be62aa/pages/feed.md
To correct one of the examples above:
Bad:
---
permalink: /tags/day in the life/
redirect_to:
  - /tags/day-in-the-life/
---

Good:
---
permalink: /tags/day in the life/index.html
redirect_to:
  - /tags/day-in-the-life/
---

It looks like redirect_to only overrides the item.content and not any of the item.data.
https://github.com/jekyll/jekyll-redirect-from/blob/v0.10.0/lib/jekyll-redirect-from/redirector.rb#L30-L31
I would guess that the problem is that the page has a default layout set, and we should be turning it off here, but we are not.
No idea what adding index.html could be changing though.

I would guess that the problem is that the page has a default layout set, and we should be turning it off here, but we are not.

Interesting, I'll give that a shot and see if it helps.

I have investigated this as below:

jekyll-redirect-from added RedirectPage for Jekyll::Page (not Jekyll::Document) which uses redirect_to. (see https://github.com/jekyll/jekyll-redirect-from/blob/v0.10.0/lib/jekyll-redirect-from/redirector.rb#L33)
RedirectPage inherits Jekyll::Page
Jekyll::Page#destination have returned the output filename index.html for URL ends with / in jekyll v3.0.5
But it returns index + :extname on same condition in jekyll v3.1.6 (CHANGED!)
extname is determined by Jekyll::Page#initialize's 4th argument name.
File.basename(item.url) is passed as name (see https://github.com/jekyll/jekyll-redirect-from/blob/v0.10.0/lib/jekyll-redirect-from/redirector.rb#L26), it will be empty in some situations.
therefore Jekyll::Page#destination returns filename index which not include .html extention.
as a result of above, redirect contents is generated into index instead of index.html.

I can confirm this also - the page generated is called index not index.html.  If you manually put in "index" instead of index.html, my browser downloads a file which contains the redirect html code.  Note that other page redirects work fine - it is just the name index that seems to go wrong.

Incidentally, you can work around the issue by replacing the index.md with an index.html with redirect code in it:
<html>
    <head>
        <meta http-equiv="refresh" content="0; url=https://my-url/">
    </head>
</html>

it is just the name index that seems to go wrong.

It is correct, but not enough.
When using permalink: pretty, all pages will use index as name (URL is ended with /).
So all sites which use permalink: pretty or similar style, are affected by this.

I have created a patch to fix this, please check it (#108)

what is the status of this issue?  We're seeing the same problem.

I have not had time to look into this unfortunately. Would you be able to
setup a reproducible site in a repo quickly for me so we can debug more
easily?
Michael Ferranti<EMAIL_ADDRESS>schrieb am Di., 14. Juni 2016
um 11:53:

what is the status of this issue? We're seeing the same problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jekyll/jekyll-redirect-from/issues/107#issuecomment-225980614,
or mute the thread
https://github.com/notifications/unsubscribe/AAOhoTRz541CVJXAq_mC2W7kf632LaZTks5qLvi4gaJpZM4IeZCQ
.

Does it help to mention that we're using the github-pages gem?  I don't know when this stopped working exactly, but it was definately working before, so probably somethign with github-pages.

@parkr Not sure if this is what you mean but we're using it on 18f.gsa.gov. This URL https://18f.gsa.gov/tags/how we work/ should redirect to https://18f.gsa.gov/tags/how-we-work/ The repo is at https://github.com/18f/18f.gsa.gov


Add SequenceEqual method

https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.sequenceequal?view=netcore-2.1

If it's okay, I'll grab this one as well.

You got it man!


Many OBJ models are slightly not centered and need to be re-exported

first

second

Isn't this done now?

Yes it is. I just forgot to close the issue.


Upload Changelogs (What's New) text only?

Hi
Is there a way to upload What's New text only? I want to skip metadata, screenshots and apk files.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.11.5

Ruby
2.0.0

Bundler?
false

Git
git version 2.9.3 (Apple Git-75)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.11.5 (15F34)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.7.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.3

claide
1.0.1

colored
1.2

nanaimo
0.2.2

xcodeproj
1.4.1

rouge
1.10.1

xcpretty
0.2.4

terminal-notifier
1.6.3

terminal-table
1.4.5

plist
3.1.0

addressable
2.3.8

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

highline
1.7.8

commander
4.4.3

excon
0.45.4

faraday
0.9.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20160310

http-cookie
1.0.2

faraday-cookie_jar
0.0.6

fastimage
1.6.8

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0221

mime-types
3.0

hurley
0.2

little-plugger
1.1.4

multi_json
1.11.2

logging
2.1.0

jwt
1.5.3

memoist
0.14.0

os
0.9.6

signet
0.7.2

googleauth
0.5.1

thor
0.19.1

httpclient
2.7.1

google-api-client
0.9.4

mini_magick
4.5.1

multi_xml
0.5.5

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.13.7

faraday_middleware
0.10.0

json
2.0.2

generated on: 2017-01-24

Thanks

@aareeph  are you looking for ios or android platform?

@hjanuschka  sorry I forgot to mention. I am looking for android platform.
Thanks!

looks like this is currently not supported via supply.
you could do it yourself using google api (which supply uses too)
(directly in your fastfile (e.g. in a lane))
require 'googleauth'
require 'google/apis/androidpublisher_v2'
# CONFIGURE those variables
PACKAGE_NAME = "krone.at.fxf"
KEY_PATH = "~/Desktop/CLOUD_DRIVE_OLD/FXF/FXF-ANDROID/fastlane/google_play_key.json"

Androidpublisher = Google::Apis::AndroidpublisherV2
CredentialsLoader = Google::Auth::CredentialsLoader

scope = Androidpublisher::AUTH_ANDROIDPUBLISHER
service_account_json = File.open(File.expand_path(KEY_PATH))
auth_client = Google::Auth::ServiceAccountCredentials.make_creds(json_key_io: service_account_json, scope: scope)
auth_client.fetch_access_token!

Google::Apis::ClientOptions.default.application_name = "Autobot"
Google::Apis::ClientOptions.default.application_version = "1.0"
Google::Apis::RequestOptions.default.timeout_sec = 300
Google::Apis::RequestOptions.default.open_timeout_sec = 300
Google::Apis::RequestOptions.default.retries = 5

android_publisher = Androidpublisher::AndroidPublisherService.new
android_publisher.authorization = auth_client

# set the new text
apk_listing_object = Androidpublisher::ApkListing.new({
  language: "de-DE",
  recent_changes: "Updated Text"
})

# create an edit object
current_edit = android_publisher.insert_edit(PACKAGE_NAME)

# here you would have to itterate your self over apks, if you need anything else then the latest apk
latest_version = android_publisher.list_apks(PACKAGE_NAME, current_edit.id).apks.last

# update the recent_changes
android_publisher.update_apk_listing(
    PACKAGE_NAME,
    current_edit.id,
    latest_version.version_code,
    apk_listing_object.language,
    apk_listing_object
)

let me know if this helps you.

@hjanuschka  I'll give it a try and let you know about this. Thanks a lot for your help 👍


The app is crashing on "security and privacy".

The app is crashing on "security and privacy" if I have selected "own encryption password" instead of the security question at the time of wallet setup.
Tested on Dev app v1.7.9(314)

Verified this issue on dev app v1.8.0(320)


Agent Listing and Selection issues

Empire Version
1.5.0
OS Information (Linux flavor, Python version)
Debian Stable
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
When creating a new agent, it does not always populate the checked-in agents list.  I've established agents where they are communicating with the Empire server, and I've let the systems sit for about 10 minutes to make sure that there wasn't a delay in comms anywhere.
When attempting to view the agents to pick one to interact, one of two problems arise.

There will be no new checked in agent.  It's as if it never checked in.  I will then completely quit Empire, start it back up, and then the agent(s) are there.
The agent will actually be displayed, and I can tab complete the agent ID when telling Empire to interact with it, however Empire always responds with a "Please enter a valid agent name" error and never lets me select the agent.  The only way to fix this is me also having to completely exit Empire and restart it, then it works perfectly.

Can you start empire with the --debug 2 flag and paste the output of "empire.debug"?
Thanks!

I unfortunately don't have access to this system anymore

Ok, if you come across this issue again where we can troubleshoot, feel free to re-comment on this issue or open a new one.

I meet the same problem.Like ChrisTruncer described,when a new agent come online,it does show its agent name in empire agents,and when i type "interact" and Tab its name shows in command.But the empire responds with a "Please enter a valid agent name" if i execute interact command.Of course,if i exit the empire and restart empire,i can interact with that wired agent again.Another problem is that any command execute in this agent will not show result unless i execute "back" and then "interact " again ,it will show result at this time...

@at1a5-lxc Can you open a new issue and fill out a template. Provided a detailed description with the target OS, Empire branch/version, and host OS. Screenshots and empire --debug 2 output would be greatly appreciated. Thanks


REST endpoin api-version

In the document, it mentioned the api-version can be used is 2019-08-01 or later.
api-version | Query | The version of the token API to be used. Use "2019-08-01" or later.
Where can we get the full version list? I checked the document here, but seems incorrect.

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

ID: f57d3177-ce9e-ebfa-03a7-45beb8ca3212
Version Independent ID: a59df23d-f3ac-9809-61d3-5741e31f020a
Content: Managed identities - Azure App Service
Content Source: articles/app-service/overview-managed-identity.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

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

@racchen, could you please confirm whether you are looking for Api version list related to specific resource provider resource type `Microsoft.web/sites/config' or 'Microsoft.web/sites'.
For your reference, If you want to pull the list of Api Version related to Microsoft.Web/sites you  use the below PowerShell cmdlet.
((Get-AzResourceProvider -ProviderNamespace Microsoft.web).ResourceTypes|Where-Object ResourceTypeName -EQ 'sites').ApiVersions
Here is sample output for your reference:

@Venkateshdodda-MSFT
Thanks for checking. I tested the command curl -H "X-IDENTITY-HEADER:$IDENTITY_HEADER" "$IDENTITY_ENDPOINT?resource=https://database.windows.net/&api-version=2019-08-01" in my env. If i used any of the versions listed out, it returned error. That's also why we are confused what are correct api versions to use.

More examples
root@19db177dc44d:/home# curl -H "X-IDENTITY-HEADER:$IDENTITY_HEADER" "$IDENTITY_ENDPOINT?resource=https://database.windows.net/&api-version=2022-03-01"
{"error":{"code":"UnsupportedApiVersion","message":"The HTTP resource that matches the request URI 'http://<IP_ADDRESS>:8081/msi/token?resource=https://database.windows.net/&api-version=2022-03-01' does not support the API version '2022-03-01'.","innerError":null}}root@19db177dc44d:/home#
root@19db177dc44d:/home# curl -H "X-IDENTITY-HEADER:$IDENTITY_HEADER" "$IDENTITY_ENDPOINT?resource=https://database.windows.net/&api-version=2021-03-01"
{"error":{"code":"UnsupportedApiVersion","message":"The HTTP resource that matches the request URI 'http://<IP_ADDRESS>:8081/msi/token?resource=https://database.windows.net/&api-version=2021-03-01' does not support the API version '2021-03-01'.","innerError":null}}

@racchen I have tested this in my environment. If you use the Api Version other than '2019-08-01' we are not able to get the access token.
@cephalin Request you share your insight on this.

Hi @Venkateshdodda-MSFT , thanks for your update and that's also what i noticed. However, i am not sure is it becuase there is no version other than 2019-08-01 or we missed any versions.

@racchen, as we are discussing internally Closing this issue for now. We are waiting for the response from the product team. Once we have any update from them will update the document accordingly.


Browser Desktop site option

Some websites force mobile web experience if mobile device detected and make all video links open in the corresponding app from there play store.
Add option to request Desktop Site for specific urls.

Similar to #24

Closing this since its a duplicate


Don't use mirror for Mac build agents

Context
Stop using repo mirror on Mac agents.
See https://github.com/gradle/gradle-private/issues/2725

Thanks @wolfs !


[hbase] HBase server side value filtering for long SCAN operations

The Apache HBase users usually implement primary use cases that fit well with HBase's intended short-scan and random get/put focus which already can be tested with YCSB.
However we can see in the industry that more and more users are also having secondary use cases that are better suited for traditional data warehouses, like longer scan operations with filtering and also aggregation. We wish to contribute to YCSB to enable the performance measurement of these secondary workloads.
First we would like to submit a patch about enabling optional server side value filtering for HBase. In the Core Workload, we have values randomly generated as 100 long byte arrays. We would introduce some HBase2 driver specific parameters that would setup value filtering on the scan operation, comparing a randomly generated 100 long byte array with the values in the scan results. The operator used for comparison should be configurable as well (like "lessOrEqual", "greater", etc).
We are not very sure if this should be a generic feature of the Core Workload or not. We would implement this first as an HBase2 specific option (as the operators supported by HBase might be limited / too HBase specific), but we are open for suggestions.

Given the current implementation when this is active we'll pass a filter for each field that works at a different random set of bytes.  I'm trying to see the advantage of using random values for the filter by default compared to e.g. having another property that sets the value. Also why all fields rather than a configurable set of them?
Can you walk through an example comparison using YCSB with these changes in place? maybe that would make it easier for me to work through my questions.

Thank you for the comments!

Given the current implementation when this is active we'll pass a filter for each field that works at a different random set of bytes. I'm trying to see the advantage of using random values for the filter by default compared to e.g. having another property that sets the value.

I couldn't really come up with any benefit of having a random filter value. Having another property for setting a filtering value is great idea I think. It would allow us to have more fine control over the ratio of the returned cells.
So maybe defining a configuration option like hbase.scanfiltervalue, a hexa string representing the byte array we use for filter value (we could default it to "7FFFFFFF...", so that using the default "lessOrEqual" operator, approx 50% of the cells would be filtered in)

Also why all fields rather than a configurable set of them?

The Core workload already let us to use the readallfields property to decide if we want to scan only a single column, or all the 10 columns. I think this would be enough for the value filters too. However, in the PR we actually don't handle the readallfields=true case, when the scan() methods is called by the CoreWorkload with the fields=null parameter. I think we will need to add that, if it is easy.

Can you walk through an example comparison using YCSB with these changes in place?

So assuming a worlkoad with long scan operations for analytic queries, you can either 1) fetch the whole column (or a large part of it) and do the filtering on the client side, or 2) pushing down some filtering criteria to HBase itself. Option 1) would stress both the file system + block cache in HBase, and also the networking + RPC layers. While Option 2) would stress the filesystem/block-cache more but the networking + RPC (and the client) less.
E.g. if we use the core workload (10 column, 100 bytes each) and set readallfields=false and enable value filtering (with filter value "7FFFFFFF...") and setting the average scan length to 4000 (minscanlength=1000, maxscanlength=7000, scanlengthdistribution=uniform), then for each scan:

HBase will need to read 4000 (rows) * 10 (columns) * 100 (bytes) ~= 4 MB (plus row and column keys)
HBase will send to the client only 4000 (rows) * 1 (column) * 100 (bytes) * 0.5 (filtered) ~= 200 KB (plus row and column keys)

So by playing with the readallfields and the proposed hbase.scanfiltervalue parameters, we can finetune how much stress we want to put to the filesystem / cache compared to the network / RPC layers.

Okay, I think adding a parameter for a value to filter on is a good starting point for this.
Later on we could make something more complicated to handle filtering with different values for different fields but we should try to have that expressed at the workload level before we do the extra work for that.

after re-checking the code, I see my numbers above were incorrect. When we are setting the average scan length to 4000 (minscanlength=1000, maxscanlength=7000, scanlengthdistribution=uniform), then HBase will send back ~4000 rows always, regardless of filtering. But if the value filtering is enabled, then we can expect that HBase will need to read more, in order to find the ~4000 rows. Correcting the previous example:

HBase will need to read 4000 (expected rows) * 2 (as half of the rows will be filtered) * 10 (columns) * 100 (bytes)  ~= 8 MB (plus row and column keys)
HBase will send to the client only 4000 (expected rows) * 1 (column) * 100 (bytes)  ~= 400 KB (plus row and column keys)

Sure, but it's the same principal where the workload assumption is that those extra server side read records would need to be sent to the client and filtered if there was no push down.

yes, exactly

Hi Sean, thank you for the comments, we tried to address the issues you mentioned in the last commit. Please have a look at them and get back to us, if there's anything else we should change!

I fixed the code based on your comments, thanks for taking the time and reviewing my PR!


New Jagex Launcher broke plugin

Seems like the new Jagex launcher breaks functionality with this plugin unfortunatly. Once you link your account you no longer have the option to sign in via email, and then it's no longer possible to send data.

I haven't touched Runescape in a few years so I'm not even sure what the Jagex launcher is.
If you want to submit a pull request that fixes the issue I can get it merged and into plugin-hub.
Alternatively you can fork this plugin.

Yeah seems like the "user" value doesn't get parsed properly:
java.lang.RuntimeException: {"code":"invalid","message":"unable to parse 'rs_achievements,group=MORYTANIA,profile=rsprofile.qZzuT4B9,tier=MEDIUM,user=,worldType=STANDARD count=11i
...

https://github.com/Equinox-/runelite-influxdb/blob/master/src/main/java/net/machpi/runelite/influxdb/MeasurementCreator.java#LL83C29-L83C49
client.getUsername() seems to be deprecated
https://static.runelite.net/api/runelite-api/net/runelite/api/Client.html#getUsername()

Gave it another try just now, and it seems to work.
Nicely it has data about which "profile" is in use as well.

Maybe @Nuginu could give another try as well and confirm?


Add more windows keyboard shortcuts in windows-cheatsheet.md file

Descriptions

add more windows keyboard shortcuts

Expected behavior

Enrich the windows-cheatsheet.md file by adding more keyboard shortcuts.

Screenshots or Links

If applicable, add screenshots or a modified UI link to help explain your contribution.

Please, fill free to contribute to this project. Anyone including newcomers can make a contribution to this repo by adding basic Commands or Keyboard Shortcuts or tags, attributes, and properties and take a part in an open-source project.

Please assign this to me

Please assign this to me

Directly make a pull request, if you want to contribute. There is no need to assign anyone. It's open to all.

Hey, I want to work on this.
Please assign it to me @crescentpartha

@amanaggarwal06 and @dishantzaveri,
You are most welcome! Just create a pull request.

I am gonna add some shortcut in this

I have created a pull requests, Please review
I have added touchpad gestures shortcuts

I have again added some of command prompt shortcuts. Please check my pull requests

Hey.@crescentpartha  I created a pull request of some update in windows command Can you please review it.

Thank you for Review my PR

Hey @crescentpartha  Please review my new PR #178 & #181


When will the leaaderboard get updated?

Today my level 2 Pr is merged but my points is not added in the leaderboard

Link to PR please

Link to PR please

https://github.com/Its-Aman-Yadav/Community-Site/pull/531#event-13009562147

It will get updated two times in a day .so I think  you will soon see your changes .

Leaderboard will update per every 6-12 hrs
Please check it out later

check now ! @ayushkrrana


Bitstring energy builder is flaky

While working on #208 I encountered .build of MLP BitstringEnergy did not actually create the variables, and I needed to call the energy on some bitstrings to create them.  Investigate this so .build will work here.

Encountered this bug again when computing the log partition function.  The .build method of the input energy function did not create the layer variables, so BitstringEnergy tracked no variables.  Then the value of the log partition function was never recomputed, just returned from cache


opt: GroupExpressionMatching don't need withGroupExpression

Proposed changes
Issue Number: close #xxx

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

run buildall


Smart React util imports

What issue is this PR fixing?
This PR changes the way React components/utils/objects are imported so that imports work both with react-native link AND cocoapods React embedded projects.
How did you test this PR?
Tested it on my react-native link project and it works.

Have you seen this? https://github.com/react-community/react-native-maps/pull/2396
@wbyoung could you guys work together on that?

My PR will help #2396 too, it's not an either or situation.

@SudoPlz I understand that you're trying to resolve compiler issues w/ this PR, but I'm not sure I really understand how it resolves the issue that you're facing that #2396 would not.
I think it'd be preferable to stick with the React/*.h imports. That's working just fine for me and others in #2396 and I believe is how pretty much every project will import things (i.e. react-native-camera imports w/ the same style).
When used via react-native link, the project will be included as a sub-project of a main React Native app. It's been a while since I've worked in depth with Xcode, but as I understand it, this also allows Xcode to determine how to resolve React/*.h.
Can you try pulling and using #2396 in your project as it should resolve the issue that you're trying to address in this PR as well.
If it doesn't, can you post an example GitHub project that includes the proper package.json that fails to compile properly with npm run ios?

@wbyoung you're right, I did pull #2396 here https://github.com/SudoPlz/react-native-maps/tree/bin and everything works fine now (I had to add a few missing #ifdef HAVE_GOOGLE_MAPS clauses there as well).
Keep in mind in this PR I also included my code too.
It never harms to have an extra if clause just in case something went wrong and the class is not there, but I haven't tested enough to see if it wouldn't work if those if/else statements were not there.
I'll close that PR since I don't have the time to investigate further atm, but hopefully that issue will help someone in the future.

@SudoPlz yeah, it depends on what branch of the code base you're working off of. @chrise86 did the same thing off of a stable tag that I have here and shared it on https://github.com/wbyoung/react-native-maps/pull/2.
It's really just that all the Google Maps files need it (which I'm sure you already figured out, but the comment may be helpful for others who come here), but it depends on which branch you're including the changes. The open PR is based off of master which doesn't have that file.


Simple way to debug queries

I would like to easily enable query logging like in gorm.
e.g.
store.Debug().Find(...) could just log the executed query.
Or some method like store.EnableQueryLog() store.DisableQueryLog()

Thanks for raising the issue! Will get to that as soon as we can


Telemetry service cannot be launched without default Admin user.

Rancher server version - v2.2.2-rc14
Steps to reproduce the problem:
Deploy rancher server with telemetry service enabled.
Deploy 1 cluster.
Create a new admin user say test1.
Log in as test1 and delete the default admin user.
Restrat Rancher server.
After rancher server is restarted notice that following messages in the logs:
2019/04/16 21:19:40 [INFO] user Default Admin doesn't exist for telemetry. Retry after 5 seconds
I0416 21:19:41.675644       7 leaderelection.go:196] successfully acquired lease kube-system/kube-scheduler
2019/04/16 21:19:45 [INFO] Unable to obtain token for telemetry service. Telemetry will not be launched.

Expected Behavior:
Telemetry service should not be tied up to the presence of default Admin user.

Not sure what the right solution is but if we fix this, we don't want to simply create a new user and give them admin privileges. That would defeat the purpose of being able to delete/disable the admin user.


Parse partial MANIFEST.MF files in java packages

What this PR does / why we need it:
If we detect a META-INF/MANIFEST.MF file in a java packages attempt
to pull the values that are present and use them for component
detection
Which issue this PR fixes
fixes #524

Thanks @cburgess !


chore: bdd-gh-1587755056 to 0.0.1

chore: Promote bdd-gh-1587755056 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Extra methods to facilitate icons refresh

Additional methods to facilitate marker icons update and propagate to their parent clusters in real-time. For issues #563, #561, #555, #535 and #498.
The 2 private methods could also be re-used in addLayers and removeLayers.
As I am quite new to Git, I am not sure this is the correct way to proceed. I also tried to find a suitable place for this piece of code, but feel free to place it somewhere else more appropriate.
Anyway, this is mainly an attempt to propose some code in a better way than posting it in comments, as pointed out by @IvanSanchez.

I like the idea of this.
Could you please have a go at adding some tests to the spec dir to cover this behaviour?
You should also update the build script to include this by default.
Thanks!

Hi,
Thanks for your feedback.
Sure, will do as soon as I have time.
I will also update the readme accordingly.

Hi,
Excuse me I have some doubts about how I should proceed here:

Should I update the dist files as well, so that everyone can benefit from the new API right away? Or should I leave those unchanged, and let you do that once you consider the src files stable enough? In particular, updating the dist files would include all previous merges that are not part of the current dist files.
Should I bump up the minor version in bower and package.json files? Because there is a new API, that is backward compatible (it does not break anything, at least for the methods I introduce).
Should I update the README file to communicate about the new methods?

I apologize for these stupid questions, I am quite new to GitHub and I am not so aware of how an open source community runs…

No worries, most projects run differently :)
Don't update the dist files (so please revert that commit)
Don't update the version number (that is done when we do a release).
Do update the README to detail this new method :)

Hi,
Thank you for the explanations.
I will proceed as instructed.
By the way, please how do you manage the discrepancy between Readme and
version of dist file?
If I update the Readme, it will talk about something that is not in the
dist version.

I still see the dist changes in your commits.
I'll update dist after merging.

Hi,
Sorry for the delay.
I am not sure how to revert a commit…
I will try rebuilding the fork.

Ok it should be good now.
I actually just copied back the original dist files, I hope this trick is
enough?
Please let me know should I need to perform any extra step or correct any
mistake.
On 8 October 2015 at 14:55, ghybs 1<EMAIL_ADDRESS>wrote:

Hi,
Sorry for the delay.
I am not sure how to revert a commit…
I will try rebuilding the fork.

That looks good, will take a read through next week.

Merged, can trash the line myself

Hi,
Well it looks like the test spec messes up…
Quite often it hangs the test process, even though when it succeeds, everything passes.

Dumb, this happens in some of the current tests already too.

It seems that avoiding beforeEach and afterEach and trying to re-use objects whenever possible makes the test process much more reliable (even though still not 100% perfect in my tests).
It could be related to PhantomJS bad garbage collection / memory leak, even though we are still on a very low number of tests and I do not see any peak in memory...
I will push an update for the test I created at least.

See PR #577.
It fixes the issue on my machine at least.
Maybe re-engineering the other test suites could help for the similar cases you sound to have encountered?

sweet, next time I see any others crap out I'll have a go.

Can't find refreshClusters() method anywhere. What is the state of this at the moment? I need to update some markers every few seconds

Hi,
It should be included in the dist file.
Which branch / Leaflet version are you using?
For Leaflet stable (0.7.7), use marker cluster branch "leaflet-0.7", refreshClusters is there.
For Leaflet 1.0 beta2, use marker cluster tag "1.0.0-beta.2.0", refreshClusters is there.
Hope this helps.

Nice, it helps.
I'm using leaflet 0.7.7 but I'm using default branch of marker cluster. How I switch branch?
Thanks for the quick reply :p


circleci: run cargo tarpaulin in a machine image

This way we can specify the necessary Docker security options to let
Tarpaulin run while still getting the benefits of using a prebuilt
Docker image.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f849113). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #77   +/-   ##
=========================================
  Coverage          ?   92.14%
=========================================
  Files             ?        5
  Lines             ?      382
  Branches          ?        0
=========================================
  Hits              ?      352
  Misses            ?       30
  Partials          ?        0

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 f849113...15103bf. Read the comment docs.


breaking change preventing OData

https://github.com/OData/WebApi/issues/1707

@JamesNK - any idea what work would be needed here? Not clear to me from the linked issue.

The ASP.NET Core OData library uses IRouter, and doesn't work with Endpoint routing. Until the OData library is updated users can continue to use it in 2.2 and 3.0 by disabling Endpoint routing:

To only disable endpoint routing you can leave CompatibilityVersion.Version_2_2 on, and set MvcOptions.EnableEndpointRouting = false.

https://github.com/OData/WebApi/issues/1707#issuecomment-448420529
Ryan and I are already providing advice for updating the library. No changes on our side are required.
Closing this issue because discussion is already happening in the linked issue.


Pictures in clues, NW corner

I like how this looks, but if the clue were for a light in the NW corner, I wouldn't be able to fill it in.

Can you please share the relevant lines from the exolve-across section?
It looks to me like you have an  tag in the clue. I can add code to look for and scrub it out for the version of the clue shown as the "current highlighted clue." However, I do not fancy that idea greatly (what else should I code to look for, for example?).
A workaround can be to include the  tag just above (and hence outside the clue text), like this:
exolve-across:
...
15 whatever...
<img .../>
17 First name [of the person pictured] (5)

Yes, that works. Can put the img before or after the clue and refer to it's
location or tooltip in words, only thing is that float is no longer helpful
to make it look nice. Solved that by styling the img 100% width
J
@@-?
( -
the fashion and sober design
will make you special
On Thu, 14 Nov 2019 at 09:31, Viresh Ratnakar<EMAIL_ADDRESS>wrote:

Can you please share the relevant lines from the exolve-across section?
It looks to me like you have an tag in the clue. I can add code to look
for and scrub it out for the version of the clue shown as the "current
highlighted clue." However, I do not fancy that idea greatly (what else
should I code to look for, for example?).
A workaround can be to include the tag just above (and hence outside the
clue text), like this:
exolve-across:
...
15 whatever...
<img .../>
17 First name [of the person pictured] (5)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/viresh-ratnakar/exolve/issues/17?email_source=notifications&email_token=AGBJIAO53W3B7HVQE4VDL7DQTR53NA5CNFSM4JNB2LM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED74YRY#issuecomment-553634887,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBJIAJCGWSO6X2EPGBQYCDQTR53NANCNFSM4JNB2LMQ
.

Closing this issue, please reopen if needed.


chore(fragment): bumped version

affects: tessellate-fragment
Bumbed version so that a new release is pushed to npm.

Coverage increased (+3.007%) to 80.522% when pulling 6cce5e4dea7b892110d37b06d24c18f0de0d703d on bump-version into d8771880b0db0a0535ca7d75b1195c4aba14ed69 on master.

Coverage increased (+3.007%) to 80.522% when pulling 3da3fa175f2cd10937c15a76ac80909e0eb1e50b on bump-version into d8771880b0db0a0535ca7d75b1195c4aba14ed69 on master.

@mfellner Ok, I made an empty commit.

Changes Unknown when pulling c37b12febebbb15f16b4e37e5a3954adcbc0a821 on bump-version into ** on master**.

Unfortunately we also need to upgrade the tessellate-request dependency ;(. Closed in favor of https://github.com/zalando-incubator/tessellate/pull/78


Seed repo with commit #5435e87 from kubeflow/pipelines (5/12/2020)

Initial commit, copying the content of the kubeflow/pipelines repository from commit #5435e87

/verify-owners

Closing in favor of PR #2


Ledger by default on + support for ledger nano s+

I noticed this when I was setting up REStake for ixo-4, now that Authz is enabled.
When following the basic instructions I also noticed that Ledger support was not built into the binary by default on make install. If there is a good reason for this, let me know.
I also updated the ledger-go dependency (done the same on a bunch of chains already) to support Ledger Nano S+.
I'm sorry for not creating an issue for this before doing a PR, but I had already all the code locally because I needed it to test REStake for Empower Validator.

@gjermundgaraba Thank you, Gjermund.
@wgmouton @YBAAC  Can you please have a look and merge, if appropriate?

The chain and dependancies has been updated since this request, but added the ledger support by default to current code: https://github.com/ixofoundation/ixo-blockchain/commit/555758768d9b913d65b9cc5e01dfc62a286b59a6 thanks for the efforts @gjermundgaraba


go.mod request

could you please build a go.mod file so that I could download and manage it efficiently?

could you please build a go.mod file so that I could download and manage it efficiently?

I am open to contributions.


Set default value for missing task-bundles

This prevents policy rules from incorrectly not evaluating due to missing data.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a6999d7) 100.00% compared to head (f8eeee3) 100.00%.
Report is 4 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff            @@
##              main      #837   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           91        91
  Lines         4075      4095   +20
=========================================
+ Hits          4075      4095   +20

Files
Coverage Δ

policy/lib/bundles.rego
100.00% <100.00%> (ø)

policy/lib/bundles_test.rego
100.00% <100.00%> (ø)

policy/release/olm.rego
100.00% <100.00%> (ø)

policy/release/olm_test.rego
100.00% <100.00%> (ø)


might want to pin emoji==1.7.0

hi,
emoji package 2.0.0 got released few days ago and it has breaking changes which prevents pilmoji from loading. If you might wanna take a look or pin the package in requirements.txt

fixed by https://github.com/jay3332/pilmoji/commit/12f43945f52bd9973d88ee02c17ccf31896fb4fa


Css files using an absolute path (/assets...) are handled within the router using a virutal urls, their real path is located at, starting from the makefile working dir, backend/public/../../../ui/public
I try to build my file using
cleancss -O1  -o build/backend/public/app.css backend/public/app.css

I end up with,
cleancss -O1 --skip-rebase  -o build/backend/public/app.css backend/public/app.css
ERROR: Ignoring local @import of "/assets/ui/mustard.css" as resource is missing.
ERROR: Ignoring local @import of "/assets/ui/icons.css" as resource is missing.
ERROR: Ignoring local @import of "/assets/ui/alert-box.css" as resource is missing.
ERROR: Ignoring local @import of "/assets/ui/toggle.css" as resource is missing.
ERROR: Ignoring local @import of "/assets/ui/modal.css" as resource is missing.
ERROR: Ignoring local @import of "/assets/ui/color.css" as resource is missing.
ERROR: Ignoring local @import of "/assets/ui/base.css" as resource is missing.
ERROR: Ignoring local @import of "/assets/ui/btn.css" as resource is missing.

Is there some switches i can enable right now to pass that issue ? Maybe the cli can benefit a flag to perform pattern matching rebasing, something like --rebase="/assets to ../../../ui/public"
cheers

First of all it should not be an error but a warning instead, but that's on clean-css module side so I need to fix it there first.
Regarding dealing with those paths, I have mixed feelings about dealing with absolute paths in general. I used to do some magic to support them in 3.x, then I removed it in 4.x as they proved to be to complex to resolve when it comes to dealing with absolute imports in absolute imports :exploding_head:, then there's sometimes a request to add support for them, but I personally no longer find use for absolute paths.
Thoughts?

Closing as 'won't fix' as clean-css-cli is going into maintenance mode. If anyone wants to bring it back up, please submit a PR.


API Gateway doesn't show deployment / Custom Domain (3rd party), ACM

Context
I'm trying to use a custom domain that has a certificate issued through ACM. I know this certificate works because my current Elastic Beanstalk deployment works with the custom domain. I'm trying to migrate to using zappa. I've looked through a couple of other issues relating to custom domains but coudn't find the one that matched my scenario.
UPDATE: I also can't undeploy because of botocore.exceptions.WaiterError: Waiter StackDeleteComplete failed: Waiter encountered a terminal failure state. Something funny is going on. I can undeploy my other application (which is Flask).
Expected Behavior
Not sure.
Actual Behavior
I've gone through certify and it said to wait 40 minutes for the domain to propagate. However, I'm not sure how I can change the domain's DNS settings if I don't have access to the CloudFront URL. API Gateway doesn't list the domain here (not sure if this is intentional):

Possible Fix

Steps to Reproduce

Your Environment

Zappa version used: 0.43.1
Operating System and Python version: Windows, Python 3.6
The output of pip freeze:

argcomplete (1.8.2)
base58 (0.2.4)
boto3 (1.4.4)
botocore (1.5.40)
certifi (2<IP_ADDRESS>)
chardet (3.0.4)
click (6.7)
Django (1.11.4)
django-admin-bootstrapped (2.5.7)
django-authtools (1.6.0)
django-braces (1.11.0)
django-crispy-forms (1.6.1)
django-debug-toolbar (1.8)
django-environ (0.4.3)
django-sslserver (0.20)
django-storages (1.6.5)
docutils (0.14)
durationpy (0.4)
easy-thumbnails (2.4.1)
future (0.16.0)
futures (3.1.1)
hjson (2.0.7)
idna (2.5)
jmespath (0.9.3)
kappa (0.6.0)
lambda-packages (0.16.1)
olefile (0.44)
Pillow (4.2.1)
pip (9.0.1)
placebo (0.8.1)
psycopg2 (2.7.3)
python-dateutil (2.6.1)
python-slugify (1.2.4)
pytz (2017.2)
PyYAML (3.12)
requests (2.18.3)
s3transfer (0.1.10)
setuptools (36.2.7)
six (1.10.0)
sqlparse (0.2.3)
toml (0.9.2)
tqdm (4.14.0)
troposphere (1.9.5)
Unidecode (0.4.21)
urllib3 (1.22)
Werkzeug (0.12.2)
wheel (0.29.0)
wsgi-request-logger (0.4.6)
zappa (0.43.1)

Link to your project (optional):
Your zappa_settings.py:

{
    "dev": {
        "django_settings": "app.settings.production",
        "profile_name": "eb-cli",
        "s3_bucket": "zappa-bucket",
        "aws_region": "us-west-1",
        "exclude": ["*.sqlite3", "static/*"],
        "debug": true,
        "keep_warm": false,
        "certificate_arn": "arn.cert",
        "route53_enabled": false,
        "domain": "www.customdomain.co",
        "environment_variables": {
            "DEBUG": "False", ...
        }
    }
}
``

I feel dumb. I deployed to a different region than usual and I forgot. Just had to switch to that region to see the deployment. 🥇
Don't know why I can't undeploy but I guess that's a different issue.


Translator wraps argument in ToList or not based on unconnected define

See the following CQL, which is partially defined by external functions.
define Sources: List { 'x', 'y' }
define Results1: Sources s return f1(s)
define function f1(s String) returns Any: external
define Results2: Sources s return f2(s)
define function f2(s String) returns Any: Tuple { a1: f3(s) }
define function f3(s String) returns Any: external
define Validation: Equivalent(Results1, Results2)
define ResultsPaired: Sources s return Tuple { LHS: f1(s), RHS: f2(s) }
define Diffs: ResultsPaired p where not Equivalent(p.LHS, p.RHS)

In this example, Results1 and Results2 would have the same value, a 2 element List where each list item is a Tuple.  The functions f1() and f2() would each result in a Tuple, and f3() would result in a String.
Having the same value, Results1 and Results2 should compare as equal whether they are compared either as a whole List (via Validation) or element-wise per each corresponding Tuple (via Diffs).  But in fact when evaluating this CQL, Validation correctly says the Results match while Diffs incorrectly reports that the tuples of Results do NOT match, these being contradictory answers.
Now, as a modification, alter the Validation line so it uses Equal() rather than Equivalent(), or alternately just comment-out the Validation line entirely.
With that change to Validation, Diffs inexplicably gives a different answer, saying that there are no mismatching Tuple in Results, and giving the correct answer.
So changing Validation causes Diffs to give different answers, even though nothing else is defined in terms of Validation.
The problem turns out to be that the Translator is producing different ELM for Diffs depending on whether or not another Equivalent() call exists further up in the same CQL.
This is the incorrect ELM output when the Validation line does exist:
            <where xsi:type="Not">
               <operand xsi:type="Equivalent">
                  <operand xsi:type="As">
                     <operand path="LHS" scope="p" xsi:type="Property"/>
                     <asTypeSpecifier xsi:type="ListTypeSpecifier">
                        <elementType name="t:Any" xsi:type="NamedTypeSpecifier"/>
                     </asTypeSpecifier>
                  </operand>
                  <operand xsi:type="ToList">
                     <operand path="RHS" scope="p" xsi:type="Property"/>
                  </operand>
               </operand>
            </where>

While this is the correct ELM output when the Validation line doesn't exist:
            <where xsi:type="Not">
               <operand xsi:type="Equivalent">
                  <operand path="LHS" scope="p" xsi:type="Property"/>
                  <operand path="RHS" scope="p" xsi:type="Property"/>
               </operand>
            </where>

So the Translator is inconsistently either wrapping or not wrapping the RHS argument in a ToList(), even though the definition of Diffs is unchanged between the cases, and the Engine is not giving the same answers as a result.
Fundamentally, this is a Translator problem, since unconnected code should not be affecting how other code translates.

This is a translator issue, would need to be reported there.


2.0 - bug - Fix SdkServiceResponse

Adds SdkResponseHelper as an inbetween class for HTTP response and SdkServiceResponse. Changes over all handlers and sdk response subclasses to use SdkResponseHelper.
This fixes an issue where SdkServiceResponse subclasses couldn't properly populate the superclasses fields when building the sdk response objects in the API handler methods.

closing, see https://github.com/graphgrid/graphgrid-sdk-python/pull/12


Add ability to simulate a feature flag change event

Is your feature request related to a problem? Please describe.
I have a scenario where a user of our UI gets redirected when a feature flag is changed -- for example, turning on our "maintenance" flag redirects the user to a maintenance screen and doesn't allow anyone access to the site until the maintenance flag is turned back off. I can test what the user sees when the flag is off, what they see when the flag is on, but I cannot test the transition the user experiences when that flag changes while they are on the website.
Describe the solution you'd like
I would like to have a way to simulate a ldClient.on('change') event in a Jest test. We are using launchdarkly-react-client-sdk, so the desired event change would trigger a component re-render, which would be detectable by our test.
Describe alternatives you've considered
Our team was previously using launchdarkly-js-client-sdk directly, and we were able to simulate the change in jest with that library by setting up a tricky workaround / callback behavior and manually updating the flags when they changed. With launchdarkly-react-client-sdk, we are only utilizing the "useFlags" hook now.
Thanks for considering some solution to this!

Thank you for your submission. This has been filed internally as 194027 and we will discuss it.


UIORG-89 sync document lang attribute with tenant locale setting

Purpose
When setting the tenant locale, the document's lang attribute on the <html> tag should be updated to reflect the change.
Approach
Added a single line of vanilla js to update the attribute when settings are saved.

Could the setting of the lang attribute happen in setLocale() in stripes-core? That way a module isn't directly changing it?

yarn run v1.6.0
$ eslint *.js settings
/home/jenkins/workspace/folio-org/ui-organization/PR-72/project/settings/Plugins.js
4:1  error  'stripes-config' should be listed in the project's dependencies. Run 'npm i -S stripes-config' to add it  import/no-extraneous-dependencies
✖ 1 problem (1 error, 0 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run v1.6.0
$ eslint *.js settings
/home/jenkins/workspace/folio-org/ui-organization/PR-72/project/settings/Plugins.js
4:1  error  'stripes-config' should be listed in the project's dependencies. Run 'npm i -S stripes-config' to add it  import/no-extraneous-dependencies
✖ 1 problem (1 error, 0 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run v1.6.0
$ eslint *.js settings
/home/jenkins/workspace/folio-org/ui-organization/PR-72/project/settings/Plugins.js
4:1  error  'stripes-config' should be listed in the project's dependencies. Run 'npm i -S stripes-config' to add it  import/no-extraneous-dependencies
✖ 1 problem (1 error, 0 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run v1.6.0
$ eslint *.js settings
/home/jenkins/workspace/folio-org/ui-organization/PR-72/project/settings/Plugins.js
4:1  error  'stripes-config' should be listed in the project's dependencies. Run 'npm i -S stripes-config' to add it  import/no-extraneous-dependencies
✖ 1 problem (1 error, 0 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run v1.6.0
$ eslint *.js settings
/home/jenkins/workspace/folio-org/ui-organization/PR-72/project/settings/Plugins.js
4:1  error  'stripes-config' should be listed in the project's dependencies. Run 'npm i -S stripes-config' to add it  import/no-extraneous-dependencies
✖ 1 problem (1 error, 0 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I agree with @cherewaty that we really want the document.documentElement.setAttribute('lang') call to be part of what stripes.setLocale() does.

yarn run v1.6.0
$ eslint *.js settings
/home/jenkins/workspace/folio-org/ui-organization/PR-72/project/settings/Plugins.js
4:1  error  'stripes-config' should be listed in the project's dependencies. Run 'npm i -S stripes-config' to add it  import/no-extraneous-dependencies
✖ 1 problem (1 error, 0 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

All UI Regression Tests PASSED. Details at:  https://jenkins-aws.indexdata.com/job/folio-org/job/ui-organization/job/PR-72/19/UI_20Regression_20Test_20Report/

Agreed... closing this guy.


Update README.md

Update README
Fix broken IPFS install link
The existing link https://ipfs.io/docs/install/ no longer resolves and
instead should link to https://docs.ipfs.io/install/

Thank you!


feat: filter enrollment request based on input params

Is your feature request related to a problem? Please describe.
enroll:list does not accept any params at the moment and lists all requests based on the type/level of auth (legacy pkam / apkam manage namespace access/ apkam enrollment based auth). There needs to be a way to filter the enrollment requests based on the namespace access, device name, app name, etc.
Describe the solution you'd like
Enhance the enroll list to filter the enrollment records on the enrollment state. This allows apps to fetch only pending enrollment requests or only approved enrollment requests.
The current enroll:list which will return all the enrollments should behave as is. Additionally modify the enroll list syntax as follows: enroll:list:[pending,approve,deny] to filter the enrollment requests based on the enrollment state.

Introduced changes in at_commons to allow EnrollParams for enroll:list - https://github.com/atsign-foundation/at_libraries/pull/530.
Consumed the changes in at_commons and added implementation actually to filter enrollments: https://github.com/atsign-foundation/at_server/pull/1846
[To be done this sprint] Currently working on consuming the changes in at_commons and at_server in at_client


Amazon product images not being captured/shown on card

Maybe my problem could be fixed by modifying the CSS, but I wouldn't know how. If that's the case, I'd appreciate any help doing that.
Aside from showing images, it would be nice if the cards showed the product's price, but that's more of a feature request, I think. But, again, maybe a custom CSS could do it.

In any case, thanks for this great plugin. I haven't run into problems with other sites.

I am having the same issue. A workaround is to manually add the image to the card link code block by copying in the image address like this:
image: <link to amazon image>

The reason for this, as it seems, is that Amazon does not provide an og:image meta tag. I did some investigating and found this thread, which discusses a similar issue.
Apparently, Amazon is only adding the image meta tag if the website is called by the Googlebot user-agent (you can confirm this by manually changing your user-agent in Chrome, like described here).
So, finding a way to parse the website behind the URL with a different user-agent would work as a solution. I hope this helps! :)

Adding the image manually works for me, thank you!


Update train_verdict_predictor.py; sentence_transformers not used and…

… not in requirements.
Hello, I was using your library, and I had a problem with from sentence_transformers import CrossEncoder since sentence_transformers is not specified in the requirements. I think it's safe to remove it because it's not used, just imported, and to avoid installation problems, it's better to remove it as it's not declared in the requirements.

Thanks for the PR and for finding this artifact!


[bug] MMHA_USE_FP32_ACUM_FOR_LOGITS and MMHA_USE_FP32_ACCUM_FOR_LOGITS

https://github.com/NVIDIA/TensorRT-LLM/blob/b57221b764bc579cbb2490154916a871f620e2c4/cpp/tensorrt_llm/kernels/decoderMaskedMultiheadAttention/decoderMaskedMultiheadAttentionLaunch.h#L56 and https://github.com/NVIDIA/TensorRT-LLM/blob/b57221b764bc579cbb2490154916a871f620e2c4/cpp/tensorrt_llm/kernels/decoderMaskedMultiheadAttention/decoderMaskedMultiheadAttentionTemplate.h#L1309 must be the same name

thanks. we will fix that soon.


CKAN Upgrade to 2.3, custom plugins

Major changes for this pr:

Upgraded CKAN to 2.3, including some changes to schemas, paster commands, etc.
Changed so our postgres commands will only run if being run locally (in the vagrant box), since in other server configurations (remote postgres server) we won't be able to run those commands
Added the ability to specify custom plugins in the group_vars file that will be installed.  This prevents us from having to install them manually on each server
Apache didn't need a separate user group, just changed it to the ckan group to avoid potential permissions conflicts.  Essentially ckan's user group must also be apache's user group, since it serves the content.

Reviewers:
@marcesher

@Ooblioob Great stuff, Dan. I ran it locally on a fresh install, no troubles. I ran it against my existing ckan VM and somehow -- I do not know how -- the database got clobbered. I ran it against the Dev server and it mostly worked as expected, save for incorrect directory permissions on the ckan plugin directories, which I'll fix in a separate PR.
I'm going to merge this so that I can get the automations going in Jenkins, but I would like to understand what happened with the database. Any ideas what might have caused that?

@Ooblioob I understand what happened with the database. It's been a while since I provisioned locally, and the last time I did it the ckan_db_name was still "ckan_default". After I pulled all the bits and ran, it created the "ckan" and "ckan_datastore" tables and is using that. I feel a lot better knowing the answer.


bug(MatSelect): NVDA announce 'table' when select options opened

When opening mat-select element  NVDA screen reader announce table before announcing the list.
Reproduction
See the official example from material documentation.
Steps to reproduce:

Click on the mat-select
When the options opened NVDA announce table and then list.

Expected Behavior
table should not be announced.
More details

This is a new issue. In Material V10 it's Ok. (checked also in the documentation of v10)
Faced it with NVDA
Happened in Chrome, not in Firefox.

Environment

Angular: V11
CDK/Material: V11
Browser(s): Chrome
Screen reader: NVDA

Form what I can see it cause by the addition of the aria-owns mentioned here and implemented there.

I can reproduce it as well. I think that @nirkai is correct, because I get the following structure in the "Accessibility" panel in the dev tools:

The LayoutTable from the screenshot points to .mat-select-trigger. While the element is a div, it has some CSS that is display: inline-table. I wonder whether that's not throwing the browser off?

I can reproduce it as well. I think that @nirkai is correct, because I get the following structure in the "Accessibility" panel in the dev tools:

The LayoutTable from the screenshot points to .mat-select-trigger. While the element is a div, it has some CSS that is display: inline-table. I wonder whether that's not throwing the browser off?

@crisbeto it is indeed.
If you remove that style it's gone from the Accessibility panel

@crisbeto it is indeed.
If you remove that style it's gone from the Accessibility panel


[XLA][Feature] - Pass config flags for LLVM runtime.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 14.04
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below):  ('v1.0.0-1783-g4c3bb1a', '1.0.0')
Bazel version (if compiling from source):  0.4.5
CUDA/cuDNN version: -
GPU model and memory: -
Exact command to reproduce: -

Problem description
As part of my Google Summer of Code project, I am trying to build TensorFlow with Polly-enabled LLVM. To do this, I have written my own BUILD file which runs TensorFlow with a custom repository of LLVM that has Polly checked out as well. I have managed to get a clean build and am now looking to incorporate Polly's passes in the Optimization pipeline of XLA.
In XLA, the llvm module passes are registered here.
Polly register's its passes in LLVM through the following steps

static llvm::RegisterStandardPasses RegisterPollyOptimizerEarly(
    llvm::PassManagerBuilder::EP_ModuleOptimizerEarly,
    registerPollyEarlyAsPossiblePasses);

Corresponding file - <polly-src>/lib/Support/RegisterPasses.cpp.

polly::initializePollyPasses(Registry);

Corresponding file - <polly-src>/lib/Polly.cpp
I have built the object files for both these files. But I want to check if Polly is actually being invoked in the pipeline, and so my question is -

Are these steps enough to use Polly in the bazel build of TensorFlow?
How can I pass configuration flags to LLVM in TensorFlow to check for Polly usage?

As a reference, please find my BUILD file here.
cc @phawkins @eliben

Thank you for working to bring LLVM Polly optimizations to TensorFlow! Since @phawkins owns our llvm.BUILD file, I'll assign to him, since helping you accomplish this will probably be quite beneficial to the community.

Thank you so much! @jart
Update: I have figured out the answer to the second question -
How can I pass configuration flags to LLVM in TensorFlow to check for Polly usage?
Its by adding TF_XLA_FLAGS="--xla_cpu_llvm_cl_opts=-polly" to the python command.
However, the -polly flag is not being recognized by llvm yet, and that means that the pass manager has not yet been linked correctly. I will need some help regarding the same.
Thanks.

I've been working w/ Annanay to get the llvm build files modified -- he's done some great work. Annanay - can you share your repo here? It'll be a lot easier for people to help you if they can reproduce your work easily.

Hi @brianretford,
Thanks for this.
These are the steps to reproduce my state right now:

Clone my tensorflow repository or

copy the llvm build file
edit the xla build file to add this line to your local tensorflow repository.

Clone this version of llvm - it is rolled back to the required commit and has polly checked out as well.
Modify the tensorflow/tensorflow/workspace.bzl file and change the llvm rule by replacing it with this:

  native.new_local_repository (
       name = "llvm",
       path = "<path to llvm clone>",
       build_file = str(Label("//third_party/llvm:llvm.BUILD")),
   )

Run bazel build --verbose_failures -c opt //tensorflow/tools/pip_package:build_pip_package and  bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
in the tensorflow root folder.

Navigate to a folder with a python file that uses tensorflow.
Run TF_XLA_FLAGS="--xla_cpu_llvm_cl_opts=-disable-inlined-alloca-merging"  python <filename.py> --xla=true. It should run without any errors.
Run
TF_XLA_FLAGS="--xla_cpu_llvm_cl_opts=-polly"  python <filename.py> --xla=true. The command should fail with "unrecognized flag -polly".

Thanks.

Please check #10471.


grsisort compilation error

OS SYSTEM = CentOS 7
ROOT Version = 6.18/02
GRSISort Version = <IP_ADDRESS>
I was trying to compile the latest version of grsisort with the command make -j 4 and received the following error message,
make: *** [.build/libraries/GROOT/GHSym.o] Error 1
I already had the version <IP_ADDRESS> installed which was working fine, wanted to have all the updates in the version.

This is with the most recent version? Can you post the full error message (there should be more than just Error 1)?

Should be fixed with the latest small change. Essentially needed an include of TRandom, and some masking of the unused parameter for the earlier ROOT versions. Tested with 6.22/02.

I just tries it after removing everything from the earlier version and it was compiled successfully, thank you!

Hello,
I am trying to compile the latest Grsisort (did a fresh git clone today) and I am getting the same error as Rebeka did:
ROOT Version: 6.23/01
OS: Ubuntu 20.04.2 LTS
GRSISort: master as of 2021-05-30
Compiling .build/libraries/GROOT/GHSym.o      [ERROR]
In file included from libraries/GROOT/GHSym.cxx:1:
/home/bruno/packages/GRSISort/include/GHSym.h:32:9: error: ‘void GHSym::FillRandom(const char*, Int_t)’ marked ‘override’, but does not override
32 |    void FillRandom(const char* fname, Int_t ntimes = 5000) override { FillRandom(fname, ntimes, nullptr); }
|         ^~~~~~~~~~
/home/bruno/packages/GRSISort/include/GHSym.h:33:9: error: ‘void GHSym::FillRandom(TH1*, Int_t)’ marked ‘override’, but does not override
33 |    void FillRandom(TH1* h, Int_t ntimes = 5000) override { FillRandom(h, ntimes, nullptr); }
|         ^~~~~~~~~~
make: *** [makefile:200: .build/libraries/GROOT/GHSym.o] Error 1
make: *** Waiting for unfinished jobs....
Compiling GH2D.o                                                      [OK]
Compiling .build/libraries/GROOT/GCube.o      [ERROR]
In file included from libraries/GROOT/GCube.cxx:1:
/home/bruno/packages/GRSISort/include/GCube.h:35:9: error: ‘void GCube::FillRandom(const char*, Int_t)’ marked ‘override’, but does not override
35 |    void FillRandom(const char* fname, Int_t ntimes = 5000) override { FillRandom(fname, ntimes, nullptr); }
|         ^~~~~~~~~~
/home/bruno/packages/GRSISort/include/GCube.h:36:9: error: ‘void GCube::FillRandom(TH1*, Int_t)’ marked ‘override’, but does not override
36 |    void FillRandom(TH1* h, Int_t ntimes = 5000) override { FillRandom(h, ntimes, nullptr); }
|         ^~~~~~~~~~
make: *** [makefile:200: .build/libraries/GROOT/GCube.o] Error 1

Updating to ROOT v6.24 solved this error.
Ubunt20 lacked the liblapack-dev and liblapack-dev libraries. Maybe they can be added to the list of prerequisites (of which the link seems to be broken, by the way)

Oh, okay, I didn't know that they had already changed the feature in 6.23. The code assumes that the change in function signature happened for 6.24.
In general I would advise to only use even numbers of root releases, those are the stable versions, the odd numbers are for development.
I've updated the link to the requirements for ROOT, not sure if liblapack-dev is included in those.

Hi,
Hate to reopen this, but I'm having a similar problem installing GRSISort on Ubuntu. I've already tried to install all the dependencies listed here to fix what Bruno said above.
I also can't use the ErrorReport.sh script to auto-create the error report, so here's on that I've manually filled in. This is trying to install the current version of GRSISort.
Any ideas?
HOSTNAME     = dionysus.triumf.ca
SYSTEM       = Linux
OS           = Ubuntu
VER          = 20.04
GRSISYS      = /opt/GRSISort
ROOTSYS      = /opt/root_v6.24.00_source_moved
ROOT Version = 6.24/00
Error:
dyates@dionysus:/opt/GRSISort$ sudo make
/bin/sh: 1: root-config: not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
Compiling .build/util/WalkPlot.o              [ERROR]
util/WalkPlot.cxx:4:10: fatal error: TFile.h: No such file or directory
4 | #include <TFile.h>
|          ^~~~~~~~~
compilation terminated.
make: *** [makefile:185: .build/util/WalkPlot.o] Error 1
dyates@dionysus:/opt/GRSISort$

It looks like root is either not installed or not set up correctly. Have you sourced the correct thisroot.sh script? What is the output of “which root-config” or “which root”? And what is your PATH environment variable set to?
On Jun 10, 2021, at 20:30, Daniel Yates @.***> wrote:

CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to @.***
Hi,
Hate to reopen this, but I'm having a similar problem installing GRSISort on Ubuntu. I've already tried to install all the dependencies listed herehttps://root.cern/install/dependencies/ to fix what Bruno said above.
I also can't use the ErrorReport.sh script to auto-create the error report, so here's on that I've manually filled in. This is trying to install the current version of GRSISort.
Any ideas?
HOSTNAME = dionysus.triumf.ca
SYSTEM = Linux
OS = Ubuntu
VER = 20.04
GRSISYS = /opt/GRSISort
ROOTSYS = /opt/root_v6.24.00_source_moved
ROOT Version = 6.24/00
Error:
@.:/opt/GRSISort$ sudo make
/bin/sh: 1: root-config: not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
Compiling .build/util/WalkPlot.o [ERROR]
util/WalkPlot.cxx:4:10: fatal error: TFile.h: No such file or directory
4 | #include <TFile.h>
| ^~~~~~~~~
compilation terminated.
make: *** [makefile:185: .build/util/WalkPlot.o] Error 1
@.:/opt/GRSISort$
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/GRIFFINCollaboration/GRSISort/issues/1177#issuecomment-859175179, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABXQVIHNCKHVQV34KKULILDTSFKL3ANCNFSM44F6VZTQ.

Here is the full string of the outputs for that. I even tried to do a completely clean install of ROOT 6.24.00, but it gives the same problem when trying to build GRSISort. ROOT itself works fine from what I can tell though.
dyates@dionysus:/opt/GRSISort$ which root
/opt/root_v6.24.00_source_moved/bin/root
dyates@dionysus:/opt/GRSISort$ which root-config
/opt/root_v6.24.00_source_moved/bin/root-config
dyates@dionysus:/opt/GRSISort$ echo $PATH
/opt/GRSISort/bin:/opt/root_v6.24.00_source_moved/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/dyates/bin
dyates@dionysus:/opt/GRSISort$ root
| Welcome to ROOT 6.24/00                        https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on May 31 2021, 23:55:58                 |
| From heads/latest-stable@v6-24-00-1-ge6a04a86cb                  |
| With                                                             |

Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'

root [0] .q
dyates@dionysus:/opt/GRSISort$ sudo make
/bin/sh: 1: root-config: not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
Compiling .build/util/WalkPlot.o              [ERROR]
util/WalkPlot.cxx:4:10: fatal error: TFile.h: No such file or directory
4 | #include <TFile.h>
|          ^~~~~~~~~
compilation terminated.
make: *** [makefile:185: .build/util/WalkPlot.o] Error 1
dyates@dionysus:/opt/GRSISort$

I see you are using sudo to compile grsisort, are the outputs of the commands you gave also with sudo?

Ah good point. No, they weren't. So that makes sense why the sudo make was unable to locate ROOT.
I've changed all the permission in ROOT and GRSISort to avoid having to use sudo now.
However, I still get an error (albeit a different one):
dyates@dionysus:/opt/GRSISort$ make
Compiling GVersion.h                                                  [OK]
Compiling WalkPlot.o                                                  [OK]
Compiling GPopup.o                                                    [OK]
Compiling GHSym.o                                                     [OK]
Compiling GGaus.o                                                     [OK]
Compiling .build/libraries/GROOT/GRootBrowser.o[ERROR]
libraries/GROOT/GRootBrowser.cxx: In constructor ‘GRootBrowser::GRootBrowser(TBrowser*, const char*, UInt_t, UInt_t, Option_t*, Bool_t)’:
libraries/GROOT/GRootBrowser.cxx:119:4: error: ‘gVirtualX’ was not declared in this scope; did you mean ‘TVirtualPad’?
119 |    gVirtualX->SetInputFocus(GetId());
|    ^~~~~~~~~
|    TVirtualPad
libraries/GROOT/GRootBrowser.cxx: In constructor ‘GRootBrowser::GRootBrowser(TBrowser*, const char*, Int_t, Int_t, UInt_t, UInt_t, Option_t*, Bool_t)’:
libraries/GROOT/GRootBrowser.cxx:141:4: error: ‘gVirtualX’ was not declared in this scope; did you mean ‘TVirtualPad’?
141 |    gVirtualX->SetInputFocus(GetId());
|    ^~~~~~~~~
|    TVirtualPad
libraries/GROOT/GRootBrowser.cxx: In member function ‘virtual Bool_t GRootBrowser::HandleKey(Event_t*)’:
libraries/GROOT/GRootBrowser.cxx:581:7: error: ‘gVirtualX’ was not declared in this scope; did you mean ‘TVirtualPad’?
581 |       gVirtualX->LookupString(event, input, sizeof(input), keysym);
|       ^~~~~~~~~
|       TVirtualPad
make: *** [makefile:185: .build/libraries/GROOT/GRootBrowser.o] Error 1

What does your GRootBrowser.cxx file look like? Does it have a line #include "TVirtualX.h", should be line 64?

Indeed it did not. That was updated, but now onto the next problem.... GRSISort can't find TPython.h, even though it does exist in ROOT. See below.
Thanks for all the help so far, Vinzenz!
dyates@dionysus:/opt/grsisort/GRSISort$ make
Building  grsirc                                                      [OK]
Compiling GVersion.h                                                  [OK]
Compiling WriteCalToRoot.o                                            [OK]
Compiling GPopup.o                                                    [OK]
Compiling GHSym.o                                                     [OK]
Compiling GGaus.o                                                     [OK]
Compiling GRootBrowser.o                                              [OK]
Compiling .build/libraries/GROOT/GRootCommands.o[ERROR]
libraries/GROOT/GRootCommands.cxx:23:10: fatal error: TPython.h: No such file or directory
23 | #include <TPython.h>
|          ^~~~~~~~~~~
compilation terminated.
make: *** [makefile:201: .build/libraries/GROOT/GRootCommands.o] Error 1
dyates@dionysus:/opt/grsisort/GRSISort$
dyates@dionysus:/opt/grsisort/GRSISort$
dyates@dionysus:/opt/grsisort/GRSISort$ find /opt/root/ -name TPython.h
/opt/root/bindings/tpython/inc/TPython.h
/opt/root/bindings/pyroot_legacy/inc/TPython.h
dyates@dionysus:/opt/grsisort/GRSISort$ which root
/opt/root/builddir/bin/root
dyates@dionysus:/opt/grsisort/GRSISort$

What is the result of find $ROOTSYS -name TPython.h and what is the compile command it fails at (enter a line VERBOSE=1 in the makefile before line 114, and then run make again)?

Oh, sorry, didn't see that you already ran a find. For grsisort to find TPython.h it must be in the normal include directory of root $ROOTSYS/include/TPython.h. If that file does not exist, your root version isn't installed properly.

So, I tried re-installing ROOT from source since TPython.h wasn't included. The installation went fine and didn't give any errors. ROOT itself works still, but TPython.h is still not included in $ROOTSYS/include/ still. I guess I will try to install root from the Ubuntu binaries instead and see if that works...

What cmake command do you use and what is the output from it? You can install ROOT without certain modules and it will compile and run without problems, as long as you don't use those modules.

When I run cmake ../root-6.24.00 -Dall=ON, I get a resulting file include/module.modulemap.extra which contains a section
module "ROOTTPython" {
  requires cplusplus
  module "TPyArg.h" { header "TPyArg.h" export * }
  module "TPyReturn.h" { header "TPyReturn.h" export * }
  module "TPython.h" { header "TPython.h" export * }
  link "libROOTTPython.so"
  export *
}

Which I think causes the TPython.h file to be copied over from the source directory.

Alternatively you could try copying the /opt/root/bindings/tpython/inc/TPython.h file manually ...

What cmake command do you use and what is the output from it? You can install ROOT without certain modules and it will compile and run without problems, as long as you don't use those modules.

I was just following the instructions for building from source from root.cern. So whatever cmake commands they gave.
I tried installing it from the Ubuntu binaries and it ultimately worked. So, I have a working version of GRSISort on my machine now. It's still unclear why building from source didn't work for me though... But, problem solved for now I guess.
Thanks for the help, Vinzenz!


Is List repository tree supported?

List repository tree
Get a list of repository files and directories in a project.
GET /projects/:id/repository/tree

Is List repository tree supported?

Unfortunately, no, it is not currently supported. Happy to add it if you wish to submit a PR.


Storage areas disappearing in factory sectors

Bug report
Basic Information
Mission version: v0.96.5
Map used: Takistan
Mods used:

ACE
RHSAFRF
RHSUSAF
Project OPFOR
MCC Sandbox 4
Achilles
CUP (Core, Maps, CWA)
Ace Compat (AFRF + USAF)
JSRS Soundmod (AFRF, USAF)
Blastcore

Dedicated or local game: Local
Source of the mission file (URL): Workshop
Individual Things
Did you edit anything within the mission files?
No
Short Issue Description
Storage areas disappearing in all factory sectors when you relog in mission. You can build storage area again, but it will be empty.
Expected Behaviour
Storage areas should not disappear.
Steps to Reproduce the Issue
Just relog in mission.

Hey lad,
Wyqer and me weren't able to reproduce your issue at all.
Maybe you can provide us some logs when playing your mission file, before relogging and one after placing, waiting around 15 minutes and relog again to see, why your crates are disapearing. Thanks for your help in advance!

Updated mod list. I need to post logs located in AppData/Local/Arma 3?

Regarding to your updated modlist, i will test this issue tomorrow again. Will tell you by then which logfiles you need to send us! Thank you for your help!

Hey lad,
tested some stuff and found out that MCC is causing this issue. We are looking through the code if there might be a way around but it seems bad looking. So better don't use MCC anylonger, because its well known for causing issues around the Arma 3 main game.

Might be worth reopening this as I've seen several others, including people not running MCC, reporting storage areas disappearing in the Discord

Opened this up again for further investigation.

New Report of the Same Bug
Basic Information
Arma 3 version: v1.94.145977 with all DLC including creator DLCS
Mission version: v0.96.5
Map used: song_bin_tanh
Mods used: unsung
Full list of mods loaded in Arma 3:

CBA_A3
CUP_Terrains_Core
CUP_Terrains_Maps
CUP_Terrains_CWA
CUP_Units
CUP_Vehicles
CUP_Weapons
unsung
AlRayakV0044
xCam_Taunus
Jbad
LYTHIUM
panthera_a3
ProjectOPFOR
RHSAFRF
RHSUSAF
RHSGREF
RHSSAF
bwa3
AdvancedSlingLoading
AdvancedTowing
AdvancedRappelling
Enhanced Movement
WMO - Walkable Moving Objects

Dedicated or local game: Local
Source of the mission file (URL): Github
Individual Things
Did you edit anything within the mission files?
In order to fix a known respawn huron bug of song_bin_tanh kp lib map which is caused by a model glitch of CH-21C chopper,
in the file

\scripts\shared\functions\F_getMobileRespawns.sqf

in the line

((getpos _x) select 2) < 5 &&

number 5 has been modified to 6.
Short Issue Description
Storage areas disappear in all factory sectors when you reload the mission.
Expected Behaviour
Storage areas should not disappear.
Steps to Reproduce the Issue
I ran the map as local host and saved the game, then later reloaded it and ran it further. This was repeatedly done more times when the bug has eventually occured.

Fixed with https://github.com/KillahPotatoes/KP-Liberation/commit/1f353e3a80341dad51e91a5a19aa92dfe6140aca#diff-33efaffe0bbc56e3e30590e0cb9d40ab


Standardize the name used for azd environment variables

Make azd to follow one only convention for environment variables.
azd should use a prefix to avoid any collision with system variables.
azd is currently using environment variables in the form of:

AZD_XXXX_XXXX... , like:

AZD_SKIP_UPDATE_CHECK
AZD_DEBUG_FORCE_NO_TTY
AZD_FUNC_TEST

AZURE_DEV_XXXX_XXX..., like:

AZURE_DEV_COLLECT_TELEMETRY
AZURE_DEV_CI_OS
AZURE_DEV_USER_AGENT

AZURE_XXX..., like:

AZURE_ENV_NAME

XXX..., like:  (this should be fixed as could potentially collision)

GITHUB_ACTIONS
NO_COLOR
CODESPACES
REMOTE_CONTAINERS

Extra note:  azd should also define if setting env vars with empty value is equivalent to adding any value to it.
For example, for bool vars like NO_COLOR, is setting NO_COLOR= the same as NO_COLOR=1?  or is the same as not setting the env var.

For NO_COLOR usage see https://no-color.org/ (it is not azd invention)

For NO_COLOR usage see https://no-color.org/ (it is not azd invention)

At the end of the page there's a list of variations, or libraries using a different argument to support the no color feature.
So, azd could define its own way if we want. Whatever we decide we just need to create a PR for this file to appear in the list (either as following the NO_COLOR or by mentioning our way)
We are also currently expecting to define any value for NO_COLOR to enable it. For example NO_COLOR=1.
If we set NO_COLOR= (with no value), for us that's the same as not setting the env var.

@vhvb1989 please, no "our separate way" if at all possible: the major advantage of the NO_COLOR "informal standard" is that there is one, simple way to turn off ANSI color output in all conforming software.

GITHUB_ACTIONS is not defined by azd and instead a product of GitHub Actions. I suspect the same is true for CODESPACES and REMOTE_CONTAINERS.
I think the issue should be rephrased to, any azd owned environment variables should share the same prefix, which I'd agree with. AZD is my vote for the prefix, although we'd need to potentially think about the breaking change to AZURE_DEV_COLLECT_TELEMETRY.

CODESPACES and REMOTE_CONTAINERS are GH standard, can't change them.
But, I agree with the sentiment.
AZURE_ is what the SDK uses, so we'll likely converge there.  Those won't change.


Problem position when detete a tag

onRemoveLabel(View view, int position). position value allway is -1 when i delete a tag. Something went wrong here?

Are you using a List like RecyclerView for example? Maybe you aren't using a List and you are using the method 'removeLabel(int position)'.
Remember that methods 'addLabel(String textLabel, int position)' and 'removeLabel(int position)' must be used ONLY with Lists (RecyclerView for example). The position is the place in the list, not the position of the label added.
So, you have to use the method 'removeLabel(String labelToRemove)'.


Following Pod Security Policies documentation still allows me to create a pod

I am following the PSP documentation but I am still able to create pods. I am expecting a rejection.
I'm starting minikube like this
minikube start --extra-config=apiserver.enable-admission-plugins=PodSecurityPolicy --addons=pod-security-policy
# kubectl create namespace psp-example
namespace/psp-example created

# kubectl create serviceaccount -n psp-example fake-user
serviceaccount/fake-user created

# kubectl create rolebinding -n psp-example fake-editor --clusterrole=edit --serviceaccount=psp-example:fake-user
rolebinding.rbac.authorization.k8s.io/fake-editor created

# kubectl -n psp-example create -f psp.yml
podsecuritypolicy.policy/example created

psp.yml
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
  name: example
spec:
  privileged: false  # Don't allow privileged pods!
  # The rest fills in some required fields.
  seLinux:
    rule: RunAsAny
  supplementalGroups:
    rule: RunAsAny
  runAsUser:
    rule: RunAsAny
  fsGroup:
    rule: RunAsAny
  volumes:
  - '*'

# kubectl --as=system:serviceaccount:psp-example:fake-user -n psp-example create -f test-deploy.yml
pod/pause created

test-deploy.yml
apiVersion: v1
kind: Pod
metadata:
  name: pause
spec:
  containers:
    - name:  pause
      image: k8s.gcr.io/pause

# kubectl --as=system:serviceaccount:psp-example:fake-user -n psp-example  auth can-i use podsecuritypolicy/example
Warning: resource 'podsecuritypolicies' is not namespace scoped in group 'policy'
no

# kubectl get psp
NAME         PRIV    CAPS   SELINUX    RUNASUSER          FSGROUP     SUPGROUP    READONLYROOTFS   VOLUMES
example      false          RunAsAny   RunAsAny           RunAsAny    RunAsAny    false            *
privileged   true    *      RunAsAny   RunAsAny           RunAsAny    RunAsAny    false            *
restricted   false          RunAsAny   MustRunAsNonRoot   MustRunAs   MustRunAs   false            configMap,emptyDir,projected,secret,downwardAPI,persistentVolumeClaim

I am expecting the pod to NOT be created. I have played with different RBAC settings but still cannot get the pod to reject being created. Any guidance would be great. Thanks.

It turns out, it actually doesn't run the pod, but the expected output in the docs is wrong.
# kubectl describe pods pause
Name:         pause
Namespace:    default
Priority:     0
Node:         minikube/<IP_ADDRESS>
Start Time:   Mon, 09 Nov 2020 21:27:36 -0800
Labels:       <none>
Annotations:  kubernetes.io/psp: restricted
Status:       Pending
IP:           <IP_ADDRESS>
IPs:
  IP:  <IP_ADDRESS>
Containers:
  pause:
    Container ID:
    Image:          k8s.gcr.io/pause
    Image ID:
    Port:           <none>
    Host Port:      <none>
    State:          Waiting
      Reason:       CreateContainerConfigError
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-8875n (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  default-token-8875n:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-8875n
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age               From               Message
  ----     ------     ----              ----               -------
  Normal   Scheduled  47s               default-scheduler  Successfully assigned default/pause to minikube
  Normal   Pulled     44s               kubelet            Successfully pulled image "k8s.gcr.io/pause" in 1.631611536s
  Normal   Pulled     43s               kubelet            Successfully pulled image "k8s.gcr.io/pause" in 717.074703ms
  Normal   Pulled     31s               kubelet            Successfully pulled image "k8s.gcr.io/pause" in 554.249945ms
  Normal   Pulled     18s               kubelet            Successfully pulled image "k8s.gcr.io/pause" in 941.82209ms
  Normal   Pulling    3s (x5 over 46s)  kubelet            Pulling image "k8s.gcr.io/pause"
  Warning  Failed     2s (x5 over 44s)  kubelet            Error: container has runAsNonRoot and image will run as root
  Normal   Pulled     2s                kubelet            Successfully pulled image "k8s.gcr.io/pause" in 953.789996ms


Add functions to write hessian vector products into an array

The functions

stan::math::internal::finite_diff_hessian_times_vector_auto()
stan::math::hessian_times_vector()

accept the hessian vector product (hvp or Hv, respectively) as an Eigen::VectorXd& out parameter.  Similar to issue #2739, it would benefit BridgeStan to allow signatures that effectively write into double* hvp such that BridgeStan could offer cheaper hessian vector products.
I propose adding functions with signatures

stan::math::internal::finite_diff_hessian_times_vector_auto()

template <typename F, typename EigVec, typename InputIt,
  require_eigen_vector_vt<std::is_arithmetic, EigVec>* = nullptr>
void finite_diff_hessian_times_vector_auto(const F& f, const EigVec& x,
                                           const EigVec& v, double& fx, InputIt first_hvp, InputIt last_hvp)

stan::math::hessian_times_vector()

template <typename F, typename EigVec, typename InputIt,
  require_eigen_vector_vt<std::is_arithmetic, EigVec>* = nullptr>
void hessian_times_vector(const F& f,
                          const EigVec& x,
                          const EigVec& v,
                          double& fx,
                          InputIt first_Hv, InputIt last_Hv)

In fact, stan::math::hessian could benefit from a similar added function, but I'm having a hard time wrapping my head around the design of the signature since the out parameter here is a matrix.  @WardBrian, would you mind lending an opinion?
Current Version:
v4.7.0

The hessian could be represented as a strided matrix (essentially a rowise or columnwise flattening). Since it should always be symmetric it doesn’t even matter which direction you flatten in


Sample audio and video files for AudioVideoPlayerBot

Can you please provide a working example of an NV12 YUV video file and PCM16K wav file for the AudioVideoPlayerBot Sample? I've not been able to create a video that is not distorted, or audio that is good quality. I'm using the following ffmpeg commands:
ffmpeg -i input.mov -s 640x360 -pix_fmt nv12 -framerate 15 output.yuv
ffmpeg -i input.mov -acodec pcm_s16le -ar 8K -ab 16K output.wav

Is there a recommended tool or approach for converting modern video formats such as mov/mp4 to the required Real Time Media formats? Or is there a way to provide H264 to the AudioVideoFramePlayer?

I tried your commands and they seem to work for me. You can open the .yuv using YuvToolKit from http://www.yuvtoolkit.com/ to verify if the video is fine. (Change the resolution, format and fps in the popup window) I just binged for some sample .mov file and found some at link http://www.steppublishers.com/sample-video. There is no distortion with audio or video.. Try and let us know how it goes.
AudioVideoFramePlayer does not support H264 currently.

What video formats are actually supported by AudioVideoFramePlayer? My videos (converted with the commands above) start to play, but then freeze after the first few frames. Also, the NV12 formatted files are extremely large.

Hey Rob,
To extract media from an MP4 or divx file, you can use ffmpeg and sox.
For this example I have used a 720 mp4 file,  a couple of useful commands:

(optional) cut the video if too big: (here just 10 sec of content)
ffmpeg -i input720p.mp4 -c copy -ss 00:00:10 -t 00:00:10 output.mp4

2- extract the audio tracks:
ffmpeg -i output.mp4 outputToConvert.wav
3- convert the audio tracks to mono, most of the video samples have 5.1 audio (6 channels), to view it, I would recommend using Audacity and see how many tracks there is in your audio. in my case 6 so merging it to 1 channel:
sox outputToConvert.wav outputmono.wav remix 1-6
4-downsampling the audio to 16khz you can visualize the sampling rate in Audacity
sox outputmono.wav -r 16k  audioOutput.wav
5-finally for the video portion:
ffmpeg -i  output.mp4 -f rawvideo -vcodec rawvideo -pix_fmt nv12 -s 1280x720 -r 30 rawvideo.yuv
This distortion might be coming for the original resolution from your input. As Malar mentioned, I would recommend to load the raw video with this tool http://www.yuvtoolkit.com/  to double check.
Thanks!

forgot to reply to this question:
"What video formats are actually supported by AudioVideoFramePlayer? My videos (converted with the commands above) start to play, but then freeze after the first few frames. Also, the NV12 formatted files are extremely large."
Supported formats are documented here: https://review.docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-real-time-media-concepts, since it is raw media the size will definitely be big, H264 is not yet supported.
If the file you are trying to push is very large, more than 2GB, you can wait for the LowOnFrames event to enqueue the next portion of the video instead of enqueuing everything at the beginning.
For your question regarding the freeze, please make sure that the timestamps for the video are correct and also try to view the raw media you are streaming with http://www.yuvtoolkit.com/

Thanks - that was exactly what I needed for the audio and video formatting. Your approach produced working files for me now. Thanks!
The videos are still getting cut off after a couple seconds, but I don't think it is related to the video formatting. It looks like no matter the length of the video, only 12 MediaBuffers are getting created. Is it possible that stream read is returning less than frameSize bytes here even if not at the end of the file?
while (fs.Read(bytesToRead, 0, bytesToRead.Length) >= frameSize)

The Stream.Read documentation says "An implementation is free to return fewer bytes than requested even if the end of the stream has not been reached." I'm using a CloudFile, so maybe there's some buffering delays?

By the way - your link above said I am not authorized to view. But this link looks like the same page: https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-real-time-media-concepts

Thanks I fixed the link.
Regarding your question about not having enough buffers to stream. Is it possible for you to pre-download the file and retry?
Later, you can always try a more optimized approach where you could bufferize the download from your source to make sure you are never going to run out of buffers to stream.
It is also very important to make sure that the time stamps in the video buffers are accurate, this is used by the AudioFramePlayer to ensure Audio Video sync.
I would recommend you to always make sure that you have in queue at least 10 sec worth of audio/video buffers.
For that you can use the setting MinEnqueuedMediaLengthInMs in the AudioVideoFramePlayerSettings when you create the frame player, this way you will be notified by the LowFrames event when you have less than 10 sec worth of data.

Just to close the loop on this one, moving the files to a local storage location helped, but there are still scenarios where you will not read the entire requested amount of data in a Stream.Read call. I modified the read loop to look something like this and that guarantees the whole file gets read into buffers:
using (Stream fs = ...)
{
    byte[] bytesToRead = new byte[frameSize];
    int spot = 0;
    int bytesRead = 0;
    bytesRead = fs.Read(bytesToRead, spot, bytesToRead.Length - spot); // This can actually return less than frameSize bytes even if not at the end of the stream

    while ( bytesRead > 0)
    {
        if (spot + bytesRead < bytesToRead.Length) // Didn't read a whole frame
        {
            spot = spot + bytesRead;
        }
        else
        {
            IntPtr unmanagedBuffer = Marshal.AllocHGlobal(frameSize);
            Marshal.Copy(bytesToRead, 0, unmanagedBuffer, frameSize);
            referenceTime += packetSizeInMs;
            var videoSendBuffer = new VideoSendBuffer(unmanagedBuffer, (uint)frameSize,
                videoFormat, referenceTime);
            videoMediaBuffers.Add(videoSendBuffer);
            spot = 0;
        }

        bytesRead = fs.Read(bytesToRead, spot, bytesToRead.Length - spot);
    }
}

Hope this helps!
-Rob