Girlscript Summer of Code Introduction/Tracking

👋 Hi @swapnilsparsh ,
I am Prince,web developer Girlscript Summer of Code. I'll be collaborating with you on preparing your repo for GSSoC'24 Program
Why are these changes required?
After Analysing last year's contributions and feedback it would be great for students to have a couple of standard readme files on the repo to understand what the project is all about and some issues detailing what they can contribute. This will help you to see increased engagement in your repository as well.
As mentioned students get a chance to learn step by step, how to build this project as well as invite mentors to collaborate and add features to this repo. I will generate issues, which will provide guidance on how to prepare your repo for Girlscript summer of code 2024 on 10th May.
This issue will serve as a tracking issue to track all issues related to GSSoC'24. I recommend creating a new branch for every issue and opening a pull request to track changes so we can effectively collaborate with each other and merge changes when you and I feel like those changes are ready to be merged on your primary branch.
If you have any questions or concerns, please feel free to leave a comment on this issue or any of the other issues that are generated.
I look forward to working with you :octocat:

[x] #1154
[x] #1153
[x] #1152
[x] #1151
[x] #1150

Thanks for following the Guidelines, we will publish your project on the website by 9th May.
Mentors and Contributors will be assigned on 10th May.
Meanwhile any doubts you can reach out to  @sanjay-kv / https://www.linkedin.com/in/sanjay-k-v/


Pretty strange problem (keyboard fades out)

hi,
I downloaded behe keyboard from fdroid, it has a lot of potential, i liked it, but i'm now using hackers keyboard because of three issues:
-If i'm writing very fast and touch two fingers on the keyboard, it switches to arrows mode
-Not sure if there is some key that does this, the keyboard starts fading but it continues open, clicking on text box sometimes brings the keyboard back
-i cant open settings for the keyboard because it crashes system settings
I'm on lolipop 5.1, with a bq aquaris e5 fhd

Same here. I liked the keyboard for being simple and lightweight, but it keeps being transparent.
lineage 14 (android 7.1.2) - moto g4 play

Any way to reproduce this issue? I never experienced this,and it seems like a serious issue.

Swiping from left to right on the keyboard seems to reproduce this for me, sometimes typing fast does this too (maybe it's picked up as a swipe gesture)

I was using the fdroid version (1.0.2) as well

The crashing problem seems to be because i had google keyboard disabled (for some reason android does not deal very well with disabled keyboard)
The fading thing happens if i type pretty fast and sometimes if i switch  "mode"

I tried to record in this video: https://youtu.be/hW7qinWEG-g

It seems it was my fault. I've accidentally uploaded some testing code, that's why the issue was never present to the Google Play version, only on F-Droid. It was detecting the swipe and playing an animation. I fixed it now by  b0cf62c. The switch to arrow mode bug was also due to the swipe. Update the app, test it and tell me if there's any other problem that you find. Thanks!

that was the issue mentioned by me first

it seems to be fixed...
I recommend closing this issue


Added undocumented users.admin.invite method

The source documentation to invite users to a team.

This would close issue #86 as well.

Does this work even though not documented in the slack API?

It does work, yes, but it's not documented because it's not finalized.
https://github.com/slackhq/slack-api-docs/issues/30#issuecomment-137582387


I would like to ask you if the results described in the paper are all trained 5 times locally and iterated 500 times on the client side?

I would like to ask you if the results described in the paper are all trained 5 times locally and iterated 500 times on the client side?

You can reply here directly or email me, this is my email<EMAIL_ADDRESS>.
thank you!


purge unused storage

https://twitter.com/larry0x/status/1565461890897219584?s=20&t=jC-G_1uJePR-4jp4RiINxw
maybe this can be limited to creators or operators?

yeah something I've thinking specially for whitelists, and minters.

Should also change whitelists to work with merkle trees instead at some point.

Making separate issue for using merkletree for lists

On Sep 2, 2022, at 8:03 PM, shane.stars @.***> wrote:

Should also change whitelists to work with merkle trees instead at some point.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


PHP Warning using listFiles.

I used the following code snippet:
`
require_once('/home/ubuntu/googleCli/lib/vendor/autoload.php');
putenv('GOOGLE_APPLICATION_CREDENTIALS=/home/ubuntu/googleCreds3.json');

$client = new Google_Client();
$client->useApplicationDefaultCredentials();
$client->setSubject('fill_In@Subject.here');
$client->addScope('https://www.googleapis.com/auth/drive');

$service = new Google_Service_Drive($client);

$files = $service->files->listFiles('fill_In_Drive_Folder_ID_Here');

print_r($files);

`
And it did return the list of my files. However, it also output these warnings:

Warning: array_merge(): Argument #2 is not an array in /home/ubuntu/googleCli/lib/vendor/google/apiclient-services/src/Google/Service/Drive/Resource/Files.php on line 204
Warning: Invalid argument supplied for foreach() in /home/ubuntu/googleCli/lib/vendor/google/apiclient/src/Google/Service/Resource.php on line 136
Warning: Invalid argument supplied for foreach() in /home/ubuntu/googleCli/lib/vendor/google/apiclient/src/Google/Service/Resource.php on line 274

Nothing show-stopping, but I thought you'd like to know.

Looks like I had this issue misclassified. This warning is caused by your argument to listFiles. It needs to be in the form ['q'=> 'fill_In_Drive_Folder_ID_Here'] See https://developers.google.com/drive/api/v3/search-parameters for other 'q's.


branch::tests::name_is_valid failure

Hi,
I am trying to build git2-rs (MacOS 11.4, rustc 1.53.0) and get following:
$ cargo test
<snip>
failures:

---- branch::tests::name_is_valid stdout ----
thread 'branch::tests::name_is_valid' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: -1, klass: 0, message: "an unknown git error occurred" }', src/branch.rs:191:46
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    branch::tests::name_is_valid

test result: FAILED. 155 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s

Seems like binding to libgit2's git_branch_name_is_valid is somehow not resolved.
Am I doing something wrong?

This seems relevant: https://github.com/rust-lang/git2-rs/issues/721


Cannot Debug PWA using Chromium 96

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.63.0 (also 1.61 and 1.62)
OS Version: Windows 10 Pro 64 Bit 21H1 [Version 10.0.19043.1348]

Steps to Reproduce:

Start local static web server (e.g., npm http-server) at workspaceFolder
Launch vscode with all extensions disabled
Open PWA project
Launch debugger using Chromium 96
Observe PWA fails to load
In Dev Tools>Application>Service Workers, observe that service worker status is 'trying to install'
Close debugger
Launch debugger using Chromium 95 (or msedge 95)
Observe PWA loads successfully
In Dev Tools>Application>Service Workers, observe that service worker status is 'activated and is running'
Close vscode
Open Chromium 96 browser (standalone)
Enter local web server URL
Observe PWA loads successfully
In Dev Tools>Application>Service Workers, observe that service worker status is 'activated and is running'

Please see attached screencast for complete demonstration.
https://user-images.githubusercontent.com/46386951/145477423-212559b1-dd9d-4807-89de-ca5d4e5a04b4.mp4

@1John419

the attached screencast doesn't work for me.
what debugger do you mean in your step "Launch debugger using Chromium 96"? VS Code's builtin debugger or DevTools?

Yes, I notice the screencast is audio only on GitHub (not sure why). However, I found it does play correctly when downloaded.
I am referring to vscode's builtin debugger.

FYI, I found the same 'trying to install' issue on Ubuntu 20.04 LTS.

If it helps...
I've observed debugging Chromium 96, the web server does not receive a GET request for sw.js until AFTER the browser is closed.  I put in a temporary workaround however.


[WFCORE-6109] Drop source transformation for Elytron subsystem

Jira issue: https://issues.redhat.com/browse/WFCORE-6109

Hi @fjuma , looks green now, thanks!


fix(reword): Switch to the updated branch

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 10 (0.0%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.05%) to 29.204%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/bin/git-stack/reword.rs
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/bin/git-stack/reword.rs
1
0.0%

src/graph/branch.rs
2
58.19%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.05%

Covered Lines:
1629

Relevant Lines:
5578

💛  - Coveralls


Update cli docs

Add shareable stacks to cli docs. Currently, some stack components are explicitely mentioned, it might make sense for us to have one generic section about how to interact with stack components, in that section we should also mention the same things. Also we need to add teh ZenServer CLI commands there: zenml up, down, connect, etc.
Describe changes
I implemented/fixed _ to achieve _.
Pre-requisites
Please ensure you have done the following:

[ ] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] If I have added an integration, I have updated the integrations table and the corresponding website section.
[ ] I have added tests to cover my changes.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

@stefannica could you kindly add the up, down, connect, disconnect documentation


Frontend Redesign

So I finally got this great service running and i'm in love. I love good UIs so I started to make a concept to see if you guys would like it. I started to look at the react code and felt like it had a lot of components which most of UI frameworks already do. So, I decided to start it with Vue + Vuetify (It's the one i'm fastest in). If I could get some help with understanding the API i'm willing to revamp it completely as to not put burden on the main developers working on the backend. I hope we can make this better than google photos! 😄
Some improvements i'm thinking:

The almighty Dark mode (done)
Highlight for selecting faces for labeling. To not have to click 100 times.
More modern data visualization gui. I've used Charts.js and it works well.
Clicking menu takes you to default instead of having to choose "with timestamp" etc.
Sub menus on hover
Many faces on label instead of a list for quicker labeling.
Some Mobile friendliness
Collapse labeled faces

Here is a video:
https://youtu.be/VZwMPF_J9lU
Here is the code for anyone curious:
https://github.com/luisliz/librephotos-frontend/tree/vue-refactor
P.S. The importing and completed would disappear accordingly

@luisliz Thanks for the great redesign and the initiative! 👍  I like the new features. I like dark mode too, I like the wall layout instead of rectangles and I like that the search bar fills the whole top bar. I also like that the progress of the scanning is at the side.
I do however would prefer if you could work with the old frontend with react and improved it incrementally instead. The reasoning is that rewrites of complete apps are usually more expensive and lead to regressions. This is something I had to learn myself and others learned too. Unexpected things I can think of that the API is not documented and the JSON responses are not uniform, which will lead to a lot of headaches. There are probably more unknown Unknowns.

