Add adjust_floating_point_error parameter to xlsx parser

I will update with tests in a few days but I wanted to post this now to bring it to your attention and get your thoughts.
This is an issue that affects all of python excel libraries and is not unique to tabulator, openpyxl, or xlrd. For some cells in sheets (specifically cells that are created via an excel function) the displayed value in excel differs from the value parsed by python.

(example file https://datadocs.bco-dmo.org/data/302/TestProject/data/orig/Data_sediment_TP_MRP_MUP.xlsx)
I believe this is just a result of floating point imprecision. When you divide two floats sometimes you get erroneous false precision. Excel has some kind of logic (more on that later) that rounds this value in the display.
Because of the added preserve_formatting flag in Tabulator, this is not a problem when the number has a format. However, if the format is General the erroneous precision is passed into the tabular dataset and is confusing for users expecting to see exactly what they saw in the excel file.
I propose a new adjust_floating_point_error flag to the xlsx parser in Tabulator that will attempt to correct this false precision.
The logic (which I suspect is how excel does it) is basically guessing the maximum precision of the mantissa (15 if the integer side is >= 0 and < 10, 14 if the integer side >=10 and < 100, etc.) and rounding to that minus 1. This is a problem if a value with a ton of intended precision is stored in the excel sheet, but it will help a lot in our workflow when this isn't the case.

Please preserve this line to notify @roll (lead of this repository)

@cschloer
Cool, thanks!
BTW do you think it's better with a flag or we can adjust it by default? (cc @akariv)
If the flag is necessary, please also add it to the README.md excel options when you're on tests.

I think it's definitely worth having the flag in case someone wants the actual value in excel (in cases where maybe they use all 15 points of precision), but whether the flag is set to default is another matter. I assumed not because of backwards compatibility with old pipelines (since values will be different), but for our use case we will pretty much always set it to true.

Cool, let's go with the flag then

Added tests @roll . Unfortunately I couldn't get the floating point error with a self created file (I only have libre office on my computer) and I think this issue only occurs with Microsoft Excel, so I had to use a file that already existed.

With Amber's help I was able to simplify the file a bit!


Best Practices for integrating react native mmkv into existing Android project

Hi @mrousavy
I have an existing android project, where i have copied the entire react native mmkv folder except MMKV (Submodule )
Which i have listed as a dependency
dependencies
{
implementation "com.tencent.mmkv:1.3.3"
}
I have commented out to execute CMake in build.gradle, during runtime it is not able to find libreactnativemmkv.so
I have tried to extract .so files from .aar file & inlcude them via build.gradle but no luck.
Want to know what is the best way to integrate ? should we copy the entire MMKV folder and place it ?

Below is the error.
Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libreactnativemmkv.so" not found
I definitely know, i would've missed something.
But i am curious to know if we can rather than copying the entire MMKV folder, can we declare it as dependency in react-native-mmkv/android/build.gradle and refer it.
If we declare it as a dependency it would download .aar file, so can we refer .so file inside it rather than copying it.
I want to know if that is a feasible approach, if not could you please share why ?
Could you please share steps or any readme through which i can achieve this ?

I think this workflow is currently not supported. react-native-mmkv uses MMKV as a submodule / C++ library, to use it from Android you can try to use MMKV's Android bindings, without adding the C++ library twice.


Theme autoloading doesn't seem to work

Hello,
I ran into an issue when trying to extend the Antimatter theme. I followed the steps from the tutorial but at the end I got an error :
E_WARNING - include_once(/home/me/myproject): failed to open stream: No such file or directory

I did some debugging and found out that there is a problem in \Grav\Common\Themes::autoloadTheme().
Method is called with argument "Grav\Theme\Antimatter" and tries to load a file "/home/me/grav/user/themes/Antimatter/Antimatter.php" which is not all right since theme directory names are lower case.
The $file variable evaluates to false but it seems that stream_resolve_include_path() doesn't return false but the path to the root of the project. This results to include_once() beeing executed with a wrong path and leads to this crash.
This code should probably use file names in lower case but maybe there could be another way to do this such as using the configuration.

@sommerregen do you mind looking any this?

@rhukster Yes, I will do this.
@sowebdev Thanks for the detailed investigation and since you mentioned this you are totally right that the directory name should be lowercase. Unfortunately on my local install (this error didn't come up...). In the end I guess we only have to change one line namely https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Themes.php#L287. Can you try to use this at line 287
$path = strtolower(ltrim(preg_replace('#\\\|_(?!.+\\\)#', '/', $class), '/'));

instead?

@Sommerregen Thanks for your fix, tested it, it will work :-)

Thanks!


Github actions for more connectivity!

Closes #465

Auto comment on issue Closed and Opened
Auto comment on PR mergs
Auto comment on PR raises

Using this workflows makes you'r repo more interactive ! @YadavAkhileshh
Note: Add level3 with gssoc-ext and hacktober-accepted labels! assign me to this PR !!

Proof:
Issue open and close:

PR raise and  merged:

@YadavAkhileshh add level2 with gssoc-ext and hacktoberfeast-accepted labels and merge it!

@MastanSayyad There are 3 workflows added in this PR!! and 1 updated!!
as you told i can get a level2 for it right???
kindly resolve it!

@smog-root looking at your number of workflow Contributions, thay scheme does not apply to you, as I said it is for unique Contributors
Similar Contributions are okay when done less, if there are more number then need to balance the labels for it
There is someone who building entire web page, someone who contributed for web development or a backend for a website which took more than hours sometimes a day, to them we give level 3, at the same time similar levels to these type of PRs are not fair and worthy whose code is already available in the internet.
We should do project development through our contributions, but these workflow only benefits repos managements. Its good that you have a great knowledge of github work flows but you should move on to the next too

@MastanSayyad okay. i got you! i will stop working on workflows! and move to real thing!
i have some pending issues on workflows which are assigned to me! i will complete them and move on!! @MastanSayyad


[enhancement]:on send2trash exception there should be a force delete option

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
I've previously submitted #6598 for this same issue. but the fix didn't solve it for me.
this solution does
if image_path.exists():
                try:
                    send2trash(image_path)
                except Exception as e:
                    os.remove(image_path)
if thumbnail_path.exists():
                try:
                    send2trash(thumbnail_path)
                except Exception as e:
                    os.remove(thumbnail_path)

I'm not sure what approach you want to take, but this solves it for me. so please take a look. thanks
Alternatives
No response
Additional Content
No response

Thanks, that seems like a reasonable fix.
However, I think we should just remove send2trash entirely. The original intent for using this utility was to allow you to easily restore images. At the time we added it, there was no database, and we listed images by scanning the folder. We no longer do this, so restoring the image from trash does not restore it in the gallery.
This utility and the message when you delete seems to imply you can undo the delete easily - which is not true. So I think we should remove this and just call os.remove (or Path.unlink).
What do you think?

@psychedelicious I think making it more Stright forward is better. deleting should delete the image there shouldn't be any confusion. so "os.remove" would be the best choice, i think.


Wrong names for iPad 5 and 6.

Found out that .iPad5 and .iPad6 aren't called iPad 5 and iPad 6.
They are called iPad (5th generation) and iPad (6th generation)

Source: https://support.apple.com/en-us/HT201471#ipad

Fixed in 2.0


Fixed crash when USER_ENABLE_INVITE_USER

Fix #223

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a379fa0). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #228   +/-   ##
=========================================
  Coverage          ?   90.62%
=========================================
  Files             ?       25
  Lines             ?     1450
  Branches          ?        0
=========================================
  Hits              ?     1314
  Misses            ?      136
  Partials          ?        0

Impacted Files
Coverage Δ

flask_user/user_manager.py
91.14% <100%> (ø)

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 a379fa0...0b8462f. Read the comment docs.

Hi @vvch! Thank you for your contribution! Looks reasonable.


Improves tests for wagtailforms

Now wagtail.wagtailforms.tests.TestFormBuilder contains checks for all form types available in wagtailforms.

Thanks!


midway-deploy

current status:

.sbatch file is running but hitting an error when looking for r5py jar. downloaded jar and put it in the r5py cache folder but need to debug further because still hitting the same error (I think)
error is is "compute_ttm.err"

This version is pulled to midway! In order to run the sbatch file, you can run the following code once you have logged into midway:
cd /project/crberry/chicago-model-project/chicago-model/travel_time_matrix
sbatch compute_ttm.sbatch

The new config file is in .config directory in the chicago-model directory, filepath: ~/chicago-model/.config/r5py.yml, and the jar is within the data directory, filepath: '~/chicago-model/data/r5-v6.6-all.jar'

@nmarchio ready for review and to merge to main branch!

LGTM, thanks @claireboyd !


Remove deprecated interactive visualizations

The PR https://github.com/Qiskit/qiskit-terra/pull/4438 (July 2020) deprecated interactive visualizations in qiskit/visualization/interactive/. This was released in Terra 0.15.1 (August 2020). Time to remove them.

@kdk ,  Qiskit/qiskit-tutorials#1142 got merged. This one should be good to go

release notes in 0e0abcc


01 Content Publishing - Guidelines (Type paring and spacing)

User Story

As an IBM.com Library components adopter,

I need a way to learn more about the IBM.com Library,

so that I can learn the detail through the guidelines and adopter IBM.com Library to my day to day work properly.

Additional information
The MVP version content can be found on IBM.com Library wiki - Type sizes and spacing and the Component hierarchy & spacing page

Work on the content by following the publishing process as much as possible and as needed.
Create the website design with the Sketch App as needed and the Sketch publishing template can be found on the BOX folder. Once complete, save the revised Sketch file in the Guideline folder / sub-folder here.
Once the content is reviewed (with stakholders or SME of the topic) and finalized.
Copy the content from the Sketch file into the .mdx file for the markdown publishing process to start.
Once complete, create the Pull Request and review, using the Preview link, to be sure it matches the Sketch file design
When ready to deploy, include Jenny as a PR Reviewer and Approver.
Jenny will review and merge the PR

Acceptance criteria

[x] Content crafting is done.
[x] Asset image creation is done (if needed)
[x] Page design is done (if needed)
[x] Publishing with markdowns is done.
[ ] Content is finalized
[ ] QA'd by Jenny
[ ] Web page is published

This task is still relevant.

This task is relevant and in prioritization.

Note: The type pairing and spacing go hand-in-hand. Let's see if we can craft the guideline with both of them on the same website page.

Task update: Worked on the content structure and images based on the designer's feedback.
Page title: Type pairing and spacing
Intro copy
Anchor link (if needed, TBD)
Content section

Image (Expressive heading 02 and body long 02)
Token detail
Spacing table (a.k.a Margin table)

Content block

