x/tools/gopls/internal/regtest/modfile: failures with "exclusive use file already open" on plan9

greplogs --dashboard -md -l -e 'FAIL: .*\n    .*exclusive use file already open'
2022-01-20T16:31:11-ab35822-59122f8/plan9-amd64-0intro
2021-11-29T20:12:13-6e52f51-f598e29/plan9-386-0intro
2021-11-04T17:07:48-84e69e7-5772877/plan9-386-0intro
2021-09-22T19:37:42-efaec4e-5b75a9b/plan9-386-0intro
2021-07-02T16:14:50-7edcfe5-03761ed/plan9-386-0intro
2021-06-17T14:53:37-463a76b-4dede02/plan9-386-0intro
2021-05-20T20:37:02-2275bb5-baa934d/plan9-386-0intro
2021-05-04T21:16:16-f03daea-cd28ca3/plan9-386-0intro
2021-04-18T17:40:12-07295ca-4efd581/plan9-386-0intro
2021-04-06T21:43:19-c602466-0a51047/plan9-386-0intro
On Plan 9, unlike other platforms, file-locking is actually enforced, not advisory: if some process (such as the go command) has a lock on the go.mod file, it cannot be opened concurrently by another process. (Compare #48572.)
Probably the right long-term fix is to update whatever is reading these files to retry the plan9 error.
As a short-term fix, we should probably skip the modfile tests on Plan 9.
(CC @0intro @findleyr)

(I'll send a CL to add the skip, probably tomorrow.)


Pack causes suffocation damage on newly placed blocks.

While using the pack and placing new blocks, I begin to take suffocation damage on the newly placed blocks. I have tested this with and without the pack, and I've concluded that the pack causes this. However, I did experience this bug while playing on a server that is hosted through Shockbyte. So, I tested it on a local world file and did not experience this bug. The last bit of information I have is that this program and the pack I generated was working fine with 1.19.51, so I am not sure if it is simply due to the newest update either.

This is just a recovery texture pack... That would be a Minecraft bug
On Sun, Feb 12, 2023, 7:50 PM zuluranger17 @.***> wrote:

While using the pack and placing new blocks, I begin to take suffocation
damage on the newly placed blocks. I have tested this with and without the
pack, and I've concluded that the pack causes this. However, I did
experience this bug while playing on a server that is hosted through
Shockbyte. So, I tested it on a local world file and did not experience
this bug. The last bit of information I have is that this program and the
pack I generated was working fine with 1.19.51, so I am not sure if it is
simply due to the newest update either.
[image: Screenshot (233)]
https://user-images.githubusercontent.com/125235138/218366201-ceb8f62f-2d86-427f-9a1e-b22f445ea35a.png
—
Reply to this email directly, view it on GitHub
https://github.com/RavinMaddHatter/Structura/issues/154, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUC5FGT42LMIPPYOIQ5V3WXGVPNANCNFSM6AAAAAAUZYM7R4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Website overhaul

Site TODO:

[ ] Theme/style
[ ] Landing Page ?

[ ] Images, graphics

[ ] Project Page

[x] Project Card Component

[ ] About Page ?
[ ] Sponsor Page

[ ] Sponsor Card Component

[ ] Header
[ ] Footer
[x] Navbar

I'd be willing to assist with this...

@sdudenhofer Do you have any opinion of what framework to use? Continue with Jekyll, etc?

I have messed with them before a little bit. I have wanted to find a project to dive into it more, so this would be the perfect opportunity

we are currently hosting on github pages so whatever is supported by that would be nice.  I'm not opposed to hosting elsewhere, but it would be nice to have it as shareable and portable as possible.

We should also take a look at accessibility of the webpage, while we look at rebuilding it

So, I made a branch and setup a skeleton site using Gatsby. It's a React framework that has similar boilerplate to Create-react-app, but bent more towards static, fast sites. I'm thinking of just following their design guide on their tutorial: https://www.gatsbyjs.org/tutorial
So far, Gatsby makes routing really easy. The css approach is interesting, but I think by following the tutorials it shouldn't be too bad. I updated the readme for this branch with an install blurb to get up and running.
Gatsby spits out a static build that github-pages will host if it is in the appropriate location.
As for accessibility, Gatsby takes care of some of that for us when they make a production build, but I don't know how to grade its effectiveness.
Do we still want to go this direction for the site?

Sounds good to me...

@mckelveygreg did you just use the gatsby skeleton site? Do you want to create a repo somewhere and we just split the pages or how do you want to do this? I got the gatsby skeleton running and messed around with it. Seems pretty straight forward...

Did you see the branch I created? I made a handful of placeholder pages to test.
Which do you think would work better: to do a fresh repo or to work off branches with this one?
To make it, we could split up the components. Dropping content in would then be pretty easy. So like:

[ ] Header
[ ] Footer
[ ] Navbar
[ ] Landing page
[ ] Project Card
[ ] Sponsor Card
etc.
Gatsby has a google sheets to GraphQL plugin that looked promising, so it would just pull from the forms that people have already filled out.
I'm new to developer land so I'm open to anything :)

It might be better right now to do a new repo just so there is a clear delineation from live and dev.
We will probably want a location that other leaders can check it out and give us feedback as it is moving towards launch. I will probably have some time tonight or over the weekend if you wanted to get together and talk about it...or whenever the next IRL meeting is.

Yeah, that seems like a good idea.
I'm busy tonight, but free tomorrow, Sunday, and Monday? Lets see when the IRL meeting is, too...

@nohorse Can you make a new repo for the website?

new repo with you both as admins: https://github.com/EugTech/OpenEugeneFestivalWeb

@nohorse Can we move the gatsby branch over, as well?

I got things moved over, not sure if I did it right, but the commits carried over.
Also, github pages is up and running as we change things. Instructions are in the readme.

first it might be helpful to get a bit of wireframe/mockup built.
Also do we want to stay with the purple or do we want another color scheme - if so what?
How do we want the menus structured(buttons or just words)?
Do we want the festival logo or just the words open eugene festival?
Do we have images that we can use on the new site? (perhaps from previous gatherings?)
Do we want some sponsors on the front page and then all on the sponsor page?
Do we have time to do all of this????

We were thinking of following the mozillafestival.org site? Is there a designer to help with a mockup?
The purple is just the Gatsby default, so that should probably change.
The menu items could be better styled words, like the mozilla site.
I just rediscovered the logo, I think it should go in the header.
I have time to put things together, however I'm very unsure about style and content...
Will Mondays meeting clear up some of this?
Should we start making issues on the new repo?
Thanks so much for bringing up all those things!

I just opened a bunch of issues. To help with some of this. I can probably work out some sort of a rough mockup, if there are no designers???

we are chatting with a designer and should have some color and graphics decisions soon!

I love Gatsby. They also have a killer deployment integration with Netlify - highly recommend.


Rename contains to includes

Rename R.contains to R.includes and deprecate R.contains.
The internal _containsWith is also renamed for consistency.
Closes #2447.

@semmel

On the other hand there are the ES6 collections with Map.prototype.has, Set.prototype.has, ... So the ES committee itself seems to be undecided naming this  check for element thing.
So instead could we not merge R.has and R.contains to a new R.has which accepts both lists and objects?

I think you have a point. But I also think it's possible to "explain" the names that the committee has chosen: A Map has both keys and values. has tells you if a map has a given key. include on arrays tells you if the array has a given value.

Maybe, yes. It's a good thing if Ramda functions are named according to the expectations of the average JS programmer.

Yes 😄 That is the goal. The fact that both JavaScript and Lodash uses includes mean that contains will increasingly be forgotten?


Add default message for 410

Added default message "Page Deleted" for when Error component receives prop statusCode but nothing for prop title
https://github.com/zeit/next.js/issues/8087

Hey! I'm going to close this PR because we'd like to discuss it first.
Let's move the conversation over to https://github.com/zeit/next.js/issues/8087.


TypeScript type of useGracefulField isn't callable

Hi there. I just updated from 1.0.6 to 1.0.9 and I'm now getting TypeScript compilation issues with useGracefulField.
Specifically, attempting to import the hook and use it gives me a This expression is not callable. error from TypeScript.
Interestingly it's happy if I call useGracefulField.useGracefulField, so it looks like the actual function is hiding behind a module name with the same name, somehow?
I've put an example codesandbox together:
https://codesandbox.io/p/sandbox/graceful-field-issue-yshvcn?file=%2Fsrc%2FApp.tsx%3A9%2C1
If that isn't working for some reason, here's a screenshot of example code:

This shows the red error underline for call1, which is the 'This expression is not callable.' error.
There's no red underline for call2, but obviously that actual code won't work.

I've figured the problem out. index.d.ts imports useGracefulField from useGracefulField.d.ts as a default import. It used to be a default export but it recently changed to being a named import.  So what's being exported from index.d.ts as useGracefulField is a default import of a module that contains a named useGracefulField export, hence the doubly-nested useGracefulField type.


Added policy for require-run-as-containeruser for windows pods

Description
Containers must be required to run as ContainerUser. This policy ensures that the fields spec.securityContext.windowsOptions.runAsUserName, spec.containers[].securityContext.windowsOptions.runAsUserName, spec.initContainers[].securityContext.windowsOptions.runAsUserName is either unset or set to ContainerUser.
Checklist

[] I have read the policy contribution guidelines.
[] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
[] I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

DCO is required here.

Please sign off on your PR.

@chipzoller , signed off the PR

Digest needs to be captured on Linux and not Windows.

Conflict here to resolve.

Conflict here to resolve.

@chipzoller, Added windows-security in test.yml for chainsaw tests

Another conflict here.


ci: Move merge GHA workflow to its own yaml file. WIP (#3278)

Changes
Identical PR to #3278 for testing purposes.
How did you test this code?
Needs testing on merge.

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

Comparison is base (077416b) 95.95% compared to head (d7b7cec) 17.86%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3285       +/-   ##
===========================================
- Coverage   95.95%   17.86%   -78.10%
===========================================
  Files        1068      988       -80
  Lines       32721    28666     -4055
===========================================
- Hits        31399     5122    -26277
- Misses       1322    23544    +22222

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Only 75 Tokens possible?

No matter which settings I choose, the only thing that's working is the minimum and maximum resolution, but sadly not the maximum amount of tokens.
Is this already known, or is something wrong on my side?
Activating unet: [TRT] breakdomainanime_A0440
[06/01/2023-07:36:11] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/01/2023-07:36:11] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/01/2023-07:36:11] [TRT] [W] CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage and speed up TensorRT initialization. See "Lazy Loading" section of CUDA documentation https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#lazy-loading
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:00<00:00, 30.63it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:00<00:00, 25.64it/s]
  0%|                                                                                | 0/20 [00:00<?, ?it/s][06/01/2023-07:36:41] [TRT] [E] 3: [executionContext.cpp::nvinfer1::rt::ExecutionContext::validateInputBindings::2083] Error Code 3: API Usage Error (Parameter check failed at: executionContext.cpp::nvinfer1::rt::ExecutionContext::validateInputBindings::2083, condition: profileMinDims.d[i] <= dimensions.d[i]. Supplied binding dimension [1,4,64,64] for bindings[0] exceed min ~ max range at index 0, maximum dimension in profile is 2, minimum dimension in profile is 2, but supplied dimension is 1.
)
  0%|                                                                                | 0/20 [00:00<?, ?it/s]