@luisliz Thanks for the great redesign and the initiative! 👍  I like the new features. I like dark mode too, I like the wall layout instead of rectangles and I like that the search bar fills the whole top bar. I also like that the progress of the scanning is at the side.
I do however would prefer if you could work with the old frontend with react and improved it incrementally instead. The reasoning is that rewrites of complete apps are usually more expensive and lead to regressions. This is something I had to learn myself and others learned too. Unexpected things I can think of that the API is not documented and the JSON responses are not uniform, which will lead to a lot of headaches. There are probably more unknown Unknowns.

I see what you mean and thinking about it implementing everything from scratch will definitely be a bigger headache which I underestimated at the time of posting.

I see what you mean and thinking about it implementing everything from scratch will definitely be a bigger headache which I underestimated at the time of posting.

I added the avatar on the right side :)

It looks great! Any update on this?

Add new layout for pictures and we now have a centered search bar.

Most of this issue is already implemented or is documented in other issues :)


Add support for Swift 2.0

I did this only to realize swipe sight beat me to the punch

can anyone send me a link what was changed for swift 2.0 from 1.2? So many changes.

@ekimia Thanks!!


feat: update to wagmi 0.9

Upgrading to wagmi 0.9!

plz update to wagmi 0.9

Currently blocked by this PR. The installation docs have you installing the latest 0.9 versions but there are huge compat issues.

wagmi 0.9.1 is out.
ps: why pnpm-lock.yaml is not committed?

wagmi 0.9.2 got released. Can we have this merged soon as some important features are missing now and blocking us from using it.

Thanks guys！


not explaining the usage process

create a detailed instructions document on workflow and usage methods

even after installation of active tables it is taking an incredible amount of time to understand the working sequence.

Hi @karsun666. Could you elaborate on what you need more clarification on?
Please note that Active Table is designed to work on as many frameworks as possible, hence it can be quite difficult to illustrate problem specific solutions as they can depend on the project it is implemented in.

hi @OvidijusParsiunas. I have been working on a project that involves activetables with the react framework and I have tried to change a few functions by understanding the flow. That is where I felt that these dependencies need to be structured and explained. At least there should be a general flow diagram to explain which function executes which action.
Example:- columns can be moved but there should be a set point that activates movable columns on clicking or when a column is in the "select" list property which function needs to be updated to get more options in list

Hi, could you be more specific wen you talk about functions/dependencies as I am unsure if you are referring to particular properties in our documentation or if you are referring to internal Active Table code.
In regards to movable columns, you can toggle this option using the isMoveAvailable property and for creating custom options for Select, please use the customColumnTypes to create a new column type.


dataset for VIST

Thanks for opensource!
I'm focusing on reproducing this work and notice that datasets include both VIST-SIS and VIST-DII. However the download script (vist_img_download.py) only suggest to download DII, while vist_hdf5.py only converts SIS.
My question is how to organize VIST-SIS/DII for training in detail.

Hi, vist-dii and vist-sis shares the same images but different captions. The vist_img_download.py file use only dii jsons, but it downloads the needed images for both vist-sis and vist-dii. vist_hdf5.py file also save both sis and dii captions into one hdf5 file, you can access them through sis and dii keys, as shwon in https://github.com/Flash-321/ARLDM/tree/main/data_script#L97-L100.

Cool!


This depends on a non-merged PR, so don't merge yet.

Build failed

build

I have a much improved version locally, so I'll create a new PR next week for this.


weak_type inconsistency causes jit recompilation

Each solver in JAXopt maintains a state, which contains a bunch of attributes, some of them are scalar-valued (e.g.,stepsize). In some solvers, the state returned by init_state and the state returned by update have inconsistent weak_type for some of these attributes, which triggers a JIT recompilation of update. This can be seen with the code example below (code by @fllinares):
import jax
import jax.numpy as jnp
import jaxopt
import sklearn.datasets
import functools
import time

def make_fun_with_aux(fun, dtype=None, has_aux=False):
  @functools.wraps(fun)
  def wrapper(*args, **kwargs):
    value = fun(*args, **kwargs)
    if dtype is not None:
      value = value.astype(dtype)
    aux = {'plus_one': value + 1.0, 'times_two': 2.0 * value}
    return (value, aux) if has_aux else value
  return wrapper

N_SAMPLES = 100
N_FEATURES = 20
N_CLASSES = 3
N_INFORMATIVE = 5

PARAMS_DTYPE = jnp.bfloat16
FUN_DTYPE = jnp.float32
HAS_AUX = True

data = sklearn.datasets.make_classification(n_samples=N_SAMPLES,
                                            n_features=N_FEATURES,
                                            n_classes=N_CLASSES,
                                            n_informative=N_INFORMATIVE,
                                            random_state=0)

init_params = jnp.zeros([N_FEATURES, N_CLASSES], dtype=PARAMS_DTYPE)
fun = make_fun_with_aux(
    jaxopt.objective.multiclass_logreg, dtype=FUN_DTYPE, has_aux=HAS_AUX)

solver = jaxopt.LBFGS(fun=fun, stepsize=1e-2, has_aux=HAS_AUX)
#solver = jaxopt.GradientDescent(fun=fun, stepsize=1e-2, has_aux=HAS_AUX)

update = jax.jit(solver.update)

data = jax.tree_map(jax.device_put, data)
state0 = jax.jit(solver.init_state)(init_params, data=data)
params0 = init_params

print("state0.stepsize.weak_type", state0.stepsize.weak_type)
print()

tic = time.time()
params1, state1 = update(params0, state0, data)
print('First call:', time.time() - tic)
print("state1.stepsize.weak_type", state1.stepsize.weak_type)
print()

tic = time.time()
params2, state2 = update(params1, state1, data)
print('Second call:', time.time() - tic)
print("state2.stepsize.weak_type", state2.stepsize.weak_type)
print()

tic = time.time()
params3, state3 = update(params2, state2, data)
print('Third call:', time.time() - tic)
print("state3.stepsize.weak_type", state3.stepsize.weak_type)
print()

tic = time.time()
params4, state4 = update(params3, state3, data)
print("state4.stepsize.weak_type", state4.stepsize.weak_type)
print('Fourth call:', time.time() - tic)

Output:
$ python recompilation_issue.py
state0.stepsize.weak_type False

First call: 0.5013151168823242
state1.stepsize.weak_type True

Second call: 0.463458776473999
state2.stepsize.weak_type True

Third call: 0.00026679039001464844
state3.stepsize.weak_type True

state4.stepsize.weak_type True
Fourth call: 0.0002238750457763672

What's happening: state0 is obtained from theinit_state call and is given as input to update. A first JIT compilation happens, withstate0.stepsize.weak_type = False.
Then update outputs a new state state1 with state1.stepsize.weak_type = True. When we use that state as input to update, a JIT recompilation happens since weak_type has changed. For the following calls to update, no recompilation occurs, since weak_type remains True.
Similarly to the dtype and aux consistency checks in common_test.py, we need to check weak_type consistency for each solver in a systematic manner, and make fixes if necessary.
@froystig Your opinion on the best way to fix would be welcome.

Similarly to the dtype and aux consistency checks in common_test.py, we need to check weak_type consistency for each solver in a systematic manner, and make fixes if necessary.

This sounds like the right fix to me. A change in weak type for a function input is like changing the dtype: it can change the function's behavior, and must trigger a re-compilation. If you want to avoid recompilation, you need to make sure the inputs of the second function call match the inputs of the first function call.

Thanks @jakevdp! I think I tracked down the inconsistency to this behavior:
>>> a = jnp.asarray(0.0, dtype=jnp.float32)
>>> a.weak_type
False
>>> a.dtype
dtype('float32')
>>> b = jnp.asarray(0.0)
>>> b.weak_type
True
>>> b.dtype
dtype('float32')

That is, when we explicitly specify dtype, weak_type is False, while weak_type is True if we don't explicitly specify dtype...

Yes, that's expected. Roughly, the mental model of "weak type" is that it's a value whose dtype has not been specified by the user. It's the mechanism that allows (x + 1).dtype == x.dtype to hold true within JAX code.

fixed by #458


SSLVerification

Hello,
Do you know where to get / how to install ssl certificates used by the package ?
SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)
Br
Nicolas

Are you using a self-hosted s3, or are you getting this from AWS? If the latter, make sure you have updated your system certs (certify, openssl, ca-certificates).

self hosteds3 in company, i should see with owners, do you have any options to disable ssl checks to test ? I tried with use_ssl=False or verify=False

There are many ways to do it, please see the botocore documentation. You may just want to set the AWS_CA_BUNDLE environment. use_ssl and verify seem to belong in the client_kwargs dict.

Awesome, thanks for support :)

In case of someone sees this, after checks, it can be fixed for windows os installing only python-certifi-win32 (i had to uninstall certifi before in my case and reinstall it after)


Describe examples explicitly for istioctl wait

https://istio.io/docs/reference/commands/istioctl/#istioctl-experimental-wait doesn't render the example the same way other commands do - likely because the example isn't in the right key.
I'll update the docs site once this is in.

@selmanj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
180429abbae30f11575c5ddc34202a76ef810ed7
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio

@selmanj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
180429abbae30f11575c5ddc34202a76ef810ed7
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@selmanj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
611489d2c16d245f1fce79a1090d604052a91894
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio

@selmanj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
611489d2c16d245f1fce79a1090d604052a91894
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@selmanj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
31733f64691d37a72e28742a2318422543c0c197
link
/test pilot-multicluster-e2e_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pilot-multicluster-e2e_istio


Event Request: codeunit 1002 "Job Create-Invoice" OnBeforeCheckCurrencyCreateSalesLine

Please could we have the following event added:
We need this to allow us to have multiple currencies on a Job, at Task level. Thanks
codeunit 1002 "Job Create-Invoice"
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckCurrencyCreateSalesLine(var Job: Record Job; var SalesHeader: Record "Sales Header" ;var SalesLine: Record "Sales Line"; var JobPlanningLine: Record "Job Planning Line";var JobInvCurrency: boolean; var IsHandled: Boolean)
begin
end;
local procedure CreateSalesLine(var JobPlanningLine: Record "Job Planning Line")
var
    Job: Record Job;
    Factor: Integer;
    IsHandled: Boolean;
