Slim 2859 2021 07 correlation uid secret mgmt

Work in this PR originally has been done by @jandik and reviewed by @bvdzwet in PR598:
https://github.com/OSGP/open-smart-grid-platform/pull/598
Work has been redone in a new branch from development considering the review comments by @bvdzwet
The purpose is to get the correlationUid of the original request into SecretManagement for purpose of logging.
To achieve this the complete MEssageMetadata of the request is passed on to the ProotcolAdapter for DLMS. Therefor the execute and executeBundleAction methods in the CommandExecutor interface have been extended with a MessageMEtadata parameter. The same for the handleMessage methods in the DeviceRequestMessageProcessor abstract class.
Changing this interface and classes touches a lot of classes.

retest this please


fwrite infinite loop on broken pipe

In an application I have where tasks may take up to 5-6 minutes the workers end up going in infinite loops with an error message to the effect of:

PHP Notice:  fwrite(): send of 898 bytes failed with errno=32 Broken pipe in /var/www/lib/Redisent/Redisent.php on line 74

It looks like the same issue was reported upstream and a pull request submitted (https://github.com/jdp/redisent/issues/10).

Hi, I know this should be fixed from a long time now, but I'm getting the exact same notice. I had to change my composer.json version to "dev-master".
Please consider tagging a new version with the most recent code, as using the dev-master can be a bit insecure if somebody wants to use this in production.

At this point, your best bet might be to use my fork instead...  Registered on Packagist under danhunsaker/php-resque.


MOSS & VAT logic

Gather and implement logic described in docs/README.md

This trimming is quite naive, but I hope so, that it will do the job properly.


power point presentation for the package overview session

Hello all,
I am uploading a draft version of the presentation for the session Overview of the open source radar processing packages (09:45 to 10:30).
In the end @wolfidan and myself decided that it would be easier to do it in classical power point rather than notebooks.
I am targeting a 30 minutes talk and assuming there will be 15 minutes questions. As you will see, the presentation is not really fancy but I wanted to be able to discuss the draft.
What I need from you:

Tell me if the contents match your expectations
Tell me if you are happy with the way I present your respective packages
Complement slides 4, 5 and 6 with interesting open source software packages and radar functionality
Provide any advise, criticism, questioning you feel like

I am hoping to be on holiday by the 8th of August so please send me your advise by the beginning of next week
Thanks a lot!
Jordi

Just pinning @kmuehlbauer @mgrover1 @mike-dixon @DanielMichelson @wolfidan about this pull request :)

Looks great! Ready to merge?

I will wait a couple of days for feedback and then I will merge

Looks good from wradlib side. :+1:


Cannot start LanguageServer when installed from quelpa

I'm using Julia 1.3.1 , as an attempt to install lsp-julia I followed  the README  and installed via quelpa. Below is my config
(quelpa '(lsp-julia :fetcher github
                    :repo "non-Jedi/lsp-julia"
                    :files (:defaults "languageserver")
                    ))
(setq lsp-julia-default-environment "~/.julia/environments/v1.3")
(require 'lsp-julia)

However when started lang.server by M-x lsp command it failed and  got the following error on julia-ls::stderr buffer.
I guess with the above config I should be using the LanguageServer as bundled in this git repo.
ERROR: MethodError: no method matching Union{Int64, String}(::String)
Stacktrace:
 [1] LanguageServer.InitializeParams(::Dict{String,Any}) at /home/saipranav/.emacs.d/lisp/languageserver/LanguageServer/src/protocol/initialize.jl:111
 [2] parse_params(::Type{Val{:initialize}}, ::Dict{String,Any}) at /home/saipranav/.emacs.d/lisp/languageserver/LanguageServer/src/requests/init.jl:123
 [3] parse(::Type{LanguageServer.JSONRPC.Request}, ::Dict{String,Any}) at /home/saipranav/.emacs.d/lisp/languageserver/LanguageServer/src/jsonrpc.jl:46
 [4] run(::LanguageServerInstance) at /home/saipranav/.emacs.d/lisp/languageserver/LanguageServer/src/languageserverinstance.jl:236
 [5] top-level scope at none:1

Process julia-ls stderr finished

try to not set lsp-julia-default-environment. Are you sure that the package from the right repo is installed?

try to not set lsp-julia-default-environment. Are you sure that the package from the right repo is installed?
does that mean the :repo
if so I set that to non-Jedi/lsp-julia. Please clarify what that means otherwise ...

I get the reported error when I use Julia 1.4 and current master on the "gdkrmr/lsp-julia" repo (see https://github.com/julia-vscode/LanguageServer.jl/issues/651). I do not get any errors when using Julia 1.3 and master of this repo. master of this repo does not currently work with Julia 1.4.

I had both 1.3 and 1.4 versions of Julia installed, after doing a complete removal of both plus deleting ~/.julia and re-install of 1.3.1. I got this working. @gdkrmr  Thanks for guiding ...

glad to help


DiPHOST just provided PHP 7.0!

Hey! Bit of a mistake here, you removed php56 and called the new addition php7, but it should be php70.

I fixed it and amended the commit.


Add github actions workflow to build and release

Fixes #68

We would have to create a new releases branch and on each push to this branch, a new release would be automatically created. Currently, no changelog is being generated. If we think frequent releases are okay, we could just make use of the main branch to create releases.


Refresh a __component from another __component

I have a vuetable, that use 2 components:
  import BadgeColumn from './BadgeColumn.vue'
  import CustomActions from './CustomActions.vue'

  Vue.component('badge-column', BadgeColumn)
  Vue.component('custom-actions', CustomActions)

How can I refresh BadgeColumn component from CustomActions?
To refresh parent I use this.$parent.refresh(), but it won't refresh  BadgeColumn component.

See this.

I did this at BadgeColumn component, the event is successfully emitted but the hook is not call, and how can I refresh the badge column?
 mounted () {
   this.$on('refresh-badge', () => {
     this.$refs.vuetable.refresh()
   })
 }

You need to clearly understand the parent-child communication first.
I think what you did was just setting up the listener (refresh-badge) in you BadgeColumn component, but you didn't mention how or where you emit the refresh-badge event from.
Base on the information you've given, this is what you have at the moment:
root Vue instance --> Vuetable --> BadgeColumn, CustomActions

If this is the only thing you have, you might use $root as a main event bus to emit and listen to the event. Although, it is recommended that you use a dedicate Vue instance to act as a main event bus instead of using $root.
With this scenario, you will have to emit to the $root like so: this.$root.emit('refresh-badge')
and listen to the event like this, this.$root.$on('refresh-badge')
For me, I usually use another library called vue-events. It easier to understand and use if your app is not so complex.

this.$root.emit('refresh-badge') works, but  this.$root.$on('refresh-badge', () => {  is begin called 3 times.
Here is the code, I just wanted to refresh BadgeColumn:
Fields definitions:
export default {
  tableFields: [
    {
      name: '__component:badge-column',
      title: '',
      dataClass: 'text-center'
    },
    {
      title: 'Id',
      name: 'Id'
    },
    {
      name: '__component:custom-actions',
      title: 'Action'
    }
  ]
}

badgeColumn components to have active or non active badge:
<template>

</template>

I don't think you need to make a component to do just that, __slot would be a lot easier.
And I really see no point why you need to emit an event to update its status. You can just update its underlying value, then the reactivity of Vue will take care of the rest.

Please see the tutorial [here]  (https://github.com/ratiw/vuetable-2-tutorial/wiki/lesson-11#__slotname--v120)


snowflake.Database struct is missing resource_group field

1.3.9
The provider version you are using.
0.63.0
The version of Terraform you were using when the bug was encountered.
Describe the bug
Error: unable to scan row for SHOW DATABASES LIKE 'SCRATCH' err = missing destination name resource_group in *[]snowflake.Database
Expected behavior
imported exisiting db
Code samples and commands
Additional context
broken when importing existing dbs in eu-west-1

thx, for reporting and providing a fix, just encountered this after upgrade to 0.63.0 eagerly waiting for next version

Closing because #1758 was merged.


Can't import a module that exports a var with $ in its name

Here's a bug: create a Javascript module foo.js:
var Bar= 0;
var Foo$1 = 1;
export { Bar, Foo$1 as Foo };

and a python main which tries to import that:
from foo import Foo;

With the latest transcript (3.7.4) with python 3.7 on Linux, I get a very long error traceback, but the key part is this:
  File "/home/garyo/.virtualenvs/horizon-web/lib/python3.7/site-packages/transcrypt/modules/org/transcrypt/utils.py", line 323, in digestJavascript
    result.exportedNames.extend (eval (re.sub (r'\w+', lambda nameMatch: f'\'{nameMatch.group ()}\'', match.group (1))))
  File "<string>", line 1
    { 'Bar', 'Foo'$'1' 'as' 'Foo' }
                  ^
SyntaxError: invalid syntax

Perhaps the regex r'\w+' needs to also accept $; patching that to r'[\w$]+' in utils.py works for me.

Quite right.
Fixed in 3.7.8


Feat: Refactor the book_calendar_event to be reusable

The book_calendar_event function in the integrations folder is currently designed to be used specifically in the Incident situation.
Propose:
Update the function to receive the event's details in a generic way

https://github.com/cds-snc/sre-bot/pull/460


Add support for JSONata datetime functions

$now()
$millis()
$fromMillis()
$toMillis()

Here's the reference implementation in JS: https://github.com/jsonata-js/jsonata/blob/master/src/datetime.js

Just to make sure we don't duplicate work... I have partially implemented this already (will push to a branch later, its on my personal machine since I worked on it before I started here)

Just to make sure we don't duplicate work... I have partially implemented this already (will push to a branch later, its on my personal machine since I worked on it before I started here)

ok, yeah, I was not planning to start on this myself yet; I was under the impression that Adam was going to create tickets for the backend team.

The datetime functions are supported in JSONata-rs:
https://github.com/Stedi/jsonata-rs/pull/66
https://github.com/Stedi/jsonata-rs/pull/70


1.19.2 NoTimeOutNoMore

Checklist

[X] I've checked that my mod suggestion hasn't already been added to one of the lists.
[X] I've checked the latest issues to make sure that this mod hasn't already been suggested.

What is your mod's name?

Bugfix
What side dose your mod need to run on?
Server
Input a link to your suggested mod.
https://www.curseforge.com/minecraft/mc-mods/notimeoutnomore
What is your reasoning for including this mod?
I want to add this mod because it is obscured by its name but is actually very helpful.
(OPTIONAL) Give some extra information about the mod.
Right now you cannot change time out delay for forge 1.19.2 without a mod and this the only mod out that does this. Larger modpacks will benefit from this mod. I have a kitchen sink pack that can sometimes delay updates but not crash and this kind of mod has in fact helps quite a bit. Let's give it a slot ;)

Added in dev


USB Peripheral (Gadget) mode is always forced to host on boot

Description
Using honister I built and image for Raspberry Pi Zero 2 W 64bits adding dwc2 overlay and config ENABLE_DWC2_PERIPHERAL, and when booting dmesg states "Configuration mismatch. dr_mode forced to host"
Steps to reproduce the issue:

Build poky-honister for raspberrypi0-2w-64 with dwc2 overlay
boot
RNDIS does not come up, host mode is forced, unable to up usb0 network interface

Describe the results you received:
/var/log/dmesg
[    2.090857] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.091266] dwc_otg: FIQ enabled
[    2.091281] dwc_otg: NAK holdoff
[    2.091295] dwc_otg: FIQ split-transaction FSM enabled
[    2.091315] Module dwc_common_port init
[    2.092328] dwc2 3f980000.usb: supply vusb_d not found, using dummy regulator
[    2.092591] dwc2 3f980000.usb: supply vusb_a not found, using dummy regulator
[    2.093333] dwc2 3f980000.usb: Configuration mismatch. dr_mode forced to host
[    2.144442] dwc2 3f980000.usb: DWC OTG Controller
[    2.144520] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.144589] dwc2 3f980000.usb: irq 51, io mem 0x3f980000
[    2.145151] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.145172] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.145190] usb usb1: Product: DWC OTG Controller
[    2.145208] usb usb1: Manufacturer: Linux 5.10.78-v8 dwc2_hsotg

config.txt
# Enable UART
enable_uart=1
# Enable VC4 Graphics
dtoverlay=vc4-fkms-v3d
# Enable Sony RaspberryPi Camera(imx219)
dtoverlay=imx219
# Enable USB peripheral mode
dtoverlay=dwc2,dr_mode=peripheral
# Disable bluetooth to restore UART0/ttyAMA0 to GPIO 13,14
dtoverlay=disable-bt
# Drives a GPIO high on poweroff
dtoverlay=gpio-poweroff,active_low=0,gpiopin=18

# have a properly sized image
disable_overscan=1
# Enable audio (loads snd_bcm2835)
dtparam=audio=on

g_ether not being loaded was the problem, to solve I had to change some kernel configs:
CONFIG_USB_GADGET=y
CONFIG_USB_ETH=y
CONFIG_USB_ETH_RNDIS=y
CONFIG_INET=y


Model Enhancement using ensembling Models such as GradientBoosting , Adaboost and Stacking method

🛠 Related Issue

Closes #239

📝 Description

Model Enhancement using ensembling Models such as GradientBoosting , Adaboost and Stacking method
I have developed the entire pipeline structure for GradientBoosting Models and Stacking model
🔍 Type of PR

[X] 🐛 Bug fix
[X] ✨ Feature enhancement
[X] 📚 Documentation update

📸 Screenshots / 🎥 Videos (if applicable)

✅ Checklist

[X] I have performed a self-review of my code.
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

ℹ Additional Context

I have made the stacking model using Gradient Boosting and Xgboost and also provided an image for it .
@Akshat111111 can you please review the PR and provide a level3 tag under GSSoC'24 for my work . It would be really appreciated .

@Akshat111111 , Hey Bro can i get a Level-3 tag for it


Fix Selecting many days in recurring pickups breaks layout

Closes #1133
What does this PR do?
This pull request fixes the layout break when you select multiple days in a new recurring pickup.
I checked the Quasar Documentation, typed some extra text in the Select component example (as you can see in the image bellow) and could check they don't support yet text truncation in a Select component. So I added the CSS class "ellipsis" Quasar Documentation Ellipsis in the Select component responsible for the text and the issue is fixed.

Links to related issues
Checklist

[ ] added a test, or explain why one is not needed/possible...
[ ] no unrelated changes
[ ] asked someone for a code review
[ ] joined #karrot-dev channel at https://slackin.yunity.org
[ ] added an entry to CHANGELOG.md (description, pull request link, username(s))

Hey @adrianodantasit, thanks your initiative!
Before it looked like this:

Now it looks like this:

Seems an improvement to me! Would be cool to actually see the ellipsis ... if that's possible!
Other than that, the tests fail because the snapshots aren't up-to-date. You could run yarn test -u to update them, or I could run it before merging.

I had a quick try and set the white-space: normal property to .q-input-target:

But I'm not sure if this is better - if somebody wants to see all details, they can just click on the input field.

Thanks @tiltec , it's a big pleasure help somehow such a nice project.
Well I inspected the web console and I realized what's going on.
There's a div which it bigger than its parent. Look:
Parent:

Child:

That happened because the child div don't have a width in any of its classes, so I appended an extra class to the child only for control the width, setting it to width: 100% and this already fixed the text overlaying the arrow drop down.
But it didn't show the ellipsis just doing that, I suspect it's because the text is inside a flex container without any child, so I removed the display: flex property from the container:

Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday

With those 2 steps I achieved a nice result check bellow:

So I think this is an issue in the Quasar framework generating this child bigger than its parent, what's your opinion? append an extra class just to control the width? open an issue in Quasar github?

Thanks for your praise! :smile:
Look what I found: https://github.com/quasarframework/quasar/issues/2795
Seems the problem only shows up in Firefox and should be fixed with the next Quasar release.
I would close this PR and https://github.com/yunity/karrot-frontend/issues/1133 and wait some days for a new release.

Yeah I really meant it. :)
I've never used Vue so I'm kinda lost in this project but as soon as I get more familiar with it I'll help more.
I agree with close this PR.
One extra question, not sure if it's appropriate ask here so if not just close the PR.
Could you say some good references for study about tests? Like books, courses...

