Support Immutable Data Structure or Introduce a builder API

The initial importing and exporting using HTML or Markdown is good but its not the one that fits every requirement
Problem
Suppose I have a backend, I can store the output of this editor as HTML or Markdown , Now that goes to my database, I have a website which is built using React which needs to display this rich text in another editor which is built using React or Javascript, If I store it using HTML, well I must be able to parse and display the HTML exactly like this editor does otherwise differences will be introduced. If I store markdown, I will have to make sacrifices on features that markdown doesn't support, An immutable data structure makes it very easy
We make very clean, immutable data classes storing only primitive types like strings, representing the rich text in editor
Solution
A immutable data structure model must be created
Since data classes would be immutable, The structure will be clear so user knows all the types of models our editor has suppose ImmutableParagraph, ImmutableRichText(val isBold, ...)
The data structure would only contain properties that the editor supports and to methods to convert to the mutable data structure that is editable when editor is running
for example
internal data class ImmutableRichTextParagraph(
    val items : List<ImmutableRichItem>
){
    fun toRichTextParagraph() : RichTextParagraph {
        val para = RichTextParagraph()
        para.addSpans(items.map { it.toRichTextSpan() })
        return para
    }
}

In Kotlin, usually immutable classes don't start with immutable word and instead mutable classes have mutable in their names like List and MutableList, since mutable classes are already internal, This change could be made any time when the data structure is mature enough
Pros

Standardizes Everything in Immutable Data Classes that Rich Text Editor supports
This immutable data structure can be taken out and separated into core library
More export and import formats can be supported by just creating libraries that would convert to this immutable data structure
Clean code with better organization and structure

Cons

Maintain compatibility with previous versions of data structure (if supporting JSON serialization)
More code

Thoughts on Exposing Core Data Structure
The data structure must be separated out to another library core, The editor must make implementation dependency on core, so Users cannot access the data structure unless they explicitly specify a implementation dependency on the core library
This would solve

No need to have internal on each data class, making it unable to use with a solid use case
Hide data structure from users, so library API is not polluted and allow to work on the model until its stable

Where when the user gives HTML , The HTML parser parses the html to this immutable data structure, When markdown is given the parser converts to this immutable data structure
Supporting JSON Serialization
If users were to store the immutable model as json in their databases, We must maintain compatibility backwards

Renaming a property, we must use @JsonNames("previous_property_name") annotation from kotlinx.serialization on the new property
Removing a property, Either we must make sure user deserializes his json using the option ignoreUnknownKeys in kotlinx.serialization library, or we need to make it nullable and set its default value to null and make the property deprecated
Adding a property, No requirement, since if we added a property in new version of the library, user can only generate json with that property using the new version of the library, previous version of the library just cannot deserialize it

Let me know if you need any help, I can contribute

Either immutable data structure or a builder API is required to be able to convert from existing data structure to Rich Text Editor
Currently classes have constructors that are ambiguous , requiring children and text and other values that must be left blank or given, This doesn't make sense as whether one should supply text or children
If a builder API is introduced , User's could convert to and from their own data structure to a model that rich text requires
Builder API can make it simpler with multiple functions with same names but different types
buildParagraph {
   addText("my text")
   addText("my text", makeBold = true)
}
buildParagraph("complete text of the paragraph")
buildParagraph("complete text of the paragraph",Alignment.Left)

again I will contribute a PR on this but in a distant future as soon as I am free,

I will take a look at this as soon as I get time.

That sounds interesting but there's only one problem with this approach, which is that react app for example doesn't know anything about this structure and they need to implement a lot of logic to transform that JSON to HTML and to transform the HTML back to JSON, it's a lot of additional work and in this process the HTML could be changed as well so problem is not solved.

No, We don't need to care about how other editors display our data structure
A lot of rich text editors for web (good ones) have their own data structure, They don't require users to type out HTML to display (of course), When we type out JSON, The rich text editor converts JSON to HTML however they like, and display it for users to edit and then allow exporting JSON
If I wanted to use another rich text editor on my website, I would just need to convert whatever is stored in my database to the data structure or JSON that their rich text editor supports
I could even go further and invent my own data structure and store that in my database and whenever I want to display it in a rich text editor, I just convert it to the data structure that that rich text editor supports, this is what I should do because both rich text editors could change their data structure any time, having my own
https://editorjs.io/

Ah ok I get your point, that would be really cool. You need to consider not using data classes. We can't provide data classes as public APIs in libraries because they don't support binary compatibility so the classes needs to be just normal class with hashCode and toString implementations.

Good to have

All the properties of classes should be immutable, meaning val not var
Classes shouldn't have multiple properties for the same thing like ->

for example children & text, Instead class should have a property children, and a secondary constructure that takes text as parameter & converts text to children and calls primary constructor

[ ] I will create a new branch called core and the work about this feature is going to be merged there until its finished.
[ ] Create new richeditor-core module
[ ] The classes could be similar to the existing mutable one.
[ ] For the naming I suggest renaming the existing classes to MutableClassNameand name the new ones ClassName.
[ ] We can move as much code as we can to the new
[ ] Decouple some classes from compose (ex: removing TextRange...)

Should I do this ?
Another question, why do we need to maintain binary compatibility, isn't API compatibility enough, every time users use new version of library, they are going to recompile the app with the new version too, then why ?

Take a look at this article by Jake Wharton: https://jakewharton.com/public-api-challenges-in-kotlin/
Also we are not gaining any advantages by using data class here so can use just a simple class


Can it support GestureRecognizer？ swipe left edge to dismiss

As title desc.
Versions (please complete the following information):

Device: [e.g. iPhone12]
OS: [e.g. iOS16.2]

Sorry, It's my problem, I didn't found the way to solve the problem yet, the PagerTabStripView support swipe left edge to dismiss, so I close the issue

how does it support swipe left to dismiss? i couldn't find


should we move Core Web Vitals to their own package?

main reason being it turns the google package into a peerDep of libs regardless of what you're using from it.
i'm getting warnings about it being missing when using libs in another node module.
i don't want to add it to keep that warning quiet.
maybe anything that has a peerDep should not be included in libs?
any thoughts?
cc @mxdvl @guardian/client-side-infra

I think that’s a valid point, and it would be better to keep @guardian/libs dependency-free. Any idea where it might live instead?
I’ve been thinking recently about creating a better abstraction around this anyways, and we could possibly move the core-vitals dependencies back to the consumers. Something like below, where the init function returns a method you can call to register sending the metrics at page unload:
/** List of collecting functions to run at page unload */
const collectors = new Map<string, () => void>();

/** Initialiser logger */
const init = ({ label, collector }: {
  label: string;
  collector: () => void;
}) => ({
  /** Call this function to schedule collection at page unload */
  schedule: (consent: boolean) => {
    if (!consent) {
      console.warn(`No consent for “${label}” logging`);
      return;
    }

    if (collectors.has(label)) {
      console.warn(`Overriding “${label}” logging`);
    }

    collectors.set(label, collector);
  },
  /** Call this function to stop collection at page unload */
  remove: () => {
    console.warn(`Removing “${label}” logging`);
    collectors.delete(label);
  },
});


Allow user with view permissions to view the history

Description
Currently, a user with view permissions can see the model instance itself, but not the history.
With this change, users with view, but not change permission, can see the history, but not revert etc.
Related Issue
https://github.com/treyhunner/django-simple-history/issues/475
Motivation and Context
With this change, users with view, but not change permission, can see the history, but not revert etc.
How Has This Been Tested?
Has been tested in a project i'm currently developing, and in which I noticed this.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Working on the tests.

@dgerritsen Thanks for this! A few comments:

view permissions are only available as of django 2.1, so we need to make this backwards compatible. We support back to django 1.11.
Definitely need automated tests for this

@dgerritsen are you still working on this?

Sorry, I've been a bit busy with other stuff lately. Will try to work on this the next few days.

@dgerritsen any update?

I have no clue how to make this backwards compatible, and I can't figure out how to get those tests working. Anyone willing to think with me?

@dgerritsen happy to help explain. Most of the tests are failing because has_view_permission is a function that only exists in Django 2.1, but we're testing on Django versions 1.11, 2.0, and 2.1. Thus, the code has to do different things depending on the version. For example, you may want something like:
import django
if django.VERSION >= (2, 1) then:
    return self.has_view_permission()
else:
    return self.has_change_permission()

However, this PR is a little more complicated, as it's not entirely clear that we want view-only users to be able to view the history. It feels like a separate permission to me. I don't want to assume that users with the view permission have the ability to view history. Going to close this PR and handle it myself because there are some weird edge cases here


Address jnpl-slave OOM'd Due to Mismatch Between cgroups and Java

It seems that using a node type other than n1-standard-1 causes the jenkins agent to get oom killed by k8s. This seems to be a mismatch between what java decides is it's heap and what the cluster is going to allow.
https://dzone.com/articles/why-my-java-application-is-oomkilled

https://bugzilla.redhat.com/show_bug.cgi?id=1515968

https://developers.redhat.com/blog/2017/04/04/openjdk-and-containers/


Threshold USD

Entry type

New addition

App info
URL: https://app.thresholdusd.org/
Manifest.json URL: https://app.thresholdusd.org/manifest.json
Name: Threshold USD
Description: Threshold USD (thUSD) is a stablecoin soft-pegged against USD and backed by ETH and tBTC
Icon (PNG, 180x180):

Homepage: https://thresholdusd.org/
Twitter: https://twitter.com/ThresholdUSD
GitHub: https://github.com/Threshold-USD
Discord: https://discord.com/invite/threshold
App supports batching multiple transactions via Safe: no
Supported networks
- Mainnet
- Sepolia
- BOB Mainnet
- BOB Sepolia

Revision checks

[x] Used smart contracts were audited.
[x] You have implemented the app using the Safe Apps SDK
[x] Your Safe App includes a manifest.json file at the root with the required data
[x] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
[x] The app auto-connects to the Safe as a wallet
[x] It doesn't try to connect to the browser wallet (e.g. MetaMask)
[x] You are able to trigger and execute one transaction with a Safe.
[x] RPC requests are optimized (not triggering many requests in a very short time period).

Audit document
MixBytes - https://github.com/mixbytes/audits_public/tree/master/Threshold Network/Threshold USD
Cantina - https://cantina.xyz/portfolio/7b136074-0ba7-42a5-bc77-630f535cf26e
Code for review
https://github.com/Threshold-USD - dev package
Team information
Company: Threshold Foundation
Official website: https://threshold.network/
Point of contact: Evandro Saturnino
Email/Telegram: Telegram Handle - @Saturnino_9