begin
    OnBeforeCreateSalesLine(JobPlanningLine, SalesHeader, SalesHeader2, JobInvCurrency);

    Factor := 1;
    if SalesHeader2."Document Type" = SalesHeader2."Document Type"::"Credit Memo" then
        Factor := -1;
    TestTransferred(JobPlanningLine);
    JobPlanningLine.TestField("Planning Date");
    Job.Get(JobPlanningLine."Job No.");
    Clear(SalesLine);
    SalesLine."Document Type" := SalesHeader2."Document Type";
    SalesLine."Document No." := SalesHeader."No.";

    IsHandled := false;
    OnBeforeCheckCurrencyCreateSalesLine(Job,SalesHeader,SalesLine,JobPlanningLine,JobInvCurrency,IsHandled);
    if not IsHandled then
        if (not JobInvCurrency) and (JobPlanningLine.Type <> JobPlanningLine.Type::Text) then begin
            SalesHeader.TestField("Currency Code", JobPlanningLine."Currency Code");
            if (Job."Currency Code" <> '') and (JobPlanningLine."Currency Factor" <> SalesHeader."Currency Factor") then
                if Confirm(Text011) then begin
                    JobPlanningLine.Validate("Currency Factor", SalesHeader."Currency Factor");
                    JobPlanningLine.Modify();
                end else
                    Error(Text001);
            SalesHeader.TestField("Currency Code", Job."Currency Code");
        end;
    if JobPlanningLine.Type = JobPlanningLine.Type::Text then
        SalesLine.Validate(Type, SalesLine.Type::" ");

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53765.


Can it support accessibility？

Large companies like Tencent, whether in their business or social influence, should consider accessibility.

https://github.com/Tencent/tdesign/projects/1

这个进度看板主要是从开发侧的视角看待的，能否提供一个设计侧视角的看板呢@94dreamer

@pattybaby110  如上


Use regular Result name instead of __Result__

it's annoying + unnecessary

Are you able to return a rust Result<T, E> from a command?  I would like to use ? operator in commands, but thus far have had to create a custom CommandResult<T, E> which means no ? operator.

you should be able to? in 2.0 it's how we support typesafe error handling


[hi] localize service_mesh.md

This PR is Hindi localization of content/hi/service_mesh.md
ref: https://github.com/cncf/glossary/issues/270#issuecomment-1067948488
Please review the PR

The file created with wrong path


Path environment variable is not inherited

Hello! When I export PATH variable in my bash shell, Atom does not see it (it uses the default env for new shell). This causes for example the script package not to see my custom commands exported to the path.

Ditto neilsmind.  I'm on Yosemite and see the same thing.

If atom is opened from terminal by atom command, it inherits the env variables, but if opened from launchpad, it doesn't.

@sarim This is the standard behavior for OS X. See this StackExchange Question and Answer:
http://apple.stackexchange.com/questions/87282/in-mountain-lion-how-do-i-set-in-one-place-the-path-environment-variable-for-a/87283#87283

I see. I just put together a workaround.

Rename Atom.app/Contents/MacOS/Atom to Atom.bin
Create this script at Atom.app/Contents/MacOS/Atom

#!/usr/local/bin/bash -l
`dirname $0`/Atom.bin $@

chmod +x Atom.app/Contents/MacOS/Atom

Now it passes env for both terminal and launchpad.

If anyone comes across this, I made a ruby script to do it without having to do it yourself. Make sure you have ruby!
https://github.com/jamby/AtomGrepFix

I was having the same issues. However after running the  directory to the program in the terminal the IDE open and ran error free.
/usr/bin/atom


k_fold_cross_validation Throwing an Error

Hi there!
I was following along the example here for Model Selection.
The following code is featured:
print(np.mean(k_fold_cross_validation(cph, df, duration_col='T', event_col='E', scoring_method="concordance_index")))
*Issue #1: The use of duration_col='T' appears contrary to the documentation on the k_fold_cross_validation method found here. I believe this is correctly written as print(np.mean(k_fold_cross_validation(cph, df, 'T', event_col='E', scoring_method="concordance_index")))
*Issue #2: Whether or not I include duration_col= in k_fold_cross_validation, I receive the following error:
/usr/local/lib/python3.6/dist-packages/lifelines/utils/__init__.py in k_fold_cross_validation(fitters, df, duration_col, event_col, k, scoring_method, fitter_kwargs)
    773         for fitter, scores in zip(fitters, fitter_scores):
    774             # fit the fitter to the training data
--> 775             fitter.fit(training_data, duration_col=duration_col, event_col=event_col, **fitter_kwargs)
    776             scores.append(fitter.score(testing_data, scoring_method=scoring_method))
    777

/usr/local/lib/python3.6/dist-packages/lifelines/utils/__init__.py in f(model, *args, **kwargs)
     52         def f(model, *args, **kwargs):
     53             cls.set_censoring_type(model, cls.RIGHT)
---> 54             return function(model, *args, **kwargs)
     55
     56         return f
TypeError: fit() got an unexpected keyword argument 'duration_col'

I think this suggests that duration_col is mistakenly hard-coded somewhere in the package. I'll take a look, but I'm a relative newbie. Maybe I'm just doing something wrong?
Here's the code that I run
print(np.mean(k_fold_cross_validation(kmf, users, duration_col='T', event_col='E', scoring_method="concordance_index")))
print(np.mean(k_fold_cross_validation(cure_model, users, duration_col='T', event_col='E', scoring_method="concordance_index")))

I intend to close this issue since it was brought up here in Issue #571 .
TLDR; this isn't the intended use of univariate fitters.


python312Packages.boto3-stubs: 1.34.133 -> 1.34.134, python312Packages.botocore-stubs: 1.34.132 -> 1.34.134

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 322837 run on x86_64-linux 1

14 packages built:

aws-sam-cli
aws-sam-cli.dist
python311Packages.boto3-stubs
python311Packages.boto3-stubs.dist
python311Packages.botocore-stubs
python311Packages.botocore-stubs.dist
python311Packages.types-aiobotocore
python311Packages.types-aiobotocore.dist
python312Packages.boto3-stubs
python312Packages.boto3-stubs.dist
python312Packages.botocore-stubs
python312Packages.botocore-stubs.dist
python312Packages.types-aiobotocore
python312Packages.types-aiobotocore.dist


buddy_list: Ensure users are visible when hide_headers is true.

