sch-UID2-2470 add roles to service links

Added roles to service links in the ServiceLinkService and service-link.html.
Requirements for roles:

Roles cannot be empty, unless Service only allows for one role. In this case, role should automatically be populated with this role
Roles must be valid and a subset of the roles in allowed in Service

Added unit tests and tested locally for:

Adding service link with role not allowed by service should return an error

Adding service link with illegal role should return an error

Adding service link with no role when service allows for multiple roles will return an error

Adding service link with no role when service allows for single role will automatically populate role

Adding service link with roles allowed by service succeeds

Updating service with name and no role succeeds, only name is changed

Updating service with valid role and no name succeeds, only role is changed

Updating service with role not allowed by service returns an error

Updating service with both name and valid roles succeeds

Updating service with no name and no role does not make any changes and does not return an error

What should happen to existing service links (and their roles) if service roles are updated later?


Feature/gsk 2334 talk to my model mvp

Description
Adding the new functionality called "Talk to my ML model". It allows to query prediction results, explanations, performance issues of the Giskard Model, using the natural language.
Type of Change

[ ] 📚 Examples / docs / tutorials / dependencies update
[ ] 🔧 Bug fix (non-breaking change which fixes an issue)
[ ] 🥂 Improvement (non-breaking change which improves an existing feature)
[x] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🔐 Security fix

Checklist

[ ] I've read the CODE_OF_CONDUCT.md document.
[ ] I've read the CONTRIBUTING.md guide.
[ ] I've updated the code style using make codestyle.
[ ] I've written tests for all new methods and classes that I created.
[x] I've written the docstring in Google format for all the methods and classes that I used.

Working on unit-tests to finalise @Hartorn's review.

@rabah-khalek unit-tests were re-made like you asked.

@Hartorn @rabah-khalek
All the issues were fixed. All the tests were done in a proper way. The CI/CD is passed.
I need your approval to merge changes.

@rabah-khalek final PR fixes were made.


SRCREV_FORMAT with underscores generates Debian packages with invalid versions

Some of the recipes, for example qtlocation, contains version numbers with underscores in them. The packages will build just fine, but adding the resulting qtlocation_5.15.3+git0+9909253b0f_d3101bbc22-r0_amd64.deb file to a Debian package repository with reprepro yields the following error:
Character '_' not allowed in version: '5.15.3+git0+9909253b0f_d3101bbc22-r0'

I am willing to make a PR if desired. All I need to know is if it's OK to replace the underscore with a plus sign.

Every SRCREV_FORMAT I've found is using underscore as separator, so this would be better to discuss on oe-core ML first as it doesn't affect just qt5 recipes.

Correct, this is probably best done in the deb archive creation side. Closing.


Cannot install the C# Dev Kit extension

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

VS Code Version: 1.83.1(system setup)
OS Version: Windows 10 Enterprise 22H2

Steps to Reproduce:

Try to click on the 'install'  to install the C# Dev Kit extension through Extensions in vs code
A dialog from the bottom right says 'Error while installing 'C# Dev Kit' extension. Please check the log for more details.'
Check the log, the information is "[error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found"
Then try to click on the button 'Try Downloading Manually...'
After the file download, click on the 'Install from VSIX...'  to install the vsix file<EMAIL_ADDRESS>but nothing happens.
Failed to install this extension and don't know how to do.

After the file download, click on the 'Install from VSIX...' to install the vsix file<EMAIL_ADDRESS>but nothing happens.

Are you seeing any errors while installing it? Can you please check following logs?

F1 > Open View... > Window
F1 > Open View... > Shared

Hi Sandy, there is no error alert, it seems there is a progress bar on the top left, but it disappeared right away. and I didn't find any 'Open View' menu

Looks like installing the following extension ms-dotnettools.csharp is failing. This is part of the C# Dev Kit Extension pack. Can you please try installing ms-dotnettools.csharp extension individually and see if you are getting the same error?

Looks like installing the following extension ms-dotnettools.csharp is failing. This is part of the C# Dev Kit Extension pack. Can you please try installing ms-dotnettools.csharp extension individually and see if you are getting the same error?

I have tried to install the extension ms-dotnettools.csharp but the result is the same

I was expecting the same. Have you tried installing ms-dotnetools.csharp extension by downloading the VSIX from the link you got back?

I was expecting the same. Have you tried installing ms-dotnetools.csharp extension by downloading the VSIX from the link you got back?

yes, still the same, but I have found the root cause. I tried to use the network at home instead of the network in the office. it works fine now. it should be related to the proxy. thanks!


Recursive ignore?

I'm applying Pickable::IGNORE to a scene that I'm using as a hover hint/highlight,
    commands.spawn((
        HoverHighlight,
        SceneBundle {
            scene,
            ..default()
        },
        Pickable::IGNORE,
    ));

and as far as I can tell, the meshes in the scene are still blocking hits. Would it be possible to have a PickVisibility or similar that is hierarchical?
I think I've worked around it with an extra component that triggers a system that recursively applies the ignore, and re-applies it when the scene component changes.

There is nothing provided out of the box. The only provided hierarchical features are event listeners, provided by the eventlister crate. The reason this does not exist ootb is it would require arbitrary hierarchy traversal for every check. If you want to provide recursive behavior, you will need to apply the components yourself.


SVG object styled-component

How to use styled-components with SVG?
I have file with SVG's like this
Icon.js file
import React from "react"
export const svg1 =
<svg height="100" width="100">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
  Sorry, your browser does not support inline SVG.
</svg>

export const svg2... and so on

I have component where i use SVG:
Avatar.js
import React from "react"

import { svg1 } from "src/shared/Icon"
import styled from 'styled-components'

export default class Avatar extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
             <TestSvg />
        )
    }
}

const TestD = styled((props) => svg1 )`
    fill: red;
`

It's working, but i have 2 problems:
1)fill: red; is not applying to SVG
2)I get warning: "It looks like you've wrapped styled() around your React component (Component), but the className prop is not being passed down to a child. No styles will be rendered unless className is composed within your React component."
Can someone explain me how to style svg right?

Found in one of issues example like this, but it have same problems
import React from "react"

export class TestX extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
            <svg fill='grey' enableBackground="new 0 0 64 64" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" >
                <path d="M62.556  /></svg>

        )
    }
}

And in second file:
import React from "react"

import { TestX } from "src/shared/Icon"
import styled from 'styled-components'

export default class Avatar extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
                   <TestD />
        )
    }
}

const TestD = styled(props => <TestX {...props} />)`
    fill: red;
`

You need to apply the className from props.

Just found how to do it, will type it here if someone needed:
You need to spread props for everything to work:  {...this.props}
P.S.
@probablyup  no need for className
import React from "react"

export class TestX extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
            <svg {...this.props} fill='grey' enableBackground="new 0 0 64 64" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" >
                <path d="M62.556  /></svg>

        )
    }
}

And in second file:
import React from "react"

import { TestX } from "src/shared/Icon"
import styled from 'styled-components'

export default class Avatar extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
                   <TestD />
        )
    }
}

const TestD = styled(props => <TestX {...props} />)`
    fill: red;
`


chore: 🤖 fix new tree shaking with hmr

Summary

Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

!canary

!canary

!canary


Fix empty-byte truncation

Empty-byte truncation needs to keep the last byte of the message in any case. see reference implementation:
https://github.com/mavlink/c_library_v2/blob/master/mavlink_helpers.h#L103

Hi, thanks for this PR, i did some research on the issue but i found no answers. The situation is the following:

documentation (https://mavlink.io/en/guide/serialization.html) doesn't say anything about keeping at least a byte
pymavlink does not perform empty-byte truncation
c implementation works like you described

Since most flight controllers and ground stations are based on the C library, i'm merging this for compatibility reasons, but i'll open an issue in order to update the documentation.
I'll also regenerate test vectors with the C library.

Thanks for the quick response.
if it is really meant to truncate all zeroes, leaving the message empty in case of a zero valued message, we need to check if we have to recalculate the checksum, or recalculate it in any case.
in this case i am interfacing with a mavlink implementation that keeps the last byte. mostly i am just routing messages around. and gomavlib will destroy the message because of crc mismatch and/or length being zero.
the easiest fix was to make gomavlib equal to the c lib, so thank you for the quick merge :-)

https://github.com/mavlink/mavlink-devguide/pull/201


MiniLM-L12xH384 better than BERT-base on some dataset?

Describe
As per the Finetuning section of MiniLM Readme the performance of MiniLM-L12xH384 is even better than BERT-base for SQuAD 2.0 and MNLI-m datasets. As distillation usually lead to usually lesser student performance (wrt teacher), how is the reported score higher than BERT?
Thank you!

MiniLM is better than BERT because the teacher of MiniLM is better than BERT.


The col of the file position output by oxlint's error log is always 1

Hi,
I've looked through the documentation but couldn't find any explanation about this.
Also, I'm not very familiar with Rust. I've spent some time trying to understand the source code, but it's still a bit challenging for me. Therefore, I can't determine from the source code whether this is a feature or a bug, and I can only create an issue to seek help.
However, from the results, it seems that the positioning is not very accurate, and even the row can have problems.

I think, according to conventional cognition, a clear positioning like eslint seems to be more correct?

Clear positioning means that I can use some means to directly jump to the location of the error in bash.
This is a minimally implemented demo project：link

