[Question]: VectorIndexRetriever only by determined metadata field

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi!
I have already search for an answer but cannot find exactly what I am looking for.
I would like to create a custom retriever (probably extending VectorIndexRetriever) but I only want to compute the distances to retrieve the nodes by a determined node metadata field. For example, I already extended metadata with "summary" and I want to compute the distances and retrieve only by the field that the user wants, in this case summary.
I have found metadata filtering but it is not exactly what I am looking for.
Thanks!

@dosu if I am not wrong, that will filter by nodes which have "summary" as a metadata field and then retrieve but I want to retrieve only based on that field, not all the fields (page_content, document_name... ) but only by summary. Computing distance between QueryBundle and "summary" and returning top_k results

@dosu I am still doubtful with that approach, I think it still does not query by an exact metadata field.
In that code (if I am not wrong) it queries as normal and then filters if summary is present in the node metadata or not but does not compute the distance only based on summary.
I think it is necessary to overwrite some methods inside collection class in chroma.

Closing the issue as I am not looking for filtering


One of several required fields of the Pages object deleted (pageTimings)

The currently used implementation in browsers is HAR version 1.2. The Pages object is not required and can be an empty list. According to the documentation below, in case we decide to include other objects in the Pages list, they should contain four defined keys: startedDateTime, id, title and pageTimings. As it stands, only the pageTimings field is defined, which is redundant because it is empty.
Defining only one field can mislead third-party tools (such as har-to-k6 [https://github.com/grafana/har-to-k6], which incorrectly reads fields for this very reason), because on the one hand we indicate that there is an object inside the Pages list, while it is incomplete. We can read in the documentation that:

In case when an HTTP trace tool isn't able to group requests by a page, the pages array is empty.

This means that it is safest to remove the pageTimings field and leave the list empty. In the file, however, there is a comment that reads:

The pages attribute is needed for Firefox Dev Tools to load the HAR file.

I assume it refers to the pageTimings key and an error that may have existed in the past with the imported har file. I checked the import to firefox with an empty list and everything works as it should. Tested on: Firefox 108.0 (64 bits).

Thanks for digging into this, I appreciate it! 😃🍰


[SILGen] Fix assertion failure when opaque value is enabled

emitManagedParameter assumes the passed value has an address type and calls forBorrowedAddressRValue when the parameter convention is Indirect_In_Guaranteed.
Call forBorrowedObjectRValue instead when the type isn't an address type.
rdar://130456931

@swift-ci please test


[Epic][Lake] Step-by-Step Merging for GQL and ETL Components

Step-by-Step Merging Strategy for GQL/ETL Components

Part 1: Utils and Essentials
In this part, we will focus on merging individual essential components that do not significantly affect other parts of the project. The aim is to ensure these core utilities and functionalities are integrated smoothly without disrupting the existing system. The specific items to merge include:

Main Table Class and Tests
Plutil and Tests
Base_data_store, duckdb_data_store, and csv_data_store (with Tests): These components manage data storage and retrieval, utilizing different backends (e.g., DuckDB, CSV). These are not application implementations, these are only helper classes.
Lake_mapper, payout.py, prediction.py, slot.py, subscription.py, trueval.py and Their Tests

Part 2: GQLData Factory
In this phase, we will merge the main functionalities related to the GraphQL Data Factory, ensuring that the GraphQL-related components are integrated. This includes:

GQL and Their Dependencies
Table Classes for GQL: Specific table classes designed to work with the GQL Data Factory.
Changes in the PPSS Folder: Updates and additions to the PPSS
Changes in the Subgraph Folder: Modifications to the subgraph components. We have to be sure all components are running correctly after this step
Changes on the system tests
Changes on the CLI for GQL

Part 3: ETL
In this final part, we will focus on merging the ETL processes and all remaining components. items to merge include:

ETL and Their Dependencies
Table Classes for the ETL: table_bronze_pdr_predictions.py, table_bronze_pdr_slots.py
All Other Changes: Any additional updates or modifications that have not been included in the previous parts will be integrated in this phase.
Fix for the Accuracy: This necessary update fixes that the accuracy functionality works correctly. It was initially considered a complex change but is essential for the correct operation of the system.
Changes on the CLI for etl

DoD
Create separate branches for every step and checkout the changes from the DuckDB PR

[x] Part 1: Merge Process for "Utils and Essentials" https://github.com/oceanprotocol/pdr-backend/issues/1131
[x] Part 2: Merge Process for "GQLData Factory" https://github.com/oceanprotocol/pdr-backend/issues/1191
[x] Part 3: ETL https://github.com/oceanprotocol/pdr-backend/issues/1219
[ ] Note: do not merge /accuracy app as we have not resolved #1107 and how to keep the accuracy/etl up-to-date
[ ] Merge issue #1129 or cherry-pick updates, such that the PR gets merged into main https://github.com/oceanprotocol/pdr-backend/issues/1248

Both of the remaining items are tracked, etc... closing this epic


Cannot find AppState.xml if launching from app from Finder, etc.

If you launch OpenSIm.app from the Finder, I think the "working directory" is root, /. In this case, I am unable to find AppState.xml, and I don't know if it is actually written anywhere. It would be good to make sure that AppState.xml is written to a known directory in the cache dir or the application support dir, rather than in the working dir.

I am able to launch OpenSim from the finder.


process has died

[lio_sam_mapOptmization-5] process has died [pid 11866, exit code -11, cmd /home/dnc/issl_ws/devel/lib/lio_sam/lio_sam_mapOptmization __name:=lio_sam_mapOptmization __log:=/home/dnc/.ros/log/1fffa198-67ff-11ed-93ab-517787db1e13/lio_sam_mapOptmization-5.log].
log file: /home/dnc/.ros/log/1fffa198-67ff-11ed-93ab-517787db1e13/lio_sam_mapOptmization-5*.log

Hi, can you describe your system?
Ubuntu version ROS version OpenCV GTSAM version (do install GTSAM following this instruction from https://github.com/TixiaoShan/LIO-SAM)

I use Ubuntu 20.04 with ROS Noetic， and I install GTSAM 4.0.3.
Thank you for your reply, I will have a try on Ubuntu 18.04.


Attatchments in IGdm

Pictures or any other media are not being sent on DM. Nothing happens when you click open file and attach it. Also a lot of emoji's are not displayed instead squares are present. Is it beacuse of some graphic card or some resolution kind of problem on my desktop??

My Deepin Linux also does not properly display someone emojis. There is probably no native support for all emojis.


identity SDK

This is ready for feedback and review. There are a couple TODOs i'd be curious to discuss, and I suspect there are some ptr/non-ptr style polish to the public API.
Includes somewhat polished implementations of the basic DID and handle resolution routines, plus a new Catalog abstraction (interface), with three implementations:

BasicCatalog: simply calls resolution routines on every single lookup request
CacheCatalog: wraps another implementation (eg, BasicCatalog), plus an in-memory lookup cache, using map, sync.RWLock, and per-record TTLs
MockCatalog: for testing, allowing simple injection

A missing thing we'd want before shipping in prod is better observability, probably via an observability layer that does OTEL metrics and slog logging.
We are finding that identity lookups are a pretty performance critical part of our service implementations, and we are likely to iterate on different backends and policies. Hopefully this interface will work well for large and small projects.

Thanks for the review! I've got some ideas for a small iteration on this: maybe move all the Resolve* routines on to the BasicCatalog struct, so that it can have more configuration (authoritative DNS, custom HTTP client/dialer, etc).

Pushed an iteration which I think is ready to merge, with some possible future work. Changes:

refactored all the resolve methods on to BaseDirectory, where they have access to config
refactored BaseDirectory to be configurable, but to work fine in "zero" status ("uninitialized"), which is distinct from default
switched cache implementation to use LRU (from the popular hashicorp package)
added a Purge interface to bust the cache if needed
added optional authoritative DNS lookup for handles in BaseDirectory implementation. if an initial DNS TXT resolution is "not found" (NXDOMAIN), and the config flag is set, it will do a single NS lookup and re-try the resolution under the first nameserver (if any). this is very narrowly scoped to working with new handles, not changing an existing handle
added some logging (including timing) with log/slog

Things discussed but not in this version:

[ ] handling HTTP 429 with longer backoff, for the default config. I think this needs the hashicorp retry HTTP client, and didn't want to pull in that dependency for now
[ ] adding some tests with concurrency, to trigger racedetector. not as worried about this now with LRU handling locking
[ ] adding metrics with promauto. read the docs and it seem like it can panic if config is weird/incorrect, which is not good. I think we should do metrics+tracing in a separate layer, not baked in, unfortunately. the debug-level logs have some timing info which might be sufficiently


Use stake pool's declared token ID rather than hard-coded

If a stake pool wants to set up a non spl_token_program::id pool, they can do so, but their users will not be minting SPL tokens, (unless via a complex scheme where the alternative token program mints spl tokens in exchange for its tokens):
// on initialize:
if pool_mint_info.owner != token_program_info.key {
    return Err(ProgramError::IncorrectProgramId);
}

In my mind, there is nothing strictly wrong with exposing the extra flexibility of a parametrised token program. It is a little redundant though.
If still wanting to make it hard coded, I don't think this is an urgent issue per se. The current logic works, and is probably correct, and tearing it out could introduce errors, for little benefit.
The purpose of this PR is to use a fully non hard-coded token program id
Fixes:  #2266

Looks good!
Note that it won't be possible to actually use a custom token program, mainly because the instruction creator for spl_token checks the program id: https://github.com/solana-labs/solana-program-library/blob/e168a5db92f4048879755fae2bc283bb7a3ec9bc/token/program/src/instruction.rs#L1019
Eventually, when we support more than one token id, we'll have to update the instruction creators separately, requiring a recompile / redeploy of the stake pool program, but we can take care of that once it's needed.  With this, we have the flexibility in the future


feat: CheckoutActionComplete component

Resolves #112
Impact: minor
Type: feature
Component
This component will be used in the checkout process for any completed checkout actions. This component requires a wrapper component to determine the logic whether it will show or not. That logic is not internal.
Screenshots
Desktop:

Mobile:

Breaking changes
None
Testing

See that the CheckoutActionComplete component matches designs:
Desktop.
Mobile

🚀 Preview deployed
Built with commit 7e5fb9c743a239fcc6daa81532f9263d5f3c8a02
https://deploy-preview-131--stoic-hodgkin-c0179e.netlify.com

🚀 Preview deployed
Built with commit 11c77c75b5fb8738366667b14494436f017a5217
https://deploy-preview-131--stoic-hodgkin-c0179e.netlify.com

There is prop validation error:
  ● Console

    console.error package/node_modules/fbjs/lib/warning.js:33
      Warning: Failed prop type: Invalid prop `content` of type `String` supplied to `CheckoutActionComplete`, expected instance of `Element`.
          in CheckoutActionComplete (at CheckoutActionComplete.test.js:14)```

@kieckhafer @willopez To make it clear since onChange means something else in other components, can you change the onChange prop name to onClickChangeButton? Otherwise LGTM

Also, I think @rymorgan decided we want to keep the step number on completed step labels. We could have the parent add it to label prop, but I think it's cleaner to add an optional stepNumber prop that gets added before the label identical to the CheckoutActionIncomplete component.

@aldeed Yes, we do want the numbers. I'm locked out of the uploading screens to the storefront zeplin project until @cassytaylor  gets back tomorrow but here are the designs for what that should look like. @kieckhafer, please reach out if you have questions.

@aldeed @rymorgan I'll add the step numbers.

@willopez Awesome, thanks!

Reviewed  by @aldeed


BSONDocument removes error fields during construction

ReactiveMongo Version
1.0.1
The Issue
BSONDocument ignores field-level errors from nested BSONWriters
Given
case class SomeType()

And a BSONWriter that outputs
Try(
  BSONDocument(
    "key" => "SomeKey",
    "SomeType" => SomeType()
  )
)

The scenario happens when BSONWriter[SomeType] throws an exception
Expected Behavior
Failure[BSONDocument]
Actual Behavior
Success[BSONDocument] with a single "key" field in the document.
"SomeType" field will not exist on the document.
Reproducible Test Case
package test.reactive.mongo

import org.scalatest._
import reactivemongo.api.bson._
import scala.util.Try

class Test extends WordSpec with Matchers{

  case class SomeType()
  implicit val serde = new BSONDocumentWriter[SomeType] with BSONDocumentReader[SomeType] {
    override def writeTry(a: SomeType): Try[BSONDocument] =
      Try(throw new UnsupportedOperationException())
    override def readDocument(doc: BSONDocument): Try[SomeType] =
      Try(throw new UnsupportedOperationException())
  }

  "BSONDocument" must {
    "ignore field level serialization errors" in {
      val doc = Try(
        BSONDocument(
          "a" -> SomeType(),
          "b" -> "B"
        )
      )

      doc.isSuccess shouldBe true
      doc.get.elements.length shouldBe 1
      doc.get.elements(0).value shouldBe BSONString("B")
    }
  }
}

Hi,
As indicated, this tracker is for confirmed issue, other please use the MailingList.
As you use the convenient factory automatically converting Scala values to BSON values, invalid values are ignored.
In coherence with the return type, it will never throw an Exception.
If you want to handle explicitly writers exception, call them and use BSONDocument(Seq("foo" -> bsonValue)).

Also could have a look at https://oss.sonatype.org/service/local/repositories/snapshots/archive/org/reactivemongo/reactivemongo-bson-api_2.13/1.0.2-SNAPSHOT/reactivemongo-bson-api_2.13-1.0.2-SNAPSHOT-javadoc.jar/!/reactivemongo/api/bson/BSONDocument$.html#safe(elms:reactivemongo.api.bson.ElementProducer*):scala.util.Try[reactivemongo.api.bson.BSONDocument]

Thanks for replying & sorry for the misunderstanding...
I now see you are right, the type indicates no errors are expected.
We've implemented our own factory to be able to get the desired behavior.
Thanks 🙏


Cache local model to reduce memory usage and delays

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Store the LLM after creation, for future use. This is especially necessary for local LLMs. Previously the LLM was recreated for each request, which caused long delays and doubled the GPU memory consumption.

Why was this change needed? (You can also link to an open issue here)

Fixes https://github.com/arc53/DocsGPT/issues/945

Other information:

Sorry for a delay on this PR. Really appreciate it!
Main reason is because its a relative large conceptual change.
Personally I think there should be no LLM inference on our API container. Ideally it should be a separate one.
One kind of inference that I think is ok for the time being is embeddings, but it also causes issues with memory, I had multiple issues because of it on our production servers, so I moved embedding creation to a singleton instead of classic flask cache.
PR for embeddings
Think both cache and singleton patterns are good, but I would prefer singleton pattern due to its more simplistic nature. Maybe because Im more used to it too.
Is there any advantage or disadvantage to either one that you see?

Sorry for a delay on this PR. Really appreciate it! Main reason is because its a relative large conceptual change. Personally I think there should be no LLM inference on our API container. Ideally it should be a separate one. One kind of inference that I think is ok for the time being is embeddings, but it also causes issues with memory, I had multiple issues because of it on our production servers, so I moved embedding creation to a singleton instead of classic flask cache.
PR for embeddings
Think both cache and singleton patterns are good, but I would prefer singleton pattern due to its more simplistic nature. Maybe because Im more used to it too.
Is there any advantage or disadvantage to either one that you see?

No worries on the delay. I chose the flask cache option since it seemed easier to implement: we need the cache/singleton to be accessible throughout the API, as a sort of global variable. Flask cache made this simple, just call the cache and you have your object. I wasn't sure how to do this cleanly with a singleton, admittedly I'm also not a Python expert, I could rework the PR to use a singleton instead of cache.

Hey @starkgate Thank you so much for this PR, I do think we will go in favour of a singleton.
Also thank you so much for bringing it up as it brought up some other issues in our application. We definitely need to change things. If you can re-work it as a singleton - would be amazing!

Hey @starkgate Thank you so much for this PR, I do think we will go in favour of a singleton. Also thank you so much for bringing it up as it brought up some other issues in our application. We definitely need to change things. If you can re-work it as a singleton - would be amazing!

I'm glad to hear it helped!


Retire FileAttachmentUploadService and refactor FileAttachmentBlobService

Trello: https://trello.com/c/BQ5bBkMw/881-wrap-up-technical-loose-ends-on-attachments
This removes the FileAttachmentUploadService and instead handles the
concerns of that in a create_initial method on FileAttachment::Revision.
This is to reflect that FileAttachmentUploadService no longer is
responsible for uploading and it's name was becoming redundant.
This also renames FileAttachmentBlobService to
FileAttachmentBlobAttributesService and changes it's interface from
being something that acts like a model into a service that returns a
hash of attributes - hence the name change.

Thanks for pursuing this :-). I think the create_initial approach works well, since it re-uses an existing concept and removes an ambiguous one. The blob service is still surprising me each time I read it, which I'll try and articulate:

Thanks for the speedy review, you raise some interesting points.

Some of the parameters are unexpected for the generic constructor/call combo.

It makes me sad that we have two interface points in these cases where we have a single purpose class. I don't ever see there being much consistency in our logic of what goes on initialize or call, though if we were going to spend energy on it I'd much rather we worked towards just a single static method to cut out the two places.

The name of the service still doesn't match my understanding of what it achieves (upload).

It's a funny thing really the service. It isn't uploading really, it's the conversion of an uploaded file into objects. So I guess the closest we've come to this having a clear role is when it was almost a BlobRevision factory.
As that was a bit grim for widening scope then this creates the attributes needed to update a BlobRevision.

More helpfully, I wonder if actually 'BlobService' was OK as a name, and we should actually be distinguishing between the two different (but strongly related) uses of the service: upload and replace. The first thing that put me onto this was noticing that the 'replacement' constructor param changes the behaviour of the service; if we were to explicitly tell it to do '#replace', then that would also be an opportunity to separate required vs. optional args, which might help with the above point.

Hmm I don't think upload and replace are the two distinct things as both of those involve uploading. It's more create and replace.
I'm not too keen on having a replace method though as the service itself isn't replacing anything, I'm hoping that intention can be reflected better with a parameter.
I've come up with this naming option here: FileAttachmentBlobService.new(revision).attributes_for(file:, replacing: nil)
Which I think reflects the dealings with a blob, that you get attributes back and ability to specify it's a replacement syntactically.
Let me know what you think?
Some options I rejected are:
FileAttachmentBlobService.create(file: file, for: revision)
FileAttachmentBlobService.update(file: file, for: revision, replacing: file_attachment_revision)

rejected as not actually updating anything and both seem to create
FileAttachmentBlobService.upload(file: file, for: revision, replacing: file_attachment_revision)

rejected as we're not actually doing an upload.
Also, damn you for making me think so hard about this 😢

Fair enough - I'm a little confused about why 'create_after_upload!' doesn't upload anything, but as you suggest, there are other suitable verbs. The more I think about this in conjunction with the 'create_initial' methods, the more I prefer the factory (or suitable verb) idea.
I reckon it's hard to think of an intuitive interface because the concept is unclear - it's not even a 'Params' processor, like we've thought about previously, since it does more than that. The word 'attributes' is also tricky, because we're passing in attributes, but also getting out attributes.
Would it be easier to think about this if we admit a new concept as one of the solutions? We're kind of doing that already with this service, as there's no precedent for it, so we may as well consider all options and the factory one seems like the one with the most evidence to support it existing.
Sorry about the pain :-|.

Fair enough - I'm a little confused about why 'create_after_upload!' doesn't upload anything, but as you suggest, there are other suitable verbs. The more I think about this in conjunction with the 'create_initial' methods, the more I prefer the factory (or suitable verb) idea.

that method may upload to s3 or write to the local file system - environment dependent. I think rather than upload it's better to think of it as saving a file. As we're both persisting the file to s3 and writing a record in the database.

I reckon it's hard to think of an intuitive interface because the concept is unclear - it's not even a 'Params' processor, like we've thought about previously, since it does more than that. The word 'attributes' is also tricky, because we're passing in attributes, but also getting out attributes.

Yup I'd agree, the whole thing makes sense as a utility function but doesn't feel like elegant object orientation.

Would it be easier to think about this if we admit a new concept as one of the solutions? We're kind of doing that already with this service, as there's no precedent for it, so we may as well consider all options and the factory one seems like the one with the most evidence to support it existing.

We're at risk of blowing the timebox by broadening the scope. I think I'm pretty close to an approach that offers a net improvement and I think we should look to get that merged with only small tweaks - then address further if there's pain introduced or a complementary pattern develops.

Closing in favour of https://github.com/alphagov/content-publisher/pull/1092


[SP-3273][PDI-15922]-Missing data when using delimiters like "aa" in the CSV file

refactored processing csv data
fix for regression BACKLOG-14781
fixed unittest
fix case for multichars enclosure
added unit tests

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/csvinput/CsvInput.java
  engine/src/org/pentaho/di/trans/steps/csvinput/CsvInputData.java
  engine/src/org/pentaho/di/trans/steps/csvinput/MultiByteBigCrLfMatcher.java
  engine/src/org/pentaho/di/trans/steps/csvinput/MultiByteLittleCrLfMatcher.java
  engine/src/org/pentaho/di/trans/steps/csvinput/MultiBytePatternMatcher.java
  engine/test-src/org/pentaho/di/trans/steps/csvinput/CsvInputDoubleLineEndTest.java
  engine/test-src/org/pentaho/di/trans/steps/csvinput/CsvInputEnclosureTest.java
  engine/test-src/org/pentaho/di/trans/steps/csvinput/CsvInputUnicodeTest.java
  engine/test-src/org/pentaho/di/trans/steps/csvinput/CsvProcessRowInParallelTest.java

Newly Broken Tests:
org.pentaho.di.trans.TransTest.transWithNoStepsIsNotEndless:
:red_circle: java.lang.Exception
java.lang.Exception: test timed out after 1000 milliseconds
	at org.mockito.cglib.core.Signature.getDescriptor(Signature.java)
	at org.mockito.cglib.core.ClassEmitter.begin_method(ClassEmitter.java:139)
	at org.mockito.cglib.reflect.FastClassEmitter.emitIndexByClassArray(FastClassEmitter.java:128)
	at org.mockito.cglib.reflect.FastClassEmitter.<init>(FastClassEmitter.java:78)
	at org.mockito.cglib.reflect.FastClass$Generator.generateClass(FastClass.java:73)
	at org.mockito.cglib.core.DefaultGene

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.ftpsget.JobEntryFTPSGet

Branch Change:  + .53%
Complexity Change:  + .56%
Instruction Change:  + .07%

org.pentaho.di.job.entries.simpleeval.JobEntrySimpleEval

Branch Change: -.29%:small_red_triangle_down:
Complexity Change: -.43%:small_red_triangle_down:
Instruction Change: -.07%:small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -.10%:small_red_triangle_down:

org.pentaho.di.trans.steps.csvinput.CsvInput

Branch Change:  + 1.44%
Complexity Change:  + .99%
Instruction Change:  + 1.13%
Line Change:  + 1.26%

org.pentaho.di.trans.steps.csvinput.CsvInputData

Branch Change:  + 2.23%
Complexity Change:  + 4.26%
Instruction Change: -1.73%:small_red_triangle_down:
Line Change: -.31%:small_red_triangle_down:

org.pentaho.di.trans.steps.csvinput.MultiByteBigCrLfMatcher

Branch Change:  + 100.00%
Complexity Change:  + 100.00%
Instruction Change:  + 100.00%
Line Change:  + 100.00%
Method Change:  + 100.00%

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change: -.09%:small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change:  + .66%
Complexity Change:  + .41%
Instruction Change:  + .50%
Line Change:  + .24%

org.pentaho.di.trans.steps.excelwriter.ExcelWriterStepMeta

Branch Change:  + 1.28%
Complexity Change:  + .78%
Instruction Change:  + .04%

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1.04%:small_red_triangle_down:
Complexity Change: -1.05%:small_red_triangle_down:
Instruction Change: -.14%:small_red_triangle_down:
Line Change: -.37%:small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2.00%:small_red_triangle_down:
Complexity Change: -1.89%:small_red_triangle_down:
Instruction Change: -.17%:small_red_triangle_down:

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -.18%:small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change:  + .04%

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change:  + .91%
Complexity Change:  + .82%

org.pentaho.di.trans.steps.textfileinput.EncodingType

Branch Change:  + 3.03%
Complexity Change:  + 3.45%
Instruction Change:  + 1.46%
Line Change:  + 2.63%

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

backport of #3489,#3565,#3600

@mbatchelor the changes are the same as in master


Support users who party for more then 1 iteration of music.

This change fixes the problem stated in my issue. I believe rowbot-weisguy.github.io has a wide fan base of devote users to party mode.
While some of them have passed their prime and will be satisfied with the currently supplied 55 seconds of party, others of us have been gifted with longer stamina.
I think party mode supplying continuous music is better for the community.
As a man who thrives on collaboration and being a team player, I'm open to further suggestions for refactoring/testing/modifying this change. Maybe we could create a seperate npm module for party music so this unfortunate issue does not arise again.
Thank you for your consideration. The floor is now open for debate :metal: ❤ .

+1

@haroldtreen you are a stellar guy. Thanks for stepping up here and contributing to the rowbot-weisguy.github.io community! Party hard. 🎉


Monthly Report for Backers Email Template

For https://github.com/OpenCollective/OpenCollective/issues/312

Updated design for template: /templates/email/backer.monthlyreport.hbs

Added Partial: /partials/monthlyreport.subscription.hbs as mr-subscription
Added Partial: /partials/monthlyreport.collectivecard.hbs as mr-collectivecard
Added Partial: /partials/monthlyreport.footer.hbs as mr-footer

Added compile:email npm script to compile registered email templates for preview. It sends the compiled html to stdout allowing you to pipe it to a folder that is being served in order to see the resulting html.
I used  npm run -s compile:email backer.monthlyreport > index.html along with http-server to preview the email.

NOTE: There are three logos that will not be found, since this repository does not hold any assets, they will be added to the website repository, or a cdn, and then the urls will be updated.
They images are:
In backer.monthlyreport.hbs
- oc-symbol.svg A svg of the OpenCollective logo of the circle symbol for the .ContainerLogo class.
Replaced image with existing oc-logo-icon.svg, mentioned here

oc-logo-name.svg A svg of the OpenCollective logo of the name (text only) for the .ContainerLogoName class.

In backer.monthlyreport.hbs

oc-logo.svg A svg of the OpenCollective logo with the circle symbol and text for the .FooterLogo

The images where added to the website repo: https://github.com/OpenCollective/opencollective-website/pull/655

Coverage increased (+0.05%) to 81.142% when pulling c9c5ccbad7fdb71dce88857da8c7becb8a41c8bc on backer-mth-report-email-template into b2d188e4d4e321c5c8a4af207e20c927b9fe10c1 on master.

There is an issue with the logo. It shouldn't be repeated. I think we need to force the maxHeight but let the width auto because the logo is not always square.

Also, this doesn't look good when there is no background image and logo:

See here for how we usually show the logo in the collective card: https://github.com/OpenCollective/opencollective-api/blob/master/templates/partials/collectivecard.hbs#L109

I made a few fixes but some margins can still be improved:
I'll let you take it from here @carlosascari

Coverage increased (+0.05%) to 81.142% when pulling a0d5656d237860b294d5f409757ac99954c0a663 on backer-mth-report-email-template into b2d188e4d4e321c5c8a4af207e20c927b9fe10c1 on master.

Coverage increased (+0.05%) to 81.142% when pulling a0d5656d237860b294d5f409757ac99954c0a663 on backer-mth-report-email-template into b2d188e4d4e321c5c8a4af207e20c927b9fe10c1 on master.

@xdamman

[x] "There is an issue with the logo. It shouldn't be repeated. I think we need to force the maxHeight but let the width auto because the logo is not always square"

Done width was set to auto with brackground-repeat: no-repeat for the monthlyreport.subscription.hbs partial

[x] "Also, this doesn't look good when there is no background image and logo:"
"Anyway we can reuse the same partial? Or update that one with the changes that you need? Would love to keep this consistent across all email templates."

Done Re-used collectivecard partial instead of using mr-collecticard partial.

There is an important issue to be aware of when re-using email partials. The issue comes in to play when styles are merged into the elements with the juice module. I could not reliably replace the .ShowCasedCard with the collectivecard since the styles inside the collectivecard partial and the mr-subscription partial as well as the the styles in the monthlyreport.backers template, would not merge in a predictable manner.
Inline styles would look like:
margin-top: 24px;
margin: 0 auto;

Since one partial had a margin: 0 auto and another had the set margin-top: 24px on the same element, the juice module did not merge the two values into the correct rule: margin: 24px auto 0 auto;
Another issue comes from having the styles mixed with the partials themselves, determining the specificity of any css rule is not trivial, making re-use problematic in the long run.

It is not a good idea to re-use partials that require their styles to be modified by the template or a parent partial attempting to reuse another partial. Re-use works best when you modify very little or nothing of a partial's original css.

BTW: I am sure the issue comes from the juice module since I compiled the email without it, and the css rendered as expected

Coverage increased (+0.05%) to 81.142% when pulling 3b9a7d8a9a3300699a589b78afbbd428352b11ae on backer-mth-report-email-template into b2d188e4d4e321c5c8a4af207e20c927b9fe10c1 on master.

We could avoid this problem by making sure that we only define in the partial the CSS of the elements in it. The margins around an element should not be defined there.

Coverage increased (+0.03%) to 81.119% when pulling 4f1645981cdffda5426767b4d621d211f8676def on backer-mth-report-email-template into b2d188e4d4e321c5c8a4af207e20c927b9fe10c1 on master.

Test passed. Github isn't updating for some reason. Merging.

@carlosascari fyi svg don't work in gmail


[Request] Navigate to source code

Environment data
dotnet --info output:
Product Information:
Version:            2.1.104
Commit SHA-1 hash:  48ec687460
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.16299
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.1.104\
Microsoft .NET Core Shared Framework Host
Version  : 2.0.6
Build    : 74b1c703813c8910df5b96f304b0f2b78cdf194d
C# Extension version:
Steps to reproduce
ctrl + left-click
Expected  behavior
Navigate to source code of framework or package
Actual behavior
only metadata

This is a duplicate of https://github.com/OmniSharp/omnisharp-vscode/issues/2207.


Specs fail

Rails: <IP_ADDRESS>
Ruby: 2.7.2
Rspec: 4.0.2
Followed the examples and everything works fine, but tests are failing:
   it_behaves_like "two_factor_authenticatable"
   it_behaves_like "two_factor_backupable"

Failed examples:
7) User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! with a stored consumed_timestep given a precisely correct OTP fails to validate
     Got 0 failures and 2 other errors:
     Shared Example Group: "two_factor_authenticatable" called from ./spec/models/user_spec.rb:29

     7.1) Failure/Error: Timecop.freeze(Time.current)

          NameError:
            uninitialized constant Timecop

rspec ./spec/models/user_spec.rb[1:4:1:3:4] # User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! validates an OTP within the allowed drift
rspec ./spec/models/user_spec.rb[1:4:1:3:5] # User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! does not validate an OTP above the allowed drift
rspec ./spec/models/user_spec.rb[1:4:1:3:3] # User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! fails a nil OTP value
rspec ./spec/models/user_spec.rb[1:4:1:3:2] # User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! validates a precisely correct OTP
rspec ./spec/models/user_spec.rb[1:4:1:3:6] # User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! does not validate an OTP below the allowed drift
rspec ./spec/models/user_spec.rb[1:4:1:3:1:2:1] # User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! with a stored consumed_timestep given a previously valid OTP within the allowed drift fails to validate
rspec ./spec/models/user_spec.rb[1:4:1:3:1:1:1] # User two factor authentication behaves like two_factor_authenticatable #validate_and_consume_otp! with a stored consumed_timestep given a precisely correct OTP fails to validate

Same issue for me. I've worked around it for now by including this in the affected spec:
def travel_to(*args)
  Timecop.freeze(*args)
end

def travel_back
  Timecop.return
end


A bug related to audio labeling

Describe the bug
When labeling an audio track, the audio pointer does not move where my mouse pointer is but always starts from the beginning. Therefore, it becomes impossible to reproduce only an already labeled region or to listen to a part of the waveform in the middle.
To Reproduce
Steps to reproduce the behavior:

Go to 'labeling'
Click on waveform
See error that the audio playing pointer does not move to the position of my mouse pointer

Screenshot
https://user-images.githubusercontent.com/57755529/130823596-839b1619-174a-4f14-82e6-917357f53f9a.mp4
Expected behavior
The audio playing pointer moves to the position of my mouse pointer.
Environment (please complete the following information):

OS: Windows 10
Browser: Chrome
Label Studio Version 1.2
Python: 3.8.6

Additional context
This problem does not exist in the ’interface preview‘ in the ‘Setup’, but it will appear when labeling.
This issue was also mentioned here: #306 and #825

@Morgana025 Do you use Local Storages? If yes, try this PR please: https://github.com/heartexlabs/label-studio/pull/1345

Is there a method to display only one channel for stereo audio?

unfortunately, there is no such method.

@makseq Thanks for the answers.
I tried both with Local Storage and "direct" import. In the end, what seems to work for me, is to use direct import and mono-waveforms.

Today, I see this issue too:
"A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. In a future version of Chrome, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the properties is shown."
I'm not very lucky!

Little update: The solution for my last problem was to change the browser from Chrome to Firefox

Yes, it looks like a browser specific thing.


BootStrapper.OnStartAsync is not called on protocol activation if the app is already running.

As I see calling OnStartAsync only once during app's lifetime is by design but what if the app is running and another application has to send something to it through protocol activation?

Agree on this, and also when any Toast action is performed? It won't allow you to respond to this. And you can't override default OnActivated as it was sealed...

This is fixed on GitHub, will update NuGet pack this week to 9.


Docs

Simple documentation.
PR Checklist

[ ] Give a detailed description of the PR above.
[ ] Document changes in the CHANGES.rst file. See existing changelog for examples.
[ ] Add tests, if applicable, to ensure code coverage never decreases.
[ ] Make sure the docs are up to date, if applicable, particularly the docstrings and RST files in docs folder.
[ ] Ensure linear history by rebasing, when requested by the maintainer.

Codecov Report

Merging #35 (acd1302) into main (88bac07) will increase coverage by 3.53%.
The diff coverage is n/a.

:exclamation: Current head acd1302 differs from pull request most recent head 57929ed. Consider uploading reports for the commit 57929ed to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   72.37%   75.91%   +3.53%
==========================================
  Files          13       12       -1
  Lines         286      274      -12
==========================================
+ Hits          207      208       +1
+ Misses         79       66      -13

Impacted Files
Coverage Δ

src/cosmology/api/background.py
68.42% <0.00%> (-4.08%)
:arrow_down:

src/cosmology/api/__init__.py
100.00% <0.00%> (ø)

src/cosmology/api/compat/__init__.py
100.00% <0.00%> (ø)

src/cosmology/api/compat/background.py

src/cosmology/api/standard.py
86.11% <0.00%> (+12.42%)
:arrow_up:

src/cosmology/api/components.py
86.79% <0.00%> (+16.98%)
:arrow_up:

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

This is an early draft that doesn't include the API info.
Normally I use automod_api, but it isn't playing very will with MyST. Maybe we can just suppress the incorrect errors it's yielding. Alternatively, there's https://myst-parser.readthedocs.io/en/latest/syntax/code_and_apis.html#sphinx-autodoc2

I would overwhelmingly prefer to keep it as simple as possible, using neither automod_api nor MyST, and write plain rST docs with autodoc as much as possible. There is very little added effort in writing .. autoclass: Cosmology on a rST page somewhere, but massive amounts of necessary effort in keeping everything running smooth across sphinx updates over large time scales.

I agree, but when I tried to do this I couldn't get subprojects to be tied together nicely in the TOC, even using ReadTheDocs subproject settings. If you have time to experiment that would be great!


Remove depreciated EndAbility event

The 'EndAbility' event was initially introduced for the implementation of
new weathers in ORAS, like Desolate Land, but has since been depreciated
in favor of an 'End' singleEvent.

Updated since I missed one of the events.

It's spelled "deprecated".
"Deprecated" means "we think it's bad"
"Depreciated" means "it lost value because time has passed"

bleh what is english

A good rule of thumb is that "depreciate" is only used when money is directly involved.


Default c.Body() err too fuego.BadRequestError

Is your feature request related to a problem? Please describe.
The title says right now c.Body will just return the basic error from whatever marshaler it uses. What are the thoughts on defaulting to BadRequest as I can't think of a situation where this would be the servers fault for not being able to decode an object it can't understand.
Describe the solution you'd like
Describe alternatives you've considered
Right you get a lot of:
d, err := c.Body()
if err != nil {
	c.SetStatus(400)
	return struct{}, err
}

Meh, I guess the user could just
d, err := c.Body()
if err != nil {
	return struct{}, fuego.BadRequestError{Err: err}
}

Which would end in the same amount of lines anyway.

I agree that c.Body() must return a BadRequestError, we will change that


Invalid Build File Hash for chunk: app.js

We are running next.js(2.2.0) app in production for around a month. Sometimes, we get this error on server and page doesn't render.
` Error: Invalid Build File Hash(502475f53a0693f46b0bab538bdc8f4b) for chunk: app.js
at Server.handleBuildHash (node_modules/next/dist/server/index.js:1024:15)

at Server._callee7$ (node_modules/next/dist/server/index.js:337:28)

at tryCatch (node_modules/regenerator-runtime/runtime.js:65:40)

at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:303:22)

at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:117:21)

at step (node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)

at node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14

at F (node_modules/core-js/library/modules/_export.js:35:28)

at Object.<anonymous> (node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12)

at Object._nextHashAppJs [as fn] (node_modules/next/dist/server/index.js:351:26)`

Any idea what can be the cause?

Maybe a race condition? 🤔 https://github.com/zeit/next.js/blob/0c4362e440d7bbab3664fef514411d3bc7ffad74/server/index.js#L382

Got the same issue. Also this hook has no effect 😞

@albinekb it's not a race condition.
The hook is called when doing client side loading. (When there's a new deployment after page loads)
Basically what's happening is you are talking to two different builds which servers both .html file and the app.js files. That's the error.
Your routing system should have some sticky sessions like solution.

@arunoda could you show me where the hook is called? Was trying to debug but can't find it anywhere in the next code.

@seb0zz actually we changed the hook signature and we only updated the README.
Now I've updated the wiki as well: https://github.com/zeit/next.js/wiki/Handle-BUILD_ID-Mismatch-Error
Thanks for pointing this out.

Thanks for updating!

@arunoda somehow this cannot be an issue with multiple servers behind a load balancer, ongoing deployments or something else. I have an infrastructure with sticky load balancing, did not anything for hours and still get the same issue as @skstronghold randomly but also very rarely.
This is the stacktrace:
Error: Invalid Build File Hash(48cf05711794d2de3f7826dab798442b) for chunk: app.js
at Server.handleBuildHash (/app/node_modules/next/dist/server/index.js:1028:15)
at Server._callee7$ (/app/node_modules/next/dist/server/index.js:332:28)
at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:64:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:299:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:116:21)
at step (/app/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /app/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
at Promise.F (/app/node_modules/core-js/library/modules/_export.js:35:28)
at Object.<anonymous> (/app/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12)
at Object._nextHashAppJs [as fn] (/app/node_modules/next/dist/server/index.js:346:26)
at Router._callee$ (/app/node_modules/next/dist/server/router.js:87:62)
at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:64:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:299:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/app/node_modules/regenerator-runtime/runtime.js:116:21)
at step (/app/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /app/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
at Promise.F (/app/node_modules/core-js/library/modules/_export.js:35:28)
at /app/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12
at v (/app/node_modules/next/dist/server/router.js:98:31)
at Server._callee13$ (/app/node_modules/next/dist/server/index.js:551:24)
at tryCatch (/app/node_modules/regenerator-runtime/runtime.js:64:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/app/node_modules/regenerator-runtime/runtime.js:299:22)

@arunoda I'm getting this error even if I updated the file just like you said:
 Error: Invalid Build File Hash(c69e4a8e824a28387f56834d97a0a056) for chunk: app.js 28|nextjs  |     at Server.handleBuildHash (/home/webclient/deployed-builds/nextjs/node_modules/next/dist/server/index.js:1145:15) 28|nextjs  |     at Server._callee7$ (/home/webclient/deployed-builds/nextjs/node_modules/next/dist/server/index.js:375:28) 28|nextjs  |     at tryCatch (/home/webclient/deployed-builds/nextjs/node_modules/regenerator-runtime/runtime.js:65:40) 28|nextjs  |     at Generator.invoke [as _invoke] (/home/webclient/deployed-builds/nextjs/node_modules/regenerator-runtime/runtime.js:303:22) 28|nextjs  |     at Generator.prototype.(anonymous function) [as next] (/home/webclient/deployed-builds/nextjs/node_modules/regenerator-runtime/runtime.js:117:21) 28|nextjs  |     at step (/home/webclient/deployed-builds/nextjs/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30) 28|nextjs  |     at /home/webclient/deployed-builds/nextjs/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14 28|nextjs  |     at F (/home/webclient/deployed-builds/nextjs/node_modules/core-js/library/modules/_export.js:35:28) 28|nextjs  |     at Object.<anonymous> (/home/webclient/deployed-builds/nextjs/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12) 28|nextjs  |     at Object._nextHashAppJs [as fn] (/home/webclient/deployed-builds/nextjs/node_modules/next/dist/server/index.js:389:26)

I am impacted and as far as i can check, i'm not a bot.
We are running 2 pods after a load balancer where traffic is divided over these 2 pods (similar to docker container).
In 1 pod we get:
08:26:05 0|server   | Error: Invalid Build File Hash(fc1c721bd46da1cb8f478719791ade97) for chunk: app.js 08:26:05 0|server   |     at Server.handleBuildHash (/nodejs/node_modules/next/dist/server/index.js:1265:15) 08:26:05 0|server   |     at Server._callee9$ (/nodejs/node_modules/next/dist/server/index.js:486:28) 08:26:05 0|server   |     at tryCatch (/nodejs/node_modules/regenerator-runtime/runtime.js:62:40) 08:26:05 0|server   |     at Generator.invoke [as _invoke] (/nodejs/node_modules/regenerator-runtime/runtime.js:296:22) 08:26:05 0|server   |     at Generator.prototype.(anonymous function) [as next] (/nodejs/node_modules/regenerator-runtime/runtime.js:114:21) 08:26:05 0|server   |     at step (/nodejs/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30) 08:26:05 0|server   |     at /nodejs/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14 08:26:05 0|server   |     at new Promise (<anonymous>) 08:26:05 0|server   |     at new F (/nodejs/node_modules/core-js/library/modules/_export.js:35:28) 08:26:05 0|server   |     at Object.<anonymous> (/nodejs/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12)
Cleary this shouldn't be just closed, but fixed!

You are right, @neanex. ~90% of occurrences were coming from bots but 10% real users.. No clues so far.


RequestLogger gzip response body corrupted in Native Automation

What is your Scenario?
Trying to log all requests and responses using RequestLogger. Some responses are gzip bodies. I am unable to unzip them when running with native automation.
What is the Current behavior?
Trying to unzip compressed response bodies fails with native automation
What is the Expected behavior?
body unzips normally
What is the public URL of the test page? (attach your complete example)
https://testkenna.kennasecurity.com/users/sign_in
What is your TestCafe test code?
import { RequestLogger } from "testcafe";
import zlib from "zlib";

const url = "https://testkenna.kennasecurity.com/users/sign_in";

// create and attach request logger
const requestLogger = RequestLogger(url, { logResponseHeaders: true, logResponseBody: true })

fixture("Fixture").requestHooks(requestLogger);

test("Test", async t => {
    // go to URL that gives gzip response and wait for it to load
    await t.navigateTo(url);
    await t.wait(3000);

    // verify response status 200 and header indicates gzip
    const resp = requestLogger.requests[0].response;
    await t.expect(resp.statusCode).eql(200);
    await t.expect(resp.headers["content-encoding"]).eql("gzip");

    // decompress body
    const buffer = resp.body;
    const decoded = zlib.gunzipSync(buffer);
    console.log(decoded.toString());
})

With Native Automation:
 Fixture
 ✖ Test (screenshots:
 /Users/codambro/Documents/GitHub/KennaSecurity/qa-automation-e2e/results/screenshots/Chrome_<IP_ADDRESS>_macOS_10.15.7/Fixture_Test_1.png)

   1) Error: incorrect header check

      Browser: Chrome <IP_ADDRESS> / macOS 10.15.7
      Screenshot:
      /Users/codambro/Documents/GitHub/KennaSecurity/qa-automation-e2e/results/screenshots/Chrome_<IP_ADDRESS>_macOS_10.15.7/Fixture_Test_1.png

With disableNativeAutomation: true
Fixture

<!DOCTYPE html>
<html lang="en">
  <head>
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,600' rel='stylesheet' type='text/css'>

<meta charset="utf-8">

<title>Cisco</title>
...
...
...
  </body>
</html>

 ✓ Test

 1 passed (9s)

Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
see above
TestCafe version
3.5.0
Node.js version
No response
Command-line arguments
using testcafe runner api
Browser name(s) and version(s)
chrome
Platform(s) and version(s)
macOS
Other
No response

Hello,
I managed to reproduce the issue. As a workaround, you can use stringifyResponseBody in RequestLogger Constructor options. Please try this solution and let us know if you encounter any issues.

Interesting. With disableNativeAutomation, using stringifyResponseBody returned garbage data since it was gzip. But I do see stringifyResponseBody does return the correct string format. good to know


xenial just installed. I only get a black screen.

name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20161129162558~master:5f2f11f9
release: xenial
architecture: amd64
xmethod: xorg
targets: xorg,xiwi,xfce,keyboard
host: version 9150.0.0 (Official Build) dev-channel winky
kernel: Linux localhost 3.10.18 #1 SMP Wed Jan 4 03:13:25 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue:
I only get a black screen when trying to enter xfce4.
If known, describe the steps to reproduce the issue:
I've just installed xenial using:
sudo sh ~/Downloads/.crouton -r trusty -t xiwi,xfce,keyboard
sudo sh ~/Downloads/.crouton -n trusty -u -t xorg
sudo enter-chroot
sudo apt-get install software-properties-common ubuntu-restricted-extras ttf-ubuntu-font-family bash-completion language-pack-pt nano vim gedit vlc
Then when launching startxfce4 I get:
chronos@localhost / $ sudo startxfce4
Password:
Entering /mnt/stateful_partition/crouton/chroots/xenial...
/usr/bin/startxfce4: Starting X server
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Jan 4 03:13:25 PST 2017 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=b62e34b7-8805-dc44-a745-0da769ecfe75/PARTNROFF=1 hashtree=PARTUUID=b62e34b7-8805-dc44-a745-0da769ecfe75/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=9560f18079c24b1c1ba5ace61b5d8805c767c5ad salt=ac4d978a1f5e2b1e293fa672d75af125c7c118678323a43f779d1a1ab5de5c0f" noinitrd vt.global_cursor_default=0 kern_guid=b62e34b7-8805-dc44-a745-0da769ecfe75 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 02 November 2016  10:06:10PM
xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon Jan  9 14:56:53 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Error executing command as another user: Not authorized
This incident has been reported.
crouton: version 1-20161129162558~master:5f2f11f9
release: xenial
architecture: amd64
xmethod: xorg
targets: xorg,xiwi,xfce,keyboard
host: version 9150.0.0 (Official Build) dev-channel winky
kernel: Linux localhost 3.10.18 #1 SMP Wed Jan 4 03:13:25 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found
(xfce4-session:26917): xfce4-session-WARNING **: xfsm_manager_load_session: Something wrong with /home/joao/.cache/sessions/xfce4-session-localhost:1, Does it exist? Permissions issue?
/usr/bin/xbindkeys_autostart: linha 24: CONF: unbound variable
Cannot open /sys/class/tty/tty0/active: No such file or directory
Error: target STRING not available
(II) AIGLX: Suspending AIGLX clients for VT switch
Error: target STRING not available
^C
Session terminated, terminating shell.../usr/bin/xinit: connection to X server lost
waiting for X server to shut down xscreensaver: 15:02:10: SIGHUP received: restarting...
xscreensaver: 15:02:10: running as joao/joao (1000/1000)
Hangup
Hangup
Running exit commands...
(xfsettingsd:26939): libxfce4ui-WARNING **: ICE I/O Error
(xfsettingsd:26939): libxfce4ui-WARNING **: Disconnected from session manager.
xfwm4: Fatal IO error 2 (Ficheiro ou directoria inexistente) on X server :1.0.
xfsettingsd: Fatal IO error 11 (Recurso indisponível temporariamente) on X server :1.0.
Hangup
xfdesktop: Fatal IO error 11 (Recurso indisponível temporariamente) on X server :1.0.
xscreensaver: 15:02:10: Can't open display: :1.0
xscreensaver: 15:02:10: running as joao/joao (1000/1000)
xscreensaver: 15:02:10: Errors at startup are usually authorization problems.
But you're not logging in as root (good!) so something
else must be wrong.  Did you read the manual and the FAQ?
          http://www.jwz.org/xscreensaver/faq.html
          http://www.jwz.org/xscreensaver/man.html

(II) Server terminated successfully (0). Closing log file.
/usr/bin/xinit: unexpected signal 2
...terminated.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/xenial...
chronos@localhost / $

Probably a duplicate of #2923, see this for help: https://github.com/dnschneid/crouton/issues/2923#issuecomment-268418795
Hope this helps,
-DennisL

Changing to "uxa" worked, but I ended up installing trusty again and updating it.
Thanks, Dennis. :)

#2923


openLinksInNewWindow breaks em markup

When running the converter with openLinksInNewWindow set to true, it seems to break the conversion of the _underscore_ => underscore markup.
example string:
My [link](http://example.com) is _important_
when I convert it with openLinksInNewWindow set false, I receive (as expected):

My link is important

when I convert it with openLinksInNewWindow set true, I receive:

My link is _important_

the word important no longer wrapped with the em tag.
Conversion of *star* => star works fine.

Verified

should be fixed now

Much appreciated @tivie! When are you planning to merge this to master?

Soon. I'm planning the next release but wanted to merge https://github.com/showdownjs/showdown/pull/358 this PR that is dependent on creating a couple of tests. As soon as #358 is merged, a new showdown release will be published.

Thanks for the quick fix @tivie  - I can confirm that works for me!


add konflux-ci-repo-creator secret to konflux-ci

STONEBLD-2875

konflux-ci-repo-creator secret is a Quay token used for creating new repos in
https://quay.io/organization/konflux-ci
Create the ExternalSecret in konflux-ci because it's going to be used in tasks
in build-definitions repository

well, it was worth a shot :smiling_face_with_tear:

/lgtm
/approve


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in b5a531e.


TypeaheadJS implementation now has clickable suggestions. #6639

Modified the style of each suggestion entry in CSS to make it look better.

Coverage remained the same when pulling fbed8e9c8d270ed7d0726358c312730395972905 on PritishC:feature/task-6639 into 4fc7d6868b77ff81595dc368f8b7550dc6c440b8 on openlabs:develop.

Coverage remained the same when pulling 23cf35b3c443aedc7c3b941fe39743477ab026ee on PritishC:feature/task-6639 into 4fc7d6868b77ff81595dc368f8b7550dc6c440b8 on openlabs:develop.


Mapbox cycling profile test

Mapbox cycling profile test

I'm closing this PR because the cycling profile is now included in the newest Mapbox SDK https://github.com/ably/ably-asset-tracking-android/pull/727, so there's no need to use a special dependency :wink:


Presentation -- a slide  with {layout:Image Left} and with only the image block, disables presenting

What's the use case here? Why have a layout:image left if there is no text instead of just having the image without layout?

The use case is: prevent waste of time, panic before meeting etc
Here's the story: I had no idea why pressing [PRESENT] brought no results. Then, after trying out different things (it took some time), I saw that I still haven't put text on one slide, only image. I could relate that to not being able to present at all, but I turned it off and it worked.
If the issue with not being able to present is not an easy fix, then just a doc note will do.


added Elixir book

What does this PR do?
adds an Elixir book
For resources
Description
The Ultimate Guide To Elixir For Object-Oriented Programmers
Why is this valuable (or not)
It helped me, so it might help others.
How do we know it's really free?
It's entirely readable on the page linked above.
For book lists, is it a book?
The link is a blog post, but the book is also available as E-Book on Amazon. So yeah, it's a book.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Other than the annoying pop-ups, this is a nice addition. Thanks and welcome to free-programming-books!


Try using more threads & forks for github actions maven build

Summary of the changes / Why this improves CrateDB
Checklist

[ ] Added an entry in the latest docs/appendices/release-notes/<x.y.0>.rst for user facing changes
[ ] Updated documentation & sql_features table for user facing changes
[ ] Touched code is covered by tests
[ ] CLA is signed
[ ] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in the latest docs/appendices/release-notes/<x.y.0>.rst
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

The runners have afaik only 2 cores. Using more forks would only over-saturate them, leading to slower execution and more timeout related flakyness. If anything, it might be worth going slightly lower considering that the integration tests can spawn multiple nodes,  and each node uses thread pools sized according to the number of cores.

Thx @mfussenegger, closing.


rclcpp: 9.0.2-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rclcpp to 9.0.2-1:

upstream repository: https://github.com/ros2/rclcpp.git
release repository: https://github.com/ros2-gbp/rclcpp-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.6
previous version for package: 9.0.1-1

rclcpp
* Avoid returning loan when none was obtained. (#1629 <https://github.com/ros2/rclcpp/issues/1629>)
* Use a different implementation of mutex two priorities (#1628 <https://github.com/ros2/rclcpp/issues/1628>)
* Do not test the value of the history policy when testing the get_publishers/subscriptions_info_by_topic() methods (#1626 <https://github.com/ros2/rclcpp/issues/1626>)
* Check first parameter type and range before calling the user validation callbacks (#1627 <https://github.com/ros2/rclcpp/issues/1627>)
* Contributors: Ivan Santiago Paunovic, Miguel Company

rclcpp_action

No changes

rclcpp_components

No changes

rclcpp_lifecycle

No changes

Holding for a coordinated merge.


syscalls: greatly simplify system call declaration

To define a system call, it's now sufficient to simply tag the inline
prototype with "__syscall" or "__syscall_inline" and include a special
generated header at the end of the header file.
The system call dispatch table and enumeration of system call IDs is now
automatically generated.
Signed-off-by: Andrew Boie<EMAIL_ADDRESS>

The build failure is due to checkpatch.pl choking on the __syscall decorator, @nashif any advice for working around this?

updated to throw an exception if a parameter is expressed as an array

Updated changes:
__weak versions of the system call handlers are now implemented, in case the handlers are not compiled due to some Kconfig. These just invoke a kernel oops.
enumeration definition now sorted.
__syscall and __syscall_inline added to checkpatch.pl's list of known attributes

updated zephyr.doxyfile, trying to make Doxygen happy

I've got a fix to the conf.py sphinx configuration in the works that will eliminate the sphinx errors caused by adding "__syscall" or "__syscall_inline" (and looking for other attributes to add to the list that sphinx now supports for ignoring, such as "__deprecated"

@dbkinder include/toolchain/gcc.h has them all if you'd like a list.
i'm surprised the preprocessing doesn't take care of this already, most of them are macros for some invocation of attribute(...)

Here's the sphinx/breathe issue that discusses this: https://github.com/sphinx-doc/sphinx/issues/2682


Improvements to the CircuitZoo purification circuits (fixes #32 and #31)

All i have left is to check the varargs length
edit done

@Barosandu , please check the 6 commits I pushed one by one for the changes I have made. We should discuss anything that might have been unclear at our meeting tomorrow.
I also enabled the doctests: currently a lot of the new ones are failing. Could you make sure they run correctly before we merge this?

forgot to mention: to run the doctests, you do not need to run the entirety of the test suite. You can just open the test_doctests.jl file in your editor and execute it in the REPL that is connected to vscode.

@Barosandu , please check the changes I have made. Let me know if there are any you disagree with or would like to discuss.
I will merge this so that it does not block other tasks. Could you submit a separate pull request that addresses the TODOs I have left in?


question about eval

when batch_size_val sets more than 1, bugs will occur like following:
Caught RuntimeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/mnt/cache/xuguozheng/.conda/envs/torch1.8/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 202, in _worker_loop
data = fetcher.fetch(index)
File "/mnt/cache/xuguozheng/.conda/envs/torch1.8/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch
return self.collate_fn(data)
File "/mnt/cache/xuguozheng/.conda/envs/torch1.8/lib/python3.6/site-packages/torch/utils/data/_utils/collate.py", line 83, in default_collate
return [default_collate(samples) for samples in transposed]
File "/mnt/cache/xuguozheng/.conda/envs/torch1.8/lib/python3.6/site-packages/torch/utils/data/_utils/collate.py", line 83, in
return [default_collate(samples) for samples in transposed]
File "/mnt/cache/xuguozheng/.conda/envs/torch1.8/lib/python3.6/site-packages/torch/utils/data/_utils/collate.py", line 63, in default_collate
return default_collate([torch.as_tensor(b) for b in batch])
File "/mnt/cache/xuguozheng/.conda/envs/torch1.8/lib/python3.6/site-packages/torch/utils/data/_utils/collate.py", line 55, in default_collate
return torch.stack(batch, 0, out=out)
RuntimeError: stack expects each tensor to be equal size, but got [366, 500] at entry 0 and [333, 500] at entry 1
Dose the batch_size_val have to be 1(Every thing goes well when set to 1)? Or Is there anything else I shound pay attention to?

The current version only supports batch_size_val=1, because the resolution of each test image varies, namely setting args.ori_resize=True.

Feel free to reopen this issue if there is any other confusion.


Profile page button placement (only in production for some reason)

This is only showing up like that in production. In my development environment you can see it below:

@burden any idea? You're the UX pro in this neck of the woods.

solved by #593


Suggestions for more languages

F#
CoffeScript
Rockstar
Turbo Pascal and other Pascal Dialects with Free Pascal or Modern Pascal

I have no clue who would use these, I just think it's fun to add more languages

for sure, the more the better

Turbo pascal would be nice

I'm interested in adding languages but I am waiting for a more streamlined installation of piston.

To avoid repeat suggestions, here's those merged with the already supported list (I added Clojure, Erlang, Scala):

[x] awk
[x] bash
[x] brainfuck
[x] c
[ ] clojure
[ ] coffeescript
[x] cpp
[x] crystal
[x] csharp
[x] d
[x] dash
[x] deno
[x] elixir
[x] emacs
[x] elisp
[ ] erlang
[ ] fsharp
[x] go
[x] haskell
[x] java
[x] jelly
[x] julia
[x] kotlin
[x] lisp
[x] lua
[x] nasm
[x] nasm64
[x] nim
[x] node
[x] osabie
[x] paradoc
[ ] pascal (free pascal or modern pascal)
[x] perl
[x] php
[x] python2
[x] python3
[ ] rockstar
[x] ruby
[x] rust
[ ] scala
[x] swift
[x] typescript
[x] zig

It seems that elixir install includes erlang

I think COW would be great

[ ] Groovy
[ ] OCaml
[ ] Pony
[ ] Rill
[ ] Vim Script

Is the list of supported languages in the README out-of-date? It seems several are checked off here that aren't listed there.

they are implemented in v3 which should be releasing in the next few weeks

Is the list of supported languages in the README out-of-date?
It seems several are checked off here that aren't listed there.

Yes @charles-allen, the list seems to be out of date, and as you are the author of the list, it would be good If you update them according to the v3 version, you can see packages/ folder inside v3 branch.

Looks like you already did it, thanks!

I merged the new langs & checked off Scala based on the readme. Actually someone else is keeping my post up-to-date with the v3 branch (I didn't realise it was branched).

POSIX sh and Kotlin

If piston is hosted on an Ubuntu box, POSIX sh should be easy to implement as Ubuntu already comes with dash.

If piston is hosted on an Ubuntu box, POSIX sh should be easy to implement as Ubuntu already comes with dash.

Or just use /bin/sh which is 100% POSIX compliant and included on >all< linux machines

If piston is hosted on an Ubuntu box, POSIX sh should be easy to implement as Ubuntu already comes with dash.

Or just use /bin/sh which is 100% POSIX compliant and included on >all< linux machines

That's correct but it may not be what you want, depending on what you mean by "POSIX sh". Many distros have /bin/sh symlinked to Bash, which is a POSIX compliant but not a strictly POSIX compliant shell. That is, it adds (many) features on top of the POSIX standard. dash on the other hand only supports the subset of features POSIX mandates a POSIX-compliant shell to support.
The way I see it, it'd be a good idea to add a strictly POSIX shell to Piston as it would help answer questions of the likes of "Is this bashism or can I use it in other shells too?".

Piston already supports dash

Any remaining language suggestions should be split into their own issues and will be implemented on a per-issue basis


Update stellate config for Stick

Describe the bug
I have updated a new squid url for speck but seems there are huge changes with stick
To Reproduce
Steps to reproduce the behavior:

Expected behavior
I expect that we will use new URL

Only change the originUrl? If yes, safe to go 👍🏻
rules.types should only be affected by the cache events.

Yes :) it is a new deployment urls
Subsquid Cloud Update - 10.04.2024

[Cloud] New Squid Deployment URLs with organization-specific sub-domains at ${org}.squids.live. Now, each new project enjoys a distinct URL, like {your_organization_code}.squids.live/{squid_name}/graphql. This update applies solely to new deployments.

I have sent you a link to subsquid group

cc @preschian ?

updated


Google API Authenticating Users with an Identity Provider

I am still getting used to Xamarin.Forms and I am on very basic level. I went through many articles for my issue, but to the end couldn't resolve it. So...
Currently I am trying to add Google authentication inside my Xamarin.Forms application, which use Droid and iOS (no WP). So far I am following guide from here. I am using Xamarin.Auth to authenticate to Google.
Here is some part from my source code.
The problem is coming after my method complete it's work. So after my last line:
presenter.Login(authenticator);
everything looks alright and debugging I am following that compiler goes out of method without any errors, but then I receive exception, which you can see here. It's "No compatible code running".
Here some more information regarding my source code:

Source of "Constants" class used for client ids and URLs
Source of implemented methods for on authentication complete/error, which in fact still I cannot hit because of my error
Source of Android MainActivity where I added

global::Xamarin.Auth.Presenters.XamarinAndroid.AuthenticationConfiguration.Init(this, bundle);
Source of UrlSchemeInterceptorActivity
Here are the main articles I went through deeply => Link 1, Link 2 and Link 3, but still couldn't resolve the issue.
I am not sure where the error comes from, or can I can I continue debugging it to resolve issue.
Thanks in advance

Found solution, I provide it here

@Dermendzhiev
If you have found an solution and if it is not related to Xamarin.Auth (in this case it is not) please close the issue.
In the future please go to the community slack team channel where you can get help a lot faster.
Thanks

Closed issue: Invalid reference


Error 900 DAX Evaluate requires at least one table

Hello, I'm trying to create a new model and received a message
Error 900: Unhandled error - please report it and provide the trace id, if available. DAX Evaluate queries work only on databases which have at least one tables. Trace Id: 00-6f4fa4fccb4e4271216560e3d5f85c41-e4eae15b731496c6-00
Please can you help me

You need to create at least one table in the model, an "empty" model cannot be used (internal Power BI technical reasons). You can create a calculated table such as:
Dummy = { BLANK() }

Thank you but now I can’t activate bravo bravo template editor on visual studio and don’t now why it happens. I have the last version installed Sent from my iPhoneOn 28 Mar 2023, at 16:34, Marco Russo @.***> wrote:
You need to create at least one table in the model, an "empty" model cannot be used (internal Power BI technical reasons). You can create a calculated table such as:
Dummy = { BLANK() }
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@paulonobre63 Did you get any error message ? Are you trying to install Bravo Template Editor in Visual Studio or in Visual Studio Code ? Bravo template editor is a Visual Studio Code (VSCode) extension and it is not compatible with Visual Studio which is a different product ( see https://github.com/sql-bi/BravoTemplateEditor/issues/2#issuecomment-1366727350 )

No error message and I’m installing in visual studio codeSent from my iPhoneOn 28 Mar 2023, at 17:47, Alberto Spelta @.***> wrote:
@paulonobre63 Did you get any error message ? Are you trying to install Bravo Template Editor in Visual Studio or in Visual Studio Code ? Bravo template editor is a Visual Studio Code (VSCode) extension and it is not compatible with Visual Studio which is a different product ( see #2 (comment) )
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Did you enable workspace trust ? https://code.visualstudio.com/docs/editor/workspace-trust
When in Restricted Mode VS Code may prevent extensions from executing/loading.


wasm32_final_outputs test fails when Cargo 0.23 is compiled from rustc source tarball

When running cargo test from the src/tools/cargo directory in the rustc 1.22.1 source tarball, the wasm32_final_outputs test fails. It seems that the test is finding the rustc Cargo.toml instead of the cargo Cargo.toml and it fails because the test directory is not part of the workspace.
test wasm32_final_outputs ... FAILED
test wrong_message_format_option ... ok
test verbose_release_build ... ok
test verbose_release_build_deps ... ok

failures:

---- wasm32_final_outputs stdout ----
	thread 'wasm32_final_outputs' panicked at 'Can't create workspace: CargoError(Msg("current package believes it\'s in a workspace when it\'s not:\ncurrent:   /home/build/YPKG/root/cargo/build/rustc-1.22.1-src/src/target/cit/t118/foo/Cargo.toml\nworkspace: /home/build/YPKG/root/cargo/build/rustc-1.22.1-src/src/Cargo.toml\n\nthis may be fixable by adding `target/cit/t118/foo` to the `workspace.members` array of the manifest located at: /home/build/YPKG/root/cargo/build/rustc-1.22.1-src/src/Cargo.toml"), State { next_error: None, backtrace: None })', src/libcore/result.rs:906:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

failures:
    wasm32_final_outputs

test result: FAILED. 122 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--test build'

Thanks for the report! I think this is more of a bug with rust-lang/rust integration rather than Cargo, though, so I'm going to close this. Can you reopen on rust-lang/rust if you'd like to see it fixed?


Update to 0.9.0 - only Python version

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

error: failed to run custom build command for `lance-encoding v0.13.0`

  Caused by:
    process didn't exit successfully: `/home/conda/feedstock_root/build_artifacts/lancedb_1720299867023/work/target/release/build/lance-encoding-cb02a91587bef475/build-script-build` (exit status: 1)
    --- stdout
    cargo:rerun-if-changed=protos

    --- stderr
    Error: Custom { kind: NotFound, error: "Could not find `protoc`. If `protoc` is installed, try setting the `PROTOC` environment variable to the path of the `protoc` binary. To install it on Debian, run `apt-get install protobuf-compiler`. It is also available at https://github.com/protocolbuffers/protobuf/releases  For more information: [https://docs.rs/prost-build/#sourcing-protoc"](https://docs.rs/prost-build/#sourcing-protoc%22) }
  warning: build failed, waiting for other jobs to finish...
  💥 maturin failed
    Caused by: Failed to build a native library through cargo
    Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.10-64bit" PYO3_PYTHON="/home/conda/feedstock_root/build_artifacts/lancedb_1720299867023/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/bin/python" PYTHON_SYS_EXECUTABLE="/home/conda/feedstock_root/build_artifacts/lancedb_1720299867023/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/bin/python" "cargo" "rustc" "--target" "x86_64-unknown-linux-gnu" "--message-format" "json-render-diagnostics" "--manifest-path" "/home/conda/feedstock_root/build_artifacts/lancedb_1720299867023/work/python/Cargo.toml" "--release" "--lib"`

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


delayTime is not a String but an Integer

For delayTime to work (at least when using my dishwasher, this is the case. I assume the API is the same everywhere) you need to pass it as a number (int).
This is contrary to what the alerts from "Get programs details" would make you believe:
service: hon.start_program
data:
  program: iot_voice_delicate
  parameters: >-
    {'delayTime':'0'}
target:
  device_id:<PHONE_NUMBER>23456789

You actually have to pass it like this:
service: hon.start_program
data:
  program: iot_voice_delicate
  parameters: >-
    {'delayTime':0}
target:
  device_id:<PHONE_NUMBER>23456789

Fixed in 0.7.6. thanks for catching this


Allow port-forward from octant UI

Describe the problem/challenge you have
I use octant during development to see my cluster. I access a lot of services using port-forward function. At the moment I am using kubectl to do this.
Describe the solution you'd like
It would be good to have an action button/menu next to service or pod record to activate port forwarding.
Anything else you would like to add:
None
Environment:

Octant version (use octant version): 0.13.1
Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.4", GitCommit:"c96aede7b5205121079932896c4ad89bb93260af", GitTreeState:"clean", BuildDate:"2020-06-18T02:59:13Z", GoVersion:"go1.14.3", Compiler:"gc", Platform:"darwin/amd64"}
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): macOS 10.15.5