Discussion on CZO
Essentially, when hide_headers is true (when we're not showing a separate users list for the current narrow) we're actually still showing the "other users" section, just without its header. But the code that ensured that collapsed sections stay collapsed between narrows ended up hiding the list of users in the hide_headers view, which caused this bug. This adds some logic to make sure the list is always shown in these situations.

Makes sense, merged, thanks @evykassirer!


Documentation for programmatic API uses deprecated AbstractParseResultHandler

The documentation for the programmatic API, https://picocli.info/picocli-3.0-programmatic-api.html, shows coding using AbstractParseResultHandler. However the apidocs state that AbstractParseResultHandler is obsolete: https://picocli.info/apidocs/picocli/CommandLine.AbstractParseResultHandler.html
So should the programmatic API docs be updated for the non-deprecated way (or remove AbstractParseResultHandler)? Or is AbstractParseResultHandler really deprecated and that should be removed from the apidocs?

That is a good point, thank you!
AbstractParseResultHandler has been replaced by IExecutionStrategy in picocli 4.0. I have no plans to remove AbstractParseResultHandler from the library in the near future; I want picocli to be backwards compatible as much as possible.
That said, the docs need updating. Are you interested in providing a pull request to update the programmatic API guide for picocli 4.0?

@rbresalier There have been some updates. Can you check the latest version and provide feedback? Thanks!

Thanks @remkop ! It is a bit hard to review it because I first went to https://github.com/remkop/picocli/wiki/Programmatic-API, but that is not updated yet. So I clicked on the 3 commits and tried to read that, it does look like you updated it. Is there a page with the final result similar to https://github.com/remkop/picocli/wiki/Programmatic-API that I could review?
Some words about why and how I use the Programmatic API.
In my applications, I have a common library that adds and handles a few options that are common to all of my applications that use the library. Then each application adds its own custom options. So part of the options are specified in a common library, and others are specified in the application that uses the library.
I could not see how to accomplish this with the annotations API, it seems you can't have some options defined in one common source library and the rest of the options defined in custom applications. This is why I chose the programmatic API.
I'm also coming from Python using the argparse library, where I could handle common options quite easily, similar to CommandSpec and parseResult=parseArgs().
So the way I do this is:

Create a CommandSpec in the application
Application adds its options to CommandSpec
Application calls a function in the common library which does
3.1 Adds its common options to the CommandSpec
3.2 calls parseResult = parseArgs()
3.3 handles the common options, mainly setting some common flags and internal variables
3.4, Returns parseResult back to the caller application.
caller application handles its custom options by using parseResult

So using the whole "execute()" strategy wasn't really what I was after. I ended up preferring the parseArgs(). This is very consistent with how I do this in my python utilities, where I create an argparse object (similar to CommandSpec), then parse it (pr= argparse.parse_args()), and then deal with the pr in both my application and the common library.
I don't like having to create an "execute" function that will get called to handle my logic, it makes it harder to access the data from my calling class and the calling library class.
I much prefer the parseArgs way of doing things. So I would much rather the parseArgs method is shown in the beginning and not the execute(). The old handle() thing threw me off a little when I first started, and after I read the entire document and found parseArgs I saw that it was what I wanted. So I think that parseArgs in the main way folks who use the Programmatic API would want to do it, so should be mentioned first, and maybe later in the document discuss execute() as another way - I think it would be less popular.
I was originally exploring the old handler system when I found it out was deprecated and figured I could be a good citizen and report this. But I ended up not even using it.
A few other comments, and this is maybe going beyond the main topic of this issue, maybe I should create other issues?

If using the annotations API, the usage can show the default values. But in the programmatic API, you don't provide the default options ahead of time, so they can't be shown in the usage. I would like to have the default options shown somehow in the programmatic API.

If I have an enum option, there are a limited number of choices. I'd like to see those choices listed in the usage. Maybe this is also lacking in the annotations API, I didn't check?

I updated the wiki. It wasn’t maintained. It now points to the maintained document.
I need some more time to look at your additional comments.

@rbresalier Thank you for explaining your use case! The documentation for the programmatic API does not cover all of picocli’s features. Let me start with your questions:

To set a default value programmatically, use the defaultValue(String) setter method on the OptionSpec.Builder or the PositionalParamSpec.Builder.
With enum types, all values can be displayed in the usage help message by using the ${COMPLETION-CANDIDATES} variable in the description for that option or positional parameter. See the user manual https://picocli.info/#_enum_types for details. The examples in the user manual use the annotation API, but everything that the annotation API can do can also be done with the programmatic API.

About reusing common options: picocli offers mixins for this. Mixins make it possible to reuse options and positional parameters that are defined via the annotations API as well as the programmatic API.
I understand your preference for the parseArgs method. I arrived at the execute framework in an effort to remove boilerplate code from applications that use picocli. (The user manual has an example of what that boilerplate code could look like.) However, any framework has a learning curve and introduces a certain amount of magic.
The parseArgs method allows applications to use picocli as a library: it is lower level and may result in more code, but it is very explicit and the application is always in control.
I’ll take another look at the documentation for the programmatic API; your argument that people using this API may prefer to use picocli as a library (and use parseArgs) rather than as a framework (and use execute) makes a lot of sense.

Thanks for this great information @remkop !
The reason I was going to the wiki for the programmatic API is that it is the first link when you google search "picocli programmatic API". Its very good that you now have just a link there to take one to the official documentation.
I was obviously unaware of the mixin capability for the reusable options. It could be useful to make this more "discoverable". To make it more discoverable, I think it could be useful to add a one liner about creating reusable common options into the "Introduction" chapter of the main documentation and also the example in the quick guide so that a reader can become aware of it right away. The one liner could have a link to the more detailed documentation. I'm going to look into changing my application and my library to using the annotations with mixins as I think it is probably more readable.
Thanks for pointing out about showing the enum choices and default values - that is very helpful information!
My comments of the review for the updated programmatic API documentation:

In Chapter 1 example, there is a comment: "// set an execution strategy so we can call CommandLine.execute(args)"

I found it a little confusing. I see that ProgrammaticCommand::run() is called, not execute. Took me about 30 seconds to see that you were talking about the call to commandLine.execute(args) on the next line.
I would change the comment to:
`
// Setup subsequent commandLine.execute() call to invoke ProgrammaticCommand::run()
commandLine.setExecutionStrategy(ProgrammaticCommand::run);
// ProgrammaticCommand::run() will be called from inside commandLine.execute()
int exitCode = commandLine.execute(args);
`

When I saw the chapter on "Bindings" originally, I wasn't sure what it really meant. I think putting some examples of its usage could be helpful.

A general comment about "subcommands", when I first encountered this in the main documentation and also the programmatic API, I didn't know what you meant by subcommands, so it was hard to understand. Took me a small amount of time to figure it out. Maybe show an example first what it means, like invoking
application subcommand -a -b -c etc...
before going into how to use subcommands.

In 4.2 about "Execute Convenience Method" it says that it allows to reduce some boilerplate, but I'm not sure which boilerplate you are referring to? I don't see what boilerplate it removes from using parseArgs()?

@rbresalier I updated the Programmatic API manual based on your feedback.
It now mentions the more meaningful "Reusing Options with Mixins" instead of just "Mixins";  the subcommands section has some more explanation and gives the well-known git application as an example; I cleaned up the Bindings section to clarify that this is for advanced use cases; and I added an example of using the parseArgs method. Also various other improvements.
Please take a look.

We made significant improvements to the documentation for the programmatic API, so I am going to declare victory and close this ticket. Please feel free to create a new ticket if something comes up.


generate a longer video

Thanks for your wonderful work, but I have a question here, I modify the inference_1024_v1.0.yaml file, changing the video_length parameter from 16 to 32, and I run the gradio_app.py, I got the error: " size mismatch for image_proj_model.latents: copying a param with shape torch.Size([1, 256, 1024]) from checkpoint, the shape in current model is torch.Size([1, 512, 1024]).", can you show me how to generate longer video?

Hi. You can modify temporal_length=32 in inference_1024_v1.0.yaml and keep other parameters unchanged.
However, this will make the model perform differently between training and inference stages due to the model configuration and model design (fixed length of image context queries), resulting in degradation of motions. I show some examples here (inference time: 150s, Peak memory: 24G on a single A100 GPU):
https://github.com/Doubiiu/DynamiCrafter/assets/43002743/cf512981-c654-41d3-bace-5e0b4216ef68
https://github.com/Doubiiu/DynamiCrafter/assets/43002743/acc2b63f-4ac5-4d71-8f97-ba6f00f39f79
https://github.com/Doubiiu/DynamiCrafter/assets/43002743/f50fe522-6122-48f9-90c4-a51096fbd92c

Very grateful for your replay, I'll try!!!

Hi Doubiiu,i follow your instruction and change the unet_config.params.temporal_length to 32 in inference_512_v1.0.yaml, but it seems no work.

Hi Doubiiu,i follow your instruction and change the unet_config.params.temporal_length to 32 in inference_512_v1.0.yaml, but it seems no work.

Hi Sorry for the late reply. This is for the gradio demo. Have you solved the problem?

Hi. You can modify temporal_length=32 in inference_1024_v1.0.yaml and keep other parameters unchanged. However, this will make the model perform differently between training and inference stages due to the model configuration and model design (fixed length of image context queries), resulting in degradation of motions. I show some examples here (inference time: 150s, Peak memory: 24G on a single A100 GPU):
time-lapse_of_a_blooming_flower_with_lea.mp4
a_robot_is_walking_through_a_destroyed_c.mp4
pouring_beer_into_a_glass_of_ice_and_bee.mp4

Hello,Doubiiu, a really good work. I am sure I set temporal_length=32 in inference_1024_v1.0.yaml in gradio demo, but the output still remains 2 seconds instead of 4 seconds. I also tried to change the video_length=32, but it generated error size mismatch for image_proj_model.latents: copying a param with shape torch.Size([1, 256, 1024]) from checkpoint, the shape in current model is torch.Size([1, 512, 1024]). So how can I generate a longer videos like you do? please.


Crash loading fonts

Please provide a brief summary of the bug
We've had over 100 reports from users experiencing this crash with our application (Screaming Frog SEO Spider). In every instance of this crash the user has an Indian Locale and/or Timezone.
We've been lucky enough to have 1 of the users experiencing this issue work with us (we are unable to reproduce this ourselves) to help us produce a minimal program that reproduces the issue.
The crash when using the Adoptium version is: hs_err_pid6824.log.
The Oracle version works correctly and produces:

What we know:

This happens only to users with a an Indian Locale and/or Timezone
This doesn't happen to all users with Indian Locale and/or Timezone
This happens using the JDK from Adoptium, but not from Oracle.
Removing the line UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); prevents the crash from happening.

Please provide steps to reproduce where possible
Please see https://github.com/screamingfrog/adoptium-font-crash for a standalone repo that reproduces this issue.
There are two workflows - one that produces a version that compiles and run with the JDK/JRE from Adoptium, and one that does the same bug with Oracle. Both are using JDK 17.0.4.
Steps to reproduce are:

Download the build (Adoptium or Oracle from the first release)
Extract the zip which will produce another zip called adoptium-font-crash-1.0-SNAPSHOT-distribution.zip
Extract this zip.
Move into the folder adoptium-font-crash-1.0-SNAPSHOT
Double click the file run_me_windows.bat

Expected Results
An app like this appears

Actual Results
It crashes like this hs_err_pid6824.log
What Java Version are you using?
Java: Vendor 'Eclipse Adoptium' URL 'https://adoptium.net/' Version '<IP_ADDRESS>' Home 'C:\Users\Administrator\Documents\adoptium-font-crash-1.0-SNAPSHOT-distribution\adoptium-font-crash-1.0-SNAPSHOT\jre'
What is your operating system and platform?
Platform: Name 'Windows 11' Version '10.0' Arch 'amd64'
How did you install Java?
See windows-adoptium.yml workflow - I believe the zip, then the jre is produced using jlink.
Did it work before?
Unknown.

Did you test with other Java versions?
Yes, Oracle JDK, and that works.

Relevant log output
Log is too long to copy in: There was an error creating your issue: body is too long (maximum is 65536 characters).

I've done a second release that builds with a range of other JDKs to see if the issue is unique to Adoptium. Our very helpful user has kindly tested each of these for us and reported the following:
adopt-openj9
Good:

adopt
Bad, crashes 1-adopt_error_log-hs_err_pid34652.log
liberica
Bad: 3-liberica-hs_err_pid21228.log
oracle
Good:

temurin
Bad: 5_temurin-hs_err_pid28472.log
zulu
Bad: 6_zulu_log-hs_err_pid432.log

https://bugs.openjdk.org/browse/JDK-8295837


[WIP] Fix introspection - relations

WIP - do not merge. Yet to test this code with the chikook schema and schema outlined here.
This PR re-implements the introspection feature following an evolving spec based on the expected API outlined here and also based on feedback for pervious versions:-

Changelog Schema Gotchas.
Limitations when connecting an existing Postgres database #2377.

Apart from the outlined spec, this PR handles

Various scalar transformations.
Commenting out invalid types / fields.
Ambiguous relation mapping.

Other observation related to this feature:-

[ ] https://github.com/prismagraphql/prisma/issues/2605 - We still generate Int! type for bigint but the backend blows up.
[ ] The introspection generates id Int! @unique but the backend blows up for this field.

Since the spec evolved with this codebase, we need to test on various real schemas for validation.

[ ] Still need to handle self relations! from chinook schema an employee can have multiple employees (under him) and an employee can report to another employee. We need to mark these with @relation directive.

[ ] For the largeSchema.test.ts SQL. The following generated (and one another) type is failed by backend with the following error:-

      "message": "Syntax error while parsing GraphQL query. Invalid input \"\"staff_list\") {\\n  address: String\\n  city:
 String\\n  country: String\\n  id: Int\\n  name: String\\n  phone: String\\n  sid: Int\\n  zip c\", expected IgnoredNoComm
