【WIP】 Enhance msgs

This PR's purpose are followings

[x] #316 by a different way, see 60f50f2bd71f5592bdfdbfe0b1a0c35b3fe0d05c
[x] fix #311 see 70d20ebbd4e4969115958d808d1777768760e4be
[x] fix #312 see 67c8963f08cbc4695ef3aa16190d24ac0ecd0204

Hi @pojiro,
thank you for this enhancement of msgs. I know this PR is just an intermediate state, but I already like it - especially the binaries. It's sad that is is not possible to distinguish in a message type between an arrays of uint8 and BLOBs.
Regarding the empty message type, it is hard to find a nice solution to this. I started a similar approach, which you can find here:
https://github.com/FelixPe/rclex/commit/8591f664295a635703bda6aa4828708bdc3d6cd4
The disadvantege of my approach is, that it exposes the (not so nice) internals of the c/idl code, which don't allow to have empty structs - your PR hides these internals much better from the user.
On the other hand the advantage is, that is works on any message type without fields. For pub/sub empty messages are not so common, but for the messages of service requests and responses is was giving me headaches. (e.g.: std_srvs/srv/Trigger_Request.msg)

@FelixPe Thanks to quick your review.

It's sad that is is not possible to distinguish in a message type between an arrays of uint8 and BLOBs.

Do you think is that helpful to user that we can distinguish them? I just think it's ok to user 8 bit array can be always binary. Because user can know about the type, they can convert it very easiley to charlist. What do you think about this?
I didn't know there are like e.g.: std_srvs/srv/Trigger_Request.msg which dones't have any fields. Thank you.
I saw your commit. I would like to think about more better handling like mixex you way and my way.

Regarding the right choice between binary and lists it might be good to push this decision to the user as mentioned by @takasehideki in https://github.com/rclex/rclex/pull/316#issuecomment-2067946877
If it's implemented in this non-configurable way, using binary for fixed-sized size arrays of uint8 might be less confusing, than using different types depending on the array type (dynamic/fixed size). Converting from binary to list is very cheap for uint8 and the binaries allow fast binary pattern matching.

@FelixPe @takasehideki
I think it's difficult to handle uint8 array with option. Because if we use two message types, each of them uses same uint8 array in their dependency. like
config :rclex,
  ros2_message_types: [
    {"A", :uint8_array_as_binary},
    "B",
  ]
# A and B uses C, C has uint8[]

This cannot be worked. Because gen.msgs generates only one C message type source.
If you have any ideas to make this possible, please let me know.

If we choose treating uint8 array as binary, I think it makes sense as @FelixPe said, https://github.com/rclex/rclex/pull/316#issuecomment-2059007090.
We can also apply this for static array too, like unique_identifier_msgs/msg/UUID.msg which is represented by uint8[16] uuid.
Ecto.UUID's raw representations is also binary, ref. https://hexdocs.pm/ecto/Ecto.UUID.html#t:raw/0
We think about only one thing for this way is this will make breaking change.
I'd like to hear both of your thoughts .

OK, I've totally agreed with your idea, treat uint8 as binary ❤ > @pojiro @FelixPe
One of my slight concerns is that It may cause performance degradation as far as DDS communication by giving special treatment to Elixir's situation. However, I can't immediately think of any mechanism or reason why that could happen, and I doubt it will ever occur.

Sorry, for the late response. The inconsistencies that would be introduced by a configurable approach are a really convincing reason to go the other way. And I hope the user also benefits from this stringent approach, where uint8[] is always a binary.
Regarding performance impact, I expect some improvement on the elixir side.

@pojiro I found one minor issue, but I need to double check, for arrays of strings like in sensor_msgs/msg/JointState rcl expects in its function calls String instead of string. Giving you the message:
warning: implicit declaration of function ‘rosidl_runtime_c__string__Sequence__init’; did you mean ‘rosidl_runtime_c__String__Sequence__init
I tried to solve this by looking for string type during sequence type generation (see https://github.com/rclex/rclex/commit/bfa9d115bd66c74851e01368515dad6422e3744f#diff-9ab5d2fe80333211524095cd91c8e3b30e0df45ecc6e93d146ac9086db7f55b8R182-R185)

@FelixPe cc @takasehideki
I'm sorry for my slow hand! Thanks for your reporting I fixed it.
I grepped all rosidl_runtime_c__types. I hope this will not happen again.
rg --no-filename --no-line-number "rosidl_runtime_c__[^_]+__Sequence " /opt/ros/foxy/ | sed -E 's/.+(rosidl_runtime_c__[^_]+__Sequence).+/\1/' | sort | uniq
rosidl_runtime_c__String__Sequence
rosidl_runtime_c__String__Sequence *
rosidl_runtime_c__U16String__Sequence
rosidl_runtime_c__U16String__Sequence *
rosidl_runtime_c__boolean__Sequence
rosidl_runtime_c__double__Sequence
rosidl_runtime_c__float__Sequence
rosidl_runtime_c__int16__Sequence
rosidl_runtime_c__int32__Sequence
rosidl_runtime_c__int64__Sequence
rosidl_runtime_c__int8__Sequence
rosidl_runtime_c__octet__Sequence
rosidl_runtime_c__uint16__Sequence
rosidl_runtime_c__uint32__Sequence
rosidl_runtime_c__uint64__Sequence
rosidl_runtime_c__uint8__Sequence

Looks like the to_down_snake needs a minor change
std_msgs/msg/UInt32.msg becomes u_int32.h
but tf2_msgs/msg/TF2Error.msg doesn't tf2_error.h but t_f2_error.h
It done in two steps in rosidl:
https://github.com/ros2/rosidl/blob/481c9437ab3dbf92807f8b2fb0b0bad5ba22d4bf/rosidl_cmake/cmake/string_camel_case_to_lower_case_underscore.cmake#L16

Thanks you for your awesome work. Even bounded arrays are supported. 👍🏻

@FelixPe Nice catch!
I'd like to add your name as co-author, so I wanna know which email address do you want to add? gmail or other?

@FelixPe Nice catch!
I'd like to add your name as co-author for the commit of to_down_snake fix, so I wanna know which email address do you want to add? gmail or other? Now i added with gmail one. If you want to change it, let me know i will fix.

Thank you, gmail is fine :)


could not find “src_alignn”in the project

Hello, I encountered the following issue while replicating your excellent work. In the profile.py file, there is：
from src_alignn import data, models
from src_alignn.config import TrainingConfig
from src_alignn.train import group_decay, setup_optimizer
but I could not find “src_alignn”in the project. How can I resolve this? Looking forward to your reply.

Hey,
Thanks for pointing out the issue and sorry for it.
You need to rename src_alignn and src in profile.py
It should work.
Let me know if there is any further issue.
We will update the repo soon.


Extra newline before comment with -n --fss, 5.0.5+ regression

isort 5.0.5 and later (up to 5.0.9) adds a spurious newline before a comment in the following scenario with -n --fss:
$ cat t.py
import sys

# Comment canary
from . import foo
$ isort -n --fss t.py
Fixing /tmp/t.py
$ cat t.py
import sys

# Comment canary
from . import foo

There shouid be only one newline between import sys and # Comment canary. 5.0.4 and earlier did not have this problem. It is also somehow specific to both -n and --fss being specified; neither alone triggers the issue.

A fix for this has been deployed to PyPI in the 5.1.0 release,
Thanks for reporting!
~Timothy

Thanks; that case is fixed indeed but there are some other related ones lurking, see #1322


[Bug]: Getting "KeyError('messages')" when calling agent completions HTTP API

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
df9d054
Other environment information
No response
Actual behavior
Can't use agents via api, since the completions api always return the following error:

By looking at the session.py code, I noticed that the session gets created with a 'message' field instead of a'messages' one. This may be the reason of the issue.
Expected behavior
Generate response from agent via HTTP API
Steps to reproduce
1. Create an agent
2. Call the HTTP request via POST /api/v1/agents/{agentId}/completions with the following body

{
    "stream": true,
    "question": "Hello?"
}

### Additional information

_No response_

Which LLM do you use?

I am using OpenAI gpt 4o mini. The api key is set and it’s working through the agent run web ui

I I have the same issue. I configured an Agent and successfully ran it via the web UI, but when I tried to invoke it using the HTTP API, it returned an error: {"data":null,"retcode":100,"retmsg":"KeyError('messages')"}. I rebuilt an Agent without LLM, but it still returns this error.

@KevinHuSh

I have the same issue. I configured an Agent and successfully ran it via the web UI, but when I tried to invoke it using the HTTP API, it returned an error: {"data":null,"retcode":100,"retmsg":"KeyError('messages')"}. I rebuilt an Agent without LLM, but it still returns this error.

@KevinHuSh

Please update your code.

What do you mean? I can't really spot the dfference between mine and your request

Please modify the .env file by changing dev-slim to dev, then run docker compose -f docker-compose.yml pull, followed by docker compose -f docker-compose.yml up -d. Finally, select an agent with a properly configured available model to call the API.

It finally solved my issue. Thank you very much 🙏


Network module abbreviations

The network module uses more space than it needs to. Compare:

Using the abbreviations K, M, G and dropping the extra space can improve things significantly.
123 KB/s 456 KB/s
versus
123K 456K

I think it is highly subjective which of the two is "better". I don't think we need to change how the network module looks just because it is shorter.
In #1063 we are considering greatly improving the expressiveness of tokens. There the # modifier could be used to display the shorter version, though I also thought about it switching between bits and bytes. In any case we will track this over there.

This is more problematic with low-res displays or if your polybar is already filled up with other content.
Saving characters is good: it allows room for more content in the polybar, or at the very least provides more whitespace to work with (aesthetics).


Lastest commit incompatible with local_attention

I've haven't investigate this but the latest commit makes the MeshGPT tests fail & users get the error below:
File /usr/local/lib/python3.10/dist-packages/local_attention/transformer.py:152, in LocalMHA.forward(self, x, mask, attn_bias, cache, return_cache)
149 out = einsum(attn, v, 'b h i j, b h j d -> b h i d')
151 else:
--> 152 out = self.attn_fn(q, k, v, mask = mask, attn_bias = attn_bias)
154 if return_cache:
155 kv = torch.stack((k, v))

File /usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py:1518, in Module._wrapped_call_impl(self, *args, **kwargs)
1516 return self._compiled_call_impl(*args, **kwargs) # type: ignore[misc]
1517 else:
-> 1518 return self._call_impl(*args, **kwargs)

