Method expression can be null or undefined

Bug Report
typescript: 5.0.2
description: in vue3 project, use auto-imports.d.ts export function, typescript tip "Method expression can be null or undefined "

💻 Code
// setup
const route = useRoute();
const router = useRouter();

// auto-import.d.ts
const useRouter: typeof import('vue-router')['useRouter']

// ts infer
export const useRouter: (() => [Router](https://github.com/microsoft/TypeScript/issues/psi_element://Router)) | undefined

🙁 Actual behavior
infer error: Method expression can be null or undefined
🙂 Expected behavior
infer error: ''

"Method expression can be null or undefined" is not a message that TypeScript produces; this seems like a WebStorm problem judging by the screenshot.

On the other hand,

Cannot invoke an object which is possibly 'undefined'.

is an error that TypeScript produces, given a call foo() where foo is typed as (() => T) | undefined (like in the screenshot)

Right; I'm assuming that auto-imports.d.ts is something provided by WebStorm, but maybe it's something specific to vue, in which case if it exists, the types are wrong, otherwise, the error should be handled in the code.

Bug Report
typescript: 5.0.2 description: in vue3 project, use auto-imports.d.ts export function, typescript tip "Method expression can be null or undefined "
💻 Code
// setup
const route = useRoute();
const router = useRouter();

// auto-import.d.ts
const useRouter: typeof import('vue-router')['useRouter']

// ts infer
export const useRouter: (() => [Router](https://github.com/microsoft/TypeScript/issues/psi_element://Router)) | undefined

🙁 Actual behavior
infer error: Method expression can be null or undefined
🙂 Expected behavior
infer error: ''

i have the same problem, have u solved it?

Bug Report
typescript: 5.0.2 description: in vue3 project, use auto-imports.d.ts export function, typescript tip "Method expression can be null or undefined "
💻 Code
// setup
const route = useRoute();
const router = useRouter();

// auto-import.d.ts
const useRouter: typeof import('vue-router')['useRouter']

// ts infer
export const useRouter: (() => [Router](https://github.com/microsoft/TypeScript/issues/psi_element://Router)) | undefined

🙁 Actual behavior
infer error: Method expression can be null or undefined
🙂 Expected behavior
infer error: ''

i have the same problem, have u solved it?

i solve it when i use "typescript": "4.9.5"


Gh 734 useful operations

Should be merged in after gh-419, gh-93 and gh-467.

Codecov Report

Merging #780 into develop-0.7.0 will decrease coverage by 3.93%.
The diff coverage is 50.36%.

@@                 Coverage Diff                 @@
##             develop-0.7.0     #780      +/-   ##
===================================================
- Coverage             58.8%   54.87%   -3.94%
+ Complexity            2710     2395     -315
===================================================
  Files                  429      480      +51
  Lines                12478    11958     -520
  Branches              1425     1333      -92
===================================================
- Hits                  7338     6562     -776
- Misses                4557     4844     +287
+ Partials               583      552      -31

Impacted Files
Coverage Δ
Complexity Δ

...ov/gchq/gaffer/operation/impl/get/GetElements.java
78.26% <ø> (ø)
12 <0> (ø)
:arrow_down:

...va/uk/gov/gchq/gaffer/store/ValidatedElements.java
75% <ø> (ø)
4 <0> (ø)
:arrow_down:

.../gchq/gaffer/data/elementdefinition/view/View.java
69.07% <ø> (-0.66%)
19 <0> (-3)

...main/java/uk/gov/gchq/gaffer/store/StoreTrait.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

...n/java/uk/gov/gchq/gaffer/data/element/Entity.java
87.5% <ø> (ø)
16 <0> (ø)
:arrow_down:

...v/gchq/gaffer/data/TransformOneToManyIterable.java
80% <ø> (+3.63%)
7 <0> (+1)
:arrow_up:

.../koryphe/binaryoperator/KorypheBinaryOperator.java
0% <0%> (ø)
0 <0> (?)

...ava/uk/gov/gchq/gaffer/data/element/id/EdgeId.java
0% <0%> (ø)
0 <0> (?)

...chq/gaffer/commonutil/stream/GafferCollectors.java
0% <0%> (ø)
0 <0> (?)

...gov/gchq/koryphe/bifunction/AdaptedBiFunction.java
0% <0%> (ø)
0 <0> (?)

... and 222 more

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 848c812...6475cbe. Read the comment docs.


Normalize bpftrace(8) man page

This patch normalizes parts of the man page to be in line with the rest.

Ok, thanks.


Add a recently added filter to the browse page

I think this should work :crossed_fingers:
Changes proposed in this pull request:

add recent filter

/cc @hummingbird-me/staff

@synthtech have you tested locally that this is working?

I don't have a dev environment so I'm not able to test it unfortunately.

Ah okay - @vevix will have to take a look then!
On Jun 7, 2017, 2:55 PM -0700, synthtech<EMAIL_ADDRESS>wrote:

I don't have a dev environment so I'm not able to test it unfortunately.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


paths.gradle points to nsconfig.json - spawn ./gradlew EACCES

Environment

CLI: 7.0.6
Cross-platform modules: 7.0.0
Android Runtime: 7.0.0
iOS Runtime (if applicable): 7.0.0

Describe the bug
For unknown reasons the error spawn ./gradlew EACCES started to show up when building the android version of a plugin demo project. The plugin is linked in the package.json through its path, as it was before.
While looking in the files to find out why this is happening I've found many references to the old nsconfig.json file, I'm opening this issue in case the paths.gradle file needs to be updated in order to use the new nativescript.config.ts file.
To Reproduce
the error mentioned seem totally random, it happens after many builds. After doing some cleanup it started to work again. Now cleaning plugin & app project doesn't seem to help anymore.

Okay, I'm having this same error. Trying to update my plugins for ns 7.0

after two hours finally I've moved on... @dammynex maybe it will work for you too:

launch the build with ns build android --log trace
when it fails, go up in the log until you see something like this: `./gradlew "-p" "/home/user/your-project-path/platforms/tempPlugin/nativescript_google_maps_sdk" "assembleRelease" "-PcompileSdk=android-29" "-PbuildToolsVersion=30.0.2"
now reach /your-project-folder/platforms/android and launch `./gradlew "-p" "/home/user/your-project-path/platforms/tempPlugin/nativescript_google_maps_sdk" "assembleRelease" "-PcompileSdk=android-29" "-PbuildToolsVersion=30.0.2"

It's the same command reported in the logs...in my case by running that finally the apk was built without that f. error

@funder7 This did not work for me, I'm still getting same error

It worked for me just to build the apk, but not when calling ns run android --emulator --no-hmr, so yes, it's just to address the issue a little, but it doesn't solve the problem :/

Can you tell me which project is failing.   I've been using NS 7.0.10 CLI, and the 7.0.0 runtime on several projects and haven't seen any failures to build with Gradle (I also use Linux).

This has been fixed. Thanks @NathanaelA


Propagate Alarm from Edge to Central Platform

Description
I have multiple instances of edge deployed with multiple devices connected to it. I have Inactivity alarms for this devices and i want to propagate this alarms to be able to see them in the central platform that edge nodes are attatch to.
How can i do this?
Thanks in advance,

Disclaimer
We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.

Hello, @Borch97
To ensure alarms are propagated for creation or updates, you should configure your specific Edge Rule Chain to transmit alarms to the cloud. For users of Thingsboard Cloud, this configuration can be accessed at: https://thingsboard.cloud/edgeManagement/ruleChains.

Got it. Now it's working.
Thanks.


Documentation

Description

Documentation shows this. Never saw this.
Steps to Reproduce the Bug
./AGiXT.ps1
Expected Behavior
Documentation matches experience. Also, below you need an option for Python 3.12. Also, is latest stable considered latest?
Operating System

[ ] Linux
[X] Microsoft Windows
[ ] Apple MacOS
[ ] Android
[ ] iOS
[ ] Other

Python Version

[ ] Python <= 3.9
[ ] Python 3.10
[ ] Python 3.11

Environment Type - Connection

[X] Local - You run AGiXT in your home network
[ ] Remote - You access AGiXT through the internet

Runtime environment

[ ] Using docker compose
[ ] Using local
[ ] Custom setup (please describe above!)

Acknowledgements

[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of AGiXT.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Hello! Yes, I believe I need to update the screenshots in the documentation to reflect the PowerShell installer. The screenshot is of AGiXT.sh which is set up primarily to be used in Linux. I switched to a PowerShell installer for better cross platform use which has a slightly different selection.
For simplicity, I would recommend running option 1 for anyone who is not actively developing on the AGiXT platform.

If you already know the answer to that question is 3.10, why ask?

I thought the same thing about the Python version after reading the issue and updated the issue template: https://github.com/Josh-XT/AGiXT/commit/59f34445b7bedf4cbeedad14fab76e45bab2e033
Text Generation Web UI direct support is being phased out. You can still use it installing it separately but trying to keep up with their changes in our installer proved to be a bit difficult, so I stopped doing it and I don't know the status of if it works anymore because I don't personally use it anymore.
Text Generation Web UI and Stable Diffusion are in the process of being replaced by ezlocalai
The stable release is the latest released version currently.

Docs updated in #1128 - thank you for reporting the inconsistencies!


Why request only object style on component (NativeBase 2)?

Hi! Thanks for trying out NativeBase!
For v2, I not happy for once to change index style (StyleSheet) to object. And I cannot use array style on component NativeBase v2.
react-native, react and native-base version
"native-base": "2.0.7",
"react": "15.4.2",
"react-native": "0.41.2"

Expected behaviour
I want set style component with StyleSheet and array style.
Actual behaviour
Show log warning failed prop type Invalid prop 'style',  expected 'object'.
Steps to reproduce (code snippet or screenshot)
import React, { Component } from 'react';
import {
  Container, Header, Title,
  Content, Text, Body
} from 'native-base';

export default class TestComponent extends Component {

    render() {
        return(
            <Container>
                <Header>
                    <Body>
                        <Title>Test</Title>
                    </Body>
                </Header>
                <Container>
                    <Text style={styles.a1}>A1</Text>
                    <Text style={StyleSheet.flatten([styles.a1])}>A2</Text>
                    <Text style={[styles.a1,styles.a2]}>A3</Text>
                </Container>
            </Container>
        );
    }
}
const styles = StyleSheet.create({
    a1: { backgroundColor: '#00ff00'},
    a2: { marginLeft: 10}
});

Screenshot of emulator/device

Is the bug present in both ios and android or in any one of them?
I tried on simulator iOS.
Any other additional info which would help us debug the issue quicker.
If you disable protect style props on component I can use StyleSheet or array style.
Thank you.

Please check #510

Thanks for your feedback.


Irrelevant link in the error message

so, I still haven't debugged my error, but the error was that somehow I gave the wrong type to my port, and I get this link
http://guide.elm-lang.org/effect_managers/
asking me to please follow the guidelines there, which have absolutely nothing to do with the fact that I gave the port the wrong type. Please put some relevant information in there or change the link, because I just wasted about five minutes reading that, when I could have been working on solving my error.

   23 port setStorage : Model -> Html msg
   24
   25
   26 updateWithStorage : Msg -> Model -> Cmd -> ( Model, Cmd )
   27 updateWithStorage msg model cmds =
   28   let
   29     newModel =
   30       update msg model
   31   in
   32     ( model, Cmd.batch [ setStorage newModel, cmds ] )

This is the code, by the way, working on reproducing the todo list from memory. Not looking for anyone to solve my problem, just in case the code is relevant.

This is the finished code
   25 port setStorage : Model -> Cmd msg
   26
   27
   28 updateWithStorage : Msg -> Model -> ( Model, Cmd )
   29 updateWithStorage msg model =
   30   let
   31     ( newModel, cmds ) =
   32       update msg model
   33   in
   34     ( newModel, Cmd.batch [ setStorage newModel, cmds ] )

with that particular error solved...I found the answer to my problem (or at least the one that solved the error) here
Please consider changing this link to this url.

This is already fixed for the next compiler version.


Karma 0.13.16 introduces breaking changes (through core-js 2.0.0)

We recently noticed missing file names in the console output from grunt-contrib-jshint. Turns out that:

Karma 0.13.16 bumped core-js to 2.0.0
core-js is loaded by Karma's file-list.js (which in our case was loaded because we use grunt-karma)
core-js 2.0.0 includes String.prototype.bold, which clashes with the one provided by the 'colors' package, which grunt-contrib-jshint implicitly uses (link to issue)

Hopefully, noting this here saves other people using grunt-contrib-jshint and/or colors some trouble.
It could be argued that Karma should have bumped the minor version to 14 – even if the semver spec says otherwise. A look at the core-js changelog for 2.0.0 reveals a lot of breaking changes, and Karma doesn't just ships core-js, it loads it by default, so they kind of become breaking by association.

Hmm... color package replaces methods (not only bold), defined in the ECMAScript spec and enabled by default in the Node.js (core-js just try to call it for feature detection and should not replace it the Node.js), to... getter?O_o Sorry, it's definitely not core-js or karma issue. Sure, I can add a fallback for that, but color behavior here - something inadmissible.

I think there are multiple issues here.

Karma is using core-js actually for very little so ideally I'd have the usage contained to just the Karma code and not touch that others people code. But I'm not a 100% sure how to best achieve this yet.

I hope to very soon move Karma to 1.0 and try to follow semver as close as possible

It sounds like the color package is asking for trouble if they are defining these kinds of methods on the String prototype tbh. This will break completely as soon as this gets implemented in V8.

@Dignifiedquire as I see, in some places you use core-js without global namespace pollution, in some - with. Usage library version everywhere should prevent similar issues.

First of all, my original comment contained a typo, which I fixed: the package adding the String prototype functions is named colors, not color. Sorry for that. The package does offer a 'safe mode' which doesn't modify the prototype, but I don't know how often that's actually used – not by grunt-contrib-jshint, obviously.
@zloirock: I agree that this is not a Karma or core-js issue, in the sense that something can/needs to be changed right now. Although I think it's certainly preferable it if Karma doesn't use core-js in global mode, as you just suggested.
@Dignifiedquire: Thanks for the additional information. Looking forward to 1.0!
Concerning "Following semver as close as possible": I think this is actually what caused this – Karma did not change its public API, so specification-wise you were correct in only increasing the patch level. My argument is that in this case ignoring the spec and bumping the minor version would have been better :)

1.0 is released, will try to keep things as close to semver as possible, but we are all human so sometimes errors happen :)


Issue 2432

I also implemented list_tags_log_group as it was required to test tag/untag

Coverage decreased (-0.03%) to 93.273% when pulling 9c66839f853251f25c2a57b5a573f9205d877983 on waynemetcalfe:issue-2432 into 23c1696b72022e60a851c6d36deb6debf7b2300d on spulec:master.

LGTM

LGTM


CMake config support

There is no nana-config.cmake or nanaConfig.cmake generated or installed. The library can be built with CMake (I can cmake .. params... && make), but it can not be used with CMake (in the form of find_package(nana) in any other project) since there is no config. The library has an install script, but it copies only compiled objects and headers.

This can be made, but I unerstand that the idea of find_package(nana) if for libraries that dont have direct sopourt  for cmake, and some 3-party team develops that find_package(nana). When the library have "native" cmake you simple "include" it in your project and link with nana, nothing else - much easer.

I understand that the idea of find_package(nana) is for libraries that don't have direct sopourt for cmake, and some 3-party team develops that find_package(nana).

No. Every library that wants to build with CMake should have it's own name-config.cmake so that users are not forced to add_subdirectory. Adding subdirectories requires more file operations, does not allow for easy system-wide install and may easily break if a project has multiple dependencies, and say, each of these dependencies want the same library.
add_subdirectory is not bad in itself, but it creates a mess in the repository and forces certain project structure which might be very undesirable, especially if the library is required by multiple projects.
add_subdirectory is OK if you are making your own project and your own library is used only by your executable. But if you want the library to be used by others you should not require them to add the subdirectory.

When the library have "native" cmake you simple "include" it in your project and link with it, nothing else - much easer.

No. Imagine I had to include(Boost) in every of my projects. I want 1 system-wide installation that is used by all projects.

If you want, I can work on this nana-config.cmake.

Boost is the bad example: Boost is not built using CMake, you can not add_subdirectory( .. boost ..)

No. If you are forzed to use precompiled libraries you need find_package.
But if you have the adventage of compiling the libraies from source with your projects that is by far the best situation and in this case add_subdirectory is what you need, far easer to use. You will alway need to point to where are the libraries anyway, so that is not a major problem.
The real problem is to get the libaries compiled full compatible with your project.
system-wide install of precompiled libraries?? I have 4 vesions of gcc in my windows 7 PC. 3 come with precompiled Boost (adding about 500MB), each "system-wide installed". The funy thing is that the 4th gcc installed can not use any of the other 3 (not ABI compatibles, different MinGW distributions). Is not better to have about 5 MB of source code and compile the library with your project, garanting is compatible? Every project include that library using the same binary cmake directory, so no duplication or recompilation needed if they are compatible.
The external libraries are outside of your directory, not any mess here, no forved directory structure. And if just want, you can use find_file, find_library or similar.

https://youtu.be/rLopVhns4Zs?t=1787
Anyway, people want find_package and want to distribute binaries (I prefer source, when I can compile). Nana distribute sources, but some have create nana pgk. It can be good to have FindNana too.

Sorry, I just wanted to be clear  for future readers:

The library can be built with CMake (I can cmake .. params... && make), but it can not be used with CMake (in the form of find_package(nana) in any other project) since there is no config.

This is wrong. The library can be used with cmake, using add_subdirectory  with is the recommended way. And can be used with find_package(nana) as soon as some 3-party creates and support it, which is the normal way.

See this: https://cliutils.gitlab.io/modern-cmake/modern-cmake.pdf , pag 49.

Exporting and Installing
There are three good ways and one bad way to allow others use your library:

Find module (the bad way)
If you are the library author, don't make a Find.cmake script! These were designed for libraries whose authors did not support CMake. Use a Config.cmake instead as listed below.
Add Subproject
A package can include your project in a subdirectory, and then use add_subdirectoryon the subdirectory. This useful for header-only and quick-to-compile libraries. Note that the install commands may interfere with the parent project, so you can add EXCLUDE_FROM_ALL to the add_subdirectory command; the targets you explicitly use will still be built.
In order to support this as a library author, make sure you use CMAKE_CURRENT_SOURCE_DIR instead of PROJECT_SOURCE_DIR (and likewise for other variables, like binary dirs). You can check CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME to only add options or defaults that
make sense if this is a project.
Also, since namespaces are a good idea, and the usage of your library should be consistent with the other methods below, you should add
add_library(MyLib::MyLib ALIAS MyLib)
to standardise the usage across all methods. This ALIAS target will not be exported below.

...

Ok, I watched the videos however I have not seen any significant recommendation for add_subdirectory. But I learned that add_subdirectory does not have to take an actual subdirectory.
I tried this approach, this is a part of my CMake lists:
if(NOT DEFINED NANA_REPO_DIR OR NOT DEFINED NANA_BUILD_DIR)
	message(SEND_ERROR "Define NANA_REPO_DIR to point to nana's GUI library repository and NANA_BUILD_DIR to nana's build directory")
else()
	add_subdirectory(${NANA_REPO_DIR} ${NANA_BUILD_DIR})
endif()

CMake documentation says that if add_subdirectory gets an absolute path, I also must to specify the path where build is placed. I specified both paths as an absolute and got this error:
CMake Error at src/gui/CMakeLists.txt:5 (add_subdirectory):
  The source directory

    path/to/nana/build/directory

  does not contain a CMakeLists.txt file.

I don't understand why CMake is trying to find a CMake list in build directory.

What is the value of NANA_REPO_DIR?

wait lol nvm I had a typo in the path, it works now but apparently you do not export an alias:
target [...] links to target "nana::nana" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

nana works but CMake guides recommend to export a target in a namespace

No, by now we link just with nana:
target_link_libraries(your_executable PUBLIC nana)
me too... have a lot to learn, but that have nothing to do with find_package()

nana works but CMake guides recommend to export a target in a namespace

yes, but this is once again - just to offer compatibility with people using find_package(), which by now nana dont provide anyway... nana is too modern for that ;-)

It is not "just for the package"
See https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1#using-a-library-defined-in-the-same-cmake-tree-should-look-the-same-as-using-an-external-library
The name speaks for itself. It doesn't matter how the library is found (find_package, add_subdirectory or directly in the current project) - it's usage should be just like anythting external. If you provide an alias you will not break anything, allow more library components and idiomaric usage.


Reliable connection/ Auto send accumulated offline messages when network resume (WIP)

Regarding topic from readme
Reliable connection/ Auto send accumulated offline messages when network resume (WIP)
Maybe its worth to have a look into the tus protocol standard if there are any further/usefull ideas/hints
This protocol is about dealing with the resume of uploads of files and
deals with a somehow similar problem.
https://tus.io/
protocol core and options:
https://tus.io/protocols/resumable-upload.html
js client:
https://github.com/tus/tus-js-client
node server
https://github.com/tus/tus-node-server
next version:
https://tus.io/blog/2022/02/24/tus-v2.html

The concept behind tus is interesting, will check their algorithm can see if we can adopt / implement it while keeping the client lightweight. Thanks for the suggestion :)


SodaPop | Support named callback functions for Before Open, After Open, and Close events.

This is a non-breaking change. Adding the id of a SodaPop template to any of the SetEvent functions will cause that function to fire on that event only when that template is being actuated.
Not providing an id, will cause the function to fire on all templates (as it does now). This is now known as the DEFAULT function.
If a default function exists it will fire after the named function. So they will both fire, is the point.
Need to add one or more recipes in the wiki.

This is done in v2.4. Note it is very important that this not break existing functionality.

The following code returns all the current functions assigned to an event:
neodigmSodaPop.fOnAfterOpen

Please create a Wiki recipe, usage example.

This is now done:
window.addEventListener('DOMContentLoaded', ( ev ) => {
    setTimeout(function(){
        if( neodigmSodaPop && neodigmMarquee ) neodigmSodaPop.setOnAfterOpen( function(){
            neodigmMetronome.init()
            neodigmMarquee.init()
        }, "myPopupId")
    }, 3200)
});  // Note the DEFAULT function will also fire (after this function)


Wrapping googlemaps template on React component

Hi, this is not an issue, its a question I hope someone can help me.
Im trying to wrap the googlemaps template into a react component but i cant get it to work.
Using flow router, I load the GoogleMap like so:
FlowRouter.route('/googletest', {
action() {
GoogleMaps.load();
ReactLayout.render(MainLayout,{
content:
});
}
});
The GoogleTest component looks like this:
GoogleTest = React.createClass({
componentDidMount() {
this.view = Blaze.render(Template.mapWrapper,
React.findDOMNode(this.refs.mapContainer));
},
exampleMapOptions: function() {
// Make sure the maps API has loaded
if (GoogleMaps.loaded()) {
// Map initialization options
return {
center: new google.maps.LatLng(-37.8136, 144.9631),
zoom: 8
};
}
},
render(){
return ;
}
});
And this is the simple MainLayout component
MainLayout = React.createClass({
render() {
    return (

                    {this.props.content}

    );
}

});
The mapWrapper template I'm using looks like this:

I've tried to move the GoogleMaps.load() to the component code (on componentDidMount) but no look either.
Thanks for your time.

https://github.com/dburles/meteor-google-maps-react-example

Thank you for your time, with your example I got it to work.


Add try catch block for loading locale files

Changes proposed in this pull request:

Add try catch block for loading locale files
Show select language if locale saved in local storage no longer exists

@samuveth Then this should be fixed at the source, not here. We should make sure a correct language is used all the time. If someone have a wrong locale on localStorage we should default to English.

@samuveth Then this should be fixed at the source, not here. We should make sure a correct language is used all the time. If someone have a wrong locale on localStorage we should default to English.

@bonustrack I think I came of with something that should work like that.

@bonustrack after failing the to load the translation file, it fails to find the keys and falls back to english.


ALT-307 Add WLM workarounds for Alice

Description

Document the WLM workarounds needed for Alice IUF installation.
Checklist

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[x] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

This looks good to me, but in general I am confused about the situation with CPE in Alice. It's my understanding that the 23.03 CPE docs don't have any IUF content in them at all (it's in 23.05). If that's the case, I don't see how an admin will known how to install CPE 23.03 with IUF without instructions.
Am I misunderstanding the docs situation?

Yes, you're right. There's no mention of the IUF in the CPE 23.03 admin guide. The customer will be on their own if they want to install 23.03 with the IUF. But I don't think we have any better alternatives.


pr test please ignore

pr test please ignore

pro tip: you don't go on a public project just to learn how to use github


clh: Usage of REST APIs in Kata

This issue tracks how the REST APIs provided by cloud-hypervisor is being used in Kata. We plan to integrate all REST APIs from CLH in Kata unless we don't find a valid use-case in the container land.
REST APIs being used

Action
Endpoint

Check for the REST API availability
/vmm.ping

Shut the VMM down
/vmm.shutdown

Create the VM
/vm.create

Boot the VM
/vm.boot

Dump the VM information
/vm.info

Add/remove CPUs to/from the VM
/vm.resize

Add VFIO PCI device to the VM
/vm.add-device

Add/remove memory from the VM
/vm.resize

REST APIs NOT being used

Action
Endpoint
Note

Delete the VM
/vm.delete
Probably would be nice to use as cleanup in driver

Shut the VM down
/vm.shutdown
Want it for force stop?

Reboot the VM
/vm.reboot
No use-case

Pause the VM
/vm.pause
Needed for VM templating #2557

Resume the VM
/vm.resume
Needed from VM templating #2557

Remove VFIO PCI device from the VM
/vm.remove-device
#2569

Add disk device to the VM
/vm.add-disk
Work-in-progress #2570

Add fs device to the VM
/vm.add-fs
To-be-determined

Add pmem device to the VM
/vm.add-pmem
Work-in-progress #2575

Add network device to the VM
/vm.add-net
To-be-determined

Add vsock device to the VM
/vm.add-vsock
To-be-determined

Please share if you have comments/advises/questions, epscially about REST APIs that are not being used.
/cc @jcvenegas @amshinde @sameo @sboeuf

@likebreath if there's no use case for some of the APIs, that's totally fine. Cloud-Hypervisor has a broader scope than just Kata, and Kata only uses the API that can fit in the container ecosystem.
Maybe pause/resume could have a use case, but I know that the container is already paused in the VM when that's needed.

@likebreath @sboeuf probably we will want to use pause/resume for VM  factory, this  a use case were missing but not sure if is part of clh next items to add

@jcvenegas

but not sure if is part of clh next items to add

What do you mean? In terms of priority?
I'd say it's definitely not high priority (even from Kata's perspective), but it's ready from a CH perspective, so if this does not take too much effort to enable it for Kata, go for it :)

@likebreath I think we do call the Remove method on vfio devices, so should make use of /vm.remove-device to implement that.

@sboeuf @jcvenegas In the status update tomorrow, we can talk about whether the VM factory is something we want to include in the near future.
@amshinde Thanks for the comments on /vm.remove-device. I have put its status as To be added.

Two more new APIs being added from CLH for the past month: /vm.add-fs and /vm.add-vsock.
As noted here, Kata prefers to start with minimum configurations and hot-plug devices on-the-fly as needed, Do we see potential benefits of hot-plugging vosck and/or  virtio-fs devices?
/cc @jcvenegas


invalid input syntax for type double precision: ""13.537340924817212""

Bug report
Describe the bug
After testing out your v1.2.0 I receive now the following error when trying to start:
error:
          UPDATE cities
          SET ch_koordinate_geom = ST_SetSRID(ST_MakePoint(
              CAST((ch_koordinate::json->'lng')::text AS DOUBLE PRECISION),
              CAST((ch_koordinate::json->'lat')::text AS DOUBLE PRECISION)

          ), 4326)
          WHERE (ch_koordinate::json->'lng')::text != 'null' AND
                (ch_koordinate::json->'lat')::text != 'null'
           - invalid input syntax for type double precision: ""13.537340924817212""

Hi @JannikZed, can you share an example of what is in your database? At first glance it seems that you have the coordinates stored as a string (inside the jsonb) which should not be the case. In my db I have a column location which has {"lat": 49.19785878427575, "lng": 16.66385650634766} (no strings around the numbers) and a column location_geom where the data is stored like this POINT (16.66385650634766 49.19785878427575)
Without more information it is very hard to replicate the bug.

you are right - seems like we have some lat and lng fields formatted as strings. Don't know, how that did happen .. that is the problem with that issue.

Hi, got the same issue,
using strapi 4.15.5
Postgresql 14
Postgis 3.1.4
value of column location :
{
"lat": "43.580601349999995",
"lng": "3.9403721111681365"
}
Error from strapi log
: UPDATE evenements                                                                                │
│             SET address_geom = ST_SetSRID(ST_MakePoint(                                                             │
│                 CAST((address::json->'lng')::text AS DOUBLE PRECISION),                                             │
│                 CAST((address::json->'lat')::text AS DOUBLE PRECISION)                                              │
│                                                                                │
│             ), 4326)                                                                                │
│             WHERE (address::json->'lng')::text != 'null' AND                                                        │
│                   (address::json->'lat')::text != 'null' AND                                                        │
│                   address_geom IS NULL;                                                                             │
│              - syntaxe en entrée invalide pour le type double precision : « "3.9403721111681365" »


Feat: slurm - Update whole role

Thanks a lot @hmeAtos for the review. I added a conditional and improved the README, taking into account also the issue you caught 🙂


Add clear method, preserving allocated memory

It would be useful to add a clear method that would remove data/state, but preserve allocated memory. Currently to achieve the same one needs to create a new instance, allocating a new chunk of memory.
Thanks!

Could you elaborate on your use case and the evidence that the memory allocation has been a bottleneck to you?

I process high frequency data (like, hundreds updates per second), and need periodic snapshots of median. I've not done benchmarking on my side yet, but some of the benchmarks I've seen here suggest that query performance drammatically reduces as sample sizes grows (e.g. 3.8ms for 1k samples vs 7.7 seconds for 50k samples). For my use-case I do not need median over such large datasetes, 1k samples is enough - so I essentially need to re-initialize FixedSizeEpsilonSummary after each 1k samples (i.e. every few seconds) to avoid it growing too large.


cleanup: remove the unused stats sink metrics_service

This was discovered because running tools/vscode_compdb.sh was failing
due to build failures in metrics_service.  A discussion on the
envoy-mobile slack channel
mentioned that the metrics_service sink is no longer used and can be removed.
Risk Level: Low
Testing: Relying on CI
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Ali Beyad<EMAIL_ADDRESS>

/assign-from @envoyproxy/maintainers

thanks for the clean up!
alas repokitteh is an envoy-repo thing so the slash actions don't work on the envoy mobile repo.  I'll assign to one of the folks form Lyft and he can reassign as makes sense :-)

Thanks for the PR! This does indeed appear unused.


Feature request: Charged creeper eggs in constructive

No easy way to play around with charged creepers in constructive mode.

That's not easy to do, as spawn eggs are 1:1 with entity ids, and charged creepers don't have a separate entity id (this is why wither skeletons and zombie villagers also do not have spawn eggs).

Could it be possible to spawn a lightning entity? Thats more generically handy for testing anyway

Given Dawn's comment I retract the original feature request but given Hiracho's request leaving this open.


[9.x] WFLY-4748 Singleton service fails to start after repetitive cluster split with "Failed to reach quorum of 1"

Send correct merge flag to membership listener on cache topology change.
https://issues.jboss.org/browse/WFLY-4748

Linux Build 104 is now running using a merge of 408d1ad2e870cd1b736893911403963a3ed1a5db

Windows Build 107 is now running using a merge of 408d1ad2e870cd1b736893911403963a3ed1a5db

Linux with security manager Build 100 is now running using a merge of 408d1ad2e870cd1b736893911403963a3ed1a5db

Linux with security manager Build 100 outcome was FAILURE using a merge of 408d1ad2e870cd1b736893911403963a3ed1a5db
Summary: Tests passed: 669, ignored: 310; exit code 1 (new) Build time: 0:03:45
Build problems:
Process exited with code 1

Linux Build 104 outcome was FAILURE using a merge of 408d1ad2e870cd1b736893911403963a3ed1a5db
Summary: Tests passed: 669, ignored: 310; exit code 1 (new) Build time: 0:04:11
Build problems:
Process exited with code 1

Windows Build 107 outcome was FAILURE using a merge of 408d1ad2e870cd1b736893911403963a3ed1a5db
Summary: Tests passed: 669, ignored: 310; exit code 1 (new) Build time: 0:05:05
Build problems:
Process exited with code 1

Linux with security manager Build 101 is now running using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7

Linux Build 105 is now running using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7

Windows Build 108 is now running using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7

Linux with security manager Build 101 outcome was SUCCESS using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7
Summary: Tests passed: 827, ignored: 317 Build time: 0:06:29

Windows Build 108 outcome was SUCCESS using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7
Summary: Tests passed: 2869, ignored: 372 Build time: 0:46:27

Linux Build 105 outcome was FAILURE using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7
Summary: Tests failed: 1, passed: 2867, ignored: 372, muted: 1 Build time: 0:48:24
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.stateful.passivation.PassivationTestCase.testPassivationMaxSize: <no details avaliable>

Linux Build 106 is now running using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7

Linux Build 106 outcome was SUCCESS using a merge of 21484eac280583b4d7cd47a69e3181cb40fe9ab7
Summary: Tests passed: 2869, ignored: 372 Build time: 0:48:33

Linux Build 108 is now running using a merge of a8df167c0a1cf5f0919afaf06f762adecc187d06

Windows Build 110 is now running using a merge of a8df167c0a1cf5f0919afaf06f762adecc187d06

Linux with security manager Build 103 is now running using a merge of a8df167c0a1cf5f0919afaf06f762adecc187d06

Linux with security manager Build 103 outcome was SUCCESS using a merge of a8df167c0a1cf5f0919afaf06f762adecc187d06
Summary: Tests passed: 827, ignored: 317 Build time: 0:05:38

Windows Build 110 outcome was SUCCESS using a merge of a8df167c0a1cf5f0919afaf06f762adecc187d06
Summary: Tests passed: 2869, ignored: 372 Build time: 0:46:33

Linux Build 108 outcome was SUCCESS using a merge of a8df167c0a1cf5f0919afaf06f762adecc187d06
Summary: Tests passed: 2869, ignored: 372 Build time: 0:48:52


"local" command broken

Hi,
I've just updated bref to version 0.2.13 with opcache support added by #14.
And now the bref local command isn't working anymore.
Before the update, the handler.js ran the php command without any argument. It used to work fine but since you've added a php.ini defining a specific extensions directory, my local binary fail to load extensions, including opcache.so.
I am wondering if I'm using the local command the right way or if I'm missing something?
Or is there really an issue here?
Here is an output example:
$ vendor/bin/bref local
Invoking the lambda
 7/7 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 20 secs

In Process.php line 223:

  The command "serverless invoke local -f 'main'" failed.

  Exit Code: 1(General error)

  Working directory: .bref/output

  Output:
  ================
  [STDERR] PHP Warning:  Failed loading Zend extension 'opcache.so' (tried: /var/task/.bref/bin/ext/opcache.so (/var/task/.bref/bin/ext/opcache.so: cannot open shared object file: No such file or directory), /var/task/.bref/bin/ext/opc
  ache.so.so (/var/task/.bref/bin/ext/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Oh right! I need to add tests for this.
I'm working on that today.

Please try 0.2.14 and let me know!

It works! Thank you for the quick fix.
So you've added an env variable allowing different behaviors according to whether it's defined or not.
Is there plan to add more different behaviors according to this variable?
I'm thinking about loading different serverless.yml for exemple, as the source for my env variables might not be the same in production and local env. And maybe a different .bref.yml as the build might also be different in local env.

We could add more behavior.
However for environment variables I think it might be better to use something like .env (DotEnv) files when running locally. That will avoid reinventing the wheel.
But also the more I think about it, the more I think it doesn't make a lot of sense to run the lambda in .bref/output. After all the dev environment is setup correctly, we could simply run the lambda in the project directory, that would also be similar to CLI and HTTP invocations:

HTTP: run using php -S <IP_ADDRESS> bref.php
CLI: run using php bref.php <arguments>
direct invocation: run using ?

And that way the dev environment is always the same, no need to be locked-in Bref specific stuff.
I have an idea, I'll open a pull request to discuss that.

I've opened #22 with that idea.


How to upload Agora SDK logs to Agora, now that IRtcEngine.uploadLogFile() is ignored?

In the latest version of this package (4.x), IRtcEngine.uploadLogFile() is now an @ignore method. What is the new canonical way to get Agora SDK logs to Agora? More generally, is this functionality still supported?

@sunweiyang Currently we don't support this api in 4.x. Please submit a ticket to Agora Support for further help of this feature.


Hotfix/only exclude new add stake from emission

Description

This hotfixes an issue with the exclusion of new stake from the emission calculation.
Currently, if you add any amount of stake to a hotkey-coldkey pairing, you are ineligible for all emission due to the stake on the pair for that tempo. e.g. if you had 100 TAO staked to a hotkey, and you stake 1 more TAO to the same hotkey, you will not receive any emission during that tempo for the hotkey-stake.
This fixes it so that only the net addition to your stake during a tempo, using the add_stake call, will be excluded. This means you can still add_stake and receive emission for the stake you had before the addition. This also allows for removing and re-adding before the tempo is up, to net a change of zero.
Type of Change

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

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Close in favour of #807


Errors pulling images from GHCR

Problem
I attempted to apply the delivery/manifest example, but got ImagePullErrors trying to pull ghcr.io/podtato-head/podtato-main:v0.1.0 and the other containers from the kubelet. The specific error was "denied", which would indicate I need to add pull secrets:
Failed to pull image "ghcr.io/podtato-head/podtato-right-leg:v0.1.0": rpc error: code = Unknown desc = Error response from daemon: Head https://ghcr.io/v2/podtato-head/podtato-right-leg/manifests/v0.1.0: denied

So I followed these instructions and added a .dockerconfigjson secret for GHCR, added imagePullSecrets fields to the Deployments in the manifest and tried again. With this I got a new error, "name unknown", so authentication worked but the image wasn't found:
Failed to pull image "ghcr.io/podtato-head/podtato-right-leg:v0.1.0": rpc error: code = Unknown desc = Error response from daemon: name unknown

I couldn't find a way to solve this, it looks like the image isn't there, although it could be it's just private. Is there a way to browse public GHCR images to quickly verify an image/tag exists?
Solutions
Could it be the image hasn't been marked for public use?
Could it be it hasn't been pushed?
Per what I've found, next steps could be:

[ ] Document how to create a pull secret for GHCR (GitHub Container Registry), and add corresponding "imagePullSecrets" fields in PodSpecs around this repo.
[ ] Push the images referenced in the manifest to the registry.

I'm happy to tackle item 1 but don't have access to handle item 2.

OK, I found the issue. It seems that the images only get built on the main branch but not on this one.

This should be fixed. The images were not built automatically

Thank you, confirming it works now.
I did a quick search and don't see anything about rate limits for anonymous GHCR requests (a la Docker Hub) so no authn secret is necessary either.


Documentation: Wrote a paragraph about the onboarding experience in the…

… new project. Relates to issue #1.

Looks good, the text is sufficiently detailed. Just had a minor comment about a typo.


SelectUniqueValue - Allow Retry?

Username failure creation due to unique value in 3rd party application. SelectUniqueValue would solve this issue, however due to the following:
This function is currently only supported for "Workday to Active Directory User Provisioning". It cannot be used with other provisioning applications.
It's not possible.
Is there an ETA as to when we can start making use of SelectUniqueValue across different Applications (i.e. Salesforce?)

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

ID: c8685339-06af-5bb1-64da-80c16878b0bf
Version Independent ID: 1ee0d812-00de-90cc-f5e2-d53e3b610bf0
Content: Writing Expressions for Attribute Mappings in Azure Active Directory
Content Source: articles/active-directory/manage-apps/functions-for-customizing-application-data.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @msmimart
Microsoft Alias: mimart

@jdelforno Thank you for your feedback.  we will investigate and update the thread further.

@msmimart Could we get and update if possible from the Product Team ?

@jdelforno Thanks for your inquiry -- we don't currently have an update on this, but it would be great to get more details about your scenario. Would you please post this to the feedback forum at https://aka.ms/appprovisioningfeaturerequest? This will allow the community to upvote and the product team to include it in their plans.

@jdelforno Thanks for your inquiry -- we don't currently have an update on this, but it would be great to get more details about your scenario. Would you please post this to the feedback forum at https://aka.ms/appprovisioningfeaturerequest? This will allow the community to upvote and the product team to include it in their plans.

I don't really think there's much more I can add. User provisioning fails, allow a retry method via SelectUniqueValue.

Hi @jdelforno, have you had a chance to add this suggestion to the feedback forum (https://aka.ms/appprovisioningfeaturerequest)? This is the best way to submit your idea, let the community up vote, and get status updates. I'll go ahead and close this issue now as there's nothing actionable for the docs at this time. Thanks again for your feedback.
#please-close


feat: Add Ironclad connector

Closes #140
Checklist

[x] Ran Linter
[x] Catalog tests passing
[x] Created PR from non-main branch

Catalog variables
None
Notes
Testing
GET

POST

PATCH

DELETE

Pagination
Requesting a list of records

Paginating to the next page of the records

Resolved conflicts @RajatPawar


[release/2.x] Backport some new APIs from 3.0 to 2.x allowing smoother migration.

Description of Change
With these changes Avalonia should be able to work with both 2.x and 3.0 referenced (need to double check once nightly builds are there).
API Changes
Added:

SKCanvas.SetMatrix(in SKMatrix);
SKPath.Transform(in SKMatrix, SKPath destination);
SKImageFilter methods without SKImageFilter and SKImageFilter.CropRect overloads

Behavioral Changes
None.

Required skia PR
None.

PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Rebased on top of main at time of PR
[ ] Merged related skia PRs
[x] Changes adhere to coding standard
[ ] Updated documentation

@mattleibow I went through breaking changes page, and these changes were the low hanging fruits of what can be backported from 3.0 to 2.x. Which is also enough for Avalonia to run both versions.
Initially I also planned to backport some new SKRuntimeEffect methods (which we don't need), but it feels a bit intrusive, as I am not sure what to pass as isOpaque parameter.

What do you think if instead of adding members to existing classes you added them as extension methods in a class called CompatibilyExtensions?

@workgroupengineering this extension method would have to be added to 3.0 as well. So, it can be binary compatible. Imo, it would add more unwanted API surface to maintain.

@mattleibow update the PR, removed "in" overloads that will break VB. Current PR changes will already help with some migration, though not ideal.

This was idea and my testing of prototypes seemed to work nicely.
https://github.com/mono/SkiaSharp/pull/2789

@mattleibow I like your idea. Closing this PR then.

Although, wait, that kind of API changes of this PR cannot be added to 3.0, as it already has these methods :D
Unless we add back overloads with SKImageFilter and SKImageFilter.CropRect:
https://github.com/mono/SkiaSharp/blob/v2.88.7/binding/Binding/SKImageFilter.cs#L101
Imo, for these methods specifically, it would be simpler to get this PR to 2.88 with overloads without optional parameters, keeping common API.

Ah yeah. Both.  I'm working on making 2.x shippable again.

I did some looking around and I had to also remove the default args from the existing ones. https://github.com/mono/SkiaSharp/pull/2810
For example, if there is this:
public static SKImageFilter CreatePaint(SKPaint paint, SKImageFilter.CropRect cropRect = null)

And we just add:
public static SKImageFilter CreatePaint (SKPaint paint)

People that are using it like this:
SKImageFilter CreatePaint(mypaint);

Will now get an ambiguous overload as both match. So I removed the  = null value so if you are not specifying a crop rect, then you are going to use the new overload. If you are, well you have specified a value.

Thanks for this PR. I am going to close this one as I think I got all the APIs from 3.x in my PR and a few more things: https://github.com/mono/SkiaSharp/pull/2810


Callback fires multiple times

Under some circumstances, the success or callback function will fire multiple times. (apparently "limit" + 1 times)
Here's a demo:
http://jsfiddle.net/2tqP9/3/
If I remove "<p>{date}</p>" from the entryTemplate, the callback is only fired once.
http://jsfiddle.net/uYtM8/1/
Weird.

Seems to work by now.


RFE: add 'list' subcommand for 'addon'

Right now, one has to either guess or inspect the sourcecode to get the list/names of available addons.
It would be nice to simply run:
hetzner-kube cluster addon list

…to get a list of available addons, e.g. like this:
NAME          REQUIRES     DESCRIPTION                               URL
helm          -            Kubernetes Package Manager                https://helm.sh
rook          -            File, Block, and Object Storage Services  https://rook.io
cert-manager  helm         Auto-TLS provisioning/management for K8S  https://github.com/jetstack/cert-manager

good hint. We need some idea to make it part of the ClusterAddon interface, so every addon can provide these infos by itself.


fix to prevent reaching file name length limit

cc @rochoa cold you review (I think the test failing is not due to this change)

Code LGTM 👍 . Tests failing seems related to connectivity problems between Travis and nodejs.org, making impossible to install the correct Node.js version to run the tests. Let's wait until that problem is solved, and we can validate all tests.

Do you mind upgrading your branch with master? We recently fixed some unstable tests.

@rochoa have been using cdb branch. How is that different from master? What is the cdb for?

cdb branch is a stable branch, we merge changes from master into cdb once in a while, usually when we consider master good/tested enough.
I just updated cdb with latest improvements in testing environment/tests. So you can pick the changes from there also.


Code preview on right covers a few characters

Issue Type: Bug
Specifically working on an HTML file, the code preview on the right covers a few characters, so the cursor becomes invisible. Seems to be the same as #31312, which was closed
VS Code version: Code 1.23.0 (7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45, 2018-05-03T15:23:14.634Z)
OS version: Darwin x64 17.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (2.78GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

EditorConfig
Edi
0.12.1

latex-workshop
Jam
5.3.3

format-php
Kas
1.1.2

language-haskell
jus
2.4.0

python
ms-
2018.4.0

cpptools
ms-
0.17.0

prolog
reb
0.0.4

java
red
0.24.0

vscode-java-debug
vsc
0.9.0

vscode-java-pack
vsc
0.3.0

vscode-java-test
vsc
0.6.1

vscode-maven
vsc
0.7.0

markdown-pdf
yza
1.2.0

(2 theme extensions excluded)

@pwschaedler I can no longer reproduce #31312. Can you please share your settings and perhaps a screenshot of the problem.

Here are my user settings:
{
    "editor.fontFamily": "Inconsolata, Menlo, Monaco, 'Courier New', monospace",
    "editor.fontSize": 14,
    "files.hotExit": "off",
    "editor.wordWrap": true,
    "workbench.iconTheme": "vs-seti",
    "[python]": {
        "editor.insertSpaces": true
    },
    "workbench.colorTheme": "Smyck",
    "python.pythonPath": "/usr/local/bin/python3",
    "python.linting.pylintArgs": [
        "--extension-pkg-whitelist=numpy"
    ],
    "workbench.startupEditor": "newUntitledFile",

    "editor.quickSuggestions": false,
    "editor.suggestOnTriggerCharacters": false,
    "editor.wordBasedSuggestions": false,
    "editor.quickSuggestionsDelay": 1000000,
    "editor.parameterHints": false,
    "latex-workshop.view.pdf.viewer": "tab"
}

And a screenshot of the issue:

Thanks for the screenshot, this clarifies things!
The root cause are the CSS color boxes, which are not taken into account when wrapping is computed. Duplicate of #32856.


AttributeError - module 'websocket' has no attribute 'WebSocketApp' - 0.12.0

Hi,
with pushubllet v0.12.0 and websocket-client 1.0.1 again same AttributeError
I tried:

downgraded pushbullet (version 0.9x, 0.10x) and same error.
downgraded websocket-client version and still AttributeError

AttributeError: module 'websocket' has no attribute 'WebSocketApp' on GoogleColab Python 3.7
Originally posted by @marcusRB in https://github.com/rbrcsk/pushbullet.py/issues/145#issuecomment-857490580

Solved restarting environment (v 0.12.0) -
Anyway , I tried in the listener.py and I applied some changes in the Class:
from websocket import _app

using _app.WebSocketApp instead websocket.WebSocketApp
and works.
Close Issue


Remove dataloader2 factory functions

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fb5776e) 100.00% compared to head (2d46904) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #550   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          308       308
  Lines         9961      9943   -18
  Branches      1300      1299    -1
=========================================
- Hits          9961      9943   -18

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Minor cleanup + runit dep loosening

This cookbook had a pretty strict dep on runit 1.5.0.  I changed that to 1.6 to resolve dep issues.  I also did a bit of cleanup / syncing with other cookbooks and resolved rubocop issues.  It would be great to get a new version released to help out anyone else having issues with the runit dep.

Ace. Thanks!


Replication using js-ipfs-api and an ipfs-cluster is not working

I'm building a backend app on orbit-db, and I have set up an ipfs-cluster to ensure that my data stays online forever. The ipfs-cluster works like it should.
So I'm using js-ipfs-api to connect to it and pass that connection into orbit-db like so:
const ipfs = IPFS({ host: '<IP_ADDRESS>', port: '9095', protocol: 'http' });
const orbitdb = new OrbitDB(ipfs, `./experiment/orbitdb`);

I run some jest tests on them, setting up, storing and retrieving a value, which seems to work.
  test('create and work with a keyvalue store', async () => {
    const keyValue = await orbitdb.keyvalue('testdb.keyvalue');
    // address of the keystore
    keyValueAddress = keyValue.address;
    expect(keyValueAddress.toString()).toBeTruthy();
    // put and get
    await keyValue.put('volume', 100);
    expect(keyValue.get('volume')).toBe(100);
    // close the db
    await keyValue.close();
  });

Now during one of these runs, I've printed out the address of the KeyValueStore and I'm now trying the following. This is a test to ensure that in future runs I will actually be able to get my database content back since my nodejs process and disk cache will go away.
As long as I did not delete the local cache from when i made it, this works. When the local cache is deleted, I get back 'undefined' for the volume.
  test('restore and old db by address and work with a keyvalue store', async () => {
    // reload and get
    const keyValueRestore = await orbitdb.keyvalue(
      '/orbitdb/Qmcud9rCZN97s4hfv4fxawWCFLDtW1WZomtfcChzDPjW6H/testdb.keyvalue'
    );
    await keyValueRestore.load();
    expect(keyValueRestore.get('volume')).toBe(100);
    // close the db
    await keyValueRestore.close();
  });

The ipfs gateway/api returns something for the address: http://<IP_ADDRESS>:9095/api/v0/object/data?arg=Qmcud9rCZN97s4hfv4fxawWCFLDtW1WZomtfcChzDPjW6H
It feels like I'm missing some sort of "sync to node" command?

Closing as obsolete. OrbitDB v1.0.0 doesn't support ipfs http api anymore.


Allow a customizable service to enrich environment variable after device discovery/before creating broker POD

Currently AKRI can not support cases like,

camera with ONVIF credential
OPC UA server(PLC machines for example) that requires client to prove ownership of X509 cert from specified CA
Broker POD may also need other device specified metadata tag information

Basically there is no standard and straight forward method to integrate AKRI with solution developer's own device inventory database.
This suggestion proposes a new AKRI component that will use customizable container image that will be able to enrich more environment variables for broker POD creation. For example, it can request extra device credential information from a device provisioning service.
The below mockup flow diagram shows the proposed new AKRI component using a yellow block.

There are other potential usage for this proposed component, for example, it may also decide if the discovered device is a legit device and decide if a broker POD should be allocated to gather data from this device.

this sounds pretty cool.  would you mind creating a proposal here: https://github.com/project-akri/akri-docs/tree/main/proposals?

Yes, I will do that.
From: bfjelds @.>
Sent: Tuesday, August 2, 2022 1:29 PM
To: project-akri/akri @.>
Cc: Leo Lu @.>; Author @.>
Subject: Re: [project-akri/akri] Allow a customizable service to enrich environment variable after device discovery/before creating broker POD (Issue #495)
this sounds pretty cool. would you mind creating a proposal here: https://github.com/project-akri/akri-docs/tree/main/proposalshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fproject-akri%2Fakri-docs%2Ftree%2Fmain%2Fproposals&data=05|01|Lu.Leo%40microsoft.com|12c20415fd554b0336b308da7447e0cb|72f988bf86f141af91ab2d7cd011db47|1|0|637950149339419471|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=0LRfJCUx7WaRIJqVO4MTOpIAiC%2FikVC1wNsiUCUmW7I%3D&reserved=0?

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fproject-akri%2Fakri%2Fissues%2F495%23issuecomment-1202033799&data=05|01|Lu.Leo%40microsoft.com|12c20415fd554b0336b308da7447e0cb|72f988bf86f141af91ab2d7cd011db47|1|0|637950149339419471|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=PZlfT6xHoMIv9wfERvaKUcw%2B%2FA5fK1EpH%2Bcy5vwSosc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQHFWDJS7MVBHEUDXHWTHGTVXCWZBANCNFSM54GP3EEQ&data=05|01|Lu.Leo%40microsoft.com|12c20415fd554b0336b308da7447e0cb|72f988bf86f141af91ab2d7cd011db47|1|0|637950149339419471|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=etBvlAhsUcECDfp%2FdWe7q2AQ4%2B4H7qtSy0lkzlcqPoQ%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hello, maybe you can do this kind of things with a initContainer for the broker, no ?

A initContainer could maybe create a dynamic configmap (issued from properties if you want) with ownerReference on the brokerPod,
In the brokerPod, create env vars from the created configmap

And this could work 🤔


users other than sysadmin with organizational hierarchy cannot see the data in settle transactions form

We have users with certain roles cannot see the data in settle transactions form when a organization hierarchy is attached to role.

Thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, consider one of the options described here: Support contact options.


Asserting call to method with array argument fails

Hi, great job on this gem!
I found a pretty serious bug though :(
If you try to assert a call to a method that takes an array as its argument:
assert_called_with(Tempfile, :new, [['hello', '.jpg']]) do
  file = Tempfile.new(['hello', '.jpg'])
end

Running the above code will result in:
ArgumentError: mocked method :call expects 2 arguments, got 1
from .../ruby-2.6.3/gems/minitest-5.14.0/lib/minitest/mock.rb:150:in `method_missing'

This happens due to a collision with the feature of being able to pass an array of different sets of arguments that the method can be called with.
I suggest changing the interface of the multiple arguments feature to the following (which will also allow providing a different return value for each set of arguments):
expectations = [
  {
    expected_args: ["Thanks for sharing this."],
    return_value: mocked_comment_1
  },
  {
    expected_args:  ["Thanks!"],
    return_value: mocked_comment_2
  }
]

assert_called_with(@post, :add_comment, expectations: expectations) do
  @post.add_comment("Thanks for sharing this.")
  @post.add_comment("Thanks!")
end

Shall I open a PR for this?

Hey @thatguysimon, thanks for raising the issue. :bowing_man:  I'll try to get back to this later this week.

@thatguysimon I opened a PR to fix an issue with the example: https://github.com/bogdanvlviv/minitest-mock_expectations/pull/5
assert_called_with(Tempfile, :new, [['hello', '.jpg']]) do
  file = Tempfile.new(['hello', '.jpg'])
end

Also added tests and docs to clarify assert_called_with. Please let me know what you think about that PR. Thanks.

Hi again @thatguysimon. I tried the same fix on Rails(https://github.com/rails/rails/pull/39033) and we we found the real bug it causes. For instance(https://github.com/rails/rails/pull/39033#discussion_r414488996), it isnt' possible to assert:
@object.push([ 1 ], [ 2 ])

anymore.
So to solve you issue with
assert_called_with(Tempfile, :new, [['hello', '.jpg']]) do
  file = Tempfile.new(['hello', '.jpg'])
end

you should change your code to
assert_called_with(Tempfile, :new, [ [['hello', '.jpg']] ]) do
  file = Tempfile.new(['hello', '.jpg'])
end

I gonna revert this change and release 1.1.3 :sweat_smile:  because of that.


More introduced changes for migration to Hybrid App 4.1.1

The changes introduced in 4.1.1 made mandatory alteration in old config.xml

@KevinVlaanderen does this change look suitable?


Example for .less files please

Looks like what we're after.   Do you have a sample gulpfile for using progeny to handle

incremental building of .css from .less sources
minimization of .js
gzipping
uglification

It is straightforward.
var cache = require('gulp-cached');
var progeny = require('gulp-progeny');
var less = require('gulp-less');
var path = require('path');

gulp.task('style', function(){
  return gulp.src('*.less')
    .pipe(cache('less'))
    .pipe(progeny())
    .pipe(less({
      paths: [ path.join(__dirname, 'less', 'includes') ]
    }));
});

gulp.task('watch', function(){
  gulp.watch('*.less', ['style']);
});

gulp-progeny does not handle JavaScript, because watchify has already done that.


I see nothing in browser

macOS 10.12
node version 6.7.0
weex 1.0.1 alpha
this is terminal screenshot

this is the chrome screenshot

this is we file  screenshot

It is my fault ,sorry


check if volume backing store format is present before creating #569

cover case when backing volume xml doesn't contain format element
add test for NewDefBackingStoreFromLibvirt
interface StorageVol introduced to allow mocking
libvirt.StorageVol is mocked using github.com/golang/mock
NewDefBackingStoreFromLibvirt now accepts StorageVol interface on input

I used github.com/golang/mock for mocking since it seemed to me as a better option rather than writing mocking implementations of interfaces like it's done in libvirt/libvirt_domain_mock_test.go
Closes #569

thx lot for PR !  I will have look once I have free time. Looks promising thx!! :heart_eyes:

@cyril-s so looked at this pr.
I think we can do a testacc testcase without introducing  mocking and the golang interface which add complexity.
Here some pointers for you:
https://github.com/dmacvicar/terraform-provider-libvirt/blob/master/CONTRIBUTING.md#writing-acceptance-tests
and  https://github.com/dmacvicar/terraform-provider-libvirt/blob/753afd8a074e74334821006e4b4e321e63214ff7/libvirt/resource_libvirt_volume_test.go#L131
let me know if you have any other question, and thx lot for fixing the issue. great job sofar

@MalloZup so I was thinking how to implement acceptance tests for this and realized that currently there is no way to create lvm pool using this plugin. Which is clearly stated in the doc actually (and to which I didn't pay enough attention apparently). It's possible to implement testcase by creating pool without help of this plugin but it seems to me that PR that kind of fixes unsupported functionality is not very relevant. So it seems to me that this fix should go in PR which implements lvm pool support (that is something I'd like to help with). What do you think?

Hi.! Sorry for delay. So I personally think we don't need to test. If we add 10 lines tests for 1 line I think we can accept your pr without mocking. I don't like mocking in general and a'so introducing interfaces or coding for mocking isn't good'. So feel free to remove the mock part and preserve the code without interfaces. Thx

I'm saying this in context of the llvm pool, because if it is difficult to create all this isn't worth to have complex automation

Ok. Removed everything except fix itself

@cyril-s  great job, just in case. I assume you tested it manually?
After that lgtm

@cyril-s  thx for pr merging


How to save perception data using computable

Hello, I want to store recognition results such as object detection and face detection using Computable.
However, I cannot find any documents on this. How do I use this feature?
And if I use computable predicate, would the perception data be stored in mongodb too?
Thanks!

Hello @Aqudi, what form do the recognition results have? what is the information content?
Generally speaking, the results can be conceptualized in terms of the ontology in which case the data would end up in the triple storage which is currently implemented with MongoDB. If you rather want to quantify the results, than you could encode the data in JSON and also load into MongoDB. In this case you can use some general predicates in KnowRob for querying the database, or define a set of specialized predicates that are implemented using the database predicates KnowRob provides.

Hello @daniel86, thank you for your response!
I'm currently studying SOMA, DUL, and Knowrob to convert data to ontology format.
I haven't decided exactly what data to use yet. However, I believe that sensor information such as object detection and battery condition will be included, so I will leave a rough shape below.
object detection
{
   state: "READY/ERROR/ENABLED",
   objectType: {
        depth,
        point: { x1, x2, y1, y2 }.
        value: "Human/Car/..."
   }
}

battery status
{
    state: AC/CARGHING/BATTERY,
    chargeRate:0.87
}

I have additional questions about the process of utilizing Knowrob.
I want to input sensor data in the same way as the picture below. Is this process correct?

And below is a example of computable predicate comp_nearby that calculates whether two objects are close or not. Is it right to use it?

@Aqudi yes, in principle. Saving results of the computable to MongoDB might be a bit problematic at the moment.
Also regarding the positions, I usually use TF message format of ROS without storing the position data in the knowledge graph. Only qualitative spatial relations I store in the graph. There are some predicated in KnowRob to interact with TF, and a small implementation of a belief state where the poses of objects are stores and published on the TF topic.
To log TF messages, I use the ROS mongo DB logging tool: http://wiki.ros.org/mongodb_store
KnowRob can work with TF data stored in mongo using the mentioned tool

Greetings,
@Aqudi @daniel86
I am also trying to do the same i.e. take data from simulator, run perception modules and perform some planning activity. I am looking replicate the KnowRob2 paper's simulation.
Any pointers in this direction will be great help. I am pretty new to Prolog but have background in other programming languages.
Thank you.

@nitin5 sorry for late response, last months were very busy as I did a re-write of KnowRob over the last year and now I am kind of done with it and try to clean up a bit.
Regarding simulation: this is not really something considered within this repository. There are a couple of people working on the simulation part outlined in knowrob2 paper who are part of Michael Beetz group in Bremen. maybe these are two references you can check:
Michael Neumann, Andrei Haidu and Michael Beetz, "URoboSim — a simulation-based predictive modelling engine forcognition-enabled robot manipulation", In 2nd Embodied AI Workshop (CVPR), 2021. [bibtex] [pdf]
Patrick Mania, Franklin Kenghagho Kenfack, Michael Neumann and Michael Beetz, "Imagination-enabled Robot Perception", In International Conference on Intelligent Robots and Systems (IROS), 2021. Best Paper Award on Cognitive Robotics [bibtex]


im2594-hw0

remove .DS_Store file

Hi Professor, thanks for your feedback. I have removed the file.


Fosscord Docs

Is your feature request related to a problem? Please describe.
There's no docs about connecting to Fosscord instances
Describe the solution you'd like
Please add documentation about connecting to Fosscord instances
Describe alternatives you've considered
If not docs, then please add options for that
Additional context
I can't remember, but in 2020 or 2021 I saw something related to switching instance in options, but now it disappeared

It was actually a bug – WebCord could not render options that were of type other than checklist. This was fixed in 365bf8f.


drivers: i2c: stm32: add bus recovery support

Add I2C bus recovery support to the STM32 v1 and v2 driver.
The STM32 i2c peripheral does not natively support I2C bus recovery so recovery is performed using GPIO bitbanging. This mirrors the bus recovery implementation for NXP MCUX LPI2C driver.
Fixes: #54917

Merge branch 'main' into stm32-bus-recovery

@maxmclau please rebase your patch on top of the main branch; do not merge the main branch into your PR. We cannot merge PRs with merge commits.

Waiting on resolution of pinctrl discussion in #54880 to remove separate gpio phandle dependency.

Waiting on resolution of pinctrl discussion in https://github.com/zephyrproject-rtos/zephyr/pull/54880 to remove separate gpio phandle dependency.

Given the initial complexity to support instantiation in those macros, I'd suggest to move on with current proposal and we can get back to it later too avoid excessive delays.
This doesn't prevent to get the current version as close as possible to a mergeable state. Aside from the few comments provided, this looks pretty good to me and close to merge.

Should be ready for another review.

@maxmclau Please fix compliance issue

Think all compliance issues have been resolved


Trim degree type values before they are saved

Context
Candidates can enter degree types as free text (as well as by selecting from the auto-suggest). This sometimes leads to values for the same type differing only by trailing or leading whitespace. We want to remove this so that degree qualifications are easier to analyse.
Changes proposed in this pull request
This PR attempts to stop values with trailing or leading whitespace getting into the database in future by trimming them before save.
A separate migration will be needed to fix up any values that are already in the database and should be deployed separately after this one.
Guidance to review

Are there other ways to input this attribute that I've missed?

Link to Trello card
https://trello.com/c/rvoXuX31/3317-strip-away-trailing-space-degree-autofills
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] This code does not rely on the addition/removal of Azure config environment variables in the same Pull Request
[x] New environment variables have been added to the Azure config

We def need the data migration though!

Sorry Steve, i just thought, i think this is being done in the controller now right?

Ah, my search missed that. OK I'm going to close this one and make the migration ready for review...

Closing because this is already covered


Support CockroachDB

It'd be awesome if pgweb could support CRDB! I did some basic testing but things failed pretty quickly.
After fixing #234, I ran into the following problems with the startup query:
SELECT
  session_user, # invalid syntax: statement ignored: unimplemented at or near "session_user"
  current_user, # invalid syntax: statement ignored: unimplemented at or near "current_user"
  current_database(), # supported!
  current_schemas(false), # supported!
  inet_client_addr(), # pq: unknown function: inet_client_addr()
  inet_client_port(), # pq: unknown function: inet_client_port()
  inet_server_addr(), # pq: unknown function: inet_server_addr()
  inet_server_port(), # pq: unknown function: inet_server_port()
  version() # supported, returns "CockroachDB CCL eb8f08f3a (darwin amd64, built 2017/04/29 20:46:22, go1.8.1)"

Fixing these is beyond my knowledge of pgweb, but I'd be happy to help from the CRDB side if you're interested in adding support.
Cheers!

@tamird do you have a sample cockroachdb database dump that i can use for testing?

@sosedoff you can easily test against just an empty CockroachDB database for now (even that doesn't work). We have a library that makes it easy to programmatically run a CockroachDB process: https://godoc.org/github.com/cockroachdb/cockroach-go/testserver

@tamird i'd happy to support cockroachdb, but i personally don't use it and don't think i can find any spare time to really dig in and implement a such a bridge. Pgweb does not have any active contributors so its kind of hard to say when non-postres stores could be supported.

No plans for this yet?

Looks supported in Cockroachdb 2. https://github.com/cockroachdb/cockroach/pull/23334


usePinch to redirect example

Hey react-use-gesture contributors,
Can you help with this usePinch to redirect (redirect = react-router's this.props.history.push('/')) example?
I'm sure this isn't an issue, just with me not using it correctly.
I made this codesandbox for you.
Your response would help so much!
btw, I'm going to usePinch for this on every page of my app.
  const binding = usePinch(({d}) => { (d < 40) ? this.props.history.push('/'):null})
    return (
      <div {...binding()}>
        <img
          className="alternative"
          src="https://www.dl.dropboxusercontent.com/s/9ctrgn3angb8zz4/Screen%20Shot%202019-10-02%20at%2011.30.21%20AM.png?dl=1"
          alt="error"
        />
      </div>
    );
  }

export default Login

@NickCarducci I'm not sure how great idea this is to use pinch to deal with routing, but anyway! I'll also just focus on your specific question. Here is the code you might want to use:
const Login = () => {
  const el = React.useRef();
  const binding = usePinch(
    ({ movement: [d], last }) => {
      if (last && d < -40) {
        this.props.history.push('/')
      }
    },
    { domTarget: el, event: { passive: false } }
  );
  React.useEffect(binding, [binding]);

  return (
    <div ref={el}>
      <img
        className="alternative"
        src="https://www.dl.dropboxusercontent.com/s/9ctrgn3angb8zz4/Screen%20Shot%202019-10-02%20at%2011.30.21%20AM.png?dl=1"
        alt="error"
      />
    </div>
  );
};

I'm using refs as usePinch with trackpads works better when the event is prevented (which is not possible when binding the component directly as React only supports passive events handlers).
Depending on whether you want to pinch or unpinch you might want to use d < -40 or d > 40.
Let me know if anything else is unclear.

Beautiful snippet there thank you... just to get the example for future readers working (and me ha...): when I pinch on it and get error undefined is not an object (evaluating '_this.props')... Does this mean it's an issue with my BrowserRouter configuration?  this.props.history.push('/') should work inside BrowserRouter

I’ve just copy pasted your code but indeed since this is a functional component this.props doesn’t exist. But this is clearly outside the scope of this lib sorry.

No problem thanks!


Really Big blocks are not captured by the data-->display window filter

Sometimes special block with StartPosition < StartDisplay and EndPosition > EndDisplay exist and will not be registered for visualization, while they definitely should be on display. Filtering method could be improved to take such cases into account.

Update:
The blocks on display are filtered, so that only visible blocks would create svg elements.
The filter works depending on a margin (the "SEARCH Window" below):

All blocks whose START position is within the DISPLAY Window will be drawn, and we use the SEARCH Window to identify blocks wide enough to be showed on screen even though their START position is not captured in the DISPLAY window.
This SEARCH Window has the same width as the larger block, so that even it could be captured by this extended filter area.
Since we do not need all the blocks that are found within SEARCH Window but only those that are at the border, I chose to keep only the last block. THIS DOES NOT TAKE INTO ACCOUNT OVERLAPPING BLOCKS.
This results in blocks that can be super large but not displayed if there is any other block closer to the left threshold. What should be checked is whether, in SEARCH Window, there are blockS with an END position exceeding DISPLAY Window's left border. This way, even very large blocks starting/ending way before/after the DISPLAY Window could be displayed if they overlap with it.
Checking only if the END position is within the DISPLAY Window would end up with blocks starting before and ending after the visible area, but not drawn because there END is too far.


Add more Pen tests, fix bugs and cleanup the source

Fixes https://github.com/mono/libgdiplus/issues/473

Well actually I think Windows would crash in these situations (but we can't actually reach it realistically because these allocations wouldn't really fail normally). So we're free to do whatever we want, so I added these assignments back


feat: creating avatar UI components

Ticket
Issue not created yet!
Description
I've created avatar UI components inside ui_components folder. I created a folder named avatars and inside it, I created an avatar.dart file and All Avatars folder. I've created three files, one each for a different avatar inside All Avatars folder. I've created three avatars named Image, Text, and Icon.
Type of change

[x] New feature (non-breaking change which adds functionality)

Screenshot

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

@superiorsd10 There is some merge conflict
please resolve it


[TESTS UPDATE ONLY] fix flakiness in BABEL-4940 jdbc test

Description
Update test case BABEL-4940 to remove "heap fetches" from plan.
Issues Resolved
[NO JIRA]
Sign Off
Signed-off-by: Tanzeel Khan<EMAIL_ADDRESS>Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 73.194%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
41717

Relevant Lines:
56995

💛  - Coveralls


feat: added keychain arg to GetProvisioningProfileAsync

What is this PR fixing?
Fixes (#206) - When the command security cms runs, it will default to system keychains during a bamboo build even if a keychain is passed in using the CSC_KEYCHAIN environment variable.
What has changed?
Inside of getProvisioningProfileAsync function (found within electron-osx-sign package) I added a keychain arg to surface the CSC_KEYCHAIN environment variable as a flag to the security command.
How to test?
This is best reproduced on a bamboo build agent machine. If you do not have a bamboo server to test with, follow these instructions:

Toggle debug mode for electron osx sign debug=electron-osx-sign
set CSC_KEYCHAIN environment variable
build and ensure that during the signing process that the correct keychain file is being used (instead of login or system keychain)

Notes

This is my first contribution to this repo. If I've done anything wrong please let me know I will fix :p

Why does this project hate semi-colons? :joy:

@JohnTendik Thanks for contributing this feature! 🙌
I've been a little busy lately and just got to see this.

Merged 🙇
I guess the fun anecdote with the semicolons is that when electron-osx-sign first started, the code linting follows electron-packager (which I think till this day still avoids semicolons) 😅


Rewrite tests to example new style

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3480

Relevant Lines:
5037

💛  - Coveralls


[Bug] [Next-UI][V1.0.0-Beta] No new task group, task queue display data error

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
No new task group, task queue display data error

What you expected to happen
Task Group Queue Task display is empty
How to reproduce
No new task group, task queue display data error
Anything else
No response
Version
3.0.0-alpha
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

i will fix it


jinja2 templatenotfound when running after fresh install

When installing bibserver from scratch on a new machine, as per the install example now in the README, jinja2 throws a templatenotfound error.
Whilst the install example does not include the virtualenv, the same problem arises when using the virtualenv (the install example is just for as simple as possible on an otherwise empty machine, so does not include this).

That is really very weird. Can you document exactly how the deploy went.

Deploy was as per "install example" in the README. Just doing it again to confirm. Will update once complete.

Tried an install into a virtualenv with the following commands:
virtualenv bibserver
. bibserver/bin/activate
mkdir bibserver/src
git clone https://github.com/okfn/bibserver bibserver/src
cd bibserver/src
python setup.py install
python bibserver/web.py
Result is the same, template not found.
Will try with a dev install and report back.

WONTFIX - README has been updated to give the working version, and has been installed by people and provably working that way.


fix insert only without auto_inc column should not use partial update (#38229)

cherry-pick #38229 to branch-2.1
Proposed changes
Issue Number: close #xxx

run buildall


Which API should I use if I want to keep the http connection and continue to stream new changes?

I want to use start a HTTP GET connection to an endpoint, then keep the connection opens and continue to stream new changes, which API should I use?
Thanks

Has stated in our communication doc, this question is better suited for Stack Overflow.
:beers:


react: new design for report header

Summary
Update the report header components to have a new look and feel.
Details
The styling for the statuses summary and execution summary is more or less copied from Cucumber Reports, but also includes styling for CI and Git stuff. The styling for the search bar is new - feedback welcome!
We talked a while ago about maybe bringing in Tailwind; I decided not to do that at least for now, partly because the styling of these things was not too arduous anyway, and partly because on reflection it seems like a lot to impose a CSS framework on someone trying to use a targeted component library. Again, feedback welcome.
 This includes repurposing the CustomRendering component as a more generic CucumberReact component which is essentially a root component that provides baseline styles and where you can (optionally) activate themes and/or custom rendering
Finishes making the "dark" theme so it works for the whole report, also adds a "auto" theme which is light or dark depending on OS preference - this is now used in the html formatter
Adds a bunch of tests and stories for components that didn't have them
Decouples the search stuff from the cucumber/gherkin/envelope queries stuff so there are targeted hooks and wrapper components for each
Leans on date-fns for date/duration formatting as much as possible
Fixes and tweaks a few general styling concerns (e.g. consistently use em for type-related units)
Generally tries to slim down the logic in FilteredResults so more is taken care of by other functions/hooks etc

Motivation and Context
Fixes #1592.
How Has This Been Tested?
Expanded tests with react testing library, also tested HTML formatter output by hand.
Screenshots (if appropriate):
Attached (in a zip) an output from html formatter (open it and switch your computer to dark mode to see the auto theme). examples-tables.feature.html.zip
Storybook is deployed here for convenience https://confident-bell-07b8ce.netlify.app/?path=/story/app-filteredresults--default

Types of changes

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

Checklist:

[ ] The change has been ported to Java.
[ ] The change has been ported to Ruby.
[ ] The change has been ported to JavaScript.
[ ] The change has been ported to Go.
[ ] The change has been ported to .NET.
[x] I've added tests for my code.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have updated the CHANGELOG accordingly.

@aurelien-reeves I've tweaked the wording, thanks for calling that out.


[Bug]: structuredClone constructor

Version
29.5.0
Steps to reproduce
Node.js 18.15.0
describe('test', () => {
	test('test', () => {
		console.log(structuredClone({}).constructor === Object);
		expect(structuredClone({}).constructor).toBe(Object);
	});
});

Will console.log false and fail, however in browser env or node js without jest console.log(structuredClone({}).constructor === Object); is true.
Also i tried to run similar test in jasmine and get succeeded
This one works fine:
describe('test', () => {
	it('test', () => {
		console.log(structuredClone({}).constructor === Object);
		expect(structuredClone({}).constructor).toBe(Object);
	});
});

Expected behavior
console.log(structuredClone({}).constructor === Object); // true
expect(structuredClone({}).constructor).toBe(Object); // true
Actual behavior
console.log(structuredClone({}).constructor === Object); // false
expect(structuredClone({}).constructor).toBe(Object); // fail
Additional context
No response
Environment
System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.12.3 - D:\Programs\Yarn\bin\yarn.CMD
    npm: 8.3.2 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ^29.5.0 => 29.5.0

can you please tell me where structuredClone({}) is present?

can you please tell me where structuredClone({}) is present?

structuredClone is a native API
https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

in file ./node_modules/expect/build/matchers.js
a line :
const pass = Object.is(received, expected);
received is structuredClone({}).constructor
expected is Object
pass value should be true but it is false.

Looks like you are hitting #2549
Using jest-light-runner could be a solution. Reference: https://github.com/facebook/jest/issues/2549#issuecomment-1098071474


Allow to configure history entries to show absolute date

atm it shows the action title ex.File Saved, File Renamed, etc..,
however it would be really helpful if we can also see the exact time that this action has taken place like how https://github.com/zabel-xyz/local-history does ex.

so is it possible to have an option to customize the entry title so it can also show the timestamp of the action occurrence?

The exact date is visible when you hover:

yes but this means that u have to hover over each item and wait for at least a second or so for the info to show up, while having the date available right away is much quicker and far more accessible than hovering.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


uniques: Remove AtLeast32BitUnsigned trait from CollectionId

https://github.com/paritytech/substrate/pull/11796#discussion_r945217309

WIP, need to make the auto-increment feature optional.

The CI pipeline was cancelled due to failure one of the required jobs.
The job name - cargo-check-benches
The job logs - https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1752065

The CI pipeline was cancelled due to failure one of the required jobs.
The job name - test-linux-stable
The job logs - https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1752305

The CI pipeline was cancelled due to failure one of the required jobs.
The job name - test-linux-stable
The job logs - https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1752306

The CI pipeline was cancelled due to failure one of the required jobs.
The job name - test-linux-stable
The job logs - https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1752304

The CI pipeline was cancelled due to failure one of the required jobs.
The job name - test-linux-stable
The job logs - https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1752438

The CI pipeline was cancelled due to failure one of the required jobs.
The job name - test-linux-stable
The job logs - https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1752439

The CI pipeline was cancelled due to failure one of the required jobs.
The job name - test-linux-stable
The job logs - https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1752440

Continued in: #12223