Hi @yogendra if your pod exposes a port, you can find the Port Forward button under on the Pod, Summary tab, inside the Container card. Currently we only have the ability to port forward directly to pods, but we an outstanding issues to enable port forward for services #721 and any open port #706

Ok that helps a bit. Didn't see that one.


Update documentation to compare with knockout

This seems like a great library that's bringing a lot of reactive programmers from different backgrounds together.  But in all the intro writings I didn't find any mention of Knockout.js which it seems most similar to.  I think a paragraph on how Vue compares with Knockout would be very useful.

Thanks, please move this issue to the vuejs/vuejs.org repo instead.


Mimicking Google Maps header image functionality?

I'm trying to mimic the functionality in Google Maps where a header image slides from behind the panel on the bottom and becomes part of the sliding panel layout. I can't seem to find a way to get any views above the panel. Is the possible right now?

Have an imageview in the main content and move it accordingly in the panel slide listener.


Link conan libraries depending on project build type

Is your feature request related to a problem? Please describe.
For now all conan libraries in linked statically not depending on project build type. I think we should build conan libraries shared for  all libraries we can and use them for project shared build. At least one thing we can not build shared is rocksdb that provides only C API for shared library because of this lines from its conanfile:
            if self.options.shared:
                self._remove_cpp_headers() # Force stable ABI for shared libraries

