Dragging with data change does not bind with drag events

Hi!
I am trying to create a form generator with your drag event.
It is a nested ng-repeat for rows and dynamic width columns.
My issue is that I'm also trying to add a functionality of template that can be dragged onto this form, and create multiple rows in one drag. (which means the template data should go into the original acceptable data and follow it's format.)
The original acceptable data is as follows:
[
  {
    "row": [
      {
        "col": {
          "id": "1",
          "name": "Text Input",
          "category": "Default",
          "question": null,
          "divtype": "TextInput",
          "repeat": [],
          "detail": null,
          "answer": "",
          "flex": 40,
          "align": "start",
          "orientation": "row"
        }
      },
      {
        "col": {
          "id": "1",
          "name": "Text Input",
          "category": "Default",
          "question": null,
          "divtype": "TextInput",
          "repeat": [],
          "detail": null,
          "answer": "",
          "flex": 50,
          "align": "start",
          "orientation": "row"
        }
      }
    ]
  },
  {
    "row": [
      {
        "col": {
          "id": "4",
          "name": "Check Box",
          "category": "Default",
          "question": null,
          "divtype": "CheckBox",
          "repeat": [],
          "detail": null,
          "answer": "",
          "flex": 0,
          "align": "start",
          "orientation": "row"
        }
      }
    ]
  }
]

As you can see, the parent dragular is bind to "row" and the child is bind to "col"
The issue is our Template data is stored as follows:
{
    "content": [
      {
        "row": [
          {
            "col": {
              "id": "14",
              "name": "Header",
              "category": "Default",
              "question": "SOME PROFILE",
              "divtype": "Label",
              "repeat": [],
              "detail": null,
              "answer": "",
              "flex": 0,
              "align": "start"
            }
          }
        ]
      },
      {
        "row": [
          {
            "col": {
              "id": "13",
              "name": "SubHeader",
              "category": "Default",
              "question": "FIRST LINE.<br>SECOND LINE",
              "divtype": "Label",
              "repeat": [],
              "detail": null,
              "answer": "",
              "flex": 0,
              "align": "start"
            }
          }
        ]
      }
    ],
    "templateName": "SOME PROFILE",
    "templateID": "13"
}