This one is approved by the product team.

@evandrosaturnino the app doesn't auto-connect to the Safe, why did you tick the corresponding box?

@evandrosaturnino the app doesn't auto-connect to the Safe, why did you tick the corresponding box?

@katspaugh Sorry it must have been an internal miscommunication issue on my side - However, this issue has been addressed, the safe app should connect automatically now.
Please let me know if there is anything else I can do to expedite the integration process. Thank you

The app doesn't show a log in the card:

LGTM

Published, thanks!
https://app.safe.global/share/safe-app?appUrl=https%3A%2F%2Fapp.thresholdusd.org%2F&chain=eth


feat: add miro web plugin

It adds integration of the Miro dashboard as a web plugin.
It also introduce Webpack build configuration in separate files.

Also play a dice roll sound on roll (demo and miro web plugin)


Add native targets

I added all native targets that kassert supports which are:
    "linuxX64",
    "macosX64", "macosArm64",
    "iosArm32", "iosArm64", "iosX64", "iosSimulatorArm64",
    "tvosArm64", "tvosX64", "tvosSimulatorArm64",
    "watchosArm32", "watchosArm64", "watchosX86", "watchosX64",
    "watchosSimulatorArm64",

Thanks and sorry for the very late review. But the build fails for me with:

Some Kotlin/Native targets cannot be built on this linux_x64 machine and are disabled:
    * In project ':core':
        * targets 'macosX64', 'macosArm64', 'iosArm32', 'iosArm64', 'iosX64', 'iosSimulatorArm64', 'tvosArm64', 'tvosX64', 'tvosSimulatorArm64', 'watchosArm32', 'watchosArm64', 'watchosX86', 'watchosX64', 'watchosSimulatorArm64' (can be built with one of the hosts: macos_x64, macos_arm64)
    * In project ':extensions':
        * targets 'macosX64', 'macosArm64', 'iosArm32', 'iosArm64', 'iosX64', 'iosSimulatorArm64', 'tvosArm64', 'tvosX64', 'tvosSimulatorArm64', 'watchosArm32', 'watchosArm64', 'watchosX86', 'watchosX64', 'watchosSimulatorArm64' (can be built with one of the hosts: macos_x64, macos_arm64)
To hide this message, add 'kotlin.native.ignoreDisabledTargets=true' to the Gradle properties.

could it be this only works on a mac?

You can't build mac binaries without a mac. But that shouldn't cause an error, are you sure that's not a warning?

you are correct - was just a warning - thanks!

guess this needs some work on workflows so these targets are build on mac workers - unfortuntately I do not really have time to work on this - but would merge PRs in this direction


Fix re-sizable BlockGridItems

BlockPreview - Resizable BlockGridItems
Incorrectly assigning ColumnSpan & RowSpan values
Block Preview incorrectly assigns Model.ColumnSpan and Model.RowSpan values to BlockGridItems when being displayed in the back-office.
Fix: Iterated over the layoutItems present in blockData and checked each entry for a matching ContentUdi before assigning the ColumnSpan and RowSpan values.
Added watch values for block element resize
BlockPreview does not watch for changes to BlockGridItem ColumnSpan or RowSpan values. When a block element is resized within the back-office, the view is not re-rendered.
Change: Added additional watch values to the Angular controller to re-render block elements that have been resized within the back-office.

Hey @kevin9092, thanks for the PR! Just tested it and it all looks great, so I'll merge and it'll get released in the next minor!
Also, I've added the hacktoberfest-accepted label as this is a valid PR for Hacktoberfest!


Restructure scripts to conform with other demos; add Jenkins support;…

… update documentation

please test this

please test this

test this please

We are gonna need to squash these commits into units of work.

Commits squashed 👍

/lgtm


Sync 2023a branch with main branch

Sync 2023a branch with main branch
Description
All the missing commits were cherry-picked from the list https://github.com/opendatahub-io/notebooks/compare/2023a...opendatahub-io:notebooks:main
How Has This Been Tested?
Pre-tested in main branch
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

/test images

Given #81, do we still need this ?


Sheets importing system

Implement an importing system, where guild masters will be able to import data from their sheets in order to agilize the proccess of starting using the bot.
There will be a template, that would be filled with the player's data.

Implement exporting data from website to .csv or .xlsx files.


Add Bundle.Init (analogous to VecInit / Bundle.Lit)

I sketched out a version of this here: https://scastie.scala-lang.org/D0948BD1SgeZEqLGkVBoJg
Ideally this (and VecInit for that matter) would:

compose
utilize DataView -- (we probably cannot change VecInit but views here so that you can connect to the underlying fields would be nice)

Regardless, this sketch is useful on its own even without the more robust solution

Type of issue: bug report | feature request | documentation | other enhancement

Impact: API addition (no impact on existing code)

Development Phase: proposal
What is the use case for changing the behavior?
Useful API for users

Bundle expressions is a feature that I recently would have liked to use. Do you know how this is different from Bundle literals though?

Do you know how this is different from Bundle literals though?

Bundle literals require that everything field is initialized to a literal whereas Bundle.Init would allow anything. Do the names of the APIs need to be different? Unclear but they are very similar.

Do the names of the APIs need to be different? Unclear but they are very similar.

I think Bundle.Init seems like a more consistent API and it would be cool if it could replace Bundle literal as long as you make sure to assign all elements.

@jackkoenig anyone working on this issue? is it okay if I pick it up? I would need some info on where we want to add this API and how to integrate it with the whole system.

Hi @poddar92 and welcome! Feel free to pick this one up, the sketch in the Scastie should serve as a good starting point. You should also feel welcome to join Chisel dev meetings which are on Mondays at 11 am Pacific Time (https://github.com/chipsalliance/chisel3#chisel-dev-meeting).
The basic idea is to take that sketch and add the implicit class inside of package object chisel3: https://github.com/chipsalliance/chisel3/blob/master/core/src/main/scala/chisel3/package.scala
You should then add some tests that show that it works similar to the Vec literal tests, a good test to start with is one that does something like this test: https://github.com/chipsalliance/chisel3/blob/bc55ed16bdcc7fcc08d29f8bcbdf89cdefced96a/src/test/scala/chiselTests/VecLiteralSpec.scala#L79
Please add it to a new file though called BundleInitSpec in the same directory as that VecLiteralSpec.
That would be a good start for a draft PR and we can discuss more on the PR.

@jackkoenig do we want to recurse though the bundle and then initialize them? what if one of the elements is a Vec? above solution might not work right?
Should we follow how Bundle.Lit does it?
Also; i see the below error with above stech:
[error] /Users/radhikapoddar/chisel3/core/src/main/scala/chisel3/package.scala:395:24: macro implementation not found: materialize [error] (the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them) [error]         val init = Wire(bun)
is it because we are trying to assign the bundle directly without defining its type in Wire first? is this related to sourceInfo?


Lock to specific version

Hello, I'd like to request a feature to lock onto a specific server version.
Setting VERSION=<IP_ADDRESS> should download that extact version, but currently its ignored and it download the latest.
This is useful to avoid bugs or broken mechanics that an early version could introduce.
Thanks

I had already been planned on improving the conditional for LATEST, so I’ll adjust the specific version handling while I’m in there.

Thanks you.
Im not a bash expert but would this change be as easy as changing *) to LATEST) in the entry point script?

Pretty much, yep :) and then I'll re-purpose the wildcard * for the specific version retrieval case you requested.

Thansk you. I appreciate it

Thank you for making the request. This is now available on Docker Hub.


Adaptor multiple environments

Is there guidance on how you can use/configure the mixer adaptor to support multiple Apigee environments (say Dev, Integration, Test).  In effect, this is a segregation / tenancy question.
'apigee-istio provision ...' creates a handler for one apigee environment.  How could multiple apigee environments work within the context of a single istio control plane/mixer; run multi adaptors containers in -n istio-system?
Clearly istio doesn't currently have a  model for soft multi tenancy, i.e. the idea of isolating different control planes in different namespaces isn't available, which means it's not clear how you'd setup multiple staging environments in a k8 cluster.
Any thoughts appreciated.

Makes sense.  Thank you for the timely reply Ganyo, really appreciated.


HashiCorp Configuration Language (HCL) Support

The HashiCorp Configuration Language (HCL) is becoming very popular these days and also very handy to have in other projects such as MediaWiki, which make use of pygments.

Specification: https://github.com/hashicorp/hcl
@hairmare ^

pygments does support HCL but you have to label it as terraform which isn't 100% accurate, but seems to work pretty well for me.

Good catch, totally mist that one. Thanks!

Can you please have a look at #1756? Feedback is welcome. Thanks!