ent or ValueConst (line 195, column 32):\ntype Staff_list @pgTable(name: \"staff_list\") {\n

Also, this fixes: https://github.com/prismagraphql/prisma/issues/2781


removed extra spaces

Removed extra spaces

 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: SriRamLakshmiNarasimhan sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


There is no logout option.

For some reason the system thinks I'm logged in. While im not. But I cannot find a logout option to remove any cookies the system has set.

 Delete session cookies for now.

a 'feature', not a bug noted. ;)
Also, it has no secure connection. As mentioned on irc. haxors!

Also, it has no secure connection. As mentioned on irc. haxors!

And what would that hypothetical haxors get? Your username and the random password you've used?
Also I have a feeling that if I add self-made cert and turn SSL on there will be big cry "But chrome tells me it's insecure! It's even worse than before!" even though it would be more secure... Given people have no clue at all about security. This is also why all the other cdda web tools I did recently don't bother with SSL.


Switch from camptocamp/systemd to puppet/systemd

The module got migrated to a new namespace

Fixes https://github.com/solarkennedy/puppet-consul/issues/585


feat: Show packages that has vulnerability

so we know where the problem lies

Is there a readily-available source of module vulnerability information?

just stumbled upon this article while looking for something different and remembered this issue. maybe it might help?
GitHub Advisory Database now powers npm audit
Advisories are also available from the GraphQL API
nice work by the way!

@seagullgithub Good find, thanks!  I (or someone) will need to look into this to figure out how exactly to fetch potential advisories for a given graph.
Breadcrump: More detailed info about searching the database - https://docs.github.com/en/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/browsing-security-vulnerabilities-in-the-github-advisory-database#searching-the-github-advisory-database

This would be the right API, not GitHub’s
https://www.gyanblog.com/tutorials/how-node-npm-audit-rest-api-vulnerability/

Poking around with this, I'm getting a CORS error when I try to hit the NPM registry endpoint for audits (/-/npm/v1/security/audits/quick).  It's possible I'm doing something wrong in the client, but if not we'll need to proxy these requests through a cloud function of some sort.

a cloud function of some sort.

Since we're on Vercel, it should be super easy to implement. However they would be limited by an API key usage and it could lead to abuse if not properly dealt with. So it's up to you to decide whether it's worth it.

Overall, since vulnerabilities are for a specific version, I don’t think it's particularly useful to display them here. A regular install would probably be best and npm audit fix might be an easier solution to just deal with them, if necessary.

maybe doing npm i --package-lock-only on the package file uploaded followed bynpm audit.
Then parse the audit output for info we need to show on npmgraph...for example red color for Severity:critical packages etc.
The output also has the info regarding the dependency tree and URL link to advisory note on github.
sample npm audit output
lodash  <=4.17.20
Severity: high
Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
Command Injection in lodash - https://github.com/advisories/GHSA-35jh-r3h4-6jhm
fix available via `npm audit fix`
node_modules/newman/node_modules/lodash
node_modules/postman-collection-transformer/node_modules/lodash
node_modules/postman-collection/node_modules/lodash
node_modules/postman-runtime/node_modules/lodash
node_modules/postman-sandbox/node_modules/lodash
node_modules/uvm/node_modules/lodash
  newman  >=2.1.1
  Depends on vulnerable versions of async
  Depends on vulnerable versions of lodash
  Depends on vulnerable versions of mkdirp
  Depends on vulnerable versions of postman-collection
  Depends on vulnerable versions of postman-collection-transformer
  Depends on vulnerable versions of postman-request
  Depends on vulnerable versions of postman-runtime
  Depends on vulnerable versions of semver
  Depends on vulnerable versions of word-wrap
  node_modules/newman
  postman-collection  <=4.1.7
  Depends on vulnerable versions of lodash
  Depends on vulnerable versions of marked
  Depends on vulnerable versions of semver
  node_modules/postman-collection
    postman-runtime  *
    Depends on vulnerable versions of async
    Depends on vulnerable versions of crypto-js
    Depends on vulnerable versions of handlebars
    Depends on vulnerable versions of httpntlm
    Depends on vulnerable versions of lodash
    Depends on vulnerable versions of node-oauth1
    Depends on vulnerable versions of postman-collection
    Depends on vulnerable versions of postman-request
    Depends on vulnerable versions of postman-sandbox
    Depends on vulnerable versions of postman-url-encoder
    Depends on vulnerable versions of tough-cookie
    node_modules/postman-runtime
    postman-url-encoder  2.1.0-beta.1 - 2.1.3
    Depends on vulnerable versions of postman-collection
    node_modules/postman-runtime/node_modules/postman-url-encoder
  postman-collection-transformer  0.1.0 - 3.3.2
  Depends on vulnerable versions of lodash
  Depends on vulnerable versions of semver
  node_modules/postman-collection-transformer
  postman-sandbox  <=3.5.9
  Depends on vulnerable versions of lodash
  Depends on vulnerable versions of tough-cookie
  node_modules/postman-sandbox
  uvm  1.0.0 - 1.7.8
  Depends on vulnerable versions of lodash
  node_modules/uvm

tough-cookie  <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
fix available via `npm audit fix`
node_modules/postman-runtime/node_modules/postman-request/node_modules/tough-cookie
node_modules/postman-runtime/node_modules/tough-cookie
node_modules/postman-sandbox/node_modules/tough-cookie
node_modules/tough-cookie
  postman-request  *
  Depends on vulnerable versions of tough-cookie
  node_modules/postman-request
  node_modules/postman-runtime/node_modules/postman-request
    newman  >=2.1.1
    Depends on vulnerable versions of async
    Depends on vulnerable versions of lodash
    Depends on vulnerable versions of mkdirp
    Depends on vulnerable versions of postman-collection
    Depends on vulnerable versions of postman-collection-transformer
    Depends on vulnerable versions of postman-request
    Depends on vulnerable versions of postman-runtime
    Depends on vulnerable versions of semver
    Depends on vulnerable versions of word-wrap
    node_modules/newman
    postman-runtime  *
    Depends on vulnerable versions of async
    Depends on vulnerable versions of crypto-js
    Depends on vulnerable versions of handlebars
    Depends on vulnerable versions of httpntlm
    Depends on vulnerable versions of lodash
    Depends on vulnerable versions of node-oauth1
    Depends on vulnerable versions of postman-collection
    Depends on vulnerable versions of postman-request
    Depends on vulnerable versions of postman-sandbox
    Depends on vulnerable versions of postman-url-encoder
    Depends on vulnerable versions of tough-cookie
    node_modules/postman-runtime
  postman-sandbox  <=3.5.9
  Depends on vulnerable versions of lodash
  Depends on vulnerable versions of tough-cookie
  node_modules/postman-sandbox

underscore  1.3.2 - 1.12.0
Severity: critical
Arbitrary Code Execution in underscore - https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
fix available via `npm audit fix`
node_modules/underscore
  httpntlm  1.5.0 - 1.7.6
  Depends on vulnerable versions of underscore
  node_modules/httpntlm
    postman-runtime  *
    Depends on vulnerable versions of async
    Depends on vulnerable versions of crypto-js
    Depends on vulnerable versions of handlebars
    Depends on vulnerable versions of httpntlm
    Depends on vulnerable versions of lodash
    Depends on vulnerable versions of node-oauth1
    Depends on vulnerable versions of postman-collection
    Depends on vulnerable versions of postman-request
    Depends on vulnerable versions of postman-sandbox
    Depends on vulnerable versions of postman-url-encoder
    Depends on vulnerable versions of tough-cookie
    node_modules/postman-runtime
      newman  >=2.1.1
      Depends on vulnerable versions of async
      Depends on vulnerable versions of lodash
      Depends on vulnerable versions of mkdirp
      Depends on vulnerable versions of postman-collection
      Depends on vulnerable versions of postman-collection-transformer
      Depends on vulnerable versions of postman-request
      Depends on vulnerable versions of postman-runtime
      Depends on vulnerable versions of semver
      Depends on vulnerable versions of word-wrap
      node_modules/newman

word-wrap  <1.2.4
Severity: moderate
word-wrap vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-j8xg-fqg3-53r7
fix available via `npm audit fix`
node_modules/word-wrap
  newman  >=2.1.1
  Depends on vulnerable versions of async
  Depends on vulnerable versions of lodash
  Depends on vulnerable versions of mkdirp
  Depends on vulnerable versions of postman-collection
  Depends on vulnerable versions of postman-collection-transformer
  Depends on vulnerable versions of postman-request
  Depends on vulnerable versions of postman-runtime
  Depends on vulnerable versions of semver
  Depends on vulnerable versions of word-wrap
  node_modules/newman

41 vulnerabilities (23 moderate, 11 high, 7 critical)


v1.0.0

v1.0.0
Extension now works with Jupyterlab 3.0

@lmcnichols @ryuntalan can one of you approve this? this new version makes us compatible with Jupyterlab 3.0!


Implement fix for sles linux integ-test

Description of the issue
EC2 Linux SLES integ-tests were failing due to the test checking for the docker0 interface dimension for the net plugin on all EC2 instances.
SLES versions of Linux do not publish net metrics to docker0. They only publish to the eth0 interface dimension.
Description of changes
This change passes the OS using terraform, allowing us to check for the eth0 dimension when it's an SLES version of Linux
 {
  "test_dir": "./test/metric_value_benchmark",
  "os": "sles-15",
  "family": "linux",
  "testType": "ec2_linux",
  "arc": "amd64",
  "instanceType": "t3a.medium",
  "ami": "cloudwatch-agent-integration-test-sles-15*",
  "binaryName": "amazon-cloudwatch-agent.rpm",
  "username": "ec2-user",
  "installAgentCommand": "go run ./install/install_agent.go rpm",
  "caCertPath": "/etc/ssl/certs/ca-bundle.crt",
  "values_per_minute": 0,
  "k8s_version": "",
  "terraform_dir": "",
  "useSSM": false
 },

License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Tests
Successfully tested by running the workflow

