Can we use on our own image ?

Hi, I want to know about your model can use my own image as an input? Is it possible to output the obj and texture ?
Thank you,

I have existing SMPL body obj model without texture. So can I use your model to create the texture and apply it on my SMPL body mesh ? If yes, how can I apply it? Could you give me some instructions?
Thanks.

It sounds like our pipeline can help here, but let's first clarify your desired output:
If you're looking to apply a new texture to a SMPL mesh, we can definitely do that. Our pipeline can fit the geometry code book to the SMPL mesh. You'll just need to adjust the input file in the line of code you're working with (And possibly tweak the evaluator a bit - I can help update a version for you if that's needed).
However, it's important to know that the output mesh won't retain the SMPL (or SMPL-X) topology, because we use a marching cube to discretize the implicit representation. Also, it won't provide a texture map as we use vertex colors.
Since your task is simple, you might not need our pipeline at all. SMPL (or SMPL-X) already has its own fixed UV texture map. In fact, there are a number of existing works that show how to colorize this texture map to create a textured SMPL body. So, that might be a simpler solution for you.

Thank you for your reply. But I want to do body texture like same image input on SMPL model. I cannot find other work that can apply the texture on custom 3D body obj. If your model can do that part, could you give me some instructions ?
Thanks.

Let me rephrase my question:
What is the output you would like to have?
a texture map (image) with this kind of SMPL uv?
![46127638-968fe980-c231-11e8-9ef9-f3730b9f888f](https://github.com/custom-humans/editable-humans/assets/126664174/60331b08-6ac5-4185-b6e9-ef837458a31a | width=400)
or you need a new mesh that has arbitrary geometry but with the texture you want?

I want to have a texture like yours( colorful one).

Okay, I guess you don't want an SMPL texture map as an output. (Correct me if I am wrong because I don't know what you mean by 'texture')
If you just want to draw something on the SMPL-X mesh without having a fixed mesh topology, that is easy. As I suggested in my previous post, you just need to change the input obj to your SMPL-X mesh here. (You might also need to tweak the evaluator a bit because it only supports textured and watertight mesh - I can help update a version for you if that's what you need).
E.g.,
evaluator.fitting_3D(32, 'data/test/mesh/mesh-f00194_smpl.obj', 'data/test/mesh/mesh-f00194_smpl.obj', fit_rgb=False)

Then uncomment Line 42 to render a new image of your SMPL-X mesh.
Once you get the rendered image, you can draw something with Photoshop or other editing tools. Put the image in a folder following Line 45 to update the mesh. Finally, you will get your new mesh after running Line 48 and Line 51.

I've done my best to provide a thorough explanation of what our pipeline can offer.
Unfortunately, there isn't a direct, out-of-the-box solution for what you're trying to achieve. Some modifications to the pipeline will be necessary to align it with your specific needs.

Hi, how did you extract the texture like this ?


Why we need to detect which vertex is convex or concave?

First of all I couldnt fully understand how we are seperating vertecies by looking at their convex_hull? how does that works?
and why we need to seperate them? are we gonna threat convex vertices and concave vertices differently at the inference phase?
Any idea from those situations?

Calculating the convex_hull is implemented as a way to recognize the convex vertices from all of a building's vertices. The convex and concave vertices will be considered as two different classes during the junction heatmap prediction and are processed separately as in https://github.com/SarahwXU/HiSup/blob/45db55433c9ef713dc52b7dd7f7d56e6645202eb/hisup/utils/polygon.py#L26
The separation reduces the ambiguity between nearby building vertices. We did the ablation study about this division of different types of vertices and the results showed improved performance. However, if the pixel coordinates of vertices of building polygons are far apart from each other and easy to identify, it may not need to set two classes.


Wasm: Int64 Interpreter implementation

This change implements Int64 for WebAssembly in the interpreter only (-nonative required to test).
I am creating this review to get an initial review of the change as I am expecting tests failures due to reaching the end of the Extended OpCodes range (https://github.com/Microsoft/ChakraCore/pull/1444)

This change is

:shipit:


Manually trigger change event when user focused out an input if the d…

Were any Django, import pipeline, table_schema, or dictionary files modified? N

Database used: opus3_test_200517
All Django tests pass: Y

Were any JavaScript or CSS files modified? Y

JSHINT run on all affected files: Y
Tested on Chrome, Firefox, Safari, and iOS: Y
(Remember to test all browser sizes)
Tested for race conditions (with delayed API calls if applicable): NA

Description of changes:
When the user removed input value and focused out an input, sometimes the "change" event will not be fired. We manually fire the "change" event in the "focusout" event handler when this situation happened.
Known problems:
None

The root cause for the issue is the following (this is the default behavior of an input tag):

When the user selected a preprogrammed range item, we used .val() to set the min/max input values and manually triggered change event (.trigger("change")) for both inputs.
After both change events are done, we are still focus in the min input. However the min input still treats the previous input value (the value when we first focused in the input before step 1) as the old value. And it will use this old value for comparison to determine if a change event should fire when the user changes the input value.

This is the default behavior of an input tag, please see the experiment in jsfiddle with the following steps: https://jsfiddle.net/xa56eb03/17/

Focus into input 1, type "6" and hit enter. Now "6" is remember as the old value and we are still in focus.
Delete "6" and type "x" to automatically update input 1 (using .val()) to "89" and programmatically trigger a change event.
Now input 1 has "89" after the change event, and we are still in focus. However, input 1 still treat "6" as the old value.
Delete "89", type "6" again, and don't hit enter. Now we focus out input 1.
From console, we can see there is only focusout event and no change event happened.

To bypass this default behavior, all we need to do is to focus out & in again at the end of iii. so that input 1 will remember "89" as the old value instead of "6".

Hmmm actually your change breaks something else. Apparently normalize input isn't working on the min field anymore. For example, go to ring radius. Type "b ring" and click on it. Notice that the "min" still has a comma, but the "max" doesn't.
It's worse than that, though. Type "b" and hit enter. Get the red box and all ?. Now go back and select "b ring" and click on it. The proper values will be filled, but the ? will still be present everywhere.

Perform the step of re-focusing into input after normalize input validation to make sure normalized values are updated in input fields. This will solve the issue of comma in min.
"?" didn't go away after changing to a valid search. This issue exists in the master too. We now set opus.force_load to true when there is an invalid input value. This is for the case when we change a valid search (result1) to an invalid search (result2), and later on change back to result1, there will be a search triggered again to put back the valid green hints instead of keeping "?".

Database used: opus3_test_200517
All Django tests pass: NA
JSHINT run on all affected files: Y
Tested on Chrome, Firefox, Safari, and iOS: Y
(Remember to test all browser sizes)
Tested for race conditions (with delayed API calls if applicable): Y


Bring back Connect to Jupyter Server on Web.

Fixes #12235

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for feature-requests.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

@rebornix
If you swtich the kernel picker to stable and ensure Show only one type of kernel to the default value of false,
then this UI will now showup.
I.e. i dont think we need this
lets catchup in tomorrows standup

Codecov Report

Merging #12248 (c80d2e6) into main (1bfcef9) will decrease coverage by 0%.
The diff coverage is 34%.

:exclamation: Current head c80d2e6 differs from pull request most recent head 9e1ee8e. Consider uploading reports for the commit 9e1ee8e to get more accurate results

@@           Coverage Diff           @@
##            main   #12248    +/-   ##
=======================================
- Coverage     70%      70%    -1%
=======================================
  Files        500      501     +1
  Lines      31675    31778   +103
  Branches    4951     4965    +14
=======================================
- Hits       22275    22267     -8
- Misses      7500     7622   +122
+ Partials    1900     1889    -11

Impacted Files
Coverage Δ

...ers/commands/serverConnectionControllerCommands.ts
33% <33%> (ø)

src/notebooks/controllers/serviceRegistry.node.ts
100% <100%> (ø)

src/kernels/common/delayedFutureExecute.ts
4% <0%> (-49%)
:arrow_down:

src/kernels/common/chainingExecuteRequester.ts
83% <0%> (-12%)
:arrow_down:

.../notebooks/debugger/debugLocationTrackerFactory.ts
96% <0%> (-4%)
:arrow_down:

...tive-window/debugger/jupyter/kernelDebugAdapter.ts
60% <0%> (-2%)
:arrow_down:

.../notebooks/controllers/vscodeNotebookController.ts
83% <0%> (-2%)
:arrow_down:

src/kernels/kernelRefreshIndicator.node.ts
89% <0%> (-1%)
:arrow_down:

src/kernels/raw/launcher/kernelProcess.node.ts
74% <0%> (+<1%)
:arrow_up:

src/notebooks/debugger/debuggerVariables.ts
69% <0%> (+<1%)
:arrow_up:

... and 2 more


Content of if-else block is computed even if condition is false

Hello,
I've noticed filters inside an if-else loop are triggered regardless of the condition result. However I have two issues with this :

We spend resources and performance rendering all blocks, which in certain cases can increate the total rendering time by a lot.
When using extensions or filters that don't just return text, they are executed regardless.

For instance, when using the following custom filters
import time

def log(txt):
  print(txt)
  return txt

def sleep(txt):
  time.sleep(5)
  return txt

And this template
{% set condition = true %}

{% if condition %}
{{ "Hello" | log   }}
{{ ""      | sleep }}
{% else %}
{{ "World" | log   }}
{{ ""      | sleep }}
{% endif %}

The resulting rendered file will only contain Hello, but rendering will take 10 seconds (instead of only 5), and the console will print Hello and World.
In my case I use custom filters to generate warnings or errors when checking the configuration in the template, and also I have some special filters that write/append to other files and change environment settings/variables.
I think this could also cause issues with the do expression.
Is this expected behaviour or perhaps something I configured incorrectly ?
Python version 3.10.7
Jinja2 version 3.1.2

I've investigated this issue more, and I have to admit I don't understand how Jinja2 parses a template. I've tried disabling optimization (optimized=False).
With the following template :
{% set condition = true %}

{% set ns = namespace(foo="✔one") %}
{{ ("✔1 Should see this at the start : "~ns.foo) | log }}
{{  "✔2 Should see this" | log }}
{{ ns.foo | log }}

{% if condition %}
  {{ "✔3 Should see this" | log }}
  {% set ns.foo = "✔two" | log %}
{% else %}
  {{ "✘1 Should not see this !" | log }}
  {% set ns.foo = "✘three" | log %}
{% endif %}

{% if not condition %}
  {% set ns.foo = "✘four" | log %}
  {{ ns.foo | log }}
  {{ "✘2 Should not see this either !" | log }}
{% endif %}

{{ ("✔4 Should see this : "~ns.foo) | log }}
{{  "✔5 Should see this at the end" | log }}

With optimization, the console prints :
✔2 Should see this
✔3 Should see this
✔two
✘1 Should not see this !
✘three
✘four
✘2 Should not see this either !
✔5 Should see this at the end
✔1 Should see this at the start : ✔one
✔one
✔4 Should see this : ✔two

Without optimization, the console prints :
✔2 Should see this
✔3 Should see this
✘1 Should not see this !
✘2 Should not see this either !
✔5 Should see this at the end
✔1 Should see this at the start : ✔one
✔one
✔two
✔4 Should see this : ✔two

In either cases we see things we shouldn't, and the order is all wrong.
Note that logging here is only to demonstrate which chunks are rendered and which are not. The two big issues are performance, and special filters that should not be executed.

When Jinja compiles templates, it attempts to evaluate expressions to see if they are constant at compile time. This "evaluate constant" optimization is separate from the env.optimized flag, which does "constant folding" on expressions, which can result in different compilation/runtime behavior.
The general advice for templates (not only Jinja, in general) is to avoid side effects and perform data processing in the Python code before rendering. Templates are intended for rendering only.
You can play around with your code more by using env.compile(source, raw=True) to see the Python code that will be evaluated at runtime, as well as calling breakpoint() in your filter function to see the stack during compilation and runtime.
env = Environment(optimized=True)

def log(value):
    breakpoint()
    print(value)
    return value.upper()

env.filters["log"] = log

source = """\
{% set condition = true %}
{{ "start" | log }}
{% if condition %}
{{ "a" | log }}
{% else %}
{{ "b" | log }}
{% endif %}
"""
print(env.compile(source, raw=True))  # see compile time
# print(env.from_string(source).render())  # see runtime

Thanks for the details. Looking over at the compiled code it makes sense.
I still believe it would be very useful to have a way to only execute some statements (filters, includes and macros with tests etc) when a condition is met. I understand that Jinja2 is not made for the logic part, but for performance reasons this is important, for instance if someone has a filter that makes a request for some data, or that parses the data in a complex and resource intensive way.
Perhaps the addition of a conditional-loop context similar to the for-loop context ? This context would contain at least a simple bool attribute to pass to a filter/test to implement the logic in the python function. Perhaps a decorator on the filter and test functions could also be added ?
If you think that is relevant can we turn this ticket into a feature request ? I could start looking into the source code and try to add the loop context.


docs: DOC-168: Create Administration section in the docs

As part of doc reorg work, created a new "Administration" section
Community:
Split "User Management" into two pages: "Add users" and "Manage users"
New page on managing your user account settings
Enterprise:
Moved pages for SCIM, SAML, configuring SaaS, managing billing into the new Admin section
New pages on managing your user account settings and the activity logs
Split user management into Overview, Add users, Manage users, Roles and permissions

[X] Community docs
[X] Enterprise docs

Marking this as a draft because need to work out some issues with nested pages


There are no usable .NET assemblies in package 'sqlite-net'

Hi I tried to install the Nuget package but got an error

There are no usable .NET assemblies in package 'sqlite-net'.

Any ideas?
https://www.nuget.org/packages/sqlite-net/

What platform is your project targetting?

Is this still a problem? Have you tried v1.4?


please，why didn't you upload our  livery？

Sorry, I didn't have time, I was working on the new release. School starts tomorrow, so I will try to do weekly updates, but I guess I will only have time on every second week.

ok，i see thanks


list menu marker changing color

windows 10; windows terminal.
https://github.com/nushell/reedline/assets/104733404/bb9b1fce-e061-4cb6-a1ce-19f86bbbd9eb

I'm missing the point here. what is changing colors?

@fdncred the marker changes color to white, when the selection is at the bottom of the terminal
is that intended?

oh, i see it now. nope, that's not intended. not sure why it's doing that. good eye!

Looks like print_small_buffer has this bit of code before printing the prompt indicator, but not print_large_buffer:
        if use_ansi_coloring {
            self.stdout
                .queue(SetForegroundColor(prompt.get_indicator_color()))?;
        }

thanks for fixing this!


Add classes for Address, Author, book, Customer, Order, OrderDetails and User.

The classes mentioned in the title should be designed for entity, repository, service, serviceimpl and controller layers.

I can provide this classes with the layers you mentioned.

Ok. Give me asap.

Thank You


Firewall: Would like it to support enabling a group instead of rule

Details of the scenario you tried and the problem that is occurring
I want to enable File and Printer Sharing firewall rules on a server.
Doing that in cmd or PowerShell are trivial:
& netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Set-NetFirewallRule -Enabled True

However the Firewall resource does not allow you to enable an entire group of rules, only rule by rule. This is complex to maintain especially as the rules could conceivably be different from version to version of the OS.
So I'd like an enhancement that allows enabling/disabling an entire group. However, looking at the code, this doesn't appear to be easy.
Suggested solution to the issue
I'm not so sure it's possible to use the existing resource because the Name property is mandatory and tightly integrated with the code. Even if you allowed a * or All it would require a lot of changes.
But ideally it that wasn't the case it would look like this:
Configuration Example
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )

    Import-DSCResource -ModuleName NetworkingDsc

    Node $NodeName
    {
        Firewall Firewall
        {
	    Group = 'File and Printer Sharing'
            Ensure                = 'Present'
            Enabled               = 'True'
        }
    }
}

