angular 2 / 4 hash location strategy and redirect_uri integration issue

When using has location strategy routing in angular 2 / 4 URLs look like this:
http://server/#/authorization-redirect-handler
If I pass a URL of this format to the oauth/authorize endpoint as the redirect_uri when using a response type of code, the 302 redirect spring security oauth returns looks like this:
http://server?code=gh35jsw/#/authorization-redirect-handler
this doesn't work with angular 2 / 4 as the URL should be:
http://server/#/authorization-redirect-handler?code=gh35jsw
I've looked in to the code in  spring-security-oauth/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/endpoint/AuthorizationEndpoint.java
and in the following function:
private String getSuccessfulRedirect(AuthorizationRequest authorizationRequest, String authorizationCode) {

		if (authorizationCode == null) {
			throw new IllegalStateException("No authorization code found in the current request scope.");
		}

		Map<String, String> query = new LinkedHashMap<String, String>();
		query.put("code", authorizationCode);

		String state = authorizationRequest.getState();
		if (state != null) {
			query.put("state", state);
		}

		return append(authorizationRequest.getRedirectUri(), query, false);
}

the
return append(authorizationRequest.getRedirectUri(), query, false);

line takes a fragment parameter hard coded to false. Changing that to true produces the URL in the format angular 2 / 4 is expecting. I would like to suggest externalizing that parameter to a config item. For example controlling it through supportClientHashRouting() when configuring the HttpSecurity object or enableUrlFragmentForClientRouting() or enableNg2HashRoutingSupport. I'm happy to do this myself if you guys will look at the PR for me when it's ready? Please let me know

Facing the same issue, while using Twitter OAuth

Unfortunately, the hash fragment portion of the url is a browser side page reference. According to the http specs, the browsers aren't supposed to send anything after the hash to the server. Changing this is probably not going to work on all platforms and even if it does, it relies on off specification functionality so it shouldn't be implemented. If this causes you issues, you need to switch to PathLocationStrategy in ng2 and 4. There are a couple of caveats around making that work with the redirects, I'll try get the solution written up and link to it here for anyone else who comes across the problem

I am facing the same issue.  Has anyone found a solution yet?

Using path location strategy in @Angular works. I've had it in prod now for over a year. You absolutely shouldn't use the hash location strategy for this sort of redirect parameter as you can't guarantee that a browser will send the portion after the hash.


FutureT: @uncheckedVariance

To avoid such error (using Scala 2.10.6):
[info] Compiling 1 Scala source to …
/killrweather/killrweather-app/target/scala-2.10/classes...
[error] …
/killrweather/killrweather-app/src/main/scala/com/datastax/killrweather/
syntax/FutureSyntax.scala:8: covariant type A occurs in invariant
position in type
[+A]scalaz.EitherT[scala.concurrent.Future,Throwable,A] of type FutureT
[error]   type FutureT[+A] = EitherT[Future, Throwable, A]
[error]        ^
[error] one error found
[error] (app/compile:compile) Compilation failed

I'm not sure about the exact version of Scala that generates such error...
Opening those projects on Eclipse thanks to "sbt eclipse", it says "Eclipse Compiler 2.11.7".
Forgive my lack of accuracy, I'm quit new to Scala, & even more to sbt.

Hi @laugimethods,
So this is not an isolated PR, it is a bit all over the map  which is not ideal.

You can PR for instance the annotation you wanted to add in a scala upgrade, however this needs to be upgraded to Scala 2.11.latest, not 2.10.6 ;) It seems you did an upgrade to fix what was a warning in 2.10.5.
Additionally, you could in another PR do version upgrades pertaining to akka and akka streams, if there is binary compatibility with the upgraded spark akka version. But doing all in one big PR means I do need to close this, while greatly appreciated. I have not had any time to upgrade versions in this reference app myself, so thanks :)

Hi Helena,
Actually, there is two PR I can push:

A library upgrade (+ fixes) based on such versions (btw still not compatible with Cassandra 3.x):
val Akka           = "2.4.2"
val Albebird       = "0.12.0"
val Bijection      = "0.9.2"
val Cassandra      = "3.3"
val CassandraDriver = "3.0.0"
val JDK            = "1.8"
val JodaConvert    = "1.8"
val JodaTime       = "2.9.2"
val Json4s         = "3.2.11"
val Kafka          = "<IP_ADDRESS>"
val KafkaReactive	 = "0.10.0" // https://github.com/manub/scalatest-embedded-kafka/issues/6
val Kryo           = "3.0.0"
val Logback        = "1.1.5"
val Pickling       = "0.10.1"
val Scala          = "2.11.7"
val ScalaTest      = "2.2.6"
val Scalaz         = "7.2.0"
val ScalazContrib  = "0.2"
val ScalazStream   = "0.8"
val Sigar          = "1.6.4"
val Slf4j          = "1.7.16"
val Spark          = "1.6.0"
val SparkCassandra = "1.6.0-M1"

An evolution of this PR where all the code that is specific to Weather has been isolated into two dedicated projects (weather_app + weather_clients), so to ease the reusability of this framework (I'm using the Scala Cake Pattern to do basic Dependency Injection). That most recent code also contains new fixes.

So, what would you like me to do? What about you creating a new branch where I can PR my code safely?
Best regards,
Btw, thank YOU for the killrweather projet!
Laurent

I'll set this up Tuesday, sounds really good!
Helena Edelson
https://twitter.com/helenaedelson
On Thu, Mar 3, 2016 at 6:24 AM, Laurent Magnin<EMAIL_ADDRESS>wrote:

Hi Helena,
Actually, there is two PR I can push:

A library upgrade (+ fixes) based on such versions (btw still not
compatible with Cassandra 3.x):
val Akka = "2.4.2"
val Albebird = "0.12.0"
val Bijection = "0.9.2"
val Cassandra = "3.3"
val CassandraDriver = "3.0.0"
val JDK = "1.8"
val JodaConvert = "1.8"
val JodaTime = "2.9.2"
val Json4s = "3.2.11"
val Kafka = "<IP_ADDRESS>"
val KafkaReactive = "0.10.0" // manub/scalatest-embedded-kafka#6
https://github.com/manub/scalatest-embedded-kafka/issues/6
val Kryo = "3.0.0"
val Logback = "1.1.5"
val Pickling = "0.10.1"
val Scala = "2.11.7"
val ScalaTest = "2.2.6"
val Scalaz = "7.2.0"
val ScalazContrib = "0.2"
val ScalazStream = "0.8"
val Sigar = "1.6.4"
val Slf4j = "1.7.16"
val Spark = "1.6.0"
val SparkCassandra = "1.6.0-M1"

An evolution of this PR where all the code that is specific to
Weather has been isolated into two dedicated projects (weather_app +
weather_clients), so to ease the reusability of this framework (I'm using
the Scala Cake Pattern to do basic Dependency Injection). That most recent
code also contains new fixes.

So, what would you like me to do? What about you creating a new branch
where I can PR my code safely?
Best regards,
Btw, thank YOU for the killrweather projet!
Laurent
—
Reply to this email directly or view it on GitHub
https://github.com/killrweather/killrweather/pull/30#issuecomment-191782855
.

I still have some adjustments to make, so tomorrow is perfect.


deps: replace fluent-plugin-oss gem by fluent-plugin-aliyun-oss

Fixes https://github.com/kube-logging/logging-operator/issues/1361

@pepov any idea why this fails?

@pepov just rebased :)


Unrounded positions cause problems for grids

When an object gets added to a level at slightly off position, it will get set in a slightly off column in the grid, where it will not be found while iterating over it.

Just rounding every number entered in the metatables appears to lose some performance with a manual inexact benchmark.


Requests for pre-trained models

I noticed that the project provides the performance of all models on five datasets, can you please provide their pre-trained models?

Or can you provide the results of these models when tested on these five datasets?

Sorry for the late reply. The pre-trained model weights have been uploaded and I have updated the corresponding results. You can find them in the README files under each subfolder in configs.


sliding with mouse scroll - request

this desperately needs possibility to slide right and left with mouse scroll wheel.

Totally agree! :) We're working on this for the next release. Thanks!

In addition, I think on mouse click would improve UX, too. (could be a little tricky with clickable elements).

@Belelros I've asked around and tested myself, this does not mouse-scroll on firefox, only on chrome.

Which Firefox version are you using and which system? We've tested this and it seems to work.


ExecuteActivityDefinition not respected

Is this a bug report?
Yes
Can you also reproduce the problem with the latest version?
Yes, please check my fork of Sample-Containers.
Environment

Operating system: Windows 10
Visual Studio version: VS2019 (16.4.2)
Dotnet version: .NET Core 2.2/.NET Framework 4.6.2

NOTE: I don't think these are relevant though. :)
NOTE2: I've tested it with an in-memory bus as well as RabbitMQ - the behavior is the same.
Steps to Reproduce

Set Sample-Autofac project as a start-up project
Start the Sample-Autofac project

Expected Behavior
FooExecuteActivityDefinition execute endpoint name set in the constructor is respected when registering the activity (or something is written to the console output).
NOTE: Also, I believe an exception should be thrown as the FOO endpoint is already used in FooConsumerDefintion. There it works as expected.
Actual Behavior
FooExecuteActivityDefinition is not respected and nothing is printed to the console output.
Reproducible Demo
As mentioned above, here is a link to the project reproducing the issue:
https://github.com/steliyan/Sample-Containers

Ah, good catch. I’ll look at this shortly.


Packit config update

Increase version for packit propose-update.

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

There was an error while running a copr build:
Unable to connect to kubernetes API server.

You can re-trigger copr build by adding a comment (/packit copr-build) into this pull request.

This is getting ridiculous.

/packit copr-build


[BUG] Pending Time inconsistent with the settings

Describe the bug
The Pending Time is inconsistent with the settings.
To Reproduce
After pressing the Away button, the timer starts at 30 seconds instead of the 45 shown in the settings.

Smartphone:

Device: Samsung S6
OS: Android 7.0
Application version: 1.1.2 build 1

I’d you are using remote option, these times are not used as the server sets them.

Currently I use the basic configuration and I don't send the times via mqtt. To be sure, I analyzed the mqtt traffic and I have not seen these times communicated.
Do you have any suggestions on any specific logs I can collect?