File /usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py:1527, in Module._call_impl(self, *args, **kwargs)
1522 # If we don't have any hooks, we want to skip the rest of the logic in
1523 # this function, and just call forward.
1524 if not (self._backward_hooks or self._backward_pre_hooks or self._forward_hooks or self._forward_pre_hooks
1525 or _global_backward_pre_hooks or _global_backward_hooks
1526 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1527 return forward_call(*args, **kwargs)
1529 try:
1530 result = None

File /usr/local/lib/python3.10/dist-packages/local_attention/local_attention.py:162, in LocalAttention.forward(self, q, k, v, mask, input_mask, attn_bias, window_size)
160 if exists(self.rel_pos):
161 pos_emb, xpos_scale = self.rel_pos(bk)
--> 162 bq, bk = self.rel_pos.apply_rotary_pos_emb(bq, bk, pos_emb, scale = xpos_scale)
164 # calculate positions for masking
166 bq_t = b_t

File /usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py:1695, in Module.getattr(self, name)
1693 if name in modules:
1694 return modules[name]
-> 1695 raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")

AttributeError: 'SinusoidalEmbeddings' object has no attribute 'apply_rotary_pos_emb'

@MarcusLoppe oh, local attention library actually uses its own rotary embeddings
how do you reproduce that error?

Fresh install of MeshGPT i think, i got a comment on the huggingface model & when i merged your latest MeshGPT commit i got the error: https://github.com/MarcusLoppe/meshgpt-pytorch/actions/runs/9763730329/job/26950298778

@MarcusLoppe it is some issue with beartype, i've removed it for now
thanks for letting me know!


Fix merging embeddings

Fixed merging embeddings based on the changes made in textual inversion. Tested and working. Inverted their logic to prioritize Stable Diffusion implementation over alternatives, but left the option for alternatives to still be used.

The change to ddconfig.resolution (512->256) doesn't match the current value used in the textual inversion repo. The commit there that set it to 512 is older than this PR. Unintentional revert?

The change to ddconfig.resolution (512->256) doesn't match the current value used in the textual inversion repo. The commit there that set it to 512 is older than this PR. Unintentional revert?

Intentional, decided to go with the lower to support people with less memory to work with. This was before I heard about neons optimizedSD which provides much better performance benefits.

This sounds like an inadvertent revert. Could you send me the information
on the two commits you are referring to?
Lincoln


Support for Matrix persistence

Hi there!
Great project!
Would be great if there is support to add a String matrix, like String[][] and not just String[].

Based on the existing Type, send me a Pull Request with a new PostgreSQL Type to support multi-dimensional arrays.

Better try to create a new Type for it and register on the entity property.

Matrix arrays are supported. Check out the MatrixArrayTypeTest for an example.


Reorganizing and consolidating samples

I moved some examples into samples form following our .NET SDK samples interactions. I've removed some examples that were very close in usage.
Still need to consolidate async samples - maybe change one of the samples to use async and remove the others?

I think that's a good idea. Having one sample using the async client should probably be enough to hint at the possibility of using async being available 👍

I think that's a good idea. Having one sample using the async client should probably be enough to hint at the possibility of using async being available 👍

Next update I'll add a note to the other samples "see Foo.java for async" along with some verbosity in the comments of all "this is synchronous"

I think we might need to keep the simple API call samples. After reviewing the new samples, it would be an add-on to the sample list. But the benefit we keep the existing samples are for first-time users who only want to test out the OpenAI APIs.

So to just document what we discussed offline, we agreed on proceeding by:

Adding a subpackage usage under samples which will contain usages of endpoints not represented in the Hero scenarios
Adding a subpackage called impl which will only contain ReadmeSamples.java
All hero scenario samples will be left at the top level

Let me know ( 👍 or  👎 ) if I misrepresented the outcome of our meeting :)

Fixed the merge from main, now only my files are present. I'll update the README links/etc in the morning.

API change check
API changes are not detected in this pull request.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

added additional personal info


Don't show Xorg X_cursor at logout

Don't show Xorg X_cursor at logout for a split-second. xsetroot -cursor_name left_cursor seems to not prevent this. How can it be prevented? Binary-patching X_cursor out of Xorg?

That should be text mode, just like the cursor on the nomadbsd loading screen.


[Bug] Error while "Save as Template" on e.g. Customer

Hello Team,
to reproduce the error, take the following steps:
Navigate to Configuration Templates and add a new one
Use 'Z999999999' as Code, set Table Id to 18
Navigate to any Customer Card
Click Actions - Functions - Save as Template
Business Central will greet you with the error "The length of the string is 11, but it must be less than or equal to 10 characters. Value: Z1000000000"
Bug discovered on BC13CU4 but it is still in the sandbox of Version: DE Business Central 16.3 (Platform 16.0.14073.15022 + Application 16.3.14085.14287)
Error Code: StringLengthExceeded:TargetInvocation
Error Callstack: "Mini Customer Template"(Table 1300).SaveAsTemplate line 8 - Base Application by Microsoft
"Customer Card"(Page 21)."SaveAsTemplate - OnAction"(Trigger) line 4 - Base Application by Microsoft
Kind regards
sauerkreut

Thank you for reaching out. Your request could be reporting a product bug not related to the AL extensibility.
Please reach out to the relevant support channels as specified in Product Support
On premises - https://support.microsoft.com/en-us/supportforbusiness/productselection?sapId=93d37907-ad94-d591-22e9-593cfa09dd3f
On line – read more here https://docs.microsoft.com/en-ca/dynamics365/business-central/dev-itpro/administration/manage-technical-support or contact your partner
If you are a partner open a support incident through Partner Center - https://partner.microsoft.com/en-us/pcv/dashboard/overview


WIP: Fields markdown

This is mostly copied from fields-wysiwyg-tinymce (as requested).
After trying a couple of other solutions I got this one to work with least effort - The engine is draft-js, but the version that allows plugins draft-js-plugins. It should be easy to add buttons and other features for which there are plugins.
Essentially this is a "preview" type view that converts markdown to rich text as you type it. The rich text is then converted back to markdown on change.
We could easily make this toggle between "raw" and "preview". I think having side-by-side views is not such a good idea - scrolling is non-trivial and in some cases we have limited width.

I locally have this based on my fix-windows-compatibility branch but I've rebased to master for this PR.
This would need to be tested against master before merging.

@bholloway Is this PR still relevant? If not, can we close it out?

I don't know what happened with this feature. I am not attached to the code so feel free.

Closing as we now have a fields-markdown package.


Better customer ID validation to prevent throttling

What's this PR do?
Puts the customer-retrieval portion of the Flask logic into a try/except block.
Why are we doing this? How does it help us?
Twice now, a rogue IP address has slammed this app's /charge URL with bogus customer IDs. It has burned through our free Sentry quota and caused annoyance in #tech-alerts. We blocked the questionable IP, but it's possible someone else could attempt the same thing.
So far as I can tell, there isn't a way to syntactically validate the customer ID. But trying to fetch a non-existent customer by ID throws a custom Stripe error (InvalidRequestError), so catching that exception should do the trick. In that case, we simply send users to an error page.
How should this be manually tested?

make interactive
yarn run dev
On master, do the cURL command below. Confirm you get a Python error in the response -- something like Could not validate nonexistent customer foobarbaz
Now, on this branch, do the same cURL. There should be an HTML response with the error page. Somewhere in that, it should say There was an issue saving your donation information.
On this branch, try making a donations with different amounts and frequencies. Confirm you get the "Thank you" page.

Command:
curl -d<EMAIL_ADDRESS>-H "Content-Type: application/x-www-form-urlencoded" -X POST http://local.texastribune.org/charge

Have automated tests been added?
No.
Has this been tested on mobile?
NA.
Are there performance implications?
No.
What are the relevant tickets?
https://3.basecamp.com/3098728/buckets/736178/todos/1242027477
How should this change be communicated to end users?
NA.
Next steps?
NA.
Smells?
Ideally we would just validate the syntax of a customer ID without having to catch an exception. But there doesn't seem to be a way to do that. Understandably so, too -- Stripe probably doesn't want to reveal its ID-generation secrets for security purposes.
TODOs:
NA.
Has the relevant documentation/wiki been updated?
Inline comment included.
Technical debt note
Same.

@x110dc Thanks for the review. I updated the logic to re-raise InvalidRequestErrors if they aren't for bad customer IDs. I was able to test this by forcing by adding a bogus keyword argument to this function call, which raises an InvalidRequestError. Upon cURLing to /charge, I got the Python error in the output (and in a Sentry email). When I removed that kwarg and cURL'ed again, I got the HTML error-page response.

I made one tiny change. LGTM.


How to undo & redo

Hi guys,
I’m quite new to the Runestone text editor. So my question may sound stupid but anyways ket me ask it: How can I undo and redo the last changes? As far as I took a look at the documentations, I could not find anything about them.
Sincerely,
MS

@msaitow You can get the UndoManager that belongs to the text view and call undo() and redo() on that. Here's an example:
textView.undoManager?.undo()

Closing this as resolved. Don't hesitate to reopen the issue if that is not the case.

Thanks you for answering! But still I'm wondering how to use that UndoManager from the App. I'm talking about the Runestone App but not the framework which the App is based upon.


ci/cd: open-source compliance - copyright headers check

Add an action checker for copyright headers for all current applicable file types.

[x] .yml files
[x] .cfg files
[x] .md files
[x] .py files
[x] .toml files
[x] requirements files
[x] .typed == python typing files
[x] .env.example files
[x] .gitignore

Merging #27 will fix the pipeline of this branch

Just came in here to say this is top-of-the-line work @GhiathAjam .

My salutes to you, Mr. @EssamWisam.


Add Product Unit Tests

Please use the following example at as a template:
https://github.com/DefectDojo/django-DefectDojo/blob/dev/tests/Product_unit_test_example.py
Implement the following tests:

Add (Completed in Example)
Edit (Completed in Example)
Delete (Completed in Example)
Add engagement
Add finding
Add Endpoint
Add Custom Fields
Edit Custom Fields
Add Product Tracking Files
Edit Product Tracking Files

Master List and Overview: https://docs.google.com/document/d/1dSS7tWuQukAX3VWtzPAlOfFNoqLQh-mBHBfmsu2WlU0/edit?usp=sharing

@Maffooch, please, really have a look at https://github.com/DefectDojo/django-DefectDojo/issues/1131#issuecomment-493279138 before using https://github.com/DefectDojo/django-DefectDojo/blob/dev/tests/Product_unit_test_example.py for all the functional tests. :pray:

i'm working on this..


MONGO_INITDB_DATABASE not working

Here is my docker-compose file :
version: "3"