Hi @codykonior - this is a good question/proposal. It sounds like a really reasonable use case. However, there are some challenges with it:

It could lead to configs that can never go into state.
The key for the resource is the firewall rule name (as opposed to the group). Changing the key pretty much isn't an option for this resource.

However, one possible solution to 2 is to create a new resource FirewallGroup that could be used for this purpose. Something like this:
Configuration Example
{
    Import-DSCResource -ModuleName NetworkingDsc

    Node localhost
    {
        FirewallGroup EnableFileAndPrinterSharing
        {
	    Group = 'File and Printer Sharing'
            Enabled = 'True'
        }
    }
}

The big risk though in using this is item 1 above - it could easily be combined with the Firewall resource to produce a config that internally conflicts and can't go into state. For example:
Configuration Example
{
    Import-DSCResource -ModuleName NetworkingDsc

    Node localhost
    {
        FirewallGroup EnableFileAndPrinterSharing
        {
	    Group = 'File and Printer Sharing'
            Enabled = 'True'
        }

        Firewall DisableFileAndPrinterSharingSpooler
        {
            Name = 'File and Printer Sharing (Spooler Service - RPC-EPMAP)'
            Enabled = 'False'
        }
    }
}

The above config would continue to reapply over and over without ever going into state. This is fairly obvious example and in most cases common sense and testing would easily avoid this problem, but it is worth pointing out.
Perhaps just providing a summary of the risk in the README.MD for the resource would be adequate. @johlju - any thoughts?