Describe the solution you'd like.
Project build type should be considered for conan libraries. So we need to set it somehow. For example for conan-cmake properties could be passed from a cmake file

@kstdl Isn't this already done ?


Design: Standardize styling for the Borderless and Striped table Styles

User story
As a ReportStream designer/engineer, I need our tables to be standardized, so that we can reduce the amount of technical & design debt and present our tables with visual consistency across the website.
Background & context
As part of this work, there are three styles of tables, this work covers the rest two variants of tables we will use on our site.
Here's is the first part of this ticket #9460 to create the first style - Bordered design of the table
Open questions
__

...
...

Working links
Links to any Figma, gDoc, or other working document

...
...

Acceptance criteria

[ ] Design spec document created for the Bordered table style
[ ] Review with Engineer

In progress.


Sci num py scrapper

Track main branch of nodes subrepo

To access Flojoy-studio build from this pull request, you can use the following URLs:
http://<IP_ADDRESS>:3000
http://546.flojoy-test.com:3000
Please note that it may take a few minutes for the instance to start up, so please be patient.
It is important to know that the instance will automatically shut down after one hour to conserve resources. If you wish to start the instance again after it shuts down, you can use this API :
https://kgpsoscpc4q52d4mtwuu7jhvie0qdiso.lambda-url.us-east-1.on.aws/start_instance?instance_id=i-0ea5272706ac30c47


