add QuiP quant support

This is draft PR for adding QuiP quant into ExllamaV2.
Original QuiP Repo
Works:

right it it can load pre-quant model into model and generate token.
since origin model does not have tokenizer.model file etc. so it needs to copy HF model file into this.
Adding new cuda ext.

Ppl performance benchmark
using dataset: [wikitext-2-v1_validation_0000.parquet]
(https://huggingface.co/datasets/wikitext/tree/refs%2Fconvert%2Fparquet/wikitext-2-v1/validation)
sample cmd
python test_inference.py -m /media/storage/models/Llama-2-7b-E8P-2Bit -ed /media/storage/wikitext/wikitext-2-v1_validation_0000.parquet

Model
Performance

2Bit

Llama-2-7b-E8P-2Bit
8.7339

Llama2-7b-exl2-2.5bpw
8.0745

Llama-2-13b-E8P-2Bit
7.1207

Llama2-13b-exl2-2.5bpw
7.2741

Llama-2-70b-E8P-2Bit
6.2192

Llama2-70b-exl2-2.5bpw
5.8270

4Bit

Llama-2-7b-HI-4Bit-Packed
6.0748

Llama2-7b-exl2-4.0bpw
6.0300

Llama-2-13b-HI-4Bit-Packed
7.4169

Llama2-13b-exl2-4.0bpw
5.4905

inference example
7B 2bit E8P
Once upon a time, the 2018 version of Windows 10 will be available in preview and then it will get into beta mode. everybody will install windows update preview and they will see the next release of windows 10 and the next feature will come to life for the first time, but this is not yet.
The 365 Days of Windows 10 is a big part of Microsoft’s plan. Microsoft has been working on the future of Windows for over three years, including Windows Server, Office, Xbox Live etc The new version of Windows 10 is called the cloud, so you can access all

 -- Response generated in 6.75 seconds, 128 tokens, 18.98 tokens/second (includes prompt eval.)

13B 2bit E8P
Once upon a time, when I was in the fifth grade and at an age where you can do what you want.
I don’t know why my teacher had to write it so many times that day but there is something about this sentence that makes me feel like we all need someone else beside us. I am not saying I am a bad person who doesn’t have any friends or anything, I just find myself really alone sometimes, despite of having plenty of people around me. So, even though I might be one of those lucky ones with no friends at all (as long as they are not the worst people ever), I can never den

 -- Response generated in 9.53 seconds, 128 tokens, 13.43 tokens/second (includes prompt eval.)

70B 2bit E8P
Once upon a time, the only way to get a book signed was in person. It could be awk anymore!
I think it'holm very special that you can do both of those things simultaneously!
A few people are still using paper and pen for their signatures, but most of them are using digital signatures as well nowadays because they don't need to write anything down anymore!
Most authors use electronic pens these days so that we don't have any problems signing our books or getting them back from customers when needed (and trust me- there will always be someone who wants us). But if an author does want his

-- Response generated in 18.82 seconds, 128 tokens, 6.80 tokens/second (includes prompt eval.)

Very cool. Thank you for making this, will be awesome when it's done 👍

Would like to have this feature :)

It might be worth nothing that most of the what QuIP# appears to be achieving seems to be acheived better by llama.cpp's new quantization schema. the dedicated 2 bit quants (IQ2_XS and XXS, 2.03 and 2.3 BPW - as opposed to being more like 3 bits) are very strong.*
There's now an optimisation scheme involved but it's clearly not a 'generate FP64 hessians for a week (no really that's what they suggested - for 6k ctx) on your grandma's Threadripper X cluster' - it's much more like the 'discover the most important weights by throwing words at the decoder' - schema we're familiar with here.
ikawrakow here is well worth a read.  I'll link this technical discussion I found instead of the unsightly spat with one of the Cornell team.
I'm long past a claim to being any sort of computer scientist but I'd like to hope EXL2's inheritance from GPTQ (quantize-then-calibrate as GPTQ'sformat design goal, flexibility in weight assignments added by EXL2 from that) could make EXL2 itself a better use for the methods used here than QuIP#. Those imatrix files are bigger than exl2's measurements but 25mb isn't exactly out of reach here, compared to 2mb?
(...Could these just convert directly? Probably no without the E8  enumeration but q
*IQ3_XXS is Absolutely Robust it's scary.


linecap Issue

<circle-progress                   :size="16"                   :border-bg-width="5"                   :border-width="5"                   :percent="40"                   :linecap="butt"                 />
:linecap is not working.
Can you fix it up please?

Sure, I'm on it

Oh, sorry, it worked fine. like following.
<circle-progress                   :size="16"                   :border-bg-width="5"                   :border-width="5"                   :percent="40"                   linecap="butt"                 />

Thank you so much


Add support for the @group annotation and attribute (and aliases)

Add new option to allow organisation of tests via the @group annotation. The @group annotation can be applied to an individual test method, or to an entire test class. If applied to the test class, the group also applies to test methods within that class.
There are additional annotations that are aliases for @group:

@large is an alias for @group large
@medium is an alias for @group medium
@small is an alias for @group small
@ticket <ticket_id> is an alias for @group <ticket_id>

Reopening, as an issue was discovered where run profiles are not cleared properly when the last method with a specific tag has that tag removed or renamed.


Fix mobile share file

On iOS, we were unable to add calendar files to Calendar while using Safari, so added a comma and encoded the share file string.

Codecov Report

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

@@          Coverage Diff          @@
##           master     #4   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines          66     66
=====================================
  Hits           66     66

Impacted Files
Coverage Δ

lib/utils.js
100% <100%> (ø)
:arrow_up:

src/lib/utils.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Dockerized version

For easy set up and configuration

perfect for now - will need to change the installing steps for the rust version merge (1-2months away?)


How to use on PS4

Hello, is there any documentation on how to use this with a PS4 Console ?

PS4 toolchain must be configured, documentation on that is here.
You would also need to integrate rmem into your code,  and save capture files on the devkit, some documentation about that is here.


Take ownership

Overview
Given the technical decisions we've made during the Chrome extension discussion, there is no point in upgrading the current structure, since pretty much everything will have to be changed. Starting from scratch is a wiser option and will save time. Also, even the boilerplate will be reviewed by the entire team.
git tags/branches

I've created a 0.0.24 tag, that points to code we have published in the Chrome Store
I've created a 0.0.x branch, where we can provide urgent bug fixes for what people are currently using
master will be used for "approved" code, but not necessarily published on the Chrome Store

Gulp vs Grunt
I have better experience with gulp. IMO, it's simpler when it comes to creating  custom plugins, and that is something that we may want to leverage here.
That being said, I don't feel too strong about it. If grunt is more attractive option to you, it's totally fine by me. My only ask is - let's have this conversation once and stick with whatever we agreed.
scss vs less vs stylus
I haven't included a CSS preprocessor yet. I'm not sure what you guys are interested in. I'm fine with any, but if there is no strong opinion, I'm leaning towards scss.
Contributing
Please read the Contributing guide and provide feedback. I've used Chai.js's as a starting point, but there might be more things we want to include in it.
License
I've assumed that the license of the extension is ISC. Correct me if wrong.
CI
I'd like to setup use a continuous integration service. Is Travis CI what we'd like to use?
PR Flow
I'm going to wait for two (+1)s before merging this in. LMK if that's the way to go.

ad: grunt / gulp you call as long as you provide infos in the readme how to compile etc
ad: css precomp: scss please as we use it in the main stack.

thought i already commented-
:+1: gulp
:+1: scss - maybe you could use node-scss (C impl) or the pure JS implementation to keep it simple/really really fast (no ruby)?


NewProvisionController needs refactoring

The parameters could be documented better, and we are adding new ones relatively often. @xingzhou I have started a little work on implementing this functional options pattern, wdyt? https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis . We are not dealing with a complex API here, just one function, but anything to make it more pleasant to use is good :).

Thanks @wongma7 for creating the ticket. Something in my mind, for discussion:

Shall we keep the old NewProvisionController API for a while? As a external used project, I believe there should be quite some users started to use this controller in their own provisioner, if we can keep the old NewProvisionerController method, this may provide some time for the users to change their code.

For those options we want to pass into the construction of controller, do we support to change those options during controller's runtime? Because for some retry count related options, if we can dynamically change them during the controller runtime, I think it would provide some benefits for user's provisioner code.

Once the new constructor is ready, I think we can inform the community in the mailing list about the changes, and I can help provide the patches for local path/NFS provisioners to adopt the new constructor.

I am leaning toward doing this: release 2.1.0 soon with the deletion retry threshold changes and mark NewProvisionController deprecated. But then I don't think we need to wait long, we could bite the bullet and release 3.0.0 shortly afterward where the only change is the new, less ugly, NewProvisionController. Better to break it sooner than later IMO, then hopefully we can stay on 3.x.x for a longer while, truly respect semver, and not annoy consumers so much with the periodic changes to NewProvisionController's signature.
Yes, we could, I guess we have to decide which are changeable and which not. Thresholds being changeable make sense to me

Apologies in advance to anybody using the lib and annoyed by breaking changes to the API -- which is yes, only one function, but still annoying I'm sure :).

btw, I think I'll wait for client-go 3.0.0 before releasing our own 3.0.0. Client-go broke their API again, giving me another excuse to break ours in the next month or so.


Support Update of Card Covers