I agree with @PlagueHO that creating a FirewallGroup resource could potentially result in that the target node never will get to a desired state if used together with Firewall resource, especially when using partial configurations.
On the other hand I see the problem getting all the rules for a specific group to be able to get all into the configuration.
One thing that comes to mind is to instead create FirewallSet composite resource (it could be called FirewallGroup too), like ServiceSet. FirewallSet would build an array of Firewall resources at compile time. The problem is that it need to be compiled on same same Windows edition and version as it is gonna be run on, otherwise the mof file could potentially miss some rules in the group. 🤔
See: https://github.com/PowerShell/xPSDesiredStateConfiguration/tree/dev/DSCResources/xServiceSet
Another variant is a helper function that takes a group name, then builds a configuration script using a bunch of Firewall resources that can be used by the user in their final configuration.

I won't be able to use a version that only creates a MOF based on rules that exist on the host rather than the guest.
I don't see the problem with having a DSC rule that may never resolve IF YOU WRITE IT INCORRECTLY. This pretty much describes every DSC resource ever.

Another option is that Name takes a predefined format to determine that it is a group name, like Name = 'FirewallGroup:File and Printer Sharing. Aa keyword that is unique and can be parsed easily by regular expression. 🤔

I won't be able to use a version that only creates a MOF based on rules that exist on the host rather than the guest