As you can see, the Template has a content that wrapped all the rows.
So I wrote a function in $scope.$on('dragulardrop'.... to change the data after the template got dropped. it is as follows:
for (var i = 0; i < $scope.items.length; i++) {

	if ($scope.items[i].content != undefined) {
		var data = $scope.items[i].content;
		var secondArray = $scope.items.splice(i, $scope.items.length);
		secondArray.splice(0, 1);
		$scope.items = $scope.items.concat(data);
		$scope.items = $scope.items.concat(secondArray);
	}
}

This function provides me with the correct data.
The big issue is that, after the data changes, I am able to see all of them. But the rows comming from template did not bind to the dragular service. hence, they are unable to be dragged around.
Am I doing something wrong? Is there a way to reinitialize the model that binds to the dragular service?
Thanks.

This is very common mistake with the library, when you initialize containers with dragularService or vie directive you are providing model representing data via options.containersModel. The lib is taking a reference to that object and use it as model.
By $scope.items = $scope.items.concat(data); you are replacing array items with new array in $scope object, but libary still keeps reference to original one.
There are at leasr two simple solutions for this.

you can push new data to original one:
[].push.apply($scope.items, data);

I have recently added support for giving a string into options.containersModel wich represents property in provided scope object via options.scope
{containersModel: 'items', scope: $scope}

Try one and let me know if it worked for you. Thanks

Wow! I didn't know that!
This is what I did to change $scope.items
$scope.formatData = function() {

	for (var i = 0; i < $scope.items.length; i++) {

		if ($scope.items[i].content != undefined) {
			var data = $scope.items[i].content;
			//remove original item
			$scope.items.splice(i, 1);

			//go through each of the var data and insert into where it should be
			for (var j = 0; j < data.length; j++) {
				//console.log(data[j]);
				$scope.items.splice(i, 0, data[j]);
				i++;
			}
		}
	}
};

Thank you so much, I've learned something!
And your dragular saved my life! #

I am glad you like using dragular 👍


checkerboard 8X7 calibration file

Hello,
I wish to perform camara calibration using the 8X7 checkerboard,
but i was unable to locate file 540x480_60mm.pdf.
according to "Intel ® RealSenseTM Depth Module D400 Series Custom Calibration" rev 1.1.0 ( jan 2018)
this file should be located in "CustomCalibrationSample.zip".
i have downloaded CalibrationTools-<IP_ADDRESS>-Setup.zip but it does not contain file 540x480_60mm.pdf.
i have also installed the Calibration Tools, but the "target" directory also does not contain this file.
( it contained file print-target-fixed-width.pdf which does not contain a checkerboard).
please advise,
Omer.

The PDF that you are searching for seems to have been replaced in June 2018 by the PDF linked below.
https://www.intel.com/content/dam/support/us/en/documents/emerging-technologies/intel-realsense-technology/print-target-fixed-width.pdf

100%,
Thanks,
Omer.


After adding host, going to services page instead of staying on host page

Version: Master 5/15
Steps to Reproduce:

Add a host to already setup environment (an environment that has hosts, services, etc...)

Results: After I add the host it goes to services page
Expected: Should stay on host page.

backTo query param wasn't getting reset (so you had to previously have gone to add host from the waiting screen or somewhere like that)

Version - master 6/9
Verified fixed


Handling environment variables that include =

I have an environment variable (in this case, an API key) that is something like abcdeadbeef= (with the trailing =). I store my variables as server configuration inputs in Rightscale (a cloud management provider) and they get passed on as plaintext to Foreman to generate a supervisord configuration file.
In summary:

Environment variable containing an equals
Foreman 0.78.0
Generating a Supervisor configuration file

I've tried a few different ways to store it in Rightscale and it keeps being double-encoded. An example:

Provided configuration
Foreman generates ...

export API_KEY=abcdeadbeef=
export API_KEY="abcdeadbeef\="

export API_KEY="abcdeadbeef="
export API_KEY="abcdeadbeef\="

export API_KEY="abcdeadbeef\="
export API_KEY="abcdeadbeef\\\="

I need Foreman to save it as export API_KEY="abcdeadbeef=". Any tips? It appears to be related to shell_quote, but it may be getting munged before then.

Looks related to #519.


Async API for sql exec and udf apply

Add async functions and api for sql/udfs
New functions are tiledb.cloud.sql.exec_async and  tiledb.cloud.CloudArray.apply_async
This reworks the client to use one global object for storing the api classes. This is needed to avoid error with deleting the code generated api clients (i.e. rest_api.SqlApi) when an async request is still going.
This also adds new wrapper classes of SQLResult and UDFResult which implements a single function get, so we can handle the deserialization. The classes are derived from the multiprocessing.pool.ApplyResult, which is what the code generated async request returns.
TODOs:

[x] Support setting worker pool size
[x] Support async UDFs

Example usage:
result = tiledb.cloud.sql.exec_async(query="select * from `tiledb://TileDB-Inc/quickstart_dense`")
print(result.get())

def median(df):
    import numpy
    return numpy.median(df["a"])

with tiledb.DenseArray("tiledb://TileDB-Inc/quickstart_dense", ctx=tiledb.cloud.Ctx()) as A:
  res = A.apply_async(median, [(1,4), (1,4)])

print(res.get())

Users can set the urllib3/request worker pool size with tiledb.cloud.config.config.connection_pool_maxsize=x. Default pool size is multiprocessing.cpu_count() * 5

@ihnorton I'm putting this up to get initial feedback on the design and just using the code generated apis async request capabilities.

@ihnorton this is the final design based on your feedback and our conversations. It looks like the osx python 3.5 is failing with a wheels problem that is unrelated.


Hard limit on concurrent jobs across the entire network

We presently have no limit on the number or size of jobs someone could submit to the network (hello crypto miners)
I propose that we begin with a hard limit of 10 concurrent jobs across the whole network.  If you submit a new job - and the network currently has > 10 jobs in running state - it will reject the submitted job with a currently busy message.
This is a very rudamentary way of stopping spam but it quite cheap to implement so is recommended to do now rather than later

turning off networking on the docker containers would be good as well


Added some info to README.md

I added some info to get users started.

Gradle IDE plugins? EW. But I corrected that in PR #11. I was gonna fix it, no worries.


Include in docs example of using generic container with files added

Took me some time to get to the working solution:
new GenericContainer(new ImageFromDockerfile()
                        .withDockerfileFromBuilder(builder -> builder.
                                from("some/image").
                                add("config.tar.gz", "/opt/app/config").
                                add("exported.tar.gz", "/opt/app/content").
                                build())
                        .withFileFromFile("config.tar.gz", new File("your/real/filesystem/path/config.tar.gz"))
                        .withFileFromFile("export.tar.gz", new File(your/real/filesystem/path/export.tar.gz"))
)

or
assuming your Dockerfile.for_tests has ADDs for "config.tar.gz", "export.tar.gz":
new GenericContainer(new ImageFromDockerfile()
                        .withFileFromFile("Dockerfile", new File("your/real/filesystem/path/Dockerfile.for_tests")
                        .withFileFromFile("config.tar.gz", new File("your/real/filesystem/path/config.tar.gz"))
                        .withFileFromFile("export.tar.gz", new File(your/real/filesystem/path/export.tar.gz"))'

Isn't this documented here? Or would you like to expand on this example?

@alexcase52 Any feedback on this?

Okay, would you like to contribute a PR? :slightly_smiling_face:

I'll try )
С уважением,
Чевелёв Александр
Regards,
Alex Chevelev
2018-03-06 13:40 GMT+04:00 Kevin Wittek<EMAIL_ADDRESS>
Okay, would you like to contribute a PR? 🙂
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/testcontainers/testcontainers-java/issues/553#issuecomment-370721749,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJbTQ7EHFHuXTuSDc5BVwlp_baMCgT8dks5tbll8gaJpZM4RqCK9
.


Trying to Dynamic update of Translate id

Do you want to request a feature or report a bug?
bug
What is the current behavior?
Trying to translate my route names in my breadcrumbs
Dynamic update of Translation id on translation component seams to defualt to rout name when using react router. I first thut that it jus did not update on uppdating the id and defualts to the defualt translation. But it updates and breakes translation in a wired way. I have setup and codesandbox with diffrent tests. Reactrouter links and a switch to switch between "pages".
Links of test
Hase "same key" as route....
/test1
translateId:  links.test1.title

/test1/subtest1
translateId:  links.test1.subtest1.title

/test1/subtest2
translateId:  links.test1.subtest2.title

/test2
translateId:  links.test2.title

Dose not have the same key as route
/3test3/
translateId:  links.test3.title

The last one works fine but the other ones shows the "paths name/abit of the translation id" as a translations in both my bread crums and my meny link.
The meniy link is fine onmount untill i show it in the breadcrum translation then it changes to small case instead of upper case.
Alsow tried to remov the defualt value inside of <Translation id={...}>${defualt}</Translation> and that works fine. But i need the defualt value to handel dynamic routes.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:
https://codesandbox.io/s/qv7vonxrlq
What is the expected behavior?
The defualt translation value should not globaly break translations?
Which versions of react and react-localize-redux are you using?
"react": "^16.6.3",
"react-localize-redux": "^3.5.1",

To paraphrase your issue for anyone else - the question is why does including inline default translations override the specified translation?
// en.json
{
  hello: "hello"
}

// ...

<Translate id="hello">HELLO</Translate>

// Renders "HELLO" even though there is already an English (default) translation specified.

This is actually expected behaviour.

If the default language's translation for that id already exists it will be overriden with the inline translation.

I admit it is not that obvious, but perhaps there is a reason for this @ryandrewjohnson?

Thank you I see.It looked like a very weird behavior but it not a bug then.
On the project im working on my breadcrumbs works on mount but when im switching between two "sub routes" in a "sub switch" the defualt kicks in and overwrites my translation. From swe translateion to a eng route.
I need a translation for my breadcrumbs and to handle my dynamic routes breadcrumbs. I need to falback to the routes name if no translation exists. Is there any whay of chencking if a translation exists with out over writing my translations?
route
/shop/item/ball

Breadcrumb example
Shop > Item > ball
Translation exist for shop and item but not ball.
The breadcrumbs in swe would look likte this:
Butik > Vara > ball

I believe at the time of development I was contemplating whether to make the inline translation override configurable. At the time I felt that the API footprint was getting a bit verbose, and ended up opting to not make it configurable.
I agree that this could be confusing, and is something that should be added to the roadmap for next major version. As we’ll be able to reevaluate how configurable options are passed in.

Now tracking in #140


AttributeError when running in the context of an HTTP request

I get random occurrences of the following error:
AttributeError: 'thread._local' object has no attribute 'stack'

I'm using the library in the process of an HTTP request and I think that might be interfering with the use of thread locals.

Which version of the library and Python are you using?
Also, what library are you using for the HTTP results -- Requests? or ???

Python 2.7.6
parsedatetime HEAD (version 1.6?)
Django REST Framework 2.4.2
I receive a POST from Twilio containing a text message that I then run through the evalRanges method before returning my response.

You may be picking up some very experimental code that just landed - I would suggest trying the tagged v1.5 release at
https://github.com/bear/parsedatetime/tree/v1.5
until we have a chance to test and debug this code -- which your issue is the first!

Andrew:
Can you post the traceback information here so we can take a deep look
of this problem? Thank you.
Mike Taylor<EMAIL_ADDRESS>
You may be picking up some very experimental code that just landed - I
would suggest trying the tagged v1.5 release at
https://github.com/bear/parsedatetime/tree/v1.5
until we have a chance to test and debug this code -- which your issue is
the first!
—
Reply to this email directly or view it on GitHub
https://github.com/bear/parsedatetime/issues/110#issuecomment-126097423.

--
发自移动版 Gmail

ERROR 2015-07-30 14:21:20,390 base 16657<PHONE_NUMBER>28992 Internal Server Error: ...
Traceback (most recent call last):
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/rest_framework/views.py", line 401, in dispatch
    response = self.handle_exception(exc)
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/rest_framework/views.py", line 398, in dispatch
    response = handler(request, *args, **kwargs)
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/rest_framework/decorators.py", line 50, in handler
    return func(*args, **kwargs)
  File "/opt/sitterfied/sitterfied/flows/views.py", line 50, in booking_requests
    start, end, type = calendar.evalRanges(text, get_today().timetuple())
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/parsedatetime/__init__.py", line 603, in evalRanges
    VERSION_CONTEXT_STYLE)
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/parsedatetime/__init__.py", line 1817, in parse
    with self.context() as ctx:
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/parsedatetime/__init__.py", line 293, in context
    self._ctxStack.push(ctx)
  File "/opt/envs/sitterfied/local/lib/python2.7/site-packages/parsedatetime/context.py", line 24, in push
    self.__local.stack.append(ctx)
AttributeError: 'thread._local' object has no attribute 'stack'

@alewisohn have a try? I think https://github.com/bear/parsedatetime/commit/be602b58b69f38d7feb0772e5ba497b82a6aa61b fixed this issue. It works for me.

:+1:
What's the goal behind the code changes? Are you just optimizing or are you adding new features?

Related pull-request here: https://github.com/bear/parsedatetime/pull/106
TL;DR: use new Context object to handle context values during parse and returned as the second value by parse() in new style

Cool, thanks.

yes, this is very cool stuff IMO - thanks @philiptzou for fixing this!


ARROW-3720: [GLib] Use "indices" instead of "indexes"

@shiro615 Can you review this?

Codecov Report

Merging #2919 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2919      +/-   ##
==========================================
+ Coverage   86.24%   86.25%   +<.01%
==========================================
  Files         485      485
  Lines       68091    68091
==========================================
+ Hits        58726    58729       +3
+ Misses       9275     9272       -3
  Partials       90       90

Impacted Files
Coverage Δ

cpp/src/arrow/csv/column-builder.cc
97.1% <0%> (+2.17%)
:arrow_up:

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 d290538...00a7785. Read the comment docs.

Thanks.
I'll merge this.


Add DoVoid PayPal express NVP method as the gateway's Cancel action

Changes and unit tests mostly ripped from the DoCapture action.  Checks for parent transaction ID first to conform to PayPal's note about voiding reauthorized transactions, though I have not tested this.  Sandbox transaction details (from the Payment model immediately prior to the cancel action):
  #details: array:101 [▼
    "L_PAYMENTREQUEST_0_AMT0" => "0.05"
    "L_PAYMENTREQUEST_0_QTY0" => "100"
    "L_PAYMENTREQUEST_0_NAME0" => "Shinies"
    "INVNUM" => "57cce0d5ceedc"
    "PAYMENTREQUEST_0_CURRENCYCODE" => "USD"
    "PAYMENTREQUEST_0_AMT" => "5.00"
    "PAYMENTREQUEST_0_DESC" => "100 shinies for Stash #1, "Stash: admin""
    "PAYMENTREQUEST_0_PAYMENTACTION" => "Authorization"
    "AUTHORIZE_TOKEN_USERACTION" => "commit"
    "RETURNURL" => "https://dev.ratsalley.net/payment/authorize/PRc47uXgOFcbVLUpDVZKvivisK3JxqP7MZVKladOIVM"
    "CANCELURL" => "https://dev.ratsalley.net/payment/authorize/PRc47uXgOFcbVLUpDVZKvivisK3JxqP7MZVKladOIVM?cancelled=1"
    "PAYMENTREQUEST_0_NOTIFYURL" => "https://dev.ratsalley.net/payment/notify/VGG7VTCyy_JWjmi6T987Z1hICkS7A7CHyzuQ6XX3uf0"
    "TOKEN" => "EC-79L39680RM836201R"
    "TIMESTAMP" => "2016-09-05T03:08:03Z"
    "CORRELATIONID" => "7acfa3da3656e"
    "ACK" => "Success"
    "VERSION" => "65.1"
    "BUILD" => "24765677"
    "BILLINGAGREEMENTACCEPTEDSTATUS" => "0"
    "CHECKOUTSTATUS" => "PaymentActionCompleted"
    "CURRENCYCODE" => "USD"
    "AMT" => "5.00"
    "ITEMAMT" => "5.00"
    "SHIPPINGAMT" => "0.00"
    "HANDLINGAMT" => "0.00"
    "TAXAMT" => "0.00"
    "DESC" => "100 shinies for Stash #1, "Stash: admin""
    "NOTIFYURL" => "https://dev.ratsalley.net/payment/notify/VGG7VTCyy_JWjmi6T987Z1hICkS7A7CHyzuQ6XX3uf0"
    "INSURANCEAMT" => "0.00"
    "SHIPDISCAMT" => "0.00"
    "L_NAME0" => "Shinies"
    "L_QTY0" => "100"
    "L_TAXAMT0" => "0.00"
    "L_AMT0" => "0.05"
    "L_ITEMWEIGHTVALUE0" => "   0.00000"
    "L_ITEMLENGTHVALUE0" => "   0.00000"
    "L_ITEMWIDTHVALUE0" => "   0.00000"
    "L_ITEMHEIGHTVALUE0" => "   0.00000"
    "PAYMENTREQUEST_0_ITEMAMT" => "5.00"
    "PAYMENTREQUEST_0_SHIPPINGAMT" => "0.00"
    "PAYMENTREQUEST_0_HANDLINGAMT" => "0.00"
    "PAYMENTREQUEST_0_TAXAMT" => "0.00"
    "PAYMENTREQUEST_0_INSURANCEAMT" => "0.00"
    "PAYMENTREQUEST_0_SHIPDISCAMT" => "0.00"
    "PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED" => "false"
    "L_PAYMENTREQUEST_0_TAXAMT0" => "0.00"
    "L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0" => "   0.00000"
    "L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0" => "   0.00000"
    "L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0" => "   0.00000"
    "L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0" => "   0.00000"
    "PAYMENTREQUESTINFO_0_ERRORCODE" => "0"
    "EMAIL" =><EMAIL_ADDRESS>    "PAYERID" => "ZXVLZSAJVP43J"
    "PAYERSTATUS" => "verified"
    "FIRSTNAME" => "test"
    "LASTNAME" => "buyer"
    "COUNTRYCODE" => "US"
    "SHIPTONAME" => "test buyer"
    "SHIPTOSTREET" => "1 Main St"
    "SHIPTOCITY" => "San Jose"
    "SHIPTOSTATE" => "CA"
    "SHIPTOZIP" => "95131"
    "SHIPTOCOUNTRYCODE" => "US"
    "SHIPTOCOUNTRYNAME" => "United States"
    "ADDRESSSTATUS" => "Confirmed"
    "INSURANCEOPTIONOFFERED" => "false"
    "PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID" =><EMAIL_ADDRESS>    "PAYMENTREQUEST_0_SHIPTONAME" => "test buyer"
    "PAYMENTREQUEST_0_SHIPTOSTREET" => "1 Main St"
    "PAYMENTREQUEST_0_SHIPTOCITY" => "San Jose"
    "PAYMENTREQUEST_0_SHIPTOSTATE" => "CA"
    "PAYMENTREQUEST_0_SHIPTOZIP" => "95131"
    "PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE" => "US"
    "PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME" => "United States"
    "PAYMENTREQUEST_0_ADDRESSSTATUS" => "Confirmed"
    "SUCCESSPAGEREDIRECTREQUESTED" => "false"
    "INSURANCEOPTIONSELECTED" => "false"
    "SHIPPINGOPTIONISDEFAULT" => "false"
    "PAYMENTINFO_0_TRANSACTIONID" => "1Y66613391976783N"
    "PAYMENTINFO_0_TRANSACTIONTYPE" => "cart"
    "PAYMENTINFO_0_PAYMENTTYPE" => "instant"
    "PAYMENTINFO_0_ORDERTIME" => "2016-09-05T03:08:02Z"
    "PAYMENTINFO_0_AMT" => "5.00"
    "PAYMENTINFO_0_TAXAMT" => "0.00"
    "PAYMENTINFO_0_CURRENCYCODE" => "USD"
    "PAYMENTINFO_0_PAYMENTSTATUS" => "Pending"
    "PAYMENTINFO_0_PENDINGREASON" => "authorization"
    "PAYMENTINFO_0_REASONCODE" => "None"
    "PAYMENTINFO_0_PROTECTIONELIGIBILITY" => "Eligible"
    "PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE" => "ItemNotReceivedEligible,UnauthorizedPaymentEligible"
    "PAYMENTINFO_0_ERRORCODE" => "0"
    "PAYMENTINFO_0_ACK" => "Success"
    "TRANSACTIONID" => "1Y66613391976783N"
    "PAYMENTREQUEST_0_TRANSACTIONID" => "1Y66613391976783N"
    "PAYMENTREQUESTINFO_0_TRANSACTIONID" => "1Y66613391976783N"
    "PAYMENTREQUEST_0_TRANSACTIONTYPE" => "cart"
    "PAYMENTREQUEST_0_PAYMENTTYPE" => "instant"
    "PAYMENTREQUEST_0_ORDERTIME" => "2016-09-05T03:08:02Z"
    "PAYMENTREQUEST_0_PAYMENTSTATUS" => "Pending"
    "PAYMENTREQUEST_0_PENDINGREASON" => "authorization"
    "PAYMENTREQUEST_0_REASONCODE" => "None"
  ]

And the sandbox user's view of the transaction after the cancel action:
Authorization (Unique Transaction ID #8X027058K0233553N)

Original Authorization
 Date	 Type	 Status	 Details	 Amount
 Sep 4, 2016	Authorization To Rats Alley's Test Store	 CanceledThe seller canceled this payment, and the money has been returned to your account.The seller canceled this payment, and the money has been returned to your account.	 ...	-$5.00 USD

Related Transactions
 Date	 Type	 Status	 Details	 Amount
 Sep 4, 2016	Temporary Hold	 Placed	 Details	-$5.00 USD
 Sep 4, 2016	Temporary Hold	 Removed	 Details	$5.00 USD
Original Authorization:
Total Payment:	-$5.00 USD
$0.00 USD

And the sandbox business account's view of the transaction:
Authorization (Unique Transaction ID #1Y66613391976783N)

Original Authorization
 Date	 Type	 Status	 Details	 Gross	 Fee	 Net
 Sep 4, 2016	Authorization From test buyer	 VoidedYou canceled this authorization.You canceled this authorization.	 Details	$5.00 USD 	$0.00 USD 	$5.00 USD

Related Transaction
 Date	 Type	 Status	 Details	 Gross	 Fee	 Net
 Sep 4, 2016	Void	 ...	 ...	$5.00 USD 	... 	...
Total Funds Captured: 	$0.00 USD

Cancel action in use on the confirm controller action for the target URL:
        // Get the payment gateway and storage
        $payum = $this->get('payum');
        $paymentToken = $payum->getHttpRequestVerifier()->verify($request);
        $gateway = $payum->getGateway($paymentToken->getGatewayName());
        $storage = $payum->getStorage('RatsalleyBundle\Entity\Payment');

        // Find the payment via the token
        $paymentDetails = $paymentToken->getDetails();
        $payment = $storage->find($paymentDetails->getId());

        // Create the order cancel form and handle the request
        $shinyOrderCancelForm = $this->createForm(ShinyOrderCancelButtonType::class);
        $shinyOrderCancelForm->handleRequest($request);

        if ($shinyOrderCancelForm->isValid()) {
            $gateway->execute(new \Payum\Core\Request\Cancel($payment));
        }

        // Create the order confirmation form and handle the request
        $shinyOrderConfirmForm = $this->createForm(ShinyOrderConfirmButtonType::class);
        $shinyOrderConfirmForm->handleRequest($request);

        if ($shinyOrderConfirmForm->isValid()) {
            $gateway->execute(new \Payum\Core\Request\Capture($payment));
        }

        // If not authorized or captured, redirect with message
        $gateway->execute($status = new \Payum\Core\Request\GetHumanStatus($payment));
        if (!$status->isAuthorized() && !$status->isCaptured()) {
            $this->addFlash('warning', $this->get('translator')->trans('payment.status.' . $status->getValue(), array(), 'payum'));
            return $this->redirectToRoute('stash_activity', array('stashId' => $stashId));
        }

        return $this->render(
            'RatsalleyWebBundle:Stash:orderConfirm.html.twig',
            array(
                'payment' => $payment,
                'shinyOrderCancelForm' => $shinyOrderCancelForm->createView(),
                'shinyOrderConfirmForm' => $shinyOrderConfirmForm->createView(),
                'stash' => $stash,
                'status' => $status,
            )
        );

Related to: https://github.com/Payum/PayumBundle/issues/324
@nexxome

@iisisrael good job, though I cannot merge it here, it is a read only repository (a split from payum/payum repo). Could you please open a PR there, on payum/payum repository.


Set up deployment process via GitHub actions, resolves #5

Had to fix the deployment script in a follow-up PR, whoops. https://github.com/seriouslysean/stylesheet-fun/commit/a85afd596acbde55d4daf3a6a7a600321a429bc9


auto-removal

Will the possibility of auto-removal of users who are not active for 2-4 days be implemented?

Well it can be, though they are usually good to have to measure statistics on how many miners are retained over time.


[AMD] Shift op test and other fixes

this pr primarly fixes the shift op test for AMD

the test was bitshifting beyond the bitwidth of the type which causes undefined behavior
we added a warning in the op but it only works in the case where shifting value is known at compiletime

minor fix for test_convert1d
skip new filp_op which is causing the backend test to fail

Backend test passes, https://github.com/openai/triton/actions/runs/7630477563/job/20786250460


Error with Qt 6.7 beta 2:  no type named 'ReturnType' in 'QtPrivate::Callable'

Qt 6.7 is coming, and it is relevant for QtAVPlayer, because during last month there had been lots of changes in Qt Rendering, possibly and probably allowing the missing real zero copy rendering. These changes will be in Qt 6.6.2, but that's not out yet for another week or two, and they are in this Qt 6.7 beta 2, which was just released.
However when I compile with Qt 6.7 beta 2 I get this error:
/Users/.../Qt/6.7.0/macos/lib/QtCore.framework/Headers/qobjectdefs.h:513:64: error: no type named 'ReturnType' in 'QtPrivate::Callable<(lambda at ../../Projects/Player/QtAVPlayer/qavplayer.cpp:518:14) &, std::nullptr_t>'
        using R = typename QtPrivate::Callable<Func, Args...>::ReturnType;

the relevant line is 518
   dispatch([this] {

and this dispatch() is defined at Line 292ff:
template <class T>
void QAVPlayerPrivate::dispatch(T fn)
{
    QMetaObject::invokeMethod(q_ptr, fn, nullptr);
}

The complete error message:
In file included from ../../Projects/Player/QtAVPlayer/qavplayer.cpp:8:
In file included from ../../Projects/Player/QtAVPlayer/qavplayer.h:11:
In file included from ../../Projects/Player/QtAVPlayer/qavvideoframe.h:11:
In file included from ../../Projects/Player/QtAVPlayer/qavframe.h:12:
In file included from ../../Projects/Player/QtAVPlayer/qavstreamframe.h:12:
In file included from ../../Projects/Player/QtAVPlayer/qavstream.h:13:
In file included from ../../Qt/6.7.0/macos/lib/QtCore.framework/Headers/QSharedPointer:1:
In file included from ../../Qt/6.7.0/macos/lib/QtCore.framework/Headers/qsharedpointer.h:12:
In file included from /Users/name/Qt/6.7.0/macos/lib/QtCore.framework/Headers/qsharedpointer_impl.h:30:
In file included from /Users/name/Qt/6.7.0/macos/lib/QtCore.framework/Headers/qmetatype.h:18:
/Users/name/Qt/6.7.0/macos/lib/QtCore.framework/Headers/qobjectdefs.h:513:64: error: no type named 'ReturnType' in 'QtPrivate::Callable<(lambda at ../../Projects/Player/QtAVPlayer/qavplayer.cpp:518:14) &, std::nullptr_t>'
        using R = typename QtPrivate::Callable<Func, Args...>::ReturnType;
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../../Projects/Player/QtAVPlayer/qavplayer.cpp:313:18: note: in instantiation of function template specialization 'QMetaObject::invokeMethod<(lambda at ../../Projects/Player/QtAVPlayer/qavplayer.cpp:518:14) &, std::nullptr_t>' requested here
    QMetaObject::invokeMethod(q_ptr, fn, nullptr);
                 ^
../../Projects/Player/QtAVPlayer/qavplayer.cpp:582:5: note: in instantiation of function template specialization 'QAVPlayerPrivate::dispatch<(lambda at ../../Projects/Player/QtAVPlayer/qavplayer.cpp:518:14)>' requested here
    dispatch([this] {
    ^

The issue is not Mac specific, the same happens on Linux.
I know Qt 6.7 is still beta, so consider this as a heads up, there seems to be this issue coming.
I will also test with Qt 6.6.2 in about a week, as soon as it becomes available.

https://github.com/valbok/QtAVPlayer/pull/451


changelog

hey @l3mpik  can you add a changelog file so we can see what exactly you change every time you update the code

Sure : )

thanks bro :) you are the best

Ehh.. no.  But thanks :D

good lempika is mobile slither and web version connected

Wut ? :D " lempika " ? :)))

lol typing error

😀 is mobile and web connected

Ohh.. haha :D Close? I make chat w8


Tox related

[x] Remove .tox (first delete it, then commit it, lastly run tox)
[x] Take out E402 from tox.style error list
[x] Add {posargs} in py38

Remove .tox, take out E402 and add {posargs} in py38


Kubelet config

This is a reference for kubelet config generated from kubernetes-sigs/reference-docs/genref tool.
More specifically, it is generated using the following command:
./genref -format markdown -include kubelet-config

Preview: https://deploy-preview-26590--kubernetes-io-master-staging.netlify.app/docs/reference/command-line-tools-reference/kubelet-config.v1beta1/

/cc

👀

/sig node
@kubernetes/sig-node-pr-reviews would you be OK to review this?
See https://github.com/kubernetes/website/pull/26590#issuecomment-780417936 for a link to the preview.

One concern I have about generating documentation from code comments here is that the context might not be matched.
For example: in Go, staticPodURLHeader is

a map of slices with HTTP headers to use when accessing the podURL
…
Default: nil

However, if you're writing a Kubelet configuration file in your text editor, you're probably editing YAML. YAML doesn't have slice. YAML represents nil values as `` (not the empty string, just no value set in a map), null or ~; the term “nil” is a Golang detail.
That might be OK so long as we can clarify in the page that we're describing the Golang implementation of a kubelet, rather than the kubelet.config.k8s.io/v1beta1 format as you'd find it on a filesystem.

@sftim That is actually a good point. The reference docs we generated today, including API reference and component references, all have some Golang imprints in them. In kube-apiserver reference, you see --cors-allowed-origins stringSlice and --feature-gates mapStringBool; in ObjectMeta reference, you see creationTimestamp (Time) though the field is a "GoLang formatted string". I don't see a quick and clean solution for this in the near term.

/milestone foo

@tengqm , Should the configuration references publish with the 1.21 release (or before)?
There are separate PRs for each reference, but I'd think it makes sense to review as a group?
Requesting review from SIG Node:
/cc @kubernetes/sig-node-pr-reviews

Should the configuration references publish with the 1.21 release (or before)?

This is for 1.20. For 1.21, we don't have new version of the package for reference generation yet.

/hold
Depends on: https://github.com/kubernetes-sigs/reference-docs/pull/214

/hold cancel
kubernetes-sigs/reference-docs#214 is in.

For clarity:
/retitle Document kubelet config format

/lgtm
Not doing technical review as this is generated from reviewed code

Thanks @tengqm .
/approve


Allow an API endpoint to be explicitly passed

We currently hardcode api-name.googleapis.com in the Node.js API clients. We should take an options.apiEndpoint that allows the user to override this. This is useful for API producers wanting to use staging servers, customers wanting to test with emulators, etc.
See https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1630#issuecomment-322207900

@lukesneeringer Can you add a priority to this?

Isn't this already covered in the serviceAddress option?

@lukesneeringer @alexander-fenster Is this still relevant?


Update release schema to current version (1.0.2)

The extension creator is using v1.0.1 but the live version on http://standard.open-contracting.org is 1.0.2

Seems to have been done in another commit: https://github.com/open-contracting/extension_creator/blob/gh-pages/release-schema/release-schema-1.0.json


Refractor replacements into own file

This would be my proposal to separate the replacements out of the newast.py file.
I'm proposing this because I need to add new, ML related replacements for pytorch functions, and I would need to access some of the more "primitive" ops (like the reductions or binary ops) to build these. As far as I can tell, doing is not possible at the moment since importing newast from a different file would cause an import loop.

Unfortunately the jenkins build on pauli requires a login, so I can't see why it's failing.

@orausch The build actually passed, but there is a sporadic error on the server that fails the build.


Add kubeproxy-free and dualstack CI job

This change is

test-me-please

Coverage increased (+0.01%) to 45.938% when pulling 2bd4e9b6867d8ec6848cab29e32592e537aa5370 on pr/brb/dualstack-ci into b1aae124099e098cff137915ea2ab865fbf62ce9 on master.

test-me-please

test-me-please

test-me-please

test-me-please


Removes hop headers after routing call

Fixes #217 - RemoveHopByHopHeadersFilter is called after routing response is received

Yes, you are right @spencergibb , the implementation did feel clunky. I will look at it once more and see if I can clean it up based on your suggestion.

Codecov Report

Merging #220 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
+ Coverage   70.45%   70.48%   +0.02%
==========================================
  Files          89       89
  Lines        2153     2155       +2
  Branches      155      155
==========================================
+ Hits         1517     1519       +2
  Misses        554      554
  Partials       82       82

Impacted Files
Coverage Δ

...cloud/gateway/config/GatewayAutoConfiguration.java
100% <100%> (ø)
:arrow_up:

...ework/cloud/gateway/filter/NettyRoutingFilter.java
97.56% <100%> (+0.12%)
:arrow_up:

...ay/filter/headers/RemoveHopByHopHeadersFilter.java
75% <100%> (ø)
:arrow_up:

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 fb4a425...041a20f. Read the comment docs.

Cleaned up along what you suggested @spencergibb, let me know what you think.

Any other feedback @spencergibb.

Done @spencergibb

@bijukunjummen why the change in signature of HttpHeadersFilter.filter()? I specifically removed the incoming headers on purpose.

Nevermind, I see why.

Squashed and merged with a little polish via 12ef935bf4dd1dd304d61604792ff680a9c02ec5

Polish looks great, thanks @spencergibb


🐞 [Bug]: InvalidResourceError error when trying to deploy a Mattermost instance

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard
What happened?
Got InvalidResourcesError error when tried to deploy a Mattermost instance
Steps To Reproduce

go to devnet dashboard
go to deploy mattermost
deploy

which network/s did you face the problem on?
Dev
version
2.4.0-rc1
Twin ID/s
143
Node ID/s
11
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

Relevant log output
N/A

Could be related to https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2750


Finish rebuild

adds to #18
use cb3 syntax to select go compiler
remove unused toolchain

closes #16, closes #18

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Support image preview in Alacritty?

Please describe the problem you're trying to solve
Do you mind adding Alacritty for the image preview?
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
Work out of box for alacritty users.
Additional context
No response

Alacritty doesn't support any image protocols, there's an unmerged PR here you might be interested in https://github.com/alacritty/alacritty/pull/4763
Closing as not something Yazi can do, needs Alacritty to support some image protocol.