According to the API Card Covers, should be possible, but no matter how I try to implement it, it does not work :-(

Now possible in source code and will be available in the next release (versions higher than 1.3.1)


Transitions between sibling states retain scopes (memory leak)

When transitioning between sibling states when the initial page load is a sibling state, the scopes are not correctly destroyed.
An example:
http://plnkr.co/edit/nPXyZtS883o0Y9eVoksl
When the initial page load is directly to #/home/a then going to #/home/b results in both "SibAObject" and "SibBObject" being on the heap. (perform a heap snapshot after navigation and search for "Sib").
However, when the initial page load is to #/home, navigations between A and B sibling states do clear the scope and the SibAObject and SibBObject only exist on the heap under the correct state.

The problem also exists when the initial page load is #/home/a and subsequently navigating to #/home. Under this scenario the 'SibAObject' still exists.
It appears whatever the 'landing' state is gets retained for the life of the state hierarchy, even if the landing state is a nested child state that is navigated away from.

This appears fixed by angular 1.4.


Popover getContents() returns a non-iterable to destructuring assignment

The getContents() function in the v4 popover returns an object with keys 0 and 1, and yet it's used in a destructuring assignment to an array, which requires that it's an iterable. My read on the spec is that only iterables are allowed here: https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-destructuring-assignment. The Babel transpiled code throws a nice clear error:
index.js:113 Uncaught TypeError: Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
    at _nonIterableRest (index.js:113)
    at _slicedToArray (index.js:113)
    at new Popover (popover-native.js:16)

Chrome dev tools also flags an error on:
let [x3, x4] = {0: "x3", 1: "x4"};
VM1053:1 Uncaught TypeError: {(intermediate value)(intermediate value)} is not iterable
    at <anonymous>:1:16

Even without transpiling this shows a weirdly unexplainable "TypeError: undefined is not a function" on the return from getContents()
This is a simple fix: getContents() should return, e.g., an array.
Note that the v5 component does not include this logic.

BSN version is 4.0.3.
Issue shows at: https://github.com/thednp/bootstrap.native/blob/77f7df071f831a2d0b46157b8ec69bb4fb98f2ae/src/components-v4/popover-native.js#L64 and also https://github.com/thednp/bootstrap.native/blob/77f7df071f831a2d0b46157b8ec69bb4fb98f2ae/src/components-v4/popover-native.js#L257
To reproduce, build with Babel (I used 7.8.3) but to be honest, the issue shows fine on inspecting the code

I know the vanilla builds worked, but they appear to have used a simpler transpiling system which worked around the issue.

Thanks for dropping by.
I cannot have a look right now, but please feel free to propose your best solution, I will check ASAP, perhaps today.

Done, and many thanks -- this is a lifesaving package, and has enabled me to dispense with a ton of unnecessary junk.

We can close this now. Cheers :)


Kyll: Blacklist supplementoffers.org

Kyll requests blacklist of domains:

supplementoffers.org - MS search

supplementoffers.org has been seen in 72 true positives and 0 false positives.

Really wanted to try out !!/blacklist. It's already caught by the pattern-matching filter so feel free to close.


Create a simple website for this repo to list all the portfolio source code with required features ( using html , css , js)

If you are interested to work on this repo , comment on this issue , will assign you !

het @avinash201199 yes im intrested

het @avinash201199 yes im intrested

great , you can start working , let me know if you need any help

hey @avinash201199  actully im new to all this thing but i have strong fundamentals of html and css so can u elaborate more about the work please

hey @avinash201199 actully im new to all this thing but i have strong fundamentals of html and css so can u elaborate more about the work please

you can design a basic website containing list of portfolio , about section , contact us , you can show portfolio list in a form of cards , name and its link , once the basic structure is created , we can think further , its on you how to design !

got it

@avinash201199  I have noticed that it is assigned to someone already . But If I can work on it assign it to me.

@avinash201199 I have noticed that it is assigned to someone already . But If I can work on it assign it to me.

you can work on it , whoever first make it , I will accept the pr after reviewing it and the other person can contribute by adding new features or improving it! I have posted a reel on this repo and it's gone viral (450k) views till now so it's a very good project

@avinash201199 I have noticed that it is assigned to someone already . But If I can work on it assign it to me.

you can work on it , whoever first make it , I will accept the pr after reviewing it and the other person can contribute by adding new features or improving it! I have posted a reel on this repo and it's gone viral (450k) views till now so it's a very good project

Thankyou.. I got to know about this from that reel . I will work on it as soon as possible

@avinash201199 I have noticed that it is assigned to someone already . But If I can work on it assign it to me.

you can work on it , whoever first make it , I will accept the pr after reviewing it and the other person can contribute by adding new features or improving it! I have posted a reel on this repo and it's gone viral (450k) views till now so it's a very good project

Thankyou.. I got to know about this from that reel . I will work on it as soon as possible

All the best !

@avinash201199 do you need just a list of templates or a card displaying the image of the site with buttons having links to source code
I also request you to open the discussion session for this repo so that we can clear our queries in feture

@avinash201199 do you need just a list of templates or a card displaying the image of the site with buttons having links to source code I also request you to open the discussion session for this repo so that we can clear our queries in feture

a card displaying the image of the site with buttons having links to the source code will be awesome. Opened discussion sesion !

I have raised the pull request #259
This pull request also conatins my protfolio design
I hope it meets your requirements
If any changes required in the webpage you can tell me

@avinash201199 do you need just a list of templates or a card displaying the image of the site with buttons having links to source code I also request you to open the discussion session for this repo so that we can clear our queries in feture

a card displaying the image of the site with buttons having links to the source code will be awesome. Opened discussion sesion !

I have raised the pull request #259
This pull request also conatins my protfolio design
I hope it meets your requirements
If any changes required in the webpage you can tell me


Update README.md - Added Windows setup instructions

Added Windows setup instructions

Hi @mpowrie, thanks for your contribution. Can you sign the CLA please?
Besides, is using [System.Environment]::SetEnvironmentVariable a more straightforward way to persist environment variables?

Hi @mpowrie, thanks for your contribution. Can you sign the CLA please? Besides, is using [System.Environment]::SetEnvironmentVariable a more straightforward way to persist environment variables?

Thanks Weinong. I've signed the CLA, and used [System.Environment]::SetEnvironmentVariable to set persistent environment variables.


[bug]: EventManager not working

Describe the bug
While using eventManager it is not working as expected.
Sometimes only the first event shows up, and other times not at all
Update: I found that as long as count is 1 (first time) the event is working, but as soon as it goes to > 1 then the event is not working/displayed anymore..
To reproduce
Inject IEventManager into a manager class, and use it like this
entity.Status.SetCondition(ConditionReason.Reconciling, ConditionType.Ready, ConditionStatus.Unknown);
await _kubernetesClient.UpdateStatus(entity);
await _eventManager.PublishAsync(refreshedEntity, "test1", "Starting reconciling", EventType.Normal);
.... some logic for reconciling...

entity.Status.SetCondition(ConditionReason.ReconciliationSucceeded, ConditionType.Ready, ConditionStatus.True, "Reconcilliation Succeeded");
await _kubernetesClient.UpdateStatus(entity);
await _eventManager.PublishAsync(entity, "test2", "Reconcilliation Succeeded", EventType.Normal);

Expected behavior
Both Events shows up
Screenshots
Result is that sometimes only the first event is visible even though we succeeded. Sometimes they dont show up at all:
 Status:
   Conditions:
     Last Transition Time:  2023-09-28T11:19:38.076344+00:00
     Message:               Reconcilliation Succeeded
     Reason:                ReconciliationSucceeded
     Status:                True
     Type:                  Ready
   Observed Generation:     1
 Events:
   Type    Reason  Age   From                            Message
   ----    ------  ----  ----                            -------
   Normal  test1   7s    iitech-operators-sqlidentities  Starting reconciling

Additional Context
I Also tried injecting into controller and parsing it to manager class, but it makes no difference
Output:
First event:
info: KubeOps.Operator.Events.EventManager[0]
      Created or updated event with name "DGREWPVVMIOCD3JUGKCEG4HFXCJFXSSTK3KPYWNX4BW37CJ4B2KZDHI6OOAMDKP5VLTHBALMMAYSZ4DMKHDZNGGLTRX5PVTA42XATSI" to new count 3 on resource "AzureSqlIdentity/jobhandler-sqlidentity".
KubeOps.Operator.Events.EventManager: Information: Created or updated event with name "DGREWPVVMIOCD3JUGKCEG4HFXCJFXSSTK3KPYWNX4BW37CJ4B2KZDHI6OOAMDKP5VLTHBALMMAYSZ4DMKHDZNGGLTRX5PVTA42XATSI" to new count 3 on resource "AzureSqlIdentity/jobhandler-sqlidentity".

Output 2. event:
info: KubeOps.Operator.Events.EventManager[0]
      Created or updated event with name "PWFA5HAQBKWHQ5SEFOCVNKH4OPNGZF7NX43PVCLZ7DXHEFJ44YTVASLWEEBHLDW25KLLJYVM67636KPX6T4JDYMWJQ2UKEL2IDKQGNI" to new count 5 on resource "AzureSqlIdentity/jobhandler-sqlidentity".
KubeOps.Operator.Events.EventManager: Information: Created or updated event with name "PWFA5HAQBKWHQ5SEFOCVNKH4OPNGZF7NX43PVCLZ7DXHEFJ44YTVASLWEEBHLDW25KLLJYVM67636KPX6T4JDYMWJQ2UKEL2IDKQGNI" to new count 5 on resource "AzureSqlIdentity/jobhandler-sqlidentity".

So everything looks good but the 2. event is not showing up. sometimes none shows up

Hmm good question. In the new v8, I wrote some integration tests to ensure events are created. Can you try with the new preview version? (it has several breaks, but controllers are working more or less straight forward).

v8 does solve the issue


Question: RoleBinding fixed namespace to kube-system

Hello kubed Team,
is there a special need why the RoleBinding is fixed to the namespace kube-system ?
kind: RoleBinding
  metadata:
    name: {{ template "kubed.fullname" . }}-apiserver-extension-server-authentication-reader
    namespace: kube-system

I fell over this, because we have a managed kubernetes service where I wanted to use kubed, but the installation failed, because we have no permissions for this kube-system namespace.
Would it make sense to have it implemented like the other resources?
Kubed version: v0.12.0

Also happens in: v0.13.1


Update frame_setnavigationstate_24241048.md

Updating with small changes in how the navigation history is stored when suppressing the navigation.

@humale,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


initial version

Todos

[ ] endpoints

[x] method
[x] url
[x] name
[ ] add enabledForApps flag
[ ] add available preview headers, including default
[ ] parameters

[x] name
[x] description
[x] type
[x] default
[x] enum
[x] required
[ ] allow null
[ ] regex validation (if needed?)

[ ] Multiple routes per segment #3
[ ] Multiple parameters / input tables per endpoint #4

Later

[ ] supported GHE versions. Ideally show what GHE versions are supported with differences, such as required preview headers etc

hey sorry this is all very work in progress I’ve lots of local changes that I didn’t push yet