Could you say some good references for study about tests? Like books, courses...

I should say I'm really not an expert. Mostly I write tests because I'm not sure if I implemented something correctly. Or there is a bug and I write a test before I fix it, to prevent regression.
Generally speaking, the test pyramid gives good guidance, and this is a much more in-depth article.


[macOS] Big Sur icon support

Hi,
It would be great to have a Big Sur assets so that Mattermost is ready when the OS launch.
You could reuse the iOS as-is or add the new drop shadow like apple did on it's icons.

Hi,
Here is a suggestion. What do you think?

Here is the source Sketch file, in case it's needed for further use...
Mattermost.sketch.zip


Access to  job name when running the actual job

passing name of job when running the actual job for added flexibility
SyncedCron.add({
        name: 'your job',
        schedule: function(parser) {
            // parser is a later.parse object
            return parser.recur().on('11:22:00').time();
        },
        job: function(intendentAt, jobName) {
           console.log('oya! boss  '+jobName+' is being done at '+intendentAt.toString());
        }
    });

Looks good, thanks. This will go out in the next release!


Enter 'PM' Assessment

As an analyst
I want to complete the PM assessment
so that I can manage it and record the outcomes.
Acceptance Criteria:

[ ] Given that an analyst is on the PM assessment page,
the options for the outcome will be:
RFI
Needs 2nd review
Assessment complete

[ ] Scenario: ...
Given
When
Then

[ ] Scenario: ...
Given
When
Then

Not included:

Technical Analysis

[ ] .
[ ] .
[ ] .

Wireframes

@MarsRomer screenshot's updated

Looks good, only one thing needs changing - the other files needs to be a multi file upload.  But I am going to put this in 'Done' for now and we can create a bug ticket for fixing that as it's not urgent


quarkus: add kafka template.

Add a new kafka template to the Quarkus stack.
This template demonstrates the use of MicroProfile Reactive Messaging to produce and consume messages via Kafka, with Quarkus.  It is inspired by the Quarkus Kafka guide - https://quarkus.io/guides/kafka
Documentation is included showing how to deploy Kafka locally and on Kubernetes.

Hi @paulrobinson - please take a look!

Thanks @ianpartridge I'll take a look.
My immediate concern, is how we will maintain these code templates. I got bitten by this when I recently updated the Quarkus version. There was a change to the quickstart, I based the default template on, which I didn't notice. It was a breaking change, so I needed to spend a while figuring out why it didn't work anymore.
However, i'm not sure how we can avoid this problem. Maybe we just try to keep the code as similar as possible to the quickstart, such that a diff can be done manually each time the Quarkus version is updated? When i review this PR, I'll do a diff against the quickstart and see how feasible it is to do that.

Thanks Paul, that's a fair concern. In the case of this template, the code is deliberately a straight copy-paste to aid in keeping things in sync.

Ok great. Should be easy-ish to maintain then. I was able to fix the deafault one pretty quickly once I thought to check the diff.
I suppose the real issue comes if we end up wanting all/most of the guide examples in here. But that's probably a worry for later, if the problem ever arrises.

Agreed that manual testing will be needed, to ensure that appsody run and appsody deploy work as expected for this template.  I've done this testing myself, others should verify.

Hi @paulrobinson did you have a chance to look at this? Thanks :)

Hi @ianpartridge, sorry I've not been able to as something came up yesterday. I'm hoping to look Thurs AM or Friday.