Fixed by https://github.com/oxc-project/oxc/pull/2242, will make a new release soon.


Dataset field ODDRN must be unique

Currently we don't include column type in dataset field ODDRN, so it's possible that we will have 2 fields with the same ODDRN. Need to make a decision, how to avoid such situations

Basically we need to somehow add type information into the dataset field ODDRN, since currently uniqueness of dataset field is oddrn + type


Miner does not check difficulty

Looks like the solver just report the solution, no matter what difficulty it receives.
See:
https://github.com/tromp/cuckoo/blob/17f752922fdf7a7fd4871a6c257fd0465546ec4c/src/cuckaroo/mean.cu#L699

solutions get filtered on the cpu https://github.com/mimblewimble/grin-miner/blob/41405bc19370b32a66b31cedb756703bf69528c0/cuckoo-miner/src/miner/miner.rs#L160-L185

This is fixed.


Update collections.md

Corrected AccountDepoistId to AccountDepositId

Checklist

Issue number for this PR: #nnn (required)
Docs included?: (yes/no; required for all API/functional changes)
Test units included?: (yes/no; required)
In a clean directory, yarn install, yarn test run successfully? (yes/no; required)

Description

Code sample

I've signed. Please merge.
Thanks!
On Thu, 12 Sep, 2019, 11:55 PM James Daniels<EMAIL_ADDRESS>wrote:

@jamesdaniels approved this pull request.
Thanks! Sign CLA and I'll merge.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angularfire2/pull/2167?email_source=notifications&email_token=AEKXSEHIPFVTSN7KFQJSLC3QJKCR7A5CNFSM4ISZGEEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCESL4GQ#pullrequestreview-287620634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEKXSEC34PDPPRYG6GH6NBLQJKCR7ANCNFSM4ISZGEEA
.


Feature/improved docking

What's new

Replaced the docking system of DockingRootPane with something much cleaner.

Looks like there's a bug with class renaming. The old docking system wasn't calling cleanup() on tabs being closed for renaming purposes. The new docking system has better tracking support, so it does call cleanup(). Since we re-use the UI control from the old tab and cleanup() closes the thread-pools it crashes...


ext: configurable base template

