Set widget options in ActiveField

https://github.com/yiisoft/yii2/blob/27a5b1e642faf9b6daa30600eac81589805977c7/framework/widgets/ActiveField.php#L763
Why are not 'options' set in widget config?

$config['options'] = $this->inputOptions

I want to see the model labels in placeholders. For this feature I set 'fieldConfig' property in ActiveForm config. There are problem when I use widget to render field.
<?= $form->field($model, 'name', ['inputOptions' => ['placeholder' => 'one nice placeholder']]) ?>
Generates input with placeholder
<?= $form->field($model, 'phone', ['inputOptions' => ['placeholder' => another placeholder']])->widget(MaskedInput::className(), ['mask' => '+7 (999) 999-99-99']) ?>
There are no placeholder

Because MaskedInput doesn't support it. It renders mask in the placeholder instead. I don't think we can fix it.

It works great when I set widget placeholder directly:
field($model, 'phone')->widget(MaskedInput::className(), ['mask' => '+7 (999) 999-99-99', 'options' => ['placeholder' => 'Your phone here']]) ?>
The problem occurs because widget "options" not set from "inputOptions" property in "widget" function.
MaskedInput support placeholder. Mask renders only when mouse on.
The solve of this issue is in the first post.

if the $config params not include options key already this lines case error
        foreach ($this->inputOptions as $key => $value) {             if (!isset($config['options'][$key])) {                 $config['options'][$key] = $value;// need to add $config['options'] = [];             }         }


there are two problems

-creates tps in heavy usage on server
-It is possible to enter the walls when irradiated.
-It is possible for someone to teleport to you while driving.
-open mod is out of date. pls update

What do you mean with  creates tps in heavy usage on server?
Send a video showing how to replicate the issue
I will fix that for the next update
Whats the error you are getting on the openmod console ?

They teleport to each other and enter the walls into the bridge.
i have no idea why it creates tps it just happens with very heavy usage
You need to update as soon as possible.

Teleport requests get canceled automatically when time expires

open mod true false settings not working

when will they find a solution they go inside the walls

I asked you to send a video. I dont understand what you mean.


flutter doctor or flutter version should print path and version of android SDK

I have many Android sdks installed.  Would like to know that I'm using the same one as flutter.
Maybe what I want is flutter doctor to warn if adb in my path is different from the adb it's using?

The same problem exists for dart in path vs. the dart sdk that flutter uses.  @collinjackson just ran into that just now.

fixed by https://github.com/flutter/flutter/pull/2859


WIlcoxon (Mann-Whitney) test

Hello,
I would like to address two topics. These things aren't essential from the CAMIS perspective, so can be ignored, but I think it's good to keep precision anyway.

in the example for wilcox.test it's mentioned that it "tests whether the median difference between pairs is equal to zero."
A sentence later: "It is the non-parametric equivalent to two-sample t-test, where the two groups are not paired."

This is a bit imprecise in general. The MW(W) test neither tests the difference in medians nor median difference in general, unless strong distributional assumptions are met: 1) both samples are IID (same dispersion, same shape; not necessarily normal) and 2) are symmetric around their medians. It's very easy to obtain very low p-value for both difference in medians=0 and median difference = 0.
( https://github.com/adrianolszewski/Mann-Whitney-is-not-about-medians-in-general )
This test is about Prob(A>B) > Prob(B>A).
Second, if we say about "not paired" data, then why do we say "difference between pairs"? This might be confusing and may suggest paired case. If we refer to the Hodges-Lehmann estimator of pseudo-median, then it's median of all Walsh averages: the means of each possible pair of values in both samples  set, including the pair of each value with itself.
More details can be found e.g. here: https://aakinshin.net/posts/r-hodges-lehmann-problems/
https://support.minitab.com/en-us/minitab/help-and-how-to/statistics/nonparametrics/how-to/1-sample-wilcoxon/methods-and-formulas/methods-and-formulas/
https://stats.stackexchange.com/questions/215889/prove-the-relationship-between-walsh-averages-and-wilcoxon-signed-rank-test
Third, I would be careful with saying it's "counterpart of the t-test", which suggests (at least to me), that this test does "about the same, only in non-parametric way". It cannot do the same since the null distributions of the two tests are very different. So, if we decide to use the MW(-W), then we need to remember that parametric t- test and non-parametric MW(W) look at the data from different perspectives, which reduce to comparing means only under strong distributional assumptions for the MW(-W), which may lack power anyway in this case. As a conclusion, I would skip the part referring to t-test. Simply - it just compares 2 samples in a non-parametric way.
/ side note:  If the assumptions are not met, we can still use a test that preserves the null hypothesis (even though it's now non-parametric): the permutation or bootstrapped (under shifted means to work under true H0) t-test (and Welch t-test and Yuen-Welch t-test), as implemented, for instance, in the MKinfer package.  This one actually does about the same the same in a non-parametric way. /

In R there are 3 main implementations of the MW(W) test:

wilcox.test() which doesn't account for ties
asht::wmwTest() ( https://cran.r-project.org/web/packages/asht/asht.pdf )
coin::wilcox_test() ( https://cran.r-project.org/web/packages/coin/coin.pdf )

If someone has the access to SAS, it will be worth checking the 3 options, as I expect solid differences in case of ties in data (e.g. when analysing scores, doses, questionnaire answers, stages, and so on).
I would also check the results for the pseudomedian against this blog:
https://aakinshin.net/posts/r-hodges-lehmann-problems/

Thanks so much @adrianolszewski , we really value your input & expertise to help us ensure our language is accurate and precise. Agnieszka & I are continuing to look at signed rank, wilcoxon rank sum & Hodges lehman, so we will go through your comments in detail and ensure the website gets updated.   Many thanks for you help in highlighting these points.


Bug report: Model turned into white

Describe the bug
after i imported vrm model,I saved the file and close the blender, then when i opened it, the skin turned into white
To Reproduce
Steps to reproduce the behavior:

import .vrm file
save it
then close the blender
after you opened the file the model will turned into white

Expected behavior
it will turn into the same skin when you first time import it
Screenshots

Desktop (please complete the following information)

OS: [Windows]
Blender [3.4.1]
Addon Version [2.14.9]

Additional context
no more problem.

sorry, i already know how to fix the bug


Several SteamVR errors i got for no reason

I didnt change anything in my Unity project and when i opened it today i am getting several SteamVR reasons. The only thing i did was disable OpenVR in editor and then enable it again.
I get these errors :
NullReferenceException: Object reference not set to an instance of an object
Valve.VR.InteractionSystem.Hand.OnEnable () (at Assets/SteamVR/InteractionSystem/Core/Scripts/Hand.cs:1083)
The line which triggers the null error is  :             inputFocusAction.enabled = true;
NullReferenceException: Object reference not set to an instance of an object
Valve.VR.InteractionSystem.ControllerButtonHints.OnEnable () (at Assets/SteamVR/InteractionSystem/Hints/Scripts/ControllerButtonHints.cs:108)
The line which triggers the null error is  :             renderModelLoadedAction.enabled = true;

When i try to open the input bindings the browser gives me an error saying cant connect to that address

Looks like SteamVr app has been updated today, maybe that created the errors?

I see my hand devices now dont appear as active in the steamvr app

Same, binding UI can't be opened from unity. i can open it if i change port to 27062. But there are more bugs (left hand model appears broken)

I am exhausted with SteamVR, i am working much more time to fix Steamvr than working in my game

I see my hand devices now dont appear as active in the steamvr app

Could your issue possibly be related to this:  Issue #578 ?

i dont even use render model prefab in my app

I just commented the errors and the app started working again

Those actions should never be null, did you change the hand script at all? Does this happen immediately on play?

Yes, i had commented the renderModelInstance instantiation, but before didnt get any error, just with this STeamvr update

I had a full body VR and didnt want any hand model

you can uncheck the box @ellerychan refers to instead of commenting the instance. Other things may check that and throw errors like you're describing


Create siteVariables palette interface with color names

Feature Request
Problem description
Each component should have the ability to change its color through the color prop. The color value should be available as part of a predefined palette.
Proposed solution
Create siteVariables palette interface with color names.

Should we use the SUI palette there?
https://semantic-ui.com/usage/theming.html#sitewide-defaults
[
  'primary',  'secondary',

  'red', 'orange', 'yellow', 'olive', 'green', 'teal', 'blue', 'violet', 'purple', 'pink', 'brown', 'grey', 'black'
]

Should we also add a white color?

Common UI frameworks
Bootstap
Colors

Includes primary and secondary as theme colors
Has 10 basic colors and 8 theme colors (aliases to main colors)
Uses natural language colors and aliases for states

Color
Value

Blue
#007bff

Cyan
#17a2b8

Green
#28a745

Indigo
#6610f2

Orange
#fd7e14

Pink
#e83e8c

Purple
#6f42c1

Teal
#20c997

Red
#dc3545

Yellow
#ffc107

Color
Value
Alias

Primary
#007bff
$blue

Secondary
#6c757d
$gray-600

Success
#28a745
$green

Info
#17a2b8
$info

Warning
#ffc107
$warning

Danger
#dc3545
$danger

Light
#f8f9fa
$light

Dark
#343a40
$dark

Bulma
Colors

Includes primary
Has 10 basic colors
Use state language colors

Color
Value

Black
hsl(0, 0%, 4%)

Dark
hsl(0, 0%, 21%)

Danger
hsl(348, 100%, 61%)

Light
hsl(0, 0%, 96%)

Link
hsl(217, 71%, 53%)

Info
hsl(204, 86%, 53%)

Primary
hsl(171, 100%, 41%)

Success
hsl(141, 71%, 48%)

Warning
hsl(48, 100%, 67%)

White
hsl(0, 0%, 100%)

Foundation
Colors

Includes primary and secondary
Use state language colors

Color
Value

Alert
#cc4b37

Black
#0a0a0a

Dark Gray
#8a8a8a

Light Gray
#e6e6e6

Medium Gray
#cacaca

Primary
#1779ba

Secondary
#767676

Success
#3adb76

Warning
#ffae00

White
#fefefe

Semantic UI
Colors

Includes primary and secondary
Has 13 basic colors
Uses natural language colors, uses aliases for states

Color
Value

Black
#000000

Blue
#0E6EB8

Brown
#A52A2A

Green
#016936

Grey
#A0A0A0

Olive
#32CD32

Orange
#FE9A76

Pink
#FF1493

Purple
#B413EC

Red
#B03060

Teal
#008080

Violet
#EE82EE

Yellow
#FFD700

Color
Value
Alias

Primary
#0E6EB8
$blue

Secondary
#000000
$black

Tailwind CSS
Colors

Has 10 basic colors
Provides literal variants of each color (light, dark, darker)
Uses natural language colors

Color
Value

Blue
#3490DC

Grey
#B8C2CC

Green
#38C172

Indigo
#6574CD

Orange
#F6993F

Pink
#F66D9B

Purple
#9561E2

Red
#E3342F

Teal
#4DC0B5

Yellow
#FFED4A

Turret CSS
Colors

Has 12 basic colors
Includes primary and secondary
Provides numeral variants of each color (100, 200, 300)
Use state language colors

Color
Value

Black
#000000

Dark
#323236

Error
#D91E18

Grey
#616166

Info
#1E90FF

Light
#D3D3D9

Primary
#3455DB

Secondary
rebeccapurple

Success
#00AA00

Tertiary
#8B008B

Warning
#FF4500

White
#FFFFFF

Corporate UI frameworks
Atlassian design
Colors

Includes primary and secondary as theme colors
Provides numeral variants of each color (50, 100, 200)
Uses 6 natural and 3 state language colors
Has 10 basic colors

Color
Value

Blue
#0747A6

Green
#006644

Purple
#403294

Red
#BF2600

Teal
#008DA6

Yellow
#FF8B00

Carbon by IBM
Colors

Uses own color names

Color
Value

brand-01
#3d70b2

brand-02
#5596e6

brand-03
#41d6c3

ui-01
#ffffff

ui-02
#f4f7fb

ui-03
#dfe3e6

ui-04
#8897a2

ui-05
#5a6872

text-01
#152935

text-02
#5a6872

text-03
#cdd1d4

inverse-01
#ffffff

inverse-02
#272d33

field-01
#f4f7fb

field-02
#ffffff

hover-primary
#30588c

hover-primary-text
#294c86

hover-danger
#bd1427

hover-secondary
#3d70b2

hover-row
rgba(85,150,230,.1)

support-01
#e0182d

support-02
#5aa700

support-03
#efc100

support-04
#5aaafa

Lightning Design System by Salesforce
Colors

Uses state colors with gray variants

Color
Value

Gray 1
#fff

Gray 2
#fafaf9

Gray 3
#f3f2f2

Gray 4
#ecebea

Gray 5
#dddbda

Gray 6
#c9c7c5

Gray 7
#b0adab

Gray 8
#969492

Gray 9
#706e6b

Gray 10
#514f4d

Gray 11
#3e3e3c

Gray 12
#2b2826

Color
Value

Accessible
#0070d2

Accessible - Active
#005fb2

Contrast
#1a1b1e

Contrast - Active
#0d0e12

Dark
#182337

Dark - Active
#253045

Light
#f4f6fe

Light - Active
#e3e5ed

Primary
#1589ee

Primary - Active
#007add

Fabric
Colors

Has 16 bases in shared colors
Provides numeral variants of each color (10, 20)
Uses natural language for shared colors

Color
Value

PinkRed
#750b1c

Red
#d13438

RedOrange
#da3b01

Orange
#ffaa44

Yellow
#fce100

OrangeYellow
#c19c00

YellowGreen
#8cbd18

Green
#498205

GreenCyan
#00ad56

Cyan
#00b7c3

CyanBlue
#0078d4

Blue
#4f6bed

BlueMagenta
#8378de

Magenta
#c239b3

MagentaPink
#e3008c

Gray
#a0aeb2

Primer by Github
Colors

Has 9 basic colors
Provides numeral variants of each color (100, 200, 300)
Uses natural language colors

Color
Value

Black
#1b1f23

Blue
#0366d6

Gray
#6a737d

Green
#28a745

Orange
#f66a0a

Purple
#6f42c1

Red
#d73a49

White
#fff

Yellow
#ffd33d

Proton by Fifefox

Has 11 basic colors
Provides numeral variants of each color (50, 60, 70)
Uses natural language colors

Color
Value

Blue
#0a84ff

Green
#30e60b

Grey
#737373

Ink
#363959

Magenta
#ff1ad9

Orange
#ff9400

Purple
#9400ff

Red
#ff0039

Teal
#00feff

White
#ffffff

Yellow
#ffe900

Others

Bristol city: http://style.bristol.gov.uk/patterns/colours/
Evergreen: https://evergreen.segment.com/components/colors/
The Times: https://www.thetimes.co.uk/styleguide/colours
Ubuntu Design: https://design.ubuntu.com/brand/colour-palette/
Uniform: http://uniform.hudl.com/guidelines/colors/design/
uStyle: https://ustyle.guide/brand/colours.html
U.S. Web Design System: https://designsystem.digital.gov/components/colors/
WordPress: https://make.wordpress.org/design/handbook/design-guide/foundations/colors/

I've analyzed a little ton of stuff, let's summarize it. I will take numbers from
community frameworks because the most of corporate frameworks doesn't work with natural color names.
Natural vs state

Type
Points
Frameworks

State
3
Bulma, Foundation, Turret CSS

Natural
3
Bootstrap, Semantic UI, Tailwind CSS

---
---

Aliases for state
2
Bootstrap, Semantic UI

Usage of natural color names in palettes

Color
Points
Framework

Black
3
Bulma, Foundation, Semantic UI, Turret CSS

Blue
3
Bootstrap, Semantic UI, Tailwind CSS

Brown
1
Semantic UI

Cyan
1
Bootstrap

Green
3
Semantic UI, Bootstrap, Tailwind CSS

Grey
2
Semantic UI, Tailwind CSS

Olive
1
Semantic UI

Indigo
2
Bootstrap, Tailwind CSS

Orange
3
Bootstrap, Semantic UI, Tailwind CSS

Pink
3
Bootstrap, Semantic UI, Tailwind CSS

Purple
3
Bootstrap, Semantic UI, Tailwind CSS

Teal
3
Bootstrap, Semantic UI, Tailwind CSS

Red
3
Bootstrap, Semantic UI, Tailwind CSS

Violet
1
Semantic UI

White
2
Bulma, Foundation, Turret CSS

Yellow
3
Bootstrap, Semantic UI, Tailwind CSS

primary & secondary

Color
Points
Frameworks

Primary
5
Bootstrap, Bulma, Foundation, Semantic UI, Turret CSS

Secondary
4
Bootstrap, Foundation, Semantic UI, Turret CSS

grey vs gray

Color
Points
Framework

Grey
4
Bulma, Semantic UI, Tailwind CSS, Turret CSS

Gray
2
Bootstrap, Foundation

Summary

We should have the predefined palette of colors.
The palette should be easily extendable.

Proposed palette
I've picked colors from summary table that have >= 2 points.

Name
Color

Black
#252423 (taken from Teams theme)

Blue
?

Green
#92C353 (taken from Teams theme)

Grey
?

Orange
#CC4A31 (taken from Teams theme)

Pink
?

Purple
?

Teal
?

Red
#C4314B (taken from Teams theme)

White
#FFFFFF (taken from Teams theme)

Yellow
#F8D22A (taken from Teams theme)

More colors
Some frameworks provide more colors in their palette, there are common patterns:

lightest, light, base, dark: https://evergreen.segment.com/components/colors/
darkest, dark, light, lightest: https://designsystem.digital.gov/components/colors/
points (10, 20, 30, etc): https://design.firefox.com/photon/visuals/color.html
points (100, 200, 300, 400, etc):

https://styleguide.github.com/primer/support/color-system/
https://turretcss.com/docs/globals/#colors

However, I'm not sure that these colors should be a part of the default theme.
Others

Accessibility in Proton Design System: https://design.firefox.com/photon/visuals/color.html#accessibility
https://www.w3.org/TR/WCAG20/

I've tried to dogfood some ideas in #451. You can pull the branch and try it:

Preview

Base/Core/YOUR_NAME colors
White and black colors can't have a palette, what will be darker than #000000? Or lighter than #ffffff? It will be confusing. However, it's reasonable to allow define black and white colors, even Teams use #252423 as black.
Proton also separate white color. But, I should note that Primer has fades for white and black colors. I'm not sure that it's the best idea.
type BaseColors = {
  black: string
  white: string
}

Natural colors
The idea above changes the core palette a little. In #451 I used colors from Proton. This gives us 9 colors which are presented by the NaturalPalettes type.

Color
Value

Blue
#0060df

Green
#12bc00

Grey
#4a4a4f

Orange
#d76e00

Pink
#ed00b5

Purple
#8000d7

Teal
#00c8d7

Red
#d70022

Yellow
#d7b600

Each color is presented by its palette, each palette contains 7 gradients of colors: lightest, lighter, light, base, dark, darker, darkest. All of these is defined in the ColorPalette type.
(!) I've decided to go with semantic names, just compare colors.red.100 vs colors.red.lightest. However, this doesn't fit needs of Teams which has 8 colors in brand.
A palette for a color can be filled manually of by util:
const naturalPalettes: NaturalPalettes = {
  blue: createPalette(__BASE_COLOR__),
  green: {
    lightest: _VALUE_,
    lighter: _VALUE_,
  }

State colors
We decided to go with primary (i.e. brand) and secondary colors, however I think that this palette should be increased with info, positive/success, negative/error, warning. The easiest case where these colors can be needed is Message or Form component. These colors are also defined in Bulma and Bootstrap for example.
I also think that we need a separate palette for text like this done in Alfabank Styleguide, it's not correct to use grey color for text. For example, a disabled or timestamp variations for text.
State colors can be just aliases for natural colors:
  info: naturalPalettes.blue,
  positive: naturalPalettes.green,
  negative: naturalPalettes.red,
  warning: naturalPalettes.yellow,

Have thoroughly reviewed the discussion, have several questions that would like to clarify:
Material UI approach is not included in stats
For some reason Material UI Color System is not covered in the stats - at the same time, they provide one of the most comprehensive reviews on this topic. Frankly, was surprised a bit with that.
'On' colors (for text, icons, other content..)
Here, in the RFC, a topic of 'on' colors is not covered - i.e. content colors (of text, icons, etc) that will be displayed on primary or secondary background. Note that this aspect is a basic one for most theming approaches, as it is a key factor for accessible data presentation (consider a case where, for example, one would need to provide different text color which is dependent on whether lightest or darkest tint of primary color is used - as it is not possible to just use single, say, black color for both cases). What are the actions planned to address that?
Note that this is quite important topic from accessibility perspective, as this question is one of the key that defines whether app's content will be accessible or not, according to WCAG accessibility rating of level (https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html).
Contextual colors - are those planned to be extensible by the client?
Cannot infer from the proposal if the set of Contextual colors may be extended by client, in order to address needs that might be specific to client's domain (like calling-alert, etc). Actually, if we are looking towards extensible theming mechanism, I would see this question being addressed (or would expect to see a plan of how we are going to address it).
What is proposed workflow for the client to generate color palette?
It is not absolutely clear from RFC what is the workflow client need to follow to create theme's palette. For example, the approach is clear for Bootstrap and Material:

provide primary color to us (optionally a secondary one), and palette will be generated. So, just one or two colors as an input.

is the same logic planned behind createPalette? If yes

what is the number of output colors planned? (would it be a reasonably minimal number)?
is it possible to provide secondary color there - and, if not, how it is possible to introduce notion of secondary color to generated palette?

ok, this is the generated palette (with a minimal necessary amount of colors), let us know if more tint variations to each base color should be generated.
now you have al the base colors (natural ones) - please, bind them to contextual ones that are planned in your app. Here, once again, I would expect that we would have some mechanism to make this set of contextual colors being extensible
need to fine-tune colors of the generated-so-far palette - please, do it, and be assured that those colors you will pick will still be WCAG-conformant, because if there would be any potential problem of low contrast for any variation of background and text color, we will let you know.

@layershifter, the last point (related to user's workflow) to my mind is a crucial one, especially if we would state that color palette is a mandatory attribute of any theme. Could you, please, suggest what is our vision here?

Material UI approach is not included in stats

I agree, it's strange that I missed it. However, if you will check #451, the result is quite similar to Material UI 😄
https://material.io/design/color/the-color-system.html#tools-for-picking-colors

'On' colors (for text, icons, other content..)
What are the actions planned to address that?

Accessibility is a very important thing, but it is not covered by this RFC. We cannot cover all aspects in single run.
We discussed in offline that one of next steps will be implementation of color pairing tool that will allow to combine colors from palette and will cover accessibility aspects. We don't have an issue for that, yet.
Something like this browser's tool:

https://design.firefox.com/photon/visuals/color.html#accessibility

Contextual colors - are those planned to be extensible by the client?

The AdditionalColors type covers this. These colors aren't included to siteVariables.colors (i.e. ColorPallette), but can be accessed as siteVariables.additionalColors.

What is proposed workflow for the client to generate color palette?

PR contains two palettes:
https://github.com/stardust-ui/react/pull/451/files#diff-c29ebf6447647ff3c88ba3381b1afbcb
https://github.com/stardust-ui/react/pull/451/files#diff-a5676258cb98e8e7e5310b952649c6dc
You can reference them as example. For now, I don't have more there. For next iteration our themes should use our color palette.
These aspects should covered as part of theming guide I think.
P.S. I renamed createPalette to createColorVariants because the name was confusing.


samples: mesh: build only on BLE platforms

I was thinking of something similar. Wondering what or how we describe platforms/boards that support BLE over UART. Do we introduce a 'ble-uart' device type?

I would not got into this level of details. Whether a board support ble over UART or SPI should be done in the board configuration. When building a BLE application this will be handled automatically. If a board such as the carbon is still not ready to use BLE in Zephyr (over SPI), we would just drop this as a supported feature.

That all makes sense, how do we handle boards that allow plugging in bluetooth module over some pin header (like FRDM-K64F)?

That all makes sense, how do we handle boards that allow plugging in bluetooth module over some pin header (like FRDM-K64F)?

every board can add bluetooth shields or any shield that adds more features. There was a proposal to add such a layer on top of boards, that is where something like that would be added, i.e. Shield XYZ supporting bT would have this dependency, not the board.

What's the difference between "ble" and "bluetooth"? Bluetooth Low Energy (BLE for short) is one type of Bluetooth. Bluetooth BR/EDR (aka Classic) is another type, however one which is not fully supported by Zephyr. So for most purposes, in a Zephyr context, BLE and Bluetooth are one and the same.

what if we support bluetooth BR/EDR (aka Classic) in the future?

what if we support bluetooth BR/EDR (aka Classic) in the future? Seems like saying ble and leaving things as Anas has them is correct if we don't support (Classic) right now on any platform.

we do actually have support to a certain level for classic in the tree, we just do not have a suitable platform that supports it, so ble vs br/edr makes more sense :)

going back to ble for the  case when we have hardware that support classic to be able to make a distinction.


Making every Chef run under the ServerRunner use the same :file_cache_path

Fixes https://github.com/chef/chef/issues/4668
Okay, so here is the story on this one:

The ServerRunner sets Chef::Config[:file_cache_path] to a new value every time it is initialized.
In turn this causes cookbooks to be synchronized to a different folder every time Chef is converged.
Recent versions of Chef 12 use the LWRPBase.loaded_lwrps hash to determine if an LWRP has been loaded yet.  This hash is keyed off the full filename of the LWRP.
Because each Chef converge occurs in the same Ruby process and uses a different file_cache_path it is possible for the same LWRP to be loaded multiple times.

For example, /tmp/run1/cookbooks/apt/providers/preference.rb is loaded by the first Chef converge.  The second Chef converge loads /tmp/run2/cookbooks/apt/providers/preference.rb because the full path of the preference LWRP is different than the first run.

This causes the warning listed in the original issue.

The full file paths are different so the hash in LWRPBase does not prevent the reloading, but the files both try to define the same class - AptPreference.

I see two potential solutions to this issue:

Make every Chef converge kicked off by the ServerRunner use the same Chef::Config[:file_cache_path].  Every Chef converge put the same cookbooks (locked by Berkshelf or a Policyfile) into different caches, so this just makes those caches the same folder.  This is my prefered solution.
Expand the chef_backwards_compat logic to apply to Chef 12 as well as Chef 11.  This attempts to find those LWRP constants defined on Chef::Provider and delete them before re-loading the files each time.

Tested with many versions of Chef 12 (12.2, 12.4, 12.6+) and this solution got rid of the warning for all versions.
\cc @sethvargo @chefsalim @randomcamel @jkeiser
@sethvargo I didn't see any tests for this - am I missing them somewhere?

I'm unclear what we lose by using the same path each time, but the idea seems sound in general.

lgtm but should definitely have eyes from someone more versed in ChefSpec.

@sethvargo Was https://github.com/sethvargo/chefspec/pull/684/commits/4bd824b1a79a581b2d7aadbcdb773d12b3b5e81e what you were thinking of?


Update README.md

Updates getting started with proper link.

Thanks! I've since moved the content, so I'll change it to the right link. Sorry for missing this PR; I didn't have notifications configured properly for this repo 😅


Backstage.io/docs dark mode styling issues

E.g. https://backstage.io/docs/features/techdocs/techdocs-overview

How to solve
Look into adjusting styles for docusaurus - https://v2.docusaurus.io/docs/styling-layout

I would also add: https://backstage.io/docs/features/software-catalog/system-model

Hard to see, but there are arrows with text between the boxes. However making them white, makes it difficult to view the files on GitHub...

@Fox32 yep, I'm on it!

Fixed https://backstage.io/docs/features/techdocs/techdocs-overview


Overlay not showing on API 28

After calling setOverlayViewEnabled(true), overriding onCreateOverlay and returning a view, the overlay is correctly showing up on Android 8.1 but not on Android 9.
Any idea why is this?

This can be observed also in the sample app, channel HLS (Bip-bop).

I want to confirm it.
Technically it's displayed but it's located under surface - so it's "invisible"
I've created branch with ready-to-use repro
It includes changes:

compile project under AS 3.0 RC03
make overlay fullscreen, transparent and RED to be easy to spot

With changes made in repro above it's easy to verify it side-by-side comparing with older emulators.
Here are Emulator API 26 vs Emulator API 28:

I've created issue in Android bug tracking: https://issuetracker.google.com/issues/139429602

Could anyone of you having this issue on Shield please report it to Nvidia here:
https://nvidia.custhelp.com/app/ask
Nvidia told me that I'm the only one that has reported this issue, and they are not able to reproduce it.

has anyone tested on API 27 ?


Check examples in CI

We need to check the examples during CI. Otherwise, we may break them without realizing it and since they are the first thing that a new user will look at, it will give a poor impression of DTK.

[ ] Cleanup DTKData detection by CMake
[ ] Use submodule to clone DTKData
[ ] Add documentation
[ ] Make the examples run in the test regression
[ ] Update Jenkins build script

partially addressed by #95

@sslattery Why are all the subdirectories commented in the ClassicDTK/example/CMakelists.txt?

These are holdovers from the original code. I am not sure any of them work any more

Next steps:

Determine if examples can also be tests but still build when tests are turned off
If they can't be built when tests are deactivated, decide on another path to run tests
Refactor examples to a pass/fail status to allow for testing

ADD_TEST will generate test if and only if ENABLE_TESTING() is called
CTest module will invoke ENABLE_TESTING() automatically when BUILD_TESTING is ON
the macro TRIBITS_INCLUDE_CTEST_SUPPORT that gets invoked in TriBITS/tribits/core/package_arch/TribitsProjectImpl.cmake calls INCLUDE(CTest)
which turns BUILD_TESTING ON

In other words TriBITS calls ENABLE_TESTING regardless of all the ENABLE_TESTS logic,
therefore ADD_TEST will always be picked up

ok so @dalg24 was right here? I haven't looked at it yet

Then all that is left to do is replace all instance of TRIBITS_ADD_EXECUTABLE by TRIBITS_ADD_EXECUTABLE_AND_TEST (only occurs in Libmesh, STKMesh and Moab) and apply
diff --git a/scripts/docker_cmake b/scripts/docker_cmake
index 2509a52..00f47b1 100755
--- a/scripts/docker_cmake
+++ b/scripts/docker_cmake
@@ -38,7 +38,7 @@ ARGS=(
     -D Trilinos_ENABLE_DataTransferKit=ON
         -D DataTransferKit_ENABLE_DBC=ON
         -D DataTransferKit_ENABLE_TESTS=ON
-        -D DataTransferKit_ENABLE_EXAMPLES=OFF
+        -D DataTransferKit_ENABLE_EXAMPLES=ON
         -D DataTransferKit_ENABLE_ClangFormat=ON
     )
 cmake "${ARGS[@]}" $EXTRA_ARGS $TRILINOS_DIR

kudos to @dalg24 for figuring this out


Error starting with v1.4.2

Hello, I started getting this error once upgraded to v1.4.2:
TypeError: Argument 1 passed to Exchanger\Service\PhpArray::__construct() must be of the type array, object given, called in .../vendor/florianv/swap/src/Service/Factory.php on line 100

After I downgraded to v1.4.1 the error goes away. I only see a small change to the cache in 1.4.2. so I am not too sure why this error is happening.
I'm using this package through your florianv/swap package which is at v3.5.0.
Any ideas?

Same here. @florianv please try to not make these kind of changes in patch releases. There are very heavy changes in 1.4.2 https://github.com/florianv/exchanger/compare/1.4.1...1.4.2

what's the correct diff link?

Actually, I noticed the mistake. The correct version that should have been tagged should be 2.2.2 instead of 1.4.2 - I will delete 1.4.2.

@jkudish @ostrolucky Sorry for the mistake, please downgrade to 1.4.1 and things should be back as normal!

Thanks @florianv


fairseq-hydra-train: how to change the location of the outputs directory containing hydra_train.log

it currently populates outputs/ in the location where fairseq-hydra-train is called but i'd like it to go somewhere else more sensible.

Think i got it, needed to add -m hydra.sweep.dir=pathtodir


Loops in Lizzie

I have seen no documentation on loop constructs. Have I overseen it in the readme? Does Lizzie support while and for loops?

No such thing in Lizzie. The closest thing you'll find is the each function, that will function roughly similar to the C# foreach keyword. Rolling your own though is probably easily achieved in a couple of hours, and can be done by starting out with the code for the each function.


Upgrade to Tesseract 3.04?

Are there any plans to upgrade Tesseract-OCR-iOS to wrap the current version of Tesseract, v3.04?
Has any analysis been done to evaluate that upgrade?
Any sense of the effort?
Any sense of the potential upside in speed? accuracy?

pls, refer to #214.
I'm closing an issue as a duplicate.
Feel free to reopen it if you think it's a different issue and you can provide more details about it.
Thx!

Thanks -- sorry for the dupe
On Wed, Jul 13, 2016 at 2:25 AM, Cyril<EMAIL_ADDRESS>wrote:

Closed #277 https://github.com/gali8/Tesseract-OCR-iOS/issues/277.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gali8/Tesseract-OCR-iOS/issues/277#event-721296376,
or mute the thread
https://github.com/notifications/unsubscribe/ANSnMmvhczg6YvGjHha1XGJjlLtlIRIhks5qVK8igaJpZM4JLAg6
.


How to use the background color of text?

Hi Guys:
If I want to give the text a background color, do I need to add a Rectangle?

Hi @CooperCao
Currently text texture does not support color fill so your alternate option is an additional background element with rect: true property.
Best regards


Fixes broken issue links

The full path to each issue was needed to make these links work.

Thanks!


[Bug]: Broken links and notion deal redemption does not work

Where on segment.com/docs did you see this issue?
https://segment.com/docs/guides/usage-and-billing/startup-program/
What browsers are you seeing the problem on?
Chrome
Please describe the issue.
Hi folks, the link https://bit.ly/segment-partner-deals does not work anymore and/or it needs a password to access it. Can you please look into this? Also Notion seems to be listed as a partner and one cannot redeem any deals with them. Thanks so much. Manuel

Closing this for now, as the link is removed.


Improve Blur

[EDIT] Deleted my previous post because I just saw your "Advanced Blur" prototype - which is pretty much what I was asking for.
I just tried out the advanced blur and it's perfect! Only could you add the option for greater blur intensity, and I don't know if this is possible but can you add the option to up the resolution of the blur?
One more thing - I noticed you added some space around the object so that the blur can extend further before it gets cut off. Would it be possible to make this area even bigger?
Thanks!

Hi @RTSketch
Thank you for trying "Advanced Blur". (Wow, well noticed!)
This feature will be available in v3.0.0.
Option for greater blur intensity
Indeed, the purpose of "Advanced Blur" is this!
When "Advanced Blur" is enabled, the blur kernel size is expanded as follows. (Planed)
Fast: 3×3 -> 5×5
Medium: 5x5 -> 9x9
Detail: 7x7 -> 13x13
Extending area around the object
When "Advanced Blur" is enabled, the area is expanded according to the blur kernel size.
(You can check the wireframe in the scene view.)
https://github.com/mob-sakai/UIEffect/blob/develop300/Assets/Coffee/UIExtensions/UIEffect/Scripts/UIEffect.cs#L200
Outer glow
"Outer glow" is one of the effects to be implemented. (# 94)
In the current version (v2.7.0), a similar effect can be applied by combining UIEffect & UIShadow components.

Technical memo for "Advanced Blur": https://github.com/mob-sakai/BlurringAtlasForUGUI
Ref: #95


Don't open help page when opening project

Is there a setting for preventing the help page from being opened when I switch projects?

I will show a information message to cancel or open a link if user wants.
in the next version


DUNA flow: Resume Auth

The work here addresses the step 16 from DUNA flow
At this point the WebViewAuthorizationFragment will be invoked by the BrokerBrowserRedirectActivity (https://github.com/AzureAD/ad-accounts-for-android/pull/3021) so we need to update the intent data on BrokerAuthorizationActivity.onNewIntent and handle the activity being resumed on WebViewAuthorizationFragment.onResume
Additionally, we need to use the client id for the DUNA resume endpoint, so we need to pass this value at the moment we start the WebAuthorizaFragment.
Changes:

Pass client Id to WebViewAuthorizationFragment
Update data intent on new intent
WebViewAuthorizationFragment will handle the resume state, so if the fragment is resumed with DUNA data, invokes the duna resume endpoint https://login.microsoftonline.com/switchbrowser/resume?redirect_url=msauth://Microsoft.AAD.BrokerPlugin&client_id=00000&
Header: "authorization" : switchBrowserProofUpToken

public Uri constructSwithBrowserUri(@NonNull final String action_uri, @Nullable final HashMap<String, String> params) {

typo: constructSwicthBrowserUri

Refers to: common/src/main/java/com/microsoft/identity/common/internal/providers/oauth2/WebViewAuthorizationFragment.java:557 in 14f298f. [](commit_id = 14f298f3ca7ff359e3c10d9fa428d376e73316a2, deletion_comment = False)


cannot get message

Hi
I can only use ports 8080,8081 and 8082
I ran npm install without errors
i changed   webpack.dev-server.js to 8080, but when I run  npm run dev
i only get cannot GET error

`npm run dev

so is there no way to change the development ports?

change it in package.json. @brw31415


feat: add key binding(move lilnes, delete lines)

Please check if the PR fulfills these requirements

[ ] It's the right issue type on the title
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has a description of the breaking change

Description

added key binding

cmd + d
delete the lines based on selection

alt + arrowUp, alt + arrowDown
move the lines based on selection

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

[1/28] 리뷰 완료합니다~ 간단하게 처리되었네요 👍

[1/28] 리뷰 완료합니다~ 간단하게 처리되었네요 👍


PR for #2718: Update Feast related broken links on Kubeflow External Add-ons page

This is a fix for issue: https://github.com/kubeflow/website/issues/2718.
Updated all broken links with most recent links from Feast.
Examples link is still broken on Feast website (https://github.com/feast-dev/feast/tree/master/examples), so haven't updated it.

@googlebot I signed it!

@woop if this change looks good to you (and its pretty simple, just fixing some links), can you please reply with /approve?

/approve


Add Travis for Rails 5.x

Starting with a test suite first and then will look to fix any errors.

@mixonic, would it be possible to give me access to Travis also so I can abort running suites? Saves time rather than waiting for a suite to complete even though it's buggy.

@brendon I think you simply need to update your Travis access. Try: https://travis-ci.org/profile/brendon and click Sync account.

Thanks @mixonic. I gave that a go, but I think it's because the tests are run under your account (linked to the main repo). I had a look, and I don't think it's actually a feature unless you add me as an admin in Travis, and then I'm just guessing. All good if it can't be done :)

Actually, sorry, I see the Cancel button now :)

As a compromise, I've disabled testing the rbx:rails 5.2 combination. If this suite is green then I'll merge it all in.
Also updated the test suite to be Rspec 3 compatible.


How to capture landscapture video with device positioned in portrait orientation?

I want the user to hold the phone/camera vertically(portrait orientation), but the video capture and video ingestion will be in landscape mode with proper aspect ratio.
Does anyone have experience in doing it? I would appreciate if anyone can provide any code sample in objective-c.
用户竖直手持相机／手机，但是在video preview的画面是landscape，推流到服务器端和被其他观看者看到的图像也是landscape的，请问怎么实现呢？
谢谢！

Same issue as: https://github.com/LaiFengiOS/LFLiveKit/issues/222

There is a fix! Go check out the fix in #222
I got it working today from the fix. Let me know if you have any questions and close out this ticket when you review it!
TTL


replace "will lookup up" by "will look up"

Checklist

[x] CLA: Trivial patch.

Description of change

Typographic correction.

+1

Merged into master (67adf0a7c273a82901ce8705ae8d71ee2f1c959c)
This should be backported to 1.1.0 and 1.0.2 as well.  Ok, @richsalz and @t-j-h?

+1 for whatever branches are needed.

Goody good.
1.1.0: 72b993cfdf51d6cfc8705691ecda66285c507f7a
1.0.2: 18b8431f3b8a593bdcceb0d8f1c9612bddb77541


Update .xml doc files

Noticed some changes to these files during local development that hadn't been committed. This change does that.

Out of curiosity, which command regenerates them? Also should we add a CI check making sure they are up to date?

Just doing a build regenerates them. It indeed would be nice to add a CI check. This annoyingly happens a lot.


add libdbus-1-dev for ledger ble comms on linux

towards merging hardware wallet support (current failure). we could turn off BLE support as we're not using it at the moment but, seems like we might as well add this now to solve the problem.
cc. @briancorbin

replaced by #34


feat(cyclonedx): Set basic supplier information

While at it, also set author information for package components.
See 1 for context.

Merging prematurely for the SBOM Harmonization Plugfest 2024.


Pass instance id to offer matcher.

Summary:
Our mid term goal is to generate the instance id in the business logic
and push it towards the task launch layer. This is the first step to
generate the id in the task launcher instead of the offer matcher.
The next step should pass the id to the task launcher instead of
generating it there.

This should be merged after we cut releases/1.6.

What do you think about creating instanceIds only in the place where instances are created – i.e. in the InstanceOpFactoryImpl?

That's the current situation or am I missing something?

Dropping in favour of a new approach.


Energy saving mini app

When we go to the energy saving mini app and click buy, we get a warning. What is the reason for this? Is the energy-saving miniapp Tuya's own application? Can we use this miniapp for iOS as well?

Hello, the energy saving mini app can not only be used in the tuya's own application but can also be integrated into other apps through the AppSDK method. If you want to integrate the energy saving mini app into your product, you need to complete the relevant product information configuration; otherwise, it may result in an error. If you would like to learn more about the integration process, please contact our dedicated<EMAIL_ADDRESS>

Thx 🙏🏻


Index use with property filters

I have worked through an Adobe support case to create regex custom properties as part of damAssetLucene-7 index.
dam:rrd_.*
xmp:rrd_.*
We chose this model as we will have hundreds of custom properties and adding individual properties would create a large ongoing effort for developers and administrators.
In any event, these properties seem to be working well when tested through Explain Query and return expected results.
EQ xpath query:
/jcr:root/content/dam/customer/assets//element(*, dam:Asset)[((x002e/jcr:content/metadata/@xmp:rrd_hbi_prefix = '117747'))]
However, when I run the same query through ASC (version 2.1.4) there are NO results returned in the UI.
ASC property filter query:
https://author-redacted.com/en/light.results.html?1_group.propertyvalues.property=.%2Fjcr%3Acontent%2Fmetadata%2Fxmp%3Arrd_hbi_prefix&1_group.propertyvalues.operation=contains&1_group.propertyvalues.values=117747&orderby=%40jcr%3Acontent%2Fmetadata%2Fdc%3Atitle&orderby.sort=asc&layout=card&p.offset=0
My question is related to how the property filters use/select indexes? Is this issue related to the regex index or maybe something else I'm not considering?

Hi!
Under the covers, ASC just uses QueryBuilder (as you can somewhat see from the URL format). The (custom) propertyvalues predicate is really just a wrapper around QB's property predicate to make it a little more suscinct .
I would take a look at the query that ASC's QB is generating and using Explain Query to see what its doing. You can do this one of t 2 ways:

Set DEBUG logs on com.adobe.aem.commons.assetshare.search.impl package
Use AEM Chrome plugin / Sling Servlet Tracer to "trace" the logs as well as the underlying query/explain query to see how the QB is being evaluated. https://chrome.google.com/webstore/detail/aem-chrome-plug-in/ejdcnikffjleeffpigekhccpepplaode

closing for now - please re-open if you have more Q's


Serializes MARC to XML and Compresses File

Fixes #1119
Based on @jgreben xml-records branch, this PR serializes MARC21 to XML and the compress XML into gzip files.
TODO:

[x] Test full-dump retrieval DAG on airflow-test

@jermnelson some of the rebased commits made it in here. I am approving, but can you review and merge?

https://sul-libsys-airflow-dev.stanford.edu/dags/select_all_records/grid?dag_run_id=manual__2024-08-02T10%3A39%3A52-07%3A00


Heading text partially hidden by site's top-nav when visiting link with anchor

For example, visit https://kubernetes.io/docs/concepts/overview/components/#kube-apiserver
What I see is the heading text partially hidden by the site's top-nav:

Visiting most entries in that page's TOC will have a similar effect.

/kind bug
I think we might already have an issue open about this.

/assign @Arhell

@chalin fix

/area web-development

/close
Fixed in #22327


Notifications with incorrect sequence numbers

The effect seen here may be an edge case, or I may be doing something incorrectly, or I may be expecting too much.
The following program starts hardware PWM on GPIO18 at a frequency of 100KHz with a 50% duty cycle. It then activates notifications on GPIO18. This means about 200,000 notifications per second. Every 1,000,000 notifications the program prints the number of notifications so far. If the seqno for a notification is not the expected value an error message is printed.
#include <fcntl.h>
#include <stdio.h>
#include <pigpio.h>

#define LED 18

int main() {
  int version;
  int handle;
  char pipePath[32];
  int fd;
  int bytes;
  int notificationCount = 0;
  gpioReport_t r;
  uint16_t lastSeqno = 0xffff;
  uint32_t lastTick;

  gpioCfgClock(1, 1, 1);

  if ((version = gpioInitialise()) < 0) {
    printf("gpioInitialise error\n");
    return -1;
  }

  printf("version: %d\n", version);

  if (gpioHardwarePWM(LED, 100000, 500000) < 0) {
    printf("gpioHardwarePWM error\n");
    return -1;
  }

  if ((handle = gpioNotifyOpen()) < 0) {
    printf("gpioNotifyOpen error\n");
    return -1;
  }

  if (gpioNotifyBegin(handle, (1 << LED)) < 0) {
    printf("gpioNotifyBegin error\n");
    return -1;
  }

  sprintf(pipePath, "/dev/pigpio%d", handle);

  if ((fd = open(pipePath, O_RDONLY)) < 0) {
    printf("open error\n");
    return -1;
  }

  for (;;) {
    bytes = read(fd, &r, 12);
    if (bytes != 12) {
      printf("read error\n");
      return -1;
    }

    notificationCount++;
    if (notificationCount % 1000000 == 0) {
      printf("%d\n", notificationCount);
    }

    if (((uint16_t) (lastSeqno + 1)) != r.seqno) {
      printf("  sequence error - lastSeqno: %d, seqno: %d\n", lastSeqno, r.seqno);
      printf("    %d\n", notificationCount);
    }

    lastSeqno = r.seqno;
    lastTick = r.tick;
  }

  gpioTerminate();

  return 0;
}

If the program is run without any additional load everything looks fine and the output will be something like this:
version: 40
1000000
2000000
3000000
4000000
5000000
6000000
7000000
8000000
9000000
10000000
11000000
12000000
13000000
14000000
15000000
16000000
17000000
18000000
19000000
20000000
...

However, if there is additional load on the system, the output can look like this:
version: 40
1000000
2000000
  sequence error - lastSeqno: 28427, seqno: 28583
    2780941
  sequence error - lastSeqno: 31399, seqno: 32082
    2783758
  sequence error - lastSeqno: 32199, seqno: 33000
    2783876
  sequence error - lastSeqno: 33340, seqno: 33800
    2784217
  sequence error - lastSeqno: 34140, seqno: 34452
    2784558
  sequence error - lastSeqno: 34792, seqno: 35701
    2784899
  sequence error - lastSeqno: 38414, seqno: 39273
    2787613
  sequence error - lastSeqno: 39613, seqno: 40075
    2787954
  sequence error - lastSeqno: 40415, seqno: 40873
    2788295
  sequence error - lastSeqno: 41213, seqno: 42072
    2788636
  sequence error - lastSeqno: 42412, seqno: 42470
    2788977
  sequence error - lastSeqno: 42870, seqno: 43212
    2789378
  sequence error - lastSeqno: 44811, seqno: 44870
    2790978
  sequence error - lastSeqno: 45611, seqno: 46071
    2791720
  sequence error - lastSeqno: 46411, seqno: 46872
    2792061
  sequence error - lastSeqno: 47212, seqno: 47669
    2792402
  sequence error - lastSeqno: 48009, seqno: 48471
    2792743
  sequence error - lastSeqno: 48811, seqno: 49671
    2793084
  sequence error - lastSeqno: 50011, seqno: 50071
    2793425
  sequence error - lastSeqno: 50411, seqno: 50485
    2793766
  sequence error - lastSeqno: 51670, seqno: 52012
    2794952
  sequence error - lastSeqno: 52069, seqno: 52411
    2795010
  sequence error - lastSeqno: 52471, seqno: 52813
    2795071
  sequence error - lastSeqno: 52871, seqno: 53213
    2795130
  sequence error - lastSeqno: 53609, seqno: 54470
    2795527
  sequence error - lastSeqno: 55211, seqno: 55672
    2796269
  sequence error - lastSeqno: 56012, seqno: 56473
    2796610
  sequence error - lastSeqno: 56813, seqno: 56872
    2796951
  sequence error - lastSeqno: 57212, seqno: 57673
    2797292
  sequence error - lastSeqno: 58013, seqno: 58472
    2797633
  sequence error - lastSeqno: 58812, seqno: 58872
    2797974
  sequence error - lastSeqno: 59212, seqno: 59671
    2798315
  sequence error - lastSeqno: 60833, seqno: 61271
    2799478
  sequence error - lastSeqno: 61611, seqno: 62070
    2799819
  sequence error - lastSeqno: 62410, seqno: 62471
    2800160
  sequence error - lastSeqno: 63212, seqno: 63672
    2800902
  sequence error - lastSeqno: 64012, seqno: 64470
    2801243
  sequence error - lastSeqno: 64810, seqno: 64870
    2801584
  sequence error - lastSeqno: 65210, seqno: 134
    2801925
  sequence error - lastSeqno: 474, seqno: 602
    2802266
  sequence error - lastSeqno: 1274, seqno: 1735
    2802939
  sequence error - lastSeqno: 2875, seqno: 3337
    2804080
  sequence error - lastSeqno: 3677, seqno: 3773
    2804421
  sequence error - lastSeqno: 4113, seqno: 4536
    2804762
  sequence error - lastSeqno: 5290, seqno: 5735
    2805517
  sequence error - lastSeqno: 6075, seqno: 6135
    2805858
  sequence error - lastSeqno: 6475, seqno: 6934
    2806199
  sequence error - lastSeqno: 7274, seqno: 7336
    2806540
  sequence error - lastSeqno: 7676, seqno: 8135
    2806881
  sequence error - lastSeqno: 8475, seqno: 8536
    2807222
  sequence error - lastSeqno: 8876, seqno: 9336
    2807563
  sequence error - lastSeqno: 10875, seqno: 11381
    2809103
  sequence error - lastSeqno: 11721, seqno: 12136
    2809444
  sequence error - lastSeqno: 12902, seqno: 12935
    2810211
  sequence error - lastSeqno: 13275, seqno: 13737
    2810552
  sequence error - lastSeqno: 14077, seqno: 14133
    2810893
  sequence error - lastSeqno: 14473, seqno: 14936
    2811234
  sequence error - lastSeqno: 15276, seqno: 15737
    2811575
  sequence error - lastSeqno: 16077, seqno: 16136
    2811916
  sequence error - lastSeqno: 16476, seqno: 16934
    2812257
  sequence error - lastSeqno: 17676, seqno: 17733
    2813000
  sequence error - lastSeqno: 18073, seqno: 18136
    2813341
  sequence error - lastSeqno: 18476, seqno: 18536
    2813682
  sequence error - lastSeqno: 18876, seqno: 18935
    2814023
  sequence error - lastSeqno: 19275, seqno: 19736
    2814364
  sequence error - lastSeqno: 20519, seqno: 20937
    2815148
  sequence error - lastSeqno: 21377, seqno: 21719
    2815589
  sequence error - lastSeqno: 22074, seqno: 22556
    2815945
3000000
4000000

The sequence numbers are often off by a few hundred here. The additional load in this case was an scp command which copied a large file from another Linux machine to the Pi.
Setting the PWM frequency to 200KHz will result in similar sequence number issues without any additional load on the system.
Is this to be expected or am I doing something incorrectly?

I expect you have gone beyond the limit of what you can expect.  That is an awful lot of sustained traffic.  I'd guess the pipe is being filled faster than it can be emptied.
Start your program and then enter

pigs csi 512

Let it run for a while and try to count the sequence error messages.  Then press ctrl c to abort the program.
You should get some stats.
Have a look at the pipe would block count and see if it matches the errors you saw.

Thanks, I'll try that. I also noticed that the test program above is silly in that reads the notifications one by one. Reading up to 1000 notifications from the pipe at the same time gives far better results.

I tried what you suggested with pigs csi 512 and the test program from the original post. There were 59 sequence number errors and the stats said that pipe would block 101 times:
version: 40
1000000
2000000
3000000
4000000
  sequence error - lastSeqno: 15026, seqno: 15174
    4405940
  sequence error - lastSeqno: 15846, seqno: 15905
    4406613
  sequence error - lastSeqno: 16245, seqno: 16307
    4406954
  sequence error - lastSeqno: 16647, seqno: 16708
    4407295
  sequence error - lastSeqno: 17048, seqno: 17131
    4407636
  sequence error - lastSeqno: 17471, seqno: 17509
    4407977
  sequence error - lastSeqno: 17849, seqno: 18313
    4408318
  sequence error - lastSeqno: 18653, seqno: 18706
    4408659
  sequence error - lastSeqno: 19046, seqno: 19106
    4409000
  sequence error - lastSeqno: 19446, seqno: 19506
    4409341
  sequence error - lastSeqno: 19846, seqno: 19906
    4409682
  sequence error - lastSeqno: 20246, seqno: 20306
    4410023
  sequence error - lastSeqno: 20646, seqno: 20706
    4410364
  sequence error - lastSeqno: 21106, seqno: 21448
    4410765
  sequence error - lastSeqno: 21845, seqno: 22304
    4411163
  sequence error - lastSeqno: 22644, seqno: 23106
    4411504
  sequence error - lastSeqno: 23446, seqno: 24306
    4411845
  sequence error - lastSeqno: 24646, seqno: 25107
    4412186
  sequence error - lastSeqno: 25853, seqno: 26308
    4412933
  sequence error - lastSeqno: 26648, seqno: 26708
    4413274
  sequence error - lastSeqno: 27048, seqno: 27107
    4413615
  sequence error - lastSeqno: 27447, seqno: 27506
    4413956
  sequence error - lastSeqno: 28274, seqno: 28710
    4414725
  sequence error - lastSeqno: 29446, seqno: 29506
    4415462
  sequence error - lastSeqno: 29846, seqno: 29904
    4415803
  sequence error - lastSeqno: 30244, seqno: 30707
    4416144
  sequence error - lastSeqno: 31047, seqno: 31106
    4416485
  sequence error - lastSeqno: 31446, seqno: 31504
    4416826
  sequence error - lastSeqno: 32245, seqno: 32355
    4417568
  sequence error - lastSeqno: 32695, seqno: 33105
    4417909
  sequence error - lastSeqno: 33445, seqno: 33559
    4418250
  sequence error - lastSeqno: 33899, seqno: 33904
    4418591
  sequence error - lastSeqno: 34643, seqno: 35104
    4419331
  sequence error - lastSeqno: 35844, seqno: 35904
    4420072
  sequence error - lastSeqno: 36244, seqno: 36314
    4420413
  sequence error - lastSeqno: 36654, seqno: 36706
    4420754
  sequence error - lastSeqno: 37046, seqno: 37503
    4421095
  sequence error - lastSeqno: 37843, seqno: 38305
    4421436
  sequence error - lastSeqno: 39043, seqno: 39105
    4422175
  sequence error - lastSeqno: 39445, seqno: 39905
    4422516
  sequence error - lastSeqno: 40245, seqno: 40305
    4422857
  sequence error - lastSeqno: 40645, seqno: 40704
    4423198
  sequence error - lastSeqno: 41105, seqno: 41447
    4423600
  sequence error - lastSeqno: 42299, seqno: 42641
    4424453
  sequence error - lastSeqno: 43042, seqno: 43098
    4424855
  sequence error - lastSeqno: 43438, seqno: 43902
    4425196
  sequence error - lastSeqno: 44242, seqno: 44298
    4425537
  sequence error - lastSeqno: 44638, seqno: 45102
    4425878
  sequence error - lastSeqno: 45841, seqno: 46302
    4426618
  sequence error - lastSeqno: 46642, seqno: 46718
    4426959
  sequence error - lastSeqno: 47058, seqno: 47500
    4427300
  sequence error - lastSeqno: 47840, seqno: 48301
    4427641
  sequence error - lastSeqno: 48746, seqno: 49088
    4428087
  sequence error - lastSeqno: 50241, seqno: 50699
    4429241
  sequence error - lastSeqno: 51039, seqno: 51114
    4429582
  sequence error - lastSeqno: 51454, seqno: 51899
    4429923
  sequence error - lastSeqno: 52239, seqno: 52300
    4430264
  sequence error - lastSeqno: 53041, seqno: 53100
    4431006
  sequence error - lastSeqno: 53440, seqno: 53499
    4431347
5000000
^C2015-11-20 20:37:44 sigHandler: Unhandled signal 2, terminating

#####################################################
If you didn't request stats please cut & paste the
following and e-mail to<EMAIL_ADDRESS>pigpio version=40 internals=200
micros=1 allocMode=0 dmaInitCbs=1 DMARestarts=0
samples 5353507 maxSamples 800 maxEmit 800 emitFrags 13315
cbTicks 12336, cbCalls 13373
pipe: good 26586, short 0, would block 101
alertTicks 13350, lateTicks 11, moreToDo 11
        0         0         0         0         0         0         0         0         0         0         0         1         0         0         0         0         0         0         0         1        45       218       902      2792     42388    978341     42108      2716       826       218        55        23        13         4         7         2         0         3         6        12        13        12         9         0         1         0         1         0         0         0
#####################################################

However, as already mentioned, the original test program is silly as it reads the notifications one by one. Reading up to 1000 at the same time gives far better results.
The test code here is implemented in C for demonstration purposes. In reality, I'm using pigpio from a Node.js addon. Unfortunately, reading as many notifications as possible from the pipe in Node.js doesn't really improve things. The pipe is still being filled before it's emptied. If I'm not mistaken, the pipe has the default pipe size which is 65536 bytes. This is enough space for 65536/12=5416 notifications. The Node.js test program receives 80,000 notifications per second (unlike the C program above which receives 200,000 notifications per second). This means the pipe fills in 65536/12/80000=0.068 seconds, or 68 milliseconds. What I have noticed is that increasing the pipe size to 1048576 (the max possible) results in huge improvements for the Node.js code. There are no longer any sequence number errors and 80,000 notifications per second are easily handled.
The pipe size was modified by adding the following code
fcntl(fd, F_SETPIPE_SZ, 1048576);

directly after this line of code in pigpio.c
fd = open(name, O_RDWR|O_NONBLOCK);

Is there a way to configure the size of the pipe used for pigpio notifications?

Do you do the open from C?  I've briefly considered adding a parameter to gpioNotifyBegin but I'd rather leave that interface alone.
My current preference is for a new function gpioNotifyBeginWithSize taking a single parameter bufSiz.  0 for default, otherwise byte size.  Would that suit you?
I am unlikely to export that beyond the C interface (at least until and unless I do a general tidy-up).

Do you do the open from C? I've briefly considered adding a parameter to gpioNotifyBegin but I'd rather leave that interface alone.

I'm calling gpioNotifyOpen and gpioNotifyBegin from C++ which is more or less the same as calling them from C.

My current preference is for a new function gpioNotifyBeginWithSize taking a single parameter bufSiz. 0 for default, otherwise byte size. Would that suit you?

A new function that takes a parameter specifying the pipe size would be excellent and would suit me perfectly. I would have expected the new function to be called gpioNotifyOpenWithSize rather than gpioNotifyBeginWithSize as gpioNotifyBegin starts notifications on a previously opened handle, already has two parameters, and can be called multiple times for the same handle.

The name was a typo on my part.
Provisionally I'll make the following change.
int gpioNotifyOpenWithSize(int bufSize)
{
   int i, slot, fd;
   char name[32];

   DBG(DBG_USER, "");

   CHECK_INITED;

   slot = -1;

   for (i=0; i<PI_NOTIFY_SLOTS; i++)
   {
      if (gpioNotify[i].state == PI_NOTIFY_CLOSED)
      {
         gpioNotify[i].state = PI_NOTIFY_OPENED;
         slot = i;
         break;
      }
   }

   if (slot < 0)
      SOFT_ERROR(PI_NO_HANDLE, "no handle");

   sprintf(name, "/dev/pigpio%d", slot);

   myCreatePipe(name, 0664);

   fd = open(name, O_RDWR|O_NONBLOCK);

   if (fd < 0)
   {
      gpioNotify[slot].state = PI_NOTIFY_CLOSED;
      SOFT_ERROR(PI_BAD_PATHNAME, "open %s failed (%m)", name);
   }

   if (bufSize != 0)
   {
      i = fcntl(fd, F_SETPIPE_SZ, bufSize);
      if (i != bufSize)
      {
         gpioNotify[slot].state = PI_NOTIFY_CLOSED;
         SOFT_ERROR(PI_BAD_PATHNAME,
            "fcntl %s size %d failed (%m)", name, bufSize);
      }
   }

   gpioNotify[slot].seqno = 0;
   gpioNotify[slot].bits  = 0;
   gpioNotify[slot].fd    = fd;
   gpioNotify[slot].pipe  = 1;
   gpioNotify[slot].max_emits  = MAX_EMITS;
   gpioNotify[slot].lastReportTick = gpioTick();

   closeOrphanedNotifications(slot, fd);

   return slot;
}

int gpioNotifyOpen(void)
{
   return gpioNotifyOpenWithSize(0);
}

Excellent, thank you very much. I'll add the modification to my installation and let you know how it goes.

I added the modifications to my installation and things are looking good :)
Two tests were performed from Node.js with bufSize set to 1048576.
The first test was 80,000 notifications per second with additional load (scp 4GB of files from a PC to the Pi 2.) Everything went well, there were no sequence number errors, every level change appears to have been detected, and the stats said that pipe would block was 0. The test ran for about 9 minutes. 44,014,932 notifications were processed.
The second test was 200,000 notifications per second without additional load. Everything went well, there were no sequence number errors, every level change appears to have been detected, and the stats said that pipe would block was 0. The test ran for a little over 8 minutes. 100,000,307 notifications were processed.

As expected, the modified version of gpioNotifyOpen functions correctly too.

I'll probably push out another release later on today (Sunday).

:+1:

Proposed change added to V41.
By the way they seem to be pretty impressive figures you are getting with Node.js.
One word of caution, I wouldn't recommend the use of the 1µs sampling rate in general.  It's something I would only use if there was no other way of detecting edges.  It puts an appreciable strain on the system.

I just gave it a try and all looks well at 200,000 notifications per second. Up to 300,000 per second should work in Node.js, but there won't be much time left for doing much with them. The 1µs sampling rate was used in the tests as that's what was being used previously. I'll do some tests with other sampling rates.
One thing that I noticed with V41 compared to V40 is that the performance of gpioRead and gpioWrite appears to have dropped by about 50%. With V40 about 1,200,000 calls per second were possible from Node.js. With V41 it's about 600,000 calls per second. I haven't checked to see why this is the case but is there a V41 change that would explain it? It's not something that bothers me and it may be related to the JavaScript/Node.js side of things.
Once again, thanks a million.

No changes were made to gpioRead/gpioWrite.  Unfortunately it's not the sort of thing I benchmark.  Was it just a busy loop spin?  If you give me an idea of how you were calculating the figures I'll see if I can replicate your results.

Yes, it was just a busy loop spin in JavaScript, for example here's the test for gpioRead: https://github.com/fivdi/pigpio/blob/master/test/digital-read-performance.js
Is V40 still available for download somewhere? I can double check to see if the figures are correct.

I'm sure github has a way, may be simpler to download a zip from http://abyz.co.uk/rpi/pigpio/VERSIONS/

Ok, thanks, I'll compare V40 and V41 to see what the figures are.

The performance issue isn't related to pigpio. It appears to be related to the number of fields in objects used by the V8 JavaScript engine.

Thanks for the update.

Is V40 still available for download somewhere? I can double check to see if the figures are correct.

For anyone who wants to look at this code in the privacy of their own system they can grab a local copy of the code with:

git clone https://github.com/joan2937/pigpio.git ./pigpio/ in your ~/src/ directory then change into the newly built local repository.
Start up a copy of gitk other git management applications are available!.
Select the text describing the commit at that point on the history and right click to Create a branch - give it a suitable name.
Select the branch name (may need to Update / Reload the view using commands on the File menu) - then  right click and Check out this branch.

The directory will than contain a local copy of the files as they were when that commit was made...

Read up on git - noting that git {any git command} --help should bring up the manpage in a terminal window {that being a little quicker to type than man git-{any git command} if you have command line editing in place and are part way through typing a command that you need help with! :grinning:

To store changes you will also want git gui and git fetch installed / available - these two and gitk can call and will interoperate with each other.
Hope that brief start up guide is of use.
Oh, and if you wish to publish stuff for @joan2937 to use you can use the "Fork" command here to make your own copy here on github and use the git remote command to add your fork of this repository into your local system and then push to that and invite Joan to use your contributions with a "Pull Request" here.

You should be able to get particular versions using the appropriate git commit hash.  Alternatively I publish the versions at http://abyz.co.uk/rpi/pigpio/VERSIONS/ as ordinary zip/tar files.


Help Thomas Get Started with SAP HANA Cloud

Tutorials: https://developers.sap.com/tutorials/hana-trial-advanced-analytics.html
Write here what you need help with ...
I found this tutorial very useful for getting to grips with the new look  SAP Cloud Interface , particularly the Business Application Studio.  I think it would make a good Pre Requisite Tutorial to the Mission
"Use Clients to Query an SAP HANA Database "

Thanks for the kind words regarding this tutorial and I'm glad you found it helpful. I don't own the Use Clients... tutorial, but I can reach out to the author and ask if they want to add a link to this tutorial in their prerequisites section.


Consideration to add more info on install usage when multiple packages match

When installing in winget, if your install query results in multiple matches you receive an error "Multiple apps found matching input criteria. Please refine the input."
The docs mention this case but don't give a prescribed way to get beyond it (i.e. "winget install PowerShell -e").
I've noticed this to be a pretty frequent case on most apps I've installed, as many apps have multiple release channels (beta, stable, hyper-stable).

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

ID: 73bd6478-de0f-6aa9-fb31-0818abdb7f68
Version Independent ID: f5ff6ecd-0231-d438-7301-6eb20863ec50
Content: install Command
Content Source: hub/package-manager/winget/install.md
Product: dev-environment
Technology: ****
GitHub Login: @KevinLaMS
Microsoft Alias: kevinla

$#root✓
On Wed, May 27, 2020, 7:24 PM Shane Chism<EMAIL_ADDRESS>wrote:

When installing in winget, if your install query results in multiple
matches you receive an error "Multiple apps found matching input criteria.
Please refine the input."
The docs mention this case but don't give a prescribed way to get beyond
it (i.e. "winget install -e PowerShell -e").
I've noticed this to be a pretty frequent case on most apps I've
installed, as many apps have multiple release channels (beta, stable,
hyper-stable).
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com
http://docs.microsoft.com ➟ GitHub issue linking.

ID: 73bd6478-de0f-6aa9-fb31-0818abdb7f68
Version Independent ID: f5ff6ecd-0231-d438-7301-6eb20863ec50
Content: install Command
https://docs.microsoft.com/en-us/windows/package-manager/winget/install
Content Source: hub/package-manager/winget/install.md
https://github.com/MicrosoftDocs/windows-uwp/blob/docs/hub/package-manager/winget/install.md
Product: dev-environment
Technology: ****
GitHub Login: @KevinLaMS https://github.com/KevinLaMS
Microsoft Alias: kevinla

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-uwp/issues/2496, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLE5UGDEPGAXDJXGMI5S5DRTWHIZANCNFSM4NMRSJQA
.

Thanks for your feedback. We added some information to this section of the docs to help clarify this.

#TODOS
CONTRA814714
CPRONA VIRUS.
--
Renato Nunes Achkar

Thanks
'claro.com.br'
Em sáb, 27 de jun de 2020 12:31, Renato Nunes Achkar<EMAIL_ADDRESS>escreveu:

#TODOS
CONTRA814714
CPRONA VIRUS.
--
Renato Nunes Achkar

'APACHE 2.0'='2020-06-28 <IP_ADDRESS>.55.
Em sáb, 27 de jun de 2020 12:33, Renato Nunes Achkar<EMAIL_ADDRESS>escreveu:

Thanks
'claro.com.br'
Em sáb, 27 de jun de 2020 12:31, Renato Nunes Achkar<EMAIL_ADDRESS>escreveu:

#TODOS
CONTRA814714
CPRONA VIRUS.
--
Renato Nunes Achkar

Em sáb, 27 de jun de 2020 12:38, Renato Nunes Achkar<EMAIL_ADDRESS>escreveu:

'APACHE 2.0'='2020-06-28 <IP_ADDRESS>.55.
Em sáb, 27 de jun de 2020 12:33, Renato Nunes Achkar<EMAIL_ADDRESS>escreveu:

Thanks
'claro.com.br'
Em sáb, 27 de jun de 2020 12:31, Renato Nunes Achkar<EMAIL_ADDRESS>escreveu:

#TODOS
CONTRA814714
CPRONA VIRUS.
--
Renato Nunes Achkar


Cannot open remote file trump/ssh

What did you expect to happen?
I would expect to be able to open a remote file using C-x C-f,  /ssh:user@host:/path.
What actually happened?
Nothing, couldn't open remote file. The default emacs configuration is not affected.
Additional details:
From the messages buffer I have:
Error in post-command-hook (ivy--queue-exhibit): (user-error "Modules are not supported")
user-error: Modules are not supported

If an error message is involved include a backtrace of it.
How to acquire a backtrace:
https://github.com/hlissner/doom-emacs/blob/develop/docs/getting_started.org#how-to-extract-a-backtrace-from-an-error

Steps to reproduce:

Select these example steps,
Delete them,
And replace them with precise steps to reproduce your issue.
Fill in "system information" below.

System information:

((emacs
  (version . "26.1")
  (features . "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD LCMS2")
  (build . "set 23, 2019")
  (buildopts "--build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-StqULU/emacs-26.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro")
  (windowsys . batch)
  (daemonp))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop, origin/develop, origin/HEAD 4b20c7206 2020-03-13 17:34:44 -0400")
  (dir . "~/.doom.d/"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/bin/zsh")
  (uname . "Linux 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64")
  (path "~/.yarn/bin" "~/.local/bin" "~/.cargo/bin" "/usr/local/bin" "/usr/bin" "/bin" "/usr/games" "/usr/lib/emacs/26.1/x86_64-linux-gnu"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) pretty-code tabs treemacs unicode vc-gutter vi-tilde-fringe window-select workspaces zen :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets :emacs dired electric ibuffer vc :term eshell term :checkers syntax spell grammar :tools editorconfig (eval +overlay) (lookup +docsets) magit :lang assembly cc common-lisp data emacs-lisp go (haskell +dante) javascript latex markdown (org +dragndrop +hugo +jupyter +present) python qt rst rust sh web :config (default +bindings +smartparens))
  (packages (flyspell-lazy) (prettier-js) (org-fancy-priorities) (origami) (org-super-agenda) (org-brain) (ascii-art-to-unicode) (bazel-mode) (dockerfile-mode))
  (unpin "n/a")
  (elpa "n/a")))

is it related to emacs not being compiled with --with-modules?

I fixed the issue by removing the debian package and compiling emacs with --with-modules.


Invalid recipes

Bug description:

It seems that there are some issues when downloading new services. The recipes are invalid.
I try to add a new service as follows:

Click on "Add new service"
Fetch for a service (Feedly for example) and click on it
Nothing happens

Watching the console inside the Developers Tools, I can see the following:

/home/<user>/.config/Ferdi/recipes/temp/feedly/package.json: ENOENT: no such file or directory, open '/home/<user>/.config/Ferdi/recipes/temp/feedly/package.json

Also, the file /home/<user>/.config/Ferdi/recipes/temp/feedly/recipe.tar.gz has been downloaded, which is in fact a JSON file:
{"message":"Recipe not found","code":"recipe-not-found","recipeId":"feedly"}

I've seen this behaviour for some services (not all of them). I haven't checked every single service in the catalog:

Services in which I have encountered this issue:

Feedly
Fleep
Airtable
Evernote
...

Services without issues:

Github
Instagram
...

Environment:

Operating System: 5.4.105-1-MANJARO
Ferdi Version: 5.5.0 (from Official Repositories of Arch Linux - Community)
Server: https://api.getferdi.com - With & without an account

Happening for me as well with Manjaro, but with local server

This is unfortunately a problem with Ferdi 5.5.0 and the new recipe book. Can you try upgrading to a Ferdi 5.6 beta to see if that fixes it?
We are currently in the process of finally releasing 5.6 but our build chain is causing some problems.

@Rovaro , @BlueDrink9 : Could you please try the step that @vantezzen suggested? And get back to us whether this is still a problem or not? IF so, we will try to prioritize it and get it solved asap.

Problem seems gone for me using ferdi-manjaro-5.6.0.beta.5.r150.g0aaaaeb1-1.1

@Rovaro - could you also please confirm? We can then close this ticket.

I've moved to ferdi-bin 5.5.0-3 (AUR repositories, as commented in https://github.com/getferdi/ferdi/issues/1267#issuecomment-814602733) and it works for me now :ok_hand:.


Cannot run make_graphfeat.sh script

Hi @linminhtoo, thank you for the work! I'd like to reproduce the results of the paper thanks to the README file. I'm trying to generate graph features (as they are not in the google drive, contrary to your statement "We again provide them in our Drive") but I cannot execute bash scripts/retrosim/make_graphfeat.sh as it raises the following exception:
File "trainEBM.py", line 477, in main
    raise ValueError(f"Model {args.model_name} not supported!")

I've looked at the history of the sh files and the trainEBM.py file and I guess it's simply a problem in trainEBM.py not properly dealing with the case where model_name = None?

hello @VincentBt , sorry for my late reply.
Yes, you are right - we decided not to upload the graph feats anymore (we used to) because they take up too much space and it's easier to just generate them from scratch. I've made a PR to remove that incorrect statement in the README.
As for the generation itself, you're also right, the bash script has incorrect arguments, somehow (it definitely was working before, hahaha...).
It's been a long time since I last ran it, but the idea is the PyTorch Dataset class we've defined will always attempt to precompute (or load precomputed files from disk) whenever it's initialised, see the entire class here: https://github.com/coleygroup/rxn-ebm/blob/1919eeccdd31e16ec7a44478b756bcd974c35a3c/rxnebm/data/dataset.py#L106-L107 (this line calls the precompute function) https://github.com/coleygroup/rxn-ebm/blob/1919eeccdd31e16ec7a44478b756bcd974c35a3c/rxnebm/data/dataset.py#L164
now, i admit it's a convoluted way of doing it (back when i was still young in college...), but the idea is to run trainEBM.py such that we reach the part where the Dataset gets initialised, which then triggers the graph feat precompute function. if we really only want to make the graphfeats, then we could set the training epochs to 0 so that no training happens. alternatively, this also means that if you attempt to run an actual graphEBM training, the code should do the graphfeat precomputation needed to make the training happen. just make sure to give the correct paths to store the graphfeats so you won't have multiple copies of those massive files on your storage (or HPC cluster)

Hello @VincentBt , I wanted to check in if you're still facing any other issues with using our work? :)


Cannot download dependencies from https://www.jetbrains.com/intellij-repository/...

#211
Is https://www.jetbrains.com/intellij-repository/... closed?
I tried to install gradle.plugin.org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.2.15, but I can't download idealC-LATEST-EAP-SNAPSHOT.zip from this website.
Could you move the dependencies from https://www.jetbrains.com/intellij-repository/... to http://dl.bintray.com/jetbrains/... ?

OK, I configure intellij.localPath to workaround it.

https://github.com/JetBrains/gradle-intellij-plugin/issues/211#issuecomment-318588168


Double dot (..) in the middle of path

What to do about . and .. in the middle of path abbreviation? With .. in paths the results would be too unpredictable. Are there any situations when .. show up in path? The user probably wouldn't type it but a command line tool could return such path.

I see double dots in filenames all the time when users create files on Windows where filename extensions are hidden by default. For example, when dealing with personal names: Truman, Harry S..pdf, Truman, H.S..pdf - Windows users just never see the .pdf at the end so no double-dots for them :)

Thanks for the issue. Fortunately there is no problem with that case. By . and .. I meant path components 'current dir' and 'parent dir'. For now users can only put . and .. in the beginning of the path, like so:
kn ./../siblingfolder

However, I'm not sure whether kn should allow for abbreviations with the .. component in the middle i.e. foo/bar/../baz. Such abbreviation would cause kn to search for dir matching baz, which has a sibling matching bar, both in dir matching foo. If bar was a symlink, that would be even more complicated.


Shai: Add support for loading models

Closes #1114
Main addition
This adds the RPC loadModel to Shai. This allows clients to send a spec (and
optional auxiliary modules) to receive the spec back as the JSON encoding of our
IR.
It also loads the TlaModule resulting from a successful parse into the
connection map. This will be used in subsequent work (e.g., #1958) to enable
clients to interactively explore the specified model.
Supporting work
This change is facilitated by addition of the following to the TransExplorerService:

A semaphore scoped over all methods in the service, allowing us to synchronize
atomic invocation of SANY.
Helper methods to abstract getting and updating connections stored in the map.

Reviewing
See individual commits for details and to see the evolution of the work, but
it's probably easiest to review all at once, because the code took many shapes
as I worked out what changes were needed to Apalache's CLI and Pass system to
enable this feature.

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[x] Documentation added for any new functionality
[x] Entries added to ./unreleased/ for any new functionality

Codecov Report

Merging #1855 (a7de340) into unstable (b9f2d4a) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           unstable    #1855      +/-   ##
============================================
- Coverage     76.74%   76.71%   -0.04%
============================================
  Files           388      390       +2
  Lines         11991    12001      +10
  Branches        563      574      +11
============================================
+ Hits           9203     9207       +4
- Misses         2788     2794       +6

Impacted Files
Coverage Δ

.../src/main/scala/at/forsyte/apalache/tla/Tool.scala
0.00% <0.00%> (ø)

...t/forsyte/apalache/tla/tooling/opt/ServerCmd.scala
0.00% <ø> (ø)

...ain/scala/at/forsyte/apalache/shai/RpcServer.scala
0.00% <0.00%> (ø)

...t/forsyte/apalache/shai/TransExplorerService.scala
100.00% <ø> (ø)

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 b9f2d4a...a7de340. Read the comment docs.

Looking at the type alias Result[T] = ZIO[ZEnv, Status, T]:
* The failure type here is a `grpc.Status`, which encodes both success and failure codes.

* Similarly, the success type parameter `T` is set to `LoadModelResponse`, which holds a tagged union of either a JSON module on success or a string error on failure. It's also set to `Either[Throwable, TlaModule]`.

It looks like there's three levels of failures:
* at the effect-system level

* at the success type level (`Either`)

* at the level of the returned protobuf (`LoadModelResponse`)

Can you give an explanation of when to use which?

So the Either used here is only for internal purposes, and is not exposed as part of the API. There are only two levels of error exposed to users of this module:

ZIO Status errors are for problems with the grpc connection, so the equivalent of 400 or 500 http errors. These are protocol-level errors. As you can see, in this code we have promoted inclusion of valid of connection IDs to the protocol level. A failure here means the interaction cannot move forward. I.e., a failure at this level means the RPC system is being used incorrectly (or is faulty).
The protobuf level errors are for communicating success/failure data to users in the context of successful RPC calls. So if you successfully execute a "parse spec" RPC but the result is that the spec is syntactically invalid, you receive an error results in the protobuf message sent backs as a response.

The use of Either you notice just represents a possibly erroneous computation internal to the server, and any Left here is handled internally. In this case, we transform it into a protobuf message error reporting on the parsing failure:
https://github.com/informalsystems/apalache/blob/bbc4f7686649b1ab37e98542ee62963ed7be23bf/shai/src/main/scala/at/forsyte/apalache/shai/TransExplorerService.scala#L90-L91
Does this help clarify? (If so, i'll add it to the readme for the project.)

Thanks for the great questions and review, @thpani! I added documentation to record the salient points from our discussion in 6b9eaf4706e48d88b4ff38b5502d8cc261992afb


Deploy a CAP Business Service to SAP Business Technology Platform

Tutorials: https://developers.sap.com/tutorials/cap-service-deploy.html
Issue: Connection to HANA DB is failing, leading to deployment failure
Steps to reproduce: -
Follow the tutorial with the mentioned prerequisites.
In step 3. Deploy using cf deploy:
2. Deploy the archive using cf deploy:
cf deploy gen/mta.tar
The above command fails with the below error:

And the result in the cockpit is the following:

The deployed Apps with error:

The my-bookshop app:

Also, the connection is refused when I try to log into my HANA DB from the cockpit:

Please look into the issue as the tutorial/deployment fails.
Labels to be added:
Scenario label: SCPTest-banode
Sprint Label: SCPTest-2301A
Landscape Label: trail2
Priority: High
Thanks and Regards,
Farozan

Hi @FarozanFarman,
I was ooo for a while, that's why I just noch get back to your issue.
I'll check that, but to be honest, it seems like a (temporary?) HANA DB issue and not a CAP issue to me. Have you retried it again after opening this issue?
All the best,
René

Hi @renejeglinsky ,
Even I was OOO for last 2 weeks. But my colleague<EMAIL_ADDRESS>tested the scenario. She also faced the same issue. Please have a look at the earliest.
Thanks and Regards,
Farozan

Hi @FarozanFarman ,
I'll check it. Thanks!

Hi @FarozanFarman ,
we found that you need to add the following property to your xs-security.json file to enable the authentication flow properly:
"oauth2-configuration": {
    "redirect-uris": ["*.cfapps.us10-001.hana.ondemand.com/**"]
}

This example is specific to the example you provided. For other region/landscapes you'd need to adapt the value for redirect-uris accordingly.
All the best,
René


add ability to do a clean register

@ibuildthecloud @deniseschannon  add ability to do a clean registration.(rm -rf * /var/lib/rancher).


Plain (No-Auth) War file

Refactoring to include a plain (no-auth) war file
applya flat role model (just users), if desired, on the new WAR
Keycloak and roles are still supported
Version bump to 2.0.0
Docker DEV Image for the "plain" image

MISSING: Docker dev image for the traditional KC war...

Looks great. Verification steps before we merge that?

@wtrocki the no-auth plain case is:
The quickest is:
mvn clean install -DskipTests && docker run -p 18081:8080 -it aerogear/ups:plain

than go to http://localhost:18081/ and create an Application.
in the log you should see some:
...
14:11:52,506 DEBUG [org.jboss.aerogear.unifiedpush.service.impl.SearchManager] (default task-1) Running outside of Keycloak context
...

NOTE: I am now working on a container for UPS-KC :)

@matzew Verified locally. I can see the in the logs:
08:24:42,626 DEBUG [org.jboss.aerogear.unifiedpush.service.impl.SearchManager] (default task-2) Running outside of Keycloak context
08:24:42,627 DEBUG [org.jboss.aerogear.unifiedpush.service.impl.SearchManager] (default task-2) Running without any Auth context

Creating an application and variant worked. The only thing is that the log is full of those messages, but that should be fine in production when the DEBUG level is not visible.


Fix cycle bug for large pipelines

Also new updated example for multivariate time series forecasting was added.
Obsolete example in industrial case deleted

А cобственно cycle bug исправлен за счет увеличения MAX_DEPTH?


feat(sqlsmith): add execution mode for longevity testing

Add a separate mode which generates and performs many different operations over a longer time, as a separate execution mode.
Currently sqlsmith only operates with CREATE MVIEW / Selects.
Only work on this after supporting gen inserts.

Better approach here: https://github.com/risingwavelabs/risingwave/issues/5331 and here: https://github.com/risingwavelabs/risingwave/issues/5330


MultiPolygon support for mask_polygon

https://github.com/Open-EO/openeo-processes/blob/75059c6566a7c8951d04467665252e74d5bb9c3a/mask_polygon.json#L20

A GeoJSON object containing a polygon. The provided feature types can be one of the following:
A Polygon geometry,
a GeometryCollection containing Polygons,
a Feature with a Polygon geometry or
a FeatureCollection containing Features with a Polygon geometry.

Why is MultiPolygon not allowed, but GeometryCollection is, while they are equivalent in the context of masking?
Related: aggregate_spatial describes behavior for points and lines as well, so it might make sense to also copy that to mask_polygon. I vaguely remember we discussed this before, but I can't reference right now.
As far as I could recover from git, the whitelist was there from the start (added in #20), but I can't find a reason for the excluded types.

MultiPolygon should indeed be allowed, I think.
I'm actually thinking, why not just make the process mask_spatial and allow all geometries as defined also in aggregate_spatial?

Probably something to do together with the vector data cube update for #68 as this would change the process anyway.

why not just make the process mask_spatial and allow all geometries as defined also in aggregate_spatial?

I'm not sure, for masking you also have mask for masking with a raster mask, which is also spatial, so mask_spatial would be confusing. It could make sense to go for mask_geometry though.

Don't really see why this moved from a very simple, backwards compatible, update to the spec, to a breaking change?
Breaking changes really require a lot more motivation than what we have here. (The last rename of masking processes caused quite a bit of breakage, time loss and subsequent complaints from my users, hence the concern.)

yes indeed, I just wanted to raise the question about why certain geometry types are excluded for mask_polygon (in VITO backend we do support MultiPolygon for example).
The discussion about rename is something else and a lot lower priority for me

Strictly speaking, adding Multipolygon is also a breaking change. It "breaks" interoperability with back-ends that do not update to follow to implement the new version with MultiPolygon. Nevertheless, it feels like we have somehow converged towards calling only user-facing changes breaking?
Anyway, I have tagged this as both "minor" and "breaking", which means we could consider the addition of Multipolygon in v1.1 and later - once we decide to do more breaking changes anyway - do the rename. The reason for the rename would be that mask_polygon is unintuitive if it allows all kinds of geometries and it would deprecate mask_polygon and add the new process.

#103 #110:  here we did the split between mask and mask_polygon  (which was a single process previously)

Ah, I see...
Another question is whether the integration of #68 would actually allow us to remove the special case of GeoJSON from processes and simply allow vector cubes (i.e. deprecate mask_polygon). They could be created with "get_vector" (whatever name it will have; see the python driver PR) and used in mask instead of directly passing GeoJSON to mask_polygon. But that is something that will arise from discussions around #68.

Adding MultiPolygon support to the  mask_polygon spec doesn't seem like a breaking change.
Very strictly speaking you could argue that it is indeed ("breaks interoperability"), but then every new feature or process is a breaking change, no?

I've opened PR #242, but before merging, I'd like to clarify what the direction is wrt such changes.
Adding new processes doesn't feel like a breaking changes as there's no requirement to implement all processes. Also, this case is a bit different in that the change is just in a description and is not exposed in a machine-readable way through schemas...

Interesting indeed to have the discussion about breaking changes. Let me try to illustrate what the impact is of both scenario's:
Scenario 1: Process definition is extended to support more inputs
Scenario 2: A new process, more broadly defined, process is created, old process is deprecated.
Scenario 1 impact:

Hey user, your script now supports multipolygons on backends that implement the change, on the other ones, your script will work, but not for multipolygon. You don't have to do anything. User goes: thank you.
If a backend does not (yet) support the new feature, and user wants those multipolygons-> user logs a request for improvement, all users coming after that benefit from the change.

Scenario 2 impact:

Hey user, we have a new feature, that is supported on some backends, but you'll have to adjust your process graphs to work with backends that have the new process. On the other backends, your script can work, with the old version of the code, until the backend supports the new process. User goes: sounds complex, do I really need those multipolygons?
Same as scenario 1: user has to request support for the entirely new process, both in backends and in clients.
But then there's documentation. All of the documentation and scripts floating around the internet, referencing the deprecated process will no longer be valid. All documentation and all sample code will have to be updated -> this part usually doesn't work out.
Which brings me to the last point: the user support channel will spend the next two years getting questions like: hey, I'm using this mask_polygon code snippet, and it doesn't work with multipolygon. Support guy has to stay patient, and tell the user that he in fact found an older recommendation, and should update his code, which may actually evoke a not so kind reaction from the user. Then the support guy has to track down the deprecated code sample, and manage to get it removed or updated...

Let me know if I missed something, but based on this, I really prefer scenario 1 as it keeps the general level of annoyance in a community a bit lower.

The scenarios do not fully reflect the discussion above: Just for the multi polygons there was no name change proposed, see the corresponding PR. Scenario 2 was meant to also add support for all other geometries (line, point, ...), which would add to scenario 1 support channel cases where a user doesn't find the right process as it's called mask_polygon, while it may support points and lines.
Scenario 1 also doesn't fully go into the "change the back-end" use case. In scenario 2 it is easier to detect why a process is not running (process not available), while in scenario 1 you need to either go into details with the process specification to figure out changes from the description or the schema or run it to find out why it's not working on another back-end. That would also lead to support channel cases.


Precompute serialized symbols

Superseded by https://github.com/runtimeverification/llvm-backend/pull/978


[MLlib] [PySpark] PySpark DenseVector, SparseVector implement hash method.

PySpark DenseVector, SparseVector implement __hash__ method.

Merged build triggered.

Merged build started.

Test build #40768 has started for   PR 8167 at commit 8c7ebf1.

Test build #40768 has finished for   PR 8167 at commit 8c7ebf1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merge this with #8166, so close this.


[language] add support for declaring validator accounts in functional…

… tests
Testing features like reconfiguration and validator payments requires knowing which accounts belong to validators. This PR allows functional tests to declare validator accounts (e.g., "account: alice, 1000, 0, validator"). The testing framework will generate a validator set with either the number of declared validators (if any are declared) or, in the absence of declared validators, use the default behavior (currently, a validator set of size 10).
In testing this feature I found/fixed a bug in ValidatorSet.is_validator.

Motivation
See above--needed to test features that involve on-chain representation of validators.
Have you read the Contributing Guidelines on pull requests?
Indeed.
Test Plan
New E2E tests.
Related PRs
None.

:umbrella: The latest upstream changes (presumably e30e579797480ac044d7ff6a7c39d9289ddea41f) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=vgao1996

:pushpin: Commit 1e90b13 has been approved by vgao1996

:hourglass: Testing commit 1e90b13e18bc949cc96ea950a8f466e1a7f9c5ac with merge e6ae1dcc1a90942067a70bbb7b149ee8f7d50001...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: vgao1996
Pushing e6ae1dcc1a90942067a70bbb7b149ee8f7d50001 to master...


add plotting script for comparing clima and pycles les results

This is a jupyter notebook to plot clima and pycles LES results, and I may modify it accordingly as the format of clima LES output is changing.

Normally I'd suggest to convert this to a python file, but this is a visualization repo, so maybe notebooks are fine :)

bors r+

Normally I'd suggest to convert this to a python file, but this is a visualization repo, so maybe notebooks are fine :)

I'm happy to convert it to a python file. I guess it depends on what other people find more convenient to use. Just let me know!