I've gone through this now, and I got it working on my laptop (minus the Kubernetes instructions). Although, I'm yet to do a diff against the original quickstart to verify that it's equivalent (I'll try to move onto that now).
The README.md feels a bit muddled to me. If I choose to go down the Kafka route, I need to start in the 'Getting Started' section (which is past the Kafka section) but only follow the first section to initialise the project. I also need to know to specify the Kafka template, which I don't think is mentioned. I think I then follow the instructions in the "kafka template" section. But at the end, I'm not sure how to test it, as the instructions are different to testing the default template. I think I go to http://<IP_ADDRESS>:8080/prices/stream and observe the stream of prices.
Would it make sense to separate the README.md into a defualt and a Kafka version? There would be some duplication, but it would flow better for the user once they have picked the route they want to take. This could scale better if/when we add more templates too (but wouldn't want to prematurely optimise for that now).

Thanks for reviewing!  You should be able to go to prices.html to see the "UI" :)
I agree about the README.. I'll try and rework it to be a bit clearer but I think we should stick to 1 file for now, until more templates arrive...

Keeping in one file does sound ideal. I suppose my main suggestion was to provide a more linear path for the user regardless of which template they choose (at the cost of duplication).

@ianpartridge @paulrobinson - Is this critical for today? Can merge if @paulrobinson is happy.

We'd really like to get this merged today so we can consume it in the RC of another project.

Okay @ianpartridge - Please can you bump the stack version then this can be merged asap.


Naming Collision issue

Hi all
I found a Naming collision issue when I try to run the command npm start
Failed to build DependencyGraph: Naming collision detected: /home/samantha/Projects/prepaid-portal/m1-prepaid-portal-web/node_modules/fbjs/flow/include/fetch.js collides with /home/samantha/Projects/prepaid-portal/m1-prepaid-portal-web/node_modules/react-native/Libraries/Fetch/fetch.js
Error: Naming collision detected: /home/samantha/Projects/prepaid-portal/m1-prepaid-portal-web/node_modules/fbjs/flow/include/fetch.js collides with /home/samantha/Projects/prepaid-portal/m1-prepaid-portal-web/node_modules/react-native/Libraries/Fetch/fetch.js
Can you help me to fixed this one
Hey there and thank you for using React Native!
React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
Please read the following tips before filing an issue:
Is this something you can debug and fix?
Can you see anything in the logs? Can you debug why this happens? Send a pull request! Bug fixes and documentation fixes are very welcome.
Have a question or not sure you've found a bug?
Please ask your question on StackOverflow with the tag react-native. StackOverflow is amazing for Q&A. Because of the reputation system it is likely the community will see and answer your question there.
Make sure you include a short code snippet to demonstrate the problem.
Have an idea for a feature?
Post the feature request on Product Pains. It has a voting system that lets us focus on the most important issues the community is experiencing. The higher number of votes the more likely it is a feature will get implemented. You could always implement it yourself, too.
None of the above, want to create a GitHub issue
Make sure to add all the information needed to understand the issue so that someone can help. If the info is missing we'll add the 'Needs more information' label and close the issue until there is enough information.

If this is a bug, provide a minimal code snippet that reproduces it
Provide screenshots where appropriate
What's the version of React Native you're using?
Does this occur on iOS, Android or both?
Are you using Mac, Linux or Windows?

Closing in favour of #5467


Google Map widget is not displayed inside column

I am getting following error, when I am trying to display GoogleMap inside a column widget.
Column(
children: [
GoogleMap(
mapType: MapType.normal,
initialCameraPosition: CameraPosition(target: _center, zoom: 15),
),
],
)
I/flutter ( 4678): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 4678): The following assertion was thrown during performResize():
I/flutter ( 4678): FlutterError contained multiple error summaries.
I/flutter ( 4678): All FlutterError objects should have only a single short (one line) summary description of the
I/flutter ( 4678): problem that was detected.
I/flutter ( 4678): Malformed FlutterError:
I/flutter ( 4678):   RenderAndroidView object was given an infinite size during layout.
I/flutter ( 4678):   This probably means that it is a render object that tries to be as big as possible, but it was put
I/flutter ( 4678):   inside another render object that allows its children to pick their own size.
I/flutter ( 4678):   RenderAndroidView object was given an infinite size during layout.
I/flutter ( 4678):   This probably means that it is a render object that tries to be as big as possible, but it was put
I/flutter ( 4678):   inside another render object that allows its children to pick their own size.
I/flutter ( 4678):   The nearest ancestor providing an unbounded height constraint is: RenderFlex#7b34e relayoutBoundary=up1 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
I/flutter ( 4678):     creator: Column ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ←
I/flutter ( 4678):       AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#2e935 ink
I/flutter ( 4678):       renderer] ← NotificationListener ← PhysicalModel ←
I/flutter ( 4678):       AnimatedPhysicalModel ← Material ← ⋯
I/flutter ( 4678):     parentData: offset=Offset(0.0, 0.0); id=_ScaffoldSlot.body (can use size)
I/flutter ( 4678):     constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=592.0)
I/flutter ( 4678):     size: MISSING
I/flutter ( 4678):     direction: vertical
I/flutter ( 4678):     mainAxisAlignment: start
I/flutter ( 4678):     mainAxisSize: max
I/flutter ( 4678):     crossAxisAlignment: center
I/flutter ( 4678):     verticalDirection: down
I/flutter ( 4678):   The constraints that applied to the RenderAndroidView were:
I/flutter ( 4678):     BoxConstraints(0.0<=w<=360.0, 0.0<=h<=Infinity)
I/flutter ( 4678):   The exact size it was given was:
I/flutter ( 4678):     Size(360.0, Infinity)
I/flutter ( 4678):   See https://flutter.dev/docs/development/ui/layout/box-constraints for more information.
I/flutter ( 4678):
I/flutter ( 4678): The malformed error has 2 summaries.
I/flutter ( 4678): Summary 1: RenderAndroidView object was given an infinite size during layout.
I/flutter ( 4678): Summary 2: RenderAndroidView object was given an infinite size during layout.
I/flutter ( 4678):
I/flutter ( 4678): This error should still help you solve your problem, however please also report this malformed error
I/flutter ( 4678): in the framework by filing a bug on GitHub:
I/flutter ( 4678):   https://github.com/flutter/flutter/issues/new?template=BUG.md
I/flutter ( 4678):
I/flutter ( 4678): When the exception was thrown, this was the stack:
I/flutter ( 4678): #0      new FlutterError.fromParts. (package:flutter/src/foundation/assertions.dart:540:9)
I/flutter ( 4678): #1      new FlutterError.fromParts (package:flutter/src/foundation/assertions.dart:543:6)
I/flutter ( 4678): #2      RenderBox.debugAssertDoesMeetConstraints. (package:flutter/src/rendering/box.dart:1966:28)
I/flutter ( 4678): #3      RenderBox.debugAssertDoesMeetConstraints (package:flutter/src/rendering/box.dart:2029:6)
I/flutter ( 4678): #4      RenderBox.size=. (package:flutter/src/rendering/box.dart:1740:7)
I/flutter ( 4678): #5      RenderBox.size= (package:flutter/src/rendering/box.dart:1742:6)
I/flutter ( 4678): #6      RenderAndroidView.performResize (package:flutter/src/rendering/platform_view.dart:169:5)
I/flutter ( 4678): #7      RenderObject.layout (package:flutter/src/rendering/object.dart:1604:9)
I/flutter ( 4678): #8      RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:743:15)
I/flutter ( 4678): #9      RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #10     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:142:11)
I/flutter ( 4678): #11     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:443:7)
I/flutter ( 4678): #12     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:212:7)
I/flutter ( 4678): #13     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:356:14)
I/flutter ( 4678): #14     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #15     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #16     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #17     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #18     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1214:11)
I/flutter ( 4678): #19     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #20     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:206:11)
I/flutter ( 4678): #21     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #22     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #23     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #24     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #25     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #26     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #27     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #28     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #29     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #30     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #31     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #32     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #33     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #34     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #35     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #36     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #37     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3076:13)
I/flutter ( 4678): #38     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #39     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:510:15)
I/flutter ( 4678): #40     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #41     __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #42     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #43     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #44     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #45     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #46     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #47     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #48     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #49     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
I/flutter ( 4678): #50     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
I/flutter ( 4678): #51     RenderView.performLayout (package:flutter/src/rendering/view.dart:151:13)
I/flutter ( 4678): #52     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1496:7)
I/flutter ( 4678): #53     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:765:18)
I/flutter ( 4678): #54     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:346:19)
I/flutter ( 4678): #55     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:701:13)
I/flutter ( 4678): #56     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5)
I/flutter ( 4678): #57     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1016:15)
I/flutter ( 4678): #58     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:958:9)
I/flutter ( 4678): #59     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7)
I/flutter ( 4678): #61     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
I/flutter ( 4678): #62     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
I/flutter ( 4678): #63     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
I/flutter ( 4678): (elided one frame from package dart:async-patch)
I/flutter ( 4678):
I/flutter ( 4678): The following RenderObject was being processed when the exception was fired: RenderAndroidView#bde04 NEEDS-LAYOUT NEEDS-PAINT:
I/flutter ( 4678):   needs compositing
I/flutter ( 4678):   creator: _AndroidPlatformView ← _FocusMarker ← Focus ← AndroidView ← GoogleMap ← Column ← MediaQuery
I/flutter ( 4678):     ← LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ←
I/flutter ( 4678):     AnimatedDefaultTextStyle ← ⋯
I/flutter ( 4678):   parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
I/flutter ( 4678):   constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=Infinity)
I/flutter ( 4678):   semantic boundary
I/flutter ( 4678):   size: Size(360.0, Infinity)
I/flutter ( 4678): This RenderObject has no descendants.
I/flutter ( 4678): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 4678): Another exception was thrown: FlutterError contained multiple error summaries.
I/flutter ( 4678): Another exception was thrown: A RenderFlex overflowed by Infinity pixels on the bottom.
Reloaded 8 of 901 libraries in 1,394ms.