Make prebuilt report accessible anonymously

I went to write instructions for how to access the prebuilt report from PR validation builds, but encountered an AzDO bug (feature? 😕) partway through where you can't dig into the artifact tree unless you have Microsoft auth.
The way it should work is that you to first go to the PR build via the source-build-CI Details link, and click this text that's meant to represent a button labeled "Artifacts": (AzDO interface is also pretty inconsistent/unintuitive here about the affordance...)

Then click into this hierarchy:

But anonymously, you can only download the entire logs artifact, and it doesn't even tell you how large it thinks it is even after starting the download--so you end up downloading >1GB of logs without knowing what you're getting into:

I filed an issue on AzDO a few years ago about this, but nobody addressed it. 🙁
We can work around it by modifying the yaml to publish the prebuilt report as yet another top-level artifact, to make its size manageable for unauthed download by separating it from the other logs. (This makes it easier to find too, but that's just a matter of being ok with a redundant artifact.)

@dagood please make it available as a top-level artifact, we don't want to wait for the AzDO issue to get solved.

Yeah, I don't anticipate AzDO resolving this.

Merged fix into master with https://github.com/dotnet/source-build/pull/1831.
Need to use the hidden-until-mouseover ... to initiate the download. Now it's on the order of MB rather than GB, so much more reasonable than before:


Generated Client Code Compile Failed!

I use the Hangar API  OpenAPI Document of PaperMC to generate client， build when I build, there occur some error.
The OpenAPI Document is:  Hangar API: https://hangar.papermc.io/v3/api-docs.yaml
Compile Error as Follow:

And the config as follow:

Package.swift swift-tools-version:5.8
Xcode Version 14.3 (14E222b)
macOS 13.4 (22F66)

Hi @wangzhizhou, thanks for filing the issue.
The problem you're hitting is that Swift OpenAPI Generator doesn't yet support query parameters that are object schemas. We're tracking this feature request in #35.
Until the issue is fixed, as a temporary workaround, you could comment out the pagination query parameter, which will make it not get generated, and hopefully that can unblock you for the time being. You could use something like a ClientMiddleware to inject the query parameter, if you really need to send it.
Since this is a duplicate, I'll close this issue, but it'll remain linked to the original #35, so please subscribe to get updates on that issue. Thanks!

ok, I will follow the #35

is this problem caused by OpenAPIKit ? or just because swift-openapi-generator unimplentation this feature of openapi spec ?

https://github.com/mattpolzin/OpenAPIKit/issues/288

No, this isn't an issue with OpenAPIKit, it's an unimplemented feature in Swift OpenAPI Generator.


Replies don't show nickname

How have you installed cordless

[x] git clone & go build .

What happened

System information

Key
Value

OS
Gentoo

Architecture
amd64

Terminal
st

Go version
1.16.5

Because of the way discord's API and discordgo work, you can only get yourself from the State.memberMap object and therefore State.Member only returns valid results for yourself

Also duplicate of https://github.com/Bios-Marcel/cordless/issues/245

It seems in reality no nicknames show at all


BarChart: Last bar is not fully displayed

I want to display many bars in my app.  The chart scrolls, but the last bar is not fully displayed.
Can somehow help me?

Here is some dummy preview code:
@Preview
@Composable
private fun Preview_VerticalBarChartPreview() {
    val barData = (1..11).map { i ->
        co.yml.charts.ui.barchart.models.BarData(
            point = Point(i.toFloat(), i.toFloat() * 10),
        )
    }
    val barChartData = BarChartData(
        chartData = barData,
        xAxisData = AxisData.Builder()
            .shouldDrawAxisLineTillEnd(true)
            .startDrawPadding(24.dp) // ?
            .labelData { index -> barData[index].label }
            .build(),
        backgroundColor = Color.Transparent,
        barStyle = BarStyle().copy(
            barWidth = 24.dp,
            paddingBetweenBars = 12.dp,
        ))

    BarChart(
        modifier = Modifier
            .height(300.dp),
        barChartData = barChartData
    )
}

Any help is welcome:)

