[Android][Inconsistency with desktop] [Date input component does not honour the default value]

Platform

Android

Author or host
Host
Version of SDK
1.2.5
Details
The date input component does not honour the default value and always shows the current date by default. For the card as in the attached json, following are the views on desktop and android.
(https://github.com/microsoft/AdaptiveCards/files/3944744/default_date.json.zip)
View on desktop

View on android

default_date.json.zip
{
   "type":"AdaptiveCard",
   "body":[
      {
         "type":"TextBlock",
         "size":"medium",
         "weight":"bolder",
         "text":"Test title"
      },
      {
         "type":"TextBlock",
         "text":"Testing Date input.",
         "wrap":true
      },
      {
         "type":"Input.Date",
         "value":"03/12/2019",
         "id":"date"
      }
   ],
   "$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
   "version":"1.0"
}

Time and Date value have to be expressed in specific format.
Date: YYYY-MM-DD
Time:HH:MM
Resolution: Created PR for updated doc

@nesalang,  thanks! Are we now consistent across all renderers/platforms wrt time and date expressions?

@nesalang @shalinijoshi19 I believe this has been erroneously closed, the issue still persists in the 1.2.6 drop. Note that the bug is not regarding the format of the date, but that the date input element picks up todays date by default, instead of the specified date value.

@shbhadra ,
Thanks for reaching out to us.
'''json
{
"type":"Input.Date",
"value":"03/12/2019",
"id":"date"
}
'''
The date string, "03/12/2019",  is in wrong format.
The correct format is 2019-03-12 . i.e YYYY-MM-DD.


Tools not being counted in language facet

Describe the bug
On dev, the counts for the language facet don't seem to include tools.
Works in prod and staging
To Reproduce
Steps to reproduce the behavior:

Go to https://dev.dockstore.net/search?searchMode=files
Compare with https://dockstore.org/search?searchMode=files

Expected behavior
As in prod, the sum of all language facets should add up to the sum of tools and workflows.
Screenshots

523 workflows + 238 tools = 761
318 WDL + 175 CWL + 28 NF + 2 GALAXY = 523 (the number of workflows)
Additional context
Webservice - 6e877bf
UI - 2.6.1-46-g23d6e519
Compose Setup - 6c50698b903981ca78f05759cc2c3a7049e847a6
Deploy - 1.9.2-33-gda01baf
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.11
┆Issue Number: DOCK-1597
┆Sprint: Sprint 59- Hammerhead shark
┆Issue Type: Story

Seems extremely unlikely that it would add up since tools can have multiple languages

To clarify, elaborate, expected behavior would be " As in prod, the sum of all language facets should be greater than or equal to the sum of tools and workflows." Looking in prod today, its off by 6 (so, not a lot).

Seems extremely unlikely that it would add up since tools can have multiple languages

I was wondering about that as well, but could have sworn they added up yesterday. My math was probably off.

Note to implementer, see if this checks out. There might not be any work

Still seems a little weird
https://dev.dockstore.net/workflows says we have 555 workflows
https://dev.dockstore.net/search?entryType=workflows&searchMode=Files has a sum of 528 workflows across all languages.
The difference isn't (just) checker workflows which would take us to 547?
We have https://dev.dockstore.net/tools 243 tools, 252 in search but that is probably as Gary mentioned having to do with multiple languages for tools. Going to create a new ticket since that workflow discrepancy seems different enough from the original issue.

Branched to https://ucsc-cgl.atlassian.net/browse/SEAB-2815


Remove extraneous files/folders

Remove *.pyi in dns
Remove duplicate oauth2client inside oauth2client

Let's leave the .pyi files as they are a part of the pydns distribution.


High yaw warnings

Hello openfast development team,
I am having a weird issue with the warning for a current case of floating wind turbine model.
``Warning: SkewedWakeCorrection encountered a large value of chi (94.039 deg), so the yaw
correction will be limited. This warning will not be repeated though the condition may persist.
See the AD15 chi output channels, and consider turning off the Pitt/Peters skew model (set
SkewMod=1) if this condition persists." ``
My platform degrees of freedom are switched on. The wind direction is 270 degrees (facing the turbine), so there should be no yaw basically. Could this be coming from PtfmYDOF ?
Best Regards,

Hi @tchatte3
It is likely that the turbine has some large displacements due to some errors in the model. You can have a look for instance at outputs PtfmSurge, PtfmSway, PtfmHeave, PtfmRoll, PtfmPitch, PtfmYaw, NacYaw, TTDspFA, TTDspSS, RotSpeed, OoPDefl1, IPDefl1 and RtSkew, to see any anomalies.
If YawDOF and PtfmYDOF are on, the model needs to have a realistic PtfmYIner present, otherwise these degrees of freedom will be ill-defined in ElastoDyn. The Y-inertia, should represent the torsional inertia of the platform/TP (if any) and the one from the tower. You can try to turn off one or both degrees of freedom, and look if that helps.
Some other common issues with yaw, are when NacYaw (in ElastoDyn) and YawNeut (in ServoDyn), are in disagreement, ,or, when the yaw spring and damping YawSpr and YawDamp are too low.
You can also disable the drive train torsion at first, to eliminate this potential source of error.
I hope that will help,
Emmanuel

@ebranlard thank you for the initial direction and guidance.


MeeCreep twilight forest interaction freeze

When a meecreep tries to break a block in a twilight forest boss area, my game locks up. Restarting the server fixed the problem.

I need logs

no log because server but I did just sit there for a while, get about a frame every 10 minutes and I'm pretty sure its the MeeCreep not having the twilight forest advancement because I think I'm being attacked by a tutorial kobald (https://i.imgur.com/9YT6G2b.png)


Allow async shadow cell update

HBaseTransactionManager has been modified to allow users select
sync or async shadow cells updates when creating the transaction
manager instance.
With async shadow cell updates, the control is returned to
the client earlier. It is also ensured that the transaction will be
removed from the commit table only after the shadow cells of the
transaction committed have been updated.
Change-Id: I0a75246d4be5b248096268ff8db904a3f499aef9

we probably need to rebase it as well

commented, otherwise LGTM


[Bug] Parent workflow not completed or failed, when start child workflow execution failed

Describe the bug
Parent workflow is not completed or failed, when start child workflow execution failed.
I am using this samples code:
https://github.com/khoerintus/samples-php/tree/master/app/src/Child
To Reproduce
Steps to reproduce the behavior:

First attempt, start parent workflow and it will start child workflow with workflow id

Then the parent workflow will completed and child workflow will completed as expected

Second attempt, start parent workflow and it will start child workflow with the same workflow id

But the parent workflow status: Running, with StartChildWorkflowExecutionFailed event because of START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS

Workflow instance will stuck at running, and the last event is WorkflowTaskCompleted until it timeout.

Expected behavior
I expected to see workflow instance status is completed.
But the workflow instance status is running until it timeout.
If I do not catch the child workflow execution, then I expect that workflow instance status is failed.
Versions (please complete the following information where relevant):

OS: Linux
Temporal Version: 1.9.2
are you using Docker or Kubernetes or building Temporal from source? I am using Docker
RR version: rr version 2.2.1 (build time: 2021-05-13T18:00:32+0000, go1.16.4)

We planned to take a look at this issue next week.

FYI, we are working on the 1.1 milestone where we are going to change the way how workers defined on the Golang side. It should provide extra bits of performance and better scalabiltiy.

Fixed in https://github.com/temporalio/roadrunner-temporal/pull/77


How do I use multiple inputs and outputs?

I have a sizable ffmpeg command
ffmpeg -stream_loop -1 -re -i r2.mp4 -re -i r3.mp4 -re -i r4.mp4 -re -i r5.mp4 -re -i r6.mp4 -re -i r7.mp4 -re -i r8.mp4 -re -i r9.mp4 -re -i r10.mp4 -re -i r11.mp4
-filter_complex "[0:v]split=10[v1][v2][v3][v4][v5][v6][v7][v8][v9][v10]"
-map "[v1]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video2
-map "[v2]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video3
-map "[v3]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video4
-map "[v4]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video5
-map "[v5]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video6
-map "[v6]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video7
-map "[v7]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video8
-map "[v8]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video9
-map "[v9]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video10
-map "[v10]" -s 320x240 -c:v mjpeg -pix_fmt yuvj420p -aspect 1:1 -r 15 -f v4l2 /dev/video11

Looking around I see an answer referencing global_args() for multiple inputs, and I also see there's a .filter_() method and one answer that suggests passing a list to .output but any examples I see seem like they're not fully utilizing ffmpeg-python but just using a workaround, I'm wanting to figure out the cleanest way of doing this, is anyone able to help me convert this to an ffmpeg-python command?

Easier to use a mosaic of videos and the crop filter instead of several different mp4's


Oxide 2.0+ support

Oxide will not support importing draft configuration that has arguments in call=. I would suggest flipping the flag so that it spares xochitl by default.

Done (0.5.8-1)

I also removed the term= value as well.


Cannot Add Impediment to Backlog

In this article it states
"Impediments and issues don't appear on your backlog. Instead, you track them using queries. If you want them to appear on your backlog, or you want to track other work item types on your backlog, see Customize your backlogs or boards."
https://docs.microsoft.com/en-us/azure/devops/boards/backlogs/manage-issues-impediments?view=azure-devops#customize-issues-tracking
However in the linked article it states
"You can't add an inherited WIT to any backlog level."
https://docs.microsoft.com/en-us/azure/devops/organizations/settings/work/customize-process-backlogs-boards?view=azure-devops#edit-rename-or-delete-a-portfolio-backlog
Trying to do this in Azure DevOps shows it does not allow adding Impediments to any backlog as stated in the second article.
Please either update this document or is there an ETA on support for this option in the service?

@huntleyh  Thank you for the feedback, assigning this to the author for review.

@huntleyh - thank you for the feedback. I will update the article. This isn't a supported feature in Azure DevOps Services and there is no plan at this time to support it in the cloud service.


IOS presentFullscreenPlayer screen appear a while and become blank, while sound still on going

Current behavior
when the screen go into fullscreen mode, after 1 second become blank screen while the sound still can be heard
Reproduction steps
call the presentFullscreenPlayer function
Expected behavior
full screen mode should show the screen
Platform
Which player are you experiencing the problem on:

iOS

Video sample
https://cdn.filestackcontent.com/LtfjlQXQnZkRN7rr3gyw

This issue has been there as long as I've been working on the project and is a pretty big problem. When I tested it today, I got the black screen and when I put the video in fullscreen after it's already playing, it plays for a few seconds and then gets stuck.
I've started looking at the code and don't know what's going on yet. If you have experience with iOS / Objective C, it would be great to have another pair of eyes on this.
Since it's a serious problem, I'll put this at the top of the list. As a workaround, I've had fairly good luck with setting the width & height to match the screen dimensions & adding my own controls rather than putting it in fullscreen mode.

I've found how to fix the problem when opening the player in fullscreen.
I'd like to open a pull request for this.

@cdeust That's amazing! This has been a huge issue for people. I'll take a look at your PR later today.

Any progress here?

same issues , my video play in 3second and stop while sound still going.


Should LRA depend also on CDI in 1.0

The LRA specification should depend only on existing MicroProfile specifications (umbrella rule). Currently, we depend only on JAX-RS.
As a part of the discussion for #182, we've come to a conclusion that the requirement of failing the deployment/startup of the MicroProfile application when any invalid non-JAX-RS method signature is detected may be problematic in containers where there is only JAX-RS.
The option of execution of some application code during the startup/deployment of the application is available through the CDI. We can definitely catch the application startup, for instance with the CDI extensions or @PostContruct method in the @ApplicationScoped bean.
The question is whether the LRA specification should depend also on CDI.
The pros I can see right now are:

it is a part of MicroProfile
we will be reintroducing LRAClient as an injectable interface in 1.x (probably 1.1)
most MicroProfile containers, if not all, provide CDI implementation
there is also a possibility to use CDI in Java SE - https://aboullaite.me/cdi-20-java-se/

The other option would be to not require CDI for LRA 1.0 and depend only on JAX-RS. In that case, the JAX-RS itself doesn't seem to provide any facilities to execute code on the application deployment/startup.
However, most of the well-known and used JAX-RS implementations (Jersey, RESTEasy, CXF) are based on the Servlet specification and so they can use ServletContextListener to execute code on the application startup/deployment. This is not bringing Servlet dependency to LRA specification. It would be an implementation detail of these JAX-RS implementations. I would also note that the implementation of LRA will probably always be tied to some container that provides (between other things) application bootstrap and the implementation of JAX-RS. In the case that JAX-RS implementation is not based on Servlet, cannot we expect that such a container provides a way how modules/libraries can tie into the application bootstrap?
In case we decide that it is not possible to bring CDI in LRA 1.0 I will update the text and the TCK that expects deployment failures to expect deployment failure OR failure on the first request.

I don't see why we can't depend on specifications that are in the MicroProfile platform.

most MicroProfile containers, if not all, provide CDI implementation

If CDI is in the MicroProfile platform baseline requirement how is it possible to not provide a CDI implementation. Please see this and this
I would therefore change that to:

compliant MicroProfile containers, must provide a CDI implementation

At least, that is my reading of it?

We definitively can use CDI but is there already something which requires CDI at the moment in the spec?
If not, we should not require CDI at the moment and we can say our spec is compatible with MP 1.0 for example

There is nothing CDI specific in the current version of the LRA spec and, like you say, the target platform is MicroProfile so developers can use CDI.
Implementations can use whatever mechanism makes sense for their implementation to detect new deployments. CDI is the obvious choice but it is better that we do not restrict implementation choices unless LRA needs a CDI feature.

We definitively can use CDI but is there already something which requires CDI at the moment in the spec?
If not, we should not require CDI at the moment and we can say our spec is compatible with MP 1.0 for example

Mike is right. Right now, CDI is used only in TCK. But MP 1.0 already contains CDI AFAIK.

Implementations can use whatever mechanism makes sense for their implementation to detect new deployments. CDI is the obvious choice but it is better that we do not restrict implementation choices unless LRA needs a CDI feature.

I thought of this more like an implicit dependency because mainly of the discussion of whether the LRA implementation can fail startup/deployment. So I think we are all in agreement here and there is nothing wrong with the current approach in dealing with invalid signatures (failing application startup/deployment)?

If this question has been answered can we close the issue?

Assuming that my expectation that we are in agreement, yes. Please feel free to reopen if I'm mistaken.

I am assuming therefore that the matter of whether we can mandate deployment failure is also closed and the behaviour is necessarily left undefined as there is nothing in any current spec we depend upon that can enforce this.

That would be opposing to what is currently in the specification and TCK. So my assumption is that we are ok with failing the deployment/startup. If it's still not clear I will open a new issue specifically for this topic, but the description here says all the necessary arguments. (Maybe I should have placed my question differently)

@xstefank - I am OK with failing the deployment but I thought we needed to depend on something at the spec level in order to be confident that implementers had all necessary dependencies to achieve the requirements set in the spec level.
I am actually wondering if we have missed a broader issue in this area. If you search https://github.com/eclipse/microprofile-lra/blob/master/spec/src/main/asciidoc/microprofile-lra-spec.adoc for the word "deploy" you can see that we have (I think) now (and not elsewhere) added an assumption that a concrete deployment phase exists for LRA. Does MicroProfile mandate a particular packaging and deployment model (e.g. .war)?
/cc @rdebusscher @mmusgrov

@tomjenkinson That is why I am trying to write everywhere deployment/startup. For microservice, there may or may not be the deployment phase. But for the use-cases of LRA, these two terms are interchangeable.
And I am still confident that all implementers will be able to fail the successful start of the application because of the mentioned arguments.

I am wondering if it might be better to use start-up of the application as deployment to me would assume a deployment phase being specified whereas I think it is fair to assume all applications have some start-up phase.
Maybe this is all a bit theoretical but the use of the word deployment does seem to assume something to me that is otherwise undefined in the spec.

Fair point. I will update the specification.

start-up of the application

is probably more neutral and better.


[PE-D][Tester B] Able to add multiple exams in the same timeslot for the same person

Labels: severity.Medium type.FunctionalityBug
original: chaaaaun/ped#10

To edit UG

Tested that PR fixes this bug !


Overview and review of current naming and color logic

We will review the color styles in EDS and make sure we have a good naming system that  is coherent between light and dark theme. The color tones itself will be evaluated to make sure they work regards to contrast and information architecture. Colors used for validation and states will also be reviewed, and we will introduce more colors to support information graphic and flexibility in general.

@benteljones I added a description - does it cover the issue?

Well done, Birte!


Doesn't allow to import from portable versions of Opera and Chromium

Under browser selection Opera and Chromium are inactive if they are not installed on the system.
It would be useful to have same ability as for Firefox and Chrome.

I have added more portable browsers in v1.0.3.
But I don't know why you would use other browsers than Firefox in a portable way. They encrypt the credentials with informations of the current windows users. You can't decrypt these on an other system.


Add support for custom SQL query

See related issue: #1240

Should add Array, Jsonb types to models and make drogon_ctl recognize these types and generate their getters and setters properly.

@an-tao Need some help. If a normal Criteria's third parameter is a std::string, then when executed withing mapper, the std::string would be wrapped in "". But some time we need to use sql functions like to_tsvector, so we need to pass raw string into sql query.
I couldn't understand your SqlBinder's implementation, so could you lead me a way to pass raw string into normal Criteria's constructor?

Should be working now

@ParticleG Thanks so much for your patch. you'd better add a test to the db_test program for this API.

@ParticleG Thanks so much for your patch. you'd better add a test to the db_test program for this API.

Okay. I'm looking into it.

@an-tao should I add this test to all kinds of databases or just on of them?

The commit message has a typo. Should be:

Add note

Should pass all tests now

All CI pass


fix: fix file tree listing for extremely large repositories

Apparently, setting recursive to true or false make the get tree API attempt to return all files recursively.
This leads to potentially missing files if the repository is extremely large.
https://docs.github.com/en/rest/git/trees#get-a-tree

memo: npm problem, @chingor13 is looking into this.
Run npm install
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. pino provides its own type definitions, so you do not need this installed.
npm WARN deprecated debug@[4](https://github.com/googleapis/release-please/runs/7157731988?check_suite_focus=true#step:7:5).1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
><EMAIL_ADDRESS>prepare /home/runner/work/release-please/release-please
> npm run compile
><EMAIL_ADDRESS>compile /home/runner/work/release-please/release-please
> tsc -p .
node_modules/@octokit/request/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts:903:48 - error TS2344: Type '"/orgs/{org_id}/codespaces"' does not satisfy the constraint 'keyof paths'.
903     "GET /orgs/{org_id}/codespaces": Operation<"/orgs/{org_id}/codespaces", "get">;
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@octokit/request/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts:1[6](https://github.com/googleapis/release-please/runs/7157731988?check_suite_focus=true#step:7:7)12:[7](https://github.com/googleapis/release-please/runs/7157731988?check_suite_focus=true#step:7:8)0 - error TS2344: Type '"/repos/{owner}/{repo}/community/code_of_conduct"' does not satisfy the constraint 'keyof paths'.
16[12](https://github.com/googleapis/release-please/runs/7157731988?check_suite_focus=true#step:7:13)     "GET /repos/{owner}/{repo}/community/code_of_conduct": Operation<"/repos/{owner}/{repo}/community/code_of_conduct", "get", "scarlet-witch">;

Octokit types amongst their own dependencies were in a bad spot at the end of last week, but they now seem to be in sync again.


MM-18788 Remove deprecated lifecycle methods from file previews

Summary
This Pull request removes deprecated lifecycle methods from file attachment previews. Methods like:

componentWillMount
componentWillReceiveProps
componentWillUpdate

Using newer lifecycle methods:

getDerivedStateFromProps to track prop changes
getSnapShotBeforeUpdate to determine next prop changes

Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/12337

/update-branch

Yep, I can do that. This'll be ready to merge as soon as the branch is updated and the final tests are done.


linear_map/affine_map for MixedFlowpipe

Note that the implementation returns a Flowpipe.

Note that the implementation returns a Flowpipe.

Shouldn't this keep the type of flowpipe (MixedFlowpipe). I think that's what I'd expect.
There should be another function, maybe called flatten, which converts a MixedFlowpipe to a Flowpipe.


Putting Godot editor in fullscreen stops game window from opening in fullscreen

Tested versions

Reproducible in: 4.3.dev6 [89850d553], 3.6.beta5 [2a347ab86]

System information
Godot v4.3.dev6 - macOS 14.1.1 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
Setting the game window to Fullscreen or Exclusive Fullscreen doesn't run the window in fullscreen if the Godot editor itself is in fullscreen. The attached video shows this in action in 4.3.dev6.
I also tested this on a computer running Fedora Linux Workstation 40 with GNOME and Wayland, and couldn't reproduce the bug there.
https://github.com/godotengine/godot/assets/99846997/260d39af-1ef7-4e6d-a73f-618e52148d03
Steps to reproduce

Create a new project
Set the game window to run in Fullscreen or Exclusive Fullscreen
Put the Godot editor in fullscreen
Run the project

Minimal reproduction project (MRP)
N/A

In general, you can't have more than one full-screen window on a scree. On Windows, this will not work at all. On macOS, each full-screen app is opened in its own space, and you can use Mission Control to switch from the editor to the project.


Is there any way to decode an array of different types?

I have JSON that is analogous to this:
{
  "animals": [
    { "type": "cat", "name": "kitty", "remainingLives": 4 },
    { "type": "dog", "name": "spot", "trained": false }
  ]
}

I would love to have an Animal type with a name property and then a subclass for Cat with a remainingLives property and Dog with a trained property.
It doesn't appear to be possible with Argo. Am I missing anything? If not, is this something that you think might fit into Argo? I would be happy to work on it with a little guidance. (I'm very new to Swift)

I realized I can do something like this:
extension Animal: Decodable {
    static func decode(j: JSON) -> Decoded<Animal> {
        let dict = j.JSONObject() as! [String:AnyObject]
        let type = dict["type"] as! String

        if type == "cat" {
            return Cat.decode(j)
        } else if type == "dog" {
            return Dog.decode(j)
        }

        return curry(Animal.init)
            <^> j <| "name"
    }
}

Is this the most appropriate thing to do in this scenario?

I guess this won't actually work because the Swift compiler can't convert Decoded<Cat> to Decoded<Animal>. I feel like I'm just missing something simple because of my inexperience with the language.

@maxschmeling I think you'd need to use type erasure to allow that.
This article by @rnapier might help:http://robnapier.net/erasure

Thanks @paulyoung

I don't think you'll need to go as far as type erasure, instead you should be able to use <|> to flip between the different subclasses (kinda turning Animal into a class cluster). I might try something like this:
class Animal {
  let name: String

  init(name: String) {
    self.name = name
  }
}

extension Animal: Decodable {
  static func decode(j: JSON) -> Decoded<Animal> {
    return Cat.decode(j) <|> Dog.decode(j)
  }
}

final class Cat: Animal {
  let remainingLives: Int

  init(name: String, remainingLives: Int) {
    self. remainingLives = remainingLives
    super.init(name: name)
  }
}

extension Cat { // Note that I'm _not_ making Cat decodable
  static func decode(j: JSON) -> Decoded<Animal> {
    let cat = curry(self.init)
      <^> j <| "name"
      <*> j <| "remainingLives"

    return cat as Decoded<Animal> // This might not be needed, I might try just returning the expression above first
  }
}

final class Dog: Animal {
  let trained: Bool

  init(name: String, trained: Bool) {
    self.trained = trained
    super.init(name: name)
  }
}

extension Dog { // Note that I'm _not_ making Dog decodable
  static func decode(j: JSON) -> Decoded<Animal> {
    let dog = curry(self.init)
      <^> j <| "name"
      <*> j <| "trained"

    return dog as Decoded<Animal> // This might not be needed, I might try just returning the expression above first
  }
}

Since the types for the Cat and Dog initializers is different, this should be all you need. If there are overlapping animal subclasses, you could add a simple validator to the beginning of your subclass decode functions:
func validateType(expectedType: String, json: JSON) -> Bool {
  let type: String? = (json <| "type").value

  return type == expectedType
}

// later, in Dog.decode:

guard validateType("dog") else { return .typeMismatch("dog", actual: j) }

@gfontenot maybe I'm doing something wrong, but the compiler says "Cannot convert return expression of type 'Decoded` to return type 'Decoded'."

I'm also having trouble getting the type erasure working, but still working on it. Trying to wrap my head around how it would work in this scenario.

Sorry, I had spiked this code out here on GitHub. I was able to get this to compile by:

Removing the Cat and Dog decode functions in favor of global functions that performed the same. This removed an error about ambiguous uses of decode. It also removed an error about how you can't override functions in extensions.
Removing the cast to Decoded<Animal>, instead just returning the result of the parser expression.

The resulting code (that compiles for me):
class Animal {
  let name: String

  init(name: String) {
    self.name = name
  }
}

extension Animal: Decodable {
  static func decode(j: JSON) -> Decoded<Animal> {
    return decodeCat(j) <|> decodeDog(j)
  }
}

final class Cat: Animal {
  let remainingLives: Int

  init(name: String, remainingLives: Int) {
    self.remainingLives = remainingLives
    super.init(name: name)
  }
}

func decodeCat(j: JSON) -> Decoded<Animal> {
  return curry(Cat.init)
    <^> j <| "name"
    <*> j <| "remainingLives"
}

final class Dog: Animal {
  let trained: Bool

  init(name: String, trained: Bool) {
    self.trained = trained
    super.init(name: name)
  }
}

func decodeDog(j: JSON) -> Decoded<Animal> {
  return curry(Dog.init)
    <^> j <| "name"
    <*> j <| "trained"
}

Type erasure really shouldn't be needed here, because we can use covariance to return Decoded<Cat> as Decoded<Animal>.

@gfontenot the compiler errors were making me think that isn't possible. Working on attempting the latest code sample. I appreciate the help.

I was able to convert this into my real-world code and it's compiling. Will do some testing to make sure it's all working, but it appears to do what I need.
I really appreciate the help.

@maxschmeling Glad it's working for you! Don't hesitate to re-open if you need more help or if you have any other questions.

@gfontenot just wanted to follow up and say that once I added in the typeMismatch guard, everything worked perfectly. Thanks again for the help.

how can I go about implementing this with a fairly large model? you know, the type where we have to split curry in intermediate vars to avoid "Expression too complex" errors.
This is my model
func decodeCar(j: JSON) -> Decoded<AdDetailModel> {     let a = curry(CarAdDetailModel.init)         <^> j <| "ad_id"         <*> j <| "phone"         <*> j <| "city_name"         <*> j <| "city_area"         <*> j <| "seller_comments"         <*> j <| "price"         <*> j <| "url_slug"         <*> j <|| "pictures"         <*> j <| "is_featured"         <*> j <| "ad_listing_id"     return a         <*> (j <| "last_updated" >>- toNSDate(""))         <*> j <| "featured_request"         <*> j <| "ad_saved"         <*> j <| "make"         <*> j <| "model"         <*> j <| "version" }
There is a return type mismatch compiler error

@hunaid-hassan-confiz I'm not sure what you're asking. Can I see your model? Also probably the implementation of toNSDate?

Nevermind. My model is unusually large. 25+ properties. I was having trouble getting rid of the compiler error "Expression too complex", which I managed to somehow but then having to write an initialiser for every class explicitly was too much of work also Argo hits its limit at 15+ properties after which the compiler error just doesn't go away whatever you do. So I am planning to move to alternative. I haven't decided which though

Argo hits its limit at 15+ properties after which the compiler error just doesn't go away whatever you do.

To be clear, Argo has zero limits on the number of properties. I believe what you're hitting is the limitations (imposed by the compiler) on the number of curry instances we can provide via Curry.framework. We recently updated Curry.framework to be able to handle up to 21 arguments, although that won't help you here given that your model has 25+.
TBH, I constantly question the design of models that have that many properties. I don't know the domain you're working in at all, but I'd highly suspect that you could refactor into multiple objects which might improve the overall design as well as make it easier to use with Argo.

You are right. I am not very happy with the current design of the models. A lot of those properties can be grouped together in smaller structs but its a legacy system I have to work with.
It indeed is a compiler limitation. Hope it goes away soon. Thanks for the time though :)


Great idea, just can't get it working :(

I'm just getting a blank page, if I echo anything before $mooSig = new mooSignature($domain, $admin_email); I can see it, but after just dies.
I have set my settings thus:
$admin_email =<EMAIL_ADDRESS>(not the real settings)
$domain = "test.church";
$sigPath ="/public_html/GSuiteSignatureManager/signatures/"; (they haven't moved from the git clone)
$serviceAccountPath = "/public_html/GSuiteSignatureManager/local_vars/";
Any ideas as to what i'm doing wrong.
I renamed the service-account.json from its original to service-account.json as that didn't work.

Hi BHWWills,
If you're just seeing a blank page, I would suggest turning on debugging first to see
Place the following at the top of the file to turn on debugging.
error_reporting(E_ALL);
ini_set('display_errors', '1');

Should the email be my email or the service-account email? also does it matter where the code is hosted?

It should be a gsuite admin email (i.e you login and can manage users through the admin.google.com gsuite portal).
It doesn't matter where the code is hosted - I just tested and it's working fine on my local machine (no SSL certificates or anything).
The easiest way to install would be through composer, rather than doing a gitclone. That way you can ensure that all the dependencies are installed correct.

ok, i'm not comfortable with composer, so thats a shame, i will have a go at working out the issue, it seems to be authorisation

Thanks, if anyone else gets this working, or experiences similar issues and can solve it i'd love to know :) thanks for the work so far

Hi i've not managed to solve this yet, would you be interest in having a look?


RiskManagerV1 should validate the deposit being liquidated

RiskManagerV1 should validate that the deposit being liquidated is a
valid deposit. Otherwise, I can create a fake deposit and launch an
auction. From here, I can take the entire auction through the Auction
contract. This'll grant me portionToSeize tokens from the coverage
pool. This will also close the auction, which transfers all of the
tBTC to my fake deposit which I can just reclaim. With this, I can
drain the entire AssetPool.

@samczsun
Critical severity, but there's more!

The easiest way seems to be inspecting whether TDT exists but definitely worth confirming with @Shadowfiend before kicking off the implementation. Let's also make sure to implement a set of system tests on a forked chain.


Mutex signals are not preventing concurrent duplicates

Hi. I'm trying ninja-mutex with redis.  The execution infrastructure is AWS with elasticache.
Four cron docker containers acquire mutex signal in order to prevent duplicates (to work like in a queue). I mean: two instances cannot process the same object from db because they are creating mutexes with the object ids.
In local environment it works well emulating concurrency with tools like "parallel" from shell.  But in AWS environment it is not working well concurrently... duplicate objects are created.
Am I missing something?  may I to implement a more advanced locking mechanism like the one described by redis.io?  (https://redis.io/topics/distlock)
Thanks in advance

just to add information, I have tested within elasticache and the redis locks are written and released with success.


In Rider IDE icon looks like disabled

NITPICK
In commit window (using dark mode) in Rider IDE icon of plugin looks disabled.

Yeah I'll guess I could fix that up at a later time ^^

Sure. It's just nitpick


Add sizeOfStopTimes query

#33  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ksharma-xyz and the rest of your teammates on  Graphite


Discord Server

https://discord.gg/hsmU2c7mVa
Join if any errors/help required

new link?

discord.gg/rone
On Sun, 5 May, 2024, 3:32 pm Nonstopgaming75, @.***>
wrote:

new link?
—
Reply to this email directly, view it on GitHub
https://github.com/BestGamersH/Multipurpose-Discord-Bot/issues/18#issuecomment-2094724356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY4XKL736EHIWZDCPND47Z3ZAX7SXAVCNFSM6AAAAAA6W7K7POVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUG4ZDIMZVGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Doesn't show any channels on your discord


[Solution] error about capstone

log
OSError: dlopen(/Users/abc/Documents/repos/chomper/venv/lib/python3.9/site-packages/capstone/lib/libcapstone.dylib, 0x0006): tried: '/Users/abc/Documents/repos/chomper/venv/lib/python3.9/site-packages/capstone/lib/libcapstone.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/abc/Documents/repos/chomper/venv/lib/python3.9/site-packages/capstone/lib/libcapstone.dylib' (no such file), '/Users/abc/Documents/repos/chomper/venv/lib/python3.9/site-packages/capstone/lib/libcapstone.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

solution:
1. git clone https://github.com/capstone-engine/capstone.git
2. cd capstone
3. ./make.sh mac-universal
4. replace file on venv/lib/python3.9/site-packages/capstone/lib

This is what is recompiled:
capstone.zip


Add taggon to the Korean translation maintainers

Hello! I want to add myself to the Korean translation maintainers.

@tesseralis We all agreed through React Korea Slack :)
cc @simsim0709 @hg-pyun @gnujoow @b9words

@tesseralis I have tried to add @taggon, but I can't.

You have to be an admin to do it. I'll do it soon.

Thanks!

Thanks @tesseralis! 🙇


Where to discuss?

I am running this now! Awesome works like a champ. Is there a place to talk about all the stuff happening? Slack / Discord / Reddit?

Done. invite

https://discord.gg/VjmRExyQww !

You're invited to discuss this on the Netgate forum.

@gonzopancho Sounds great!

Create a thread in in the Forum https://forum.netgate.com/topic/163133/wireguard-lives


Create more sofisticated user rights

Currently there are 4+1 types of users with fixed right settings in the app (see: https://github.com/bpatrik/pigallery2/blob/master/USERRIGHTS.md)
Furthermore all users can see the whole gallery and it cannot be split up.
This FR proposes to replace the rigid user roles into separate rights, like:
from:
{
name: "John",
role:"Admin"
}

{
name:"John",
rights:[
"writingSettings",
"listing gallery",
"searching",
"sharing"
]
}

This FR would not resolve #81, #188, #129, #301 but would take a step into that direction and would enable future gallery changing features #76, #305

Why not defining roles this way?
{
role:"Admin",
rights:[
"writingSettings",
"listing gallery",
"searching",
"sharing"
]
}

And then associate the role to the user as you did already:
{
name: "John",
role:"Admin"
}

Or did I misunderstand you?

The first one is what kinda we have now.
What I can image is to have a (hardcoded) role template, but the app user could override them per user level.

I would love the ability to only give users album access and the whole gallery be restricted. For instance; my family can see pictures I mark in an album. Can´t see others.


MODCLUSTER-480 Tomcat 8 Context isDistributable implementation needs …

…to consult the underlying context instead of the manager
Jira
https://issues.jboss.org/browse/MODCLUSTER-480

Triggering build using a merge of 760950a8d038e1983f6dee5fbaf8fa962e4e9723 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/mod_cluster-1.3.x-pull-player-executor/


Error message and empty flexbox

After installation (both by using the AssetLib or cloning the directory) and at repeated intervals afterwards, the following error message appears :
"Error loading extension: res://addons/godot-flexbox/flexbox.gdextension"
Enabling the addon is possible (only after cloning the directory directly), but a FlexContainer node just appears as a control node with the flex_container.gd script, with no visible parameters.
The script itself has two error messages from Flexbox not being declared in the scope.
Godot version : 4.1 stable release

I just realised the 4.1 version is still in WIP, not the latest release. I misread the README, sorry for the inconvenience.

The latest binary file has been delayed in construction for a while. I have identified the issue and am preparing to rebuild the release file.


[Autocomplete]  The onHighlightChange event is triggered by child elements of the list item

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Children of the list item are triggering onHighlightChange unexpectedly.
In the code below the span will trigger onHighlightChange
      renderOption={(p, { label }) => {
        return (
          <div {...p}>
            <span>{label}</span>
          </div>
        );
      }}

Expected behavior 🤔
The children of the list item should not trigger onHighlightChange  event.
Steps to reproduce 🕹
Steps:

open this codesandbox
open console
open Autocomplete
mouse over an item label as shown in picture
look at the console message count

Context 🔦
By applying pointerEvents: none to the child elements, this problem can be solved, however I don't believe this is a viable solution since use may need to use child events. and I believe it should be handled internally.
Your environment 🌎

```
  System:
    OS: Windows 10
  Browsers:
    Chrome:  Version 99.0.4844.51
```

Thanks for the report. We have to revise when onHighlightChange is triggered as it clearly happens too often.


File ingestion follow ups.

Fixes exclude/include filters
Introduces a file ingestion find_uris_udf that utilizes utilities/_common.py -> find
Renames file_ingestion to file and moves the file.py in that folder, as utils.py for semantic/cohesion reasons
Refactors find_uris_udf and chunk_udf as common UDFs in the file/udfs.py file
Modifies and adds unit tests accordingly.

In the future, when we do something like this, we should keep around the old name of any functions used in the UI as an alias, to avoid the need for exactly synchronized releases. Once the UI change is complete, then we can remove the alias.

In the future, when we do something like this, we should keep around the old name of any functions used in the UI as an alias, to avoid the need for exactly synchronized releases. Once the UI change is complete, then we can remove the alias.

Agreed. We also offer compatibility, any breaking changes we need to go through a deprecation cycle on.


⚠ Processors has degraded performance

In 6178d72, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 56 ms

Resolved: Processors performance has improved in eb53040.


Ubuntu 17.04 not supported

Pretty much as the title says. Ran his on a 17.04 branch.
root@maximus:/tmp/openvpn-install# ./openvpn-install.sh
Your version of Debian/Ubuntu is not supported.
I can't install a recent version of OpenVPN on your system.

However, if you're using Debian unstable/testing, or Ubuntu beta,
then you can continue, a recent version of OpenVPN is available on these.
Keep in mind they are not supported, though.
Continue ? [y/n]: n
Ok, bye !

Sorry, fixed in https://github.com/Angristan/OpenVPN-install/commit/823ff21fccb3823fcb0f0fc16faf3fdaeb859f2b


Issue #157: DOM hierarchy error with XHTML and SVG

dump_test_results() would throw a DOM hierarchy error for xhtml/svg documents if the '.lastChild' happened to be one that can not accept the 'results_element'.
A couple of additional opportunistic tweaks:

Fixed accidental use of the global 'data'.
Separated /* global */ declarations so VS Code can understand them.

Ping?  This change sounded uncontroversial in the discussion for Issue #157.

Thanks!


deployment hacking

Problem

The infra team wants to have a more reproducible way of deploying deku nodes
Solution

Expose some scripts to generate contracts that we can use to deploy deku nodes

@d4hines I think this is reviewable. It still includes some stuff that is specific to our environment but maybe that can slide until we are going to deploy the mainnet where we'll also need to generalize it?

Closing this in favor #708 and friends


Aggregate PR for CI.

Includes -
https://github.com/wildfly/wildfly/pull/14338
https://github.com/wildfly/wildfly/pull/14332
https://github.com/wildfly/wildfly/pull/13777
https://github.com/wildfly/wildfly/pull/13548

Relevant PRs merged.


Structural data validation on cache writes and more

Closes #747, #744, #718, #683, #687, #616, #405
depends on https://github.com/gql-dart/ferry/pull/104
result.data carry forward on exception (#718)
for watchQuery, when an exception results in null data, the previous result will be used by default. Can be disabled by WatchQueryOptions(carryForwardDataOnException: false)
only rebroadcast when !deep equals by default (#616)
alwaysRebroadcast can be used to get the old behavior back.
strict cache writes (semi-breaking)
cache writes are now strict and throw PartialDataException (from normalize) or a CacheMisconfigurationException if the structures seem like they should be valid (configurable by partialDataPolicy)
At link execution time, one of the following exceptions can be thrown:

CacheMisconfigurationException if the structure seems like it should
write properly.
UnexpectedResponseStructureException if the server response looks malformed.
MismatchedDataStructureException in the event of a malformed
optimistic result.
If write succeeds but readQuery then returns null, a CacheMissException will be added and the data will not be overwritten

before, one could attempt to write any data structure to the cache, and it would write whatever document-matching data there was.
Now, if one attempts to write structurally partial data, appropriate
exceptions will be thrown.
fechMore updates

Corresponding to the above, FetchMoreOptions.partial is added for safer update operations
unrelatedly, UpdateQuery is now strictly typed with Maps

Skip cache writes when errors && ErrorPolicy.none (#405)
  /// If we have no data, we skip caching, thus taking [ErrorPolicy.none]
  /// into account

I also verified examples/starwars works on web and bumped the connectivity plugin to silence an error.

This depends on https://github.com/gql-dart/ferry/pull/104 getting merged, but can be tried out like so:
dependency_overrides:
  graphql:
    git:
      url: git@github.com:micimize/graphql-flutter.git
      ref: norm_data_handling
      path: packages/graphql

Note to self: Update Exceptions section with strictness errors https://github.com/zino-app/graphql-flutter/tree/beta/packages/graphql#exceptions

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

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

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

I got here cause Uncaught (in promise) Error: Expected a value of type 'String', but got one of type 'NativeJavaScriptObject'
and this was supposed to be the solution... I have no idea what all this text is but if anyone can kindly tell me what to do about my error, I'd be really grateful.

@EightRice open a new issue – that sounds like a web-related issue and at first blush doesn't look necessarily related to strict cache writes (maybe that's why the error was surfaced, but not the root cause)


Added Aruba Cloud to available drivers

Proposed changes
Added link to drivers for service Aruba Cloud

Hi @johndmulhausen ,
thank you for your answer. I have made the changes you requested.

Hi @nicolaeusebi, thanks for the contribution. As Machine maintainer I'd suggest that we don't add this to the official documentation as it's for a 3rd party (non-core) driver. Instead, I'd suggest hosting the in-depth docs you have here at the plugin's repository and linking to it from https://github.com/docker/docker.github.io/blob/master/machine/AVAILABLE_DRIVER_PLUGINS.md, which is a comprehensive list of Machine plugins that are available.

Hi @nathanleclaire , i have removed Aruba references from official documentation as you suggested.
Documentation in this file:
https://github.com/docker/docker.github.io/blob/master/machine/AVAILABLE_DRIVER_PLUGINS.md,
was already updated with Aruba Cloud references.

👍

LGTM


insert backticks for code blocks in markdown file lead to stuck snippet

In version V1.5.0 when in want to insert a "`" or "```" for a code-block in a markdown snippet
leads the snippet app to stuck and react mysteriously

I am facing the same issue but instead of hanging the clipboard gets pasted in place. I am using an Apple M2 MacBook Pro it is infuriating.


Use Stan's own MPI communicator to avoid communicator interference

Description
This is a following up, or more specific issue spawned from https://github.com/stan-dev/math/issues/939. Namely, currently Stan's MPI implementation uses a predefined global communicator MPI_COMM_WORLD, this is against the recommended use of the communicators, see
https://www.mcs.anl.gov/research/projects/mpi/tutorial/gropp/node116.html
https://www.open-mpi.org/doc/current/man3/MPI_Comm_dup.3.php#toc8
Specifically, any communication, even if using a local communicator(as an application should be), will be polluted by map_rect 's communicator, whether that local communicator is within or out of Stan. This causes unpredictable behavior, therefore is a design flaw.
Proposed short-term solution
Replace construction boost::mpi::communicator world calls with
boost::mpi::communicator world(MPI_COMM_WORLD, comm_duplicate)
Proposed long-term solution
Address https://github.com/stan-dev/math/issues/939.
Expected Output
With current tests, same. But need add more tests with new communicators.
Current Version:
v2.18.1

Are u saying that any other MPI application on a cluster will be messed up by Stan's map_rect?


Aries Agent Test Harness afgo-interop build failing

The build for the afgo-interop is failing in the Aries Agent Test Harness.
In that repo, when I run: ./manage build -a afgo-interop
I get the following error at the end of the log:
# github.com/hyperledger/aries-framework-go/pkg/didcomm/common/service
../../pkg/didcomm/common/service/destination_interop.go:25:2: legacyDIDCommServiceType redeclared in this block
        previous declaration at ../../pkg/didcomm/common/service/destination.go:33:29
note: module requires Go 1.17
make: *** [Makefile:135: agent-rest-acapy-interop] Error 2
The command '/bin/sh -c GO_TAGS=${GO_TAGS} GOPROXY=${GOPROXY} make agent-rest-acapy-interop' returned a non-zero code: 2
Docker image build failed.

Could someone take a look at that, or provide pointers to fix.  Do we just need to update the go version?
Thanks

Thanks!


Cut version 19 release

Cut release to push to Maven Central and PyPI repos
Update and publish release notes

Release 18 was bad (did not push to Maven Central Repo).
Release 19 complete:

Propagated to Maven Central Repo: https://repo1.maven.org/maven2/org/technologybrewery/krausening/krausening/19/
Propagated to PyPI:  https://pypi.org/manage/project/krausening/release/19/
Release notes published: https://github.com/TechnologyBrewery/krausening/releases/tag/krausening-root-19


Update completion.md

Corrected the name of the metric used on the fields fuzziness and prefix_length.
Description
Corrected the name of the metric used on the fields fuzziness and prefix_length.
Issues Resolved
No issues resolved.
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.

@hdhalter, I am ready for your review.


Add check for webrtc components in gumhandler.js

Added check for navigator.getusermedia if not supported an error is present to the user.
Changed the startbutton to be disabled by default in HTML.
Fixes #342.

Should we add a typeof check on MediaStreamTrack.getSources as well even if it's shimmed in adapter.js?

What does shimed means? Does it means it is always there?
Or if the browser supports it in some other location it will show there?
If the later then we should check it.

I added a check for if MediaStreamTrack.getSources exists like we do for navigator.getUserMedia.


 Is that too much whitespace?

Is that too much whitespace?

Not really imo, but the difference is visible.

Before
	After

👆 LGTM


[Bug]: neo4j duplicate mapping key at ConfigMap (default-config)

What happened?
If you render the neo4j helm chart using helm template using a minimal values.yaml (taken from the example):
neo4j:
  name: neo4j
  resources:
    cpu: "0.5"
    memory: "2Gi"

  # Uncomment to set the initial password
  #password: "my-initial-password"

  # Uncomment to use enterprise edition
  #edition: "enterprise"
  #acceptLicenseAgreement: "yes"

volumes:
  data:
    mode: "dynamic"
    dynamic:
      # * managed-csi-premium provisions premium SSD disks (recommended)
      # * managed-csi provisions standard SSD-backed disks
      storageClassName: managed-csi-premium

It leads to a duplicate mapping key for server.directories.import & server.jvm.additional in the ConfigMap.
apiVersion: v1
kind: ConfigMap
metadata:
  name: "my-neo4j-release-default-config"
  namespace: "simulation"
  labels:
    app: "my-standalone"
data:

  # Neo4j defaults
  server.directories.import: import
  [...]
  server.jvm.additional: -XX:+UseG1GC
  server.jvm.additional: -XX:-OmitStackTraceInFastThrow
  server.jvm.additional: -XX:+AlwaysPreTouch
  server.jvm.additional: -XX:+UnlockExperimentalVMOptions
  server.jvm.additional: -XX:+TrustFinalNonStaticFields
  server.jvm.additional: -XX:+DisableExplicitGC
  server.jvm.additional: -Djdk.nio.maxCachedBufferSize=1024
  server.jvm.additional: -Dio.netty.tryReflectionSetAccessible=true
  server.jvm.additional: -Djdk.tls.ephemeralDHKeySize=2048
  server.jvm.additional: -Djdk.tls.rejectClientInitiatedRenegotiation=true
  server.jvm.additional: -XX:FlightRecorderOptions=stackdepth=256
  server.jvm.additional: -XX:+UnlockDiagnosticVMOptions
  server.jvm.additional: -XX:+DebugNonSafepoints
  server.jvm.additional: --add-opens=java.base/java.nio=ALL-UNNAMED
  server.jvm.additional: --add-opens=java.base/java.io=ALL-UNNAMED
  server.jvm.additional: --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
  server.jvm.additional: -Dlog4j2.disable.jmx=true
  [...]
  server.directories.import: "/import"

When trying to deploy this Chart via FluxCD it leads to Helm install errors.
Chart Name
Standalone
Chart Version
5.5.0
Environment
FluxCD, Kustomize
Relevant log output
Status:                                                                                │
│   Conditions:                                                                                │
│     Last Transition Time:  2023-03-30T10:17:39Z                                                                                │
│     Message:               Helm install failed: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors:                                                                                │
│   line 55: mapping key "server.directories.import" already defined at line 14                                                                                │
│   line 20: mapping key "server.jvm.additional" already defined at line 19                                                                                │
│   line 21: mapping key "server.jvm.additional" already defined at line 19

Relevant Issues
https://github.com/fluxcd/flux2/issues/1522
Duplicate YAML keys

Unlike Helm, the Kustomize yaml parser (kyaml) does not accept duplicate keys, while Helm drops the duplicates, Kustomize errors out. This impacts helm-controller as it uses kustomize/kyaml to label objects reconciled by a HelmRelease.

For example, a chart that adds the app.kubernetes.io/name more than once, will result in a HelmRelease install failure:

map[string]interface {}(nil): yaml: unmarshal errors:
line 21: mapping key "app.kubernetes.io/name" already defined at line 20

Code of Conduct

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

Closing, duplicate of #119


HDFS-14673 The console log is noisy when using DNSDomainNameResolver …

…to resolve NameNode.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
39
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1076
trunk passed

+1
compile
39
trunk passed

+1
checkstyle
20
trunk passed

+1
mvnsite
42
trunk passed

+1
shadedclient
683
branch has no errors when building and testing our client artifacts.

+1
javadoc
32
trunk passed

0
spotbugs
123
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
121
trunk passed

_ Patch Compile Tests _

+1
mvninstall
47
the patch passed

+1
compile
37
the patch passed

+1
javac
37
the patch passed

+1
checkstyle
15
the patch passed

+1
mvnsite
38
the patch passed

+1
whitespace
1
The patch has no whitespace issues.

+1
shadedclient
730
patch has no errors when building and testing our client artifacts.

+1
javadoc
30
the patch passed

+1
findbugs
132
the patch passed

_ Other Tests _

+1
unit
110
hadoop-hdfs-client in the patch passed.

+1
asflicense
31
The patch does not generate ASF License warnings.

3341

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1169/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1169

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux eeb5ab5de7d3 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / aebac6d

Default Java
1.8.0_212

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1169/1/testReport/

Max. process+thread count
447 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project/hadoop-hdfs-client

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1169/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

LGTM, +1


Add edge-case unit tests

Changes in this pull request

Removed dead code in batch data and updater
Tested updating with empty index sets
Tested updating with not-found section controller
Tested reloading when collection view or data source are not set
Tested -[IGListAdapter sectionForObject:]
Tested index path return for not-found section controller
Tested pointer comparison with NSObject+IGListDiffable category

Fixes #190, #189
Pull request checklist

[x] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, or detailed why my change isn't tested.
[x] I have reviewed the contributing guide

Coverage increased (+1.6%) to 91.441% when pulling 6b3e375a439e7ee0fa89716916d29082d2249a6a on nit-tests into 313fa9e37032d5b328f8a19d00acf0985d687a51 on master.

Coverage increased (+1.6%) to 91.441% when pulling 6b3e375a439e7ee0fa89716916d29082d2249a6a on nit-tests into 313fa9e37032d5b328f8a19d00acf0985d687a51 on master.

Coverage increased (+1.6%) to 91.441% when pulling 6b3e375a439e7ee0fa89716916d29082d2249a6a on nit-tests into 313fa9e37032d5b328f8a19d00acf0985d687a51 on master.

Coverage increased (+1.6%) to 91.441% when pulling 6b3e375a439e7ee0fa89716916d29082d2249a6a on nit-tests into 313fa9e37032d5b328f8a19d00acf0985d687a51 on master.

Coverage increased (+1.6%) to 91.441% when pulling 6b3e375a439e7ee0fa89716916d29082d2249a6a on nit-tests into 313fa9e37032d5b328f8a19d00acf0985d687a51 on master.

Coverage increased (+1.6%) to 91.441% when pulling 6b3e375a439e7ee0fa89716916d29082d2249a6a on nit-tests into 313fa9e37032d5b328f8a19d00acf0985d687a51 on master.

nice! 91% coverage 🎉


Setting empty text to DataGridTextColumn saves it to DataContext object before CellEditEnding event fires

Describe the bug
I have a DataGrid element with required DataGridTextColumn. I check a value in this column in CellEditEnding event. If the value is invalid, I set previous value from row's DataContext. If I change current cell's value to empty string, it saves it directly to DataContext, bypassing the CellEditEnding event. If I change current cell's value to non empty string, the value in DataContext stays same as before editing.
Here is the example code:
private async void ContactsDataGrid_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
{
            if (e.EditAction == DataGridEditAction.Commit)
            {
                        var contact = (Contact) e.Row.DataContext;
                        var textBox = (TextBox) e.EditingElement;
                        if (textBox.Text == "")
                        {
                            // contact.Value is empty, but before editing it was not empty
                            textBox.Text = contact.Value;
                            // do some work...
                            return;
                        }
                        if(!phoneRegexCheck(textBox.Text))
                        {
                            // contact.Value is same as before editing
                            textBox.Text = contact.Value;
                            // do some work...
                            return;
                        }
                        // do some work...
            }
}

Steps to reproduce

Create ViewModel

public class Contact: INotifyPropertyChanged
    {
        private string _value;

        public string Value
        {
            get => _value;
            set
            {
                _value = value;
                OnPropertyChanged(nameof(Value));
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        private void OnPropertyChanged(string propertyName)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }
    }
    public class ViewModel: INotifyPropertyChanged
    {
        private ObservableCollection<Contact> _contacts = new ObservableCollection<Contact>() { new Contact(){Value = "123"} };

        public ObservableCollection<Contact> Contacts
        {
            get => _contacts;
            set
            {
                _contacts = value;
                OnPropertyChanged(nameof(Contacts));
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        private void OnPropertyChanged(string propertyName)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }
    }

Create DataGrid and bind ViewModel to it

<DataGrid
                    x:Name="ContactsDataGrid"
                    Grid.Column="0"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Top"
                    AutoGenerateColumns="False"
                    CanUserAddRows="False"
                    CanUserDeleteRows="False"
                    CanUserReorderColumns="False"
                    CanUserResizeColumns="False"
                    CanUserResizeRows="False"
                    CanUserSortColumns="True"
                    CellEditEnding="ContactsDataGrid_CellEditEnding"
                    ItemsSource="{Binding Contacts, Mode=TwoWay}"
                    SelectionMode="Single">
                    <DataGrid.Columns>
                        <DataGridTextColumn
                            x:Name="ContactColumn"
                            Binding="{Binding Value, Mode=TwoWay}"
                            CanUserReorder="False"
                            CanUserSort="True"
                            Header="Value"
                            IsReadOnly="False" />
                    </DataGrid.Columns>
                </DataGrid>

Add event handler

private void ContactsDataGrid_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
        {
            if (e.EditAction == DataGridEditAction.Commit)
            {
                //contact.Value must stay the same as before editing
                var contact = (Contact) e.Row.DataContext;
                var textBox = (TextBox) e.EditingElement;
                if (textBox.Text == "")
                {
                    textBox.Text = contact.Value;
                    return;
                }
            }
        }

Change the text in cell to empty string and debug the above event

Expected behavior
contact.Value must stay the same as before editing in CellEditEnding event.
Actual behavior
If new value is empty string, contact.Value becomes empty before CellEditEnding fires.
Environment
MahApps.Metro 2.3.3 (all worked fine on 1.6.5)
.NET Framework 4.8

@ExLuzZziVo I think this is not related to MahApps.

@ExLuzZziVo I think this is not related to MahApps.

Nope, I have created an empty project. The problem still exists

Update:
The bug occurs when I delete all text using clear button(X) on DataGridTextColumn. When I delete all text manually(e.g. using backspace) all works as expected.


Update continuous-delivery.md

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

updating the description of a Fixed Issues ticket

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


docs(configuration): specify default value as part of type information

webpack defaults to production mode.

Thanks!

Hmm this is actually tricky, @montogeek there are places where we say
By default optimization.x is enabled in production mode and disabled elsewise.
i think it might be useful for people to understand that in dev mode it all might be different... maybe this should be reverted after all?


How to add class in group header row of ListView control?

Category
Question
Version
3.5.0
Question
I am trying to group the data with multiple fields. But the list view shows the groups in same level even though it is a sub group.
This is what I get:

This is what I want (Tabbed View):

Steps to Reproduce
`
import * as React from 'react';
import { PnPGridProps } from './Interfaces/IGridProps';
import { ListView, IViewField, SelectionMode, GroupOrder, IGrouping } from "@pnp/spfx-controls-react/lib/ListView";
import { FieldTextRenderer } from '@pnp/spfx-controls-react/lib/FieldTextRenderer';

export default class RSPLGrid extends React.Component<PnPGridProps, {}>{
    private _renderTitle(item?: any): any {
        return <FieldTextRenderer text={item.Title} className='RowClass' />;

    }
    protected readonly viewFields: IViewField[] = [
        {
            name: "Title",
            displayName: "Test 1",
            render: this._renderTitle
        },
        {
            name: "field_1",
            displayName: "Test 2"
        },
        {
            name: "field_5",
            displayName: "Test 3"
        },
        {
            name: "field_6",
            displayName: "Test 4"
        }
    ];
    protected readonly groupByFields: IGrouping[] = [
        {
            name: "Title",
            order: GroupOrder.ascending,
        },
        {
            name: "field_1",
            order: GroupOrder.ascending
        },
        {
            name: "field_5",
            order: GroupOrder.ascending
        },
        {
            name: "field_7",
            order: GroupOrder.ascending
        }
    ];
    private _getSelection(items: any[]) {
        console.log('Selected items:', items);
    }
    public render(): React.ReactNode {
        return (
            <>
                <ListView
                    items={this.props.listItems}
                    viewFields={this.viewFields}
                    iconFieldName="ServerRelativeUrl"
                    compact={true}
                    selectionMode={SelectionMode.none}
                    selection={this._getSelection}
                    showFilter={true}
                    defaultFilter=""
                    filterPlaceHolder="Search..."
                    groupByFields={this.groupByFields}
                    dragDropFiles={true}
                    stickyHeader={true}
                    listClassName='listClassName'
                    className='controlClassName'
                />
            </>
        );
    }
}

To resolve my issue I am thinking to add one custom class in the group row to make it tabbed view. But I don't see any way to do so. Is there any way I can achieve this?
Thanks!

@rzkalva11 sorry for the long delay.
I'm not sure that the control supports your requirement.
The control is based on the Details List control from Fluent UI, and the current styles for multiple groups seems to be the ones supported by the Details List control: https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist/grouped
There is another Fluent UI control, Grouped List, that seems to have the styles that you mention above:
https://developer.microsoft.com/en-us/fluentui#/controls/web/groupedlist
Not sure if we could extend the control to render either DetailsList or GroupedList, depending on properties. Is this something you would be willing to explore and submit a PR if the control can be extended to use GroupedList while offering the same features as DetailsList?


docs: remove badge for "test" (cause there's no test currently)

Fix broken image in README.md for the test passing badge.

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

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


[FEATURE] Add support for model extending.

Describe a summary of your feature and what it will do.
As part of the plugin development, I want to allow models to be extended by plugins, alongside more uses for the model type.
So if you have 2 models that are using the user type, then it would be pretty useful to specify a way to add new properties. At the moment, plugins will be able to add lots of new features, including things like controllers, therefore if you want to create a plugin to support Discord oAuth2 support (which is done on one of my projects using rewyre) then I would be able to externalise that code, but the issue is I don't think a user wants a whole new model specifically for that functionality but instead extend all user models to add support for that, then each plugin can come with settings to handle different behaviour.
Describe the solution you'd like.
The best way I see this working is something like:
/*
	Firstly let's define our main model.
*/
import { Model, AbstractModel, Extend, Ignore } from 'framework';

@Model('users', 'user', {
	username: 'string',
	password: 'string',
	email: 'string',
})
export class UsersModel extends AbstractModel {}

/*
	Now let's define our extend method.
*/
@Extend('user')
@Ignore(['username', 'password'])
@Model('extend_user_discord', 'user', {
	username: 'string',
	password: 'string',
	discord_token: 'string',
})
export class UsersModel extends AbstractModel {}

Now to note:

The Extend decorator is a generic decorator, can be used to extend many things (providers, services, models, etc).
The extending model can be used as a normal model still, you can use the @Ignore decorator to ignore certain properties, or methods, depending on what you're extending.
Specifically regarding models, when a base model is extended by an extending model, all properties will be added as optional, if you want to use what is defined in the extending model (not suggested in existing code bases) then the optional parameter can be passed as true to the extend decorator like so: @Extend('user', true).

Project is deprecated, in favour of @sodacore/core project.


Update Mapnik-Vector-Tile

There are some errors with the latest mapnik and make check, but make builds with ubuntu 14.04, boost 1.56, and mapnik/mapnik@879e9d517bcca8ebc38908d9f47e9054a58262cb

We'll have to address those make check errors before we consider a merge. Let's do that in MQMAP-41, which is scheduled in a couple of sprints time.

Yep - don't need make check for the benchmarking I'm doing, but I will paste in the compile error when I get a chance.

for reference, since I had a VM up
ubuntu@ip-172-31-12-83:~/src/avecado$ make check
make  check-am
make[1]: Entering directory `/home/ubuntu/src/avecado'
make  test/make_vector_tile test/generalizer test/adminizer test/multi_verification test/unionizer test/render_vector_tile test/overzoom test/http test/http_cache test/tilejson test/post_processor test/util_tile
make[2]: Entering directory `/home/ubuntu/src/avecado'
  CXXLD    test/make_vector_tile
test/make_vector_tile.o: In function `mapnik::json::feature_generator_grammar<std::back_insert_iterator<std::string>, mapnik::feature_impl>::feature_generator_grammar()':
/home/ubuntu/mapnik/include/mapnik/json/feature_generator_grammar_impl.hpp:34: undefined reference to `mapnik::json::properties_generator_grammar<std::back_insert_iterator<std::string>, mapnik::feature_impl>::properties_generator_grammar()'
collect2: error: ld returned 1 exit status
make[2]: *** [test/make_vector_tile] Error 1
make[2]: Leaving directory `/home/ubuntu/src/avecado'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/ubuntu/src/avecado'
make: *** [check] Error 2

to-do: update commit of mapnik in readme

Merged #62, which has been tested with a more recent version of Mapnik.


Do not require python3 in the shebang

Hey!
Thanks for the script, it seems to work just fine.
I noticed this script also worked just fine with python 2. Since I (kinda mistakenly) installed the dependencies for python 2 only on my raspberry pi, I figured I'd modify the script to work with python2.
Not a lot of work, as you can see. I didn't test every case, but the default scenario (with a config file) works just fine.
Cheers!

Ehi, thank you. In the previous PR the default interpreter was defaulted to python3 but I agree with you to keep it to the standard python that will be then given bythe specific environment configuration (e.g. virtualenv).
Thanks for your PR.


feat: guage component initial commit

Overview
This PR is for the ticket gauge component #2624 , #2631
TODO:

The component should work with connected mode.
Implement error state.
Implement data quality.

Verifying Changes
https://github.com/awslabs/iot-app-kit/assets/139960352/84678c3b-83f4-4421-b2f0-549852800def
Loading state:

Legal
This project is available under the Apache 2.0 License.

the significantDigits should default to 4 so this overflow doesn't happen
you can accomplish this by. using the  component like this:
example: `react-components/src/components/kpi/kpiBase.tsx` line 97

<Value value={point?.y} precision={significantDigits} />

the outside gauge should only appear if thresholds are added to the Gauge

thresholds value should not be represented as a percentage, they should be a numerical value
example:
if graph goes from 0-200
and we want a red threshold for values < 50
and we want a green threshold for values < 100
it should NOT be
    {
          value: 0.25,
          id: 'abc',
          color: 'red',
          comparisonOperator: 'LT',
     },
     {
          value: 0.5,
          id: 'xyz',
          color: 'green',
          comparisonOperator: 'LT',
     }

should be
     {
          value: 50,
          id: 'abc',
          color: 'red',
          comparisonOperator: 'LT',
     },
     {
          value: 200,
          id: 'xyz',
          color: 'green',
          comparisonOperator: 'LT',
     }

gauge is not fully rendered if thresholds dont go up to 100%

thresholds={[
        {
          value: .1,
          id: 'abc',
          color: '#2e4c7d',
          comparisonOperator: 'LT',
        },
        {
          value: .3,
          id: 'abc',
          color: '#cc21a1',
          comparisonOperator: 'LT',
        },
      ]}

expected:

current:

[ ] grey background along gauge path is missing - it should be #D5DBDB
[ ] default text size should be larger and bold
[ ] default color should not be black - it should be #0173BC
[ ] adding a custom color does not work -- i should be able to set the default color without the use of thresholds
[ ] arc should be smaller, more like a half circle

@corteggiano Resolved all comments and as much as possible split the code into tiny files. Please review it now.


Support embedded objects

Is it planned at some point? Thanks

Hi Lukasz
Great to see you here.
Yes, we plan to support embedded objects. There are a number of major and minor features  we are still missing.

Embedded objects,
Mixed,
Sets,
Maps,
Upserts,
Better client-reset handling,
Async writes, and
Asymmetric sync

comes to mind.
In general the Flutter / Dart SDK will support all features, supported by the other SDKs, unless the feature is considered deprecated.
However, we cannot give exact timelines for when each feature will land..
Br, Kasper

Sorry about that. Will close when Embedded objects land.

Thanks for the detailed answer. Understandable for not having a specific timeline.
Looking forward to the next updates then!

Is there any sort of documented workaround for this gap at the moment?  It basically means the SDK is not usable for my database schema at the moment.

There are no workarounds at this point.

I'm also waiting for "Embedded objects" to switch to Realm!

Afternoon, just wondering if there are any updates on embedded objects / arrays?  Hope you are all well

As you know I'm really not allowed to give ETAs. I can say that we intend to make more incremental releases than we have in the past, and that embedded objects are high on our agenda.
In the meantime, consider if it is possible to either use full-blown realm objects, or serialise in-and-out of a String (fx.)

Thanks @nielsenko appreciate and appreciate your update!

This is done and will be released shortly

Hello everybody!
First, thanks for updating the lib with the specification of enbedded objects.
I would like your help regarding the use of the resource.
I'm trying to synchronize the schema, but it's generating an error when doing the process.
I have 2 separate classes to handle the data and the relationship with the embedded object, but when building the app, an error message is returned.
@RealmModel()
@MapTo('person')
class _Person {
  late String name;

  @MapTo('address')
  _Address? personAddress;
}

// The generated `Address` class will be an embedded object.
@RealmModel(ObjectType.embeddedObject)
class _Address {
  late String street;
  late String city;
}

Part of the generated file:
// ...another properties
SchemaProperty('address', RealmPropertyType.object, mapTo: 'address', optional: true, linkTarget: 'Address'),

When I start the application, the message below is displayed:
RealmException (RealmException: Error opening realm at path /data/data/br.com.project/files/mongodb-realm/project/635ff39dfb368ea22639a5cb/default.realm. Error code: 18 . Message: Schema validation failed due to the following errors:
- Property 'person.address' of type 'object' has unknown object type 'Address'

I've run on several emulators (Ios and Android), devices (Asus, Iphone 12, Xiaomi), but in all of them the error is persisting.
Is there a process I'm missing?
Thanks!

Hi @ffelicioautodoc
How does your code look for creating the configuration and opening the realm?
BTW: It is typically better to open a new issue.

Just saw this was closed but cant see a new issue raised yet so thought we would pop here:
@nielsenko we have also seen similar behaviour - to get around this we had to included the 'embedded object' inside  Configuration <SchemaObject>[.  We assumed 'embedded objects' would not have to be included within the Configuration <SchemaObject>[ - in our case this approach would lead to 100s of additional SchemaObject (i.e. 'embedded objects') within the Configuration <SchemaObject>[ which is not ideal from a readability or maintainability perspective.  Meaning to raise this, so good @ffelicioautodoc raised, thanks!

Oi@ffelicioautodoc
Como seu código procura criar a configuração e abrir o realm?
BTW: Normalmente é melhor abrir um novo problema.

So I will open a new issue as you suggested.
Thank you for your help.

@dotjon0 and @ffelicioautodoc
That is correct, you need to add the Address.schema to the schemaObjects argument when creating the configuration. This is what I suspect you are missing @ffelicioautodoc.
@dotjon0 I see your point, but that is a current requirement. Embedded objects are not that different from top level objects internally in realm-core.
But we should be able help you add the transitive closure of all dependencies.

@dotjon0 and @ffelicioautodoc
That is correct, you need to add the Address.schema to the schemaObjects argument when creating the configuration. This is what I suspect you are missing @ffelicioautodoc.
@dotjon0 I see your point, but that is a current requirement. Embedded objects are not that different from top level objects internally in realm-core.
But we should be able help you add the transitive closure of all dependencies.

So I will do as you suggested.
At creation I was not including the Address schema in the settings.
I just left them like this:
final config = Configuration.flexibleSync(
  user,
  [
    Person.schema,
  ],
);

Thanks a lot for the help @nielsenko and @dotjon0.
You guys saved a life here.

@nirinchev thanks for confirmation - ive raised a feature request to support not having to place 'embedded objects' within the Configuration.
@ffelicioautodoc pleasure.
Have a good evening both.

@nielsenko what do you mean by "But we should be able help you add the transitive closure of all dependencies." ?

@nirinchev thanks for confirmation - ive raised a feature request #1001 to support not having to place 'embedded objects' within the Configuration.
@ffelicioautodoc pleasure.
Have a good evening both.

Thanks for the mention @dotjon0
Good evening and thanks again for your help.

@dotjon0 let us continue in #1001 👍


Updated roadmap section.

@jayaranigarg Can you take a look, seems to be a flaky test

@dotnet-bot Test Windows / Release Build

@pvlakshm @singhsarab Seems like a flaky test. I will fix it in a seperate PR. Meanwhile triggering a re-run passed the tests. You are good to go.


Speech is taking a long time to respond

The customer is using a sip client called peers to redirect stream from a VoIP call to speech API but the customer is seeing a latency of approximately 8 seconds before they can receive the first response from the server. This is their code. The method writeData(byte[] buffer, int offset, int length) is a callback function to receiving data from the VoIP call and in this method the customer constructs a streamingRecognizeRequest from the bytes received and sends the request to the server. The customer also mentioned that they already checked that bytes from VoIP has no latency.
More discussions from 3188
cc/ @absin1

These types of issues need support tickets.  Please see https://cloud.google.com/speech-to-text/docs/support on how to get support for this type of issue.


style(frontend): add neutral colors to theme

Motivation
Adds neutral colors.
Changes
Colors according to figma.
Note
Just declares colors for future features to use.

It might be better to have a separate PR to address the secondary / primary text color mapping


Add conversation parameters to createConversation

Fixes #1497

Looks good, holding off on updating to preserve agents and because I'm waiting to merge https://github.com/microsoft/botbuilder-js/pull/2886


⚠ Bofrost.lu has degraded performance

In 746b931, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2315 ms

Resolved: Bofrost.lu performance has improved in b5b0d0f after 13 minutes.


[mempool] retire sequence_cache_capacity setting

in worst case scenario number of unique accounts equals to number of all transactions in mempool
so it should be equal to capacity

Motivation for 1M limit (for history):

With 1k tps, this means we would keep ~15m worth of transactions. We could drive it even lower...
This would consume ~400b/tx * 1M tx = ~400Mb of memory. c5d.2xlarge has 16Gig, this leaves plenty of room for other services

@bors-libra r+

:pushpin: Commit 8fee76c has been approved by andll

:hourglass: Testing commit 8fee76ca80266678efb8c7be2d09442780ad899d with merge e439005c16b8535c17eacbf4337586505a8acfbe...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: andll
Pushing e439005c16b8535c17eacbf4337586505a8acfbe to master...


[otbn] Fix name of wide data registers

Wide data registers are called WDRs, not WREG.

Btw: I feel slightly sad about this change, as it moves us further away from calling the General Purpose Register GREGs :-)


Problem with ClientProtocolException & IOException

I have a problem with my code, and need your kind help. A simple code, just to test:
package testeDoMaven;
import org.brunocvcunha.instagram4j.Instagram4j;
public class testeDoAcessoPraVerSeAgoraAcerto {
public static void main(String[] args) {
Instagram4j instagram = Instagram4j.builder().username("username").password("password").build();
instagram.setup();
instagram.login();
}
}
When I run it, I get:

Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Unhandled exception type ClientProtocolException
Unhandled exception type IOException

I've already put the dependency in my pom.xml:
<dependency>
<groupId>org.brunocvcunha.instagram4j</groupId>
<artifactId>instagram4j</artifactId>
<version>1.14</version>
</dependency>
And already did the mvn eclipse:eclipse on my pom.xml folder.
And now... how can I fix it?
Thank you for your time and help!!!

Thank you for your time and help!!!

Eclipse gives me these errors associated to line instagram.login();

Nevermind... Solved...


overall design and responsiveness improvements

Description
Improved the design on some elements that gave me trouble when I first visited the app.
Related Issues
N/A
Changes Proposed

Added an underline to "Add your profile" to indicate that it's clickable
Added a hover effect to "Add your profile" to encourage clicking
Improved the layout on smaller screens; specifically the sidebar and search bar

Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
N/A
Note to reviewers
N/A

Thank You @seifhamdy for the contribution. Star the repo and also share with other.
You can also add your profile.


Is there any plan to support Deconvolution2D() ?

Thank you for your suggestion.
I implemented Deconv2D support.
Please check the example.
https://github.com/yu4u/convnet-drawer/blob/master/examples/AutoEncoder.py

Thank you very much, haha.


ETIMEDOUT

Hey, i've recently bought a ds3231 rtc and i saw this librarie for it. however, when trying to read or write anything it give me an error: OSError: [Errno 110] ETIMEDOUT.
is this a ecript error or am i just dumb. how would i fix this?

Have you tried running the code as provided in the readme? If that works, please share your code, micropython version and hardware you are using.


BUG: Install can not find fireeye sources

I have several tools/packages that will not install because the fireeye source is not available or missing. Any fix/advice/way forward?

Can you post your error? Are you able to browse to https://www.myget.org?

i had the same error as well when i tried to run the install script a 2nd time to make sure everything installed properly.   Ill post my log of  what came up in powershell.  Still learning so my workflow might be wrong.  Everything went well until the first error at PoshC2, then Spiderfoot, wfuzz,  Watson, Pwnedpasswords, openvpn, then the very end after win10config.fireeye i tried to run just the win10config.fireeye file and recieved the myget error.
chocolatey.log.  I looked around and saw some of the errors were due to the installer looking for a different url address, like for the Dnspy tool

Cool, would appreciate the logs. The config package is pretty important, so it would be good if you could get it installed 👍

Please see #122


Remove obsolete hacks in build.sh

@startergo : Hey. I added you to collaborators of this project. If you could accept the invite and push this change to a new change in this repository, I hope the auto-tests will execute.

This fails on my branch.

@startergo : Hey. I added you to collaborators of this project. If you could accept the invite and push this change to a new branch in this repository, and re-create the Pull Request (from this new branch), I hope the auto-tests will execute. Let me know if this is not convenient for you -- I'll try to find another solution.

OK, I did it myself. https://github.com/xaionaro/edk2-builder-docker/pull/28

@startergo : Hey. I added you to collaborators of this project. If you could accept the invite and push this change to a new branch in this repository, and re-create the Pull Request (from this new branch), I hope the auto-tests will execute. Let me know if this is not convenient for you -- I'll try to find another solution.

OK, I did it myself. #28

It helped. Merging :)

@startergo : Could you review https://github.com/xaionaro/edk2-builder-docker/pull/29 please?


stern process leak in Makefile?

Summary
What happened/what you expected to happen?
htop sorted by highest virtual memory

What version of Argo Workflows are you running?
Diagnostics
Either a workflow that reproduces the bug, or paste you whole workflow YAML, including status, something like:
kubectl get wf -o yaml ${workflow}

What Kubernetes provider are you using?
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
# Logs from the workflow controller:
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

# The workflow's pods that are problematic:
kubectl get pod -o yaml -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

# Logs from in your workflow's wait container, something like:
kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Workaround: killall -9 stern

Workaround: killall -9 stern

Could you add it to Makefile?

This was potentially fixed by #8634 / #8613


autocompletion SCSS

Issue Type: Bug
on SCSS files autocompletion doesnt works !
body {
b..
}
not propose border or background
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 10.0.18363

Probably belongs at https://github.com/microsoft/vscode-css-languageservice

the probleme was just with live share !

@mediaclap the liveshare project is also a separate repository, https://github.com/MicrosoftDocs/live-share/issues?utf8=✓&q=is:issue+is:open+sort:reactions-%2B1+. But its not clear to me why you think this is part of Live Share.

Please open issue for Liveshare then


Consider updating example in README

The example in the readme

shows an empty list while loading the next page
has concurrency bugs if multiple searches happen quickly or if the component is destroyed while loading

See discussion https://discuss.emberjs.com/t/is-it-possible-to-store-a-query-in-variable/16810/2?u=ef4 which suggest an alternative.
I can understand now wanting to require an extra dependency like ember-concurrency in your example code, but in that case it will need to manually do things like check isDestroyed before calling setProperties.

Hi Ed,
Thanks for raising this issue. I will address it when I can free up some time.


Speed up the process of updating dependencies in go.mod

[ ] agree to a process we want to use to update dependencies

changelog should be more than just 'updated ocis-xyz to v1.2.3'

[ ] investigate how much this can be automated

@IljaN Subject for the next sprint.

We currently replace all dependencies and version only the end product (ocis). This issue will be relevant in the future when we start versioning dependencies, such as accounts (owncloud/ocis/accounts) and so on...

We currently replace all dependencies and version only the end product (ocis). This issue will be relevant in the future when we start versioning dependencies, such as accounts (owncloud/ocis/accounts) and so on...

still needed

Process from #2342  and https://github.com/owncloud/ocis/blob/8a645f6ac67de87e2cbbcf9441cbeed8583950c1/changelog/unreleased/update-reva-v1.11.0.md is good. Always include the changelog from reva and web.


Action:get returns undefined

Hi *,
I am getting a 'undefined' as response after I run a get action, but store is filled correctly:
Here is my service:
import feathersClient, {
  makeServicePlugin,
  BaseModel
} from "../../feathers-client";

class Exchanges extends BaseModel {
  constructor(data, Exchanges) {
    super(data, Exchanges);
  }

  // Required for $FeathersVuex plugin to work after production transpile.
  static modelName = "Exchanges";
  // Define default properties here
  static instanceDefaults() {
    return {
      id: "",
      base: "",
      date: "",
      rates: {}
    };
  }
}
const servicePath = "exchanges";
const servicePlugin = makeServicePlugin({
  debug: true,
  enableEvents: false,
  idField: "id",
  Model: Exchanges,
  service: feathersClient.service(servicePath),
  servicePath
});

export default servicePlugin;

I then try to get the data (from middleware):
store
      .dispatch("exchanges/get", [
        1,
        {
          query: {
            base: "EUR"
          }
        }
      ])
      .then(res => console.log("exch res", res))
      .catch(err => console.log("exch err", err));

It returns: "exch res undefined" in the console;
Debug mode does not show any other details.
Interesting: the store is filled correctly and I can also receive the store information by:
eg
store.state.exchanges.keyedById[store.state.exchanges.ids[0]]
Any help would be appreciated
Best regards

Hi,
found the problem: you have to make sure that the id of the request (in my case 1) is the same as the id of the return value.
KR