Image (Expressive heading 05 and heading03)
Token detail
Spacing table (a.k.a Margin table)

Content group

Image (Expressive heading 04 and body long 02)
Token detail
Layout spacing (a.k.a Margin table)

Content item

Image (Expressive heading 02 and body long 02)
Token detail
Spacing table (a.k.a Margin table)

Content update completed and shared with designers via Slack for feedback.

Task completed. All image work files can be found in the BOX folder.


JSON logs

Hi, we output our logs to stdout in JSON format. They're later captured by ELK stack. By using JSON we don't have to create log parsers. The drawback of this solution is that it's not super human readable when read not through Kibana. So my idea is to add some parameter that would allow you to display only specific fields from this JSON in a more human readable way. What do you think?

I've added some support to be able to parse the output as JSON in https://github.com/wercker/stern/tree/json_support
The branch contains two changes:

It will write logs to stdout, but not change events, those go to stderr.
Using the --no-prefix flag it will remove the pod name from the logs, ie the raw content (maybe that should be the name of the flag :thinking: )

This allows you to pipe the result of stern to other applications, such as jq. Then you can do the filtering/projection/etc there.
Can you try that branch and let me know what you think?

Sounds great. I will check it tomorrow and let you know how it works ;)

I checked it, works like a charm!

Just found this yesterday - it's a feature I was looking for since we also use LogStash format logs.  I've been using kubetail up to this point because of its --jq option but it has issues with leaving orphaned kubectl processes running after exit.  This works great other than one problem I've noticed (or maybe this isn't fully developed yet): the colour output doesn't seem to be working - it writes a colour key at the top of the output but the log lines themselves aren't coloured.
I'm running on Ubuntu 16.04 with Kubernetes 1.5.7 (client and server).

I'll try to create a PR based on the json_support branch, with some slight tweaks a little bit later.
@GJKrupa

This works great other than one problem I've noticed (or maybe this isn't fully developed yet): the colour output doesn't seem to be working - it writes a colour key at the top of the output but the log lines themselves aren't coloured.

Do you mean with the --no-prefix flag? I was thinking of renaming that flag to raw which might make more sense, in that it won't add anything such as the prefix or colors.

Exactly.  I've had a quick a play with jq and it looks like it tries to parse ANSI colour escape sequences as text, causing errors anyway so it's better to stick to plain text.  I'll have a look at doing what I'm trying (colour coding with jq parsing) through python/shell scripting instead since it's probably not a common use case.

That's odd, if the --no-prefix flag is used, then it shouldn't add any colors: https://github.com/wercker/stern/compare/json_support#diff-032ac39618a8e9fa039ff30db880409aR159

Sorry, I should clarify.  I was testing if jq could handle ANSI colours using echo to send in small fragments of coloured JSON and it failed to parse them.

Any timeline until this is released to brew?

What is holding this up?

I've created a PR for this feature (you would use -o raw): https://github.com/wercker/stern/pull/76

1.7.0 now supports templates, and by using the -o raw flag, you can pipe it in jq and change the shape in there: https://github.com/wercker/stern/releases/tag/1.7.0


What is meaning and significance of different dataplane message type

Calico prometheus monitoring exposes a metrics "felix_int_dataplane_messages" which gives information about different message types like:
1. ActiveProfileRemove
2. ActiveProfileUpdate
3. ConfigUpdate
4. Encapsulation
5. HostMetadataUpdate
6. IPAMPoolUpdate
7. InSync
8. NamespaceUpdate
9. RouteRemove
10. RouteUpdate
11. ServiceAccountUpdate
12. ServiceRemove
13. ServiceUpdate"
14. VXLANTunnelEndpointUpdate
15. WorkloadEndpointRemove
16. WorkloadEndpointUpdate
. can any one please describe what these message types means in detail or point me to  resource where i can study it

These are messages that Calico sends internally between it's calculation logic and the dataplane programming component.
They're defined here: https://github.com/projectcalico/calico/blob/master/felix/proto/felixbackend.proto


Updated the date of article

Hi @mmccrory, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


improve search in gui editor

fix search in recursive schemas
scroll selected element into view

https://github.com/PaulBredl/config-assistant/assets/51022913/dac726b3-1f29-49cd-a56c-439136382b21
It seems still a bit buggy.
It still doesn't jump to selected element when object is collapsed.(See video: Pedestriangroup[0].speed)

@beyond2void I think now it is really smooth

@Logende I don't if you never implemented it or it stopped working, but if I have a property that is too deep, i.e, deeper than the maximum depth, when I select that element in the code editor or with the search functionality, the gui editor does not automatically zoom in until the necessary level.
Did we only talk about this?

@beyond2void I think now it is really smooth

The scroll effect is really nice!

@Logende I don't if you never implemented it or it stopped working, but if I have a property that is too deep, i.e, deeper than the maximum depth, when I select that element in the code editor or with the search functionality, the gui editor does not automatically zoom in until the necessary level.
Did we only talk about this?

Right, yeah we talked about this. It would be an additional feature to zoom into properties if the selected element is below the depth limit. This feature is not yet implemented.

@beyond2void I think now it is really smooth

If you try more times with different select elements, it happens sometimes which  it does not scroll into view.


Update elastic_search_serialization.py to allow connecting without passwords and ca-certs

Description
In elastic_search_serialization.py, generalised arguments that are passed to elasticsearch client to allow for more types of connection that the elasticsearch client supports. In particular, support connection over http without auth.
Pull request type

[X ] Bugfix
[ ] Algorithm/Module
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Related issues
https://github.com/memgraph/mage/issues/496
######################################
Reviewer checklist (the reviewer checks this part)
Module/Algorithm

[ ] Core algorithm/module implementation
[ ] Query module implementation
[ ] Tests provided (unit / e2e)
[ ] Code documentation
[ ] README short description

Documentation checklist

[ ] Add the documentation label tag
[ ] Add the bug / feature label tag
[ ] Add the milestone for which this feature is intended

If not known, set for a later milestone

[ ] Write a release note, including added/changed clauses

[Release note text]

[ ] Link the documentation PR here

[Documentation PR link]

[ ] Tag someone from docs team in the comments

Hi @nagi49000, thanks a lot for contributing to Mage 🚀 , this will be merged soon.  I noticed this is your second contribution. 🙇♂
We would like to send you some Memgraph swag. Would you be willing to share an email with me so we can discuss this topic?
My email is<EMAIL_ADDRESS>if you do not want to share your email publicly you can ping me there.


Update install docs/Makefile/provisioning/e2e test to use 'upstream' CoCo payload

Currently our installation of peer pods is based on having our own version of the kata-runtime payload that we deploy with a combination of
kubectl apply -f install/yamls/deploy.yaml

to in the peer pods fork of the controller manager and then our fork of the ccruntime through ccruntime-peer-pods.yaml
Now we've updated the coco operator to have the kata-remote in https://github.com/confidential-containers/operator/tree/main/config/samples/ccruntime/peer-pods we want to switch away from this duplication and move towards:

Using CoCo operator to deploy the base stack
Deploy the CAA pod and config (but not the ccruntime)

Notes

This is a big change and probably involves updating a far few docs, the deploy makefile, any tools/e2e processes we have that deploy/install peer pods
To make things easier to transition we should do https://github.com/confidential-containers/cloud-api-adaptor/issues/869 first so that we
I'd like to find the least destructive way possible of doing this, and delete the yaml files as a separate step once we've stabilized this, which probably means excluding ccruntime-peer-pods.yaml from the kustomize rather than deleting it right now.

If anyone has a better approach, then I'd be really happy to hear it

I've been having a look at this and made some progress with the upstream controller/payload, but hit an issue where the runtime-payload that we link to in the peer-pods ccruntime is x86 only. I have a branch with an s390x version, but that feels like it doesn't scale nicely to me, so I'm going to get Fabiano's opinion on whether I can try and make a multi-arch version of the runtime-payloads to avoid this...

We are still blocked on this until the multi-arch image build of the CC runtime is created and the operator updated to use it in https://github.com/confidential-containers/operator/pull/169, but I've done some speculative work on it on my branch I'm sure there is a better way to update the provisioner, but once we have some upstream builds to test I'll check if this solution works.


Dependency cleanup (reduce getFeature calls)

Scope & Purpose
At the moment the ApplicationServer basically acts as a service locator which is usually seen as an antipattern. We currently have ~1940 calls to getFeature to get some feature from the server. This approach hides the dependencies and has a negative impact on maintainability, testability, and the clarity of the code. Instead, we should use proper dependency injection, which usually means to take all the necessary dependencies as parameters (e.g. in the constructor).
This PR is a first step to reduce the number of getFeature calls to make dependencies more explicit.

[x] :hammer: Refactoring/simplification

Related Information

[x] Jira ticket: https://arangodb.atlassian.net/jira/software/c/projects/TD/issues/TD-1

This change looks good to me. It's a long overdue step to make the ArangoDB codebase better structured.
I wonder about the risk that comes with a change this size; is there anything that could subtly break and it is not noticed in tests? I can't think of anything (yet).


[Task]: bump SWT dependency to 3.126.0

What needs to happen?
[Task]: bump SWT dependency to 3.126.0
Issue Priority
Priority: 3
Issue Component
Component: Hop Gui

.take-issue


Default ConfigMap if ObservabilityConfig is nil

Changes

Defaults the observability config. Currently with this change, there is an implicit requirement that METRICS_DOMAIN is set which is unexpected for users that have not enabled observability before.

🐛 Fixes crashing introduced in #2610

The current build of knative/pkg will crash on startup because of this line. Rather than introduce a nil-check, we should simply have observability disabled by default (as was the previous behavior) but now accessible from context.Context
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x110 pc=0x15c5568]

goroutine 1 [running]:
knative.dev/pkg/metrics.NewObservabilityConfigFromConfigMap(0x0)
        knative.dev/pkg@v0.0.0-20221014164553-b812affa3893/metrics/config_observability.go:114 +0x248
knative.dev/pkg/injection/sharedmain.GetObservabilityConfig({0x2a0e1b8, 0xc00039d170})
        knative.dev/pkg@v0.0.0-20221014164553-b812affa3893/injection/sharedmain/main.go:118 +0x176
knative.dev/pkg/injection/sharedmain.SetupObservabilityOrDie({0x2a0e1b8, 0xc00039d170}, {0x252ef46, 0x7}, 0x24d2f00?, 0xc000312688?)
        knative.dev/pkg@v0.0.0-20221014164553-b812affa3893/injection/sharedmain/main.go:354 +0x5b
knative.dev/pkg/injection/sharedmain.MainWithConfig({0x2a0e1b8, 0xc000831ec0}, {0x252ef46, 0x7}, 0xc000774fc0, {0xc000969ea0, 0x4, 0x4})
        knative.dev/pkg@v0.0.0-20221014164553-b812affa3893/injection/sharedmain/main.go:271 +0x5a6
