Re-disable PCH functionality for stability

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This essentially reverts #8. This likely will impact compilation speed for end users, but will be much more stable.

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.

@conda-forge-admin, please rerender


Doku: Requirement section missing

Hello,
please add a section Requirement in your documentation. Please state there which openfeign version you depend on.
For example, feign-form-3.5 will not work with openfeign-9.x (ClassNotFound Exception on feign/Request.$Body), thus at least openfeign-10.x is required.

thanks for help @wh81752, I have updated the readme with a Requirements section


[Improvement][Common] Obtain resource information in the k8s environm…

Purpose of the pull request
We believe that if containerization is supported, what should be concerned about in a container is the resource information of the service process, and now it is to obtain the resource information of the host.
Brief change log
When in a container environment, determine whether it is overloaded by obtaining the resource information of the process.

Please run 'mvn spotless:apply' to fix these violations.

I've made changes

I've made changes

hi @qingwli  plz to run CI,LGTM if pass CI

Codecov Report

Merging #14968 (b64efbb) into dev (1e2fddf) will increase coverage by 0.00%.
The diff coverage is 28.57%.

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

@@            Coverage Diff            @@
##                dev   #14968   +/-   ##
=========================================
  Coverage     38.88%   38.88%
- Complexity     4603     4604    +1
=========================================
  Files          1235     1235
  Lines         43411    43386   -25
  Branches       4803     4787   -16
=========================================
- Hits          16880    16871    -9
+ Misses        24662    24644   -18
- Partials       1869     1871    +2

Files
Coverage Δ

...dolphinscheduler/common/utils/KubernetesUtils.java
33.33% <33.33%> (+33.33%)
:arrow_up:

.../apache/dolphinscheduler/common/utils/OSUtils.java
28.14% <27.27%> (-1.24%)
:arrow_down:

... and 22 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for your Contributor


CUDA _ERROR_INVALID_HANDLE

Hi,
I'm using CuPy on the Jetson platform. My code basically includes a pre-processing operation on RGBD images coming from a stereo camera called ZED (which uses CUDA for calculating the 3D measurement).  On the second image i'm getting an error CUDA_ERROR_INVALID_HANDLE (while the first image runs fine). Any suggestions on how to solve this? I've read several comments regarding the CUDA context but they were a bit unclear.
Thanks
Yuval

Hi @yuvalg1987, can you share the reproducer and cupy.show_config() output?

Closing as solved in https://github.com/cupy/cupy/issues/4618#issuecomment-933482733


Facing the issue while run the neus file

 int D = 1; Derived = torch::nn::ConvTranspose1dImpl; std::ostream = std::basic_ostream<char>]’ /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/modules/conv.h:282:8:   required from here /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/modules/conv.h:313:39: error: no matching function for call to ‘torch::nn::detail::ConvNdOptions<1>::padding() const’   313 |     return std::get<ExpandingArray<D>>(this->options.padding());       |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:3,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:4,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:9,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/extension.h:5,                  from /mnt/batch/tasks/shared/LS_root/mounts/clusters/kpitgpu/code/Users/nikit/SyncDreamer/raymarching/src/bindings.cpp:1: /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h:61:3: note: candidate: ‘decltype (*(torch::nn::detail::ConvNdOptions<D>*)this) torch::nn::detail::ConvNdOptions<D>::padding(const int&) [with long unsigned int D = 1; decltype (*(torch::nn::detail::ConvNdOptions<D>*)this) = torch::nn::detail::ConvNdOptions<1>&]’    61 |   TORCH_ARG(padding_t, padding) = 0;       |   ^~~~~~~~~ /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h:61:3: note:   candidate expects 1 argument, 0 provided /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h:61:3: note: candidate: ‘decltype (*(torch::nn::detail::ConvNdOptions<D>*)this) torch::nn::detail::ConvNdOptions<D>::padding(int&&) [with long unsigned int D = 1; decltype (*(torch::nn::detail::ConvNdOptions<D>*)this) = torch::nn::detail::ConvNdOptions<1>&]’    61 |   TORCH_ARG(padding_t, padding) = 0;       |   ^~~~~~~~~ /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h:61:3: note:   candidate expects 1 argument, 0 provided In file included from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h:3,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional.h:4,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:4,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:16,                  from /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/extension.h:5,                  from /mnt/batch/tasks/shared/LS_root/mounts/clusters/kpitgpu/code/Users/nikit/SyncDreamer/raymarching/src/bindings.cpp:1: /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h:64:18: note: candidate: ‘decltype(auto) torch::nn::detail::ConvNdOptions<D>::padding(std::initializer_list<long int>) [with long unsigned int D = 1]’    64 |   decltype(auto) padding(std::initializer_list<int64_t> il) {       |                  ^~~~~~~ /anaconda/envs/syncdreamer/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h:64:18: note:   candidate expects 1 argument, 0 provided ninja: build stopped: subcommand failed.
i have trained the model on your sample data but facing the issue while run this command
python train_renderer.py -i output/aircraft/0.png -n aircraft-neus -b configs/neus.yaml -l output/renderer

I met the same issue on RTX3090


[Bug] multi-selectors create multi container

Is this a regression?
I don't know
Description
Here is a funny bug!
I want to test my buttons, and to create an interactive playground, I use a directive as target:
Directive as target
@Directive({
  selector:
    'button[mat-button], button[mat-flat-button], button[mat-stroked-button]',
  standalone: true,
})
export class ButtonDirective {
  @Input() color: ThemePalette = 'primary';
  @Input() disabled = false;
}

NgDoc config used
const ButtonsPage: NgDocPage = {
  title: `Buttons`,
  mdFile: './index.md',
  category: OneThemeCategory,
  imports: [MatButtonModule],
  playgrounds: {
    ButtonPlayground: {
      target: ButtonDirective,
      template: `
      <div style='display: flex; gap: 8px;'>
        <button mat-button>Normal</button>
        <button mat-flat-button>Flat</button>
        <button mat-stroked-button>Stroked</button>
      </div>
      `,
    },
  },
};

And it gives the following result:

Please provide the exception or error you saw
As we can see, we have a duplicated container for each element in the selector inside the Directive. Maybe it is designed as intended, but in this case, each change in inputs will change only one element for each container.

If it was designed to work like this, it could be interesting to have an option to `regroup` the active elements (those where the input changes are applied)

OS
Windows
Browser
Chrome
Node version
18.16.0
Anything else?
(I know I post a lot of issues in your repo, but as you can notice, I push the limits of your library 😄 )

Don't worry, I'm glad someone started raising bugs and requesting different features. It will only make the project better! :)
Regarding the playground, you are using the template field incorrectly. The template can only contain one selector for the displayed component or directive. If your component supports multiple selectors, you should use the ng-doc-selector tag. It will automatically replace the selector with your component selector, and the playground will start displaying demos for multiple variants at once.
So your config should look like this:
const ButtonsPage: NgDocPage = {
  title: `Buttons`,
  mdFile: './index.md',
  category: OneThemeCategory,
  imports: [MatButtonModule],
  playgrounds: {
    ButtonPlayground: {
      target: ButtonDirective,
      template: `
        <ng-doc-selector>Button</ng-doc-selector>
      `,
    },
  },
};

OK, it works correctly! I thought it could only take one selector at a time, but ng-doc-selector is more clever than I thought :) Also, it is written in your documentation... My bad, I'm closing this!

No problem! :) Having just one component for one selector is much easier for the end user. The idea was to allow the user to play around with the component and then simply copy its code with a single button click and paste it into their own application.


sharing host ssh-agent socket

The rhel8 host has my ssh-agent and ssh key available for me not to type a key passphrase every time
The socket on the host is in /run/user/1006783/keyring/ssh
2022-Jul-13 10:51[rjq35657@pc0122 ~]$ env | grep SSH
SSH_AUTH_SOCK=/run/user/1006783/keyring/ssh
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
Can the container also read this socket?

I think we could do an explicit mount like this:
-v /run/user/$(id -u):/run/user/$(id -u)

@ronaldomercado since I don't use ssh-agent, please can you try this out?

Hi, the mounting of the socket seems to work okay.
However I tried to use the socket by setting the SSH_AUTH_SOCK environment variable as above.
ssh-add failed with this error:
$ ssh-add -l error fetching identities for protocol 1: agent refused operation 2048 SHA256:<sha-number> <key-location> (RSA)
I am thinking that the ssh-add error might have to do with incompatibilities between the rhel7 and rhel8 versions of the tools.
@gilesknap, it is inconvenient to use the dls ade tools that communicate with gitlab without an ssh key. I am curious to know how you get by without an ssh-agent ?

@ronaldomercado I have no password on my keyfile and that just works.
Does the socket mounting workaround solve the issue for you? We can add that to the launch script easily.

fixed in https://github.com/dls-controls/dev-c7/releases/tag/2.0.3


Session endpoint to retrieve new Access Token