@OlliZi Did you find a way to do this? Or disable scroll altogether?

Scrolling works. But no another configuration provided by YCharts.
Mi (ugly) solutions (i have to release): Add another empty bar with no value and no label.
// fix https://github.com/yml-org/YCharts/issues/138
fun BarData.addExtraEmptyPieceToFixRightCutBar(): BarData {
    return copy(bars = bars.toMutableList().apply {
        add(BarDataPiece(0, "", Color.White, legend = ""))
    })
}

Add next values to barChartData

    paddingEnd = 0.dp,
    horizontalExtraSpace = 44.dp,


Full Custom Tasks Support

Added full support for custom task names. When using custom task names, a new field task has to be specified in the configuration of the corresponding head node. The task gets propagated to all the modules attached to the head (losses, metrics, etc.).
Example
Labels
labels = {"segmentation-task": ...,
          "boundingbox-task": ...,
          "keypoints-task": ...}

config.yaml
nodes:
    ...
    - name: SegmentationHead
      # single-task head requires just the new task name
      task: segmentation-task

    - name: EfficientKeypointBBoxHead
      # multi-task heads require a mapping from the default names
      # (string representations of the corresponding `LabelType`) to the new custom task names
      task:
        keypoints: keypoints-task
        boundingbox: boundingbox-task