github.com/aws/karpenter-core/pkg/webhooks.Initialize(0x263aa68)
        github.com/aws/karpenter-core/pkg/webhooks/webhooks.go:93 +0x48a
main.main()
        github.com/aws/karpenter/cmd/webhook/main.go:25 +0x25

/kind bug

Fixes #

Release Note

Change Observability Config to be Disabled by Default

Docs

/ok-to-test

/lgtm

/lgtm
/approve

Thanks all


Use the either crate for Either

We added a bare Either type for partition_map, but that's not really a type that belongs in Rayon.  The either crate has a stable implementation of Either for everyone to share.
While we're at it, Either implements pass-throughs for Iterator and Extend, so we can do the same for ParallelIterator and ParallelExtend.

FWIW, itertools has a pub use either::Either, so we'll be using a compatible type.  I'm not sure if we should follow suit and reexport it too.  It becomes part of our public API anyway for partition_map, so I guess the question is whether we want folks to be forced to get crate either themselves.
(cc @bluss)

We could also make this optional, probably enabled by default, and gate partition_map entirely.

I am ok with requiring people to compile Either.

Features are annoying. =)

Seems fine to use IMO.
Design choices for which methods to add to Either are really hard, it's already “gone wrong” in the sense of choosing to implement some special case methods which excludes some competing alternatives. It has niched itself into being a stock Iterator of two cases, so it makes sense to continue that with ParallelIterator if you want.

If we want to take advantage of the chance to design rayon differently, and not be directly analogous, I think I would rather have IntoParallelIterator implementations into distinct ParallelIterator types, rayon::either::Iter etc.  The Extend and ParallelExtend seem fine though.
@bluss If you regret that design, maybe it's worth making either 2.0?  Better to make such a change sooner, or not at all...

It's a design that's possible to regret since it picks one road other another, but it's fine.

So -- should we do this? I think so.

So -- should we do this? I think so.

Which "this"?  The PR as-is, or with custom Iter etc.?
Also, do you want Either re-exported?  Then this isn't a breaking change.

Which "this"? The PR as-is, or with custom Iter etc.?

Good question =)
I think I meant mostly "use Either at all".

Rebased and made it a pub use.

1.12.0 fails:
error[E0252]: a type named `Either` has already been imported in this module
 --> src/iter/unzip.rs:3:5
  |
1 | use either::Either;
  |     -------------- previous import of `Either` here
2 | use super::internal::*;
3 | use super::*;
  |     ^^^^^^^^^ already imported

Doh, should be fixed now.


docs(actions): add use cases with examples

This PR provides basic use cases for actions
Definition of Ready

[x] I am happy with the code
[x] Short description of the feature/issue is added in the pr description
[x] PR is linked to the corresponding user story
[x] Acceptance criteria are met
[ ] All open todos and follow ups are defined in a new ticket and justified
[ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[x] No debug or dead code
[x] My code has no repetitions
[ ] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[ ] Documentation/examples are up-to-date
[ ] All non-functional requirements are met
[ ] Functionality of the acceptance criteria is checked manually on the dev system.

as already mentioned by @hifabienne i also think people will not search for action use cases, resp. the current page would list the existing actions and provide some context to it, but if we want to list use cases devs might have, shouldn't we then turn around the title / descriptions and really focus on the cases? For example:

Add grants to users
Adding grants to users allows you to set default roles on users.

Isn't the use case for a dev that he wants to assign some default user grants / authorizations for newly created / federated users automatically and the possibility to do so is by creating an action, which will add grants.

Throw an error
If the execution path ends in an error ZITADEL handles the error based on the configuration of the action.

Same for this one. A dev might want to limit some interaction and they might be able to do so it by simply throwing an error in an action.


Memo shoudn't be required

User cannot create an invoice without memo. UI hints it is optional, however error pops up and it is not possible to proceed without filling memo.

Yes, I agree 👍

Akthough memo is still required. through gui disabled button unless memo exists

I think this is good, we should require the memo. It's a forced best practice that I approve even for my own good.


Feature: Add my profile

A Little Bit of Everything
https://github.com/JonnyBanana/JonnyBanana
;)

Tnx u too dude, I have joined the discord group,how do I have to do to get my page added? I have also already opened a pull request, cheers Jonny


Unable to remove tags from layers

What went wrong?

There is no way to remove tags from layers
If you can, tell us the steps to reproduce the problem.
Create a layer.  Assign a tag.  There is no way to remove it.
Configuration
Version of Export Layers:
3.3.1
Version of GIMP:
2.10.20
Operating system:
Windows 10
Version 10.0.19041.388

User error.   Wasn't apparent that the layer tags could be unchecked.


minify grafana config and exclude template files to avoid too large c…

cherry-picked to release 0.7 branch

Coverage increased (+14.3%) to 78.037% when pulling ece512e4b84b1a010273f702d126fb49e248c3b7 on dixu/minify-grafana into 5ccfdbff23341f0275d9a86431c1f9f06aa109db on pai-0.7.y.

Coverage increased (+14.3%) to 78.037% when pulling ece512e4b84b1a010273f702d126fb49e248c3b7 on dixu/minify-grafana into 5ccfdbff23341f0275d9a86431c1f9f06aa109db on pai-0.7.y.


Unable to run example app on linux ubuntu 22.04

Building Linux application...
(example:15817): Gdk-CRITICAL **: 11:21:42.314: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
flutter: Error while creating BabyjubjubLib
flutter: Stack trace:
#0      DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:33:70)
#1      new BabyjubjubLib (package:polygonid_flutter_sdk/identity/libs/bjj/bjj.dart:20:10)
#2      GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:427:45)
#3      _ServiceFactory.getObject (package:get_it/get_it_impl.dart:172:37)
#4      _GetItImplementation.get (package:get_it/get_it_impl.dart:442:34)
#5      GetItHelper.call (package:injectable/src/get_it_helper.dart:45:13)
#6      GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:489:46)
#7      _ServiceFactory.getObject (package:get_it/get_it_impl.dart:172:37)
#8      _GetItImplementation.get (package:get_it/get_it_impl.dart:442:34)
#9      GetItHelper.call (package:injectable/src/get_it_helper.dart:45:13)
#10     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:880:17)

#11     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:919:29)

#12     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:968:15)

#13     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:1140:15)

#14     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:1305:11)

#15     PolygonIdSdk.init (package:polygonid_flutter_sdk/sdk/polygon_id_sdk.dart:68:22)

#16     registerProviders (package:polygonid_flutter_sdk_example/src/presentation/dependency_injection/dependencies_provider.dart:58:3)

#17     init (package:polygonid_flutter_sdk_example/src/presentation/dependency_injection/dependencies_provider.dart:26:3)

#18     main (package:polygonid_flutter_sdk_example/main.dart:10:3)

flutter: Error while creating LibBabyJubJubDataSource
flutter: Stack trace:
#0      DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:33:70)
#1      new BabyjubjubLib (package:polygonid_flutter_sdk/identity/libs/bjj/bjj.dart:20:10)
#2      GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:427:45)
#3      _ServiceFactory.getObject (package:get_it/get_it_impl.dart:172:37)
#4      _GetItImplementation.get (package:get_it/get_it_impl.dart:442:34)
#5      GetItHelper.call (package:injectable/src/get_it_helper.dart:45:13)
#6      GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:489:46)
#7      _ServiceFactory.getObject (package:get_it/get_it_impl.dart:172:37)
#8      _GetItImplementation.get (package:get_it/get_it_impl.dart:442:34)
#9      GetItHelper.call (package:injectable/src/get_it_helper.dart:45:13)
#10     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:880:17)

#11     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:919:29)

#12     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:968:15)

#13     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:1140:15)

#14     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:1305:11)

#15     PolygonIdSdk.init (package:polygonid_flutter_sdk/sdk/polygon_id_sdk.dart:68:22)

#16     registerProviders (package:polygonid_flutter_sdk_example/src/presentation/dependency_injection/dependencies_provider.dart:58:3)

#17     init (package:polygonid_flutter_sdk_example/src/presentation/dependency_injection/dependencies_provider.dart:26:3)

#18     main (package:polygonid_flutter_sdk_example/main.dart:10:3)

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'pack_signature': /home//polygonid-flutter-sdk/example/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so: undefined symbol: pack_signature
#0      DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:33:70)
#1      new BabyjubjubLib (package:polygonid_flutter_sdk/identity/libs/bjj/bjj.dart:20:10)
#2      GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:427:45)
#3      _ServiceFactory.getObject (package:get_it/get_it_impl.dart:172:37)
#4      _GetItImplementation.get (package:get_it/get_it_impl.dart:442:34)
#5      GetItHelper.call (package:injectable/src/get_it_helper.dart:45:13)
#6      GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:489:46)
#7      _ServiceFactory.getObject (package:get_it/get_it_impl.dart:172:37)
#8      _GetItImplementation.get (package:get_it/get_it_impl.dart:442:34)
#9      GetItHelper.call (package:injectable/src/get_it_helper.dart:45:13)
#10     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:880:17)

#11     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:919:29)

#12     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:968:15)

#13     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:1140:15)

#14     GetItInjectableX.$initSDKGetIt. (package:polygonid_flutter_sdk/sdk/di/injector.config.dart:1305:11)

#15     PolygonIdSdk.init (package:polygonid_flutter_sdk/sdk/polygon_id_sdk.dart:68:22)

#16     registerProviders (package:polygonid_flutter_sdk_example/src/presentation/dependency_injection/dependencies_provider.dart:58:3)

#17     init (package:polygonid_flutter_sdk_example/src/presentation/dependency_injection/dependencies_provider.dart:26:3)

#18     main (package:polygonid_flutter_sdk_example/main.dart:10:3)

Syncing files to device Linux...                                   778ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
A Dart VM Service on Linux is available at: http://<IP_ADDRESS>:43829/hxcXbPedQW8=/
The Flutter DevTools debugger and profiler on Linux is available at:
http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:43829/hxcXbPedQW8=/

the Flutter SDK runs only on mobile, theoretically a Flutter application can run on Linux, but our SDK uses core libraries built only for iOS and Android

thanks for the clarifications, closing


Problem with compiling Main.cpp

Let me start that I am not a good dev, my C++ knowledge is very basic.
So I was trying to build 'dm' using MinGW under Windows. Until the main.cpp file, everything compiled nicely, once it's time for the main file, I get Error 1 from make with this log:

Trying to find a possible solution while writing this, maybe someone could help me out?

Turns out it was a weird mistake with the order of the code?