I fixed it like this -
Column(
children: [
SizedBox(
width: MediaQuery.of(context).size.width,  // or use fixed size like 200
height: MediaQuery.of(context).size.height,
child: GoogleMap(
mapType: MapType.normal,
initialCameraPosition: CameraPosition(target: _center, zoom: 15),
))
])
But now new issues is there by placing google map in a column -
If placed in column, only zoom in map is working, that is also on double tap. No zooming out, no sliding in map to other location. Its like a static image of map.

https://github.com/flutter/flutter/issues/37383#issuecomment-533463708

try wrapping googlemaps inside a Expanded widget that will autofill remaining space of Column or Row.

This will solve your problem:
https://github.com/flutter/flutter/issues/39582

This will solve your problem:
https://github.com/flutter/flutter/issues/39582


libaom: 3.0.0 -> 3.1.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 121685 at 8d56f162 run on x86_64-linux 1

26 packages marked as broken and skipped:

autotrace
gimpPlugins.exposureBlend
gimpPlugins.texturize
glimpsePlugins.exposureBlend
glimpsePlugins.texturize
gnome3.gnome-books
gnome3.gnome-documents
hhvm
invoice2data
libsForQt512.dragon
...

570 packages skipped due to time constraints:

MIDIVisualizer
abiword
adapta-gtk-theme
almanah
apostrophe
aravis
arc-theme
areca
arx-libertatis
asc-key-to-qr-code-gif
...

6 packages built successfully:

dvdauthor
imagemagick
libaom
libavif
libheif
libwmf

1 suggestion:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/development/libraries/libaom/default.nix:13:15:
   |
13 |   patches = [ ./outputs.patch ];
   |               ^


[Bazel] fix: remove use of native.bind

native.bind() is not supported with bzlmod: https://bazel.build/external/migration#bind-targets
This is required when grpc is used in a project that does have bzlmod enabled and will be required if/when the grpc repo converts to bzlmod.

Looks like we have a conflict, can you please rebase? We'll trigger the tests after that.

Updated

Looks like most (if not all) of this PR is already checked in as part of https://github.com/grpc/grpc/pull/35272.
@jbedard, could you confirm? Maybe this can be closed now.

I haven't looked at this in a while. If you think this is no longer required we can just close it.


onyxstudios in cardinal components url in build.gradle should be lowercase

onyxstudios in cardinal components url in build.gradle should be lowercase. So "io.github.OnyxStudios.Cardinal-Components-API:cardinal-components-base:${project.cardinal_version}" should become "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-base:${project.cardinal_version}" else it throws an exception saying that it didn't found it (at least for me)

closed by #14


Searching for file names: Error parsing glob '/[/': unclosed character class; missing ']'

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.76.2 (user setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No
Steps to Reproduce:

Search with file name containing [
See error

Your path for in the files to include field needs a closing bracket to accompany your opening bracket. The error there is intentional.


tf.linalg.sqrtm() returns nan

I want to perform the function of matrix square root in my CNN, which can be automatically backpropagated. I used the function tf.linalg.sqrtm() to compute the square root of an invertible matrix. After running the session, it returns an array with all elements equal to "nan". Does anyone know about the reason for the incorrect result? Or any other methods to compute the matrix square root in the forward process and compute gradients automatically during the backward process?
The settings are:

Linux Ubuntu 16.04
TensorFlow version: 1. 14. 0
Python version: 3.6

@hathawayxxh
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Add more colors and enhance log output

As title sais. Could anyone tell me what's "DEPENDENCY_OUTPUT=$()" for?

@ladyada could you clear cache of this PR and restart build? It should be fine then, now are PR build fixed on this repo.

ok done

@ladyada it seems to work perfectly, could you squash merge it? Thanks.


List of domain names that aren't acceptable in your listings

<IP_ADDRESS> <IP_ADDRESS>.beeglivesex.com
<IP_ADDRESS> <IP_ADDRESS>.hpyrdr.com
<IP_ADDRESS> <IP_ADDRESS>.creative.hpyrdr.com

And why not,if they resolve just alright with ipv4 and ipv6 address and on top of that are flagged as malicious:
https://www.virustotal.com/gui/domain/<IP_ADDRESS>.beeglivesex.com/details

Thanks for this Prajwal @Prajwal-Koirala and thank you Dan @dnmTX for the research and sharing your findings.
Closing.


[Bug]Pod Dependency Error

What happened?
I have many development pods.
When I add spm_dependency AsyncDNSResolver to Pod A. And Pod B dependency A. There will be build error in Pod B.
Missing required module 'AsyncDNSResolver'

CocoaPods environment
No response
Anything else?
No response

Hey there.
I've tried adding AsyncDNSResolver to the example project on my end and it works.
Kindly refer to branch check/140, here's the diff: https://github.com/trinhngocthuyen/cocoapods-spm/compare/check/140
Could you help double-check the integration on your end?
If possible, would you mind sharing the package declarations (in Podfile) for troubleshooting?
Thank you!

Closing this issue as not reproducible. Feel free to reopen it with more details for troubleshooting. Thank you!


Fail on record creation ?

When using perf-rec, committing new tests without committing performance records will result in passing tests without having actually tested performance.
Shouldn't perf-rec fail (or throw) on record creation?

I thought of this. [[ https://vcrpy.readthedocs.io/en/latest/usage.html#record-modes | vcrpy has 4 record modes ]] and perf-rec currently does the same as 'once' mode, which is its default. The mode you suggest is 'none'  mode. We could support it with a Django setting which users activate during their CI process.
N.B. at YPlan we've never had this problem because everything goes through code review on Phabricator, which also doesn't allow code to be submitted with uncommitted files hanging around.

I like the setting idea. I'm also working on displaying a diff between records on failure (as TestCase.assertEqual does), maybe this can be a django setting, too.

That would be cool. I don't think we need a setting for that, just do it automatically for all the poor non-pytest users 😈

So I'm wondering what's the best option here:

just add a boolean setting that makes tests fail when record does not exist (and create it)
add 3 modes:

'once' : only fail when record exists and is different ; create record quietly
'none' : fail when record does not exist, but do not create it
'all' : fail when record does not exist, and create it

Thoughts ?

I'd probably go with a single setting dict PERF_REC, as that's the trend these days to keep settings files tidy. Then we can have a mode key within that dict that takes the 3 modes you posted there. The new_episodes mode that VCR does seem to be less useful and was clearly problematic as a default.

Fixed in cde3be16a33ccd46090acfb82c34a30ac9c7803a


Update types.d.ts

Use Promise<R> for async matchers

@marekkirejczyk the test failures look unrelated to the PR changes. Would you mind verifying? I'm not blocked by these changes because I've already made them in my own project, but I thought you guys might want them, too.

Released in 3.2.2

Released in 3.2.2


ENH : Refactor of command line interface and new functions for interaction with the logbook

Looks better - but will need testing on the beamline as discussed.


There is a misplaced close bracket in crib-cheat_git.md

[x] change close bracket in line 30: "Check that you are under C:/git/github/htw-pv3) otherwise write" to a comma
[x] make pull request

Improved commit message: Fix typo close bracket #96


racer.racerBinPath is not set in your config.

[Enter steps to reproduce below:]

...
...

Atom Version: 1.10.2
Electron Version: 0.37.8
System: Mac OS X 10.11.6
Thrown From: Atom Core
Stack Trace
racer.racerBinPath is not set in your config.


Update http4s-blaze-client, ... to 0.21.21

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.13 to 0.21.21.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Superseded by #241.


fix(upgrade): Using Lambda Alias for Deployment in SM

Creating Alias "live" and assiging latest version to it
Replacing SM deprecations with appropriate methods of CDK

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR pins Lambda to the $Latest version, preventing the execution of old code after an upgrade.


Patient not stored

I'm running node-fhir-server-mongo.
I'm trying to create a patient:
curl -X PUT "http://localhost:3000/4_0_0/Patient/example1" -H "application/fhir+json" --data<EMAIL_ADDRESS>
My patient.json is:
{
  "resourceType": "Patient",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tName	\n\t\t\t\t\t\tPeter James \n              Chalmers ("Jim")\n            	\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tAddress	\n\t\t\t\t\t\t534 Erewhon, Pleasantville, Vic, 3999	\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tContacts	\n\t\t\t\t\t\tHome: unknown. Work: (03) 5555 6473	\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\tId	\n\t\t\t\t\t\tMRN: 12345 (Acme Healthcare)	\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
"
  },
  "identifier": [
    {
      "use": "usual",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code": "MR"
          }
        ]
      },
      "system": "urn:oid:<IP_ADDRESS>.5<IP_ADDRESS>",
      "value": "12345",
      "period": {
        "start": "2001-05-06"
      },
      "assigner": {
        "display": "Acme Healthcare"
      }
    }
  ],
  "active": true,
  "name": [
    {
      "use": "official",
      "family": "Chalmers",
      "given": [
        "Peter",
        "James"
      ]
    },
    {
      "use": "usual",
      "given": [
        "Jim"
      ]
    },
    {
      "use": "maiden",
      "family": "Windsor",
      "given": [
        "Peter",
        "James"
      ],
      "period": {
        "end": "2002"
      }
    }
  ],
  "telecom": [
    {
      "use": "home"
    },
    {
      "system": "phone",
      "value": "(03) 5555 6473",
      "use": "work",
      "rank": 1
    },
    {
      "system": "phone",
      "value": "(03) 3410 5613",
      "use": "mobile",
      "rank": 2
    },
    {
      "system": "phone",
      "value": "(03) 5555 8834",
      "use": "old",
      "period": {
        "end": "2014"
      }
    }
  ],
  "gender": "male",
  "birthDate": "1974-12-25",
  "_birthDate": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
        "valueDateTime": "1974-12-25T14:35:45-05:00"
      }
    ]
  },
  "deceasedBoolean": false,
  "address": [
    {
      "use": "home",
      "type": "both",
      "text": "534 Erewhon St PeasantVille, Rainbow, Vic  3999",
      "line": [
        "534 Erewhon St"
      ],
      "city": "PleasantVille",
      "district": "Rainbow",
      "state": "Vic",
      "postalCode": "3999",
      "period": {
        "start": "1974-12-25"
      }
    }
  ],
  "contact": [
    {
      "relationship": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
              "code": "N"
            }
          ]
        }
      ],
      "name": {
        "family": "du Marché",
        "_family": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
              "valueString": "VV"
            }
          ]
        },
        "given": [
          "Bénédicte"
        ]
      },
      "telecom": [
        {
          "system": "phone",
          "value": "+33 (237) 998327"
        }
      ],
      "address": {
        "use": "home",
        "type": "both",
        "line": [
          "534 Erewhon St"
        ],
        "city": "PleasantVille",
        "district": "Rainbow",
        "state": "Vic",
        "postalCode": "3999",
        "period": {
          "start": "1974-12-25"
        }
      },
      "gender": "female",
      "period": {
        "start": "2012"
      }
    }
  ],
  "managingOrganization": {
    "reference": "Organization/1"
  }
}

