Adding pnpm support

#Description
Adding support for PNPM
more info here https://pnpm.js.org/en/installation
Motivation and Context
pnpm uses hard links and symlinks to save one version of a module only ever once on a disk. When using npm or Yarn for example, if you have 100 projects using the same version of lodash, you will have 100 copies of lodash on disk. With pnpm, lodash will be saved in a single place on the disk and a hard link will put it into the node_modules where it should be installed.
As a result, you save gigabytes of space on your disk and you have a lot faster installations! If you'd like more details about the unique node_modules structure that pnpm creates and why it works fine with the Node.js ecosystem, read this small article: Why should we use pnpm?
Types of Changes

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

Definition of Done Checklist:

[x] I've read the Contribution Guide.
[x] I've updated the documentation. (refer to this for how to do so).
[x] I enjoyed my time contributing and making developer's life easier :)

thanks for merge! that helps a lot


Add identifiers.org link to match results page

This will allow users to quickly get more context

Thanks! I've been thinking about this too but never implemented it. We will need to do a little bit more work to make all the links work (e.g., CHEBI:CHEBI:* doesn't resolve due to the double prefix). Perhaps constructing the link in Python and then sending it as a parameter for rendering could work. Let me know what you think and if I should make the changes or you want to.

Good point... constructing identifiers.org links isn't so straightfowards. @dhimmel and I have both done this a few different ways at this point

Okay, I'm implementing something that will work for all the name spaces that can currently appear (and most others too).

This works for everything currently in Gilda by default and should work for most other name spaces in general...

Leaving some links to Manubot's infrastructure for CURIEs / identifiers.org, in case this is helpful:

implementation
test cases

Thanks @dhimmel!


bump 02-client-refactor branch to tip of main

Description

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

still need to fix broken tests

merging into 02-client-refactor as that should be easier to review against main


Feature/dark mode

Description

Implements dark mode 🎉
Linked Issues
Addresses #210
Additional context

I've implemented in in such a way that utilizes both Tailwind and CSS variables. Hopefully this makes it easy to change the colors while still getting the benefits of Tailwind.
I've added the theme switcher to the header, but let me know if you'd like it elsewhere (e.g., in the footer, on the settings page, etc.).
Also, let me know if you'd like any tweaks to the colors.

Thanks for the pull request. I'll review it at the weekend. Then I'm finally able to catch up with the development of PodFetch :) .

Wow. This looks awesome. I haven't seen such a consistent design ever. The selector alone looks mindblowing 👏 . Thank you so much for your work. I couldn't find any inconsistency or something that could me throw off.


Allow it to work on edge (e.g. cloudflare workers)

Currently AJV can't run on cloudflare workers, vercel-edge and other edge environments.
When trying to run it, the worker throws an error:
Code generation from strings disallowed for this context

Most likely this is because they restrict certain JavaScript functions like eval(), new Function(), setTimeout([string]), and setInterval([string]), which can execute code generated from strings.
I'm not sure why these functions are needed but it would be better to avoid them so that it could run everywhere without issues.

Up !

Up! Also a question, is it possible to use ajv in web worker?

I use this library https://github.com/cfworker/cfworker/tree/main/packages/json-schema alternative

I use this library https://github.com/cfworker/cfworker/tree/main/packages/json-schema alternative

Currently AJV can't run on cloudflare workers, vercel-edge and other edge environments. When trying to run it, the worker throws an error:
Code generation from strings disallowed for this context

Most likely this is because they restrict certain JavaScript functions like eval(), new Function(), setTimeout([string]), and setInterval([string]), which can execute code generated from strings.
I'm not sure why these functions are needed but it would be better to avoid them so that it could run everywhere without issues.

Thanks for the extra info @cosbgn. I have looked into it and I can only see the use of new Function() in AJV, all within the compile functionality. This makes sense as in order to produce highly performant code, the compile logic does a lot of magic and basically creates your validation functions for you.
So I am curious, can you use AJV in cloudflare if you avoid the compile method. For example can you do this:
const Ajv = require("ajv");
const ajv = new Ajv();
const schema = {
  type: "object",
  properties: {
    foo: {type: "integer"},
  },
};
const data = {
  foo: 1,
};

const valid = ajv.validate(schema, data);

Otherwise I can only suggest prebuilding your validation functions in CI using ajv-cli like this:
ajv compile -s schema.json -o validate_schema.js
Then within your application code you can require the validation functions.
const validate = require('./validate_schema.js');

const data = { /* your data */ };
if (validate(data)) {
  console.log('Validation successful');
} else {
  console.error('Validation failed', validate.errors);
}

I think pre-compiling functions is a good option here so will close unless someone strongly disagrees.


poor 'out of the box' experience for someone new to DVB-I

The out of the box experience with the reference app isn't great for someone new to DVB-I.
If you follow the link, you get taken to a page offering service list selection. People new to DVB-I may not fully understand this and certainly won't have the context to choose a particular service list. IMHO a default service list should be selected and perhaps some kind of banner page shown as an overlay. The banner could then indicate that other service lists are available, where to find the menu to choose them and perhaps some context as to why they may want to choose one of them. The banner could also contain other information someone new to this might find helpful.
As well as a default service list  being selected, a default service should be selected so that following the link from README.md results in someone seeing video and audio.

I'll implement the default service list selection and an information banner when starting the app for the first time

