namespace classes

I  think it's a good idea to namespace all the classNames to avoid name collisions (eg. .anim-flash, .anim-fadeOut, etc..) - it will be also easier to identify that class is only used for animation purposes.
see SMACSS explanation about different types of rules.
PS: didn't suggested .a-flash, .a-fadeOut because a is ambiguous (link element <a>).

I'll consider this, but I don't think it will cause too much of a problem. Only the animation name is declared in these classes, no other properties, so the animation won't execute unless the user specifies it themselves.
I also wanted to maintain as much consistency between the class names and the animation names as possible.

The name collision is if for some reason the user have a class that have the same name but does something different. - i.e. adding a class flash would also make the element change the color or it would affect all the flash movies on the page (that already have a class flash on all the elements)
PS: jQueryUI starts all their classes with ui- for instance.

Namespacing is probably a good idea, I prefer camel case over dashes myself. e.g .animFadeout

I'm going to continue using the classes currently implemented. I've received no requests outside of this issue for namespaces, and the classes provided by animate.css contain no rules that risk overwriting any user set rules.


remove Strelka intervals

Remove intervals for Strelka process
Issue #77

Didn't see that was closed, I must have made something wrong with Waffle...


[SWAP] Fix cache pool policy

calculating gradient and derivative for a tensor are operated
in a different layer. So, invalidation of data between each
calculation can be possible. It fixes to keep data instead of
throwing away.
Signed-off-by: Jiho Chu<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2273. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

:octocat: cibot: @jihochu, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2273-202308092127180.73345804214478-9ccdacac08010678afc36096a4d0297d3c7fbb50/.

:octocat: cibot: @jihochu, nntrainer/tensor/cache_pool.cpp does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

:octocat: cibot: @jihochu, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2273-202308281509220.024934053421021-9ccdacac08010678afc36096a4d0297d3c7fbb50/.

LGTM!


⚠ ClamAV has degraded performance

In e100736, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 469 ms

Resolved: ClamAV performance has improved in eb9768c.


Qbrick::Engine.hosts error when no hosts configured

I got this error when no host is configured:
URI::INVALIDURIERROR: BAD URI(ABSOLUTE BUT NO PATH): HTTP://
Let's have a look at it soon :relaxed:

should be fixed with #37


Edit: Inline Diff

Description
This PR adds:

An inline diff view for all Edit commands (except document command, due to this)
An improved animation showing the progress of the LLM before it is applied
Improved formatting logic that implements indentation matching and some basic multi-language format support (currently just to remove semi colons from responses if the file doesn't use them in JS/TS)

https://github.com/sourcegraph/cody/assets/9516420/d4b15c9e-a797-4686-ba17-8a2d3dd91718
Test plan

Make Edits:

Edit
Generate
Fix
Document
Test

Check that decorations are shown correctly

Check the decorations are removed correctly on task complete (save/edit in task range/undo task)

@valerybugakov Some comments on your findings...

The object is closed prematurely. When initially I select the last line as well, this problem disappears.

This is an issue with the current behaviour too, it's because the LLM is a bit too eager to finish the code and includes a character that isn't part of the selectionRange. Unsure how we'd fix this, but I think it's not much of an issue right now.

On the line with the cursor, the Edit command diff decorations are shown after the Git extension blame decorations. If I move the cursor to another line, the same thing happens. The diff decoration jumps to the right when the blame decoration appears.

I tried moving these decorations to be registered as soon as the extension loads. The first decoration (the ghost text) registers before GitLens, whereas the second decoration registers after. We have to prioritise one so I think the ghost text hint is probably best for now. I'll see if there's any way I can get them both to register first but I wonder if there's some logic in VS Code to keep things fair between extensions

Observe extra empty lines in the document

Unfortunately this is a side effect of using empty lines for deletions. Clicking "Undo" is just another edit, it's useful if a user doesn't have the edit immediately after Cmd+Z but still wants to undo the changes. The applied edit includes the empty lines. I tried to combine them with multiple undo stops but it seems that VS Code still treats these as separate

@valerybugakov @abeatrix I think this is ready!
Would appreciate some 👀 , testing and a review. I know it's a big diff so happy to jump on a call if you want me to go through it

TODO: Double check generate command has correct indentation

Final todo: Double check placeholder lines are cleared up on save:

For single tasks
2.For multiple tasks being accepted

@umpox, let me know if I can help by testing any updated behaviour or reviewing new parts of the diff!


Fix DHCP configuration issue with network interface

Fixes #147
Signed-off-by: Yussuf Shaikh<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [yussufsh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @bpradipt @Prajyot-Parab

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Prajyot-Parab, yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Prajyot-Parab,yussufsh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Prajyot-Parab, sudeeshjohn, yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Prajyot-Parab,yussufsh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Update main.js

I noticed that html in user's message is being rendered as html. If a user posts <a href...>some text</a>, it is rendered as a link in userChatBox. Clicking it even crashes Acode. Apart from not being able to use my message as reference, this causes other undesirable effect such as not being able to recopy my question for reuse.
Here, I've updated that line to display user's message as text instead of being rendered as html.
This issue also existed in the previous version

Thanks ❤


Add created by metadata to the data layer

The metadata key will hold the whole invocation of the ec-cli used to track the bundle, from this we can (in the future) determine what Tekton bundles were used to create the OPA/Conftest data bundle and with that (perhaps) determine the delta that is needed to generate the correct (i.e. without gaps) acceptable bundles and required tasks list.
Also adds a test for the conftest pull compatiblity.
Ref. https://issues.redhat.com/browse/HACBS-1658

Created as a draft as I do want to add a bit of documentation to this.


added cisco_sig model

Pull Request summary:
Added support for SIG feature template
Description of changes:
[Add more in depth analysis of what changed, provide logs, examples of usage]
Checklist:

[x] Make sure to run pre-commit before commiting changes
[x] Make sure all checks have passed
[x] PR description is clear and comprehensive
[x] Mentioned the issue that this PR solves (if applicable)
[x] Make sure you test the changes

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/367


Backport contact form fixes and features form okkur/syna

@mpourismaiel can you backport the contact form fixes to work with hugo-agency.

Fixed by #116


web-react: Avoid using useLayoutEffect hook on the server side

Description
useLayoutEffect does not work on the server side, so we must use useEffect instead.
However we can use both by wrapping them to new useIsomorphicLayoutEffect hook which detects the browser environment.
Additional context

https://medium.com/@alexandereardon/uselayouteffect-and-ssr-192986cdcf7a
https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect
https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85

Issue reference
https://jira.lmc.cz/browse/DS-1004

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Follow the PR Title/Commit Message Convention.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

coverage: 70.568% (-25.9%) from 96.46%
when pulling b1dd555490c5cfd23014af4dc8dbe1d4bd243374 on fix/DS-1004-use-isomorphic-layout-effect
into 4a838f792a1537f756ba3c27bc22b6ca2a15ce16 on main.


Use a different vertical separator character

On Windows when I use the Fira Code font in Alacritty, the character ┊ is not available so it looks like this:

Fira Code seems like a popular font, so it would be nice to use a different character.

Maybe a CLI flag to disable ┊?
Or a --borders={fancy,simple,none} flag, where fancy is the curent default, simpleeither removes┊or replaces it with|, and nonedisables both horizontal and vertical borders (I personally question the usefulness of the bordering, and wouldalias hexyl='command hexyl --borders=none` immediately ;-)).

What do others think? Should we just remove the borders completely?

Here's a mockup quickly cobbled together:

Note, this only removed horizontal borders and replaced the vertical ones with a space.

Closed via #54 by @dmke.


feature/auto_comments_users

Lale-bot to insert comments on user status changes #309

Hi @kristysnet, should this be done already or did you only create the PR to get a review app? We don't see anything happening yet when blocking/unblocking a user.

@phillipoertel yes this was done, except one of the specs was timing out. Now that you've merged it, let me know if you see any issues and I will look into it. I think this needs some translations as well @dottorer

@kristysnet sorry, my bad; everything worked as expected! I had mixed up branches and was testing on a branch that didn't have your changes 😊


Female Percentage Progress Bar

Could a Female Percentage Progress Bar be added to each lottery and overall progress bar that tracks the target percentage and the current progress at hitting the target.

@moveson It would be helpful, as we play we how we conduct the lottery, to have a female thermometer for overall % and % in each constructed lottery.  There are a number of nuances that I think this would with thinking through. Would this feature be difficult to implement?

@tbstockton No, it would not be particularly difficult to implement. But it begs the question we've been kicking around, which is, does it make more sense to be open about what we are doing and just have separate male and female lotteries? I don't think we've decided one way or another on that point. Could we get on a call and work through those concerns?

Here are the 2 motions we passed:
"The number of females toeing the Hardrock starting line shall be no less
than the % of qualified females who applied to the lottery in a manner to
be determined in the future. "
"Should there be continued to be Dale’s; require Dale’s picks be evenly
distributed between female and male."
Our key constraints are toeing the "Hardrock starting line", "no less",
"who applied to the lottery" and "evenly distributed".
Taken at face value
1 - we can't cap the percentage, which happens (potentially) with separate
lotteries.
2 - the percentage applies to the lottery as a whole, not each lottery, and
needs to be met at the start
3 - Dale has to pick exactly 3 females
The ringer in this is Dale's picks and how we implement them in the various
lottery scenarios. It could be that luck of the draw and optimal use of
Dale's picks make this all a non-issue. All this could also be handled on
the backend with the waitlist but construction/implementation of the
waitlist is key since it is the most public component of this.
I was thinking that female thermometers, female selectors and Dale
selectors on each lottery would help us play with the lottery and waitlist
scenarios and look for unintended consequences. I ask this understanding,
and with appreciation, that the LOE may be too high.
Some lottery scenarios:
1 - 6 lotteries
Potentially caps the percentage.
We're likely to pull all females in the Vets for this one and
Dale's picks could mess up the per lottery ratios.
We could have a Dale's pick selector on each lottery by gender(?)
2 - 4 lotteries
Pulling extra females from Nevers accelerates evening out the
lottery but we cap the female percentage (outside of Dale's picks)
3 - 3 lotteries
If we had a female selector like Dale's picks selector we could
maintain the percentage as we go along while leaving a chance
of over going over the needed percentage.
Each has nuances that could be problematic.
David and I were talking about getting together on Thursday to play with
your lottery feature, we could zoom you in.
Tom
On Wed, Nov 10, 2021 at 5:18 AM Mark Oveson @.***>
wrote:

@tbstockton https://github.com/tbstockton No, it would not be
particularly difficult to implement. But it begs the question we've been
kicking around, which is, does it make more sense to be open about what we
are doing and just have separate male and female lotteries? I don't think
we've decided one way or another on that point. Could we get on a call and
work through those concerns?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SplitTime/OpenSplitTime/issues/592#issuecomment-965076900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG4KY52IXKHFFDHABIBECOTULJPILANCNFSM5FZK42OA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Tom Stockton, PhD
Neptune and Company, Inc
@.***
Office:<PHONE_NUMBER> Ext 117
Mobile:<PHONE_NUMBER>

Per our discussions tonight, it sounds like we'll go with the 6-lottery scenario. I'm closing this issue on that assumption.


Batch tracking mechanism modified.

Believe the code is complete. Testing the algorithm at the moment.

Requires further work tomorrow.

Will aim to implement Queue solution to provide further control over the thread workflow.

Switching branch to trial new algorithm.

New algorithm complete.


Add examples in this repo and fix CodeSandbox demos

Describe the bug
The following demos on the Examples page are not working:

All features
Search on Unsplash
Import from Instagram
Basic Image Editor
Advanced Image Editor
Upload to Firebase

Additional context
It seems the errors are related to UpploadEffect and UpploadService being invoked somewhere without instantiating a new class first.

Thanks for opening this issue, @mdolon! I'll make sure I fix these examples soon. I think all I need to do is update the Uppload version; these were made during the beta stages and are probably using an older package version.
I think I'll also have an ./examples directory in this repo and have them served to CodeSandbox from there, instead of directly hosting them there.

Quick update: I've started to work in the new examples monorepo: elninotech/uppload-examples


Introduce a build argument in the Dockerfile for Traefik's version

Introduce the traefik_version build argument, with default set to 2.5.6, to parametrize which Traefik release from GitHub is downloaded over the container image build.

Not wild about the gratuitous line breaks in the Dockerfile, but this change LGTM 😉

I quite literally do not know what you are talking about :-)

We are instead going to use the image from https://github.com/jnsgruk/traefik-oci-image


add hourly analysis

The branch "hourly" will contain the modifications regarding the hourly stats. Until now, only the daily data was analysed.
FRA.

The branch has been merged. Some issue in the 2014 data found. Issue fixed via try() statement at the "cut.R".
hourly workflow has been run for all the period without more problems than data-related
I proceed to close this issue.
FRA.


JWT Secret returned in plaintext in response to jwts

I've noticed that admin API for JWT endpoint returns secret in plaintext.
Example (Request to kong:8001/jwts/):
{"next":null,"data":[{"rsa_public_key":null,"created_at":1567591288,"consumer":{"id":"0a57ba16-4dea-40fc-b17f-707fe66cb763"},"id":"f385d0a6-1512-48cc-bb49-055ad3823865","algorithm":"HS256","secret":"<redacted by me>","key":"Di2309slkd98a98adiasdlf09sdgdkf21kjgsdkf"}]}

JWT secret is quite important and leaking it allows external attackers to get access to protected APIs.
In comparison other secret data like DB password are masked when returned from Admin API.
Example (Request to kong:8001/)
...
"pg_user":"kong","pg_password":"******"
...

Tested on version 1.2.1

Hello, a solution for encrypting/decripting passwords and other secrets in the database is being worked on.
It is strongly recommended that you secure the admin API access in any case.


”Beica de Jos” is listed in the drop-down menu

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

Step 1
Type "Beica de Jos" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Beica de Jos, MUREȘ".


2021.11.0 causes error

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Enabling the plugin leads to an error on my auto-generated dashboard preventing cards to load.

Expected behaviour
No errors in the console, loading al cards on my dashboard
Steps To Reproduce

Enable this plugin
Open auto-generated dashboard
OPen dev-tools

Card Version
latest
Home Assistant Version
2021.11.0b
Configuration
No specific configuration, Card is not visible on my auto-generated dashboard

Relevant log output
Uncaught (in promise) DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "mwc-linear-progress" has already been used with this registry
    at http://homeassistant.local:8123/frontend_latest/app.7f90204d.js:1243:6875
    at http://homeassistant.local:8123/frontend_latest/app.7f90204d.js:1243:6890
    at a (http://homeassistant.local:8123/frontend_latest/app.7f90204d.js:850:118198)
    at Object.62744 (http://homeassistant.local:8123/frontend_latest/f4070540.js:28:11255)
    at u (http://homeassistant.local:8123/frontend_latest/app.7f90204d.js:1243:29185)
    at Module.13525 (http://homeassistant.local:8123/frontend_latest/e5714b15.js:1:507)
    at Function.u (http://homeassistant.local:8123/frontend_latest/app.7f90204d.js:1243:29185)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will be releasing v6 of the card today which will resolve issues made from the 2021.11 release

Thanks @marksie1988! Works like a charm!


Include cstring

It seems with gcc/g++, a number of functions are not available by default: memset, strcpy, strlen, strcasecmp resulting in a number of "xyz not declared n this scope"
As a fix microprofile.cpp should either include <string.h>, or the c++ version

Same issue here, building with g++ 6.3.1 under Arch Linux


how can i generate it about resource share link?

as above the title, minio-go api can't find api, thabks

PresignedGetObject(bucketName, objectName string, expiry time.Duration, reqParams url.Values) (*url.URL, error)

Hi @sunvim
How do I make the PresignedGetObject() not directly download the object, but only rendered it in browser ?
I am uploaded a picture
Thank You


How to perform Sum operation on non-consecutive tensors?

I would like to perform a Sum operation to sum up the results from previous operations. However the API provided to create Sum primitive descriptor requires the memory descriptors to be a consecutive array, and this seems unpleasant to use in some case.
I am wondering is there a work around to sum non-consecutive memory descriptors of data.
template makeOperator() {
make src memory_desc
make src memory object
make dst memory desc
make dst memory object
make operator desc
make operator primitive
execute
return dst memory object
}
The template above would break if I would like to perform Sum on the results from multiple makeOperators, since we have to create the dst memory descs in advance as an array.
I would like to preserve the structure of this template, it makes each operators being independent from each other.
dnnl_status_t DNNL_API

dnnl_sum_primitive_desc_create (dnnl_primitive_desc_t *sum_primitive_desc,

const dnnl_memory_desc_t *dst_desc, int n, const float *scales,

const dnnl_memory_desc_t *src_descs, const_dnnl_primitive_attr_t attr,

 dnnl_engine_t engine)

Hi @LeicongLi, thank you for the question.
In case two or more results should be summed, operation assumes it's given two or more sources. In the template you provided there's only one source and one destination. In such case, if this is a desire, no sum but copy will happen. I don't see any other way how to sum two sources without giving both of them to the library. The library asks for consecutive sources memory descriptors to be able to get the information correctly from both of them. In case there're just two sources, it's possible to use our 'binary' primitive which can do sum as well. It has a different interface (no consecutive sources memory descriptors restriction), but still there're two sources any way, not one.
If I missed something from your question, please provide more details on what you want to do and what do you expect from the library.
Thanks.

Hi @dzarukin , thanks for the reply.
My question is I would like to sum over an array arry[n].
DNNL provides two APIs

sum(int*) which requires the data is consecutive.
sum(int a, int b) which does not require consecutive data
I am going to try the Binary approach, calling function sum multiple times.

Is there an example showing how to create a Binary primitive?

binary_desc_init(&binary_desc, src0_md, src1_md, dst_md)
How to create the Binary primitive desc? (calling primitive_desc_create(&binary_pd, binary_desc, attr, hing_forward)? I am not sure)
How to create Binary primitive? (primitive_create(&primitive, binary_pd)?)

I wish there could be an example for each operators..

Hi @LeicongLi,
Just we are on the same page:

sum(int*) which requires the data is consecutive.
It doesn't require the data to be consecutive, only memory descriptors for those memories. Actual data is assigned per each index individually like:

args.set(DNNL_ARG_MULTIPLE_SRC + index, srcs[index]);

where srcs[index] each is an individual pointer to a piece of data.
But to create a primitive descriptor, user needs to pass a vector of memory descriptors which are consecutive in memory. If you have memory descriptors allocated separately, it's possible to allocate a new array and copy previously allocated mds into a new array or simply assign pointers to them, depending on what code is doing. If this approach is still inappropriate for you, then, probably binary primitive would help.
For C API benchdnn is a good source of ideas: https://github.com/intel/mkl-dnn/blob/master/tests/benchdnn/binary/binary.cpp (doit() and init_pd() functions).
binary_desc_init(&binary_desc, alg, src0_md, src1_md, dst_md);
primitive_desc_create(&binary_pd, binary_desc, attr, engine, NULL); // no backward prop kind, hint is not needed.
primitive_create(&primitive, binary_pd);

If this doesn't help much, don't hesitate to ask me.
Thanks.


fix(bot): Review checks to prevent JS from excluding values that might be useful

In the transformer before there were the nullability checks that were using JS implicit conversion from anything to a boolean, this caused values like 0 to be converted to false and not put in the transformed object where the 0 could actually indicate a value that could have been useful.

Reported by @vxern on discord

@Fleny113 need you update branch


flutter throwing an error while adding this package "upi_india" doesn't have a main class defined

Whene i am trying to add this package to my flutter project the pub get is throwing an error it says "upi_inida doesn't have a main class defined in C:\src\flutter.pub-cache\hosted\pub.dartlang.org\upi_india-3.0.1\android\src\main\java\com\az\upi_india\UpiIndiaPlugin.java or C:\src\flutter.pub-cache\hosted\pub.dartlang.org\upi_india-3.0.1\android\src\main\kotlin\com\az\upi_india\UpiIndiaPlugin.kt"

Issue solved took reference from other package issues.
flutter pub cache repair solved the problem


[SPARK-34086][SQL] RaiseError generates too much code and may fails codegen in length check for char varchar

What changes were proposed in this pull request?

https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/133928/testReport/org.apache.spark.sql.execution/LogicalPlanTagInSparkPlanSuite/q41/
We can reduce more than 8000 bytes by removing the unnecessary CONCAT expression.
W/ this fix, for q41 in TPCDS with Using TPCDS original definitions for char/varchar columns applied, we can reduce the stage code-gen size from 22523 to 14369
14369  - 22523 = - 8154

Why are the changes needed?

fix the perf regression(we need other improvements for q41 works), there will be a huge performance regression if codegen fails
Does this PR introduce any user-facing change?

no
How was this patch tested?

modified uts

cc @cloud-fan @maropu @HyukjinKwon @gatorsmile @dongjoon-hyun, thanks for reviewing

cc @cloud-fan @maropu @HyukjinKwon @gatorsmile @dongjoon-hyun, thanks for reviewing

Test build #133968 has started for PR 31150 at commit d86490a.

Test build #133968 has started for PR 31150 at commit d86490a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38555/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38555/

Test build #133970 has started for PR 31150 at commit 5c043e9.

Test build #133970 has started for PR 31150 at commit 5c043e9.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38555/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38555/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38557/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38557/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38555/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38555/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38557/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38557/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38557/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38557/

Test build #133968 has finished for PR 31150 at commit d86490a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133968 has finished for PR 31150 at commit d86490a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133968/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133968/

Test build #133970 has finished for PR 31150 at commit 5c043e9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133970 has finished for PR 31150 at commit 5c043e9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133970/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133970/

Test build #133990 has started for PR 31150 at commit 1dc7776.

Test build #133990 has started for PR 31150 at commit 1dc7776.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38578/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38578/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38578/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38578/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38578/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38578/

Test build #133990 has finished for PR 31150 at commit 1dc7776.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RaiseError(child: Expression, dataType: DataType)

Test build #133990 has finished for PR 31150 at commit 1dc7776.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RaiseError(child: Expression, dataType: DataType)

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133990/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133990/

thanks, merging to master/3.1!

thanks, merging to master/3.1!

w/ pleasure~

w/ pleasure~


add more award service

👷 Deploy Preview for bochen1993 processing.

Name
Link

🔨 Latest commit
df9b9c3e6bf89f4b7a1b326bab4a7ebb1247802c

🔍 Latest deploy log
https://app.netlify.com/sites/bochen1993/deploys/650f92c00cf65e0008d26692


Do a final card images data load

Once #158 is done we need to run rake import:import_card_images on the prod box one more time.

Running this in a tmux pane on imagecat-prod1 now.

Time estimate says this'll take about 16 days. I'm going to try an insert_all approach and see if that helps speed things up in staging.


Fix the evaluation chart ignoring mates if there is a score given

説明 / Description
The logic for giving mates a higher priority than the score was backwards.
チェックリスト / Checklist

MUST

[x] npm test passed
[x] npm run lint was applied without warnings
[x] changes of /docs/webapp not included (except release branch)
[x] console.log not included (except script file)

MUST (for Outside Contributor)

[x] understand プロジェクトへの関わり方について

RECOMMENDED (it depends on what you change)

[ ] unit test added/updated
[ ] i18n

Summary by CodeRabbit

Refactor

Improved the score calculation in the evaluation chart to more explicitly handle scenarios involving 'mate' conditions.

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

Project coverage is 77.03%. Comparing base (0e6c94e) to head (b46b562).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #822   +/-   ##
=======================================
  Coverage   77.03%   77.03%
=======================================
  Files          82       82
  Lines       12390    12390
  Branches     1793     1793
=======================================
  Hits         9545     9545
  Misses       2827     2827
  Partials       18       18

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

Usually, either "score" or "mate" has value.

Yes, this is true. The reason why score and mate are there is because if a score isn't provided by the info command we use the score from the previous search log.
https://github.com/sunfish-shogi/electron-shogi/blob/f7561d5f982877e52d43a721ae163e9a34c9055f/src/renderer/players/usi.ts#L267

And, is it main purpose of this pull request?

The purpose of the PR was to fix mates being graphed wrong since it would use a score found from a low depth instead of treating it as a mate.

@gyroninja
Thank you for the information.
As you said, the USIPlayer class mixes score and scoreMate.
Probably, this problem started from the next PRs.
https://github.com/sunfish-shogi/electron-shogi/pull/790
https://github.com/sunfish-shogi/electron-shogi/pull/791
I said I would include this change in v1.15.0, but I changed my plan to provide the fix as a patch update.
I will create new patch releases (stable v1.13.7 and latest v1.14.1) that include this change when I add some other fixes.


Handle External Sequence IDs

Codecov Report
Base: 67.91% // Head: 64.61% // Decreases project coverage by -3.30% :warning:

Coverage data is based on head (57bd4a1) compared to base (22434e2).
Patch coverage: 80.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #361      +/-   ##
==========================================
- Coverage   67.91%   64.61%   -3.31%
==========================================
  Files          71       71
  Lines        5620     5643      +23
==========================================
- Hits         3817     3646     -171
- Misses       1803     1997     +194

Impacted Files
Coverage Δ

sample_metadata/parser/generic_parser.py
68.52% <76.19%> (-14.26%)
:arrow_down:

sample_metadata/parser/generic_metadata_parser.py
73.15% <100.00%> (-4.48%)
:arrow_down:

test/test_parse_file_map.py
52.94% <0.00%> (-47.06%)
:arrow_down:

test/test_parse_ont_sheet.py
61.11% <0.00%> (-38.89%)
:arrow_down:

test/test_parse_generic_metadata.py
70.37% <0.00%> (-29.63%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Support well-defined ComponentDefinition return values for catalog connectors

Fixes #2460
Supports #2488
What changes were proposed in this pull request?
Defines a new ComponentDefinition object class that includes the definition string as well as the identifier and any runtime-specific attributes (e.g. package_name for AirflowComponentDefinition). A new function, get_component_definition is defined, which takes the place of read_catalog_entry, and returns a ComponentDefinition object. If no get_component_definition function is present for a given CCC, the return value of read_catalog_entry is manually coerced into a ComponentDefinition object. The remaining changes are minor naming/logic changes to support the above.
During processing of Airflow components, the package_name for that component is now accessed directly (using the import_statement property) if it is available. This eliminates the need to manually change the available_airflow_operators  configurable trait to include import statements for all custom components.
Changes are backwards compatible, so any implementations of CCC's using the previous version that doesn't return the well-defined object will still work properly (e.g. the url catalog). Built-in CCC's will have to be updated (in a separate PR) to use the get_component_definition.
For now, here is what you will need to do (@ptitzler) to implement the new metadata return values:

Change the name of the read_catalog_entry function to get_component_definition (parameters are the same)
The new return value is a CatalogEntry object, and more specifically for the Airflow package connector use-case, an AirflowCatalogEntry object, so:

Add the import statement (duh) from elyra.pipeline.catalog_connector import AirflowCatalogEntry and from elyra.pipeline.catalog_connector import CatalogEntry
Change type hint return value to Optional[CatalogEntry]
The package name string should not include the class name (which should be the natural behavior)
Finally, instead of returning a string value, you'll now want to initialize an AirflowCatalogEntry and return that instead:

return AirflowCatalogEntry(definition=<definition string>, identifier=catalog_entry_data, package_name=<package name string>)

Initial manual tests following the above structure are working.
How was this pull request tested?
Tests have been updated.
Also need to manually test both successful and error scenarios.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

I think get_component_definition() should Return a ComponentDefinition instance, assuming there isn't such a class defined already.
We should also note the read_catalog_entry() is deprecated and will be removed in 4.0 and existing component connectors will continue to work until then.

Could we make it optional? Seems more natural ...

We can make the return value optional.  However, it does introduce some ambiguity for backward-compatibility handling since we'll need to call the old method if the new method returns None because we're unable to determine if the new method is the user's implementation or the base class's (because we can't use an abstract method approach).  And we'll need to test the existence of the old method prior to calling it as new implementations won't have implemented it.   This is necessary if we want to release these changes within a major release.

Resolving several review comments above after offline design discussion. Will update PR description to reflect new design once changes are pushed


treewide: remove global with lib; statements in pkgs/coq-modules

Description of changes
I am trying to split #211241 into smaller changes to get it into a reviewable bulk and try to approach that in smaller groups by pkgs category.
This PR removes the global with lib; statements of pkgs/coq-modules.
I tried to follow the rule to replace all with lib; with lib. but if its for the meta attr. For meta i replaced it with  meta = with lib; { if there was no other scoping before that. It there was other scoping i tried to follow that.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build coqPackages.category-theory

LGTM + ofborg reports no changes.


Ideas for improvement

Opening up this issue to start a conversation on things that can be cut and/or improved (per @ncclementi's suggestion!)

Thank you @scharlottej13 for opening this issue and starting the conversation.
Currently, the tutorial is a bit long, it's taking between 1.5-2h to complete and there are certain topics that can probably be removed to make the material easier to chew.
Since this tutorial is targeted as introductory I think we can remove:

Cut Futures section

This is a more advanced topic and we might want to just remove the section.

Avoid Single Machine vs Distributed Schedulers explanation as we recommend people use the distributed scheduler

This will imply redesigning the notebooks to use the distributed scheduler since the beginning, which will also help in exposing the dashboard earlier.

cc: @pavithraes @rrpelgrim  as you have taught similar tutorials, what's your experience with these topics, is there anything else that might be confusing/advanced for beginners?

Thanks for starting this conversation @scharlottej13!
I agree with @ncclementi, I think the tutorial atm tries to be too exhaustive and complete (lots of task graphs, starting off with Delayed, etc.) which can be intimidating for novice users. I think we should move towards 'wow-ing' people with the power of Dask first...and only then explaining how it works.
The analogy we're using in evangelism atm is that we want to show people a shiny race car, get them to step in and take it for a test drive (no mechanic skills or understanding of the inner workings of the engine needed here), and then be super impressed by the results. If at that point people are like - "Hey, how does this actually work?" or "Hey, can I take out the engine and build my own car/hovercraft/spaceship?"...then we can dive into that.
With that in mind, what I've been doing is:

Start with a no-code slide Deck to build intuition and excitement around what Dask is and the problems it can solve for you -- ~10 minutes

-- move to notebooks --

Start with a quick flashy 'showing off' of the various Dask race cars: Dask.dataframe to scale pandas, Dask.array to scale numpy, Dask.ml to scale sklearn and a very quick sneak-peak into the engine with a simple dask.delayed example (to tease any intermediate/expert users in the room) -- ~10 minutes

Then jump into the Dask.dataframe and take it for a test drive. Show them how to move from pandas to Dask and how to control that car (API, etc.) -- ~20 minutes

Then jump into the Dask-ML car and take it for a drive -- ~15 minutes

Then say - "Cool stuff, right? Do you want to know how this works?" and talk a little more about delayed -- ~10 minutes

Skip Schedulers and Futures

Q&A

My alternative layout of the notebooks lives here for now, but would like to synthesise efforts and end up with a set of 'master' notebooks and slides in this coiled/dask-mini-tutorial repo that we can then fork whenever we give a presentation.
https://github.com/coiled/coiled-resources/tree/main/dask-tutorial/notebooks
My non-code slides live here -- these need iteration, not totally convinced by my own narrative line on this one:
https://docs.google.com/presentation/d/1BMhxuTuOg1jRYFANDvbb-GNszpyH-JKPKnbGEsO5GtQ/edit?usp=sharing
We should also refresh the longer data-science-at-scale tutorial with some of these messaging strategies in mind.
curious what @MrPowers thinks based on his meetup experiences.


Add skip total records back

This PR undoes the deprecation of skipTotalRecords and restores the working of setTotalRecords(0) back to how it was in v10.4.3.
Alternative to #3169.
Partially reverts #3157.

I think bringing "skip" back is a great idea!

Looks good to go for me. Do you approve of this @OzanKurt?

My use case: (working)
I set my total records and it doesn't count them.
$dataTable->setTotalRecords($kpiValues['total_count']);

Case 1 • No Filtering

Case 2 • With Filtering

Jurian's use case: (working)
$dataTable->skipTotalRecords();

Case 1 • No Filtering

Case 2 • With Filtering

I think we have it now! 😊

Warning!
This might be a breaking change for people who is using setTotalRecords(0) instead of skipTotalRecords.

Released on https://github.com/yajra/laravel-datatables/releases/tag/v11.1.5 🚀 Thanks!


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CatalogSource sourceType: configmap creating 1000s of pods

Bug Report
Not sure what caused this, could be a timing issue.  At the time Kube API server was experiencing peek demand, and some APIs calls would timeout.
The catalog-operator somehow got stuck in hard loop creating catalog pods.
1000s of pod create requests hit the API server.
What did you do?
olm and catalog operator 0.14.1.
The configmap for an existing CatalogSource was updated, added another CSV to it, but nothing special here.
What did you expect to see?
The old catalog pod deleted and a new one put in it's place.
What did you see instead? Under which circumstances?
1000s of catalog pods getting created and running, causing the API server to start bogging down.
I'm guessing there might be an error path in the catalog pod create path that only waits for a small period of time for the pod to be created, then tries it again, even tho the original request eventually worked.
Environment

operator-lifecycle-manager version: 0.14.1

Kubernetes version information:

1.16

Kubernetes cluster kind:  IBM Cloud

Possible Solution
The catalog pod should simply use a Deployment spec, that would allow complete control over this pod.
Additional context

This fix is still needed, using a deployment would be best here.

Bump

This is still an issue with OLM.

Bump

Bump

Is there a reason you're still using configmap type catalogs? Although they have not been completely removed, they are not receiving new features.

Is there a reason you're still using configmap type catalogs? Although they have not been completely removed, they are not receiving new features.

We've been using configmaps since we started using OLM. Is there a different type that is recommended by the community?

We've been using configmaps since we started using OLM. Is there a different type that is recommended by the community?

We typically use configmap-based catalogsources for testing. We only use the image-based catalog for production. I recommend you to move away from configmap-based catalog and build a catalog image to use for the catalog.
/close


Fix Check Libraries CI workflow for all repos

For similar reasons to #1, PRs from forks will fail the check libraries test because the credentials are empty in a fork.

This might not be a repeat of #1, but maybe failure just because there are no libraries?  When addressing this, look into the actual cause and don't assume anything :)

will be a part of common CI


[React] Check if the native animations driver is good enough for our needs.

At the time of writing, the RN version we use (0.32.1) does not fully support the animations we’re doing on the home view when following an artist. However, the native animations module is under development as we speak, so need to check this each time after upgrading RN.

@alloy bump

We should definitely still give this a try, but it will be more involved than just flicking a switch and probably also more involved than a newcomer could chew on so marking this as a maintenance item.


Don't assert about input_frames / total_input_frames when input-only.

This is possible if the first branch of:

if status == kAudioUnitErr_CannotDoInCurrentContext

is taken and there's been data before. In this case, it's possible to
have input frames, but impossible to have them, probably. I can
reproduce 100% of the time by installing BlackHole-16ch and running ./run_tests.sh on the M1 Max.

After testing BlackHole-16ch on my MBP M1 Max, I find the problem is in input frame calculation instead of that assertion itself. I've pushed some code in this PR so you can test on your end to see if your problem solves or not.

Cleaned up the branch and merging.


manually create list of highway which have data and save the result when...

... users rotate the phone

Nice!


Attribute related issues of OIDC/SAML applications

This issue contains issues and improvements related to attribute configuration for OIDC/SAML applications creation process. Identified issues are listed down below.
Issues

[x] https://github.com/wso2/product-is/issues/14426
[ ] https://github.com/wso2/product-is/issues/14441
[ ] https://github.com/wso2/product-is/issues/14440#issue-1320971551

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Write manual test cases for "BourgogneFrancheComtePage"

Please write a manual test case for the following pages manual test which involves breaking down the webpage's functionality into specific steps that can be tested.
BourgogneFrancheComtePage:
https://prayersconnect.com/mosques/search/Grandvillars%252C%2520Bourgogne-Franche-Comte%252C%2520France/47.538646%2C6.972968/47.538646%2C6.972968
Please use this Google doc for your test cases.
https://docs.google.com/spreadsheets/d/1nCvZGxeOC0CEUgaNQv-kppkraK-EDgZKbEx7dDQ4H2o/edit?usp=sharing

https://docs.google.com/spreadsheets/d/1nCvZGxeOC0CEUgaNQv-kppkraK-EDgZKbEx7dDQ4H2o/edit#gid=1022412187


chore: remove faulty  param blockHash from fromFields in aztec.js

Correct me if I'm wrong, but it is actually not an argument to the function.

Huh, looks like CI doesn't like contributions from forked repos (fyi @ludamad if that's not expected) I'll probably just run this through our typo-fix PR replayer script so that this issue doesn't block this change.


RN 0.49.3 crashed on Android

Hi.
I upgraded haul to 1.0.0-beta.6 due to breaking changes on iOS. Now, iOS is working fine, but Android will stop right after launching the app. When I change the version back to beta.5 everything works well on Android. On beta.6 I got messsage: GET /index.android.bundle 500 undefined - 4.247 ms

With RN 0.49 +, android should serve index.bundle.
Can provide your file structure?
Do You get any warnings on startup?

Maybe you need to recompile the app?

No. Any warnings. My file structure is the same as before.
I have index.android.js and webpack.haul.js in the root of the application. Here is my webpack config:
const path = require("path");

module.exports = ({ platform, root }, defaults) => ({
  entry: `./index.${platform}.js`,
  module: {
    ...defaults.module,
    rules: [
      ...defaults.module.rules,
      {
        test: /\.js$/,
        include: /lottie-react-native/,
        use: "babel-loader"
      }
    ]
  },
  resolve: {
    ...defaults.resolve,
    alias: {
      ...defaults.resolve.alias,
      styles: path.join(root, "src", "styles"),
      ui: path.join(root, "src", "components", "UI")
    }
  }
});

@satya164 I tried to recompile my app many times. Also I tried deleting node_modules and installed dependencies again.

Looks like your app tries to get bundle from index.android.bundle, while this path is valid for > RN 0.49.x.
Can you double check RN version You have (by checking RN's version in it's package.json).
And By recompile you mean re-installing app on your phone/emulator, right?

Yes, I removed the app from my device by adb uninstall... and then I run haul and run app again.
Here is my package.json.
{
  "name": "App",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "babel-eslint": "^8.0.1",
    "babel-jest": "^21.2.0",
    "babel-plugin-module-resolver": "^2.7.1",
    "babel-preset-react-native": "^4.0.0",
    "babel-preset-react-native-stage-0": "^1.0.1",
    "eslint": "^4.8.0",
    "eslint-config-dacz": "^0.13.3",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-jsx-a11y": "^6.0.2",
    "haul": "1.0.0-beta.6",
    "jest-expo": "^21.0.2",
    "prettier-eslint": "^8.2.0",
    "prop-types": "^15.6.0",
    "react-dom": "^16.0.0",
    "react-native-debugger-open": "0.3.15",
    "react-test-renderer": "16.0.0-beta.5",
    "reactotron-react-native": "^1.12.3"
  },
  "scripts": {
    "start": "react-native start",
    "android:dev": "cd android && ./gradlew installDebug",
    "android:prod": "react-native run-android --variant release",
    "ios": "react-native run-ios",
    "test": "node node_modules/jest/bin/jest.js --watch",
    "build:android": "haul bundle --platform android --entry-file index.android.js --bundle-output build/index.android.bundle --assets-dest build --dev false",
    "storybook": "storybook start -p 7007 --haul webpack.haul.storybook.js",
    "haul": "haul start"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "apollo-cache-inmemory": "0.2.0-rc.0",
    "apollo-client": "2.0.0-beta.4",
    "apollo-client-preset": "^0.1.0-1",
    "apollo-link": "0.7.0",
    "apollo-link-http": "0.6.1-beta.6",
    "apollo-link-set-context": "^0.6.1-beta.1",
    "graphql": "^0.11.4",
    "graphql-tag": "^2.4.2",
    "graphql-tools": "^2.2.1",
    "lottie-react-native": "2.2.7",
    "moment": "2.19.1",
    "ramda": "0.25.0",
    "react": "16.0.0-beta.5",
    "react-apollo": "^1.4.16",
    "react-native": "0.49.3",
    "react-native-android-statusbar": "^0.1.3",
    "react-native-calendars": "^1.7.1",
    "react-native-code-push": "5.1.3-beta",
    "react-native-config": "0.8.1",
    "react-native-elements": "^0.17.0",
    "react-native-i18n": "2.0.7",
    "react-native-platform-touchable": "^1.1.1",
    "react-native-splash-screen": "^3.0.1",
    "react-native-vector-icons": "4.4.2",
    "react-navigation": "^1.0.0-beta.13",
    "react-redux": "^5.0.6",
    "recompose": "0.26.0",
    "redux": "^3.7.2",
    "redux-thunk": "^2.2.0"
  }
}

Looked at package.json in RN package:
 ...
  "name": "react-native",
  "version": "0.49.3",
...

As temp. solution, You can add this to your webpack.haul.config
output: {
        ...output,
        filename: `index.${platform}.bundle`,
    },

Thanks. I can confirm it works!

With RN0.49+, haul should serve the same index.bundle but index.bundle?platform=android for Android, and index.bundle?platform=ios for iOS. However, the current implementation of haul seems to ignore platform= parameter.
do you have any plans to support this feature?
In my case, I modified ios/appname/AppDelegate.m:
  jsCodeLocation = [[RCTBundleURLProvider sharedSettings]<EMAIL_ADDRESS>fallbackResource:nil];

@"index" to @"index.ios",  and added this to webpack.haul.config:
  output: {
    ...defaults.output,
    filename: `index${platform == 'ios' ? '.ios' : ''}.bundle`,
  },

By modifying this, Android app will retrieve /index.bundle and iOS app retrieve /index.ios.bundle separately.
Is there any solutions?

Hey @MasahiroMorita, I'll try to land PR this week. Thanks for bringing this up.

Actually, I gave up migrating RN0.49, used RN 0.48 instead at this moment...
In addition to my last comment, I faced many incompatibility problems. I couldn't resolve them. You should test RN0.49 problems very carefully.

Could You elaborate bit more about those incompatibility problems? That would help us out tracking it down.
Thanks

Yes, the largest one is caused on a real device.
On emulators, iOS and Android app work fine, but do not on real devices.
It looks that the app can't find bundled JS files from their assets.
And the other one is the integration of code push.
I couldn't find how to integrate haul on RN0.49 with code-push.
I hope haul should be merged a part of official react-native.
Your work is great. more people should use this.

Great, thanks for hints! We'll look into this issue.
About CP - have You checked docs about integrating haul with codepush ?

Hopefully fixed in #276

@Krizzu, I vote for reopening this issue, as #276 didn't seem to fix it.
I tried using 1.0.0-beta.9, which has the commit to fix this issue, with RN 0.49.5 and my app still crashes on Android. The packager still tries to serve index.android.bundle instead of index.bundle.

hey @gsteyn
#276 has added an middleware that will change request for index.bundle to index.android.bundle. This should not affect anything with devices.
I'll try to repro it on fresh app

Unfortunately, we couldn't reproduce it. Is it possible you provide us with a zip file to reproduce the issue? Does anyone else is still having this problem?

Closing due to inactivity. Happy to reopen if you have more info on that :)

I have deleted this line from build.gradle file, its working fine now,
compile 'com.airbnb.android:lottie:2.5.0-rc1'


Tool to create broken JSON from the correct one

Develop tool to create broken JSON from the correct one

Implemented in https://github.com/RedHatInsights/insights-results-aggregator-utils/pull/21


Getting mean loss = nan, perplexity = inf while training

Hi @bshao001, thank you so much for this wonderful repository! I'm a beginner in machine learning and am learning a lot from your work!
While training the model, I'm getting mean loss = nan and perplexity = inf, and the model never learns. I have tried to change batch_size to 32 and removed reddit dataset but didn't solve the issue. I run tokenizeddata.py with uncommenting the debugging code, and I think it worked just fine. Also, I tried the pre-trained model, and that works without any issues when I run botui.py. This issue happens on my PC with GPU (Tesla P100, which I believe has a good compute capability) but not on my laptop. I'm guessing my environment is the reason, but I have no idea where to check/fix. I would really appreciate if anyone could give me any kinds of suggestions or comments to solve this issue. Thanks in advance!
GPU: NVIDIA Corporation GP100GL [Tesla P100 PCIe 16GB]
NVRM version: NVIDIA UNIX x86_64 Kernel Module  396.51  Tue Jul 31 10:43:06 PDT 2018
GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)
Cuda compiler: 9.2
OS: Ubuntu 16.04.05 LTS 4.15.0-30-lowlatency
Python 3.5.2
TensorFlow 1.8.0
Below is the part of the log that I got. Though I got bunch of "CPU:0" in the log, my GPU seems to be working as well.

dynamic_seq2seq/encoder/rnn/while/rnn/multi_rnn_cell/cell_0/gru_cell/Const: (Const): /job:localhost/replica:0/task:0/device:GPU:0
dynamic_seq2seq/encoder/rnn/while/rnn/multi_rnn_cell/cell_0/gru_cell/concat/axis: (Const): /job:localhost/replica:0/task:0/device:GPU:0
dynamic_seq2seq/encoder/rnn/while/rnn/multi_rnn_cell/cell_0/dropout/random_uniform/max: (Const): /job:localhost/replica:0/task:0/device:GPU:0
dynamic_seq2seq/encoder/rnn/while/rnn/multi_rnn_cell/cell_0/dropout/random_uniform/min: (Const): /job:localhost/replica:0/task:0/device:GPU:0
dynamic_seq2seq/encoder/rnn/while/rnn/multi_rnn_cell/cell_0/dropout/keep_prob: (Const): /job:localhost/replica:0/task:0/device:GPU:0
dynamic_seq2seq/encoder/rnn/while/add/y: (Const): /job:localhost/replica:0/task:0/device:GPU:0
Adam/value: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_18: (Const): /job:localhost/replica:0/task:0/device:CPU:0
num_parallel_calls_1: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_17: (Const): /job:localhost/replica:0/task:0/device:CPU:0
num_parallel_calls: (Const): /job:localhost/replica:0/task:0/device:CPU:0
seed2: (Const): /job:localhost/replica:0/task:0/device:CPU:0
seed: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_16: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_15: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_14: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_13: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_12: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_11: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_10: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_9: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_8: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_7: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_6: (Const): /job:localhost/replica:0/task:0/device:CPU:0
compression_type_2: (Const): /job:localhost/replica:0/task:0/device:CPU:0
filenames_2: (Const): /job:localhost/replica:0/task:0/device:CPU:0
count_1: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_5: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_4: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_3: (Const): /job:localhost/replica:0/task:0/device:CPU:0
compression_type_1: (Const): /job:localhost/replica:0/task:0/device:CPU:0
filenames_1: (Const): /job:localhost/replica:0/task:0/device:CPU:0
count: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_2: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size_1: (Const): /job:localhost/replica:0/task:0/device:CPU:0
buffer_size: (Const): /job:localhost/replica:0/task:0/device:CPU:0
compression_type: (Const): /job:localhost/replica:0/task:0/device:CPU:0
filenames: (Const): /job:localhost/replica:0/task:0/device:CPU:0
hash_table/Const: (Const): /job:localhost/replica:0/task:0/device:CPU:0
Const_1: (Const): /job:localhost/replica:0/task:0/device:CPU:0
Const: (Const): /job:localhost/replica:0/task:0/device:CPU:0
string_to_index/hash_table/table_init/asset_filepath: (Const): /job:localhost/replica:0/task:0/device:CPU:0
string_to_index/hash_table/Const: (Const): /job:localhost/replica:0/task:0/device:CPU:0
# Training loop started @ 2018-08-15 15:56:50
# Finished epoch  1 @ step  1396 @ 2018-08-15 16:00:51. In the epoch, learning rate = 0.000800, mean loss = nan, perplexity =      inf, and 240.48 seconds elapsed.

@shuheif I am not sure what can cause this weird problem either. Other than re-install your whole environment, one thing you can try is to insert tf.Print statements inside the model, especially the part of the loss function. This might help you figure out the exact place of the problem happening. Good luck!

@bshao001 Thank you so much for your comment and I'm sorry for my late reply. I'm looking for the exact place of the issue using print statement. I will post here when I find it out.


Translate Data Structures for beginner into Japanese

Sorry, I wrongly created the PR a while ago.(already closed by myself)
https://github.com/trekhleb/javascript-algorithms/pull/336
The current PR is correct PR.

@nari0shota thank you for the effort!


[WebToolsE2E][Aspire] An error occurs when installing the Aspire.Hosting.Azure package: "Package restore failed. Rolling back package changes for 'AspireApp1.AppHost'".

REGRESSION INFO: Not repro on Dev17.10.0 Preview 3.0 (Includes Aspire 8.0.0-preview.4.24156.9)
INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install Dev17.10.0 Preview 3.0 [34712.219.main] (Includes Aspire 8.0.0-preview.4.24156.9)
Install Aspire 8.0 Preview 5 [8.0.0-preview.5.24162.15]
Apply NuGet Feeds

REPRO STEPS

New Project > .NET Aspire Starter Application > named it 'AspireApp1' > .NET 8.0 > Create
Right-click AspireApp1.AppHost project > Manage NuGet Packages > Search for Aspire.Hosting.Azure package and install the same version as Aspire

ACTUAL
Cannot add Aspire.Hosting.Azure package.
Error		Package restore failed. Rolling back package changes for 'AspireApp1.AppHost'.
Error	NU1102	Unable to find package Azure.ResourceManager.KeyVault with version (>= 1.3.0-alpha.20240310.2)
Found 14 version(s) in nuget.org [ Nearest version: 1.2.0 ]
Found 0 version(s) in Microsoft Visual Studio Offline Packages
Found 0 version(s) in C:\Program Files\dotnet\library-packs
Found 0 version(s) in dotnet8feed	AspireApp1.AppHost	C:\Users\v-reinawang\source\repos\AspireApp1\AspireApp1.AppHost\AspireApp1.AppHost.csproj	1
Error	NU1102	Unable to find package Azure.ResourceManager.Authorization with version (>= 1.2.0-alpha.20240309.1)
Found 6 version(s) in nuget.org [ Nearest version: 1.1.0 ]
Found 0 version(s) in Microsoft Visual Studio Offline Packages
Found 0 version(s) in C:\Program Files\dotnet\library-packs
Found 0 version(s) in dotnet8feed	AspireApp1.AppHost	C:\Users\v-reinawang\source\repos\AspireApp1\AspireApp1.AppHost\AspireApp1.AppHost.csproj	1
Error	NU1102	Unable to find package Azure.ResourceManager.Resources with version (>= 1.8.0-alpha.20240309.1)
Found 18 version(s) in nuget.org [ Nearest version: 1.7.0 ]
Found 0 version(s) in Microsoft Visual Studio Offline Packages
Found 0 version(s) in C:\Program Files\dotnet\library-packs
Found 0 version(s) in dotnet8feed	AspireApp1.AppHost	C:\Users\v-reinawang\source\repos\AspireApp1\AspireApp1.AppHost\AspireApp1.AppHost.csproj	1
Error	NU1101	Unable to find package Azure.Provisioning. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, dotnet8feed, Microsoft Visual Studio Offline Packages, nuget.org	AspireApp1.AppHost	C:\Users\v-reinawang\source\repos\AspireApp1\AspireApp1.AppHost\AspireApp1.AppHost.csproj	1

EXPECTED
Aspire.Hosting.Azure package can be added successfully.

We have the same issues since ~two weeks. No latest nightly-preview can be installed


Added gen HNL information in flat ntuple + scripts for AOD reco eff calculation

@amlyon
Some information was added to the flat ntuple concerning the gen HNL.
More info could be added, but this is what was useful for the moment.
Additionally a script in FWLite to calculate vertex reconstruction efficiency at the AOD level was added.

@amlyon , I reverted the last two commits which included the Kalman Fitter and excluded Kinematic Vertex Fit from compilation, because they were conflicting. It compiles fine now.
So the only relevant commit is the one with additions to the nanoDumper.
Concerning the recipe for installation:
git clone git@github.com:BParkHNLs/BParkingNANO.git ./PhysicsTools
git cms-addpkg PhysicsTools/NanoAOD
scram b -j 8

there is a small problem. The latest commit for saving the mass https://github.com/amlyon/cmssw/commit/bb7833cbdeefbc377fac37fa50fc6e48d371bfa4
touches the NanoAOD; so when one wants to clone BParkingNANO in PhysicsTools, it complains that it's not empty repository. My solution, though inelegant was:
rm -rf PhysicsTools/NanoAOD
git clone git@github.com:BParkHNLs/BParkingNANO.git ./PhysicsTools
git checkout PhysicsTools/NanoAOD
scram b -j 8

Hi, many thanks for fixing the compiling issue. I took note of your comment on the installation, and agree this needs to be adapted in a future version of the code.
I'll merge this PR now.
Have a nice afternoon!


[ALLUXIO-1794] Improve javadoc in AlluxioFuseFileSystem

A small test PR for new contributor. https://alluxio.atlassian.net/browse/ALLUXIO-1794
Added newlines to make the javadoc align with the rest of code base

Can one of the admins verify this patch?

Jenkins, test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8928/
Test PASSed.

Merged build finished. Test PASSed.

+1 LGTM


docs(website): Document session lifetimes

Have had a few customers ask about this now.
Ideally all lifetimes would be configurable. See #3179

@jamilbk removed from merge queue because the durations are not accurate


Examples Grammars to avoid redundancy in TokenType definitions

https://github.com/SAP/chevrotain/issues/653#issuecomment-364754766

Took another look and I don't feel as though that is really an issue


Add reverse aliases for lazy-loaded classes.

This should resolve an issue where a replacing plugin's class won't report as the replaced plugin's class in instanceof calls and the like, by aliasing a loaded plugin class that is being aliased to and reserving the names of the replaced classes.
We also track which aliases have been loaded and/or reversed to prevent double-initialisation.

What's the status on this? Are we confident enough to merge?

Replaced with #38.


Add in automatic building of remote_state references

In the previous version, it automatically generated remote state blocks for the VPC, Security Groups and IAM leafs.
After a make plan, for example, the VPC remote state would be generated
$ cat _vpc_remote_state.tf
data "terraform_remote_state" "vpc" {
  backend = "s3"
  config {
    bucket = "terraform-states-bucket"
    key    = "vpc_account_nonprod.tfstate"
    region = "us-west-2"
  }
}

This made referencing VPC/account level resources, much easier, without having to worry about manually defining these data resources in each leaf.
A possible idea, would be to use the .colonize.yaml file to specify specific leafs or branches to generate remote_state for...or just generate it for each leaf, regardless.
If going down the .colonize.yaml route, something like:
generate_remote_datasources:
  - vpc
  - security_groups
  - iam

This could then scan the leafs and determine the bucket location, and generate files for each _<leaf-name>_remote_state.tf. Again, this could alternatively just be done for each leaf, by default, potentially. They could also all be merged into a single file, if necessary.

You should be able to do this by just straight up terraform.  You can build out the bucket and key info using the colonize variable bindings.  The remote state can be added as a terraform file, and that should get setup on the leaf when colonize preps.

Yeah, you can do it via normal TF, but was nice having it readily available without having to define in the make version ;)

Yep, it is easy enough to add in these datasource blocks as TF templates in the env folder. Then they will get pulled into the _combined.tf file for reference where needed.
Will go ahead and close this as won't fix


Use better icons for (solution expose, generic containner, monitoring) solutions

Commit_ID db38a89e80fd13e999ce8508a9ed62b5bddac4c5 , Branch development .


No feedback for renamed archives to ensure unique filename

There is no feedback to notify the use that a unique filename was created. More so the algorithm only checks the original folder name + cbz and creates a "-1" variation, but does not check it that is unique and overwrites any existing file.
Suggest adding a loop through numerically increases filename suffixes (-2, -3, ...).
Perhaps use the complete final filename (with extension) in the table view after compression is completed? The current view is nice as the custom icon shows up if you have a QLgenerator (I'm currently using Yet Comic Reader which has a nice preview icon) but the full filename resulting item would be a clue that file rename was needed. A alert would be obtrusive to me.
The "Show in Finder" contact menu action is a nice touch. I'm really impressed with your progress.

Thanks. I've been meaning to do something about the names, just been a little too lazy. But I'll look into it.

Fixed in 2.4.0.


feature: Connect the question to the video (High priority - valuable bounty)

We already have a platform for questions at 100xdevs, but it is currently underutilized.
To increase engagement, I propose connecting questions to specific videos. Here's a plan for implementation, which can be further improved for a better outcome:
Proposed Features:

Linking Questions to Videos:

When creating a question, users should have the option to link it to a specific video.
Users can either search for a video or select one from a searchable dropdown menu.
This feature should be optional, as we still want to allow questions without associated videos.

Video Integration:

Each video should have a button that, when clicked, redirects the user to all questions related to that video.

Database Changes:

Add an optional video_id field to the question table to store the associated video ID.

Future Improvements (V2):

Implement notifications to a specific Discord channel when a new question is created.

Note: These are initial thoughts, and any further improvements are welcome! (do not limit to only initial thoughts!)

taking this up

@siinghd can work on it.

@siinghd working on it, will create a PR. Do I need to provide video proof in pull request ?

@sand-storm-17 hii, I am already working on it. Thanks!

@krishna9358 @sand-storm-17 even I am working on it.

@krishna9358 @Sajal0208 okay you guys work on it. I'll start on it if there is no pull request by tomorrow.

getting this error upon committing
can anyone tell me how can i resolve this ??
i did husky uninstall -> install no luck

@iSouvikKhan if it's coming while installing the packages, then install forcefully. npm install --force....
some packages are depricated !

Hi @krishna9358, it is coming when I click on the commit button in vs code

The better PR will get merged only, make sure to not work quickly and push it just for the sake of time...i will review all and choose the better solution.

Hi @siinghd, could you please help me in the Git: husky issue.

Hi @krishna9358, resolved the issue using --no-verify flag while committing in terminal

@siinghd
still open for new PRs?

@devsargam please review #1340
Tried to implement most out of least code possible.
Open for improvements

@devsargam i guess this can be closed too.


Make a  component

We are trying to keep our text really tight and to-the-point.  But, there will be moments when we mention something like "SWE" and a user will ask "What's SWE?" We want to give them the option to see a sidebar to read more while still in the page.  "Sidebar" doesn't necessarily have to mean that it's on the side of the page - just that it's a separate section to answer a question that the user might have while digesting the content.
There's a version of this in Temp-Prediction, where we have a matrix-explainer-container set to "hidden" by default, and then a little script that toggles the class to let the div appear when the user wants it.  Fair warning - this is my attempt at going from js to Vue and it's not super efficient, I bet!!
We're open to lots of different iterations of making this work.  But in our heads, the wireframe would work something like this:

We can work on a wireframe for mobile too, but it's almost the end of the day here!
The important features would be:

The transition between the "collapsed" and "expanded" states should be nice, not super jerky
The user has the option to collapse the sidebar again

Component usage:
<Sidebar>         <template v-slot:sidebarTitle>           Add Custom Button Title         </template>         <template v-slot:sidebarMessage>           Add Custom Side Bar Message Here         </template>       </Sidebar>

PR: https://github.com/USGS-VIZLAB/snow-to-flow/pull/25


bumps

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/retest

/retest


TsLint: assignment operation inside an 'if' condition should be marked with a warning

If we want to spot some more bugs at compile time, I believe that something like:
if (data.id = id) { ...

while being perfectly legal, it can be a coding bug most of the times.
it would be nice if TsLint could spot this type of code and give us a warning instead of using a custom regex that scan all our files.

TSLint issues should be reported here: https://github.com/palantir/tslint/ as that isn't a Microsoft thing :)
Definitely nice to have! :)

ops sorry, will open the ticket there, thanks!


[bug]: Deleting multiple images quickly leads to error message

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
No response
What happened?
Current git main. Quickly deleting multiple images sometimes produces an error message, and red Error status in UI. My uneducated guess is that the server tries to delete the file while it is still being read for displaying in UI.
Screenshots
* --web was specified, starting web server...
* Initializing, be patient...
>> Initialization file C:\Users\Barafu\invokeai\invokeai.init found. Loading...
>> Started Invoke AI Web Server!
>> Default host address now <IP_ADDRESS> (localhost). Use --host <IP_ADDRESS> to bind any address.
>> Point your browser at http://<IP_ADDRESS>:9090
>> System config requested
>> Patchmatch initialized
>> Delete requested "outputs/000022.7d241f63.2138150993.png"
>> Delete requested "outputs/000021.7ce893c7.4222146570.png"
>> Delete requested "outputs/000020.fb599385.1895560125.png"
>> Delete requested "outputs/000019.3ddae83e.191634943.png"
>> Delete requested "outputs/000018.26772ada.285674991.png"
>> Delete requested "outputs/000017.874392e3.4046137040.png"
>> Delete requested "outputs/000016.57d157c5.913777982.png"
>> Delete requested "outputs/000015.7eea7b1f.3916088123.png"
>> Delete requested "outputs/000014.c9795944.3263043259.png"
>> Delete requested "outputs/000013.5b91952a.160526180.png"
>> Delete requested "outputs/000012.cf86ed2b.2370171665.png"
>> Delete requested "outputs/000011.ce26f47d.1617711614.png"
>> Delete requested "outputs/000010.b0f454c5.484733421.png"

Traceback (most recent call last):
  File "C:\Software\InvokeAI\backend\invoke_ai_web_server.py", line 785, in handle_delete_image
    send2trash(path)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\send2trash\plat_win_legacy.py", line 147, in send2trash
    raise WindowsError(result, FormatError(result), paths)
BrokenPipeError: [Errno 32] The process cannot access the file because it is being used by another process.: ['C:\\Users\\Barafu\\invokeai\\outputs\\000010~1.PNG']

Traceback (most recent call last):
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\hubs\selects.py", line 59, in wait
    listeners.get(fileno, hub.noop).cb(fileno)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenthread.py", line 221, in main
    result = function(*args, **kwargs)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 837, in process_request
    proto.__init__(conn_state, self)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 352, in __init__
    self.finish()
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 751, in finish
    BaseHTTPServer.BaseHTTPRequestHandler.finish(self)
  File "C:\Users\Barafu\anaconda3\envs\Pyth310\lib\socketserver.py", line 811, in finish
    self.wfile.close()
  File "C:\Users\Barafu\anaconda3\envs\Pyth310\lib\socket.py", line 723, in write
    return self._sock.send(b)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenio\base.py", line 401, in send
    return self._send_loop(self.fd.send, data, flags)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenio\base.py", line 388, in _send_loop
    return send_method(data, *args)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
Removing descriptor: 4340
Traceback (most recent call last):
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\hubs\selects.py", line 59, in wait
    listeners.get(fileno, hub.noop).cb(fileno)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenthread.py", line 221, in main
    result = function(*args, **kwargs)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 837, in process_request
    proto.__init__(conn_state, self)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 352, in __init__
    self.finish()
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 751, in finish
    BaseHTTPServer.BaseHTTPRequestHandler.finish(self)
  File "C:\Users\Barafu\anaconda3\envs\Pyth310\lib\socketserver.py", line 811, in finish
    self.wfile.close()
  File "C:\Users\Barafu\anaconda3\envs\Pyth310\lib\socket.py", line 723, in write
    return self._sock.send(b)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenio\base.py", line 401, in send
    return self._send_loop(self.fd.send, data, flags)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenio\base.py", line 388, in _send_loop
    return send_method(data, *args)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
Removing descriptor: 3812
Traceback (most recent call last):
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\hubs\hub.py", line 476, in fire_timers
    timer()
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\hubs\timer.py", line 59, in __call__
    cb(*args, **kw)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenthread.py", line 221, in main
    result = function(*args, **kwargs)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 837, in process_request
    proto.__init__(conn_state, self)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 352, in __init__
    self.finish()
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\wsgi.py", line 751, in finish
    BaseHTTPServer.BaseHTTPRequestHandler.finish(self)
  File "C:\Users\Barafu\anaconda3\envs\Pyth310\lib\socketserver.py", line 811, in finish
    self.wfile.close()
  File "C:\Users\Barafu\anaconda3\envs\Pyth310\lib\socket.py", line 723, in write
    return self._sock.send(b)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenio\base.py", line 401, in send
    return self._send_loop(self.fd.send, data, flags)
  File "C:\Software\InvokeAI\invokeai\lib\site-packages\eventlet\greenio\base.py", line 388, in _send_loop
    return send_method(data, *args)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
>> Delete requested "outputs/000009.ce8f1833.1500603989.png"
>> Delete requested "outputs/000008.7506ba65.1298814730.png"
>> Delete requested "outputs/000007.dc95b861.148565734.png"
>> Delete requested "outputs/000006.6e159f4d.3043566015.png"
>> Delete requested "outputs/000005.4d776694.4192925834.png"
>> Delete requested "outputs/000004.0f29bb42.1124991378.png"

Additional context
No response
Contact Details
No response

@psychedelicious , @blessedcoolant Could you look into this?

@Barafu
Something like what you suggested must be happening. This could be addressed by better error handling in the server.
However, we are not making any changes to the web server as we have just begun a migration to a better server. I don't think we will fix this unless the same issue occurs on the new server, in which case we definitely will fix it.
Thanks for reporting the bug though!

Keep this open, I will re-test when the refactoring is done.

I could not reproduce it in several tries.

I also have this problem when running bulk images.

I just got it again. Quickly deleting multiple files by tapping the red delete button with mouse. It continued to work after that. Files disappeared from the interface, but were not deleted from the output folder, and returned to the interface after pressing F5. Then I deleted them all using the same delete button. Files were removed and disappeared from "output" folder, however theirt counterparts in "output-thumbnails" stayed again. I did not even open the Canvas tab since full reinstallation.
>> Delete requested "outputs/000171.aa54fb09.4069021259.postprocessed.png"

Traceback (most recent call last):
  File "C:\Users\Barafu\invokeai\.venv\lib\site-packages\invokeai\backend\invoke_ai_web_server.py", line 909, in handle_delete_image
    send2trash(path)
  File "C:\Users\Barafu\invokeai\.venv\lib\site-packages\send2trash\win\legacy.py", line 150, in send2trash
    paths = [get_short_path_name(path) for path in paths]
  File "C:\Users\Barafu\invokeai\.venv\lib\site-packages\send2trash\win\legacy.py", line 150, in <listcomp>
    paths = [get_short_path_name(path) for path in paths]
  File "C:\Users\Barafu\invokeai\.venv\lib\site-packages\send2trash\win\legacy.py", line 135, in get_short_path_name
    raise WindowsError(err_no, FormatError(err_no), long_path)
FileNotFoundError: [Errno 2] The system cannot find the file specified.: '\\\\?\\C:\\Users\\Barafu\\invokeai\\output\\000171.aa54fb09.4069021259.postprocessed.png'

This is fixed in main (which is what 3.0 will be based on) - we aren't going to fix this on 2.3 as it's on its way out. Sorry!


[feat] move helm dependency build to sync command

I am wondering, whether the logic for the new helm dependency management should move to the sync phase. I
It only requires re-execution after the user has synced and effectively both "helm repo add" as well as "helm dependency build" can be perceived as syncing your local state with remote state. Plus, the render step is currently slowed down unnecessarily.
@Zebradil and @kbudde, what do you think?

Makes sense. Usually I expect sync to rely on the network, while render should work locally.
Why should it not be part of the sync step?

Argee. In perspective, we can have sync/prepare and render stages for plugins.

Thank you every so much for your feedback. Then I will get on with it. Thinking of introducing something similar to the YamlTemplatingTool interface that we have for the render stage for the sync stage.

Implemented in #202


New camera code not working with < API 23

Whoops, just tested on my API 21 device and the new code doesn't work on it. Please don't do a release with the current code until I can fix it, thanks!

OK!
On Thu, Jul 14, 2016 at 3:47 PM, Josephine Lim<EMAIL_ADDRESS>wrote:

Whoops, just tested on my API 21 device and the new code doesn't work on
it. Please don't do a release with the current code until I can fix it,
thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nicolas-raoul/apps-android-commons/issues/185, or mute
the thread
https://github.com/notifications/unsubscribe/AAGFBinoxzMlvNnFPD8xjDXXw9_o_fcfks5qVduCgaJpZM4JMIaX
.


docs(guide): fix BAD FILENAME example imports

Fix incorrect doc regions (BAD FILENAME errors)
Mark sections containing BAD FILENAME errors
resulting from outdated examples and usage
with critical alerts
Closes #1307

Most of the errors result from the deprecation of RouteParams and the new routing functionality.
I did not attempt to update the example discussions themselves since (1) this issue was specific to the BAD FILENAME errors and (2) I do not have the necessary knowledge to update the explanations and examples with confidence.
I fixed incorrect doc regions where possible, but highlighted sections spanning broken example snippets with critical alerts.
I hope this is acceptable.

I am not sure I understand this PR. The router chapter is being rewritten right now.

I was simply trying to fix #1307 and ended up opening a can of worms by the looks of it.
It is up to you to decide if this adds value, if this is duplicating work already done/in progress, we can simply whack this PR.

That router page is supposed to be hidden because it is the work in progress for the new router documentation. Problem is that it is still linked to some other docs (instead of linking to the deprecated one). There is a PR already to make the tutorial link to the deprecated router for the time being.

That makes sense. Shall we discard this PR then?
On 08 May 2016 3:55 PM, "Jesús Rodríguez"<EMAIL_ADDRESS>wrote:

That router page is supposed to be hidden because it is the work in
progress for the new router documentation. Problem is that it is still
linked to some other docs (instead of linking to the deprecated one). There
is a PR already to make the tutorial link to the deprecated router for the
time being.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.io/pull/1329#issuecomment-217719969

Yes. All bad filenames regions are going to be fixed.
Sorry for the inconvenience.

No problem at all :)
On 08 May 2016 16:02, "Jesús Rodríguez"<EMAIL_ADDRESS>wrote:

Yes. All bad filenames regions are going to be fixed.
Sorry for the inconvenience.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.io/pull/1329#issuecomment-217721573


The documentation example is not working

I get the following errors

warning.js:36 Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.
invariant.js:44 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.
at invariant (invariant.js:44)
at ReactCompositeComponentWrapper.instantiateReactComponent [as _instantiateReactComponent] (instantiateReactComponent.js:77)
at ReactCompositeComponentWrapper.performInitialMount (ReactCompositeComponent.js:367)
at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:258)
at Object.mountComponent (ReactReconciler.js:46)
at ReactCompositeComponentWrapper.performInitialMount (ReactCompositeComponent.js:371)
at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:258)
at Object.mountComponent (ReactReconciler.js:46)
at mountComponentIntoNode (ReactMount.js:104)
at ReactReconcileTransaction.perform (Transaction.js:140)

With the following code (very close to the example)
import React from 'react'
import ReactDOM from 'react-dom'

import { createStore, combineReducers, applyMiddleware } from 'redux'
import { Provider } from 'react-redux'

import createHistory from 'history/createBrowserHistory'
import { Route } from 'react-router'

import { ConnectedRouter, routerReducer, routerMiddleware, push } from 'react-router-redux'

// import reducers from './reducers' // Or wherever you keep your reducers

// Create a history of your choosing (we're using a browser history in this case)
const history = createHistory()

// Build the middleware for intercepting and dispatching navigation actions
const middleware = routerMiddleware(history)

// Add the reducer to your store on the `router` key
// Also apply our middleware for navigating
const store = createStore(
  combineReducers({
    // ...reducers,
    router: routerReducer
  }),
  applyMiddleware(middleware)
)

const Home = () => (
Home
)
const About = () => (
About
)
const Topics = () => (
Topics
)

ReactDOM.render(
  <Provider store={store}>
    { /* ConnectedRouter will use the store from Provider automatically */ }
    <ConnectedRouter history={history}>

        <Route exact path="/" component={Home}/>
        <Route path="/about" component={About}/>
        <Route path="/topics" component={Topics}/>

    </ConnectedRouter>
  </Provider>,
  document.getElementById('app')
)

However, it does work if I replace ConnectedRouter with Router
Any ideas?

Hey @tashburn! Just spent 2 hours struggling with the same... and finally it worked (at least error messages disappeared and the page was rendered).
Try installing 5.0.0-alpha.3 which is the most recent version. I used yarn instead of npm, as it seems that npm is listing 4.0.8 as the latest and this one will not work with React Router 4.

react-router-redux needs some serious work. I haven't had time to get to it lately, so I wouldn't use it just yet. The skeletal structure is there for something good, but we have yet to nail the internals. I've got some ideas for it I hope to get out there soon. Sorry for the mess in the meantime!

I understand -- thanks for the note.

@metelski Thanks for the idea!

Any update on this? The documentation still says to use <ConnectedRouter>, which is broken. Thanks.

Are we not to use ConnectedRouter still?
Mine is still detonating wholesale after npm install react-router-redux@next
I was just looking for the store.dispatch(push())

Oops, that actually does work. I just forgot to import browserHistory into my root, so those errors above are generated by passing undefined into ConnectedRouter. We can probably gain a bit of DX if someone were to attack that. :)
I changed it to:
<ConnectedRouter history={browserHistory}>

and it's actually working beautiful now and even fixed some issues I had before I mass refactored.
If anyone tries this, put this in your root file:
store.dispatch(push('/somescreen'))

You will see when it's working if you are listening to redux:
{type: "@@router/CALL_HISTORY_METHOD", payload: {…}}
logger.js:2 {type: "@@router/LOCATION_CHANGE", payload: {…}}

@metelski It really works!!! Thanks for the notes!


push notification error 8

Does this error mean I have set up my cert and key pem files incorrectly? I get the following log:
Connected
Notification transmitted to:98d86f0605e899fea311c82b13bc774c8ca58ba1208333ca2403fdc0d4ecbc7f
Notification caused error: 8 for device  { token: <Buffer 98 d8 6f 06 05 e8 99 fe a3 11 c8 2b 13 bc 77 4c 8c a5 8b a1 20 83 33 ca 24 03 fd c0 d4 ec bc 7f> } { encoding: 'utf8',
payload: { aps: { alert: 'Hello, from node-apn! You are number: 0' } },
expiry: 0,
identifier: 0,
priority: 10,
retryLimit: -1,
device: undefined,
alert: 'Hello, from node-apn! You are number: 0',
badge: '0',
sound: undefined,
newsstandAvailable: undefined,
contentAvailable: undefined,
mdm: undefined,
compiled: true,
truncateAtWordEnd: false,
urlArgs: undefined,
compiledPayload: '{"aps":{"alert":"Hello, from node-apn! You are number: 0"}}' }
Disconnected from APNS
I copied your example code:
var apn = require('apn');
var tokens = ["my token with no spaces"];
if(tokens[0] == "") {
console.log("Please set token to a valid device token for the push notification service");
process.exit();
}
// Create a connection to the service using mostly default parameters.
var service = new apn.connection({ gateway:'gateway.sandbox.push.apple.com' });
service.on('connected', function() {
console.log("Connected");
});
service.on('transmitted', function(notification, device) {
console.log("Notification transmitted to:" + device.token.toString('hex'));
});
service.on('transmissionError', function(errCode, notification, device) {
console.error("Notification caused error: " + errCode + " for device ", device, notification);
});
service.on('timeout', function () {
console.log("Connection Timeout");
});
service.on('disconnected', function() {
console.log("Disconnected from APNS");
});
service.on('socketError', console.error);
// If you have a list of devices for which you want to send a customised notification you can create one and send it to and individual device.
function pushSomeNotifications() {
for (var i in tokens) {
var note = new apn.notification();
note.setAlertText("Hello, from node-apn! You are number: " + i);
note.badge = i;
    service.pushNotification(note, tokens[i]);
}

}
pushSomeNotifications();

Hi I am facing the same issue. My server is also on production mode and certificates and token is also made from ios testflight apple build. Can anyone help please? Thanks

Please check again that your certificates are correct. Each time I have seen this error it was due to mismatched certificates

Hi,
Yes it was the certificates issue, I was not loading it properly. Thank you for the advice.
Zubair

For anyone else googling and stumbling on to this issue, check to make sure that the cert which you generated the pem file matches the app bundle id of the app you are running.  Also make sure that in xcode, you have push notifications turned on in your project's target capabilities!!!

Why does the connection between the node server and apns breaks in case of any notification error ? Although it reconnects, but what is the reason for this reconnection ?

It is the way the protocol works. For more information read Apples documentation

Solved Notification payload use for app run or background for right way Push Notifiaction