After moving the highlit snippet starting at line 480, below the _fail statement, code compiled fine now...
Looks like it came out with the recent commit to main.cpp, might be worth taking a look!

Well, it's my fault.  In fact I did try to ensure that that doesn't happen, but yeah, that just flew past me for some reason.


add SMM status, add pycryptodome to requirements.txt

i was able to confirm that this works, thank you for your pr! merging now


restore overlay

I removed the overlay to let the flake into nixos-search (see #2 ). Some day, we can restore it.

[x] Restore overlay

[x] nix flake check should work

Tried it out, added the overlay using inputs.vscode-extensions.overlays.default, and I expected it to add vscode-marketplace and open-vsx attributes to pkgs.
I realize that this is not the case anymore (as it used to be) and that I now have to use pkgs.vscode-extensions.vscode-marketplace instead. I do not like how the overlay replaces pkgs.vscode-extensions.

Closed by 3198e7e0da697d023d665123e585527c37cc06ad (properly)


server/api: convert utc to localtime

PTAL @siddontang @disksing

what's the output now? Could you give me an example?

Like:
"start_ts": "2017-02-28T15:03:43+08:00",
"last_heartbeat_ts": "2017-03-01T16:08:20.072520767+08:00"

this depend on the machine timezone which deploy pd-server


Create other images

Hi Alex,
Thank you for the image creater.
I am wondering if you could create a usermanual to add oter images.
Thank you in advance !

Hi,
Yes, it would be great to read any manual or wiki.
I have tried this "generator" with a native Ubuntu image with no success.
I downloaded the source image from http://cdimage.ubuntu.com/ubuntu/releases/20.04.2/release/ubuntu-20.04.2-preinstalled-server-arm64+raspi.img.xz

Hi @bartoll, I'll add more OS images soon. In the meantime you can follow these steps


Crash when removing an device entity which does not exist

Source: https://github.com/evcc-io/evcc/discussions/6496
Stacktrace:
2023-02-27T15:10:54.854609155Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/spine/events.go:78 +0xa5
2023-02-27T15:10:54.854559764Z | stdout | created by github.com/enbility/eebus-go/spine.(*events).Publish
2023-02-27T15:10:54.854499288Z | stdout | /go/pkg/mod/github.com/enbility/cemd@v0.1.6/emobility/events.go:39 +0x16a
2023-02-27T15:10:54.854416743Z | stdout | github.com/enbility/cemd/emobility.(*EMobilityImpl).HandleEvent(0xc000a6e100, {{0xc0006e67b0, 0x28}, 0x1, 0x2, 0xc001131bc0, 0x0, 0x0, {0x1ad6dc0, 0xc001430400}})
2023-02-27T15:10:54.854281886Z | stdout | goroutine 112049 [running]:
2023-02-27T15:10:54.854207103Z | stdout |
2023-02-27T15:10:54.854066831Z | stdout | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf7374a]
2023-02-27T15:10:54.853794559Z | stdout | panic: runtime error: invalid memory address or nil pointer dereference
2023-02-27T15:10:54.846665204Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/ship/websocket.go:66 +0xca
2023-02-27T15:10:54.846618665Z | stdout | created by github.com/enbility/eebus-go/ship.(*websocketConnection).run
2023-02-27T15:10:54.846570440Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/ship/websocket.go:140 +0x102
2023-02-27T15:10:54.846521349Z | stdout | github.com/enbility/eebus-go/ship.(*websocketConnection).readShipPump(0xc001131740)
2023-02-27T15:10:54.846471682Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/ship/connection.go:174 +0xa2
2023-02-27T15:10:54.846420826Z | stdout | github.com/enbility/eebus-go/ship.(*ShipConnection).HandleIncomingShipMessage(0xc0009ec680, {0xc0004ba380, 0x2f1, 0x380})
2023-02-27T15:10:54.846371406Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/spine/device_remote.go:75 +0xbd
2023-02-27T15:10:54.846318345Z | stdout | github.com/enbility/eebus-go/spine.(*DeviceRemoteImpl).HandleIncomingSpineMesssage(0xc001131bc0, {0xc000e50a00, 0x27d, 0x280})
2023-02-27T15:10:54.846257818Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/spine/device_local.go:216 +0x442
2023-02-27T15:10:54.846128692Z | stdout | github.com/enbility/eebus-go/spine.(*DeviceLocalImpl).ProcessCmd(0xc000e55080?, {{0xc0012b7d00, 0xc000b5eed0, 0xc000b5ef00, 0x0, 0xc0010cb4d8, 0x0, 0xc0012b7d30, 0x0, 0x0}, ...}, ...)
2023-02-27T15:10:54.846076681Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/spine/nodemanagement.go:62 +0x7ba
2023-02-27T15:10:54.846025120Z | stdout | github.com/enbility/eebus-go/spine.(*NodeManagementImpl).HandleMessage(0xc0009f63f0?, 0xc0012b7e00?)
2023-02-27T15:10:54.845913436Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/spine/nodemanagement_defaileddiscovery.go:247 +0x14a
2023-02-27T15:10:54.845865887Z | stdout | github.com/enbility/eebus-go/spine.(*NodeManagementImpl).handleMsgDetailedDiscoveryData(0x0?, 0x0?, 0x0?)
2023-02-27T15:10:54.845813752Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/spine/nodemanagement_defaileddiscovery.go:192 +0x2d0
2023-02-27T15:10:54.845761433Z | stdout | github.com/enbility/eebus-go/spine.(*NodeManagementImpl).processNotifyDetailedDiscoveryData(0xc000c68560, 0x0?, 0xc001430400)
2023-02-27T15:10:54.845694688Z | stdout | /go/pkg/mod/github.com/enbility/eebus-go@v0.1.6/spine/subscription_manager.go:137 +0xba
2023-02-27T15:10:54.845613393Z | stdout | github.com/enbility/eebus-go/spine.(*SubscriptionManagerImpl).RemoveSubscriptionsForEntity(0xc000c4f420, 0x0)
2023-02-27T15:10:54.845404577Z | stdout | goroutine 110999 [running]:
2023-02-27T15:10:54.845365051Z | stdout |
2023-02-27T15:10:54.845267766Z | stdout | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xdf891a]
2023-02-27T15:10:54.844686583Z | stdout | panic: runtime error: invalid memory address or nil pointer dereference

It looks like the remote device sent a DetailedDiscovery message to remove a device entity, which does not exist.

Fixed in https://github.com/enbility/eebus-go/commit/5abbdbaf7d0fc437edf4916c7ca207564e10310f


Create LICENSE

solves #66

If you want to link a PR to an issue and automatically close it, use these keywords:
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests

fixes #66

fixes https://github.com/AaruBama/memestr/issues/66

@AaruBama for the future reference, this needs to be in the PR description, not in a comment. Once you do it correctly, you'll see a link between a PR and an issue in this section

Understood @nemanjaglumac .
I'm really learning lot of GitHub things I never considered too useful, around you.


Update AzureRunbookExample.ps1 example code

I have update the script with some small changes that I explain here:

Updated the AzureRunbookExample.ps1 to create the folder where the certificate is saved
Use the new Az powershell modules instead of using the old AzureRM modules
The script will connect using the automation account managed identity because RunAsAccount is deprecated
Add a paramter to connect to one particular Azure subscription

Fix #142

Ohh documentation updates 👍
Much overlooked, but much loved, when properly done - thank you sir.


Implement Jump Search

Description
Write a program to implement jump search
Like Binary Search, Jump Search is a searching algorithm for sorted arrays. The basic idea is to check fewer elements (than linear search) by jumping ahead by fixed steps or skipping some elements in place of searching all elements.
For example, suppose we have an array arr[] of size n and block (to be jumped) size m. Then we search at the indexes arr[0], arr[m], arr[2m]…..arr[km] and so on. Once we find the interval (arr[km] < x < arr[(k+1)m]), we perform a linear search operation from the index km to find the element x.
Pseudocode
procedure jump_search
   A ← sorted array
   n ← size of array
   x ← value to be searched

   Set block size = √n

   while A[min(block size, n)-1] < x do
      prev = block size
      block size = block size + √n
      if prev >= n
         return not found

   end while

   while A[prev] < x do
      prev = prev + 1

      if prev == min(block size, n)
         return not found

   end while

   if A[prev] == x
      return prev

   return not found
end procedure

Example
list = [1,2,3,4,5]
value = 4

Output : 3

### Tracking Issues
- [ ] #5255
- [ ] #5256
- [ ] #5257
- [ ] #5258
- [ ] #5259
- [ ] #5260
- [ ] #5261
- [ ] #5262
- [ ] #5263
- [ ] #5264
- [ ] #5265
- [ ] #5266
- [ ] #5267
- [ ] #5268
- [ ] #5269
- [ ] #5270
- [ ] #5271
- [ ] #5272
- [ ] #5273
- [ ] #5274

!assign


Yet another class table rendering issue

As the title says, this is yet another issue with the class table formatting looking fine until saved/loaded when it begins clipping with the text below. I tried adding padding below the table which works for 2-3 refreshes before it breaks again.
This issue isn't limited to this particular brew either, all four I've made have this issue. Also whilst I'm here, what does the "Recent Brews" button do? It seems to serve no purpose. Also a button on the top bar to start a new brew rather than having to go to the homepage to so it would be a nice ease-of-life improvement.
Update: I've temporarily fixed this with the dumbest of additions, a full stop using the ## head after the class table in the code. it causes enough of a buffer to not make it overlap and occasionally hides itself in the class table to boot. Not elegant but practical and better looking than clipping text.
Additional Details
Share Link : http://homebrewery.naturalcrit.com/share/BJPD71RFG
or
Brew code to reproduce : Click to expand