@lgiordani I have a block that looks like this, which is failing when using pygments 2.9.0 with WARNING: Could not lex literal_block as "terraform". Highlighting skipped. Strange thing is this syntax is valid with both HCL 1 and HCL 2, and it was working fine with pygments 2.8.1.
```terraform
provider "aws" {}

module "test-lx-instance" {
  source = "git::https://github.com/plus3it/terraform-aws-watchmaker//modules/lx-instance/"

  Name      = "tf-watchmaker-lx-autoscale"
  AmiId     = "__AMIID__"
  AmiDistro = "__AMIDISTRO__"
}

@lorengordon I'll have a look as soon as possible, thanks for the test case

Can someone confirm this fixed by #1756? I see an error on the first } but that seems unrelated?

I am using terragrunt that also uses HCL for configuration. The changes from #1756 do not fix that. Should I open another issue for this (even though it's using HCL)?
An example for terragrunt's configuration is below:
terraform {
  source =
    "github.com:foo/infrastructure-modules.git//app?ref=v0.0.1"
}
inputs = {
  instance_count = 10
  instance_type  = "m4.large"
}

Given #1756 doesn't fix your issue, but is already merged, I'd suggest to open a new one. For my understanding: Is terragrunt using a dialect of HCL or is that a problem for "plain" HCL?

@Anteru The linked PR #1756 is included in the 2.9.0 release and does not appear to fix this issue. I can't test what it does work for, but it does not work for basic Terraform syntax that is the same in both HCL2 and HCL1, as I mentioned above.

Hi all, my work on #1756 was checked against a large Terraform code base (~100k lines), but I didn't implement the HCL specification following it rule by rule, so I'm not surprised that isn't covered. I think it's simpler to open a new issue with the failing use case and steps to reproduce so that whoever has time to look into it can easily create the test environment.

@lgiordani Just closing the loop, there's a patch for the problem I was noticing in #1987 ...

Thank you @lorengordon!

Can confirm #2097 fixed the issue for us, in the 2.12.0 release.

Thank you @lorengordon!


Gift Entry Payment Services: Read configuration from application storage

The global PS_IntegrationService.setConfiguration() method stores configuration sets used for callouts to Elevate Payment Services.  This set of changes reads those configuration values from application storage when the Elevate SDK is loaded and when the callouts are made.
Critical Changes
Changes
Issues Closed
Community Ideas Delivered
New Metadata
Custom Label:

gePaymentServicesConfigError

Deleted Metadata

**lurch: attach W-040742


Packaging an iOS component

Here I have submitted a pull request for updating a react-native documentation (added a new file "Packaging an iOS component ") in guides(ios) -> Packaging an iOS component

By analyzing the blame information on this pull request, we identified @bestander and @sebmarkbage to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

ping @Kureev @grabbou

Looks good! I left few comments & questions. I am by no means an english expert, but what I find helpful is the http://www.hemingwayapp.com/ app - will highlight tricky sentences and constructs that are hard to read. Might be useful if you want to play around :)

@bestander on that note, shouldn't cli be able to scaffold an empty plugin boilerplate? Just like we do init, we could do init-module? I have a boilerplate internally that I am using in every project, might submit a PR with it as a companion to this docs.

@bestander on that note, shouldn't cli be able to scaffold an empty plugin boilerplate? Just like we do init, we could do init-module? I have a boilerplate internally that I am using in every project, might submit a PR with it as a companion to this docs.

It all depends.
If it itches then scratch it :)

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @bestander as a potential reviewer. Could you take a look please or cc someone with more context?

I have committed the changes suggested by you (cc:@bestander  @Kureev and  @grabbou). Please  share your thoughts.

cc @JoelMarcey, how does it fit our docs work?

(cc:@JoelMarcey,@bestander @Kureev and @grabbou).Is everthing fine to accept it . If not,what else do I need to merge my request.Please guide me to proceed further.

@Hari70a, we just need to coordinate a few things.
Right now we are working on improving Docs in general and all doc changes need to be in sync with the other ones.

@Hari70a Are there supposed to be two new .md documents? They look very similar to me, if not exact (I think).

@Hari70a I commented on the first .md file, but I think you want to keep the second one. Either way, both documents are the same, so just apply the comments to the one you keep :)

My overall impression is use less images.

@Hari70a Hi. Are you planning to add some more commits to remove the duplicate markdown file and address some of the other comments?

@JoelMarcey . Hi .Thanks for your feedback. I have  encountered most of the comments suggested by  you .I have also removed  the duplicate  mark down  files . Awaiting for your approval

@Hari70a Hi. Thanks for addressing some of my comments. Can you please rebase your pull request on top of the latest master? I noticed that your change to CommunicationIOS.md was on an older version of that file that does not contain a previous: in the metadata.
I added some more comments as well.
@caabernathy mentioned not having images; she won't be able to comment here for a bit, so for the sake of getting this out, we can keep them and maybe remove them later.
@grabbou Any other thoughts on this?

@Hari70a updated the pull request.

@Hari70a Did you add new commits? I don't see them here. Or did the bot just go a bit crazy?

@JoelMarcey Actually I have rebased  my  cloned master to the repo's latest master . I am facing some issues while running locally ReferenceError: Unknown plugin "transform-flow-strip-types" specified in "base" at 0, attempted to resolve relative to "."
That's why I was unable to do my commits..

ReferenceError: Unknown plugin "transform-flow-strip-types" specified in "base" at 0, attempted to resolve relative to "."

This thing can happen if you run packager from a wrong folder.

@Hari70a, anything blocks you here?

@Hari70a still planning to ship this?

I vote we document this instead in our docs: https://github.com/frostney/react-native-create-library

@mkonicek on that note, I could PR to react-native-create-library so that it works as a plugin (before we try to merge it). I am opening an issue in the library :)

I agree with @mkonicek - we should encourage some external tooling like react-native-create-library instead. @lelandrichardson also expressed some interest in working on a tool here. I'm going to close this pull request but thanks everyone for helping out!


Adding inner hits docs

Description
Adding inner hits documentation
Issues Resolved
Partly of  7507
Version
all
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@AntonEliatra Thanks for a detailed documentation. Looks great, just couple of minor comments.

@AntonEliatra Could you also add this and the search shard routing to the table in the index page for searching data? https://opensearch.org/docs/latest/search-plugins/searching-data/index/

@natebower I've pushed the update now. I left some comments on parts that I'm not entire sure on.

@AntonEliatra Please resolve merge conflicts; then we'll be ready to merge.


Submission stuck in preparing status

Hi,
We are experiencing issues on our two competitions :
https://www.codabench.org/competitions/3282/
https://www.codabench.org/competitions/2378/
Until today both were running without issues, now submissions are stuck on "preparing" status. Both competitions run on the same private queue with workers on our servers.
On the worker side all seems ok until getting the bundle, followed by the following error :
Task compute_worker_run[ab80e469-45ca-4341-a24e-8d9aae058212] raised unexpected: URLError(ConnectionResetError(104, 'Connection reset by peer'))

Hello,
It seems like submissions on our default queue, as well as other private queues are not having this problem.
Could the problem be coming from your workers ?
Could you share more logs from your worker ? It seems like there is an initial connection that succeeds, since the submission updates from Submitting to Preparing, so it's not like the connection is reset from the start. Something must be going wrong after the initial connection.
2 things you could try:

Reboot the workers VM (and potentially the bare-bones machine they are on if possible, and if the VM reboot didn't fix the issue)
Create a new worker VM from scratch

Thank you for the advices. We ended up restarting all worker with no luck. However once all submissions stuck in queue where submitted (and failed as described) it went back to normal.
What we did observe was that submission started to get stuck once the current phase was finished, we extended it and did not observe this on the new submissions.


Add manual bot restart feature and clean up hardcoded Telegram ID

Add manual bot restart feature and clean up hardcoded Telegram ID

Implement manual restart functionality for the bot via Telegram
Automatically restart the bot upon encountering errors
Remove hardcoded Telegram ID from the script for flexibility

Nice bot btw!

@Poryaei can you review my PR?

You've just removed some of the functionality.....

Thank you for the effort you put in!
But the code you wrote has some issues! and it causes disruption, as our friend @IgorGradov mentioned.
Unfortunately, the pull request is not being accepted.


Update R-Wrapping from SimpleITK

Hi, in the upstream version of SimpleITK R wrapping has become quite smooth lately. Would it be hard to merge these changes into SimpleElastix?
Best
Stefan

Hi Stefan
Merging these changes is indeed planned. I am waiting on the next release of SimpleITK before incorporating the changes because SimpleElastix is based on SimpleITK's release branch for stability. You can speed up the process by providing feedback on the SimpleITK RC when it comes out :blush:
Kasper

Awesome, thanks.
Stefan

New R bindings have now been merged into SimpleElastix.


Relax GUI freezes during IBD (when using wallets)

Calling updateSmartFeeLabel and therefore estimateSmartFee is pointless during IBD.
GUI freezes appear because estimateSmartFee competes with processBlock for the m_cs_fee_estimator lock leading to multiple seconds of blocking the GUI thread in updateSmartFeeLabel.

I can't reproduce GUI freezes in the Send dialog during IBD, but the change looks reasonable to me.

@Sjors: I think you need to be at a height where blocks require more CPU cycles to verify.
I can 100% reproduce the freezes when syncing up a mainnet node after – say – a week of offlinetime and thus falling out of sync.

I see, in that case invalidateblock and reconsiderblock should be handy for testing.

Concept ACK.


Triggerbot + Visible only

I tried to paste from aimbot.cpp only visible but failed. Maybe somebody can help me?

theres visible only option for triggerbot. you just have to uncheck ignore smoke and ignore flash. am I missing something or are you trying to add autowall triggerbot?

I think he means Autowall Triggerbot ;-)

yapp Autowall


add H3 support for CONNECT / upgrades

Lets us enable
DownstreamProtocolIntegrationTest, FaultyFilterWithConnect
DownstreamProtocolIntegrationTest, ConnectStreamRejection
and as much of tcp_tunneling_integration_test.cc and websocket_integration_test.cc

I'm actively working on this, will have a PR out soon

Yup, still on my back burner - got pulled away on something else. Not stale.

not stale

Not stale https://github.com/envoyproxy/envoy/pull/17877

Done enough (there's TODOs left, but the feature will be alpha until the spec lands)


Doc fix typo and phrasing

Two minor fixes to the docs.

Pull Request Test Coverage Report for Build 241

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 227:
0.0%

Covered Lines:
971

Relevant Lines:
971

💛  - Coveralls

Pull Request Test Coverage Report for Build 241

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 227:
0.0%

Covered Lines:
971

Relevant Lines:
971

💛  - Coveralls

Thanks


Change imageio as_gray to mode=L due to imageio v2->v3

Linked issues
Resolves #738

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 5 (80.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 89.078%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

AxonDeepSeg/ads_utils.py
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
1150

Relevant Lines:
1291

💛  - Coveralls


Add new docs warning from HTTPRequest to HTTPClient

https://github.com/godotengine/godot/pull/52381 but for HTTPClient

Thanks!


request.session.id No longer in v0.12?

I upgraded from 0.11 to 0.12 and my app relied on req.session.id which seems to not be available in the newest release.
This isn't documented in the CHANGELOG. https://github.com/balderdashy/sails/blob/master/CHANGELOG.md

@crobinson42 thanks for making an issue.  Would you mind adding some information about your node/npm version, as well as the specific Sails version you're using, your session configuration, and the name and version of the connect session adapter package you're using?  Thanks!
@sgress454 could this be something to do with https://github.com/balderdashy/sails/commit/329d1d75b8a563ef134230df70e3550e482859c1#diff-30772e207fff1c62d9567fb36d10e453R124?  If so, @crobinson42, I'd expect we'd only be seeing this in the 0.12.1 patch.

sails -v
0.12.1
node --version
v4.3.1
npm -v
2.14.12

I'm using connect-redis but I also get the same behavior with a fresh sails project without redis.

I also tried this in sails v0.12.0 and get the same result.

I'm unable to reproduce in fresh sails project after wiping and npm install.. will investigate more and reopen if it remains an issue.

HOLY COW! I figured out WHY someone will experience this (or at least how to replicate).
Follow these steps:
create a fresh sails project
npm install babel sails-hook-babel babel-preset-es2015
Now, add a controller:
module.exports = {
	session : function (req ,res) {
		res.send('session has id key: ' + req.session.hasOwnProperty('id'));
	}
};

There will be no session.id!

This is only happening with my code base when I install the babel packages list above. I'm unsure why, though. Sorry for the false alarm.


Cannot access photos using local Parse server + mongoDB on AWS

Issue Description
Images in my app fail to show up  when I test a local Parse server (2.2.17) + mongoDB on AWS.  Other data is loaded correctly.
Currently, my app is working fine since I'm using Parse.com + mongoDB on AWS.
Cannot access images either via local dashboard
Steps to reproduce.
Expected Results
Clicking image links in dashboard should show me the corresponding images in browsers.
Actual Outcome
<Error>
AccessDenied
<Message>Access Denied</Message>
<RequestId>8124E9661D06FDC6</RequestId>
<HostId>
F4GEobuPCvBxUk510sQeCbKIrtFlP04JHqDAWUo8kNyBouVUnqvgL87NXWo5ji/08NFnM8rd7iI=
</HostId>
</Error>

Environment Setup

Server

parse-server version (Be specific! Don't say 'latest'.) : 2.2.17
Operating System:     OS X Yosemite
Hardware:             MacBook Pro (15-inch, Mid 2010)
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Localhost

Database

MongoDB version: 3.0.9
Storage engine:  wiredTiger
Hardware:  EC2 t2.micro
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): AWS

@yifli could you provide more data? For example, is this a new app on parse server, or migrated from Parse? If it was migrated from parse, are you initializing your server with fileKey? Did you migrate your files already? Are you using a storage adapter?

Check your S3 bucket policy for your parse uploaded images, it is likely that it's not properly configured for public read.

@natanrolnik I'm migrating this app from Parse. In the app, I'm not initializing the server with fileKey (but I cannot access images either via dashboard). I already finished database migration. Like I said, all the other data is read correctly in my app (but if I use Parse.com, all the data including images can be read without problems). I'm not using storage adapter.

@flovilmart Do I check S3 bucket policy on AWS? I'm not sure how to do it. If it's a problem on AWS side, how come images can show up if I use Parse.com + AWS?

Can you provide the URL's for the failing image?

@yifli I asked about the files migration, not database migration. If you are migrating the apps from Parse, the files are located in Parse's S3 bucket, which are unknown to your server. The dashboard is connected to the api.parse.com/1 or to your server's URL? I guess that might be the problem. Go to the settings of your app in Parse.com, get the fileKey, and use it to initialise your server; according to what you described, I'm pretty sure that's the case.

@natanrolnik In the case where I cannot access my images, the dashboard is connected to my local Parse server. I'll try your suggestion after I get off from work today.
So how am I supposed to migrate my files? Does migration guide mention this?
If I understand it correctly, initializing my server with the fileKey basically gives my app the permission to access the files located in Parse's S3 bucket.  I need to move the files before Parse shuts down its service, right?

@yifli exactly. You can take a look at: https://github.com/parse-server-modules/parse-files-utils

@flovilmart http://files.parsetfss.com/1e9a16b7-c483-400b-9db8-20c38b522adf/tfss-4e0fef95-5be8-465d-927a-592711ac4909-dishImage.jpg.

I don't see any error... If the issue is on the dashboard, please open it in the dashboard...

try this
var api = new ParseServer({
  databaseURI: databaseUri || 'mongodb://localhost:27017/seaker_db',
  cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
  appId: process.env.APP_ID || 'XXXXXXXXXXXXXXXXXXXXXXXXXXX',
  fileKey: process.env.FILE_KEY || 'xxxxxx-xxxx-xxxx-xxxx-xxxx',
  ...
...


Add icon property to uui-button component

To save lazy developers like me from having to slot a uui-icon element in buttons, we could add an icon property to the button element, and render the icon if the property exists. Even better, icon-prepend and icon-append for extra options.
That would also allow the library to control layout (eg whitespace between icon and text) and remove the need for specifying the compact attribute for icon-only buttons.

It could also some similar this with prefix and suffix slots:
https://shoelace.style/components/button#prefix-and-suffix-icons

I did consider that, but figured it's still more code than a property accepting an icon name - I've gone with icon-before and icon-after properties so we can still prefix/suffix the icon. PR is incoming.

Yes, I guess it comes to responsibility of the different parts as components can easily end up with a lot of properties/attributes where some only is relevant based on other attribute values.
Perhaps a single icon property is sufficient + icon position/placement.
Or icon-start and icon-end.
I am not sure there's a use-case for two icons in button at the same time (and not sure if I like it), but currently I think the slotted content allows to insert several icons.

Another suggestion: leading and trailing icons
https://tailwindui.com/components/application-ui/forms/input-groups

I like the idea of separating the position to a separate attribute, and then allowing only the single icon. If anyone wants multiple icons, they can always slot whatever they need to make whatever horrible buttons their heart desires...

Yes, it is what PrimeVue for instance does https://primevue.org/button/#icons

@bjarnef Funny you should mention PrimeVue. I like the way Vuetify does it, if you just want to show an icon, you use the "icon" attribute. You can also use prepend-icon and append-icon for more specific cases. And you have prepend and append slots (notice no "icon" in the name here).
https://vuetifyjs.com/en/components/buttons/#icon

That lands somewhere close to what I've implemented in #786, minus the slots:

icon-before adds the icon before the label
icon-after adds the icon after the label
can use both
can also use icon which behaves same as icon-before

Happy to revisit my approach if it makes more sense to add slots too

@iOvergaard yes, I mentioned PrimeVue because we use it in a current headless project using Delivery API on Umbraco Cloud 😎


Development containers

Fixes #354

Cool!   Would love to learn more about how you are deploying these ...


Not able to read from a queue using Spark Streaming

I am trying to write a simple "Hello World" kind of application using spark streaming and RabbitMq, in which Apache Spark Streaming will read message from RabbitMq and print it in the console.
The message is sent to the rabbitmq via the simple code below:-
package helloWorld;

import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;

public class Send {

  private final static String QUEUE_NAME = "hello1";

  public static void main(String[] argv) throws Exception {
    ConnectionFactory factory = new ConnectionFactory();
    factory.setHost("localhost");
    Connection connection = factory.newConnection();
    Channel channel = connection.createChannel();

    channel.queueDeclare(QUEUE_NAME, false, false, false, null);
    String message = "Hello World! is a code. Hi Hello World!";
    channel.basicPublish("", QUEUE_NAME, null, message.getBytes("UTF-8"));
    System.out.println(" [x] Sent '" + message + "'");

    channel.close();
    connection.close();
  }
}

I am trying to read messages via Apache Streaming as shown below:-
package rabbitmq.example;

import java.util.*;

import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.function.Function;
import org.apache.spark.storage.StorageLevel;
import org.apache.spark.streaming.Durations;
import org.apache.spark.streaming.api.java.JavaReceiverInputDStream;
import org.apache.spark.streaming.api.java.JavaStreamingContext;

import com.stratio.receiver.RabbitMQUtils;

public class RabbitMqEx {

	public static void main(String[] args) {
		System.out.println("Creating	Spark	Configuration");
		SparkConf conf = new SparkConf();
		conf.setAppName("RabbitMq Receiver Example");
		conf.setMaster("local[2]");

		System.out.println("Retreiving	Streaming	Context	from	Spark	Conf");
JavaStreamingContext streamCtx = new JavaStreamingContext(conf,
				Durations.seconds(2));

		 Map<String, String>rabbitMqConParams = new HashMap<String, String>();
		 rabbitMqConParams.put("host", "localhost");
		 rabbitMqConParams.put("queueName", "hello1");
		System.out.println("Trying to connect to RabbitMq");
		 JavaReceiverInputDStream<String> receiverStream =
		 RabbitMQUtils.createJavaStream(streamCtx, rabbitMqConParams);
		receiverStream.foreachRDD(new Function<JavaRDD<String>, Void>() {
			@Override
			public Void call(JavaRDD<String> arg0) throws Exception {
				System.out.println("Value Received " + arg0.count());
				return null;
			}
		});
		streamCtx.start();
		streamCtx.awaitTermination();
	}
}

But it is not able to read anything from the queue. The console output looks like the below:-
15/11/18 13:20:45 INFO SparkContext: Running Spark version 1.5.2
15/11/18 13:20:45 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
15/11/18 13:20:45 WARN Utils: Your hostname, jabong1143 resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface wlan0)
15/11/18 13:20:45 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address
15/11/18 13:20:45 INFO SecurityManager: Changing view acls to: jabong
15/11/18 13:20:45 INFO SecurityManager: Changing modify acls to: jabong
15/11/18 13:20:45 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(jabong); users with modify permissions: Set(jabong)
15/11/18 13:20:46 INFO Slf4jLogger: Slf4jLogger started
15/11/18 13:20:46 INFO Remoting: Starting remoting
15/11/18 13:20:46 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@<IP_ADDRESS>:42978]
15/11/18 13:20:46 INFO Utils: Successfully started service 'sparkDriver' on port 42978.
15/11/18 13:20:46 INFO SparkEnv: Registering MapOutputTracker
15/11/18 13:20:46 INFO SparkEnv: Registering BlockManagerMaster
15/11/18 13:20:46 INFO DiskBlockManager: Created local directory at /tmp/blockmgr-9309b35f-a506-49dc-91ab-5c340cd3bdd1
15/11/18 13:20:46 INFO MemoryStore: MemoryStore started with capacity 947.7 MB
15/11/18 13:20:46 INFO HttpFileServer: HTTP File server directory is /tmp/spark-736f4b9c-764c-4b85-9b37-1cece102c95a/httpd-29196fa0-eb3f-4b7d-97ad-35c5325b09e5
15/11/18 13:20:46 INFO HttpServer: Starting HTTP Server
15/11/18 13:20:46 INFO Utils: Successfully started service 'HTTP file server' on port 37150.
15/11/18 13:20:46 INFO SparkEnv: Registering OutputCommitCoordinator
15/11/18 13:20:52 INFO Utils: Successfully started service 'SparkUI' on port 4040.
15/11/18 13:20:52 INFO SparkUI: Started SparkUI at http://<IP_ADDRESS>:4040
15/11/18 13:20:52 WARN MetricsSystem: Using default name DAGScheduler for source because spark.app.id is not set.
15/11/18 13:20:52 INFO Executor: Starting executor ID driver on host localhost
15/11/18 13:20:52 INFO Utils: Successfully started service 'org.apache.spark.network.netty.NettyBlockTransferService' on port 47306.
15/11/18 13:20:52 INFO NettyBlockTransferService: Server created on 47306
15/11/18 13:20:52 INFO BlockManagerMaster: Trying to register BlockManager
15/11/18 13:20:52 INFO BlockManagerMasterEndpoint: Registering block manager localhost:47306 with 947.7 MB RAM, BlockManagerId(driver, localhost, 47306)
15/11/18 13:20:52 INFO BlockManagerMaster: Registered BlockManager
Trying to connect to RabbitMq
15/11/18 13:20:53 INFO ReceiverTracker: Starting 1 receivers
15/11/18 13:20:53 INFO ReceiverTracker: ReceiverTracker started
15/11/18 13:20:53 INFO ForEachDStream: metadataCleanupDelay = -1
15/11/18 13:20:53 INFO RabbitMQInputDStream: metadataCleanupDelay = -1
15/11/18 13:20:53 INFO RabbitMQInputDStream: Slide time = 2000 ms
15/11/18 13:20:53 INFO RabbitMQInputDStream: Storage level = StorageLevel(false, false, false, false, 1)
15/11/18 13:20:53 INFO RabbitMQInputDStream: Checkpoint interval = null
15/11/18 13:20:53 INFO RabbitMQInputDStream: Remember duration = 2000 ms
15/11/18 13:20:53 INFO RabbitMQInputDStream: Initialized and validated com.stratio.receiver.RabbitMQInputDStream@5d00adc2
15/11/18 13:20:53 INFO ForEachDStream: Slide time = 2000 ms
15/11/18 13:20:53 INFO ForEachDStream: Storage level = StorageLevel(false, false, false, false, 1)
15/11/18 13:20:53 INFO ForEachDStream: Checkpoint interval = null
15/11/18 13:20:53 INFO ForEachDStream: Remember duration = 2000 ms
15/11/18 13:20:53 INFO ForEachDStream: Initialized and validated org.apache.spark.streaming.dstream.ForEachDStream@4c132773
15/11/18 13:20:53 INFO RecurringTimer: Started timer for JobGenerator at time<PHONE_NUMBER>000
15/11/18 13:20:53 INFO JobGenerator: Started JobGenerator at<PHONE_NUMBER>000 ms
15/11/18 13:20:53 INFO JobScheduler: Started JobScheduler
15/11/18 13:20:53 INFO StreamingContext: StreamingContext started
15/11/18 13:20:53 INFO DAGScheduler: Got job 0 (start at RabbitMqEx.java:38) with 1 output partitions
15/11/18 13:20:53 INFO DAGScheduler: Final stage: ResultStage 0(start at RabbitMqEx.java:38)
15/11/18 13:20:53 INFO ReceiverTracker: Receiver 0 started
15/11/18 13:20:53 INFO DAGScheduler: Parents of final stage: List()
15/11/18 13:20:53 INFO DAGScheduler: Missing parents: List()
15/11/18 13:20:53 INFO DAGScheduler: Submitting ResultStage 0 (Receiver 0 ParallelCollectionRDD[0] at makeRDD at ReceiverTracker.scala:556), which has no missing parents
15/11/18 13:20:53 INFO MemoryStore: ensureFreeSpace(46496) called with curMem=0, maxMem=993735475
15/11/18 13:20:53 INFO MemoryStore: Block broadcast_0 stored as values in memory (estimated size 45.4 KB, free 947.7 MB)
15/11/18 13:20:53 INFO MemoryStore: ensureFreeSpace(15206) called with curMem=46496, maxMem=993735475
15/11/18 13:20:53 INFO MemoryStore: Block broadcast_0_piece0 stored as bytes in memory (estimated size 14.8 KB, free 947.6 MB)
15/11/18 13:20:53 INFO BlockManagerInfo: Added broadcast_0_piece0 in memory on localhost:47306 (size: 14.8 KB, free: 947.7 MB)
15/11/18 13:20:53 INFO SparkContext: Created broadcast 0 from broadcast at DAGScheduler.scala:861
15/11/18 13:20:53 INFO DAGScheduler: Submitting 1 missing tasks from ResultStage 0 (Receiver 0 ParallelCollectionRDD[0] at makeRDD at ReceiverTracker.scala:556)
15/11/18 13:20:53 INFO TaskSchedulerImpl: Adding task set 0.0 with 1 tasks
15/11/18 13:20:53 INFO TaskSetManager: Starting task 0.0 in stage 0.0 (TID 0, localhost, NODE_LOCAL, 2729 bytes)
15/11/18 13:20:53 INFO Executor: Running task 0.0 in stage 0.0 (TID 0)
15/11/18 13:20:53 INFO RecurringTimer: Started timer for BlockGenerator at time<PHONE_NUMBER>800
15/11/18 13:20:53 INFO BlockGenerator: Started BlockGenerator
15/11/18 13:20:53 INFO BlockGenerator: Started block pushing thread
15/11/18 13:20:53 INFO ReceiverTracker: Registered receiver for stream 0 from <IP_ADDRESS>:42978
15/11/18 13:20:53 INFO ReceiverSupervisorImpl: Starting receiver
15/11/18 13:20:53 INFO RabbitMQReceiver: Rabbit host addresses are :localhost
15/11/18 13:20:53 INFO RabbitMQReceiver: Address localhost
15/11/18 13:20:53 INFO RabbitMQReceiver: creating new connection and channel
15/11/18 13:20:53 INFO RabbitMQReceiver: No virtual host configured
15/11/18 13:20:53 INFO RabbitMQReceiver: created new connection and channel
15/11/18 13:20:53 INFO RabbitMQReceiver: onStart, Connecting..
15/11/18 13:20:53 INFO ReceiverSupervisorImpl: Called receiver onStart
15/11/18 13:20:53 INFO ReceiverSupervisorImpl: Waiting for receiver to be stopped
15/11/18 13:20:53 INFO RabbitMQReceiver: declaring direct queue
15/11/18 13:20:53 ERROR RabbitMQReceiver: Got this unknown exception: java.io.IOException
java.io.IOException
    at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
    at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
    at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:124)
    at com.rabbitmq.client.impl.ChannelN.queueDeclare(ChannelN.java:844)
    at com.rabbitmq.client.impl.ChannelN.queueDeclare(ChannelN.java:61)
    at com.stratio.receiver.RabbitMQReceiver.getQueueName(RabbitMQInputDStream.scala:126)
    at com.stratio.receiver.RabbitMQReceiver.com$stratio$receiver$RabbitMQReceiver$$receive(RabbitMQInputDStream.scala:86)
    at com.stratio.receiver.RabbitMQReceiver$$anon$1.run(RabbitMQInputDStream.scala:69)
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'hello1' in vhost '/': received 'true' but current is 'false', class-id=50, method-id=10)
    at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
    at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
    at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:361)
    at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:226)
    at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)
    ... 5 more
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'hello1' in vhost '/': received 'true' but current is 'false', class-id=50, method-id=10)
    at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:484)
    at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:321)
    at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
    at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
    at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:554)
    at java.lang.Thread.run(Thread.java:745)
15/11/18 13:20:53 INFO RabbitMQReceiver: it has been stopped
15/11/18 13:20:53 ERROR RabbitMQReceiver: error on close channel, ignoring
15/11/18 13:20:53 WARN ReceiverSupervisorImpl: Restarting receiver with delay 2000 ms: Trying to connect again
15/11/18 13:20:53 INFO ReceiverSupervisorImpl: Stopping receiver with message: Restarting receiver with delay 2000ms: Trying to connect again:
15/11/18 13:20:53 INFO RabbitMQReceiver: onStop, doing nothing.. relaxing...
15/11/18 13:20:53 INFO ReceiverSupervisorImpl: Called receiver onStop
15/11/18 13:20:53 INFO ReceiverSupervisorImpl: Deregistering receiver 0
15/11/18 13:20:53 ERROR ReceiverTracker: Deregistered receiver for stream 0: Restarting receiver with delay 2000ms: Trying to connect again
15/11/18 13:20:53 INFO ReceiverSupervisorImpl: Stopped receiver 0
15/11/18 13:20:54 INFO JobScheduler: Added jobs for time<PHONE_NUMBER>000 ms
15/11/18 13:20:54 INFO JobScheduler: Starting job streaming job<PHONE_NUMBER>000 ms.0 from job set of time<PHONE_NUMBER>000 ms
Value Received BlockRDD[1] at ReceiverInputDStream at RabbitMQInputDStream.scala:33
15/11/18 13:20:54 INFO JobScheduler: Finished job streaming job<PHONE_NUMBER>000 ms.0 from job set of time<PHONE_NUMBER>000 ms
15/11/18 13:20:54 INFO JobScheduler: Total delay: 0.031 s for time<PHONE_NUMBER>000 ms (execution: 0.007 s)
15/11/18 13:20:54 INFO ReceivedBlockTracker: Deleting batches ArrayBuffer()
15/11/18 13:20:54 INFO InputInfoTracker: remove old batch metadata:
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Starting receiver again
15/11/18 13:20:55 INFO ReceiverTracker: Registered receiver for stream 0 from <IP_ADDRESS>:42978
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Starting receiver
15/11/18 13:20:55 INFO RabbitMQReceiver: Rabbit host addresses are :localhost
15/11/18 13:20:55 INFO RabbitMQReceiver: Address localhost
15/11/18 13:20:55 INFO RabbitMQReceiver: creating new connection and channel
15/11/18 13:20:55 INFO RabbitMQReceiver: No virtual host configured
15/11/18 13:20:55 INFO RabbitMQReceiver: created new connection and channel
15/11/18 13:20:55 INFO RabbitMQReceiver: onStart, Connecting..
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Called receiver onStart
15/11/18 13:20:55 INFO RabbitMQReceiver: declaring direct queue
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Receiver started again
15/11/18 13:20:55 ERROR RabbitMQReceiver: Got this unknown exception: java.io.IOException
java.io.IOException
    at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
    at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
    at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:124)
    at com.rabbitmq.client.impl.ChannelN.queueDeclare(ChannelN.java:844)
    at com.rabbitmq.client.impl.ChannelN.queueDeclare(ChannelN.java:61)
    at com.stratio.receiver.RabbitMQReceiver.getQueueName(RabbitMQInputDStream.scala:126)
    at com.stratio.receiver.RabbitMQReceiver.com$stratio$receiver$RabbitMQReceiver$$receive(RabbitMQInputDStream.scala:86)
    at com.stratio.receiver.RabbitMQReceiver$$anon$1.run(RabbitMQInputDStream.scala:69)
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'hello1' in vhost '/': received 'true' but current is 'false', class-id=50, method-id=10)
    at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
    at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
    at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:361)
    at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:226)
    at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)
    ... 5 more
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'hello1' in vhost '/': received 'true' but current is 'false', class-id=50, method-id=10)
    at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:484)
    at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:321)
    at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
    at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
    at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:554)
    at java.lang.Thread.run(Thread.java:745)
15/11/18 13:20:55 INFO RabbitMQReceiver: it has been stopped
15/11/18 13:20:55 ERROR RabbitMQReceiver: error on close channel, ignoring
15/11/18 13:20:55 WARN ReceiverSupervisorImpl: Restarting receiver with delay 2000 ms: Trying to connect again
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Stopping receiver with message: Restarting receiver with delay 2000ms: Trying to connect again:
15/11/18 13:20:55 INFO RabbitMQReceiver: onStop, doing nothing.. relaxing...
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Called receiver onStop
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Deregistering receiver 0
15/11/18 13:20:55 ERROR ReceiverTracker: Deregistered receiver for stream 0: Restarting receiver with delay 2000ms: Trying to connect again
15/11/18 13:20:55 INFO ReceiverSupervisorImpl: Stopped receiver 0
15/11/18 13:20:56 INFO JobScheduler: Added jobs for time<PHONE_NUMBER>000 ms
15/11/18 13:20:56 INFO JobScheduler: Starting job streaming job<PHONE_NUMBER>000 ms.0 from job set of time<PHONE_NUMBER>000 ms

Doing list_queues list the following:-
sudo rabbitmqctl list_queues
Listing queues ...
hello1  2

However I can read from the queue using a simple java receiver as mentioned here.
Environment

RabbitMq Version - 3.5.6
Spark 1.5.2
Java 8 (Update 66)

Hi,
You have declared the queue as non durable. The recevier expects to read from a durable queue. Try to declare it in this way:
channel.queueDeclare(QUEUE_NAME, false, true, false, null);

Thanks @danielcsant. Setting queue type as passive is also working
channel.queueDeclare(QUEUE_NAME, true, false, false, null)

Hi Debraj,
Glad to hear that! Could you close the issue (
https://github.com/Stratio/rabbitmq-receiver/issues/20)
Regards
Daniel Carroza Santana
Vía de las Dos Castillas, 33, Ática 4, 3ª Planta.
28224 Pozuelo de Alarcón. Madrid.
Tel: +34 91 828 64 73 // @stratiobd https://twitter.com/StratioBD
2015-11-20 13:37 GMT+01:00 Debraj Manna<EMAIL_ADDRESS>
Thanks @danielcsant https://github.com/danielcsant. Setting queue type
as passive is also working
channel.queueDeclare(QUEUE_NAME, true, false, false, null)
—
Reply to this email directly or view it on GitHub
https://github.com/Stratio/rabbitmq-receiver/issues/20#issuecomment-158386708
.


format tuple literals

This can be closed now, due to https://github.com/nrc/rustfmt/pull/85, I think.


feat(frontend): Buy button is visible but disabled

Motivation
We change the visibility of the Buy button making it always visible but disabled, pending the completion of OnRamper onboarding.

Product decision?

@peterpeterparker indeed

I see. And what does "disabled" mean? Is there any plan to provide some hints to the user about why this button is always disabled? If not, are we fine user not knowing why?

shall i maybe add a tooltip that is triggered on click? @anedos-dfinity WDYT?

I think it's fine for now, in the next version we'll work on onramper.com support so we'll have a functional button pretty soon.


chore: write landing page for docs.fedimint.org

On top of https://github.com/fedimint/fedimint/pull/4624
Please point out nits, but approve anyway, as I need to see it published to improve further.

Why backport this? I don't think these docs will be built on docs.rs anyway. Maybe if we wanted to build docs for all versions one day?


Cannot setup Reorder Controller

Hi, I am trying to setup the reorder controller so that i can order how "Projects" are displayed in on the front end but I cannot seem to get it working.
I've tried to follow the documentation but it doesn't seem to be working.
In my Project Model I have replaced:
use \October\Rain\Database\Traits\Validation;
with
use \October\Rain\Database\Traits\Sortable;
Then in my Projects Controller I have added 'Backend\Behaviors\ReorderController' to the $implement and also created the $reorderConfig.
Then in my Projects Controller subfolder I have created the config_reorder.yaml and the reorder.htm.
Can someone tell me what i'm missing?
Thanks in advance
Chris

Hi Chris. This repository should only be used for questions related to the Builder plugin. Try the Forum (http://octobercms.com/forum) or Slack (https://octobercms.slack.com/) to get technical support for general October questions.


Performance improvements, capability extention, Godot 4.0 compatibility

Improved performance by replacing modulo operator with bitwise and. Modulo basically performs a division and thus is not the best way to just get lower 8 bits of an int.
And randomizing on every RNG call is a bit too paranoid in my opinion and should not affect probability of collisions. Randomization is time based and so randomizing between generations of UUIDs is enough. So far in my testing I had 0 collisions.
Also replaced OS.get_ticks_msec() with Time.get_unix_time_from_system(). OS.get_ticks_msec() was removed in 4.0. Also Time.get_unix_time_from_system() returns a float and thus allows for greater precision than OS.get_ticks_msec() (I think, not sure how accurately different systems calculate this number, but it seems fine for me).
Additionally, I created methods for creating UUIDs with RandomNumberGenerator instances. But it seems that using
And lastly, UUID can now be instanced and managed as an object. This might be useful with code that utilizes OOP paradigms. Also, the comparison between two UUIDs is a bit faster when using UUID objects and is_equal() method rather than directly comparing string UUIDs.
However, it should be noted that instancing objects in Godot has a huge overhead. On my computer, creating a raw UUID is about 20 times faster than instancing UUID class. (5 microseconds vs. 100 microseconds).

Thank you for those improvement. I like that's backward compatible.
I'm gonna have a deeper look at the tests, while the rest of the code look great already.
I'm busy this morning, so I'll try my best to do it this afternoon!
Thanks

So I implemented the changes requested. Also in the process I discovered something new: apparently Object.new() is about 20x slower than Node.new(). Either that ore there are demons in my computer, but now benchmarks show that UUID.new() is the same as if not faster than UUID.v4(). Either way, all benchmarks now take less than a minute total on my computer.


encap_context.certificate_chain_buffer should be provided by Integrator

libspdm currently reserves a large amount of space in the spdm_context for a Responder to store the Requester's certificate chain during mutual authentication. Similar to #1454 let's have the Integrator provide a buffer to store the certificate chain.
https://github.com/DMTF/libspdm/blob/043f81877e435c7a84d3134128f566edfdddefbb/include/internal/libspdm_common_lib.h#L384
Note also that the comment
https://github.com/DMTF/libspdm/blob/043f81877e435c7a84d3134128f566edfdddefbb/include/internal/libspdm_common_lib.h#L480-L482 is incorrect. This is used by the Responder, not Requester.

@steven-bellock will make a proposal.


~ not accepted for local or remote filename

~ is not accepted for local or remote filename. Think this is based on pyftsync restrictions that no longer apply in rclone. Test this and remove restriction if possible.

This is not possible, Rclone does not support ~ syntax either: https://forum.rclone.org/t/tilde-expansion-for-local-filesystem/33751/3


docker fails with cache permission error

kmuehlbauer wrote:

@mviereck
Sorry, if this is the wrong place to ask.
I'm using docker on my host machine with my user being in the "docker"-group. So I can initiate docker run-commands without using passwords. At the moment I'm stuck with x11docker complaining about:
x11docker ERROR
x11docker ERROR: docker did not start successfully.

and a missing docker.pid-file.
Unfortunately I did not find anything related. Hope you can shed some light.
Update: I'm now using -P switch, but now I get some permission problems.
x11docker.log:
x11docker.txt

Thanks for your feedback!
I had a look at the logfile and I'm not sure what is going wrong.
The core error message:
==> /user/k.muehlbauer/.cache/x11docker/X105/docker.log <==
docker: Error response from daemon: mkdir /user/k.muehlbauer/.cache: permission denied.

I don't understand why docker wants to create a cache folder that already exists. The logfile shows that /user/k.muehlbauer/.cache/x11docker/X105/share/Xclientcookie was created successfully by x11docker.
I guess docker can not create the cidfile /user/k.muehlbauer/.cache/x11docker/X105/containerID. Somehow it has no read/write access to ~/.cache while x11docker does.
Maybe it is somehow related to your membership of group docker. Maybe docker runs as another user and does not have write permissions to your home folder. Do you have some special setup for docker running it as different user or group?
Does your command work without the -P switch?
/usr/local/bin/x11docker --verbose -- x11docker/xfce start

Thanks for looking into this @mviereck. I'll check this next week.

@mviereck
Most likely this is really a permissions problem resulting from serving $HOME-folder from a network-share. I checked with system administration but we found no quick solution to overcome this. So we decided to workaround this by changing x11docker's Cacherootfolder from
Cacherootfolder=$HOME/.cache/x11docker
to a folder located on the local harddisk.
Cacherootfolder=/home/kai/home/.cache/x11docker
After this everything works as expected. So my suggestion would be to have a cmdline-switch to set this folder (or the $HOME) specifically.
$ ls -la /home/kai/home/.cache/x11docker/
insgesamt 24
drwxr-xr-x 3 k.muehlbauer users    39  2. Mai 11:56 .
drwxr-xr-x 3 k.muehlbauer users    23  2. Mai 11:36 ..
drwxr-xr-x 3 k.muehlbauer users   208  2. Mai 11:56 X100
-rw-r--r-- 1 k.muehlbauer users 21968  2. Mai 11:56 x11docker.log

$ ls -la /home/kai/home/.cache/x11docker/X100/
insgesamt 44
drwxr-xr-x 3 k.muehlbauer users  208  2. Mai 11:56 .
drwxr-xr-x 3 k.muehlbauer users   39  2. Mai 11:56 ..
-rw-r--r-- 1 k.muehlbauer users   22  2. Mai 11:56 backgroundpids
-rw-r--r-- 1 k.muehlbauer users 1873  2. Mai 11:56 docker.log
-rw-r--r-- 1 k.muehlbauer users    5  2. Mai 11:56 docker.pid
drwxr-xr-x 2 k.muehlbauer users   69  2. Mai 11:56 share
-rw-r--r-- 1 k.muehlbauer users 7465  2. Mai 11:56 xinit.log
-rw-r--r-- 1 k.muehlbauer users 3673  2. Mai 11:56 xinitrc
-rw-r--r-- 1 k.muehlbauer users 1056  2. Mai 11:56 xorg.xdummy.conf
-rw-r--r-- 1 k.muehlbauer users 3969  2. Mai 11:56 xpraserver.log
-rw------- 1 k.muehlbauer users   53  2. Mai 11:56 Xservercookie
-rw-r--r-- 1 k.muehlbauer users  389  2. Mai 11:56 xterm.log
-rw-r--r-- 1 k.muehlbauer users 2001  2. Mai 11:56 xtermrc

Keep up the good work!

@kmuehlbauer

So my suggestion would be to have a cmdline-switch to set this folder (or the $HOME) specifically.

You can just set HOME before running x11docker:
HOME=/home/kai/home x11docker [...]

or
export HOME=/home/kai/home
x11docker [...]

Most likely this is really a permissions problem resulting from serving $HOME-folder from a network-share

It seems docker has no access to your network share, even cannot see it exists. I think this is forbidden as docker daemon runs as root and not as kai. (See ps -e  u | grep dockerd). You could allow root access tor your network, but I think that is not intended. (Read access would be enough, as docker itself does not create files in $Cacherootfolder now)

I'm using docker on my host machine with my user being in the "docker"-group.

OT: you know that this is a quite insecure setup? Now you can get root access as unprivileged user: docker run --privileged --uid=host --pid=host --net=host -v /:/hostroot:rw imagename. Inside container, chroot into /hostroot and you can do anthing evil you can imagine ;-).

Keep up the good work!

Thanks! I will do. :-)

@kmuehlbauer
I did some major changes in V3.5.0.

So my suggestion would be to have a cmdline-switch to set this folder (or the $HOME) specifically.

There are two commandline switches now, --cachedir to specify $Cacherootfolder and --homedir to specify a directory to share with container as its home folder.

@mviereck Thanks again!


Add MEArecRecordingInterface

fix #213
Motivation
Adding a MEArecRecordingInterface.
Interesting to note, data storage type is float32 with microVolt units (twice the itemsize of the usual int16).
There's a fair amount of system configuration values in the file. Especially for waveforms and spikes (which will belong to a sister PR).
Attaching the recording specific metadata to the recording description as a JSON serialization, but we should really start thinking harder about a more general solution at the NWB level. Maybe an optional attribute to certain tables, called config, that itself can be a DynamicTable? The work @weiglszonja did on the ndx-extract extension where such things are explicitly defined in a schema as attributes of the tables looks the best but takes the most work and doesn't scale well to general cases. Will think about it.
It also has a probe device set automatically through SI - unsure how general this is or if it is something available only for the example file on GIN. But supporting ProbeInterface integration in NeuroConv has been on to-do list for a while (original motivation from a project at the User Days that the originator never had time to get around to finishing), so I'll start on that in a follow-up in the next month or so.
Sadly, in all that metadata, it does not appear that session start time is available.
Example output file: shared on slack b/c too big for GitHub (likely due to GIN data not being truncated below 10MB)
How to test the behavior?
Test on GIN data added. Also for the metadata fetching.
Checklist

[X] Have you thoroughly read our Developer Guide?
[X] Have you ensured the PR description clearly describes the problem and solutions?
[X] Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change?
[X] If this PR fixes an issue, is the first line of the PR description fix #XXX where XXX is the issue number?
[X] Did you update the CHANGLOG.md file on your branch to describe your changes?

I agree, maybe we could add a config optional arg to Device?

I agree, maybe we could add a config optional arg to Device?

Hmm... well, another case would be what if they have multiple series from the same device but they changed various configuration parameters between the segments? Then whatever config we attach to the device would only apply to a subset of the series
That's why I'm, for the moment, attaching it to the description of the ElectricalSeries that the recorded config pairs with

I'm noticing some issues with the test files:

/acquisition/ElectricalSeries/channel_conversion should be omitted if they are all equal to 1.0.
general/extracellular_ephys/electrodes: imp, location x, y and z are now optional and should be omitted if no data is present.

Yeah, good catch. That one is very likely specific to this format, so will fix it here.

OK should be fixed now. Had to adjust a couple other ground truths for this new behavior.


Throwing Uncaught ReferenceError window when initialising the swagger client

Description:
We have added a web worker to support parallelize the SwaggerClient initialization work during the page load.
But due to an update in SwaggerClient, we are getting the below exception when loading the client inside the worker thread

This exception simply break the whole API invocation flow hence we have fallen back to the old swagger client initialization mechanism
Raised a support issue in https://github.com/swagger-api/swagger-js/issues/2008
We, Will, use this issue in the WSO2 end to track the progress, Until it gets resolved we will comment out the worker initialization code.
Impact:
Users will experience a slight delay in loading the publisher web app. Because Swagger resolver takes considerable time parsing the publisher OAS definition
Steps to reproduce:

Visit /publisher while the Developer console is open

@tmkasun are we fixing this in 4.0?


fix: match JSON Account serialization to pyacmedns.

Prior to this commit the Account objects marshalled to/from JSON by the goacmedns file storage used JSON keys with capitalization that differs from the pyacmedns JSON storage, and the register response from acme-dns (e.g. Domain vs domain).
This commit updates the Account type to add explicit json tags that ensure the capitalization of the fields matches that of pyacmedns and acme-dns. Go's JSON parsing semantics ensures legacy accounts with capitalized fields will still load without error.
Resolves https://github.com/cpu/goacmedns/issues/7

Pull Request Test Coverage Report for Build 660

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 78.74%

Totals

Change from base Build 460:
0.0%

Covered Lines:
100

Relevant Lines:
127

💛  - Coveralls


I did

right after install.py:
Traceback (most recent call last):
File "C:_AI\deforum2\webui\extensions\face2video\main.py", line 3, in
import copy_sound_from_video
File "C:_AI\deforum2\webui\extensions\face2video\copy_sound_from_video.py", line 1, in
from moviepy.editor import VideoFileClip
ModuleNotFoundError: No module named 'moviepy'
However, moviepy was successfully installed. What is going on here? Can you help me?

 It would probably be best not to mix this up with other scripts/environments.
I think this is most likely due to some other conflicting installs if you installed the libraries into your global Python environment.
If that is the case, then using a virtual environment for the program should fix your issue. You can do that with a few simple commands (run in cmd with the path to the files of face2video. assuming your are using Windows):
"python -m venv venv"
"venv\Scripts\activate"
"python install.py"
"python main.py"
Let me know if using a clean new environment does not fix your problem.

hello ,
firstly I would like like to thank you for your amazing Software .
everything was working perfectly until i updated the extentions of stable Diffusion and reactor was of them , since then the Software splits the frames and swap them but i can't see anything in the finished Frames file ,  the ReActor gets an error everytime while saving the result .
I tried deleting and reinstalling but the issue still remains .
what do you think is the issue here and can you help me fix it ?

@jakyet
Hi, could you let me know the version of Reactor you have installed and whether you are using Automatic 1111 or Forge UI (Forge no longer receives updates, so installing newer versions of extensions will likely break things)? Can you also confirm that Reactor itself still works during a simple img2img?

Stable diffusion v 1.8.0
Automatic 1111
Reactor v 0.7.1-a1
simple img2img Reactor works fine .
All processes of  face2video seem to function fine as well , the swapping process time is as usual and the GPU working only error is saving the output frames ( ReActor - Error while saving result : JPG  )

@jakyet I am currently very busy with university. I will try to reproduce/fix your issue at the beginning of August and then get back to you.

All good , I solved the problem:
I reverted back to ReActor v 0.7.0 and it works fine now.
Nevertheless , thanks for your help and good luck with Uni 👍

@jakyet I had time to check the issue, and it should be solved in the newest version now. Reactor's newest version did not want to save images as JPG but only as PNG. Let me know if you still have any issues.


[BUG] Traceback reference leak in CPython 3.12.0a6 and above

Describe the bug
In CPython 3.12.0a6 and newer with CYTHON_FAST_THREAD_STATE=1, traceback objects for Python code called from Cython have their refcounts incremented but never decremented. This is triggered when Cython code calls into a Python function that then raises an exception. The source of the leak is __Pyx_ErrRestoreInState(), which never calls Py_XDECREF on tb: https://github.com/cython/cython/blob/9827c6085e2141db71c55ae231a4a09a878dd524/Cython/Utility/Exceptions.c#L178-L193
Code to reproduce the behaviour:
lib.pyx:
def get_spam(data):
    # this will raise a KeyError in the Python code for UserDict.__getitem__()
    return data["spam"]

repro.py:
from collections import UserDict
from lib import get_spam

def main():
    d = UserDict()
    d["lots of data"] = bytearray(1024**2)
    try:
        get_spam(d)
    except KeyError:
        pass

for i in range(10):
    main()

I've uploaded a full reproducer to https://github.com/yut23/cython_3.12_traceback_leak, along with some code I used to track down the leaks.
Expected behaviour
No response
OS
Linux, macOS
Python version
3.12.0a6+
Cython version
3.0.0+
Additional context
We first encountered this when running yt's test suite on Python 3.12, and reported it to CPython in https://github.com/python/cpython/issues/109602. Thanks to @neutrinoceros, @Xarthisius, and @mdboom for their work in simplifying the reproducer!
I'll make a PR with a proposed fix shortly.

@scoder Does this issue also apply to Cython 0.29.x and if so, was a fix already released (could not find it in changelog)?

The issue milestone says 3.0.3, so the fix was (probably) not backported. Looks more like a 3.0.x issue to me. There were a lot of changes in the exception handling code since 0.29.x. It doesn't look like 0.29.x has any special casing code for Py3.12 here.


remove source-lit docs

not needed
cc @borda @rohitgr7

Some leftovers were missing. Opened https://github.com/Lightning-AI/lightning/pull/15527 removing them


VRX pinger launch failure on Ubuntu 18.04 on ROS melodic

Hi,
I installed ROS melodic on Ubuntu 18.04 by following this guide:
http://wiki.ros.org/melodic/Installation/Ubuntu
And then used the following commands to build and launch VRX:
# Install the prerequisites for VRX
sudo apt install python3-pip
pip3 install numpy

# Create a workspace
mkdir -p ~/vrx_ws/src
cd ~/vrx_ws/src

# Clone the Git repository to your local workspace
git clone https://github.com/osrf/vrx
cd ~/vrx_ws

# Install ROS dependencies
rosdep update
rosdep install --from-paths src --ignore-src -r -y

# Build the VRX package
catkin_make

# Setup the environment such that roslaunch finds the vrx_gazebo package.
source ~/vrx_ws/devel/setup.bash

# Launch gazebo and other ROS dependencies.
roslaunch vrx_gazebo vrx.launch

Now, the Gazebo window is opening and I see the ASV and everything, but the pinger doesn't launch correctly:
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/__init__.py", line 50, in <module>
ModuleNotFoundError: No module named 'rospkg'
    from roslib.launcher import load_manifest  # noqa: F401
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/launcher.py", line 42, in <module>
    import rospkg
ModuleNotFoundError: No module named 'rospkg'
[ INFO] [1638027771.823364800]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1638027771.831318100]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[set_pinger_position-5] process has died [pid 8475, exit code 1, cmd /home/ofir/vrx_ws/src/vrx/vrx_gazebo/nodes/set_pinger_position.py __name:=set_pinger_position __log:=/home/ofir/.ros/log/ace58ed6-4f98-11ec-a9fa-00155d087f03/set_pinger_position-5.log].
log file: /home/ofir/.ros/log/ace58ed6-4f98-11ec-a9fa-00155d087f03/set_pinger_position-5*.log
[pinger_visualization-6] process has died [pid 8476, exit code 1, cmd /home/ofir/vrx_ws/src/vrx/vrx_gazebo/nodes/pinger_visualization.py __name:=pinger_visualization __log:=/home/ofir/.ros/log/ace58ed6-4f98-11ec-a9fa-00155d087f03/pinger_visualization-6.log].
log file: /home/ofir/.ros/log/ace58ed6-4f98-11ec-a9fa-00155d087f03/pinger_visualization-6*.log

Any idea what's wrong?
BTW, I have rospkg installed:
ofir@ocohen11-MOBL:~$ which python
/usr/bin/python
ofir@ocohen11-MOBL:~$ python -c 'import rospkg'
ofir@ocohen11-MOBL:~$ python --version
Python 2.7.17
ofir@ocohen11-MOBL:~$

so I either missed a step or something is messed up with VRX environment.
Thanks,
Ofir

I was able to work-around it by hacking the launcher.py file:
sudo vim /opt/ros/melodic/lib/python2.7/dist-packages/roslib/launcher.py
and then adding:
if '/usr/lib/python2.7/dist-packages' not in sys.path and '/usr/lib/python2.7/dist-packages/' not in sys.path:
    sys.path.append('/usr/lib/python2.7/dist-packages')

But it's not a permanent solution :-)
Looking forward to hearing the root cause.

I'm sorry but we no longer support Ubuntu 18.04. See the system requirements. I know this doesn't answer your question but I'd recommend to update to Ubuntu 20.04 and I guess you won't have this issue anymore.

Thanks @caguero good to know :-)


Alias parqet_scan to read_parquet (and same for json, csv)

Description
Both queries should do the same thing:
select * from parquet_scan('./file.parquet');
select * from read_parquet('./file.parquet');

Hi @scsmithr, can I take this up?


Any way to bind my own OpenGL Context with glfw window?

I try to share texture from my RenderEngie with glfw main window. I tried GLFW_NO_API flag to create window without context and set my own opengl context as current, but not work;  it seems GLFW_NO_API only works on vulkan？

Maybe i can use glfwGetNSGLContext


Stale access permissions for overlapping descriptors

Looks like there's a dependency in the other direction after all in the other tests sets I forgot about.. I'll look for a less invasive solution, maybe a force_recompile() will do.

I tried a cleaner method, but that doesn't work either, since we depend on the qualified alias of the base resource. Guess this is the best we can do for now.


python312Packages.great-tables: init at 0.11.0

Description of changes
Init python3Packages.great-tables, a package for formatting and rendering Pandas and Polars dataframes into notebooks and HTML.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 341616 run on x86_64-linux 1

4 packages built:

python311Packages.great-tables
python311Packages.great-tables.dist
python312Packages.great-tables
python312Packages.great-tables.dist


Plugin is too old, please update to a more recent version

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "693e8a773f76c66153c045392447148610fc80ef"

FAILURE: Build failed with an exception.

* Where:
Build file '/home/wsdjeg/forks/GithubAndroidSdk/build.gradle' line: 26

* What went wrong:
A problem occurred evaluating root project 'GithubAndroidSdk'.
> Failed to apply plugin [id 'com.android.library']
   > Could not create plugin of type 'LibraryPlugin'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.054 secs

Please, open a PR for this.

sorry I can not fix it

Are you using the dependency or forked the project?
I will do it later

now I just using this repo

Done


Need new feature to edit or update rules from ruby code?

Hi,
Planning to customise rules for cucumber from ruby code because few rules cant be followed as you defined . Is there any provision available to update rules?
For example , in our feature file has to many scenarios (more than 10) and plan to set limit as 20.

@r-cochran This is still 'clunky'. Is there any update on when this might become more user friendly?


chore: bdd-spring-1580677860 to 0.0.1

chore: Promote bdd-spring-1580677860 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


MediaWin fails to call mediaCLI with space in username

MediaWin throws an error when trying to execute DeskThingMediaCLI.exe, looks like it's because my username contains a space.

I've been messing with some different solutions in my Local index.js but I don't really get what's going on. I've tried forcing some quotes around this.cliPath when it's called into exec with exec('\"${this.cliPath}\" .. as well as using .replaceAll to add some different escape characters for the space but nothing seems to effect it. I mean, I can get it to pass an extra-wrong path, but nothing that actually remedies it :sweat: I've never really touched JS/Electron, so I don't know if any of this helps, but I thought I'd at least try to help out instead of just complaining :sweat_smile:

Oooh yeah that makes sense.
exec really hares spaces in the paths, and I suppose it makes sense that it being in your name is no different. You can try making it use quotes around a cd command and then run the executable maybe? I'll post a patch by the end of this week
Something like cd "${pathToFile}" && ./mediaWinCli.exe xyz
I can get a better solution once I'm not on my phone though - and it should be patched in v0.5.5 regardless

Okay I got it. This should hypothetically fix your issue with that. I should probably make this standard-practice whenever running an executable for that very reason. The patch will be out in v0.5.5, but if you want to fix it now, here are the changes:

Changing  the launch commands to
exec(`cd ${__dirname} && DeskThingMediaCLI.exe ${command} ${args}`,

and
exec(`cd ${__dirname} && adjust_get_current_system_volume_vista_plus.exe ${args}`,

in the mediawin.js file.
To apply the changes, run npm install and then npm build inside the /mediawin/ directory to build the output to /build
Then, zip up the contents in /build/ and then drag and drop that .zip file like you would any other app. Restart DeskThing.exe (from the tray, right click the icon and click Quit) then you should be set! Hope this helps

That did the trick! Thanks for the explanation, I was really curious about that one :)


Broken links

Hi, thank you for such an amazing project! I'm trying to use the project in my own, but I'm having a bit of trouble.

The link to the "SQLite Example" in README.md is broken unfortunately.
There is no example on how to depend on your library. Is the library perhaps deployed in Maven Central please?
Could you let me know what's the best way of using your library in a project please?

Thanks again, Martin

With regards to the README link, searching sqlite on the repo would find you this. https://github.com/Kotlin/kotlinconf-spinner/blob/master/sql/src/hostMain/kotlin/ksqlite/KSqlite.kt .
This library used to be on BinTray and once that went away, I stopped publishing. mavenCentral() is a bit of faff and I don't actively develop this library at the moment.
You're best bet is to git submodule into your project or use the includeBuild feature of gradle. Gradle has other ways to depend on source code as well.
The sample I linked should be enough to help you achieve what you want to achieve though.


Update setup.py

#580
loicduffar
According to installation instructions, hvplot is supported by python 3.5-3.7 (and only 3.6 according to setup.py ).
I would like to migrate to python 3.8 (Anaconda), but I want to be sure all libraries I use are compatibles.
philippjfr
This is simply a matter of not having updated the setup.py (a PR to fix it would be very welcome). I've been using 3.8 daily for months without issues.

Thanks @loicduffar! Appreciate it.


[CANNOLI-12] Add a FASTQ interleaver.

On top of #11. Resolves #12. Works with any file system or compression codec that your install of Hadoop is configured to work with. w00t.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/cannoli-prb/2/
Test FAILed.

Changes made; please review and merge.

Coverage increased (+21.6%) to 31.651% when pulling df471f97feff85869ef1811f3abd4fe75f079953 on fnothaft:issues/12-fastq-interleaver into 822cd632c56225462300e5e2461ee0306bce14fd on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/cannoli-prb/11/
Test PASSed.

Thank you, @fnothaft!


Why not use the original finetuned results of base RoBERTa

Hi,
In Table 2 of your paper, it seems you reproduce the RoBERTa_base results. May I ask why? Since the RoBERTa paper already released the results. Your reproduced results are worse than the original ones except for task MRPC.
In addition, it seems your hyperparameter setting of reproduction is not the same as in https://github.com/facebookresearch/fairseq/tree/main/examples/roberta/config/finetuning.

Thanks for reaching out @BaohaoLiao, the reason is to align the experiments in our work with what Adapter and Diff-Pruning did.
Regarding the hyperparameters, you are right they are not identical to what RoBERTa authors did. With that, BitFit paper delivers an idea for parameter efficient fine-tuning (it's not SOTA in a task work) so we didn't spend too much time on hyperparameters optimization, etc.


Another "No Tests Found" Error

My configuration is based on LazyVim, having added support for Neotest by including the appropriate "extras" configuration.
{import = "lazyvim.plugins.extras.test.core" }

To ensure it wasn't an issue with my original project, I created a simple Next.js project here.
Additional configuration is specified in lua/plugins/test.lua with the following content:
return {
  {
    "haydenmeade/neotest-jest",
  },
  {
    "nvim-neotest/neotest",
    dependencies = { "haydenmeade/neotest-jest" },
    opts = function(_, opts)
      table.insert(
        opts.adapters,
        require("neotest-jest")({
          jestCommand = "npm test --",
          jestConfigFile = "jest.config.js",
          cwd = function()
            return vim.fn.getcwd()
          end,
        })
      )
    end,
  },
}

I have verified that package.json contains a script "test": "jest --watch".
I have verified that running the following on the command line works: npm run test.
I have verified that neotest-jest is apparently finding jest in devDependencies.
I have looked at what file_path parameter the function adapter.is_test_file is receiving, and it is NOT the file that "Run Nearest" was executed in.
I'm pretty sure Its something I'm doing wrong, but I've exhausted my current thoughts on what the issue might be... Any help would be appreciated, even if its tips on debugging.

Answer from Here
added treesitter to dependencies:
    dependencies = {
      "nvim-treesitter/nvim-treesitter", -- this adding nvim-treesitter,
      "haydenmeade/neotest-jest",
    },

This has been fixed in LazyVim in the meantime, so this can be closed...

@folke Thanks for all your amazing work. Just as a data point, I've been trying to get neotest-jest working via :LazyExtras for a few hours now, and it was this thread, specifically adding the treesitter dependency as described above that finally resolved it. With the line there, it works, without it I get "No tests found". I'm on LazyVim 10.8.2, nvim v0.9.4, MacOS 14.2.1.