docs: Tesseract use is not "automatic" for pdfs without additional config

This may very well be a "works on my machine" situation but I'm finding that some config is required to get tika to OCR as part of the batch process even after tesseract is installed.
# where tika-config.xml is:
tika_config_xml <- '<?xml version="1.0" encoding="UTF-8"?>
  <properties>
    <parsers>
      <parser class="org.apache.tika.parser.DefaultParser"/>
    <parser class="org.apache.tika.parser.pdf.PDFParser">
      <params>
        <param name="extractInlineImages" type="bool">true</param>
      </params>
    </parser>
  </parsers>
</properties>
'
tika_config <- tempfile(fileext = ".xml")
scanned_pdf <- tempfile(fileext = ".pdf")
zipped_pdf  <- tempfile(fileext = ".zip")

cat(tika_config_xml, file = tika_config)
download.file("https://jeroen.github.io/images/ocrscan.pdf", destfile = scanned_pdf,mode = "wb")
zip(zipfile = zipped_pdf, files = scanned_pdf, )

# vanilla
rtika::tika("https://jeroen.github.io/images/testocr.png")
#> [1] "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis is a lot of 12 point text to test the\nocr code and see if it works on all types\nof file format.\n\nThe quick brown dog jumped over the\nlazy fox. The quick brown dog jumped\nover the lazy fox. The quick brown dog\njumped over the lazy fox. The quick\nbrown dog jumped over the lazy fox.\n\n"

# ocr, no custom config
rtika::tika(scanned_pdf)
#> [1] "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSample Scanned Image\n\n\nSticky Note from Paperless\nThis is a sample page scanned at 200dpi and converted to PDF. It is not searchable. That is, all you see is the original image of the source document.\n\n\n\tPrint\n\tExit\n\n"

# custom tika config
rtika::tika(scanned_pdf, args = c("-c", tika_config))
#> [1] "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSample Scanned Image\n\n\nNo.\n\n1\n\nTHE SLEREXE COMPANY LIMITED\n\nSAPORS LANE - BOOLE - DORSET - BH 25 8ER\nTELEPHONE BOOLE (945 13) 51617 - TELEX 123456\n\nOur Ref. 350/PJC/EAC 18th January, 1972.\n\nDr. P.N. Cundall,\nMining Surveys Ltd.,\nHolroyd Road,\nReading,\n\nBerks.\n\nDear Pete,\n\nPermit me to introduce you to the facility of facsimile\ntransmission.\n\nIn facsimile a photocell is caused to perform a raster scan over\nthe subject copy. The variations of print density on the document\ncause the photocell to generate an analogous electrical video signal.\nThis signal is used to modulate a carrier, which is transmitted to a\nremote destination over a radio or cable communications link.\n\nAt the remote terminal, demodulation reconstructs the video\nsignal, which is used to modulate the density of print produced by a\nprinting device. This device is scanning in a raster scan synchronised\nwith that at the transmitting terminal. As a result, a facsimile\ncopy of the subject document is produced.\n\nProbably you have uses for this facility in your organisation.\n\nYours sincerely,\n\nThA.\nP.J. CROSS\nGroup Leader - Facsimile Research\n\nRegistered in England: No. 2088\nRogistered Office: 80 Vicara Lane, Ilford. Eseex.\n\n\nSticky Note from Paperless\nThis is a sample page scanned at 200dpi and converted to PDF. It is not searchable. That is, all you see is the original image of the source document.\n\n\n\tPrint\n\tExit\n\n"

Created on 2018-12-14 by the reprex package (v0.2.1)

Thanks for this! I’ll sort this out for the next release.

Hi,
I would like to add I am having the same problem as edavidaja. However running his tika-config.xml code did not solve my problem. I am new to R and do not have any Java experience, however I suspect the issue I have is due to not having tika installed (i only have your rtika package installed).
What command/syntax do i enter in order to 'force' rtika to do OCR?

After looking into this, I think the OCR only works on Linux. I've tried on OS X and Windows.
@edavidaja I think this config file should be the default. Apparently, very large PDF files can cause memory problems with tesseract, which is apparently why it was switched off. However, the behavior is inconsistent. I've made PDF OCR the default behavior, and also included a config file that could be used instead to turn off OCR. This is in the latest version of rtika here.
devtools::install_github("ropensci/rtika")

close #10


npm install warnings

npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm warn deprecated<EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
npm warn deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained.


[tracking] 4.6.0-0.okd-2021-02-14-205305

Issues fixed:

[ ] #483
[ ] #494
[ ] https://github.com/openshift/installer/pull/4611 - sudo and kernel CVE fixes
[ ] #480
[ ] #477
[ ] #505
[ ] #463
[ ] #402
This doesn't seem to be fully fixed, I had to convert images manually. This release is mirrorable though
[ ] #505

Notable unresolved issues:

#405
OVN seems to be using more CPU than it used to on 4.5. Needs bugzilla

#430
OpenshiftSDN upgrades are broken

#322
oc reports invalid version

Upgrades from 4.5 are breaking due to NM version mismatch.
Workaround is to update to previous 4.6 release first

#509
Openstack/ovirt IPI install may get stuck on bootstrap - api-int nameserver is not being set correctly

#477
vSphere/Openstack/oVirt nodes have DNS configuration messed up

Note that this breaks new installations for all these platforms...  No stable release since 12-12-2020 has worked successfully and nightly releases fail also.
The fix is (hopefully) here:  https://github.com/openshift/machine-config-operator/pull/2356.  Vadim and I have tested it on private builds successfully on vSphere
I'm not sure how we can have a next stable release until this issue is fixed...

#477
vSphere/Openstack/oVirt nodes have DNS configuration messed up

Note that this breaks new installations for all these platforms...  No stable release since 12-12-2020 has worked successfully and nightly releases fail also.
The fix is (hopefully) here:  https://github.com/openshift/machine-config-operator/pull/2356.  Vadim and I have tested it on private builds successfully on vSphere
I'm not sure how we can have a next stable release until this issue is fixed...

@Gal-Zaidman @janoszen can you please have a look?

@Gal-Zaidman @janoszen can you please have a look?

https://amd64.origin.releases.ci.openshift.org/releasestream/4-stable/release/4.6.0-0.okd-2021-02-14-205305
https://github.com/openshift/okd/releases/tag/4.6.0-0.okd-2021-02-14-205305


iOS: doesnt show android emoticons

Hi,
Can we have a ETC of this issue so we can update.
Else If the issue is resolved please put the state_resolved label and close the issue.
Thanks!


Feature/dockerfile templates

Don't merge until device-type and base images naming align

@shaun Perhaps could do with a link to your multi-device app at the end?

@craig-mulligan this has been updated to reflect the RESIN_MACHINE_NAME variable rather than the device type

i will try add my multi-arch ADC app later, it needs one change for it to work i think


Multiple capabilites causing an issue

Starting Feb 2nd 2024, The following error occurs on every build for multiple capabilities passed as below.
 capabilities: CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND

Error: 1 validation error detected: Value '[CAPABILITY_NAMED_IAM,  CAPABILITY_AUTO_EXPAND]' at 'capabilities' failed to satisfy constraint: Member must satisfy constraint: [Member must satisfy enum value set: [CAPABILITY_AUTO_EXPAND, CAPABILITY_NAMED_IAM, CAPABILITY_IAM]]

Found one possible issue but struggling a little with the error message and if my fix will fix the issue.

Added in a test for multiple capabilities to match what you have.  If you have a chance take a look.

I believe this is fixed and released.  We can re-open as needed.


Slidebox dosen't continue auto play when the time switch to other view is over the slide interval and then return this carousel view

<ion-slide-box on-slide-changed="slideChanged(index)" does-continue="true" auto-play="true" slide-interval="2000" show-pager="false" pager-click="pagerClick(index)" >
	        <ion-slide>

	        </ion-slide>
	        <ion-slide>

Using Awesome

Just three steps:

Be awesome

Stay awesome

There is no step 3

	        </ion-slide>
	        <ion-slide>

Any questions?

	            Too bad!

	        </ion-slide>
		</ion-slide-box>

Greetings @floraluo!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

active-slide="index"   ，maybe you need to add this  attr

@hxzAugustinus thank you for your answer,but it's still have this issue when I add the attr

Hey everyone, we just landed a new slider component that solves this issue. It's in master and will be in 1.2 To use it today, do this:
Will be back porting the delegate to work with it soon, but going to close since this should be solved now.
<ion-slides options="options" slider="data.slider">
  <ion-slide-page>
  </ion-slide-page>
</ion-slides>

and your JS:
controller('MyCtrl', function($scope) {
      $scope.options = {
        loop: true
      }

      $scope.data = {};

      $scope.$watch('data.slider', function(nv, ov) {
        $scope.slider = $scope.data.slider;
      })

});


Parse all events

Dilemma right now is that I can't tell which of the events in events_frequency occurring more than once should be displayed on their own page, on the same page as another event, etc.
Whether some events all in the same eventList should be listed together.

Universally recurring, like "COMBAT_CHECK"

Only appears in one Eventlist

duplicate eventLists with different names:

eventLists for sectors:


database

The databases will not load
Version: 1.90.2
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

/needsMoreInfo
Which databases?
If you are using VS Code as part of a course please close this issue and contact the course support channel.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


User can edit not own asset

User can edit not own asset (show edit button).

I don't understand - this should work just fine.

I see edit button show me on my other computer with other session in cookie.

@mefihl Are you logging in as the same user? Are you sure you are logged in (i.e. does the my assets link show up)?