EasyExperience v1.1

You've got a merge conflict in your sheet.json file. Can you resubmit a corrected version?

Umm, I don't see any conflicts. Also, did you mean the script.json?

I did mean script.json.
The pull request is trying to add a "<<<<<<< HEAD" section, which is the result of a merge conflict that wasn't manually resolved. The script.json file needs to be fixed before I merge it in.
{
"name": "EasyExperience",
"script": "EasyExperience.js",
<<<<<<< HEAD
"version": “1.1”,
"previousversions": [“1.04”,”1.03","1.02","1.01","1.0","0.4"],
"description": "# EasyExperience\r\r###### Make awarding XP simple!\r\r### PC vs. NPC: \rThe script determines if a character is a PC or an NPC based on whether or not it is controlled by a  specific player. Characters with no control, or only controlled by \”All Players\” are ignored.\r\r###Storing of XP\rThe script will create a character named ExperienceThresholds with a Session XP attribute and an attribute for each level in your system’s progression. This is where the script stores the XP accrued in a session and the thresholds for progressing to the next level respectively\r\r###Commands\rUse !xp followed by one of these commands to call the script:\rhelp – Shows the help screen\rchallenge – Add an XP amount to the session tally. This can be a typed in number or passed via an attribute call to a character’s attribute. You can also follow this amount with the number of times you would like it added. You can specify characters to add XP to (in place of the session tally) by adding their character ids on to the end of the command; you must specify a multiplication value in this case and the total xp will be divided evenly among the specified PCs.\rsession – Divides the session xp total by the number of PCs and applies that xp to all PCs\rconfig – Select your experience progression system and set PCs to active or MIA.\r**XP Progression options: Pathfinder slow, medium, fast, or Society play, D&D 5e, and custom”,
"version": "1.04",
"previousversions": ["1.03","1.02","1.01","1.0","0.4"],
"description": "Make awarding experience simple. Use <b>!xp help</b> to pull up the help menu for complete details.",

Roll20/master
"authors": "Scott C.",
"roll20userid": "459831",
"useroptions": [],
"dependencies": [],
"modifies": {
"state.EASYEXPERIENCE": "read,write",
"attribute.id": "read,write",
"attribute": "read,write",
"character": "read,write"
},
"conflicts": []
}


Pagination not working in diag UI

Is this a known issue? Page 1 populates with the most recent workflows, but page 2 is always empty.
I'm using the mysql backend, would this be a bug in the query that skips the first page w/#/?after=?

Thanks for the report, fix should go in shortly 🙇


tweakwcs example notebook

Notebook showing workflow for aligning images with tweakwcs. I condensed the two examples in the previous version of the notebook to one more in-depth example.
Much of the notebook is on verifying the quality of alignment. As it stands, tweakwcs doesn't return diagnostic information (matched sources, RMS of fit...) so I have done this all within the notebook to emulate the typical TweakReg outputs many users may wish to have. @mcara and I spoke about this and he is making this attributes accessible ASAP, so the cells where I use a KD tree to find common sources and manually calculate the fit RMS will be greatly condensed. The rest of the notebook is in it's final form and is ready for comments.

@shannnnnyyy Done in https://github.com/spacetelescope/tweakwcs/pull/20

FYI, CI will not pass until I release tweakwcs.

@larrybradley i just made these changes too and was about to push my notebook! what should I do?

Ah, sorry!  I didn't think anyone else would be working this late.  If you want I can remove my changes.

Thanks, @shannnnnyyy!


Finish removing playbook assignment

This completes a change begun in commit 47dd9fc2.

This PR was combined with #106 for ease of review.


Command without slash

With the following code, we can invoke commands with /start or /ping
    [Command("start")]
    [Command("ping")]
    public async Task Start(MessageData data)
    {
        await data.Client.SendTextMessageAsync(data.Message.From!.Id, "You pressed: /start");
    }

How do I configure it so that it can be invoked with ping without slash?
maybe [Command("ping", withoutSlash: true)]

Unfortunately, the library does not yet support non-slash commands like this. This can be implemented using [TextCommand] and direct comparison of message text. I will add this functionality to the backlog of future updates.

We have released a new version of the library. Now you can use the attribute [TextCommand] like [TextCommand("ping")].


readme

Add me to core in Readme :)
@borda & @williamFalcon

also add in docs/source/covernance.rst :)


Update debugfs

Seems debugfs image is not compatible with latest version of 0-os/0-fs, update is required.
This could fix #34 btw

The debugfs script is updated and use an updated flist which support new flist format. This is already on development-zos-v2 image.


Rearranging Columns

What feature or improvement do you think would benefit Files?

It could have the option to rearrange the columns according to the user's preference, increasing customization.
It could include groups to open folders, making it possible to group folders according to the subject and when opening various applications, it will be able to show the selected folders.

Requirements

Currently the Type column is after the modified date column and it would be interesting to change it to be after the file name field.
When opening a group, the folders that are part of it will be opened and when you open another group, the same will occur, but with different folders, with this, we will be able to separate the contexts of each group, making it easier for those who are developers.

Files Version
<IP_ADDRESS>
Windows Version
10.0.22635.3858
Comments
No response

Thank you for your feedback, I added a similar request to our todo list a while ago, can you confirm if this is the same? #8385


Initialize Firestore on App.tsx

I have pulled this PR locally and conducted a test with following condition:

Use current main branch on fast-auth-signer
Sign in with existing account on Chrome browser
Sign out
Check out to current branch
Attempt to sign in

I see this error message:

Maybe we need to look into further?

above error is occurred from https://github.com/near/fast-auth-signer/blob/main/packages/near-fast-auth-signer/src/lib/controller.ts#L293
Maybe if user fail at this point, we send them email verification here?
(eg, it would make sense to re-verify here because if expected oidc is absent, first thing we should do is email verification)


[$250][P2P Distance] - Disabled rate is not listed in the Rate list when it is still selected

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.17-0
Reproducible in staging?: y
Reproducible in production?: no, new feature
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Precondition:

Workspace has some distance rates.

Submit a distance expense with Distance rate A.
Go to workspace settings > Distance rates.
Disable Distance rate A used in Step 3.
Go back to transaction thread of the distance expense.
Click Rate.

Expected Result:
The disabled rate will appear selected in the Rate list but grayed out (like Category and Tag when selected and disabled afterward).
Actual Result:
The disabled rate is not listed in the Rate list when it is still selected.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/7a2b9e90-faa2-460a-abfb-0f5ce5ef5f00

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01113b3b52e50f7f4e
Upwork Job ID:<PHONE_NUMBER>687763365
Last Price Increase: 2024-08-14

Issue OwnerCurrent Issue Owner: @mananjadhav

Proposal
Please re-state the problem that we are trying to solve in this issue.
Distance rate which is selected but after disabling, not shown.
What is the root cause of that problem?
We are filtering the disabled rates when showing the rates list in selector.
https://github.com/Expensify/App/blob/627ef1a982350287aaf79e5c08c5f25a7033187a/src/libs/DistanceRequestUtils.ts#L47-L50
https://github.com/Expensify/App/blob/627ef1a982350287aaf79e5c08c5f25a7033187a/src/pages/iou/request/step/IOURequestStepDistanceRate.tsx#L141-L144
What changes do you think we should make in order to solve the problem?
We shall pass true as second argument that will give us disabled rates as well and we will also pass enabled value.
https://github.com/Expensify/App/blob/627ef1a982350287aaf79e5c08c5f25a7033187a/src/pages/iou/request/step/IOURequestStepDistanceRate.tsx#L141-L144
Once that is done -
we can filter the disabled rate in IOURequestStepDistanceRate as following. and pass isDisabled value so it will show selected but style will be different for selected but disabled value.
    const sections = Object.values(rates).filter(rate => {
        const isSelected = currentRateID ? currentRateID === rate.customUnitRateID : rate.name === CONST.CUSTOM_UNITS.DEFAULT_RATE
        return isSelected || rate?.enabled
    }).map((rate) => {
        const rateForDisplay = DistanceRequestUtils.getRateForDisplay(rate.unit, rate.rate, rate.currency, translate, toLocaleDigit);
        return {
            text: rate.name ?? rateForDisplay,
            alternateText: rate.name ? rateForDisplay : '',
            keyForList: rate.customUnitRateID,
            value: rate.customUnitRateID,
            isSelected: currentRateID ? currentRateID === rate.customUnitRateID : rate.name === CONST.CUSTOM_UNITS.DEFAULT_RATE,
            isDisabled: !rate.enabled
        };
    });

What alternative solutions did you explore? (Optional)

Not a blocker, the rate field is still behind the beta.

@neil-marcellini Are we planning to make it external?

made external

I'll review the proposals by tomorrow. I was OOO.

@mananjadhav are you available or should we reassign this issue?

I'll have this reviewed today.

I was a little confused with the selectedRateID in this proposal. But after reviewing it thoroughly I understand now. Both the proposals identify the correct root cause, but I think it's best to use this proposal  by @dominictb. It involves cleaning up the existing code as well.

I was a little confused with the selectedRateID in this proposal. But after reviewing it thoroughly I understand now. Both the proposals identify the correct root cause, but I think it's best to use this proposal  by @dominictb. It involves cleaning up the existing code as well.
🎀 👀 🎀

@dominictb a couple questions:

Remove this: ... because it is redundant and use:

Don't we need that there? Otherwise this component will not update if onyx data changes, no?

Finally, return additional prop isDisabled: !rate.enabled in:

Why are we transforming enabled to isDisabled? Why not keep enabled?

Yes, I agree with @iwiznia points here.

I am not sure if we should modify getMileageRates() method, because it's being used at multiple places.
For unit, we use what is being used in workspace not individual rate. Can you please confirm that.

https://github.com/Expensify/App/blob/72c8cf7679f2ce80e39e8fd14c55bc48b5f80937/src/libs/DistanceRequestUtils.ts#L42-L61

And for calculateTaxAmount() we use particular tax rate.

Also in selected proposal, root cause is not correct.
We are not passing disabled values to component and the RCA mentions about the logic for creating list items.

I think we already had the policy data is always up-to-date here:

Ohhhhh, ok yeah, looking at those now I agree it is not needed

We only have a logic to gray out the option if it has isDisabled is true. So if need to convert enabled to isDisabled.

Got it, makes sense

I am not sure if we should modify getMileageRates() method, because it's being used at multiple places.

Like where? I'd think most places it is being used needs this logic and the ones that do not, can just not pass a selected value and the behavior would stay the same as now, no?

or unit, we use what is being used in workspace not individual rate
And for calculateTaxAmount() we use particular tax rate. Meaning when we click on option then only that's triggered.

Not sure what you mean here

Checking recent comments.

I don't think any of the existing calls should break. We can even set that as optional param. I don't think we're modifying anything for calculateTaxAmount or unit. We're only ensuring it works as before. Still feel we should go with the shortlisted proposal.

about RCA?

pending regression period

FYI you can check yourself by looking at the production branch. I think it was since I see your changes here

Okay I should've clarified. I did see the changes in the production branch, I am not sure what would be the payout date.

hmmm yeah, I am not sure. Maybe you can find the merge commit in the production branch?

Correct me if I am wrong but we can use this release link to confirm this was deployed 2 weeks ago - https://github.com/Expensify/App/releases/tag/9.0.31-26
@dylanexpensify as for the checklist I think this was more of an edge case and hence I don't have a PR that I can pinpoint to.
But I do feel we should add a regression test for this one.
Regression Test Proposal

Precondition: Workspace has some distance rates.

Submit a distance expense with Distance rate A.
Go to workspace settings > Distance rates.
Disable Distance rate A used in Step 3.
Go back to transaction thread of the distance expense.
Click Rate.
Verify that: The disabled rate will appear selected in the rate list but grayed out.

Payment summary:
Contributor: @dominictb $250 via Upwork
Contributor+: @mananjadhav $250 via NewDot
Please apply/request!

payment sent in upwork @dominictb!

$250 approved for @mananjadhav


Update  cohorts_analysis to latest version

resolves #78
Once vector-ops PR has been merged and the 20211101 cohorts meta data transferred to release bucket, the tests on this branch need running to check cohorts_analysis changes. Once they have passed, it can be reviewed/merged.

Hi @alimanfoo, this is ready for review now.


Fix typo at header parsing section

Checklist:

[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

This change is incorrect.


Fix: date nil bug

What this PR does:
#90
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@aliiohs u can use func SetValue instead to set value, which will match the target and source type.

LGTM, great thanks to @aliiohs for the hard work~


I cannot manipulate the order of carousel slide via array

Example
if we have an array such as slides = [slide1,slide2,slide3,slide4]; then we need to insert slide5 to between slide3 and slide4 by splice function,So we have [slide1,slide2,slide3,slide5,slide4] we expect the view result should be sorted as the same order.But actually the library perform slide5 displayed at the last of slide like we push slide5 to the last of array, I think this is bad practice for me I expect the slides should be sorted as the same order of an array it hard to sort like dynamic slide.

plunkr please

I think it's a duplicate of https://github.com/angular-ui/bootstrap/issues/488
And I have this problem too.

Indeed this is a duplicate of #488 . Closing as duplicate.


change address reuse and transaction time

In the past version of huntercoin we had by default the addressreuse setting that caused any transaction to give back the change to the same address, now is this feature with huntercore lost?
It seems that with a 20MB wallet of transaction, moves takes lot longer to be accepted (seconds) and with current block generation time so variable, there are many times a new block generate after few seconds, causing the move to go in blockchain after 3 blocks, screwing the gameplay (and i suppose this is what happened to other users that posted on the forum)
Is this because of no address reuse and so lot of unspent transactions are used? anyway the wallet is slow when he reach around 15/20 mb (non SD drive) and this would cause players to have to create new wallets very often

Yes, the address-reuse "feature" is indeed not present anymore in Huntercoin Core.  One reason is that I simply did not port it so far, but the other is that I don't think we should do it.  Address reuse is in general not considered a good practice in the crypto community; we only added this to avoid a situation where users could lose coins because the constant using up of addresses made backups run out of cached addresses.  This is no longer an issue with the new HD feature, thus I think we should not keep reusing addresses.
This has nothing do with wallet performance:  What matters is the unspent outputs ("coins") in both cases, not the number of unique addresses.  So from the wallet point-of-view, you always have, e. g., two coins to track; independent of whether they are on the same address or not.
If the performance is really decreased with respect to the old client, then it is a regression introduced by upstream Bitcoin since the very old code.

I'll try to track better what's happening, anyway would sending lot of unspent coins to an address "merge them"?
I mean, if i use 10 unspent coins of 1 HUC to  send them to address X, would this generate a single unspent coin (so merging the little unspent coins into one unspent coin of value 10?)
If yes, i could periodically send all coins to an address meging my little unspent.
While i'm here talking about problems, i would like to point out i found a lot of "Conflicted" transaction in my wallet, and most of them are when i try to destruct... I looked which tx were conflicting and i found they were some tx that were confirmed few blocks ahead (2 or 3), what's happening there?
Of course this often lead to lose the hunter (so 100 huc) because he missed the action i required (destruct) while the enemy didn't... this is a big problem of course, but what's the cause? there is a bug in the wallet that reuse some coins?
If you want the next time it happen i'll send you what you'd need to investigate... I read about malleability attack, could this be the case?
If you want i can open a new issue about this

No, merging of coins does not work like this.  For merging, you have to explicitly create a tx with multiple inputs and sending all the value to some address of yours (it is irrelevant which addresses are involved).  Are you actually sure that you have that many coins in your wallet?  Try listunspent to see how many there are.
Regarding the other issue:  Yes, please open a separate Github issue.  Tx should be marked as conflicted only if e. g. they move a hunter that has been killed while the tx was still pending.  It is not clear to me from your description whether that's actually the case or whether the tx is then confirmed later.  If the former, the feature is working as intended.  If the latter, then it is a bug.

you have to explicitly create a tx with multiple inputs and sending all the value to some address of yours >(it is irrelevant which addresses are involved)
this is what i meant, sending all coins to one of my wallet address to generate 1 unspent coin and so "defragmenting" hopefully the wallet or anyway the unspent list

actually my wallet (around 25MB) has 330 unspent coins, i don't know if you consider this big or not, but comparing the time it takes my client to send a move, agianst a fresh wallet (or another wallet that have around 80 unspent coins), it's very noticeable (i'm talking about 3 seconds for each move) and it affect even the block generation time (the time my client receive the new gamestate data)
I'll try then to send my unspent coin to one address, to see if this helps and so if this points out to a scalability problem. About the other problem, I'll open a new issue with my findings and some data

Actually i found that a problem was related to name_list, that I used in my client: the more names you have in the wallet, the more time it takes to return.
This surprised me, how does it works, did the list got recomputed every name_list call?
Because on my tests i tried to create a wallet with lot of random names, and my stats reports that with around 100 names, it takes 5 seconds to return (locking the wallet too if i remind right, so affecting game_status generation probably)
I was using that name_list call every new gamestate and with this fast block generation randomness, i had to remove it and hold an updated list using my game logic. But couldn't the name_list be fixed to have an inmemory rappresentation that hold the list of names? Or maybe having just the list of "alive names", because for the game purpose we are not interested in "died" names
tbh, what would be VERY useful would be to just have (and i'm pretty sure i said already this 2 years ago because faced the same "problem") to just have a "ismine:true/false" value in the player returned in the game_getstate, isn't this trivial to do, and will help having a self-contained game status? (there, even the "isSpectator" flag should be reported, while now every client has to compute the field "stay_in_spawn_area" and it's pretty bad to not have the information right into the game status
(of course the "ismine" information is much more important.
Note that i already solved this in my client, but I think this will improve much more the huntercore itself, and even allow some other 3rd party utilities to be built on.
I'm pretty sure you understand my points about having a game state that actually holds a real game_state and not a partial rappresentation
About this issue, I think the unspent list affect times too, but i'm not yet sure, because even compacting them (sending funds to one of my wallet address, reducing the unspent list) seems to prevent that often a single move takes a couple of seconds to be issued (and so the RPC method returns after some seconds). Probably something is related to locks that apply when a new block arrive, but I'm not 100% sure, I'll try to add some timers around some of my calls to confirm if the bottleneck is the name_update call, but then I'd need your help to understand why

update on times: i enabled debug=1 and...
Flushed wallet.dat 18181ms
18 seconds every new block.... this mean that big wallets (mine is around 45MB and if you play a lot you'll reach that amount in few days, and anyway even having 5 or 6 seconds of lock (and the time increases in a quite linear way) could make the difference between sending the transaction at the right moment or not
what can be done, except having small wallets (that isn't a solution but just a workaround?)


Replace Login and Sign Up buttons with Follow us on Github

Replace the login and sign up button with Follow us on GitHub

Replace these buttons with Follow us on Github

merged to card branch


Add version to pyproject.toml

Try to use pyproject.toml file as single source of truth
Add additional topics to classifiers

@cclauss good idea?

That is strange..? Python v3.7 test is failing while all tests are fine. Also locally the tests are still fine.
I don't see why the python 3.7 test would stop with exit code 1 (error). Any idea?:
https://github.com/fake-useragent/fake-useragent/actions/runs/3400848032/jobs/5655552691


TiDB startup error

when I use ansible 2.1 to deploy TiDB 2.1.4 cluster with TiDB -binlog ,try many times to startup TiDB cluster,but it's hard to startup normal.It appears  following:
TASK [wait until the prometheus metrics page is available] ****************************************************************************************************************************************************************************** FAILED - RETRYING: wait until the prometheus metrics page is available (12 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (11 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (10 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (9 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (8 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (7 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (6 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (5 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (4 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (3 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (2 retries left). FAILED - RETRYING: wait until the prometheus metrics page is available (1 retries left). fatal: [<IP_ADDRESS>]: FAILED! => {"attempts": 12, "changed": false, "content": "", "msg": "Status code was -1 and not [200]: Request failed: <urlopen error [Errno 111] Connection refused>", "redirected": false, "status": -1, "url": "http://<IP_ADDRESS>:9090/metrics"}         to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/start.retry
OR
TASK [wait until the prometheus port is up] ********************************************************************************************************************************************************************************************* fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "elapsed": 300, "msg": "the prometheus port 9090 is not up"}         to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/start.retry
I'm sure the monitor hosts all port is not used by others applications.

when I set up parameters in  inventory.ini
[kafka_exporter_servers]
<IP_ADDRESS>
$$ ansible-playbook start.yml
startup tidb error.
because the configure file （conf/prometheus.yml）generated by ansible is error,is not knowd by promethues.
...

job_name: 'kafka_exporter'
honor_labels: true # don't overwrite job & instance labels
static_configs:

targets:

'<IP_ADDRESS>:9308'
...

job_name: "port_probe"
scrape_interval: 30s
metrics_path: /probe
params:
module: [tcp_connect]
static_configs:

targets:

'<IP_ADDRESS>:9092'
'<IP_ADDRESS>:9092'
'<IP_ADDRESS>:9092'
labels:
group: 'kafka'

targets:

'<IP_ADDRESS>:2181'
'<IP_ADDRESS>:2181'
'<IP_ADDRESS>:2181'
labels:
group: 'zookeeper'

targets:

'<IP_ADDRESS>:8250'
'<IP_ADDRESS>:8250'
'<IP_ADDRESS>:8250'
labels:
group: 'pump'

targets:

'<IP_ADDRESS>:8249'
'<IP_ADDRESS>:8249'
'<IP_ADDRESS>:8249'
labels:
group: 'drainer'

targets:

'<IP_ADDRESS>:9308'
labels:
group: 'kafka_exporter'
relabel_configs:
source_labels: [address]
target_label: __param_target
source_labels: [__param_target]
target_label: instance
target_label: address
replacement: <IP_ADDRESS>:9115
format error.


Dependency updates & CI fixes

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


sync_code_signing not able to find newly created certificate when nested in a lane

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I have a lane certs_and_profile which calls sync_code_signing action. The lane works fine  when called from terminal as
bundle exec fastlane certs_and_profile

But if I call certs_and_profile lane from another lane initialize_app then it always fails to find the newly created certificate 😞
Another thing is, that sync_code_signing isn't able to find certificate if there are two certificates with same name in keychain.
Command executed

bundle exec fastlane initialize_app

Fastfile#lanes:
lane :initialize_app do |options|
  create_app_online(
      username: <apple_username>,
      app_identifier: <app_id>,
      app_name: "Test - Preview",
      company_name: <itc_team_name>,
      app_version: '14671',
      sku: <app_id>,
      team_id: <portal_team_id>,
      itc_team_name: <itc_team_name>,
      enable_services: {
          game_center: 'on',
          in_app_purchase: 'on',
          push_notification: 'on'
      }
  )
  certs_and_profile(
      app_id: <app_id>,
      portal_team_id: <portal_team_id>,
  )
end

lane :certs_and_profile do |options|
  UI.abort_with_message!('env var MATCH_KEYCHAIN_PASSWORD is not set') unless ENV['MATCH_KEYCHAIN_PASSWORD']
  UI.abort_with_message!('env var MATCH_PASSWORD is not set') unless ENV['MATCH_PASSWORD']

  sync_code_signing(
    git_url: <repo_url>,
    git_branch: <portal_team_id>,
    type: 'appstore',
    app_identifier: <app_id>,
    username: <apple_username>,
    team_id: <portal_team_id>,
    clone_branch_directly: false,
    readonly: false
  )
end

Complete output when running fastlane, including the stack trace and command used

[master]: [13:33:30]: Cruising over to lane 'certs_and_profile' �
[master]: [13:33:30]: -------------------------------
[master]: [13:33:30]: --- Step: sync_code_signing ---
[master]: [13:33:30]: -------------------------------
[master]:
[master]: +-----------------------+--------------------------------------+
[master]: |                  Summary for match 2.115.0                   |
[master]: +-----------------------+--------------------------------------+
[master]: | git_url               | git@gitlab.com:company/repo          |
[master]: |                       | a-wlappinfo.git                      |
[master]: | git_branch            | PORTALID                             |
[master]: | type                  | appstore                             |
[master]: | app_identifier        | ["com.company.app"]                  |
[master]: | username              |<EMAIL_ADDRESS>                  |
[master]: | team_id               | PORTALID                             |
[master]: | clone_branch_directly | false                                |
[master]: | readonly              | false                                |
[master]: | storage_mode          | git                                  |
[master]: | shallow_clone         | false                                |
[master]: | keychain_name         | login.keychain                       |
[master]: | keychain_password     | ********                             |
[master]: | force                 | false                                |
[master]: | force_for_new_devices | false                                |
[master]: | skip_confirmation     | false                                |
[master]: | skip_docs             | false                                |
[master]: | platform              | ios                                  |
[master]: | verbose               | false                                |
[master]: +-----------------------+--------------------------------------+
[master]:
[master]: [13:33:30]: Cloning remote git repo...
[master]: [13:33:30]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
[master]: [13:33:45]: Checking out branch PORTALID...
[master]: [13:33:47]: �  Successfully decrypted certificates repo
[master]: [13:33:47]: Verifying that the certificate and profile are still valid on the Dev Portal...
[master]: [13:33:48]: Couldn't find a valid code signing identity for distribution... creating one for you now
[master]:
[master]: +-------------------+--------------------------------------+
[master]: |                 Summary for cert 2.115.0                 |
[master]: +-------------------+--------------------------------------+
[master]: | development       | false                                |
[master]: | force             | true                                 |
[master]: | username          |<EMAIL_ADDRESS>                  |
[master]: | team_id           | PORTALID                             |
[master]: | keychain_path     | /Users/apps_builder_master/Library/  |
[master]: |                   | Keychains/login.keychain-db          |
[master]: | keychain_password | ********                             |
[master]: | platform          | ios                                  |
[master]: +-------------------+--------------------------------------+
[master]:
[master]: [13:33:48]: Starting login with user<EMAIL_ADDRESS>[master]: [13:33:50]: Successfully logged in
[master]: security: SecKeychainItemImport: User interaction is not allowed.
[master]: [13:33:59]: Successfully generated 223D4VJ44Y which was imported to the local machine.
[master]: [13:34:15]: Verifying the certificate is properly installed locally...
[master]: +---------------+----------------+
[master]: |       Lane Context             |
[master]: +---------------+----------------+
[master]: | PLATFORM_NAME |                |
[master]: | LANE_NAME     | initialize_app |
[master]: +---------------+----------------+
[master]: [13:34:15]: Could not find the newly generated certificate installed
[master]:
[master]: +------+------------------------+-------------+
[master]: |              fastlane summary               |
[master]: +------+------------------------+-------------+
[master]: | Step | Action                 | Time (in s) |
[master]: +------+------------------------+-------------+
[master]: | 1    | opt_out_usage          | 0           |
[master]: | 2    | Switch to              | 0           |
[master]: |      | certs_and_profile      |             |
[master]: |      | lane                   |             |
[master]: | �    | sync_code_signing      | 44          |
[master]: +------+------------------------+-------------+
[master]:
[master]: [13:34:15]: fastlane finished with errors
[master]:
[master]: [!] Could not find the newly generated certificate installed

Environment

 � fastlane environment �
Stack

Key
Value

OS
10.13.6

Ruby
2.4.2

Bundler?
true

Git
git version 2.21.0

Installation Source
~/.rbenv/versions/2.4.2/bin/fastlane

Host
Mac OS X 10.13.6 (17G6030)

Ruby Lib Dir
~/.rbenv/versions/2.4.2/lib

OpenSSL Version
OpenSSL 1.0.2o  27 Mar 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
10.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
opt_out_usage
import 'DroidFastfile'
import 'IosFastfile'

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.115.0
� Update available

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-appicon
0.14.0
✅ Up-To-Date

fastlane-plugin-brew
0.1.1
✅ Up-To-Date

Loaded gems

Gem
Version

bundler
1.17.1

io-console
0.4.6

CFPropertyList
3.0.0

concurrent-ruby
1.1.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
<IP_ADDRESS>

public_suffix
2.0.5

addressable
2.6.0

ast
2.4.0

atomos
0.1.3

babosa
1.0.2

mini_mime
1.0.0

mini_portile2
2.3.0

nokogiri
1.8.2

rack
2.0.6

rack-test
1.0.0

xpath
3.0.0

capybara
2.18.0

claide
1.0.2

cliver
0.3.2

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.6.1

cocoapods-deintegrate
1.0.4

cocoapods-downloader
1.2.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.1.0

netrc
0.11.0

cocoapods-trunk
1.3.1

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.2.0

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.4.0

nanaimo
0.2.6

xcodeproj
1.8.2

cocoapods
1.6.1

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

connection_pool
2.2.2

declarative
0.0.10

declarative-option
0.1.0

digest-crc
0.4.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.7.2

emoji_regex
1.0.1

excon
0.64.0

multipart-post
2.0.0

faraday
0.15.4

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.5

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.0

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2018.0812

mime-types
3.2.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

google-cloud-storage
1.16.0

json
2.2.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.2.2

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
1.8.0

unicode-display_width
1.5.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.1

tty-spinner
0.9.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

fastlane-plugin-appicon
0.14.0

fastlane-plugin-brew
0.1.1

git
1.5.0

jaro_winkler
1.5.2

openssl
2.1.2

parallel
1.16.1

parser
<IP_ADDRESS>

websocket-extensions
0.1.3

websocket-driver
0.7.0

poltergeist
1.12.0

psych
3.1.0

rack-protection
2.0.5

rainbow
3.0.0

redis
4.1.0

rest-client
2.0.2

ruby-progressbar
1.10.0

rubocop
0.66.0

sidekiq
5.2.5

generated on: 2019-04-24

Can you check the values of the environment variables CER_FILE_PATH and CER_KEYCHAIN_PATH after your ran these lanes (on directly, and once via the other one)?
Those are used to check if it was properly installed: https://github.com/fastlane/fastlane/blob/be55c12077fe91f4eecb64e8ee3a3fa4b8085048/cert/lib/cert/runner.rb#L15-L17 and something seems to go wrong with those I guess.

@janpio I will test it out today and let you know. One difference I noticed in the logs is:
[master]: [13:33:48]: Starting login with user<EMAIL_ADDRESS>[master]: [13:33:50]: Successfully logged in
[master]: security: SecKeychainItemImport: User interaction is not allowed.
[master]: [13:33:59]: Successfully generated 223D4VJ44Y which was imported to the local machine.
[master]: [13:34:15]: Verifying the certificate is properly installed locally...

the third line, this is what I see when certificate is is not found, where as when I run the lane directly from shell then I don't get this line in logs instead there is a line about Setting partition list ...  something like that.

I have updated that part of my initial post, sure I will create a separate issue for that.

@janpio I will test it out today and let you know. One difference I noticed in the logs is:
[master]: [13:33:48]: Starting login with user<EMAIL_ADDRESS>[master]: [13:33:50]: Successfully logged in
[master]: security: SecKeychainItemImport: User interaction is not allowed.
[master]: [13:33:59]: Successfully generated 223D4VJ44Y which was imported to the local machine.
[master]: [13:34:15]: Verifying the certificate is properly installed locally...

the third line, this is what I see when certificate is is not found, where as when I run the lane directly from shell then I don't get this line in logs instead there is a line about Setting partition list ...  something like that.

I have updated that part of my initial post, sure I will create a separate issue for that.

Hey @janpio ,
the values of these ENV vars when calling sync_code_signing from a lane (certs_and_profile) which is called by another lane (initialize_app):
[slave0]: [19:27:50]: Successfully logged in
[slave0]: security: SecKeychainItemImport: User interaction is not allowed.
[slave0]: [19:27:58]: Successfully generated 583T8L4AM3 which was imported to the local machine.
[slave0]: [19:27:59]: Verifying the certificate is properly installed locally...
[slave0]: [19:27:59]: CER_FILE_PATH: /var/folders/kf/6mwq411j6kl7wcltf77mbjv80000gn/T/d20190505-8051-1f0f33w/certs/distribution/583T8L4AM3.cer
[slave0]: [19:27:59]: CER_KEYCHAIN_PATH:

the values of these ENV vars when calling certs_and_profile directly (without deleting previously created certificate from keychain):
[19:35:20]: Successfully logged in
security: SecKeychainItemImport: User interaction is not allowed.
[✔] Setting key partition list... (this can take a minute if there are a lot of keys installed)
[✔] Setting key partition list... (this can take a minute if there are a lot of keys installed)
[19:35:27]: Successfully generated 4BFG895V8P which was imported to the local machine.
[19:35:28]: Verifying the certificate is properly installed locally...
[19:35:28]: CER_FILE_PATH: /var/folders/kf/6mwq411j6kl7wcltf77mbjv80000gn/T/d20190505-8214-1lxto0n/certs/distribution/4BFG895V8P.cer
[19:35:28]: CER_KEYCHAIN_PATH:

the values of these ENV vars when calling certs_and_profile directly (after cleaning up existing certificate from keychain):
[20:01:31]: Successfully logged in
[✔] Setting key partition list... (this can take a minute if there are a lot of keys installed)
[✔] Setting key partition list... (this can take a minute if there are a lot of keys installed)
[20:01:39]: Successfully generated AKH66K5XUW which was imported to the local machine.
[20:01:41]: Verifying the certificate is properly installed locally...
[20:01:41]: Successfully installed certificate AKH66K5XUW

+-------------------------------------+---------------------------------------------------+
|                                Summary for sigh 2.115.0                                 |
+-------------------------------------+---------------------------------------------------+
| app_identifier                      | com.company.someappid                             |
| username                            |<EMAIL_ADDRESS>                                |
| force                               | true                                              |
| cert_id                             | AKH66K5XUW                                        |
| provisioning_name                   | match AppStore com.company.someappid              |
| ignore_profiles_with_different_name | true                                              |
| team_id                             | PORTALID                                          |
| platform                            | ios                                               |
| adhoc                               | false                                             |
| developer_id                        | false                                             |
| development                         | false                                             |
| skip_install                        | false                                             |
| skip_fetch_profiles                 | false                                             |
| skip_certificate_verification       | false                                             |
| readonly                            | false                                             |
+-------------------------------------+---------------------------------------------------+

[20:01:41]: Starting login with user<EMAIL_ADDRESS>[20:01:42]: Successfully logged in
[20:01:42]: Fetching profiles...
[20:01:43]: Verifying certificates...
[20:01:43]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you
[20:01:46]: Creating new provisioning profile for 'com.company.someappid' with name 'match AppStore com.company.someappid' for 'ios' platform
[20:01:46]: Downloading provisioning profile...
[20:01:47]: Successfully downloaded provisioning profile...
[20:01:47]: Installing provisioning profile...
/var/folders/kf/6mwq411j6kl7wcltf77mbjv80000gn/T/d20190505-8425-1q8mnbw/profiles/appstore/AppStore_com.company.someappid.mobileprovision
[20:01:47]: Installing provisioning profile...
[20:01:48]: 🔒  Successfully encrypted certificates repo
[20:01:48]: Pushing changes to remote git repo...
[20:01:49]: Finished uploading files to Git Repo [git@gitlab.com:company/some-repo.git]

+---------------------+---------------------------------------------------------+---------------------------------------------------------+
|                                                     Installed Provisioning Profile                                                      |
+---------------------+---------------------------------------------------------+---------------------------------------------------------+
| Parameter           | Environment Variable                                    | Value                                                   |
+---------------------+---------------------------------------------------------+---------------------------------------------------------+
| App Identifier      |                                                         | com.company.someappid                                   |
| Type                |                                                         | appstore                                                |
| Platform            |                                                         | ios                                                     |
| Profile UUID        | sigh_com.company.someappid_appstore                     | df668ead-1124-4adb-8b52-d6ef92fbcdea                    |
| Profile Name        | sigh_com.company.someappid_appstore_profi               | match AppStore com.company.someappid                    |
|                     | le-name                                                 |                                                         |
| Profile Path        | sigh_com.company.someappid_appstore_profi               | /Users/apps_builder_0/Library/MobileDevice/Provisionin  |
|                     | le-path                                                 | g                                                       |
|                     |                                                         | Profiles/df668ead-1124-4adb-8b52-d6ef92fbcdea.mobilepr  |
|                     |                                                         | ovision                                                 |
| Development Team ID | sigh_com.company.someappid_appstore_team-               | V22Z94RBWA                                              |
|                     | id                                                      |                                                         |
+---------------------+---------------------------------------------------------+---------------------------------------------------------+

[20:01:49]: All required keys, certificates and provisioning profiles are installed 🙌
[20:01:49]: Setting Provisioning Profile type to 'app-store'
[20:01:49]: CER_FILE_PATH: /var/folders/kf/6mwq411j6kl7wcltf77mbjv80000gn/T/d20190505-8425-1q8mnbw/certs/distribution/AKH66K5XUW.cer
[20:01:49]: CER_KEYCHAIN_PATH:

@janpio The issue has been fixed for me, I used the unlock_keychain action before using sync_code_signing action and that fixed the issue for me (even when using sync_code_signing via nested lanes).

Interesting. Shouldn't we have gotten a more obvious error message then? @joshdholtz?

Just fyi,
I was getting various random issues, by random I mean code signing or building ipa would randomly start failing and then I had to restart machine, open Keychain app and close it etc.. All those issues seems to be resolved by just invoking unlock_keychain action before sync_code_signing.
May be add this in code signing troubleshooting page:
Try invoking unlock_keychain action before sync_code_signing


setIntervall - memory permanently increasing

Hello,
I was trying to use your library for a game loop. Installation and including works like a charm but setIntervall seems to block GC. Even when I am just doing this:
var NanoTimer = require('nanotimer');
var timerA = new NanoTimer();
var task = function() {
    console.log(Date.now());
};
timerA.setInterval(task, null, 1000/25+'m', function(err) {
    if(err) {
        //error
    }
});

The memory used will increase slowly and it never drops to a lower value again. That's why I am assuming GC won't run.
Am I missing sthg.?
P.S. I am on Ubuntu 14 with node 0.12.7

I'm looking into this.  I'm pretty busy at the moment, but hopefully I can find out why soon.

@fatelgit did you try with node >=5.0, cuz there is a leak in older versions ?

is this the case for Node 4.x
@Krb686 did you have time to check this?

Hey, guys. Working on a project currently and am interested in this library for use on a microcontroller. Any news on this? Has anyone else confirmed this issue/is a fix planned?

My attention has been brought back to this.  I'm running some memory leak tests now...

I've tested again with a new setup (Ubuntu 16.10, node 7.1.0) and the problem seems to be gone. Memory still increases from about 10MiB to 21MiB then jumps up to 37MiB a few minutes later but not any further. Had the example from my opening post running for about 3 hours and memory consumption never surpassed 37MiB. So I would assume that there was a leak in the older node version I've used last year.

Memory leak is still occurring in node 6.x

Meant to post some results from that old comment from 9/16 but I kinda dropped it after fatelgit said he no longer saw the issue.  I just kicked off a little test with 6.11, so I'll let it run overnight and see what happens.

So my test was the exact code posted above by fatelgit.  Here's the vsz in KiBs  after running overnight.  Each tick on the x axis is a single second, so it has been running for almost 7.5 hours.

So obviously I can't really say this is confirmed yet.  Maybe you have some more interesting code you can share where you're seeing this problem? Or maybe it really isn't 6.x.  What version of node are you using?

@Krb686 Awesome, thanks for sharing your results.
I'm experiencing this issue with Node v6.x on a Heroku cedar-14 stack. I'm going to do some more testing today to ensure the issue is being caused by nanotimer.
I also experienced increasing memory usage locally using Node v7.10.0. The memory leak appeared to be removed by replacing nanotimer.setTimeout with a native setTimeout call (which is not ideal because your library performs better for my use case). This proves nothing, of course. If I can create a test that definitively proves nanotimer is causing the problem, I'll share it here.

@ericmcdaniel Ok, great.  Yeah that last test was in CentOS 7.1, but I also have Win10 I can try it out in.  I'll put v7.10 on it and see what happens.

And here's another graph from the test above (CentOS7,1 / node 6.11) after 35 hours

Here is the Win10 + node 7.10 test. This is a graph of process private bytes over the course of 9 hours running the exact same code.  The graph rolled back around on the left side, but originally started at about 10pm.

@Krb686 I did a review of a few other potential candidates for memory leaks in my project and the memory leak I was experiencing is not due to nanotimer but a separate library :).
It seems that the increases in memory usage that I noticed when swapping in nanotimer were being deallocated correctly, and I mistakenly identified nanotimer as being the cause of the issue. Sorry about that, and thanks for sharing your test results.


[d3d9] Implement fixed-function clipping

According to MSDN, clip planes for fixed-function are in world space, so we use the input position rather than the output.
Fixes #1427.

Looks good but there is a typo in the commit message.

This might also have a positive effect on Far Cry water reflections, since they're using custom clip planes too.


Concourse workers stop working after pod restart

BUG REPORT

Version of Helm and Kubernetes:
Helm 2.3.1, Kubernetes 1.5.2
Which chart:
Concourse
What happened:
Worker pods have a consistent hostname because they're a Statefulset. When a worker is terminated and comes back, it re-registers with the ATC using the same name. Because of this, Concourse thinks the container volumes that it created on that worker still exist. The volumes are in /concourse-work-dir, but it's always empty on startup (observed when using PVs along with the btrfs baggageclaim FS driver). This causes the worker to become unusable and pipelines will not run.
While there is a process for recovering, this is a manual process that must be undertaken when problems are noticed by users.
The preStop hook which calls concourse land-worker does not have the desired effect of preparing concourse for the worker coming back with none of the container volumes it had before.
What you expected to happen:
For any number of reasons a pod can terminate and come back. While Concourse was not designed to handle this case of a worker coming back with the same name but without the volumes it had, the chart can provide a more reliable worker lifecycle to work around Concourse's design.
How to reproduce it (as minimally and precisely as possible):

install the chart, use worker.replicas=1 or scale the worker statefulset to 1.
add a pipeline
run the pipeline
kubectl delete pod concourse-worker-0
wait for the worker pod to be re-created and have status Running again
View your pipeline, and orange resources with errors that look like failed to find created volume in baggageclaim.

Related: https://github.com/concourse/concourse/issues/1457


Add JMeter

https://github.com/aliesbelik/awesome-jmeter
Adding Apache JMeter related curated collection, that includes all the plugins, integration capabilities, testing techniques, learning resources, best practices used for load-testing and performance measurement activities using this application.

[x] I have read and understood the contribution guidelines and the instructions for creating a list.
[x] This pull request has a descriptive title. (For example: Add Node.js)
The list I added

[x] has been around for at least 20 days,
[x] is a non-generated Markdown file in a GitHub repo,
[x] is not a duplicate,
[x] only has awesome items with descriptions (Awesome lists are curations of the best, not of everything),
[x] contains the awesome badge on the right side of the list heading,
[x] has a Table of Contents section named Contents as the first section,
[x] has an appropriate license (Meaning something like CC0, NOT a code license like MIT, BSD, Apache, etc),
[x] has contribution guidelines,
[x] has been checked for inconsistent formatting, spelling, and grammar (This includes starting each link description with an uppercase character and ending it with a period ., and consistent naming),
[x] has been added at the bottom of the appropriate category.

What's JMeter? It would be good to put a description on the top of the readme like 'Graphical server performance testing tool, for both static and dynamic resources'.
Lots of the awesome items don't have descriptions. Would be good to add them to give a very breif overview of the resources and why it is considered awesome.

Don't check things that aren't done. I've unchecked the incorrectly checked checkboxes.
The format should be - [RESOURCE](LINK) - DESCRIPTION., not * [RESOURCE](LINK) - DESCRIPTION..
Repo name should be awesome-jmeter.
JMeter @ stackoverflow => JMeter @ Stack Overflow

ping

Drop the JMeter Resources TOC item and unindent the whole TOC list.
The following are missing descriptions:

https://github.com/aliesbelik/awesome-jmeter/blob/master/README.md#cloud-services--saas
https://github.com/aliesbelik/awesome-jmeter/blob/master/README.md#blogs
https://github.com/aliesbelik/awesome-jmeter/blob/master/README.md#twitter

There should be a short intro at the top about what JMeter is.
stackexchange => Stack Exchange

@aliesbelik Can you fix these too? 🔝

ping

Sorry for delay with answer.
Fixed as per comments above.


Adding offline dimension table creation and segment assignment

This PR adds creation and segment assignment of a dim table. Following are the high level changes:

We are adding a new configuration property isDimTable to identify a dim table.
If the table is identified as a dim table the segments will be assigned to all the hosts.
Adding a new TableDataManagerType which will be used to create a DimTableDataManager if the following PRs
Adding a JoinQuickStart to be used to demo an example dim table and join functinality.

Design doc for lookup join: https://docs.google.com/document/d/1InWmxbRqwcqIakzvoEWHLxtX4XR9H5L01256EbAUHV8/edit

Can you please add a link to your design doc for join? Thanks

Can you please add a link to your design doc for join? Thanks
Added in the description

Codecov Report

Merging #6286 (a13ebf2) into master (1beaab5) will decrease coverage by 2.31%.
The diff coverage is 45.12%.

@@            Coverage Diff             @@
##           master    #6286      +/-   ##
==========================================
- Coverage   66.44%   64.13%   -2.32%
==========================================
  Files        1075     1251     +176
  Lines       54773    59189    +4416
  Branches     8168     8781     +613
==========================================
+ Hits        36396    37961    +1565
- Misses      15700    18454    +2754
- Partials     2677     2774      +97

Flag
Coverage Δ

unittests
64.13% <45.12%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...e/pinot/broker/api/resources/PinotBrokerDebug.java
0.00% <0.00%> (-79.32%)
:arrow_down:

...ot/broker/broker/AllowAllAccessControlFactory.java
71.42% <ø> (-28.58%)
:arrow_down:

.../helix/BrokerUserDefinedMessageHandlerFactory.java
33.96% <0.00%> (-32.71%)
:arrow_down:

...ker/routing/instanceselector/InstanceSelector.java
100.00% <ø> (ø)

...ava/org/apache/pinot/client/AbstractResultSet.java
66.66% <0.00%> (+9.52%)
:arrow_up:

.../main/java/org/apache/pinot/client/Connection.java
35.55% <0.00%> (-13.29%)
:arrow_down:

...inot/client/JsonAsyncHttpPinotClientTransport.java
10.90% <0.00%> (-51.10%)
:arrow_down:

...not/common/assignment/InstancePartitionsUtils.java
73.80% <ø> (+0.63%)
:arrow_up:

.../apache/pinot/common/exception/QueryException.java
90.27% <ø> (+5.55%)
:arrow_up:

...pinot/common/function/AggregationFunctionType.java
98.27% <ø> (-1.73%)
:arrow_down:

... and 1096 more

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 fa7b0e4...a13ebf2. Read the comment docs.

I remember adding support in Helix where you simply mention the replication factor as N and Helix will assign a segment to all nodes in the cluster that match the tag. Can we use that?

I remember adding support in Helix where you simply mention the replication factor as N and Helix will assign a segment to all nodes in the cluster that match the tag. Can we use that?

I suggest not to use the helix mechanism (even if it is available) -- for operational ease.  "Pinot code controls segment assignment" --  is  much easier to reason about, than looking up whether isDimTable is set to know what is going on.

I remember adding support in Helix where you simply mention the replication factor as N and Helix will assign a segment to all nodes in the cluster that match the tag. Can we use that?

I suggest not to use the helix mechanism (even if it is available) -- for operational ease. "Pinot code controls segment assignment" -- is much easier to reason about, than looking up whether isDimTable is set to know what is going on.

@mcvsubbu I was curious about this suggestion. I think the purpose is to have a declarative way of segment assignment for the DimTable, but leave the actual implementation to the corresponding module, be it Helix or Pinot. Is there a particular reason that we shall not consider Helix? Is it due to reliability or some other considerations?

I remember adding support in Helix where you simply mention the replication factor as N and Helix will assign a segment to all nodes in the cluster that match the tag. Can we use that?

I suggest not to use the helix mechanism (even if it is available) -- for operational ease. "Pinot code controls segment assignment" -- is much easier to reason about, than looking up whether isDimTable is set to know what is going on.

@mcvsubbu I was curious about this suggestion. I think the purpose is to have a declarative way of segment assignment for the DimTable, but leave the actual implementation to the corresponding module, be it Helix or Pinot. Is there a particular reason that we shall not consider Helix? Is it due to reliability or some other considerations?

The idea is two-fold:

It is better we have the same pattern of assigning segments --  that of using a specific segment assignment strategy. Just add another name, and write the code for it, it should be fairly small, as has been demonstrated in this PR.
If Helix (for whatever reason) changes behavior, Pinot will not suffer.

I remember adding support in Helix where you simply mention the replication factor as N and Helix will assign a segment to all nodes in the cluster that match the tag. Can we use that?

I suggest not to use the helix mechanism (even if it is available) -- for operational ease. "Pinot code controls segment assignment" -- is much easier to reason about, than looking up whether isDimTable is set to know what is going on.

@mcvsubbu I was curious about this suggestion. I think the purpose is to have a declarative way of segment assignment for the DimTable, but leave the actual implementation to the corresponding module, be it Helix or Pinot. Is there a particular reason that we shall not consider Helix? Is it due to reliability or some other considerations?

The idea is two-fold:

It is better we have the same pattern of assigning segments --  that of using a specific segment assignment strategy. Just add another name, and write the code for it, it should be fairly small, as has been demonstrated in this PR.
If Helix (for whatever reason) changes behavior, Pinot will not suffer.

Makes sense. Thanks

I would like to review this PR. Please give me a day or two.

@dharakk FYI It will be nice to keep the commit history so we can review the incremental changes


A very little improvement with avoiding a variable assignment.

Thank you sir.


Supporting multiple languages

Our site uses multiple languages and we have to translate everything in house.  I dont know how feasible it is given your architecture, but it would be very useful if any English phrase you propagate allows an override of it's text.

Can you please list the messages that are not currently replaceable?

A for instance is:
Received an empty or invalid response from the server!
Propagated from  https://github.com/FineUploader/fine-uploader/blob/master/client/js/s3/request-signer.js line 302. Some errors like this are string literals embedded in the code with no option override.

Thanks for the update. I'll keep this in mind for a future version.

I think this one cannot be overridden also:
"XHR returned response code " + xhr.status
fine-uploader.js line 2814
and error messages inside drawThumbnail() function probably too.

The UI also can not be replaced for example the select files button text, Drop Files Here placeholder inside the uploaded list, ...

Those values most certainly are replaceable: simply update your template

@rnicholus How would you replace them in react components?

The framework you are using is irrelevant

These values are defined outside of the internal code, so they are replaceable regardless

@rnicholus I don't get it. I read fine-uploader documentation and the only option to be replaced was messages option.

If you're using a template (which you must be if you are using Fine Uploader UI) then simply update your template with, for example, the appropriate drop zone text.

I do that but I use jenkins as a build and deploy tool and everytime I update codes and build them, since fine uploader is being installed again, it resets to the default language. If there were any option to set the language strings, It would be shown correctly every time. Fine uploader has many many options for UI customizations but its suprising why there is no option for i18n purposes

As I've said, many times, the specific strings you mentioned are fully customizable through the template. the issue you have seems to be related to your environment, and not a fine uploader issue. I customize the drop zone text in all of my fine uploader integrations myself without issue


Issue with a written book as a reward

Version: 2.9.4
The issue is, that in our quest a player needs to receive a written book with some text in it. So, when he receives the book, there are no text in it except Invalid book tag. We want to give a book as a reward of finishing quest.
The same situation with a 3.0.0 version
Pastebin of quest: https://pastebin.com/MePkdUu7
We are looking forward to your answer

It is the same with potions currently there is no way to make them a reward directly because of the missing meta data. I did make a crude workaround with the command option since I have no data there who is the player or I have no idea what the wildcard is for player I'm forced to use nearest -p ?
Somebody might do this someday it is mostly just an assiduity task add 2 new menus and add extra data structures + adding code to the load and save function. I just have to do a lot atm and I also wait for the plugin to become more stable before I start doing this also Minecraft 1.13 will change some  data structures with the potential to break some stuff again.  AH I forgot in 1.13 there will be also custom recipes makes 3 options...

@AlphaDragon The ability to give rewards with metadata (books and potions) is not included with Quests at this time. As @LinearBotSystems noted, MC 1.13 will change how metadata is structured, so I'm holding off on this feature until then (otherwise it'll be more work if it breaks).

You could maybe really add a bit of code to the command option where a substring like "*questplayer" will be replayed by the current quester's player name when getting the rewards ?
This should be only 2-3 lines of code

Pretty sure you can do this with Denizen in the meantime

Latest commit adds support for both Written Books and Potions. If you experience a issue while testing, please open a new ticket. Thanks!


Twitter API throttling requests (429 Too Many Requests)

Hello, when I use certain scraper functions it gives me this error
      status: 429,
      statusText: 'Too Many Requests',

It was mostly to ask do you know when it's going to stop saying that ?
Or will it be fixed ?

I haven't seen that error from this before, but I'm currently working on porting over a month's worth of commits (#9, #6), so once that's done this might be fixed.

I just released v0.3.0 which ports over the most critical changes, let me know if that helps.

Actually, I just noticed the repo tests are failing with 429, looks like a regular rate limit. I'll need to set up a backoff for this.

Should be fixed with v0.3.1 (#12).

Made a minor adjustment in v0.3.2 btw, v0.3.1's backoff can get stuck in a retry loop for a while sometimes, which the latest version fixes.

Apparently that wasn't what was happening - the API actually just rate-limits the client for 14 minutes after a certain point. I updated the throttling mechanism to handle this, but I'm not sure if there's any real way to handle this beyond the delay.

Oh thanks for the clarification!
Really not cool to have put so many limitations from the twitter API, hope one day they change all these limitations they put in place...

Is the restriction on IP address or just the tokens being used? If its the token can you regenerate the auth and carry on? Given we approximately know the limits of each endpoint (50 requests per 15 minutes on tweets/replies) we could count the usage of a token and generate before. I see in the code already it takes into account the token validity over x time so this would be now based on usage too.

I just gave that a try, and it doesn't work - as soon as you try to get a new guest token you get rate-limited.
diff for reference: diff.txt

I added a request timeout, but when it got relate-limited, it hung for a long time and ignored the timeout. This is how I added a timeout:
const scraper = new Scraper({
  transform: {
    request(input: RequestInfo | URL, init: RequestInit = {}) {
      init.signal = AbortSignal.timeout(REQUEST_TIMEOUT);

      return [input, init];
    },
  },
});

I also noticed that there are two types of 429. One of them hangs for ~13-14 minutes and another throws immediately.

I think, the first 429 is related to the endpoint I'm hitting (getProfile), this one is being retried.
Another one is for requesting a new guest token, this one fails immediately. I've noticed that if I create a new instance of Scraper, it fixes the rate-limit requesting a profile. So if we request a new guest token whenever we get 429, that should fix the rate limit.
But if requesting the guest token is rate-limited, then it won't help for 14 minutes.

Would it be possible to refresh the guest token when the request for profile (or probably any other request) gets rate-limited instead of waiting for 13-14 minutes?


Fix dependencies to build on ARM

Updates many dependencies to enable sawtooth validator to build and
run on ARM. Fixes a memory leak that occurs when using the currently
published image on ARM.
Some packages that were pulled in via apt install (ex.
python3-pyformance, python3-grpcio, etc.) aren't published for ARM, so
we need to install them via pip. To install them via pip, we need to
lock versions for some of the packages to continue to use python3.6 and
be compatible with Grid. Some packages need to be up-to-date and not
version-locked. Installing packages via pip is done in steps, as some
packages need to be finished installing before calling pip install ...
for others.
This also removes the dependency declarations in setup.py and
stdeb.cfg files, as these mostly refer to packages without
compatible ARM versions published. They are also silent failures in the
build process.
I suspect that using an updated version of lmdb resolved the memory
leak.
Signed-off-by: Chris Eckhardt<EMAIL_ADDRESS>

Moving these updates to the 1-3 branch


Crash when opening a given site

Hi,
I'm running the latest release installed from the package on ubuntu xenial in a docker container on an archlinux host, and I've had some instability issues. I recently found a site that makes the browser crash when gone to: http://coffee-club.fr/
Stacktrace:
[1:24:1011/130351:ERROR:bus.cc(434)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
A Parser-blocking, cross-origin script, http://s.imgur.com/include/js/ext/jquery.2.1.1.min.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
A Parser-blocking, cross-origin script, http://s.imgur.com/include/js/ext/jquery.2.1.1.min.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
A Parser-blocking, cross-origin script, http://s.imgur.com/include/js/ext/jquery.2.1.1.min.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
A Parser-blocking, cross-origin script, http://s.imgur.com/include/js/ext/jquery.2.1.1.min.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
[94:148:1011/131032:ERROR:ffmpeg_demuxer.cc(1492)] OnReadFrameDone result=-541478725 IsMaxMemoryUsageReached=0
[94:148:1011/131047:ERROR:ffmpeg_demuxer.cc(1492)] OnReadFrameDone result=-541478725 IsMaxMemoryUsageReached=0
[94:148:1011/131114:ERROR:ffmpeg_demuxer.cc(1492)] OnReadFrameDone result=-541478725 IsMaxMemoryUsageReached=0
Received signal 7 BUS_ADRERR 7fbb93873000
#0 0x56551742cc6b <unknown>
#1 0x7fbbd6f2e3d0 <unknown>
#2 0x7fbbce3a6a13 <unknown>
#3 0x56551789a925 <unknown>
#4 0x56551ae2ecb8 <unknown>
#5 0x56551ae1ca5c <unknown>
#6 0x5655179ca88f <unknown>
#7 0x5655179ca0c7 <unknown>
#8 0x5655178fa0f6 <unknown>
#9 0x5655178f9175 <unknown>
#10 0x56551aa68adf <unknown>
#11 0x56551aa685f4 <unknown>
#12 0x56551aa698c3 <unknown>
#13 0x56551aa68e99 <unknown>
#14 0x56551aa68631 <unknown>
#15 0x56551aa6828c <unknown>
#16 0x56551aa6ad65 <unknown>
#17 0x565519fffce4 <unknown>
#18 0x565519ffee5a <unknown>
#19 0x565517474f30 <unknown>
#20 0x565517471d33 <unknown>
#21 0x7fbbd6f246fa start_thread
#22 0x7fbbce35fb5d clone
  r8: 00007fbb906ac000  r9:<PHONE_NUMBER>00128c r10:<PHONE_NUMBER>000020 r11:<PHONE_NUMBER>000007
 r12:<PHONE_NUMBER>000000 r13:<PHONE_NUMBER>004a30 r14:<PHONE_NUMBER>004a30 r15: 00007fbb906ac000
  di: 00007fbb93872fa0  si: 00007fbb8ff1e030  bp:<PHONE_NUMBER>953370  bx:<PHONE_NUMBER>953370
  dx:<PHONE_NUMBER>78c350  ax: 00007fbb906ac000  cx: 00007fbb93fff370  sp: 00007fbbba745e08
  ip: 00007fbbce3a6a13 efl:<PHONE_NUMBER>010207 cgf: 002b000000000033 erf:<PHONE_NUMBER>000006
 trp:<PHONE_NUMBER>00000e msk:<PHONE_NUMBER>000000 cr2: 00007fbb93873000
[end of stack trace]

I've also managed to make it crash by going on javascript heavy sites (such as imgur).
Addons-wise, I'm using uBlock and uMatrix.
Thanks.

Interesting. It looks like the ffmpeg component of the browser is causing the browser to crash. This may not be related, but does your docker image have graphics acceleration of any sort? (you can check chrome://gpu to be certain).
It also may be possible that you have a newer ffmpeg library than what I built against, which is causing some problems. But the error looks like it may be some memory problem.

Here's the first half of the gpu page:
Graphics Feature Status
Canvas:                         Hardware accelerated
Flash:                          Hardware accelerated
Flash Stage3D:                  Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing:                    Hardware accelerated
Multiple Raster Threads:        Enabled
Native GpuMemoryBuffers:        Software only. Hardware acceleration disabled
Rasterization:                  Software only. Hardware acceleration disabled
Video Decode:                   Hardware accelerated
WebGL:                          Hardware accelerated

Driver Bug Workarounds
clear_uniforms_before_first_program_use
count_all_in_varyings_packing
disable_framebuffer_cmaa
disable_post_sub_buffers_for_onscreen_surfaces
msaa_is_slow
scalarize_vec_and_mat_constructor_args

Problems Detected
EXT_occlusion_query appears to be buggy with Intel GPUs on Linux
Clear uniforms before first program use on all platforms:               124764, 349137
Applied Workarounds:                                                    clear_uniforms_before_first_program_use
Mesa drivers in Linux handle varyings without static use incorrectly:   333885
Applied Workarounds:                                                    count_all_in_varyings_packing
Disable partial swaps on linux drivers:                                 339493
Applied Workarounds:                                                    disable_post_sub_buffers_for_onscreen_surfaces
Always rewrite vec/mat constructors to be consistent:                   398694
Applied Workarounds:                                                    scalarize_vec_and_mat_constructor_args
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds:                                                    msaa_is_slow
Timer queries crash on Intel GPUs on Linux:                             540543, 576991
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA:                 535198
Applied Workarounds:                                                    disable_framebuffer_cmaa
Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
Disabled Features:                                                      rasterization
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features:                                                      native_gpu_memory_buffers

That's weird. I've used a patch that Debian provides to build against the system's FFmpeg libraries, so there could be some differences between Debian and Ubuntu's versions or possibly with these distributions and the one that Google uses. That might be why videos are causing stability issues.
Have you had any issues with video playback in your Docker container outside of this project?

I usually sandbox my browser in firejail, but since I couldn't get the project to compile on archlinux I just deployed the pre-compiled ubuntu packages in a container. So I haven't experimented with video playback with anything else, unfortunately.
I can compile the project in a debian container though, so if you want me to try a specific patch, send it my way and I'll try the new build.
 Debian Stretch will probably be closer to what you have in Arch.

I tried the Debian binaries in a stretch container, and the same errors are displayed in the console except that the entire browser doesn't crash miserably. Instead the error tab gets displayed (the one that says "something went wrong"), which is better I guess.

I have a feeling that this error is related to your container/environment and not Chromium or the system libraries. Is this bug report related to your issue at all?

That was it! I added /dev/shm as a volume to my container, and everything works fine now, no more errors.
Thanks for the help.


Authz module support, tx authz grant

I don't see anywhere mentioned this, so I assume authz module is not supported. It would be nice, if it would be possible on Axelar to generate grants to different accounts.

Enabling authz requires some important changes in our codebase first. It's in our backlog, hoping to tackle it sometime early next year.

any follow-up on this? Is this being worked on in 2024?


Users should not be able to delete a volume which is mounted to a VM

Steps to reproduce:

Create a VM
Get to the volumes page, delete the volume item which is mounted to the VM

Result:
The volume can be deleted on UI, actually, only data volume has been deleted in the cluster, the corresponding PVC is still being terminating

should prevent the user from deleting the DV when it is in-use, only non-attached DV can be deleted from the UI.

@guangbochen @DoNotSayYes
If the selected volumes not only include attached Volumes, but also include non-attatched Volumes. The delete button is still available.(Only delete selected non-attatched Volumes)

since the API will block from deleting the attached volume, so we just need to show the error message for the can't delete one would be fine.

Yes, that is better. Users may be in doubt about there are some volumes they never can delete.

Another case that a volume can be deleted though it is mounted to VM.
Steps to reproduce:

Create a VM
Edit VM, adding a new disk to it, presuming its name is dolly-disk
Navigate to the volume page, delete dolly-disk

Result:
The volume dolly-disk can be deleted though it is in-use state

Another case that a volume can be deleted though it is mounted to a VM. @DaiYuzeng
Steps to reproduce:

Create a VM
Create a volume, presuming the volume name is elsa-for-test
Edit VM, adding the existing volume elsa-for-test to it
Navigate to the volume page, delete elsa-for-test

Result:
The volume elsa-for-test can be deleted though it is in-use state

And the deleted volume still is detectable in Edit VM Page

Validated


449-reorganise-jenkins-terraform-to-make-rebuild-easier

https://trello.com/c/NFFmr3C7/449-reorganise-jenkins-terraform-to-make-rebuild-easier

Split creation of jenkins/ elb and the logs bucket into separate sub modules

Reorganise jenkins terraform to make rebuild easier
Can make it so logs are consistently piped to the same bucket even in a rebuild situation by splitting out the creation of the S3 bucket from the creation of jenkins and its ELB

Update jenkins module calls to use new format

The make plan shows:

1 change
1 add
1 remove
Once this is merged I'll 'rename' the module.jenkins.aws_s3_bucket.jenkins_logs_bucket to module.jenkins_elb_log_bucket.aws_s3_bucket.jenkins_logs_bucket which will nullify the addition/ removal
The change is just moving from a semi-hardcoded name to a variable, which is what we want


torchaudio import error

🐛 Bug

To Reproduce
Steps to reproduce the behavior:
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import torch
import torchaudio
Traceback (most recent call last):
File "", line 1, in
File "/storage/liuzuozhen/tools/anaconda/anaconda3/lib/python3.7/site-packages/torchaudio/init.py", line 1, in
from . import extension
File "/storage/liuzuozhen/tools/anaconda/anaconda3/lib/python3.7/site-packages/torchaudio/extension/init.py", line 5, in
_init_extension()
File "/storage/liuzuozhen/tools/anaconda/anaconda3/lib/python3.7/site-packages/torchaudio/extension/extension.py", line 12, in _init_extension
_init_script_module(ext)
File "/storage/liuzuozhen/tools/anaconda/anaconda3/lib/python3.7/site-packages/torchaudio/extension/extension.py", line 19, in _init_script_module
torch.classes.load_library(path)
AttributeError: module 'torch' has no attribute 'classes'

Environment

PyTorch Version (e.g., 1.0): 1.1.0
OS (e.g., Linux):Ubuntu 5.4.0
How you installed PyTorch (conda, pip, source): conda install
Build command you used (if compiling from source):
Python version:Python 3.7.4
CUDA/cuDNN version: cuda 9.0
GPU models and configuration:
Any other relevant information:

Additional context

Hi @zyn2609530
Your PyTorch version is too old. Please checkout README for the corresponding PyTorch / torchaudio versions.


[KYUUBI #2918] Fix: Kyuubi integrated Ranger failed to query: table stats must be specified

Why are the changes needed?

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

I prefer use conf.defaultSizeInBytes directly， fallBackToHdfsForStatsEnabled has a lot of issues

we can add this rule back at auth extension
v1.injectResolutionRule(new RuleApplyRowFilterAndDataMasking(_))
v1.injectPostHocResolutionRule(_ => new RuleEliminateMarker())
v1.injectPostHocResolutionRule(session => new DetermineTableStats(session))

But I'm afraid we miss several rules rather than this one ... e.g. RelationConversions which will convert hive read to datasource read.

v1.injectPostHocResolutionRule(_ => new RuleEliminateMarker())

this can not be applied per https://github.com/apache/incubator-kyuubi/pull/2394

I prefer use conf.defaultSizeInBytes directly， fallBackToHdfsForStatsEnabled has a lot of issues

updated


GCI flights spawns but does not move

DCS World 1.5.5 Stable
CAP disabled, only GCI enabled for blue
Blue GCI flights spawn in correctly (spawn type set to "parking") but do not move, never take off.
The only trigger zone related to this script in the mission is a GCI Airodrome marker trigger zone over Kobuleti.
This happens randomly. Restart the mission and all of a sudden it's working, restart and it might not be working again. When it works, it works all the way. When it doesn't work, it applies to all spawned GCI flights as long as the mission is running. It appear as there's a problem with task-handling with the script/DCS. The same issue sometimes happen with 3 other "normal" flights I have set in the mission editor. Two tankers and an AWACS. They don't roll out from parking sometimes in the mission start, and that's unrelated to the script, but maybe there's an issue with flight tasking at start/spawn in DCS in general.

I'm unsure. But it might have helped giving the GCI template aircraft 1 waypoint, just next to it... can you confirm this behavior?

If this applies to flights/aircraft not spawned by GCICP, at the same time, I'd by tempted to say it's an upstream (DCS: World) issue and not related to GCICAP.

I suppose you're right. But the "GCI spawned flight stuck in parking" happens more frequently than "ME created flight stuck in parking". I'd say GCI spawned flights get stuck 50% of the times on mission start, and ME created flights get stuck perhaps every 4th-5th time.

I can confirm the same problem as chrisofsweden on my mission. Haven't changed anything lately and this happens after last 1.5x update. Maybe it's DCS related, but I have no idea.


Sample code

Math from scratch
Strings from scratch

Two types of modules
With and without src / inc subfolders


NextLog scan is broken

Is this correct? If I'm reading this right, we are looking for a log with the same name as the key, but the key is `(log + <255>, id).
Originally posted by @kendru in https://github.com/deref/exo/pull/23#r677096718

@kendru Do you want to take on fixing this either (A) directly or (B) as part of the secondary index work? You're definitely better at this bit fiddling and index scanning than me.
Alternatively, we can do sqlite, which might be more appropriate for this subsystem :-P

@brandonbloom I'll fix this. I'll just do the same bit fiddling that we're doing elsewhere, but the larger storage change that I'm working will make this a non-issue.


Add a test to validate search mechanism (in read mode)

Scenario:

Add tracking for multiple sources/Comics
Open SideBar
Enter complete source name into searchbox

Ensure that no comic is shown (sources are not supported in search)

Enter complete comic name into searchbox

Ensure that all shown comics have names matching the search with fuzzy resolution

Enter partial comic name into searchbox

Ensure that multiple comics can be shown

Test has been provided by @GuillaumeGomez in https://github.com/BookMyComics-Developers/BookMyComics/commit/e8c14410e3efec7220528755c8b2beaeaeb1d753