I was curious how the other tests are working with the docker0 interface since that isnt something available typically by default. And just noticed we have a docker component baked into our AMIs - which is missing from the SLES ones. So we should update those and not need these OS level overrides in code.


Request for Menu

Hello,
Can we have the ability to use the Laratrust package with the menu to use permissions instead of just the Laravels Gate using can?
Example...
'menu' => [
    'MAIN NAVIGATION',
   /*[
            'text' => 'Blog',
            'url'  => 'admin/blog',
            //'can'  => 'manage-blog',
            'permission' => 'blog.*',
        ],*/
 ...
],

I will not include support for Laratrust out-of-the-box. However, your request leaded to an architectural refactor that makes it easy to add this yourself: if you upgrade to version 1.13, you can add your own menu filters.
Create a class that implements JeroenNoten\LaravelAdminLte\Menu\Filters\FilterInterface, for example:
<?php

namespace MyApp;

use JeroenNoten\LaravelAdminLte\Menu\Builder;
use JeroenNoten\LaravelAdminLte\Menu\Filters\FilterInterface;

class MyMenuFilter implements FilterInterface
{
    public function transform($item, Builder $builder)
    {
        if (isset($item['permission'] && Laratrust::can($item['permission'])) {
            return false;
        }

        return $item;
    }
}

Then in adminlte.php, make sure you add your filter to the filters key:
    'filters' => [
        JeroenNoten\LaravelAdminLte\Menu\Filters\ActiveFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\HrefFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\SubmenuFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\ClassesFilter::class,
        JeroenNoten\LaravelAdminLte\Menu\Filters\GateFilter::class,
        MyApp\MyMenuFilter::class,
    ]


[FOR REVIEW] Visual Studio Extension for managing Bot Configuration

Proposed Changes
Adds a Visual Studio Extension project for managing Bot Configuration in any VS Project file.
The extensions consist of a Wizard tool which allows the users adding a .bot file into a specific VS Project, where they can:

define the Bot Name
declare one Bot Endpoints, specifying its Name, URL, AppID, AppPassword (it will scale for allowing to add more than one)
Encrypt the .bot file

Future features:

Add more than one Endpoint
Add more than one Service (QnA, Luis, Dispatch, etc)
Store the Bot Configuration information in an appsettings.json file (for the non sensitive information) along with secret.json (using secret manager) for the sensitive information (appPasswords)

Here are some Screenshots of the extension Wizard:

Here the user will specify additional information like the bot configuration filename.

Endpoints: allows defining multiple endpoints for the bot configuration file, specifying the name, URL, appID & appPassword (these last two might be optional)

Services window: similar to the previous one, but allows adding any kind of service (QnA, Luis, etc)

Encryption: allows users to encrypt the bot configuration. If they decided to do it, the encryption key will be shown only once.

Testing
First, go to {your repository directory}/generators/vsix-vs-win/BotConfigurationWizard and open the BotFileCreator.sln solution
Then, there are two alternatives
Alternative A

Build the VSIX project
Go to bin/debug folder under your project's directory and run the BotFileCreator.vsix file to install the extension in your Visual Studio (NOTE: first, ensure your Visual Studio instance is closed)
Once the extension is installed, open any VS project file
After the project is loaded, right-click on it and select the Create Bot File option in the context menu. It will open the VSIX Wizard

Alternative B

Build the VSIX project
Run the project. It will open a Visual Studio Experimental Instance
In the Experimental instance, open any VS Project file.
After the project is loaded, right-click on it and select the Create Bot File option in the context menu. It will open the VSIX Wizard

This picture shows the context menu option for starting the Extension's Wizard:

@cleemullins do we still need this? I think not since we moved away from .bot files

@cleemullins can you drive this to closure?  assuming we won't take this work.


New sidebars lost section title color

I might be mistaken, but I think the title bars for each section in the side panels used to have a background color to easily separate each section. If I'm mistaken, I still think it would look a lot better to have a visual aid for this.
Here's what I currently see on my Mac pointing out the sections I am talking about. You can imagine with terminal output and debug output, the sections seem to blend together at-a-glance because it's just a solid color in the whole panel.

I think it looked something more like this on each title before:

Hi! Having separators between sections indeed looks a lot better! 😄  Also it is a very minimal change. It's subtle, but I think it goes well with the theme.
Before:

After:

Looks great!!

Released in the marketplace 🙌🏻

So am I crazy or did the VSCode 1.66 update that just released change the side panel for the terminal? The background color is now the same as the text editor background and the section titles have a background color on them too. I actually like the color used on the right-side title bars.
I noticed this stuff before installing your theme fork. Is this what yours looks like on the latest version of VSCode?


"Grecești" is listed in the drop-down menu

Description:
"Grecești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Grecești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Grecești, DOLJ".


[Misc]: benchmark_serving with image input

Anything you want to discuss about vllm.
Can the current benchmark_serving.py be used with Multimodal LLM (llava) and image input? The existing code send the request in the following format in backend_request_func.py, Is it possible to make it support image input?
        payload = {
            "model": request_func_input.model,
            "messages": [
                {
                    "role": "user",
                    "content": request_func_input.prompt,
                },
            ],
            "temperature": 0.0,
            "max_tokens": request_func_input.output_len,
            "stream": True,
        }
        headers = {
            "Content-Type": "application/json",
            "Authorization": f"Bearer {os.environ.get('OPENAI_API_KEY')}",
        }

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

@DarkLight1337 Hello, I saw that you are working on incorporating multimodal into the offline chat. I'm trying to send image input through the benchmark_serving.py while having an openai_api server running in the backend, is this something already being supported? If not? Could you give some suggestions on how to add these features? Thanks!

You just have to follow the standard OpenAI API (in particular the Vision part in Chat Completions API) when sending the request.

Hey @Mrxiangli! Thanks for your interest in adding a benchmark for VLMs!
You'll have to modify backend_request_func.py to add a request generator specifically for OpenAI Vision API for VLMs (which shouldn't be a big change other than the payload) since currently the benchmark assumes text-only input. Feel free to ping me whenever you have something ready!


Publish .deb and .rpm in releases

See https://github.com/cdr/code-server/issues/1306

Should make sure to include a systemd service file.

Done, see README for installation examples.


Migrate to 09/16

Closing this because it's not clear if we are definitely going to keep migrating to new snapshots.


Add 2 Free Programming Books and 2 Free Online Programming Courses

I'd like to suggest adding two free programming books and two free online programming courses to the repository.

Book: Eloquent JavaScript (3rd Edition)
Link: https://eloquentjavascript.net/
Description: Eloquent JavaScript is a highly respected book for learning JavaScript, both for beginners and advanced developers. The entire book is available online for free, and it covers topics such as basic programming concepts, control structures, and advanced JavaScript features.
Why it’s free: The book is published online by the author and accessible without any sign-ups or email registration.
Book: Python for Everybody (Exploring Data Using Python 3)
Link: https://py4e.com/book
Description: Python for Everybody is a book that introduces the Python programming language with a focus on data handling. It’s a great resource for beginners and includes exercises to practice your skills.
Why it’s free: The book is freely available on the official site of the author and can be accessed without any registration.
Course: Harvard's CS50 - Introduction to Computer Science
Link: https://cs50.harvard.edu/x/
Description: This is Harvard University's introduction to the intellectual enterprises of computer science and the art of programming. The course provides a thorough understanding of the basics of programming and computer science principles, accessible for free through edX.
Why it’s free: Harvard offers this course for free on edX, with the option to pay for a certificate if desired.
Course: The Odin Project - Full Stack JavaScript
Link: https://www.theodinproject.com/paths/full-stack-javascript
Description: The Odin Project is an open-source, full-stack curriculum that helps learners build strong web development skills, with an emphasis on JavaScript. It includes exercises and projects for hands-on learning.
Why it’s free: The entire curriculum is free, with no sign-up required, and the website encourages an open-source learning experience.

I think we have all these - please check

Books and Courses
1."Dive Into Python 3" by Mark Pilgrim
This book is a comprehensive guide to Python 3, targeting experienced programmers who want to learn Python quickly. It covers advanced topics like decorators, generators, and more.
https://freecomputerbooks.com/Dive-Into-Python-3.html
2."Programming Principles and Practice Using C++" by Bjarne Stroustrup
This book is written by the creator of C++. It’s designed for beginners and covers both the fundamentals of programming and the principles of software development.
https://www.codewithc.com/programming-principles-and-practice-using-c-pdf-bjarne-stroustrup/
3.edX: CS50’s Introduction to Artificial Intelligence with Python
This course teaches the foundational concepts of AI, covering topics such as search algorithms, neural networks, and machine learning, using Python.
https://www.edx.org/learn/artificial-intelligence/harvard-university-cs50-s-introduction-to-artificial-intelligence-with-python?index=product&queryID=0f6f2ad30f4423c1948a7ae635fcbe9f&position=1&linked_from=autocomplete&c=autocomplete
4.Udacity: Intro to HTML and CSS
This free course is perfect for beginners looking to learn the basics of web development. It covers HTML and CSS to build stylish and responsive web pages.
https://www.udacity.com/course/intro-to-html-and-css--ud001
Bonus :-
"Namaste JavaScript" is an excellent resource for anyone looking to deepen their understanding of JavaScript.
https://namastedev.com/learn/namaste-javascript

Hello!
I would like to contribute by adding two free programming books and two free online programming courses to our resources. Here are my suggestions:
Free Programming Books:

"The Art of Computer Programming" by Donald E. Knuth
Link: http://broiler.astrometry.net/~kilian/The_Art_of_Computer_Programming - Vol 1.pdf
A comprehensive series covering algorithms and programming techniques, is considered a classic in the field.
This greatly helps programmers as it has all the algorithms in one place. This is the link for Vol1, I can gather all other available volumes and add to the resources.

"Effective Modern C++" by Scott Meyers
Link: https://www.google.co.in/books/edition/Effective_Modern_C++/ZDhIBQAAQBAJ?hl=en&gbpv=1&kptab=getbook or I also have a google drive link for the pdf and here it is
Drive link: https://drive.google.com/file/d/1QXuMGPpVtW4Oug6tPYhfWrH6HVXbGIXY/view
A practical guide to C++11 and C++14, offering insights and best practices for writing efficient and maintainable code.
This is really a very good book to read.