That is the downside using the FirewallSet-alternative.

The argument that it may not resolve does not hold water when you can do the exact same thing with the existing resource and any other DSC resource that exists.

Not following you here. If you mean my phrase "miss some rules in the group". I mean that on WIndows Server 2019 there might be one more rule (or one less rule) than on Windows Server 2016. So both my previous alternative are not good. 🙂


Fix typo in Grunt js alias

So... anyone who's generated a project in the past four weeks hasn't been building JS...
:flushed:

Whoops :+1:


[issue #1591] Add neon_local pageserver status handler

Issue #1591
Added missed status handler for neon_local pageserver.

Thank you, looks good! @LizardWizzard can you take a look too?


Cross site scripting vulnerabilty found in add page

•	Wonder cms: v-2.5.2
•	PHP Version: 5.6.35
•	Apache Version: 2.4.33
•	Operating system: microsoft windows v10
Vulnerabilty name: cross site scripting.
Steps to reproduce:
1: go in settings->general->addpage.
2: In the content of page execute malicious javascript   "> and save the page.
3: XSS payload will be reflected to the browser.
POC:
Type payload ">script>alert(1)

Regards
RItesh Kumar

Hi @riteshgupta1993.
This is considered SELF-XSS. In short, this is a feature, which enables admins to past JavaScript anywhere.
A visitor can not execute JavaScript anywhere and the fields are sanitised from the visitor layer.
Please check #57 for more info.
Please feel free to comment to keep the discussion going.


i in my flutter web application i have http request
is not working on flutter web where it Working on Android Version
Opera Browser
Flutter_web Latest

Solved
You have to Enable "access-Control-Allow-Origin"
by Install "access-Control-Allow-Origin opera"


client: add more formats for Import/Export

We are going to implement importing/exporting OCI v1 images in tar format (https://github.com/containerd/containerd/pull/1013)
There has been some proposals to add more formats in the PR:

OCI v1 images in generic directory - by @AkihiroSuda
-- Can access oci-layout and detect the format without scanning whole the "tape"
-- Can only import really referenced blobs without scanning whole the "tape"
-- Can be used for NFS/IPFS/S3/whatever distribution, although it would need some extra component for controlling concurrency, update, and security (https://github.com/containerd/containerd/pull/1013#issuecomment-313240909)

docker save/load format (aka Docker Image Spec v1 https://github.com/moby/moby/blob/master/image/spec/v1.md) - by @stevvooe  https://github.com/containerd/containerd/pull/1013#discussion_r128642362

Also, we may want to add support for importing/exporting raw rootfs directory.

cc @Random-Liu

@stevvooe Can we prioritize this? We'll need this very soon.
We need to integrate cri-containerd with kube-up.sh upstream, and this will be a blocker. :)

@Random-Liu Specifically, you need docker save/load support? Do you need both?

I think load is more important now.
On Oct 3, 2017 5:54 PM, "Stephen Day"<EMAIL_ADDRESS>wrote:

@Random-Liu https://github.com/random-liu Specifically, you need docker
save/load support? Do you need both?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/containerd/containerd/issues/1229#issuecomment-334020833,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFjVu6smBplRBeCA482KE4IxktjBGPzMks5sotdAgaJpZM4OfAPx
.

#dibs

opened https://github.com/containerd/containerd/pull/1602

Removing from the 1.0 milestone as this is not a core aspect of the containerd runtime and not required for a 1.0 release.


test: Skip tests needing secrets for forks and Dependabot PRs

Closes #23
- What I did
Stopped tests from running that will fail due to lack of secrets
- How I did it
Introduced conditional clause to job (same as at_server)
- How to verify it
Will have to wait for next Dependabot PR
- Description for the changelog
test: Skip tests needing secrets for forks and Dependabot PRs

I've merged #22 into this so that it will in fact be tested.


Update DeveloperGuide.md

Add uml diagrams for RemoveStudent command

Codecov Report

Merging #209 (225a8ab) into master (1770be0) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #209      +/-   ##
============================================
+ Coverage     54.97%   54.98%   +0.01%
  Complexity      658      658
============================================
  Files           120      120
  Lines          2887     2886       -1
  Branches        348      346       -2
============================================
  Hits           1587     1587
+ Misses         1204     1203       -1
  Partials         96       96

Impacted Files
Coverage Δ

...u/address/logic/commands/RemoveStudentCommand.java
0.00% <0.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 1770be0...225a8ab. Read the comment docs.


I do not get the same output as the examples

I downloaded the PyTorch model and ran it on the examples.
Here is the output I get:

Any idea why?

Your result looks very bad. However, I just tested again with PyTorch 1.0.1 and PyTorch 1.2.0 on the pretrained model (provided in README) and the results are both good.
Maybe the model weight path is wrong? If the model weight has been loaded successfully, you should see the following log:
Resume from checkpoints/imagenet/hole_benchmark at iteration 430000
Saved the inpainted result to examples/output.png


Configure Azure Pipelines

This configuration builds the application and produces builds for both Debug and Release configurations.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: damianguerra sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Fixing order of commands

There was a small bug in the original version, with an incorrect order of commands.

cc @dj1k @anshrma


[BUG] "Delete Your Account" Popup Stuck on Light Theme Despite Dark Theme Selection

Description
@mdazfar2
When clicking the "Delete Your Account" button, the popup modal does not switch to the selected dark theme. The popup only appears with light theme styling, even when the dark theme is selected. I have verified that the rest of the application follows the theme correctly, but the popup remains styled for the light theme.
I tried switching between light and dark themes multiple times, but the popup continues to use the light theme styling.
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@sezallagwal You are assigned.

Hope you read the CONTRIBUTING Guidelines.
Please try to add comments about where and what type of changes you made.
Please don't add unnecessary code if there is no need! Thanks :)


Conflict between '@typescript-eslint/no-extra-parens' and 'no-confusing-arrow'

🤔 Problem:
With the rules are configured, the following line throws the warning Unnecessary parentheses around expression eslint(@typescript-eslint/no-extra-parens):
return allPostsData.sort((a, b) => (a.date < b.date ? 1 : -1));

Fixing the warning by removing the parentheses around the ternary expression results in a different warning, Arrow function used ambiguously with a conditional expression eslint(no-confusing-arrow):
return allPostsData.sort((a, b) => a.date < b.date ? 1 : -1);

💡 Proposed solution:
These rules can live in harmony by making a single change:
        '@typescript-eslint/no-extra-parens': ['warn', 'all', {
            // eslint-disable-next-line @typescript-eslint/naming-convention -- external property
            ignoreJSX: 'all',
            // Nested binary expressions may be hard to break down into named functions
            nestedBinaryExpressions: false,
            enforceForArrowConditionals: false, // <-- this needs to be set to false
        }],

Per discussion in this thread: https://github.com/eslint/eslint/issues/6196#issuecomment-333344466

@adamhill86 makes sense, thank you for finding a solution. I'll add it as a patch.

This issue is resolved in the v0.15.1

@amikheychik,

This issue is resolved in the<EMAIL_ADDRESS>
I am sorry, but it's unclear HOW this problem has been resolved.
Could you please to post the right combination of options for @typescript-eslint/no-extra-parens and @typescript-eslint/no-extra-parens?

@TokugawaTakeshi I've just applied the fix suggested by @adamhill86 and turned off enforceForArrowConditionals in the no-extra-parens rule (see https://github.com/perfective/eslint-config/commit/8a745ddd18d67032c419445e301cf7d8e1b6fa66)


Set the default value for "memlimit" in 75% of the current memory

Update the default value for memlimit
Update requirements cause the new version with concurrency work better with more CPU/Mem
Update docs

Thanks for these proposed changes.  Please clarify why the changes would be an improvement, since memlimit can already be set explicitly.

The improvement is achieved by setting the memory limit to 75% of the instance memory instead of setting it to 1 GiB, which may not be enough for parallel reading.
In the case where this parameter is not specifically specified
@nassibnassar

Thank you for clarifying.  There are two issues here: (1) the use of a percentage unit instead of GiB, and (2) that 1 GiB may be too low a default for concurrent consumers.
The percentage unit could make sense if Metadb is the only significant process running; but I think it is often hosted on a shared server with other Metadb instances or other processes.  I believe it will be easier to manage if we keep the more explicit unit of GiB.  However, I will check if the 1 GiB default value should be increased for concurrent consumers.
Closing.


[SPIKE] As a Verax Dev, I know how Attestee (or Subject) is handled

As a Verax Dev,
I want to be able to implement the notion of Attestee (or Subject)
Requirements

Conceptualise what is an Attestee (or Subject)
Create the tickets for implementation in MVP 1

Acceptance criteria
I have all the tickets to implement the Attestee (or Subject) in MVPV1
Additional information

Workload estimate
Dependency

TBD
TBD

Can you provide more information on what is need in this ticket @fdemiramon ?


Pod install only installs v 1.0.0

I cant install version 1.2.4 using pods. It says it doesn't exist, and if I try leaving the version out, it gets 1.0.0

Strange situation.
I've just tested it and my Podfile looks like this:
pod 'KBContactsSelection'

after runnning pod install everything works well:
kamil$ pod install
Analyzing dependencies

Downloading dependencies
Installing APAddressBook (0.1.6)
Installing KBContactsSelection (1.2.4)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `KBContactsTest.xcworkspace` for this project from now on.

Did you have KBContactsSelection installed previously in your project? If so it can be cached and to update it you should explicitly run pod update https://guides.cocoapods.org/terminal/commands.html#pod_update.
Let me know if any of these advices help.

Version 1.2.5 updated today supports APAddressBook 0.2.1 and changed API. It was already pushed to CocoaPods so it should all work again.


Library not working simulator 12.4, pod v- 5.6.3, swift v- 4.2

When we run project iOS 12.4 simulator then will be crash ( iOS 13 woking ).
Find the error........
dyld: Symbol not found: OBJC_CLASS$_AVAssetDownloadURLSession
Referenced from: /Users/kanakyadav/Library/Developer/CoreSimulator/Devices/42AC8723-2074-41B1-BB3F-328CFDB026F1/data/Containers/Bundle/Application/0DF119A0-A090-42BE-B6EE-734DA02C1C09/Touch.app/Frameworks/MMPlayerView.framework/MMPlayerView
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AVFoundation.framework/AVFoundation
in /Users/kanakyadav/Library/Developer/CoreSimulator/Devices/42AC8723-2074-41B1-BB3F-328CFDB026F1/data/Containers/Bundle/Application/0DF119A0-A090-42BE-B6EE-734DA02C1C09/Touch.app/Frameworks/MMPlayerView.framework/MMPlayerView
Please suggest me how can resolved this issue.

Is there any update?


Possibility to only output routes without library

Description
Since I am using ziggy-js via NPM, I don't need the library to be injected when I use @routes in my blade file. This only results in the JS included twice (one inline in my HTML and one in my JS bundle)
Suggestion
Feature to only output the part in my HTML that generates the routes to be used in my JS:
const Ziggy = {...};

Alternatives
None I can think of at the moment.
P.S. I wouldn't mind contributing such a feature myself, but only if the idea is accepted.

It doesn't really matter if the JS is technically present twice, so you can just ignore it. If you really want to remove it though there are a few ways you could do that:

Don't use @routes, and instead run php artisan ziggy:generate to generate a routes file, and import that in your JavaScript.
Don't use ziggy-js, put the @routes Blade directive before your main <script>, and use the global route function from the HTML.
Create your own Output class and override Ziggy's script output (see #483).

@bakerkretzmar I didn't know about that feature. Isn't it an idea to put that information in the readme to avoid requests like mine? :P


Update Command Not working as expected

Below error comes up when executing the update command:

It seems to be some error in the get safe module. Any help would be appreciated.

Hi @nmangam001 ,
Can you please download the updated version of the Safe-Management script and try again with the -Debug -Verbose switches?
That would give us more information on where the issue is coming from and why
Thanks

Which is the updated version. Can you help send it to me?
It's not clear from the repository.
Regards,
Nivedita Mangam
Senior Associate | PwC | CyberSecurity
Florham Park | +1<PHONE_NUMBER>
PricewaterhouseCoopers Advisory Services LLC
pwc.com https://www.pwc.com
On Wed, May 20, 2020 at 9:32 AM Assaf Miron<EMAIL_ADDRESS>wrote:

Hi @nmangam001 https://github.com/nmangam001 ,
Can you please download the updated version of the Safe-Management script
and try again with the -Debug -Verbose switches?
That would give us more information on where the issue is coming from and
why
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cyberark/epv-api-scripts/issues/56#issuecomment-631476038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APJMO23FRLYG5V22DQTZKA3RSPLYDANCNFSM4NFN57BA
.

The information transmitted, including any attachments, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited, and all liability arising therefrom is disclaimed. If you received this in error, please contact the sender and delete the material from any computer. PricewaterhouseCoopers LLP is a Delaware limited liability partnership.  This communication may come from PricewaterhouseCoopers LLP or one of its subsidiaries.

Just updated the script
You can download it again from the GitHub repo
https://github.com/cyberark/epv-api-scripts/blob/master/Safe Management/Safe-Management.ps1

I am still getting the same error message.
Regards,
Nivedita Mangam
Senior Associate | PwC | CyberSecurity
Florham Park | +1<PHONE_NUMBER>
PricewaterhouseCoopers Advisory Services LLC
pwc.com https://www.pwc.com
On Wed, May 20, 2020 at 9:35 AM Nivedita Mangam (US - ADVS) <
<EMAIL_ADDRESS>wrote:

Which is the updated version. Can you help send it to me?
It's not clear from the repository.
Regards,
Nivedita Mangam
Senior Associate | PwC | CyberSecurity
Florham Park | +1<PHONE_NUMBER>
PricewaterhouseCoopers Advisory Services LLC
pwc.com https://www.pwc.com
On Wed, May 20, 2020 at 9:32 AM Assaf Miron<EMAIL_ADDRESS>wrote:

Hi @nmangam001 https://github.com/nmangam001 ,
Can you please download the updated version of the Safe-Management script
and try again with the -Debug -Verbose switches?
That would give us more information on where the issue is coming from and
why
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cyberark/epv-api-scripts/issues/56#issuecomment-631476038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APJMO23FRLYG5V22DQTZKA3RSPLYDANCNFSM4NFN57BA
.

The information transmitted, including any attachments, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited, and all liability arising therefrom is disclaimed. If you received this in error, please contact the sender and delete the material from any computer. PricewaterhouseCoopers LLP is a Delaware limited liability partnership.  This communication may come from PricewaterhouseCoopers LLP or one of its subsidiaries.

I tried the new code and still see the error.

Can you please try after the latest merge #60 ?

Yes I did and still the same.

It is checking for the safe name character length to be 28 characters, I am looking for using the script to update description and Managing CPM. But the update command validates across name and shows error in the get safe module

Thanks for checking again @nmangam001
From the screenshot you sent, the error line number does not make sense since that line number in the updated script is something different and will not get an error on it
Maybe the powershell saved a cached version of the script or something, maybe try to close the powershell window, copy the script from GitHub and paste it in you local file and then try running it again
Thanks,
Assaf

Thanks Asaf for reaching out. I executed the code this morning and below is the error:

(The line of code giving error)
Command Executed:
PS C:\CyberArkSoftware> & .\Safe-Management.ps1 -PVWAURL "https://xxx.privilegecloud.cyberark.com/PasswordVault" -Update -SafeName "P_DualControlTest" -Description "Hi"
Your help would be appreciated.

Do we have any update?

Hello @nmangam001 ,
I updated the script to include more tests on the Update body request before sending it and also include a more detailed error message (hopefully).
Can you please run the script with -Debug -Verbose switches and run it again (using the updated version from #64
Thanks,
Assaf

Hello Asaf,
Thanks for reaching out. I get bad request error. Please find the attachment enclosed of the error
Error.txt

Hello @nmangam001 ,
I updated the script and tested it again after been able to reproduce the issue
Please test again
Thanks,
Assaf

Hello Asaf,
I just tested with the new code and get the same error:

Hi @nmangam001 ,
Thanks for testing, I will reopen the issue
This is actually a different error that could result of many other reasons
Running the script with -Debug and -Versobe could help us gewt me information on why this occured
Thanks,
Assaf

Sure. Please find the error attached.
Error.txt

Thanks for sharing @nmangam001
Since there is no additional information in this log that could help us resolve the issue and the error no longer seems to be related to the script, I suggest that you contact your Privilege Cloud Consultant or CyberArk support to continue investigating
Regards,
Assaf


Add user profile like on website

Profile with your torrents, notifications and profile settings.
We need to talk about this activity/fragment design and other shit 😄

I'm started writing user profile layout

preview: http://imgur.com/RxOjTID
and https://github.com/NyaaPantsu/NyaaPantsu-android-app/commit/e1ce60be62c08b51d6e04d4a35cf9c36a01f4941

Oh I like the design =D.

of couse instead many textview with "ur torrent" we will use recyclerview to display this from api etc

Yeah I got it. Just need to reuse what we have :')

I added Placeholder data from recent, what do you think? http://imgur.com/o0HGEG3,Mg3tGA6

btw where i find endpoints for api?

Yeah I like it =).
For the api, you have: https://dev.pantsu.cat/apidoc/

I have problem User.id always return 0. I want to use this ID to get user torrents. It would be a great idea to add more
endpoints to Nyaa api like /user/torrents which return all user torrents instead using /search/

xdk78 https://nyaa.pantsu.cat/api/search?userID=xx <= should return all user torrents

Ok, I fixed user ID https://github.com/NyaaPantsu/NyaaPantsu-android-app/commit/4d715d93fd42881d1d66e770a7d9c7f9ed0e4872


Mutability of sub-buffers

In my code I write to a sub-buffer. Due to https://github.com/kenba/opencl3/pull/27 this sub-buffer needs to be mutable. The buffer the sub-buffer is created from via Buffer::create_sub_buffer() doesn't need (in the Rust type system sense) to be mutable. Though it actually mutates.
I haven't encountered such a case myself in Rust yet, so I don't know if there are any good patterns how those things are usually solved.
This issue isn't really actionable, but I wanted to bring it up, in case someone has a good idea. So feel free to close the issue as "won't fix".

You raise an interesting point Volke. I don't know a Rust pattern for handling this situation either.
I shall leave this issue open as a question in the hope that someone does know a good solution for this situation.

A colleague of mine pointed me to https://docs.rs/bytes/1.0.1/bytes/index.html. I then also started to prepare a minimal example, to make the problem easier to understand for people that are not into OpenCl: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=2f92e740e64e415dc46474fc397da96f. It doesn't compile and it made me realize how things in pure Rust, without the FFI border would be.
So perhaps there needs to be a wrapper around cl_mem. Currently there is the ClMem trait, but that might not be enough. From just a cl_mem you can't really tell if the underlying data is mutable or not. I think by default a *mut c_void should alwasy be considered mutable. Though this would create an hard to use API, if you know that all you need read-only access only.
One way could be to replace the ClMem trait with two wrapper structs around cl_mem, an immutable and a mutable one (something along the lines of struct ClMem(cl_mem) and struct ClMemMut(cl_mem)). This distinction would then bubble up and you'd have a Buffer and a BufferMut. Functions that need a mutable buffer (like enqueue_write_buffer), would then require a mutable reference to the BufferMut type. Both buffer types would implement create_sub_buffer(). If you need a mutable sub-buffer, it needs to come from a BufferMut. This way you make sure that also the original buffer also was considered mutable.

Thank you Volker.
I think that you are correct. cl_mem needs both immutable and mutable traits like bytes in order to define immutable and mutable Buffers.
However, in addition to Buffer and BufferMut, this will also "bubble up" to Image and maybe Sampler too.
Note: I don't think that this should affect Pipe, since a Pipe must be mutable, however, it may have to in order to keep the API consistent.


chore: Export lint rules

if you're going to publish this, it should probably be in packages and not tools which only internal monorepo tooling

i think it makes sense in tools since it's just to share across other monorepos.


Usb type-C + type-A port (so-called shared ports) not working

Usb type-C + type-A port (so-called shared ports) not working, same it's working in Armbian latest release (hot and cold plug mode).

Not understood. Could you elaborate more please?

Means I tried r102 OpenFyde image on Orange PI 5 device, the usb-type c and vertical USB A port are shared (as per Orange PI document), they both no usable.
However I'm telling you it working perfectly or Amrbian Linux, official Orange OSes (including Android), may be you could take a look at how they did it.


(BOLT-1118) Add command to show available modules

This commit adds a bolt module show command that lists out each module path
in the Bolt environment, followed by the modules available and their versions
in a manner similar to puppet module list.

CLA signed by all contributors.

I think that we should exclude the modules we bundle with bolt. I guess that kind of hides some of the core puppet modules but the experience after packaging is not great.
root@wwg6boekoxa3csf:~# bolt module show
/opt/puppetlabs/bolt/lib/ruby/gems/2.5.0/gems/bolt-1.10.0/bolt-modules
boltlib   ???
ctrl      ???
file      ???
system    ???

/opt/puppetlabs/bolt/lib/ruby/gems/2.5.0/gems/bolt-1.10.0/modules
aggregate            ???
augeas_core          ???
canary               ???
cron_core            ???
facts                ???
host_core            ???
mount_core           ???
package              ???
puppet_agent         ???
puppet_conf          ???
puppetdb_fact        ???
python_task_helper   ???
reboot               ???
ruby_task_helper     ???
scheduled_task       ???
selinux_core         ???
service              ???
sshkeys_core         ???
yumrepo_core         ???
zfs_core             ???
zone_core            ???

I think that we should exclude the modules we bundle with bolt.

I disagree. One of the reasons I added this was to make it possible to easily locate the core modules in order to troubleshoot issues with them.

the experience after packaging is not great.

I also believe packaging of the core modules should retain metadata.json files. This has at least two benefits:

It lets users know which version they have bundled. This can be used to determine if a core module has a particular feature or is affected by a particular bug.

Having metadata.json with a populated dependencies field allows the Puppet module loader to optimize lookup of classes, functions, etc. This is important in larger environments as it means lookup times scale on the order of the dependency list instead of total modules installed in the environment.

Shipping the modules with their metadata.json seems like a win. The reason I was hesitant to expose where the bundled modules are is that for {task,plan} show we have not shown the bundled module paths. I think this is mostly to encourage users to NOT add modules in the packaged location.
root@wwg6boekoxa3csf:/opt/puppetlabs/bolt/lib/ruby/gems/2.5.0/gems# bolt task show
facts                    Gather system facts
package                  Manage and inspect the state of packages
puppet_agent::install    Install the Puppet agent package
puppet_agent::version    Get the version of the Puppet agent package installed. Returns nothing if none present.
puppet_conf              Inspect puppet agent configuration settings
reboot                   Reboots a machine
reboot::last_boot_time   Gets the last boot time of a Linux or Windows system
service                  Manage and inspect the state of services

MODULEPATH:
/root/.puppetlabs/bolt/modules:/root/.puppetlabs/bolt/site

Use `bolt task show <task-name>` to view details and parameters for a specific task.
root@wwg6boekoxa3csf:/opt/puppetlabs/bolt/lib/ruby/gems/2.5.0/gems# bolt task show facts

facts - Gather system facts

USAGE:
bolt task run --nodes <node-name> facts

MODULE:
built-in module

How about adding a disclaimer to the bundled module paths, such as:
/opt/puppetlabs/bolt/lib/ruby/gems/2.5.0/gems/bolt-1.10.0/bolt-modules
(these modules are bundled with bolt --- modifications will be overwritten on upgrade)
boltlib   ???
ctrl      ???
file      ???
system    ???

And "bundled_module": true in the JSON output.

Added a commit that implements the disclaimer for bundled module directories.  Let me know if it looks better or needs tweaking --- it's easy to revert or amend.

I really don't want people to see what that modulepath is. We've already run into issues with people trying to put modules in them

If we've run into issues from people putting modules in the internal paths, then that makes it more critical to have a command that can list out the contents of those paths --- so we can verify things are as expected.
I think the solution to this problem is user education. PE has the same sort of situation with the /opt/puppetlabs/puppet/modules and it is mostly a non-issue since users know that isn't a spot to be adding modules.

After thinking about this a bit more, I pushed an update that omits the internal module paths from the default output, but provides the info if --format json is requested.
Does this seem like a good compromise between keeping the paths from being an attractive nuisance, but making the information findable for those that need to troubleshoot Bolt and its built-in module content?

we bikeshedded and decide that this shouldn't clutter up the top level help text. The best we could come up with was bolt puppetfile show-modules

I do think we should show the plan language and bundled modules. I just don't think we should display the path to where they're installed. IMO This is better:

We also need to start including metadata.json in the package. But I'm ok merging this in first.
Plan Language Modules
boltlib   ???
ctrl      ???
file      ???
system    ???

/Users/adreyer/src/bolt/Boltdir/modules
puppetlabs/apt          5.0.1
puppetlabs/concat       4.2.1
puppetlabs/panos        0.2.0
puppetlabs/postgresql   5.7.0
simple                  ???
puppetlabs/stdlib       4.25.1
puppetlabs/vcsrepo      2.4.0

/Users/adreyer/src/bolt/Boltdir/site
data     ???
devbox   ???
rem      ???

Packaged modules
aggregate            ???
augeas_core          ???
canary               ???
cron_core            ???
facts                ???
host_core            ???
mount_core           ???
package              ???
puppet_agent         ???
puppet_conf          ???
puppetdb_fact        ???
python_task_helper   ???
reboot               ???
ruby_task_helper     ???
scheduled_task       ???
selinux_core         ???
service              ???
sshkeys_core         ???
yumrepo_core         ???
zfs_core             ???
zone_core            ???

Bolt.gemspec should be updated to include metadata.json too.

Sounds good to me. I've updated this PR with the requested changes.
I've filed BOLT-1129 and PR #870 for adding the metadata.json files.