services:
  meteor:
    build:
      context: ./conwaysgame
    volumes:
      - ./conwaysgame:/usr/src/app
    env_file: .env
    links:
      - mongo

  mongo:
    image: 'mongo:7.0'
    volumes:
      - ./db/mongo:/data/db
    env_file: .env

  mongoexpress:
    image: mongo-express
    links:
      - mongo
    depends_on:
      - mongo
    env_file: .env

my .env :
MONGODB_INITDB_ROOT_USERNAME=root
MONGODB_INITDB_ROOT_PASSWORD=ToHTsg3eChI2oSyTEpNuWwDOT8woSljN
MONGO_INITDB_DATABASE=project

MONGO_URL=mongodb://root:ToHTsg3eChI2oSyTEpNuWwDOT8woSljN@mongo:27017/project

ME_CONFIG_MONGODB_SERVER=mongo
ME_CONFIG_MONGODB_ENABLE_ADMIN=true
ME_CONFIG_MONGODB_ADMINUSERNAME=root
ME_CONFIG_MONGODB_ADMINPASSWORD=ToHTsg3eChI2oSyTEpNuWwDOT8woSljN
ME_CONFIG_BASICAUTH_USERNAME=admin
ME_CONFIG_BASICAUTH_PASSWORD=aiwai3Eeyahc5Sai9Zee3bai1Aith1aechaejiebariu4ohcie0CooveiV8yi6ai

mongo-express logs :
Welcome to mongo-express
------------------------

(node:7) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
Could not connect to database using connectionString: mongodb://root:ToHTsg3eChI2oSyTEpNuWwDOT8woSljN@mongo:27017/"
(node:7) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoError: Authentication failed.
    at Connection.messageHandler (/node_modules/mongodb/lib/core/connection/connection.js:364:19)
    at Connection.emit (events.js:314:20)
    at processMessage (/node_modules/mongodb/lib/core/connection/connection.js:456:10)
    at Socket.<anonymous> (/node_modules/mongodb/lib/core/connection/connection.js:625:15)
    at Socket.emit (events.js:314:20)
    at addChunk (_stream_readable.js:297:12)
    at readableAddChunk (_stream_readable.js:272:9)
    at Socket.Readable.push (_stream_readable.js:213:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:188:23) {
  ok: 0,
  code: 18,
  codeName: 'AuthenticationFailed'
}]
    at Pool.<anonymous> (/node_modules/mongodb/lib/core/topologies/server.js:441:11)
    at Pool.emit (events.js:314:20)
    at /node_modules/mongodb/lib/core/connection/pool.js:564:14
    at /node_modules/mongodb/lib/core/connection/pool.js:1000:11
    at callback (/node_modules/mongodb/lib/core/connection/connect.js:75:5)
    at /node_modules/mongodb/lib/core/connection/connect.js:158:27
    at /node_modules/mongodb/lib/core/auth/scram.js:110:14
    at _callback (/node_modules/mongodb/lib/core/connection/connection.js:333:7)
    at Connection.messageHandler (/node_modules/mongodb/lib/core/connection/connection.js:364:9)
    at Connection.emit (events.js:314:20)
    at processMessage (/node_modules/mongodb/lib/core/connection/connection.js:456:10)
    at Socket.<anonymous> (/node_modules/mongodb/lib/core/connection/connection.js:625:15)
    at Socket.emit (events.js:314:20)
    at addChunk (_stream_readable.js:297:12)
    at readableAddChunk (_stream_readable.js:272:9)
    at Socket.Readable.push (_stream_readable.js:213:10)
(node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:7) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