Free Programming Courses:

Great Learning
Link: https://www.mygreatlearning.com/coding/free-courses
Free coding courses covering popular languages like C, Python, PHP, Java and more. Students can learn the basics of coding, practice with algorithms, and earn certificates.

Khan Academy - Computer Programming
Platform: Khan Academy
Link: https://www.khanacademy.org/computing/computer-programming
A series of courses covering JavaScript, HTML/CSS, SQL, and other programming concepts with interactive coding challenges.

@yaswika0311 Please don't recommend books that aren't free.

Closing this issue because our workflow is to propose a pull request first. This forces the contributor to see if we already have the suggested books.


Required modules

i think that you forgot add "dgram" and "os" as dependencies?
Btw all test give me "ERROR Error: bind EADDRNOTAVAIL <IP_ADDRESS>" (my device is in that ip)

Hmmm! Interestingly on my machine (<grin> yes, I know, but it's still very early stages) it doesn't seem to need them to be declared explicitly. But .. have added os to the dependencies anyway.
For dgram, npm gives this message:

npm WARN deprecated<EMAIL_ADDRESS>npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.

On that basis I've left it out for now but if you find you do actually need it declared let me know and I'll add it in. I'll dig into this a bit further - it may be that it was needed for NodeRED but is not actually required for NodeJS.
re. ERROR Error: bind EADDRNOTAVAIL <IP_ADDRESS>. The bind address should be the IP address of the machine (laptop/desktop/whatever) that is running the NodeJS application. You can generally set it to <IP_ADDRESS>, but depending on how your network is set up you sometimes need to bind it to the IP address of a specific interface (e.g. it's set to <IP_ADDRESS> at the moment for my LAN).
If <IP_ADDRESS>doesn't work and you still have a problem, could you run ipconfig (ifconfig on Windows) and post the output?

with <IP_ADDRESS> it works perfect!, I thought that was the ip address of the uhppoted device, but I already understood that it really does is a broadcast scan to get the correct device.
Thank you so much! and please, post a link of "buy me a coffee" or similar .. you really deserve donations!

Ah! Great!!! That's good news! I'll fix the examples so that they aren't dependent on my network setup.
re. broadcast. Yup, the UHPPOTE protocol is essentially designed around UDP broadcast. It's possible to use directed UDP too but requires additional configuration information for each controller so using broadcast is generally simplest.
re. coffee. Awww, thanks :-) :-) .. if the maintenance on this project ever gets out of hand I'll do something like that but for the moment I'm just happy that people are finding it useful.

Hi,
Quick heads up - have renamed the module name in package.json from uhppoted-nodejs to uhppoted so you may need to update your imports (apologies!).
And have reworked the examples so that the bind (and broadcast, listen, etc) defaults are more generic and can be set from the command line.
The default values are now:

bind: <IP_ADDRESS>
broadcast: <IP_ADDRESS>:60000
listen: <IP_ADDRESS>:60001


Remove deleted policies from speeches

https://trello.com/c/FsV8hMDm/625-speech-migration-final-failing-sync-checks-0-17
This data migration removes the policy content ids from speeches
where the policy no longer exists in policy publisher.

@gpeng updated to destroy EditionPolicy records.


Add page load timeouts to web tests

Some googling shows other people are having similar problems:
https://www.google.fi/search?q=selenium+hang+travis
This one contains a potential solution --- set up timeouts, and just retry on failure: https://stackoverflow.com/questions/29108260/geb-selenium-tests-hang-loading-new-page
Related to gh-287
EDIT: also avoid shutting down the preview web server in a way that can block. I managed to reproduce a hang at this point, so best to do this defensively. I'm not sure, but perhaps phantomjs kept connections alive sometimes and prevented the server from shutting down; at the same time, the main process cannot send new instructions to phantomjs because it's waiting for the http server to exit -> deadlock (until socket timeout)?

Going to merge, this one should be OK.


Fix text files constantly asking for reload as no last modified time

Text files were constantly asking to be reloaded as the last modified time was never being set. As a result it though that the file had been changed on disk.

Thanks!


Integrate with SMTP server

When a match is found, the script should send an email and exit.

https://pythoninoffice.com/send-gmail-using-python/


Improve Travis CI build Performance

Caching Dependencies and Directories Travis CI can cache content that does not often change, to speed up the build process.
According to the official document Fast Finishing, if some rows in the build matrix are allowed to fail, we can add fast_finish: true to the .travis.yml to get faster feedbacks.
If there are any inappropriate modifications in this PR, please give me feedback and I will change them.

@YunLemon Please also consider submitting a similar impriovement to https://github.com/apache/httpcomponents-core

I have open a PR https://github.com/apache/httpcomponents-core/pull/298

I have created a PR https://github.com/apache/httpcomponents-core/pull/298


Blur pseudo property

Problem
I'm currently developing a project where users can submit their own themes, however currently it is not possible to create a glassmorphism theme, because there is no pseudo _blur property.
Solution
Just like the _hover and _text pseudo property, there should be an option to specify a background blur effect:
https://github.com/Kureev/react-native-blur

Alternatives
I could instead manually wrap every component inside a native base factory, but this is not very feasible.
Implementation
I'm willing to create a PR if this feature request will be approved. Let me know if I have to watch out for certain things other than the COC and contribution guide.
If the _blur property is specified it should get passed to the BlurView of @react-native-community/blur, which will wrap the element.

I'm but this feature can't be added soon, as it requires a third-party dependency which we're not looking forward to adding.
But you can create a custom component that uses BlurView and relies on _blur prop to render it or not. The code will look something like
const MyBlurComponent = ({children, _blur}) => {
  return _blur ? <BlurView {..._blur}>{children}</BlurView> : children
}

And if you want you can use the factory functioned version of BlurView instead.


manage user's wishlist of courses

Feature Request
Unsupported use case
Right now, when a course has no session or all sessions have no place left, a user cannot sign for the course or show his interest in the course.
The solution
When a course has no session or all sessions have no place left, the interface of Richie will display a button "Notify me" (see screenshot bellow).
When a user click on this button, the course will be added in the user's wishlist for courses in Joanie.
When a user has a course in his wishlist, he can also remove his interest, by clicking on a button with a label like "Stop notifying me"
We need to implement in Joanie:

model of a wishlist (FK user, FK course, a status "notifed"/"not notified"),
endpoint to add the course in the user's wishlist,
endpoint to remove the course in the user's wishlist,
endpoint to list all the courses of a user's wishlist,
Django command that send email to users when the course has a new session available or new places left. The email sent need a direct authenticated link to register into the corresponding course and a link to remove his interest.

Questions and notes according this new feature:

~Do we need an endpoint to list the courses of a user's wishlist.~ YES How a user can see all the courses he shows his interest for ?
Do the user received one email by courses in his wishlist or we need to send all courses in one email ? one email by courses
If the user click on the link to register to the course of his email but unfortunately there is no session anymore, we need to display an error page with the explanation. (maybe this case is already handle by Richie) ** we will put the link to the syllabus of the course to avoid registration problem if there is no place left**
Do not forget to remove a course from the user's wishlist after he register in course's session.
Define if the command is run manually or the frequency of the CRON. teacher will have a button to activate the sending of wishlist registration emails, and the actual emailing will be sent at night by a CRON
new note, think how to modelize if a user as recieved the registration email by course_run and not course only

I will work on the implementation.

. teacher will have a button to activate the sending of wishlist registration email

Maybe use the word "trigger" instead of "activate". Should we materialize sendings in a model to keep track of them? We could then automatically detect a new session or availability of a course and create a new line in this table which will then wait for the manual confirmation of the course manager before actually sending the emails?

Usine à field "last_notification_date" would give us more informations than a boolean "has_been_notify"

So last_notified_on or last_notified_at with a datetime?

Let's say last_notification_datetime, that's tell us what's in it.
My point is to save a datetime instead of a boolean. We can found many good naming.


ADR-1460

Ticket ADR-1460. What I did is create a new action that checks if the user is registered as an organisation. If this is the case then when clicking the sign out button, everything works the same as it currently is. If the user is NOT an organisation, then we will not try and identify them, and just redirect them to the sign out url without trying to remove the lock on their account (because in this case they would not have the lock, because they are not signed in and do not have associated AppaIds). Apart from this, the functionality is the same.