Subclassing Changes
Minor breaking changes introduced for implementing custom nodes and attached modules.

Specifying task types and required labels using class attributes instead of __init__ arguments.
Removed protocols for attached nodes

BaseAttachedNode.get_label and BaseAttachedNode.get_input_tensor now do the checking insteadd

Nodes
old_node.py
class CustomNode(BaseNode):
    def __init__(self, **kwargs):
        super().__init__(**kwargs, _task_type=LabelType.SEGMENTATION)

new_node.py
class CustomNode(BaseNode):
    # either a list of `LabelType`s or a mapping from `LabelType` to a default task name,
    # the following is equivalent to `tasks = {LabelType.SEGMENTATION: "segmentation"}`
    tasks = [LabelType.SEGMENTATION]
    def __init__(self, **kwargs):
        super().__init__(**kwargs)

Attached Modules
old_loss.py
class CustomLoss(BaseLoss):
    def __init__(self, **kwargs):
        super().__init__(
            **kwargs,
            required_labels=LabelType.SEGMENTATION,
            protocol=SegmentationProtocol,
        )
    def prepare(self, inputs: Packet[Tensor], labels: Labels):
        # presence of the "segmentation" key is validated beforehand by the `Protocol`
        predicted_masks = inputs["segmentation"]
        # validated beforehand using `required_labels`
        label_mask = inputs["segmentation"]