##### The Inquisitor
| Level | Proficiency Bonus | Features | Cantrips Known | Spells Known | 1st | 2nd | 3rd | 4th | 5th |
|:---:|:---:|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| 1st | +2 | ─ | 2 | 3 | 2 | — | — | — | — |
| 2nd | +2 | ─ | 3 | 2 | 3 | — | — | — | — |
| 3rd | +2 | ─ | 3 | 2 | 3 | — | — | — | — |
| 4th | +2 | Ability Score Improvement | 4 | 3 | 3 | — | — | — | — |
| 5th | +3 | ─ | 5 | 3 | 4 | 1 | — | — | — |
| 6th | +3 | Ability Score Improvement | 5 | 4 | 4 | 3 | — | — | — |
| 7th | +3 | ─ | 5 | 4 | 4 | 3 | 1 | — | — |
| 8th | +3 | Ability Score Improvement | 6 | 5 | 4 | 3 | 1 | — | — |
| 9th | +4 | ─ | 7 | 5 | 4 | 3 | 3 | — | — |
| 10th | +4 | ─ | 7 | 5 | 4 | 3 | 3 | 2 | — |
| 11th | +4 | ─ | 7 | 6 | 4 | 3 | 3 | 3 | — |
| 12th | +4 | Ability Score Improvement | 8 | 7 | 4 | 3 | 3 | 3 | 1 |
| 13th | +5 | ─ | 9 | 7 | 4 | 3 | 3 | 3 | 2 |
| 14th | +5 | Ability Score Improvement | 10 | 7 | 4 | 3 | 3 | 3 | 3 |
| 15th | +5 | ─ | 11 | 7 | 4 | 3 | 3 | 3 | 3 |
| 16th | +5 | Ability Score Improvement | 11 | 8 | 4 | 3 | 3 | 3 | 3 |
| 17th | +6 | ─ | 11 | 9 | 4 | 3 | 3 | 3 | 3 |
| 18th | +6 | ─ | 12 | 9 | 4 | 3 | 3 | 3 | 3 |
| 19th | +6 | Ability Score Improvement | 12 | 10 | 4 | 3 | 3 | 3 | 3 |
| 20th | +6 | ─ | 12 | 10 | 4 | 3 | 3 | 3 | 3 |

Class Features
As an inquisitor, you gain the following class features
Hit Points

Hit Dice: 1d8 per inquisitor level
Hit Points at 1st Level: 8 + your Constitution modifier
Hit Points at Higher Levels: 1d8 (or 5) + your Constitution modifier per inquisitor level after 1st

Proficiencies

Armor: Light armor, medium armor
Weapons: Simple weapons, hand crossbows, rapiers, longswords, shortswords, warhammers
Tools: None.

Saving Throws: Dexerity, Wisdom
Skills: Choose two from Arcana, Athletics, History, Insight, Intimidation, Nature, Perception, and Survival

Equipment
You start with the following equipment, in addition to the equipment granted by your background:

(a) a rapier, (b) a longsword, (c) warhammer or (d) any simple melee weapon
(a) a hand crossbow with 20 bolts or (b) a light crossbow with 20 bolts
(a) five javelins or (b) any simple melee weapon
10 lint fluffs

The "Recent Brews" button used to list the most recent brews viewed from that browser. It unexpectedly stopped working a while back and hasn't been fixed.

Duplicate of #295


autocomplete does not work

Autocomplete does not work. I'm on Mac El Capitan.
I type the example lines in your example screen shot of autocomplete, and yet there is no dropdown for autocomplete for me.
var foo = 123;
var bar = foo.toString();
Also Command + Space which is what you say triggers auto-complete is the keyboard shortcut to launch the spotlight search on a Mac so that command is impossible to invoke with Command + Space.
The other aspects of the typescript editor are working. It compiles and prompts for errors, but there is no autocomplete/intellisense happening anywhere. I have something with a type that should have autocomplete, then I press period after it, and nothing at all happens.

@doliver3 which version of atom?

1.3.2

Any errors in the atom Dev console?

@doliver3, you might try launching atom via sudo.
cd <youprojdir>
sudo atom ./

If my suspicions are correct, this will make autocomplete more functional more often for you. For me, sudo-ing it help autocomplete to work properly, although it still eventually stops, at which point reloadiing the atom window is necessary to get it back again.

Hello, I have same problem
Console log give this but it's only for typescript project not found
Object
C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:89 Error: No Project Found
    at Object.getProjectSync (C:\Users\benja\.atom\packages\atom-typescript\dist\main\tsconfig\tsconfig.js:201:32)
    at getOrCreateProjectFile (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:74:36)
    at Object.getOrCreateProject (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:141:27)
    at Object.getProjectFileDetails (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectService.js:332:34)
    at Child.RequesterResponder.processRequest (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:49:60)
    at process.<anonymous> (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:227:23)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:172:7)
    at handleMessage (internal/child_process.js:685:10)
    at Pipe.channel.onread (internal/child_process.js:440:11)
C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:88 Object
C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:89 Error: No Project Found
    at Object.getProjectSync (C:\Users\benja\.atom\packages\atom-typescript\dist\main\tsconfig\tsconfig.js:201:32)
    at getOrCreateProjectFile (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:74:36)
    at Object.getOrCreateProject (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:141:27)
    at Object.updateText (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectService.js:222:30)
    at Child.RequesterResponder.processRequest (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:49:60)
    at process.<anonymous> (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:227:23)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:172:7)
    at handleMessage (internal/child_process.js:685:10)
    at Pipe.channel.onread (internal/child_process.js:440:11)
index.html:1 Uncaught (in promise) Objectdetails: Objectmessage: "No Project Found"method: "updateText"stack: "Error: No Project Found↵    at Object.getProjectSync (C:\Users\benja\.atom\packages\atom-typescript\dist\main\tsconfig\tsconfig.js:201:32)↵    at getOrCreateProjectFile (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:74:36)↵    at Object.getOrCreateProject (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:141:27)↵    at Object.updateText (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectService.js:222:30)↵    at Child.RequesterResponder.processRequest (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:49:60)↵    at process.<anonymous> (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:227:23)↵    at emitTwo (events.js:87:13)↵    at process.emit (events.js:172:7)↵    at handleMessage (internal/child_process.js:685:10)↵    at Pipe.channel.onread (internal/child_process.js:440:11)"__proto__: Object
C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:88 Object
C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:89 Error: No Project Found
    at Object.getProjectSync (C:\Users\benja\.atom\packages\atom-typescript\dist\main\tsconfig\tsconfig.js:201:32)
    at getOrCreateProjectFile (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:74:36)
    at Object.getOrCreateProject (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectCache.js:141:27)
    at Object.getOutputJsStatus (C:\Users\benja\.atom\packages\atom-typescript\dist\main\lang\projectService.js:602:34)
    at Child.RequesterResponder.processRequest (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:49:60)
    at process.<anonymous> (C:\Users\benja\.atom\packages\atom-typescript\dist\worker\lib\workerLib.js:227:23)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:172:7)
    at handleMessage (internal/child_process.js:685:10)
    at Pipe.channel.onread (internal/child_process.js:440:11)

My atom packages list : https://gist.github.com/Xarkam/f2d51d7ff4c4a6852b6c (for possible conflict)
Version use is 8.1.0
Used on Windows 10
Thanks.

Have you tried launching atom under sudo?

Console log give this but it's only for typescript project not found

@Xarkam Is there an project above the directory tree for the file foo.ts that is being opened? :rose:

Yes but is webstorm project. In fact, I don't use a Atom Project (with project package).
I don't use a typescript config because I use a gulp proccess.

@Xarkam atom typescript needs tsconfig. The error is right and should be showing in the UI status bar as well.
Closing issue as there hasn't been something actionable here for a while 🌹

Had issues with autocomplete for typescript.
Problem was in tsconfig.json file.
Here is solution:
http://stackoverflow.com/questions/32891385/atom-autocomplete-not-working


Implementation for binding orphan mitigation

This adds support for handling orphaned bindings.
Issue #989

Looks like this need to have code regenerated

This is back to WIP. Still have a failing test left over from last rebase.

@pmorie said

I don't think this should be set to nil - keep the value that's already in this field.
I don't agree with this. If we leave the value that's already in the field, then we will reduce the amount of time that can be spent on orphan mitigation requests. Let's say that we are entering orphan mitigation because the retry duration was exceeded for a bind. If we don't clear out the OperationStartTime and give it a fresh value when we start sending Unbind requests to the Broker, then we will only ever try a single Unbind request. If the Unbind request fails, the retry duration will still have been exceeded, causing the reconciler to give up on the ServiceInstanceCredential.

/retest

@jpeeler rebase needed

LGTM


npm install error

When i try to npm install i see this
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/webpack
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/optimize-css-assets-webpack-plugin
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

Some libraries are DEPRECATED try this:
$ npm install -g webpack
$ npm install --unsafe-perm=true --allow-root --legacy-peer-deps

Hey @IoghiStudio @chiapaspc
Sorry for replying at this late. Do you still need some help or guidance?
Right now I am working on major updates (mostly fixing all the issues Simplefolio has).
I will let know to all the community via Discord.


Mod is missing key implementations

Plan Hammer is not in the recipe list, and cannot be spawned via console (item "_PlanHammerPieceTable" exists but nothing appears anywhere when spawned).
Also, I started with trying to test a vbuild I downloaded to see if the build would fit in a particular area. Since it was too big, I wanted to remove it and try another location... but I can't seem to delete the big plan, except piece by piece. holding L-Ctrl and clicking does nothing inside the radius, even when the radius is tiny; only the "affected" pieces are lit up bright red as though they should get deleted.
I tried looking through different directories on where the PlanBuild data for the world might be so I can just delete it that way for now, but I am finding nothing, so unless someone were to look through your source code to determine where/how this data is saved on a local or server save, I see this tool is fraught with the ability to set a crap ton of plans that cannot be easily removed which will be an eyesore everywhere.
Until these two major core issues are addressed, I have to uninstall the mod - to which I truly like the ideas your mod adds to the game, but they are just unpolished ideas at this time.

I did figure out that delete all in radius is done by holding both Left Ctrl AND left Alt then left-click.
However, the plan totem is unbuildable and does not allow me to quickly build planned structures. I see my character swing the hammer at the ground, use stamina to "build" something, but nothing shows up and there's nothing to interact with - so huge builds I have schematics for or large plans I lay out have to be manually "built" piece by piece... almost seems useless toi use this mod if I can't make use of the build... and because the blueprint isn't usable by buildshare, I don't even have that as an option to load my build into another world. The demo pics/video depict these features working, but IDK why it's not working with me.


fix(pinch): cap the movement of wheel events based on the provided bounds

I've noticed that with the code like scale is correctly capped:
  useGesture(
    {
      onPinch: ({ origin: [ox, oy], offset: [scale] }) => {
        // scale is correctly capped to the given bounds
      },
    },
    {
      target: svgRef,
      pinch: {
        scaleBounds: { min: 0.1, max: 10 },
        from: [zoom, 0],
        modifierKey: 'metaKey',
      },
    },
  );

However, if we go way outside of the bounds and start going back then nothing happens, for a considerable amount of time. This is because we are not capping the _movement in the wheelChange within the PinchEngine. I think that it makes sense to cap this here, in the same way, that it's done in the WheelEngine:
https://github.com/pmndrs/use-gesture/blob/15df8ff071481b6368f8c6365807057bff99b0f6/packages/core/src/engines/WheelEngine.ts#L25-L36
I'm not sure if touch and pointer handlers should also implement the same logic though - so, for now, I left this untouched.

Actually, I'm not exactly sure what I'm observing right now. After using this patch locally, I had a first impression that it fixed the issue. Now I think that it got better, but sometimes I'm still able to observe the original issue (I think?).