impl done wrong (not checking enough perquisites. new PR checks that all auth is done before releasing the lock: https://github.com/hmrc/alcohol-duty-returns-frontend/pull/236


resolver interface

It would be nice when writing resolver to have an abstract interface to follow like  the way its done in libp2p.

@wanderer you mean -> https://github.com/ipld/interface-ipld-format?


I want to adjust the photo processing strategy after taking photos, I don't want the photos taken to be synchronized to the album to show up, what adjustments do I need to make?

Hello @artillerymans, if I understood correctly, you can get the image as a byte array and apply your processing strategy afterwards:
val baos = ByteArrayOutputStream()
val outputOptions = ImageCapture.OutputFileOptions.Builder(baos).build()
cameraState.takePicture(outputOptions) { result ->
    if (result is ImageCaptureResult.Success) {
        // baos contains the captured image
    }
}

This way, your photo will not be synchronized anywhere and will only exist in the byte array

Hello @artillerymans, if I understood correctly, you can get the image as a byte array and apply your processing strategy afterwards:
val baos = ByteArrayOutputStream()
val outputOptions = ImageCapture.OutputFileOptions.Builder(baos).build()
cameraState.takePicture(outputOptions) { result ->
    if (result is ImageCaptureResult.Success) {
        // baos contains the captured image
    }
}

This way, your photo will not be synchronized anywhere and will only exist in the byte array

extremely grateful @ujizin


Autofocus address input on render

Autofocus the address input when it gets rendered.
Simply adding autoFocus to the element won't work, probably because of react-modal which takes control of the focus state in the modal.

On it.


Update neat to <IP_ADDRESS>

After making all changes to the cask:

[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} reports no offenses.
[ ] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked the cask was not already refused in closed issues.
[ ] Checked the cask is submitted to the correct repo.

Note that the domain used to host the file has also changed, but as far as I can tell, this is the official URL.
That said, I may need to split this off into an older version and newer one, as the 4.X series is now discontinued (with <IP_ADDRESS> being the latest) and they have a newer one with a different feature set.

as the 4.X series is now discontinued (with <IP_ADDRESS> being the latest) and they have a newer one with a different feature set.

We should update to the current version or delete this Cask.

I was debating moving this cask to caskroom/homebrew-versions. My main concern was that licenses from 4.X do not carry forward, so the upgrade experience would be bad. But now looking at some other versioned casks, this seems to be expected. When I get a chance, I'll update this to the latest and create a PR in versions.
(An example I looked at was homebrew-versions/istat-menus5 vs. homebrew-cask/istat-menus )

Closing in favour of https://github.com/caskroom/homebrew-cask/pull/44963


Finish mask ROM uart.c transcription (functional test passes)

This PR completes the transcription of sw/device/silicon_creator/lib/drivers/uart.c.
Note:
memset function used in _br2_store and _br2_load somehow breaks the functional test.
Thus, I have temporarily made it volatile memory access so that the functional test passes.
Also, unittest will not run because we don't have mock functions for b2_abs_mmio_write32 and b2_abs_mmio_read32.
You can test it by manually running the following commands:
In investigations/bedrock2:
make uart.c
cp uart.c <opentitan dir>/sw/device/silicon_creator/lib/drivers/uart.c

And then in opentitan dir:
ninja -C build-out all

build/lowrisc_systems_chip_earlgrey_verilator_0.1/sim-verilator/Vchip_earlgrey_verilator \
    --meminit=rom,build-bin/sw/device/boot_rom/boot_rom_sim_verilator.scr.40.vmem \
    --meminit=otp,build-bin/sw/device/otp_img/otp_img_sim_verilator.vmem \
    --meminit=flash,build-bin/sw/device/silicon_creator/testing/sw_silicon_creator_lib_driver_uart_functest_sim_verilator.elf

This should produce output like
TEST PASSED CHECKS
 _____         _                                  _ _
|_   _|__  ___| |_   _ __   __ _ ___ ___  ___  __| | |
  | |/ _ \/ __| __| | '_ \ / _` / __/ __|/ _ \/ _` | |
  | |  __/\__ \ |_  | |_) | (_| \__ \__ \  __/ (_| |_|
  |_|\___||___/\__| | .__/ \__,_|___/___/\___|\__,_(_)
                    |_|

Also, unittest will not run because we don't have mock functions for b2_abs_mmio_write32 and b2_abs_mmio_read32.

Maybe we could write them; I'll make an issue to look into this.


issues with @tf.function while training , saving and loading the encoder-decoder model

System information

OS Platform and Distribution :colab Linux
TensorFlow version:2.4.1
TensorFlow-Addons version:0.12.1
Python version:3.7.10
Is GPU used? (yes/no): yes

I have used the specific versions of TensorFlow, TensorFlow-Addons, and Python as mentioned here :
https://github.com/tensorflow/addons#python-op-compatibility-matrix
Describe the bug
I am working on developing a neural machine translation system using the Seq2Seq model. I followed this tutorial from TensorFlow
https://www.tensorflow.org/addons/tutorials/networks_seq2seq_nmt
After training the model I want to save the model and use it elsewhere, Whoever I am facing the following issues with the usage of @tf.function.
#USING THE @tf.function in the decoder gives the error in training
TypeError: An op outside of the function building code is being passed a "Graph" tensor. It is possible to have Graph tensors leak out of the function building context by including a tf.init_scope in your function building code. For example, the following function will fail: @tf.function def has_init_scope(): my_constant = tf.constant(1.) with tf.init_scope(): added = my_constant * 2 The graph tensor has name: LuongAttention/memory_layer/Tensordot:0
#NOT USING THE @tf.function in the decoder trains the model but gives the error in saving
AssertionError: Tried to export a function which references untracked resource Tensor("LuongAttention/memory_layer/Tensordot:0", shape=(32, 11, 1024), dtype=float32).TensorFlow objects (e.g. tf.Variable) captured by functions must be tracked by assigning them to an attribute of a tracked object or assigned to an attribute of the main object directly.
Trackable Python objects referring to this tensor (from gc.get_referrers, limited to two hops): <tensorflow_addons.seq2seq.attention_wrapper.LuongAttention object at 0x7fad2f922590>
#NOT USING THE @tf.function in the decoder trains the model and running the model once, saves the model but gives the error after loading
TypeError: The argument 'cell' (<tensorflow.python.keras.saving.saved_model.load.AttentionWrapper object at 0x7facd7bb59d0>) is not an RNNCell: 'output_size' property is missing, 'state_size' property is missing, 'get_initial_state' method is required.
Code to reproduce the issue
here is the complete code to replicate the error: google colab link
https://colab.research.google.com/drive/1ktxyOCHZe_QZ92Nk4lqujfhnvWc4YH0s?usp=sharing
Any pointers in this direction are highly appreciated, thank you!

I am having similar issues, please any help would be very great.

I am facing similar issue, can anyone let me know how you have solved it.


[Datagrid] Ability to provide custom inline markup for column filters

Select one ...  (check one with "x")
[ ] bug
[X] feature request
[ ] enhancement

Expected behavior
I would like a way to provide custom markup for the clr-dg-column component that will allow for filtering inline (underneath the column header for example) rather than putting the filter content inside of the clr-dg-filter popup. The filter would work just like the current built-in filters and custom filters, but would always be visible to the user. I'm not sure if this is already possible?
The use case is so that users can easily see which filters are active and the value for each of them without having to have multiple filter popups open at the same time (and possibly overlapping each other). I've also asked this question on StackOverflow in case it's already possible.
Actual behavior
Currently the only way to provide a custom filter puts the provided markup inside of the clr-dg-column component and is hidden until the user clicks the filter icon.

Hi @jbgarr
Would you consider this feature request to be a duplicate of the linked issue?

Hi @mathisscott,
Thanks for your reply. I did see that issue before I wrote up mine, and I think they are different issues that are related to a similar problem. I would like to simply be able to wire up any custom markup to built in functionality that the Clarity data grid provides. I think/hope my request would be much easier to deliver than the other proposed issue. Here's what I have in mind:

I will leave this open for @youdz to comment on it. There are product teams inside of VMware that have this sort of meta-filter input field. I don't know what they tie into, however.

@mathisscott Hopefully we're on the same page here. I don't want to create a single input field that searches across the whole datagrid and its contents. Instead I want to provide custom content for the datagrid clr-dg-column elements and show an input inline for each column (if I have provided my own markup).

Just wanted to check in here to see if there is some proposed workaround for this issue? Our users are asking for this feature in our production application, but I'm not sure the best way to move forward with it yet. I am able to provide custom markup, but tying it in with the existing sort and filter functionality provided by the data grid component is the part I'm not sure about. I want to avoid having to take an all or nothing approach where I have to roll my own sort and filter functionality if possible. Thanks for any insights you can provide.

We've discussed and this is largely a duplicate of #1632. It is slightly different ask, but we don't want to support multiple approaches for this problem.


Improve use of --dry-run flag for kpt live commands

kpt live use the preview command instead of the dry-run flag on apply and destroy. But currently we don't return an error if someone use the dry-run flag and just run the real command. We should either really support dry-run or return an error if someone tries to use it.

Verified that this has been fixed. kpt live apply now reports unknown flag if I try to use the --dry-run flag.


Added WEB Dev Project on Covid

Description
Covid-19 Cases Tracking website
Deployed Link
https://ajaydahiya7.github.io/coronavirus.github.io/

ers will get in touch with

Create an issue and link it with this pr


Update Codeclimate config

update .codeclimate.yml file-lines&method-count&method-complexity&nested-control-flow&return-statements&method-lines
add add Maintainability Badge
test pr ci

@huan 我将 Action 中的 Codeclimate 部分移动到单独的文件中（codeclimate.yml），以避免在 PR 中遇到 env 问题，关于 PR 中的代码检查，我想可以参考以下两个链接:

https://docs.codeclimate.com/docs/configuring-your-analysis
https://docs.codeclimate.com/docs/github-pull-requests#pull-requests

Thanks for the improvement!
I have read the docs, your proposal seems good and I have no questions.
Please go ahead and let me know if there's anything I can do for you.

I need to get Badge image address，because the current one is wrong.


Remove version: Anaconda.Anaconda3 version 2022.10

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://repo.anaconda.com/archive/Anaconda3-2022.10-Windows-x86_64.exe
OK
(Automated message - build 911)


Allow to run multiple replicas

Copy the manager code from controller runtime and change it.
With the new manager the controller will became ready only when it became leader.
most of the code is the same as the regular manager I just change the leader election function.
When a controller take the leader he also create a file under /tmp/healthy this way the pod will became ready.
When the pod became ready it will be added as an endpoint for the admission webhook service

@SchSeba please elaborate why is this better and why we want to have it. It adds a lot of code, so I'd like to have a good reason.
Also, could you explicitly say which part of the code has been copied and what are our changes? I wonder whether the regular manager supports extensions, so we would not need to duplicate the whole thing.

the change is on the startLeaderElection function
this code:
https://github.com/K8sNetworkPlumbingWG/kubemacpool/pull/6/files#diff-77faf6b20512574869434402d5c5b6a2R284
original code:
https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/manager/internal.go#L297
The manager doesn't support for any extension on the leader election callback functions.
The reason I make this change is because the leader election is to make sure only one controller is up but the webhooks are always up unrelated to the leader.
With our implementation of the macpool we use the allocation mac in memory and only init the maps when the controller become a leader.
So with my change the non leader pod will not be in ready state and not be part of the webhook service endpoints.

So we end up with a single webhook? Sounds limiting, but I guess we don't have other choice at this point.


removing onClose prop

Since you can now pass custom props for a header, there really is no use for this prop.
If you wanted to have a custom close handler, you would just define a function prop on headerProps called onClose, and trigger it within the custom headerComponent
we'll have to do a major bump with this after merging since it is a breaking API change

LGTM!

remember to do a major bump and publish! so go to v2.0.0

bump it