new_loss.py
class CustomLoss(BaseLoss):
    # list of all tasks this module supports
    # can contain either standalone `LabelType`s or tuples of `LabelType`s
    # tuple specifies that all of the tasks in the apple must be provided
    supported_labels = [LabelType.SEGMENTATION]
    # [(LabelType.BOUNDINGBOX, LabelType.KEYPOINTS)] would mean that the module
    # requires both of these tasks to be present in node outputs and labels
    def __init__(self, **kwargs):
        super().__init__(**kwargs)

    def prepare(self, inputs: Packet[Tensor], labels: Labels):
        # returns the correct input tensor from the node outputs
        predicted_masks = self.get_input_tensor(inputs, LabelType.SEGMENTATION)
        # returns the correct label based on the task of the attached `BaseNode`
        label_mask = self.get_label(labels, LabelType.SEGMENTATION)

Now that most of the protocols were removed do we still keep the FeaturesProtocol?

That one is used in BaseNode subclasses which still use protocols. I'll probably remove it too at some point, but that would be in a separate PR.

Are the LuxonisDataset datasets created before still compatible with this newer version of luxonis-train/luxonis-ml?

No, only datasets created after #110 are compatible (luxonis-ml>=0.2.0).


kapp reads confirmation prompt from stdin not tty