I created a few issues so we can coordinate work. If you’d like to work on something else, just create another issue and assign to you. I will clean up this PR’s commit and create follow up issues for the open tasks, then merge it into master because why not :)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


From Aura to Babe

The 20min Epoch required the block production to use Babe instead of Aura in the runtime.
pallet-share_distributor files & folders were also added

Codecov Report

Merging #133 (da3b65a) into main (b99da68) will decrease coverage by 3.80%.
The diff coverage is 3.69%.

@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
- Coverage   73.13%   69.32%   -3.81%
==========================================
  Files          40       41       +1
  Lines        2922     3097     +175
==========================================
+ Hits         2137     2147      +10
- Misses        785      950     +165

Impacted Files
Coverage Δ

node/src/chain_spec.rs
0.00% <0.00%> (ø)

node/src/rpc.rs
0.00% <0.00%> (ø)

node/src/service.rs
0.00% <0.00%> (ø)

pallets/onboarding/src/lib.rs
77.56% <ø> (ø)

pallets/roles/src/lib.rs
78.26% <ø> (ø)

pallets/share_distributor/src/lib.rs
0.00% <0.00%> (ø)

runtime/src/constants.rs
0.00% <ø> (ø)

runtime/src/lib.rs
7.36% <12.79%> (+4.98%)
:arrow_up:

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


Consider Including Cancellable Combinator

I find myself wanting this occasionally. Example here.

I don't know the inner workings of oneshot::channel -- I'm curious, how is this more optimized than selecting over a oneshot receiver?

@cramertj I think you implemented this as Abortable in #1079.

Indeed! Will close.


Allow certain exit codes at user's discretion

What should we add?
For a number of reasons, some code you are running with srun may exit with an exit code other than 0 (0 indicates "success", non-zero indicates certain categories of failure) although from the standpoint of the user, nothing actually went wrong, and usable output was produced. This can happen, for example, in quantum espresso (pw.x) if self-consistency isn't met. In some select situations, we may not care about this and wish to carry on anyways.
Presently, however, this non-zero exit code is caught by the slurm executor from STDERR and the calculation crashes.
I suggest we implement "allowed exit codes" other than just 0. This is intended for advanced users and we should consider throwing a "are you sure you know what you're doing?" warning if this input variable is set as it can lead to unexpected beahviour.
In bash, to ignore a certain exit code (say exit code 3), we can use:
bash -c '(srun pw.x -npool %d -ndiag 1 -input PREFIX.pwi 2>stderr.log 1>PREFIX.pwo || exitcode=$?) && [[ $exitcode -eq 3 ]] && exitcode=0

if [[ $exitcode -eq 3 ]]; then
  >&2 cat stderr.log
fi

exit $exitcode'

where the above example is on Perlmutter running the GPU version of quantum expresso (pw.x).
We can implement something along these lines for srun options.
One thing that isn't clear to me is whether or not this is a slurm executor addition or a core covalent addition.
Describe alternatives you've considered.
You can set use_srun=False  and manually define your srun behaviour as the above script.

Interesting. I could see the use case although I personally haven't run into this myself because I am almost always running quantum chemistry codes with Python wrappers that automatically capture the exit code and then decide if an error should be raised (so, one abstraction layer higher if that makes sense).
In the end, if the user is launching the code with a Python subprocess, this never really is an issue. But if they are calling the executable directly in the Slurm script (probably more likely with the lepton feature?) I could see it coming up, although I'm not sure how common the usage pattern is.

Where I ran into this is using ASE with quantum espresso (although I have seen it in other codes also).
Typically, in ASE, one would have an environment variable set:
os.environ["ASE_ESPRESSO_COMMAND"] = "srun pw.x -npool %d -ndiag 1 -input PREFIX.pwi > PREFIX.pwo" % num_nodes

Finishing this command with an exit code other then 0 will then cause Covalent to crash out. You can get around this by doing the below instead:
script = r'''bash -c '(srun pw.x -npool %d -ndiag 1 -input PREFIX.pwi 2>stderr.log 1>PREFIX.pwo || exitcode=$?) && [[ $exitcode -eq 3 ]] && exitcode=0

if [[ $exitcode -eq 3 ]]; then
  >&2 cat stderr.log
fi

exit $exitcode'
''' % (num_nodes)

os.environ["ASE_ESPRESSO_COMMAND"] = script

but it's a a bit of a hack. The error codes could be handled in the ASE internals but the standard user isn't going to want to do that. From a UX standpoint, we may wish to do something about all of this.

Ah! You said the magic words. I totally get what you mean now! I'm 100% on board.

As a side-comment: does that exit code issue not make the ASE calculator not useful as-is? Perhaps put another way, would things work fine without Covalent but not with Covalent? I'm just curious.

The default behaviour of ASE is to allow non-zero exit codes for the wrapped DFT binaries. So, it works fine without covalent but not with!

Ah, good to know!
I'm building a Python around ASE+Covalent so this is incredibly helpful to know. https://github.com/Quantum-Accelerators/quacc

Ah, I realized another related scenario where this comes up (for me at least). A lot of the codes I run have some sort of error-handling routine associated with them, such that if the executable errors out, the error-handling routine will try to fix it and re-launch the executable rather than cancel the Slurm job entirely. That's the basis behind the Custodian package we use with VASP. For the kinds of calculations I do, I am mostly just looking for Covalent to check if the job has been cancelled or killed, independent of any status code.

I also think you can ignore exit codes by putting ||: at the end of any subprocess command, e.g.  "srun pw.x -npool %d -ndiag 1 -input PREFIX.pwi > PREFIX.pwo ||:" % num_nodes


Add no-hmr example

Hi Jared, the example would be much appreciated. Any plans to resolve the issue any time soon?


Add SetColorProfile for explicitly setting the color profile

This PR allows the color profile to be set on a package-wide basis via lipgloss.SetColorProfile. This is mostly intended for testing purposes. By default, Lip Gloss will use the best available color profile, which is want you will want to use in your terminal applications.
Available color profiles are:

termenv.Ascii: black and white (1-bit)
termenv.ANSI: 16 colors (4-bit)
termenv.ANSI256: 256 colors, (8-bit)
termenv.TrueColor: 16,777,216 colors (24-bit)

The SetColorProfile method is thread-safe.
Closes #33.

LGTM!


Add typos tool to CI to automate typo detection

Motivation:
Since recently more projects are starting to do airdrops and using lists of repositories to reward contributors (eg. Namada, StarkWare, etc), a new wave of airdrop farmers has emerged, no longer collecting discord chat points but now going after code contributions.
In the era of bots and automation, we must protect humans attention and time, and in this case we can avoid spending time on airdrop-farmers PRs that could simply be avoided by having our own automated tool.
This has been already a problem to other projects, we were postponing it but seems that we are now target too: https://github.com/privacy-scaling-explorations/folding-schemes/pull/75
A quick look at the PR author profile shows some other PRs from the same user executing a typo-finding-tool and opening PRs (listing here only few):
https://github.com/privacy-scaling-explorations/snark-verifier/pull/60
https://github.com/privacy-scaling-explorations/chiquito/pull/210
https://github.com/privacy-scaling-explorations/zk-kit/pull/182
https://github.com/privacy-scaling-explorations/halo2curves/pull/140
https://github.com/privacy-scaling-explorations/p0tion/pull/266
https://github.com/privacy-scaling-explorations/maci/pull/1245
https://github.com/privacy-scaling-explorations/zkevm-circuits/pull/1780
https://github.com/privacy-scaling-explorations/bandada/pull/409
https://github.com/ethereum/solidity/pull/14815
https://github.com/netdata/netdata/pull/17049
https://github.com/ethereum/c-kzg-4844/pull/397
https://github.com/ethereum/hevm/pull/458
https://github.com/aptos-labs/aptos-ts-sdk/pull/300 (in this case, the reviewers asked a small change and the PR-farmer decided it was not worth the effort)
https://github.com/aptos-labs/aptos-networks/pull/61
https://github.com/nimiq/core-rs-albatross/pull/2241
There are now even twitter tutorials on how to farm contributions: https://twitter.com/Abrahamchase09/status/1759101213381959960 , which has their results: https://twitter.com/toghrulmaharram/status/1759228275228905511 .
A solution could be from time to time do a PR fixing all typos, as done here: https://github.com/risc0/risc0/pull/1319 , but this does not prevent future typos from happening.
What this PR does:
Add GitHub CI that runs typos so future PRs will run the typos check to detect typos. Also this PR fixes the detected typos.
About the tool:

Tried cspell (typescript) , and it has too many false-positives (thousands) for custom variable names that we don't consider them typos (eg. Multilinear, evals, arkworks, thiserror, Circom, biguint, nbits, ... and a thousand more), since it works with a dictionary of correct words approach.
Then with typos (rust), since it does not work with a dictionary of correct words but with a dictionary of typos corrections, it does not have the false positives that cspell has. The downside of this approach is that it might not recognize typos that are not yet in their list, but it can easily be updated.

Hey!
I totally approve of your idea to automate typo detection. I have even personally suggested it to folks in the past.
But you have totally misunderstood my intentions here. Since you have taken the time to go through my recent PR contributions, I would suggest that you go back and check all my PR contributions AND bug reports over the years.
While you will find many typo fixing PRs as it's a low hanging fruit and I'm not a developer but a tech fan and I do it just for fun, you will also find that I have contributed in very diverse projects that have no connection to crypto whatsoever. So if my intention would be to farm PRs why would I waste my effort and contribute to projects I have nothing to gain from? The answer is that I do it only for projects I like for different reasons and it's my way to say thanks to the developers.
But after reading your reasoning, I do see why you would think I am a "PR farmer". By the way, this is the first time I stumble upon this term!
Anyway, no hard feelings and keep doing what you are doing :)


version hash conflicts with LessBundle file pathing

When applied to a LessBundle, the less file requests fails with this error:
directive block with unrecognised format on line 1 in file '/Content/master.less':
[]: /beginning of file
[1]: @v: 715nTXdM64m5k0T5_W9idYTqJp5CUmma9E1f0NznFrM1;
^
[2]: @import "colors.less";

Fixed in 1.0.5493.16874.


Font

Describe your suggested feature
Can you add another font options possibily? Like the font used in the Netflix app or website
Other details
No response

I'll consider it!
Looks like Netflix has their own font:

Yes , it may give trouble, however there are many other fonts to choose from which are available for public use.
Maybe you can make a system to allow users to choose font files? That way one can use any font he wants

Maybe you can make a system to allow users to choose font files? That way one can use any font he wants

Hmm, fonts have families if you aren't aware of that. I don't have any idea yet how I could integrate a dynamic font family so users could choose their own fonts. However, I think what I can consider for now is let users choose between system-used font or app-used font
What you think? Does it satisfy your concern?

Yes system default font is also a good option, thanks

Add download feature in next ### version****


SDK sends mysterious "_meta" property

As per the title: the SDK sends a mysterious "_meta" property, but I can't seem to find any official docs on it; it also doesn't seem to be correct given the json schema

Hi @vanschelven, this appears to be intentional. The underscore typically indicates that the _meta field is intended for internal use only, which is probably why we don't document it anywhere. Might be worth investigating though what this field does.
Does that answer your question? Is _meta causing any problems for you, or is there any other way we can help here?

I had run into that commit in my research last week, but had forgotten about it when I revisited my notes today. Good find.
It does somewhat answer my question... but it raises one or more new ones 😄
Does "internal" mean "internal to the Python SDK"? If so... that seems at odds with actually sending it out over the wire 😄
and if internal means "Internal to the Sentry ecosystem"... that's more or less implied by this being the Sentry API. So then I'd argue for documenting it. That is... if anyone knows what it does.
Regarding "is this a problem"... I had moved to "let's just ignore this", so no not really. But I tend to be a bit of a perfectionist about interfaces.

The _meta field is used to annotate when we filter or truncate fields in our serializer so that the end product UI can display useful information to the user about these operations.

The _meta field is used to annotate when we filter or truncate fields in our serializer so that the end product UI can display useful information to the user about these operations.

Ah, that makes (some) sense: I indeed see this information in the "_meta" field... but not in the (sentry.io) UI!

Added a docs issue to add _meta. Will close this.

but not in the (sentry.io) UI!

This is known


Make ParameterBuilder methods public

fixes #102

@yahehe would be nice to have this available via new NuGet package. Thanks

Alright, new version (2.2.11-alpha) has been pushed to nuget

@yahehe thanks! However, dependency on Swagger.ObjectModel is not set correctly. It says Swagger.ObjectModel (>= 2.2.11) but only 2.2.11-alpha is available.
Could you please verify?
Thanks,
Sergiy

Yeah, that's my bad.
I'll fix it!

2.2.12-alpha should work for you @sergiychernov

It works! Thanks, @yahehe, @jnallard


Application frige

When keyword is closed webview get fridge

when you click on done button and keyword is closed and complete webview is fridge
when input lose focus keyword is closed and complete webview is fridge
when you click out side input keyword is closed and complete webview is fridge

I am using ios 12.1 and react-native 0.57.4 and xcode 10.1
note:- when i  scroll on webview body its again start working but if i touch on webview body its still fridged
and its working well in ios 11.4
Please help

Hi @krishan1kamal! I’d be happy to take a look at this. Please create, publish, and link here a minimal app that reproduces this issue and I’ll take a look.

Hi @jamonholmgren Soory for the late response my app link is
https://testflight.apple.com/join/1pVTpTgX
and login credential is
Username : -<EMAIL_ADDRESS>Password:- kk@123
Device require
:- any apple mobile phone with operating system IOS 12.1
Step to setup:-

Login with given credential
Set your pin for future easy login
Biometric authentication if available on device (Optional)
wait few second to load chat bot after setup
Click on click here to begin to start the chat
You can ask question like can i bring a pets to work?

Issues:-
when you click on done button and keyword is closed and complete webview is fridge
when input lose focus keyword is closed and complete webview is fridge
when you click out side input keyword is closed and complete webview is fridge

its working fine with react native 0.57.5
Closing
Thanks


Infer schema from nd-delimited JSON file

It seems like frictionless can't do frictionless describe some/file.json. This would be great for frictionless to support schema inference for JSON files as it does for CSV.
% cat foo.json
{"col1": "test", "col2": 1}
{"col1": "test", "col2": 1}
{"col1": "test", "col2": 1}
{"col1": "test", "col2": 1}
{"col3": "test"}

% frictionless describe foo.json
[resource-error] The data resource has an error: cannot retrieve metadata "foo.json" because "Extra data: line 2 column 1 (char 28)"

% cat foo.json
{"col1": "test", "col2": 1}
{"col1": "test", "col2": 1}
{"col1": "test", "col2": 1}
{"col1": "test", "col2": 1}

% frictionless describe foo.json
[resource-error] The data resource has an error: descriptor is not valid (The data resource has an error: one of the properties "path" or "data" is required)

% cat foo.json
{"col1": "test", "col2": 1}

% frictionless describe foo.json
[resource-error] The data resource has an error: descriptor is not valid (The data resource has an error: one of the properties "path" or "data" is required)

Hi @criccomini,
Currently, CLI might be kind of confusing with edge cases like this. We're going to target improvements for the situation in v6.
So what you're trying to achieve works, but we need to provide more information:
frictionless describe --path some/file.json --format ndjson  # OR
frictionless describe some/file.ndjson # OR
frictionless describe some/file.jsonl

Please let me know it you need more help

Ah: describe(path=url_and_path, format='ndjson')


Offer pool size increasing ExecutorService through ExecutorServiceBuilder

As described in #834, the situation of the ThreadPoolExecutor and its configuration maximumPoolSize is strange. Someone would assume, that new threads are spawn until maximumPoolSize is reached, but it does not behave this way. It only spawns new threads if the queue's bound is reached. This is counterintuitive.
Since it would be nice to a thread pool with incrementing number of threads based on load, I'd like to suggest to embed this into ExecutorServiceBuilder.
There are already a number of ways (some call them hacks ;)) to achieve this:
http://stackoverflow.com/questions/19528304/how-to-get-the-threadpoolexecutor-to-increase-threads-to-max-before-queueing
If this is something, the dropwizard community would like to see, I would go ahead and try out the one of the solutions described in the SO post.
Of course, any feedback is highly appreciated.

This behavior keeps coming up. In addition to #834, #1444 earlier this year updated maximumPoolSize's default value and fixed a related logging issue.
Have you observed this issue causing problems for an application?
Without evidence starvation in production workloads, I don't think Dropwizard is the best home for a custom ThreadPoolExecutor implementation. Given that all existing usages of ExecutorServiceBuilder are separate from the main server thread pool, any lack of pool growth shouldn't directly impact server throughput. There may be an impact if there's a dropwizard-client RPC in a request path, but this isn't a default case.
We should of course provide the ability to configure custom ExecutorServices wherever possible (e.g. JerseyClientBuilder.using(ExecutorService)), giving any applications that are affected the ability to inject such a queue-size-aware executor.


runtime: garbage collector found invalid heap pointer iterating over map

This issue appears similar to #9384, but does not require a struct and is still reproducible on some systems running 1.4.1 .
 It does not matter what value is assigned to the map. Defining the map with smaller types of values (bool, int8) causes it to fail after precisely double the iterations; larger (complex128) fail after half as many. Cannot reproduce on OS X 10.10 or Redhat 6.3.