However, when I'm trying to look at mongo collections, I'm only getting:
> db.Patient_4_0_0.find();
{ "_id" : "example", "id" : "example", "meta" : { "versionId" : "1", "lastUpdated" : "2021-04-22T12:35:57+00:00" }, "resourceType" : "Patient" }

Any other data is stored.
Any ideas?

Same issue.  It's straight out of the instructions here.  I've tried other JSON and only _id, id, meta and resourceType fields are written to mongo.

Make sure below header should be in place.
Content-Type: application/fhir+json

Make sure below header should be in place.
Content-Type: application/fhir+json

That's correct, this should solve the issue

Thanks to bsai and mdned.  Got it working now.
I was making the same mistake as jseudi.  This is what the curl command should be:
curl -X PUT "http://localhost:3000/4_0_0/Patient/example1" -H "Content-Type: application/fhir+json" --data<EMAIL_ADDRESS>The key bit is adding "Content-Type: " to the start of the -H (header) parameter.


Unable to open CRNA project on phone with remote URL

Unlike Expo App (Tool), create-react-native-app does not create remote URL application to open up inside an Expo App.
The QR code produced by CRNA is unable to open app inside the mobile phone(with Expo app).
The Expo App(mobile) usually searches the project at the LAN network.
I created my project via CRNA and ran server(npm start), which then gave me a QR code. I scanned QR code via my expo mobile app.
Expectations:
My project running with a remote URL
Reality:
Expo app was unable to load exp://<IP_ADDRESS>.19000. Network response timed out.
I went through the settings.json & packager-info.json inside .expo folder in my project and didn't find the value of the key "urlRandomness", which is a unique url associated with my username with my expo account.
Also, CRNA never asked mine expo account etc.
Is CRNA only useful to view and develop a project on LAP or same network?

hiya! correct, crna does not create a tunnel for you -- we left it out of crna because we didn't want to depend on an external service -- crna is meant to be service agnostic (technically you could even use something other than the expo app, if someone built something like that!). so you will need to be on the same network, connect your phone to your computer and use adb reverse (sorry plane wifi, you can google it and see how to use it) so you can refer to localhost as your computer from your phone :)


php function current doesn't work with ObjectCollection

I saw in a project following code and I'm not sure if there is a problem in propel or if this shouldn't work at all.
$books = $author->getBooks();
$book = current($books);
var_dump($book);

or
$collection = new ObjectCollection(
    [
        new Book(),
        new Book(),
    ]
);
var_dump(current($collection));

In both cases var_dump printend following code:
array(2) {
  '000000002d6b9b740000000021933b71' =>
  int(0)
  '000000002d6b9b780000000021933b71' =>
  int(1)
}

But expected was a single instance of Book.
Please let me know if this is an issue in propel or if this is an expected behaviour.

I get different results: http://sandbox.propelorm.org/b2b9db1

Strange that you got a different result. You get a string returned. Still I expected to get an instance of Book returned.
This is not working either: http://sandbox.propelorm.org/47160bd

+1

+1

@sebastian301082
class Collection implements \ArrayAccess, \IteratorAggregate, \Countable, \Serializable

It's not a bug. current/next/key() are methods of Iterator interface which is not implemented by Collection. But you can use IteratorAggregate interface and work with Iterator via getIterator() — http://sandbox.propelorm.org/d7dbc1a Also, you are trying call method from Author on Book object.

@marcj , why Collection not implemented Iterator?

Because we use already IteratorAggregate

It's not very intuitive and current issue which 20 days was not solved is prove my supposition. :D

CollectionIterator duplicate some methods of Collection and uses only in getIterator() method, isn't it?

Not responding 20 days has nothing todo with intuitive, it just means everyone is busy. Collection has just not implemented the Iterator or SeekableIterator interface, that's why array access functions like current, end et cetera don't work. So if someone is going to implement it without memory leaks this will be surely merged.

If it is not possible to use functions like current in correct way. Would it be more intuitive, if there will be an Exception or Error if someone  try to use it. Currently returning random information is quite smelly and leads to wrong assumptions.

@sebastian301082-KAM , what you are talking about? Did you read my answer?? I explained everything and create correct example in sandbox. If you can't understand that simple things, it's your problem, not Propel issues.

@SCIF. First and most important: Don't be that rud!!!! I'm just trying to help!
I got your example and I use it already this way.
I'm just suggesting that if someone still uses it, the wrong way, like in original example. It would be good to throw a proper error or exception explaining that this is wrong way to go. But returning "ANY" information is not working in my opinion and leads to wrong assumptions.
Remember I just try to help and make propel2 even better! No offence!


[netcore][03.welcome-user] Fix typos and improvements

Proposed Changes
Fix several typos in sample # 03 welcome-user
Testing
Sample documentation and code should not have typos

Replaced with https://github.com/Microsoft/BotBuilder-Samples/pull/611


Allow reports to register for Runner events

Right now the Reports just implement an API made of these methods:
before_test_case
before_test_step
after_test_step
after_test_case
@tooky and I have decided this should be whittled down to a single method, register_runtime_events passing in a class that can collect blocks to be called back on the report. This gives the reports more control about which events they're interested in, so that the runner doesn't need to waste time calling events that the reports don't care about.

Done, we have events now.


Rewrite HandleMessage code for components

Corresponding PR for engine: https://github.com/space-wizards/RobustToolbox/pull/1028
What this PR does
Reworks HandleMessage within component code, splitting it into two separate functions HandleMessage and HandleNetworkMessage. Also removes unused dependencies within components that no longer need to fetch the player session (since it is provided with HandleNetworkMessage).

Sorry about the redundancy, I forgot to go back to some of the files I was working on earlier where I was overloading both methods. :P


Add to_bytes with some test and example.

It's a quick addition for test and examples, feel free to hit me. ;)

Thanks for the PR 🙏

I've to push force to make it 1 commit sorry! 😅

I've to push force to make it 1 commit sorry! 😅

Perfectly fine :)

I'll do some minor changes to my code where I spotted issues and push a v0.10 soon @katopz, if that's ok 👍
Will ping when avail.

@katopz It's up :)

🦀🎉


[W6.1][W10-A2]Lucas Gaylord

Only last commit is relevant
Previous PR still outstanding and on master branch, so I think that's why the commits translated over

@luca590 please update the PR title to reflect your PhaseB team ID.


Tutorial broken

// the button will update the state each time we click it                 new Button(new Text("Click me!"))                     .setHandlerFor({ event: "click", handler: () => {                         // this.stateis the class that has got methodsgetandset                         // if you want the state to automatically update, you have to use them                         this.state.set("clickedTimes", this.state.get("clickedTimes") + 1)                     }})
According to the docs: Button I believe it should be addHandlerFor.
Also the state.set doesn't seem to be updating the component