What steps did you take:
simplified example (real case uses a json input not jq --null-input):
#!/bin/bash -e -u -o pipefail
jq -r --null-input '["app1","app2"]|.[]' | while read -r app; do
  kapp deploy -a "$app" -f "manifests/$app.yaml"
done

What happened:
Op:      ...
Wait to: ...

Continue? [yN]: app1
invalid input (not y, n, yes, or no)
Continue? [yN]: app2
invalid input (not y, n, yes, or no)

What did you expect:
kapp to prompt for confirmation and read input from the tty since --yes was not passed.
Anything else you would like to add:
The bug here is that kapp tries to read interactive confirmation from stdin. That's rarely correct; the user may
kustomize build foo | kapp deploy -f -`

for example. But within the while loop, stdin points to the output of the jq command. kapp wasn't given -f - or anything so it isn't expected to read from stdin.
It should do what sudo and other tools do - detect an interactive tty and read directly from the tty, rather than stdin.
Workaround
To work around the bug, dup the stdin fd before you enter the loop or pass the pipe, e.g.
#!/bin/bash -e -u -o pipefail
# save stdin fd, so we can tell kapp to use it for prompting
exec 3<&0
jq -r --null-input '["app1","app2"]|.[]' | while read -r app; do
  # pass kapp the original stdin
  kapp deploy -a "$app" -f "manifests/$app.yaml" <&3
done

or
#!/bin/bash -e -u -o pipefail
exec 3<&0
kustomize build foo | kapp deploy -a myapp -f -

Environment:

kapp version 0.63.2
Ubuntu 24.04 LTS
Kubernetes Server Version: v1.29.2

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

@ringerc Thanks for creating the issue. In general, folks just pass -y when they want to pipe the output from some other tool to kapp or when they want to deploy multiple apps.
I agree that kapp should be reading the confirmation from tty, so I am marking it as accepted. I am not sure when the maintainers will be able to pick this up, however we would be happy to review if you would like to contribute a PR.

Also, you might find kapp app-group deploy interesting if you are trying to deploy multiple apps based on folder structure.

Thanks for the tip


Add smoothquant support

🚀 The feature, motivation and pitch
This is smoothquant:
https://github.com/mit-han-lab/smoothquant
It's awesome.
It's been added in Aphrodite here:
https://github.com/PygmalionAI/aphrodite-engine/pull/294
I would like to request smoothquant in vllm.
Alternatives
No response
Additional context
No response
Before submitting a new issue...

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

hi, maybe u can refer to https://github.com/vllm-project/llm-compressor?tab=readme-ov-file

This example shows how to make models using SmoothQuant:

https://github.com/vllm-project/llm-compressor/tree/main/examples/quantization_w8a8_int8

Ok thank you


Fix prompt setup when loaded using zsh prompt function

This is very similar to https://github.com/bhilburn/powerlevel9k/commit/f46c1bc11b4bd41be1f6feac61d1944891aa6830
It's based off code in zsh itself. prompt_opts are used when the prompt was loaded via promptinit/prompt and the setopt is a workaround for oh-my-zsh to ensure all the proper prompt options are set.

Wow, didn't know about it. Would it affect users that use $ZSH_THEME with OMZ?

Possibly, but probably not. OMZ doesn't end up calling prompt so these options don't get reset. Additionally, I think prompt_subst is set every time the title is updated (I'm not familiar with OMZ very much, as I work on prezto, but this looks relevant: https://github.com/robbyrussell/oh-my-zsh/blob/3705d47bb3f3229234cba992320eadc97a221caf/lib/termsupport.zsh), so at least that will be enabled.