Summary
Currently there is no endpoint to get a new access token without a user logging in again. This endpoint will allow clients to request for new access tokens from a previously provided refresh token (See #14).
Functional Requirements
We need to ensure that we can reliably generate new access tokens from supplied refresh tokens. We should not allow access tokens to be generated from expired refresh tokens. Refresh tokens should be valid and first authenticated that the system did indeed generate the provided refresh token that is to say, that no refresh token from another system should be accepted.
A valid request to generate a new access token looks like below:
POST /api/v1/curtz/auth/oauth/token HTTP/1.1
Host: <HOST>
grant_type=refresh_token&refresh_token=xxxxxxxxxxx

The Host will be the accessible URL of the backend application. The grant_type must be of type refresh_token & the refresh_token is the token to use to get a new token.

These params must be in the request path.
The expected response will be in the format provided below:
{
   "access_token": "<ACCESS_TOKEN>",
   "refresh_token": "<REFRESH_TOKEN>"
  "token_type": "Bearer",
  "expires": 3600
}

The client is at liberty to decode the supplied access and refresh tokens to validate that they are valid as well as to check the expiry(when they expire) and perform necessary checks before performing a request with an already expired access token. Nonetheless, the server should drop and invalidate requests with invalid or expired access or refresh tokens.
If an expired refresh token is supplied in order to access a new access token, the request should be dropped immediately & an unauthorized response code returned with an appropriate error response to inform the client as to why the request was not accepted:
{
    "error": "Token invalid or expired"
}

The error message here is to make it ambiguous to foreign actors trying to spoof the system with invalid tokens.

Implementation Notes
Create a new endpoint to generate a new access token from a given refresh token. This new endpoint will be under /api/v1/curtz/auth/* route.
Client requests should contain a refresh_token as a request param as described above and the response provided should contain a new access token along with a new refresh token.
Leverage on usage & extending the AuthService interface adding a new method to check the refresh token and provide a new refresh token. This will require implementing the new method here to perform the actual validation of the refresh token and generate a new access token and refresh token.
There is a custom JWT package that handles encoding and decoding of tokens. This can be extended to add a new function that decodes a refresh token to check for its validity.
A new handler function will need to be added to handle this new route. This can be done here.
Leverage on either using the same response payload:
type userResponseDto struct {
	ID          string    `json:"id"`
	Email       string    `json:"email"`
	CreatedAt   time.Time `json:"created_at"`
	UpdatedAt   time.Time `json:"updated_at"`
	AccessToken string    `json:"access_token,omitempty"`
}

Or use a new one that will contain the Access and Refresh tokens. Preference is on the latter.
Acceptance Criteria

Endpoint should return a new valid access token from a given refresh token.
Requesting a new access token with the same refresh token should return a new access token. Nonetheless, this is not an idempotent action. New access tokens should always be provided.
If the refresh token is expired, the response should be an Unauthorized Response code.
Access tokens should not be issued when refresh tokens are expired.

Blocked by #14

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Unable to add myself to workbench applications

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I deployed workbench to my Azure account linked with my corporate Microsoft account<EMAIL_ADDRESS>The workbench got deployed. I am added to the AD app which is linked to the workbench.
When I navigate to the UI, I am able to deploy new blockchain applications. [See screenshot]

But I am not able to perform any operations on the deployed apps because I cannot add myself to them.

Any log messages given by the failure

Error 403: Authorization_RequestDenied - Insufficient privileges to complete the operation.
I am able to deploy new apps but not perform operations on them.
Expected/desired behavior

I should be able to perform operations on deployed apps. I am an administrator on the AD API app.

Make sure you have added the appropriate permissions in the AAD prerequisite setup steps. You need to grant the Graph API certain permissions.

https://docs.microsoft.com/en-us/azure/blockchain-workbench/blockchain-workbench-deploy#add-graph-api-required-permissions


Weird triangle artifact present in many images

Dear @jingyuanli001 , hi, I've been training your model with the places2 large dataset for quite some time, over few million iterations, and I've been seeing the same weird triangle artifact appearing in many images.
Some modifications I've done are:

Increasing image training size to: 480
Increasing hole size by multiplying max_width and max_length both by 1.5 in the random hole generation function.
Increasing the RFR iterations or recurrence from 6 to 13 to account for the larger image and holes.

I think these artifacts appear when the holes are bigger. Have you encountered this problem? Please help, thank you.

Hi, thanks for your question.
In fact, this is also an issue we observed when developing the method (as well as testing a few other inpainting methods). Sometimes this issue is more significant. From my personal experience, there are three directions to work on to address the issue. First, you might try to tune the hyper-parameters with respect to perceptual loss and style loss, which might be helpful for addressing the artifact. Second, you might try to replace batch norm with some other normalization method to address this issue. Third, add an adversarial loss. This would require extra computation but can address the artifact a lot more effectively). We are not quite sure about the nature of this artifact though, but obviously by addressing these artifacts the evaluation results would be even better.

This issue seems to be more significant when the masked region is large. It's possible that, because most of the masks used during training is not that large as some extreme cases, the model prefers to give good results on most of the training cases and ignores some extreme cases that are less common during training.

Thanks for your swift reply.
But this artifact is not during testing, but also during training. Like I said, I've increased the difficulty of the training by increasing the max stroke width and length by a constant multiplier.
Also, this artifact is more evident the longer we train. It is not very noticeable during the earlier iterations.
Somehow, the very same artifact appearing in many images is disturbing. It would be better if the artifacts look different.
Also, it somehow gives me the feeling of hitting some "local minimum". It is like you have a bubble between a soft sticker and a hard surface (mirror) and we try to remove the bubble by trying to move it out by pressing with our finger. It is possible it could appear that the trapped air can't go anywhere and further trying to fix the problem resulted in these "peaks".

I hope this explain what I felt with my last post.

Anyway, thanks for the swift reply. We will try our your suggestions.

Thanks for your swift reply.
But this artifact is not during testing, but also during training. Like I said, I've increased the difficulty of the training by increasing the max stroke width and length by a constant multiplier.
Also, this artifact is more evident the longer we train. It is not very noticeable during the earlier iterations.
Somehow, the very same artifact appearing in many images is disturbing. It would be better if the artifacts look different.
Also, it somehow gives me the feeling of hitting some "local minimum". It is like you have a bubble between a soft sticker and a hard surface (mirror) and we try to remove the bubble by trying to move it out by pressing with our finger. It is possible it could appear that the trapped air can't go anywhere and further trying to fix the problem resulted in these "peaks".

That makes sense. But I am also feeling that, if you input the reconstructed images with artifacts into the model and re-inpaint the region with artifact, the artifact won't exist. Would this indicate that the last few iterations in RFR are actually less efficient, due to the overly large amount of information to process and parse?

Yeah, I agree that it would be possible to just detect these artifacts and redo a second round and have no problem with it.
Perhaps this is a result of iterative processing, when you reach the end, it is difficult to fix things without readjusting a major part of the other pixels. Just what I feel.
Please let us know if you have come across a solution. Anyway, I think the idea you presented in your paper is really novel and stands out from the rest. The result is really good too other than this artifact problem.

In other words, the errors are concentrated at the pixels in the final iteration, rather than evenly distributed across all the inpainted pixels.

Yeah, I agree that it would be possible to just detect these artifacts and redo a second round and have no problem with it.
Perhaps this is a result of iterative processing, when you reach the end, it is difficult to fix things without readjusting a major part of the other pixels. Just what I feel.
Please let us know if you have come across a solution. Anyway, I think the idea you presented in your paper is really novel and stands out from the rest. The result is really good too other than this artifact problem.

Thanks! I will get back to you if we have more information.

@jingyuanli001  Thank you very much for sharing your awesome work. I am wondering if you plan to share the Places2 weight?


EmptyReturnFixer - Make independent of LowercaseConstantsFixer

:+1:, but for 1.11.x

but for 1.11.x

do you want a new PR or can you retarget this when merging?

I will retarget it

:+1:

Thank you @SpacePossum.


Build a client-side demo with zoom and pan.

Prototype a way for us to interact with our canvas, according to spec. Draw a single MD card on the screen, and build the demo to be able to pan and zoom around that card. Enforce a minimum and maximum zoom distance.
Will you use D3 to implement zoom? Maybe another library?
Don't worry yet about it playing well with Angular, we'll figure that out later based on your approach on this demo.

Demo with zoom and pan

This looks and feels amazing. Great job so far!
Currently, you scale the circles so that they're the same size to the user at all times. Can you change the circles to adjust size proportional to the current zoom level?

Relevant
Yup, just uncomment line 46.

Very very cool, awesome work. If we can combine the original scaling of the screen cards with semantic zoom of their contents, I'd be very happy  👍


Make unfriend and unfollow endpoint work for version 0.4

The DELETE endpoint for Connections changed from /me/connections/:ID to /me/connections/:TYPE/:ID

Quickfix:
- (void)deleteConnectionOfType:(TGConnectionType)connectionType
                        toUser:(TGUser*)toUser
           withCompletionBlock:(TGSucessCompletionBlock)completionBlock {
    NSString *newPath = [[self stringFromConnectionType:connectionType]
                         stringByAppendingPathComponent:toUser.userId];
    [self.client DELETE:[TGUserManagerAPIEndpointConnections stringByAppendingPathComponent:newPath]
      withURLParameters:nil
     andCompletionBlock:completionBlock];
}

This only fixes 0.4 and would break 0.3


Add options to change the String in Services and Notes

https://github.com/r7wx/easy-gate/blob/44e280390e7d97541b53f89f6729a2bf29f3548d/web/src/App.js#L90
https://github.com/r7wx/easy-gate/blob/44e280390e7d97541b53f89f6729a2bf29f3548d/web/src/App.js#L102

Yep I will remove them in the next release and maybe introduce a category feature in future releases (each item can be assigned to a category)

Solved in release 1.1.3.


No test is available for in/int8 and out/int32

I am not sure how to prepare the input to say __builtin_amdgcn_mfma_i32_16x16x16i8.
The a and b expected to be int32. I packed the four int8 to an  int32 as below
        for (int i = 0; i < 4; ++i) {           const int r_idx = thread_x * K + i + thread_y * 4;           a |= (int32_t(src[r_idx]) << 8 * (3 - i));         }
In above, src is an array of int8's. And a is an int32.
calling the instruction, does not seem to be producing the expected results.
would any one  please advise how to prepare the input data a and b in above instruction.
Or ideally add a test with in/int8  and out/int32 please.
Apologies if this is not the right place to ask for this. I was not allowed to add this in Discussion part.
Thanks,

Mapping matrix entries to registers for the MFMA instructions can be highly confusing. Fortunately, Joe Greathouse made a tool that helps tremendously: https://github.com/RadeonOpenCompute/amd_matrix_instruction_calculator.
For the instruction you are looking at, for instance (showing partial output) :
$ ./matrix_calculator.py --architecture CDNA2 -i v_mfma_i32_16x16x16i8 --matrix-layout -A
Architecture: CDNA2
Instruction: V_MFMA_I32_16X16X16I8
+--------+------------+-------------+--------------+--------------+
|   lane | v0.[7:0]   | v0.[15:8]   | v0.[23:16]   | v0.[31:24]   |
+========+============+=============+==============+==============+
|      0 | A[0][0]    | A[0][1]     | A[0][2]      | A[0][3]      |
+--------+------------+-------------+--------------+--------------+
|      1 | A[1][0]    | A[1][1]     | A[1][2]      | A[1][3]      |
+--------+------------+-------------+--------------+--------------+
|      2 | A[2][0]    | A[2][1]     | A[2][2]      | A[2][3]      |
+--------+------------+-------------+--------------+--------------+
|      3 | A[3][0]    | A[3][1]     | A[3][2]      | A[3][3]      |
+--------+------------+-------------+--------------+--------------+
|      4 | A[4][0]    | A[4][1]     | A[4][2]      | A[4][3]      |
+--------+------------+-------------+--------------+--------------+
|      5 | A[5][0]    | A[5][1]     | A[5][2]      | A[5][3]      |
+--------+------------+-------------+--------------+--------------+
|      6 | A[6][0]    | A[6][1]     | A[6][2]      | A[6][3]      |
+--------+------------+-------------+--------------+--------------+
|      7 | A[7][0]    | A[7][1]     | A[7][2]      | A[7][3]      |
+--------+------------+-------------+--------------+--------------+
|      8 | A[8][0]    | A[8][1]     | A[8][2]      | A[8][3]      |
+--------+------------+-------------+--------------+--------------+

The mapping for matrices B, C and D can be queried similarly.

@rwvo Thanks so much for reply.
I already was aware of the amd matrix calculator. To me the above instruction is similar to __builtin_amdgcn_mfma_f32_16x16x16f16, used in sample.
A difference to me seems to be a and b types.
a and b in this sample are of below type
using float16x4 = __attribute__((__vector_size__(4 * sizeof(float16_t)))) float16_t;
while they are int32_t for __builtin_amdgcn_mfma_i32_16x16x16i8 case. That's why I have populated an int32_t type with 4  int8_t values.
Would you be able to advise how should I load a and b for above instruction please?
Ideally, I'd be grateful to have revised sample  for __builtin_amdgcn_mfma_i32_16x16x16i8.
Thanks,

In the line of code that you quoted, the left-shift over 8 * (3-i) bits seems suspicious to me. Wouldn't that put A[0][0] in the higher-order (left-most) byte of a for thread (0,0), while it's supposed to go into the lower-order (right-most) byte?
In any case: one of my colleagues wrote a working example for __builtin_amdgcn_mfma_i32_16x16x16i8. It should appear on the blog soon, but I attach it here for your reference. It uses arrays of int8_t values, and then casts to int32_t in the intrinsics call. Attaching  as *.txt because github complains about not supporting *.cpp.
mfma_i32_16x16x16i8.txt

Many many thanks @rwvo. I really appreciated your quick support.


Figure out how to make only and skip discoverable

Currently the Behaviour enum is in a different package (model) and IntelliJ can't discover the import automatically.
This may be reason to consider moving them to static methods on Cuppa.

You can set automatic static imports in the IntelliJ settings somewhere.
Not exactly convenient, but...
On 14 Feb 2016 16:49, "Joe Bandenburg"<EMAIL_ADDRESS>wrote:

Currently the Behaviour enum is in a different package (model) and
IntelliJ can't discover the import automatically.
This may be reason to consider moving them to static methods on Cuppa.
—
Reply to this email directly or view it on GitHub
https://github.com/cuppa-framework/cuppa/issues/64.


Feature request: Hide local video tile

I'd like to have/develop a hack that hides the local video tab and frees the space.
This is especially useful if hiding yourself results in not having an additional row for video tiles so all other participants can be displayed bigger.

Here you go: https://jitsi-hacks.cketti.eu/hacks/toggle_local/

Thanks. It works but not quite as I thought it would. If I hide my own video it goes away but the other video tiles (and/or the layout) behave as if it's still there.
In a conference with 4 participants (myself + 3 others) a fifth person joins. This causes Jitsi to switch from a 2x2 grid to a 2x3 grid with 3 in the top and 2 in the bottom row. If I now toggle my video off Jitsi doesn't switch back to the layout for 4 visible participants but still displays 3 in the top row and now 1 in the bottom row.
I'd have a look at that myself but have no idea where to start.

Ah, I didn't consider the video tile sizing issue.
This should be a good starting point: https://github.com/thormme/jitsi-grid/blob/master/jitsi_grid.user.js


Dynamic page size

Implements a dynamic option to update the pagesize whenever a node is folded or unfolded. Includes a maxsize option as well
to avoid growing the pagesize too much.
These changes seem to just work, but maybe there's a more elegant way to solve it?

Codecov Report

Merging #8 (806d52f) into master (e4d3c37) will increase coverage by 2.73%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master        #8      +/-   ##
===========================================
+ Coverage   97.26%   100.00%   +2.73%
===========================================
  Files           4         3       -1
  Lines         146       143       -3
===========================================
+ Hits          142       143       +1
+ Misses          4         0       -4

Impacted Files
Coverage Δ

src/treemenu.jl
100.00% <100.00%> (ø)

src/FoldingTrees.jl

src/foldingtree.jl
100.00% <0.00%> (+6.25%)
: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 e4d3c37...806d52f. Read the comment docs.

Bump. @timholy would you be able to take a look at this when you've got some spare time?

Bump. Nice feature.

Sorry I kept missing this!


Help with HelloWorld24

HelloWorld24 wont compile on the ftp branch, we need help!

ill help fix it!


[BUG] kubectl exec broken after switching ingress from nginx to traefik when using AWS ALB

Rancher Server Setup

Rancher version: v2.8-head
Installation option (Docker install/Helm Chart): both

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details: n/a

Information about the Cluster

Kubernetes version: v1.27 (latest, but reproducible on old versions)
Cluster Type (Local/Downstream): downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): n/a

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:
Admin

Describe the bug

Issue occurs when migrating from a custom deployed ingress nginx controller to k3s' default traefik ingress or installing rancher on k3s from scratch. Users cannot run kubectl exec commands to downstream clusters (port-forward is effected as well).
This seems to only be reproducible when using traefik behind an amazon ALB - I tested behind HAProxy and it seemed to work fine. So the fix may just need to be for that specific usecase and not all of them.
To Reproduce

spin up ec2 node, install k3s
helm install rancher into k3s cluster with URL defined
apply traefik k3s config to forward insecure headers (below, collapsed) to not hit #42279
set up an amazon ALB pointing at the ec2 node over port 80 - terminating TLS traffic at the load balancer
setup rancher, observe it mostly works

Traefik `helmChartConfig` resource
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    additionalArguments:
    - "--entryPoints.web.proxyProtocol.insecure"
    - "--entryPoints.web.forwardedHeaders.insecure"
    deployment:
      kind: DaemonSet
    logs:
      access:
        enabled: true

Result
...but download a kubeconfig and attempt to kubectl exec into the cluster or a downstream cluster. it won't work.
Expected Result

All k8s api operations should work as expected.
Screenshots

N/A
Additional context

This appears to be the traefik ingress dropping the necessary headers for websocket upgrades - notably this config is in the nginx ingress but has no equivalent within traefik:
            # Allow websocket connections
            proxy_set_header                        Upgrade           $http_upgrade;
            proxy_set_header                        Connection        $connection_upgrade;

There is a semi-workaround which involves creating a few more traefik specific CRs - notably an ingressRoute object that matches any paths that require websockets and then a middleware object that injects the headers:

Traefik CRs to make Websockets work
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: svc-rancher-https
  namespace: cattle-system
spec:
  entryPoints:
  - web
  - websecure
  routes:
  - kind: Rule
    match: PathPrefix(`/{path:([a-z]|[A-Z]|[0-9]|/|-)+/(exec|portforward|attach)$}`)
    middlewares:
    - name: svc-rancher-headers
      namespace: cattle-system
    services:
    - name: rancher
      port: 80
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: svc-rancher-headers
  namespace: cattle-system
spec:
  headers:
    customRequestHeaders:
      Connection: "Upgrade"
      Upgrade: "SPDY/3.1"

This feels extremely hacky - but works.
SURE-6216

Issue is seen on hosted/tenant Rancher setups. Reproduction setup can be easily setup for Rancher QA via: https://github.com/brudnak/hosted-tenant-rancher

Issue is seen on hosted/tenant Rancher setups. Reproduction setup can be easily created for Rancher QA via: https://github.com/brudnak/hosted-tenant-rancher


Create a video demo of Pipe Swap

See here for instructions: https://twitter.com/Bison_Labs/status/1718789160675537357
Screen record to post on Twitter and website

This is recorded. Finishing it up soon.


Authorization error when building the RPM package

Describe the bug
The RPM package generation workflow fails with the following error, this error did not occur 3h ago
Failed: https://github.com/wazuh/wazuh-dashboard/actions/runs/11332275609/job/31514595189
Success: https://github.com/wazuh/wazuh-dashboard/actions/runs/11329940903
#2 ERROR: failed to authorize: failed to fetch oauth token: unexpected status from POST request to https://auth.docker.io/token: 502 Bad Gateway
...
 Dockerfile:4
--------------------
   2 |
   3 |     RUN mkdir -p /tmp
   4 | >>> FROM centos
   5 |     ARG PACKAGE
   6 |     RUN cd /etc/yum.repos.d/
--------------------
ERROR: failed to solve: centos: failed to resolve source metadata for docker.io/library/centos:latest: failed to authorize: failed to fetch oauth token: unexpected status from POST request to https://auth.docker.io/token: 502 Bad Gateway
Unable to find image 'wazuh-dashboard:latest' locally
docker: Error response from daemon: pull access denied for wazuh-dashboard, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
Error response from daemon: No such container: wazuh-dashboard
Error response from daemon: No such container: wazuh-dashboard
metadata version is correct:
metadata package is correct:
ERROR: /etc/wazuh-dashboard/opensearch_dashboards.yml does not exist
Error response from daemon: No such container: wazuh-dashboard
Error response from daemon: No such image: wazuh-dashboard:latest
Error: Process completed with exit code 1.

Apparently, the error is produced by Docker, as not all builds fail, we should improve the failed workflow stage with a retry in case we have a 502 code
To Reproduce
Steps to reproduce the behavior:

Launch the https://github.com/wazuh/wazuh-dashboard/actions/runs/11332275609/job/31514595189 workflow for the v4.10.0-alpha2 tag

Expected behavior
The package is created and uploaded successfully
OpenSearch Version
Related to v4.10.0-alpha2
Dashboards Version
v4.10.0-alpha2
Plugins
Default
Screenshots
Not applicable
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Browser and version [e.g. 22]

Additional context

https://github.com/wazuh/wazuh-dashboard/actions/runs/11332275609/job/31514595189

I could see the actions do not have an option to retry, I found this action that can be used, duplicate the step and put a conditional that is for failure and error, or see if you can do something else.
https://github.com/marketplace/actions/retry-step

I was testing commands to retry when it fails, and I came up with a loop that when it passes it finishes but when it fails it tries again, but the script if it fails closes the execution.
for i in 1 2 3 4 5; do \
          bash ./build-packages.sh \
            -v 5.0.0 \
            -r 1 --rpm  \
            -a file://<path> \
            -s file://<path> \
            -b file://<path>  \
            -rp file://<path>  \
            && break || sleep 15; done;


Alternative Layouts

Maybe helpful to have a choice of layouts. Extra row of keys maybe not so great for people who are mostly used to QWERTY keyboards, but it does help in making all keys visible. What are your thoughts on the layout for the Pan Nigerian Keyboard:
https://en.wikipedia.org/wiki/Pan-Nigerian_alphabet
For physical keyboards, one may want to define a mapping that increases typing speed, see for example https://arxiv.org/abs/1707.03753
For mobile keyboards, there is significant research work, though most implementations on smartphones use a mapping similar to a physical keyboard.
Possibly also interesting:
http://writeyoruba.com
It may be helpful to offer a choice of layouts.

Thank you very much for taking the time to check Edemede and giving these useful insights. We'll be sure to work on them.


Filter out host processes by host mntns to prevent ebpf map from filling up during recording

Filter out host processes by host mntns to prevent ebpf map from filling up during recording

What type of PR is this?
/kind bug

What this PR does / why we need it:
The current ebpf code saves a lot of host process information, but none of this information is needed. This will cause the ebpf map to fill up during recording. I use the host mntns to filter out the host process so that the data in the ebpf map is only the pid we need to record
Which issue(s) this PR fixes:
Fixes #1165
https://github.com/kubernetes-sigs/security-profiles-operator/issues/1165

Does this PR have test?
N

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

Filtering host processes by host mount namespace to prevent ebpf map from filling up during recording.

/ok-to-test

The CI does not seem to be happy about the changes :)

The CI does not seem to be happy about the changes :)

It seems that some test cases have not been run, I will check first

The CI does not seem to be happy about the changes :)

It seems that some test cases have not been run, I will check first

The CI does not seem to be happy about the changes :)

It seems that some test cases have not been run, I will check it first.

/retest-required

/retest

Codecov Report

Merging #1166 (8bc3258) into main (2b570c3) will decrease coverage by 0.05%.
The diff coverage is 52.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1166      +/-   ##
==========================================
- Coverage   48.65%   48.59%   -0.06%
==========================================
  Files          43       43
  Lines        4779     4795      +16
==========================================
+ Hits         2325     2330       +5
- Misses       2358     2367       +9
- Partials       96       98       +2

@saschagrunert  Hi~ There are still some use cases that fail. I don't know why it didn't pass, would you help me watch it? I'm not particularly familiar with spo's test case flow

@neblen please rebase, this should fix the CI now. :)

@neblen: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name	Commit	Details	Required	Rerun command
pull-security-profiles-operator-verify	8bc3258 link	true	/test pull-security-profiles-operator-verify
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

/retest

@neblen please rebase, this should fix the CI now. :)

Ok, I have updated the main branch code to my branch, please run the CI test again，thanks~

@neblen please rebase, this should fix the CI now. :)

@saschagrunert Ok, I have updated the main branch code to my branch.

@neblen please rebase, this should fix the CI now. :)

@saschagrunert Hi~ The bpf-bpf process in ci did not pass. I regenerated the modified ebpf c code to bpfObjects. Is this operation correct?

@neblen the linter times-out:
level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
make: *** [Makefile:344: verify-go-lint] Error 4

I assume thats because the diff of internal/pkg/daemon/bpfrecorder/generated.go looks way too huge, can you please run make update-bpf and re-commit? If I run it, then I get a diff which looks more sane:
> git diff --stat
 internal/pkg/daemon/bpfrecorder/generated.go | 91741 +++++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 file changed, 4017 insertions(+), 87724 deletions(-)

/lgtm
Thank you again for you contribution, we really appreciate you time and effort on this topic!


needsclick for dynamically created element

Hey guys. My first time to use fastclick. I'm using fastclick along with mustachejs but i have to disable fastclick because it automatically trigger the element generated by mustache upon loading. I already added the needsclick on the class part. Anyway i can get around this so i can enable fastclick again on my android app? I'm using static pages on a webview to develop my hybrid app. Thanks in advance.

I also have same problem related to dynamically generated elements.
I have posted a question on stackoverflow.com to get solution.
http://stackoverflow.com/questions/31451457/fastclick-js-needsclick-to-dynamically-generated-element


Crop-Method-Documentation inconsistent across Raw/Epochs/Evokeds

Describe the problem
The documentation of the method "crop" for Raw/Epochs/Evokeds is inconsistent:
For all Types, crop modifies the object in-place and returns the modified instance.
Raw: In-Place-Modification is described in "Returns"
Epochs: In-Place-Modification is described in "Notes"
Evokeds: In-Place-Modification is not described
Describe your solution
Correction of the documentation
Additional context
If not too complicated, an "inplace"-argument would be helpful to avoid the additional "copy"-method

do you think you can give it a try to send the pull request with the fixes?

Yes, I'll try it on the weekend

If not too complicated, an "inplace"-argument would be helpful to avoid the additional "copy"-method

I'd like that too but I don't think it's going to happen :) So please only try fixing the docstrings for now.
Thanks!

Ok

I tried to get GNU-Make to run under Windows or WSL2, but both didn't work yet for different reasons:
##Windows
After replacing BUILD_DEV_HTML=1 with setx BUILD_DEV_HTML 1 to make it run I ended up with a sphinx error:
Could not import extension sphinxcontrib.bibtex2
##WSL2
OpenGL seems to be the problem for showing the documentation with sphinx.
2020-07-31 18:53:37.619 (   1.543s) [        A54F0740]vtkXOpenGLRenderWindow.:251    ERR| vtkXOpenGLRenderWindow (0x7ffff0470240): Could not find a decent config 2020-07-31 18:53:37.621 (   1.545s) [        A54F0740]vtkXOpenGLRenderWindow.:468    ERR| vtkXOpenGLRenderWindow (0x7ffff0470240): Could not find a decent visual
Has somebody solved these problems already or got another way of testing on Windows?
caution: testing won't work on windows, see README
(I saw this in Makefile, but didn't find anything in README, so I thought, maybe somebody found a solution)

I had some problems at the beginning, mostly because I use Windows and read the contribution-guide of the stable-version:) (missed everything about Windows and requirements_doc.txt:)
But one problem stayed:
I had to replace BUILD_DEV_HTML=1 with setx BUILD_DEV_HTML 1 in Makefile to make it run under Windows
(I don't know, if that's the best solution)


Setting to skip virtual levels

I would like a setting to disable notifications for virtual levels (i.e. I only want notifications for levels 1-99).
This should probably be a simple checkbox, where the default value should
Discussion points:
Should it be a positive checkbox? "Notify for virtual levels" where true would be default
Should it be a negative checkbox? "Skip virtual levels" where false would be default

I'd prefer using a positive checkbox, as the default runelite plugin XP Globes uses a positive checkbox.
but we have to pluralize our setting
https://github.com/runelite/runelite/blob/9b655588e6da6b6489021d6b30f6b1d328c17dd4/runelite-client/src/main/java/net/runelite/client/plugins/xpglobes/XpGlobesConfig.java#L103-L112
	@ConfigItem(
		keyName = "showVirtualLevel",
		name = "Show virtual level",
		description = "Shows virtual level if over 99 in a skill and Hide maxed skill is not checked",
		position = 15
	)
	default boolean showVirtualLevel()
	{
		return false;
	}


⚠ Bofrost.lu has degraded performance

In 92ac45b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 935 ms

Resolved: Bofrost.lu performance has improved in d584fb1 after 8 minutes.


Ignore PermissionError when iter dirs

When a kindle is connected to a Mac computer, some hidden dirs will be created automatically.
These dirs make this tool crash:
Traceback (most recent call last):
  File "../code/kindle_sdr_cleaner.py", line 39, in <module>
    main()
  File "../code/kindle_sdr_cleaner.py", line 35, in main
    handle_path(Path.cwd())
  File "../code/kindle_sdr_cleaner.py", line 27, in handle_path
    handle_path(folder)
  File "../code/kindle_sdr_cleaner.py", line 12, in handle_path
    for entry in path.iterdir():
  File "/Users/chenfeng/opt/anaconda3/lib/python3.8/pathlib.py", line 1121, in iterdir
    for name in self._accessor.listdir(self):
PermissionError: [Errno 1] Operation not permitted: '/Volumes/Kindle/.Spotlight-V100'

After this fix, it runs OK:
PermissionError:  /Volumes/Kindle/.Spotlight-V100 , skip
PermissionError:  /Volumes/Kindle/.Trashes , skip

Thanks, I've released v0.1.1.


Limit of 4M on outgoing messages

Bug Report
There is a limit on ongoing messages sent to a server of 4M that we can see in many different implementations.
However, tonic also implements a limitation of 4M on outgoing messages. That limitation is rarer and maybe not justified.
Version
0.11
Platform

Crates

Description

For anyone stumbling upon this, you can set your limits directly on the Grpc type like so:
            let grpc = tonic::client::Grpc::new(svc)
                .max_decoding_message_size(usize::MAX)
                .max_encoding_message_size(usize::MAX);

The question here should be whether there should be a default limit and if so whether it should be 4 MiB.

The question here should be whether there should be a default limit and if so whether it should be 4 MiB.

I don't know if this is worth having open as an issue to ask. Seems like this is the default for all of the implementations, and its configurable. I vote we just close this.

C/C++: https://github.com/grpc/grpc/blob/14d76aac59df4be97adbba1dea93d3d6fe058eed/include/grpc/impl/grpc_types.h#L180
C#: https://github.com/grpc/grpc-dotnet/blob/b57c87f2a9897b2046fdf8fff8e9eb5cb5bce396/src/Grpc.Net.Client/GrpcChannel.cs#L44
Go: https://github.com/grpc/grpc-go/blob/6d236200ea68ea644d78a164c4ad9952a765aed3/clientconn.go#L96
https://github.com/grpc/grpc-java/blob/a28357e197e2085b21683fe89b850c7e91cbe5a3/core/src/main/java/io/grpc/internal/GrpcUtil.java#L211-L214

@ajwerner all links you sent are defaults for received messages. Default for size of outgoing messages is -1 in C/C++ and Math.MaxInt32 in Go, I didn't see similar Constanta in C# and Java.
For me this issue isn't about the default max size of received messages, but about tonic refusing to send large messages because of this limit.


Add Authentication to API endpoints

In the current version of the API, we do not have a way to determine who is making the requests we receive. We simply return all the data we have for a particular entity. For example, if Alana requests GET /visits she will receive an array of all visits by all users. Alana wants to see only visits that she has made.
Equally Alana does not want Brice to see her profile information. She doesn't know who he is and would rather he didn't get to see all the places that she had been to.
To implement this functionality we will need to:

Have a way to identify which user is making a request - we are going to use a unique string called a Token
Validate the token is legitimate on every request to the API - we'll want to reject requests with missing or invalid tokens
Have a way to identify which user a token belongs to - e.g. 03b57c69-7f3c-4e45-a42f-1aed077187f6 is Alana
Filter our existing queries to only return rows that the user is entitled to see

For Consideration
Requests that don't contain a valid token should result in an HTTP 401 - Unauthorized response.
The authorisation scheme we are going to implement is known as Bearer Token. Users will include their token in a Header associated with each request.
We are going to be using Passport, a popular middleware for providing authentication when working with NodeJS and Express. An example showing how to implement the bearer Authentication strategy is shown here: github.com/jaredhanson/passport-http-bearer

I'm on it


Ganache Can't Open/Crashes

Hello, I am trying to use Ganache to run tests for my smart contract, but when I open Ganache it crashes immiedietly unless I open it as an administrator. Although opening Ganache as an administrator only works for a little bit because it crashes 30 seconds-a minute after. I was wondering if someone could help me with this issue? I tried uninstalling then reinstalling but I am unsure why it worked prior to now. I am using a Windows 10 computer. Thank you!

Any solution for this issue. I have the same problem with windows 11

I am facing the same issue from past 2 months. @vinovero have you got the solution for it?

I am facing the same issue from past 2 months. @vinovero have you got the solution for it?

@Divijkatyal0406  No, I'm using with ganache-cli instead the GUI.
Much less convenient, it's a nightmare to pull out transactions or any data.

I have the same problem :/

looks like every one is facing problem no one has solution

I am having the same issue, have installed ganache-cli using npm, installed ganache-ui using Microsoft Store AppX installer. Launched, selected Quickstart, dashboard appeared for about 20 seconds then the app closed, no error dialogs, nothing in task manager. Event Viewer had some entires which aren't telling me much. Have attached what I have found if it can be of help fixing this issue.
application-hang-event-log-error.txt
app-model-state-event-log-warning.txt
Report.wer.txt
windows-error-reporting-event-log-information.txt
app-model-state-event-log-warning2.txt
.

same issue for myself using Ganache-2.5.4-win-x64 - screen capture attached.. won't run period.

.

hey all,
I was facing the same problem under Win 11, however instead of the .appx file I've installed Ganache with the setup.exe file that is listed here:
https://github.com/trufflesuite/ganache-ui/releases
Under assets:
https://github.com/trufflesuite/ganache-ui/releases/download/v2.5.4/Ganache-2.5.4-win-setup.exe
This solved the GUI issue for me it's not closing every 9 seconds now, hope it helps!

hey all,
I was facing the same problem under Win 11, however instead of the .appx file I've installed Ganache with the setup.exe file that is listed here: https://github.com/trufflesuite/ganache-ui/releases Under assets: https://github.com/trufflesuite/ganache-ui/releases/download/v2.5.4/Ganache-2.5.4-win-setup.exe
This solved the GUI issue for me it's not closing every 9 seconds now, hope it helps!

Thanks @niftymark that seems to have worked for me too, much appreciated!

The first time I installed Ganache-2.5.4-win-setup.exe on my Win 11, I face the same issue Ganache crashed in a few seconds every time I opened... Then I uninstalled and re-installed  now it works fine!!


AJ-1633 Disable workspaceId check for LogStatementTest

Followup for AJ-1633, which puts a business logic check in the critical path for deleteCollection: this test is failing because it is creating/encountering collections that have a workspaceId that mismatches the WORKSPACE_ID.  Disabling this check allows these tests to keep passing (and verifying what they are actually interested in), without having to redesign them for the concern of the safety check.

Added a TODO to https://broadworkbench.atlassian.net/browse/AJ-1682 to not require these kill switches.


Support native parquet stores with scalar-only Parquet types

Adding make_parquet_reader: support for working efficiently with parquet stores.
Currently only stores with scalars are supported.
Readers created with make_parquet_reader return batches of rows and not row-by-row, as make_reader.

Codecov Report

Merging #251 into master will decrease coverage by 0.08%.
The diff coverage is 93.29%.

@@            Coverage Diff             @@
##           master     #251      +/-   ##
==========================================
- Coverage   86.98%   86.89%   -0.09%
==========================================
  Files          72       74       +2
  Lines        3825     3990     +165
  Branches      581      549      -32
==========================================
+ Hits         3327     3467     +140
- Misses        399      413      +14
- Partials       99      110      +11

Impacted Files
Coverage Δ

petastorm/tf_utils.py
80.16% <100%> (-0.71%)
:arrow_down:

petastorm/local_disk_arrow_table_cache.py
100% <100%> (ø)

petastorm/test_util/reader_mock.py
82.5% <100%> (+0.44%)
:arrow_up:

petastorm/workers_pool/process_pool.py
93.67% <100%> (-0.61%)
:arrow_down:

petastorm/py_dict_reader_worker.py
92.85% <100%> (ø)

petastorm/reader_impl/reader_v2.py
85.43% <100%> (-2.41%)
:arrow_down:

petastorm/benchmark/throughput.py
82.96% <66.66%> (+0.25%)
:arrow_up:

petastorm/arrow_reader_worker.py
92.1% <92.1%> (ø)

petastorm/reader.py
91.98% <92.59%> (-0.51%)
:arrow_down:

petastorm/pytorch.py
86.88% <0%> (-3.28%)
:arrow_down:

... and 6 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 deb031a...5f46738. Read the comment docs.

Renamed make_parquet_reader -> make_batch_reader
Added explicit checks to these functions to forbid opening Petastorm stores from make_batch_reader and native Parquet stores using make_reader.


External scripts are not loading on templates

Hello and thanks for this great framework.
I have different JS files that i want to load on templates. For example when i do something like the following, prueba.js is not loaded, nor error either. What can i do? :
<alumno class="app-page">

        <button class="btn pull-left icon icon-menu" data-side-panel-id="side-home"></button>

Horario

        <input type="hidden" id="idPersona" />

</alumno>

Hi @gbangd,
Thank you for opening this issue.
Can you please give me more information. Is the script well loaded?

No information was provided.
Hence I close this ticket.


New version: CurveFit v0.3.4

Registering package: CurveFit
Repository: https://github.com/pjabardo/CurveFit.jl
Created by: @pjabardo
Version: v0.3.4
Commit: 6ff12045107c868e3061741883e8d82ec2c11ff5
Reviewed by: @pjabardo
Reference: https://github.com/pjabardo/CurveFit.jl/issues/19

@pjabardo :point_up:
[noblock]


add --check-only flag to generate command (fixes #85)

If present, this flag causes the generate command to resolve all dependencies as usual, but does not write the files. Instead, it checks that each generated file on disk has the expected content.  If any files do not match the expected content, they are logged and bazel-deps exits with code 2; bazel-deps exits 0 if everything matches.

Out of curiosity, what is the use case?
On Mon, 16 Oct 2017 at 19:28 Kevin Gessner<EMAIL_ADDRESS>wrote:

If present, this flag causes the generate command to resolve all
dependencies as usual, but does not write the files. Instead, it checks
that each generated file on disk has the expected content. If any files do
not match the expected content, they are logged and bazel-deps exits with
code 2; bazel-deps exits 0 if everything matches.
You can view, comment on, or merge this pull request online at:
https://github.com/johnynek/bazel-deps/pull/89
Commit Summary

add --check-only flag to generate command (fixes #85)

File Changes

M src/scala/com/github/johnynek/bazel_deps/Commands.scala
https://github.com/johnynek/bazel-deps/pull/89/files#diff-0 (8)
M src/scala/com/github/johnynek/bazel_deps/DepsModel.scala
https://github.com/johnynek/bazel-deps/pull/89/files#diff-1 (2)
M src/scala/com/github/johnynek/bazel_deps/IO.scala
https://github.com/johnynek/bazel-deps/pull/89/files#diff-2 (22)
M src/scala/com/github/johnynek/bazel_deps/MakeDeps.scala
https://github.com/johnynek/bazel-deps/pull/89/files#diff-3 (60)
M src/scala/com/github/johnynek/bazel_deps/Writer.scala
https://github.com/johnynek/bazel-deps/pull/89/files#diff-4 (40)

Patch Links:

https://github.com/johnynek/bazel-deps/pull/89.patch
https://github.com/johnynek/bazel-deps/pull/89.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/johnynek/bazel-deps/pull/89, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIFxhPecItuo0KiBzqGjqtHhA39QDdks5ss4Q5gaJpZM4P65Q_
.

@ittaiz We have a script that does this in our CI (which we shared in BFG), to prevent people from changing dependencies.yaml and not generating the new files.  That causes all kinds of pain that we want to avoid.

Oh I see.
Our take is a bit different- the source of truth is external to the repo
and shared by the entire org.
When it's changed we have a service which gets triggered, run our internal
Bazel-deps which does the changes and pushes.
On Mon, 16 Oct 2017 at 19:53 Kevin Gessner<EMAIL_ADDRESS>wrote:

@ittaiz https://github.com/ittaiz We have a script that does this in
our CI (which we shared in BFG
https://github.com/bazelbuild/BUILD_file_generator/blob/master/dev-scripts/dependencies/check-deps.sh),
to prevent people from changing dependencies.yaml and not generating the
new files. That causes all kinds of pain that we want to avoid.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/johnynek/bazel-deps/pull/89#issuecomment-336950650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF3c16wObFXjpXxLPF3hgGfSF7T1rks5ss4oTgaJpZM4P65Q_
.

This is great, thanks.

would be great to add an in-memory IO we can use for tests. When we do that, we could write tests much more easily.

Maybe this is completely unneeded with the IO abstraction but I use jiimfs
for in memory filesystem
On Wed, 18 Oct 2017 at 19:22 P. Oscar Boykin<EMAIL_ADDRESS>wrote:

would be great to add an in-memory IO we can use for tests. When we do
that, we could write tests much more easily.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/johnynek/bazel-deps/pull/89#issuecomment-337647072,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF9fx2LkbtDxrTaOidPFrems9Bi7uks5stiW4gaJpZM4P65Q_
.

for those following along: https://github.com/google/jimfs
I was not aware. That looks like it would make writing the in-memory interpreter for IO very trivial.

Yeah, in our maven synchronizer (internal version of Bazel-deps) we use it
extensively for tests
On Wed, 18 Oct 2017 at 23:05 P. Oscar Boykin<EMAIL_ADDRESS>wrote:

for those following along: https://github.com/google/jimfs
I was not aware. That looks like it would make writing the in-memory
interpreter for IO very trivial.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/johnynek/bazel-deps/pull/89#issuecomment-337711944,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF2wWP-E9sYsgsMRinvJWF4I2GqaPks5stloZgaJpZM4P65Q_
.


Create a ScanCode.io addon pipeline to run a clamav scan on a codebase

This would expect that clamav is installed and in the path
We should run clamscan on the extracted codebase
If there are viruses detected, we should report an error message for the affected resource.
At a later stage we could consolidate reporting with the vulnerabilities reporting

Note that for using clamd, we need to track the LGPL-3.0-or-later license of https://github.com/graingert/python-clamd and add the mnissing license text .... See https://github.com/graingert/python-clamd/issues/5 @graingert do you want a patch?

New pipeline merged.


Update unit tests to not raise libcypher-parser errors

@jeffreylovitz isn't that a backward issue?


updating the game over message!

This is my technical onboarding learning task ! 🚀
updating game description as to let people know how to retry their lunch and play the game again!

this has been successfully reviewed!


react-pure-render/component doesn't work in react-native

But this works:
export default class Component extends React.Component {
  shouldComponentUpdate(nextProps, nextState) {
    const shouldUpdate =
      !shallowEqual(this.props, nextProps) ||
      !shallowEqual(this.state, nextState);
    return shouldUpdate;
  }
}

So I think component must be properly subclassed.

Hmm, it seems the reason why it doesn't work is that react native can't be used with react, aka import React, {PropTypes} from 'react'; will break it.


something is wrong

There is a problem, if there will be repeatedly updated display random problem, sometimes only two maps, review pictures have been loaded

What exactly isn't working? Could you send me an example where it doesn't work and how to reproduce the error? Thanks.

I think, the problem is, that you don't specify the width and height attribute on the images in the example you send me via email.  width="500" height ="500">.
Another way to solve the problem would be to wait until all images are loaded before you call the rowGrid method:
$(window).on('load', function() {
    $('.pic_content').rowGrid(options);
});

great ,thanks for you


Cardinal modeling of thermal striping phenomenon using nekRS and MOOSE Solid Mechanics Module

This PR is for the issue #438.

Job VTB Documentation, step Sync Docs on f7010d6 wanted to post the following:
View the site here
This comment will be updated on new commits.

Job MOOSE on 80a65a6 : invalidated by @hapfang
rerun the tests to see if the git-lfs mesh file issue persists

you have too many commits. I ll rebase this

Relevant test recipes, Cardinal and MOOSE, passed

Great, thanks so much @GiudGiud


declare-styleable：Does not exist after Decompilation

Information

**Apktool Version -2.4.0
**Operating System- Windows
**APK From? - Other
Does not exist after Decompilation declare-styleable。Apktool  After Decompilation Use Gradle or Ant Build Unable to generate R.styleable...
Can support attrs.xml existence declare-styleable?

You need to provide a lot more information than this for people to be able to help you.

Not sure what is being reported here.

Though after more backlog work. It looks related to this: https://github.com/iBotPeaches/Apktool/issues/1217


Create code snippets for home page

Let's create some code snippets for display under the hero:

[x] cURL
[x] JavaScript
[x] Python
[x] Node.js

this came in from twitter https://twitter.com/orliesaurus/status/711731457601843200
there is a problem with the CURL example.  "add a space between the -X & POST also drop the ";" at the end of your API key its confusing."


Exception while invoking method 'ATCreateUserServer' TypeError: Assignment to constant variable.

Using Meteor 2.16 I am getting the below error on account creation:
 Exception while invoking method 'ATCreateUserServer' TypeError: Assignment to constant variable.
 at packages/useraccounts:core/lib/server_methods.js:39:12

I think this is not allowed when using use strict
// Picks-up whitelisted fields for profile
const profile = options.profile;
profile = _.pick(profile, allFieldIds);

you reassign a const?

Looks like this is fixed by someone else in a pull requests


Allow variables to be overridden

Hello,
I'm loving bitters so far but one annoyance I have is that I can't override variables without modifying the Bitters source files.
It would be helpful to add !default to all the variables in _variables.scss to allow us to set those variables before the file is loaded, that way Bitters won't override them and use our setting.
This is useful especially when it comes to updating the library - it means that we won't lose any of our changes.

Is this being considered at all? I think it would be a great option to be able to override variables instead of  editing the library code. I see no problem with overriding variables, as they generate no additional "cruft" in the CSS output. The current implementation also makes upgrading bitters in the future quite a task.

@lomteslie No this is not being considered. I think it's important to note that Bitters is a scaffold similar to something like HTML5 Boilerplate. It is not meant as an additional css reset. Because of it's intended use being able to upgrade Bitters would most likely break your styles. For example we are taking out the header font sizes. For people that already have Bitters installed if they upgraded this new version would break all of the header styles on their site.
For more of a discussion around this see this PR: https://github.com/thoughtbot/bitters/pull/32


[QUAD] Bug: Fix attribute_definitions.py typos

Ported to here - except for the one comment about the added default argument value. @iLLiCiTiT should we port this?
Closing this one since there's an equivalent PR there. Thanks!


linear extrusion of 2d arc shape not solid

Hi :smiley_cat:
I'm pretty sure this is a bug. Or maybe I'm being dumb about my code, if so I'm sorry for the bother.
(This is a simplified example taken from a larger model where this is causing an issue.)
Thanks !
Expected Behavior
Linear extrusion of this 2d arc shape should be solid.

Actual Behavior

Steps to Reproduce the Problem
const { primitives, geometries, extrusions, maths } = require('@jscad/modeling')

const ROT = 2 * Math.PI

const insideRadius = 10
const materialThickness = 5
const height = 1

function main() {
  const insideArc = primitives.arc({
    radius: insideRadius,
    startAngle: 0,
    endAngle: (1/4) * ROT,
  })

  const outsideArc = primitives.arc({
    radius: insideRadius + materialThickness,
    startAngle: 0,
    endAngle: (1/4) * ROT,
  })

  const profile = geometries.path2.fromPoints(
    {
      closed: true,
    },
    [
      ...insideArc.points.map(maths.vec2.clone),
      ...outsideArc.points.map(maths.vec2.clone).reverse(),
    ],
  )

  return extrusions.extrudeLinear(
    {
      height,
    },
    profile
  )
}

module.exports = { main }

Specifications

Version: 2.6.3
Platform: https://openjscad.xyz/
Environment: browser

just reverse it. you have the 2d shape for extrusion in wrong direction CW/CCW

Okay thanks @hrgdavor !
const { primitives, geometries, extrusions, maths } = require('@jscad/modeling')

const ROT = 2 * Math.PI

const insideRadius = 10
const materialThickness = 5
const height = 1

function main() {
  const insideArc = primitives.arc({
    radius: insideRadius,
    startAngle: 0,
    endAngle: (1/4) * ROT,
  })

  const outsideArc = primitives.arc({
    radius: insideRadius + materialThickness,
    startAngle: 0,
    endAngle: (1/4) * ROT,
  })

  const profile = geometries.path2.fromPoints(
    {
      closed: true,
    },
    [
      ...insideArc.points.map(maths.vec2.clone).reverse(),
      ...outsideArc.points.map(maths.vec2.clone),
    ],
  )

  return extrusions.extrudeLinear(
    {
      height,
    },
    profile
  )
}

module.exports = { main }

Is there documentation about the requirement for paths to be a specific CW/CCW direction?
I didn't realize this was necessary.

@ahdinosaur thanks for posting this issue.
the extrusions are sensitive to orientation of the 2D geometry. for upward extrusions, the 2D geometry should have a positive area, i.e. the orientation is CCW about Z axis.


shell script changes for linux 7

Changes for installing Jwala on Oracle Linux 7.
Removing Oracle Linux 6 support.

I don't have access to push changes to your fork.
Can you please add me as a collaborator? I have a bunch of minor changes in your branch that I want to push.
Focus on the linux/jvm-service.sh and install-service.sh changes that are needed.

I don't have access to push changes to your fork.
Can you please add me as a collaborator? I have a bunch of minor changes in your branch that I want to push.
Focus on the linux/jvm-service.sh and install-service.sh changes that are needed.

@jmahmoodcc, @manisha1331 did add you as a collaborator to her fork on Friday. You must have received an invite over email, you just need to accept and you should be good to go...

I accepted the invite when she sent it, before I made the changes.
I'll continue looking into it from my end.

Figured it out.
Looks like HTTPS authentication wasn't being accepted but setting up SSH keys worked.

@dskcode @Karthik263
Please review as soon as possible. Thanks!


Read all pixels then write all pixels to avoid virtual call overhead

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

cc @kekekeks


How to set global navigator.userAgent in server-side rendering

The styles/auto-prefix.js auto-prefixer warns that, "Material-UI expects the global navigator.userAgent to be defined for server-side rendering. Set this property when receiving the request headers."
https://github.com/callemall/material-ui/blob/master/src/styles/auto-prefix.js#L10
Anyone have any example of this being implemented, or have suggestions on how to do this?

checkout this comment https://github.com/callemall/material-ui/pull/2172#issuecomment-157404901

@ayhankuru thanks, but that's not really a good solution. If a second request is made to the route before the first one has been completed, the second request could modify the GLOBAL.navigator userAgent before it's been used in the first request...

I was exposing three way, we could improve our server side rendering.

However we could make three different improvement:

Add what you said to the doc (https://github.com/callemall/material-ui/pull/2172#issuecomment-157404901)
Use the React Context instead of a global variable to propagate the userAgent
Allow the prefixAll mode in the browser and not only in the server

I don't have time to work on this, help is welcomed.

Is there at least a way to suppress the warning? This is nearly doubling our log size.

global.navigator = global.navigator || {};
global.navigator.userAgent = global.navigator.userAgent || 'all';


Updates the deserializer for ResourceWrapper to include a JsonString of the searchindices

Description
Adds a new property to ResourceWrapper to include a new property which contains the serialzed version of the search indices
Updates ReindexUtilities to utilize these.
Related issues
Addresses [issue AB#75331].
Testing
Unit tests updated, and manual testing.

After discussing with @namadabu, we realize that there will be little benefit to doing the work of serializing the search Indices in order to do a comparison with the existing values.  That serialization will take work and may not save any effort on the persistence layer as we submit the entire document back to Cosmos DB in order to update the searchParameterHash value.  I will close the PR without merging it, and as we work on performance testing and continue to iterate on Reindexing we can revisit this if necessary.


Add verification of certificate time

Previously the certificate time was not checked to be within range of
the Validity, https://www.rfc-editor.org/rfc/rfc5280#section-<IP_ADDRESS>.
Now the certificate time is verified to be within the Validity

Motivation

Future Work

Current dependencies on/for this PR:

main

PR #49

PR #51   👈

This comment was auto-generated by Graphite.

@nick-mobilecoin queued this pull request to merge with Graphite.

Graphite rebased this pull request as part of a merge.

@samdealy Can you review again? Sorry looks like graphite web app rebased, pretty sure I didn't check the box (I need to disable the require re-review check)

Graphite couldn't merge this PR because it was not satisfying all requirements.


File export (ffmpeg) is hanging because spawned ffmpeg output is not processed

Having given audiosprite many input mp3's, we have found that final file export never completes.
It seems, the reason is that ffmpeg's output buffer gets full and should be read out. Otherwise it starts hanging. (Please, check the following: http://stackoverflow.com/questions/20792427/why-is-my-node-child-process-that-i-created-via-spawn-hanging)
As a workaround, we tried to specify the -v quiet option to ffmpeg and it solved the problem. Also specifying {stdio: 'ignore'} to spawn solves the issue.

Could you provide a pull request for this?

This might have been fixed through #73 . I'd kindly ask you to reevaluate with the v0.7.1 release and reopen this if it's reproducable.


NJ - Truncate Performing Org Name to 50 chars for OBX-23.1 and AOE

NJ needs the performing organization name to be truncated to 50 chars in OBX-23.1 and across all AOE questions.
Sample messages with this issue can be found in file "CDC_PRIME_covid-19-53f131f0-9f03-42a0-9b7f-0ca016b71b5f-20220203141620.hl7"

Lets make this a global change.

Fix is in master and the test result has been resubmitted to their prod feed.
file name:
covid-19-cdd3cc12-6903-4122-9463-d7ee3afbe278-20220223231406

https://app.zenhub.com/files/304423150/81f3472c-15d2-4cef-83ca-b2105759ad65/download

"It looks like the OBX-23.1 was the one worked on last year.  For the OBX segment with the Lab Test, that gets truncated, but not for the OBX segments with the AOE’s."
From Nicholas

@Adrian-Brewster Correct. The truncation logic for the OBX iterations was not working properly. The fix is in production already and I have resent 96 additional test results.
file name:
covid-19-d884d2b4-8693-4af7-9dcf-e25e4074b994-20220225225904

On 2/25, @jorg3lopez noted that 96 additional test messages were sent to NJ related to OBX-23.1 truncation in the following file:
covid-19-d884d2b4-8693-4af7-9dcf-e25e4074b994-20220225225904

3/1: Checking with NJ if this is good on their side.

3/3: NJ validated the data. Closing.


feat(select): add plain variation

fixes https://github.com/patternfly/patternfly-next/issues/1987

Deploy preview for pf-next ready!
Built with commit 7f589975104d8059f5bc44148b9267134927ebaf
https://deploy-preview-2053--pf-next.netlify.com

Deploy preview for pf-next ready!
Built with commit ba90f3593b3700e8554c5312bade7b57788a6939
https://deploy-preview-2053--pf-next.netlify.com

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


PostgreSQL has a nice JSON datatype

I see you're storing JSON directly into PostgreSQL, for instance in the history.data field.
Since 9.2, PostgreSQL has a specific JSON datatype and a bunch of related operators
http://www.postgresql.org/docs/9.5/static/datatype-json.html
http://www.postgresql.org/docs/9.5/static/functions-json.html
That means you can create an index on a JSON field and manipulate the data directly with Postgres.
Also you're using the VARCHAR(255) type in some tables. PostgreSQL treats VARCHAR(x) just like a TEXT type. So VARCHAR is not an optimization and it won't save any space.

We try to keep kansha "database agnostic". Some field type (e.g. VARCHAR) are used to ensure compatibility with some particular databases (there are still people using MySQL/MariaDB out there). We avoid using database specific fields.

ok


GetUserProfilePhotos

how to use GetUserProfilePhotos method to recive profile pics ?

You can't download Photos with the Bot API, you can only receive the file id (and size etc.):
var photos = await Bot.GetUserProfilePhotos(me.Id);
var x = photos.Photos[0][0].FileId;


playground: server returns 403 for ipv6, 200 for ipv4

What version of Go are you using (go version)?
n/a
What operating system and processor architecture are you using (go env)?
n/a
What did you do?

curl https://play.golang.org/p/puYYXUdiQL -I

What did you expect to see?

HTTP/1.1 200 OK
Strict-Transport-Security: max-age=31536000; preload
Content-Type: text/html; charset=utf-8
Date: Sun, 19 Jun 2016 15:23:08 GMT
Server: Google Frontend
Content-Length: 6074
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

What did you see instead?

HTTP/1.1 403 Forbidden
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; preload
Date: Sun, 19 Jun 2016 15:23:12 GMT
Server: Google Frontend
Content-Length: 10
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

It works for me with ipv4 flag -4, but with -6 and with no flags it returns "403 Forbidden" error and content is "Forbidden".
Same in Google Chrome:

My ipv6 addr is 2001:67c:56c:100::3/64.

Hello there @ernado, I've tried to reproduce your issue but I haven't been successful so at least it isn't reproducible.

$ curl --version
curl 7.43.0 (x86_64-apple-darwin15.0) libcurl/7.43.0 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets
$ curl https://play.golang.org/p/puYYXUdiQL -I
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Strict-Transport-Security: max-age=31536000; preload
Date: Sun, 19 Jun 2016 18:52:41 GMT
Server: Google Frontend
Content-Length: 6074
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

$ curl https://play.golang.org/p/puYYXUdiQL -I -4
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Strict-Transport-Security: max-age=31536000; preload
Date: Sun, 19 Jun 2016 18:52:49 GMT
Server: Google Frontend
Content-Length: 6074
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

$ curl https://play.golang.org/p/puYYXUdiQL -I -6
HTTP/1.1 200 OK
Strict-Transport-Security: max-age=31536000; preload
Content-Type: text/html; charset=utf-8
Date: Sun, 19 Jun 2016 18:52:54 GMT
Server: Google Frontend
Content-Length: 6074
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

$ uname -a
Darwin Emmanuels-MBP-2 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64

Perhaps it could be a configuration issue on your machine?

Hi, @odeke-em
Thank you for your response! Now It is clear that ipv6 is not broken at playground.
I don't know how it can be configuration issue on my side, because my request definitely reaches Google Frontend. Maybe my subnet is just blocked for some reason, but this ipv6 subnet was never used before.
Btw, if i'm trying to HEAD https://play.golang.org/, it returns 200.
$ curl https://play.golang.org/ -I -6
HTTP/1.1 200 OK
Strict-Transport-Security: max-age=31536000; preload
Content-Type: text/html; charset=utf-8
Date: Sun, 19 Jun 2016 19:52:25 GMT
Server: Google Frontend
Content-Length: 5573
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

$ curl https://play.golang.org/random -I -6
HTTP/1.1 404 Not Found
Date: Sun, 19 Jun 2016 19:53:41 GMT
Content-Type: text/html; charset=UTF-8
Server: Google Frontend
Content-Length: 283
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

$curl https://play.golang.org/p/puYYXUdiQL -I -6
HTTP/1.1 403 Forbidden
Strict-Transport-Security: max-age=31536000; preload
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Sun, 19 Jun 2016 19:54:30 GMT
Server: Google Frontend
Content-Length: 10
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

So I'm only "blocked" on /p/* and only on ipv6, but I can reach /.
I have a ipv6-enabled VDS with addr 2a00:a960:1002::372a/48, result is 403
ernado@x:~$ curl https://play.golang.org/p/puYYXUdiQL -I -6
HTTP/1.1 403 Forbidden
Strict-Transport-Security: max-age=31536000; preload
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Sun, 19 Jun 2016 19:57:24 GMT
Server: Google Frontend
Content-Length: 10
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

And at home I have 6to4 tunnel (with static public ipv4 addr), and it returns 200!
2002:d58d:9cec:0:76d4:35ff:fe5c:6c5a/64
curl https://play.golang.org/p/puYYXUdiQL -I -6
HTTP/1.1 200 OK
Strict-Transport-Security: max-age=31536000; preload
Content-Type: text/html; charset=utf-8
Date: Sun, 19 Jun 2016 19:59:46 GMT
Server: Google Frontend
Content-Length: 6074
Alternate-Protocol: 443:quic
Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"

Ah I see, thanks for the investigation. I'll defer to the experts @adg and @mikioh.

@adg
I see "ZZ" at work:
$ curl http://country-test.golang.org/
"ZZ"

# and "RU" while using ipv4:
$ curl http://country-test.golang.org/ -4
"RU"

On my 6to4 machine RU for both ipv6 and ipv4, and on VDS is both ZZ (and 403 for both ipv4 and ipv6 addr while trying to GET https://play.golang.org/p/puYYXUdiQl ).

Closing this, because it is appengine issue, not in golang itself.
More input:
https://go-review.googlesource.com/#/c/14190/6/playground/common.go
allowShare is false for "ZZ", so 403.


Elasticsearch container should not shade org.apache.http.HttpHost

Hello.
I've tested elasticsearch container, but test code compile failed by shaded org.apache.http.HttpHost.
> Task :compileTestJava
/elasticsearch-poc/src/test/java/ElasticsearchTest.java:15: error: no suitable method found for builder(org.testcontainers.shaded.org.apache.http.HttpHost)
        RestClient client = RestClient.builder(container.getHost()).build();
                                      ^
    method RestClient.builder(Node...) is not applicable
      (varargs mismatch; org.testcontainers.shaded.org.apache.http.HttpHost cannot be converted to Node)
    method RestClient.builder(org.apache.http.HttpHost...) is not applicable
      (varargs mismatch; org.testcontainers.shaded.org.apache.http.HttpHost cannot be converted to org.apache.http.HttpHost)

just for proof of concepts, i created repository showing this issue.
https://github.com/herblover/testcontainer-elasticsearch-poc
you can reproduce uncommenting compile files('libs/elasticsearch-jar.jar')  in build.gradle file.
in my test, testcontainers elasticsearch module should not shade org.apache.http.HttpHost related library. (in case of ./gradlew elasticsearch:jar everything works fine. and ./gradlew elasticsearch:shadow generated jar file fails.)
thank you.

Ouch, sorry, and thank you for reporting. We’re on it and will release a bugfix ASAP.
FYI @dadoonet

OMG! This means that we are missing real integration tests then...

OMG! This means that we are missing real integration tests then...
That's an interesting point, testing the post shaded jar. Actually the examples Maven project kind of does this, but it not complete and it's not part of the Gradle build.

Note that I was not able to reproduce because my own project depends on elasticsearch Java Client which brings httpcomponents deps...

I'm pushing a branch which should fix the issue; will create a PR, and will then use the jitpack build to verify.
Unfortunately we used to have some specific integration tests just to look out for shading issues, but these were quite complex and did not survive the transition to Gradle. Looks like we're going to have to reinstate these, though.


Added some verbose logging for lifecycle methods

This is not supposed to be merged yet (and maybe not to be merged at all).
I have added some log outputs to some (few) of the most important lifecycle elements

Constructor
PostInitProperties
PostActorCreated/PostLoad
OnConstruction
BeginPlay

of our actor classes, Cesium3DTileset, CesiumGeoreference (some methods only) and GlobeAwareDefaultPawn.
The main goal (for me) was to better understand what's happening there, at which point in time, and in which order.
Some of the resulting log outputs for certain actions:
Opening the Editor with a blank (!) level:
LogCesium: Verbose: Called Cesium3DTileset constructor on actor Default__Cesium3DTileset
LogCesium: Verbose: Called PostInitProperties on actor Default__Cesium3DTileset
LogCesium: Verbose: Called CesiumGeoreference constructor on actor Default__CesiumGeoreference
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__GlobeAwareDefaultPawn
LogCesium: Verbose: Called PostInitProperties on actor Default__GlobeAwareDefaultPawn

Yes, the constructors are called "just so", without an apparent reason. That's interesting.
Browsing into the CesiumRuntime/Public directory in the Content Browser:
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor GlobeAwareDefaultPawn_0
LogCesium: Verbose: Called PostInitProperties on actor GlobeAwareDefaultPawn_0
LogCesium: Verbose: Called PostActorCreated on actor GlobeAwareDefaultPawn_0
LogCesium: Verbose: Called OnConstruction on actor GlobeAwareDefaultPawn_0
LogCesium: Verbose: Creating default Georeference for actor GlobeAwareDefaultPawn_0
LogCesium: Verbose: Called CesiumGeoreference constructor on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called PostActorCreated on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called OnConstruction on actor CesiumGeoreferenceDefault

OK, just browsing in the content browser (while still looking at an empty level) causes quite some of the lifecycle methods to be called. It's probably not bad to be aware of that...
Opening the 02_Cesium Melbourne map:
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__FloatingPawn_C
LogCesium: Verbose: Called PostInitProperties on actor Default__FloatingPawn_C
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__SKEL_FloatingPawn_C
LogCesium: Verbose: Called PostInitProperties on actor Default__SKEL_FloatingPawn_C
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__FloatingPawn_C
LogCesium: Verbose: Called PostInitProperties on actor Default__FloatingPawn_C
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor FloatingPawn_2
LogCesium: Verbose: Called PostInitProperties on actor FloatingPawn_2
LogCesium: Verbose: Called Cesium3DTileset constructor on actor CesiumWorldTerrain
LogCesium: Verbose: Called PostInitProperties on actor CesiumWorldTerrain
LogCesium: Verbose: Called Cesium3DTileset constructor on actor MelbournePhotogrammetry
LogCesium: Verbose: Called PostInitProperties on actor MelbournePhotogrammetry
LogCesium: Verbose: Called CesiumGeoreference constructor on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called PostLoad on actor Default__FloatingPawn_C
LogCesium: Verbose: Called PostLoad on actor FloatingPawn_2
LogCesium: Verbose: Called PostLoad on actor CesiumWorldTerrain
LogCesium: Verbose: Called PostLoad on actor MelbournePhotogrammetry
LogCesium: Verbose: Called PostLoad on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called OnConstruction on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called OnConstruction on actor CesiumWorldTerrain
LogCesium: Loading tileset for asset ID 1
LogCesium: Loading tileset for asset ID 1 done
LogCesium: Verbose: Called OnConstruction on actor MelbournePhotogrammetry
LogCesium: Loading tileset for asset ID 69380
LogCesium: Loading tileset for asset ID 69380 done
LogCesium: Verbose: Called OnConstruction on actor FloatingPawn_2
LogCesium: Verbose: Called OnConstruction on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called OnConstruction on actor CesiumWorldTerrain
LogCesium: Verbose: Called OnConstruction on actor MelbournePhotogrammetry
LogCesium: Verbose: Called OnConstruction on actor FloatingPawn_2

Now we're talking. Some insights can be derived from that:

OnConstruction is called several times
PostInitProperties is called shortly after each constructor individually
PostLoad is called on all actors, but in a "bulk" fashion, after all constructors/PostInitProperties calls have been made

(Note: Of course, this is some "black box" analysis. These are just observations for now, based on the log. Verifying these claims could be a next step. Relying on them is a different story: Much of this is probably not "specified" in the strictest sense, and might change subtly between releases...)
Hitting "Play in Editor":
LogCesium: Verbose: Called CesiumGeoreference constructor on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called Cesium3DTileset constructor on actor CesiumWorldTerrain
LogCesium: Verbose: Called PostInitProperties on actor CesiumWorldTerrain
LogCesium: Verbose: Called Cesium3DTileset constructor on actor MelbournePhotogrammetry
LogCesium: Verbose: Called PostInitProperties on actor MelbournePhotogrammetry
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor FloatingPawn_2
LogCesium: Verbose: Called PostInitProperties on actor FloatingPawn_2
LogCesium: Verbose: Called PostLoad on actor FloatingPawn_2
LogCesium: Verbose: Called PostLoad on actor MelbournePhotogrammetry
LogCesium: Verbose: Called PostLoad on actor CesiumWorldTerrain
LogCesium: Verbose: Called PostLoad on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called BeginPlay on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called BeginPlay on actor CesiumWorldTerrain
LogCesium: Loading tileset for asset ID 1
LogCesium: Loading tileset for asset ID 1 done
LogCesium: Verbose: Called BeginPlay on actor MelbournePhotogrammetry
LogCesium: Loading tileset for asset ID 69380
LogCesium: Loading tileset for asset ID 69380 done
LogCesium: Verbose: Called BeginPlay on actor FloatingPawn_2

The constructors are called again. And PostLoad is called again. One (albeit shallow) answer to the obvious question "Why?" can be found by setting some breakpoints and reading through the Unreal code that does all this: When hitting "Play", then the world is duplicated. This roughly means that the actual objects that are used while playing are true copies of the objects that are present in the editor.
In hindsight, this makes sense, of course. But really being aware of that, and taking it into account while designing the classes is a different story. For example, one "corollary" from that could be: Every part of the state of an object that should be retained while switching into "Play" mode either has to be serialized/deserialized as UPROPERTY values, or has to be derived from UPROPERTY values. (This might happen in PostInitProperties or PostLoad, or maybe in BeginPlay... but that has to be analyzed/verified).
Hitting "Play (Standalone)"
LogCesium: Verbose: Called Cesium3DTileset constructor on actor Default__Cesium3DTileset
LogCesium: Verbose: Called PostInitProperties on actor Default__Cesium3DTileset
LogCesium: Verbose: Called CesiumGeoreference constructor on actor Default__CesiumGeoreference
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__GlobeAwareDefaultPawn
LogCesium: Verbose: Called PostInitProperties on actor Default__GlobeAwareDefaultPawn
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__FloatingPawn_C
LogCesium: Verbose: Called PostInitProperties on actor Default__FloatingPawn_C
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__SKEL_FloatingPawn_C
LogCesium: Verbose: Called PostInitProperties on actor Default__SKEL_FloatingPawn_C
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor Default__FloatingPawn_C
LogCesium: Verbose: Called PostInitProperties on actor Default__FloatingPawn_C
LogCesium: Verbose: Called GlobeAwareDefaultPawn constructor on actor FloatingPawn_2
LogCesium: Verbose: Called PostInitProperties on actor FloatingPawn_2
LogCesium: Verbose: Called Cesium3DTileset constructor on actor CesiumWorldTerrain
LogCesium: Verbose: Called PostInitProperties on actor CesiumWorldTerrain
LogCesium: Verbose: Called Cesium3DTileset constructor on actor MelbournePhotogrammetry
LogCesium: Verbose: Called PostInitProperties on actor MelbournePhotogrammetry
LogCesium: Verbose: Called CesiumGeoreference constructor on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called PostLoad on actor Default__FloatingPawn_C
LogCesium: Verbose: Called PostLoad on actor FloatingPawn_2
LogCesium: Verbose: Called PostLoad on actor CesiumWorldTerrain
LogCesium: Verbose: Called PostLoad on actor MelbournePhotogrammetry
LogCesium: Verbose: Called PostLoad on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called OnConstruction on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called OnConstruction on actor CesiumWorldTerrain
LogCesium: Loading tileset for asset ID 1
LogCesium: Loading tileset for asset ID 1 done
LogCesium: Verbose: Called OnConstruction on actor MelbournePhotogrammetry
LogCesium: Loading tileset for asset ID 69380
LogCesium: Loading tileset for asset ID 69380 done
LogCesium: Verbose: Called OnConstruction on actor FloatingPawn_2
LogCesium: Verbose: Called BeginPlay on actor CesiumGeoreferenceDefault
LogCesium: Verbose: Called BeginPlay on actor CesiumWorldTerrain
LogCesium: Verbose: Called BeginPlay on actor MelbournePhotogrammetry
LogCesium: Verbose: Called BeginPlay on actor FloatingPawn_2

This looks similar to "Play in Editor", but ... ehrm... with more constructors being called. I was just curious about the differences. There certainly are lifecycle methods that are called in "Play in Editor" but not in "Play Standalone", and vice versa, but if this becomes relevant, some further analysis may be necessary. For now, a relevant insight might be that the general structure of "Constructor"+PostInitProperties, followed by a bulk PostLoad for all actors, appears to be the same.

Thanks for the pull request @javagl!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.

To clear out the clutter, I'll close this PR.
I personally now try to add Verbose log messages whenever I override some lifecycle function, and found that this tremendously helpful, because some methods are called really unexpectedly. For example, the fact that property changes cause OnConstruction to be called is somewhat unexpected.
Obscure patterns can sometimes only be discovered with more effort, though. For example, when changing a transform of a scene component in the editor, one could expect TransformChanged to be called. But this is not the case. Instead, it calls OnUnregister and OnRegister. Yes: It explicitly detaches the component, so that it does not receive a TransformChanged call, and then re-attaches it.
Nothing that can be tracked here, though.