This looks like a general bug in how our heap allocation works vs. how GC thinks it works.  GC expects a single, contiguous heap, but we don't get that, at least on 32 bit (64 bit also?).  The pointer in question is is the buckhash pointer from runtime/mprof.go:144.
Here are the sequence of SysAlloc allocations:
alloc heap at [0x1016e000,0x1026e000]
buckhash @ 0x301c0000
alloc heap at [0x1026e000,0x1036e000]
alloc heap at [0x1036e000,0x1049e000]
alloc heap at [0x1049e000,0x106fe000]
alloc heap at [0x106fe000,0x10bbe000]
alloc heap at [0x10bbe000,0x1153e000]
alloc heap at [0x1153e000,0x1283e000]
alloc heap at [0x1283e000,0x14e3e000]
alloc heap at [0x14e3e000,0x19a3e000]
alloc heap at [0x19a3e000,0x2323e000]
alloc heap at [0x303b0000,0x433b0000]
Note that the heap allocation at the end skipped over the buckhash allocation that happened early on (presumably because our requested size didn't fit adjacent to the last allocation because the buckhash allocation was in the way).  We now have a "hole" in the heap, but the GC pointer checking code doesn't know that.  It sees the pointer 0x301c0000 which is between arena_start=0x1016e000 and arena_used=0x433b0000 and barfs because there is no MSpan describing the 0x301c0000 address.
We should allocate "out of heap" MSpans for the ranges which the sysAlloc calls skipped over.  GC can ignore pointers to those areas.  It's a bit complicated because maybe sysAlloc could come back and fill in holes, so the "out of heap" MSpans might need to be split.
Or we could just turn off this check for 1.4.2.

Note that this is a bad bug - basically any 32-bit program allocating more than 0x301c0000-0x1016e000 ~= 512MB and then triggering a GC will crash like this.
package main
import "runtime"
func main() {
var b [][]byte
for i := 0; i < 600; i++ {
	b = append(b, make([]byte, 1048576))
}
runtime.GC()

}
@RLH @rsc @aclements

I don't think this can happen in this way on 64-bit, the heap is assumed to be contiguous and allocation fails if the runtime can't use the bits of the address space it thinks it can: https://github.com/golang/go/blob/master/src/runtime/mem_linux.go#L118 (and of course address space conflicts are way less likely on 64 bit anyway),

The same check is disabled in tip, runtime/mbitmap.go:180.  The test fails as expected if I enable it.
And there's a nice comment right there:
// Still happens sometimes. We don't know why.

FWIW, The "Still happens sometimes" was referring to a 64-bit system. I don't believe it is this specific cause.

Have you tested your program with the race detector?
Can you make a reproducible example available?

—
Reply to this email directly or view it on GitHub.

i've got this with -race: limit on 8192 simultaneously alive goroutines is exceeded, dying
is this limit configurable ?

Not currently. Are you able to reduce the amount of work your program does to stay under this limit? Are you able to post some code that demonstrates the problem?

On 24 Feb 2015, at 21:26, nprudhomme<EMAIL_ADDRESS>wrote:
i've got this with -race: limit on 8192 simultaneously alive goroutines is exceeded, dying
is this limit configurable ?
—
Reply to this email directly or view it on GitHub.

it seems i found the problem :
i reinstalled go 1.4.2 (on my go 1.3.3)
recompile all external packages (like github.com/deckarep/golang-set) for go1.4.2 and it works
i restore my previous installation and it fails like before. it appears that external packages where build when i had a go 1.4 installed on my laptop and when i update go to 1.4.2, it does not warn me about it (like it does on a major version). if all externals are up to date, the problem does not appear anymore


InferStrandness failure, --force_strand not supported

It seems that the option --force_strand mentioned twice in http://research.libd.org/SPEAQeasy/pipeline-overview.html has been removed recently (or never implemented?). I suppose that --strand_mode accept is meant to be the equivalent, however I was hoping that --force_strand would actually be more drastic and actually allow full skipping of the InferStrandness step in the pipeline.
I think there are good arguments for allowing the user to skip that step in some cases. For example, we just encountered a situation where a sample was so bad that no reads/pairs (zero!) got pseudo-aligned by kallisto during the InferStrandness step, causing the pipeline to fail like this:
 [~warn] Warning, zero reads pseudoaligned check your input files and index

  Error in if (1 - f_frac < thres_strand) { :
    missing value where TRUE/FALSE needed
  Execution halted

This kind of samples should not cause the whole pipeline to fail -- though of course the user should be warned about the problem samples. The QualityUntrimmed (fastQC quality check) step should take care of bad sample reporting, unrelated to InferStrandness . That is, an InferStrandness failure should NOT prevent QualityUntrimmed from finishing its job -- so the user can be informed about the "bad" samples that are or should be discarded from further analyses.
I suppose a simpler fix would be to prevent the fatal error in case of that particular InferStrandness failure, though there is still an argument for being able to skip it completely with an option like --force_strand, be it just to save unnecessary computation there..

Agreed, thanks for reporting this. I see this as 3 pieces to fix:

[ ] The --force_strand option was indeed replaced by --strand_mode accept, and the documentation needs to be fixed to reflect this
[ ] Perhaps a new option --strand_mode skip should allow skipping of InferStrandness, which would be different from --strand_mode accept in that SPEAQeasy would not check and record the inferred strand info (well actually, it doesn't yet do that either way, which was intended to be fixed in #87). Not sure if that's the best way to do it, since that difference is a bit subtle and maybe not intuitive
[ ] Kallisto-based errors should not halt pipeline execution (rather, just report a warning). Indeed, allowing FastQC to run yields important information


91 creation error improvements

Closes #91
Implementation changes:

Remove auto_config option during setup, because there seemed to be confusion as to what this option did, some seemed to be under the impression that having this as true was the only way to create a github repo, S3 bucket etc. but in fact all it does is run make init as soon as the cookiecutter folder is created. This confusion and added complexity is not worth it simply to save typing 9 characters.
Cookiecutter setup scripts

now live in .cookiecutter/scripts not bin/
are implemented as bash functions that Makefile
imports and calls - prevents accidental user execution of scripts with
potentially destructive/expensive/long-running side-effects
.cookiecutter/state stores which setup steps have already been done, to
avoid redoing them and them failing - e.g. because the GH repo already
exists
.cookiecutter/logs now stores verbose info about each setup command, with
the user only getting a summary of steps and success/failure to their terminal

Setup Makefile commands now the pattern:

Print to user what is being attempted
Perform the action, piping any output to .cookiecutter/state/<make recipe name>.log
On error, tell the user the step went wrong and point them to the log file for further info, and exit
On success, track the steps completion by creating .cookiecutter/state/<make recipe name>,
and tell the user we are successful

.env.shared renamed to .envrc and direnv is used to automatically load environment
variables

Finer changes
Quickstart documentation changes:
- Add asciicast video showing an example setup
- Split Requirements into a tabbed section showing a Summary by default,
  alternative tab gives more info
- Don't declare github CLI to be optional - encouraging using it ensures repos
  are uniformly configured
- More guidance on setting up AWS CLI
- Hide prompt explanation in "Create" section behind a toggleable to help
  overall page navigation
- Reword "Configure" section
- Rephrase last section to be about not having AWS rather than not being at
  Nesta
Misc:

In Makefile AWS_PROFILE is not needed, anyone with enough knowledge to setup AWS_PROFILE doesn't need us getting in the way
Correct formatting in Roadmap
Test setup guards against a temporary dir not existing
Sphinx docs correctly use repo_name for github URL
config/logging.yaml has escaping of template variable to avoid pre-commit
format issues
remove old todo note
Github actions test workflow is now debuggable via. SSH
Remove python-dotenv as a dependency and from __init__.py as direnv supersedes it
(- Fix &> redirection issue for mac)

Requests to testers:

Test the docs locally (see https://github.com/nestauk/ds-cookiecutter/blob/91_creation_error_improvements/docs/README.md) and feedback on changes and what could be clearer

Create some test cookiecutter projects (including using make init to create an S3 bucket and GH repo), checking that it works but also trying to get things to break.
Some ideas for ways you could try to get errors:

Create a project with a name for which there is a clashing conda env / S3 bucket / GH repo
Wrong AWS credentials or AWS_PROFILE set to something random
No internet
Weird characters in setup prompts

Dont forget to remove any S3 buckets and GH repos after. If it helps...

you can delete a bucket with aws s3api delete-bucket --bucket BUCKETNAME
you can delete a GH repo (after adding extra permissions for the GH CLI) with gh api -X DELETE "repos/USER/REPO_NAME" --silent

:warning: typos in the above commands could delete the wrong repo or S3 bucket

Critical feedback on the addition of direnv, which on entry to the cookiecutter folder:

Automatically activates the projects conda environment
Automatically loads any relevant secrets from .env
Automatically loads any shared configuration from .envrc, this is particularly useful for specifying the correct Metaflow configuration to use (METAFLOW_PROFILE) which otherwise is an easy tripping point

(Leaving the cookiecutter folder unloads all the above)

Hi @bishax, I've ran the cookiecutter setup and it creates projects without issue.
direnv automatically loading the conda environment is a nice addition 🙂
Docs feedback:
These are really clear and easy to follow. A couple of points:

Under the heading Configure in the section quickstart, the line "Create an S3 bucket s3_bucket has been created" reads as if it is missing a word?
Also under the heading configure in the section quickstart, it is written "If you don't need a github repo or S3 bucket just run make install, you can always run the individual make commands later." It could be helpful to add in an explanation here of which make commands to run to add a github repo or S3 bucket later.

Trying to find errors:

Create a project with a name for which there is a clashing:

project_name - If a dir already exists with the same name as the project_name, a new project is not created and there is error Error: directory already exists. If a cookiecutter project already exists with the same name as the project_name, it continues with the cookiecutter setup and does not overwrite the existing files.
conda env - make init stops with error Python environment setup failed, check .cookiecutter/state/conda-create
S3 bucket - make init stops with error Bucket creation failed, check .cookiecutter/state/setup-bucket
GH repo - make init stops with error Bucket creation failed, check .cookiecutter/state/setup-bucket. It was strange to receive this error as in this test, the GH repo already existed but the S3 bucket name did not already exist.

Wrong AWS credentials or AWS_PROFILE set to something random - make init stops with error AWS + Metaflow setup failed, check .cookiecutter/state/setup-metaflow
No internet - make init stops with error Python environment setup failed, check .cookiecutter/state/conda-create
Weird characters in setup prompts - make init stops with error Python environment setup failed, check .cookiecutter/state/conda-create

direnv:

Automatically activates the projects conda environment - ✅
Automatically loads any relevant secrets from .env - ✅
Automatically loads any shared configuration from .envrc - ✅
Leaving the cookiecutter folder unloads above - ✅


[Forwardport] Incorrect K8s version is displayed on a cluster edit when changing from revision with v13.12 to v1.14(Latest)

Forwardport of rancher/rancher#23616

Available in latest2.

Tested with master-head with UI index latest2.
Create a rke template with K8s version v1.13.12-rancher2-1, the template gets created with version v1.15.5-rancher1-1.
The following errors are seen .

API :
},
"rancherKubernetesEngineConfig": {
"addonJobTimeout": 30,
"authentication": {
"strategy": "x509",
"type": "/v3/schemas/authnConfig"
},
"ignoreDockerVersion": true,
"ingress": {
"provider": "nginx",
"type": "/v3/schemas/ingressConfig"
},
"kubernetesVersion": "v1.15.5-rancher1-2",

The bug was unrelated to this change but is resolved in latest2 now.

Tested with master-head build with ui index https://releases.rancher.com/ui/latest2/index.html
Steps:

Create a cluster template T1 and Revision R1 using K8s version v1.13.2-rancher2-1 (no override)
Create revision R2 using K8s version v1.14(Latest) (no override)
Create a cluster using R1
The cluster gets created correctly with version v1.13.2-rancher2-1. [There are no errors as shown in the comment above]
There is another issue which prevents from testing the forward port fix.
Edit the cluster and choose R2. The k8s version does not change to v1.14.8-rancher1-1

Available in latest2.

Tested with master-head from Nov 5th
Create a cluster template T1 and Revision R1 using K8s version v1.13.2-rancher2-1 (no override)
Create revision R2 using K8s version v1.14(Latest) (no override)
Create a cluster using R1
The forward port fix has the issue below:
Edit the cluster and choose R2. The k8s version does remains at v1.13.2-rancher2-1

Tested with master-head build with ui index https://releases.rancher.com/ui/latest2/index.html
Steps:
Create a cluster template T1 and Revision R1 using K8s version v1.13(Latest) (no override)
Create revision R2 using K8s version v1.14(Latest) (no override)
Create a cluster using R1
The cluster gets created correctly with version v1.13.2-rancher2-1.
Edit the cluster and choose R2. K8s version changes to v1.14.8-rancher2-1


The  show as color box on production.

The Icon show color rectangle box on production.
production::

dev::

Please provide a repro repository that can be cloned (please include steps to reproduce the issue). This looks like an issue with fonts assets, but it's hard to say without a repro.

this is the function::
const LGStatistic = (props) => {
useEffect(() => {
return () => {};
}, []);
const { count } = props;
return props.Loading ? (

) : (
<Statistic.Group className={props.size ? props.size : ""}>

<Statistic.Value>{count.all}</Statistic.Value>
<Statistic.Label>MEMBERs</Statistic.Label>

<Statistic.Value>
{/*  */}
{count.visitor}
</Statistic.Value>
<Statistic.Label>ผู้สนใจ</Statistic.Label>

<Statistic.Value>

{count.newbeliever}
</Statistic.Value>
<Statistic.Label>ผู้เชื่อใหม่</Statistic.Label>

<Statistic.Value>
{count.believer}
</Statistic.Value>
<Statistic.Label>ผู้เชื่อ</Statistic.Label>

<Statistic.Value>
{count.shepherd}
</Statistic.Value>
<Statistic.Label>พี่เลี้ยง</Statistic.Label>

<Statistic.Value>

{count.member}
</Statistic.Value>
<Statistic.Label>สมาชิก</Statistic.Label>

</Statistic.Group>
);
};

Please provide a repro repository that can be cloned (please include steps to reproduce the issue). This looks like an issue with fonts assets, but it's hard to say without a repro.

@layershifter, Thank you for enlighten me, I have fixed it.


Add support for merkle path set

This PR adds support for the MerklePathSet data structure to the CLI.  This is particularly important when performing recursive verification.

I was actually thinking of replacing MerklePathSet with something like a PartialMerkleTree which would use a somewhat different internal storage model (more similar to the current SimpleSmt). So, I wonder if we should do that first and then add this struct to CLI?

I was actually thinking of replacing MerklePathSet with something like a PartialMerkleTree which would use a somewhat different internal storage model (more similar to the current SimpleSmt). So, I wonder if we should do that first and then add this struct to CLI?

Yeah I think that makes sense.  The MerklePathSet is inefficient and results in a lot of duplicated data for paths in the same tree, particularly nodes at low depth - see here.  The primary motivation for implementing this was for the recursive-verification branch for the zkhack.  Let's wait to update the structure and then come back to support it in CLI.


Use macrotask executor for scala.js

See https://github.com/scala-js/scala-js-macrotask-executor

This can be closed as of https://github.com/monix/monix/pull/1522.


[L] View Search Result List

As a park name registrar, I need to view a list of park names by ParkID (aka ORCS) so that I can easily find what I am looking for in the list.
Updated MVP AC:

View complete list of names organized by ORC/ParkID number
List respects search criteria aka shows results
UI matches designs

Notes:

First iteration will not include sites
*Backlog Refinement flag - This issue was originally estimated as a L (5) but no longer includes #43 (provide URL to results) and #44 (export search results) so will need to be re-estimated.

Figma design link
https://www.figma.com/file/qdjegD6YHWZPlyFT8dGXvk/Park-Name-Data-Register?type=design&node-id=388%3A5511&mode=design&t=inwvIWrUSKnKJIKl-1

@janemoxd for status in this list, do we want it to reflect park name status? So historical or current will be the status options here (no repealed). And to find a repealed park it would show the park name status of historical.
@cameronpettit @danieltruong  fyi

Another question, from what I understand, the only way to get to design <IP_ADDRESS>c is via the search page clicking on the edit button in the list. With these changes regarding the historical status, how will the flow to get to <IP_ADDRESS>c change?

@JLWade That wasn't the original idea - but with statuses in flux, we'll need to wait until that's resolved to update what statuses should be in the dropdown. If we go with the concept of protected area ID as an object that can have a status, then the dropdown would include the protected area statuses.
Having name status in this dropdown wouldn't make any sense because from the user's POV, the current and historical names show up in the same place on the UI - so you couldn't search for a historical name without also viewing the current name and vice versa.

@danieltruong That's a good question. I don't think there should be any change (except for maybe the wording). But want the status question to be resolved before I can answer that for certain.

Let's leave this in blocked until we sort that status piece out.
Thanks for the responses!

Questions in this ticket are resolved. Attaching new user flow diagram to answer anything else outstanding.

Blocked by question in Dev channel.
"I am currently looking at ticket 27 design 1.0d. In the notes of this page, it states that "If the user clicks “Search” with the default filters/searches as shown, a full list of all records will be returned."  Returning every single record in the database in no particular order is an expensive query that I feel serves no business need. Is there an actual need for this query?"

The ability to get all records has been removed. Moving to in progress.

Updated AC and removed the UI relevant to 'get all records'. Discussion was had with dev and design in teams around this feature and was agreed to remove it. Will re-assess design after launch if the user need arises for this type of full list.

Blocked by #26

moving back to in progress as #26 is close to completion and this can be unblocked as is being worked on as demoed at standup this morning

Tested on TEST: Done

Testing has been completed and verified that as a user I can search for a keyword and retrieve protected area search results.
A separate ticket created for a bug: https://github.com/bcgov/parks-data-register/issues/295
Passing to PO review.

working for me and will prioritize that bug - moving to done


Event Suggestion 🥇

Is your feature request related to a problem?
related to a problem
Describe the solution you'd like.
Add event spectator:

auto add spectator mode when died or loses (on event)

Add kit select menu:

after click host FFA, Bracket -> action open menu kit selector for select host kit ffa, bracket

Add TNTRun Event:

if someone don't want this, just disable on config
if disable don't register it on plugin register

Fix Force Player Shown:

Should fully fix!

Fix OITC Respawning:

OITC Respawning state shoulda can move (in my opinion)
OITC Respawing state shoulda hidden to player alive

Describe alternatives you've considered.
Please :
Agreements

[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] I have ensured the feature I'm requesting isn't already in the latest Frost.

Other
No response

Please open separate issues for each bug report and suggestion 😭


Add install-includes field to cabal file

This adds an install-include field to the library, so that
cabal new-sdist

now works correctly.

Thanks, but those headers are private and should remain private, install-include is for exposing C headers

Ah okay, my apologies. I have added them to the extra-source-files instead.

Thanks !


Font Metrics

Sparky needs to support font metrics (i.e. measuring the size of a string using a certain font). This is vital for UI, and needs to be done as soon as possible. FreeType supports all of this, it would just be a matter of hooking it up and creating an API for it (probably in the Font class, and additionally possibly exposed through Label).

Added in rev aa2d8f7.


METRON-937 Pycapa Consume Messages from Begin, End, or Stored Offsets

Changes

I have altered Pycapa so that it can consume messages from either the beginning, end or the previously stored offsets of a topic.  This can be done using the -o or --kafka-offset flag that can be either begin, end, or stored.  This defaults to end.
Added additional information when using the --pretty-print flag.  It will now show the partition and offset for a packet, both on the producer-side (sending packets to Kafka) or the consumer-side (receiving packets from Kafka).

Testing

Install Pycapa.

Launch a Kafka Broker on your localhost.  For example, using Kafka installed via Brew on my Mac.
export KAFKA_HOME=/usr/local/Cellar/kafka/<IP_ADDRESS>/
export KAFKA_CONF=$KAFKA_HOME/libexec/config
zookeeper-server-start $KAFKA_CONF/zookeeper.properties
kafka-server-start $KAFKA_CONF/server.properties

Produce some packets.  Assumes you're actively using en0 and Kafka is at localhost:9092.  Let it run until it completes and captures 50 packets.
 pycapa --producer \
    --interface en0 \
    --kafka-broker localhost:9092 \
    --kafka-topic pcap \
    --max-packets 50

Run the consumer. The consumer will not consume any packets.  It starts from the end of the topic, by default, and since there are no active producers, there is nothing new to consume.
pycapa --consumer \
    --kafka-broker localhost:9092 \
    --kafka-topic pcap
    --pretty-print 1

Run the consumer again, but start from the beginning of the topic.  You should be able to consume all 50 packets.
pycapa --consumer \
    --kafka-broker localhost:9092 \
    --kafka-topic pcap
    --pretty-print 1
    --kafka-offset begin

Pull Request Checklist

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?
[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?
[x] Have you included steps or a guide to how the change may be verified and tested manually?
[x] Have you ensured that the full suite of tests and checks have been executed in the root incubating-metron folder via:
[x] Have you written or updated unit tests and or integration tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?
[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:

kick travis

travis!
Running org.apache.metron.parsers.integration.YafIntegrationTest
Running Sample Data Validation on sensorType yaf
2017-05-09 13:31:23 ERROR ParserTopologyComponent:114 - Storm slots didn't shut down entirely cleanly *sigh*.  I gave them the old one-two-skadoo and killed the slots with prejudice.  If tests fail, we'll have to find a better way of killing them.
java.lang.IllegalStateException: It took over 60000ms to shut down slot Thread[SLOT_1024,5,main]

travis!
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.metron.pcap.integration.PcapTopologyIntegrationTest
Formatting using clusterid: testClusterID
Processing: ip_dst_addr => <IP_ADDRESS>
Processing: protocol => foo
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Processing: ip_dst_port => 22
Ended
2017-05-09 14:39:20 ERROR ReadClusterState:345 - Error trying to shutdown workers in Thread[SLOT_1027,5,main]
java.lang.IllegalStateException: It took over 60000ms to shut down slot Thread[SLOT_1027,5,main]
	at org.apache.storm.daemon.supervisor.ReadClusterState$1.call(ReadClusterState.java:294)
	at org.apache.storm.daemon.supervisor.ReadClusterState$1.call(ReadClusterState.java:292)
	at org.apache.storm.daemon.supervisor.ReadClusterState$3.call(ReadClusterState.java:307)
	at org.apache.storm.daemon.supervisor.ReadClusterState$3.call(ReadClusterState.java:304)
	at org.apache.storm.daemon.supervisor.ReadClusterState.shutdownAllWorkers(ReadClusterState.java:333)
	at org.apache.storm.daemon.supervisor.Supervisor.shutdownAllWorkers(Supervisor.java:330)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
	at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
	at org.apache.storm.testing$kill_local_storm_cluster.invoke(testing.clj:204)
	at org.apache.storm.LocalCluster$_shutdown.invoke(LocalCluster.clj:66)
	at org.apache.storm.LocalCluster.shutdown(Unknown Source)
	at org.apache.metron.integration.components.FluxTopologyComponent.stop(FluxTopologyComponent.java:159)

Travis
Running org.apache.metron.pcap.integration.PcapTopologyIntegrationTest
...
ERROR ReadClusterState:345 - Error trying to shutdown workers in Thread[SLOT_1024,5,main]
java.lang.IllegalStateException: It took over 60000ms to shut down slot Thread[SLOT_1024,5,main]
...
ERROR FluxTopologyComponent:166 - Storm slots didn't shut down entirely cleanly *sigh*.  I gave them the old one-two-skadoo and killed the slots with prejudice.  If tests fail, we'll have to find a better way of killing them.
java.lang.IllegalStateException: It took over 60000ms to shut down slot Thread[SLOT_1024,5,main]
	at org.apache.storm.daemon.supervisor.ReadClusterState$1.call(ReadClusterState.java:294)
	...

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 179.503 sec <<< FAILURE! - in org.apache.metron.pcap.integration.PcapTopologyIntegrationTest
testTimestampInPacket(org.apache.metron.pcap.integration.PcapTopologyIntegrationTest)  Time elapsed: 71.681 sec  <<< ERROR!
java.lang.RuntimeException: Too many retries: 11

Travis is my friend

Please take a look-see.  I'd like to get this fix in.  Travis CI has passed.

+1, ran through steps.  Thanks for the contribution!


grype: 0.32.0 -> 0.33

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/anchore/grype/releases.
meta.description for grype is: "Vulnerability scanner for container images and filesystems"
meta.homepage for grype is: "https://github.com/anchore/grype"
meta.changelog for grype is: "https://github.com/anchore/grype/releases/tag/v0.33"
Updates performed

Golang update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/fvls7fa1c723lj7si2mmidq3zb9zf8i7-grype-0.33/bin/grype had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.33 with grep in /nix/store/fvls7fa1c723lj7si2mmidq3zb9zf8i7-grype-0.33
found 0.33 in filename of file in /nix/store/fvls7fa1c723lj7si2mmidq3zb9zf8i7-grype-0.33

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
grype

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fvls7fa1c723lj7si2mmidq3zb9zf8i7-grype-0.33 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A grype https://github.com/r-ryantm/nixpkgs/archive/2abbc9bb0ecbd7a5c4150cc8612a2d66d18e71b4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fvls7fa1c723lj7si2mmidq3zb9zf8i7-grype-0.33
ls -la /nix/store/fvls7fa1c723lj7si2mmidq3zb9zf8i7-grype-0.33/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

grype

Maintainer pings
cc @fabaff @06kellyjac @kalbasit for testing.

resolved by #160284


Enum didn't exist migration still adds new value to all versions

Enum didn't exist migration still adds new value to all versions. Should be added only to new api versions that comes after this migration.
Steps to reproduce the behavior:

Add migration

class MainEnum(enums.Enum):
    value_1 = 1
    value_2 = 2

class AddNewEnumValue(VersionChangeWithSideEffects):
    description = "Add new enum value."

    instructions_to_migrate_to_previous_version = (
        enum(MainEnum).didnt_have("value_2"),

run schema generation

Expected behavior
New enum value is not copied to all versions, but remains only in latest

It was a mistake from my side


decrease build time

Docker layers seems to have a max size, so I we are creating multiple layers now during tool installation.


Update Linux packages to include Linked Servers support

tds_fdw is currently only included with Windows builds. Linux packages need to be updated to include tds_fdw a well to support Linked Servers and OPENQUERY.

With update 4-9-1 Linux packages include support for tds_fdw, closing the issue.


fix: changed updated row logic

Description
This PR updates the logic of how the updatedRow derived property is computed. Previously, updatedRow was equivalent to triggeredRow.

Intended behaviour:

updatedRow should be available as soon as a user updates a table cell. Not edits, but updates.
updatedRow when the mode is set to custom should show data of the most recent row which is updated.
The structure of updatedRow should be similar to that of triggeredRow property.
When there is no change updatedRow should be equal to an object with keys having blank string value.

Summary of changes:

Introduced a new meta property named: updatedRowIndex. This index value helps us to get updated row from the filteredTableData or processTableData
updatedRowIndex is updated when the transient table data is updated.
It is reset to -1 whenever:

Whenever the value is discarded with discard button. Refer to the removeRowFromTransientTableData
Whenever the table data is modified. Refer to the componentDidUpdate

Fixes #15486
Type of change

Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Below is the list of test cases that is executed to verify my changes:

Cypress:

Added below cypress tests to inline_editing_spec.js to check the following behaviour for single and multi row update mode:

check if updatedRowIndex has -1 as the default value (Only for single row update mode)
check if updatedRowIndex is 0, when cell at row 0 is updated (Only for single row update mode)
check if updatedRowIndex is -1 when changes are discarded
check if the updateRowIndex is -1 when widget is reset
check if the updatedRowIndex changes to -1 when the table data changes.

Unit test:

Added tests in derived.test.js with the following scenarios to validate getUpdatedRow:

with valid updated row index
with updated row index as -1
with string as a updated row index
with undefined as updated row index
for removal of non data columns.

Manual

Manually tested that, on click of onSave button the updatedRowIndex is reset to -1.

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=9098b86

/ok-to-test sha=9098b86

/ok-to-test sha=c171829

@keyurparalkar
As discussed, the cursor isn’t seen under editable rows. Please do check.
Also, on discard the updateRow's string is empty. IMO, we could retain the details of the row and revert only the changed value.
Will cover all test cases once the cursor fix is up.

@laveena-en I tested this on the DP. I am not able to reproduce this issue. PFB video
https://user-images.githubusercontent.com/14138515/203273493-a76586df-29d5-4007-836d-e113a5217f12.mov

Ok the reason we started working on this is for single row update mode, once a user discards the change we should always remove the data to not confuse them

@keyurparalkar Can you try it on a table widget that has Google sheets datasource? Sharing the app for your reference: https://appsmith-git-fix-fix-updatedrow-logic-get-appsmith.vercel.app/app/test12/page1-630481ec84daf727dddb0285

@keyurparalkar Can you try it on a table widget that has Google sheets datasource? Sharing the app for your reference: https://appsmith-git-fix-fix-updatedrow-logic-get-appsmith.vercel.app/app/test12/page1-630481ec84daf727dddb0285

@laveena-en This is also happening on PROD.

Raised a separate issue for

@keyurparalkar Can you try it on a table widget that has Google sheets datasource? Sharing the app for your reference: https://appsmith-git-fix-fix-updatedrow-logic-get-appsmith.vercel.app/app/test12/page1-630481ec84daf727dddb0285

Raised a separate issue for this https://github.com/appsmithorg/appsmith/issues/18352
cc: @dilippitchika

Tested and verified for the test-cases mentioned: https://github.com/appsmithorg/TestSmith/issues/2091

@keyurparalkar could you update the PR title to include table widget. something like
"feat: updatedRow property should point to the last edited row in table widget"


infra: Memory Leaks Detection

Description
Use tools like valgrind to detect any potential memory leaks in the application.
Acceptance Criteria

Run memory leak detection tools
Document the findings
Fix detected leaks and validate with tools
Add checks to the CI/CD pipeline

@abdelhamidbakhta I can take this :)

@bajpai244 assigned


Command line wrapper for this implementation?

Looking for an efficient repeat masker command line tool and stumbled across your reimplementation of Dust.  Are there any default parameters you recommend for eukaryotic genome masking (in particular, protists and fungi)? Also, do you plan on developing a CLI wrapper for your implementation to integrate into pipelines easier (eg Pyrodigal)?

Are there any default parameters you recommend for eukaryotic genome masking (in particular, protists and fungi)?

I'd just use the defaults for that.

Also, do you plan on developing a CLI wrapper for your implementation to integrate into pipelines easier (eg Pyrodigal)?

I wanted to, but don't think I'll be able to work on that in the near future. Maturin supports exposing functions as entrypoints, so it should be relatively easy to do even with pure Rust.

Awesome, thanks for the insight!  Looking forward to testing this out in some of my pipelines.  I've been realizing eukaryotic metagenomics requires so many hoops to jump through especially doing it at scale.  Recently just came across miniprot but still trying to figure out how to enrich the results since I'm getting wildly different results than MetaEuk w/ the same database.


Support loading meshes in glTF format

glTF 2.0 is a new standard 3D mesh format that supports PBR natively.
Desired behavior
MeshManager::Load() be able to load glTF 2.0 mesh files with file extensions .glb and .gltf.
Alternatives considered
N/A
Implementation suggestion
We can use https://github.com/syoyo/tinygltf to parse glTF files.
Additional context
https://www.khronos.org/gltf/

I am a bit confused - this ticket implies that gazebo doesnt yet support gltf, but https://gazebosim.org/docs/all/release-features  implies it does. Does Gazebo support glTF?

Yes, glTF support was added in https://github.com/gazebosim/gz-common/pull/393. I'll close this issue.


Single Folder Protection

While i installed this plugin, i found out that I can only password protect one at a time. Can there be more than two folder protection at the same time?

If you place several folders to be protected as subfolders in the parent folder, then only the parent folder will be protected in the settings. Is that okay?

Or can you set the root path as the protected directory?

the two folders of two different path can't be protected at the same time?

I currently have no plans to support protecting two or more folders at the same time. If there are more people who need this, I will consider add the feature.

I need this feature as well. Thanks a lot.

I would also greatly appreciate locking more than one folder path, as well as multiple individual singular files that are located in their own different folders for better sorting.

OK , I will try to add the feature.


Fix ODR violations in interactive_marker displays.

When building this on RHEL and with -Wodr specified, we get some ODR violations reported.  The main reason for this is that the InteractiveMarkerNamespaceProperty class is forward-declared in the wrong namespace.
However, when looking at it I realized that there is really little reason to forward-declare all of this stuff at all.  We have header files; we should just use them.  So I did a minor refactoring here where I removed forward declarations in favor of the header file.

CI:

Linux
Linux-aarch64
Windows


tree not updating

Tree not updating when nodes added dynamically

in version 2.3.0, I added a method reload() , which can be called to update the component when the prop 'tree' is mutated.
however, instead of mutating the prop 'tree', methods such as  create, remove, move and setTitle are recommended.

Yeah i saw those functions but data update on props should also reflect in tree  , it feels more like a usual componenet behaviour  , so you can just chnage your json data and it get reflected in tree other wise you have to loop through the json to recreate tree if i added bunch of item in json or removed some

As of 2.10.0,  I added the autoReload property, which can make the component update automatically when it is true .


Expose ImageToImageFilter::VerifyInputInformation() as a usable True/False function

Description
When checking a large number of images before processing, say by reading just the metadata rather than the voxel data, it would be worthwhile to be able to check if they're all "in the same space" before doing expensive processing.
Exposing the logic of ImageToImageFilter::VerifyInputInformation() as a function for using a test on a pair of images would be helpful in this regard.
Expected behavior
newFunction(img1, img2) returns True if the images  would pass the same test in ImageToImage Filter (i.e. same origins, spacings, Directions etc)
Actual behavior
NA
Additional Information
Inspired by question here, https://discourse.itk.org/t/quick-test-for-are-images-in-the-same-space-aka-overalpping-simpleitk/5249/5

Possibly add it to ImageBase, as a method named SameImageGridAs(ImageBase* otherImage).

One to to clarify here, I'd like it to be usable without loading voxel data, as I would intend to use it as a preflight check before heavy IO and computation, which I do in SimpleITK by with ImageFileReader/ReadImageInformation.

Possibly add it to ImageBase, as a method named SameImageGridAs(ImageBase* otherImage).

The current implementation in ImageToImageFilter also uses a member variables m_CoordinateTolerance and m_DirectionTolerance  so the proposed method would need to have these arguments too.
There are only a  3-5 lines of code to do the comparison, most it is just printing an error message. The error code would not be appropriate for the proposed method IMHO.


Fix layout shift with SSR

For some reason, there's a reasonable amount of layout shift even with tweets rendered via SSR.
Need to investigate what's going on and fix the perf issue.

I believe it's because when rendering tweets with images, img is not receiving a width or height and it uses padding-bottom as a % unit.


Create kadanes_algo.cpp

Kadanes algorithm using c++.

Great work @Naitik234 please give this repo a star and follow me for follow back for such open source contribution program ✨😊


CompositeLayer fails if number of inputs is larger than number of layers

In my MLP model I have a composite space with two components as input:
input_space: !obj:pylearn2.space.CompositeSpace {
  components: [
    !obj:pylearn2.space.VectorSpace {
      dim: 50,
    },
    !obj:pylearn2.space.IndexSpace {
      dim: 1,
      max_labels: 100
    }
  ]
},
input_source: ['features', 'additional_stuff'']

In my model, I want to discard the second component, so I use a CompositeLayer with only one layer, and specify that input 0 is routed to layer 0 and input 1 to nothing:
!obj:pylearn2.models.mlp.CompositeLayer {
      layer_name: 'composite_layer',
      inputs_to_layers: {0: [0], 1: []},
      layers: [
        !obj:pylearn2.models.mlp.RectifiedLinear {
                       layer_name: 'h0',
                       dim: 300,
                       sparse_init: 15,
                       max_col_norm: 5.0,
        },
      ],
    },

This causes an assert at https://github.com/lisa-lab/pylearn2/blob/master/pylearn2/models/mlp.py#L4071 to fail. The assertion is invalid, as it checks, whether the ID of an input is less than the number of layers.
I think the number of actual inputs is not known at that point, so I would recommend to just remove that line (works according to my experiments).

I think a different check should happen in CompositeLayer.set_input_space(). Here the model can actually confirm that all of the keys are smaller than the number of components in the input space.
I agree that it doesn't make sense to assert that the value of the key is less than the number of layers. Your example is one instance of this and one could also build a network where a bunch of inputs go into a nested CompositeLayer and again the number of keys could be larger that the number of layers.


Possible IMDB captcha check or IMDB login incorrect.

Is there already an issue for your problem?

[X] I have checked older issues, open and closed

Bug Description
Hy, i already posted about this same error in 12.2023 but tried again and again and nothing works. I posted SS. I tried with firefox and chrome. Also made each of them default browser so it isn't that but can't get it to work. I also tried after i needed windows reinstall and still nothing.  I used username from ss i posted and my password with which i log in to imdb.
Environment
OS: Windows 11, also tried on Windows 10
Screenshots

Username should be your email or phone number for logging into IMDB.
When you get this error you should log out/login on browser as many times as necessary until you trigger captcha check and then complete it. You may need to do this several times until the captcha check is gone. You can also try changing IP address with VPN or something. Otherwise only other thing you can do is wait a few hours/days and try again.

Yap, it work i put my e-mail as username. I think it would be good if you updated description and put that needs to be your email or phone number and also log out/login on browser as many times as necessary until you trigger captcha. Just a friendly suggestion
All worked fine! Thank you for making this script! ❤


how to close the AP after successfully connecting to the configured WiFi?

the AP is still "there", even after connecting to the WiFi! :)
Even on every new reset with stored (and valid) SSID/pass!
void wifimanager_setup()
{
    delay(500);

    Serial.print("\nStarting Async_AutoConnect_ESP32_minimal on " + String(ARDUINO_BOARD));
    Serial.println(ESP_ASYNC_WIFIMANAGER_VERSION);

#if (USING_ESP32_S2 || USING_ESP32_C3)
    ESPAsync_WiFiManager ESPAsync_wifiManager(&webServer, NULL, HOSTNAME);
#else
    ESPAsync_WiFiManager ESPAsync_wifiManager(&webServer, &dnsServer, HOSTNAME);
#endif

    ESPAsync_wifiManager.setDebugOutput(true);

    // We can't use WiFi.SSID() in ESP32 as it's only valid after connected.
    // SSID and Password stored in ESP32 wifi_ap_record_t and wifi_config_t are also cleared in reboot
    // Have to create a new function to store in EEPROM/SPIFFS for this purpose
    String Router_SSID = ESPAsync_wifiManager.WiFi_SSID();
    String Router_Pass = ESPAsync_wifiManager.WiFi_Pass();

    // Remove this line if you do not want to see WiFi password printed
    Serial.println("ESP Self-Stored: SSID = " + Router_SSID + ", Pass = " + Router_Pass);

    // ESPAsync_wifiManager.resetSettings();   //reset saved settings
    ESPAsync_wifiManager.setAPStaticIPConfig(IPAddress(192, 168, 132, 1), IPAddress(192, 168, 132, 1), IPAddress(255, 255, 255, 0));
    ESPAsync_wifiManager.autoConnect(AP_NAME);

    if (WiFi.status() == WL_CONNECTED)
    {
        Serial.print(F("Connected. Local IP: "));
        Serial.println(WiFi.localIP());

        // ESPAsync_wifiManager.stopConfigPortal = true;
    }
    else
    {
        Serial.println(ESPAsync_wifiManager.getStatus(WiFi.status()));
    }
}

Hi @slaesh
Please don't use any of the minimal examples as they are just demo to show how you can minimize the code, certainly with minimal features.
Start with other examples, such as Async_ConfigOnDoubleReset, etc.
I'm thinking about deleting all the confusing minimal examples to avoid future issues.
Good Luck,


Auto Find HostName

Few things added in this request

Hostname is now updated using the origin remote.
Multiple tokens (will select the first one that has access to hostname(not repo))

PS never written in coffee script and never touch atom package.

This pull request will fix #15

Closing as this is a project from what I can tell


Simple lookup view for LR uuids

@mcjustin I added this simple view function to lookup the article ID from the configured LR.  Not protected, perhaps it should be - but seems pretty harmless.

Looks like Victor added an info page in Liferay to lookup the UUID directly on a piece of content.  Closing this PR as it's no longer needed.


Input group / Control group

Making the component of the input group
Blueprint-doc: https://blueprintjs.com/docs/#core/components/text-inputs.input-group
Code ControlGroup: https://github.com/palantir/blueprint/blob/develop/packages/core/src/components/forms/controlGroup.tsx
Code InputGroup: https://github.com/palantir/blueprint/blob/develop/packages/core/src/components/forms/inputGroup.tsx

When i try to add another inputgroup i have this error
error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<></>`)

need some help for that and a review of the actual inputgroup to see how we can fix the difference between yewprint inputgroup and blueprint

i think it's not perfect but good enough for now
i need more component to make it looking great
what do you think about the actual work @cecton ?

you review is now reviewed, i still have an issue with the fill props of the control group
but all of your comment is fixed

For now i have some issues:
inputGroup is visually bad, i don't know how to easily make a better render
i can't use the select for the last inputGroup, bad render with small and round props. Maybe use a menu like Blueprint
i can't use tag for now, bad render with small prop. Need to search to know what to put inside the tag
ControlGroup fill prop don't work

Need a review @cecton :D
ControlGroup is fine i think
InputGroup need more enhancements but i think we can push it for now and come back on it later with some other component (like popover) not implemented yet


PyPI release

Hi there, firstly thanks so much for creating this project, I have been wanting exactly this - ability to use IGV in colab and Jupyter notebooks - for some time, it's super useful!
I realise this is still at a fairly early stage of development, but would it be possible to make a PyPI release? I would like to specify igv-notebook as a dependency in another package, but PyPI doesn't allow dependencies given as GitHub URLs.

Hi @alimanfoo ,  yes that is on my to-do list,  I will try to get to it today.   If its not there by the end of the week ping this issue.

Thanks @jrobinso, much obliged.

Brilliant, thanks @jrobinso :pray:


Adreno 750  compatList.isDelegateSupportedOnThisDevice:false

Issue type
Support
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
org.tensorflow:tensorflow-lite-gpu:2.13.0
Custom code
Yes
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
How to support GPU acceleration
Standalone code to reproduce the issue
// 检查设备是否支持 GPU
                CompatibilityList compatList = new CompatibilityList();

                if(compatList.isDelegateSupportedOnThisDevice()) {
                    // 创建 GPU delegate
                    gpuDelegate = new GpuDelegate();
                    options.addDelegate(gpuDelegate);
                    isUsingGPU = true;
                    Log.i(TAG, "成功创建 GPU 代理");
                } else {
                    // 如果不支持 GPU，使用优化的 CPU 配置
                    options.setNumThreads(Runtime.getRuntime().availableProcessors());
                    options.setUseXNNPACK(true);
                    Log.i(TAG, "使用优化的 CPU 配置");
                }

Relevant log output
No response

Hi @lizhiwen19900709 ,
Thank you for raising your issue here. Could you please elaborate on your issue and provide reproducible code to help debug it? Additionally, it would be helpful if you could share details such as your operating system.
Thank you!