Adds Invenio-Theme to the example app to demostrate custom base
template.  (addresses #5)

Signed-off-by: Jiri Kuncar<EMAIL_ADDRESS>

👍

@jirikuncar What's still remaining to be done in milestone v1.0.0 for this template config feature to be released?  The small bit of code you have added in this PR is massively useful for us.


I can't use it.

does not work on my computer, the ENUNU plugin and also the training kit, probably because my GPU is not NVIDIA, is there any version of ENUNU and its training kit that does not need CUDA?

ENUNU plugin does work  without NVIDIA GPU, and training-kit does, I suppose. I've tried on my laptop.

I managed to get the ENUNU plugin to work, even though I don't have an nvidia GPU, but the training kit on my computer is experiencing the problem below

so I tried using google colab, and training stops in the middle of the process displaying the message     run.sh: line 12: 1160 Segmentation fault (core dumped) $@

The error in the image is from character encodings. Try to changing  PYTHONENCODING to UTF-8 or edit nnmnkwii/io/hts.py so that it decode with UTF-8.
The segmentation fault cannot be solved with my skills, unfortunately. It's probably from pyworld, world or harvest written in C++.


White screen

Godot version
4.0 alpha13
System information
Windows 8.1 intel HD 520
Issue description
white screen
the button are there but i can't see anything

Steps to reproduce
something with vulkan or graphics, i don't know
Minimal reproduction project
No response

Can you test previous 4.0 alphas and see if any of them works on your system? You can download them here.

Can you test previous 4.0 alphas and see if any of them works on your system? You can download them here.

previous alphas work fine (vulkan mobile only)


3.5.5 Release?

When will version 3.5.5 release to NPM?

Next version is 3.6.0. Which will be released in this week.

@pissang Thank you for the clarification! Keep up the good work!


how to install

Well, you don't need to install this application, but I can make a manual for some extra steps.

Install .NET Framework 4.8 ( [https://dotnet.microsoft.com/download/dotnet-framework/net48](download link)] )
Download latest release and unpack it. ( [https://github.com/Vaiz/HsReconnectTool/releases](download link) )
Run HsReconnectTool.exe.


completed design of Sequelize Model for Product

created Product model aka fixes #3
ready for @tungsteno22 to review.

closes #3


Add Versatiles Styles to examples

@2x images are included for later on when we have responsive images. We're short-changing the styles by using blurry images.

Improved version of this in PR #41


Revert "Update risk-score.md"

Reverts MicrosoftDocs/CloudAppSecurityDocs#607

Learn Build status updates of commit ab7f7ea:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/609/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Add terraspace version to image tags

Similarly to how certain other images are being released, can you add the Terraspace version number to the Docker tags so that people using these images can pin the use to a specific version of Terraspace.  Finding a CI/CD pipeline that failed because the Terraspace version has changed is not ideal.

Docs: https://terraspace.cloud/docs/install/docker/versioning/


add ISP speedtest R Mundo

Hi.
My local ISP company has a speedtest server that goes though Ookla on the URL
https://mundo-r.speedtestcustom.com/
I have tried with the option mini or sourece
:~/speedtest-cli# python speedtest.py --mini https://stvelocimetro.mundo-r.com Retrieving speedtest.net configuration... Testing from Contabo GmbH (<IP_ADDRESS>)... Traceback (most recent call last):   File "speedtest.py", line 1944, in <module>     main()   File "speedtest.py", line 1930, in main     shell()   File "speedtest.py", line 1871, in shell     speedtest.get_best_server(speedtest.set_mini_server(args.mini))   File "speedtest.py", line 1338, in set_mini_server     text.decode()) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 431: ordinal not in range(128)
~/speedtest-cli# python speedtest.py --mini <IP_ADDRESS>  Retrieving speedtest.net configuration... Testing from Contabo GmbH (<IP_ADDRESS>)... Traceback (most recent call last):   File "speedtest.py", line 1944, in <module>     main()   File "speedtest.py", line 1930, in main     shell()   File "speedtest.py", line 1871, in shell     speedtest.get_best_server(speedtest.set_mini_server(args.mini))   File "speedtest.py", line 1328, in set_mini_server     request = build_request(url)   File "speedtest.py", line 654, in build_request     if url[0] == ':': IndexError: string index out of range
~/speedtest-cli# python speedtest.py --source <IP_ADDRESS>  Retrieving speedtest.net configuration... Cannot retrieve speedtest configuration ERROR: <urlopen error [Errno 99] Cannot assign requested address>
Has anyone had the same problem?
I have checked other issues but with no luck

Speedtest Custom is not current supported. See https://github.com/sivel/speedtest-cli/pull/498


Client needs to retry on 502s when requesting refresh token

This call is expected to be idempotent, and should be retried.
Stack trace track:
<elided>
in _do_refresh_request
    raise AccessTokenRefreshError(error_msg)
AccessTokenRefreshError: Invalid response 502.

Additional concerns:
Possible conditions include:
HTTP 5xx
HTTP 429
Connection break / socket timeout
Zero-length response from service
httplib errors (bad status line, incomplete read, response not ready)
DNS lookup failure
Possible retry approaches include:
Fail-fast (application prefers to fail as quickly as possible)
Retry N times with exponential backoff to K seconds

Expected behavior is that if _do_refresh_request gets a 502 from oauth2client/client.py, the containing new_request call from oauth2client/client.py will retry some reasonable number of times.

I'm open to this - how would you suggest the options (fail-fast boolean, N, K, and anything else) be passed from customer code to oauth2client code?

FYI Something (sort of) already exists for a list of status codes to refresh on:
https://github.com/google/oauth2client/blob/237e5d139484c65c2b23a8b5d69056d56ab74b3a/oauth2client/client.py#L76-L77
@nathanielmanistaatgoogle will love that 401 is hard-coded rather than referenced by name as httplib.UNAUTHORIZED.

@dhermes: mutable module-scope state? Oh just shove the knife in deeper.

Lulz

Kwargs with sane defaults?

Thank you for creating this issue, however, this project is deprecatedand we will only be addressing critical security issues. You can read moreabout this deprecation here.
If you need support or help using this library, we recommend that you ask yourquestion on StackOverflow.
If you still think this issue is relevant and should be addressed, pleasecomment and let us know!


Requesting an additional sample: grid layout with different font sizes

Hey there Andy,
This one is a little bit of a real request. If you lack time, please don't worry - it's fine to close the request here.
Recently I wanted to explore a bit the use case of "write once, run everywhere" via a GUI.
My use case was super-simple: I just wanted a GUI where I can query the md5 sum of a linux
.iso file (a linux distribution).
On Linux we can use md5sum; on windows we can also use a commandline variant via
"certutil". Ok, so far so simple - one more requirement was to add a "open local file"
button. I also wanted to do this via libui and via the www (via sinatra actually).
The ruby-gtk and ruby-libui variants already work; I am working on the www stuff next.
Anyway.
So I first created a ruby gtk solution - this is quick and dirty, I don't care about looks that
much initially:
https://i.imgur.com/ZKdz1t2.png
Isn't super-pretty, I know, but I wanted to focus on the functionality first. Looks can be
improved at a later time.
I was using a grid layout for this.
I worked on the ruby libui variant, and while it does not look great, it works, and the
functionality was the most important thing for me:
https://i.imgur.com/y6B1Ief.png
(Somehow the grid seems to work a bit differently but anyway, I wanted to focus on
the functionality.)
Now: I need to create more libui widgets for windows specifically. One use case is
an elderly relative who doesn't have great vision anymore, so i need to use
larger fonts. It is somehow possible in libui, e. g. the attributed string, but I haven't
figured it out really. So, the natural next logical step would be to use glimmer -
you provide many examples in regards to font size. But I have not yet seen an
example where multiple texts are used with different fonts, and perhaps even
font colours.
So my request would be: could you, if time permits, add ONE example to the
examples/ directory? Ideally the example shows different texts with a different
font size, if that is possible, and also colour. Could be up to 5 different texts,
perhaps in a horizontal box (could suffice) or a grid. And, if possible, when this
works for an entry (user input, multiline entry or just single entry) to also have
different fonts. Actually I am primarily interested in the font size, due to my
requirement that this works easily for a person whose vision is somewhat
poor already (e. g. +80 years old).
(I may then have to use a module with the shared functionality so I can just
include the basic stuff, and have this all work, including for glimmer. Having
a wide range of examples is very useful because I can test it as-is. I can
of course experiment on my own, which I tend to do for other toolkits,
but I am kind of a "minimalist" when it comes to learning, e. g. work on a
problem, then I get distracted. I have made a few tiny GUIs via glimmer
already but I am not really anywhere really "proficient" yet. Another use
case I may have is to use SWT eventually or just jruby but I am not sure
if glimmer works with jruby. Anyway I am off to work on the www stuff
next, thank you for reading!)

Short answer is: libui does not support setting fonts on standard native controls yet. It only supports setting font on the custom-graphics area control. If you want the font functionality, ask the libui-ng project to add it and make a release soon. They've added a lot of features, but have not made any official releases yet, so I'm hesitant to utilize libui-ng at this point until there is an official release. If you could encourage them to make frequent official releases in the future instead of adding many features without releasing till they think it's perfect, that would be great! I don't like their current software release methodology. It's not lean.
In any case, I would have recommend the area control as an alternative, but unfortunately there is also a bug with regards to laying out multiple area controls inside a grid (you can only add one area inside grid, not more). That is also a known bug in libui that you could report to them if you like.

In the meantime, you can definitely use Glimmer DSL for SWT. It does work in JRuby (yes, you an use Glimmer in JRuby). And, it suports setting fonts on labels and standard controls as you can see in the Glimmer Metronome app (see how the fonts are huge):

Example code taken from Glimmer Metronome:
          label {
            text 'Beat Count'
            font height: 30, style: :bold
            foreground :yellow
          }

          spinner {
            minimum 1
            maximum 64
            selection <=> [@rhythm, :beat_count, after_write: method(:build_beats)]
            font height: 30
          }

Glimmer DSL for SWT gives you the additional benefit of being able to package the application you build as a Windows executable if you like

Links:

https://github.com/AndyObtiva/glimmer-dsl-swt
https://github.com/AndyObtiva/glimmer_metronome
https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md

So, I've been able to hack a solution in Glimmer DSL for LibUI by utilizing the combination of vertical_box/horizontal_box instead of grid and utilizing area-based custom controls (text_label and push_button) instead of label and button. The custom controls are copied from the examples/area_based_custom_controls.rb sample: https://github.com/AndyObtiva/glimmer-dsl-libui#area-based-custom-controls
Screenshot:

Code:
require 'glimmer-dsl-libui'

MD5Model = Struct.new(:expected_md5sum, :file_path, :calculated_md5sum, keyword_init: true)

class MD5SumApp
  include Glimmer::LibUI::Application

  before_body do
    @md5_model = MD5Model.new
  end

  body {
    window('MD5sum comparer', 1060, 400) {
      vertical_box {
        horizontal_box {
          text_label(
            'Here you can enter the MD5 sum which the .iso file should have:',
            text_x: 0,
            text_y: 0,
            width: 350,
            height: 120,
            font_descriptor: {size: 30, weight: :bold, italic: :italic},
          )

          entry {
            text <=> [@md5_model, :expected_md5sum]
          }

          label # just a filler
        }

        horizontal_box {
          text_label(
            'Here you select the file to check its md5sum:',
            text_x: 0,
            text_y: 0,
            width: 350,
            height: 120,
            font_descriptor: {size: 30, weight: :bold, italic: :italic},
          )

          entry {
            # setting on_write to return nil ensures this is read-only
            text <=> [@md5_model, :file_path, on_write: ->(val) {nil}]
          }

          push_button(
            'Open file',
            text_x: 100,
            text_y: 45,
            width: 350,
            height: 120,
            font_descriptor: {size: 30, weight: :bold, italic: :italic},
          ) {
            on_mouse_up do
              @md5_model.file_path = open_file
            end
          }
        }

        horizontal_box {
          text_label(
            'The md5sum of the .iso file is:',
            text_x: 0,
            text_y: 0,
            width: 350,
            height: 120,
            font_descriptor: {size: 30, weight: :bold, italic: :italic},
          )

          entry {
            text <= [@md5_model, :calculated_md5sum]
          }

          push_button(
            'Evaluate the md5sum',
            text_x: 15,
            text_y: 45,
            width: 350,
            height: 120,
            font_descriptor: {size: 30, weight: :bold, italic: :italic},
          ) {
            on_mouse_up do
              if @md5_model.file_path
                @md5_model.calculated_md5sum = `md5sum<EMAIL_ADDRESS>              else
                msg_box('ISO File Missing', 'Please select an ISO file first!')
              end
            end
          }
        }
      }
    }
  }

  # text label (area-based custom control) built with vector graphics on top of area.
  #
  # background_fill is transparent by default.
  # background_fill can accept a single color or gradient stops just as per `fill` property in README.
  # border_stroke is transparent by default.
  # border_stroke can accept thickness and dashes in addition to color just as per `stroke` property in README.
  # text_x and text_y are the offset of the label text in relation to its top-left corner.
  # When text_x, text_y are left nil, the text is automatically centered in the label area.
  # Sometimes, the centering calculation is not perfect due to using a custom font, so
  # in that case, pass in text_x, and text_y manually.
  def text_label(label_text,
                  width: 80, height: 30, font_descriptor: {},
                  background_fill: {a: 0}, text_color: :black, border_stroke: {a: 0},
                  text_x: nil, text_y: nil,
                  &content)
    area { |the_area|
      rectangle(1, 1, width, height) {
        fill background_fill
      }
      rectangle(1, 1, width, height) {
        stroke border_stroke
      }

      text_height = (font_descriptor[:size] || 12) * (OS.mac? ? 0.75 : 1.35)
      text_width = (text_height * label_text.size) * (OS.mac? ? 0.75 : 0.60)
      text(text_x, text_y, width) {
        string(label_text) {
          color text_color
          font font_descriptor
        }
      }

      content&.call(the_area)
    }
  end

  # push button (area-based custom control) built with vector graphics on top of area.
  #
  # background_fill is white by default.
  # background_fill can accept a single color or gradient stops just as per `fill` property in README.
  # border_stroke is black by default.
  # border_stroke can accept thickness and dashes in addition to color just as per `stroke` property in README.
  # text_x and text_y are the offset of the button text in relation to its top-left corner.
  # When text_x, text_y are left nil, the text is automatically centered in the button area.
  # Sometimes, the centering calculation is not perfect due to using a custom font, so
  # in that case, pass in text_x, and text_y manually.
  #
  # reuses the text_label custom control
  def push_button(button_text,
                  width: 80, height: 30, font_descriptor: {},
                  background_fill: :white, text_color: :black, border_stroke: {r: 201, g: 201, b: 201},
                  text_x: nil, text_y: nil,
                  &content)
    text_label(button_text,
                  width: width, height: height, font_descriptor: font_descriptor,
                  background_fill: background_fill, text_color: text_color, border_stroke: border_stroke,
                  text_x: text_x, text_y: text_y) { |the_area|

      # dig into the_area content and grab elements to modify in mouse listeners below
      background_rectangle = the_area.children[0]
      button_string = the_area.children[2].children[0]

      on_mouse_down do
        background_rectangle.fill = {x0: 0, y0: 0, x1: 0, y1: height, stops: [{pos: 0, r: 72, g: 146, b: 247}, {pos: 1, r: 12, g: 85, b: 214}]}
        button_string.color = :white
      end

      on_mouse_up do
        background_rectangle.fill = background_fill
        button_string.color = text_color
      end

      content&.call(the_area)
    }
  end
end

MD5SumApp.launch

This works for me on the Mac and I would expect it to work on Linux too. You'd have to amend it to make it work on Windows. Also, you might have to customize the font/text_x/text_y/width/height values depending on the operating system.
Cheers!


fix(catalog): re-install resources in existing installplan

This specifically fixes the scenario where a subscription is deleted and recreated in a namespace with an additional subscription. When the subscription of interest is deleted, the associated installplan remains due to the other subscription's owner reference. Because the existing installplan manifests match, no additional work is done. This is a problem if resources that were originally installed have been deleted.
Now after a subscription is recreated, the proper owner references are re-added onto the install plan as well as all the resources are checked that they are installed.
https://bugzilla.redhat.com/show_bug.cgi?id=1714140

/retest

/test e2e-aws-olm

/retest

/retest

/retest

/retest

/lgtm

/cherry-pick release-4.1


Question about training ESRnet

Thanks for your work.
For training ESRnet, why we need a pretrain model (experiments/pretrained_models/RealESRNet_x4plus.pth)?
How can we train the ESRnet from stretch?
Thanks.

We can train from scratch.
We train from a pre-trained model for better performance and faster convergence.

you might get the model from this link
https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/RealESRNet_x4plus.pth

@xinntao Is there any pre-trained model of ESRnet which have smaller size ?


Error: Module did not self-register

Trying to run better-sqlite-3 on Node v10.8.0 gives me this error:
events.js:167
      throw er; // Unhandled 'error' event
      ^
Error: Module did not self-register.
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at bindings (C:\Users\Admin\Documents\code\pokemon-scraper\node_modules\bindings\bindings.js:81:44)
    at Object.<anonymous> (C:\Users\Admin\Documents\code\pokemon-scraper\node_modules\better-sqlite3\lib\database.js:4:40)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)```

I have tried:

Rebuilding my modules using npm rebuild

Manually nuking node_modules and running npm install again.

I am using Windows 10.

@Soumil07 I can't reproduce your issue.  Hopefully someone else can chime in to help.

@Soumil07 Did you make any progress with your issue?

Closing due to unresponsiveness

@JoshuaWise When I try to apply thread worker(https://nodejs.org/api/worker_threads.html) with better-sqlite3. The first time creates an SQLite file is ok. Then the second time. This error is show.
I think the problem comes from the native module with thread-worker. After thread close, the resource also clean and native module will be unregistered.

@JoshuaWise  Now I try again with Node 13.0.0 and found this issue occur again.
[2019-11-07T03:43:02.737] [FATAL] worker(3) <> - UncaughtException: Module did not self-register.
Error: Module did not self-register.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1041:18)
at Module.load (internal/modules/cjs/loader.js:822:32)
at Function.Module._load (internal/modules/cjs/loader.js:730:14)
at Module.require (internal/modules/cjs/loader.js:864:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/opt/app/node_modules/better-sqlite3/lib/database.js:5:21)
at Module._compile (internal/modules/cjs/loader.js:971:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10)
at Module.load (internal/modules/cjs/loader.js:822:32)
at Function.Module._load (internal/modules/cjs/loader.js:730:14)
at Module.require (internal/modules/cjs/loader.js:864:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/opt/app/node_modules/better-sqlite3/lib/index.js:2:18)
at Module._compile (internal/modules/cjs/loader.js:971:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10)
at Module.load (internal/modules/cjs/loader.js:822:32)
at Function.Module._load (internal/modules/cjs/loader.js:730:14)
at Module.require (internal/modules/cjs/loader.js:864:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/opt/app/synchronizer/mssql-sqlite-synchronizer.js:38:42)

@tangkhaiphuong any solution?

I also have the same issue with the Workers ...
events.js:187       throw er; // Unhandled 'error' event       ^ Error: Module did not self-register.     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1025:18)     at Module.load (internal/modules/cjs/loader.js:815:32)     at Function.Module._load (internal/modules/cjs/loader.js:727:14)     at Module.require (internal/modules/cjs/loader.js:852:19)     at require (internal/modules/cjs/helpers.js:74:18)     at Object.<anonymous> (/root/uFTL/node_modules/better-sqlite3/lib/database.js:5:21)     at Module._compile (internal/modules/cjs/loader.js:959:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)     at Module.load (internal/modules/cjs/loader.js:815:32)     at Function.Module._load (internal/modules/cjs/loader.js:727:14) Emitted 'error' event on Worker instance at:     at Worker.[kOnErrorMessage] (internal/worker.js:176:10)     at Worker.[kOnMessage] (internal/worker.js:186:37)     at MessagePort.<anonymous> (internal/worker.js:118:57)     at MessagePort.emit (events.js:210:5)     at MessagePort.onmessage (internal/worker/io.js:70:8)

This is because better-sqlite3 was built directly on top of the V8 API.  In order to be used in Worker threads, better-sqlite3 needs to add N-API support.  There is an open issue regarding this, but as of yet nobody has posted the initial research work into what is required or the planning work.

@zackster thanks for the fast answer
I believe it's a must to have, I hope it will be implemented soon :)


Update to include new TreeSitter capture names

This update adds the new capture group names from the latest TreeSitter update (https://github.com/nvim-treesitter/nvim-treesitter/commit/3f978f85b55330217bceec53dd54cf33f3541076). As a backwards compatibility measure, the old capture group names are not yet being removed.

@ellisonleao, are you OK with merging these changes?

hey @JulesNP @ObserverOfTime thanks for the PR, i will look on them asap


iPhone Performance issues since iOS 16

Hello,
I'm developing an interactive graph and I noticed that it has really bad performance on iPhones since the iOS 16 update. The lag occurs noticeably more when the graph is zoomed in, did anyone notice any performance issues related to zoom/pan?
You can check out my web app on this https://course-glancer.netlify.app/glancer/square

duplicate of #266


How to use in gulp?

This my configuration files,but it doesn't work...
How to configure the file properly？

gulp.task('css', function () {
	var opts = {
		stylesheetPath: './dest',
		spritePath: './dest/images/'
	};
	var processors = [
		autoprefixer,
		cssnext,
		precss,
		sprites(opts)
	];
	return gulp.src('./src/*.css')
	.pipe(sourcemaps.init())
	.pipe(postcss(processors))
	.pipe(sourcemaps.write('.'))
	.pipe(gulp.dest('./dest'));
});

thanks.

HI,when I use catch an error:
TypeError: sprites is not a function

How to fixed it?

I'm also seeing a similar error when trying to use this with gulp and postcss: TypeError: object is not a function

@shawx can you re-open this ticket? Unless you have a solution in which case can you post the solution?

The problem was in dropped support for module.exports in babel-plugin-transform-es2015-modules-commonjs. Now everything should work as expected.
/cc @shawx @tanc @cnt1992

Use a slightly different require.
var sprites = require('postcss-sprites').default;

See Kill CommonJS default export behaviour - babel/babel#2212

@vvasilev- thx,It's helpful,My friend also found the problem.

@shawx Your gulp task is working or not? I use this plugin with gulp like you and it was not work, Do you resove it?

@wklc2014 var sprites = require('postcss-sprites').default;
vvasilev given the answer.


docs: minimal-setup page

transfer from https://github.com/ublue-os/website/pull/688

this could be used to use modules :eyes:
$ echo $(yq eval -o=j -I=0 << EOF
fonts:
  nerd-fonts:
    - SpaceMono
EOF
)

Update; should probably instruct users to use the ublue template (if they don't know Containerfiles already).


Fix Codeclimate

Why do I open this issue on every repo that I make? Maybe it's time to quick CodeClimate...

Fixed itself or somethin'


NSW LRS, Mark Property Descriptions with from Archived data

A lot of this data follows another format that just won't work with the parser, and if it's ever going to be approached it should be handled with a different parser.

fixed in 398516e


plugin datepicker inside modal

Hi,
I was trying to use the datepicker plugin inside a modal and noticed that is positioned under the modal and modal's black background so i found several fixes over the internet but this one worked for me:
in file AdminLTE/plugins/datepicker/datepicker3.css line 765
.datepicker.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
(765) z-index: 1151 !important;   instead of z-index: 1000;
...
also in lines 780, 781 there is a '*' at the beginning of the lines
*border-right-width: 2px;
*border-bottom-width: 2px;
I am commenting here because I searched for bootstrap-datepicker's github project and found that the file bootstrap-datepicker3.css doesn't have the .datepicker.dropdown-menu class so that is why I am commenting about it here.
I hope this is somehow useful,
thanks

Hi,
Did you try placing the dropdown in relatively positioned container?

Thanks.

Hi,
I am sorry but  I think  don't get where to put the position: relative.
Here is the code to create the date input:

		<input type="text" class="form-control">

thank you!

Try this first:

		<input type="text" class="form-control">

If doesn't work, try to wrap that in a relatively positioned container:

		<input type="text" class="form-control">

I hope this helps.

Hi
I tried both but it didn't work, the datepicker still appears underneath the modal and the transparent background.
Maybe  it's not the best option but meanwhile in order to make it work I changed the z-index in the css file.
Thank you!


Switch from ExoPlayer to MediaPlayer

Current behavior
Hi,
I am using the latest version of react-native-video.
I would like to know how do I switch from using ExoPlayer to MediaPlayer ?
I need to read a video in a specific format, which is not supported by ExoPlayer.
I see that you always specify "Android MediaPlayer", but how do we switch ?
Thanks in advance,

Check out this section in the readme: https://github.com/react-native-video/react-native-video#androidsettingsgradle

Check out this section in the readme: https://github.com/react-native-video/react-native-video#androidsettingsgradle


Stabilize JaCoCo usage

When using JaCoCo as an agent of the JVM, the plugin must support at least the following functionality:

generation of XML report
generation of HTML report
filtering by classes and functions in the report
support for multi-platform applications
support for android applications
code coverage verification rules
any other plugin features added later

For plugin version 0.2.2, the agent for use is specified in the Gradle configuration in the extension to the test task e.g. for build.gradle.kts
tasks.test {
    extensions.configure(kotlinx.kover.KoverTaskExtension::class) {
        useJacoco = true // use JaCoCo as coverage agent and report generator
    }
}

I am trying to use Kover with sonarqube but the task is not generating the XML when Jacoco engine is selected. IntelliJ one is working tho. Is this XML compatible with cloud platforms that use jacoco one?

I am generating it, I think the cache was the problem it was not being regenerated. There is an issue about Kover should be usable inside Codecov, if that is fixed, it will work on Sonarqube too, no?

Implemented in versions > 0.5.x


'standard' style new road colours

There's an upcoming significant change to the standard style. New road colours. Nobody knows an ETA on that, but it's probably soon. We could get a blog post ready:
https://hackpad.com/standard-style-new-road-colours-Tc13jOacQLn
to put out the day it switches, or around about that time (initially the rendering & caching systems will probably make the map look a messy patchwork of new and old styles, so unfortunately I think it might be best to draw attention to it a couple of days later)

DONE


getDownload() methods' callbacks very often aren't triggered until the end of downloading process.

I encountered a bug on attempt to get result from fetch.getDownload()  and all other related methods. Very often when I call getDownload() method during group downloading process it's callback method might be called only once or never called at all until the very end of the downloading.
So for instance we have a group download process in progress, while it's running I call getDownload(id, result -> { /* some stuff */  }); and the result never returns, then I call it two more times and it never returns either. Then the downloading process ends, and callback get's called for three times in a row. I also observe same result with getFetchGroup() method.

I observe this behavior both in Fetch and FetchRx.

@alex-berdnikov Can you please share a sample code?
There should be no reason to call fetch.getDownload() method inside a listener callback. Attach a FetchGroupListener or AbstractFetchGroupListener which has group download listeners. Please let me know if this helps.

I don't call it in listener callbacks, no. I call it in my code, while group downloading is in progress.

Here's an example

@alex-berdnikov Tested something this simple and I get a callback each time.
    private void enqueueDownloads() {
        final List<Request> requests = Data.getFetchRequestWithGroupId(GROUP_ID);
        int id = requests.get(0).getId();
        fetch.enqueue(requests, updatedRequests -> {

        });
        fetch.addListener(new AbstractFetchListener() {
            @Override
            public void onProgress(@NotNull Download download, long etaInMilliSeconds, long downloadedBytesPerSecond) {
                super.onProgress(download, etaInMilliSeconds, downloadedBytesPerSecond);
                fetch.getDownload(id, new Func2<Download>() {
                    @Override
                    public void call(@Nullable Download result) {
                        Log.d("tonyoTest", "i am here");
                    }
                });
            }
        });

    }

What does you fetch configuration look like?
Note that all callbacks are done on the main thread So if your progress reporting interval is set too low it may be blocking the results of the get download.

OkHttpClient client = new OkHttpClient.Builder()
.writeTimeout(5, TimeUnit.MINUTES)
.connectTimeout(5, TimeUnit.MINUTES)
.readTimeout(5, TimeUnit.MINUTES)
.retryOnConnectionFailure(true)
.addInterceptor(new HttpLoggingInterceptor())
.protocols(Arrays.asList(Protocol.HTTP_1_1))
.addNetworkInterceptor(chain -> {
Request request = chain.request();
                long t1 = System.nanoTime();
                Timber.tag("DownloadService").e("Sending request %s on %s%n%s",
                        request.url(), chain.connection(), request.headers());

                Response response = chain.proceed(request);

                long t2 = System.nanoTime();
                Timber.tag("DownloadService").e("Received response for %s in %.1fms%n%s",
                        response.request().url(), (t2 - t1) / 1e6d, response.headers());

                return response;
            })
            .build();

    OkHttpDownloader downloader = new OkHttpDownloader(
            Downloader.FileDownloaderType.PARALLEL);
    downloader.setClient(client);

    final FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this)
            .setDownloadConcurrentLimit(3)
            .setProgressReportingInterval(REFRESH_DELAY)
            .enableAutoStart(true)
            .enableRetryOnNetworkGain(true)
            .enableHashCheck(true)
            .enableLogging(true)
            .setNamespace("DownloadService")
            .setHttpDownloader(downloader)
            .setNotificationManager(new FetchNotificationManager() {
                @Override
                public long getProgressReportingIntervalInMillis() {
                    return 0;
                }

                @Override
                public void setProgressReportingIntervalInMillis(long l) {

                }

                @Override
                public boolean updateGroupSummaryNotification(int i, NotificationCompat.@NotNull Builder builder, @NotNull List<? extends DownloadNotification> list, @NotNull Context context) {
                    return false;
                }

                @Override
                public void updateNotification(NotificationCompat.@NotNull Builder builder, @NotNull DownloadNotification downloadNotification, @NotNull Context context) {
                }

                @Override
                public void notify(int i) {

                }

                @NotNull
                @Override
                public PendingIntent getGroupActionPendingIntent(int i, @NotNull List<? extends DownloadNotification> list, DownloadNotification.@NotNull ActionType actionType) {
                    return null;
                }

                @NotNull
                @Override
                public PendingIntent getActionPendingIntent(@NotNull DownloadNotification downloadNotification, DownloadNotification.@NotNull ActionType actionType) {
                    return null;
                }

                @Override
                public void cancelOngoingNotifications() {
                }

                @Override
                public void cancelNotification(int i) {
                }

                @Override
                public void createNotificationChannels(@NotNull Context context, @NotNull NotificationManager notificationManager) {

                }

                @NotNull
                @Override
                public String getChannelId(int i, @NotNull Context context) {
                    return null;
                }

                @Override
                public boolean postNotificationUpdate(@NotNull Download download, long l, long l1) {
                    if (download.getStatus() == Status.COMPLETED) {
                        if (isVibrateTurnOn) {
                            vibrator.vibrate(500);
                        }
                    }
                    return false;
                }

                @Override
                public void handleNotificationOngoingDismissal(int i, int i1, boolean b) {

                }

                @Override
                public long getOngoingDismissalDelay(int i, int i1) {
                    return 0;
                }

                @NotNull
                @Override
                public NotificationCompat.Builder getNotificationBuilder(int i, int i1) {
                    return null;
                }
            })
            .setLogger(new Logger())
            .build();
    fetch = Fetch.Impl.getInstance(fetchConfiguration)

@alex-berdnikov what is the value of .REFRESH_DELAY? any thing less than 2 seconds will cause slow ui performance.

It's 500 ms at the moment

@alex-berdnikov 500 ms is too low. Fetch will keep posting progress updates every 500 ms and causes other ui events to be super delayed. Its best to set it no lower than 2 seconds.
The reason why fetch allow for low progress reporting is because fetch can be used anywhere outside of an activity, such as a services etc.

@alex-berdnikov any progress on this issue?

No, unfortunately

@alex-berdnikov i just found  removeHttpLoggingInterceptor or HttpLoggingInterceptor set level to basic or none can solved...


FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

I'm getting the following error when I run vows in GitLab CI using image: node:latest
Security context: 0x1a6c1dd255e9 <JSObject>
    3: replace(this=0x15dceb102201 <Very long string[18792565]>,0x23baa69ea439 <JSRegExp <String[10]: {expected}>>,0x23baa69ea3d9 <Very long string[17190278]>)
    4: parse [/builds/hummingbird-studio/darwin/ci-testing/node_modules/vows/lib/assert/error.js:145] [bytecode=0x396d3c66f1f9 offset=471](this=0x3d11434866f1 <JSGlobal Object>,str=0x2ee33a654ef9 <String[48]\: expected {expected},\n\x09go...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8d04bc [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::String::SlowFlatten(v8::internal::Handle<v8::internal::ConsString>, v8::internal::PretenureFlag) [node]
 7: v8::internal::String::Flatten(v8::internal::Handle<v8::internal::String>, v8::internal::PretenureFlag) [node]
 8: v8::internal::String::IndexOf(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::String>, int) [node]
 9: v8::internal::Runtime_StringIndexOfUnchecked(int, v8::internal::Object**, v8::internal::Isolate*) [node]
10: 0x18054f042fd

The problem here is that V8 is running out of memory - there isn't a whoooole lot Vows can do about this. And anyway, Vows is pretty unmaintained. I suggest you try Perjury instead (full disclosure, it's written by a friend and I'm a comaintainer).

It does work on image: node:8.9.3-alpine, is there a resason my code would act different there?
Also, I only have Vows code, nothing else.

@strugee nice work on perjury. I sent you an email about it – lmk when you get a chance.
... @rodrigoruiz seems like you may be dealing with very large strings based on your stack trace? Maybe try changing what you put in your assert call. But yeah this is generally not going to be a vows issue. If you have code you'd like to share let us know.

@indexzero in case you missed it, since it's been a couple days, I sent you a reply and looped in Perjury's author :-)


⚠ ETF has degraded performance

In a4558cc, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 8552 ms

Resolved: 신규상장 performance has improved in 3e14942.


Reward cannot be claimed messages when visiting rewards screen

The Issue
If you visit the rewards page after your first stream (not featured content) , it tries to claim the Watch Many Things reward and you get a "you haven't watched enough stuff yet" message. It also tries to claim the feature content reward and you get a 2nd message "you haven't watched a featured video from this time period yet". Users will. By confused as to why they are getting this message.
We should fail silently on this check if we perform it automatically.
Steps to Reproduce

Stream soemthing on a new account that's not featured contnet
Visit the rewards page

System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

I'm fairly certain this is a regression. Some places in code attempt to auto-check for those rewards but are supposed to swallow failures. @daovist is it is possible your latest reward improvements accidentally changed this?

I don't think it's related to his latest changes... I remember seeing this a while ago but never reproduced it consistently until now.


URI link handler (shabados://uri-link-to-do-something)

A URI handler could let us share links for shabads/search queries that are breaking. It could allow online search engines to let users open the shabad in our app. It could even be used to share custom overlay themes so users don't have to be fussed with figuring out what %appdata% is on windows/mac.

Closing without resolution. This issue either affects too few users or there are too many issues with higher impact to be working on. It is possible to re-open or re-visit this issue at a later time. If you feel this issue is important, please give a thumbs-up reaction to the first post. You may track this issue from the pinned meta-tracker at the top of the issues home page.

A very cool idea, but without enough applications at the moment and definitely without enough impact


Installing Python3 Not Functional on Ubuntu 15.10

Using hashicorp's ubuntu 15.10 box with Vagrant as the driver, I have been unable to get this cookbook to install Python 3. It seems to always fail on the install step.
Currently I have the following defined in poise-python.rb:
node.default['poise-python']['install_python2'] = false
node.default['poise-python']['install_python3'] = true

And I receive the following when trying to include the recipe:
       Recipe: poise-python::default
         * python_runtime[3] action install
           * poise_languages_system[python] action install

             ================================================================================
             Error executing action `install` on resource 'poise_languages_system[python]'
             ================================================================================

             PoiseLanguages::Error
             ---------------------
             Package python would install 2.7.9-1, which does not match 3. Please set the package_name or package_version provider options.

             Cookbook Trace:
             ---------------
             /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:192:in `block (4 levels) in patch_load_current_resource!'
             /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:190:in `block (3 levels) in patch_load_current_resource!'
             /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:189:in `tap'
             /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:189:in `block (2 levels) in patch_load_current_resource!'
             /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:172:in `block in run_package_action'
             /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:162:in `each'

             /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:100:in `action_install'
             /tmp/kitchen/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block'
             /tmp/kitchen/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:44:in `action_install'

             Resource Declaration:
             ---------------------
       # In /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/mixin.rb

       32:         poise_languages_system options['package_name'] || system_package_name do
       33:           # Otherwise use the default install action.
       34:           action(:upgrade) if options['package_upgrade']
       35:           parent new_resource
       36:           # Don't pass true because we want the default computed behavior for that.
        37:           dev_package options['dev_package'] unless options['dev_package'] == true
       38:           dev_package_overrides dev_package_overrides
       39:           package_version options['package_version'] if options['package_version']
       40:           version options['version']
       41:         end
       42:       end

             Compiled Resource:
             ------------------
             # Declared in /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/mixin.rb:32:in `install_system_packages'

             poise_languages_system("python") do
        action [:install]
        retries 0

        default_guard_interpreter :default
        declared_type :poise_languages_system
        cookbook_name :"poise-python"
        parent # Declared in /tmp/kitchen/cookbooks/poise-python/recipes/default.rb:19:in `from_file'

        action [:install]
        retries 0
        retry_delay 2
        default_guard_interpreter :default
        declared_type :python_runtime
        cookbook_name :"poise-python"
        recipe_name "default"
        pip_version true
        setuptools_version true
        version "3"
        virtualenv_version true
        wheel_version true
             end

         version "3"
        package_name "python"
        dev_package "python-dev"
             end

           ================================================================================
           Error executing action `install` on resource 'python_runtime[3]'
           ================================================================================

           PoiseLanguages::Error
           ---------------------
       poise_languages_system[python] (/tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/mixin.rb line 32) had an error: PoiseLanguages::Error: Package python would install 2.7.9-1, which does not match 3. Please set the package_name or package_version provider options.

           Cookbook Trace:
           ---------------
       /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:192:in `block (4 levels) in patch_load_current_resource!'
           /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:190:in `block (3 levels) in patch_load_current_resource!'
           /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:189:in `tap'
           /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:189:in `block (2 levels) in patch_load_current_resource!'
           /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:172:in `block in run_package_action'
           /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:162:in `each'
           /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:162:in `run_package_action'
           /tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/resource.rb:100:in `action_install'
           /tmp/kitchen/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block'
           /tmp/kitchen/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:44:in `action_install'

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cookbooks/poise-python/recipes/default.rb

            19: python_runtime '3' if node['poise-python']['install_python3']
            20: python_runtime '2' if node['poise-python']['install_python2']

           Compiled Resource:
           ------------------
       # Declared in /tmp/kitchen/cookbooks/poise-python/recipes/default.rb:19:in `from_file'

           python_runtime("3") do
             action [:install]
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :python_runtime
             cookbook_name :"poise-python"
             recipe_name "default"
             pip_version true
             setuptools_version true
             version "3"
             virtualenv_version true
             wheel_version true
           end

       Running handlers:
       [2016-01-27T16:41:35+00:00] ERROR: Running exception handlers
       Running handlers complete

       [2016-01-27T16:41:35+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2016-01-27T16:41:35+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2016-01-27T16:41:35+00:00] ERROR: python_runtime[3] (poise-python::default line 19) had an error: PoiseLanguages::Error: poise_languages_system[python] (/tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/mixin.rb line 32) had an error: PoiseLanguages::Error: Package python would install 2.7.9-1, which does not match 3. Please set the package_name or package_version provider options.
       [2016-01-27T16:41:35+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

I have tried various combinations of specifying different runtime names, system package names, and versions, but have been unable to get it to work. Specifying a runtime with version 3.4 gives the same error message. Specifying the package name python-3.4 for provider :system yields:
poise_languages_system[python-3.4] (/tmp/kitchen/cookbooks/poise-languages/files/halite_gem/poise_languages/system/mixin.rb line 32) had an error: PoiseLanguages::Error: Package python-3.4 would install , which does not match 3. Please set the package_name or package_version provider options.

I only gave it package lists for the LTS versions: https://github.com/poise/poise-python/blob/master/lib/poise_python/python_providers/system.rb#L36
If you can grab the names of all python packages for that version, I can add them. You can also fix it locally via:
python_runtime '3' do
  provider :system
  options package_name: 'python3.whatever'
end

Closing this as 15.10 is no longer supported I think.

To get this working on ubuntu 16.04 LTS I had to use these settings:
provider :system
options package_name: 'python3', package_version: '3.5.1-3'


test: fix k8s provisioning with feature gates

both CONTROLLER_FEATURE_GATES and API_SERVER_FEATURE_GATES were not
used when setting up a cluster with these environment variables set as
one needs to export them for envtpl to use them.
Fixes: e6df0487227f ("test/provision: enable k8s EndpointSlice by default in 1.17")
Signed-off-by: André Martins<EMAIL_ADDRESS>A follow up PR needs to be done to fix the PSP in the CI.

test-me-please

Coverage decreased (-0.007%) to 45.593% when pulling ccb8653636a405df443c5297f97a0ce0dbf12767 on pr/fix-endpointslice-feature into 8462fe607a9e4679640fc3f18592a143bdfc659a on master.

test-me-please

test-me-please

test-me-please

test-me-please


PART 2 - Use prepared statements instead of string concatenated SQL everywhere (FINERACT-1343)

Description
See FINERACT-1343
Work in progress ..
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[x] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[x] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

Hi Fineract community members,
I would like feedback on this particular commit. It is introducing a new project library dependencies
https://github.com/apache/fineract/pull/1687/commits/2d8f3f0a326992e1804757e27a6f884d582754e5
Use ESAPI, The OWASP Enterprise Security API, Escaping where Prepared Statements with Parameterized Queries is not feasible to mitigate SQL Injection (FINERACT-1343)

Woow... This looks like a valuable work. @ptuomola , @vorburger . Have time to take a look?

@josemakara2 This looks really good and would definitely be in favour of merging this... just wondered if you had more work planned for this? The description says "Work in progress" and there's also a TODO in the code...

@ptuomola  Maybe we should just merge this one if it Look Good. Than to let the bot auto close it again.

@awasum Yes, at a quick glance this looks good. I just didn't do anything on this as the comment says "Work in progress". Also the build seems to be failing (could be unrelated) and the comments would need to be squashed. @josemakara2  would you have a chance to finish this off, and we can then merge?

@josemakara2 Can you resolve the build failure?

Let's see if we can get the build to pass...

Looks like this is failing because of classpath duplicates. Need to see if we can fix those...

This still looks important... @fynmanoj , @galovics , @ptuomola , @vidakovic ...Anyone interested to make this happen?

Closing because it looks abandoned.

Looking this one... if someone rebased and made it pass the build.. it will fix some of the issues seen here: https://github.com/apache/fineract/security/code-scanning


Import error

I installed dias using pip install dias
However, I get this below error while trying to import "import dias.rewriter"

import dias.rewriter
Traceback (most recent call last):
File "", line 1, in
File "/shared/vidyak2/cs/lib/python3.10/site-packages/dias/rewriter.py", line 1487, in
ip.input_transformers_cleanup.append(call_rewrite)
AttributeError: 'NoneType' object has no attribute 'input_transformers_cleanup'

Interesting, did you with IPython?


Further updates to Table of Contents

Updated the index.rst, intro.rst, searching.rst, accessing.rst, faqs.rst, querying.rst, userdata.rst, and vizualizing.rst files in order to modify the table of contents

@spa0002 did you trigger a build after this merge? if not the automated build is working...

I did not, automated build worked.
On Wed, Jun 30, 2021 at 4:16 PM Alex @.***> wrote:

@spa0002 https://github.com/spa0002 did you trigger a build after this
merge? if not the automated build is working...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MAAP-Project/maap-documentation/pull/72#issuecomment-871733558,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANFZP7UEAUT2DZ4WSNPJC3TTVOCT3ANCNFSM47SW7BZA
.


Loot replacement doesn't work.

replace_item_loot = 13:14, 3:0, 2:14, 4:16, 21:20, 23:16;
add_item_loot = 14;
remove_item_loot = 1;

Doesn't replace any of items.

I've figured out that it replaces loot only at locker. Solved.


UpdateContext documentation

I used updateContext yesterday and I discovered 2 things:

updateContext requires a full context object, so the signature was incorrect.
It isn't documented in README anymore.

I fixed both issues in this pull request.
Unrelated question:
Are source maps really necessary?
They guarantee merge conflicts when there is more than 1 outstanding pull request.
Options: a) disable source maps in tsconfig, b) .gitignore them.

Codecov Report

Merging #182 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #182   +/-   ##
======================================
  Coverage    78.5%   78.5%
======================================
  Files           2       2
  Lines         107     107
  Branches       22      22
======================================
  Hits           84      84
  Misses         19      19
  Partials        4       4

Impacted Files
Coverage Δ

lib/index.js
65.15% <ø> (ø)
: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 62947d9...508b040. Read the comment docs.


Prevstate is being mutated inside of Reactor#dispatch

Ran into an unexpected bug last week, which took me some time to dig through, but I think I've noticed a case where prevState is being mutated when state is transformed inside of a store handler.
Here's a screenshot of what's going on:

You can see that logging prevState before invoking the store handler shows one thing, and then logging it after the store handler is called, shows a new prevState.
The second result of prevState, coincides with what state should look like after currState is handled inside of the store, so this sounds like a pointer problem to me.
Eventually prevState === this.__state evaluates to true, so no change observers are notified and my app doesn't update despite an action being sent into the system.
For reference here's my handler:
const onFetchSuccess = (state, list, userId) => {
  const newList = Immutable.fromJS(list).toKeyedSeq().mapKeys((_, v) => {
    return createKey(v.get('type'), v.get('id'));
  }).toOrderedMap();

  return state.set(userId, newList);
};

As you can see no direct mutations going on. Adding an asImmutable call before returning state, however, prevents the bug:
const onFetchSuccess = (state, list, userId) => {
  const newList = ...
  return state.asImmutable().set(userId, newList);
};

So, somewhere along the way, state is being mutated, possibly inside of Store#handle, but haven't had enough time to really investigate.
Want to be upfront that I'm using a previous version of Nuclear because of #141

Hm, that is interesting behavior indeed.
Can you reproduce this in the context of only ImmutableJS?  I was under the impression that withMutations doesn't affect the current thing, but instead creates a mutable copy that can be returned.

@jordangarcia that's my understanding of withMutations as well.
Unfortunately, was not able to repro just with Immutable. Here's a fiddle, which (I believe) works the same way Nuclear does: https://jsfiddle.net/6Lucnaj3/

I will be releasing 1.2 in the next couple of days, it should fix this behavior as __notify will no longer be conditional on state equality, but rather if any store has changed since last notify.

Cool, I'll keep an eye out

This should be fixed in v1.2.0 @colindresj! Feel free to reopen if it is still reproducible.


Failure doing a git checkout on a public repo

I am getting a weird error when I try to clone master on the public repo github.com/technosophos/zolver.
If I do this command, I get an error:
$ brig -n brigade run -f _scratch/brigade.js technosophos/zolver
Event created. Waiting for worker pod named "brigade-worker-01cjncw9pnc1b2v9y09q6d26m8".
Build: 01cjncw9pnc1b2v9y09q6d26m8, Worker: brigade-worker-01cjncw9pnc1b2v9y09q6d26m8
prestart: no dependencies file found
prestart: src/brigade.js written
[brigade] brigade-worker version: 0.15.0
[brigade:k8s] Creating PVC named brigade-worker-01cjncw9pnc1b2v9y09q6d26m8
Hello from Brigade
[brigade:k8s] Creating secret hello-01cjncw9pnc1b2v9y09q6d26m8
[brigade:k8s] Creating pod hello-01cjncw9pnc1b2v9y09q6d26m8
[brigade:k8s] Timeout set at 900000
[brigade:k8s] brigade/hello-01cjncw9pnc1b2v9y09q6d26m8 phase Pending
[brigade:k8s] brigade/hello-01cjncw9pnc1b2v9y09q6d26m8 phase Failed
  Error: Pod hello-01cjncw9pnc1b2v9y09q6d26m8 failed to run to completion

  - k8s.js:417 k.readNamespacedPod.then.response
    ./dist/k8s.js:417:32

[brigade:app]   Error: job hello(hello-01cjncw9pnc1b2v9y09q6d26m8): Error: Pod hello-01cjncw9p  nc1b2v9y09q6d26m8 failed to run to completion

  - brigadier.js:56 jr.run.catch.err
    ./dist/brigadier.js:56:35

  - next_tick.js:188 process._tickCallback
    internal/process/next_tick.js:188:7

[brigade:app] error handler is cleaning up
[brigade:k8s] Destroying PVC named brigade-worker-01cjncw9pnc1b2v9y09q6d26m8
error Command failed with exit code 1.

If I look in Kubernetes, I see this:
$ kubectl get po -n brigade hello-01cjncw9pnc1b2v9y09q6d26m8
NAME                               READY     STATUS       RESTARTS   AGE
hello-01cjncw9pnc1b2v9y09q6d26m8   0/1       Init:Error   0          2m

So this appears to be an init error. If I look at the init logs, I see this:
$ kubectl -n brigade logs hello-01cjncw9pnc1b2v9y09q6d26m8   vcs-sidecar
+ :
+ : master
+ : /src
+ refspec=master
+ git ls-remote --exit-code https://github.com/technosophos/zolver.git master
+ cut -f2
+ full_ref=refs/heads/master
refs/tags/master
+ refspec=+refs/heads/master
refs/tags/master:refs/heads/master
refs/tags/master
+ git init -q /src
+ cd /src
+ git fetch -q --force --update-head-ok https://github.com/technosophos/zolver.git +refs/heads/master
refs/tags/master:refs/heads/master
refs/tags/master
fatal: Invalid refspec '+refs/heads/master
refs/tags/master:refs/heads/master
refs/tags/master'

But if I pick a different branch (deleteme) and rerun the command, all works fine:
$ brig -n brigade run -f _scratch/brigade.js technosophos/zolver -r deleteme
Event created. Waiting for worker pod named "brigade-worker-01cjnd40xxswdbaj60xgjamesh".
Build: 01cjnd40xxswdbaj60xgjamesh, Worker: brigade-worker-01cjnd40xxswdbaj60xgjamesh
prestart: no dependencies file found
prestart: src/brigade.js written
[brigade] brigade-worker version: 0.15.0
[brigade:k8s] Creating PVC named brigade-worker-01cjnd40xxswdbaj60xgjamesh
Hello from Brigade
[brigade:k8s] Creating secret hello-01cjnd40xxswdbaj60xgjamesh
[brigade:k8s] Creating pod hello-01cjnd40xxswdbaj60xgjamesh
[brigade:k8s] Timeout set at 900000
[brigade:k8s] brigade/hello-01cjnd40xxswdbaj60xgjamesh phase Pending
[brigade:k8s] brigade/hello-01cjnd40xxswdbaj60xgjamesh phase Succeeded
done
[brigade:app] after: default event handler fired
[brigade:app] beforeExit(2): destroying storage
[brigade:k8s] Destroying PVC named brigade-worker-01cjnd40xxswdbaj60xgjamesh

What in the master branch could be causing this error?
/cc @adamreese

Ah, there was a tag named master. Fix was git push origin :refs/tags/master.


How to generate invoice and send to the front end to download it ?

My backend is NodeJS and front end is AngularJS. ERP like system.
http://www.faceinfotech.com/ReportDemo.pdf
This is the invoice in need to generate.
Specially I have a NodeJS REST API. So I need to generate and send this PDF in response call. Is that possible ?
And also do you have the example code of creating a document like invoice ?

Yes, you can generate the pdf; and then send it as the API response.
Yep, check out the demos; one of them is an invoice.

You mean this page : http://www.fluentreports.com/demo.html
In this page I only can see a Fax example. there's no any invoice demo. In your home page, there are some images. But no codes.
I just need to make like this. http://www.fluentreports.com/i/demo2.png or http://www.fluentreports.com/i/demo5.png. Where can I find a demo for these type of documents ?

@NathanaelA Please provide me some links or example code. There's only one demo in your demo page.

https://github.com/NathanaelA/fluentreports/tree/master/examples

@NathanaelA Thanks a lot. If this works as I need, that's awesome. And I think this should work. And you are a life saver man :+1:  I tried this a lot and lot. Posted some questions here and there.
http://stackoverflow.com/questions/42584134/how-to-generate-pdf-from-dynamically-loading-data-with-angularjs
And didn't get a good response. I'm trying this now..... :+1:  will come back to you shortly


Minimal CR for resiliency

Description
Added support for the resiliency module in the minimal CR for the PowerStore driver. This allows users to simply enable or disable the module, with only an enables field under each module’s spec—no components, arguments, or environment variables are needed. Since no changes were required in the core logic and the code was already designed to handle this case, the only requirement was to add default values that will be prepopulated and can be overwritten by the values from the CR.
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/1449

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] Deployed the CSM 1.11.0 drivers (v2.11.0 CSI-PowerStore) and ensured that the driver starts up properly this test backward compatibility.
[x] Updated the value in the old CR (v2.11.0) to verify that the default value is being overwritten, giving preference to the CR value over the prepopulated module config.
[x] Installed the driver with the minimal configuration of the resiliency module and conducted basic sanity testing. This included taking down the interface where the pod was scheduled, monitored by podmon, and checking the logs to ensure the connectivity status is false. Taints were added to the node, the pod was rescheduled to another node, and once the node’s interface came back up, the taints were removed and the same connectivity status was reflected in the logs.

E2E is being covered under https://github.com/dell/csm-operator/pull/690/files.
Thanks


Update crop and preview in new screen

I don't know what is PreviewCropScreen. Send more details about it

PreviewCropScreen is new page in which i have to show

Send me more details. I can't understand the problem

I want to show updated crop and show on next screen

You can use the CropScreen at the example


Field customizer on build in fileds like ContentType

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Is it possible to add a Field Customizer for built in fields? We have tried to add a Field Customizer to the content type field by setting the InternalNameField in serve.json to ContentType but it doesn't render our field customizer. If we create a new field and change InternalFieldName in serve.json to then name of the created field it works. Is there any documentation on which columns that are possible to customize?

Hi @Abrissirba
The field customizer works for Content Type column.
I didn't try "debug" mode.
But if you apply the customizer to the field using PnP PowerShell or CSOM, it is applied with no issues.

@AJIXuMuK
How to do it via SPFx code? How to register Filed Customizer to work on build-in field via Element.xml (Field node)?
Because it's hard to explain to customer that beside installing SPFx application he have to connect it with field by magic powershell commands.

Unfortunately, you can’t do it using Elements.xml as feature framework definitions are intended to provision new fields.
If your customer doesn’t want to run PowerShell commands, you can come up with some other approach. On top of my head:

Add custom calculated field via Elements.xml. This fields will just display the same content as OOTB Content Type field. And apply Field Customizer to this field.
Add Command Set customizer and implement logic to check if Field Customizers should be added on this or that list. If yes - apply it using REST or CSOM.

@AJIXuMuK , Thank you but:

Add custom calculated field via Elements.xml. This fields will just display the same content as OOTB Content Type field. And apply Field Customizer to this field.
It's exactly that I don't want to do. That's why this issue has appeared (about built-in field customization). Your suggestion requires from customer to edit all his lists.

Add Command Set customizer and implement logic to check if Field Customizers should be added on this or that list. If yes - apply it using REST or CSOM.
Yes it's weak workaround because requires additional business logic to roll-back all changes added by REST\CSOM, otherwise customers will receive field connected with non-existent customizer after uninstalling solution.

@23W it would be great if you share better solution with us if you come up with some.

@AJIXuMuK sorry, I don't have it now. Little bit better solution that I've found is https://github.com/Puzzlepart/spfx-solutions/tree/master/Pzl.Ext.HighlightHome but it also requires custom uninstalling action to remove connection between field and uninstalling field customizer.


Fixes "too many arguments error" for nodejs target

Fixes "too many arguments error" when calling CallStack.toString(arrStack) in nodejs (or other target) project.

What if you change #if js to #if !macro on line 15 instead of changing toString signature? Does it work this way? If it is, then please update your PR and i will merge it. If it's not, please provide instructions to reproduce compiler error.

Hi.  This PR is just fixing the signature for CallStack.toString.  You added a stub version of the class for unsupported targets, including macro, but those targets cannot compile because CallStack.toString requires one non-optional arg.


Fix test command in README.

While installing, it seemed like this test command was wrong:
michaels-mbp:ClimaAtmos.jl mike$ julia --project test/runtests.jl
ERROR: LoadError: package `ClimaAtmos [b2c96348]` has the same name or UUID as the active project
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types /usr/local/Cellar/julia/1.7.2/share/julia/stdlib/v1.7/Pkg/src/Types.jl:68
 [2] develop(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; shared::Bool, preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
   @ Pkg.API /usr/local/Cellar/julia/1.7.2/share/julia/stdlib/v1.7/Pkg/src/API.jl:208
 [3] develop(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API /usr/local/Cellar/julia/1.7.2/share/julia/stdlib/v1.7/Pkg/src/API.jl:149
 [4] develop(pkgs::Vector{Pkg.Types.PackageSpec})
   @ Pkg.API /usr/local/Cellar/julia/1.7.2/share/julia/stdlib/v1.7/Pkg/src/API.jl:144
 [5] #develop#14
   @ /usr/local/Cellar/julia/1.7.2/share/julia/stdlib/v1.7/Pkg/src/API.jl:141 [inlined]
 [6] develop(pkg::Pkg.Types.PackageSpec)
   @ Pkg.API /usr/local/Cellar/julia/1.7.2/share/julia/stdlib/v1.7/Pkg/src/API.jl:141
 [7] top-level scope
   @ ~/projects/ClimaAtmos.jl/test/runtests.jl:3
in expression starting at /Users/mike/projects/ClimaAtmos.jl/test/runtests.jl:1

However, with the --project=test change (which I got by comparing to buildkite config), tests ran & passed.
michaels-mbp:ClimaAtmos.jl mike$ julia --project=test test/runtests.jl
   Resolving package versions...
    Updating `~/projects/ClimaAtmos.jl/test/Project.toml`
  [b2c96348] + ClimaAtmos v0.1.0 `~/projects/ClimaAtmos.jl`
    Updating `~/projects/ClimaAtmos.jl/test/Manifest.toml`
  [b2c96348] + ClimaAtmos v0.1.0 `~/projects/ClimaAtmos.jl`
   Resolving package versions...
  No Changes to `~/projects/ClimaAtmos.jl/test/Project.toml`
  No Changes to `~/projects/ClimaAtmos.jl/test/Manifest.toml`
   Resolving package versions...
  No Changes to `~/projects/ClimaAtmos.jl/test/Project.toml`
  No Changes to `~/projects/ClimaAtmos.jl/test/Manifest.toml`
Test Summary: | Pass  Total
ClimaAtmos    |  333    333

Not sure that I didn't miss something, here, though.

We need to update the README, but I suggest merging this. What do you think @charleskawczynski ?

bors r+

Thank @szy21 and @charleskawczynski ! :)


Feature/use init for startup

Ubuntu 16.04 uses systemd, which has a compability mode for init scripts and not for upstart.   This patch contains a rudimentary init script (start only, matching the capabilities of the upstart script) and works on Ubuntu 14.04 and Ubuntu 16.04.
.gitignore has been updated to ignore packaging files

@RackHD/corecommitters please review.

:+1:

@RackHD/corecommitters  please review


Track Orange Scrip instead of White by default

As of Dawntrail, White Scrip have been phased out and the new Scrip types are Purple and Orange, so the list should probably be updated so any new users get those two scrip types instead of the older ones.
Item IDs can be verified here if you want to double-check them:

https://xivapi.com/item/41784?columns=ID,Name
https://xivapi.com/item/41785?columns=ID,Name

Replace with dynamic lookup for the script item IDs via lumina.


Test Issue 3

exampleInputFiles.zip
These are 30 Fe-Cr-Ni Sigma phase endmembers :)

My bad! Here is the correct ZIP file with POSCARs!
SigmaPhase.zip


Error in diagram for Q2. Step 6 of Create a new survey

I have spotted an error in the diagram for create a survey as the diagram for Step 6, question 2 on the diagram it has the labels for 0 being Not at all likely, and the same label for 10 where as it should be something like Highly likely.
https://docs.microsoft.com/en-us/forms-pro/create-new-survey#create-a-new-survey-with-forms-pro
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f943a733-9295-0882-d3e1-21aaea5491e6
Version Independent ID: c165bada-eea6-dd3d-dfb4-daffd9c47af8
Content: Create a new survey - Microsoft Forms Pro
Content Source: fp-docs/create-new-survey.md
Service: forms-pro
GitHub Login: @sbmjais
Microsoft Alias: shjais

Thanks for the feedback. We have corrected the image here.
Closing this issue.


Error deleting currency symbol

When you put the cursor among the currency symbol and try to delete the app crashes.

Solved with brightsider commits


Cleanup docs

The docs are little sloppy. We should:

Create an API.md file that clearly documents the nock API.
Fix wording where necessary
Simplify the sections

👍

Fix indentation

@philipkobernik Please keep chatter to a minimum

Add section explaining matching algorithm for requests (per request from @anyong)