and mongo db logs :
{"t":{"$date":"2023-09-04T13:57:37.961+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}}
{"t":{"$date":"2023-09-04T13:57:37.962+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2023-09-04T13:57:37.963+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"b1323a34dbf3"}}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.0","gitVersion":"37d84072b5c5b9fd723db5fa133fb202ad2317f1","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"x86_64","target_arch":"x86_64"}}}}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}}
{"t":{"$date":"2023-09-04T13:57:37.964+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
{"t":{"$date":"2023-09-04T13:57:37.965+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=14387M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}}
{"t":{"$date":"2023-09-04T13:57:38.208+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":243}}
{"t":{"$date":"2023-09-04T13:57:38.208+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
{"t":{"$date":"2023-09-04T13:57:38.274+00:00"},"s":"W",  "c":"CONTROL",  "id":22120,   "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
{"t":{"$date":"2023-09-04T13:57:38.274+00:00"},"s":"W",  "c":"CONTROL",  "id":22178,   "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'","tags":["startupWarnings"]}
{"t":{"$date":"2023-09-04T13:57:38.274+00:00"},"s":"W",  "c":"CONTROL",  "id":5123300, "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":65530,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]}
{"t":{"$date":"2023-09-04T13:57:38.274+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"ff45f728-7b04-43e8-bd57-2644c45d4935"}},"options":{"uuid":{"$uuid":"ff45f728-7b04-43e8-bd57-2644c45d4935"}}}}
{"t":{"$date":"2023-09-04T13:57:38.307+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"ff45f728-7b04-43e8-bd57-2644c45d4935"}},"namespace":"admin.system.version","index":"_id_","ident":"index-1--4009999625461418637","collectionIdent":"collection-0--4009999625461418637","commitTimestamp":null}}
{"t":{"$date":"2023-09-04T13:57:38.307+00:00"},"s":"I",  "c":"REPL",     "id":20459,   "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"7.0"}}
{"t":{"$date":"2023-09-04T13:57:38.307+00:00"},"s":"I",  "c":"REPL",     "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"7.0","context":"setFCV"}}
{"t":{"$date":"2023-09-04T13:57:38.307+00:00"},"s":"I",  "c":"NETWORK",  "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true}}}
{"t":{"$date":"2023-09-04T13:57:38.308+00:00"},"s":"I",  "c":"NETWORK",  "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true}}}
{"t":{"$date":"2023-09-04T13:57:38.308+00:00"},"s":"I",  "c":"REPL",     "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"7.0","context":"startup"}}
{"t":{"$date":"2023-09-04T13:57:38.308+00:00"},"s":"I",  "c":"STORAGE",  "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
{"t":{"$date":"2023-09-04T13:57:38.308+00:00"},"s":"I",  "c":"CONTROL",  "id":6608200, "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"}
{"t":{"$date":"2023-09-04T13:57:38.308+00:00"},"s":"I",  "c":"CONTROL",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
{"t":{"$date":"2023-09-04T13:57:38.308+00:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
{"t":{"$date":"2023-09-04T13:57:38.310+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"ef3a7729-b62a-4fad-8d03-703564d939f4"}},"options":{"capped":true,"size":10485760}}}
{"t":{"$date":"2023-09-04T13:57:38.345+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"ef3a7729-b62a-4fad-8d03-703564d939f4"}},"namespace":"local.startup_log","index":"_id_","ident":"index-3--4009999625461418637","collectionIdent":"collection-2--4009999625461418637","commitTimestamp":null}}
{"t":{"$date":"2023-09-04T13:57:38.346+00:00"},"s":"I",  "c":"REPL",     "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
{"t":{"$date":"2023-09-04T13:57:38.346+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
{"t":{"$date":"2023-09-04T13:57:38.347+00:00"},"s":"I",  "c":"CONTROL",  "id":20712,   "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}}
{"t":{"$date":"2023-09-04T13:57:38.347+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
{"t":{"$date":"2023-09-04T13:57:38.347+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"<IP_ADDRESS>"}}
{"t":{"$date":"2023-09-04T13:57:38.347+00:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
{"t":{"$date":"2023-09-04T13:57:38.347+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"110f09b3-9cd2-444a-9bd0-4a888c1f3892"}},"options":{}}}
{"t":{"$date":"2023-09-04T13:57:38.369+00:00"},"s":"I",  "c":"REPL",     "id":7360102, "ctx":"LogicalSessionCacheRefresh","msg":"Added oplog entry for create to transaction","attr":{"namespace":"config.$cmd","uuid":{"uuid":{"$uuid":"110f09b3-9cd2-444a-9bd0-4a888c1f3892"}},"object":{"create":"system.sessions","idIndex":{"v":2,"key":{"_id":1},"name":"_id_"}}}}
{"t":{"$date":"2023-09-04T13:57:38.370+00:00"},"s":"I",  "c":"REPL",     "id":7360100, "ctx":"LogicalSessionCacheRefresh","msg":"Added oplog entry for createIndexes to transaction","attr":{"namespace":"config.$cmd","uuid":{"uuid":{"$uuid":"110f09b3-9cd2-444a-9bd0-4a888c1f3892"}},"object":{"createIndexes":"system.sessions","v":2,"key":{"lastUse":1},"name":"lsidTTLIndex","expireAfterSeconds":1800}}}
{"t":{"$date":"2023-09-04T13:57:38.381+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"110f09b3-9cd2-444a-9bd0-4a888c1f3892"}},"namespace":"config.system.sessions","index":"_id_","ident":"index-5--4009999625461418637","collectionIdent":"collection-4--4009999625461418637","commitTimestamp":null}}
{"t":{"$date":"2023-09-04T13:57:38.381+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"110f09b3-9cd2-444a-9bd0-4a888c1f3892"}},"namespace":"config.system.sessions","index":"lsidTTLIndex","ident":"index-6--4009999625461418637","collectionIdent":"collection-4--4009999625461418637","commitTimestamp":null}}
{"t":{"$date":"2023-09-04T13:57:39.173+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"<IP_ADDRESS>:37704","uuid":{"uuid":{"$uuid":"8f827058-0257-4962-9351-2b4784475078"}},"connectionId":1,"connectionCount":1}}
{"t":{"$date":"2023-09-04T13:57:39.178+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:37704","client":"conn1","doc":{"driver":{"name":"nodejs","version":"3.7.3"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"6.1.0-11-amd64"},"platform":"'Node.js v12.22.7, LE (legacy)"}}}
{"t":{"$date":"2023-09-04T13:57:39.178+00:00"},"s":"I",  "c":"ACCESS",   "id":20251,   "ctx":"conn1","msg":"Supported SASL mechanisms requested for unknown user","attr":{"user":{"user":"root","db":"admin"}}}
{"t":{"$date":"2023-09-04T13:57:39.178+00:00"},"s":"I",  "c":"ACCESS",   "id":6788604, "ctx":"conn1","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
{"t":{"$date":"2023-09-04T13:57:39.178+00:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn1","msg":"Failed to authenticate","attr":{"client":"<IP_ADDRESS>:37704","isSpeculative":true,"isClusterMember":false,"mechanism":"SCRAM-SHA-256","user":"root","db":"admin","error":"UserNotFound: Could not find user \"root\" for db \"admin\"","result":11,"metrics":{"conversation_duration":{"micros":201,"summary":{"0":{"step":1,"step_total":2,"duration_micros":182}}}},"extraInfo":{}}}
{"t":{"$date":"2023-09-04T13:57:39.181+00:00"},"s":"I",  "c":"ACCESS",   "id":6788604, "ctx":"conn1","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
{"t":{"$date":"2023-09-04T13:57:39.181+00:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn1","msg":"Failed to authenticate","attr":{"client":"<IP_ADDRESS>:37704","isSpeculative":false,"isClusterMember":false,"mechanism":"SCRAM-SHA-1","user":"root","db":"admin","error":"UserNotFound: Could not find user \"root\" for db \"admin\"","result":11,"metrics":{"conversation_duration":{"micros":301,"summary":{"0":{"step":1,"step_total":2,"duration_micros":279}}}},"extraInfo":{}}}
{"t":{"$date":"2023-09-04T13:57:39.186+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1","msg":"Connection ended","attr":{"remote":"<IP_ADDRESS>:37704","uuid":{"uuid":{"$uuid":"8f827058-0257-4962-9351-2b4784475078"}},"connectionId":1,"connectionCount":0}}
{"t":{"$date":"2023-09-04T13:57:51.264+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"<IP_ADDRESS>:45608","uuid":{"uuid":{"$uuid":"01f75061-b6f0-4b24-ba28-250f8bc44777"}},"connectionId":2,"connectionCount":1}}
{"t":{"$date":"2023-09-04T13:57:51.269+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn2","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:45608","client":"conn2","doc":{"driver":{"name":"nodejs","version":"3.7.3"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"6.1.0-11-amd64"},"platform":"'Node.js v12.22.7, LE (legacy)"}}}
{"t":{"$date":"2023-09-04T13:57:51.269+00:00"},"s":"I",  "c":"ACCESS",   "id":20251,   "ctx":"conn2","msg":"Supported SASL mechanisms requested for unknown user","attr":{"user":{"user":"root","db":"admin"}}}
{"t":{"$date":"2023-09-04T13:57:51.269+00:00"},"s":"I",  "c":"ACCESS",   "id":6788604, "ctx":"conn2","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
{"t":{"$date":"2023-09-04T13:57:51.270+00:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn2","msg":"Failed to authenticate","attr":{"client":"<IP_ADDRESS>:45608","isSpeculative":true,"isClusterMember":false,"mechanism":"SCRAM-SHA-256","user":"root","db":"admin","error":"UserNotFound: Could not find user \"root\" for db \"admin\"","result":11,"metrics":{"conversation_duration":{"micros":196,"summary":{"0":{"step":1,"step_total":2,"duration_micros":164}}}},"extraInfo":{}}}
{"t":{"$date":"2023-09-04T13:57:51.272+00:00"},"s":"I",  "c":"ACCESS",   "id":6788604, "ctx":"conn2","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
{"t":{"$date":"2023-09-04T13:57:51.273+00:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn2","msg":"Failed to authenticate","attr":{"client":"<IP_ADDRESS>:45608","isSpeculative":false,"isClusterMember":false,"mechanism":"SCRAM-SHA-1","user":"root","db":"admin","error":"UserNotFound: Could not find user \"root\" for db \"admin\"","result":11,"metrics":{"conversation_duration":{"micros":304,"summary":{"0":{"step":1,"step_total":2,"duration_micros":276}}}},"extraInfo":{}}}
{"t":{"$date":"2023-09-04T13:57:51.278+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn2","msg":"Connection ended","attr":{"remote":"<IP_ADDRESS>:45608","uuid":{"uuid":{"$uuid":"01f75061-b6f0-4b24-ba28-250f8bc44777"}},"connectionId":2,"connectionCount":0}}
{"t":{"$date":"2023-09-04T13:57:57.319+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"<IP_ADDRESS>:51034","uuid":{"uuid":{"$uuid":"bda0ec99-1ee9-4611-820f-5787e200005f"}},"connectionId":3,"connectionCount":1}}
{"t":{"$date":"2023-09-04T13:57:57.322+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn3","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:51034","client":"conn3","doc":{"driver":{"name":"nodejs","version":"4.16.0"},"platform":"Node.js v14.21.4, LE","os":{"name":"linux","architecture":"x64","version":"6.1.0-11-amd64","type":"Linux"}}}}
{"t":{"$date":"2023-09-04T13:57:57.326+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"<IP_ADDRESS>:51050","uuid":{"uuid":{"$uuid":"d8cb5551-c113-414c-b6ab-03226674b650"}},"connectionId":4,"connectionCount":2}}
{"t":{"$date":"2023-09-04T13:57:57.327+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn4","msg":"client metadata","attr":{"remote":"<IP_ADDRESS>:51050","client":"conn4","doc":{"driver":{"name":"nodejs","version":"4.16.0"},"platform":"Node.js v14.21.4, LE","os":{"name":"linux","architecture":"x64","version":"6.1.0-11-amd64","type":"Linux"}}}}
{"t":{"$date":"2023-09-04T13:57:57.328+00:00"},"s":"I",  "c":"ACCESS",   "id":20251,   "ctx":"conn4","msg":"Supported SASL mechanisms requested for unknown user","attr":{"user":{"user":"root","db":"project"}}}
{"t":{"$date":"2023-09-04T13:57:57.328+00:00"},"s":"I",  "c":"ACCESS",   "id":6788604, "ctx":"conn4","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
{"t":{"$date":"2023-09-04T13:57:57.328+00:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn4","msg":"Failed to authenticate","attr":{"client":"<IP_ADDRESS>:51050","isSpeculative":true,"isClusterMember":false,"mechanism":"SCRAM-SHA-256","user":"root","db":"project","error":"UserNotFound: Could not find user \"root\" for db \"project\"","result":11,"metrics":{"conversation_duration":{"micros":184,"summary":{"0":{"step":1,"step_total":2,"duration_micros":170}}}},"extraInfo":{}}}
{"t":{"$date":"2023-09-04T13:57:57.329+00:00"},"s":"I",  "c":"ACCESS",   "id":6788604, "ctx":"conn4","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
{"t":{"$date":"2023-09-04T13:57:57.330+00:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn4","msg":"Failed to authenticate","attr":{"client":"<IP_ADDRESS>:51050","isSpeculative":false,"isClusterMember":false,"mechanism":"SCRAM-SHA-1","user":"root","db":"project","error":"UserNotFound: Could not find user \"root\" for db \"project\"","result":11,"metrics":{"conversation_duration":{"micros":343,"summary":{"0":{"step":1,"step_total":2,"duration_micros":313}}}},"extraInfo":{}}}
{"t":{"$date":"2023-09-04T13:57:57.332+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn3","msg":"Connection ended","attr":{"remote":"<IP_ADDRESS>:51034","uuid":{"uuid":{"$uuid":"bda0ec99-1ee9-4611-820f-5787e200005f"}},"connectionId":3,"connectionCount":1}}
{"t":{"$date":"2023-09-04T13:57:57.425+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn4","msg":"Connection ended","attr":{"remote":"<IP_ADDRESS>:51050","uuid":{"uuid":{"$uuid":"d8cb5551-c113-414c-b6ab-03226674b650"}},"connectionId":4,"connectionCount":0}}

I tried connecting to the database with studio 3t with no success.

I experienced a similar issue. Not sure if it's your case.
I'm working with the mongo:latest image and a docker-compose.yml file, without a volume mount. At the beginning, I hadn't set a password for development.
  mongo:
    image: mongo:latest
    networks:
      - backend

But I subsequently added one to my setup. then use docker compose up -d to recreate my container
  mongo:
    image: mongo:latest
    networks:
      - backend
    environment:
        MONGO_INITDB_ROOT_USERNAME: <username>
        MONGO_INITDB_ROOT_PASSWORD: <password>

I can see the environment variables were set inside the container
Even downgrading from latest to 7.0 or 6.0, the problem didn't go away, and the latter even led to a compatibility error. It give me a hint that some persistent data are left behind.
When I remove the container with docker rm -f <container> and bring it up again, everything works fine.

@redabourial there are two issues with the code.
First the env vars should be MONGO_INITDB_ROOT_USERNAME and MONGODB_INITDB_ROOT_PASSWORD (Note the MONGO_ not MONGODB_)
The second one is the volume. Commenting out the - ./db/mongo:/data/db makes it work.

@LaurentGoderre  thanks for the insight, i can connect to the admin database though (so for development purposes my issue is solved).
I still don't understand why  MONGO_INITDB_DATABASE doesn't have any effect. Do you have any idea why that is ?

@redabourial you might need to modify your connection string:
mongodb://root:ToHTsg3eChI2oSyTEpNuWwDOT8woSljN@mongo:27017/project?authSource=admin

From the docs on Docker Hub:

MongoDB is fundamentally designed for "create on first use", so if you do not insert data with your JavaScript files, then no database is created.
- https://github.com/docker-library/docs/tree/db2ee79627f3baab969a0b2ed3d1081058cfd820/mongo#mongo_initdb_database

If you don't insert anything, then no database is created.
The user created by MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD is in the admin database, so that is where authentication must be directed: like authSource or --authenticationDatabase


WIP: Support for nested subgroups

Support for nested subgroups

@matallen The primary logic implemented here should be good.
Remaining tasks are to update the values that are outputted. Can you provide some direction on the changes that may be required? Example here

Providing an update for visibility based on 1:1 conversation

org should represent the top level group
board should represent the repository name prefixed with any subgroups

So, for an repository called repo located within a subgroup called mysub in the myorg group, the following would be used:

org: mysub
board: 'mysub/repo`


MetaMask - RPC Errors updating state but not appearing in notifications

In my dapp, I've noticed that some calls to useContractFunction can fail very quickly without updating the NotificationsContext. I've seen it happen when certain require() fail in the contract, but I can make it happen reliably by dropping the gas limit very low when I send the transaction. In that case, I see an error like:

In my hook, I can see that state.status is correctly changing to Exception with the correct errorMessage but it's never making it the list of notifications. Is there a way to globally catch all useContractFunction exceptions that I'm maybe missing?

Thanks!

First looks tells me that we don't update the NotificationsContext for transactions that fail before being successfully sent.
It can include the transactions failing on require()s because a transaction first undergoes gas estimation.
I'll take a deeper look and see if we can make it work for you.


Allow using the CSS min and max calculations and the CSS filter functions

The Sass functions should indeed be migrated to the sass:math module. But min() and max() can also be the CSS functions (and with first-class calc in Sass, it will parse it as a calculation if possible).
Closes #560
Closes #562
Closes #486

@stof could you please also add unit tests for this change.

@kristerkari done. and I also solved the case of filter that was added in a comment in the issue.

@stof looks like some unit tests are failing

@kristerkari fixed

Thanks for the contribution @stof !


Improve creation of update_recipes messages

The job model itself now has a root_recipe_id for the recipe "family" it belongs to. Update every message that creates update_recipes messages to no longer query for the latest (non-superseded) recipe of each job, but instead use the job's root_recipe_id.
Then update the update_recipes messages to use the passed root_recipe_id in its query to retrieve the latest (non-superseded) recipe for each recipe "family."

This issue is superseded by #1171


Rename umpost to um2nc. Added dependency.

Fixes #162.
Fixes #161.
In this PR the following changes have been carried out:

[x] top-level umpost folder has been renamed to um2nc, to match the name of the package.
[x] top-level (newly-renamed) um2nc folder has been moved into src folder, to reflect classic/suggested structure of Python projects
[x] nccmp has been added to the list of "development" dependencies in the env_dev.yml file.
[x] Python version requirements have been "loosened-up" by keeping the upper limit free (only limiting Python >=3.10). This is usually better than restricing the package only to specific versions of Python, when the package might as well be compatible with versions of Python not yet released (for example py3.14 etc.). This scenario is more likely than the package not being compatible with future versions of Python. In general, if there is such a compatibility issue, future release might restrict the Python version as needed.

Thank you for the review @blimlim!
Merged.


Frame rate - 30 | 60 [Feature]

Good time. The application requires the same amount of energy as the kiwi browser. But I like the VPN script, it’s responsive, it’s easier to launch for gameplay, that’s why this application is a top option. Question about frames, does the official application offer 30 frames? Only your development gives gameplay 60 frames if the game supports them? Can you make a frame rate choice? Standard - 30 frames. Unlocked - 60 frames. 30 frames uses less power, but just keep video frames as standard to keep gameplay smooth at 30 frames.

Not possible


Login impossble from inside a Nether Portal

Hello,
I got disconnected while I was teleporting via a Nather Portal, and since you cannot use the chat in the same time, I got stuck without being able to log in.
And with #15, I couldn't even reset authentification. I had to login and tp myself away with admin command.
Could you allow login from inside Nether Portals? Or automatically teleport the player away while login, and then teleport it back on success?

hi lenis0012
I have the same problem.

If you need more info about the problem I can help you.

Please report if present in 2.1


measure the rendering time of a component

Hi react-native team,
I'm currently working on the performance analytical topic regarding react native. I should measure the rendering time of a component that we have. I found following way how to do this, but not sure if I'm on the right way.
Below you can see a simple Button Widget. I'm using here the component constructor as init function to count the start time and the componentDidMount() function, which will be called after the render/build is done to count the end time and print it out.
import React, { Component } from "react";
import {
  TouchableOpacity,
  Text,
  View,
  StyleSheet
} from "react-native";

class ButtonWithBackground extends Component {

  state = {
    start:'0',
};

  constructor(props) {
    super(props);
    this.state.start=Date.now();
  }

  componentDidMount() {

    console.log('%c######## RENDER time ButtonWithBackground:','background: red',(Date.now()-this.state.start));
  }

  render() {
    return (
      <TouchableOpacity onPress={this.props.onPress}>
        <View style={[styles.button, { backgroundColor: this.props.color }]}>
          <Text>
            press
          </Text>
        </View>

      </TouchableOpacity>

    );

  }

}

const styles = StyleSheet.create({
  button: {
    backgroundColor: 'blue',
    borderWidth: 1,
    borderColor: 'blue',
    borderRadius: 12,
    padding: 8,
    overflow: 'hidden',
    fontWeight: "bold",
    textAlign: "center",
    fontSize: 28
  }
});

export default ButtonWithBackground;

The results are different when I start the app on the (ios) emulator and If I just navigate to different UI that doesn't include the button and switch back.
Not sure how I should consider this in my results. Are there some options provided by react-native to control this?
The results are without coma because I'm using Date.now() . Maybe there is a better Timer object.
Best Regards,
taioo

I don't think this is a bug report. Have you tried the DevTools Profiler?

https://github.com/jhen0409/react-native-debugger has the react devtools built in which can show render times, whats being updated, and why


Logger is not used consistently across different layers

Issue #8530

The loggers in container runtime should also be renamed similarly. Currently they are called logger and _logger.

related to #8497. I think these work together

I think new RetriableDocumentStorageService in container.ts is using the wrong logger too, btw.


Readme: add link to the project wiki

Signed-off-by: José Luis Di Biase<EMAIL_ADDRESS>

Wow sorry I've somehow overlooked this. Thanks!


Build Profile Page

Is your feature request related to a problem? Please describe.
The website contains a link to the profile page but the page is empty.
Describe the solution you'd like
Edit the profile.html file and add content along with graphics to look like a profile page.

[ ] add Navbar similar to homepage
[ ] add hero section similar to homepage
[ ] show user data from local Storage like username, history of practice session.
[ ] add button to delete all the data from the local Storage.
[ ] add footer similar to homepage

Hey, please assign this issue to me?

Hey @mdhinesh go for this.


Master JMontoya Commit

Jason Montoya
Feb 28th UNIX/GIT
NOTES:
It took a little bit to finally figure out the workflow but I think I got it. Thanks for the new skills!

Nice job


Update ADT Pulse MQTT from 2.3.4 to 2.4

The command '/bin/ash -o pipefail -c apk add --update nodejs-npm=~14' returned a non-zero code: 1
Not sure what else to provide, let me know if there are any logs and how to get them.

Looks like I was still using the old https://github.com/digitalcraig/hassio and after switching to the new repository https://github.com/adt-pulse-mqtt/adt-pulse-mqtt it installed.


AZURE_CLIENT_ID environment variable is not set

Describe the bug
When I follow the official documentation for enabling workload identity for my AKS cluster, I get an error related to the Kubernetes service account "AZURE_CLIENT_ID environment variable is not set" even though "describing" the service account clearly shows that the client id is set.
Steps To Reproduce
Follow the steps in the Microsoft documentation "Tutorial: Use a workload identity with an application on Azure Kubernetes Service (AKS)"
https://learn.microsoft.com/en-us/azure/aks/learn/tutorial-kubernetes-workload-identity
Expected behavior
Pod will retrieve a secret value from Azure Key Vault
Logs
F0130 20:03:35.662387       1 main.go:34] AZURE_CLIENT_ID environment variable is not set
Environment
Azure

Kubernetes version (use kubectl version):
Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.7

Additional context
kubectl describe sa workload-identity-sa -n ottox
Name:                workload-identity-sa
Namespace:           ottox
Labels:
Annotations:         azure.workload.identity/client-id: fe3ec3ff-a92e-4573-ac64-9e71ddc25efa
Image pull secrets:
Mountable secrets:
Tokens:
Events:

Got the same issue 5min ago
1- ensure that WI is enabled on the cluster (you should have wi-webhook pods in kube-system)
2- ensure the SA is properly configured. In my case, annotation (azure.workload.identity/client-id) is missing, even if present in my script.

Thanks @lgmorand... setting up Mutating Admission Webhook resolved this issue.  I'll open an issue for the documentation to team to add a note to the article I was originally following.
https://azure.github.io/azure-workload-identity/docs/installation/mutating-admission-webhook.html

you should not have to install it manually on AKS. it's just a parameter to az aks create/update command


A few ideas: thorns dia sprite, diaNormal to diaPixel, lua options

What feature do you want to get added on the base engine?

Could the shadow senpai portrait maybe be removed on/during thorns? It irritates me, and (to me) it looks like a kind of bug

Maybe an option, since dialogues are a thing already, there could be the option to (kind of) let pixel dialogues, like in week 6, be "softcoded" by creating a .txt and naming it dialogue or smth, then recognizing the format, and putting it in.
But, this could also be done via the current format, just with the difference, if the stage is a pixel stage or something. So it will just change the frame/textbox and font. Or however they did it.

Softcoded options? So like, you can put it in some toggle able features, that you would otherwise have to do via source code. But they could be recognized/used "global" (for only the mod of course, and as long as it is activated) with a function like idk I give an example:

makeOption(tag:String, type:String, name:string, defaultValue:Dynamic, section:String)
makeOption("NoDadArrows", "Switch", "Hide Opponent Arrows", false, "Gameplay")

Types could be "Switch" (true false) "Dynamic" (idk how to call that) (changable, numericvalues)
And sections are: "Gameplay", "Visuals", "Graphics" maybe "Controls" even. But it would also be an option, to make an own category for "mods". And then sorted (alphabetically?) by the mods maybe, to keep them apart.
But I think it would be better as a json file. Or at least because of the description, you could put in there.
I hope I was being understandable with my words of choice, and how I expressed myself. If not, I could give a few (poorly) visual examples
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

that pretty good

3 is soo good

first time ive ever seen an actual good suggestion

softcoded options would be amazing


Cutoutcass control

Please remember to follow the Lasair Pull Request checklist when issuing & reviewing this pull request:
https://lsst-uk.atlassian.net/wiki/spaces/LUSC/pages/2612264961/How+to+do+Pull+Request#STEP-3%3A-Issue-a-Pull-Request-on-Github
CHANGES

Add cutoutcass to control playbook - fixes #153
Add lasair_cutoutcass role and corresponding schema - fixes #152

Gareth
I would like for the dead variable USE_CUTOUTCASS to be completely removed from all the settings and code, since we will not go back to storing cutouts on the file system. Who will do this?

No objection from me to cleaning up all the obsolete the filesystem cutout storage code and options, but I don't think it's part of this PR?


Fix race condition in app object presentation

There is a race condition in app presentation with app deletion.  If the process object is fetched, and then the app is deleted from underneath it before it is serialized for presentation, this will cause a null pointer exception.
Tracker story: https://www.pivotaltracker.com/n/projects/966314/stories/140964377

[x ] I have viewed signed and have submitted the Contributor License Agreement

[x ] I have made this pull request to the master branch

[x ] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests on bosh lite

I'll run CATS on this tomorrow morning before standup.

Ran CATS, passed except for a couple 502 and InsufficientResource exceptions.

Hey @randomtask1155,
Could you please make Pivotal a public org for your github profile? I think that will make dreddbot happy. We cannot merge this until dreddbot is happy.
Thanks,
CAPI Community Pair @aashah & @jenspinney

@aashah my profile has pivotal org set as public now


Multiple addressfields and postal code validation

The plugin attaches a custom method name in the format 'isValid_' + field to each element on the form. This is particularly useful for postal codes, since the regexp validation for each is different per country.
When there are two postal code fields on the same page (in different forms), the second forms postal code validation seems to apply to the first as well. So if I select "Canada" in my second form, and leave the first form as "United Kingdom", the "United Kingdom" postal code will be validated using the "Canada" postal code rules. This is because we use the same method name for the validation rule, hence the conflict. They are both named "isValid_postalcode".
Should probably make this method name depend on the country, or a hash of the config array. Something along those lines.

That all makes sense.  I'll have to think if the country/hash approach to naming the validation function is the best approach...
Thanks for the report!

I managed to solve it by modifying $.fn.addressfield.validate to use
methodName = 'isValid_' + field + $this.attr('name'),
Name may not be set on the element, I'll leave it up to you to decide how to best approach this.


Add RAG Agent to AutoGen Studio

Why are these changes needed?
RAG is one of the highest value agents. With support for Postgres and PGVector, it is highly desired to get RAG Agents incorporated into AutoGen Studio.
Related issue number
Closes #1723
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Hi @Knucklessg1 and @victordibia, shall we proceed with this proposal? If so, let's try to get things moving! I can find volunteers to help!

Hi @Knucklessg1 and @victordibia, shall we proceed with this proposal? If so, let's try to get things moving! I can find volunteers to help!

Hi @qingyun-wu
I just got back from an extended leave period and would love to see where we currently are. Should we sync up?

Going to re-create this PR with a fresh branch.


bug: no gas data in prepared write request

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.0.5
Current Behavior
Our app used to check simulated gas usage with writePrepare.data?.request.gasLimit. In v1, the field was renamed to just gas but from my testing so far it's always empty.
  const { config, error: prepareError } = usePrepareContractWrite({
    address: WETH_ADDRESS,
    abi: WETH9_ABI,
    functionName: 'deposit',
    value: 1n,
  });

  if (config.request) {
    const { gas, gasPrice } = config.request;
    console.log({ gas, gasPrice });
  }

Expected Behavior
gas available on prepared request, or some other way to access the gas
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://stackblitz.com/edit/new-wagmi-acamzv?file=src/App.tsx
Anything else?
No response

We do not estimate the gas in Prepare Hooks anymore as the users' wallet will do this anyway, so it's really a redundant request. Instead, we simulate the transaction in the Prepare Hook with an eth_call which comes with the benefit of retrieving write function return data & also a lower CU cost.
However, that said, in a future version of wagmi, we will likely support viem's estimateContractGas as a first-class Hook. But for now, you may need to use usePublicClient with viem's estimateContractGas instead.

Still not time for support of estimateContractGas?


Value validation - Field "Text displayed when expression is true" is diabled

Describe the bug
Value validation - Field "Text displayed when expression is true" is diabled
To Reproduce
Steps to reproduce the behavior:
Add Value validation
Workaround
Remove "disabled" flag in Developer Tools
Version
2021.9.4-rc.1
Screenshots

Thanks for reporting; we'll address it most likely in the next patch release.
This is an artefact from the early resource translation development days; I need to clarify a few bits before implementing a fix for it.
For now, please use the workaround

Scheduled for 2021.9.6 patch release ( ~🎄  )

This is now merged into 2021.9.x branch.


Audit fixes

Regarding "TUU-01-002 WP2: DApp origin not displayed in the Snap UI":
After the code update:

Regarding "TUU-01-003 WP2: No user confirmation dialog in GDrive configuration":
After the code update:

Regarding "TUU-01-004 WP2: No user-email displayed in sync dialog for GDrive":
After the code update:

Regarding "TUU-01-001 WP1: Newlines handled incorrectly in Snap UI":
Fixed the issue with the commit: https://github.com/tuum-tech/identity-snap/pull/73/commits/361bbd3af448c07fd596ecee4cefff23dd995f4e
After the code update:


Missing Date column in Notion template DB

I found that the Notion Template DB linked from the README is missing a Date column.
When I run the bluenotiondb command, it results in an error stating that the Date column is missing.
After I manually added the Date column to the database, the bluenotiondb command executed successfully.
Can you add a Date column to the template DB?
Steps to Reproduce

Follow the README to set up the Notion Template DB.
Run bluenotiondb command.

Error log
~/r/bluenotiondb (main|✔) [1] $ bun run main
$ CACHE_DIR=$(pwd)/.cache DEBUG=1 bun run src/index.ts
@notionhq/client warn: request fail {
  code: "validation_error",
  message: "Could not find sort property with name or id: Date"
}
1 | (function (...args) { super(...args); })
                                   ^
APIResponseError: Could not find sort property with name or id: Date
 code: "validation_error"

      at new NotionClientErrorBase (:1:32)
      at new HTTPResponseError (/Users/aliyome/repos/bluenotiondb/node_modules/@notionhq/client/build/src/errors.js:81:8)
      at new APIResponseError (/Users/aliyome/repos/bluenotiondb/node_modules/@notionhq/client/build/src/errors.js:151:8)
      at buildRequestError (/Users/aliyome/repos/bluenotiondb/node_modules/@notionhq/client/build/src/errors.js:162:15)
      at /Users/aliyome/repos/bluenotiondb/node_modules/@notionhq/client/build/src/Client.js:347:16
error: script "main" exited with code 1 (SIGHUP)

Ah, Thanks for report!

https://www.notion.so/efcl/Demo-Bluenotion-0f9885a393874c2aa7a4765ff5ddf0be?pvs=4
Added


How to customize the fields displayed by 'QuickFilter'

This my data returns：
Q.ScriptData.set('Lookup.Business.MintBicycle', new Q.Lookup({"idField":"BicycleGuid","textField":"BicycleNumber"},  [{"BicycleGuid":"f2177e0c-86e4-4e6e-86ce-572acafd9d99","BicycleNumber":"6f5433ef5","LockNumber":"6f5433ef5"},{"BicycleGuid":"5089e375-b819-47bb-b861-d798ae3a0f55","BicycleNumber":"7613f7dea","LockNumber":"7613f7dea"},{"BicycleGuid":"c14fb520-fffb-4395-90c4-eba9e562ef79","BicycleNumber":"da95b12ab","LockNumber":"da95b12ab"}] ));
This is my column binding：
 [EditLink(ItemType = "Business.MintBicycle")]    [LookupEditor(typeof(Entities.MintBicycleRow)),QuickFilter]    public String BicBicycleNumber { get; set; }
this way only show ‘BicycleNumber’ in options.
Or use ‘CascadeFrom & CascadeField’
 [EditLink(ItemType = "Business.MintBicycle")]  [LookupEditor(typeof(Entities.MintBicycleRow),CascadeFrom = "LockNumber",CascadeField = "LockNumber"),QuickFilter]
this way show nothing,not matched in options.
How should I display the fields I want in the filter drop-down menu?

You have on your xxxxRow.cs, at the end of that file something like this
        IIdField IIdRow.IdField
        {
            get { return Fields.IdReclamo; }
        }

        StringField INameRow.NameField
        {
            get { return Fields.NroReclamo; }
        }

The String  Field Is The Field That Will Show The Lookupeditor. If That Field Does Not Serve You
You Can  Change it, Or you can check the example:
http://serenity.is/demo/BasicSamples/ChangingLookupText
Hope This Help


Unfork this repository

As with https://github.com/eslint-community/eslint-plugin-n/issues/55 we should unfork this repository instead of waiting even longer for the maintainer to possibly hand over the original repository

@MichaelDeBoey That bot is far too aggressive. It should at least comment when it adds the label.
Also: Do we actually need it right now? I would prefer us to skip it and leave issues open until we can see that it’s a real problem.

@voxpelli I don't see any harm in keeping the fork status tbh as it's clearly a fork of the original one 🤷♂
Are there any specific things we currently can't do because it's still a fork?
Keeping the fork also keeps the extra link on the original repo + people coming by this repo can see that it's a maintained fork instead of a new repo with about the same name

One clear drawback with keeping this as a fork is that GitHub is set up so that it assumes that forks will upstream their changes.
Hence when creating a PR through a link like https://github.com/eslint-community/regexpp/pull/new/voxpelli/remove-stalebot it will not open a PR towards this repository, it will suggest opening a PR to https://github.com/mysticatea/regexpp, which is both error prone and confusing.
And when doing gh repo clone eslint-community/regexpp GitHub also sets up mysticatea/regexpp as an upstream remote, which is needless as that upstream is not an actual upstream, its an historical artifact at this moment in time.


Fix issue: "Error: Cannot read properties of undefined (reading 'title')"

Problem Statement
When I sync the book notes, there is an error shows that the book title is undefined. This is because the there are some epub books uploaded to weread by myself. These books doesn't have record on the weread.
This pull request
This pull request is just simply catch the error and log it on console. It can make the book note sync pass.

Thanks for your work 🙏


Add quick tile for switch between the profiles

I mean this: https://developer.android.com/reference/android/service/quicksettings/TileService
This is just a suggestion.

nice, thanks for your suggestuin


Responsive Login Form

Responsive Login Form  #4536

Close #4536

Checklist:

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

@MohitGupta121 Now review it


Fix Geometry module

@jmirabel Can you check if the change I did are fine with you?

@jmirabel I've implemented a workaround to rename GeometryObject::fcl into GeometryObject::geometry. This should work. Could you try it on the stack HPP?


Add How To documentation: Download audiobook in docker container

I've downloaded the docker container and I've been able to sucessfully register my Kobo account and see the list of books using the web interface. But I haven't been able to connect to the container using ssh to download an audiobook.
I've not much experience in docker, so I use portainer to manage the containers, using portainer interface, I've been able to connect to the console, but as root, and when I use the kobodl list user command I don't see any users, while connecting to the web interface my user is there.
If I try the kobodl user add it gives the following error:
Traceback (most recent call last):
  File "/usr/local/bin/kobodl", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/kobodl/commands/user.py", line 73, in add
    actions.Login(user, password, captcha)
  File "/usr/local/lib/python3.8/site-packages/kobodl/actions.py", line 148, in Login
    kobo.AuthenticateDevice()
  File "/usr/local/lib/python3.8/site-packages/kobodl/kobo.py", line 318, in AuthenticateDevice
    Globals.Settings.Save()
  File "/usr/local/lib/python3.8/site-packages/kobodl/settings.py", line 62, in Save
    with open(self.SettingsFilePath, "w") as f:
PermissionError: [Errno 13] Permission denied: '/kobodl.json'

I suppose it's due to the user already existing, although I can't find the way to add it.
So I need a way to properly connect to the docker container via ssh to download the audiobook.
Thanks

Rule #1 of docker: if you're connecting with SSH, you made a wrong turn somewhere :)
Try running the http server instead:
https://hub.docker.com/r/subdavis/kobodl
Make sure to use the bind mount for the kobodl.json file you already created.
Maybe even try using docker run instead of Portainer so you can be sure you get the command right , then you can migrate to portainer

Didn't realize you wanted an audiobook: I was on my phone earlier.
using docker is no different than using the regular command line:
## List
docker run --rm -it --user $(id -u):$(id -g)   -v ${HOME}/.config:/home/config   -v ${PWD}:/home/downloads   subdavis/kobodl   --config /home/config/kobodl.json  book list

## Download
docker run --rm -it --user $(id -u):$(id -g)   -v ${HOME}/.config:/home/config   -v ${PWD}:/home/downloads   subdavis/kobodl   --config /home/config/kobodl.json   book get  <UUID> -u<EMAIL_ADDRESS> --output-dir /home/downloads/kobodl_downloads

Thanks a lot! It worked. Yeah, I'm not used to working with docker, I only have a few containers running that work with basic instructions, but I didn't want to mess with my python version, so I preferred using a container for this. I knew I was doing something wrong ;-), that is what I asked to extend the documentation for noobs like me.


ISPN-6906 Single put key command

This PR builds on the work on t_6906 branch, which should be reviewed in here and adds the following:

A single put key/value command has been added designed to reduce wrapping
and cost associated with a simple cache.put(k, v) call when the return value is
unused.
Command is sent as is, without the need of being wrapped in a single
RPC command.
Command implements AdvancedExternalizer, avoiding a map lookup when
writing the command.
When reading the command from the binary payload, the externalizer ID
is derived from the command id, shifting it 4 bytes. This opens the
possibility of having externalizers for commands whose shifted id
expands between 256 and 4095.
This command reduces the instance variables and serialization to the
bare minimum as long as the following conditions are met:
** Non transactions are used.
** Cache is clustered.
** Default metadata is used.
** Return value is not used.
** Key and value equivalences are default.

Some of these ideas could be applied more globally, e.g.

Making commands implement AdvancedExternalizer, avoiding map lookup on write.
Avoid wrapping commands in SingleRpcCommand, just send them as is.

Here are ideas I think we should flesh out more, but they're a bit more involved, so I'd like to wait and get a 1st round of performance feedback:

I don't see why SinglePutKeyValueCommand should have an instance variable for the cache name. If you're sending 1000 puts for the same cache, that's 1000 instance variables with the cache name that don't add anything. IOW, the dispatcher or higher level could pass down the cache name and write it, and then delegate to the command itself.
Again, I don't see why a command should carry the address of origin. For the origin, the address is simply used to pass that information from the IO layer to the runnable layer at which the operation is executed via the interceptor stack in the remote side. IOW, this instance variable does nothing on the sender side. Address of origin should be a parameter to BaseBlockingRunnable constructor. The only difference here is that put command would have one less instance variable in both sender and receiver, and instead that instance variable is only kept in BaseBlockingRunnable, which is run in receiver.

In essence, the command associated with a cache.put() like the one indicated above should only carry: key, value and command invocation id. All of those are specific to a particular put call and those are the only instance variables that make sense having there.
My local tests show this PR enhances performance on the existing t_6906 branch for put only tests that I've been focusing on. t_6906_singleput branch shows around ~10% improvement for put only tests with custom pojos in my local server but the performance improvement needs to be validated further.

Would it be possible to make this BasicPutKeyValueCommand and inherit from it in PutKeyValueCommand?

Would it be possible to name this BasicPutKeyValueCommand and inherit from it in PutKeyValueCommand?

I wanted to avoid extending other commands because they bring a lot of baggage. SinglePutKeyValueCommand has just 4 instance variables, whereas PutKeyValueCommand has 11. Why pay the cost of 11 when I only need 4? I just need a command, that has no superclasses, which is final, and implements the necessary interfaces.
Granted, adding a new command adds extra visitor callbacks...etc, which we would avoid by extending PKVC. However, the aim of this particular branch is to see how much improvement we can get by having a dedicated command with minimal content, marshalling...etc.
Finally, I still need to add a commit to this branch that's already present in t_6906 but which I'm waiting for confirmation that it improves things.

@galderz You took my question wrong; I was asking to use the inheritance in the other way - PKVC would inherit from SPKVC and add the 7 vars, SPKVC can be kept simple with those 4 vars.


Image to image - Support for for other sizes/dimensions than 512 x 512

From what I understand, we currently can only generate 512 x 512 images?
On a model that was trained for 704x960, we still need to be constrained by 512 x 512, or can we generate 704x960?
Thanks!

The only option right now is to hardcore the resolution during conversion, and it only works with the ORIGINAL implementation. To do so, you can use the --latent-w <size> and --latent-h <size> flags.  For example:
python -m python_coreml_stable_diffusion.torch2coreml --latent-w 64 --latent-h 96 --compute-unit CPU_AND_GPU --convert-vae-decoder --convert-vae-encoder --convert-unet --convert-text-encoder --model-version "./<model-name>_diffusers" --bundle-resources-for-swift-cli --attention-implementation ORIGINAL -o "./<model-name>_original_512x768"

You have to choose a resolution that is divisible by 64. Also, you have to specify it divided by 8 (e.g. 768/8=96).
In the example above, the model will always output images at a resolution of 512x768.

Thanks @Zabriskije! Would this also work for image to image?

I don't have direct experience with that, but from what I know, it's not supported yet.

Thanks again @Zabriskije , will try to convert a custom size model and run inference with image to image to test. Will post results here if I can make it

@Zabriskije I tried image to image using this model: https://huggingface.co/coreml/coreml-Grapefruit/blob/main/original/512x768/grapefruit41_original_512x768.zip
but when I pass a 512X768 image as starting input, I got error from this line:
https://github.com/apple/ml-stable-diffusion/blob/2c4e9de73c9e723de264356f9563706ea9104212/swift/StableDiffusion/pipeline/Encoder.swift#L89
It turns out that the shape of Encoder accepted is: [1, 3, 768, 512] but the shape of image is [1, 3, 512, 768].
And the Model description of VAEEncoder.modelc:
[
  {
    "shortDescription" : "Stable Diffusion generates images conditioned on text and\/or other images as input through the diffusion process. Please refer to https:\/\/arxiv.org\/abs\/2112.10752 for details.",
    "metadataOutputVersion" : "3.0",
    "outputSchema" : [
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float32",
        "formattedType" : "MultiArray (Float32)",
        "shortDescription" : "The latent embeddings from the unet model from the input image.",
        "shape" : "[]",
        "name" : "latent_dist",
        "type" : "MultiArray"
      }
    ],
    "version" : ".\/diffusers",
    "modelParameters" : [

    ],
    "author" : "Please refer to the Model Card available at huggingface.co\/.\/diffusers",
    "specificationVersion" : 7,
    "storagePrecision" : "Float16",
    "license" : "OpenRAIL (https:\/\/huggingface.co\/spaces\/CompVis\/stable-diffusion-license)",
    "mlProgramOperationTypeHistogram" : {
      "Transpose" : 7,
      "Ios16.exp" : 1,
      "Ios16.reduceMean" : 44,
      "Ios16.softmax" : 1,
      "Split" : 1,
      "Ios16.linear" : 4,
      "Ios16.add" : 35,
      "Ios16.realDiv" : 22,
      "Ios16.square" : 22,
      "Pad" : 3,
      "Ios16.sub" : 22,
      "Ios16.cast" : 1,
      "Ios16.clip" : 1,
      "Ios16.conv" : 28,
      "Ios16.matmul" : 2,
      "Ios16.reshape" : 54,
      "Ios16.batchNorm" : 22,
      "Ios16.silu" : 21,
      "Ios16.sqrt" : 22,
      "Ios16.mul" : 6
    },
    "computePrecision" : "Mixed (Float32, Float16, Int32)",
    "isUpdatable" : "0",
    "availability" : {
      "macOS" : "13.0",
      "tvOS" : "16.0",
      "watchOS" : "9.0",
      "iOS" : "16.0",
      "macCatalyst" : "16.0"
    },
    "modelType" : {
      "name" : "MLModelType_mlProgram"
    },
    "inputSchema" : [
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float16",
        "formattedType" : "MultiArray (Float16 1 × 3 × 768 × 512)",
        "shortDescription" : "An image of the correct size to create the latent space with, image2image and in-painting.",
        "shape" : "[1, 3, 768, 512]",
        "name" : "sample",
        "type" : "MultiArray"
      },
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float16",
        "formattedType" : "MultiArray (Float16 1 × 4 × 96 × 64)",
        "shortDescription" : "Latent noise for `DiagonalGaussianDistribution` operation.",
        "shape" : "[1, 4, 96, 64]",
        "name" : "diagonal_noise",
        "type" : "MultiArray"
      },
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float16",
        "formattedType" : "MultiArray (Float16 1 × 4 × 96 × 64)",
        "shortDescription" : "Latent noise for use with strength parameter of image2image",
        "shape" : "[1, 4, 96, 64]",
        "name" : "noise",
        "type" : "MultiArray"
      },
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float16",
        "formattedType" : "MultiArray (Float16 1 × 1)",
        "shortDescription" : "Precalculated `sqrt_alphas_cumprod` value based on strength and the current schedular's alphasCumprod values",
        "shape" : "[1, 1]",
        "name" : "sqrt_alphas_cumprod",
        "type" : "MultiArray"
      },
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float16",
        "formattedType" : "MultiArray (Float16 1 × 1)",
        "shortDescription" : "Precalculated `sqrt_one_minus_alphas_cumprod` value based on strength and the current schedular's alphasCumprod values",
        "shape" : "[1, 1]",
        "name" : "sqrt_one_minus_alphas_cumprod",
        "type" : "MultiArray"
      }
    ],
    "userDefinedMetadata" : {
      "com.github.apple.coremltools.version" : "6.2",
      "com.github.apple.coremltools.source" : "torch==1.13.1"
    },
    "generatedClassName" : "Stable_Diffusion_version___diffusers_vae_encoder",
    "method" : "predict"
  }
]

"formattedType" : "MultiArray (Float16 1 × 3 × 768 × 512)",

@jo32 Looks like width and height are switched In the json files

@Zabriskije I am not sure whether it is a problem of model converted or a problem of code in current repo ml-stable-diffusion. Because the model works fine in text to image mode.

@jo32 I think it's not even a problem, they just put height first. It's a bit strange reading it when you talk about resolution since normally width comes first (e.g. 1920x1080), but it may have a "code sense" that I'm unaware of.
Since text-to-image works fine, the resolution is correctly called from the JSON file.
The only problem, in this case, would be if the resolution gets called invertedly while using image-to-image.

@Zabriskije Agreed. Maybe a little tweak can provide a workaround. I should try it if I have time.

I have tested several  models, for example: for txt2txt, the size is 512768; however, in img2img mode, need to submit start image with a size of 768512. This is likely a bug.

Thanks  @Zabriskije


Markdown cells overlapping with content

In the ap.github-issues notebook
Set the contents of the first cell to:

# Config

a

$\f$

$$
\f\relax{x} = \int_{-\infty}^\infty
    \f\hat\xi\,e^{2 \pi i \xi x}
    \,d\xi
$$

a

Now reload

Bug

Also happens if you start re-sizing the notebook

@connor4312 Sorry this is from my suggestion to use initializeMarkdown in the recent change. It is causing multiple elements with the same id to be created. Will rewrite this to use a loop of createMarkdownPreview instead

Oh actually createMarkdownPreview seems to cause this too. Taking a look

@mjbvz that is most importantly called when the webview reloads, which can happen on request from code in the webview (probably uncommon) or when a controller with preloads is substituted for one without preloads


Authorization Code Grant(Api flow)

What version of UAA are you running?
What output do you see from curl <YOUR_UAA>/info -H'Accept: application/json'
{
  "app": {
    "version": "4.13.0"
  },
  "links": {
    "uaa": "http://<IP_ADDRESS>:8080/uaa",
    "passwd": "/forgot_password",
    "login": "http://<IP_ADDRESS>:8080/uaa",
    "register": "/create_account"
  },
  "zone_name": "uaa",
  "entityID": "cloudfoundry-saml-login",
  "commit_id": "edc370f",
  "idpDefinitions": {},
  "prompts": {
    "username": [
      "text",
      "Email"
    ],
    "password": [
      "password",
      "Password"
    ]
  },
  "timestamp": "2018-05-04T06:14:22+0800"
}

How are you deploying the UAA?
I am deploying the UAA with docker
Questions
http://docs.cloudfoundry.org/api/uaa/version/4.13.0/#api-flow
I found this document, but what puzzles me is that How can I obtain this bearer token within header??
curl 'http://localhost/oauth/authorize?response_type=code&client_id=login&redirect_uri=http%3A%2F%2Flocalhost%2Fredirect%2Fcf&state=UwwAUV' -i   \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsIIADO5RgP4xLLFm88K16abwm-33AP4gwvVo1tkLSM8'

If anyone can answer my question, I will be very grateful.

@fhanik
Can you give me some advice ?

Any user token containing uaa.user scope. In the documentation it uses the token from a cf login
https://github.com/cloudfoundry/uaa/blob/7e83f4cb6c1d550422d567541892e6a95befb037/uaa/src/test/java/org/cloudfoundry/identity/uaa/login/TokenEndpointDocs.java#L133-L150

@fhanik
Thanks,  I appreciate it


here is my Car price  finacial prediction and analysis

i have didnt put in any folder because i dindent got relevent folder

Done sir

done


semantic is not compatible with RTL languages

Today i just started pulling semantic-ui using npm and specified it for RTL languages and when I tried some Elements and modules but most of them didn't work correctly.
I captured some screenshots:

Set rtl: true in your semantic.json to compile SUI with RTL settings.

Already I've been set that to true.
It's my base html code:
<!DOCTYPE html>

	<meta charset="UTF-8">
	<title>صفحه اصلی</title>
	<link rel="stylesheet" type="text/css" href="semantic/dist/semantic.rtl.min.css">

  <input type="text" placeholder="جستجو...">
  <button class="ui icon button">

  </button>


Failed to load device... Device name too long max 27 characters

Required information

Distribution:
Distribution version:
The output of "lxc info" or if that fails:

Kernel version:
Armbian Focal Linux 5.10.81-meson64 21.08.6 SMP PREEMPT aarch64 aarch64 aarch64 GNU/Linux
LXC version:
5.0.0
LXD version:
5.0.0
Storage backend in use:
Btrfs

Issue description
Rebooted my server today and two containers failed to start with:
Failed to load device... Device name too long max 27 characters
Could a dev please provide instructions on how to resolve this error so I can start these containers?

Can you show lxc config show <instance> and lxc profile show <profile>

lxc config show calendar-server
architecture: aarch64
config:
  boot.autostart: "true"
  image.architecture: arm64
  image.description: Alpine 3.14 arm64 (20211120_13:00)
  image.os: Alpine
  image.release: "3.14"
  image.serial: "20211120_13:00"
  image.type: squashfs
  image.variant: default
  raw.idmap: |-
    uid 1000-1002 1000-1002
    gid 1005 1005
  volatile.apply_template: rename
  volatile.base_image: 351b6564e8c5e892c979e118c760477518d8e8f554bd36b51e3817675ad21f63
  volatile.cloud-init.instance-id: f5b3146f-70d5-4a19-b49c-441321f5dacd
  volatile.eth0.host_name: mac1f00f97d
  volatile.eth0.hwaddr: 00:16:3e:7f:54:21
  volatile.eth0.last_state.created: "false"
  volatile.idmap.base: "0"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":3},{"Isuid":true,"Isgid":false,"Hostid":1001003,"Nsid":1003,"Maprange":999998997},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1005},{"Isuid":false,"Isgid":true,"Hostid":1005,"Nsid":1005,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1001006,"Nsid":1006,"Maprange":999998994}]'
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":3},{"Isuid":true,"Isgid":false,"Hostid":1001003,"Nsid":1003,"Maprange":999998997},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1005},{"Isuid":false,"Isgid":true,"Hostid":1005,"Nsid":1005,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1001006,"Nsid":1006,"Maprange":999998994}]'
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":3},{"Isuid":true,"Isgid":false,"Hostid":1001003,"Nsid":1003,"Maprange":999998997},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1005},{"Isuid":false,"Isgid":true,"Hostid":1005,"Nsid":1005,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1001006,"Nsid":1006,"Maprange":999998994}]'
  volatile.last_state.power: RUNNING
  volatile.uuid: 07c492e3-f43c-4d6b-b6f1-5d8a6719cae6
devices:
  alpine-calendar-share-ssl-acme.sh:
    path: /etc/ssl/acme.sh/
    source: /etc/ssl/acme.sh/
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

lxc profile show default
config: {}
description: Default container configuration for titanium containers allowing LAN
  access.
devices:
  eth0:
    name: eth0
    nictype: macvlan
    parent: eth0
    type: nic
  root:
    path: /
    pool: titanium-btrfs
    type: disk
name: default
used_by:
- /1.0/instances/media-server
- /1.0/instances/download-server
- /1.0/instances/file-server
- /1.0/instances/calendar-server
- /1.0/instances/sync-server

If you do lxc config edit calendar-server and rename alpine-calendar-share-ssl-acme.sh to something shorter.

This change was introduce to allow accommodate a limitation in QEMU that was needed to allow VM hot disk plugging.
It was applied to containers as well so that the restrictions were consistent when applying profiles to both containers and VMs.

With what error?

Sorry my mistake, I tried again and the container starts.
Thank you for your help.
Please close this issue.

accommodate a limitation in QEMU that was needed to allow

Hello,
Sorry to bother you, but this limitation is also reached with simple containers (lxc ones), so my guess would be to add this to this part of code :
https://github.com/lxc/lxd/commit/67117ff953907dd9f5cfbb756d0e633588c96eec
	if len(d.name) > 27 and instanceSupported(instConf.Type(), instancetype.VM) {
		return fmt.Errorf("Device name too long, max. 27 characters")
	}

Or something like that,
That is breaking our containers production, while it is not impacted, as it concern only VM and no containers.
Best regards,

@tomponline

It was applied to containers as well so that the restrictions were consistent when applying profiles to both containers and VMs.

You can write in the error message that it concern VM, and let containers have the length they need.
There you break our production for a new constraint. And you private us from upgrade.
Regards,


Husky added

Added features mentioned in #53

Husky hooks integrated
Running lint + prettier in pre-commit hook
Added Commitizen in husky commit-msg

Hi @shantanu020,
Thank you for your issue, it's well-targeted but could benefit from a few improvements to better reflect the desired changes. Please consider the following updates:
Button positioning: Ensure all buttons are consistently placed at the top left corner.
Favorite button: Replace the old button with a heart icon that toggles between alpha white and red when clicked to indicate favoriting.
Link copy button: Add a link icon that changes from alpha white to solid white on hover to show it’s interactive.
Translucent box: Add a translucent box behind the icons to improve contrast and provide visual boundaries.
Remove old button: Ensure any outdated or redundant buttons are removed as part of this update.
Here’s a reference for how the updated UI should look:
https://github.com/user-attachments/assets/8ddead8b-c2fe-4639-a5f3-2df6ff32fa9e
Feel free to reach out if you need further details! Thanks for your efforts.

closes #53


feat: unzip library

When engines are downloaded, it will be .zip file, we need to extract it to target folder.


[Important Notice!] Please update handlers section in web.config files

While testing another site, we noticed that handlers in our web.config files also applies to sub folders. This might lead to some problems / security issues for your error log. Please put a slash in PATH attribute of these handlers. E.g. if you have these in your web.config:
  <handlers>
    <add name="ErrorLog" path="errorlog.axd" verb="POST,GET,HEAD" type="StackExchange.Exceptional.HandlerFactory, StackExchange.Exceptional" preCondition="integratedMode" />
    <add name="DynamicScriptHandler" verb="POST,GET,HEAD" path="DynJS.axd" type="Serenity.Web.HttpHandlers.DynamicScriptHandler, Serenity.Web" />
  </handlers>

Replace them with
  <handlers>
    <add name="ErrorLog" path="/errorlog.axd" verb="POST,GET,HEAD" type="StackExchange.Exceptional.HandlerFactory, StackExchange.Exceptional" preCondition="integratedMode" />
    <add name="DynamicScriptHandler" verb="POST,GET,HEAD" path="/DynJS.axd" type="Serenity.Web.HttpHandlers.DynamicScriptHandler, Serenity.Web" />
  </handlers>

So that they only apply to root folder.
If this configuration causes any problems for you, let us know.

I had to change the order of the handlers and the modules in my web config on Visual Studio 2017.
Handlers FIRST, and then MODULES .. I don't know why that resolved the issue I was having.
Only occurred with Windows 10 Professional 64 and IIS 10.0.1734 - I will add the slash though..

OK thank you volkan

Didn't test that for upload yet, if it works for you, e.g. can see uploaded files after making that change, then you should


Wrap partmc function with ENV

A small update. I wrap up everything related to partmc with the ENV feature flag. This update is based on branch PlotPyPartMC

This work needs to be merged into #303


B - add dependencies

entity framework

mssql express for local tester for first times, later adept in azure

fluentapi

automapper

jwt