This seems to fix the error but the state functions still don't work:
new Button(                         new Text("Click Me!")                     ).addHandlerFor("click",                         () => {                             console.log("clicked", this.state.get("clickedTimes") + 1);                             // this.stateis the class that has got methodsgetandset                             // if you want the state to automatically update, you have to use them                             const newClickedTimes = this.state.get("clickedTimes") + 1;                             this.state.set("clickedTimes", newClickedTimes);                         }                     )

Found the solution for the state set:
this.state.set(                                 {                                     "clickedTimes": this.state.get("clickedTimes") + 1                                 }                             );


owncloud-client: fix darwin build

Missing dependency: Sparkle
Description of changes
Targeting ZHF.
This package failed to build on darwin, adding potential missing dependency and asking the ofborg to test the builds.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg build owncloud-client

https://github.com/ofborg build owncloud-client


Make a storage Link

Using occi-infrastructure.xml (with @mdutoo), we managed to create a compute resource and a storage resource.
But we can't make a storage link between those two resources.
curl -v -H 'content-type: application/json' -X POST http://localhost:8080/categories/storagelink/ -d @storagelink1.json

We tried different things, including this format :
{ "kind":"http://schemas.ogf.org/occi/infrastructure#storagelink", "attributes": { "occi.core.id":"6df690d2-3158-40c4-88fb-d1c41584d6e5", "occi.storagelink.deviceid":"/dev/vdc" }, "target":"http://localhost:8080/92f8e841-4907-411c-b92d-216a91f006c8","source":"http://localhost:8080/6df690d2-3158-40c4-88fb-d1c41584d6e4" }

, like you did in this test (there is an issue in this test, it is not /collections but /categories that needs to be used I think), but we get this error :
{cowboy_handler,[{class,error},{reason,function_clause},{mfa,{erocci_http_handler,init,2}},{stacktrace,[{occi_parser_json,validate,[<<"source">>,<<"http://localhost:8080/6df690d2-3158-40c4-88fb-d1c41584d6e4">>,#{attributes => #{<<"occi.core.id">> => <<"6df690d2-3158-40c4-88fb-d1c41584d6e5">>,<<"occi.storagelink.deviceid">> => <<"/dev/vdc">>},kind => {<<"http://schemas.ogf.org/occi/infrastructure#">>,<<"storagelink">>}}],[{file,"src/occi_parser_json.erl"},{line,34}]},{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},{occi_rendering,parse,3,[{file,"src/occi_rendering.erl"},{line,60}]},{erocci_store,create,5,[{file,"src/erocci_store.erl"},{line,552}]},{erocci_http_handler,parse,2,[{file,"src/erocci_http_handler.erl"},{line,433}]},{erocci_http_handler,init_kind_collection,4,[{file,"src/erocci_http_handler.erl"},{line,322}]},{cowboy_handler,execute,2,[{file,"src/cowboy_handler.erl"},{line,41}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,470}]}]},{req,[{socket,#Port<0.6526>},{transport,ranch_tcp},{connection,keepalive},{pid,<0.229.0>},{method,<<"POST">>},{version,'HTTP/1.1'},{peer,{{127,0,0,1},56621}},{host,<<"localhost">>},{host_info,undefined},{port,8080},{path,<<"/categories/storagelink/">>},{path_info,undefined},{qs,<<>>},{bindings,[]},{headers,[{<<"user-agent">>,<<"curl/7.35.0">>},{<<"host">>,<<"localhost:8080">>},{<<"accept">>,<<"*/*">>},{<<"content-type">>,<<"application/json">>},{<<"content-length">>,<<"321">>}]},{meta,[]},{body_state,waiting},{buffer,<<"{ \"kind\":\"http://schemas.ogf.org/occi/infrastructure#storagelink\", \"attributes\": { \"occi.core.id\":\"6df690d2-3158-40c4-88fb-d1c41584d6e5\", \"occi.storagelink.deviceid\":\"/dev/vdc\" }, \"target\":\"http://localhost:8080/92f8e841-4907-411c-b92d-216a91f006c8\",\"source\":\"http://localhost:8080/6df690d2-3158-40c4-88fb-d1c41584d6e4\" }">>},{multipart,undefined},{resp_compress,true},{resp_state,waiting},{resp_headers,[]},{resp_body,<<>>},{onresponse,undefined}]},{opts,{kind,{kind,{<<"http://schemas.ogf.org/occi/infrastructure#">>,<<"storagelink">>},#{actions => #{},attributes => #{<<"occi.storagelink.deviceid">> => #{category => {<<"http://schemas.ogf.org/occi/infrastructure#">>,<<"storagelink">>},default => undefined,description => <<>>,mutable => true,name => <<"occi.storagelink.deviceid">>,pattern => undefined,required => true,title => <<>>,type => string},<<"occi.storagelink.mountpoint">> => #{category => {<<"http://schemas.ogf.org/occi/infrastructure#">>,<<"storagelink">>},default => undefined,description => <<>>,mutable => true,name => <<"occi.storagelink.mountpoint">>,pattern => undefined,required => false,title => <<>>,type => string},<<"occi.storagelink.state">> => #{category => {<<"http://schemas.ogf.org/occi/infrastructure#">>,<<"storagelink">>},default => undefined,description => <<>>,mutable => false,name => <<"occi.storagelink.state">>,pattern => undefined,required => true,title => <<>>,type => {enum,[error,inactive,active]}}},location => <<"/categories/storagelink">>,parents => [{<<"http://schemas.ogf.org/occi/core#">>,<<"link">>},{<<"http://schemas.ogf.org/occi/core#">>,<<"entity">>}],title => <<"StorageLink Link">>}}}}]}

We tried changing "source" to "occi.core.source", idem for target. We also tried to put the the target and source in attributes ("keyerror source" or something like that).

Hi,
There are both errors in your request and in the way erocci reports parse errors.
Parse error reporting should be fixed in https://github.com/erocci/erlang-occi/commit/461c2ee1ae2f8edaf198b3cf024786c4c447227e
Your request error: source and target are now maps (see JSON rendering in https://github.com/occiware/occi-wg)
"source": { "location": ..., "kind"; ... }

(kind is optional)
fyi, the tests you refer to are obsolete (I should remove them, I suppose) as JSON spec has evolved since then. Reference is the OCCI-wg spec.

Thank you it works for me


validateObjectTree broken with array.some()

iobIDPath.forEach(iobIDName =>{
//if (iobObjects.filter(item => item.id === ${iobIDBasePath}${iobIDName}).length > 1){
if (iobObjects.some(item => item.id === ${iobIDBasePath}${iobIDName})){
commented line is correct, length must be more than 1. array.some finds only first occurance.

Huh? What if you only have one object you want to save?

This part is for detecting duplicates :) Next line is "throw ..."
Original intend of this part:
One element is ok, but two elements with same id is a duplicate.
Bug now:
One element ? Error saying duplicate


We propose to add the ability to convert data for different devices to older models.

We propose to add the ability to convert data for different devices to older models.

Thanks for the suggestion!
Adding support for converting media to formats compatible with older devices is a great idea! We understand the importance of ensuring compatibility with legacy devices, and this could certainly enhance the versatility of Comet. However, older models often require specific formats and codecs that can be tricky to support or maintain.
If you have more details about the formats and devices you're referring to, we’d love to hear them. And of course, if you have experience working with older device formats, we'd encourage you to submit a pull request to help us add this feature to Comet. We're always excited to see community contributions and would welcome your help in making this a reality.
Thanks again for your input!


Staging preservecerts

Preserve certificates over FW upgrade

OpenWrt provides a feature for this via the Makefiles, I will add it in that manner.
https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/system/opkg/Makefile#l60

please help test if this achieves the same result -->
https://github.com/Telecominfraproject/wlan-ap/commit/a88b2c03874e34ddecef790ca8abd8dd1b0b97c1

@mikehansen1970 confirmed via mail that my patch in pending is working. closing the PR, Thanks !


[EASI-2059] CSV Exporting

EASI-2059
Changes and Description

New GraphQL query for retrieving all available data for all models
Install json2csv package to facilitate front-end csv exporting
New CsvExportLink utility that encapsulates exporting behavior

How to test this change
Seed database, click the "Download all plans as CSV button", verify csv against database paying close attention to embedded structs and arrays such as:
basics.cmmiGroups, discussions, discussions.replies, etc.
We utilized some key options with json2csv (https://www.npmjs.com/package/json2csv) - the main two being unwind and blankout. These two options are combined to display embedded structs and arrays in the cleanest way possible but they do make the CSV have a considerable amount of whitespace and empty cells.
PR Author Review Checklist

[ ] Met the ticket's acceptance criteria, or will meet them in a subsequent PR.
[ ] Added or updated tests for backend resolvers or other functions as needed.
[ ] Added or updated client tests for new components, parent components, functions, or e2e tests as necessary.
[ ] Updated the Postman Collection if necessary.

PR Reviewer Guidelines

It's best to pull the branch locally and test it, rather than just looking at the code online!
Check that all code is adequately covered by tests - if it isn't feel free to suggest the addition of tests.
Always make comments, even if it's minor, or if you don't understand why something was done.

Great work with this @downeyn-cms! Am I understanding it correctly that this makes a new line for 1 to many relationship (eg collaborator, or selecting multiple answers for a multi-select).
I'm going to manually seed some more data as well using the old technique, as that had more entries to take a more complete look, but I really like this!

Hey @StevenWadeOddball - that is correct it will make a new row in the csv for each collaborator and will place it directly under it's parent model plan. This row will be filled with blank values for all fields except for the relevant collaborator fields. This is also the case for any other embedded/nested object.

@downeyn-cms this is looking good to me! But as @patrickseguraoddball mentioned, there is a AC to have a loading indicator.
Was there any update on whether or not we wanted to pushed that for another time?

@garyjzhao - I could go either way but probably lean towards pushing that out.
I'd be interested in whether @StevenWadeOddball experienced a long load time with a more robust dataset?

@garyjzhao - I could go either way but probably lean towards pushing that out.
I'd be interested in whether @StevenWadeOddball experienced a long load time with a more robust dataset?

I think UX said if there was no noticeable loading time for a decent amount of models, then an indicator isn't necessary


php merge for associative array non-integer intexed

+= is useful as an array merge just in case the array is numerically indexed, which is not the case here at all.
Problems solved by this:
fragment Fb on User {
  id
  _posts2R94ZT: posts(first: $first_1) {
    totalCount
  }
}

fragment Fc on User {
  _posts2R94ZT: posts(first: $first_1) {
    edges {
      node {
        id
        ...F5
      }
      cursor
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
    }
  }
  id
  ...Fb
}

fragment selection would be merged as opposed to first fragment selection being ignored before.

Actually += is mostly useful for associative arrays vs int-indexed arrays. Can you please update the PR with PHPUnit test case which you are trying to fix? As it is not clear from this PR what bug it actually tries to fix?

Coverage remained the same at 93.717% when pulling 51e67d49c7ab5bf78bc395d1e8d63a4e42c37503 on decebal:master into f77bd17eba9d4b2db5e128f2e943e8a577f83bf8 on webonyx:master.

@vladar I am not sure what you have in mind when stating += is mostly useful. The effects of it are reflected better on this thread . In my app, useful means no loss of selected fields as opposed to maybe array merging performance. One other way of improving the merge performance and keep the same merging method would be to change the structure of selected fields by using as keys global integers to identify types as opposed to what currently is defined as [type_name] => true, but that can prove ineffective for other purposes.

Coverage remained the same at 93.717% when pulling ca92ae46887a393cf09af6508b3acde125da514c on decebal:master into f77bd17eba9d4b2db5e128f2e943e8a577f83bf8 on webonyx:master.

@decebal, now I see what you mean. The issue occurs when two fragments request the same field with different sub-selection. Current solution would only consider selection of first fragment visited, while we actually need to merge it.
Thanks for noticing and fixing! Please let me know when you are done with PR, I'll merge it.

@vladar it's done now, unless there is something else I can relate to this, thanks


Fix Fedora image

Remove release label - in Fedora it's updated automatically by build system.
Select python binary on runtime - Fedora images don't ship python
command by default
Remove arch label - 'Optional: if omitted, it will be built for
all supported Fedora Architectures'
@pkubatrh Please take a look and merge.

[test-openshift]


[DOCS]: -t instead of --testpath in query outputs of Buildspec Tutorial

Documentation Link
https://buildtest.readthedocs.io/en/devel/buildspec_tutorial.html
Issue Description
There are numerous instances in the Buildspec tutorial documentation where the inspect query output uses -t instead of --testpath but still shows the output for using testpath.
This is an example found under Setting environment variables

And this is an example under Create a Spack Environment by name. In this case the command shows --testpath but the output shows that the command -t was used. But the codeblock shows the expected output of using --testpath still.

Post question in Slack

[X] I agree that I posted my question in slack before creating this issue

Is there an existing issue

[X] I confirm there is no existing issue for this issue

Thanks for reporting this issue @Mendi03 do you want to fix this issue.

I will work on this issue once I finish the other 2 issues I am working on. In the meantime I'll leave it unassigned in case somebody else wants to take it.


switch to wait-for to remove dependency on bash

Switch to wait-for.sh from wait-for-it.sh to remove dependency on bash

Hi @pujan14 this looks great, approved!
I will merge this probably tomorrow. I'll need to push new images to docker hub immediately after merging this since the old image does not have wait-for.sh and it will break the example compose.


Access window handle?

Is it currently possible to gain direct access to the native window handle for platform specific use?
For example, I'd like to call SetCapture on Windows passing the window handle.
If it's not possible, is it possible to construct a iced Sandbox or Application using a native window handle from something like winit?

Is it currently possible to gain direct access to the native window handle for platform specific use?

Not when using iced_winit + Application/Sandbox.

For example, I'd like to call SetCapture on Windows passing the window handle.

From what I can tell, this is equivalent to winit's set_cursor_grab() function?

If it's not possible, is it possible to construct a iced Sandbox or Application using a native window handle from something like winit?

Yes! See the integration example.

That it's not possible to easily get an handle to the window is a huge bummer. I don't want to set up everyone on my own just to be able to call some Win32 on the window handle in the end.

Maybe this is something we can produce a RFC or something for to try and figure out if there is a good way to handle this without the need for integration. For most users the integration part can seem a bit overburdening to them due to its complexity.

@levrik Would an additional PlatformSpecific window setting for Windows work for your use case?
https://github.com/iced-rs/iced/blob/cb1aaf1bddd86ef37502602fe0c9d900e8f3f769/winit/src/settings/windows.rs#L1-L12

@hecrj In the end an accessible reference to the winit Window would be enough as it transparently converts to a HWND.

@levrik Yes, I am aware. Still, we should try to tackle use cases directly instead of freely exposing internals.

@hecrj Maybe the result of raw_window_handle could be exposed for all platforms?
https://github.com/rust-windowing/winit/blob/master/src/platform_impl/macos/window.rs#L1117

@hecrj Please let me know what you think. I'm open for preparing a PR.

@levrik As I said, I prefer to tackle use cases directly than exposing internals.

The thing he wants would need to be ported in as a 3rd party feature if you wanted to tackle it directly. since it requires the window handler to function. This is why he wants to make the window handler public. other than that I see no issue adding it to platform specific stuff. However would it be advisable to create a function to make a new Sandbox or Application taking in a winit window?
Like Sandbox::new_with(window);

@genusistimelord My point is that we need to evaluate first whether the feature (enabling Mica effect) is something iced should support out of the box.
Exposing the winit::Window (or a window handle) isn't desirable because the API would be lying to users. The runtime has complete control over the window and not the other way around! The user should change it through the runtime itself, not directly.

yeah in this case that is understandable. The Mica/blur stuff would be a bit hard to support since it is very OS opinionated.
like apply_blur supports windows (7,8,10,11) apply_mica only supports windows 11 and apply_vibrancy is mac 10.10+ only. Nothing for Linux here. So to support it we would need to implement a part to test which OS it is in order to enable it on that OS if they click the Enable blur/mica effect. If this is OK with you to add these ignore checks based on version then it should be fine to add. I see no issue with a self sustained GUI library containing features for different windows effects. As the goal is to simplify the approach and allow the end user to make nice apps quickly.

@genusistimelord As I mentioned in my first comment, we already support platform-specific settings. This would be nothing new.

@hecrj I see. I would be willing to give adding this to the platform-specific settings a shot.

@levrik

I'm seeing that the platform specific settings aren't exposed to iced::Settings in any way. Just want ensure that this is intended and that I have to override run of my Application struct to set them?

Yes, at least until we decide how to expose these platform-specific settings in the root crate.

Probably the best here would be to expand the window builder of winit instead of hacking something on top. Where should I do changes? In https://github.com/iced-rs/winit fork or upstream?

Ideally, we should contribute back as much as possible to winit. We can start a discussion upstream and get some working code in the fork at the same time.
We should also look at the big picture and consider other window-related use cases like #579, #423, and #124.


Submitting abstract to Open Science Festival (deadline 11 July)

Hi all!
I think it would be nice to have a session at the Open Science Festival  in October in Maastricht.
I'm aiming for a 1 hour session and I set up the abstract in the GitHub repository.
Please do edit as you like + add your name to the submission if you want to get more involved in the session organisation. Unfortunately the deadline is rapidly approaching: 11 July. Please make any changes/suggestions by 10 July - 20:00, so that I can submit it on 10 July or early 11 July. Thank you!
@meronvermaas - would you be happy to present your work during the session? Perhaps you could reuse your eScience Fellowship presentation?
@c-martinez - Do you have time/willpower to co-organise the session or are you happy for me to take the lead?
@NemoAndrea - will you attend the OSF and if so, are you happy to participate in the session?
I'll leave Azin out of communications right now as she is attending conferences - hopefully names/abstracts can be updated later if needed :)
Thanks all!
Esther

I will be at the OSF this year and I'll be sure to attend and participate in the session 😃.

Thanks all! I listed everyone as a session organiser and myself and Meron as presenter! I just submitted the proposal so I'll close this issue for now. Fingers crossed :)

Thanks, Esther!


Make MacOS warning more passively worded

Made the MacOS experimental warning more passively worded.

Forgot to base this on 1.0.0 branch


[PDI-18039] Changing the web application name breaks the display on the kettle/status page.

[PDI-18039] Adding work in progress
[PDI-18039] Removing additional double quote from href path
@pentaho-lmartins
CC @gryphendowre  @wseyler

This was solved by PDI-17863.


Float key of defaultdict(float) is changed to string key

A defaultdict of float type does not serialize correctly. The float key is converted to a string key during encode(), but is not converted back in decode().
from collections import defaultdict
x = defaultdict(float)
x[0.1]=0
jsonpickle.encode(x)

Output:
'{"py/object": "collections.defaultdict", "0.1": 0, "default_factory": {"py/type": "builtins.float"}}'
One sees: the float key 0.1 became a string key "0.1"

Never mind, I was wrong, this is not a bug. @hubtub2, you need to pass keys=True to jsonpickle.encode and jsonpickle.decode, like so:
from collections import defaultdict
x = defaultdict(float)
x[0.1]=1
y = jsonpickle.encode(x, keys=True)
z = jsonpickle.decode(y, keys=True)
assert x == z

By default, jsonpickle doesn't encode/decode items with non-string keys, I believe this is for maximal conformance to the JSON specs (but I'm not entirely sure why).


AscalonScans extension not working in app

Source information
AscalonScans 1.4.27
Source language
English
Steps to reproduce

Install AscalonScans extension
Open the extension
HTTP 403, check website in WebView error message appears

Expected behavior
Display available manhwas etc instead of error message
Actual behavior
error message appears, but site works fine in webview
Tachiyomi version
0.15.2
Android version
Android 13
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.


Check children is not null

Javascript believes that null is an object. If children is null, the evaluation of typeof this.props.children === 'object' returns true`.
When evaluating the next line, typeof child.type === 'string' the script crashes because it can't check type of null.

@noelzubin is there anything holding that PR back? Because the current master breaks things


Avoid crashing in Mono or Wine environments

See report of crashes with Wine. It is not clear what the root cause is, as there is no stack trace to show which method call fails, the error message, or what exception class it throws. Typically, catching Win32Exception is good enough, but it may also be a native fault in unmanaged code.
It may also be smart to double-check that it doesn't crash in older Windows versions that, like Wine, don't contain the required DWM methods. I already tested this in Windows 7 before, but there may be a problem there now given the Wine crashes.
KeePass has good instructions of how to run .NET programs with Mono and Wine.

[x] Wine
[ ] Mono
[x] Windows 7

Wine
Fedora 38 x64
Wine 8.12 from Fedora package repository
Setup
⛔ DO NOT install "Wine Windows Program Launcher" from the Fedora Software GUI, because that will crash with the error 0110:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135.
sudo dnf install wine winetricks
env WINEPREFIX=$HOME/winedotnet wineboot --init
env WINEPREFIX=$HOME/winedotnet wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' # Keep Mono and Wine separate
env WINEPREFIX=$HOME/winedotnet winetricks --force dotnet48 corefonts

Testing
env WINEPREFIX=$HOME/winedotnet wine /path/to/my.exe

Mono
Fedora 38 x64
Mono 6.12.0 from Fedora package repository
Setup
sudo dnf install mono-complete

Testing
mono /path/to/my.exe

The Forms demo runs fine in Wine if we just catch EntryPointNotFoundException or Exception every place we call the secret UXTheme methods.


Model backend for group invites.

Please squash the migration to a single one.

Code looks OK. r+


Separate notice for docker images

Please create separate notice for docker images following TRG 4.06.
Currently the notice for docker images is present in the README.md, the requirement is to have it in separate file, close to Dockerfile and be published in dockerhub.
Updates https://github.com/eclipse-tractusx/sldt-digital-twin-registry/issues/326

Hi @tomaszbarwicki ,
the notice file is available for docker images:
https://github.com/eclipse-tractusx/sldt-digital-twin-registry/blob/main/DOCKER_NOTICE.md


Allow Hiera's hash merge to work when using module

When specifying your repos in Hiera this change will allow the hash merge behavior to work properly.  With out this Hiera will simple use the highest priority it finds.  This will also fall through cleanly when not using Hiera.

I don't like putting hiera specific functions in modules, I believe it's also recommended against by PL, but could be mis-remembering.  I believe the recommended way to implement this is to add your hiera-specific functions into the calling role/profile that calls this module.

Hiera functions are only discourages inside a class when they mask the keys/parameters of the module.  That is not the case in this instance.
Using hiera's ENC ability, the module can be included to all nodes and therefore should see a merged set.  This module is a wrapper for a built in Type, so doing the hiera lookup somewhere else, and then calling this module doesn't make sense.  If you're going to do that, the flexibility of this module disappears as you can just the lookup and create resources itself.

I don't think I'm going to merge this.  I think the better place for the hiera_hash function is in your common/calling class.


Add C_INCLUDE_PATH env var support to c2m.

Just though I give it a shot.
MIngw std headers don't play nice with c2m though. Need to figure the correct defines.

I've updated the commit to simplify the code a bit, remove a pointless define.

Thank you for working on this issue and sorry to reject the pull request. I believe c2mir-driver should deal with environment variables.  Also strtok is not thread safe and I have plans to use c2m.c code in paralllel.
I think the best approach is to extend c2mir_option by adding members system_include_dirs{_num} and process the environment variable in c2mir-driver.c.  strtok can be easily used in c2mir-driver.c.

Thank you for working on this issue and sorry to reject the pull request.
That's okay. My primary interest has been in getting c2mir-gen-tests working. That's what I needed it for.


[Refactor] + Feature update #6

Feature update for issue #6

YouTube has shortcuts to control webplayer.
Used ActionChains library to send keystrokes to chrome instance.

Changed quit() -> action()

Implemented play/pause, next, prev and quit.
Known selenium issue marked as closed, but while testing the issue #6 functionality, method reset_actions() was not behaving as expected. Solution: Set ActionChains variable to None after performing an operation.

[Refactor]

webdriver object was only available in Search.search() context, which killed the chrome instance when searching for a new song. This also would not let user perform actions (play/pause etc.)
Removed redundant title display and spawned a thread that achieves the same task. Thread is killed with a global flag variable when application is quit.
Refactored playlist output.

Reviewing. Great job as usual.

Can we initiate keypresses using python's keyboard module as well?
As in, if the terminal is not maximized, can one initiate these functionalities with keyboard shortcuts as well. Just a thought, nothing with an immediate need. @VishalBilagi

Having a way to control this application with hotkeys is a great idea.
I tried the keyboard and pynput modules, however I didn't have any luck on my machine, maybe MacOS tries to restrict monitoring keystrokes or maybe I am wrong. I remember using pynput for my other project, it worked fine on Windows. I can try doing the same in Ubuntu sometime later and see how it goes.

@VishalBilagi, @aniketkishore100 might want to take this up.


Update balena-request to 11.5.5

Update balena-request from 11.5.3 to 11.5.5
Change-type: patch
See: https://github.com/balena-io-modules/balena-request/pull/164
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Resolves: #
HQ:
See:
Depends-on:
Change-type: major|minor|patch

Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


how to make multiple instance

if multiple div need pull refresh, how to do?  it doesnt work on multiple element in one page.

         <button id="test" onclick="test1();">test</button>         <button id="test" onclick="test1();">test</button>         <button id="test" onclick="test1();">test</button>         <button id="test" onclick="test1();">test</button>
dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

         <button id="test" onclick="test1();">test</button>         <button id="test" onclick="test1();">test</button>         <button id="test" onclick="test1();">test</button>         <button id="test" onclick="test1();">test</button>
dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

dsfsd

Hi, thanks for your interest in this project!
Unfortunately pull-to-refresh was not designed for multiple instances, however, if you think this feature is worthy I think we can work on a PR soon.
TBH it shouldn't be difficult to achieve, but a major refactor is required to fix this.

Thank you for your help.  I found a way to make "muitiple instances" in one page.  the divs which need pullrefresh are in deffirent tabs,  when i swith the tab, i call PullToRefresh instance "destroy" method in  previous tab,  and set PullToRefresh.init in current tab. and now it work.
My english is not very good , but i am working on it

I think your solution is the correct one because tabs are hiding the ptr, and that's ok.
Also... good news! I refactored the main API to support multiple instances. 🎉
Check out the related example: multiple instances

Just note that both setups set their mainElement/triggerElement as the same selector, otherwise if you set only the mainElement then document.body is used as trigger resulting in unexpected behaviors.

well done :+1:


Stories come with an horizontal and vertical overflow

Hi!
The stories come with a horizontal and vertical overflow on the pages of a height greater than 100vh.
Tested on :

Chrome Version 70.0.3538.77 (Build officiel) (64 bits)

Opera Version 56.0.3051.52

Firefox Quantum 62.0.3

Thank you @Mustafaoeztuerk.
Concerning the overflow-y, I was  able to determine and fix the problem, but idk if this is the proper way to solve problem.
so to fix the problem i modified the zuck.js file by adding 2 lines:
line 342: document.body.style.overflow="auto";
line 880: document.body.style.overflow="hidden";

these lines comes after adding/removing "animated"

Hello everybody has anyone used this plugin succesfully please help me i cannot use that i would be very grateful if you help me guys my-instagram instagram.com/hayotbekabdulazizov05


How to solve :  Error " make: *** No rule to make target 'import'.  Stop. " ?

Hello all of you ,
I am still quite new to Carla....  I use Ubunu 18 and Carla 0.9.6
I would like to import a map  (at  first just the .FBX file ) but I  struggle with the Error :
make:  No rule to make target 'import'.  Stop
I followed carefully the the guide line of the Documentation but it does not work . I don't know  what I am missing .
Has someone an idea ?
Some useful information about my system :
Folder structure :
Import
├── Flugfeld.json
└── Folder01
.........└──-------- MapToImport01
.....................└──----------------- Flugfeld.fbx
the json  Flugfeld.json
{
"maps": [{
"name": "Flugfeld",
"source": "............... /Import/Folder01/MapToImport01/Flugfeld.fbx",
"use_carla_materials": true
}],
"props": []
}
Version of  make
GNU Make 4.1
Built for x86_64-pc-linux-gnu
I hope someone can help me it will be great ....
Thank you in advance

There is an import skript in the Utils directory.
Utils/ImportAssets.sh
That works for the two extra maps, maybe it'll work for what you're trying to do as well

make import should be executed in the root directory of Carla.

Having the exact same error with Carla 0.9.11, hopefully someone can look into this.

Same issue in CARLA 0.9.13 (built from source)
OS: Ubuntu 18


Copy Task deletes file contents if used to rename another file in same directory

Expected Behavior
Using the Copy task should not affect other files in the same directory (or in child directories of the same directory).
Current Behavior
Copying a file in a directory (and renaming the copy) causes other files to have their contents deleted so that they become 0-byte files.
Context
In my actual code (as opposed to this repro code), I'm just trying to create a copy of my jar file without version info.
Steps to Reproduce
Create a build.gradle file like so:
apply plugin: 'java'

task setup {
    doLast {
        new File("build/libs/file1.txt").text = "some text"
        new File("build/libs/file2.txt").text = "some other text"
    }
}

build.dependsOn setup

task renameTask(type: Copy, dependsOn: build) {
    from('build/libs') {
        rename 'file2.txt', 'file3.txt'
    }
    into 'build/libs'
}

Now run these commands:
rm -rf build
gradle build
ls -l build/libs

You should see output similar to this:
-rw-rw-r--. 1 afelsher afelsher   9 Jan  2 10:19 file1.txt
-rw-rw-r--. 1 afelsher afelsher  15 Jan  2 10:19 file2.txt
-rw-rw-r--. 1 afelsher afelsher 261 Jan  2 10:19 tmp.jar

Now run these commands:
rm -rf build
gradle renameTask
ls -l build/libs

You should (incorrectly) see output similar to this:
-rw-rw-r--. 1 afelsher afelsher  0 Jan  2 10:20 file1.txt
-rw-rw-r--. 1 afelsher afelsher 15 Jan  2 10:20 file2.txt
-rw-rw-r--. 1 afelsher afelsher 15 Jan  2 10:20 file3.txt
-rw-rw-r--. 1 afelsher afelsher  0 Jan  2 10:20 tmp.jar

My Environment
I'm using Gradle 4.10.3 on CentOS 7 with Oracle's Java SE 7 (though I've encountered this with various other versions of Gradle and Java).
All attempts to get a build scan failed with output like this:
FAILURE: Build failed with an exception.

* Where:
Build file '[redacted]' line: 2

* What went wrong:
Plugin [id: 'com.gradle.build-scan', version: '2.1'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.gradle.build-scan:com.gradle.build-scan.gradle.plugin:2.1')
  Searched in the following repositories:
    Gradle Central Plugin Repository

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

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 0s

You can ignore that build-scan error output. It's due to a network error.

My current workaround is to simply copy into a different directory (a tmp directory)

Possibly related: https://github.com/gradle/gradle/issues/7364


Monitoring activity inside docker container

Is there a way to monitor activity of a forwarder in a docker container and get similar information to when using the container in the foreground? for example monitoring the logging?

If you are using a docker-container you can use the build-in docker logs command. For example: docker logs forwarder. This command also has "follow" support with -f

Thanks for pointing at it. The following command is best for me:
 docker logs thingsix-forwarder -n 10 -f


[CI] improve END-TO-END TESTS visibality

it would be nice for the END-TO-END TESTS to have hyperlinks to the logs of the failing tests in the comment on PRs (The table)
so instead of just saying Overall Result: 👎 Some tests failed. and  Test Result Details that only show the headlines, add a hyperlink that takes us to the logs that cause this fail for each failing test case.

@devhindo Hey, can you provide details about which files these tests are written?