Finally, you can try just changing the url to /asset-library/asset/<ID>/edit, then edit it, and submit the edit. If it does accept the submission, then it is indeed a bug. Otherwise, it would tell you that you aren't authorised to do this.

I think @mefihl means that the Edit button appears nevertheless, though if you try to edit, the edits would likely be rejected. But the button should not be visible/enabled in the first place.

I'am can edit asset which made by kubecz3k.

@mefihl You never tried to submit it, right? :wink:

Ahhh, got it

@bojidar-bg no ;)

Button is still visible .

I haven't pushed the changes life yet, I would do this later today I guess.

Ok, should be done now, retest?

I confirm, now works ok.


Add a simulate endpoint proxying simulation requests to Tenderly

Is your feature request related to a problem? Please describe.
As a part of https://github.com/gnosis/safe-react-apps/issues/200, we would like to use Tenderly for integrating transaction simulation into the Transaction Builder Safe App. The Tenderly endpoint uses a token-based authentication from the request header. We need to hide the token behind a proxy not to expose our token.
Provide references to the feature you are implementing that requires this change
https://github.com/gnosis/safe-react-apps/issues/200
Describe the solution you'd like
A new endpoint simulate endpoint accepts the same data as Tenderly's simulate endpoint. Perhaps We could put it under the transaction route. It would return an object with the following structure:
{
  "tenderly_link": "Link to the simulation on tenderly",
  "data": tenderly simulate endpoint response
}

The endpoint should be rate-limited and restricted to the gnosis-safe.io domain.
Describe alternatives you've considered
Directly calling Tenderly API, but it'd expose our token.
Additional context
Tenderly docs
Open questions

This feature could not be available on some networks, e.g. Aurora. Should we put this as a feature on the config service? The web team might also integrate with tenderly in the future
What would be a reasonable rate limit? I'd say 3 simulations per 60 secs is ok

I would not call it tenderly_link but rather something more generic, as the UI doesn't have to know that implementation detail. Maybe just uri would do.

Potentially it might make sense to have a light weight proxy service independent of the client gateway (similar to our rpc proxies). The client gateway does not have logic domain restriction and also the rate limit logic is not used (we experimented with it in the past).

Also can you please specify how the token should be added and where we can acquire the token

The account creating the access token should be a paid account to avoid that we run into limits (see https://tenderly.co/pricing/)

Relaying what we've discussed internally in slack:
Instead of adding an endpoint to the client gateway, we implement an Nginx proxy to the tenderly API


Added JarLocationScanner for executing from Java Application

Demonstration: https://github.com/dancetrain/cassandra-migration-app

Hi, I will review this MergeRequest soon. Just to get what you want to achieve: You want to distribute migration scripts inside a jar but that jar file is not path of the classpath and therefore the ClassPathLocationScanner will not for you? Is that correct?

Yes, scripts inside a distrubutable jar
Scripts is in path of the classpath

I think problem is that jar is a zip, but FilePathLocationScanner fails to work inside a jar

Yes, that is true. The FilePathLocationScanner will not help you here. I am just surprised to see that you want to "zip" your scripts in a jar file because if they are in a jar I would have expected that the jar is just part of the application and the scripts can therefore be retrieved with the ClassPathLocationScanner.

I have classic dev/qa/staging/production deloyment architecture, also I have a build server for CI
I have separated schema manager tool to special module, which contains all migration scripts, so it is easily to run in different environments have only one jar for that
But now, I think, I understand your way to run updates without creating new jar, just add fmore migration scripts within the class path

Hi,
yes, the main idea is that the state (or version for that matter) of your database schema is tightly coupled with the version of your application and therefore as a consequence, it makes sense that those migrations are actually part of your application so that the application comes along with the set of migrations that match the data access code for this particular application version. (Rails for example does it like that since years)
Please just let me know if I should still consider your merge request or not. I will see that I create another release within the next days.
Cheers
Patrick

Yes Patrick, please, merge it.
Rails app is a monolith app, all-in-one, but in my case, I have multiple apps that works with one keyspace and same tables and that is why I had to create schema manager app, for handling updates before re-deploying new versions of apps.
Kind Regards,
Pavel

Hi Pavel,
OK. I will see that I get to it on the weekend.
Cheers
Patrick

Hello Pavel,
sorry but I have to come back to you. As I am writing some tests for the code you provided and I am preparing the next release, I have to admit that I still don't fully understand the purpose of what you provided here. I checked your examples but both of them work with the current release (so without your changes). In the cassandra-migration-file project I simply have to change the code from:
new MigrationRepository()
to
new MigrationRepository("migration")
It then works as the only difference I was able to figure out is the path of the migration scripts in the resource folder.
I first thought that your goal is to provide a jar file that contains all your migration scripts to the application and that this jar file is not part of the classpath but is lying around somewhere in the filesystem but it does not seem to be the scenario in mind.
At least the MigrationRepository is currently only checking for directories that are in fact inside the classpath because it is using the classloader to retrieve the resources. Therefore your changes have to be on the current classpath otherwise they will never be found.
Maybe i am really just missing something but based on the provided examples I don't get how it is supposed to work. I understand that you have a schema manager app that produces the cql files and packages those file into jars and uploads it to the server. Is the application that is using this jar already started at this point of time or do you start it once the jar is copied? If the latter is the case then your scripts should be on the classpath or not?
Cheers
Patrick

Hey,
I have created this repo for demonstrating my problem
https://github.com/dancetrain/cassandra-migration-app
Check difference in pom.xml, while App is the same
Pavel
On Thu, Dec 1, 2016 at 10:49 AM, Patrick Kranz<EMAIL_ADDRESS>wrote:

Hello Pavel,
sorry but I have to come back to you. As I am writing some tests for the
code you provided and I am preparing the next release, I have to admit that
I still don't fully understand the purpose of what you provided here. I
checked your examples but both of them work with the current release (so
without your changes). In the cassandra-migration-file project I simply
have to change the code from:
new MigrationRepository()
to
new MigrationRepository("migration")
It then works as the only difference I was able to figure out is the path
of the migration scripts in the resource folder.
I first thought that your goal is to provide a jar file that contains all
your migration scripts to the application and that this jar file is not
part of the classpath but is lying around somewhere in the filesystem but
it does not seem to be the scenario in mind.
At least the MigrationRepository is currently only checking for
directories that are in fact inside the classpath because it is using the
classloader to retrieve the resources. Therefore your changes have to be on
the current classpath otherwise they will never be found.
Maybe i am really just missing something but based on the provided
examples I don't get how it is supposed to work. I understand that you have
a schema manager app that produces the cql files and packages those file
into jars and uploads it to the server. Is the application that is using
this jar already started at this point of time or do you start it once the
jar is copied? If the latter is the case then your scripts should be on the
classpath or not?
Cheers
Patrick
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/patka/cassandra-migration/pull/6#issuecomment-264102040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC9eHXoV4UidM568AqrHkKtlxtaAKjIXks5rDnwZgaJpZM4KbUl8
.

--
Pavel Borsky

Hi Pavel,
I used your repo actually. In the pom files I cannot see any difference except that one is pointing to the released version and the other one to the modified version of yours. If there is something else, please point me to it :) But as I said, the one depending on your version does also work with the normal release if the correct path is passed to the constructor.
Cheers
Patrick

I think I finall understand the problem you are solving. But it was not really clear by your examples. The difference is basically how the application is started. If the application is started as in your examples by using java -jar the resource URIs that are returned from the classpath are different then when it is started from inside IntelliJ for example.
In the first case they start with jar: and in the second case with file:
Allright, now it finally makes sense to me.
Cheers
Patrick

Yes,
You are totally correct with that
On Fri, Dec 2, 2016 at 12:38 AM, Patrick Kranz<EMAIL_ADDRESS>wrote:

I think I finall understand the problem you are solving. But it was not
really clear by your examples. The difference is basically how the
application is started. If the application is started as in your examples
by using java -jar the resource URIs that are returned from the classpath
are different then when it is started from inside IntelliJ for example.
In the first case they start with jar: and in the second case with file:
Allright, now it finally makes sense to me.
Cheers
Patrick
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/patka/cassandra-migration/pull/6#issuecomment-264303375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC9eHcJPDV3WT1P98zYIN7_8oOPltPQuks5rDz5lgaJpZM4KbUl8
.

--
Pavel Borsky


checker implemented

In order to handle cancellation I added Positive and Negative to my
lattice. A lot of my issues were fixed by adding error checks at top(),
thanks for that tidbit,
Updated code:
https://github.com/jennatnguyen/div-by-zero-checker/pull/3/files
On Tue, Oct 15, 2024 at 8:49 AM Martin Kellogg @.***>
wrote:

@.**** commented on this pull request.
In README.md
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801091431
:

@@ -7,74 +7,4 @@ in this directory, or on your course webpage.
The remainder of this README is the user-facing documentation for the analysis
you will build.

-You should remove, from your version, everything above and including this line.
I'm surprised that you deleted this and everything below it, rather
than above. Was there a particular reason?
In
src/main/java/org/checkerframework/checker/dividebyzero/DivByZeroTransfer.java
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801093096
:

+private AnnotationMirror refineLhsOfComparison(

Comparison operator, AnnotationMirror lhs, AnnotationMirror rhs) {

if (operator == Comparison.NE) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(NonZero.class); // lhs cannot be Zero if it is not equal to Zero

   }

} else if (operator == Comparison.EQ) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(Zero.class); // Refine lhs to Zero

   }

} else if (operator == Comparison.LT) {

   // If lhs < 0, we can say lhs is less than Zero

   if (equal(lhs, reflect(Zero.class))) {

       return reflect(Zero.class); // Refine lhs to Zero

This doesn't seem correct - I would expect NonZero here.
In
src/main/java/org/checkerframework/checker/dividebyzero/DivByZeroTransfer.java
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801095997
:

if (operator == Comparison.NE) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(NonZero.class); // lhs cannot be Zero if it is not equal to Zero

   }

} else if (operator == Comparison.EQ) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(Zero.class); // Refine lhs to Zero

   }

} else if (operator == Comparison.LT) {

   // If lhs < 0, we can say lhs is less than Zero

   if (equal(lhs, reflect(Zero.class))) {

       return reflect(Zero.class); // Refine lhs to Zero

   }

} else if (operator == Comparison.LE) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(Zero.class); // lhs could be zero if less than or equal to Zero

This is surprising (and seems unsound to me): it's implying that if I have
the following code:
if (x <= 0) { ... }
Then, inside the if block, x must be zero. I think it might be zero,
but I don't think it's guaranteed to be zero. I suggest trying to write an
example where this unsoundness leads to a missed division by zero error; as
a hint, you probably want to compare x against some other variable, and
then divide by that one.
In
src/main/java/org/checkerframework/checker/dividebyzero/DivByZeroTransfer.java
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801097988
:

@@ -95,11 +123,55 @@ private AnnotationMirror refineLhsOfComparison(
* @param rhs the lattice point for the right-hand side of the expression
* @return the lattice point for the result of the expression
*/

private AnnotationMirror arithmeticTransfer(

 BinaryOperator operator, AnnotationMirror lhs, AnnotationMirror rhs) {

// TODO
+private AnnotationMirror arithmeticTransfer(

BinaryOperator operator, AnnotationMirror lhs, AnnotationMirror rhs) {

if (operator == BinaryOperator.DIVIDE) {

   // Check for division by zero

   if (equal(rhs, reflect(Zero.class)) || equal(lhs, top())) {

       return reflect(Zero.class); // Division by zero detected

I would expect this to be bottom or nonzero rather than zero, since it
implies a division by zero error (in the error case) or that the value was
actually nonzero (if the program can continue to execute).
In
src/main/java/org/checkerframework/checker/dividebyzero/DivByZeroTransfer.java
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801098895
:

       return reflect(NonZero.class); // Result is NonZero

   }

   // If lhs is Zero, the result of division is Zero

   if (equal(lhs, reflect(Zero.class))) {

       return reflect(Zero.class);

   }

   // If both lhs and rhs are unknown, we can't make any conclusions

   return top();

}

// Handle addition
if (operator == BinaryOperator.PLUS) {

   if (!equal(lhs, reflect(Zero.class)) && !equal(rhs, reflect(Zero.class))) {

       return reflect(NonZero.class); // Both operands are NonZero

Is this sound? I think it gives the wrong answer for an expression like -3

In
src/main/java/org/checkerframework/checker/dividebyzero/DivByZeroTransfer.java
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801099340
:

   // If lhs is Zero, the result of division is Zero

   if (equal(lhs, reflect(Zero.class))) {

       return reflect(Zero.class);

   }

   // If both lhs and rhs are unknown, we can't make any conclusions

   return top();

}

// Handle addition
if (operator == BinaryOperator.PLUS) {

   if (!equal(lhs, reflect(Zero.class)) && !equal(rhs, reflect(Zero.class))) {

       return reflect(NonZero.class); // Both operands are NonZero

   }

   return lub(lhs, rhs); // Return least upper bound

Why least upper bound here?
In
src/main/java/org/checkerframework/checker/dividebyzero/DivByZeroVisitor.java
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801102150
:

@@ -29,7 +29,18 @@ public class DivByZeroVisitor extends BaseTypeVisitor<DivByZeroAnnotatedTypeFact
private boolean errorAt(BinaryTree node) {
// A BinaryTree can represent any binary operator, including + or -.
// TODO

return false;

// Check if the operator is one of the division or remainder operators
if (DIVISION_OPERATORS.contains(node.getKind())) {
// Get the right-hand side operand
Tree rhs = node.getRightOperand();

// Check if the right-hand operand could be zero
if (rhs != null && hasAnnotation(rhs, Zero.class)) {

return true;  // Only flag a divide-by-zero if rhs has @Zero

I don't think this is sound, since top can logically also contain zero,
right? Top represents "we don't know anything" - which can mean that the
value is either zero or nonzero. So, to guarantee safety, the analysis
needs to warn about top, too.
In
src/main/java/org/checkerframework/checker/dividebyzero/DivByZeroTransfer.java
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#discussion_r1801096444
:

if (operator == Comparison.NE) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(NonZero.class); // lhs cannot be Zero if it is not equal to Zero

   }

} else if (operator == Comparison.EQ) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(Zero.class); // Refine lhs to Zero

   }

} else if (operator == Comparison.LT) {

   // If lhs < 0, we can say lhs is less than Zero

   if (equal(lhs, reflect(Zero.class))) {

       return reflect(Zero.class); // Refine lhs to Zero

   }

} else if (operator == Comparison.LE) {

   if (equal(rhs, reflect(Zero.class))) {

       return reflect(Zero.class); // lhs could be zero if less than or equal to Zero

(The same problem exists for >=)
—
Reply to this email directly, view it on GitHub
https://github.com/jennatnguyen/div-by-zero-checker/pull/2#pullrequestreview-2369219716,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCWIO7WFCGQBA5K5KTJF5SLZ3UFNXAVCNFSM6AAAAABP5WUCF2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNRZGIYTSNZRGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Error in Goldair GPPH620 heater "ValueError: invalid literal for int() with base 10: 'auto'"

This form is for reporting bugs.  If you have encountered a bug, you should
generally have some log messages or device diagnostics to show something is
going wrong.  If your problem is more of a question or a request for help,
then Discussions is
probably a more suitable venue.
Describe the bug
Goldair GPPH620 (1.5kW) heater doesn't present data. The device responds to commands issued from home assistant (turn on heating, turn off heating) but the sensor data doesn't display.
To Reproduce
With a Goldair GPPH620, set it up in Home Assistant using Tuya Local.
Use protocol version 3.4 as this seems to be the only one that works.
Observe that no sensor data is reported.
Expected behavior
Sensor data should be reported.
Additional context
This has been working fine with both a GPPH610 and GPPH630 for several years, as well as with a GPPH610 purchased at the same time as the GPPH620.
There is an error in the HomeAssistant logs:
Source: components/sensor/__init__.py:583
Integration: Tuya Local ([documentation](https://github.com/make-all/tuya-local), [issues](https://github.com/make-all/tuya-local/issues))
First occurred: May 29, 2023 at 8:26:46 PM (1 occurrences)
Last logged: May 29, 2023 at 8:26:46 PM
Guest Bedroom Heater receive loop terminated by exception Sensor sensor.guest_bedroom_heater_power_level has device class power_factor, state class None unit % and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: auto (<class 'str'>)

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state
    numerical_value = int(value)
ValueError: invalid literal for int() with base 10: 'auto'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/tuya_local/device.py", line 218, in receive_loop
    entity.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state
    raise ValueError(
ValueError: Sensor sensor.guest_bedroom_heater_power_level has device class power_factor, state class None unit % and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: auto (<class 'str'>)```

The diagnostics from the device are:
```{
  "home_assistant": {
    "installation_type": "Unknown",
    "version": "2023.5.4",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.10.11",
    "docker": false,
    "arch": "x86_64",
    "timezone": "Pacific/Auckland",
    "os_name": "Linux",
    "os_version": "5.10.0-22-amd64",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "version": "1.32.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "metlink": {
      "version": "1.0.8",
      "requirements": [
        "isodate~=0.6.1"
      ]
    },
    "localtuya": {
      "version": "5.2.0",
      "requirements": []
    },
    "goldair_climate": {
      "version": "0.1.3",
      "requirements": [
        "pycryptodome~=3.9",
        "pytuya~=7.0.5"
      ]
    },
    "tuya_local": {
      "version": "2022.5.1",
      "requirements": [
        "pycryptodome~=3.17",
        "tinytuya==1.12.7"
      ]
    }
  },
  "integration_manifest": {
    "domain": "tuya_local",
    "name": "Tuya Local",
    "codeowners": [
      "@make-all"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/make-all/tuya-local",
    "integration_type": "device",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/make-all/tuya-local/issues",
    "requirements": [
      "pycryptodome~=3.17",
      "tinytuya==1.12.7"
    ],
    "version": "2022.5.1",
    "is_built_in": false
  },
  "data": {
    "name": "Guest Bedroom Heater",
    "type": "goldair_gpph_heater",
    "device_id": "**REDACTED**",
    "local_key": "**REDACTED**",
    "host": "**REDACTED**",
    "protocol_version": 3.4,
    "api_version_set": 3.4,
    "api_version_used": 3.4,
    "api_working": true,
    "status": {},
    "cached_state": {
      "updated_at":<PHONE_NUMBER>.195129,
      "1": false,
      "2": 25,
      "3": 17,
      "4": "C",
      "6": false,
      "12": 0,
      "101": "auto",
      "102": 0,
      "103": false,
      "104": true,
      "105": "auto",
      "106": 21
    },
    "pending_state": {},
    "connected": true,
    "force_dps": [],
    "home_assistant": {
      "name": "Guest Bedroom Heater",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": [
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "config",
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "lock.guest_bedroom_heater_child_lock",
            "state": "unavailable",
            "attributes": {
              "friendly_name": "Guest Bedroom Heater Child lock",
              "supported_features": 0
            },
            "last_changed": "2023-05-29T08:26:44.436001+00:00",
            "last_updated": "2023-05-29T08:26:44.436001+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "climate.guest_bedroom_heater",
            "state": "unavailable",
            "attributes": {
              "hvac_modes": [
                "heat",
                "off"
              ],
              "min_temp": 5,
              "max_temp": 35,
              "target_temp_step": 1.0,
              "preset_modes": [
                "comfort",
                "away",
                "eco"
              ],
              "swing_modes": [
                "2",
                "5",
                "4",
                "1",
                "Stop",
                "3",
                "Auto"
              ],
              "friendly_name": "Guest Bedroom Heater",
              "supported_features": 49
            },
            "last_changed": "2023-05-29T08:26:44.200782+00:00",
            "last_updated": "2023-05-29T08:26:44.200782+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "config",
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": "min",
          "state": {
            "entity_id": "number.guest_bedroom_heater_timer",
            "state": "unavailable",
            "attributes": {
              "min": 0,
              "max": 1440,
              "step": 60.0,
              "mode": "auto",
              "unit_of_measurement": "min",
              "icon": "mdi:timer",
              "friendly_name": "Guest Bedroom Heater Timer"
            },
            "last_changed": "2023-05-29T08:26:44.269852+00:00",
            "last_updated": "2023-05-29T08:26:44.269852+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "config",
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "light.guest_bedroom_heater_display",
            "state": "unavailable",
            "attributes": {
              "supported_color_modes": [
                "onoff"
              ],
              "friendly_name": "Guest Bedroom Heater Display",
              "supported_features": 0
            },
            "last_changed": "2023-05-29T08:26:44.435865+00:00",
            "last_updated": "2023-05-29T08:26:44.435865+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "diagnostic",
          "device_class": null,
          "original_device_class": "power_factor",
          "icon": null,
          "unit_of_measurement": "%",
          "state": {
            "entity_id": "sensor.guest_bedroom_heater_power_level",
            "state": "unavailable",
            "attributes": {
              "unit_of_measurement": "%",
              "device_class": "power_factor",
              "icon": "mdi:signal",
              "friendly_name": "Guest Bedroom Heater Power level"
            },
            "last_changed": "2023-05-29T08:26:44.153494+00:00",
            "last_updated": "2023-05-29T08:26:44.153494+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "diagnostic",
          "device_class": null,
          "original_device_class": "problem",
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "binary_sensor.guest_bedroom_heater_error",
            "state": "off",
            "attributes": {
              "device_class": "problem",
              "friendly_name": "Guest Bedroom Heater Error"
            },
            "last_changed": "2023-05-29T08:26:46.195473+00:00",
            "last_updated": "2023-05-29T08:26:46.195473+00:00"
          }
        }
      ]
    }
  }
}```

Workaround:

Set the power level to something other than "AUTO" using the official app, then delete and re-add the device.

A little more information, this may be a version thing. My GPPH620 reports version "2.6.3" on the main module, while the older two report "1.0.2" and the newer GPPH610 reports "1.1.1".


[Bug][Server] Fix nil pointer error when importing Helm chart

Notes for Reviewers
This PR fixes #10702

[X] Fix nil pointer issue coming when importing Helm Chart
[X] Enhance import error message, add wrong url type as one of cause

Other fixes

[X] Fix mesheryctl meshkit error utility failing
[X] Refetch designs after importing
[X] Fix losing design name typed in modal when importing by URL

Signed commits

[x] Yes, I signed my commits.

I'm moving forward here

Are we getting time="2024-04-11T05:42:46Z" level=error msg="component_info.next_error_code '1119' is lower than or equal to highest used code '1119 because mesheryctl/helpers/component_info.json is pointing to "next_error_code": 1119 ?


Simplified travis build

Summary
We now remove the file that we don't want rather than check all the backends one by one.
Related Issues
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[x] This PR is backwards compatible [y/n]
[ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

The numpy backend is now displayed in the documentation (some functions at least). So it should be covered.


Add cppcheck c/cpp maker

See http://cppcheck.sourceforge.net/.

Thanks!
Please add it to the wiki's list of makers.

Done!


Use multiple goroutines for Scan

Split the scan into multiple goroutines to reduce the time which is needed for perfoming the scan. Start for every directory an extra goroutine and add one methode which collects all the information. The main problem with this is to signature the end of the scan.

Tool runs into a deadlock during the test.

The feature was remove because it was not stable enough. Close the issue because at the moment it's not needed to parallelize the scan process.


BLE IPSP sample cannot handle large ICMPv6 Echo Request

I've encountered a problem in the Bluetooth IPSP sample, the communication stalls after receiving large ICMPv6 Echo Request (>800 bytes of payload in my case). I think however that the issue is not related to the ping itself, but rather to large packet transmission in general.
I can see in the logs that the ping request is processed successfully by the networking stack, but after passing the reply to the IPSP L2 layer, the response is not sent and the TX side becomes unresponsive (no more replies are sent, even smaller ones):
/* Smaller ping received and replied with success */
[00:04:40.069,915] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:40.073,791] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:40.075,622] <dbg> net_bt.ipsp_recv: (0x20001a40): Incoming data channel 0x20000170 len 246
[00:04:40.075,836] <dbg> net_bt.net_bt_recv: (0x20001e68): iface 0x200012d4 pkt 0x2000a144 len 246
[00:04:40.075,958] <dbg> net_icmpv6.net_icmpv6_input: (0x20001e68): ICMPv6 Echo Request received type 128 code 0
[00:04:40.076,019] <dbg> net_icmpv6.icmpv6_handle_echo_request: (0x20001e68): Received Echo Request from 2001:db8::2 to 2001:db8::1
[00:04:40.076,263] <dbg> net_icmpv6.icmpv6_handle_echo_request: (0x20001e68): Sending Echo Reply from 2001:db8::1 to 2001:db8::2
[00:04:40.076,324] <dbg> net_bt.net_bt_send: (0x20001e68): iface 0x200012d4 pkt 0x2000a3ec len 248

/* Large ping gets stuck on the TX */
[00:04:49.169,647] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:49.173,522] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:49.175,445] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:49.179,321] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:49.183,197] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:49.187,042] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:49.190,917] <dbg> net_bt.ipsp_alloc_buf: (0x20001a40): Channel 0x20000170 requires buffer
[00:04:49.193,359] <dbg> net_bt.ipsp_recv: (0x20001a40): Incoming data channel 0x20000170 len 846
[00:04:49.193,542] <dbg> net_bt.net_bt_recv: (0x20001e68): iface 0x200012d4 pkt 0x2000a144 len 846
[00:04:49.193,756] <dbg> net_icmpv6.net_icmpv6_input: (0x20001e68): ICMPv6 Echo Request received type 128 code 0
[00:04:49.193,817] <dbg> net_icmpv6.icmpv6_handle_echo_request: (0x20001e68): Received Echo Request from 2001:db8::2 to 2001:db8::1
[00:04:49.194,305] <dbg> net_icmpv6.icmpv6_handle_echo_request: (0x20001e68): Sending Echo Reply from 2001:db8::1 to 2001:db8::2
[00:04:49.194,396] <dbg> net_bt.net_bt_send: (0x20001e68): iface 0x200012d4 pkt 0x2000a3ec len 848
[00:04:49.194,702] <wrn> bt_l2cap: No credits to transmit packet

I'm not sure how severe No credits to transmit packet warning is, I've observed this warning occasionally with smaller packets as well, but it does not end up in a communication freeze.
To Reproduce
Build the sample according to instructions in https://docs.zephyrproject.org/2.6.0/samples/bluetooth/ipsp/README.html, and connect it to the host (tested with nrf52840dk_nrf52840). Observe that smaller pings are handled w/o issue:

ping -6 -I bt0 2001:db8::1 -c 1

but the communication gets stuck after a larger one:

ping -6 -I bt0 2001:db8::1 -s 800 -c 1

Expected behavior
Ideally, the sample should be able to reply to large pings, at very least it should still be responsive if it's not able to reply.
Environment (please complete the following information):

Manjaro Linux, kernel version 5.10.79-1
Zephyr SDK 0.13.1
Zephyr commit 449c37808a68824faa93b77fe24f39f05e9a9939
nrf52840dk_nrf52840

Also note very high RAM usage of this sample - it barely fits in nRF52832...

No no, I've reported the issue because I'm not able to resolve it myself, I shouldn't be assigned to it.

@rlubos If the solution is restricted due to RAM requirement, could you mark this as a known issue?


fastbit build directory doesn't match bv_fastbit FASTBIT_BUILD_DIR

When running build_visit on the trunk (2.13.0) on OS X the untarring of https://code.lbl.gov/frs/download.php/file/426/fastbit<IP_ADDRESS>.tar.gz produces a directory named fastbit2.0.3 and build_visit expects the directory to be named fastbit-<IP_ADDRESS>. BUILD VISIT ERROR:Configuring FastBit . . . 86085 /Users/griffin28/Documents/WCI/ASQ/VisIt/trunk/src/svn_bin/bv_support//bv_fastbit.sh: line 180: cd: fastbit-<IP_ADDRESS>: No such file or directory 86086 Can't cd to FastBit build dir.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2918
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: fastbit build directory doesn't match bv_fastbit FASTBIT_BUILD_DIR
Assigned to: -
Category: -
Target version: -
Author: Kevin Griffin
Start: 09/19/2017
Due date:
% Done: 0%
Estimated time:
Created: 09/19/2017 01:37 pm
Updated: 10/10/2017 06:23 pm
Likelihood: 3 - Occasional
Severity: 2 - Minor Irritation
Found in version: trunk
Impact:
Expected Use:
OS: OSX
Support Group: Any
Description:
When running build_visit on the trunk (2.13.0) on OS X the untarring of https://code.lbl.gov/frs/download.php/file/426/fastbit<IP_ADDRESS>.tar.gz produces a directory named fastbit2.0.3 and build_visit expects the directory to be named fastbit-<IP_ADDRESS>. BUILD VISIT ERROR:Configuring FastBit . . . 86085 /Users/griffin28/Documents/WCI/ASQ/VisIt/trunk/src/svn_bin/bv_support//bv_fastbit.sh: line 180: cd: fastbit-<IP_ADDRESS>: No such file or directory 86086 Can't cd to FastBit build dir.
Comments:
I am seeing this too on my OSX system

Fastbit has been broken for several years and it is no longer supported. We should remove this.

Looks like fastquery depends on fastbit. Are we okay to remove fastquery too?

I think answer is yes but @ARSanderson would have best answer.

I’m ok with it.

FastBit/FastQuery is dead ... unless John Wu at LBL wants to fully support it.


Use as a global NPM package (optional)

With this PR, this package can be either required, or installed and used as a global NPM package i.e.
npm i -g eml-to-pdf

eml-to-pdf <path-to-eml-file>
eml-to-pdf <path-to-directory-containing-eml-files>

Hi @mykeels Great addition, I'm going to test this in my setup first and merge afterwards

Hi @mykeels Great addition, I'm going to test this in my setup first and merge afterwards


Error: INTERVAL in RRULE must be a positive integer!

I am evaluating ownCloud and I have an Outlook user testing OutlookCalDavSynchronizer.  I am getting the error in the ownCloud logfile.  Things seemed to be working fine for him until he created a recurring event then it started throwing this error, after that it throws the error every time even though he deleted the recurring event.
here is the .ics of the problem event as exported from outlook.  This gives an error when importing into thunderbird as well.  however when adding it into thunderbird, while it doesn't display it in Lightning it DOES sync it to ownCloud and it shows up in ownCloud's calendar:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 15.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VTIMEZONE
TZID:Eastern Standard Time
BEGIN:STANDARD
DTSTART:16011104T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010311T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
CLASS:PUBLIC
CREATED:20150923T134332Z
DESCRIPTION:\n
DTEND;TZID="Eastern Standard Time":20150924T093000
DTSTAMP:20150923T134332Z
DTSTART;TZID="Eastern Standard Time":20150924T090000
LAST-MODIFIED:20150923T134332Z
LOCATION:703-544-7603
PRIORITY:5
RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
SEQUENCE:0
SUMMARY;LANGUAGE=en-us:Director's Call
TRANSP:OPAQUE
UID:040000008200E00074C5B7101A82E008000000004045D39BE3F5D001000000000000000
010000000112E1F996BE1AD42BD27A67BB636D3EB
X-ALT-DESC;FMTTYPE=text/html:\n\n\n\n\n\n\n\n\n\n\n<
/BODY>\n
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-DISALLOW-COUNTER:FALSE
X-MS-OLK-AUTOFILLLOCATION:FALSE
X-MS-OLK-AUTOSTARTCHECK:FALSE
X-MS-OLK-CONFTYPE:0
BEGIN:VALARM
TRIGGER:-PT5M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR

Hi!
I don't think the file in question is what is triggering the issue. I think it's something else on the server, that's still there...
Also, owncloud questions should generally be directed to the owncloud project, not here. When it turns out there's an underlying sabredav bug, they tend to escalate to this project... which works well so far.
But in this case I'm happy to try to resolve this issue with you. Let me know.

Ok, we've narrowed it down to something in the chain (and it looks like
it's outlookcaldavsync or ownCloud, doesn't like the way outlook specifies
events that are created to recur every weekday.  If the event is created on
Android, syncd to owncloud then to outlook no problem, created on owncloud
syncd to outlook, no problem. Created on outlook synced to ownCloud,
problem.  It's very odd.
--
On Thu, Sep 24, 2015 at 5:12 AM, Evert Pot<EMAIL_ADDRESS>wrote:

Hi!
I don't think the file in question is what is triggering the issue. I
think it's something else on the server, that's still there...
Also, owncloud questions should generally be directed to the owncloud
project, not here. When it turns out there's an underlying sabredav bug,
they tend to escalate to this project... which works well so far.
But in this case I'm happy to try to resolve this issue with you. Let me
know.
—
Reply to this email directly or view it on GitHub
https://github.com/fruux/sabre-dav/issues/723#issuecomment-142864122.

Alright, I will close this ticket here then. If it turns out this is a real sabredav problem, then a new ticket can always be reopened.

There must be some event in Owncloud with invalid INTERVAL in a recurrence rule.
I found an issue with the Outlook Object Model that sets INTERVAL=0 for appointments with all workday recurrence, and we export it as
RRULE:FREQ=WEEKLY;INTERVAL=0;BYDAY=MO,TU,WE,TH,FR
which should be INTERVAL=1 of course.
Fix will be in next release of OutlookCalDavSynchronizer, see also
https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/99

Makes sense


[python] Add type checks to obsm, obsp, varm and varp early in ingestion

Issue and/or context:
closes #2118
Changes:
Adds explicit type checks to from_anndata for obsm, obsp, varm and varp before the actual ingestion start to catch the case where a DataFrame is passed.
Notes for Reviewer:

Please feel free to self-merge


Build with prerender fails

Description
Basic setup with vite, react, storybook. Just boilerplate code as of now. Followed steps here: https://vite-plugin-ssr.com/add
To add prerender to the build.
Error Message + Error Stack
at getScriptFileName (C:\workspace\poc\vrs\.yarn\__virtual__\vite-plugin-ssr-virtual-d83573521d\0\cache\vite-plugin-ssr-npm-0.4.91-e1a4e80d44-9c7d40d9ac.zip\node_modules\vite-plugin-ssr\dist\cjs\node\plugin\plugins\distFileNames.js:85:28)
    at rollupOutput.entryFileNames (C:\workspace\poc\vrs\.yarn\__virtual__\vite-plugin-ssr-virtual-d83573521d\0\cache\vite-plugin-ssr-npm-0.4.91-e1a4e80d44-9c7d40d9ac.zip\node_modules\vite-plugin-ssr\dist\cjs\node\plugin\plugins\distFileNames.js:24:66)
    at Chunk.getPreliminaryFileName (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:15336:74)
    at reserveEntryChunksInBundle (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:17023:19)
    at renderChunks (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:17009:5)
    at Bundle.generate (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:17232:19)
    at async file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:25472:27
    at async catchUnfinishedHookActions (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:24559:20)
    at async build (file:///C:/workspace/poc/vrs/.yarn/__virtual__/vite-virtual-a09fa04a68/0/cache/vite-npm-4.1.4-224b9db54d-50a9a1f2e2.zip/node_modules/vite/dist/node/chunks/dep-ca21228b.js:44670:22)
    at async CAC.<anonymous> (file:///C:/workspace/poc/vrs/.yarn/__virtual__/vite-virtual-a09fa04a68/0/cache/vite-npm-4.1.4-224b9db54d-50a9a1f2e2.zip/node_modules/vite/dist/node/cli.js:813:9)

I need both the error message and the entire error stack trace.

Full error message and stacktrace:
<EMAIL_ADDRESS>You stumbled upon a bug in vite-plugin-ssr's source code. Reach out at https://github.com/brillout/vite-plugin-ssr/issues/new or https://discord.com/invite/qTq92FQzKb and include this error stack (the error stack is usually enough to fix the problem). A maintainer will fix the bug (usually under 24 hours). Don't hesitate to reach out as it makes vite-plugin-ssr more robust.
error during build:
Error<EMAIL_ADDRESS>You stumbled upon a bug in vite-plugin-ssr's source code. Reach out at https://github.com/brillout/vite-plugin-ssr/issues/new or https://discord.com/invite/qTq92FQzKb and include this error stack (the error stack is usually enough to fix the problem). A maintainer will fix the bug (usually under 24 hours). Don't hesitate to reach out as it makes vite-plugin-ssr more robust.
at getScriptFileName (C:\workspace\poc\vrs.yarn_virtual_\vite-plugin-ssr-virtual-d83573521d\0\cache\vite-plugin-ssr-npm-0.4.91-e1a4e80d44-9c7d40d9ac.zip\node_modules\vite-plugin-ssr\dist\cjs\node\plugin\plugins\distFileNames.js:85:28)
at rollupOutput.entryFileNames (C:\workspace\poc\vrs.yarn_virtual_\vite-plugin-ssr-virtual-d83573521d\0\cache\vite-plugin-ssr-npm-0.4.91-e1a4e80d44-9c7d40d9ac.zip\node_modules\vite-plugin-ssr\dist\cjs\node\plugin\plugins\distFileNames.js:24:66)
at Chunk.getPreliminaryFileName (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:15336:74)
at reserveEntryChunksInBundle (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:17023:19)
at renderChunks (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:17009:5)
at Bundle.generate (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:17232:19)
at async file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:25472:27
at async catchUnfinishedHookActions (file:///C:/workspace/poc/vrs/.yarn/cache/rollup-npm-3.18.0-69219afdb9-0bcd1abb1c.zip/node_modules/rollup/dist/es/shared/node-entry.js:24559:20)
at async build (file:///C:/workspace/poc/vrs/.yarn/virtual/vite-virtual-a09fa04a68/0/cache/vite-npm-4.1.4-224b9db54d-50a9a1f2e2.zip/node_modules/vite/dist/node/chunks/dep-ca21228b.js:44670:22)
at async CAC. (file:///C:/workspace/poc/vrs/.yarn/virtual/vite-virtual-a09fa04a68/0/cache/vite-npm-4.1.4-224b9db54d-50a9a1f2e2.zip/node_modules/vite/dist/node/cli.js:813:9)

Insert the following at line 85 of C:\workspace\poc\vrs.yarn_virtual_\vite-plugin-ssr-virtual-d83573521d\0\cache\vite-plugin-ssr-npm-0.4.91-e1a4e80d44-9c7d40d9ac.zip\node_modules\vite-plugin-ssr\dist\cjs\node\plugin\plugins\distFileNames.js:
        let scriptPath = path_1.default.posix.relative(root, id);
+       console.log('root', root);
+       console.log('id', id);
        (0, utils_1.assert)(!scriptPath.startsWith('.'));

What's the logs output?

Just edited my answer adding console.log('scriptPath', scriptPath);.

I don't know
On Thu, Mar 9, 2023 at 1:39 PM fred @.***> wrote:

How do I modify this file when its in a zip folder?
—
Reply to this email directly, view it on GitHub
https://github.com/brillout/vite-plugin-ssr/issues/692#issuecomment-1461982771,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHVQRXJGJ2BWP6FMZOEBBLW3HFPJANCNFSM6AAAAAAVU6LAUE
.
You are receiving this because you commented.Message ID:
@.***>

I solved it by downgrading Yarn from 3.4.1 => 1.22.9.
This is the output after downgrading, but it wont be much of a help now when its working as it should:
root C:/workspace/poc/vrs
id C:/workspace/poc/vrs/node_modules/vite-plugin-ssr/dist/cjs/node/importBuild.js
scriptPath node_modules/vite-plugin-ssr/dist/cjs/node/importBuild.js
root C:/workspace/poc/vrs
id C:/workspace/poc/vrs/pages/about/index.page.tsx
scriptPath pages/about/index.page.tsx
root C:/workspace/poc/vrs
id C:/workspace/poc/vrs/pages/index/index.page.tsx
scriptPath pages/index/index.page.tsx
root C:/workspace/poc/vrs
id C:/workspace/poc/vrs/renderer/error.page.tsx
scriptPath renderer/error.page.tsx
root C:/workspace/poc/vrs
id C:/workspace/poc/vrs/renderer/_default.page.server.tsx
scriptPath renderer/_default.page.server.tsx

Exactly, I need the logs when it's failing.
Yarn certainly has a way to modify its zip files?

Closing but I'll reopen if someone can proivde me with the logs.


[Docs] [Bug] The documentation site does not have a side menu

Don't know why or how, but the website seems to be doing some funky stuff.

It seems to be back. No idea what happened. Closing this issue


Update Portfolio data and cache with SWR

Description
Please test that the following works:
Connect

Go to your Portfolio on the preview link
You should see the LoginCard ✔
When you connect your wallet, you should see a loading spinner ✔
When your wallet is connected, you see your assets correctly displayed ✔
If you do not have any assets, you should see an empty state message ✔

Create a Listing

Click on "Sell" of one your assets
Create a Listing with one of your assets
Wait until the success modal appears => CLOSE THIS MODAL ! (Going to the Profile is not in scope of this PR)
You should see now two loadings spinners with "Loading your assets" ✔
The frontend polls the API to wait until the backend updated your user data with the newly created listing (interval: 1 second, max attempts: 50)
When the max attempts have been reached, an error message appears "please refresh the page" ✔
When the polling succeeded with the updated data, your assets should be updated correctly ✔
When the polling succeeded with the updated data, your activity data should show your new listing ✔

Related Ticket
Part of https://github.com/KlimaDAO/klimadao/issues/1019
Changes
This PR contains  additional refactorings:

Extract the Assets components from the main index page
Put an overlay above all assets when the polling starts to ensure that the user is not changing anything while pending

Checklist

[x] I have run npm run build-all without errors
[x] I have formatted JS and TS files with npm run format-all

Works well. Two minor comments:

You should see now two loadings spinners with "Loading your assets" :heavy_check_mark:

"Loading your assets" is missing from the Activities spinner. According to the testing instructions, that shouldn't be the case.
Not sure what is expected in general.

Minor edge case:
-Log in
-Create a listing, close success modal
-While the spinners are spinning, log out.
-Log in again -> wrong info is loaded.
-Refresh after waiting a bit -> correct info.
Not sure if this is practical to resolve, since we probably don't want to poll the API for 50 seconds every time the user logs in.

"Loading your assets" is missing from the Activities spinner.

Sorry, the description wasn't explicit. Activity Spinner has no label.

Not sure if this is practical to resolve, since we probably don't want to poll the API for 50 seconds every time the user logs in.

Yeah, the backend wasn't ready yet and returned the old data on page load.
As I do not think that people would often leave the page during progressing the data, I would leave it as such.


Fix early bracket close for do-while loop inside an if without brackets

Fix #2609

Hi
Thanks for contributing !
You forgot to commit test changes


feat: esl-select basic form element proxy and reset handler fix

:tada: This PR is included in version 2.0.0-beta.20 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Revise .cropper-bg background-image url string

The base64 string below causes me issues when minimizing my css, more in particular the part around the middle with ////.
.cropper-bg {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
}

The process that minimizes my SASS and CSS sees the // as a comment, and since it strips out comments in my stylesheets, it breaks the css at that point.
Please fix this.

After trying just about everything, I even created an entirely new graphic, the only thing that fixed it was swapping the two lines .cropper-bg... and .cropper-invisible... like so:
.cropper-invisible {
  filter: alpha(opacity=0);
  opacity: 0;
}

.cropper-bg {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
}

You can use the original image directly: src/img/bg.png


Query API returns HTTP 503

Describe the bug
We've been using your API for a while. Since about a week, the API sometimes returns HTTP 503. This seems to be temporary, so it tends to work again if you just query a few times. The end point we're using is https://google.github.io/osv.dev/post-v1-query/.
To Reproduce
You can reproduce the issue by copying the example from https://google.github.io/osv.dev/post-v1-query/#post-v1query verbatim. However, this is tricky to reproduce because it only occurs occasionally.

Thanks for reporting this! We are currently investigating, we also noticed an uptick in the 503's for about a week or 2.


refactoring with HOC connect and mergeProps

Hi,
I have updated some parts of our codes with deep use of connect hoc, sometimes mergeProps function was needed and it worked like a charm. My only question is about how we could improve how we deal with a new function that is recreated each time and if it might be possible to avoid that.
considering this example
function mergeProps(stateProps, dispatchProps, ownProps) {
  const { val1, val2 } = stateProps;

  return Object.assign({}, ownProps, {
    ...stateProps,
    ...dispatchProps,
    handleSignIn: () => dispatchProps.handleDispatchSomeStuff(val1, val2)
  });
}

I have made some tests of whyDidYouUpdate middleware and got this warning that is pretty obvious.
Value is a function. Possibly avoidable re-render?
deepDiff.js:43 before handleDispatchSomeStuff() {
      return dispatchProps.handleDispatchSomeStuff(val1, val2);
    }
deepDiff.js:44 after  handleDispatchSomeStuff() {
      return dispatchProps.handleDispatchSomeStuff(val1, val2);
    }

Is it a solution to avoid that ?
Thanks,
Julien

I don’t think there’s any simple way to avoid it.
The best way to solve this is to have the components pass those values directly in the callbacks.
You can introduce intermediate components that do just that, if you’d like.

Ok thanks dan


Peer dependency warning on theo@^8

At present, npm install --save-dev gulp-theo theo produces the following warning:
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

Saw the fix for this in the source, would be great if a 2.0.1 could be released to clean up install logs :)

I second this. The fix is there! But no one can use it until you publish a patch. :(

FYI, for anyone who needs a workaround until then, you can point to the latest commit in github instead of the latest npm version in your package.json:
"gulp-theo": "https://github.com/salesforce-ux/gulp-theo.git#bda9a82c9ae96952ec35d46cc09de583fada4ff1",

Thanks for reporting this issue and for your patience in awaiting its resolution. We have updated the dependencies and released v2.0.1 to resolve this issue.


Let people know when their slides have been accepted

Description
When someone submits slides in the Datatracker, and the WG chair accepts their submission, the slides go into the WG list but the submitter doesn't know that. It would be nice if the submission causes an email to the submitter.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

This will involve a new mailtrigger, and the code to cause mail to be emitted towards the recipients (which should be the slide submitters and the group chairs) added just before https://github.com/ietf-tools/datatracker/blob/9a09bf1f7b2b6ab100482090012422263f85207a/ietf/meeting/views.py#L4558

Fixed by #6470


Update reply-url.md to replace "URIS" with "URIs"

Update reply-url.md to replace "URIS" with "URIs" (make the trailing 's' lower-case to indicate plural of URI rather than a new acronym)

Thanks, @CalebBellWebCE!


Fixed value label formatting in HoloMap widgets

[x] Fixes https://github.com/ioam/holoviews/issues/2921

Ready to merge or are you planning to add a couple of unit tests?

Added a unit test now.

Tests are green. Merging.


Cannot stop a dialogue

I want to skip a dialogue. Then I call runner.stop(), but it is unuseable. Maybe there is a bug about it?

No, it is not that.
When i call Stop, the runner can't be stopped, instead of it, it will replay the text again.

在 2022年7月12日，03:21，Khan-ali Ibrahim @.***> 写道：

I don’t know what your exact problem is, but I’m just inferring from the conversation on Discord and your screenshots.
DialogueRunner.Stop only stops the Dialogue Runner from running, it does not dismiss any of the Dialogue Views (hiding the UI) and does not trigger any Dialogue Complete events. It does not pause the dialogue at all.
From the code you posted, it works as expected. Both your OnStop and OnStart have the same Debug.Log message. StartDialogue will always start the dialogue at the beginning of the node. As mentioned before, Stop will only stop the Dialogue Runner, and the UI from your Dialogue Views still remain since you haven’t done anything to dismiss or hide them.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

I tried again by close UI manully, and it it successful! Thank you very much.
高伟成
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "YarnSpinnerTool/YarnSpinner-Unity"                                                                                @.>;
发送时间: 2022年7月12日(星期二) 凌晨3:21
@.>;
<EMAIL_ADDRESS>主题: Re: [YarnSpinnerTool/YarnSpinner-Unity] Cannot stop a dialogue (Issue #184)
I don’t know what your exact problem is, but I’m just inferring from the conversation on Discord and your screenshots.
DialogueRunner.Stop only stops the Dialogue Runner from running, it does not dismiss any of the Dialogue Views (hiding the UI) and does not trigger any Dialogue Complete events. It does not pause the dialogue at all.
From the code you posted, it works as expected. Both your OnStop and OnStart have the same Debug.Log message. StartDialogue will always start the dialogue at the beginning of the node. As mentioned before, Stop will only stop the Dialogue Runner, and the UI from your Dialogue Views still remain since you haven’t done anything to dismiss or hide them.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

How did you solve this issue? I'm currently seeing the same problem, where after calling Stop the first line of dialog will play again, and leave the UI open.
Even if I manually call DismissLine or other similar functions it seems like eventually ContinueDialogue is called by the system and the UI pops up.
I suspect this issue is the same problem: https://github.com/YarnSpinnerTool/YarnSpinner-Unity/issues/186

How did you solve this issue? I'm currently seeing the same problem, where after calling Stop the first line of dialog will play again, and leave the UI open.
Even if I manually call DismissLine or other similar functions it seems like eventually ContinueDialogue is called by the system and the UI pops up.
I suspect this issue is the same problem: #186

Yes, I have already solved this problem. You can first go to the help section of Discord and search for chat records related to the user "Alain#6244". I have asked about this issue there and successfully solved it. If that doesn't work, please ask again on GitHub, and I will look for the relevant code.


Content-Moderator is not following the guidelines of other cognitive services

-Cognitive Services swaggers should have add-credentials: true added to the readme.
-securityDefinitions/security should be added to swagger for "apim_key"
-ocpApimSubscriptionKeyParameter should be removed from swagger
This will allow content-moderator to be consistent with the other cognitive services and utilize the credentials implemented in the generated sdks.

Fixed in #2173


Change core workflow for e2e adapter tests

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #4786 (0aec97a) into master (0dcf288) will decrease coverage by 6.79%.
The diff coverage is n/a.

:exclamation: Current head 0aec97a differs from pull request most recent head 49d3e8e. Consider uploading reports for the commit 49d3e8e to get more accurate results

@@            Coverage Diff             @@
##           master    #4786      +/-   ##
==========================================
- Coverage   32.01%   25.21%   -6.80%
==========================================
  Files          61       61
  Lines        5148     5148
==========================================
- Hits         1648     1298     -350
- Misses       3074     3532     +458
+ Partials      426      318     -108

Flag
Coverage Δ

gointegrationtests
?

unittests
25.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/start.go
1.15% <0.00%> (-58.47%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
2.50% <0.00%> (-47.50%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-47.44%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-34.74%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
1.78% <0.00%> (-23.22%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.38% <0.00%> (-22.23%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.29% <0.00%> (-20.88%)
:arrow_down:

Continue to review full report at Codecov.

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

Were you able to identify another method other than sleep?

Were you able to identify another method other than sleep?

I will remove all sleeps

Were you able to identify another method other than sleep?

I will remove all sleeps

Removing the sleeps without inserting some other logic to wait on a dependency is also likely to cause bugs.

Were you able to identify another method other than sleep?

I will remove all sleeps

Removing the sleeps without inserting some other logic to wait on a dependency is also likely to cause bugs.

No it shouldn't, I thought about it. At the end where we actually need to wait, I am polling continually for 150 seconds

Were you able to identify another method other than sleep?

I will remove all sleeps

Removing the sleeps without inserting some other logic to wait on a dependency is also likely to cause bugs.

No it shouldn't, I thought about it. At the end where we actually need to wait, I am polling continually for 150 seconds
The only other reason to wait was to wait for logs, but I think we get enough logs almost instantaneously when we do Pattern apply.


feat(README): Add a query cURL example

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


Implement Get-PlasterTemplate

This change adds a Get-PlasterTemplate cmdlet which is capable of the following:

Listing built-in Plaster templates that come with the module
Finding Plaster templates recursively under a given folder path
Finding Plaster templates that were shipped with an installed PowerShell module

The TemplatePath property of the resulting template objects can be passed directly into Invoke-PlasterTemplate.

OK, I finished up the code for this change!  @rkeithhill, can you double-check the updates to the Markdown help files?  I re-ran the platyPS task to generate help for Get-PlasterTemplate and it seems to have updated some of the existing files too.

platyPS seems to do that. It is not as deterministic in its output as I would like.  This makes it hard to "build into" your build/release pipeline since it results in unnecessary/unexpected file changes.


Revert "Feature/IRs"

Reverts jacktrip/jacktrip-sc#74

looks good, thx for reverting this.
For context: Since we're still looking into the legal situation regarding the intellectual property of the impulse responses, we're reverting the (previously merged?) convolution reverb menu list items to what they were before. Once we know that we can use them, I'm going to submit another pull request of feature/IRs.


Could you provide an update to the Lambda section of the instructions?

I got stuck at Wiki step 3 > AWS Setup > #4 Paste alexa-smart-home-skill-adapter into the Search box. Select the blueprint with this name.
No blueprint comes up. I even tried manually looking through all the available blueprints and nothing comes close to matching "alexa-smart-home-skill-adapter"
The only section I can find this key is if I choose the AWS Serverless Application Repository instead of blueprint.
Any help you could provide would be greatly appreciated. You did a really amazing job with this and its appreciated.

Just use the AWS Serverless Application Repository instead. I don't think it really matters anyway since everything gets overwritten with the zipped code but I could be wrong.
Anyway, that's what I did and it all worked.

@rehype02 sorry I was so slow to do this, I've revised the wiki from the ground up and it should match the AWS portal interface now.


Fix GitHub advisory mirroring notification

Description

Addressed Issue

Additional Details

Checklist

[ ] I have read and understand the contributing guidelines
[ ] This PR fixes a defect, and I have provided tests to verify that the fix is effective
[ ] This PR implements an enhancement, and I have provided tests to verify that it works as intended
[ ] This PR introduces changes to the database model, and I have added corresponding update logic
[ ] This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

Fix GitHub advisory mirroring notification


Remove Rbac::Filterer :sub_filter option

This doesn't appear to be used anywhere and is an arbitrary WHERE clause
anyway. Part of the continued attempt to cut the cruft in RBAC.
r? @jrafanie or @kbrock
@miq-bot add_labels core, rbac, technical debt

I don't know why it's there but what about this?
https://github.com/ManageIQ/manageiq/blob/9c518e7f98635ebc09469f18073680fb596fa9c2/app/controllers/application_controller.rb#L1554

Gaaaah I didn't see it. Sigh. Thanks.

@chrisarcand I wish.  If you can remove that method from the UI, you'll deserve this deletion. 🍰

darn


update index.md

add command "bower install angular"

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you very much for your contribution! Unfortunately we moved this guide from guide/chinese/angularjs/index.md to guide/chinese/angular/index.md, so I'll have to close this for now.


[HUDI-1939][WIP] Replace joda-time api to new jdk8 time api

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #3003 (99a9812) into master (4eb6ef8) will decrease coverage by 45.69%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #3003       +/-   ##
============================================
- Coverage     54.97%   9.27%   -45.70%
+ Complexity     3844      48     -3796
============================================
  Files           485      54      -431
  Lines         23436    2016    -21420
  Branches       2494     241     -2253
============================================
- Hits          12883     187    -12696
+ Misses         9400    1816     -7584
+ Partials       1153      13     -1140

Flag
Coverage Δ

hudicli
?

hudiclient
?

hudicommon
?

hudiflink
?

hudihadoopmr
?

hudisparkdatasource
?

hudisync
?

huditimelineservice
?

hudiutilities
9.27% <ø> (-61.56%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...va/org/apache/hudi/utilities/IdentitySplitter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...va/org/apache/hudi/utilities/schema/SchemaSet.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/hudi/utilities/sources/RowSource.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/hudi/utilities/sources/AvroSource.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/hudi/utilities/sources/JsonSource.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rg/apache/hudi/utilities/sources/CsvDFSSource.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/hudi/utilities/sources/JsonDFSSource.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...apache/hudi/utilities/sources/JsonKafkaSource.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pache/hudi/utilities/sources/ParquetDFSSource.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...lities/schema/SchemaProviderWithPostProcessor.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 459 more

Good to see this effort revived! We had some earlier discussion, worth consideration while migrating this.
https://lists.apache.org/thread.html/rdfd91fc5e8e76a7434da0975141b0629411d507ce804236596b69ede%40<dev.hudi.apache.org>
cc @pratyakshsharma do you also want to review this PR?

Will circle back on this by tomorrow. :)

@leoluan2009 Please fix the test cases and resolve the conflicts. I can then go through it all in a single go :)

@hudi-bot run azure

Is the WIP in the title still needed?

[ ] fix UT failures

@leoluan2009 @xushiyan is this ready for review? In principle, using a java API is better

@vinothchandar there is some failed test cases due to some in equivalent API migration. @leoluan2009 im helping move this faster as I'd like to get this resolved before I migrate the hive sync test case which conflicts with this change. Would you also look into the failed UT please?

SQL tests
  org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 27.0 failed 1 times, most recent failure: Lost task 0.0 in stage 27.0 (TID 25, localhost, executor driver): java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: YearOfEra
	at java.time.Instant.getLong(Instant.java:603)
	at java.time.format.DateTimePrintContext.getValue(DateTimePrintContext.java:298)
	at java.time.format.DateTimeFormatterBuilder$NumberPrinterParser.format(DateTimeFormatterBuilder.java:2540)
	at java.time.format.DateTimeFormatterBuilder$CompositePrinterParser.format(DateTimeFormatterBuilder.java:2179)
	at java.time.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1746)
	at java.time.format.DateTimeFormatter.format(DateTimeFormatter.java:1720)
	at org.apache.spark.sql.hudi.command.SqlKeyGenerator$$anonfun$getPartitionPath$1.apply(SqlKeyGenerator.scala:67)
	at org.apache.spark.sql.hudi.command.SqlKeyGenerator$$anonfun$getPartitionPath$1.apply(SqlKeyGenerator.scala:53)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
	at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
	at org.apache.spark.sql.hudi.command.SqlKeyGenerator.getPartitionPath(SqlKeyGenerator.scala:53)
	at org.apache.hudi.keygen.BaseKeyGenerator.getKey(BaseKeyGenerator.java:62)
	at org.apache.hudi.HoodieSparkSqlWriter$$anonfun$1.apply(HoodieSparkSqlWriter.scala:167)
	at org.apache.hudi.HoodieSparkSqlWriter$$anonfun$1.apply(HoodieSparkSqlWriter.scala:159)

and the following seem to fail?
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601NoMsWithOffset_OutputTimezoneAsUTC:304 Â» HoodieKeyGenerator
[ERROR]   TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601NoMsZ_OutputTimezoneAsUTC:286 Â» HoodieKeyGenerator
[ERROR]   TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsWithOffset_OutputTimezoneAsUTC:322 Â» HoodieKeyGenerator
[ERROR]   TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsZ_OutputTimezoneAsEST:340 Â» HoodieKeyGenerator
[ERROR]   TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsZ_OutputTimezoneAsUTC:268 Â» HoodieKeyGenerator
[ERROR]   TestTimestampBasedKeyGenerator.test_ExpectsMatch_SingleInputFormat_ISO8601WithMsZ_OutputTimezoneAsUTC:232 Â» HoodieKeyGenerator
[ERROR]   TestTimestampBasedKeyGenerator.test_ExpectsMatch_SingleInputFormats_ISO8601WithMsZ_OutputTimezoneAsInputDateTimeZone:250 Â» HoodieKeyGenerator

Sure @vinothchandar I did see that but haven't dive deeper. What I meant is either @leoluan2009 or I could spare some time these 2 days trying to land this sooner.

will circle back on this today.


Dashboard and weblets are not rendering correctly on all networks

Description
Icons are not being rendered on both the dashboard and the weblets (on all networks).
Dashboard

dev

test

same issue also happened on qa and main
and this error appears in the console.

Playground

dev

test

same issue also happened on qa and main
and this error appears in the console.

and the dark mode icon also

#592


version - TypeError Cannot read ... undefined

Before update I got undefined when calling t2 version - after I get this:

t2 version
INFO Looking for your Tessel...
/Users/{anonym}/.nvm/versions/node/v4.2.1/lib/node_modules/t2-cli/node_modules/usb/usb.js:157
this.interfaceNumber = this.descriptor.bInterfaceNumber
-------------------------------------------^

TypeError: Cannot read property 'bInterfaceNumber' of undefined
at Interface.__refresh (/Users/{anonym}/.nvm/versions/node/v4.2.1/lib/node_modules/t2-cli/node_modules/usb/usb.js:157:40)
at Device. (/Users/{anonym}/.nvm/versions/node/v4.2.1/lib/node_modules/t2-cli/node_modules/usb/usb.js:223:9)

looks like it is shortly after updating. I saw a

WARN Detected a Tessel that may be booting.

when trying again t2 version now it says

INFO Tessel [Tessel-02A38864DB14] version: 0.0.5

but erased my former t2 rename xyz setten name.
Think this is still a bug so I flag it.

when trying again t2 version now it says

INFO Tessel [Tessel-02A38864DB14] version: 0.0.5

@Student007 this is the expected behavior. Are you saying it doesn't properly report the version consistently on 0.0.5?

@johnnyman727 yes as you know - I simple talked about this, because this was the result for the second try.
But the state (the bug)  before this works well is revealing a task to do. I am not able to dive into this weekdays. Looks like there is a uncovered state within usb.js.

@Student007 I'm having trouble reproducing this. My Tessel has 0.0.5 firmware and I'm running t2 version repeatedly:
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5
➜  t2-cli git:(jon-fast-cli) t2 version --lan
INFO Looking for your Tessel...
INFO Connected to Tessel-Test.
INFO Tessel [Tessel-Test] version: 0.0.5

Do you have any tips for making this bug reproducible?

Closing for now because I can't reproduce.


When When to open source object detection code？

Thank you for your attention. This paper is still under review. We will release the code for object detection after getting accepted.
Besides, you can use mmdetection to reproduce our results, which is easy to implement it.


Nested workflow link is missing in new designer

Describe the Bug with repro steps
In old designer, we are able to find the nested workflow link in the workflow run history. Please see image below. Unfortunately, we are not able to find the link in new logic app designer. This is a very useful feature to investigate nested workflow run issues.

What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Edge
Additional context
No response

So it looks like this was missed because it never available in standard and standard/consumption handle this action differently. Might be an issue we need to figure out how to standardize on first so that it works in both.

+1 on this request.
We rely on subworkflows heavily to encapsulate and reuse logic.
And navigating through complex hierarchies of workflow executions to understand what happened, became very painful in the new UI.

Fixed in https://github.com/Azure/LogicAppsUX/pull/5401


Time Complexity

How important is the time complexity in Lab assignments and PE? Will there be any hidden test cases where n can be a large number to test whether our code works for large n or not? Because in CS2040, maintaining the time complexity is quite important for the assignments (there was no PE last sem).
Thank you

I believe this module mainly focuses on OOP and the correctness of your implementation, so as long as your code adheres to the OOP principles and does not have infinite execution time (such as infinite loop/recursion) it's ok? For test cases, I think only the prof can confirm whether there is such hidden edge cases.

Hidden edge cases are meant to ascertain if the logic or design breaks, and not about time/space complexities.


Missing Recklessness: [Recklessness]

https://www.wowhead.com/wotlk/spell=1719/recklessness
Seems the sim isn't recognizing this as a spell, even when i try to manually add it to the pre pull actions the option just isn't there.

Hey @Halroc 👋 it looks like there's a Recklessness toggle in the player settings section of the Settings tab. When I disabled this I got the issue you're seeing. Re-enabling it fixed the issue


[Go][CI] Nightly verification tasks fail due to lack of permissions cleaning environment

Describe the bug, including details regarding any error messages, version, and platform.
Some verification nightly tasks are failing due to lack of permissions when cleaning up environment:
Release candidate HEAD-RC looks good!
rm<EMAIL_ADDRESS>Permission denied
rm<EMAIL_ADDRESS>Permission denied
rm<EMAIL_ADDRESS>Permission denied
rm<EMAIL_ADDRESS>Permission denied
rm<EMAIL_ADDRESS>Permission denied

verify-rc-source-go-macos-amd64
verify-rc-source-go-macos-arm64
verify-rc-source-integration-macos-amd64
verify-rc-source-integration-macos-arm64

Component(s)
Continuous Integration, Go

@kou @zeroshade a couple of those seem to have just started failing yesterday, but I can't see what could be the cause from the commits here: https://github.com/apache/arrow/compare/293819c48b06c840ce57da25836ef911c5786398...0f7c569268c974a40a5b9ce44f6fa726b883ec5e

I think that https://github.com/apache/arrow/commit/832511a529d498f8c7fb10e99f4f28201293d8e5#diff-82f32771b6ac9daaadbfb77bd77062d63e131ad18ecd9014ff90eff17865964f is related.

Great find @kou! thanks for figuring that out


Revert "Move ServerContext from ::grpc_impl to ::grpc"

Reverts grpc/grpc#23916
Needs some more work internally.

Revert, so ignoring test failures.


feat: table actions

This resolves #63.

@vassilidev @mgkprod
could you please check the code, specially the change in the Models ( about a attribute )

For me, its good, can be better to handle the future but for now it work ! @mgkprod @geeksesi

awesome guys.
@mgkprod thank you for your contribution, hope to see your PRs again 😉😍


Update URL from betteruptime.com to uptime.betterstack.com

Looks like we still have the legacy URL in code... Still keeping *.betteruptime.com in status page URLs.
Resolves https://github.com/BetterStackHQ/terraform-provider-better-uptime/issues/60#issuecomment-2044712218

Thanks!


add tab completion for create and drop command line

vagrant=# create con
continuous view  conversion

vagrant=# drop continuous view
information_schema.  pg_catalog.          pg_temp_1.           pg_toast.            pg_toast_temp_1.     public.              test_view

Looks great, thanks @guanqun!