Thanks for reporting this.
Seems weird since I think I had fixed that non-capping issue a while ago, and since gesture engines share the same logic I'm surprised to see it resurface but you never know!
And as far as I remember my own code, attributes starting with a _ should reflect the raw data of a gesture and shouldn't be capped.

@dbismut this PR is directly based on your fix that you have mentioned :P
https://github.com/pmndrs/use-gesture/commit/c5067dce06139849615723680dfbd1856f99906a#diff-68df9df6068723ef860d52a8f182549f42ba07bed3991e77a9da07ec5c1cb541

Note that I was thinking if this capping should also happen for actual touch-based pinching. But I came to the conclusion that maybe it shouldn't. The difference is that if you physically pinch then you see a visual difference between the bounds and your fingers, so it might actually be desirable to only start "reversing" when your pinch back to the bounds. With wheel-based "pinching" this is not as obvious and you have no visual indicator that you are out of bounds and how close are to the bounds, so I think that it makes sense to "reverse" immediately.

@Andarist Sorry for the delay! Yeah I had the same temptation when I first implemented bounds, but indeed you'd rather have the elements follow your fingers on their way back. I'm not sure why you can still observe a bug, might be because of the inertia somehow.
Thanks again for your help on this.


Remove Task's type: 'custom'

Clear and concise description of the problem
The custom type is identical to the test type; the only difference is that it's initiated by calling getCurrentSuite().task(). Users of the API can attach their own custom properties to differentiate between built-in tests and custom tests.
Suggested solution

Deprecate the Custom type now in 2.2
Always set type to 'test' in 2.3
Remove the Custom in Vitest 3

Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

We might also be able to remove the type = 'custom' before Vitest 3 🤔 (By replacing it with type = 'test') I am not sure how breaking it is 🤔

22 matches on Github and most of them are Vitest repo or forks https://github.com/search?q="getCurrentSuite().task"&type=code It looks fine to change and no one would notice :smiley:

True, true 🤔 Maybe it's fine to replace it right away 🤔


Training code for  lambda-ECLIPSE

Hi, thanks for sharing the inference code for lambda-ECLIPSE; nice work!
Do you plan to release the training code for the lambda-ECLIPSE? Such resource-efficient training would be very useful for many low-resource groups. I'll be looking forward to trying this.

Hello @j-min, thanks for showing interest in our work.
TL;DR: We are building an end-to-end project that can help us utilize the true potential of CLIP models for T2I. But public release may take some time.
Long answer:
Current progress/hype in T2I is largely due to three works: SDXL-Turbo (inference time efficiency), DALL-E 3 (SOTA), and Playground v2.5 (highly aesthetic). Majority of the such works use cleaver tricks (like synthetic captions, DPO, etc.) which we haven't explored yet in ECLIPSE/UnCLIP settings. Hence, the true potential is still a mystery to us!!
Due to the efforts involved in building the end-to-end system, we are projecting the partial release in May. We are also looking for help/collaborations to speed up the process. If you are interested please reach out to me at<EMAIL_ADDRESS>Alternative: The training is pretty straightforward and uses a mix of contrastive learning and projection loss as described in the paper.


aborts when ARGV contains non-utf8 characters

c/{entry.c,argv_entry.c,argv_source_entry.c} ignores non-utf8 characters in ARGV.
for (int i = 2; i < argc; i++) {
    char* utf8 = mrb_utf8_from_locale(argv[i], -1);
    if (utf8) {
      mrb_ary_push(mrb, margv, mrb_str_new_cstr(mrb, utf8));
      mrb_utf8_free(utf8);
    }
  }

What I concern about is, is it possible that cause inconsistency? That is undesired on blockchain. For example, Alice write a lock-script like
left = "我是个非UTF8的字符串"
hash = "12345678901234567890"

right =  $UNLOCK_ARGUMENT[1]
return hash(left, right) == hash

Alice has to provide an unlock argument $UNLOCK_ARGUMENT, which meets the hash condition, to unlock the lock-script above. But since left is an non-utf8 string, the hash results of Alice computes offline and CKB-VM are difference. Then Alice has no way to unlock that script.
So, I think aborting for non-utf8 may be better here.

mirb aborts if ruby code contains non-utf8:
https://github.com/mruby/mruby/blob/master/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c#L577-L578


I want the split polygon to share this split line instead of gaps. Is there an option to control whether to share

options to control the thickness of the splitting lineString are added now:
draw.changeMode(
  "split_polygon",
  /** Default option vlaues: */
  {
    highlightColor: "#222",
    lineWidth: 0.001,
    lineWidthUnit: "kilometers",
  }
);

these lineWidth* options are passed to [lineOffsetmethod](lineOffset) fromTurf.js`.


Scrolling issues in Android 9.0 Pie

We have a strange issue with scrolling. When there are 100+ messages and we scroll the list on the Android phone having version 9.0 Pie, the scrolling is stuck and scroll in the wrong direction.
Like, if we try to scroll up speedy, then it came at the last message instead of scroll up and vice-versa.
Has anyone faced this issue earlier?

Any Updates?

Hi @sandeepsipl
Is it working in iOS.

Hi @sandeepsipl  Did you find a solution for this issue? I have the same problem

Hi @sandeepsipl
Is it working in iOS.

Yes, In iOS, Its working fine. I've tested till iOS 12.3

Hi @sandeepsipl
Is it working in iOS.

Yes, In iOS, Its working fine. I've tested till iOS 12.3

But in Android 9.0?
I can't find a solution, I know is a problem with the rotationX property

I have the same problem, any solution so far?

I have the same problem, any solution so far?

The problems is still on android, so I implement a temporal solution. try to detect what type of scroll the user is doing and if is ScrollState.Fling invoke the scrollTo event on your listview again

Thank you so much for the hint @danielbalderas 👍
So, on ScrollState.Fling we shall invoke scrollTo(), for instance below (scrolls to bottom):
ListViewMessages.ScrollTo (ViewModel.Messages [ViewModel.Messages.Count - 1], ScrollToPosition.End, true);

Now, how should we define ScrollTo? You mean, if ScrollState.Fling then scroll 10 items up or scroll 10 items down? Something like that?
Um, any chance you might be able to share code for this?

I have this problem too. May be we can change something in ListViewRenderer?

Same problem here. Any solution?
Or maybe you can post your workaround?

@acuntex

@acuntex

@angelru Yes, the code in the linked comment works.

@angelru Yes, the code in the linked comment works.

@acuntex
Don't need the FlowDirection and Rotation? RemainingItemsThresholdReached scrolling up?

@acuntex
Don't need the FlowDirection and Rotation? RemainingItemsThresholdReached scrolling up?

someone tried this with group? I always get the group name at the end of the messages instead of at the beginning

Anyone have a solution for ListView? Not for CollectionView?


Jest 23 --config breaks create-react-app on Windows

I am trying to use Jest 23 in create-react-app@next https://github.com/facebook/create-react-app/pull/4555
In particular I've found windows config to break after the upgrade.
The specific part of config being generated is https://github.com/facebook/create-react-app/blob/next/packages/react-scripts/scripts/utils/createJestConfig.js#L47
In Jest 22.4.3 the regex is [\\\\\\\\\\\\]node_modules[\\\\\\\\\\\\].+\.(js|jsx|mjs)$|^.+\.module\.(css|sass|scss)$/ (12 slashes) in jest-runtime
In Jest 23 the error is Invalid regular expression: /[\\\\\]node_modules[\\\\\].+\.(js|jsx|mjs)$|^.+\.module\.(css|sass|scss)$/
Does not repo on other platforms.

Only regex change I can find in the changelog is #5941. Does reverting that fix it for you?
It'd be awesome if you could put together a unit (or integration) test that passes against jest 22, but fails for jest 23

Yep #5941 is the one that affected me.  I can look into putting down a unittest after you guys figure out what the correct resolution is (see my previous comment w/ a small repo case).

None on the core team uses windows, so we'll have to rely on the community to fix this. But having a test in the repo (skipped on windows) would be great for a potential contributor to jump in :)

@bugzpodder This is breaking my WallabyJS test running on Windows.  Is there something you did to the configuration to override the effects of #5941 on breaking Jest 23?

@TroySchmidt I basically changed:
jest --config={\"transformIgnorePatterns\":[\"[/\\]node_modules[/\\]\"]}
to
````jest --config={"transformIgnorePatterns":["/node_modules/"]}```
I don't know if this is the correct change, hopefully this helps you.

Speculating...
jest-config/build/index.js::readConfig() calls normalize() on incoming option values and defaults, including transformIgnorePatterns.
When normalize() sees
options.transformIgnorePatterns: "[/\\]node_modules[/\\].+\.(js|jsx|mjs)$"
it converts that to
value: "[\\\\\]node_modules[\\\\\].+\.(js|jsx|mjs)$"
Note that really is 5 back slashes, 2 each from each incoming back slash and 1 from the forward slash.  An odd number of back slashes produces much unhappiness for a later new RegExp().
normalize() uses normalizeUnmockedModulePathPatterns() which uses 'jest-regex-util'.  Checking the results returned by that module's code finds:
> "/\\\\".replace(/(\/|\\(?![[\]{}()*+?.^$|]))/g, '\\\\').split('')
          [ '\\', '\\', '\\', '\\', '\\', '\\' ]
> "[/\\\\]".replace(/(\/|\\(?![[\]{}()*+?.^$|]))/g, '\\\\').split('')
          [ '[', '\\', '\\', '\\', '\\', '\\', ']' ]

so path separators are okay unless they happen to have char class delimiters around them.  Perhaps the wrong routine is being used?  Or rather, that one routine is being called for incompatible uses.
Oh, the rules wrt to '[' and ']' got changed by edd95fc4df8d6c539bfe21881e922fa75f9c5b69  and #5941
You probably do want separate routines...

@hron thoughts?

SyntaxError: Invalid regular expression: /[\\]node_modules[\\].+.(js|jsx|mjs)$/: Unterminated character class
at new RegExp ()
  at shouldTransform (node_modules/jest-runtime/build/script_transformer.js:603:9)