Default service selection with the mobile version ( https://stage.sofiadigital.fi/dvb/dvb-i-reference-application/frontend/android/player.html ) will not work due to the autoplay behaviour: https://developer.chrome.com/blog/autoplay/
It should work if the user installs the reference application as a PWA but default service selection will not work without user interaction when opening the app directly from the link

I would suggest that we add a parameter to the URL, i.e. ?mode=demo that can select one of the service lists.
The DVB-I spec does not have a 'default service list' notion

or could we just provide the service list URI as a parameter? for example:
?servicelist=https%3A%2F%2Fstage.sofiadigital.fi%2Fdvb%2Fdvb-i-reference- application%2Fbackend%2Fservicelist.php%3Flist%3Dexample.xml

Default service selection with the mobile version ( https://stage.sofiadigital.fi/dvb/dvb-i-reference-application/frontend/android/player.html ) will not work due to the autoplay behaviour: https://developer.chrome.com/blog/autoplay/ It should work if the user installs the reference application as a PWA but default service selection will not work without user interaction when opening the app directly from the link

Could this be mentioned in the banner so people know they have to interact on a mobile?

We could make the banner modal, so the user needs to click OK button to close it. Then we can do a service selection as the user has interacted with the application. Maybe show the modal only when the users starts the application for the first time, it might be annoying to click OK every time.

Mayber something like this. The text is just something quick I came up with, that can be changed. But the video starts playing after clicking the Ok button.

Mayber something like this. The text is just something quick I came up with, that can be changed. But the video starts playing after clicking the Ok button.

Not bad. It might be better to re-phrase the top line like this & add a small DVB logo.

Welcome to the DVB Project's DVB-I reference application.

First time use screen now looks like this....

Previous addition of banner page, and PR #103 cover all raised items.

Resolved with PR #103


Feature Request: gestureDirection more options than only inverted

Recording that demonstrates this issue: http://sendvid.com/yq3udvri
I was following the tutorial here: https://reactnavigation.org/docs/en/stack-navigator.html#specifying-the-transition-mode-for-a-stack-s-screens-explicitly
It seems like there is still no option to specify that a single screen that should behave like a modal can be dismissed trough a "swipe up to down" gesture.
We only have the option of setting gestureDirection to "inverted", which does not resolve this issue.

In previous versions<EMAIL_ADDRESS>I was able to achieve the result with this patch:
patch-package
--- a/node_modules/react-navigation-stack/dist/views/StackView/StackViewLayout.js
+++ b/node_modules/react-navigation-stack/dist/views/StackView/StackViewLayout.js
@@ -254,11 +254,20 @@ class StackViewLayout extends React.Component {
         mode
       } = this.props;
       const { index } = navigation.state;
-      const isVertical = mode === 'modal';
       const { options } = scene.descriptor;
       const gestureDirection = options.gestureDirection;

-      const gestureDirectionInverted = typeof gestureDirection === 'string' ? gestureDirection === 'inverted' : I18nManager.isRTL;
+      const isVertical = mode === 'modal' ||
+        options.gestureDirection === 'up' ||
+        options.gestureDirection === 'down';
+
+      const gestureDirectionInverted =
+        options.gestureDirection === 'inverted' ||
+        options.gestureDirection === 'left' ||
+        options.gestureDirection === 'up' ||
+        typeof gestureDirection === 'string'
+          ? gestureDirection === 'inverted'
+          : I18nManager.isRTL;

       if (index !== scene.index) {
         return false;
@@ -296,11 +305,20 @@ class StackViewLayout extends React.Component {
         mode
       } = this.props;
       const { index } = navigation.state;
-      const isVertical = mode === 'modal';
       const { options } = scene.descriptor;
       const gestureDirection = options.gestureDirection;

-      const gestureDirectionInverted = typeof gestureDirection === 'string' ? gestureDirection === 'inverted' : I18nManager.isRTL;
+      const isVertical = mode === 'modal' ||
+        options.gestureDirection === 'up' ||
+        options.gestureDirection === 'down';
+
+      const gestureDirectionInverted =
+        options.gestureDirection === 'inverted' ||
+        options.gestureDirection === 'left' ||
+        options.gestureDirection === 'up' ||
+        typeof gestureDirection === 'string'
+          ? gestureDirection === 'inverted'
+          : I18nManager.isRTL;

       // Handle the moving touches for our granted responder
       const startValue = this._gestureStartValue;
@@ -320,11 +338,20 @@ class StackViewLayout extends React.Component {
         mode
       } = this.props;
       const { index } = navigation.state;
-      const isVertical = mode === 'modal';
       const { options } = scene.descriptor;
       const gestureDirection = options.gestureDirection;

-      const gestureDirectionInverted = typeof gestureDirection === 'string' ? gestureDirection === 'inverted' : I18nManager.isRTL;
+      const isVertical = mode === 'modal' ||
+        options.gestureDirection === 'up' ||
+        options.gestureDirection === 'down';
+
+      const gestureDirectionInverted =
+        options.gestureDirection === 'inverted' ||
+        options.gestureDirection === 'left' ||
+        options.gestureDirection === 'up' ||
+        typeof gestureDirection === 'string'
+          ? gestureDirection === 'inverted'
+          : I18nManager.isRTL;

       if (!this._isResponding) {
         return;

I also did a pull request for react-navigation (when react-navigation-stack was not located here) that was closed and ported over to this repository, which got closed as well, because @brentvatne  came up with a different implementation that only allows "inverted" which did not resolve the issue that I was experiencing.

Related:

https://github.com/react-navigation/react-navigation/pull/3868
https://github.com/react-navigation/react-navigation-stack/pull/10

why not put that screen in a modal stack?

@brentvatne I am aware that you could solve the issue that way, however from a library consumer perspective this method involves a lot additional code for just having one single screen in a stack slide in from below  (and having the correct dismiss gesture).
What if there are more screens in the same stack that should come in from the right. I would have to create a new StackNavigator inside my (Modal-)StackNavigator. That makes two new Navigators just because I want one screen to slide in from below.
Having a type property for each screen "modal"/"card" via the navigationOptions would IMHO be way more easy.

i'm not particularly convinced by that argument, it does save a bit of code but from a library maintainer perspective it's not clear to me that it's worth the additional complexity needed to support it

Alright, in case you change your mind let me know, since I would be interested in contributing towards getting this implemented.

@n1ru4l - if you open a rfc for it then i'd be happy to consider, i want to make sure the tradeoffs are considered there as well


Forbid '_source' as a field name

Context / purpose
Describe the context and purpose of this PR. Link related issue(s) if any.
Description
Describe the proposed changes made in this PR.
How was this PR tested?
Describe how you tested this PR.
Checklist
Remove or complete this list if required.

[ ] tested locally
[ ] added unit tests
[ ] included documentation

Codecov Report

Merging #184 (792e96d) into main (1af285c) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #184      +/-   ##
==========================================
+ Coverage   75.05%   75.09%   +0.03%
==========================================
  Files          64       64
  Lines        5457     5465       +8
==========================================
+ Hits         4096     4104       +8
  Misses       1361     1361

Impacted Files
Coverage Δ

...c-mapping/src/default_doc_mapper/default_mapper.rs
92.21% <100.00%> (+0.39%)
:arrow_up:

Continue to review full report at Codecov.

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


Line Bar Points not matching Bar Chart width

Expected Behavior
I expect the line graph points to match up between the bar charts bar.
Current Behavior
It seems the points on the line graph are mapped to the center of its labels which arent aligned with the bar charts labels causing the points of the line graph to not plot accurately from bar to bar in terms of x-axis placement.
Context
In this screen shot you can see the points are not in between each bar or at the start of each bar but seem to have an offset. *Update I enabled the line graph labels and grid to provide some visual help.

Environment

Chart.js version: 2.6.0
Browser name and version: Chrome

Any help would seriously be appreciated :)
Thanks,
G

@GreggOD it looks like you have 2 x axes, is that correct?

@etimberg that is correct
                labels: chart.labels,
                datasets: [{
                    label: 'target',
                    type: 'line',
                    borderColor: 'rgb(59,72,94)',
                    borderWidth: 1,
                    fill: false,
                    steppedLine: true,
                    data: [6000000,5000000,4000000,3000000,2000000,3000000,4000000,1000000,2000000,2000000,1000000,1000000],
                    xAxisID:'xAxis2',
                    spanGaps: true,
                },{
                    label: 'buyAmount',
                    type: "bar",
                    backgroundColor: buyBarsColors,
                    data: forecast.buyAmounts,
                    xAxisID:'xAxis1',
                },{
                    label: 'remainingExposure',
                    type: "bar",
                    backgroundColor: foreBarsColors,
                    data: forecast.remainingExposures,
                    xAxisID:'xAxis1',
                }]

               scales: {
                    yAxes: [{
                        ticks: {
                            beginAtZero:true,
                            suggestedMax: max,
                            fontSize: 10,
                            stepSize: chart.stepSize
                        },
                        stacked: true,
                        scaleLabel: {
                            display: true,
                            labelString: labelperc
                        }
                    }],
                    xAxes: [{
                        id: 'xAxis1',
                        barPercentage: 1.2,
                        gridLines: {
                            display:false
                        },
                        stacked: true,
                        ticks:{
                            fontSize: 10,
                        }
                    }
                    ,{
                        id: 'xAxis2',
                        position: 'bottom',
                        gridLines: {
                            display:false
                        },
                        display: false,
                        stacked: true,
                        ticks:{
                            fontSize: 10,
                            weight: 0.1
                        }
                    }]
                },

@GreggOD ok. if I understand correctly, you want the points on the line to be at the left edge of each bar?

@etimberg Yes. that would be great!

Hmm, that's going to be tricky to align correctly. It may require some custom code because at the moment the line chart knows nothing about the bar width so it would somehow need to calculate that and then use that information to place the point appropriately.
At the moment the point is placed according to it's value on the axis only


Empty occupying-fru - WireEquipment

It is possible to have holder with occupying-fru empty? In case when we always create Equipment related to Holder then I think it shouldn't be possible to have empty this relation.
In my opinion it should be always fill by UUID of Equipment.

It is possible to have holder with occupying-fru empty?
The answer is written in the TrasnmitterEquipment document (add reference)
[...]
Holder as well as associated Equipment shall be automatically instantiated as soon as the ExpectedEquipment in the overlying level of the hierarchy got instantiated. Every existing Holder instance shall always be referencing an Equipment instance (the _occupyingFru attribute at the Holder object shall always contain the UUID of an Equipment object that waits to be detailed with ExpectedEquipment and ActualEquipment objects)
[...]
In short: each holder object should have an  parameter pointing to an equipment object. - answer: no.
--
In my opinion it should be always fill by UUID of Equipment.
[sko] correct!
Action item:
As consequence the CoreModel should be refactored (pruning and refactoring) to make the leaf occupying-fru mandatory and to update the description.

result in YANG should be:
[...]
grouping holder {
leaf occupying-fru {
mandatory "true"
type leafref {
path "/core-model:control-construct/core-model:equipment/core-model:uuid";
}
description
"The FRU that is occupying the holder.
A holder may be unoccupied in reality, but always an abstract equipment object exists.
An FRU may occupy more hat one holder (using or blocking are intentionally not distinguished here).";
}
[...]

The attribute occupying-fru is in the CoreModel.
So, changes will be covered in the CoreMode issue#30

Proposal to the 5G-xhaul call on 19th of October 2022:
This issue should be closed without further activity once CoreModel #30 is approved.


Can we combine the two datasets?

We have a long string of emoji data in emoji.min.js and again but different in defaults.emojiData. Can we have just one? Where does the latter come from? Did you create the latter one yourself, or could it be a dependency?

emoji.min.js -> js-emoji
defaults.emojiData

Looks like emoji-data/emoji_pretty.json but with added categories.

I think you could deprecate the dependency on js-emoji and use emojiData to define images in the layout.
E.g. in stead of
self.emoji.replace_colons(':smile:');

use separate function for something like
(self.emojiData.filter(function(el){el.short_name == 'smile'})[0] || {}).image;

it returns the image (or undefined)

Yep, you are right. I created a new object because I wanted performance gain for the loops. (mainly for this function: wdtEmojiBundle.fillPickerPopup())
It would be nice to have just one object, maybe we can find a better way. And this bundle uses sheets instead of single images.


[Bug]: Docker compose deployment has empty COOLIFY_FQDN and COOLIFY_URL

Description
The Coolify pre defined variables COOLIFY_FQDN and COOLIFY_URL are empty when using a Docker Compose Git based resource. It's empty on all services.
Minimal Reproduction (if possible, example repository)

Create a Docker Compose app (done via GitHub app)
Configure app (URL)
Deploy
Run env inside any of the containers

Exception or Error
No response
Version
v4.0.0-beta.297

I'm having the same issue with nixpacks

Maybe related: https://github.com/coollabsio/coolify/issues/2316

I just ran into this as well, was expecting to be able to do this (using bitnami/magento):
- MAGENTO_HOST=${COOLIFY_URL}

But the environment variable is set but empty.

This will be fixed in the upcoming version.

APP_URL=${COOLIFY_URL}
will still yield an empty APP_URL on [v4.0.0-beta.330](https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.330)

Still empty on v4.0.0-beta.358

Just ran into this on v4.0.0-beta.360 — copying the contents of docker-compose.yaml file (rather than using a git repository) works fine.

Also having this empty issue with docker compose.
Here's my compose file:
version: "3"

services:
  api:
    container_name: api
    environment:
      - SERVICE_FQDN_TURBOAPI_3001
    build:
      context: .
      dockerfile: ./apps/api/Dockerfile
    restart: always
  web:
    container_name: web
    environment:
      - SERVICE_FQDN_TURBOWEB_3000
      - 'NEXT_PUBLIC_API_HOST=${SERVICE_FQDN_TURBOAPI}'
    build:
      context: .
      dockerfile: ./apps/web/Dockerfile
    restart: always


Two layer text in code editor doesn't overlapped exactly.

Describe the bug
Two layer text in code editor doesn't overlapped exactly. (Only in Chrome browser)
To Reproduce

Open any document in Chrome browser, such as Example
Select code in editor
See...

Expected behavior
Two layer text should overlapped exactly.
Additional context
And in Firefox browser, the problem doesn't exists (tested in Firefox Developer 96.0b7).
Tested in clean session. And edit system scale is not useful.
Environment (remove any that are not applicable):

Library version<EMAIL_ADDRESS>OS: Windows 10 21H1
Browser: Chrome 96.0.4664.110 (64 bit)
Platform: desktop

@cpdyj I can't seem to reproduce it. Can you try again and let us know if you still see it?

@mnaumanali94 Yes I can. Something I don't know if it's useful. When I focus on the .npm__react-simple-code-editor__textarea element. Chrome develop tool shows the rendered font is Consolas. But the background pre element doesn't.

Hello!
Our team recently took over the stewardship of the elements repo.
Due the volume of un-triaged issues that are pretty old and the time it would take us to get caught up on all of them, we kindly ask that you open up a new ticket if this is still an issue you're struggling with.
If you open a new issue please include:

clear steps to reproduce that include example OAS specs, application setup, code, etc.
the error or issue you are experiencing
the expected behavior

We will be triaging any new tickets in a timely manner.
Thank you for understanding!


[sw/lib] restore previous registers in neorv32_xirq_get_num function to avoid side effects

Hi,
The neorv32_xirq_get_num function didn't restore previous CSR_MIE and NEORV32_XIRQ->EIE register and could cause unexpected side effects. So these registers are now saved before writing test bits and then restored finally.

Good point - thanks for the update!


Fails to retrieve some packages after the switch to curl

aur sync carla-bridges-win32-git

==> Using [aur] repository
Warning: <stdin>:1: warning: 'url' requires parameter
curl: no URL specified!
curl: try 'curl --help' for more information

I wonder if it happens because of the  '-' as mingw-w64-gcc also has the same problem.
When running AUR_DEBUG=1 aur sync  "carla-bridges-win64-git"
aurutils.log

A shorter way to trigger this bug is simply: aur query -t info </dev/null
aur sync triggers this error via aur-depends that calls aur-query without input under certain conditions. See: https://github.com/AladW/aurutils/blob/master/lib/aur-depends#L46
We either detect those cases in depends or make query gracefully exit on empty input.

Fixed with #707


FTP.DownloadFiles - Modified operations log

Detect-Errors fail because there are recommendations that are not fixed. Those should not be fixed because the error handling is done specifically for catching any errors coming from the code.


Generate example recursively in mock server

Fixes #409.
Adds support in mock server for generating examples based on nested schemas.
Based on the implementation of swagger-ui with some modifications.
Changes proposed in this pull request:

Follow example precedence as defined in the specification
Basic generation of example values for primitives (using type, format, minimum, maximum, etc.)
Basic generation of object/array examples (using properties, additionalProperties, items)

Things that are still missing and/or can be improved:

Support for polymorphism using allOf
More validation/format support (e.g. mutipleOf, pattern, length...)
Date/time support (without now/today)
Response headers
Support for nullable fields
Randomization (with some custom seed)
Support for external references

Any help with the testing is welcome.

Thanks for the PR! :smile:
Could you add some tests?

Does it make sense for it to return NoContent if a schema is not defined? Or would you rather let it return 'No example response was defined.'?
I believe it would make more sense to return NoContent since this is what the spec recommends (emphasis mine):

A definition of the response structure. It can be a primitive, an array or an object. If this field does not exist, it means no content is returned as part of the response. As an extension to the Schema Object, its root type value may also be "file". This SHOULD be accompanied by a relevant produces mime-type.

Also, I was considering using their petstore example as a reference, but it seems they don't abide by the spec themselves, specifically regarding this:

It is not expected from the documentation to necessarily cover all possible HTTP response codes, since they may not be known in advance. However, it is expected from the documentation to cover a successful operation response and any known errors.

However, in some cases in that file, they only define error responses, so the mock server is returning error codes in those cases.
In light of this, I suggest:

returning a status code of 418 with NoContent when there is no "success" 2xx response defined; since this goes against the spec (unless there are legitimate use cases for API endpoints that always return error codes?)

in case the response is defined with no schema return the correct status code with NoContent since this is mentioned in the specification directly.

Does that make sense?

Coverage remained the same at 100.0% when pulling cdd4b1b21fb0455b1f3d736c6ed9ac4db0c4b631 on interactivelife:better_mock into f36c24685b8fa847d219ef7e6f09325ac6f0ae33 on zalando:master.

Coverage remained the same at 100.0% when pulling d7368dd3bb5d92e5aba47b3211252076288b5ae7 on interactivelife:better_mock into f36c24685b8fa847d219ef7e6f09325ac6f0ae33 on zalando:master.

Coverage remained the same at 100.0% when pulling d7368dd3bb5d92e5aba47b3211252076288b5ae7 on interactivelife:better_mock into f36c24685b8fa847d219ef7e6f09325ac6f0ae33 on zalando:master.

Coverage remained the same at 100.0% when pulling ec83ee685862fe1303d2c0c33c2faf5b12097611 on interactivelife:better_mock into 56de5aaea571f6a77c4a1695e4b15f2953258f1c on zalando:master.

Well it seems I've based the implementation on the 3.x branch of swagger-ui. The implementation for the 2.x branch is here or here.
The only differences that jump out to me in the implementation are the handling of the items for the array type, the support for writeOnly fields, and "recursive" nesting of schemas.

Hey guys, any update about this, we need the same feature as well

Closing since this was added in #1148.


[FIX]default mesh config file path

The current path is ./etc/istio/config/mesh, use absolute path instead, keep it consistent with networksConfig.
[ X ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ X ] Does not have any user-facing changes.

This is intended to allow running without access to the root filesystem. In the standard docker images we run with WD=/ so it's the same in most cases

@howardjohn I see. Do I need to close this pr?


Improves shuffle performance. Fixes #352

Looks great, thanks @typicaljon !

Whoops totally just realized I thanked the wrong person here, thanks @hhowe29 !


Solved Rotten Oranges Problem in C++

Have you read the Contributing Guidelines on Pull Requests?
Yes I have read the guidelines.
Description
I have solved the Rotten Oranges problem using C++. And have also changed the readme file accordingly.
Checklist

[*] I've read the contribution guidelines.
[*] I've checked the issue list before deciding what to submit.
[*] I've edited the README.md and link to my code.

Related Issues or Pull Requests
I have implemented this problem using C++ and have also linked the README.md file accordingly. For this problem I have used need the help of C++ stl libraries too.

Will you please review my code @Apoorve73  ?


Add Reagent Grinder/Juicer

Fixes #2419
https://streamable.com/xk8ca8

mkay so this is p much done. now, someone needs to go through and add the components to all the yaml prototypes 🙂 .

I couldn't find anything wrong with this that needs to be fixed. Looks good to me.

@GlassEclipse
i feel honored, mr body system and singulosed arrivals. ty 👍

bruh it aint worth it just rewrite it


Implementing a distributed cluster

I've set up a few instances of MapD across a cluster and made sure they can see each other via the hostnames in the cluster.conf. However, when loading to the node configured as the aggregator, I don't see the string-server or any leaves getting data.
Other than setting the cluster.conf, string-server= or cluster= keys what other steps are needed to implement a MapD cluster? I'm using CPU only.
Thanks!

MapD distributed support is only offered in the Enterprise Edition.  What edition are you running?

From source here, thanks. I must have missed that in the docs.


Svelte broken

The current Svelte is broken because of:

Cc @flcarre

Adding a bounty to have a quick fix here, if possible

I'm already on

closed in #2428

@flcarre : approved

Fixed


apply_inverse_transfer_function_cli is not very modular, blocking multiprocessing

@edyoshikun's attempt to implement multiprocessing in #392 was more challenging than it needed to be because apply_inverse_transfer_function_cli is not very modular.
I would like to take this ~350 line function and break it into smaller functions with:

one function per reconstruction type: fluorescence, phase, birefringence, birefringence-and-phase
a consistent return shape of CZYX
basic tests for each function
a get_reconstruction_output_shape function (which @edyoshikun has already prototyped in #392)

After a discussion with @edyoshikun, fixing this issue together with a version of #388 will tee up a very simple implementation of multiprocessed reconstructions over timepoints.
@edyoshikun please comment if you see any holes in this plan.

After our discussion last week, I think that this PR is certainly required to have a clean implementation of #392.
The biggest issue right now is the fact that all reconstructions return different czyx shape (i.e birefringence has 3 dim (4,z,y,x), phase and bire 2D return a 2 dim (y,x), and phase and bire 3D return 3 dim (z,y,x)). I think that the waveorder functions are returning the right shapes, but this makes integration with recorder a bit complicated if we want to have a generalized multiprocessing function. Hence, the Frankenstein array indexing and complexities I had to do in #392.
One solution would be to have individual reconstruction functions that pad the arrays. What I am envisioning is something like the one mentioned above.
def apply_inverse_birefringence(czyx, apply_inverse_bire_args):
      reconstruction_birefringence_zyx = (
              inplane_oriented_thick_pol3d.apply_inverse_transfer_function(
                  czyx, **apply_inverse_bire_args
              )
      ) # this is a tuple of tensors
      #convert tuple of tensor to array
      reconstruction_array = np.array([tensor.numpy() for tensor in reconstruction_birefringence_zyx])
      return reconstruction_array    #(4,z,y,x)

In the case of the functions that return a 3D arrays and 2D arrays, I think we can implement a pad_array_dimensions() that always returns a 4D array (czyx ).
To write them into the output_dataset we typically slice the output_dataset[t_idx,c_idx] = reconstruction_array. Since we are thinking of an approach in #388 where the t_idx will be a variable in the configuration, this works well too.
These functions are the ones passed through the process_single_position(func, kwargs) and the reconstruct_zyx_and_save(czyx,func,kwargs) in #392, so this would simplify the code a lot. My only worry with this is that the waveorder methods we are wrapping will be a shallow implementation that can lead to some of the headaches we had with previous recOrder...

This function also does the bire and phase in one step and returns the (5,z,y,x) which is convenient, as we can set
output_dataset[t_idx,:] = bire_and_phase3D.
def apply_inverse_biref_phase_3D(czyx, birefringence_args, phase3D_args):
    reconstruction_birefringence_zyx = (
        inplane_oriented_thick_pol3d.apply_inverse_transfer_function(
            czyx, **birefringence_args
        )
    )

    brightfield_3d = reconstruction_birefringence_zyx[2]

    reconstruction_phase_zyx = phase_thick_3d.apply_inverse_transfer_function(
        brightfield_3d, **phase3D_args
    )

    reconstruction_bire_phase_3D_zyx = reconstruction_birefringence_zyx + (
        reconstruction_phase_zyx,
    )

    return reconstruction_bire_phase_3D_zyx

Thanks @edyoshikun. I agree with your comments, and I'll respond to:

My only worry with this is that the waveorder methods we are wrapping will be a shallow implementation that can lead to some of the headaches we had with previous recOrder...

I do not think that recOrder's wrapping of waveorder calls was the source of the main challenges we faced on the previous iteration.
recOrder performs a subset of the reconstruction types that waveorder performs, so some amount of wrapping is necessary. For example, waveorder allows 3D reconstructions with arbitrary axial samples, while recOrder only allows 3D reconstructions with equally spaced axial samples. The wrapping code that turns recOrder-CLI reconstruction calls into waveorder reconstruction calls should continue to live in recOrder.
If we want to add new reconstruction functionality (e.g. the rotations, flips, and phase-contrast inversion), we should do it on the waveorder side first, then connect it on the recOrder side. We're on our way to a place where the recOrder connections will be increasingly automated.

@edyoshikun and I discussed this and we want this and multiprocessing in 0.4.0 to support the mantis project.
I will take to complete this refactor, and @edyoshikun is going to finish a variant of #392 to fully support multiprocessing in recOrder.


How to get easter eggs

I've been playing Oiram for a while, even breaking the max score of 21,000,000 points a dozen times, but I haven't found any Easter eggs. I have found them in source code and in the image files, but an not sure on how to get to them. Could someone please explain how to get an Easter egg?
BTW, when the max lives is reach, Oiram becomes invincible through pipes and stuff. Also, the display will have an ending with 84, for example, 5,436,284, 10,084, etc. Also Oiram can teleport through the yellow brick blocks. If he is in small mode, and ducks underneath a brick and tries to move to the right, and there are bricks in front of him, he will go through them.

You should also add more enemies and powerups that can be found in Repus Oiram Srob Iiw, such as Penguin Oiram, Hammer Bros, Fire bros, more bosses, Hammer Bros, ice flower, Yoshis.

The thing that you can go through blocks is intended I think, because in many levels you need to do it to win

but an not sure on how to get to them

They are easter eggs for that very reason. And no, I will not be adding more enemies.

no, I will not be adding more enemies

Yeah, seems like a lot of work to make a game for a calculator.

Maybe I found every easter egg in oiram. Just Maybe.


chore: remove carbon mixin code

Changes
Hello!
This PR removes the Carbon mixin code from this package. Carbon has their own mixin system with their own phpstan extension and tests---there's no need for us to override that and have unnecessary code. We actually had an issue a few months ago where our Carbon mixin code broke due to Carbon changes whereas if users had been using Carbon's phpstan plugin all along then that would not have been an issue.
If users use the phpstan extension-installer then the Carbon plugin is automatically used, otherwise they would need to manually include it in their phpstan configs.
Thanks!
Breaking changes
N/A

If users use the phpstan extension-installer then the Carbon plugin is automatically used, otherwise they would need to manually include it in their phpstan configs.

Is there any chance you can document this? As someone who doesn't use the extension installer, this sounds like useful information

Hi,
I think I'd leave this change to a major version. If people don't have this extension installed or don't include the Carbon extension, their builds will fail.
I don't mind breaking builds in minor/patch version because Larastan/PHPstan got smarter about some code, or we fixed a bug. But this feel different.
I'll add this to the v3 list.

No worries, it would be nice to have a branch that I could start making PRs against! :wink:  :upside_down_face:


Allow reuse of the main highlighter's semantic parser

I think it would make it easier to write custom highlighters into third-party plugins if the  main highlighter's state machine was exposed as a "framework" to implement additional highlight rules into semantic blocks already recognized by this plugin.
An example of this would be thesola10/zsh-comma-assistant#1, where the highlighter for arg0 would be overriden with additional logic to highlight certain commands normally written off as "not found".

What's the difference to #327?
What kind of API do you envision?
WDYT of for k in ${(k)ZSH_HIGHLIGHT_STYLES}; do ZSH_HIGHLIGHT_STYLES[$k]=$k; done; _zsh_highlight and then inspecting $region_highlight?
Would it be better to just integrate with command_not_found_handler natively?  Something like this (caveats: no docs, no tests, doesn't check if the handler exists): —
diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh
index 8881dfa..59f760e 100644
--- a/highlighters/main/main-highlighter.zsh
+++ b/highlighters/main/main-highlighter.zsh
@@ -115,6 +115,7 @@ _zsh_highlight_main_calculate_fallback() {
       precommand arg0
       hashed-command arg0
       autodirectory arg0
+      bikeshed arg0
       arg0_\* arg0

       # TODO: Maybe these? —
@@ -1090,6 +1091,9 @@ _zsh_highlight_main_highlighter_highlight_list()
                             return 0
                           fi
                           _zsh_highlight_main__stack_pop 'R' reserved-word
+                        # use a subshell because it's a documented precondition of the handler (see zsh manual)
+                        elif (command_not_found_handler "$arg"); then
+                          style=bikeshed
                         else
                           if _zsh_highlight_main_highlighter_check_path $arg 1; then
                             style=$REPLY

Would it be better to just integrate with command_not_found_handler natively?  Something like this (caveats: no docs, no tests, doesn't check if the handler exists):

Well, my command_not_found_handler actually has to run the entire command in comma, so I really don't think that's a good idea, especially in a highlighter.

WDYT of for k in ${(k)ZSH_HIGHLIGHT_STYLES}; do ZSH_HIGHLIGHT_STYLES[$k]=$k; done; _zsh_highlight and then inspecting $region_highlight?

I'll have to look into this, thanks for the suggestion

I have looked into how the main highlighter handles highlighting, and it seems like it uses a preliminary parser. An idea for an API would be to run this parser outside of any highlighter, then provide an array of states and real offsets matching the (z)BUFFER array.
If, for instance, I wanted to write a highlighter that handled commands, I'd look in the state array for :command:, then for each index, perform some check against the corresponding index in (z)BUFFER, and use the same index on the offsets array to apply the highlight.

That is, I think you can simply run the main highlighter in a particular way in order to make it behave as you proposed an independent parser would behave. Is this a solution or merely a workaround? And why?

I would like a solution that works for independent highlighters, since I don't think it's sustainable to just accept PRs to upstream just to distribute a particular highlighter that's only relevant within a specific context, if that's what you mean. Also, what way are you thinking of? Maybe I could try to use it in my highlighter.

Also, wouldn't your suggestion be for k in ${(k)ZSH_HIGHLIGHT_STYLES}; do ZSH_HIGHLIGHT_STYLES[$k]=$k; done; _zsh_highlight_highlighter_main_paint? Also that just wipes all colors because it hijacks ZSH_HIGHLIGHT_STYLES, but the data returned does look useful.

Can we assume third parties will run after the  main highlighter?

Would that be necessary? After all, if we do have a unique parser "at the top", the main highlighter just ends up being a giant match machine, and it's all a question of priority.
Of course, you would want to set main first so your other highlighters don't get overwritten, but I don't think that would break anything per se.

There isn't anything in this proposal that requires third party highlighters to send PRs to us
So you were talking about what your suggestion code does. Sounds good, still not a fan of running main several times.

@Thesola10 I'm trying to figure out a workaround that you can use right now.  Figuring out a longer-term solution is a fair topic too, of course.

I just noticed, but when a command is not found, it is given the unknown-token highlight, yet that doesn't distinguish it from e.g. a misplaced parenthesis, does it? Our "parser" would have to return the semantic role, not whether it is right or wrong.

As you say.  That's a known issue (#695); patches are welcome :-)

hello guys, i was new to opensource i can't understand the issues can anybody help me please

it's a niche issue about allowing other zsh plugins (like the one I'm working on) to modify the syntax highlighter's behavior without having to reimplement its logic entirely. In my particular use case, I want to change unknown commands to blue when they exist in a specific database because my plugin can then automatically install and run them.

I just looked into _zsh_highlight_highlighter_main_paint and it looks as though it uses _zsh_highlight_main_highlighter_highlight_list to parse the command line itself, which is already much better than the ZSH_HIGHLIGHT_STYLES hijack (no offense)
This means it would be much simpler to make the parser global, by running that function once per highlight pass and storing its result in a variable available to all parsers.

This is only tangentially related to this issue, but I'd appreciate some help with https://github.com/Thesola10/zsh-comma-assistant/issues/7
this is very weird and likely an issue with _zsh_highlight_main_highlighter_highlight_list somehow, but I'm still very confused.


Is there any possibility to use grn data from other software(grnboost2/GENIE3/CellOracle)?

Hello,
After running my code I found that the transcription factor I wanted did not appear in the results. And since I have used some grn predict tools before, It may be better to use one tool uniformly. So I want to ask is there any possibility to use grn data from other software(grnboost2/GENIE3/CellOracle) for GRN result?
And I find that the GRN constructed is not cell-type-specific. Will this bring some bias?
Yours sincerely,
GIlbert

In principle, you can use the output of another GRN prediction tool. You can provide a data.frame containing your predicted regulatory interactions in which the first column contains the target gene and second column contains the regulator. See small example below (you can ignore the last two columns):
grn[1:5,]
target         reg       zscore      corr
1  NOC2L  CIART 4.207424 0.1505131
2  NOC2L  DDIT3 4.678708 0.1403238
3  NOC2L  DDX11 5.459027 0.1869369
4  NOC2L DICER1 4.848455 0.1674708
5  NOC2L   DPF2 4.924815 0.1769888
Then, you can provide this table as input to the  activeSignaling function (as described in the tutorial for spatial transcriptomics:
apathways <- activeSignaling(data=cellrouter@assays$ST@ndata, sampTab = cellrouter@assays$ST@sampTab, grn = grn, markers = markers, summary = summary, fc = 0.2)
Please, let me know if that works. Thanks!

Thanks!
In software grnboost2, the result is like this
TF	target	importance
Hand2	Gm34030<PHONE_NUMBER>4221123
Id1	Id3<PHONE_NUMBER>6942646
Pou3f3	Pantr1<PHONE_NUMBER>553209
Irx5	Irx3<PHONE_NUMBER>168539
Irx3	Irx5<PHONE_NUMBER>8751385
Zic4	Zic1<PHONE_NUMBER>9106038
Nr2f2	Nr2f1<PHONE_NUMBER>3096774
Id2	Id1<PHONE_NUMBER>5900202
Kdm5d	Xist<PHONE_NUMBER>350258

In software cellOracle, the network is specific for clusters, which means different cluster have different network. the result is like this
,source,target,coef_mean,coef_abs,p,-logp
0,Zfp57,0610005C13Rik,8.765017e-05,8.765017e-05,0.48363494157656606,0.3154823298424891
1,Grhl2,0610005C13Rik,0.00020398656,0.00020398656,0.013902827081338852,1.8568968788117788
2,Zbtb7a,0610005C13Rik,-0.00037116688,0.00037116688,0.005543475024322045,2.2562179048095654
3,Foxf2,0610005C13Rik,-0.00078582985,0.00078582985,4.325799446150313e-07,6.363933619304989
4,Zfx,0610005C13Rik,0.0008235905,0.0008235905,4.678294839465598e-06,5.329912411189131
5,Nr5a1,0610005C13Rik,-9.254337e-06,9.254337e-06,0.9213348450624506,0.03558250342516251

So I think there are is some difficulty to use. I don't know whehter there are any ways to solve this.
Gilbert

Hello,
In principle you can use the grnboost2 network if you use the first two columns and rename the column names (potentially). I have not tested this and we are working on extensions based on your needs.
With regards the cellOracle network, I do not think there is a short-term solution. CellComm infers a global gene regulatory network exploring the heterogeneity of the data as a means to identify regulatory relationships.  The, it idenfies subnetworks enriched in cell types depending on how the analysis is performed, as this is described in our tutorial.
Hope it helps. Thank you!


Signups API endpoint

New API endpoint needed for Mobile app prototyping.  required functionality:

Post a signup with only a UID and a given source. If the given source is a signup entity e.g. signup/123 then load Signup 123 and find its corresponding campaign nid. Endpoint should create the signup recordfor the given UID and the source's nid.

GET all signups with a given source. e.g. GET signups?source=signup/123 but also include the alpha signup 123 within result set

Background:
The mobile app is looking to introduce functionality that allows Users to join a Signup Group. Current spec is as follows:

An alpha signs up for a campaign and receives an Invite Code. This is their signup sid. IN
The alpha invites betas to signup for a campaign using their Invite Code. The beta signup is psoted with the alpha source, signup/123.
All  betas who have signed up with signup/123 or whose signup ID is actually 123 (the alpha) are provided with an aggratgate view of reportback items and overall quantity

Desired behavior is that there is a view within the mobile app where a user can simply enter an INvite Code (without viewing the campaign it belongs to).  Entering the Invite Code will signup the user for the campaign its associated with, and then present the campaign (with a view of all users who have used the same invite code)

Sample request:
http://dev.dosomething.org:8888/api/v1/signups.json?parameters[source]=signup/54
Output:
[
   {
      "sid":"54",
      "uid":"101",
      "nid":"362",
      "timestamp":"1394654653",
      "signup_data_form_timestamp":"1397683873",
      "signup_data_form_response":"1",
      "why_signedup":null,
      "source":null
   },
   {
      "sid":"55",
      "uid":"106",
      "nid":"362",
      "timestamp":"1394659408",
      "signup_data_form_timestamp":"1397684404",
      "signup_data_form_response":"1",
      "why_signedup":null,
      "source":"signup/54"
   },
   {
      "sid":"1621",
      "uid":"5",
      "nid":"362",
      "timestamp":"1426706731",
      "signup_data_form_timestamp":null,
      "signup_data_form_response":null,
      "why_signedup":null,
      "source":"signup/54"
   }
]

@angaither Here is a screenshot of the scene from Mobile App wireframes which may help visualize #4243. Note that the User is not viewing a campaign at all, the code that the user enter will automatically sign the user up for whatever campaign the code is for.

@aaronschachter ahh, yes that helps


Add test to make sure the setter of AndFileFilter works correctly

First contribution, added a test case to improve the coverage of AndFileFilter. Currently learning the codebase to start contributing!

Coverage increased (+0.2%) to 89.428% when pulling 0380dc0f2a0410569c46443f58bc87993473e484 on trncate:test-uncovered-method-andfilefilter into ff0237315321bf9e01d0df3aaf1b4e6a4d3b1618 on apache:master.


Blog app - integration specs for views and fix n+1 problems

In this PR @ngeelani48  and @Koshao-sys  fulfilled the following requirements:

Solved N+1 problem when fetching all posts and their comments for a user without using the bullet gem.

Screenshot before

Screenshot after

Integration specs

User index page:

I can see the username of all other users.
I can see the profile picture for each user.
I can see the number of posts each user has written.
When I click on a user, I am redirected to that user's show page.

User show page:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see the user's bio.
I can see the user's first 3 posts.
I can see a button that lets me view a user's posts.
When I click a user's post, it redirects me to that post's show page.
When I click to see all posts, it redirects me to the user's post's index page.

User post index page:

I can see the user's profile picture.
I can see the user's username.
I can see the number of posts the user has written.
I can see a post's title.
I can see some of the post's body.
I can see the first comments on a post.
I can see how many comments a post has.
I can see how many likes a post has.
I can see a section for pagination if there are more posts than fit on the view.
When I click on a post, it redirects me to that post's show page.

Post-show page:

I can see the post's title.
I can see who wrote the post.
I can see how many comments it has.
I can see how many likes it has.
I can see the post body.
I can see the username of each commenter.
I can see the comment each commenter left.

@mukhammadrizooff thanks a lot for the review.


Extract fragment as a case class

Althaugh currently it's possible to do it via json4s API, I'd like a nicer way to extract JSON tree fragment to a case class that I can do my business logic on.
For example if I have my document:
{
  "name": "XYZ",
  "image": {
    "location": "/a/b/c",
    "metadata": {
      "dpi": 500
    }
  }
}

I'd like to extract image properties "location" and "metadata.dpi" to:
case class ImageMetadata(location: String, dpi: String)

Your wish just came true! :)
val jsonStr =
  """{
    "name": "XYZ",
    "image": {
      "location": "/a/b/c",
      "metadata": {
        "dpi": 500
       }
    }
  }
  """

val json = Json.parse(jsonStr)

val config = TransformationConfig()
  .add(copyFields("location"))
  .add(copyField("metadata.dpi" -> "dpi"))

json("image").transform(config).extract[ImageMetadata]() mustEqual ImageMetadata(location = "/a/b/c", dpi = "500")


Add scripts to generate settings defaults & permissions from .yml files

What's been done:

unified naming of permission enum with the respective permissions (for consistency & easier generation) - this generated a lot of the changed lines
add script to generate meeting-settings-defaults.ts where for each setting key the default is stored if one exists
moved validation of defaults from runtime to generation time to notice errors earlier and prevent non-startable states
add script to generate permission-children.ts where for each permission the list of children (= implicitly given permissions) is stored
use the above mentioned lists to correctly calculate the actual permissions for the operator
use the above mentioned lists to correctly display the permission matrix - implicitly given permission are checked and greyed out

Needs https://github.com/OpenSlides/OpenSlides/pull/6194 to work correctly. Still WIP, but the existing parts can already be reviewed - permission generation will probably look similar structure-wise.

Done, ready for review

Also updated cleanup scripts to include the cli folder.

ok. please rebase and merge.


Implementing IEquatable cases false positiv loop detection

We noticed in our project, that Json.Net will detect loops based on Equals and not based on reference equality. We serialize a class that represents configuration entries and the necessary information to modify and extend it.
Part of an entry can be prototypes, which descripe how a new value is generated by the client UI. If the current value is identical to the prototype, we get the Reference Loop Exception. See the example below for a reproducible example.
Source/destination types
private class SomeClass : IEquatable<SomeClass>
{
    public int Value { get; set; }

    public SomeClass Fallback { get; set; }

    public bool Equals(SomeClass other)
    {
        return Value == other.Value;
    }

    public override bool Equals(object obj)
    {
        return Equals((SomeClass) obj);
    }

    public override int GetHashCode()
    {
        return Value;
    }
}

Expected behavior
While both objects are equal in value, they are not the same object and therefor not a loop. Modifiying our implementation of Equatable means I can not comfortably compare a received value with its Default/Fallback/Prototype.
I would expect Json.Net to detect loops based on reference, not value.
Actual behavior
Reference Loop exception
Steps to reproduce
[Test]
public void TestLoop()
{
    // Arrange
    var some = new SomeClass
    {
        Value = 42,
        Fallback = new SomeClass
        {
            Value = 42
        }
    };

    // Act => Throws loop exception
    JsonConvert.SerializeObject(some);
}

Because this caused issues in production, we decided to drop IEquatable in PHOENIXCONTACT/MORYX-Platform#74. Therefore we are no longer affected by this, but I will leave this open for discussion, if this maybe affects others as well.

You can try System.Text.Json instead.

@sungam3r thank you for your reply. We figured IEqutable might cause other side effects as well. Never the less I noticed that this project, while heavily used, has gotten a little quiet. Probably because @JamesNK started working for MS and is busy with new tasks - no judgement, just an observation.

In fact this project not a little quiet, this project is dead.

There is a configuration to override the comparer used - https://www.newtonsoft.com/json/help/html/P_Newtonsoft_Json_JsonSerializerSettings_EqualityComparer.htm


False Positive

please remove this domains. Streaming video not working, break sites.
beggarlyfilmingabreast.com
cdn.sgmntfy.com
cdn.segmentify.com
per2.segmentify.com
key.seckeyserv.me

Thank you for this @trackerct.

We don't list beggarlyfilmingabreast.com.
We don't list cdn.sgmntfy.com
The domain cdn.segmentify.com comes to us from adaway.
  Please don't post here anymore.  if you post another issue here I will block you.

Only cdn.segmentify.com is included the latest release (3.11.32) of the hosts file.
And Segmentify is a tracker.
From https://segmentify.github.io/segmentify-dev-doc/integration_web/:

Segmentify javascript library uses data layer to collect information. To send events to Segmentify to track visitor behavior, you should add information to data layer in given format. Events tracked by Segmentify are given below:

page
product
basket
checkout
user
custom
interaction
form
search


Is there image random cropping function?

In images preprocessing before CNN training, we often randomly crop the images. For example, in VGGNet or GoogLeNet, the 256×256 image is randomly cropped to 224×224.
So, is there image random cropping function in Keras?

Random cropping is not possible using the standard preprocessing tools as far as I can tell. I also need random cropping, and noticed that work has been done towards this by others (see #3338). Hopefully something like this will get merged into the main repo soon.

I shared my solution in this blog post:
"Extending Keras' ImageDataGenerator to Support Random Cropping"
https://jkjung-avt.github.io/keras-image-cropping/

@jkjung-avt I used your random cropping code; however, it gave me an error because of the size of the cropped images needs to be returned back to the original image size, in your case (256,256). I tried to modified your function however no success. Any idea on how to resize the cropped images back to the original size so that the last line of the code to fit_generator does not throw an error for the size of the cropped batches (224)?
The modified code below, which didnt work for me:
def crop_generator(batches, crop_length):
'''

Take as input a Keras ImageGen (Iterator) and generate random

crops from the image batches generated by the original iterator

'''

while True:

    batch_x, batch_y = next(batches)

    batch_crops = np.zeros((batch_x.shape[0], crop_length, crop_length, 3))

    for i in range(batch_x.shape[0]):

        batch_crops[i] = random_crop(batch_x[i], (crop_length, crop_length))

    yield (tf.image.resize_images(batch_crops[i], (img_height, img_width)), batch_y)

Please note that you should call fit_generator() with batches produced by the crop_generator(). Since the ResNet50 based classifier is designed to take (224, 224, 3) images as inputs, the code should work OK.
Check out the source code: train_cropped.py

    net_final.fit_generator(train_crops, ......)

Otherwise, please provide your modified code in full. I can take a look and try to locate the problem.

It is more precise to put the function of random_crop as the argument of ImageDataGenerator.
preprocessing_function=random_crop
from keras.preprocessing.image import ImageDataGenerator, array_to_img, img_to_array, load_img
import numpy
import numpy.random
from skimage.transform import resize

# Please create the two folders and then put lena.jpg into the source directory.
src_path = '~/source/lena.jpg'
dst_path = '~/destination'

def random_crop(image):
    height, width = image.shape[:2]
    random_array = numpy.random.random(size=4);
    w = int((width*0.5) * (1+random_array[0]*0.5))
    h = int((height*0.5) * (1+random_array[1]*0.5))
    x = int(random_array[2] * (width-w))
    y = int(random_array[3] * (height-h))

    image_crop = image[y:h+y, x:w+x, 0:3]
    image_crop = resize(image_crop, image.shape)
    return image_crop

# Data generator
datagen = ImageDataGenerator(rotation_range=0.2,
                             width_shift_range=0.2,
                             height_shift_range=0.2,
                             shear_range=0.2,
                             zoom_range=0.2,
                             horizontal_flip=True,
                             fill_mode='nearest',
                             preprocessing_function=random_crop)

img = load_img(src_path)
x = img_to_array(img)
x = x.reshape((1,) + x.shape)

# The flow() command generates batches of randomly transformed images
# and saves the results to the 'destination' directory.
i = 0
for batch in datagen.flow(x, batch_size=1, save_to_dir=dst_path,
                          save_prefix='lena', save_format='jpg'):
    i += 1
    if i > 60:
        break  # otherwise the generator would loop indefinitely


Expression window resize issues

When changing the browser window size, parts of the expression editor window do not resize.
Current Results

Not a big issue but perhaps it's an easy fix.
Versions

Operating System: Windows
Browser Version: Firefox
OpenRefine: 3.4.1

Yes, it's really annoying!

Could I work on this issue ?

It's all yours!

Can I work on this

@AhwiniMirajkar no, as you can see it is already assigned.

@Mo-hamdy2000  hey, Are still working on this?

@Mo-hamdy2000 hey, Are still working on this?

@KaranSingh1301 Yes, I opened a pull request to be reviewed.

@wetneb I have made the required changes in the pull request, kindly could you review it ?

Closed by #3587.


Feature Request: Add option to recalculate build times

If you change settings around in the printer and/or EEPROM the build time remains the same unless you delete and re-upload the files. It would be nice to have either a button somewhere to re-calculate, or to just have it happen automatically when you change EEPROM or printer settings. Personally I think the button would be better because then you could do one piece at a time instead of waiting for your whole library to re-calculate, but either way would be nice.

The server does not know about firmware changes if you change eeprom. To change that go to printer configuration and read data from firmware. That should change the settings in configuration. When you then update settings recomputation of all gcodes is started if a change in timing is expected. All gcodes come in a queue. Since timings are computed from these settings only changes to them can change printing time and this is then started automatically.
Update may take a while - all files are reanalysed one after one. You should see it at the modified date of the .gin files in storage/printer/models.

I here assume you are using 0.60.4 not the version here on github.

I am using 0.60.4, but I never saw the times updating, until after I
re-uploaded the g code. Honestly though, I am not sure I gave it enough
time after the printer settings change.
I will mess with it again later today.
On Aug 13, 2015 1:24 AM, "repetier"<EMAIL_ADDRESS>wrote:

I here assume you are using 0.60.4 not the version here on github.
—
Reply to this email directly or view it on GitHub
https://github.com/repetier/Repetier-Server/issues/73#issuecomment-130551440
.


meson can't find pkg-config

Trying to build babl with quasi-msys2 does not work because native/host meson can't find pkg-config. As a result, no dependency can't be found.
Found pkg-config: NO

I even installed the cross pkg-config but meson still can't find it.

https://github.com/GNOME/babl - is this the thing you're building?
It seems MSYS2 has it as a package. Do you specifically want to build it manually?
I tried building it and I can't reproduce, I get Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0. You don't need a cross pkg-config, the native one should work. Does /usr/bin/pkg-config exist on your machine? I didn't install anything in quasi-msys2 other than _gcc _gdb.


[release-1.6] Fix headless svc instances scale  (#26636)

Fix configupdate for service

Add unit test

add release-note

manually cherry-pick  (#26636)
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

fix:  #26645


Converted ebook from AO3 is very unstable

Device:

Kobo Clara HD
Software version: 4.34.20097 (cd4e1bb2c2, 9/15/22)

Issues:

Current chapter reads as "Untitled Chapter", and the chapter title is not shown on top.
Switching chapters using the table of contents resets the progress, sending you back to page 1 upon re-opening.
Page count resets when selecting a new chapter
When selecting the Preface chapter, the header/footer info is gone along with any set margins. Moving past it, it will load the Preface chapter again now with the header/footer information.

How to reproduce:

Download EPUB from https://archiveofourown.org/works/5296460/chapters/12226634 (Download button is on the top right.)
Convert and copy to e-reader.
Load and navigate to Preface using table of contents; manually switch to new chapters and then re-opening, etc.

Additional notes:
This does not occur to any other ebooks, only ones downloaded from Archive of our Own.

I agree, I'm also facing this issue. I'm using the Kobo Libra 2.

That's good to know. I'll add a workaround for EPUB content documents with spaces in the name at some point since it's technically valid although discouraged, which makes it a kepub-specific problem.


Add translation for labs.lab.patient

🐛 Bug Report
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Navigate to new lab request.

Expected behavior
Translation for labs.lab.patient to be added.
Your Environment

node version: 12
fastify version: >=1.0.0
os:  Windows

This is a duplicate of #1973


Icons don't show up on Windows 11

I'm running the example provided both on Windows 10 (x86) and Windows 11 (ARM) computers on the latest Flutter 3.7.2.
Windows 10 works flawlessly: flashing, setting the buttons, setting the overlay icon, everything works as expected.
Windows 11 doesn't behave as smooth. While flashing, setting the buttons, changing the name and tooltip work, the icon itself is not shown neither in buttons nor as a overlay:

Hi @SleepySquash!
I'm able to use package:windows_taskbar just fine all the way from Windows 7 to Windows 11. I built it for Harmonoid & none of my users have reported any issues.
I can't really say anything, I have only abstracted ITaskbarList3 into a nice Flutter plugin. I see you've mentioned ARM device, which is something I can't say anything about.

@alexmercerind, thank you very much for your time and attention!
I tried the Harmonoid, woah, amazing player! It works flawlessly, also the icons show up:

I wonder if this issue might be related to the Flutter version.
There seem to be some problems regarding overlay icons running the x64 version on the ARM machine (e.g. with TortioseSVN), however this doesn't make much sense since the Harmonoid using the same package and running through x64 translation just works.


v0.3.3 breaks the helm chart pipeline

https://github.com/helm/charts/pull/16656

Found the solution https://github.com/kubernetes-incubator/metrics-server/issues/278#issuecomment-515370587

The reason is actually that the test in the chart looks for the tag value in the /version endpoint. But the version endpoint reports 0.3.2, not 0.3.3.


Fix syntax, ignore all of jersey for client-javax

We don't want version updates for anything jersey in client-javax.

cc: @sergiygetlin, I think you noted this on another PR.


Unfortunately, an unexpected error occurred, and Bundler cannot continue.

First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=Permission+denied+-+%2FUsers%2Fnext%2F.bundle%2Fcache%2Fcompact_index%2Frubygems.org.443.29b0360b937aa4d161703e6160654e47%2Fversions&type=Issues

This is a duplicate issue -- please search the issue tracker to find others like it


PCQ-749: Add user consent cookie banner and cookie preferences saving feature.

JIRA link
https://tools.hmcts.net/jira/browse/PCQ-749
Change description
PCQ-749: Add user consent cookie banner and cookie preferences saving feature.
Code changes :-

app/assets/javascripts/cookie.js  --  Functions cookieManager.init , cookieBannerAccept , cookieBannerReject , cookieBannerSaved , preferenceFormSaved , cookiePreferencesUpdated
app/views/includes/scripts.html  --  Removed reference to cookie_bundle.js (because it is now referenced via cookie-banner.html)
app/views/includes/layout.html  --  Added reference to cookie-banner.html
app/views/includes/cookie-banner.html (NEW)  --  Cookie Banner feature , references cookie_bundle.js
app/steps/ui/static/cookies/template.html  --  User Preferences Saving feature
app/resources/en/translation/common.json  --  Added 8 new strings
app/resources/en/translation/static/cookies.json  --  Added 28 new strings
app/resources/cy/translation/common.json  --  Added 8 new strings
app/resources/cy/translation/static/cookies.json  --  Added 28 new strings

Cookie Banner feature implementation notes :- https://github.com/hmcts/cookie-manager#feature-cookie-banner
User Preferences Saving feature implementation notes :- https://github.com/hmcts/cookie-manager#feature-user-preferences-saving
Awaiting one String to be translated to Welsh ("Cookies on equality and diversity") , as able to find Welsh translations for all other new strings from other HMCTS projects.
See also screenshots attached to Jira ticket.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Added _oauth2_proxy to essential cookie list.
Added Welsh translation of Cookies on Equality and Diversity.


Fabulous AST session

Oh that is pretty cool Jimmy!

If you're looking for an example of someone using it in the wild: ionide/LanguageServerProtocol#49

Nice. Thanks


fatal error: unexpectedly found nil while unwrapping an Optional value

Hi, I'm experiencing this issue:
fatal error: unexpectedly found nil while unwrapping an Optional value
Current stack trace:
/root/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a-ubuntu15.10/usr/lib/swift/linux/libswiftCore.so(swift_reportError+0x8b) [0x7ffff7b4b7db]
/root/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a-ubuntu15.10/usr/lib/swift/linux/libswiftCore.so(_swift_stdlib_reportFatalError+0x3d) [0x7ffff7b5ca1d]
/root/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a-ubuntu15.10/usr/lib/swift/linux/libswiftCore.so(+0x2635cf) [0x7ffff7b095cf]
/root/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a-ubuntu15.10/usr/lib/swift/linux/libswiftCore.so(+0x133c1f) [0x7ffff79d9c1f]
/root/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a-ubuntu15.10/usr/lib/swift/linux/libswiftCore.so(+0x23dffe) [0x7ffff7ae3ffe]
/root/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a-ubuntu15.10/usr/lib/swift/linux/libswiftCore.so(function signature specialization <preserving fragile attribute, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt, flags : Swift.UInt32) -> ()+0x14b) [0x7ffff7ab024b]
/data/swift/tori/.build/debug/tori() [0x424154]
/data/swift/tori/.build/debug/tori() [0x416536]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7ffff52b4a40]
/data/swift/tori/.build/debug/tori() [0x415ef9]
Process 33 stopped
* thread #1: tid = 33, 0x00007ffff7ab024b libswiftCore.so`function signature specialization <preserving fragile attribute, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt, flags : Swift.UInt32) -> () + 331, name = 'tori', stop reason = signal SIGILL: illegal instruction operand
    frame #0: 0x00007ffff7ab024b libswiftCore.so`function signature specialization <preserving fragile attribute, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt, flags : Swift.UInt32) -> () + 331
libswiftCore.so`function signature specialization <preserving fragile attribute, Arg[2] = Dead, Arg[3] = Dead> of Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt, flags : Swift.UInt32) -> ():
->  0x7ffff7ab024b <+331>: ud2
    0x7ffff7ab024d <+333>: ud2
    0x7ffff7ab024f <+335>: cmpl   $0x110000, %r13d          ; imm = 0x110000
    0x7ffff7ab0256 <+342>: jae    0x7ffff7ab027f            ; <+383>

it seems to raise as soon as the db is trying to connect, line 43

Wow.. sorry for the late reply! I've completely missed this issue.
I've hada  look at your project line 43 and I think the issue is your configuration file. You're connecting to a host on a specific port but the host is incorrect.
There are in MongoKitten two types of connection methods:
This is one method.. where you provide us the hostname, port and optional authentication details.
let dbServer = try! Server(at: "localhost" port: 27017 automatically: true)
Another is to use a MongoDB connection URI
let dbServer = try! Server(at: "mongodb://localhost:27017", automatically: true)
Both of these examples don't use authentication. If you want some more help.. you can find us in the slack found in our readme.. as well as via this (or anther issue).
And I think this tutorial could help clarify a few more things:
<EMAIL_ADDRESS>

Hi @Joannis , thank you for your reply. But what do you mean by the host is incorrect?
At this very moment dbHost is a string that contains an IP address (e.g.. <IP_ADDRESS> ).
I managed to test w/ mongoclient and it works fine

Let me get back to you when I wake up tomorrow morning. I'm not sure why this doesn't work, because it should.

I don't see why it wouldn't connect. IP addresses work here.

i tried to run with lldb enabled but the report above is what I was able to retrieve, seems that something nil make the app crashing, as I figured out removing auto connect it works, so it seems to be something inside the connect func, but I wasn't able to debug it deeper atm.

What MongoDB version are you running?

3.2.5

I almost feel like the host is wrongfully formatted. Maybe it crashes on an extra space in the address?

Another thing: What version of MongoKitten are you using? And what version of Swift?

MongoKitten 0.8
Swift 04-25

I really can't figure out why you're unable to connect..

Could you join me at our SupportKitten slack?

I found the issue... I copied your file and I noticed your own project is forcefully-unwrapping a variable called adminExist

thx!


Implement decrypt

The following are implemented from
https://github.com/android-password-store/kage/issues/15:

Implement methods to parse AgeFile
Implement methods to parse and generate X25519 recipients
Implement crypto methods for X25519 recipients
Implement methods to parse and generate X25519 identity
Implement crypto methods for X25519 identity
Implement a method that takes plaintext and a list of recipients and returns an AgeFile object
Implement a method that takes an AgeFile and an identity and returns the decrypted data
Implement convenience methods for library users

@msfjarvis Thanks! I'll update it once it gets merged.


Resize the drag bar on WM_DISPLAYCHANGE

Summary of the Pull Request
Pretty straightforward. When we get a WM_DISPLAYCHANGE, that means the display's DPI changed. When that happens, resize the drag bar, so that it'll reflect the new scaling.
References
I'm doing this to unblock #4778
PR Checklist

[x] Closes #4166
[x] I work here
[ ] Tests added/passed
[n/a] Requires documentation to be updated

Validation Steps Performed
Man I've changed the DPI of my displays so many times in the last 30 minutes.


Remove index.js suffix of use-sync-external-store/shim to support React Native

This PR fixed #2402
According to this document, React Native-specific code can use the '.native.js' suffix, while standard React web code uses the '.js' suffix.  By removing index.js suffix of use-sync-external-store/shim, bundling tools like Metro/Webpack could choose the right file for each platform.
I haven't tested this PR on React Native because I'm not familiar with React Native development and I have no idea how to downgrade React to 17. However, I can reproduce the issue and test the PR on GojiJS,  which is a React-like framework based on react-reconciler and shares many technical specifications with React Native, including the '.native.js' suffix. It would be appreciated if anyone could help verify the changes.

Thank you!

This has broken our prod builds, reproduced on node v14, v16.
Going to pin SWR to an older version for the time being.
If this is caused by a problem from our side, please feel free to point it out, I'm not a FE expert by any means.
[14:57:16] Error in plugin "webpack-stream"
Message:
    Module not found: Error: Can't resolve 'use-sync-external-store/shim' in '/home/~~~~/node_modules/swr/core/dist'
Did you mean 'index.js'?
BREAKING CHANGE: The request 'use-sync-external-store/shim' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".js",".jsx"]' instead of '["*",".js",".jsx"]'?
Details:
    domainEmitter: [object Object]
    domainThrown: false

[14:57:16] 'default' errored after 21 s


Sonos error in .105

The problem

Started seeing this error for Sonos in .105
Environment

Home Assistant release with the issue: .105.0b4
Last working Home Assistant release (if known): .104
Operating environment (Hass.io/Docker/Windows/etc.): Ubuntu VENV
Integration causing this issue: Sonos
Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs

Log Details (ERROR)
Sat Feb 01 2020 16:59:41 GMT-0500 (Eastern Standard Time)
Service <function async_setup.<locals>.<lambda> at 0x7f303c9b50e0> for media_player.family_room_2 incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.

cc: @balloob

What service did you call

I did not call anything, it appeared on startup.

No startup automation for sonos?

no....this is all I have in my HASS initialize script https://github.com/arsaboo/homeassistant-config/blob/master/scripts.yaml#L318

Are you using a custom integration for Sonos?

I'm seeing these for many media players. Here are a few.
2020-02-01 11:25:29 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x7f1384e569e0> for media_player.onkyo incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.
2020-02-01 11:25:29 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x7f1384e569e0> for media_player.family_room_roku incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.
2020-02-01 11:25:29 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x7f1384e569e0> for media_player.garage_speaker incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.
2020-02-01 11:25:29 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x7f1384e569e0> for media_player.onkyo_zone_2 incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.
2020-02-01 11:25:29 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x7f1384e569e0> for media_player.living_room_lights incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.
2020-02-01 11:25:29 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x7f1384e569e0> for media_player.kitchen_display incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.

Also getting these errors with several different media players / integrations (Denon, Roku, and Alexa Media Player* although that last one is a custom integration). This only started on 0.105b for me.
2020-01-31 21:15:56 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x6de61390> for media_player.denon_avr_s720w incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.
2020-02-01 19:47:48 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.<locals>.<lambda> at 0x6de61390> for media_player.echo_3g incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.

Same for google home.
'''2020-02-01 13:32:53 ERROR (MainThread) [homeassistant.helpers.service] Service <function async_setup.. at 0x7fc208a3d680> for media_player.great_room_home incorrectly returns a coroutine object. Await result instead in service handler. Report bug to component author.'''

Ah, it's the media player integration that is messing it up!

I have the same with the Bose SoundTouch.

This is happening also with dlna_dmr, e.g., when volume is being set.


Hetrogenous Object Storage

Issue/Feature Description:
Umbrella issue for all the tasks related to Heterogeneous Object Storage
Tasks:

[ ] Bucket Managment Feature (All supported vendors and ceph)
[ ] SODA Multicloud HA and load balancer delivery
[ ] User Management  (Object focus) Development

Why this issue to fixed / feature is needed(give scenarios or use cases):
To support the Heterogeneous Object Storage requirements
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Implemented in Isabela Release


[Feature Request] Deleting a wormhole signature or connection should delete the connection or signature respectively associated with it

Now that #290 implemented, I would like to see a stronger bond between the two signatures that make up a connection. If system has a signature linking to another system that has a signature linking back to the same system, this should signify a "strong" connection. If I delete this connection, both signatures should be removed from the systems. If I delete a single signature, the connection AND complimentary signature should be deleted.
Currently, connections are made regardless of signatures linking systems. I'm not sure if this is a good strategy for the future of this tool. It is frustrating to see that the visual map connections are completely independent from the signature connections.

Agree. I´ll try to add this in one of the next releases. The reason of not having this right after #290 got implemented is, that I felt uncomfortable with the fact, that an accidental connection delete by a user would also delete its attached signatures.
I will not make this feature "optional" or configurable by either the user or in the map options. The feature itself will come with some magic where users could wonder about signatures disappearing after a connection was deleted.

Tasks:

[ ] New checkbox for "delete connection" in confirmation popup. If a signatures gets manually deleted

[ ] New checkbox for "delete connections" in "signature reader" dialog. If existing "lazy delete" checkbox is active (which is required in order to auto-delete all signatures not found in pasted scan result), the new checkbox becomes enabled.

[ ] If any of the new "delete connections" checkbox is active → a (potentially) linked signature in target system should also be cleared.


Is there already a branch where OKCoin shorting is being worked on? Can I help?

I am also interested in this.
I recompiled with short selling enabled on OKcoin and the number of opportunities compared with Bitfinex was far greater.
Does anyone know what is required?

duplicated by #307

duplicated by #302


[Event Request] Table 77 Report Selections: OnBeforeGetEmailBodyVendorText

Function: GetEmailBodyVendor
Publisher: OnBeforeGetEmailBodyVendorText

Parameters

Hi @jobulsin ,
this one is still missing.

This one is indeed still missing, I don't think Microsoft is monitoring this subject. I will create a new issue for this.


Support for comparing specific version with current Laravel/Lumen app version

added AppVersion::is support for comparing specific version with current Laravel/Lumen app version

Thank you!


A11y_AzureDataStudioAAE_Azure ADC(Preview)_Azure Configuration_ColorContrast: Color contrast ratio of the dropdown indicator is less than 3:1

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags: #A11yMAS;#A11yTCS;#A11ySev2;#SH_AzureDataStudio_AAE_Jun2021;#SQL Azure Data Studio;#Win10;#FTP;#DesktopApp;#Keyboard;#WCAG1.4.11;#AINotInScope;#ColorContrastAnalyzer;#A11yWCAG2.1;
Environment Details:
Application Name: Azure Data Studio-AAE
Windows Version: Win10
Repro Steps:

Launch the application-Azure Data Studio-Insiders and install extension Azure arc and Azure data ClI
Connect to Azure Arc Controller
Tab till "Connection" and tab to see more button
Tab to "New Deployment" and Azure ADC(Preview) and then tab select button
Deployment Prerequisite page will open and tab on next "Select from existing Kubernetes cluster" will open
Tab till "Azure account" button and see color contrast of dropdown indicator

Actual:
Color contrast ratio of the dropdown indicator is 1.9:1 which is less than 3:1.
Similar issue is present throughout the application where dropdown indicator is there.
Expected:
Color contrast ratio of the dropdown indicator should be greater than 3:1.
User Impact:
Low vision users will not able to view dropdown indicator properly.

@sspatil123 Are you referring to the dropdown arrows in the input boxes?

Given the description I believe that's what you're referring to here and so I'm going to close this as that will be fixed by https://github.com/microsoft/azuredatastudio/pull/16073

Closing as not repro

GitHub Tags: #Closed;


Forces SDK connection before unlocking extension

In 0.4.7 we forced an SDK connection to be established before sending
a signing request and, once one was established, skipped that
connection attempt for future requests. This means the first signing
request after opening the extension is still quite slow, but subsequent
ones are much faster.
Since many use cases only require one transaciton at a time, this
seems like a subpar UX. This commit front loads that SDK connection
to getAccounts, which is called when the extension unlocks and
searches for Lattice accounts. This means that unlocking the extension
will now take ~5 seconds, but all transaction requests should be
very quick.

I'm not sure this is the path we want to go, and we don't necessarily need to decide now. 0.4.6 is definitely an improvement over status quo, even if the first request takes a while.
The issue with this approach is that if the Lattice is disconnected it will take 1-2 minutes before it times out and unlocks the extension. I'm not sure how common that will be for users.
I'm also open to other suggestions on UX here.

Sigh. This creates an issue where the first time it opens lattice.gridplus.io it sets the keyring to unknown. Will investigate.


Set up a Change Log for abap2xlsx

Proposing to create a changelog.txt file to display the latest changes of abap2xlsx when pulling the repository with abapGit.
Request from:

@larshp (https://github.com/sapmentors/abap2xlsx/issues/720#issuecomment-757140976)

yea, sounds good to me
and also delete the data elements, I think its unlikely that they are used in custom code, but it might break existing code...
perhaps its time to keep some kind of changelog, https://docs.abapgit.org/development/guide-changelog.html

@AndreaBorgia-Abo (https://github.com/sapmentors/abap2xlsx/pull/869#issuecomment-962605526)

this might be the right time to start a BREAKINGCHANGES file or something to that effect

@AndreaBorgia-Abo @larshp @gregorwolf Any idea which version number should be first used?
One solution to get the first number is to take the official release of abap2xlsx in July 12, 2010 as being version 1.0.0, we could count the number of months, Nov 12, 2021 would be 136 months after 1.0. So, version 1.136.0?
After that we could release a new version at each beginning of month, as far as possible...

No idea but we already have a version 7.1.0 :)
Another option would be a date-based version number, for example 2021.11.12 and 2010.07.12

From a user/consumer point of view, the most convenient would be GitHub release  with Semantic versioning  :

I can pick up a release or the nightly build
i can subscribe to release notifications only (and avoid PR/Issue notifications)
Version number indicates whether I should expected compatibility breaks

List of all abap2xlsx versions in ZCL_EXCEL since it was moved to GitHub:

7.0.6 (initial version in GitHub, 5 years ago):
https://github.com/sapmentors/abap2xlsx/blob/74c1a543cd86e8e4703cceb3f595b474b196c18e/src/zcl_excel.clas.abap#L154
7.2.0 (changed 12 months ago):
https://github.com/sapmentors/abap2xlsx/blob/74345edd326e221736684787e8622bd657d2a2a0/src/zcl_excel.clas.abap#L159

NB: the version is stored in the "Comments" of the generated workbook:

@AndreaBorgia-Abo If we stick to semantic versioning, the version is to be MAJOR.MINOR.PATCH, major should be +1 if we do an incompatible API change, so using the year is maybe not a good idea if we have to do an incompatible change. Why not starting from 7.14.0 then, 12 months after 7.2.0, assuming we had one new functionality per month?
@AlexandreHT Thanks. I have absolutely no experience with GitHub releases. It seems to me that the abapGit solution is very simple to handle, I like to see the change log in abapGit without going to GitHub, e.g.:

The abapGit solution seems nice but I’m restricted to offline repo.

Please all. Any consensus for a version number? I proposed 7.14.0 and I did a PR with the proposal.
After agreeing, as @AlexandreHT said, we should also create a GitHub Release with same number. Currently:

If there are no breaking I agree.

Thanks, so let's start "Version Management" and "Change Log" !


Bump version to 1.0.7

Pull Request Test Coverage Report for Build 135

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

Totals

Change from base Build 133:
0.0%

Covered Lines:
1540

Relevant Lines:
1540

💛  - Coveralls


networkInterfaces properties doesn't allow for multiple digits.

ISSUE TYPE

Bug Report

Telemetry Streaming 1/ 1.4.0

BIGIP VERSION

Sys::Version
Main Package
  Product     BIG-IP
  Version     <IP_ADDRESS>
  Build       0.0.1
  Edition     Point Release 3
  Date        Wed Nov 28 18:50:45 PST 2018

SUMMARY

The renameKeys property on networkInterfaces (on or around line 166) regex pattern doesn't allow for more than 1 digit characters in the interface identifier.  That is interfaces 1.10 - 1.19 will overwrite the properties for interface 1.1; interfaces 1.20 - 1.29 will over write the properties for interface 1.2 and so on.  Assumingly from the current regex if there were an interface 10.1, that too would over write stats for interface 1.1

STEPS TO REPRODUCE

EXPECTED RESULTS

Expected interface 1.1 - 1.24 to be listed in telemetry sent to my consumer and interface status of interface 1.1 and 1.2 to be "up".
ACTUAL RESULTS

Only interfaces 1.0 (doesn't even exist) - 1.9 were sent and interface status of 1.1 and 1.2 reflective of the status of interface 1.19 and 1.24 respectively.

{"aggr_period":300,"device_base_mac":"00:0a:49:c1:e1:40","devicegroup":"","facility":"","interface_name":"1.1","interface_status":"uninit"}

Assumingely the below patch would work.
--- properties.json-orig	2019-07-25 15:32:17.000000000 -0500
+++ properties.json	2019-07-25 15:32:39.000000000 -0500
@@ -163,7 +163,7 @@
"structure": { "parentKey": "system" },
"key": "networkInterfaces",
"filterKeys": { "exclude": [ "counters.errorsAll", "counters.dropsAll", "counters.pktsIn", "counters.pktsOut", "mediaActive", "tmName" ] },

       "renameKeys": { "patterns": { "net/interface": { "pattern": "([0-9]\\.[0-9]|(?!\/)mgmt(?=\/))" } } }

       "renameKeys": { "patterns": { "net/interface": { "pattern": "([0-9]+\\.[0-9]+|(?!\/)mgmt(?=\/))" } } }
   },
   "provisioning": {
       "structure": { "parentKey": "system" },

Thank you, @ad0pl
Internal issue created, ID - AUTOTOOL-557

This issue has been resolved as part of the 1.12.0 release.


[Access Change Request] table 39 "Purchase Line" - global variables "ItemReferenceMgt"

Hi,
could you change the access of the global variable ItemReferenceMgt in the Purchase Line table to protected please?
Thanks.

Can you simply define this variable in your extension? It is just code.

Okay i will try that. Thank you.


Updated Numba-dpex to use Numba 0.56.

Imported mangle_c from numba 0.55 to numba 0.56.
Merged itanimu_mangler.py from numba and extended_numba_itanium_mangler.py, renamed to itanium_mangler.py.
Updated conda recipe and github workflow to use numba 0.56 and dpnp 0.11.
Disabled 6 test cases: 4 usmarray, 1 parfor and 1 reduction. Will revisit.

Merging based on public CI and successful local testing.


Let site run through docker

This adds a script to upsert the embeddings into the database and runs everything through docker to deploy easier.

There isn't a reason to keep this pr open because we don't want to be upserting data in this way. It'll be easier to make a script because qdrant will persist


Fix metadata client unit tests

Adding back a package removed by mistake here: https://github.com/treeverse/lakeFS/pull/6190/
It is require for the StorageUtilsSpec test.

@N-o-Z - added some context, I hope it makes sense.


Marine Tidal / LCOE Calculator default case opens with UI error

Describe the bug
The default Marine Tidal / LCOE Calculator case displays a UI error when it opens.

To Reproduce

Create a Marine Tidal / LCOE Calculator case.
See error.

The error seems to be triggered by loading the Time Series option on the Tidal Resource page.
Operating System and Version
SAM 2024.12.12
Windows 11

There's an issue with initialization of the tidal resource library on first open. Switching from Frequency of occurrence to Time series fixes this (you can then go back to Frequency of occurrence). Completely exiting SAM and reopening after doing this for tidal configs (LCOE and None) removes the error in subsequent runs. I can't replicate the initial error in the dev version (SAM or SAMOS) or the RC, @sjanzou any ideas on what's different for the release?

Hmmm.... when I download and install the 2024.12.12 release and create and Marine Tidal / LCOE case, I receive no error on Windows:

Also, when the release is downloaded and tested on MacOS, the Marine Tidal / LCOE configuration opens and runs without issue

@mjprilliman, I checked the commit history and cannot find any changes between the release candidate and the full release in SAM-private...did any library folders change?

Yesterday I was able to replicate this error reliably (in Windows). Today, the case opens with no error, even after I uninstalled and reinstalled SAM 2024.12.12.


CLI restore-state feature returns duplicate records

Arun reports that restoring a saved state results in duplicate records.

I have manually tested this and concluded that Arun's observations were not accurate. If he provides me with new information, I will re-open the ticket.


Jomar ppc long form update

@Katiemoser  @ardeay  ppc content management system update were completed and it's ready for review.