RuntimeError('Event loop is closed')

Bug description
Getting RuntimeError('Event loop is closed') for every 2nd request
How to reproduce
Prisma client Connect is called once while starting the server as visible below
This is what the main.py file looks like
async def main():
    from foo import configuration
    from foo import app

    port = configuration.service_config.port

    server_config = Config()
    server_config.bind = [f"<IP_ADDRESS>:{port}"]
    server_config.include_server_header = False
    logger.info(f"server configuration: {server_config}")

    await prisma_client.connect()
    await serve(app=app, config=server_config, mode="wsgi")

if __name__ == "__main__":
    asyncio.run(main())

Every 2nd request fails with the following logs
| Traceback (most recent call last):
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/http11.py", line 111, in handle_async_request
|     ) = await self._receive_response_headers(**kwargs)
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/http11.py", line 176, in _receive_response_headers
|     event = await self._receive_event(timeout=timeout)
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/http11.py", line 212, in _receive_event
|     data = await self._network_stream.read(
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 34, in read
|     return await self._stream.receive(max_bytes=max_bytes)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 1202, in receive
|     self._transport.resume_reading()
|   File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 852, in resume_reading
|     self._add_reader(self._sock_fd, self._read_ready)
|   File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 917, in _add_reader
|     self._loop._add_reader(fd, callback, *args)
|   File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 266, in _add_reader
|     self._check_closed()
|   File "/usr/local/lib/python3.11/asyncio/base_events.py", line 520, in _check_closed
|     raise RuntimeError('Event loop is closed')
| RuntimeError: Event loop is closed
|
| During handling of the above exception, another exception occurred:
| ..........
| Traceback (most recent call last):
|                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|     response = await self._prisma_client.servicedependencymap.find_first(
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/prisma/actions.py", line 544, in find_first
|     resp = await self._client._execute(
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/prisma/_base_client.py", line 533, in _execute
|     return await self._engine.query(builder.build(), tx_id=self._tx_id)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/prisma/engine/_query.py", line 404, in query
|     return await self.request(
|            ^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/prisma/engine/_http.py", line 217, in request
|     response = await self.session.request(method, url, **kwargs)
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/prisma/_async_http.py", line 26, in request
|     return Response(await self.session.request(method, url, **kwargs))
|                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1574, in request
|     return await self.send(request, auth=auth, follow_redirects=follow_redirects)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/ddtrace/contrib/httpx/patch.py", line 137, in _wrapped_async_send
|     resp = await wrapped(*args, **kwargs)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1661, in send
|     response = await self._send_handling_auth(
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1689, in _send_handling_auth
|     response = await self._send_handling_redirects(
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1726, in _send_handling_redirects
|     response = await self._send_single_request(request)
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1763, in _send_single_request
|     response = await transport.handle_async_request(request)
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 373, in handle_async_request
|     resp = await self._pool.handle_async_request(req)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 268, in handle_async_request
|     raise exc
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 251, in handle_async_request
|     response = await connection.handle_async_request(request)
|                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 103, in handle_async_request
|     return await self._connection.handle_async_request(request)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/http11.py", line 132, in handle_async_request
|     await self._response_closed()
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/http11.py", line 245, in _response_closed
|     await self.aclose()
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_async/http11.py", line 253, in aclose
|     await self._network_stream.aclose()
|   File "/opt/foo/.venv/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 54, in aclose
|     await self._stream.aclose()
|   File "/opt/foo/.venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 1261, in aclose
|     self._transport.close()
|   File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 864, in close
|     self._loop.call_soon(self._call_connection_lost, None)
|   File "/usr/local/lib/python3.11/asyncio/base_events.py", line 762, in call_soon
|     self._check_closed()
|   File "/usr/local/lib/python3.11/asyncio/base_events.py", line 520, in _check_closed
|     raise RuntimeError('Event loop is closed')
| RuntimeError: Event loop is closed

Expected behavior

Prisma information

Environment & setup

OS:
Database:
Python version:
Prisma version:

❯ prisma py version
prisma                  : 5.11.0
prisma client python    : 0.13.1
platform                : darwin
expected engine version : efd2449663b3d73d637ea1fd226bafbcf45b3102
installed extras        : []
install path            : /Users/foo/.venv/lib/python3.11/site-packages/prisma
binary cache dir        : /Users/foo/.cache/prisma-python/binaries/5.11.0/efd2449663b3d73d637ea1fd226bafbcf45b3102

are you spawning multiple threads?

I am not. The app is being run asyncio as visible in the main() function I added in the problem description.
This problem goes away if I explicitly call connect and disconnet before every request.
await prisma_client.connect()

response = await self._prisma_client.dependencymap.find_first(
    where={
        ...
    },
)

await prisma_client.disconnect()

I'm having this issue on Windows as well


prevent PytestCollectionWarning for TestManager

As explained in this blog post, pytest will attempt to collect TestManager (since it matches Test*) and raise a warning unless __test__ property is set to False.

Thanks for the PR


Initial PIXC/PIXCVec augmented parameter implementation

Modifies the SwotCmrLookupServiceImpl service to utilize augmented metadata for search instead of filename patterns
This PR is blocked until https://github.com/nasa/cmr-graphql/pull/36 is deployed to UAT for extended testing

CMR support tested and additional fixes added. Merging.


Many unused instances of ModelErrorCollection during model validation

Class ModelStateDictionary initializes a root ModelStateNode and then creates new child nodes during validation of a model. Class ModelStateNode inherits ModelStateEntry which has a non-null complex field of type ModelErrorCollection. This field is non-null as it's initialized on the constructor of ModelStateEntry, which is unnecessary.
We should lazily initialize the field with a ModelErrorCollection only when required. Each allocation spends 72 bytes. After only 1500 API calls we're already allocating and collecting 108,000 bytes.

ModelStateDictionary checks Errors.Count on ModelStateNode multiple times. Would be surprising if lazy initialization saved many ModelErrorCollection instances. Have you measured that part of this PR on its own?

Yes, the count of elements went down to zero in my memory profile. I'll add more details when I get back to my workstation.

@dougbu @rynowak I ran a test of 1500 POST calls with JSON payloads ranging between 14 KB and 500 KB. Here's the instance count of types with the text "Error" in it, before the change:

This is what I see after the change:

I'm currently working to get this test into the Performance repository.

So 1 instance allocated/saved per request for what you're measuring :laughing:. I think you'd have to look at a model-binding (non-JSON) scenario to get any significant data.
My opinion: go ahead with the change you proposed, but leave the bug open. I think we need to measure more scenarios.

Yes, 1 per request. It's not much, but it's an easy gain to put less pressure on the GC. I'll continue with the PR, leave this item open, and will sync up with you later offline regarding the additional scenarios you mentioned. Thanks!

Moving to post-v1; can do this fix at any time.


Bug: fela-bindings 10.6.0 & 10.6.1 breaks react-native

Packages
Version

fela-bindings
10.6.0 & 10.6.1

Description
In react-native environment window is defined, but document is undefined. The function hasDOM will use document which results in the error:
document is not defined.
I think an additional check needs to be made to assure that document is not used when window is present. Before the refactoring in 10.6.0 there were additional checks with the renderer object before using document. I think some of that code needs to be reverted.
This is a serious bug as it retroactively breaks all versions of react-fela that is using the semver version ^10.x.x of fela-bindings.
The current workaround we are using is to use a resolutions section in our package.json to fix the fela-bindings version to 10.5.0. This of course prevents us from updating to 10.6.1 of fela.
"resolutions": {
    "react-fela/fela-bindings": "10.5.0"
  }

I made a comment on this issues https://github.com/robinweser/fela/issues/727 https://github.com/robinweser/fela/pull/728, but since it's closed I made this issue. That fix is ok, but the problem with react-native is still present since it came with version 10.6.0 of fela-bindings
Steps to reproduce

Start the app

Expected Behavior
// no error

Actual Behavior
`document is not defined`

Hey there,
Thanks for opening that issue!
Would you be willing to file a PR adding those checks? Must have gone missing by accident.


File not found

I've installed this on a new project, and receive 'file not found' when trying to go to the route. Everything is registered but for some reason the route isn't working.

@Braunson which Laravel version?

@introwit 5.5.24

It's working for me in an existing 5.5 project. After you did composer require, it should show decomposer in the Discovered packages list in the output of the require command. Then registering the route is the only thing to do. Can you paste the whole error you are receiving?

@introwit No error, just the 'File not found' default Laravel error page. hmm

@Braunson closing this feel free to reopen if the error persist.


Remove classes for IDs again

Check that we don't use the classes for the IDs anymore (this should be true). Then remove them.

Done on the package-format branch.


Web flow

Bypassed login and signup flow for UI development. #80 #81

This branch has more conflicts due to a change in head, the same code is been pulled to another branch for resolving the conflicts.


error on pipeline upload

Describe the bug
While uploading a pipeline with the --enable-upload switch on, a pipeline gets not saved on the filesystem.
To Reproduce
Steps to reproduce the behavior:

Start development server with --enable-upload
Upload a pipeline file via the swagger ui console
Look at the (default) pipelinesdirectory for the uploaded file.

Expected behavior
Pipeline was uploaded and saved to the file system.
DEBUG:connexion.decorators.validation:http://localhost:5000/pipelines/pipeline_now.yaml validating parameters...
DEBUG:connexion.decorators.parameter:Function Arguments: ['filename', 'body']
INFO:pyrsched.api.pipelines:POST /pipelines/pipeline_now.yaml
INFO:pyrsched.api.pipelines:saving file contents to /home/dzerrenn/projects/pypyr-scheduler/pipelines/pipeline_now.yaml
ERROR:pyrsched.app:Exception on /pipelines/pipeline_now.yaml [POST]
Traceback (most recent call last):
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/connexion/decorators/decorator.py", line 73, in wrapper
    response = function(request)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/connexion/decorators/uri_parsing.py", line 132, in wrapper
    response = function(request)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/connexion/decorators/validation.py", line 165, in wrapper
    response = function(request)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/connexion/decorators/validation.py", line 339, in wrapper
    return function(request)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/connexion/decorators/decorator.py", line 44, in wrapper
    response = function(request)
  File "/home/dzerrenn/.local/share/virtualenvs/pypyr-scheduler-UBNwg3Am/lib/python3.6/site-packages/connexion/decorators/parameter.py", line 126, in wrapper
    return function(**kwargs)
  File "/home/dzerrenn/projects/pypyr-scheduler/pyrsched/api/pipelines.py", line 55, in create
    return _save_file(filename, body)
  File "/home/dzerrenn/projects/pypyr-scheduler/pyrsched/api/pipelines.py", line 44, in _save_file
    content.save(str(target))
AttributeError: 'bytes' object has no attribute 'save'
DEBUG:connexion.apis.flask_api:Getting data and status code
DEBUG:connexion.apis.flask_api:Got data and status code (500)
INFO:werkzeug:<IP_ADDRESS> - - [12/Dec/2019 08:43:51] "POST /pipelines/pipeline_now.yaml HTTP/1.1" 500 -

Feature was removed, resolved with #13


enforce no-template-curly-in-string

This seems like a good rule for a warning: no-template-curly-in-string

👍


upgrade to angular 4.

Looking forward for this to be merged in ^^

FYI - This can be used now via "ui-router-ng2": "ui-router/ng2#angular4-artifacts"

@amcdnl I still don't see all the reflected changes using: "ui-router-ng2": "github:ui-router/ng2#angular4-artifacts" as I still get a template parse warning, because UIView is still using

Updated to 4.0.1. This worked fine!
@amcdnl, Thanks!

What does it need to be done to be able to merge this in?

@christopherthielen - Can we make this master now?

@aitboudad thanks for all your work on this.


Allow kwargs to be set at the router

Allow handler kwargs to be set from the routes. This makes it possible
to create routes like these:
app.router.add_post('/toggle/on', toggle_handler, on=True)
app.router.add_post('/toggle/off', toggle_handler, on=False)

This may be a breaking change... To use this feature middlewares will
need to be changed to accept kwargs in their signature and pass it down
the line to the handler.

I am really curious as to what the purpose of this feature is.
couldn't the handler just look at the path to decide behaivior?
Also, what about app.router.add_post('/toggle/on', partial(handler, on=True)?


fix: ignore changes to app settings

Prevent app settings configured outside of Terraform from being removed.

Tests pass on my local machine.


feature: Support generatesMetadataFilesAtProjectRoot

Did you check the docs?

[X] I have read all the docs

Is your feature request related to a problem? Please describe.
Project metadata should not be generated inside a project.
https://github.com/redhat-developer/vscode-java/issues/618
https://devblogs.microsoft.com/java/say-goodbye-to-project-files-in-1-1-0/
Describe the solution you'd like
jdtls has an option which can be passed by using -Djava.import.generatesMetadataFilesAtProjectRoot=false. This is the default i.e. vscode uses thought they provide an option so that user can change it.
Describe alternatives you've considered
Think there's none unless you somehow try to override whole command launching jdtls.
Additional context
No response

@jvalkeal I will do a research and make it default. Changing cmd arguments are not possible. Do you think taking cmd arguments through require 'java'.setup() should be implemented? or allow functions in the setup configuration and let the user handle them if a function is passed?

I don't think user should ever have full control of the command. One other thing which is absolutely something user need to controls is:
https://github.com/nvim-java/nvim-java-core/blob/4ab0b6cb85f26e389c824f720ba294bc2e1551bd/lua/java-core/ls/servers/jdtls/init.lua#L47
Default memory setting is fine for simple projects but will need to be changed with larger projects. ldtls in vscode quite often crashes and then it will propose to change memory settings. It'd be nice to have a generic way to modify some settings from a main config.

I was looking to just PR this little change but realised that obviously it needs to go in with #54. Once metadata moves out from a project directory into a shared workspace directory, that workspace needs to be unique as .metadata dir will get mixed up.


Is this project still maintained?

Hi, I would like to ask about the current state of this project. Is this project still maintained?
I ask because the latest stable release (3.0.12) is over a year old and there is no update for the past several months. It would be nice if this project gets more maintenances especially for the support of Sprockets 4.0.0 (#620) and Jekyll 4.0 (#613).
Any feedback would be appreciated. Thanks.

A lot of people use this project but very few people deem it worth supporting so it's in an ironic state where I have to focus on other places, I am indeed very aware of the issues and constantly paying attention but most of those are waiting until I can give it free time because not many people are willing to help fund the part-time it would  take to do the overhaul for Sprockets 4, and Jekyll 4.0 full-on support.  It is not dead, I have not given up and still hold hope I'll get to it soon.

Is there any other project that is comparable that we can transition over to it and off of this semi-abandoned one, so we can start using Jekyll 4?
I fully understand that this is a volunteer project, but patchs(1) and PRs have been sitting in stale PR hell for a while now to some of the major blockers to get over the hurdle of "even building" with the combo of jek4+assets4+spr4 without using someone's personal fork branch and a beta branch of a dependancy.


api key restriction

Thanks for the app.
You may want to consider locking down where your API key can be used from to prevent abuse - see https://console.developers.google.com/apis/credentials/key/

Ty, just done :)


Make _validate_property a multilevel method

Supersedes a part of https://github.com/godotengine/godot/pull/57654. Makes _validate_property a multilevel method, meaning that it will be automatically called on every class in the inheritance chain. Extending classes can override parent behavior.
I didn't touch the hack that https://github.com/godotengine/godot/pull/57654 removed as well, since that was a point of disagreement in the comments. If still desired, this can be fixed with a follow-up PR.
This PR is a bit beefier because I have also renamed every property to p_property to follow our codestyle.

This PR is a requirement to make _validate_property exposed to the API, but it doesn't touch that yet. I'm not sure how to properly pass PropertyInfo to the extension API. Probably needs some conversion to a struct and instead of the PropertyInfo being changed in place in the public API the method must return a new struct (or Dictionary in case of GDScript). But I'm not confident in how to make that happen yet.
Still, being multilevel means that it will eventually work with user scripts and extension code.

Looks great, thanks for salvaging this!

To avoid conflicts with https://github.com/godotengine/godot/pull/64334, I'll merge this after the other one.

Would appreciate a double-check from someone else before this is merged. <3

Thanks!

Something this PR revealed is now breaking my builds, in a place where I inherited GraphNode.
https://github.com/Zylann/godot_voxel/runs/7964218829?check_suite_focus=true
My guess is that making it multilevel highlighted the fact some classes (like GraphNode) implement that method as private. So inheriting GraphNode creates that error in the GDCLASS macro somehow, because it tries to access it (the private method), regardless of _validate_property actually being used or not in the derived class.

Yes, it should be protected. I think I've addressed this with _property_*_reverts, but I must've missed it here. Feel free to open a PR.


The "{0}" library could not be resolved by the "{1}" provider

The library/provider information is not populated when throwing an InvalidLibraryException. Specifically noticed this in CdnjsCataglog.GetLibraryAsync. Also, it'd be nice if the feedback mechanism made you aware of the name@version convention when the LibraryId does not contain the @ symbol at all.
InvalidLibraryException.cs should be updated to use string.Format() like so...
public InvalidLibraryException(string libraryId, string providerId)
    : base(string.Format(Text.ErrorUnableToResolveSource, libraryId, providerId))

I believe this has been resolve as there's been much more development on LibMan since I originally logged this issue.


Resolve overlapping faces in the mesh

Dear @marcomusy,
Is it possible to remove or resolve the overlapping faces in the mesh using vedo library...?
if any possible way. I will be grateful to use it.
Thanks in advance
Regards,
E.davis

Yes. Use mymesh.clean().

Yes. Use mymesh.clean().

Thanks for the information...I will try it..!!

Yes. Use mymesh.clean().

I tried using  mesh.clean() method but still it is not resolving the issue of overlapping faces...is there any other possible solution....

Hi Emma, I'm afraid you need to provide some reproducible script/dataset otherwise it's difficult to understand where the problem.. is.


Escaped backslashes (2 consecutive backslashes) not appearing correctly in HTML output

Hello. I noticed that when I create a new snippet, a dollar $ sign (or a variable starting with dollar) is removed, not preserved. Could you make so that a variable starting with dollar is preserved, and the dollar sign is escaped?
Example: right now, when I want to create a snippet out of this line:
$statement = ->pdo->prepare($sql);
I get this (notice that I loose the variables):
"= ->pdo->prepare();",
Instead, I would like it to automatically look like this:
"\\$statement = ->pdo->prepare(\\$sql);",
thank you.

Hi,
This is a bug.
Let me clarify the expectation of the extension so that we are on the same page. This extension should show the contents of the body of a snippet verbatim.
For example, if I want an interpolated string snippet in JavaScript. I would write a snippet like this to get my desired result:
"interpolated string":{
    "prefix": "interpolated string",
    "body": ["let string = `\\${var} is in a string`;"],
    "description": "Set variable to interpolated string"
}

It is my responsibility to escape the dollar sign in the body to have it treated as a string rather than as a snippet variable.
Using this snippet in a JavaScript file will result in the following output:

Currently Snippet Ranger reports the snippet as this:

It shows 1 backslash instead of 2. This is the bug.
This issue is fixed in version 0.22.2.
If you are happy with the extension: please star the repo, and leave a favourable review to help others find it. 🌟

I agree with your description, but the bug is not fixed.
I updated to version 0.22.2 just now and restarted the app. And the bug is still there.
When trying out with your example
let string = `${var} is in a string`;
then doing the command Snippet Ranger - Make new snippet, I still get the following code in the snippets file, where as you can see, the variable (and the dollar) is missing:
"enter a name" : {
    "prefix": "",
    "body": ["let string = ` is in a string`;"],
    "description": ""
},

When the result should include the dollar, and have it escaped:
let string = `\${var} is in a string`;
So it happens when creating a new snippet out of a selection.
Can you look into this? Thank you.

When trying out with your example
let string = `${var} is in a string`;

That is different than my example. My example has 2 backslashes before the dollar sign.

I was referring to the process of creating a new snippet out of a selection, not the process of showing an existing snippet.

Please raise a separate issue if you want me to look. It is a different issue than your original description. Provide the exact steps you took please.

OK, I'll file a separate issue. Thanks.


feat: Cloud CLI meltano cloud status command as a default action for users to take

This is more relevant for Managed, but having a status command that users could run at any time may provide a nice UX for knowing what to do when starting at a blank terminal screen.
This command could return:

Status of any deployment
Latest change to the system
Number of running jobs and their general status
Tips and hints for what to do with the command line

@aaronsteers thoughts on this? My thinking is that users may not need "help" per se, but would want to see the overall status and have a "default" place to go on the CLI.

@WillDaSilva I've updated the title. My preference would be to have this in Cloud first.

@tayloramurphy personally I dont necessarily need this right now although it could be nice to have.
With the ideas in the issue description and from https://github.com/meltano/meltano/issues/7424 it sort of feels like the info fits in two separate buckets to me. One for cloud summary info to see status of my deployment and another for the status of my current CLI session to see if I'm ready to start interacting with cloud. Does that make sense? Were you leaning towards one vs the other?
Cloud Summary
With an Airflow/Meltano deployment I would normally open up the Airflow landing page in the morning and look for green circles to know that everything is healthy and go from there if anything failed. Now that I'm using Cloud I dont necessarily have something like that although the slack webhook messages are basically doing the job but in a slightly ugly/noisey way. It could be nice to have a way to get a summary of my deployment in the morning, I think this is what some users were imagining a web UI would have, not tons of functionality but a pretty overview of statuses. Personally if I had a status CLI option and a UI I'd choose the UI.
CLI Session Status and Helper
I think the term status is playing off the git status that everyone knows and is a default thing to type when you land on the terminal. I use it as a check to make sure everything is as expected before I take any actions e.g. branch, changes staged, etc. I'm imaging a similar feature in the cloud CLI would tell me if I'm logged in and what deployment and project I'm using, maybe some suggested commands. This implies some kind of stickiness with the cli like setting project/deployment for a session to avoid having to pass in --deployment=xyz with each command.

This implies some kind of stickiness with the cli like setting project/deployment for a session to avoid having to pass in --deployment=xyz with each command.

Side note: we currently have this for projects via meltano cloud project use, and plan to add it for deployments via meltano cloud deployment use. Would either be done as part of this underspecified issue, or as a follow-up:

https://github.com/meltano/meltano/issues/7465

CLI Session Status and Helper

@pnadolny13 thanks for the feedback! I think another avenue I hadn't mentioned was a place for notifications. If we wanted to push a notifications to users that could be a place to do it too.
Do you have another idea for a command? about, home, dashboard? I'd be interested if there's prior art or other examples of this in other tools too..


GSPN Analysis module returning 'I/O Error' and not able to use Steady State Analysis Module

Hello:
Can you help in investigating the following error messages encountered using PIPE2 on my project.

GSPN analysis module returning 'I/O Error'.

I get the following error msg 'Unable to connect to server camelot01.doc.ic.ac.uk : 55500: Connection refused: connect'. Can you advise on how to get access to the 'camelot' server that the steady state analysis module connects to?
Thanks

Hi,
I want to use pipe for passage time analysis from one state to another.
I use pie 3, pipe 4. but I can't get analysis. for example dnamaca in pipe 3 results " Unable to connect to server camelot01.doc.ic.ac.uk : 55500: Connection timed out: connect".
and in pipe 4, 4.2, 4.3 it remains in opening connection for performance query editor.
would any body help me about the issue?

I'm not familiar with the performance analysis, and won't be spending time on it in the future.
I think the research on which this was based is here, which may help you decide if this is what you need.  However, as stated earlier, this approach may not be supported.
Steve

thank you for your answer. I model the net example of the file. but, it can't connect to server..
i don't find executable file of pipe 5. I just find its source file and I have problem in running it in eclipse. (failure for some of libs of ac.imperial) can you help me about running it or send its site of executable file?
i want to test performance analysis of it. perhaps it connect and run my query. thanks

Unfortunately, PIPE V5 has little support yet for analysis modules.  The
performance analysis module is not yet supported.  If you would still like
to run V5, I'm happy to help -- please start here:
https://github.com/sarahtattersall/PIPE.  The most current release is here:
https://github.com/sarahtattersall/PIPE/releases
best,
Steve
On Wed, Jun 29, 2016 at 10:12 PM, jafarinejad<EMAIL_ADDRESS>wrote:

thank you for your answer. I model the net example of the file. but, it
can't connect to server..
i don't find executable file of pipe 5. I just find its source file and I
have problem in running it in eclipse. (failure for some of libs of
ac.imperial) can you help me about running it or send its site of
executable file?
i want to test performance analysis of it. perhaps it connect and run my
query. thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sarahtattersall/PIPE/issues/16#issuecomment-229561006,
or mute the thread
https://github.com/notifications/unsubscribe/ACAHxiaccOVpHKOyFkTPGOyhmiJ5LUlxks5qQ1A4gaJpZM4BUSam
.

--
Steve Doubleday
PhD candidate, Mathematical Behavioral Sciences
UC Irvine
<EMAIL_ADDRESS>818-648-8381


Request: Camera & Entity Renderer

Just how elytra can turn the model sideways, it'd be nice to have coasters turn entities when it turns like so:

It would twist the player around and it would be really great.
ALSO make the camera twist in first person with it.

weird, the camera does twist on some but not all rides.

I think this happens, i'll report a bug if i find some pattern.


trouble getting images from repo README.md to render

In the Lung Instance Segmentation Workflow README I have added a diagram of the workflow using the following syntax:
![workflow](/img/5_proc.png)

This doesn't render and I see a broken link.
Similarly, if I do this
![workflow](https://raw.githubusercontent.com/pegasus-isi/lung-instance-segmentation-workflow/main/img/5_proc.png)

then the link to the image when viewed from PegasusHub becomes this: https://github.com/pegasus-isi/lung-instance-segmentation-workflow/raw/master/https://raw.githubusercontent.com/pegasus-isi/lung-instance-segmentation-workflow/main/img/5_proc.png
Or just any random image, this doesn't render.
![workflow2](https://i.imgur.com/rVjiYyW.jpeg)

The link to the image when viewed from PegasusHub becomes this: https://github.com/pegasus-isi/lung-instance-segmentation-workflow/raw/master/https://i.imgur.com/rVjiYyW.jpeg
Regular links work correctly.

@ryantanaka try to add the URL as ![workflow](img/5_proc.png) to see if it works.

Same issue. I see what is happening.
The link that was generated is: https://github.com/pegasus-isi/lung-instance-segmentation-workflow/raw/master/img/5_proc.png, which is almost correct. Github renamed master to main for new repos in light of what's been happening in the past year. And so when you build the link, it actually has to be: https://github.com/pegasus-isi/lung-instance-segmentation-workflow/raw/main/img/5_proc.png.

got it. I will update the code to address that. Thanks!

I've pushed a fix for this.
However we might want to move the Readme generation to our main processing script instead of javascript.


mouse example panics on macosx atsamd51

Technically I ran it on atsamd51, so not exactly your example, but figure better to discuss here.
the push_mouse_movement unwrap specifically
you can avoid panic
        let _ = push_mouse_movement(MouseReport { buttons: 0, x, y });

Still doesnt appear as a mouse, but then logging then shows
UsbBus::write 3 bytes [0, 0, 5] to ep EndpointAddress(129) -> BUSY trcpt1=false
UsbBus::write 3 bytes [0, 0, 251] to ep EndpointAddress(129) -> BUSY trcpt1=false

Maybe if I can get it to recognize better itll read and not be busy? not sure. Just wanted to track somewhere

What was the panic?

Unwrapping was probably a mistake as a failure to write is not a fault condition. I'm guessing my USB host is polling faster than my samd21 was able to write, hence I never hit the issue.

Closing this out as the issue relates to an example in the atsamd repository: Specifically the lack of error handling for if the outgoing buffer is full.


Upgrade gax dependency to 1.40.0.

Building on @andreamlin's initial PR.

@sduskis in response to your comment, this was because of this breaking change in the http client: https://github.com/googleapis/google-http-java-client/releases/tag/v1.28.0


Keybase Binary not in $PATH on Mac OS Sierra

I just installed the keybase app on a new Mac running Sierra. For some reason, the keybase binary was not in my $PATH variable.
Not sure if it is suppose to automatically get symlinked somewhere in my $PATH variable (as I do not have the previous Mac that I installed this on), but I was able to resolve it by manually symlinking the binary.
samir@macbook [~]$ ln -s /Applications/Keybase.app/Contents/SharedSupport/bin/keybase /usr/local/bin/keybase
samir@macbook [~]$

my log id: e64a9b2d8a9a43d16ceacc1c

Dupe of https://github.com/keybase/client/issues/4398


adding psycog binary/pool; fixing PostgresContainer field names

Hi folks,
I couldn't find any contributor guidelines, so let me know if this doesn't conform to style or if PRs aren't accepted.
I was recently following this guide: https://testcontainers.com/guides/getting-started-with-testcontainers-for-python/ and ran into two issues.

ImportError: no pq wrapper available
testcontainers AttributeError: 'Postgres Container' object has no attribute 'POSTGRES_USER'

For #1, it seems that on a M2 mac you need to explicitly install the binary and pool components of psycog. I'm not sure if this is something specific to M2 macs, but thought it might be helpful to update the requirements.txt file.
For #2, the field names for the PostgresContainer seem to have been renamed. I'm not sure if this is specific to the version of TestContainers that's installed or something else.
This PR also adds an entry in .gitignore for pycache/ which I thought would be generally useful.
Thanks for reviewing my PR. Let me know how I can improve it and I'll be happy to do so.

Something I forgot to mention, I'm using TestContainers Desktop Embedded Runtime, not a local docker service. In case that changes/causes the issues I saw above.


This request has been blocked; the content must be served over HTTPS.

I got some problem when I deploy my project in HTTPS server.

I have some issue like this. ssl/https successfully work on laravel project.
error message in jquery.js, url https://uxxxx.com/laravel-filemanager?type=image
// Do send the request // This may raise an exception which is actually // handled in jQuery.ajax (so no try/catch here) xhr.send( ( options.hasContent && options.data ) || null );
route_prefix and lfm_route still loaded in http

Thank you @weeework and @habibix
Yes, this should be configurable or auto-detected. Will schedule this to our next release.

I think this is fixed in v2.0.0 alpha versions.

Thank you

Helper url() can return https, but it checks current request first.
Laravel checks isSecure() by request param HTTPS. Ensure that your proxy-server add this param during proxing request to php-fpm.
Laravels code:
    public function isSecure(): bool
    {
        if ($this->isFromTrustedProxy() && $proto = $this->getTrustedValues(self::HEADER_X_FORWARDED_PROTO)) {
            return \in_array(strtolower($proto[0]), ['https', 'on', 'ssl', '1'], true);
        }

        $https = $this->server->get('HTTPS');

        return !empty($https) && 'off' !== strtolower($https);
    }

If you use nginx, you can manualy add this param by
fastcgi_param 	HTTPS ON;


fix: prevent word splitting

Thanks for the theme! I also use it - https://algomaster99.github.io/.
The changes fix word splitting in footer icons. Otherwise name = "Google Scholar" is rendered as alt="Google" only.

Thanks for the fast response!

No worries. Thanks for catch!


Dorks

Checkboxes

[ ] Updated fsociety
[ ] Issue does not already exist
[ ] fsociety issue, not a tool issue

Expected Result

Actual Result

When i am trying dorks it is giving the error as like :
Traceback (most recent call last):
File "/root/.fsociety/tools/doork/doork.py", line 92, in
main()
File "/root/.fsociety/tools/doork/doork.py", line 61, in main
handler = logging.FileHandler(output)
File "/usr/lib/python2.7/logging/init.py", line 920, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python2.7/logging/init.py", line 950, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/root/logs/doork-2020-08-24_03:27:33.txt'
what do i need to do ?

Hi, this version is no longer maintained. Please see the updated version fsociety-team/fsociety.


Standardize handling of empty arguments

Fixes #22 - see discussion there first :)
Currently, matcher has a lot of undocumented / inconsistent behaviour when dealing with empty arguments. This PR standardises and documents a lot of those edge cases, hopefully making it easier to use this package with predictable outcomes.
Breaking changes

When passing an empty array of rules to matcher(), it would return the entire array of inputs with no filtering. Now it will return an empty array.

When passing an empty array of rules to matcher.isMatch(), it would always return true. Now it will always return false.

In certain cases it was possible to pass unsupported variable types to the functions and still receive a normal return value. This is no longer possible because of explicit type checks. This would have been very buggy to use, and should not have been used in production, but it is still a breaking change.

New functionality

matcher() now also supports passing a string instead of an array of strings. This simplifies the code base and makes the interface consistent with matcher.isMatch().

Both functions now fully support passing undefined variables to them. This was mostly supported before, but had several edge cases where it would crash the process. It was possible to ship code that seemed to work, but would crash under certain conditions.

Minor fixes

When passing unsupported variable types in the arrays of either function, they will now throw a proper TypeError with an explanation instead of crashing in all sorts of interesting ways.

Thanks for working on this and for doing the effort to do a high-quality pull request (I don't get a lot of those these days).

I'm happy I could help :) Thanks for maintaining a lot of awesome packages!


Reimplement vec<> class

Reimplement and simplify vec class to not rely on CUDA/HIP vector types which currently don't yield any performance benefits with clang anyway (note that, if there are performance benefits in the future we could still always specialize the vec_storage backend to use them for cases where it makes sense).
Key stats of this change:

-3000 lines of code (!)
+50% readability
+100% maintainability
+20% C++17 (old implementation was based on C++14 and hence did not use fold expressions)
+/- 0% performance (expected)
+10% spec conformance, e.g. alignments.
+5% SYCL 2020 (implements SYCL 2020 additions to the vec interface)

@hipSYCL-ci-bot test this please, my favorite bot!


Add more fun quotes to the help page

https://github.com/kylepollina/objexplore/blob/main/objexplore/help_layout.py#L110
Need more fun quotes!

How about:
I used objexplore and all I got was this lousy error message?
PS. Great project! 🎉

Hahahaha, open a pull request! Become a contributor

On a completely different note (don't want to create a new issue for this), could you please consider adding a more enhancement issues and a hacktoberfest label?

I'm sorry, I'm not sure what you are asking? Do you want some features to work on for hacktoberfest?

Yes! And by enhancement issues I meant ones with code changes rather than data changes.
I'm requesting for two separate things:

Add more issues.
Add Hacktoberfest label to the repo

Is this request clearer?

@npalladium I've added some more enhancements with a hacktoberfest label. Check 'em out!


Nuget authentication rewrites the source keys of the nuget feeds if they are internal

I have the following nuget config in my project:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<packageSources>
		<!--To inherit the global NuGet package sources remove the <clear/> line below -->
		<clear />
		<add key="nuget" value="https://api.nuget.org/v3/index.json" />
		<add key="privateFeed" value="https://pkgs.dev.azure.com/myfunnycompany/_packaging/myfunnycompany/nuget/v3/index.json" />
	</packageSources>
	<packageSourceMapping>
		<packageSource key="privateFeed">
			<package pattern="privatepackage.*" />
		</packageSource>
		<packageSource key="nuget">
			<package pattern="*" />
		</packageSource>
	</packageSourceMapping>
</configuration>

Local with a for expample dotnet restore it works. If I run it in azure devops I get the following error:
path/project.jscproj : error NU1100: Unable to resolve 'privatepackage.numberone (>= 0.1.1-15)' for 'net8.0'. PackageSourceMapping is enabled, the following source(s) were not considered: , feed-privateFeed, nuget. [/path/solution.sln]
In my nuget config the feed is called privateFeed but in the error message feed-privateFeed. That will mean that the source mapping get's invalid.
The issue is produced in the following line:
https://github.com/microsoft/azure-pipelines-tasks-common-packages/blob/142a943262c5669f85bf11a6a6d9d2f63129ed0b/common-npm-packages/packaging-common/nuget/NuGetConfigHelper2.ts#L102
For me their a two ways to fix the issue:

stop prefixing the feed.

on the current implementation are some nuget issues linked that are maybe important to solve that

make a string replace in the whole config that adds everywhere the prefix

this can be quite complecated because you want only replace sourcekey strings and not other substrings that have maybe the name letters but different meaning

@max-zaytsev what is you opinion about that? It would be nice to get here some progress to fix this bug, so source mapping will work again


Make level of investor involvement field mandatory when project is in active stage

Description of change

Checklist

[x] Has this branch been rebased on top of the current main branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[ ] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

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

Project coverage is 96.39%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5467      +/-   ##
==========================================
- Coverage   96.40%   96.39%   -0.01%
==========================================
  Files         951      951
  Lines       22494    22494
  Branches     2021     2021
==========================================
- Hits        21685    21684       -1
- Misses        658      659       +1
  Partials      151      151

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


Why cant specify projectKey and projectName?

According to docs:
projectKey: DRONE_REPO
projectName: DRONE_REPO
You could also add a file named sonar-project.properties at the root of your project to specify parameters.

why not be able to set projectKey and projectName using settings in drone pipeline?
I have a project with a lot of git branches, and I want to send to sonarqube each branch as a different project. With the actual approach, I need to set different settings in sonar-project.properties for each branch to get that.
It would be great if I can set key and project name in the plugin settings, as I have different steps in drone.yml for each branch.
I dont know if there is any technical reason for this

As a solution, I can get it working using following setup:
drone.yml:
  - name: sonarqube
    image: aosapps/drone-sonar-plugin
    settings:
      sonar_host:
        from_secret: sonar_host
      sonar_token:
        from_secret: sonar_token
      usingProperties: true

sonar-project.properties (in branch-1):
sonar.projectName=Branch 1
sonar.projectKey=com.domain.branch-1

sonar-project.properties (in branch-2):
sonar.projectName=Branch 2
sonar.projectKey=com.domain.branch-2

Anyway, I think it would be great that we can be able to set projectKey and projectName as settings in drone pipeline, something like this:
  - name: sonarqube
    image: aosapps/drone-sonar-plugin
    when:
      branch:
        branch-name-1
    settings:
      sonar_host:
        from_secret: sonar_host
      sonar_token:
        from_secret: sonar_token
      projectKey: com.domain-branch-1
      projectName: Branch 1

  - name: sonarqube
    image: aosapps/drone-sonar-plugin
    when:
      branch:
        branch-name-2
    settings:
      sonar_host:
        from_secret: sonar_host
      sonar_token:
        from_secret: sonar_token
      projectKey: com.domain-branch-2
      projectName: Branch 2

This way, the configuration is made in the specific step for each branch, and sonar-project.properties is not needed.

Hi can you please help I am also facing the same issue. Not able to specify projectKey and Name parameters. I tried adding it to sonar-project.properties but it is not picking up the values. I am using drone v 0.8 , so usingProperties flag does not work for me.

Hi @Hpareek07 I cant help you. As you can see in my example, I am using usingProperties flag to get it work
It seems that this feature has no interest in the community. If I have some spare time I will try to fork the plugin to do it myself, but cant promise anything

linked to #28


How to change cursor background color dynamically?

I wan to use colorful cursor not only black and white.
I have a slider color with dynamically slide color so I need to use dynamic cursor background color.
Please suggest me solution.
Thank you in advance

Use custom CSS:
.my-cursor.-red {
    color:#ff0000;
}

Red cursor!


Use the right Android XML Tags

As documented on this page Android developers can't use the property tag for XML.
This PR adapts the XML output to use the right tags based on the value type.

Thanks for the contribution. Both of the Android PR's look good to me. I just had one question. Should we also merge https://github.com/salesforce-ux/theo/pull/144 so we are using the correct tags and placing the value inside the tag? @JolandaVerhoef @craveytrain @larsonjj

@aputinski Yes, according to the Android documentation the values should be placed inside the tag. So it would be great if #144 could also be merged!

@aputinski Can the current open PRs be merged? They have been stale for two weeks now, would love to have them in the project.

Sorry about that. I just merged #144, so if you fix the conflicts, I'll go ahead and get these merged. Then we'll just need to write some release notes and do a major version bump.

@aputinski I fixed the conflicts! :)

Would you mind also updating the documentation in this PR?

@aputinski Documentation is updated!

Thanks! I'll try to draft a release later this week.


labels no longer working

It seems that since one of the updates the labels are no longer working.
Could it be that this is broken from the GitHub runner itself? The message I see is:
Unrecognized command-line input arguments: 'labels k8s-runner'. For usage refer to: .\config.cmd --help or ./config.sh --help

The --label commandline argument still seems to be working on the runner itself, so it could be that something's broken in the shell script itself. I'll attempt to make some sense of this and see if I can find out what's the issue

Found it.
Commit dcf8524b5c200879c723edb11ca62b8e3cd837ac (PR #157) adds quotes around the ${LABEL_ARG}, effectively passing the label argument as a single argument --labels x,y,z. These should be 2 arguments of course, so removing the labels will solve this issue
I will issue a PR for this

I'm seeing this also for the runnergroup argument - I'm assuming this must be the same issue.
Unrecognized command-line input arguments: 'runnergroup runner-group-01'. For usage refer to: .\config.cmd --help or ./config.sh --help```

doesnt look as if the new addition in https://github.com/summerwind/actions-runner-controller/pull/157 resolves the label issue. Labels are still not being applied to the runners


Navigation links not working on mobile

https://github.com/torchbox/wagtail-news-template/blob/main/templates/navigation/header.html#L124
a href was blank
should be:
href="{{ link.value.get_url }}"

@songproducer thank you for filing these issues. It is very useful. Feel free to submit pull requests with fixes to any issues you find and have time for

@zerolab Sorry I'm git illiterate, I gave it a shot but not sure if this is right.
https://github.com/songproducer/wagtail-news-template/pull/2

Hey @songproducer, no worries at all.
Perhaps https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork can help

Thanks! I was trying to make my life more difficult by trying to use command line. Pull request submitted!


Daikin EGSQH10S18AA9W

Hi!
This is not an issue. More a question...
Anyone tried ESPAltherma with Daikin EGSQH10S18AA9W?
Which #include line should be used?
I have not purchased the ESP32 yet. Just wanted to know before hitting the buy button :)
Thanks!
Nicklas

Hi @newlund,
As explained in the wiki page, the definition files are mostly identical. Only few names will differ regarding specific feature of an heat pump (DWH or not, hybrid or not, etc.).
I would start with ALTHERMA(LT_CA_CB_11-16KW).h you should have most of the data correct.
Let us know!

Thanks! I will try.
The ESP32 is on the way... :)

I have also a question.
Anyone tried ESPAltherma with Daikin Altherma 3 GEO EGSAX06DA9W?
Which #include line should be used?
Thank you.

Daikin Altherma 3 GEO EGSAX06DA9W works fine with ALTHERMA(GSHP2).h and inverter current definition copied from ALTHERMA(GSHP).h


Become familiar with the gdb debugger and PostgreSQL flow

This task is to help you become familiar with the GDB debugger and how a command is processed in PostgreSQL.
GDB is a full featured debugger with lots of capabilities. But, for most tasks, you only need to know a few commands and a basic instruction of how to use it. The GDB documentation is available online and if you have any questions. You can also comment here or message us if you have any questions.
To debug a PostgreSQL session  -

You will need to make sure that when you configured and built PostgreSQL, you did so with any debugging flags enabled.
PostgreSQL needs to be running.
The PostgreSQL session that you want to debug needs to be open.
Your GDB session needs to be in the bin directory for the PostgreSQL distribution that you are using.
You need to know the process of the session that you will be debugging.
You can then execute the command gdb -tui postgres the_pid_number
You will need to set one, or more, breakpoints (b) and then tell GDB to continue (c)

The basic GDB commands are -

b for breakpoint, fx, b exec_simple_query or b 930
c for continue - continues to the next breakpoint
n for next line
s for step into
p for print, fx, p *node
d for delete all breakpoints
q for quit

A good breakpoint for the start of a PostgreSQL session is exec_simple_query. Unless you know of a specific area or function that you need to look at. For this task, exec_simple_query is a good start.
In this task you will use the debugger to trace the SELECT 1; statement from beginning to end (output). You do not need to worry about the planner (you'll know it when you see it). You do not need to worry about the details, just the general flow. It is not expected that you will completely understand most of what you see. However, it will help you get used to the debugger and a bit of how PostgreSQL processes commands.
An example, to get you started -

The session will look something like the following -

From there you would enter in a break point and tell it to continue -

From your session enter the command SELECT 1; which is a good, and relatively simple one, to follow -

The debugger session will then break at exec_simple_query  -

Started the task.

Completed the activity. Ran a simple query and then used the debugger to trace its execution.

Started doing the task.

Completed the task.
Note: In Ubuntu, gdb 10.x cannot read debug information even if compiled postres with debug flag, in case anyone may find it useful. Updating gdb to latest version fixed it.

Completed the task

What directory are you rnning gdb from? Can you list its contents here.
What is the gdb command that you are using?
Can you show the postgres processes (ps command).

You are in the correct directory. However, you need to specify the pid for your -> session <- to postgres. In the image above, that pid is 22152. It just looks like you're using the wrong pid.

Even when I use 22152 it doesn't work. gives the same error(could not attach process).

That pid will change if you exit the session. Is that process still there?

This may be of help -
https://stackoverflow.com/questions/19215177/how-to-solve-ptrace-operation-not-permitted-when-trying-to-attach-gdb-to-a-pro

It's still there. I tried exiting and starting the session again, and ran the gdb command again(with new pid) but still the same error.

try using sudo gdb

There should be no need to use root or sudo. If the process is owned by your account, you will be able to debug it.
Using root or sudo suggests that the development setup may be incorrect.

I'll try the article and see. I checked, and the process is owned by my account. Tried using sudo as well, it attaches to the process but still doesn't find breakpoint(doesn't even read postgres.c file)

That might be due to the path variable and gdb running under root.

I should mention, for anyone that needs to use sudo or root for this task, you are doing it incorrectly. You will need to fix your account.
You do not need to use either. So, if anyone completed this task using either sudo or root, you need to do this task again, without them.

According to the article, It asks to change ptrace.conf or ptrace_scope, And in order to do that I have to use sudo, Should I use sudo?

Yes, that is fine.

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
This might help.

Sometimes you will need root to change specific system settings. Especially, security settings. This may be a case where they are blocking gdb from connecting to a process.

I tried doing what article said(Thanks @susano0!), Now it attaches to the process. But still gdb can't find the breakpoint. I think it's some path issue. Somehow it reads from src/port/path.c I'll see what I can do to fix this.

@skkk98 Did you run c command in gdb after running SELECT 1; in psql?

I should mention, for anyone that needs to use sudo or root for this task, you are doing it incorrectly. You will need to fix your development environment.
You do not need to use either. So, if anyone completed this task using either sudo or root, you need to do this task again, without them.

@jrgemignani I installed postgres on /usr/local/.., so I needed to run 'make' commands on sudo. However, I can run postgres and psql process without sudo and they are owned by personal account. Do you think that's fine?

@rafsun-yu yupp, I did. But it never finds exec_simple_query.

@rafsun-yu You need to have PostgreSQL installed under a development account, not root nor an admin account.
For me, as an example, I have a user account jgemignani on my home server with a home directory of /home/jgemignani and all of the PostgreSQL versions and AGE github repos that I use are under that account. This eliminates the need to use root or sudo for builds and for any management of the databases you use for testing. This keeps it all local.
Using root or sudo for builds is dangerous. You can easily mess up your system. Additionally, if this were a company provided server that you were sharing with other developers, you wouldn't have the privileges to use root nor sudo. You would need to install all of this under your own development account. The unix admin would make sure issues with security packages blocking gdb from debugging you processes, like above, were resolved.
So, everyone who hasn't installed PostgreSQL and AGE under their own development accounts, needs to go back and redo their development environments.
Additionally, if PostgreSQL is installed on the system, under root, you will need to either disable it from starting or uninstall it altogether. This is because they will share the default port of 5432.
Hopefully, this helps. If you have additional questions on setting up your account, please let me know.

Completed this task.

Completed this task.


“Back to list” button always moves the scroll position to top.

“Back to list” button always moves the scroll position to top. Would be nice to continue from previous position instead.

Fixed in https://github.com/parttio/accessibility-checker-for-vaadin/issues/31


release: extract Linux binaries for multiple architectures

This is a cherry pick of https://github.com/openshift/oc/commit/3dba61ad7f65fa7d7945fb6bd1ba09c13cd88f06 to the ai-bug-1823143 branch, for AI support of ARM clusters from an x86_64 assisted-service.

I'll cherry-pick it to another branch


Handle print statements in non BEGIN/END blocks

They should be either prohibited, or, better, their outpout should be stored in memory or in temporary files and then serialized.

Hi @dspinellis, can you please provide me with such an example to test against.

More sophisticated implementation
seq 1 10000 | awk '{print}' should output the same as seq 1 10000.

Since print is not parallelizable, shouldn't we restrict its use inside the action statement ?

This is the trivial implementation. The more sophisticated one involves storing its output and serializing it at the end of the program's operation.

I have implemented the trivial solution so far.


Improve Login User Experience

If the user is signed in but their session has expired (need to confirm), the UI appears blank and the user must manually log out and sign back in. Ideally we have a UI to notify the user that they must sign in again
If the user is not signed in, rather than displaying them the login screen, we immediately start the login flow and redirect them away from the site. Ideally the login flow starts only when the user clicks on the sign in button

fixed with https://github.com/MemberJunction/MJ/pull/642


README/Documentation Updates

[ ] Remove any examples that are just copies of help text from the CLI
[ ] Reconsider how we document specific commands (consider removing the full documentation of the plans/models commands)
[ ] Consider restructuring some examples into a "Cookbook"
[ ] Document CLI completion (need compinit in .zshrc)

Updated thoughts:

We should auto-generate CLI documentation. To start, we can do this with typer-cli.
We should consider auto-generating full documentation of the API using something like Sphinx. Libraries that seem to have been added to aerie-cli a long time ago but not fully integrated include the furo theme and sphinx-click.
Coverage reports can be re-added (with automation, assuming we want them to be used) by importing coverage as a dev dependency and configuring in pyproject.toml:

[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]

[tool.coverage.run]
branch = true
source = ["aerie_cli", "tests"]

[tool.coverage.report]
show_missing = true
fail_under = 100

Partially migrated to #76 and will otherwise be closed by #77.


fix drag-drop undefined error

Good explanation of what's going on at
https://github.com/angular/components/issues/15948#issuecomment-521924152.
Fixes #15948

I think that the underlying issue should be resolved by https://github.com/angular/components/pull/18356.

I think that the underlying issue should be resolved by #18356.

Thanks! It does. Closing.


Open Source RobotWare Addin

Would it be possible to open source the RobotWare Adding as well? I'm currently trying to adapt the driver for the Omnicore Platform and have now the problem, that the driver checks for the installed addin. But currently the adding is not available for RW7.

I reimplemted it by myself for a simple test-run. You can find it here https://github.com/herrvonregen/statemachine_add_in_rw7


debug-toolbar break modeltranslation

Django==1.8.3
django-debug-toolbar==1.3.2
django-modeltranslation==0.10
Mezzanine==4.0.0
with
`OPTIONAL_APPS = (
"debug_toolbar", ...
i get error:
Traceback (most recent call last):
  File "./manage.py", line 28, in <module>
    execute_from_command_line(sys.argv)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/core/management/__init__.py", line 312, in execute
    django.setup()
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/apps/registry.py", line 115, in populate
    app_config.ready()
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/debug_toolbar/apps.py", line 15, in ready
    dt_settings.patch_all()
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/debug_toolbar/settings.py", line 232, in patch_all
    patch_root_urlconf()
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/debug_toolbar/settings.py", line 220, in patch_root_urlconf
    reverse('djdt:render_panel')
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/core/urlresolvers.py", line 550, in reverse
    app_list = resolver.app_dict[ns]
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/core/urlresolvers.py", line 352, in app_dict
    self._populate()
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/core/urlresolvers.py", line 285, in _populate
    for pattern in reversed(self.url_patterns):
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/core/urlresolvers.py", line 402, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/core/urlresolvers.py", line 396, in urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/mnt/data2/work/modco-mbm/project/urls.py", line 11, in <module>
    admin.autodiscover()
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/mezzanine/boot/__init__.py", line 77, in autodiscover
    django_autodiscover(*args, **kwargs)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/contrib/admin/__init__.py", line 24, in autodiscover
    autodiscover_modules('admin', register_to=site)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/utils/module_loading.py", line 74, in autodiscover_modules
    import_module('%s.%s' % (app_config.name, module_to_search))
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/mezzanine/pages/admin.py", line 245, in <module>
    admin.site.register(Page, PageAdmin)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/mezzanine/boot/lazy_admin.py", line 28, in register
    super(LazyAdminSite, self).register(*args, **kwargs)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/django/contrib/admin/sites.py", line 108, in register
    self._registry[model] = admin_class(model, self)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/mezzanine/pages/admin.py", line 55, in __init__
    super(PageAdmin, self).__init__(*args, **kwargs)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/mezzanine/core/admin.py", line 92, in __init__
    super(DisplayableAdmin, self).__init__(*args, **kwargs)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/modeltranslation/admin.py", line 245, in __init__
    super(TranslationAdmin, self).__init__(*args, **kwargs)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/modeltranslation/admin.py", line 33, in __init__
    self.trans_opts = translator.get_options_for_model(self.model)
  File "/home/slav0nic/work/modco-mbm/lib/python3.4/site-packages/modeltranslation/translator.py", line 546, in get_options_for_model
    'translation' % model.__name__)
modeltranslation.translator.NotRegistered: The model "Page" is not registered for translation

Does  changing this line: https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/utils/conf.py#L126
into:
prepend("INSTALLED_APPS", app)

solves the issue ?

It's a duplicate of https://github.com/deschler/django-modeltranslation/issues/246
We can solve it in Mezzanine by using the explicit setup for debug toolbar http://django-debug-toolbar.readthedocs.org/en/1.2/installation.html#explicit-setup
I'll push a fix.

yes, this help, tnx


Updated read.me, adjusted links and description to match current version

@anhaltFelix Hi Felix, please have a look at this and merge if possible


Forked version label

Avoids conflicts with upstream versions of this package.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: mkrielza:x: fllacamkrielza seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

wrong upstream


Support surrounding selected text with parenthesis

Describe the bug
When you have selected text in VSCode and enters a parenthesis '(' you would expect the selected text to be surrounded with '(' and ')' as it does with other languages in VSCode.
This becomes very annoying when you are switching between different languages in VSCode.
The same functionality could be added for [ and {, but that is not as common scenario.
This is implemented for " and ', so I would assume it would be quite easy to add ({[ to this?
To Reproduce
Steps and to reproduce the behavior:

Write any AL code in VSCode
Select the the AL code ("MyDec > 0" in the sample below)
Press (
Now your selected text is overwritten with (

if MyDec > 0 then
becomes
if ( then
instead of the expected result
if (MyDec > 0) then
Expected behavior
The text that is selected when pressing ( should be surrounded with ( and ).
5. Versions:

AL Language:
v6.1.381323

@atoader please make sure that someone implement this little feature that gets me cursing every time I discover that it's not yet implemented, ie. when I overwrite my condition with a (.
This is a very small thing to implement, just add
        ["(", ")"],
        ["[", "]"],
        ["{", "}"]

to the surroundingPairs array in al.configuration.json.
Right now I'm patching this myself. Just to have happier life when hacking AL ;-)

Ok, I will add it. Thanks for the fix.

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 22407 and VS Code Extension Version 7.0.420929.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://freddysblog.com/2020/06/25/working-with-artifacts/


Allow multiple dds files for CubeMap

Resolves #3188

Still has some weird artifacts I'm trying to track down

OK waiting for your go here

Think is same issue; is because the dataOffset isn't advancing for each mip level; due to bpp being 0

K, this fixes both issues can use just root, root + extensions or files

huge thanks!


exploring using jmp as a transport layer

jmp is an npm module for creating, parsing and replying to messages of the Jupyter Messaging Protocol.

Also worth noting that the ijavascript developer,@n-riesco is very responsive and open to ideas. I've also enjoyed the amount of documentation he's put in.

It's great to see more interest in jmp. The package is a spin-off of IJavascript. IJavascript uses it only for replying to Jupyter messages. I'd love to see other projects use it to write requests. I'm sure the interface to create requests could be made more convenient.

#197


Request: Truechart Support (Truenas Scale)

Would you be willing to port this to Truenas via Truecharts app catalog?  It should be fairly simple and I'm even willing to try submitting a PR by modifying other templates if needed, but without prior experience it may take me a while.
https://github.com/truecharts/charts

no sorry


Shortcode function url()

I am using XAMPP to run my project. Here is my URL for my project: http://localhost/cms
When I used the function url() to show domain url, then the result is http://localhost//. Is there any way to make it show http://localhost/cms/

Run this command on cmd
php -S localhost:8000 -t C:\xampp\htdocs\cms

then run localhost:8000 on your browser

Is there any way to do if I want to keep my URL like this: http://localhost/cms/?

Yes, Just Update your system/Request.php file
Under line 52
I'm added this lines
       if($this->servername == 'localhost'){
            $this->url = strtolower(
                $this->protocol . '://' . $this->servername .
                str_replace($this->path, '', $this->server['REQUEST_URI'])
            );
        }

Hope you can update it in next version :D. Your package is amazing. Thank you.


if require is aliased, detective incorrectly returns uses of it as dependencies

Eg:
var require = function() {
  console.log('test')
}
require("this isn't a dependency")

It should be pretty simple to detect scopes in which require is redefined and exclude requires there.

@fresheneesz No idea about it happening here (I'm guessing unlikely due to performance reasons), but in case you're interested I made an adapation of Detective that does that (taking a big performance hit).

Another variant:
function(require) {
    require("this isn't a dependency");
};

This is in fact the form that browserified modules take, and thus this issue is one of the reasons why a browserified module can't itself be browserified.

#79 implements a fast special case to ignore require calls inside browserified bundles, which I think is the most common situation.


Update Github pages documentation link in About Section

With changes to repo name and owner, new gh pages about section link should be changed to https://ccbr.github.io/exome-seek/
The link already works and GH actions is already rendering everything to the link

Fixed on all branches


ContentFrameAsync() exception occurred in iframe elementHandle

Looking for some help? Get priority support by sponsoring the project/
Before you file a bug, have you:

Tried upgrading to newest version of PuppeteerSharp, to see if your issue has already been resolved and released?
Checked existing open and closed issues, to see if the issue has already been reported?
Tried reproducing your problem in a new isolated project?
Considered if this is a general question and not a bug?. For general questions please use StackOverflow.

Description
[Description of the issue]
iframeElementHandle.ContentFrameAsync()  throw exception
Frame 8B6EB85116EFEB0ABBEFC65625234E35 not found
Complete minimal example reproducing the issue
// Arrange
var options = new LaunchOptions { /*  */ };
var chromiumRevision = BrowserFetcher.DefaultRevision;
var browser = await Puppeteer.LaunchAsync(options, chromiumRevision);
var page = browser.NewPageAsync();
   await        page.GoToAsync("https://forum.netmarble.com/enn_ko/view/33/132235",
                new NavigationOptions() {WaitUntil = new[] {WaitUntilNavigation.Load, WaitUntilNavigation.Networkidle0}});

// Act
...

var elementHandle = await page.QuerySelectorAsync("#contentsDetail iframe");

var frame = await elementHandle.ContentFrameAsync();

// Assert

--> throw exception  Frame 8B6EB85116EFEB0ABBEFC65625234E35 not found
...

 E.g. .NET 5

Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

Confirming, ContentFrameAsync() is not working on any website in current version (7.0). 6.x works fine,

Can you try v7.1 @Yaagod ?


Adds Redshift support

tests pass locally but not on CI because ( I have a strong feeling ) the redshift database is only open to Plotly's office IP address @chriddyp

resolve #75


Support show pod/service/events/rc by namespace

It seems we just support namespace 'default' for all items of 'view' in dashboard. I can not find any place to get Pods/Services of other namespace.

root@paas-185:~# kubectl version
Client Version: version.Info{Major:"0", Minor:"18", GitVersion:"v0.18.1", GitCommit:"befd1385e5af5f7516f75a27a2628272bb9e9f36", GitTreeState:"clean"}
Server Version: version.Info{Major:"0", Minor:"18", GitVersion:"v0.18.1", GitCommit:"befd1385e5af5f7516f75a27a2628272bb9e9f36", GitTreeState:"clean"}

kubectl get pods --namespace=foo
Or am I missing something in the question?

Sorry for the confused issue title. I mean the dashboard of k8s in www, not CLI. I cannot find any config or filter by namespace in the GUI.

@derekwaynecarr can you change the label 'CLI'? since it is a UI issue.
Thanks

Dupe of #13276


Cannot create instant invoice

This issue persists even when not including a link in the project description @scottrepreneur.

Sorry, yes might still be expected on instant invoice. That was what I was fixing when I borked the subgraph and haven't gotten to revisit it again. Should be nearly there.

@scottrepreneur this should be in TODO? I didnt work on this yet!

@memosys @scottrepreneur still does not work on xDAI

all gg - works


use ansible as the single point of truth

As configuration-production.js is not checked in, looking at a
diff is not possible.
Managing our whole config from ansible using source control makes
it easier for us to maintain our software.

fixed and rebased!

lgtm, very cool


Rewrite into FSM to manage complexity

The code is becoming complex and difficult to understand. It would be helpful if we used an abstraction like an FSM to simplify it. I have a draft of what that would look like here: https://github.com/marigold-dev/sidechain/blob/flowchart_rewrite_proposal/bin/flowchart_rewrite.re
One nice thing about this is that it would allow us to record all the states the node runs through, which would in some cases greatly simplify debugging. This change seems big but I would be happy to spend a day trying to implement it to see how feasible it is.

Does the draft have a complete list of primitives you have in mind? Is there anything more to add?
Clarification: Not asking for the implementation helpers ofcourse.

Q: Can this model state transitions that depends side effects?

@callistonianembrace

Can you add an example there of a transition the depends on effectful computations?

In the flowchart under Received signature, the is_block_present check requires checking something that I can't easily see how to include in the state machine (specifically, whether the block is present in the list of known blocks, even though the list of known blocks isn't part of the state machine's state).

Does the draft have a complete list of primitives you have in mind? Is there anything more to add?

I'm not sure what you mean by this, I think the draft includes everything I have in mind but when implementing it I'm sure I'll realize there's something I forgot haha

We've achieved this in v1 :+1:


Add a changelog

Currently the changes are tracked on the GitHub Releases page which is pretty detailed, but including this information in the package can be beneficial.

You could also run mantisBt and have it added as a service in github to generate and manage changes and changelogs.

Thanks, but I kind of like it handcrafted =). Not much work anyway.


Overlapping controls in side panel in canvas

Describe the Bug
This is an issue with the controls e.g. in Saga processor in the side panel canvas configuration - the side scrolling bar in the panel is overlapping with the add and remove buttons for options.
Steps to Reproduce the Bug or Issue

Create Saga processor to integration
Try to add and remove "options" using the side controls

Screenshots or Videos
https://github.com/KaotoIO/kaoto-next/assets/4180208/0e374ba5-afae-471d-ab27-2dcc0f858a48
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

It seems like the form is being collapsed, instead of the container. Ideally, the form should grow as necessary, while the sidebar container should be static at 100% with overflow: scroll


chore: Convert projects tags permissions TestCase to normal test function

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
I'm working through re-writing the TestCase and APITestCase classes into normal test functions. I rewrote the existing classes and replaced with fixtures instead of recreating everything. There are other PRs that are similar to this one.
How did you test this code?
I manually changed the tests one at a time to refactor them as I went then ran the full test suite afterwards.

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

Project coverage is 95.90%. Comparing base (84ab486) to head (8797c3f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3743      +/-   ##
==========================================
+ Coverage   95.89%   95.90%   +0.01%
==========================================
  Files        1102     1102
  Lines       34708    34703       -5
==========================================
  Hits        33283    33283
+ Misses       1425     1420       -5

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


Problem when creating user subclass (is working with the Unity Asset Store SDK)

Hello,
This is the exception:
ArgumentException: You must create this type of ParseObject using ParseObject.Create() or the proper subclass.
Parse.ParseObject..ctor (System.String className)
Parse.ParseObject..ctor ()
Parse.ParseUser..ctor ()
MemoryCard.Models.BaseNetUserModel..ctor ()
MemoryCard.Models.UserModel..ctor ()

it happens when I call something like this:
var usr = new UserModel() {
  ObjectId = "someId",
  Username = "someid",
  Firstname = "hello",
  Lastname = "world"
}

when the class hierarchy is setup like this:
[ParseClassName("_User")]
public class UserModel : BaseNetUserModel {

  public UserModel() { }

}

public abstract class BaseNetUserModel : ParseUser, IDBNetModel {

  public BaseNetUserModel() { }

}

public interface IDBNetModel: IDBModel {
}

public interface IDBModel {
}

I have called register only for the UserModel class since I cannot do it for the abstract one:
ParseObject.RegisterSubclass<UserModel>();

This used to work before I changed the unity asset store sdk to the uploaded sdk here: https://parse.com/docs/downloads
Any thoughts ?

Hmm. This is probably a bug in https://github.com/ParsePlatform/Parse-SDK-dotNET/blob/master/ParseCore/Internal/Object/Subclassing/ObjectSubclassingController.cs, though I'm not 100% sure where. I'd bet that we never tested support for abstract base classes.
Could you perhaps make your base non-abstract? Or maybe add the ParseClassName attribute directly to BaseNetUserModel?

I for sure tried both but I am not sure what kind of combinations.
Any case the ParseClassName will be needed in all the classes in the class tree related with the _User collection ?
I will try more combinations & I will get back on this

@AngelKyriako I would definitely try it on all classes in the tree. If I had to venture a guess it may have something to do with the logic here: https://github.com/ParsePlatform/Parse-SDK-dotNET/blob/master/ParseCore/Internal/Object/Subclassing/ObjectSubclassInfo.cs#L32-L35, where we can't find the attribute if it's inherited only.

@richardjrossiii I tried both and It seems that the issue does not have to do with the abstract class or the fact that the ParseClassName is not defined on all classes in the tree.
It feels like it does not work well when inheriting the ParseUser class, but works when inheriting the ParseObject class.
Currently, I am unable to build the project on my PC. Is there any documentation apart from the start of the README.md in the repository ?
I tried with both the command: MSBuild.exe Parse.sln
and via VS2015.
I also tried to disactivate anything Analytics/Push and Test related in the build configuration in case it helped but nothing.
on windows 10 and vs2015 I get this error multiple times:
File 'Windows.props' not found. See http://go.microsoft.com/fwlink/?prd=12395&pver=1.0&plcid=0x409&ar=MSDN&sar=PlatformMultiTargeting&o1=C:\Program Files (x86)\Microsoft SDKs\Portable\v12.0&o2=Portable for more information.	AssemblyLister.Portable
which I guess is a problem with my setup and will try to resolve.
In the mean time let me know if there is any progress with this issue.
Cheers

@richardjrossiii  after a long time it was about time to deal with this issue.
As I could not build the current master branch I checkout to 1.7.0 to be able to build the plugin.
Therefore I am not sure if I should pull request it on master.
Eventually, the problem is that when creating a new object with the subclass feature, parse will use a dictionary to lookup the type of the subclass registered by class name.
   ObjectSubclassInfo subclassInfo;
   registeredSubclasses.TryGetValue(className, out subclassInfo);

However, this dictionary keeps only one type per subclass. The method public void RegisterSubclass(Type type); is made with the logic of keeping the most abstract class in a subclass hierarchy.
That means that in the code below, the dictionary will keep the type SomeModel as the type mapped to class name Model:
[ParseClassName("Model")]
public SomeModel: ParseObject { }

[ParseClassName("Model")]
public SomePlayerModel: SomeModel { }

which will fail when calling new SomePlayerModel();
On these lines https://github.com/ParsePlatform/Parse-SDK-dotNET/blob/master/ParseCore/Internal/Object/Subclassing/ObjectSubclassInfo.cs#L32-L35
I updated the logical expression to:
return subclassInfo == null
   ? type == typeof(ParseObject)
   : subclassInfo.TypeInfo.Equals(type.GetTypeInfo()) || subclassInfo.TypeInfo.IsSubclassOf(type);

which makes my Unity code work since I do not have more than 2 level deep subclasses.
I also removed the [ParseClassName("ClassName")] lines from classes that were lower in the hierarchy for clarity.
However, even with this fix added and create an even deeper subclass would throw the exception since
subclassInfo.TypeInfo.IsSubclassOf(type) will return false for a super class 2 levels up.
public SomeOtherPlayerModel: SomePlayerModel { }

Maybe it would be better to have the registeredSubclasses dictionary mapped to an array of types and then lookup into that array during type checking for type equality. This seems to be a more proper solution.
Please update the readme regarding building and unit testing the sdk if you want a pull request on that.
Thanks for the help

Marking for further inspection.

Due to my experiences with the SDK in the past two years it is possible to use subclassing of ParseObject within Unity.
It might behave differently on mobile or other platforms where Unity code stripping kicks in and removes unused code to speed up compilation (e.g. IL2CPP)
I close this issue for now, feel free to open a new issue when you encounter any problems with the latest version of the SDK (2.0 or newer)


Add annotation import

Current dependencies on/for this PR:

main

PR #3   👈

This comment was auto-generated by Graphite.


Issues while running the example

Hi,
I was trying your control and have found following issues in different simulator settings:
setting: iOS 8.2
Issue: "2015-04-30 19:20:04.820 JVMenuPopover[62622:2018211] <UIVisualEffectView 0x7fe3ba50ec90> is being asked to animate its opacity. This will cause the effect to appear broken until opacity returns to 1.
"
setting: iOS 7.1
Issue: application crashes moment i tap the menu button with following message
"
dyld: lazy symbol binding failed: Symbol not found: _UIAccessibilityIsReduceTransparencyEnabled
Referenced from: /Users/gauravgupta/Library/Developer/CoreSimulator/Devices/6688E8A4-A011-47FB-8093-D7DF9A6CC39F/data/Applications/808FDF95-4C4D-415B-959B-910FF0AC55F8/JVMenuPopover.app/JVMenuPopover
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UIKit.framework/UIKit
dyld: Symbol not found: _UIAccessibilityIsReduceTransparencyEnabled
Referenced from: /Users/gauravgupta/Library/Developer/CoreSimulator/Devices/6688E8A4-A011-47FB-8093-D7DF9A6CC39F/data/Applications/808FDF95-4C4D-415B-959B-910FF0AC55F8/JVMenuPopover.app/JVMenuPopover
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UIKit.framework/UIKit
"
can u let me know if there is any solution or your control was meant only for iOS 8+?

The issue related to JVMenuPopover... I assume you meant to open this issue on this?

Ya thats very much!!thanks for the direction i will open it on the relevant side.

Thanks for the info


Write module

Use existing arrow / flight or one from an external project (Issue #1137)

A write capability is added to the arrow-flight-module.


Refresh Windows service walkthrough topic

Complete refresh of the walkthrough for VS 2017, most notably how to find the project template.
Fixes #6892, fixes #5875.

@BillWagner Awesome, thanks for the fast review.


Update release-it and release-it-lerna-changelog.

Essentially reverts edb82f7becc0027151227f68a5f10bd0625a6681 and updates to a version of release-it-lerna-changelog that does not have a direct dependency on release-it.
The root cause of the issue is explained over in https://github.com/release-it/release-it/issues/713, but the tldr is that I had a bit of work to refactor my plugins to avoid the direct dependency on release-it.

Oh wow, thanks a lot! 😍

The root cause of the issue is explained over in release-it/release-it#713, but the tldr is that I had a bit of work to refactor my plugins to avoid the direct dependency on release-it.

Yeah, I just noticed this issue in a different project, before seeing this PR. So thanks again, what a service! :) (I wonder how you even noticed this was used here!?)

I wonder how you even noticed this was used here!?

Your commit message was the first hit when I was also searching for a solution to the error:
https://github.com/search?q="plugin.getIncrement+is+not+a+function"&type=commits
Figured that I'd share the knowledge once I figured out what was going on...


cannot create pdf from html

I am getting the following error:
html-pdf: Received the exit code '255'
Can't open '/scripts/pdf_a4_portrait.js'
at ChildProcess.respond (/Users/rushikeshmhetre/rushi/mylambda/.webpack/service/emailSender.js:13617:71)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

Debug: internal, implementation, error
Error: Uncaught error: write EPIPE
at exports._errnoException (util.js:1026:11)
at WriteWrap.afterWrite (net.js:799:14)
html-pdf: Received the exit code '255'Can't open '/scripts/pdf_a4_portrait.js'    at ChildProcess.respond (/Users/rushikeshmhetre/rushi/mylambda/.webpack/service/emailSender.js:13617:71)    at emitTwo (events.js:106:13)    at ChildProcess.emit (events.js:191:7)    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)Debug: internal, implementation, error     Error: Uncaught error: write EPIPE    at exports._errnoException (util.js:1026:11)    at WriteWrap.afterWrite (net.js:799:14)

I am getting the same error.
Error: html-pdf: Received the exit code '255'
Can't open '/scripts/pdf_a4_portrait.js'

    at ChildProcess.respond (/Users/XXXXXXX/workspace/project-name/generate-pdf.js:15365:31)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

That said, if I move the script into it's own directory (with it's own node_modules) I can call it from my app with no issues.

Hi @caffeinelogic ,
I added a new key "script":(your_pdf_a4_potrait.js_path_here).
and it worked for me.

I see you're using webpack to bundle your scripts.
How does your build pipeline look like? As long as you copy over the processing script to the new directory, it should still work.

@Nomercy10
Thanks for the suggestion. I will take a shot at this in the next few days to see if that works.
@marcbachmann
It works when its in its own directory, but fails when I couple it with the rest of the app. I am still reviewing how it is bundling. I might be getting some 'dependency leakage' from the other webpack config. I'll post back once I try some additional tweaks...


SQL Server datetimeoffset precision not honored in select results

Azure Data Studio Version: 1.39.1
OS Version: Windows 10 21H2
DB Version: Microsoft SQL Server 2019 (RTM-GDR) (KB5014356) - 15.0.2095.3 (X64)

Steps to Reproduce:

Run the following query:

SELECT
    CONVERT(datetime2(0), SYSDATETIME()),
    CONVERT(datetimeoffset(0), SYSDATETIMEOFFSET())

This results in:
2022-10-27 08:51:28
2022-10-27 08:51:28.0000000 +02:00

Observe that datetime2 precision is honored, while datetimeoffset is not

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

I use a lot of datetimeoffset(0) columns because micro/milliseconds are overkill in many cases. But it's kind of annoying that datetimeoffset2 is always returned with precision 7 regardless of the actual column type.

@palhal this is a SQL Server topic and you should raise the question at https://techcommunity.microsoft.com/t5/sql-server/ct-p/SQL-Server. Azure Data Studio is just displaying whatever SQL Server returns.

@alanrenmsft I see. I guess that means that both SSMS and sqlcmd are doing special formatting based on the precision? When I run:
sqlcmd -Q "SELECT CONVERT(datetimeoffset(0), SYSDATETIMEOFFSET())"

I get the expected result without fractional seconds. If this really is the case, I wonder why they didn't fix it in the server instead.

SQL CMD:

SSMS:

ads:

@palhal I've merged a fix for this issue today and you should be able to test it out in tomorrow's insider build or you can wait for the next official release.

Thanks! Looking forward to try it in the next official release 😃


gasPrice

renamed gasPrice method to getGasPrice
add gasPrice property

Related to AugurProject/augur.js#100

Coverage remained the same at 59.157% when pulling 890e658a435239032f9397f62351a9d00a789ec3 on gasPrice into 9c5b1bbb6d61ac499ef1c0de0d80bdab1d8340b1 on master.