what is the problem? My os is windows 10.
My package.json
{   "name": "create-react-app-antd",   "version": "0.1.0",   "private": true,   "dependencies": {     "antd": "^2.13.8",     "prop-types": "^15.6.1",     "react": "^16.0.0",     "react-dom": "^16.0.0",     "react-redux": "^5.0.7",     "react-router-dom": "^4.3.1",     "react-scripts": "1.0.16",     "redux": "^4.0.0",     "styled-components": "^3.3.2"   },   "scripts": {     "start": "react-app-rewired start",     "build": "react-app-rewired build",     "test": "react-app-rewired test --env=jsdom",     "eject": "react-scripts eject"   },   "devDependencies": {     "babel-eslint": "^8.2.3",     "eslint": "^4.19.1",     "eslint-config-import": "^0.13.0",     "eslint-plugin-jsx-a11y": "^6.0.3",     "eslint-plugin-react": "^7.9.1",     "jest-enzyme": "^6.0.1",     "eslint-config-airbnb": "^16.1.0",     "babel-plugin-import": "^1.6.2",     "enzyme": "^3.3.0",     "enzyme-adapter-react-16": "^1.1.1",     "jest": "^23.1.0",     "jest-cli": "^23.1.0",     "jest-styled-components": "^5.0.1",     "react-app-rewire-less": "^2.0.8",     "react-app-rewire-styled-components": "^3.0.2",     "react-app-rewired": "^1.5.2",     "react-app-rewire-eslint": "^0.2.3",     "react-test-renderer": "^16.4.0"   } }

@ThakurKarthik what errors are you seeing?  You should be running npm run test or yarn test

@bugzpodder Programs generated with create-react-app are dying on Windows when/if jest is updated to 23 to fix other errors.  This happens with a simple npm test and with a specific file mentioned npm test src/rdcrsSlugCharAssembly.test.js  The error is as mentioned in @ThakurKarthik 's first comment
#5941 tried to fix original issue #2381 which had path members like "..../(breaks)/....", by changing a regex to try to avoid modifying an escape backslash when it was used to escape a regexp special characters.
This fix now trips up on path regexes such as used by create-react-app like the above repeatedly mentioned [/\\]node_modules[/\\].+\.(js|jsx|mjs)$ because regexp special characters are used more generally, within/inside path member strings.
Ahhh... got it!
Key here is that "[/\\]" is really [ '[', '/', '\\', '\\', ']' ] .  That is, it has an escaped escape, not either an isolated escape char or an escape followed by another special char.  And... the new regex is not checking for that.
The jest-regex-util line 26
    return string.replace(/(\/|\\(?![[\]{}()*+?.^$|]))/g, '\\\\');`

should be changed to add \\ inside the negative lookahead character set
    return string.replace(/(\/|\\(?![[\]{}()*+?.^$|\\]))/g, '\\\\');`

When I do that, the problem invalid regexp result (odd number of backslashes)
    jest-config/build/normalize.js::normalize:    value: "[\\\\\]node_modules[\\\\\].+\.(js|jsx|mjs)$"
is changed to the good result
    jest-config/build/normalize.js::normalize:    value: "[\\\\]node_modules[\\\\].+\.(js|jsx|mjs)$"
and with that one change Jest tests are running again for my create-react-app generated app.
More tests would be wonderful I'm sure and your being able to test on Windows would be even better.  Consider testing this fix under your available platforms.

I have downgraded jest and jest-cli from v 23.1.0 to v 22.4.4.Now it's working fine.This error is only on windows platform.

I've been thinking on this issue for quite a long time and it seems there is no easy way to fix it. Essentially this function should be very intelligent to decide if '\' should be replaced because it's a path separator or it shouldn't if it's an escaping regex symbol (e.g. '\]'). One of the possible solution might be to iterate over all possible replacements of the '\' and test if it's a valid regex, but it could lead to some unpredictable results.
Maybe it's better to avoid using '\' as a path separators in '*Patterns' configuration variables at all? Jest can specify this in the documentation and we can transform / to '[/\\]' on Windows automatically.

For now we have to use the downgraded version

After further consideration it seems the users uses '\\' to specify backslash in *Patterns. In that case the fix is possible.

I added '--no-watchman' and it worked.

Try to launch tests trough Git Bash (that helped me) or linux subsystem


I use this frameworks to tabbar controller, but it occurs segments button index error

how can i fix this error?

@chojunyng , Could you please provide some more details about your issue because we were not able to reproduce this issue?
We have updated demo project in the master branch with the tab bar controller and it's working as expected. Could you please check this also.

thank you for your help!
i admire this framework!
but, my project produced swift 2.3 version
can I use it swift 2.3?

We upgraded to latest version (Swift 3). If you are on the previous version (Swift 2.3), please use

pod ’SJSegmentedScrollView’, ‘1.1.0'

@chojunyng let me know the status of this issue. Still, you are getting the crash?

yes, it was crushed swift 2.3 version
my app has tab bar with two home SJScrollviews
I think notification center does not notify because this tab bar view does not reload UI
How can i fix it please

@chojunyng Resolved in latest version. Please check.

can i fix this issue with a little code in swift 2.3 ?


docs(angular): fix style import example

Closes #832

👋 Thanks for creating a pull request! 🚀 Checkout the storybook we've created for it: angular


Robofriends

Project title
Robofriends
Project Description
This in a project I made using ReactJs. In this project, we can sort the robots according to the typed valuein searchbox.
Stack:

[x] ReactJS

/ assign

/assign


/dev/ttyUSB0 not found after reboot

After power cycle:
Dec  2 10:56:43 beaglebone weewx[1033] INFO weewx.drivers.ws1: using serial port /dev/ttyUSB0
Dec  2 10:56:43 beaglebone weewx[1033] ERROR weewx.engine: Import of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Dec  2 10:56:43 beaglebone weewx[1033] CRITICAL weewx.engine:     ****  FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Dec  2 10:56:43 beaglebone weewx[1033] CRITICAL weewx.engine:     ****  serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Dec  2 10:56:43 beaglebone weewx[1033] CRITICAL __main__: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Dec  2 10:57:02 beaglebone kernel: [   50.431802] usb 1-1.4: Moschip 7703 usb-serial converter now attached to ttyUSB0

weewx currently uses a sys-v-init shim for init, but the sys-v stuff runs before the USB subsystem initialized. Probably need to do a proper systemd init for weewx.

Thanks to PG&E for forcing the issue.


[WW-5077] Better logs

Refs WW-5077

Coverage increased (+0.001%) to 47.098% when pulling c290b0a3646b1f6796a632b2437a910450fdc7ad on WW-5077-better-logs into 0fabde9f978c476cd3b769741e5f0fed189f3e1b on struts-2-5-x.

Cherry-pick is ready https://github.com/apache/struts/pull/420


Update spark321 to use release version

Signed-off-by: Peixin Li<EMAIL_ADDRESS>spark321 version to use released libs

build

dup to https://github.com/NVIDIA/spark-rapids/pull/4508


Rename Testee into ReachableFunction

This is essentially a no-op, just better names for the Testee related code.