Error completing request
Arguments: ('task(cp1157sj3td4zb3)', '456  6453564 7365465<PHONE_NUMBER>54 25<PHONE_NUMBER>523 6423 43526<PHONE_NUMBER>4<PHONE_NUMBER>1234 ^32^13 345 ', '', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], 0, False, 7, 100, 'Constant', 0, 'Constant', 0, 4, <controlnet.py.UiControlNetUnit object at 0x0000022AA9AF4A60>, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, None, None, False, 50) {}
Traceback (most recent call last):
  File "F:\stable-diffusion-webui - Kopie\modules\call_queue.py", line 57, in f
    res = list(func(*args, **kwargs))
  File "F:\stable-diffusion-webui - Kopie\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\modules\txt2img.py", line 57, in txt2img
    processed = processing.process_images(p)
  File "F:\stable-diffusion-webui - Kopie\modules\processing.py", line 611, in process_images
    res = process_images_inner(p)
  File "F:\stable-diffusion-webui - Kopie\extensions\sd-webui-controlnet\scripts\batch_hijack.py", line 42, in processing_process_images_hijack
    return getattr(processing, '__controlnet_original_process_images_inner')(p, *args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\modules\processing.py", line 731, in process_images_inner
    samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
  File "F:\stable-diffusion-webui - Kopie\modules\processing.py", line 979, in sample
    samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
  File "F:\stable-diffusion-webui - Kopie\modules\sd_samplers_kdiffusion.py", line 433, in sample
    samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args={
  File "F:\stable-diffusion-webui - Kopie\modules\sd_samplers_kdiffusion.py", line 275, in launch_sampling
    return func()
  File "F:\stable-diffusion-webui - Kopie\modules\sd_samplers_kdiffusion.py", line 433, in <lambda>
    samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args={
  File "F:\stable-diffusion-webui - Kopie\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\repositories\k-diffusion\k_diffusion\sampling.py", line 145, in sample_euler_ancestral
    denoised = model(x, sigmas[i] * s_in, **extra_args)
  File "F:\stable-diffusion-webui - Kopie\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\modules\sd_samplers_kdiffusion.py", line 174, in forward
    x_out[a:b] = self.inner_model(x_in[a:b], sigma_in[a:b], cond=make_condition_dict(c_crossattn, image_cond_in[a:b]))
  File "F:\stable-diffusion-webui - Kopie\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\repositories\k-diffusion\k_diffusion\external.py", line 112, in forward
    eps = self.get_eps(input * c_in, self.sigma_to_t(sigma), **kwargs)
  File "F:\stable-diffusion-webui - Kopie\repositories\k-diffusion\k_diffusion\external.py", line 138, in get_eps
    return self.inner_model.apply_model(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\modules\sd_hijack_utils.py", line 17, in <lambda>
    setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
  File "F:\stable-diffusion-webui - Kopie\modules\sd_hijack_utils.py", line 28, in __call__
    return self.__orig_func(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 858, in apply_model
    x_recon = self.model(x_noisy, t, **cond)
  File "F:\stable-diffusion-webui - Kopie\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\repositories\stable-diffusion-stability-ai\ldm\models\diffusion\ddpm.py", line 1335, in forward
    out = self.diffusion_model(x, t, context=cc)
  File "F:\stable-diffusion-webui - Kopie\venv\lib\site-packages\torch\nn\modules\module.py", line 1538, in _call_impl
    result = forward_call(*args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\modules\sd_unet.py", line 89, in UNetModel_forward
    return current_unet.forward(x, timesteps, context, *args, **kwargs)
  File "F:\stable-diffusion-webui - Kopie\extensions\stable-diffusion-webui-tensorrt\scripts\trt.py", line 86, in forward
    self.infer({"x": x, "timesteps": timesteps, "context": context})
  File "F:\stable-diffusion-webui - Kopie\extensions\stable-diffusion-webui-tensorrt\scripts\trt.py", line 69, in infer
    self.allocate_buffers(feed_dict)
  File "F:\stable-diffusion-webui - Kopie\extensions\stable-diffusion-webui-tensorrt\scripts\trt.py", line 63, in allocate_buffers
    raise Exception(f'bad shape for TensorRT input {binding}: {tuple(shape)}')
Exception: bad shape for TensorRT input x: (1, 4, 64, 64)

Tokenmax needs to be multiples of 75. I successfully made a min 75 max 225 .trt with batch size 4 and 768to768 (same value min and max!) width and 448to448 height. It's the nearest to 16:9.

Choosing a higher value than 75 is no problem, the model will be converted without any issues.
But using more than 75 tokens in the prompt window don't seem to be possible at the moment.
I've tried your settings, and I am still getting the same results.

Exception: bad shape for TensorRT input x: (1, 4, 64, 64) seems suspect to me.
The 1 should be 2. Cause the min batch size is 1, and the equation take batch_size * 2. So should be 2x4x64x64 (64=512pixels)
So not sure how you went here. Did you run the command manually to convert the model or ?
Look at my PR, the max token seems to have absolutely no impact here.

Exception: bad shape for TensorRT input x: (1, 4, 64, 64) seems suspect to me. The 1 should be 2. Cause the min batch size is 1, and the equation take batch_size * 2. So should be 2x4x64x64 (1x2 and 64x8=512pixels here)

So not sure how you went here. Did you run the command manually to convert the model or ? Look at my PR, the max token seems to have absolutely no impact here, and you should see the limit. And also convert as batch.
It's mentionning 'controlnet' at some point, it won't work if you use it for sure. You should also disable your extension and non-stock settings, and see.  Start from a fresh stock webui. Need to wait Nvidia's next releases now.

Is it possible that it's because of these errors when trying to convert a model to onnx?
F:\stable-diffusion-webui - Kopie\venv\lib\site-packages\einops\einops.py:314: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  known = {axis for axis in composite_axis if axis_name2known_length[axis] != _unknown_axis_length}
F:\stable-diffusion-webui - Kopie\venv\lib\site-packages\einops\einops.py:315: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  unknown = {axis for axis in composite_axis if axis_name2known_length[axis] == _unknown_axis_length}
F:\stable-diffusion-webui - Kopie\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py:158: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  assert x.shape[1] == self.channels
F:\stable-diffusion-webui - Kopie\modules\sd_hijack_unet.py:26: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  if a.shape[-2:] != b.shape[-2:]:
F:\stable-diffusion-webui - Kopie\repositories\stable-diffusion-stability-ai\ldm\modules\diffusionmodules\openaimodel.py:109: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
  assert x.shape[1] == self.channels
============= Diagnostic Run torch.onnx.export version 2.0.0+cu118 =============
verbose: False, log level: Level.ERROR
======================= 0 NONE 0 NOTE 0 WARNING 0 ERROR ========================

Same here, converted the models with a multiple of 75 since those are the only values allowed but cannot generate with more than 75 tokens.

I made a fix for all these issues. You can check out my fork with the changes here: https://github.com/jebarpg/stable-diffusion-webui-tensorrt
I did all the manual testing and discovered the limits of all the shapes you can create with max width, height and batch sizes. The best batch size and max width and height I have found is bs: 7 maxW: 512 maxH: 512. You can max out the max tokens it has no effect on the shape size limit only the max batch size, max width, and max height have any effect. I also discovered a base number per every batch size from 1 to 11 which lets you know how far you can slide the max width and height. You will get a red label signaling that you are over the limit and green otherwise. I've created a pull request so hopefully it gets integrated in. Also you can do batch processing instead of just one model at a time. for both the onnx files and trt files. NOTE that your settings for max width height batch size tokens etc will apply to the entire batch. Let me know what you all think.

@jebarpg I'm getting the same error that you related, even after setting your suggestion. May I ask you how do you found that math apllied for the limits. I'm trying to understand, but I just find a few cloes and I'm not understanding yet.

@CyberTimon @buenomsg yea I too can't get over 75 tokens.. I've been waiting on NVIDIA to get back to me about how exactly they calculate their shape when using trtexec.
@buenomsg so like what @Devalinor mentioned in the code here: https://github.com/AUTOMATIC1111/stable-diffusion-webui-tensorrt/blob/5e5352c5497aeefc3a4b33a4acde557eac7a21c5/export_trt.py#L22 you can see how they calculate the different min's and max's.
As for how I discovered the limits I went through and tested out as many settings as I could with different batch sizes. So I set max batch size to 1 and then tested different combinations of max_width an max_height and kept a spread sheet of which ones worked and which ones did not. I noticed that there was a limit to the maxSize value which once you went over it would error out. I did this for batch sizes 1-11, but after 7 it became useless because you couldn't have both width and height at 512 or above anymore, one had to be I think it was 480 and 512 in order for batch size 8 to work... so batch size 8 was useless IMO... but at batch size 7 you could do exactly 512 x 512 which is ideal (given the limitations of course). I also calculated their shape total value which is how I came up with this table here:
batch_sizes = {
1: 92160,
2: 129024,
3: 159744,
4: 184320,
5: 184320,
6: 221184,
7: 229376,
8: 229376,
9: 276480,
10: 286720,
11: 281600
}
to calculate the shape total size I took the max_shape which you can figure out from using:
B = max_batch_size * 2
unknown = 4
H = max_height / 8
W = max_width / 8
maxShape=BxunknownxHxW (i.e. 4x4x64x64 which = 65536)
I kept the spread sheet and incrementally tried as many combinations as needed to find the max width and height combo that would generate the larges maxShape value and still convert to a trt model.
So it was a lot of manual work and a bit of mathematical work combined.
If NVIDIA could tell me how they do their shape calculates I could have figured it out without all the manual fiddling.

This issue might just be out of date, but I just generated an image with 190 in text prompt. So I suppose at some point this issue was solved? (I did generate the profile at 225 text setting.)


💡[Enhancement]: The logo and the UI of the front Page

Hii @RituKumari98
The logo and the UI of the front Page is not overall interactive
As a User, I wouldn't like the UI of it
If you assign me the task of developing the UI of the imgIN under Gssoc2024
I can provide you with a cool, Interactive and user-friendly UI for the imgIN
kindly Assign me this task under gssoc2024 and add label of gssoc and level

Hello .I am intrested in contributing for this task .Please assign me this under GSSOC'24


Internal: Prettier find ways too many files to format due to line ending issue on OSX

Describe the issue or request
When running npm run prettier in the typespec emitter package it reports an issue for every single ts file which seems to only be about line endings.
Describe your ideas for solutions
Configure prettier line endings or set git attributes to use LF for ts files

Consider updating https://github.com/Azure/autorest.csharp/blob/feature/v3/.gitattributes to make the line ending consistent with https://github.com/Azure/autorest.csharp/blob/feature/v3/src/TypeSpec.Extension/Emitter.Csharp/.prettierrc.json

Seeing it is forced to crlf for prettier it would be better to change prettier too as this is not very cross platform.


[WIP] Using CI to Test Changes Do Not Review

This PR was created to test changes before adding them to PR #969

finished testing on CI

closed


Parameter scalePoint values are not sorted in UI drop down

Example: I define a parameter is defined like this:
local filter_chan = Parameter {
  [RDFS.label] = 'Filter channel',
  [RDFS.comment] = 'Set MIDI channel to which this filter is applied.',
  [RDFS.range] = Atom.Int,
  [RDF.value] = -1,
  [LV2.minimum] = -1,
  [LV2.maximum] = 15,
  [LV2.scalePoint] = {
    ["All Channels"] = -1,
    ["Channel 1"] = 0,
    ["Channel 2"] = 1,
    [...]
    ["Channel 15"] = 14,
    ["Channel 16"] = 15,
  }
}

The UI will show a drop down with the correct values but they are out of order.

Thanks for reporting, can reproduce this.

fixed in 1da6ee65f5f7f07dba8ca27a7f1e03ba6410d36b

fixed in 1da6ee65f5f7f07dba8ca27a7f1e03ba6410d36b

ah, no, it is not fixed, yet

ah, no, it is not fixed, yet

fixed in 0553d9681d0b905750e2ad6009c4b457aad1f582

fixed in 0553d9681d0b905750e2ad6009c4b457aad1f582


test: add starknet-rpc-test for get_state_update

Blocked by #773, blocked by @lana-shanghai working on developing the state update logic

Is it ok if I pick this back up from my old PR at #1080 once #773 is done?

@kasteph where are you at with this one?

can I get this one assigned to me? @apoorvsadana

repository archived in favor of https://github.com/madara-alliance/madara


[Issue 2120] Extension - Recheck issue cannot connect extension because the embedded content.js file is blocked

🚀 Deployed on https://pr-2822--sw-web-runner.netlify.app


Conformers not copied correctly in renumberAtoms

Atomic coordinates are incorrectly copied to the renumbered molecule.
Seems there's a bug in line 80:
nConf->setAtomPos(i,(*oConf)->getAtomPos(revOrder[i]));
should be:
nConf->setAtomPos(i,(*oConf)->getAtomPos(newOrder[i]));
right?
Cheers,
Juuso

hmmm, I think the current behavior is ok:
In [2]: m = Chem.MolFromSmiles('CO')
In [3]: from rdkit.Chem import AllChem
In [4]: AllChem.Compute2DCoords(m)
Out[4]: 0
In [6]: nm = Chem.RenumberAtoms(m,(1,0))
In [7]: print Chem.MolToMolBlock(m)

     RDKit          2D

  2  1  0  0  0  0  0  0  0  0999 V2000
   -0.7500    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    0.7500   -0.0000    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
  1  2  1  0
M  END

In [8]: print Chem.MolToMolBlock(nm)

     RDKit          3D

  2  1  0  0  0  0  0  0  0  0999 V2000
    0.7500   -0.0000    0.0000 O   0  0  0  0  0  0  0  0  0  0  0  0
   -0.7500    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
  2  1  1  0
M  END

Have you seen something that makes you think it's doing something wrong?

I think your two-atom example is not sufficient to show to bug.
For example, my input molfile is:
MOLECULAR MODELLING SYSTEM R1.1
RDKit          3D
11 10  0  0  0  0  0  0  0  0999 V2000
1.2727   -0.2079   -0.0064 C   0  0  0  0  0  0  0  0  0  0  0  0
-0.0348    0.5326    0.2496 C   0  0  0  0  0  0  0  0  0  0  0  0
-1.2428   -0.3317   -0.0925 C   0  0  0  0  0  0  0  0  0  0  0  0
2.1326    0.4172    0.2539 H   0  0  0  0  0  0  0  0  0  0  0  0
1.3245   -1.1179    0.5988 H   0  0  0  0  0  0  0  0  0  0  0  0
1.3671   -0.4958   -1.0587 H   0  0  0  0  0  0  0  0  0  0  0  0
-0.0854    0.8302    1.3015 H   0  0  0  0  0  0  0  0  0  0  0  0
-0.0757    2.0363   -0.7156 Cl  0  0  0  0  0  0  0  0  0  0  0  0
-1.2460   -1.2445    0.5105 H   0  0  0  0  0  0  0  0  0  0  0  0
-2.1755    0.2050    0.1068 H   0  0  0  0  0  0  0  0  0  0  0  0
-1.2366   -0.6236   -1.1479 H   0  0  0  0  0  0  0  0  0  0  0  0
1  2  1  0
2  3  1  0
1  4  1  0
1  5  1  0
1  6  1  0
2  7  1  0
2  8  1  0
3  9  1  0
3 10  1  0
3 11  1  0
M  END
.....
Then I would like all heavy atoms to come before the hydrogens:
neworder = [0, 1, 2, 7, 3, 4, 5, 6, 8, 9, 10]
Chem.rdmolops.RenumberAtoms(molecule, neworder)
and I got:
RDKit          3D

11 10  0  0  0  0  0  0  0  0999 V2000
1.2727   -0.2079   -0.0064 C   0  0  0  0  0  0  0  0  0  0  0  0
-0.0348    0.5326    0.2496 C   0  0  0  0  0  0  0  0  0  0  0  0
-1.2428   -0.3317   -0.0925 C   0  0  0  0  0  0  0  0  0  0  0  0
1.3245   -1.1179    0.5988 Cl  0  0  0  0  0  0  0  0  0  0  0  0
1.3671   -0.4958   -1.0587 H   0  0  0  0  0  0  0  0  0  0  0  0
-0.0854    0.8302    1.3015 H   0  0  0  0  0  0  0  0  0  0  0  0
-0.0757    2.0363   -0.7156 H   0  0  0  0  0  0  0  0  0  0  0  0
2.1326    0.4172    0.2539 H   0  0  0  0  0  0  0  0  0  0  0  0
-1.2460   -1.2445    0.5105 H   0  0  0  0  0  0  0  0  0  0  0  0
-2.1755    0.2050    0.1068 H   0  0  0  0  0  0  0  0  0  0  0  0
-1.2366   -0.6236   -1.1479 H   0  0  0  0  0  0  0  0  0  0  0  0
1  2  1  0
2  3  1  0
1  5  1  0
1  6  1  0
1  7  1  0
2  8  1  0
2  4  1  0
3  9  1  0
3 10  1  0
3 11  1  0
M  END
See e.g. the coordinates of the chlorine which are now wrong.
I also built rdkit with the above change and it started to work correctly.


Devise authorize a User and unauthorizes it right after

Hello, I'm posting here after over 6 hours going circle
I use rails 4.1.1 with Devise 3.2.4 + mongoid@master.
I have a User signing in properly:
Started POST "/users/sign_in" for <IP_ADDRESS> at 2014-06-05 15:18:08 +0000
Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"zObTwp85xx+YFcSuY/d4fPcCHp7sDiYvNWlCFjf81gg="<EMAIL_ADDRESS>"password"=>"[FILTERED]"}, "commit"=>"Sign in"}

that gets properly redirected to the after_sign_in route:
Redirected to http://www.white.eu.com/dashboard
Completed 302 Found in 1220ms
Started GET "/dashboard" for <IP_ADDRESS> at 2014-06-05 15:18:09 +0000
Processing by DashboardController#index as HTML

which unauthorizes the User right after:
Completed 401 Unauthorized in 1ms

I've tried enabling / disabling each and every devise option. I have no access control gem (CanCan and such).
I did not override Devise#SessionsController. I removed protect_from_forgery from ApplicationController to be sure that csrf_token gets not in the way.
DashboardController is as simple as it gets:
class DashboardController < ApiController
  helper :all
  def index
  end
end
class ApiController < ApplicationController
    before_filter :authenticate_user!
end

The request is plain HTML out of Firefox.
The form is the one generated by devise generator to which I simply added the :authenticity_token => form_authenticity_tokenoption (even though protect_from_forgery is off).
The layout is a 4 liners:
<head>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
</head>
<%= yield %>

and my User model is
class User
  include Mongoid::Document

  devise :database_authenticatable, :registerable,
         :recoverable, :trackable, :validatable,
         :confirmable, :lockable, :timeoutable, :rememberable

## Database authenticatable
  field :email,              :type => String, :default => ''
  field :encrypted_password, :type => String, :default => ''
  ## Recoverable
  field :reset_password_token,   :type => String
  field :reset_password_sent_at, :type => Time
  ## Trackable
  field :sign_in_count,      :type => Integer, :default => 0
  field :current_sign_in_at, :type => Time
  field :last_sign_in_at,    :type => Time
  field :current_sign_in_ip, :type => String
  field :last_sign_in_ip,    :type => String
  ## Confirmable
  field :confirmation_token,   :type => String
  field :confirmed_at,         :type => Time
  field :confirmation_sent_at, :type => Time
  field :unconfirmed_email,    :type => String # Only if using reconfirmable
  ## Rememberable
  field :remember_created_at, type: Time
  ## Lockable
  field :failed_attempts, :type => Integer, :default => 0
  field :unlock_token,    :type => String # Only if unlock strategy is :email or :both
  field :locked_at,       :type => Time
  index({:email => 1}, {:unique => true})
  index({:reset_password_token => 1})
  end

sign_in_count gets properly incremented every time sign_in redirects.
I run out of options/ideas/strength.
Any help is much appreciated.

@muichkine : you saved me a whole bunch of time.

@muichkine , @josevalim
I am using rails 4.2.6 and devise 3.4.1 and all the remaining things are same, Still can't login after successfully sign in, like after sign in got the "Completed 401 Unauthorized in 1ms" when move to dashboard controller.
I have "Rails.application.config.session_store :active_record_store, key: 'key_name', domain: :all" setting into session_store.rb file.
What should I do with above file, can you please suggest me something on this.
Thanks in advance !!

@NiteshKaradwall
Any updates on that? I'm facing the same problem and can't get rid of that

Thank you so much @muichkine  You saved my Time!
I have exact same issue, and I am using
Rails <IP_ADDRESS> & Devise 3.5.10   With MongoDB, MongoId 5.0.2
Always After login I am getting
`ActionController::InvalidAuthenticityToken in SessionsController#create

ActionController::InvalidAuthenticityToken`
and I have
before_filter :authenticate_user!
this code in my dashboard_controller.rb
And session_store.rb has
Rails.application.config.session_store :cookie_store, key: '_my_appname', secure: true
I changed that into
Rails.application.config.session_store :cookie_store, key: '_my_appname'
and it works! Great!

I seem to have the exact same problem, however secure: false does not seem to solve it. Any ideas?

Same problem here, so I just succesfully signed in, and after I tried to get my protected endpoint, it returned "Completed 401 Unauthorized", and redirected me to login screen again, so on.

Okay, I think I found out what was going on in my case. It was actually a user behaviour causing this: https://stackoverflow.com/questions/51917046/devise-some-users-on-ios-keeps-getting-signed-out-when-they-leave-the-browser/55277413#55277413


Initing a new project with a numeric name throws

Description
I tried creating a project named "102030" but the cli throwed since it tried to run match on a Number (I guess)
Reproduction
react-native init 102030
Solution
Added a leading letter: react-native init a102030
Additional Information

React Native version<EMAIL_ADDRESS>Operating System: MacOS

Stacktrace:
~/dev react-native init 102030                                                                                23:52:32
/usr/local/lib/node_modules/react-native-cli/index.js:168
  if (!name.match(/^[$A-Z_][0-9A-Z_$]*$/i)) {
            ^

TypeError: name.match is not a function
    at validateProjectName (/usr/local/lib/node_modules/react-native-cli/index.js:168:13)
    at init (/usr/local/lib/node_modules/react-native-cli/index.js:195:3)
    at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:153:7)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:418:7)

I guess a solution is String(name).match

we also could do regex.test(name). either seems good to me. want to send a PR?

Gladly 👍

Closing this since the PR was merged.


Unable to read error message due to background color of fonts

Description

It is d to difficult read the error messages due to the yellow background color of fonts in some themes.
Jupyterlab light theme

It is okay to read the error messages but when it comes to darcula theme, it becomes very difficult.
Darcula theme

Reproduce

Code print(abcde)
You can see the yellow background color behind abcde in the error message (the variable abcde is not defined so an error message would appear)

Expected behavior

How can I change the background color of some fonts in error message?

Context

Operating System and version: Windows 11
JupyterLab-Desktop version: 3.2.9-1
Installer:

Troubleshoot Output

Paste the output from running `jupyter troubleshoot` from the terminal inside of JupyterLab-Desktop here.
You may want to sanitize the paths in the output.

Browser Output (required for interface issues after loading)

Paste the output from the DevTools JavaScript console here, if applicable.

Logs (required for issues with loading, server and startup)

Paste the logs from the `main.log` file here (optionally also from `renderer.log`).

I believe that this should be reported in the darcula theme repository instead. Which of the jupyter darcula themes do you use? https://github.com/dracula/jupyterlab or https://github.com/telamonian/theme-darcula?

@krassowski Thank you for your reply. I am using @telamonian 's theme-darcula. Currently in the issue page of the repository, there is no issue regarding the color background of fonts in the error message. Should I raise the issue in that repository instead of here?

Should I raise the issue in that repository instead of here?

Yes, please.

@krassowski but don't we have ways to change the background color, using the jupyterlab-desktop's setting? Let's say I am using the juplyterlab-desktop's default theme, which is jupyterlab-light, and I want to change the background color from yellow to pink. How can I do that?

@hellojinwoo Changing the background color would require an extension in JupyterLab. If you would like to see this option added to JupyterLab itself, please open a feature request in JupyterLab.

@jweill-aws I wasn't talking about changing the background color. I was talking about color, highlighting the error code.

@hellojinwoo Sorry about the confusion. It is best to open a feature request in JupyterLab concerning the desired change in foreground color.


Shell script missing dependency

chsh command is dependent on missing util-linux-user

I think this was a red herring. Any GNu/Linux OS should have this by default


feat: dataset editor improvement

SUMMARY

move add item button to top
increase the size of SQL Expression
add placeholder text
change x to delete icon

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After:

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #10444 into master will decrease coverage by 11.19%.
The diff coverage is 72.83%.

@@             Coverage Diff             @@
##           master   #10444       +/-   ##
===========================================
- Coverage   70.25%   59.05%   -11.20%
===========================================
  Files         605      409      -196
  Lines       32377    13316    -19061
  Branches     3271     3273        +2
===========================================
- Hits        22745     7864    -14881
+ Misses       9522     5263     -4259
- Partials      110      189       +79

Flag
Coverage Δ

#cypress
?

#javascript
59.05% <72.83%> (-0.02%)
:arrow_down:

#python
?

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

Impacted Files
Coverage Δ

...erset-frontend/src/datasource/DatasourceEditor.jsx
61.25% <ø> (-8.13%)
:arrow_down:

...nd/src/explore/components/controls/TextControl.tsx
17.85% <33.33%> (ø)

superset-frontend/src/components/EditableTitle.tsx
74.28% <74.28%> (ø)

superset-frontend/src/CRUD/CollectionTable.jsx
63.46% <75.00%> (-22.68%)
:arrow_down:

superset-frontend/src/SqlLab/App.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/explore/App.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/dashboard/App.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/explore/index.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/dashboard/index.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

superset-frontend/src/setup/setupColors.js
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 343 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 6f56cd5...45f8a73. Read the comment docs.


fix: 3844 - same "picture not found" widget for OCR and gallery

Impacted file:

edit_ingredients_page.dart: same "picture not found" widget as in gallery

What

The "picture not found" widget used in OCR was not explicit, and it was not the same as in gallery.
Now it's the same.
Is that more explicit? That's another story.
Does that fit on my screen? That's also another story, to be dealt with anyway in #3771

Screenshot

before
after

In gallery (no change):

Fixes bug(s)

Fixes: #3844

Codecov Report

Merging #3846 (2c3ffcc) into develop (d2191ee) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop    #3846   +/-   ##
========================================
  Coverage    10.74%   10.74%
========================================
  Files          272      272
  Lines        13455    13455
========================================
  Hits          1446     1446
  Misses       12009    12009

Impacted Files
Coverage Δ

...h_app/lib/pages/product/edit_ingredients_page.dart
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thank you @M123-dev for your review!
To be honest I don't like the OCR screens, especially on a small screen.
Well, at least now there's more coherence.


Edit window in iFrame and allow HTML, HEAD, STYLE and BODY tags

Hi Jelte,
I have 2 questions:
-Is it possible to configure the edit part of CKeditor as an Iframe, instead of a DIV? This to prevent application styling applying into the editting (HTML) field in CKeditor.
-Is it possible to allow HTML tags in the editor source code mode (HTML, Head, Style, Body)?
I read some documentation of CKeditor and both seem to be possible. However, I cannot get it to function in the mendix widget. Maybe you can help me on my way or in the future this can be made a setting in the modeler for this widget?

@RenePhilipse I have checked your feature request:

I think it should be possible to use an iframe instead of a div, as I have read somewhere. Not sure when I can implement this (huge workload at the moment). I'll see if I can come up with a possible workable version early next week
Not sure whether or not these HTML tags will work. I have already whitelisted a few tags, so it should be possible to add these, but I am not sure whether or not that's going to work (even with said iframe)

Hi @JelteMX , Thanks for your reply.
I already did some digging in the ckeditor documentation. As far as I understand, default behavior of the editor is in Iframe, so there is probably something that is overriding that. It looks like this plugin should be used: http://ckeditor.com/addon/wysiwygarea. The best would be if you can set this in the modeler, so you can choose per page which solution to use.
For editing complete HTML pages I also found some documentation. You can find it here: http://docs.ckeditor.com/#!/guide/dev_fullpage. I think it also should be the best if this can be set (on/off) from within the modeler.
I already tried to hack the above in the current java files, but my knowledge of java is very limited so I did not succeed unfortunately. Hopefully these documentation links can help you.

Any update on this? @JelteMX
I'm having the same issue. the problem seems to be the 'divarea' plugin, if I disable this in the widet's js file, ,the CKEditor seems to be rendering an iframe, although I haven't been able to get it working without it...


feat: Rework fig autocomplete command

Signed-off-by: Engin Diri<EMAIL_ADDRESS>
Summary

This PR creates the first part of the steps described here #2186
Adding @developer-guy, as he created the first iteration of the fig integration.
Release Note

NONE
Documentation

NONE

Codecov Report

Merging #2187 (de29d51) into main (8f29f03) will increase coverage by 0.65%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2187      +/-   ##
==========================================
+ Coverage   26.03%   26.69%   +0.65%
==========================================
  Files         131      131
  Lines        7689     7690       +1
==========================================
+ Hits         2002     2053      +51
+ Misses       5445     5376      -69
- Partials      242      261      +19

Impacted Files
Coverage Δ

cmd/cosign/cli/commands.go
0.00% <0.00%> (ø)

pkg/blob/load.go
74.28% <0.00%> (+5.71%)
:arrow_up:

pkg/oci/layout/index.go
28.57% <0.00%> (+28.57%)
:arrow_up:

pkg/oci/layout/write.go
37.50% <0.00%> (+37.50%)
:arrow_up:

pkg/oci/layout/signatures.go
53.84% <0.00%> (+53.84%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Implement CoxPH assumption test

Proportional hazards tests and diagnostics based on weighted residuals

Plus one for this.
https://www.stat.ubc.ca/~rollin/teach/643w04/lec/node69.html is a decent resource. Not been able to find the stphtest anywhere, does anyone know the equation?


Remove highlights (bolding) for random companies

Hmmm. I wanted to call out that Nextspace is US only, but I think the list isn't comprehensive enough for that to be meaningful. Makes sense. I'll remove the bolding :)


API Test Reports are incorrectly formatted for some endpoints

When running API tests against certain endpoints, the "Actual Result" column of the HTML reports does not line up with the rest of the table.
Here's an example of one such endpoint along with a code snippet and screenshots of the reports.
https://api.github.com/users/johndoe
@BeforeClass(alwaysRun = true)
   public void beforeClass(ITestContext test) {
     setTestSite(this, test, "https://api.github.com/users/johndoe");
     setAuthor(this, test, "Hammid Funsho\n<br/>hammidfunsho@gmail.com");
     setVersion(this, test, "0.0.1");
   }
  @Test(groups = { "services" }, description = "A sample services test to verify the response code")
   public void sampleServicesCityTest() {
       Call call = this.calls.get();
       Response response = call.get("");
       response.assertEquals(200);
       response.assertContains("johndoe");
       finish();
   }

Note: This appears to only affect certain endpoint

Hammid, I don't understand what you're seeing as an issue. Can you attach the html report? Or the test case? The image you send seems just fine to me

@hfunsh I'm still not following exactly what the issue is. Is this just a usability issue, with a desire to have the json formatted prettily?

@hfunsh any more updates on this? Otherwise I'm going to close this issue

No updates, feel free to close.
On Mon, Aug 12, 2019 at 2:45 PM Max Saperstone<EMAIL_ADDRESS>wrote:

@hfunsh https://github.com/hfunsh any more updates on this? Otherwise
I'm going to close this issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Coveros/selenified/issues/108?email_source=notifications&email_token=ABINRKLD2TLSGAXUNOWIDVDQEGVVRA5CNFSM4FZOLH32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DO2XQ#issuecomment-520547678,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABINRKMZNQ7EQUYINMMGXZLQEGVVRANCNFSM4FZOLH3Q
.

Closing issue


Add verbose mode option

Replace -v option to verbose mode.
Will resolve #2

Thanks for the contribution! The code and test looks perfect!
This PR depends on lodash but I prefer more small shim of padEnd (maybe this one?

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines          82     99   +17
=====================================
+ Hits           82     99   +17

Impacted Files
Coverage Δ

bin/status-back.js
100% <ø> (ø)
:arrow_up:

cli.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

released as 1.1.0.


Having a error when executing the program :/

Hey! I have a little issue when I execute the "sudo python3 wifi_brute_crack.py" command, here is the error :
File "/home/samidev/WifiBruteCrack/wifi_brute_crack.py", line 88
print 'Network Name: %s\n Network SSID: %s\n Network Password: %s\n' % (net_names_array[i],net_data[i],alllow_pass)
^
SyntaxError: invalid syntax
(Please note that I have install python3.9 and i'm not on an VM, I use kali linux with the microsoft store application on windows 10)

Hey, have you managed to solve the error yet? :-)

Replace the lines from 86-89 with this code if output:     # If the connection is successful     print('Network Name: %s\n Network SSID: %s\n Network Password: %s\n' % (net_names_array[i], net_data[i], alllow_pass))     sys.exit()

line 90                                              network_data = get_network_list()                 IndentationError: expected an indented block after 'if' statement on line 86


Add a way to get a custom request object for unit of work

FastAPI dependency are supposed to replace that.


14 defence instruction defence

Description
Instruction defence from https://learnprompting.org/docs/prompt_hacking/defensive_measures/instruction
Screenshots

Notes

Bullet point list with
any notable code changes
or explanations regarding this PR

Concerns

Bullet point list
with any questions
or concerns about this PR

Checklist
Have you done the following?

[x] Linked the relevant Issue
[x] Added tests
[x] Ensured the workflow steps are passing

Code all looks good, and the defence seems to work correctly on testing, apart from a seperate bug (which is in dev as well) which I've made a ticket for: #762

that bug will be fixed with https://github.com/ScottLogic/prompt-injection/pull/753


SQLAlchemy Minimum Version Requirement at least 1.4.29

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import Optional
from sqlmodel import Field, SQLModel, Session, create_engine

class Hero(SQLModel, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    name: str
    secret_name: str
    age: Optional[int] = None

    hero_1 = Hero(id=1, name="Pink Panther", secret_name="Jacques Clouseau", age=59)

    engine = create_engine("sqlite:///database.db", echo=True)

    SQLModel.metadata.create_all(engine)

    with Session(engine) as session:
        session.add(hero_1)
        session.commit()
        session.get(Hero, 1)

Description
In version 0.0.7 the new Session.get() parameter execution_options was added, however this parameter is not available in SQLAlchemy version <1.4.29 (see here). I think the minimum SQLAlchemy version requirement needs to be increased from 1.4.17 to at least 1.4.29.
For my example code above I was using:

sqlmodel==0.0.8
SQLAlchemy==1.4.27

The following error was returned:

INFO - Traceback (most recent call last):
INFO -   File "/tmp/venvn6sl_gkl/script.py", line 44, in
INFO -     res = test_sqlmodel(*arg_dict["args"], **arg_dict["kwargs"])
INFO -   File "/tmp/venvn6sl_gkl/script.py", line 42, in test_sqlmodel
INFO -     session.get(Hero, 1)
INFO -   File "/tmp/venvn6sl_gkl/lib/python3.8/site-packages/sqlmodel/orm/session.py", line 133, in get
INFO -     return super().get(
INFO - TypeError: get() got an unexpected keyword argument 'execution_options'

Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.8
Additional Context
No response

Thanks! This was handled in https://github.com/tiangolo/sqlmodel/pull/439, it will be available in the next version, 0.0.9. 🎉


Now the time has come to support multiple platforms?

The official documentation describes the lifecycle (*) library as having multi-platform support, so would it normally be possible to use this library directly on multiple platforms?
按照官方的文档描述 lifecycle (*) 库已经支持多平台，正常来说这个库是否就可以直接在多平台上使用？
https://developer.android.com/kotlin/multiplatform

Other platforms have their own libraries. If you want to make a KMP library that calls this as an expect fun, you're welcome to.


Add 5.2.5 version history

Now the release is live this adds the version history from the code repo manually as there is no autogen build for this branch.
Staged at https://www.openmicroscopy.org/site/support/omero5.2-staging/
N.B will not need to be rebased to develop as we can use the autogen build on that branch to port the content from https://github.com/openmicroscopy/openmicroscopy/pull/4771

Staging updated now

Now live


django-allauth-ui updates: Can't find any code that extends base.html in login.html

I noticed that the django-allauth-ui has a new update that now requires slippers. But the issue is that I can't find code that extends "base.html" in the "login.html" file which is then used to tweak the ui further. Any updates on this?

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Yeah

Download https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file password: changeme In the installer menu, select "gcc."

Yeah, no. So nott installing that

also the error completely exposes your env file... definitely not using this project

The allauth-ui updated, the file you are looking for is now in: templates/allauth/layouts/base.html
https://github.com/danihodovic/django-allauth-ui/tree/master/allauth_ui/templates/allauth/layouts
When you copy it into your project you'll want to match the directory structure of allauth so in your django project it will be in: templates/allauth/layouts/base.html

also the error completely exposes your env file... definitely not using this project

Turn off debug mode mate.

@Coolspotcreative thanks for sharing. I'll close this issue at some later date.

The allauth-ui updated, the file you are looking for is now in: templates/allauth/layouts/base.html
https://github.com/danihodovic/django-allauth-ui/tree/master/allauth_ui/templates/allauth/layouts
When you copy it into your project you'll want to match the directory structure of allauth so in your django project it will be in: templates/allauth/layouts/base.html

Muchas Gracias ❤

also the error completely exposes your env file... definitely not using this project

@myersben9 turn off debug mode mate.

@codingforentrepreneurs  why not include that in your readme. not everyone knows django.

also the error completely exposes your env file... definitely not using this project

@myersben9 turn off debug mode mate.

@codingforentrepreneurs why not include that in your readme. not everyone knows django.

Debug mode exposes critical server info to, well, debug the application in dev mode. Most of the time, it's turned off by default when moving into production so you'd usually not worry about it all. However, if you didn't know that about Debug mode, I'd wager you're probably not much affected by your env file leaking out. No offence but read the fricking docs for once. Django Docs

also the error completely exposes your env file... definitely not using this project

@myersben9 turn off debug mode mate.

@codingforentrepreneurs why not include that in your readme. not everyone knows django.

@myersben9 Debug mode exposes critical server info to, well, debug the application in dev mode. Most of the time, it's turned off by default when moving into production so you'd usually not worry about it all. However, if you didn't know that about Debug mode, I'd wager you're probably not much affected by your env file leaking out. No offence but read the fricking docs for once. Django Docs

Came to this project for something that worked and it didn't. I don't use django and after looking over their docs I hope I won't have to.


show timer icon

showIcon added to mdcDatetimePicker directive, time icon added inside of textbox and open modal at click on icon

Please resolve merge conflicts.


Run automated test for serverless app in BrowserStack from CI/CD pipeline

Similar to 1559 for the serverless app

Done. See PR
https://github.com/bcgov/startup-sample-project-aws-serverless/pull/14
Added GitHub action browserStackTest.yml unfortunately it does not work, because the BrowserStacl servers are located outside Canada while the sample serverless app is publised by the CloudFront AWS service located in Canada. The app is geofenced, so when we try to access it from BroserStack I get the following error message

To make it work the app should not be geofenced.
Note: The tests work as expected when executing it locally if your machine is located in Canada.


[E2E] Add dapr_test.mk to dapr/tests/

Description
This is to add makefile targets for e2e tests:

build-e2e-app-all : build all test apps
push-e2e-app-all : push all test apps
test-e2e-all : test all e2e tests dapr/tests/e2e

Issue reference
#732
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation
[ ] Specification has been updated
[ ] Provided sample for the feature

build is failing

build is failing

yeah I'm fixing it now.


[feature] implement pub outdated command

implement pub outdated command

I would implement if #2 is finished

I misunderstood


Harmonize Rebuild RPCs

This PR harmonizes the RebuildSubmission and RebuildSubmissions rpc functions into one, RebuildSubmissions.
Due to the function now returning Void, it has become harder to dynamically update the frontend upon successful rebuild.
Implementation of submission streaming can solve this for the redesigned frontend.
In the old frontend the user has to click the rebuilt submission again after a successful rebuild to view the updated submission..
Alternatively, the ability to fetch a single submission would be sufficient. Fetching a single submission could be added to the GetSubmissions function, in a manner not unlike the harmonization of RebuildSubmissions.

Updated old frontend to support harmonized rebuild rpc
Updated redesigned frontend to support harmonized rebuild rpc
Removed RebuildSubmission and modified rebuild message to use oneof
Added helper method and updated validation method
Combined RebuildSubmissions & RebuildSubmission
Updated rebuild tests

Seems to not compile @JosteinLindhom

Seems like I did not push recompiled proto files. 😬

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

28 of 62 (45.16%)  changed or added relevant lines in 6 files are covered.
85 unchanged lines in 7 files lost coverage.
Overall coverage increased (+0.1%) to 24.968%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ag/validation.go
0
2
0.0%

ag/ag_grpc.pb.go
0
4
0.0%

ag/rebuild.go
0
6
0.0%

web/autograder_service.go
21
27
77.78%

ag/ag.pb.go
5
21
23.81%

Files with Coverage Reduction
New Missed Lines
%

ag/validation.go
1
0%

scm/scm.go
2
0%

scm/fake.go
4
0%

scm/gitlab.go
7
0%

scm/helper.go
12
0%

web/courses.go
25
42.49%

scm/github.go
34
0%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
2372

Relevant Lines:
9500

💛  - Coveralls

Codecov Report

Merging #620 (9c6b217) into master (cd4694b) will increase coverage by 0.18%.
The diff coverage is 46.51%.

@@            Coverage Diff             @@
##           master     #620      +/-   ##
==========================================
+ Coverage   23.44%   23.62%   +0.18%
==========================================
  Files          53       54       +1
  Lines        7600     7559      -41
==========================================
+ Hits         1782     1786       +4
+ Misses       5529     5484      -45
  Partials      289      289

Flag
Coverage Δ

unittests
23.62% <46.51%> (+0.18%)
:arrow_up:

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

Impacted Files
Coverage Δ

ag/ag.pb.go
3.41% <ø> (+0.16%)
:arrow_up:

ag/ag_grpc.pb.go
0.00% <0.00%> (ø)

ag/rebuild.go
0.00% <0.00%> (ø)

ag/validation.go
0.00% <0.00%> (ø)

web/autograder_service.go
32.54% <58.06%> (+0.12%)
:arrow_up:

web/rebuild.go
67.14% <100.00%> (ø)

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 cd4694b...9c6b217. Read the comment docs.


No qualifying bean of type ReactorLoadBalancerExchangeFilterFunction

Even though, spring-webflux-5.2.3.RELEASE and spring-cloud-starter-loadbalancer-2.2.1.RELEASE are on the classpath, SpringBoot failes to load the context with exception:
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.cloud.client.loadbalancer.reactive.ReactorLoadBalancerExchangeFilterFunction' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1695)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1253)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1207)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
	... 136 more

This is unlike what https://github.com/spring-cloud/spring-cloud-commons/blob/master/docs/src/main/asciidoc/spring-cloud-commons.adoc#webflux-with-reactive-loadbalancer states: "If you add Spring Cloud LoadBalancer starter to your project and if spring-webflux is on the classpath, ReactorLoadBalancerExchangeFilterFunction is auto-configured.". I just followed the example there...

Please share your dependencies

Among others, these are:
	dependencies {
		implementation("org.springframework.boot:spring-boot-starter-webflux:2.2.4.RELEASE")
		implementation("org.springframework.cloud:spring-cloud-starter-loadbalancer:2.2.1.RELEASE")
...
	}

Not sure that helps me much? Any reason you are not using the bom to manage versions? Can you provide the auto configuration report with --debug=true?

sprinttest.zip
Pls see attached a minimal example, which gives me similar error. This one is managed by bom.

You are looking at the master docs where conditions have changed, but your app is using Hoxton, which is commons 2.2.x
https://github.com/spring-cloud/spring-cloud-commons/blob/2.2.x/docs/src/main/asciidoc/spring-cloud-commons.adoc#webflux-with-reactive-loadbalancer
You need to add spring.cloud.loadbalancer.ribbon.enabled=false.


Compile ktlint with backwards compatibility to kotlin 1.3

This is needed to run any ktlint code within gradle since it bundles kotlin 1.3.72 at the moment.
It should not have negative consequences since the compiled code will be forward compatible with kotlin 1.4.
First off, thank you for your heroic efforts @shashachu and @Tapchicoma getting the 0.38.0 updates out to the community.
I ended up still running into a wrinkle using this in kotlinter-gradle since we execute ktlint code inside the gradle runtime.
See discussion here: https://github.com/jeremymailen/kotlinter-gradle/issues/144#issuecomment-678582319
At the moment, gradle still bundles kotlin 1.3.72 and there doesn't seem to be a way to push that forward and it probably wouldn't be safe given gradle dsl kotlin.
So, in that context we'll need ktlint compiled for 1.3 compatibility. As far as I know this shouldn't cause any issues unless the ktlint project was planning to use some language features or optimizations only available in 1.4 without a backwards compatible form (are there any?).
Thanks again.

@shashachu Are you planning a 0.38.1 release with this change any time soon? 🙂

@henrik242 working on it right now :)

0.38.1 released. Thanks everyone for your patience, and thanks @jeremymailen for the detective work. :)

@jeremymailen do you know if we can remove this change now? We're now getting build warnings saying apiVersion 1.3 is deprecated. I presume gradle has updated its kotlin version?

@shashachu unfortunately not yet. Only starting with 6.8 version Gradle has bundled Kotlin 1.4 and 6.8 is still pretty fresh release.

@jeremymailen do you know if we can remove this change now? We're now getting build warnings saying apiVersion 1.3 is deprecated. I presume gradle has updated its kotlin version?

Yes, at least for kotlinter-gradle we can move to 1.4. We ourselves use that api version and require gradle 6.8.3 and up for newer versions.


Add exceptions

We should add some exceptions for interests that are not wikipedia titles.

Duplicate of #50.


Evaluation test data

Hi Jingxuan,
I am currently working on evaluating your benchmark dataset using our models. While reviewing the description in the repository, I noticed that it states:
"This repository hosts the full dataset and the evaluation dataset."
However, the link to the evaluation dataset (https://github.com/sarahmart/HARDMath/blob/main/evaluation/data/eval_HARDMath.json) appears to be broken. Additionally, when I checked the dataset via this link, it contained 1060 entries, which seems to be inconsistent with the description in the paper.
Could you kindly provide the training and test data referenced in the paper? I would greatly appreciate it. Thank you!

Hello, apologies for the delayed response! We didn't see this request earlier but appreciate your interest.
Our evaluation data can be accessed here — it is the same data that’s already listed on the GitHub under ‘evaluation’. Also, the data referenced in the paper has 1060 entries and is detailed in section 3 (labeled “Datasets”) of the paper. The other figure in the introduction corresponded to a prior version of the dataset; we have since updated that point in the manuscript. Thank you for bringing that to our attention.
Please let us know if you have any further questions!

Thanks so much for your reply and it is super useful

You're welcome! Thank you for your interest, and glad we could help!

 Thank you for your interest, and glad we could help!


Resize resource figure with the resize of side panel.

Not a big deal but I sometimes would like to larger figure but resizing side panel does not resize the figure. This is doable because plotly.js certainly supports such a feature.

Move to sos-notebook


Fix unexpected indentation when autoformatting in VS

Issue - #1394
@NTaylorMullen @rynowak @anurse
We were incorrectly outputting the whitespace and newline at the end of a single line directive as markup which caused VS to indent everything below the directive. We should instead output it as MetaCode.

I'll merge this once @rynowak looks at this.

👏  :shipit:


Show window picker for screenshot feature

From @rperez030: "The troubleshoot command is helpful, but I wish the option to obtain a screenshot was available outside that use case. For example, if I’m coding a web app, I’d like to be able to obtain a screenshot containing the running app to get feedback on the visual layout, or to ask Copilot for the CSS code to change a specific aspect of it depending on the answer."

cc @tyriar, @justschen

Is there a way to have the screenshot open the native screenshot tool/clipboard? ie, the cmd+shift+4 on mac?

Not AFAIK


Add logging docs (related to LOG_message function)

@JohnathanBurchill, feel free to pull this branch and edit this docs file directly if there's anything you'd change, alter the verbosity of, etc., if you'd like. Comments are good too!
I'm going to send the link to it in the Discord after merging to serve as the need-to-know introductory point to the new logging system.

@JohnathanBurchill, feel free to pull this branch and edit this docs file directly if there's anything you'd change, alter the verbosity of, etc., if you'd like. Comments are good too!
I'm going to send the link to it in the Discord to the software team after merging to serve as the need-to-know introductory point to the new logging system.

I've made some minor edits. Revise as desired!

Awesome changes, thanks!
What was your rationale with this comment?

Extra debugging information can be logged using LOG_SEVERITY_DEBUG. Such
LOG_message(...) statements must be removed from the final version of the
firmware.

My plan was to leave all the debug LOG_message calls in, and just have that log level disabled by default (on boot). May still be helpful to enable it temporarily for certain things/subsystems, if systems aren't working as expected. My understanding is that this is a standard practice in software projects.

Awesome changes, thanks!
What was your rationale with this comment?

Extra debugging information can be logged using LOG_SEVERITY_DEBUG. Such
LOG_message(...) statements must be removed from the final version of the
firmware.

My plan was to leave all the debug LOG_message calls in, and just have that log level disabled by default (on boot). May still be helpful to enable it temporarily for certain things/subsystems, if systems aren't working as expected. My understanding is that this is a standard practice in software projects.

Ah - sounds good. Please edit to remove the "must be removed statement". Would be good to mention the use cases for debugging logging though.


GUI texture files unfindable?

I'm making a texture pack and was wanting to adjust the GUI textures for the drawers but can't find the GUI textures in any of the files. Are they procedurally generated via the code or where are the files located?

All the textures are located in the library Titanium, if you change the assets there it will be changed in all of the mods that uses it (Industrial Foregoing, Functional Storage, Sushi Go Crafting, ...) as they are generated in runtime with the assets there.


Victor VosMottor: Watch (notalupe)+

Victor VosMottor requests the watch of the watch_keyword (notalupe)+. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(notalupe)+ has been seen in 1 true positive, 0 false positives, and 0 NAAs.


YetiClient Error Msgs: "aws-cpp-sdk-core" Failed to load

After installing YetiTech awsclient plugin those messages appears in launching the project, Play Level and in package the project.. :
1st message : "Failed to load aws-cpp-sdk-core. Plugin will not be functional"
2nd message: "Failed to load aws-cpp-sdk-gamelift."
3rd Message: "Failed to load aws-cpp-sdk-cognito-identity. plugin will not be functional."
I ignored them and continued with the rest of the tutorial. Eventually these cause Packaging to Fail, with following errors:
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: Fatal error!
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: Unhandled Exception: 0xc06d007e
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffd157ea839 KERNELBASE.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffc8bb77fbe UE4Editor-AWSCore.dll!__delayLoadHelper2() [d:\agent_work\2\s\src\vctools\delayimp\delayhlp.cpp:323]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffc8bb758b1 UE4Editor-AWSCore.dll!_tailMerge_aws_cpp_sdk_core_dll() []
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffc8bb73cbf UE4Editor-AWSCore.dll!FAWSCoreModule::ShutdownModule() [d:\projects\nectar\plugins\gameliftclientsdk\source\awscore\private\awscoremodule.cpp:40]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffcb4be61e7 UE4Editor-Core.dll!FModuleManager::UnloadModulesAtShutdown() [d:\unrealengine-release\engine\source\runtime\core\private\modules\modulemanager.cpp:730]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff70beb4be0 UE4Editor-Cmd.exe!FEngineLoop::Exit() [d:\unrealengine-release\engine\source\runtime\launch\private\launchengineloop.cpp:3483]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff70beb5581 UE4Editor-Cmd.exe!GuardedMain() [d:\unrealengine-release\engine\source\runtime\launch\private\launch.cpp:179]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff70beb55ca UE4Editor-Cmd.exe!GuardedMainWrapper() [d:\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff70bec316c UE4Editor-Cmd.exe!WinMain() [d:\unrealengine-release\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff70bec4cb6 UE4Editor-Cmd.exe!__scrt_common_main_seh() [d:\agent_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffd168b7bd4 KERNEL32.DLL!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffd17d8ce71 ntdll.dll!UnknownFunction []
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: end: stack for UAT
UATHelper: Packaging (Windows (64-bit)): Took<PHONE_NUMBER>s to run UE4Editor-Cmd.exe, ExitCode=-1073741819
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
Am I making some mistake?
I also read the part where you mentioned that the dll have been recently modified and you will be working on the same. Just thought you might want to know this as well.

For now, please use the older version of the SDK that can be found here, https://github.com/YetiTech-Studios/UE4GameLiftClientSDK/tree/688cc418cc3b7fe8e0eaae5aefbb3758ddc89120, until I can fix this issue.

Any idea on if I want to make Android Build from this?

Got the PC build to work. Much Thanks.


CLI/JSON Sealights Data reported issue fixed, test events can be send with external Id

Fixed an issue where Sealights data wasn't reported when the runset was executed via CLI/JSON.

added an option to send test events with externalId parameter.

Thank you for your contribution.
Before submitting this PR, please make sure:

[x] PR description and commit message should describe the changes done in this PR
[x] Verify the PR is point to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
[x] Latest Code from master or specific release branch is merged to your branch
[x] No unwanted\commented\junk code is included
[x] No new warning upon build solution
[x] Existing unit test cases are passed
[ ] New Unit tests are added for your development
[x] Sanity Tests are successfully executed for Existing Functionality
[ ] After creating pull request there should not be any conflicts
[x] Resolve codacy comments
[x] Builds and checks are passed before PR is sent for review
[x] Resolve code review comments

I've also changed the variables names for SealightsLabId & SealightsBuildSeesionId because they had a typo in them
they were previously called Sealighsxxx instead of Sealights
updated all relevant references for these variables.

closing this PR as I merged the changes into Sealights Feature branch and creating a PR with the full feature.


[GLUTEN-4073][VL] Warn users about disabling of tests and storage adapters when ENABLE_BENCHMARK=ON

What changes were proposed in this pull request?
Disables Tests and Connectors when ENABLE_BENCHMARK=ON and clearly echoes the message to the user.
Fixes: #4073
How was this patch tested?
Manual testing

@FelixYBW @zhouyuan Please review. Thanks!

Looking back into this, I think this might be redundant. Since the filesystem is registered during HiveConnector::initialize(), the error seems to be coming because the BUILD_BENCHMARKS=ON was set during the build of velox, which disabled VELOX_ENABLE_GCS. Might need a fix in the build script

I had ENABLE_BENCHMARK=ON, this makes Velox disable tests and connectors. I have now echoed a clear message to the user if ENABLE_BENCHMARK=ON

Fixed Tests

Failure seems transient -
503 Service Unavailable ProxyInfo{host='child-prc.intel.com', userName='null', port=913, type='https', nonProxyHosts='null'}
and another one is unable to download lzo
error: Failed to download from mirror set
error: http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz: curl failed to download with exit code 22
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
curl: (22) The requested URL returned error: 503 Service Unavailable

@surnaik thanks for the help, the change looks good to me, do you happen to know why Velox needs to disable tests and connectors if benchmark is enabled?
https://github.com/facebookincubator/velox/blob/aaaa0791008267d8be0a5c141db6da261aba8892/CMakeLists.txt#L160
thanks, -yuan

This was done to speed up compilation according the PR - https://github.com/facebookincubator/velox/commit/bcccc2a52e562716ba25d0c506aaf8217f101e6e

@zhouyuan Seems like faster compile time is the only reason for disabling testing and connectors.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4074_time.csv
log/native_master_12_19_2023_521cad261_time.csv
difference
percentage

q1
33.88
32.55
-1.325
96.09%

q2
25.25
25.18
-0.072
99.71%

q3
36.64
37.70
1.059
102.89%

q4
39.81
39.88
0.071
100.18%

q5
72.52
71.42
-1.106
98.47%

q6
5.33
5.41
0.081
101.51%

q7
85.29
87.04
1.748
102.05%

q8
87.54
86.34
-1.203
98.63%

q9
124.31
122.28
-2.034
98.36%

q10
44.12
44.36
0.235
100.53%

q11
20.31
20.12
-0.189
99.07%

q12
28.58
26.74
-1.835
93.58%

q13
46.65
46.35
-0.292
99.37%

q14
15.34
17.44
2.106
113.73%

q15
29.41
29.09
-0.321
98.91%

q16
15.51
15.70
0.189
101.22%

q17
103.10
102.87
-0.230
99.78%

q18
151.26
149.94
-1.316
99.13%

q19
12.74
12.78
0.041
100.32%

q20
27.81
28.17
0.357
101.28%

q21
226.49
227.31
0.819
100.36%

q22
14.18
13.95
-0.237
98.33%

total
1246.08
1242.62
-3.454
99.72%


How does this work with Deepstack

How does this integrate with Deepstack?

it does not. it deploys a compatible APIs to trick deepstack enabled applications into thinking that they're talking to a deepstack service.


Broken with Pandas 1.2

When I install the requirements via pip and then run python  scripts/download_and_correct_corpus.py, I get
AttributeError: module 'pandas.core.ops' has no attribute '_get_op_name'
I run on WIndows with python 3.9.2. I saw a similar issue in https://github.com/hgrecco/pint-pandas/issues/51 .

Hi, at first I encountered the same problem as you until I realized the pandas was installed from "
text-extensions-for-pandas".
https://github.com/CODAIT/text-extensions-for-pandas/blob/master/requirements.txt
So I changed the latest version back to 1.0.3 and the problem fixed.


Old BFRES Files?

I saw in a comment in bfres library that “very old versions have no counts and is mostly unkown atm”. This is on an else statement for files below version <IP_ADDRESS>. But I have found a couple of files that are older than that, which do have file counters. They are versions <IP_ADDRESS>, and <IP_ADDRESS>. What are some examples of bfres without file counters? How old is their version number?

What uses such old bfres? Oldest version I've seen was around 2.0 but I didn't really try to support it since no games use such old versions (launch titles are around 3.0).

Common\actor\P_rcha\P_rcha.szs\P_rcha.sarc\P_rcha.bfres from New Super Mario Bros U is <IP_ADDRESS>.
CMCmn\enemy\tuyukusa.szs\tuyukusa.sarc\tuyukusa.bfres from Pikmin 3 is <IP_ADDRESS>
I was able to find pages for bolt of them on tcrf, and apparently they are both unused in their games.
https://tcrf.net/New_Super_Mario_Bros._U#Unused_Animations
https://tcrf.net/Pikmin_3#Misc.
They both have 9 index groups references instead of 12. They both contain skeleton animations, and P_rcha has color animation, but that's all that either contains.

So like, where can these version 2 bfres files be found?

Ok, Thank you.


feat: explicit latest url for bricks and/or non-explicit brick URL for latest version

Description
It would be nice if bricks listings URLs either:

had an explicit /latest URL that resolves to the latest version (e.g., brickhub.dev/macosui_starter/latest
resolved to the latest version by default (e.g., brickhub.dev/macosui_starter
This would be helpful when linking to brickhub listings from other places so that we do not have to update those links to point to the latest version of a brick every time it is updated.

Requirements

[ ] Add an explicit /latest URL for brick listings that resolves to the latest version
[ ] Implicitly resolve to the latest version when linking to a listing without specifying a version or /latest

Additional Context
I link to my macosui_starter brick in my Quick Start guide for macos_ui and having to update the site every time I update the brick is a bit of a pain :)

Hey @GroovinChip 👋
Thanks for opening an issue!
I'm planning to make https://brickhub.dev/ resolve to the latest version automatically in the next few days. Sorry for the inconvenience!


Nitro Pro Crack <IP_ADDRESS> + Keygen Free Download [Latest]

Nitro Pro Crack <IP_ADDRESS> + Keygen Free Download [Latest]
Nitro Pro 14 Crack is an impressive application that allows users to create easily, edit, and convert PDF files using a very intuitive program that enables users to extract text from PDF accurately. The latest version of Nitro PDF Full Cracked has intelligent guidelines for the object tool, aligning the shapes to ensure that the content is arranged correctly.
Download Now

.

Download Now

Nitro PDF Full Cracked has intelligent guidelines for the object tool, aligning the shapes to ensure that the content is arranged correctly.

DIRECT DOWNLOAD SETUP
.
.
.
.


Lotka Volterra score

This is the posterior on alpha and delta
 plt.hist2d(reference_samples[...,0],reference_samples[...,3],50,cmap ='Blues');

and this is the score we get from the lotka_volterra model
plt.quiver(theta[...,0], theta[...,3], score[...,0], score[...,3])

the little blue dot is the posterior
The posterior (blue) and prior (orange):

I tried with jax.lax.stop_gradient in model_trace['theta']['fn'].log_prob(model_trace['theta']['value']) but it doesn't change anything

I tried with 1e-7 * score and got this for observation 6:

and for observation 1:

and I tried with 1e-6*score on observation 1:

notebook

hmm sorry that was stupid ^^
ok so here I trained with nll + 1e-7 score:

and with  nll + 1e-6 score:

notebook

The loss seems very unstable.. any clue as to why ?

Yes I tried gradient clipping but didn't change anything and it's because sometimes gradients are very big


Legacy Tokens no longer possible to obtain

As of today (2020-05-05) Slack is no longer offering Legacy tokens and is instead forcing people to create "Slack Apps" instead.  It's a bit over my head if it's still possible to get this program running correctly if you go through the new process.

Hey, check the following steps here to obtain a token. You can also check #136 for some background.


static_argnames does not support unicode argument names

Description
When using unicode argnames, static_argnames breaks.
Admittedly this is not super-common in Python-land, but I find it very handy to write mathematical formulas.
python-3.11.2 ❯ python
Python 3.11.2 (main, Apr  7 2023, 16:35:55) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import jax
>>> def f(Vϕ_logfun, x):
...  return Vϕ_logfun(x)
...
>>> jax.jit(f, static_argnames="Vϕ_logfun")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/filippo.vicentini/Documents/pythonenvs/netket/python-3.11.2/lib/python3.11/site-packages/jax/_src/api.py", line 281, in jit
    return pjit.make_jit(
           ^^^^^^^^^^^^^^
  File "/Users/filippo.vicentini/Documents/pythonenvs/netket/python-3.11.2/lib/python3.11/site-packages/jax/_src/pjit.py", line 529, in make_jit
    jit_info = _parse_jit_arguments(
               ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/filippo.vicentini/Documents/pythonenvs/netket/python-3.11.2/lib/python3.11/site-packages/jax/_src/pjit.py", line 447, in _parse_jit_arguments
    donate_argnums, donate_argnames, static_argnums, static_argnames = resolve_argnums(
                                                                       ^^^^^^^^^^^^^^^^
  File "/Users/filippo.vicentini/Documents/pythonenvs/netket/python-3.11.2/lib/python3.11/site-packages/jax/_src/api_util.py", line 541, in resolve_argnums
    _validate_argnames(signature, static_argnames, "static_argnames")
  File "/Users/filippo.vicentini/Documents/pythonenvs/netket/python-3.11.2/lib/python3.11/site-packages/jax/_src/api_util.py", line 217, in _validate_argnames
    raise ValueError(f"Jitted function has invalid argnames {invalid_argnames} "
ValueError: Jitted function has invalid argnames {'Vϕ_logfun'} in static_argnames. Function does not take these args.

System info (python version, jaxlib version, accelerator, etc.)
jax 0.4.30

This looks like a Python issue:
>>> import inspect
>>> sig = inspect.Signature.from_callable(lambda Vϕ_logfun: ...)
>>> 'Vϕ_logfun' in sig.parameters
False
>>> sig.parameters
mappingproxy(OrderedDict([('Vφ_logfun', <Parameter "Vφ_logfun">)]))

inspect.Signature uses the ast module to reconstruct the signature, and the parser seems to normalize Vϕ_logfun to Vφ_logfun
>>> import ast
>>> ast.dump(ast.parse("Vϕ_logfun"))
"Module(body=[Expr(value=Name(id='Vφ_logfun', ctx=Load()))], type_ignores=[])"

I think this is where the normalization (to NFKC) is happening: https://github.com/python/cpython/blob/7c66906802cd8534b05264bd47acf9eb9db6d09e/Parser/pegen.c#L488-L512.
Also,
>>> unicodedata.normalize("NFKC", "ϕ")
'φ'

Apparently, this behavior is documented in https://docs.python.org/3/reference/lexical_analysis.html#identifiers.

Here is another consequence of using an unnormalized unicode character in an parameter name:
>>> (lambda Vϕ_logfun: ...)(**{"Vϕ_logfun": 42})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: <lambda>() got an unexpected keyword argument 'Vϕ_logfun'

To conclude, I guess we could do the normalization for static_argnames=, but using non-NFKC-normalized characters is still potentially a footgun.

I thought about this a bit more and decided to keep the current behavior, because normalization could be just as surprising as lack of it.

Potentially we could raise a more informative error message about the existence of non-normalized characters?

I thought about this a bit more and decided to keep the current behavior, because normalization could be just as surprising as lack of it.

I understand. It's probably on me for attempting to use 2020s technologies like unicode in modern programming languages (I'm complaining about python here, not jax :) )
I guess the underlying problem is that Python does not normalise source code, while Julia (where I picked up the habit of using unicode characters for math formulas) does it. So clearly it's on me.

Potentially we could raise a more informative error message about the existence of non-normalized characters?

You could, but I do understand it's quite a bit of extra effort for you for an exotic use-case.
Again, sorry for the noise!


Visualization of sample model not working

The following minimal example
import pinocchio as pin

model = pin.buildSampleModelHumanoid()
geom_model = pin.buildSampleGeometryModelHumanoid(model)
q = pin.neutral(model)

robot = pin.RobotWrapper(model,geom_model,geom_model)

raw_input("initDisplay")
robot.initDisplay()

raw_input("loadDisplayModel")
robot.loadDisplayModel()

raw_input("display")
robot.display(q)

print("done")

is not working. The model is not loaded inside gepetto-gui and it does not show up.
However, gepetto-gui itself seems to be fine (examples/python/gepetto-viewer.py, which loads DAE files for romeo, is working for me).

I don't know where this problem might come from. Am I doing this right? is there something wrong in buildSampleGeometryModelHumanoid? Can this be a probem of hpp-fcl instead of Pinocchio?

I don't think that hpp-fcl basic geometries are parsed by the viewer.

I don't think there is any parsing involved. Plus, I remember @nmansard made the buildSampleGeometryModel methods, and they were working on gepetto-viewer. If it does not, I think it should. @nmansard, may you verify this?

robot wrapper does not create the simple geometry. And it cannot do it because we don't have the bindings for the simple geometries.
I started to map the simple geometries to the GUI, but manually.  I believe we even have an issue for that open since a long time.

The issue was #548, but it was closed, I don't know why.

I'm not able to find them. They seem to be on my previous laptop, which has been reformated since then :(

Solved by #1004


Fix "see more torrents from" box width

The width is fixed to 35px because all <li> are fixed at 35px width, which is obviously not enough for the text it is trying to contain.
At first i tried to remove that 35px and just let the size change based on nickname length, but making it stick to 100% looks better in my opinion
Here is how it looks right now:

Here is how it would look without the 35px:

Here is how it would look with my change to force it at 100% width:

It seems to be already fixed on dev


Service methods should be marked as returning T

This wouldn't work in the long run. Usually, services return a List on index, but this can change... There's no real way to predict.


RKE2 Provisioning: Arbitrary Manifest Support (User Add-ons)

Ability to add any k8s yaml to a cluster
apiVersion: provisioning.cattle.io/v1
kind: Cluster
metadata:
  name: #string
  annotations:
    {}
#    key: string
  labels:
    {}
#    key: string
  namespace: fleet-default
spec:
  cloudCredentialSecretName: do
  kubernetesVersion: v1.20.5+rke2r1
  rkeConfig:

#    additionalManifest: string

Validated on master build 6757965
Am able to deploy arbitrary helmchart manifests, helmchartconfig manifests (to update existing resources), and arbitrary kubernetes resource deployments. All are working as expected and deploy. There is an issue with edit, which I am creating its own issue for as I do not believe it is related to this.


Set chainId in StandardAccount constructor

Describe your changes

Set chainId in StandardAccount constructor to avoid sending unnecessary requests

Linked issues

Closes #418
Breaking changes

[ ] This issue contains breaking changes

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

Comparison is base (06cf342) 69.29% compared to head (2442eb0) 69.30%.

Additional details and impacted files
@@                              Coverage Diff                              @@
##           revert-406-feat/404-remove-starknet-chain-id     #419   +/-   ##
=============================================================================
  Coverage                                         69.29%   69.30%
=============================================================================
  Files                                                72       72
  Lines                                              3127     3128    +1
  Branches                                            315      315
=============================================================================
+ Hits                                               2167     2168    +1
  Misses                                              810      810
  Partials                                            150      150

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.