python3 unable to load neovim Python module

Hi all,
I have been struggling for this issue for a while. My system is Ubuntu 20.04. I have installed pynvim and neovim:
pip2 install pynvim
pip2 install neovim
pip3 install pynvim
pip3 install pynivm

or
/usr/bin/python3 -m pip install pynvim
/usr/bin/python3 -m pip install neovim

I also tried to uninstall and reinstall them multiple times with no vail. When I run
nvim -u NORC -c ':checkhealth'

I always get error messages from python3 part, such as the following:
## Python 2 provider (optional)
  - INFO: `g:python_host_prog` is not set.  Searching for python2 in the environment.
  - INFO: Multiple python2 executables found.  Set `g:python_host_prog` to avoid surprises.
  - INFO: Executable: /usr/local/bin/python2
  - INFO: Other python executable: /usr/bin/python2
  - INFO: Other python executable: /bin/python2
  - INFO: Python version: 2.7.18
  - INFO: pynvim version: 0.4.2
  - OK: Latest pynvim is installed.

## Python 3 provider (optional)
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - INFO: Multiple python3 executables found.  Set `g:python3_host_prog` to avoid surprises.
  - INFO: Executable: /usr/local/bin/python3
  - INFO: Other python executable: /home/lechen/anaconda3/bin/python3
  - INFO: Other python executable: /usr/bin/python3
  - INFO: Other python executable: /bin/python3
  - ERROR: Command error (job=9, exit code 1): `'/usr/local/bin/python3' -c 'import sys; sys.path.remove(""); import neovim; print(neovim.__file__)'` (in '/home/lechen')
    Output: Traceback (most recent call last):  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/asyncio.py", line 20, in <module>    import asyncio  File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in <module>    from .base_events import *  File "/usr/lib/python3.8/asyncio/base_events.py", line 18, in <module>    import concurrent.futures  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/__init__.py", line 8, in <module>    from concurrent.futures._base import (FIRST_COMPLETED,  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414    raise exception_type, self._exception, self._traceback                        ^SyntaxError: invalid syntaxDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "<string>", line 1, in <module>  File "/home/lechen/.local/lib/python2.7/site-packages/neovim/__init__.py", line 5, in <module>    import pynvim  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/__init__.py", line 11, in <module>    from pynvim.msgpack_rpc import (ErrorResponse, child_session, socket_session,  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/__init__.py", line 8, in <module>    from pynvim.msgpack_rpc.event_loop import EventLoop  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/__init__.py", line 10, in <module>    from pynvim.msgpack_rpc.event_loop.asyncio import AsyncioEventLoop  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/asyncio.py", line 23, in <module>    import trollius as asyncio  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/__init__.py", line 21, in <module>    from .base_events import *  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/base_events.py", line 39, in <module>    from . import coroutines  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/coroutines.py", line 16, in <module>    from . import futures  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/futures.py", line 19, in <module>    from . import executor  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/executor.py", line 12, in <module>    import concurrent.futures  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/__init__.py", line 8, in <module>    from concurrent.futures._base import (FIRST_COMPLETED,  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414    raise exception_type, self._exception, self._traceback                        ^SyntaxError: invalid syntax
    Stderr: Traceback (most recent call last):  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/asyncio.py", line 20, in <module>    import asyncio  File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in <module>    from .base_events import *  File "/usr/lib/python3.8/asyncio/base_events.py", line 18, in <module>    import concurrent.futures  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/__init__.py", line 8, in <module>    from concurrent.futures._base import (FIRST_COMPLETED,  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414    raise exception_type, self._exception, self._traceback                        ^SyntaxError: invalid syntaxDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "<string>", line 1, in <module>  File "/home/lechen/.local/lib/python2.7/site-packages/neovim/__init__.py", line 5, in <module>    import pynvim  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/__init__.py", line 11, in <module>    from pynvim.msgpack_rpc import (ErrorResponse, child_session, socket_session,  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/__init__.py", line 8, in <module>    from pynvim.msgpack_rpc.event_loop import EventLoop  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/__init__.py", line 10, in <module>    from pynvim.msgpack_rpc.event_loop.asyncio import AsyncioEventLoop  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/asyncio.py", line 23, in <module>    import trollius as asyncio  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/__init__.py", line 21, in <module>    from .base_events import *  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/base_events.py", line 39, in <module>    from . import coroutines  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/coroutines.py", line 16, in <module>    from . import futures  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/futures.py", line 19, in <module>    from . import executor  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/executor.py", line 12, in <module>    import concurrent.futures  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/__init__.py", line 8, in <module>    from concurrent.futures._base import (FIRST_COMPLETED,  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414    raise exception_type, self._exception, self._traceback                        ^SyntaxError: invalid syntax
  - INFO: Python version: 3.8.5
  - INFO: pynvim version: unable to load neovim Python module
  - ERROR: pynvim is not installed.
    Error: unable to load neovim Python module
    - ADVICE:
      - Run in shell: pip3 install pynvim

Here are some outputs from my python3:
base ❯ python3 -c "import neovim"
Traceback (most recent call last):
  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/asyncio.py", line 20, in <module>
    import asyncio
  File "/usr/lib/python3.8/asyncio/__init__.py", line 8, in <module>
    from .base_events import *
  File "/usr/lib/python3.8/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/lechen/.local/lib/python2.7/site-packages/neovim/__init__.py", line 5, in <module>
    import pynvim
  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/__init__.py", line 11, in <module>
    from pynvim.msgpack_rpc import (ErrorResponse, child_session, socket_session,
  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/__init__.py", line 8, in <module>
    from pynvim.msgpack_rpc.event_loop import EventLoop
  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/__init__.py", line 10, in <module>
    from pynvim.msgpack_rpc.event_loop.asyncio import AsyncioEventLoop
  File "/home/lechen/.local/lib/python2.7/site-packages/pynvim/msgpack_rpc/event_loop/asyncio.py", line 23, in <module>
    import trollius as asyncio
  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/__init__.py", line 21, in <module>
    from .base_events import *
  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/base_events.py", line 39, in <module>
    from . import coroutines
  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/coroutines.py", line 16, in <module>
    from . import futures
  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/futures.py", line 19, in <module>
    from . import executor
  File "/home/lechen/.local/lib/python3.8/site-packages/trollius/executor.py", line 12, in <module>
    import concurrent.futures
  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/home/lechen/.local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 414
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

I have tried various things from googing, such as issues-388. All failed.
In my init.vim, I set the python's as follows
let g:python_host_prog = '/usr/bin/python2'
let g:python3_host_prog = '/usr/bin/python3'

I also have installed anaconda, I tried that one too with no success.
Thanks a lot for any help!

What I have done is to remove the folder /home

how was this issue resolved?
what was the fix?

@defnlife You need to check :checkhealth.
I think your Python is not detected by neovim.
So you need to set g:python3_host_prog.


Support for custom field

If would be nice to be able to show and edit custom fields. Is this feature already supported or are any plans to support it?

@vballestra-latch this feature is in progress https://github.com/ankitpokhrel/jira-cli/pull/319, you can help by testing and providing feedback.

I'm still having issues with this on version 1.1.0
I've regenerated the config file with the init to add the custom fields. Another question rises here, how do you work with multiple projects?

The config contains the custom fields in question.

Thanks, great initiative btw

Hi @danjee, you need to pass the field name. You can find the details here. Also, note that not all data type is supported for custom fields.

Maybe I'm missing something from the documentation but I'm not passing them ? See first picture?

You need to pass the name slug. So instead of --custom=customfield_11780=xyz it would be --custom=rollback-strategy=xyz. You don't have to look for custom field key from Jira. This is explained in the doc I shared above.

I get a customfield_13743: Field 'customfield_13743' cannot be set. It is not on the appropriate screen, or unknown. when trying to set story points, jira issue edit CMP-3655 --no-input --custom story-points=5
- name: Story Points
  key: customfield_10023
  schema:
    datatype: number

This 400 is coming from Jira. How can I troubleshoot? is the number datatype not supported?

How does this work when I want to view a custom field in my jira issue? Right now, my jira view issue PROJECT-# does not return all the fields that are visible on my jira instance. That command does not have a --custom option... So, what am I suppose to do?

How does this work when I want to view a custom field in my jira issue? Right now, my jira view issue PROJECT-# does not return all the fields that are visible on my jira instance. That command does not have a --custom option... So, what am I suppose to do?

This same is case with listing issues of sprint


Add "us" to "unit_system" allowed values

Home Assistant release with the issue:
0.91.0
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Mine is Hass.io. I assume it affects ALL.
Component/platform:
homeassistant (general)
Affects all components that use measurable values, especially volume measures.
Description of problem:
Units of measure in Home Assistant (unit_system) can be set to “imperial” or “metric”. An option for US system of measures (e.g. “us”) should be added.
Although most US and Imperial units are close enough for ordinary, non-scientific purposes, US and Imperial volume measures differ substantially. One Imperial pint is 20 Imperial ounces. A US pint is 16 US ounces. And a US ounce is slightly larger than an Imperial ounce. An Imperial gallon is slightly more than 1.2 US gallons. This is a 20% difference, which is significant for even the casual user.
E.g. of a component affected: I started using the BMW connected drive component (currently broken in North America) that reports remaining_fuel. My full fuel tank appeared 20% empty, making me wonder where the gas had gone. (It was all there, just measured in Imperial Gallons, not US Gallons).
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
homeassistant:
  unit_system: imperial

Traceback (if applicable):

Additional information:
I see that there are at least a handful of other car components that report fuel level that this issue affects. Other components are probably also affected to some degree.
A longer version of this report appears in the forum:
https://community.home-assistant.io/t/add-us-to-unit-system-options/109528
Wikipedia summarizes the more significant differences between US and Imperial measures:
https://simple.wikipedia.org/wiki/Comparison_of_the_Imperial_and_US_customary_systems

/move home-assistant/architecture


Makefile syntax highlighting incorrectly highlights string as comment

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

VS Code:
Version: 1.65.0-insider
Commit: 50089c3f92c17584a4aca179f51f220b56c22020
Date: 2022-02-14T05:19:23.146Z
Electron: 16.0.8
Chromium: 96.0.4664.110
Node.js: 16.9.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.10.0-11-amd64 snap

OS: Debian 11
Steps to Reproduce:

Open or create a Makefile in Visual Studio Code
Insert a string wrapped in quotes that contains a #.

For example:
PASSWORD='jF$rbr*b9uRuTxsUdSH38jo5wcAYQXp3fn7#uU^3BJUGEeycV4ziS*h7V&m6bh^VKN24Q^&rF'

Everything after the # is highlighting as a comment, but this is actually part of the string. (Wrapped in ' to avoid any processing in bash due to special characters like $.)

Opened an issue in the upstream repository that we get our makefile syntax highlighting grammar from https://github.com/fadeevab/make.tmbundle/issues/14


Create new Flexbox container component

Issue Description
Create a new container component that is specific to using flexbox to align its content.
Issue Type

[x] New Feature
[ ] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
Should be able to give the container a list of children and to be able to set the flexbox styles such as flex-wrap, order, and align-self as properties along with other css stylings such as margin and padding.

Tech Design for Flex Container
Summary:
This is a new component that will allow for the consumer to apply flex-box stylings to the container and drop in any number of elements into it.
Bidirectionality
These changes should make no changes to the existing ltr/rtl functionality.
React Props:

Prop
Type
Default
Description

alignContent
bool

Aligns the container's lines within when there is extra space in the cross-axis.  Should be one of center, flex-end, flex-start, space-around, space-between, or stretch.

alignItems
string

Defines the default behavior for how flex items are laid out along the cross axis on the current line.  Should be  one of baseline, center, flex-end, flex-start, or stretch.

alignSelf
string

Allows the default alignment to be overridden for individual flex items.  Should be  one of baseline, center, flex-end, flex-start, or stretch.

children
node

Child nodes to be displayed in the container.

display
string
flex
Enables flex context for all its direct children either inline or block.  Should be flex or inline-flex.

element
string
div
Indicates what type of element the flex container can be.  Should be one of article, aside, div, figure, footer, header, main,  nav, or section.

flex
string

Shorthand for flex-grow, flex-shrink and flex-basis combined.  Example 0 1 auto.

flexBasis
string

Defines the default size of an element before the remaining space is distributed.  Can be a length (20%) or a keyword (auto).

flexDirection
string

Defines the direction flex items are placed in the container.  Should be one of column, column-reverse, row, or row-reverse.

flexGrow
number

Defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion.

flexShrink
number

Defines the ability for a flex item to shrink if necessary.

flexWrap
string

Allow the items to wrap as needed.  Should be one of nowrap, wrap, or wrap-reverse.

height
string

Defines the height of the container.

justifyContent
string

Defines the alignment along the main axis.  Should be  one of center, flex-end, flex-start, space-around, or space-between.

margin
string

Defines the margins for the container.

marginBottom
string

Defines the bottom margin for the container.

marginLeft
string

Defines the left margin for the container.

marginRight
string

Defines the right margin for the container.

marginTop
string

Defines the top margin for the container.

maxHeight
string

Defines the maximum height for the container.

maxWidth
string

Defines the maximum width for the container.

minHeight
string

Defines the minimum height for the container.

minWidth
string

Defines the minimum width for the container.

order
number

Controls the order in which items appear in the container.

padding
string

Defines the padding for the container.

paddingBottom
string

Defines the bottom padding for the container.

paddingLeft
string

Defines the left padding for the container.

paddingRight
string

Defines the right padding for the container.

paddingTop
string

Defines the top padding for the container.

width
string

Defines the width for the container.

Example:
// with all fields
<FlexContainer
	alignContent=“true”
	alignItems=“center”
	display=“flex”
	element=“div”
	flexDirection=“column”
	flexWrap=“wrap”
	height=“50%”
	justifyContent=“space-between”
	margin=“10px 10px 10px 10px”
	marginBottom=“10px”
	marginLeft=“10px”
	marginRight=“10px”
	marginTop=“10px”
	maxHeight=“50%”
	maxWidth=“50%”
	minHeight=“10%”
	minWidth=“10%”
	padding=“10px 10px 10px 10px”
	paddingBott0m=“10px”
	paddingLeft=“10px”
	paddingRight=“10px”
	paddingTop=“10px”
	width=“50%”>
    	<FlexContainer alignSelf=“center" order=2 flexGrow=1 flexShrink=1 flexBasis=“50%”>
		Test
	</FlexContainer>
    	<FlexContainer alignSelf=“flex-end” order=3 flex=“1 1 auto”>
		Test
	</FlexContainer>
	<FlexContainer alignSelf=“flex-start" order=1 flex=“1 1 auto”>
		Test
	</FlexContainer>
</FlexContainer>

// with no defaults
<FlexContainer>
    	Test
	Test
	Test
</FlexContainer>

Notes
I was considering creating a FlexContainer.Item similar to how the List has ListItems for the children to contain the specific props.  However, the flex component I am modeling this after has all of these props on just the one component.  Therefore, I have it as is.  I have kept all the height, width, margin, and padding props as well since are included on the flex component modeling this after, which can be found here:  https://github.com/nachoaIvarez/flexbox-react.

For the heigh/width/padding/margin props, I think we may want to abstract the values passed in so that we can hook them up to themeing. Alternatively we could leave the component as is and expect components using this component to provide the themed values.

Yeah, I'm concerned about the margin and padding props in regards to theming, I'm less concerned about theming width / height. I'm thinking we should abstract margin / padding into set sizes which can be themed, but until we have a spacing scale, its hard to say how the margin / padding abstraction should be implemented.
How useful do you all think this would be if we implement it without margin / padding props until UX provides a spacing scale?

removed the margin and padding props from the design, I agree that is the best route to go

+1 on tech design

Thoughts on naming this Flexbox?
<Flexbox>
  Happy Name
</Flexbox>

I have it as FlexContainer as it is for flexing the items inside of it.  I'm not adverse to FlexBox if we think it's better, but I felt container was a bit more descriptive.

Flexbox is the official name that's given to it. I would agree with stephen here.
I do have a question on the props though. One power of flexbox is that is you apply margin-left: auto to an element, then it will take as much margin as it possibly can. This comes in great for navigation with links on the right side. @bjankord do you have any thoughts on that? Or do we anticipate having a navigation component that does that for us?

What is the value proposition to using this component over just using flexbox with CSS/markup? Does it make more sense to create specialized layout components using flexbox for the situations we identify?

We discussed adding this component and agree that we will be holding off on implementing this.  Our new recommendation is to use the third party flexbox component if need to found here:
https://github.com/nachoaIvarez/flexbox-react.


ui5-test-runner

Add new NPM Package
Please make sure you meet these requirements first:
Prerequisites

[X] Add link to your GitHub Repo in package.json (example)
[X] Add a license to your project.
[X] Add Author to your package.json (example).
[X] NPM module published with current version.
[ ] ui5.yaml file present (example)

Pull Request
After checking the prerequisites, you can create a pull request, to edit sources.json with the following content:
For example, if you want to add the module https://github.com/ui5-community/ui5-cc-md, your commit would look like this:
{
  "owner": "ui5-community",
  "repo": "ui5-cc-md",
  "addedToBoUI5": "2022-04-09T11:37:57.868Z",
  "type": "tooling",
  "tags": ["markdown"]
}

owner: is the organization or your username
repo: is the repo name
addedToBoUI5: is a timestamp with the current date
type: is the type of the module, please choose on of the types in the enum BoUI5Types
tags: Here you can name relevant tags for your module, as inspiration, which are already used you can find here

Thank you for your contribution.
The package is now on the bestofui5 website:
https://bestofui5.org/#/packages/ui5-test-runner


Bug: error in gf.components.text_rectangular

Describe the bug
File "***\.pixi\envs\default\Lib\site-packages\gdsfactory\components\text_rectangular.py", line 74, in text_rectangular
ref.dmove(origin=ref.dcenter, other=position, axis="x")
│   │            │   │              └ (0, 40)
│   │            │   └ <property object at 0x0000028972A9D620>
│   │            └ Unnamed_16: ports [], Unnamed_12: ports [], 0 instances
│   └ <function Instance.dmove at 0x0000028972AA1940>
└ Unnamed_16: ports [], Unnamed_12: ports [], 0 instances

TypeError: Instance.dmove() got an unexpected keyword argument 'other'

To Reproduce
c= gf.Component()
text0 = c << gf.components.text_rectangular(text="100", size=10, position=(0, 40) , justify='center', layer=(100, 0))
c.plot()

Expected behavior
What would you like to happen?
generate a text_rectangular cell
Suggested fix
How could we fix the bug? As an open-source project, we welcome your suggestions and PRs.
I think there some thing wrong about how to move the cell
Environment (please complete the following information):

[*] I have reviewed the documentation but found no relevant solution.
[*] I have searched the existing issues and found no resolution.
[*] I am using the latest version of GDSFactory with Python 3.12. Below is the output for the following code
[*] I acknowledge that, as an open-source project, the maintainers may not have the capacity to address this issue. I am willing to contribute by fixing it myself or hiring someone to resolve it (contact@gdsfactory.com). Otherwise, I understand that the issue may remain unresolved.

import sys
print(sys.version)
print(sys.executable)

import gdsfactory as gf
gf.config.print_version_plugins()

3.12.6 | packaged by conda-forge | (main, Sep 22 2024, 14:01:26) [MSC v.1941 64 bit (AMD64)]
p:\OneDrive\***\devENV-GdsFactory\.pixi\envs\default\python.exe

                                                      Modules
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃    Package ┃ version                                          ┃                                            Path ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│     python │ 3.12.6 | packaged by conda-forge | (main, Sep 22 │ p:\OneDrive\***\devENV-GdsFactory\.pi… │
│            │ 2024, 14:01:26) [MSC v.1941 64 bit (AMD64)]      │                                                 │
│ gdsfactory │ 8.8.8                                            │ p:\OneDrive\***\devENV-GdsFactory\.pi… │
│   gplugins │ not installed                                    │                                                 │
│        ray │ not installed                                    │                                                 │
│    femwell │ not installed                                    │                                                 │
│     devsim │ not installed                                    │                                                 │
│     tidy3d │ not installed                                    │                                                 │
│       meep │ not installed                                    │                                                 │
│       meow │ not installed                                    │                                                 │
│     lumapi │ not installed                                    │                                                 │
│        sax │ not installed                                    │                                                 │
└────────────┴──────────────────────────────────────────────────┴─────────────────────────────────────────────────┘

Thank you for reporting this
see fix https://github.com/gdsfactory/gdsfactory/pull/3388


3-networks-hub-and-spoke: step 11 shared apply - enable compute API in bootstrap project

3-networks-hub-and-spoke: shared apply enable compute API in bootstrap project

michael@cloudshell:~/tef-olxyz/github/gcp-networks (tef-olxyz)$ ./tf-wrapper.sh apply shared
*************** TERRAFORM APPLY *******************
      At environment: envs/shared
***************************************************
module.hierarchical_firewall_policy.google_compute_organization_security_policy.policy: Creating...

Error: Error waiting to create OrganizationSecurityPolicy: Error waiting for Creating OrganizationSecurityPolicy: error while retrieving operation: googleapi: Error 403: Compute Engine API has not been used in project tef-olxyz before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=tef-olxyz then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
Details:
[
  {
    "@type": "type.googleapis.com/google.rpc.Help",
    "links": [
      {
        "description": "Google developers console API activation",
        "url": "https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=tef-olxyz"
      }
    ]
  },
  {
    "@type": "type.googleapis.com/google.rpc.ErrorInfo",
    "domain": "googleapis.com",
    "metadatas": {
      "consumer": "projects/tef-olxyz",
      "service": "compute.googleapis.com"
    },
    "reason": "SERVICE_DISABLED"
  }
]
, accessNotConfigured

  with module.hierarchical_firewall_policy.google_compute_organization_security_policy.policy,
  on ../../modules/hierarchical_firewall_policy/main.tf line 27, in resource "google_compute_organization_security_policy" "policy":
  27: resource "google_compute_organization_security_policy" "policy" {

fix
As well as compute api on bootstrap project in step 11 of 3-networks-hub-and-spoke
michael@cloudshell:~/tef-olxyz/github/gcp-networks (tef-olxyz)$ gcloud services enable compute.googleapis.com
Operation "operations/acf.p2-438381210056-2415ed08-fad8-4333-8c8e-1017881efb60" finished successfully.

fixed


PWA more offline availability

This updates the PWA views to class based views and adds a few more fields. Then there are some random fixes and touchups. Biggest change (and the most debatable) is the new serviceworker that caches sites you visit on the go.

coverage: 88.092% (+0.02%) from 88.077% when pulling 8edc55fc9ee544ce25f54fbf0e8f0fde32388075 on pwa-improvements into 01f46d14f8836a09115029e93ec12130c697fe38 on main.

When trying this with the offline simulator in Chrome Desktop, the CSS of the offline page is not rendered. Service worker has been freshly installed.


Windows avm install fails

Platform: Windows 10 64-bit
Installing avm version 0.24.2 with the command avm install latest
Last lines of the installation gives this failue message:
Replacing C:\Users\wd973465\.avm\bin\anchor.exe
    Replaced package `anchor-cli v0.24.1 (https://github.com/project-serum/anchor?tag=v0.24.1#d491f0ba)` with `anchor-cli v0.24.2 (https://github.com/project-serum/anchor?tag=v0.24.2#0b4c7b0c)` (executable `anchor.exe`)
Error: The system cannot find the file specified. (os error 2)

when I try avm use latest, it gives me the following error:
Version 0.24.2 is not installed, no current version.
Error: You need to run 'avm install 0.24.2' to install it before using it.

following the instruction to install again, I try to install again, and it prompts that it is already installed, but still "cannot find the specified file":
C:\Users\wd973465\web3>avm install 0.24.2
    Updating git repository `https://github.com/project-serum/anchor`
     Ignored package `anchor-cli v0.24.2 (https://github.com/project-serum/anchor?tag=v0.24.2#0b4c7b0c)` is already installed, use --force to override
Error: The system cannot find the file specified. (os error 2)

The same thing happens with 0.24.1, and any other versions listed in avm list

I fixed this issue by re-ordering my environment variables.
I installed rust first, so it automatically set the .cargo/bin directory in my env variables.
I installed avm afterwards and set my .avm/bin directory at the bottom of my env variables, which was the issue.
.cargo/bin also contains a copy of anchor, but AVM expects the anchor.exe executable to be found under its own bin. Since cargo came first, it was picking up the wrong anchor executable causing the issue.
Solution: Move .avm/bin above .cargo/bin


code --install-extension someext.vsix gives an exception, If the extension is already installed.

VSCode Version: Code 1.8.1 (bac373f977096223c816e4342be3cd685e1c94d1, 2016-12-21T13:27:08.976Z)
OS Version: Windows_NT ia32 10.0.14393

code --install-extension someext.vsix

gives an exception, If the extension with same package version is already installed.
Steps to Reproduce:

code --install-extension anyext.vsix
code --install-extension anyext.vsix

WARNING: Promise with no error callback:39
{ exception: null,
  error: [ , , , , , , , , [ [Object] ] ],
  promise:
   Promise_ctor {
     _oncancel: null,
     _nextState: null,
     _state:
      { name: 'error',
        enter: [Function: enter],
        cancel: [Function: _],
        done: null,
        then: null,
        _completed: [Function: _],
        _error: [Function: _],
        _notify: [Function: notifyError],
        _progress: [Function: _],
        _setCompleteValue: [Function: _],
        _setErrorValue: [Function: _] },
     _listeners: null,
     _value: [ , , , , , , , , [Object] ],
     _isException: false,
     _errorId: 39,
     done: [Function: ErrorPromise_done],
     then: [Function: ErrorPromise_then] },
  handler: undefined,
  id: 39,
  parent: undefined }

I can't repro this in Windows or OSX:

Care to try to reproduce it? Maybe give me the exact command line you are running?

@joaomoreno
I install vsix file from hdd (build with vsce), not in marketplace.

Can you send me that vsix?

@joaomoreno yyyep.
stack-1.0.4.vsix.zip

Would be nice if it overwrote the current version when authoring extensions/themes.  Potentially a --force flag that is mentioned when receiving this error.

@joaomoreno I have this same issue installing via CLI with VsCode 1.11.1. Is there a fix for this?

The fix is in master. Will come out with 1.12.


window.onDidChangeTerminalDimensions should not fire with 0,0 when terminals are created

The should respect dimension overrides terminal integration test shows that this is firing incorrectly with 0,0.

@Tyriar Is this still an issue?


Consider retrying on certain HTTP codes only

The purpose of a link checker is to ensure that the tested links are all still valid.
However, some HTTP codes indicate permanent issues and resources that are gone. In my experience, 404 is usually not worth retrying.
You can argue that retries should only happen for certain subset of the HTTP codes, to speed up the link checking process. This might be a configurable option.

Nice idea! We could add a skip-retry option that defaults to 404. If anyone is interested in working on this, post a comment here. @pawroman and me are happy to help. 😊

So after looking at the code again, I'm not sure if there's anything left to do here.
At the moment we accept any HTTP status code and don't retry if we get a "valid" response.
https://github.com/lycheeverse/lychee/blob/2a80760f586688e8512e895da49709314375b1bc/lychee-lib/src/client.rs#L191-L193
So no matter if we receive a 200 or a 404, we don't retry. Only if there was an invalid status code we check again.
Makes sense to me actually. What do you think?

I think this is done. Closing this to keep the issue tracker clean. @pawroman feel free to reopen. 😉


Fix GitHub icon in 'Telemetry Consent' page

This depends on atom/atom#13138 and atom/about/#43
Description of the Change
Resize GitHub icon and align text with icons.
Before

After

Thanks for the fix!


Upgrade to Angular 18

https://www.angulararchitects.io/en/blog/angular-17-update-control-flow-app-builder-migration/


Misstyping

What I got from the explanation,
The sparse vector
2,5,?,?,?,?,?,5,?,?,?,?,4
Should be wrote as
(0,2),(1,5),(7,5),(12,4)
not as
(0,2),(0,5),(7,5),(12,4)

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Does your contribution introduce a new dependency? If yes, which one?

What should a reviewer concentrate their feedback on?

Any other comments?

PR checklist

For all contributions

[ ] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[ ] I've added unit tests and made sure they pass locally.

For new estimators

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.


Metrics from Istio

Istio Metrics (Prometheus): Istio comes with an option to configure Prometheus. Would be nice taht Lens can use Istio out of the box Prometheus configuration.

Any updates on this? would be great to reuse the Istio version of Prometheus

Same goes for linkerd2 prometheus.

If istio creates service for Prometheus, you can configure Lens to use that service. However I'm not familiar how Istio will label metrics so it's possible that it's not compatible with Lens.
To try it out, configure Lens to use for example Helm type of prometheus and give Prometheus service address:

If that's not working then you can give a try with Prometheus Operator styled Prometheus.

Pod's metrics (CPU, memory, network, filesystem) working successfully with both of the Helm and the Prometheus Operator method.
But Cluster's and Node's and metrics not work and shown above error message:

Metrics are not available due to missing or invalid Prometheus configuration.
Right click cluster icon to open cluster settings.

In this case, we can say that Lens successfully connected to Prometheus and received metrics.
I guess Istio's Prometheus configuration is not correct for Lens. Lens can't receiving metrics about Cluster and Nodes.


Display like audio spectrum during DroidKaigi FM playback

Issue

close #381

Overview (Required)

Display like audio spectrum during DroidKaigi FM playback.
This animation is inspired by google podcast app.
If you have better idea, please tell me feedback 😄

Links

Screenshot
https://user-images.githubusercontent.com/7961496/123964292-3afc7700-d9ee-11eb-971e-d306da25ac17.mp4

👀

The animation looks cool! 🆒


Installing on Raspberry Pi failed

What happened?
I cannot install it again on a raspberry pi. Tried several version of NodeJs.
this is what is happening:
`pi@tallyarbiter:~/tallyarbiter $ sudo npm install --global tallyarbiter         npm WARN deprecated<EMAIL_ADDRESS>npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
/usr/bin/tallyarbiter -> /usr/lib/node_modules/tallyarbiter/bin/tallyarbiter

<EMAIL_ADDRESS>install /usr/lib/node_modules/tallyarbiter/node_modules/fmerge
node install.js

internal/fs/utils.js:312
throw err;
^
Error: EACCES: permission denied, open 'fmerge.min.js'
at Object.openSync (fs.js:498:3)
at Object.writeFileSync (fs.js:1524:35)
at Object. (/usr/lib/node_modules/tallyarbiter/node_modules/fmerge/install.js:19:4)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: 'fmerge.min.js'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-08-11T14_55_18_122Z-debug.log
pi@tallyarbiter:~/tallyarbiter $ tallyarbiter
-bash: tallyarbiter: command not found
pi@tallyarbiter:~/tallyarbiter $ npm start

<EMAIL_ADDRESS>start /home/pi/tallyarbiter
node index.js

internal/modules/cjs/loader.js:888
throw err;
^
Error: Cannot find module 'packet'
Require stack:

/home/pi/tallyarbiter/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (/home/pi/tallyarbiter/index.js:5:21)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/pi/tallyarbiter/index.js' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2021-08-11T14_56_07_293Z-debug.log
pi@tallyarbiter:~/tallyarbiter $`
This is with Node version 14.17.0 and npm version 6.14.13. Other versions give the same result.
Version
version pull at 11-08-2021
Distribution
CLI
OS
Linux
What browsers are you seeing the problem on?
No response
If applicable, What Listener Clients are You Using?
No response
TallyArbiter configuration
No response
Relevant log output
No response
Error stacktrace (if applicable)
No response

I can't replicate the bug.
Can you try sudo npm install -g --unsafe-perm=true --allow-root tallyarbiter

Else, if it isn't working, can you try to download TallyArbiter from source and run npm install then npm start

@peterfdej let us know if the suggested command doesn’t help. You can re open this issue if needed.

The install command worked. Thx.


Doesn't fail on not found URL

Urls such as...

https://www.npmjs.com/package/PageThatDoesNotExistAndReturns404
https://gibberish
http://somedummypage.com/

...do not return warnings or errors. I was not expecting this.
So this tool only validates links to internal pages? If that's so, it should be made explicit.

@dialex Correct, that’s not supported, there are other tools that do that. Could you create a PR that makes the docs more clear?

Done @wooorm. Can you recommend me a tool to check for broken external links?

Should be something here! https://github.com/remarkjs/remark-lint#list-of-external-rules
I’ll close this for now, we can discuss the PR on it’s own page (but I’ll do that later)


Implement parsing of numbers

Coverage increased (+14.8%) to 98.113% when pulling b3fcf3ac96d371e77d4c06e9bb280013ec454665 on implement-parsing-of-numbers into 457a717725c651a7d70216505015e5819e869a3c on master.


GetComponent  - performance w.r.t. reflect

The GetComponent function we use, is quite nice. The current usage being:
var comp *SpaceComponent
if !ent.GetComponent(&comp) {
    return // not found
}

However, reflect is quite slow.
An alternative:
var comp *SpaceComponent
interf := ent.GetComponent(comp)
if comp, ok = interf.(*SpaceComponent); !ok {
    return // not found
}

But ... This does not feel right, but rewriting it as this isn't perfect either:
var comp *SpaceComponent
var ok bool
comp, ok = ent.GetComponent(comp).(*SpaceComponent)
if !ok {
    return // not found
}

Or this:
var comp *SpaceComponent
if comp, ok = ent.GetComponent(comp).(*SpaceComponent); !ok {
    return // not found
}

Ignoring the reflect package and try to manipulate it with the unsafe package also didn't quite work.
The fastest solution I've come up so far, is this one:
// SPACE_COMPONENT is a uint32 or something, thats generated
// on build-time by the user; the same would be needed for AddComponent, etc.
// or on boot-time, when calling some kind of Register function
comp, ok :=  ent.GetComponent(SPACE_COMPONENT).(*SpaceComponent)
if !ok {
    return // not found
}

I'm not sure what we should do here; if we should do anything at all. All I know for now, is that 20% of the runtime, Go is occupied with the reflect part of the GetComponent function (i.e.: that's about 95% of the GetComponent function duration).
I'm putting it here, because perhaps someone has a nice suggestion as to how to improve this.

Before we make any assumptions. I'd like to question how slow it actually is, and if it would actually effect out games? Can we get a benchmark on this?

What would you like to see benchmarked? I've benchmarked the CollisionSystem, and there it was mostly occupied with GetComponent.

      flat  flat%   sum%        cum   cum%
    1100ms 13.75% 13.75%     1420ms 17.75%  runtime.mallocgc
     800ms 10.00% 23.75%     1030ms 12.88%  github.com/paked/engi.(*Batch).Draw
     590ms  7.38% 31.13%     2650ms 33.12%  github.com/paked/engi.(*Entity).GetComponent

Note the cum% column; this is the percentage of the total runtime, it's busy doing GetComponent (or any function called by GetComponent).

I just thought of the best mix between usage and performance.
var comp *CollisionComponent
if comp, ok = comp.Type(comp.Type()); !ok {
    return // component not found
}

Thoughts? @paked @matiwinnetou

@EtienneBruines Did you mean?
var comp *CollisionComponent
if comp, ok = entity.Type(comp.Type()); !ok {
    return // component not found
}

I did; already corrected.

@EtienneBruines I like that idea, what about:
var comp *CollisionComponent
if  !entity.GetComponent(comp.Type(), comp) {
    return // component not found
}

Trying to get rid of reassigning comp...

GetComponent can only receive an interface{} for each *Component. And if you want to assign to an interface, you (unfortunately) have to use reflect.

I'm really not a fan of type assertions.
I'd like to go as long as possible without them. Do we have statistics from @matiwinnetou's galaxian yet?

@paked Here they are https://github.com/paked/engi/issues/55#issuecomment-153979326

Okay, the last snippet I put down, doesn't work. Even when fixing all the null-pointer exceptions (for which I still havent found the example), c does not change outside the function call.
This means we do either have to use reflect to assign it to an interface{} anyway, or return the Component, and then type-cast it. Not sure why you're not a fan of it, though.

OK, the benchmarks aren't what I expected them to be. The question is: is this 20% worth it?
BenchmarkReflect-8      	20000000	       625 ns/op
BenchmarkTypeAssertion-8	30000000	       501 ns/op

On IRC @EtienneBruines proposed a hybrid solution. This may be the best option to go with. As both options require the exact same internal data structures.
Suggestions for this second function were

Interface
ComponentFast

I do like the sound of ComponentFast.
Then that leaves us with: which one should the engi core use? I would say the core should be as fast as possible, with the demos showing the usage of the one more readable.
Thoughts?

@EtienneBruines SGTM

Fixed as of #73.


Custom title window with Primary etc color

Hi,
can you add or tell me how I can change window title color to another like 'primary indigo' background/foreground etc. Google tell me I can use ' Custom Window Chrome' for change this color and this is one solution.. Maybe is now solution for that with MaterialDesigner ??
thanks and sry for my english :)

Hi @mariusz695
Unfortunately in WPF you only have control over the style of the client area of the window (the area inside of the window chrome). This means that you cannot simply change the color of the title. What you can do is simply remove all of the window chrome (the stuff around the outside of the window) and design your own window template using the WindowChrome.
This will take some work but it totally doable.
Here are some examples and tutorials to get you started.
Link 1
Link 2
Link 3
Link 4

Mahapps metro provides excellent window customization. I think there's a demo in this repo demonstrates integration with these two libraries.

Were you asking about this? Try http://mahapps.com/ and MahAppsDragablzDemo

Thanks for all :), yes EdonGashi this is it what I want :).


How to read coordinate when the line is clicked at any point in line chart?

Bug or Feature Request?
How to read coordinate at any point in line chart?
Description
I want to read coordinates (x and y values) in Line chart(LineSeries component). Is this feature exists or is there any workaround to achieve this in our package
How to reproduce
Live demo demonstrating bug

Versions

React JSX Highcharts version:
Highcharts version:
React version:

Do you mean something like in this highcharts demo?
https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-point-events-mouseover/

Exactly Anajavi, I am drawing line by component based implementation.
see this below

TRANSACTIONS

Data

Amount

Then how can I achieve configuration from demo link you shared above.
Thanks for quick response.

Here's a quick example:
https://stackblitz.com/edit/base-chart-example-yq8lkg?file=MyChart.js

Thank you so much Anajavi


Fix bug in the function inv_symlog10

Fix bug in the definition of the inv_symlog10 function. s is not defined, the correct variable is low.

thank you!


[Question] how to merge the middle checkpoint file with lora

Question
i want to test the checkpoint-5000 in lora，when i ran
python scrips/merge_lora_weights.py --model-path ./checkpoints/llava-v1.5-13b-lora --model-base lmsys/vicuna-13b-v1.5 --save-model-path ./checkpoints/merge
it went wrong

you need to copy the config.json and non_lora_trainables.bin into your checkpoint-5000 folder

I also have the same problem #1194. Did you solve it?

you need to copy the config.json and non_lora_trainables.bin into your checkpoint-5000 folder
Is config.json and non_lora_trainable.bin saved only at the end of the entire training? I have set epoch 10, can I copy these two files from epoch 10 directly to the first nine?

Is config.json and non_lora_trainable.bin saved only at the end of the entire training?

I think so.

I have set epoch 10, can I copy these two files from epoch 10 directly to the first nine?

The weights of projector are saved in non_lora_trainables.bin, which is unfrozen during sft stage.

Thank you for your reply！but I also have some question

The weights of projector are saved in non_lora_trainables.bin, which is unfrozen during sft stage.

non_lora_trainable.bin is not storing the weight without lora trimming part, shouldn't it be frozen? Why is it a weight store for projectors?
In your previous answer, you said copy the two files to the corresponding weight folder.If it is unfrozen during sft stage, this way is incorrect.How can I merge the middle checkpoint file with lora.

Thank you for your reply！but I also have some question

The weights of projector are saved in non_lora_trainables.bin, which is unfrozen during sft stage.

non_lora_trainable.bin is not storing the weight without lora trimming part, shouldn't it be frozen? Why is it a weight store for projectors?
In your previous answer, you said copy the two files to the corresponding weight folder.If it is unfrozen during sft stage, this way is incorrect.How can I merge the middle checkpoint file with lora.
 Check here
Try:
a = torch.load('.../non_lora_trainables.bin')
print(a.keys())

Yes, you are right. And you may need to edit the source code to save projector weights in the middle.


Frontend Project "Recipe_Book" Styling

Title and Issue number
Frontend Project "Recipe_Book" Styling
Close #3547
Output
Before

After

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md

@MohitGupta121 Kindly review this pr.


SSE Disabled

Curious, did you mean to comment out the contents of sse_server.go and it's test file?

So functionally the SSE implementation is pretty much there, I commented it out just before release to get some more thorough testing out first. We'll likely get this out on the 26th if people are looking to use it!


Problems Configurating WakaTime in SSMS18 - SOLVED

I have follow these steps to be able to configurate:

Download the latest release https://github.com/gandarez/ssms-wakatime/releases/latest
Unzip the content.
Run AddPackage.bat to add WakaTime extension into registry white list.
Open SSMS and select option No

Close SSMS
Follow this step https://github.com/gandarez/ssms-wakatime/issues/23#issuecomment-573096967

To fix this go to the wakatime.dll, right click properties and click unblock then okay and it’ll work on restart.
In the menu choose "Tools" > "Wakatime"

Start SSMS and right here the WakaTime extension should appear so you can add your API Key
It also appears in the Tools window

9. Now it is working

This resolved my issue in SSMS 18.9.1
Thanks

The extension has been bumped to version 3.0.0. Please follow the updated instructions on README to reinstall it.


Bootloader: Validate Merkle proofs

Another step towards #814.
This PR adds a public outputs to expose the root hash of the initial memory content. Then, the prover (privately) provides a Merkle proof which is validated by the bootloader, for each paged-in memory page.
This makes sure that the prover can only page-in pages that are actually part of the tree.

Code looks good, but looks like some tests are failing with SIGKILL, maybe OOM in CI =/

Looks my last commit fixed it! I added a function that can compute the empty memory hash without materializing the tree. Not sure why this was a problem (as we already materialize the tree in the many_chunks tests when we actually use the Merkle tree), but I think it's a good idea anyway!

Squashed & rebased. I'll mention 94e5ad6c7946d718574192f56ee1f72878a05e8a though, which is the diff after the last approval.


When the service is purged, the prompt information on the service list page does not display.

When the service is purged, the prompt information on the service list page does not display.

let me do it

handled differently in  https://github.com/eclipse-xpanse/xpanse-ui/pull/439


.jar could not connect to database, only within container

.jar could not connect to database, only within container

fixed, changed docker-compose to open port 3306 to teh host machine and jar can connect


HUDI-1827 Add ORC Support in Bootstrap Op

What is the purpose of the pull request
Add ORC Support in Bootstrap Op
Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

*Added TestOrcBootstrap to test bootstrap functionality

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #3275 (5a5c1ad) into master (01ad449) will decrease coverage by 49.36%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #3275       +/-   ##
============================================
- Coverage     52.19%   2.82%   -49.37%
+ Complexity     2659      85     -2574
============================================
  Files           335     284       -51
  Lines         14981   11843     -3138
  Branches       1505     982      -523
============================================
- Hits           7819     335     -7484
- Misses         6536   11482     +4946
+ Partials        626      26      -600

Flag
Coverage Δ

hudicli
?

hudiclient
0.00% <0.00%> (∅)

hudicommon
?

hudihadoopmr
?

hudisync
4.85% <ø> (?)

huditimelineservice
?

hudiutilities
9.11% <ø> (-60.54%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


AEROGEAR-7748 - add build pipeline stage

JIRA
https://issues.jboss.org/browse/AEROGEAR-7748
SCREENSHOT

VERIFY
To verify have at least one mobile client created, mobile CI/CD provisioned and a build created.
NOTE
It was decided to keep this basic for now as a webhook is needed to get the different pipeline stages.

@jhellar if you wouldn't mind having a look if you are happy it might be worth merging into your current PR


Get data

https://data.hdx.rwlabs.org/
http://wiki.openstreetmap.org/wiki/Overpass_API

the data is using osm data, so i think it is not needed anymore


Add merged commit id on pull view when it's merged

Codecov Report

Merging #8062 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #8062      +/-   ##
=========================================
+ Coverage    41.6%   41.6%   +<.01%
=========================================
  Files         480     480
  Lines       64160   64160
=========================================
+ Hits        26693   26694       +1
+ Misses      34009   34007       -2
- Partials     3458    3459       +1

Impacted Files
Coverage Δ

modules/process/manager.go
76.81% <0%> (-4.35%)
:arrow_down:

routers/repo/view.go
43.54% <0%> (+1.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Require ENV['REVISION'] on startup

Right now having ENV['REVISION'] missing will lead to Current SHA must be specified as the error message. However the message doesn't tell you what exactly is wrong and how to fix it.
This check is only the case when running the script locally. Shipit always has the REVISION set.
Since Runner has no context of ENV['REVISION'], I think the right place for the check would be in the bin script.
review @KnVerey @sirupsen @wfarr

That's because https://github.com/Shopify/kubernetes-deploy/pull/22 is not merged yet


4.0.1 kubectl mayastor upgrade job failed if 'mayastor.loki-stack.enabled=false'

Description
helmchart installed with --set 'mayastor.loki-stack.enabled=false'
when you run
kubectl mayastor upgrade -n openebs --set 'mayastor.agents.core.rebuild.partial.enabled=false'

you got upgrade job pod crashed with
: mayastor.loki-stack.loki: missing field `image` at line 745 column 7
    at k8s/upgrade/src/bin/upgrade-job/main.rs:34

Expected Behavior
upgrade job completed successfully
Current Behavior
upgrade job crashed
Possible Solution
temporary enable loki stack with --set 'mayastor.loki-stack.enabled=true'
and then upgrade mayastor
Steps to Reproduce

helm chart upgraded from 3.9.0 to 4.0.1 as in instruction
values.yaml

mayastor:
  enabled: true
  loki-stack:
    enabled: false

run

kubectl mayastor upgrade -n openebs --set 'mayastor.agents.core.rebuild.partial.enabled=false'

got an error in the job pod

Screenshots
Your Environment

OS (from /etc/os-release):

NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream

Kernel (from uname -a): Linux k8host-lon04.l8s.space 5.14.0-437.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 9 12:57:02 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Install tools:

kubectl 1.29.4
mayastor plugin 2.6.1

Hi @AleksandrSor, this does seem to happen with installations done with helm v3.13 and above. I've created an issue with helm https://github.com/helm/helm/issues/12936. However, this does seem like this is intentional on helm's side. I'll track this issue here and try to come up with a solution for this.
A quick fix for this will be setting the serde_yaml Deserialize to use 'default' values when loki-stack is disabled, e.g. how this PR does it for some other dependency chart values: https://github.com/openebs/mayastor-extensions/pull/479.

A PR in mayastor-extensions has been raised by @niladrih & has been successfully merged. It implements the Deserialize fix.

https://github.com/openebs/mayastor-extensions/pull/512

Closing issue


EXAMPLE: Interceptor with custom Spring Configuration

Show how to generate XSD out of Annotations

Too old. Please reopen if still relevant.


Redis appender

little pub/sub redis interface for semantic_logger

Thank you for submitting the PR. Let me know if you need assistance with any of the issues in the code review, for example setting up travis to use redis.

Thank you all for reviewing. I will address your comments and update the pull request


Update CSA record parser

説明 / Description
CSA 形式の読み込みに関する制限を緩和する。
チェックリスト / Checklist

MUST

[x] npm test passed
[x] npm run lint was applied without warnings
[x] console.log not included (except script file)

MUST (for Outside Contributor)

[ ] understand プロジェクトへの関わり方について

RECOMMENDED (it depends on what you change)

[ ] unit test added/updated

Summary by CodeRabbit

New Features

Enhanced the import functionality for handling specific scenarios in shogi game data processing.

Tests

Added new test cases for improved validation of shogi game data imports.

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

Project coverage is 94.77%. Comparing base (2768824) to head (c917dda).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   94.76%   94.77%
=======================================
  Files          18       18
  Lines        6539     6542    +3
  Branches     1286     1286
=======================================
+ Hits         6197     6200    +3
  Misses        342      342

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


Add custom tests

I wanted to add a custom test to Twig but I can't seem to find how as when I do $app['twig']->addTest() I get a Unable to add test "mytest" as extensions have already been initialized..
Is there any way to extend Twig that way with the current implemenation ?

Sorry to reopen this, but how do we achieve this in the latest release? \Twig::addTest after initialization results in the same error mentioned above.
I see events were removed:

The TwigBridge events are removed. Similar results can be achieved by simply using the Twig facade or IoC bindings

https://github.com/rcrowe/TwigBridge/blob/78a4b7da75042660258a3269751c259eee81c34a/UPGRADE.md


SOLR-11685: use INVALID_STATE for ZK state issue in DistributedZkUpdateProcessor

https://issues.apache.org/jira/browse/SOLR-11685
RE infamous error: "ClusterState says we are the leader ... but locally we don't think so." from DistributedZkUpdateProcessor.
As it happens, I have a test in a fork of Solr that causes this failure half the time on a split shard test that is rather simple (notwithstanding inherent complexities of shard splits itself). After debugging it, I came to a similar to conclusion – this error should be caught and retried by the caller. It turns out, this is as easy as changing the HTTP status code from SERVICE_UNAVAILABLE to INVALID_STATE.
I see another problem based on my test. A shard being split (a so-called parent shard) or that which recently completed (thus may have state INACTIVE) receives docs from a client (the test) and forwards to the sub-shards. But a sub-shard fails for the error shown above, and it does not bubble this up to the client; it's swallowed as okay. Changing the status code may fix for invalid state but wouldn't for other general errors (e.g. host went down suddenly). The result is data loss.
I don't have a test to contribute for this, at least not yet.

CHANGES.txt suggestion as an Improvement (JIRA also shows as Improvement):

SOLR-11685: When SolrCloud shard leaders change while indexing updates arrive, Solr could fail and return
a HTTP 503 status.  Switched to 510 so that CloudSolrClient will auto-retry it and probably succeed.

Based on the errors from some rare flapping tests, I believe this can be just an improvement.  But I have not encountered the issue in this way to be honest, I see this in a serious bug form that I might describe as follows:

SOLR-11685: When SolrCloud shard leaders change while indexing updates arrive, Solr could return
a success to a client when it actually failed to accept it.

In the first (just an improvement), it's likely the initial Solr node had the leader flip confusion, but in the second (a bug) it happens when the initial Solr node has to forward the message to another node that is the leader (but doesn't quite know it yet).  I'm debugging more to clarify the impact of the bug with only this change, and very likely another bug for a more general case that would probably deserve another JIRA or we fold into this one to clarify the messaging to users.
I could imagine a test we could beast that induces ZooKeeper session losses and thus Solr side shard leadership changes while indexing is coming in, constantly checking if each doc actually makes it.  Some of the chaos tests show how to do the session loss trick.

for shard split testing we have ShardSplitTest, but it's rather flaky. I am trying to unpack the failures in the effort of getting it more stable #1504 it does simple things: split shard + concurrent adds and deletes. if there are things in your fork's test that are not covered, we could bring them over to that test.

I would like to revisit one of the changes here, the Request says it is coming from parent shard leader but we are in active state flow. I am looking at this from the ShardSplitTest failures pov and I don't think a retry will help in any way.
If after a shard split, the new slice reached the 'active' state and is still receiving some buffer update from the old-leader it is not going to recover on try because 'active' state is the final state (there are no more transitions, the slice goes through construction -> recovery -> active).
What I am seeing as a race window is: on the old shard there is call to getSubShardLeaders which returns the new slice because at the call moment the status is state == Slice.State.CONSTRUCTION || state == Slice.State.RECOVERY, but once it reaches the new slice the state is 'active'. (for the sake of completeness params for the request are  update.distrib=FROMLEADER&distrib.from.parent=shard1&distrib.from=http://<IP_ADDRESS>:64511/collection1_shard1_replica_n2/&wt=javabin&version=2).
I don't know what the best solution is here, but if there is a retry with the same params it will fail again, it probably needs to be a retry with a different set of params, removing all the 'leader' bits.

On this issue here (but maybe not ShardSplitTest ?), the different error code resulted in the error bubbling all the way back to the client.  My test (not here) was using CloudSolrClient, which retried and it worked.
What you say is interesting though because I'd imagine it'd be useful for the parent shard to retry this, which is the middle-man for our scenarios.  But since the retries there are done there in SolrCmdDistributor specifically, based on your observation, it could never succeed.  At least not for this scenario.  And it didn't retry a 510 code (I saw empirically) anyway.

I forgot about this one.  I wanted to debug other failures in a test I had locally but time got away from me and I can't easily reproduce the issue either.  I'd like to commit it as it is, marking it as an "improvement".  WDYT @stillalex ?

I'd like to commit it as it is, marking it as an "improvement". WDYT @stillalex ?

I agree to commit. I also dropped the ball here, but if time permits I would still like to revisit this code to make it a bit more testable. in some ideal world we could verify the state transitions are safe and what impact this can have client side.


fix: remove invalid hasDotWunderGraphDirectory option

Checklist

[ ] run make test
[ ] PR title must follow conventional-commit-standard
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message and code follows the Code of conduct

So, this code is correct and we could merge it.
However, I think that the real problem is that we don't know in which directory the user installed .wundergraph.
Is the WunderGraph dir in the root of a project, or are we in a monorepo and have some nesting?
For VSCode it's crucial that the .graphqlconfig sits at the root of the project. Otherwise, IntelliSense won't work.
Ideally, we could configure an absolute or relative path where the .graphqlconfig should be generated and updated.

Ideally, we could configure an absolute or relative path where the .graphqlconfig should be generated and updated.

I tried this already, but it's not that easy to do because you user can only specify a relative path.
Example:
configureWunderGraphApplication({
  dotGraphQLConfig: {
    disable: true,
	path: '../../.graphqlconfig'
  },
})

How should we calculate the schema path? We would need to calculate the target directory and search for the nearest .wundergraph directory.

@StarpTech update from main+merge or discard?

So, this code is correct and we could merge it. However, I think that the real problem is that we don't know in which directory the user installed .wundergraph. Is the WunderGraph dir in the root of a project, or are we in a monorepo and have some nesting?
For VSCode it's crucial that the .graphqlconfig sits at the root of the project. Otherwise, IntelliSense won't work. Ideally, we could configure an absolute or relative path where the .graphqlconfig should be generated and updated.

Can both of these challenges be addressed by setting an ENV var on the startup of the CLI? I believe both VSCode plugins and the running CLI process could reference an ENV var if set by something similar to #300

@fiam what should we do with this? I think you were working on a similar issue.

@jensneuse I think this one can be closed now, superseded by #537

Yeah, let's close it.


Update MSBuild locator to not resolve SDKs newer than the runtime

The reason why this was failing is because the old MSBuild locator was resolving the newest SDK regardless of the runtime that the tool was running on. This: https://github.com/microsoft/MSBuildLocator/issues/92 fixed that issue and only returns SDKs that are same or earlier than the runtime the tool is running on.
cc: @carlossanlop

@ericstj mentioned in https://github.com/carlossanlop/DocsPortingTool/issues/36#issuecomment-790223084 that a workaround is to target net6.0 in the tool. @safern Should we also add Eric's suggested change?

Are you sure it'll be safe to analyze projects which require a newer SDK / MSBuild using an older one?  What if those projects use features only available in the newer MSBuild/SDK?

Are you sure it'll be safe to analyze projects which require a newer SDK / MSBuild using an older one? What if those projects use features only available in the newer MSBuild/SDK?

Yeah that is a good point. I think we should update the Roslyn we are using and target the tool to 6.0.


optimise builds for hash router apps

Describe the problem
If router.type === 'hash' we don't need to create a server manifest or bundle routes etc

Hey, @Rich-Harris
Sveltekit throws an error on build when using hash router and setting in +layout.ts export const ssr = false;
node:internal/event_target:1094
  process.nextTick(() => { throw err; });
                           ^
Error: Page options are ignored when `router.type === 'hash'` (src/routes/+layout.ts has 'ssr')
    at analyse (file:///home/nixos/Projects/bobr/tg_quiz_mini_app/client/node_modules/@sveltejs/kit/src/core/postbuild/analyse.js:81:11)
    at async MessagePort.<anonymous> (file:///home/nixos/Projects/bobr/tg_quiz_mini_app/client/node_modules/@sveltejs/kit/src/utils/fork.js:23:16)
Emitted 'error' event on Worker instance at:
    at [kOnErrorMessage] (node:internal/worker:326:10)
    at [kOnMessage] (node:internal/worker:337:37)
    at MessagePort.<anonymous> (node:internal/worker:232:57)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)

Node.js v20.17.0

It makes sense we do not need to set the ssr to false since the hash type of the sveltekit router will do it automatically for us.
Besides, the SPA section in the docs don't seem to mention this.
Should I create another issue regarding this?


MERN_React Topic: 1.1 What is React? #394

Description 📜
WHAT IS REACT.JS?_AUDIO.
Fixes #394

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] MERN

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Please upload it in google drive and share the link

thank you
On Sun, 19 Sept 2021 at 11:19, Manjeet Dhayal @.***>
wrote:

Please upload it in google drive and share the link
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/728#issuecomment-922419388,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5FSUVLBXUWE234D4S2AZ3UCV2XNANCNFSM5EJLZX6Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

drive link updated #394


Added samples of Google Map SDK

Pull Request for Google Map SDK
Description
In this pull request , I have made Google Map SDK as a multi module project according to the Keploy SDK.
Type of change
Please delete options that are not relevant.

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

...
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings
[x] I have tagged the reviewers in a comment below incase my pull request is ready for a review
[x] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

Hey @mrjayrai  samples-googlemap is not opening .

Ok sir give me a cup of time I'll fix it
On Thu, 2 Mar, 2023, 1:12 pm Sarthak Shyngle, @.***>
wrote:

Hey @mrjayrai https://github.com/mrjayrai samples-googlemap is not
opening .
—
Reply to this email directly, view it on GitHub
https://github.com/keploy/samples-java/pull/36#issuecomment-1451428149,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUBOYDUVNNYMDEA5N4E4URTW2BFNPANCNFSM6AAAAAAVLY7Z6Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello, @Sarthak160 now you can access the folder

This is not a REST API @mrjayrai . Keploy generates test cases by making API calls .


Add remote-local sync provider

[ ] Implement provider and store interface methods
[ ] Implement concrete SDS-JSIndexedDB sync provider option (wasm-only)

[ ] Add SDS Provider #2199
[ ] Add option to inject concrete SDS-JSIndexedDB sync provider into context
[ ] Use for storage where appropriate

We ended up following a different approach where we use remote storage as everything for now. Perhaps one day something like this will be interesting again, but this issue isn't applicable anymore as written.

We ended up following a different approach where we use remote storage as everything for now. Perhaps one day something like this will be interesting again, but this issue isn't applicable anymore as written.


updated auth endpoints

Hi @navinpai , could you please provide more details on request body parameters and also the response codes. I have looked through the codes but it is a little difficult to understand.

Apologies for the delay @EleekaN ,I somehow missed this PR   ... This is great progress!

could you please provide more details on request body parameters and also the response codes.

I think you've captured the success (200 OK) and error cases (usually either 401, 400 or 500) well here!

Thank you for your response @navinpai . Let me continue working on this. Do you have any dummy data which I can try out for these endpoints? Few examples would be nice.


[5.5] Revert "Use implementation-only imports (#3404)"

5.5 cherry-pick of https://github.com/apple/swift-package-manager/pull/3476

@swift-ci please test


Wow.js breaks background-attachment: fixed;

When I'm using wow js animation of the fixed bacground, the background doesn't load completely plus the browser lags a bit. You can observe that in Opera and Chrome. In mozzila everything works fine

Have you looked at #75?

there is no answer

The issue with background-attachement: fixed does not seem to be related to wow.js or animate.css but keyframe animations.. This seem to be a very common issue. I didn't find any answer to it but did see a way around it for those looking.
Instead of using bg-attachement: fixed with wow.js I used a js library (http://pixelcog.github.io/parallax.js/) which doesn't seem to use the bg-attachment property to position the background.. you can fixed the background by setting the "speed" option to 0 if needed. Or you could try writing your own parallax javascript code which shouldn't be that hard if you wanted to..
Hope that helps until someone comes up with a real solution!


Support for SBT for scala projects

Do we have support of ekstazi for scala projects using sbt? I tried adding following sbt dependencies to scala project, ran scalatests for first time and then ran scala tests with changes but seems like all the tests ran on second run as well.
https://mvnrepository.com/artifact/org.ekstazi/org.ekstazi.core/5.3.0
https://mvnrepository.com/artifact/org.ekstazi/org.ekstazi.scalatest/5.3.0
Can someone please tell me if ekstazi supports sbt projects and what is the correct way to run ekstazi?

Hi, Ekstazi does not support sbt projects.  Prior support for Scala was through Maven.

Closing as we have no plans to support Scala projects any further.


1.1.x

I am getting DeviceSerial = unknown
function OnDeviceReady()
{
        $localStorage.DeviceSerival = window.device.serial;
}

Device = iPhone | OS = iOS 11.4.1 | Browser = Mobile Safari UIWebView 11.4.1 | DeviceSerial = unknown
for android it is working but for ios is giving me unknown.

This PR has no content.
Is this really an issue? Then please open it over at issues.cordova.io.

And to make this issue unnecessary:
device.serial is not supported on iOS as the documentation also says: https://github.com/apache/cordova-plugin-device#deviceserial


Updated licensing

These changes include third party licensing for any libraries that might be installed via setup.py.

Please do not merge, GPL and Google license addition are big red flags, these both need to go through legal approvals (Keith) - we cannot approve these. We didn't add mysql_connector for just this reason.


fix the broken table format

@ali50m - I'm closing this PR because the table was fixed in a prior PR and is displaying correctly. If you find it not rendering correctly, let me know!


Add author page for Will

@fedderw could you please add your bio to https://github.com/UBICenter/ubicenter.github.io/blob/master/_data/authors.yml similarly to the others? This will require adding a headshot to https://github.com/UBICenter/ubicenter.github.io/tree/master/assets/images. You won't show up as an author on the racial wealth gap post until then.

Friendly ping now that the new site is live @fedderw


Proxy interface generation

In order to break reference cycles between view and view model classes, I regularly create a proxy view class that holds a weak reference to the actual view, as described by mknejp in #110. I'm working on a change to generate that proxy class automatically. The change is complete aside from the logic to determine which interfaces Djinni generates a proxy for. I have a couple of questions:

Is this a change that you would consider merging?
What might be a good way to indicate which interfaces Djinni should generate proxies for? If the proxies were for records, I'd add a new "deriving" option, but the proxies are for interfaces. When I tried to add a "+w" option to go alongside "+c", "+o", and "+j", I couldn't figure out how to make the IDL parser accept "+w". It would see "+w" in an interface declaration and abort with the error, "+' expected but {' found." That said, I wasn't crazy about using "+w" to indicate that I wanted a proxy anyways.

This is what I have so far: https://github.com/csimmons0/djinni/compare/develop...csimmons0:weak-proxy

I don't think I understand what you're proposing to generate well enough to have a clear opinion yet.  A "proxy interface" can mean a lot of things, and indeed both of those words have existing meanings in Djinni which I'd suggest you not overload.  My thoughts on your questions at a high level:

I think my thoughts on mergeability would depend primarily on two things:

How general a pattern is this providing?  Would this be useful in a lot of use cases or is it specific to a particular kind of view/view-controller architecture?  In general, I think Djinni should provide general building-blocks, not push people toward specific solutions.
How hard is this to implement by hand?  Can this be accomplished with a recommended pattern and some sample code?  Is the generator providing code which is error-prone or tedious to write manually?

I think something like a deriving would be a good way to represent this.  Currently there isn't any deriving clause on interfaces, but it should be feasible to add.  I think the +c style annotations are hard to understand as-is, so I wouldn't add more concepts to them beyond the "where can this interface be implemented" they cover today.  The Scala parser is kinda magical and hard to read even for me, but I think that's the thing you'd have to figure out in order to add either of these as a new option.

"Proxy interface" was a poor choice of words on my part. Allow me to explain. For each page in my mobile app, there is typically a Djinni interface for the ViewController/Activity and a Djinni interface for the C++ view model. The ViewController/Activity that implements the one interface makes calls to the view model that implements the other interface and vice-versa. The view model's interface includes a static "create" function, and it is the ViewController/Activity that creates an instance of the view model and has ownership of it.
Where possible, I make it so that the view model doesn't keep a permanent reference to the view. The view model's methods just take the view as an argument, the way they would if the view model were written in a purely functional language. Doing things that way is not always easy; sometimes it makes more sense to give the view model a permanent reference to the ViewController/Activity. In that case, I have to place a proxy implementation of the view's interface in between the view model and the ViewController/Activity in order to break a reference cycle, as the ViewController/Activity owns the view model.
This is an abbreviated example of one of my view interfaces and its Java proxy implementation.
messaging_display = interface +o +j {
    set_chat_title(title: string);
}

private static class MessagingDisplayProxy implements MessagingDisplay
{
    private WeakReference<MessagingDisplay> display;

    MessagingDisplayProxy(MessagingDisplay display)
    {
        this.display = new WeakReference<MessagingDisplay>(display);
    }

    public void setChatTitle(String content)
    {
        MessagingDisplay messagingDisplay = display.get();
        if (messagingDisplay != null)
        {
            messagingDisplay.setChatTitle(content);
        }
    }
}

The class above and its ObjC counterpart are what I want to generate. It's certainly not hard to implement, but it's violating the DRY principle to implement it by hand, and it's a real bother to have to write or update this boilerplate code in two languages every time I create or edit a Djinni interface that has proxy implementations. I'm not sure how useful this is to others, although mknejp said a while back that he did things this way. If I had all the time in the world, I think that I would add to Djinni generic support for plugins, and I would create a separate plugin to generate this bit of code. I don't think I'll have time for that though.

Interesting.  So it sounds like your use case for this "proxy" is specific to a particular MVVM pattern, but what you need Djinni to generate isn't.  If I'm understanding it correctly, the general pattern is for interface X, you want to generate a concrete class Y which implements the interface X, and holds a weak reference to another X to which it forwards all methods.  It sounds like you'd want Djinni to generate Y as a concrete class in the same languages as X can be implemented (so Java and ObjC in the case of your +j +o class above).
That seems like a generic enough feature to fit in Djinni.  The plug-in suggestion you brought up would be even better as a general mechanism, but I could see this feature as a built-in option.  As described, I think deriving is the right place to put it, and I'd call it weak-wrapper, weak-forwarder or something similar like that?  I'd suggest avoiding the "proxy" terminology since that's already used for the cross-language proxy objects, and your proposed implementation here would build on top of that, rather than being a replacement for that.
There might also be an approach to this which would be built into the proxy layer, perhaps operating off of strong/weak annotations on args/returns in the IDL.  Even better would be finding some way to make plain weak_ptr work across languages.  I think either of those are probably too much of a stretch unless someone is excited and has an idea of how to accomplish them.

I'll try to get around to this over the holiday break.


Path syntax: merge slice syntax and prop list syntax

Prerequisites

[X] I have read the Contributing guidelines
[X] I have read the Code of conduct and I agree with it

Description
Since #159, immutadot supports both slices for arrays (arr[1:4]) and prop lists for objects (obj{a,b}). Since arrays and objects are actually the same concept, would it be possible to merge the two syntaxes?
Only for feature requests :sparkles:
Example
const obj = Object.assign([[1], [2], [3], [4], [5]], {a: [], b: [1], c: []})
push(obj, '[a,b,1:4]', 0)
// returns [[1], [2, 0], [3, 0], [4, 0], [5], a: [0], b: [1, 0], c: []]

Having commas in the array/slice notation is a very good idea, and would allow the user to do anything he wants.
This is a big change in toPath and in apply, I think it would be wiser to postpone after 1.0.
Even if we have to keep the list notation for backward compatibility, I think it's not a problem.

*anything they want :)
Yes, of course I'm fine with postponing.

I feel this issue deprecated since tc39 have a proposal for slice notation https://github.com/tc39/proposal-slice-notation

I think this needs further discussions.
What this issue was originally about is
The bracket notation (not slice notation) allows accessing array indexes, array slices, properties, non identifier named properties.
Why introduce the list notation, why not use the bracket notation with comma instead?
Sticking to the standards
Sticking to the standards is obviously a good idea.
The slice notation (with the step added) follows tc39's proposal.
But the properties list access follows no standard, it was inspired by bash's notation for multiple directories, and it looks like destructuring:
const { a, b } = obj
set(obj, '{a,b}', 123)

But what about access to non identifier named properties ?
When accessing one property we stick to the standard:
obj["my prop"] = "foo"
set(obj, '["my prop"]', "bar")

But when accessing multiple properties, it doesn't look like destructuring anymore:
const { myProp1, ["my prop2"]: myProp2 } = obj
set(obj, '{myProp1,"my prop2"}', 123)

Destructuring requires aliasing the property to a valid identifier, but in the path this is not necessary.
This is not so bad after all... if we wanted to look more like destructuring we could put back the brackets:
set(obj, '{myProp1,["my prop2"]}', 123)

Finally what about the all props access ?
Using the star may not have been such a good idea.
Following the idea of sticking to the destructuring, we could have used the three dots:
set(obj, '{...}', 123)


Why is bracket BracketPairsTextModelPart passed into TokenizationTextModelPart?

Part of #161622 - trying to defer bracket pairs evaluation so it doesn't impact input latency, that's harder with the current dependency graph.
It looks like it only does things when events fire:
https://github.com/microsoft/vscode/blob/e3a3693b5003a3fb23fb9973062c4652e662654c/src/vs/editor/common/model/textModel.ts#L323-L332
Instead of TokenizationTextModelPart using it, can BracketPairsTextModelPart use TokenizationTextModelPart? ie.
this._bracketPairs = this._register(new BracketPairsTextModelPart(this, this._tokenizationTextModelPart, this._languageConfigurationService));

I can make the change, just want some guidance.

See https://github.com/microsoft/vscode/commit/43cf81a93d1e099a79c93adbafc0e6518cbe0402
I think this is because of event ordering issues.


[BUILD] Test sbt 1.9.9

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

The issues related to the MiMa check still haven't been fixed


simplify vscode-install call

When I use lsp-sample as a starting point I sometimes switch my package managers. It would be more robust to directly run vscode-install here instead of using a path, because depending on your package manager the path to the bin could be slightly different. 👍

Thanks.


Lethalmin breaks HUD due to mod confliction (?)

since im not any sort of programmer or mod maker at all this is the only place i can think of to ask for help, loving the mod so far, thank you for making such a beautiful thing.
BUT. when using it in this one mod pack i made it seems to break my scanner, the ShipWindows mod by TestAccount666, and makes it so the terminal breaks after i exit from it once.
here is a picture of the log if that seems to help,
(it constantly spams this message in the log, in fact its the only thing within when this happens.)

EDIT 1: this doesnt always happen which is strange so i have no clue what causes it to happen as sometimes the pack works and other times it doesnt.
i havent tested anything outside of orbit so this is my findings within the ship in orbit, and my modpack has 200+ mods if that means anything 😅
i was wondering if you could decode the image and point out what issue there is? the only thing i can assume is a mod confliction which may be an issue that can be solved by a simple fix via you, or just a deletion of a mod on my side whichever one works as id just really like to play this pack with lethalmin so im open to any solution you offer, once again thanks for the incredible mod,
if there is no fix thats alright, i'll find a way to play this mod one way or another.

The issue is caused by the img varible being null

aka this icon in game

I will add in a failsafe so that errors won't get spammed into the console. But do you have any mods that remove that icon?

ah, I'm actually not sure, after adding pretty much what feels like all of the performance mods on thunderstore, (i manage all my mods through it, the pack is now 250+ large and expanding.) it seems one of my logspam mods most likely solved the issue,
before all of this i couldnt even leave orbit while that error was spamming itself, the error would completely break my game, i couldnt leave orbit it'd get stuck on the loading world and i would be forced to roam the ship until i decided to quit out of the game,it'd make it so i could use the terminal once, and wouldnt even zoom into the terminal when using it, i would just be able to type and do walk around while doing that for some reason, so i couldn't test anything outside of orbit, i cant say if the icon was removed back or not.
as of late ive been able to run the game with nearly no issues besides a few frame stutters here and there, and the program only crashing on start up every now and then, the issues i listed being irrelevant to your mod and likely an issue with one of my suit mods, a good half of the pack is suits.
for right now im just applying bandaid solutions until everything works together and lethalmin was one of the unlucky mods which decided to get upset at another one in my list, a few mods did this as well and they fixed after applying all of my performance mods, so i dont think it's inherently an issue with yours, or the ones i explained.
thanks anyways for the help, cant wait to see how maybe some others and you expand upon this great mod, keep up the good work. 🙂


How to get pass verifyRequest with postman

As my app contain request other than GET, I try to use Postman to send request to my app. But I cannot do so because when I send a request like
POST https://[MY_APP_URL]/products?shop=[MY_TEST_SHOP]

verifyRequest() will prevent me from going further.
First, I will get a response of javascript which should redirect me to https://app.shopify.com/services/login/identity with a bunch of parameters if I'm using browser.
I try to send a request to such link, and it html/javascript response which supposed to redirect to this link https://accounts.shopify.com/oauth/authorize with a bunch of parameters.
And again I send a request to the link above and receive a html response asking me to login with invalid recaptcha and etc, which I am not sure how to proceed.
So how can I establish a valid session and run verifyRequest() while sending the request using Postman?

I don't believe postman executes JavaScript. Our libraries only support login flows via browsers.


Unwrap issue

Unwrap never passes the confirmation step - I've tried 3 times

any help?

Issue is related to: https://github.com/OasisDEX/oasis/issues/302


Intermittent failing test on Ruby 2.7

After merging https://github.com/Shopify/ruby-lsp/pull/498 we saw a failing test on main. It passed on the re-run, but it seems order dependent, I was able to reproduce it locally with:
git checkout 5733d790f251db87e9960a7e5d81d2b09dc425c9
TESTOPTS="--seed=4107" bin/test

If you run that specific example and put a breakpoint in the exact point where it fails, are you able to see the exception?


reproduce the experiment in a LAN environment

Hi, I would like to reproduce the experiment in a LAN environment.
I have successfully reproduced the experiment on one computer (OS: Ubuntu 18.04), and I am now further reproducing the experiment in a three computer (LAN) environment. However, errors keep appearing.
All three computers have Ubuntu 18.04 and all three computers can communicate with each other.
Computer 1's ip address: <IP_ADDRESS>
Computer 2's ip address: <IP_ADDRESS>
Computer 3's ip address: <IP_ADDRESS>
Computer 1 is the SUPER_CLIENT.
step1 I ran Pivot-SPDZ.
(computer 1) . /semi-party.x -F -N 3 -I -p 0 vfl_decision_tree
(Computer 2) . /semi-party.x -F -N 3 -I -p 1 -h <IP_ADDRESS> vfl_decision_tree
(computer 3) . /semi-party.x -F -N 3 -I -p 2 -h <IP_ADDRESS> vfl_decision_tree

step 2, I modified data/networks/Parties.txt
party_0_ip = <IP_ADDRESS>
party_1_ip = <IP_ADDRESS>
party_2_ip = <IP_ADDRESS>
party_0_port = 9000
party_1_port = 9020
party_2_port = 9040

The computer 1 terminal displays the following error:
root@thinkcentre:/opt/pivot/build$ . /Pivot --client-id 0 --client-num 3 --class-num 2 --algorithm-type 0 --tree-type 0 --solution-type 0 --optimization-type 1 --network-file /opt/ pivot/data/networks/Parties.txt --data-file /opt/pivot/data/bank_marketing_data/client_0.txt --logger-file /opt/pivot/log/bank_ marketing_data --max-bins 16 --max-depth 3 --num-trees 1
parse parameters correct
client-id: 0
client-num: 3
class-num: 2
algorithm-type: 0
tree-type: 0
solution-type: 0
optimization-type: 1
network-file: /opt/pivot/data/networks/Parties.txt
data-file: /opt/pivot/data/bank_marketing_data/client_0.txt
logger-file: /opt/pivot/log/bank_marketing_data
max-bins: 16
max-depth: 3
num-trees: 1
Failed to connect. sleeping for 500 milliseconds, connect: Connection refused
accepting...
Incorrect triple at 0, aborting
root@thinkcentre:/opt/pivot/build$

Please, how do I change the configuration information.
I have a feeling that there might be an error in Pivot-SPDZ startup, any advice would be greatly appreciated!

Hi, based on the std::cout outputs, it looks like the connection with Pivot-SPDZ was not set correctly. You may try to also set the host ip address for the semi-party.x on the first machine as follows and see.
(computer 1) . /semi-party.x -F -N 3 -I -h <IP_ADDRESS> -p 0 vfl_decision_tree
(computer 2) . /semi-party.x -F -N 3 -I -h <IP_ADDRESS> -p 1 vfl_decision_tree
(computer 3) . /semi-party.x -F -N 3 -I -h <IP_ADDRESS> -p 2 vfl_decision_tree

Thank you very much, the guidance you have given is very useful.
In addition to the above, one more thing.
It may be necessary to copy the Player-Data generated by Pivot-SPDZ on SUPER_CLIENT, to the other two computers.
Otherwise Beaver Triplet, the calculations will be incorrect and will also cause the program to crash.

No problem. Right, the generated Player-Data needs to be synchronized among the machines if you are not using network file system for distributed file sharing etc.
Then I will close this issue. Thanks.


Airdrop

🌟 Feature Request
📝 Description
Provide a clear and concise description of the feature you'd like to see.
🤔 Rationale
Explain why this feature is important and how it benefits the project.
📋 Additional Context
Add any other context or information about the feature request here.

more detail facts can you explain me?


[Android Kotlin] Need your support for PayTabs implementation

Dear Sir,
I'm Johnny, an android developer come from Vietnam.
Could u share with me a good way to implement this SDK?

I'm seeing that need to give all the required fields. Can we skip some fields?
Thanks,

package com.paytabs.paytabs_sdk.utils does not exist
import com.paytabs.paytabs_sdk.utils.PaymentParams;
I am getting this error while integrating any update?