Build on macOS is broken for whatever reason :(


[FEATURE] Add core contract deployment addresses for Crescendo

Issue to be solved
Core contract addresses are not currently listed from links branching from https://developers.flow.com/build/core-contracts
Suggest A Solution
Find the crescendo addresses of all core contracts and update in the relevant docs pages
What are you currently working on that this is blocking?
No response

Realized testnet & crescendo share the same address space which was not intuitive to me since emulator, testnet and mainnet deployments typically have differing addresses. Perhaps we can add a Crescendo/Testnet label to the deployment address tables.

We recently learned that "Crescendo" is the project/dev effort for cadence 1.0 and flow evm. The testnet network is going to be named "Preview" and prob become "Testnet" when the old testnet is abandoned.

So should I just replace the Testnet entries in all of those tables with Testnet/Previewnet/Crescendo/?

I made a PR to update these. Any reviews would be much appreciated! https://github.com/onflow/docs/pull/645

Completed with https://github.com/onflow/docs/pull/645


[New game]: Let's Play Piano Tiles Game

🎮 Game Request
Game logic and basic description
It is a musical game in which quick fingers and musical rhythm is a must! You need to press all of the tiles before they disappear from the screen to make sure that the songs continue to play beautifully with every note hit.
Point down the features
Game points

There will be a timer and the number of tiles hit within that time interval would be displayed as a score.
There would be some beautiful rhythm on every hit.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @dishamodi0910 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @dishamodi0910 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


OSX support?

On ubuntu you can install xvfb by apt-get install. On OSX, the xvfb is inclued in XQuartz. Though I have installed XQuartz, the headless gem still doesn't work:
Headless::Exception: Xvfb not found on your system

How to tell Headless where is my xvfb?

For those pointing out xvfb issue for FF and Chrome on Mac (for Selenium, etc.), you may need to find an x11 build/version of FF (and/or Chrome, but for Mac?), not the standard OS binary/install. This old article is one reference: http://afitnerd.com/2011/09/06/headless-browser-testing-on-mac/

Using Mac OS X El Capitan. I had installed the latest XQuartz 2.7.9, and when running my tests kept getting Xvfb is frozen (Headless::Exception). I looked all over for fixes to no avail (and this issue page kept popping up in my searches), and just couldn't get xvfb to run. Finally, I came across this post https://discussions.apple.com/thread/7590534?start=0&tstart=0. So I uninstalled XQuartz 2.7.9 (https://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ#UninstallSnowLeopardorLater), and installed XQuartz 2.7.8, and running my tests ran without any errors from headless.

is there any fallback for mac os? Just to skip xvfb requirement, without no code change

FYI, for those pointing out xvfb issue for FF and Chrome on Mac (for Selenium, etc.), you may need to find an x11 build/version of FF (and/or Chrome, but for Mac?), not the standard OS binary/install. This old article is one reference: http://afitnerd.com/2011/09/06/headless-browser-testing-on-mac/

For reference, this is now at http://old.afitnerd.com/2011/09/06/headless-browser-testing-on-mac/


Check for paint in the drive root?

 I ran this remover, and it removed all the files, accept a file named paint on the root of the C:\ drive, with a size of 844288 bytes. It seems to be ran sometimes, as the ysstem started showing Grenam again. It would be awesome if this remover could pwn that, too.

I used a windows safety scanner which removed the majority of the virus. But still, there are few left and probably they are multiplying now

@TheQuinbox were you able to solve this issue

I deleted Paint from my drive root and it all cleared up. Not sure how trivial it would be to fix this in the code, but found that to be a workaround for the time being.


Can't update package by changing channel

I had:
hab_package 'core/mc' do
  channel 'stable'
end

Later I changed attributed and re-converge existing installation:
hab_package 'core/mc' do
  channel 'unstable'
end

Expected package upgraded to unstable, but see:
hab_package[core/mc] action install (up  to date)
Latest stable:<PHONE_NUMBER>3937
Latest unstable:<PHONE_NUMBER>4219

I might have seen something probably related here No fix though. We killed and reinstalled the node to fix.

@st-h it seems this is not the case you refer, but opposite. I expected package upgrade stable -> unstable.

There has been no activity on this issue for 2 years. closing for now. please reopen if this is still an issue.


Fix behavior when generated IAM role is overridden in Resources

In the current state, an exception is thrown during packaging when an IAM role is generated for the autoscaling policy, and the role has an overridden attribute specified in Resources. Instead of throwing an exception, the plugin now respects the override.
I encountered this trying to override the RoleName for the generated DynamodbAutoscalingRole, which throws a TypeError since every other field expected doesn't yet exist

Thanks, and sorry for delay in looking into it.
Before I take this in. I'd like to well understand the use case.
I see you that in your case there's no SLS default lambda role. Therefore you configure your project with custom one, right ?
If that's the case wouldn't you prefer to cover dynamodb tables with that custom role that you use for lambdas?

Thanks, and sorry for delay in looking into it.
Before I take this in. I'd like to well understand the use case.
I see you that in your case there's no SLS default lambda role. Therefore you configure your project with custom one, right ?
If that's the case wouldn't you prefer to cover dynamodb tables with that custom role that you use for lambdas?

Thanks, and sorry for delay in looking into it.
Before I take this in. I'd like to well understand the use case.
I see you that in your case there's no SLS default lambda role. Therefore you configure your project with custom one, right ?
If that's the case wouldn't you prefer to cover dynamodb tables with that custom role that you use for lambdas?

Thanks, and sorry for delay in looking into it.
Before I take this in. I'd like to well understand the use case.
I see you that in your case there's no SLS default lambda role. Therefore you configure your project with custom one, right ?
If that's the case wouldn't you prefer to cover dynamodb tables with that custom role that you use for lambdas?

Thanks, and sorry for delay in looking into it.
Before I take this in. I'd like to well understand the use case.
I see you that in your case there's no SLS default lambda role. Therefore you configure your project with custom one, right ?
If that's the case wouldn't you prefer to cover dynamodb tables with that custom role that you use for lambdas?

Partially, I'm not defining the full role, only attempting to modify the RoleName to be more descriptive. My serverless.yaml looks like:
resources:
  Resources:
    DynamodbAutoscalingRole:
      Properties:
        RoleName:
          'Fn::Join':
            - '-'
            -
              - Ref: MyDynamoDbTable
              - autoscalingRole

So the role name generated looks like myDynamoTableName-autoscalingRole

@yahehe In that case I think it'll be better to approach it a bit differently.
Currently there are 3 paths:

If user provides role ARN, we just rely on it (it means that role was created outside of this CF stack, and we should not try to introduce or tweak any role in it)
If there's a default IAM role found, then ensure it has needed policies
Otherwise create new dedicated role

And what you proposed is to support of tweaking that new dedicated role (so allow altering option 3).
Composition (and no surprises) wise I think it might be better, if we address it at 2. So allow to provide a custom role name which we plugin should attempt to extend, and leave 3 as an option to define role from scratch (we may however improve handling of it, so plugin throws meaningful exception if it finds resource of same name at this point).
That way we require from developer to signal such intention and not just blindly edit role
Aside of above, I wonder why currently creating DynamodbAutoscalingRole manually crashes for you. The way it works, I think  plugin should just silently override it, and make your definition not effective, without any error (isn't it that way?)

I think my solution actually takes care of option 2? The default role generated by the plugin assumedly has all the policies needed. In this case it will merge with anything overridden in the Resources area. So in my example, the role created has all the policies added to it that were missing, with the exception of the RoleName being overridden.
This is also how Serverless itself is documented to work: https://serverless.com/framework/docs/providers/aws/guide/resources#override-aws-cloudformation-resource
And it did crash for me, because it was pulling the role that I had specified, and attempting to access an attribute on it that didn't exist (because I was only overriding the name, and thus not specifying anything else)


🌟 Feature: Adding keyboard input

Hi everyone 👋,
I need assistance with adding the ability to input numbers and mathematical operators such as addition, subtraction, multiplication, and division with the keyboard.
Thank you kindly
Best regards
NH

Hey there!, could i contribute to this issue?, i got a fix for you!

Sure @ify47


Add generator file creation tests to ./testRelease.sh

Please verify the following:

[x] ignite-base ava tests pass
[x] fireDrill.sh passed

Describe your PR
This PR adds a method to ./testRelease.sh which will run the component, container and screen generators and ensure that the files were generated to the appropriate directory. It doesn't check the content of the files that were generated though! 😄
Also regarding mapview and listview : ⏬

👕  ❤

Woah!  That's some amazing shellscripting magic.
Can't wait to try this out!  Starting to think I should move testRelease.sh to a node script at some point... o well :)

Looks perfect!

Yeah I agree re: moving the shell script to node... it'll make it easier to do conditional logic and handle prompts etc (I'm sure there will be more, as more features are added). Also make it easier for folks to contribute (no more "so how do I do that in bash again?")


Release 0.2.1

What's this release going to fix?

It's going to fix resize issues that prevent consoles from starting, it will also fix a typo error that prevented the MessageBox to show properly. Finally it closes terminals automatically if they were closed manually from the process itself


[LintDiff][False positive] failure reported by Sushant Sood: incorrect error GetCollectionResponseSchema

The Teams thread

PR: https://github.com/Azure/azure-rest-api-specs-pr/pull/12012

Failing check: https://github.com/Azure/azure-rest-api-specs-pr/pull/12012/checks?check_run_id=12997222555

This is confirmed to be a problem with the tool by @lirenhe.

We took a look and the rule actually was doing what it was meant to do. The same issue was reported by the reviewer as well as an explicit comment in the PR. Once the author fixed the issue the error went away in the last iteration.


fix: pass correct apiPath from config

This should fix #18 and also add the possibility to pass config params for future features in general.

Great. Can you add an entry to the changelog? So we don't forget it later on?!

Here we go @dkirchhof. Would you merge the PR? Then we can get out the release.


Fix quote logic regarding code completion

Fixes https://github.com/godotengine/godot/issues/42382
The fix could not be tested in master because of other issues, it is however tested in the 3.2 branch, and the code that is fixed is the same in both branches.
The old code doesn't consider that you can write a single quote between double quotes or vice versa: "  '  " or '  "  '.

@Paulb23 While working with other issues I saw that the wrong logic of being in quote also exist here.
https://github.com/godotengine/godot/blob/4b8b8faa8265ce4f0fb458bd6d9c90b450d2c556/scene/gui/text_edit.cpp#L6307-L6315
I haven't looked into what the function containing this code does, but it's probably a problem here too, because it's the same bug. Should I fix this in this PR also?

Closing as this code has been completely re-written (#45393) so a completely different fix is needed for the linked issue.


Determine if we can use draft instead of pre-release.

email out to Travis support on this issue

@BDHernand - Moving this to the blocked lane until we hear from travis support. Also, given the new automation implemented yesterday to download the ZIP file from GitHub, we may need to use pre-release instead of draft (compare the URL for a pre-release and the URL for a draft).

Hey Brian,
Thanks for the update and I'm glad to hear you are making progress.
To have a better understanding of your situation, could you provide us the commands you are doing by hands that create your desired result? We will compare it with what's generated under the hood by Travis CI.
Thank again for your collaboration and we will continue from there.
Have a great weekend!
-- Dominic.

I tried manually to create a draft release.... Travis is behaving the same way that manually does.
create a tag
push the tag
from the GUI edit the tag and create a draft release from it.
once you save that on the GUI there are 2 entries in the releases tab.

So i'm thinking the answer is that we cant use draft

We are closing this since using a draft release will break our FTP script. The URL for a draft release cannot be computed/derived from the version.


Out of GPU memory

Hello Hao,
Could tell me how many GPU memories will be used when you trained this model? I use Titan xp will cause out of memory when batch size larger than 4, but when I set batch size 4, it would meet another error when executes hard sample mining, the reason is all the 4 images from the sample identity. By the way, I trained with market1501.

I use pytorch with version 0.4.1, I will roll back 0.4.0 and try again

Hello Hao,
Could tell me how many GPU memories will be used when you trained this model? I use Titan xp will cause out of memory when batch size larger than 4, but when I set batch size 4, it would meet another error when executes hard sample mining, the reason is all the 4 images from the sample identity. By the way, I trained with market1501.

It still out of memory when I roll back to pytorch 0.4.0

@lzgahbb I think there exist some problems in your machine. The default batch size is 32, and the GPU memory usage is 3~4 GB for Resnet50. Did you run the code in the docker? If so, you should check the share memory of your docker container.

Thanks, I solved this problem by retring your code in a new directory.

I have faced the problem same as that you said, what is the meaning of the "in a new directoty"


Support child mode for Option<T> where T: Decode

Closes #16
Rationale
children mode cannot make sense or be useful with type Vec<Option<T>> due to the facts that we cannot count number of abcences to decide how to populate the vec, or however we decide, we cannot avoid becoming redundant from the original Vec<T>'s expressiveness in terms of optionality ([] vs [None]).
There, I found that this redundancy must actually be for node-level optionality, that is we map:

[] → None
[t] → Some(t) where t: T, T: Decode
[..] (more than 1 element) → error

TODO

[ ] Check semantics
[ ] Error message
[ ] Add test cases
[ ] Add documentation

I accidentally closed this PR by renaming the branch. Could you reopen it, please?


Filtering what is logged

This issue tracker is for https://docs.efproject.net/en/latest/miscellaneous/logging.html
in the section Filtering what is logged it is been written that using
 typeof(Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommandBuilderFactory).FullName,
can filter out ef core executed command but since ef core 1.1 preview1 it has changed to this
 typeof(Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory).FullName

Fixed in 3c3448c66351fef9c21d1384f105886f3c55d9a3


Possibility to set data and format of specific cells after initialization

Currently, it seems to me, the component cannot be manipulated incrementally (in terms of data and format).
Example: It should be possible (after grid initialization) to change the value in row 5 and column 10 from 'xxx' to 'yyy'.
Example 2: It should be possible (after grid initialization) to change the format of row 10 and column 2 from background yellow to background red.

You can alter the data after initialization by altering the data, e.g.: grid.data[5].a = 'yyy'; if your column was named a.  You can also use numbers as column names, but know you are refining an object, not a 2D array; e.g.: grid.data[5][10] = 'yyy';.  JS will coerce the number 10 into the string '10' in this case, but you can use what appears to be 2D array syntax, if you're not into the whole brevity thing.
You can alter the text that appears in the cell on a per cell basis by hooking into the rendertext event.  But it will work on a per cell basis and you can examine the content of the cell as well as the rest of the data or schema from that event.
You can also use the built in formatters to set the value of the data type by hooking into the beforerendercell  event, I THINK, I've never done it before, I've always relied on rendertext, but it should work.
I hope this answers all your questions, if it does go ahead and close the ticket, if not, let me know how I can better clarify - or maybe I misunderstood the questions altogether.

Ok. That makes it clear. Thank you!!!