The default version of Azure CLI that downloads for python3.9 is broken, and will not even install.

Describe the bug
When I try to pip install azure-cli in python 3.9, I get this error:
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in jsmin setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Related command
pip install azure-cli
Errors
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in jsmin setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Issue script & Debug output
pip install azure-cli
(use with python 3.9)
Expected behavior
I expect this to run and install without error.  Python 3.9 is still supported by Azure Web Apps.
Environment Summary
Collecting azure-cli (from -r requirements.txt (line 12))
Downloading azure_cli-2.61.0-py3-none-any.whl.metadata (8.4 kB)
Additional context
No response

Thank you for opening this issue, we will look into it.

This is the same error in the issue you created before: https://github.com/Azure/azure-cli/issues/29105
You need to check requirements.txt to see which package tries to install jsmin.


(PRODUCT PAGE) А dot as a decimal separator in the product rating

Pre-conditions:

Go to product page with not empty rating

Steps:

View the product rating

ER:
А comma as a decimal separator in the product rating
AR:
А dot as a decimal separator in the product rating
Layout:

Actually:

Tested
Fixed


SQLite/tRPC works in dev but not in prod enviroment

Hello!
First of all thanks for this amazing work!
In dev enviroment I cant make queries and mutate using a SQLite database, but when I compile the app my tRPC routes doesn't work.

Yes, the same thing happens with PostgreSQL. I suppose it's because Tauri uses frontend libraries like React and in backend uses Rust. To use Prisma in Tauri, there is the prisma-client-rust library.

has someone found a fix?


fix to camera streaming on start depending on server side modules

This PR solves a couple of issues related to cameras streaming race conditions, particularly on start:

Ask server to resend modules states on start
Auto stream camera on registration if camera streaming is ON

@leandropineda can you take a look when you have a chance. This is why cameras seemed to not work properly sometimes in MVHQ.


Implement support for operator overloading in the comptime interpreter

We have a TODO to support operator overloading in the interpreter. We should resolve this and implement this feature.
https://github.com/noir-lang/noir/blob/b3a2c9c86bea8d287fc024090087f3b66bbc31a4/compiler/noirc_frontend/src/hir/comptime/interpreter.rs#L610-L614

Duplicate of https://github.com/noir-lang/noir/issues/4925


[Bug]: EKS Nodes are not tagged with CNDIProject

What happened?
All EKS resources should be tagged with CNDIProject: my-project-name so they can be properly attributed to a project and prevent accidental deletions.
Version
cndi v1.12.0
kubeseal v0.21.0
terraform v1.4.6
What OS are you seeing the problem on?
No response
OS Details
No response
Relevant log output
No response
Code of Conduct

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

[EKS] [Node Group]: Give EC2 instances a Name tag
It hasn't been fixed natively,  there are some workarounds that require more resources


⚠ Bofrost.com has degraded performance

In 0a98e4b, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 496 ms

Resolved: Bofrost.com performance has improved in bc0e4c7 after 9 minutes.


feat: add shareable link to the website

This PR also updated goapp to v10.

ah crap, this isn't updating to 10 yet... aahhhh


Using Extension Attribute for Identity Claim

Hi, I have a scenario where we are moving from ADFS on premises to Azure AD.  In the On Premises version, we used a custom LDAP attribute as the identity claim value, not userprincipalname.  We were able to configure the Ldapcp provider to use the custom Ldap attribute.
In moving to Azure AD, we need to map to the same attribute that has been synced to an extention attribute in Azure AD.  We are able to select that extension attribute to send as the user identity value when configuring the Enterprise Application SSO SAML Claims.  But in the AzureCP configuration screens, we are not able to specify a custom attribute to search on to map to the user.
I am assuming I need to modify the source code and create my own version of AzureCP to handle this case.  Is that right?
Thanks

Please have a look at this PR and the related issue: https://github.com/Yvand/AzureCP/pull/174
This should be suitable for your requirement.

Hi @andikrueger,
Yes! I think that is exactly what I needed.  Another question, though.  For the AD Connect Client ID, I have the GUID from one of the extension attributes (e.g. extension_ab22399ffg01144256feg_someuserid).  I tried putting that string into the AD Connect client ID field, but the extension attributes did not show up.  I will continue to debug, but is there a particular format that the client id needs to be in?
Thanks,
Mary

You need to use the full GUID of the AAD Connect Client in this format:  93618954-57ab-4410-8972-6c815c136962 (example guid)


feat: external cluster reconciler

The instance manager now includes a new reconciler that downloads the contents of the secret that are needed to connect to external clusters.
This content is useful to connect from this PostgreSQL instance to the other instances, allowing to easily create subscriptions for them.
See also #2386

E2e: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/7181924883


Tmuxline not inheriting airline theme

I am able to run the command Tmuxline airline and it sets the correct theme. However, when I am inside a fresh tmux session and start vim there is not theme applied to Tmuxline. I've had this working before but has something changed recently? The colors do not change at all.
I am using the airline theme powerlineish, but when trying different themes it still doesn't make a difference. tmux version is 1.9

There seems to have been a change to vim-airline recently that causes the ordering of plugins to matter. I haven't had the time to pinpoint it down but none of my plugins (using Vundle) loaded after vim-airline are working properly.
So, I was able to fix my particular issue with tmuxline by simply adding somewhere above vim-airline.
However, I don't think this issue should be closed. We should either find out what changed in vim-airline or provide documentation of the issue for the users on this plugins README. This is probably an issue that should be fixed inside of vim-airline because it breaks many (if not all) integrated plugins.

Looks like this was fixed already vim-airline #720


replace push with pull request in Actions

As in wide-integer workflow. This appears to get over the problem of CI pipeline not starting for cross-fork PRs.

Now have both!

since #995


Various fixes for the DPsim Interface

The DPsim interface required a few fixes in VILLAS.
Some are not strictly necessary, but I think the extra checks make the code more robust.

Thanks :)

Thanks for the fast review. I was a bit lazy on the fmt::format thing, but porting to C++ was easier than I thought.


io.kestra.plugin.aws.runner.Batch not working with EC2 type

Expected Behavior
Create and run an AWS Batch job of type EC2 and provide results.
Actual Behaviour
Error executing request, Exception : Value 1.0 for type VCPU in resourceRequirement is not valid. Please provide a numeric value., RequestId: e51d480b-a670-43e2-94b1-8aec2705bb7d (Service: Batch, Status Code: 400, Request ID: e51d480b-a670-43e2-94b1-8aec2705bb7d)
Steps To Reproduce
No response
Environment Information

Kestra Version: 0.17.15
Plugin version: not sure how to find. Not in the log
Operating System (OS / Docker / Kubernetes): kubernetes k3s on intel
Java Version (If not docker):

Example flow
id: aws_batch_ec2
namespace: test

variables:
  batch_compute_environment_arn: "arn:aws:batch:us-west-1:ee:compute-environment/kestra-batch-compute-environment-ec2"
  batch_job_queue_arn: "arn:aws:batch:us-west-1:ee:job-queue/kestra-batch-job-queue-ec2"
  ecs_task_execution_role_arn: "arn:aws:iam::ee:role/kestra-ecs-task-execution-role"
  ecs_task_role_arn: "arn:aws:iam::ee:role/kestra-ecs-task-role"
  bucket: "bucketname"
# -------------------------------
tasks:

  - id: batchtest
    type: io.kestra.plugin.scripts.shell.Commands
    taskRunner:
      type: io.kestra.plugin.aws.runner.Batch
      accessKeyId: "xxx"
      secretKeyId: "yyy"
      region: us-west-1
      computeEnvironmentArn: "{{ vars.batch_compute_environment_arn }}"
      jobQueueArn: "{{ vars.batch_job_queue_arn }}"
      executionRoleArn: "{{ vars.ecs_task_execution_role_arn }}"
      taskRoleArn: "{{ vars.ecs_task_role_arn }}"
      bucket: "{{ vars.bucket }}"
    commands:
      - "ls"

Thanks for the report! Adding extra info you shared via Slack
`
Terraform changes:
resource "aws_batch_compute_environment" "aws_batch_compute_environment" {
  compute_environment_name = "kestra-batch-compute-environment"

  compute_resources {
    max_vcpus = 256
    security_group_ids = [
      aws_security_group.aws_batch_sg.id,
    ]
    subnets = data.aws_subnets.all_default_subnets.ids
    type    = "EC2"
    desired_vcpus      = 4
    min_vcpus          = 4
    instance_type      = ["m6i.xlarge"]
    instance_role      = aws_iam_instance_profile.batch_instance_profile.arn
  }
  service_role = aws_iam_role.batch_service_role.arn
  type         = "MANAGED"
  depends_on = [
    aws_iam_role_policy_attachment.batch_service_role_policy_attachment
  ]
}


Not working on latest 18.1 beta

Describe the bug
Worked well on previous betas of iOS 18.1 but not on the latest one
Steps to reproduce
Config the app. Open a new tab
Expected behavior
The default new tab instead of my custom one show up
Device
iPhone
OS version
18.1
App version
Latest release
Additional context
No response

Have you checked the "Open New Tabs" setting? And by the latest beta, do you mean iOS 18.1 beta 3?

idk why it need to be redone after a system update tho

It's most likely an iOS bug.


Fix loading issue

After having installed the gem and updated the env.rb file, running a feature were failing with the following error:
uninitialized constant Capybara::Screenshot (NameError)
/Users/guillaumehain/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:466:in `load_missing_constant'
/Users/guillaumehain/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:106:in `const_missing'
/Users/guillaumehain/Developments/fundlook/vendor/cache/capybara-screenshot-4aaa3fc12fa1/lib/capybara-screenshot/cucumber.rb:2:in `After'

This patch fix the issue.

Travis CI build failed on installing gem ...


Also no need for esbuild any more

Gonna keep for now, due to CORS issues in loading unbundled JS between modules in the browser.


GH-37884: [Swift] Allow reading of unaligned FlatBuffers buffers

The PR enables the swift readers to read from unaligned buffers (fix for issue: 37884)
Enabling unaligned buffers incurs a performance penalty so the developer will need to consider this when enabling this feature.
It is not currently possible to recover from a buffer unaligned error as this error is a fatalError so trying aligned and then falling back to unaligned is not an option.  Also, FlatBuffers has a verifier that should be able to catch this error but currently it seems to fail on both aligned and unaligned buffers (I tried verifying the example python server get return value but verification fails even though the buffers are able to be read successfully)

Closes: #37884

@kou Please review when you get a chance.

Done!

Nice to hear about that!!!


Create multiple windows from the same root thread results in panic

Hi,
I'm writing an app that sits in the background and periodically creates windows, for the user to interact with. After those are closed the app would create new windows when needed.
I have tried to emulate this behaviour initially by creating a window with a button in a loop. The first time everything works as expected. The second time the window wouldn't create. I seem to be getting this panic.
macro_rules! assert_not_initialized {
    () => (
        if ::rt::is_initialized() {
            panic!("This function has to be called before `gdk::init` or `gtk::init`.");
        }
    )
}

Am I missing something obvious? What would be the correct way to close the window to be able later to create another one?
           loop {
                std::thread::sleep(std::time::Duration::from_secs(3));

                let child = thread::spawn(move || {
                    if gtk::init().is_err() {
                        println!("failed to initialize gtk.");
                        return;
                    }

                    let window = gtk::Window::new(gtk::WindowType::Toplevel)
                    .unwrap();

                    window.set_title("App");
                    window.set_border_width(1);
                    window.set_window_position(gtk::WindowPosition::Center);
                    window.set_default_size(800, 600);

                    window.connect_delete_event(|_, _| {
                        gtk::main_quit();
                        Inhibit(false)
                    });

                    let yes_button = gtk::Button::new_with_label("Yes")
                    .unwrap();

                    window.add(&yes_button);
                    window.show_all();
                    gtk::main();
                });

                child.join();
            }

Thanks

The root issue here is that there is a notion of a "main thread" (the very first thread in the app) and you must interact with GTK from that thread only. This is a requirement of OSX, which we don't currently enforce.
Even if you ignore OSX, everything must happen on a single thread (that's why none of the widgets are Send). I wouldn't touch GTK after the thread where gtk::init was run terminates.

Ok, I think I get it. I get will have to work around this somehow.
For the moment I was able to get the wanted behaviour within the main thread. Actually I do get an error message, after I have extracted the gtk::init() out the of the thread::spawn.
extern crate gtk;

use gtk::traits::*;
use gtk::signal::Inhibit;
use std::thread;

fn main() {
    if gtk::init().is_err() {
        println!("failed to initialize gtk");
        return;
    }
    loop {
        std::thread::sleep(std::time::Duration::from_secs(2));

        let window = gtk::Window::new(gtk::WindowType::Toplevel).unwrap();
        window.set_title("App");
        window.set_border_width(1);
        window.set_window_position(gtk::WindowPosition::Center);
        window.set_default_size(800, 600);

        window.connect_delete_event(|_, _| {
            gtk::main_quit();
            Inhibit(false)
        });

        let yes_button = gtk::Button::new_with_label("Yes").unwrap();
        window.add(&yes_button);
        window.show_all();
        gtk::main();
    }
}

A method of talking from other threads to the GUI thread via idle_add is shown in this example.


Is there a way to delete a cookie in a middleware on server-side

I have a middleware checking if there's an auth token provided in a cookie. Basing on this token I perform a request retrieving current user's profile. Chances are, that the token is invalid. So, I want to force logout in this case. Which means I need to delete this auth token cookie too. How can I do that on server-side?

@gbezyuk you should create a /api/logout route for example which remove this cookie on the server side and call this route in the middleware when the token is invalid.

API lives in a totally separate project, could even be at a different domain thus making this solution impossible. Auth is token-based and uses headers, so the cookie is required only for SSR.
Once again, a bit more broadly then: is there a way to modify SSR server response's headers (cookie, spicifically) using Nuxt?

If you are on the server-side and have access to req, yes you can update the headers, it should do the trick.

'req'? I mean, shouldn't I look for the response instead of the request?

@gbezyuk  i got your mean .  and i have the same problem. nuxt is very good . one day may be great.

I have this same issue. I need to access headers in the res not req during SSR.

@Atinux reopening this so I don't forget to add examples following this merge

Good idea @galvez


type inconsistency with numpy.mean()

Description
Briefly: calling np.mean() on an instance of itk.itkPyBufferPython.NDArrayITKBase returns a single value of type itk.itkPyBufferPython.NDArrayITKBase whereas np.mean() called on an numpy.ndarray returns a scalar numpy.float32.  This causing what I think is an array-check in MONAI to crash.

Steps to Reproduce
I'm trying to run some MONAI code using ITK's file reader.  Deep within MONAI's transform code there is a type check the result of a np.mean() call:
> .\lib\site-packages\monai\transforms\intensity\array.py(529)_normalize()
    527         _sub = sub if sub is not None else np.mean(img[slices])
    528         if isinstance(_sub, np.ndarray):
--> 529             _sub = _sub[slices]
    530
    531         _div = div if div is not None else np.std(img[slices])

Line 529 crashes with a IndexError: too many indices for array: array is 0-dimensional, but 3 were indexed error.
You can see the different types below:
ipdb> type(_sub)
<class 'itk.itkPyBufferPython.NDArrayITKBase'>
ipdb>  _sub.dtype
dtype('float32')
ipdb>  print(_sub)
0.11837979
ipdb>  sub
None
ipdb>  print(np.mean(img[slices]))
0.11837979
ipdb>  type(np.mean(img[slices]))
<class 'itk.itkPyBufferPython.NDArrayITKBase'>
ipdb>  type(np.mean(itk.array_from_image(img)[slices]))
*** RuntimeError: No suitable template parameter can be found.
ipdb>  tmp = np.asarray(img)
<class 'numpy.ndarray'>
ipdb>  tmp.shape
(1, 960, 644)
ipdb>  type(np.mean(tmp[slices]))
<class 'numpy.float32'>
ipdb>  type(img)
<class 'itk.itkPyBufferPython.NDArrayITKBase'>
ipdb>  np.mean(tmp[slices])
0.11837979
ipdb>  print(np.mean(img[slices]))
0.11837979

Expected behavior
I don't know the correctness of MONAI's code here, but should the return type of the np.mean() call be consistent?
Actual behavior
calling np.mean() on an instance of itk.itkPyBufferPython.NDArrayITKBase returns a single value of type itk.itkPyBufferPython.NDArrayITKBase whereas np.mean() called on an numpy.ndarray returns a scalar numpy.float32.
Reproducibility
100%
Versions
itk 5.2.1.post1
Environment
monai 0.6.0
numpy 1.21.2
python 3.7.6
Windows 10
Additional Information

@brad-t-moore thanks for the report --- yes, it seems reasonable to return the same type.


xunit dotnet core page should point to dotnet docs

This is the "home page" for xUnit for .NET Core. It should point to docs.
https://xunit.github.io/docs/getting-started-dotnet-core.html
Linked from: https://github.com/xunit/xunit/blob/master/README.md
We should ensure that we have a page that Brad and co would be happy linking to and then ask them to do that from the page linked above.
/cc @bleroy

@mairaw can I help?

This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.

This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.


Multi Image gallery selection does not work

Hi,
the multi image selection on the example provided does not work. It behaves just like the single selection. Anything I missing?

The example project is loading all images into the same texture and overwrites the previous image.  Therfore you should only see the last selected image (probably?).
If you connect with logcat you should see the line "We are now loading texture... 1",  "We are now loading texture... 2", and so on .
See the code below.
I have not checked this in the latest release tough.
func _on_image_request_completed(dict):
	""" Returns Dictionary of PoolByteArray """
	var count = 0
	for img_buffer in dict.values():
		count += 1
		var image = Image.new()

		# Use load format depending what you have set in plugin setOption()
		var error = image.load_jpg_from_buffer(img_buffer)
		#var error = image.load_png_from_buffer(img_buffer)

		if error != OK:
			print("Error loading png/jpg buffer, ", error)
		else:
			print("We are now loading texture... ", count)  ### <------ This outputs to logcat
			yield(get_tree(), "idle_frame")
			var texture = ImageTexture.new()
			texture.create_from_image(image, 0)
			get_node("VBoxContainer/Image").texture = texture


Error While trying to run the demo code.

Hi @timmeinhardt,
When I try to run the demo code on my custom video, I am getting the following error:- "No such file or directory: 'models/mot17_crowdhuman_deformable_multi_frame/config.yaml'". I would like to knoiw where I can access the config files and also the pretrained models?

follow the install.md step4 and download the models:(remember,in model directory)
wget https://vision.in.tum.de/webshare/u/meinhard/trackformer_models_v1.zip
unzip trackformer_models_v1.zip


Provide ServiceConfig on every call

Can you try not restructuring everything, when making changes.

Most of the unrelated changes I'm happy with but I think they need to be in separate PRs. Otherwise when PRs are squashed they get lost.

Closing in favour of #309


Modify Vagrantfile to include MySQL docker

As a developer
I need a refactored Vagrantfile
So that we can have a VM with MySQL docker container
Acceptance Criteria:
The service interacts correctly with the database.

This repo from the professor should be extremely helpful.


cross platform: Enable HiResTimer

This PR needs #904, and #905 are merged.
p.s. HiResTimer produces the correct output but additional xplat work is needed for print

LGTM but wait for another sign off as well.

LGTM as well, but echo @curtisman's comments

PR is updated. @dilijev @curtisman @digitalinfinity  thanks for the review

@dotnet-bot test this please

@dotnet-bot test Ubuntu ubuntu_linux_debug please
@dotnet-bot test Ubuntu ubuntu_linux_release please
@dotnet-bot test Windows arm_test please


Throughput for non systematical inserts

How should I calculate throughput if the data does not flow systematically but from time to time.
For example: once per minute there are 500 insert operations of a document size of 1k each?

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

ID: abb0beaa-01ab-7031-937e-2d44c147b5d2
Version Independent ID: 742b249e-054f-a160-c2f5-7c22a796f9d0
Content: Request units and estimating throughput - Azure Cosmos DB
Content Source: articles/cosmos-db/request-units.md
Service: cosmos-db
GitHub Login: @rimman
Microsoft Alias: rimman

@Szczechla Thanks for the feedback. We are actively investigating and will get back to you soon.

@Szczechla We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Update Filter Behavior for Dining Menu

Issue Description
The filter for Vegetarian meals does not display Vegan meals.
Steps to Reproduce / Code Snippets
On the dining menu for 64 Degrees location, when tapping on Vegetarian, meals that are Vegan are not displayed. Vegan meals are also Vegetarian meals.
Expected Results
When the Vegetarian filter is selected, Vegan meals should also display.
Additional Information

React Native version: All
Platform(s) (iOS, Android, or both?): both
Operating System (macOS, Linux, or Windows?): N/A

This issue was reviewed in #150 and the root cause was found to be on the service provider's end. The service provider was informed and corrected the issues at that time. Moving this to the internal board as there is no work to be done on our end.
https://its-pro.ucsd.edu/browse/MA-45


read Go main module version as is - (devel)

closes https://github.com/anchore/syft/issues/959
Signed-off-by: Jonas Galvão Xavier<EMAIL_ADDRESS>

@jonasagx can you put this in ready for review? I'll give it a 👍 and we can merge it in. Thanks @samj1912 for the response.


throw createError does not show error page on client-side (in development)

Environment

Operating System: Windows_NT
Node Version:     v16.16.0
Nuxt Version:     3.0.0-rc.12
Nitro Version:    0.6.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      build, modules, loadingIndicator, app, css
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
When I enter a page directly via the browser e.g: <IP_ADDRESS>/test (it shows me an 404 page error, which is fine). But when I navigate to an existing page (which loads normally) and then click on a button with a internal link like: <IP_ADDRESS>/hello it provides an error. It is unable to create an error.
https://stackblitz.com/edit/github-dk8jtl?file=app.vue
Click on the two buttons named "Team" and "Contact". Everything working fine. Click then on "Error" button. Please check console for the error message which I provided.
Describe the bug
Uncaught (in promise) Error: Page Not Found
at createError (index.mjs?v=f2c40dfc:35:15)
const err = new H3Error(input.message ?? input.statusMessage, input.cause ? { cause: input.cause } : void 0);
Additional context
I generate the error with the following line; throw createError({ statusCode: 404, statusMessage: 'Page Not Found' })
Logs
No response

if (error.value) {
// This will trigger an error page server side
throw createError({ message: 'Page not found', statusCode: 404 })
}

I noticed that you using message instead of statusMessage and it really works:
throw createError({ message: 'Page not found', statusCode: 404 })
But in the documentation there is an example with statusMessage. Is the documentation outdated? Not sure what is the difference and when should I use message and when statusMessage. Could not find it in documentation.

@danielroe Same problem on my side.

I had the same issue but when I restarted the server it fixed the issue.

I had the same problem, restarting the server solved it.

I have an issue in version 3.2.3 where it does show 404 page when using this code:
throw createError({ statusCode: 404, fatal: true }), but the actual server response status code is 200 not 404.
What might be the issue?

Hello, kindly let us know about any planned update on this bug? It's not possible to show error page on client side as the fatal: true parameter doesn't work as mentioned in the docs. The only workaround is to make a custom error component and display it in case of error from useFetch()
https://nuxt.com/docs/getting-started/error-handling#createerror

Just to be clear, this issue exists to track a problem in dev mode but not in production. Example: https://stackblitz.com/edit/nuxt-starter-eecxbg.
If you are experiencing something in production, please let me know with a minimal reproduction.

when i use statusMessage the error passed to the client-side in error in useFetch but when I use the message the error not sent in the error in useFetch

@danielroe https://github.com/nuxt/nuxt/issues/15432#issuecomment-1490336678
Not happening in production but this behavior will cause some weird inconsistencies between development, staging and production where devs will think they have a broken page but things will actually work.
What is the best path to return a status code similar to how one would handle this in express or connect for status codes like 403 and 500?

@Austio We closed this when the difference in development was removed. If you are still encountering a difference, please do open a new issue with a reproduction.

@danielroe I see that it was closed but the behavior between development and not development is something that at least to me is unexpected and seems more like a bug or design issue based on the discussion above where it is not expected by others.
How do we handle ensuring that we render the same pages in development and production?
The flow as an example

Authentication library that throws a 403 forbidden error
Wrapping middleware throws the exception in a way that will should in the new nuxt3 system

I've tried this with and without fatal: true
  throw createError({statusCode: e.statusCode, fatal: true})

@danielroe The issue only appears in async/await functions

if you throw createError({fatal: true}) from a regular function of the <script setup> script, it works fine and the error.vue component is displayed
if you throw createError({fatal: true) from an async function of the <script setup> script, it does not work. The error.vue component is not displayed, and instead the console displays a message of Uncaught (in promise) Error.

The initial bug report at the top of this issue correctly reported that the debugger points to the line where an H3Error object is being created by the createError function.
This was also hinted in https://github.com/nuxt/nuxt/issues/15754

@vejja would you give me an example of what you mean?

Sure
Here is a simple script block that would fail.
The login async function is being invoked on clicking a button in the Vue template
definePageMeta({ layout: 'centered' })
const email = ref(null)
const password = ref(null)

async function login() {
  const supabase = useSupabaseClient()
  const { error } = await supabase.auth.signInWithPassword({
    email: email.value,
    password: password.value
  })
  if (error) {
    throw createError(error)
  } else {
    navigateTo('/')
  }
}

In that case, clicking on the Login button with invalid credentials should throw an error and display the error.vue component, which it fails to do.
Instead, the page stays stuck with nothing happening, and the console shows the following output:

Clicking on the index.mjs debugger link brings up the following tab:

Okay, I see you're throwing that error in a function. That's not going to trigger a nuxt error page. Instead you would use showError in that context.

Ok and thanks for the explanation
As a side note though, the docs (https://nuxt.com/docs/getting-started/error-handling#createerror) clearly recommend to use throw createError on the client side and advise to avoid showError
Not clear why they say that

The issue is possibly related to when you are calling the function and throwing the error, right?
I can't see your whole code but basically if you throw an error and it doesn't get captured by the normal vue error handler, Nuxt has no way to know about that error.

I got the same issue in nuxt 3.7.1 but, i've never made it work really.
Same issue in production and dev environment for me:
this does not work:
throw createError({ fatal: true, statusCode: 101, statusMessage: 'my custom error message' });

this works:
          showError({
            fatal: true,
            statusCode: 101,
            statusMessage: `my custom error message`,
          });

Please update documentation, because this is very confusing

I got the same issue in nuxt 3.7.1 but, i've never made it work really. Same issue in production and dev environment for me:
this does not work:
throw createError({ fatal: true, statusCode: 101, statusMessage: 'my custom error message' });

this works:
          showError({
            fatal: true,
            statusCode: 101,
            statusMessage: `my custom error message`,
          });

This worked for me, too - showError and statusMessage combo. I could not get createError to work on the client or server. I am not using the production build, just development.

To be clarify, as I tested in my dev env, showError works in client side.
And creatError works in serverside ssr.
So I check whether code is run in client or server like example.
      if (process.client) {
        throw showError({
          fatal: true,
          statusMessage: JSON.stringify(response),
          statusCode: response.status,
        });
      } else {
        throw createError({
          statusMessage: JSON.stringify(response),
          statusCode: response.status,
        });
      }

fatal:true is working fine now on version  3.7.1 of nuxt !

using throw createError even using fatal: true inside useAsyncData in Nuxt 3.8.0 is still a problem.

useAsyncData will never throw an error. You need to handle the contents of error.value.

Error page stopped working for me too

If you are experiencing an issue, please do open an issue with a reproduction 🙏

If you are experiencing an issue, please do open an issue with a reproduction 🙏

hope to take a look at my issue https://github.com/nuxt/nuxt/issues/24601
and the reproduction https://stackblitz.com/edit/nuxt-starter-kpbeu1?file=app.vue

Hi, I am facing a similar issue. When the error.vue is shown, instead of replacing the index page, I am getting the error.vue rendered below the indexPage. This way instead of having a fullscreen error Page I still have the index Page displayed together with the error Page.

``For my case the problem was in the lazy=true setting. I use it as I wanted to use preloader inside the page component for case when user goes to the page without reloading the page.
So i use throw createErrror after awaiting for useAsyncData. But when it's lazy, status may be idle after awaiting. The problem was solved when i add extra watcher on status which was returned from useAsyncData and throw error when it's changed to 'error' status.
And to resolve it, I've created composable:
import type {AsyncDataRequestStatus, NuxtError} from "#app";
import type {Ref} from "vue";

export function useErrorWatcher(status: Ref<AsyncDataRequestStatus>, error: Ref<NuxtError<unknown> | null>) {
    if (status.value === 'error') {
        throw createError({
            statusCode: error.value?.statusCode || 500,
            message: error.value?.message || 'Internal server error',
            fatal: true
        })
    } else {
        watch(
            status,
            () => {
                throw createError({
                    statusCode: error.value?.statusCode || 500,
                    message: error.value?.message || 'Internal server error',
                    fatal: true
                })
            }
        )
    }
}

There still seems to be a small disparity between dev and prod, here is an example of a code that shows the error on dev but not on prod
const { data, error } = await useFetch('/api/blabla');
watchEffect(() => {
  if (error.value) {
     throw createError({ fatal: true, statusCode: 404 });
  }
});

It seems this is a problem when the throw is coming from inside watchEffect on the server
Converting to this
const { data, error } = await useFetch('/api/blabla');
if (error.value) {
   throw createError({ fatal: true, statusCode: 404 });
}
watch(error, () => {
  if (error.value) {
     throw createError({ fatal: true, statusCode: 404 });
  }
});

Fixes the issue

I am also a bit confused on how to throw an error and redirect to 404 page... for example here on a prismic doc page this will not work right?:
https://prismic.io/docs/nuxt-3-template-content#rendering-the-slice-zone


v3-beta8: ionic serve "Multiple addresses available" doesn't support in choosing the correct one

What version of the CLI are you using? Output of ionic --version
3.0.0-beta8
Short description of the problem:
When I run ionic serve I get this prompt:
PS C:\Users\Jan\Documents\beta8test2> ionic serve
? Multiple addresses available. Please select which address to use: (Use arrow keys)
> <IP_ADDRESS>
  <IP_ADDRESS>
  <IP_ADDRESS>

From just this output I have no idea which one I am expected to choose, under what considerations and why. I have to guess. I don't even know if something will break if I choose the wrong one.
The last one is my actual IP address, the rest are VirtualBox "thingies":
C:\Users\Jan>ipconfig /all

Windows IP Configuration

[...]

Ethernet adapter VirtualBox Host-Only Network #5:

   Connection-specific DNS Suffix  .   : No
   Autoconfiguration Enabled . . . .   : Enabled

Ethernet adapter VirtualBox Host-Only Network #4:

   Connection-specific DNS Suffix  .   : No
   Autoconfiguration Enabled . . . .     : Yes
   Autoconfiguration Enabled . . . .    : Enabled

What behavior are you expecting?
Some output that actually helps me choosing the correct one.
Steps to reproduce:

Install v3.0.0-beta8 CLI
Run ionic serve on Windows PC with multiple network adapters

Post the output of ionic info below please
npm (global):

    @ionic/cli-utils : 0.0.12
    ionic            : 3.0.0-beta8

System:

    Node       : v6.10.2
    OS         : Windows 10
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed

We could probably provide more context, but may be hard to recommend to the user which to choose.

How does the user choose? Is it actually important? Why?
A first step to make them distinguishable would be to include the "Description" - not everybody knows the IP address of his main network card ;)

@jthoms1 Thoughts?

@piotrowski So we're using node to get data about the network interfaces (https://nodejs.org/api/os.html#os_os_networkinterfaces)
It doesn't give us more data, like the description, unfortunately. Unless you see another way around this, I'm tempted to not worry about this. I think it's a minor issue.

Ok, then at least add some text like "Please select the IP address of your Internet connection" or something like that (if this is what is actually expected of the user - I still don't know if selecting the "wrong" thing actually makes a difference and how. If it doesn't why ask at all?).

I have disabled the prompt for ionic serve and now display an informational message when the prompt happens for cordova run/emulate. Thanks for bringing this up! Great idea.


New config param to define point estimates to calculate when running a CatEstimator stage

Work in progress
It is not yet settled whether the default should be no calculations or all calculations done on behalf of the user. However, this PR is still mostly valid regardless of the decision.
Introduce a new config parameters, calculated_point_estimates, in SHARED_PARAMS that will be used by subclasses of CatEstimator.

it would make sense as a next step to add a function to the base class to actually use the new parameter.


New package: JuliansJuliaPack v1.0.0-DEV

Registering package: JuliansJuliaPack
Repository: https://github.com/julian-myers/JuliansJuliaPack.jl
Created by: @julian-myers
Version: v1.0.0-DEV
Commit: f258ed05bd08044a07a8b54315596696141589b3
Git reference: main

hault

This is not ready for registration and likely falls under

The General registry is not a place for "personal packages" that consist of collections of "utility functions"

See https://github.com/JuliaRegistries/General#should-i-register-my-package-now.


WIP: Allow embedded root automation peers.

What does the pull request do?
Allows IRootProviders to be embedded in an automation tree. More info to come,

You can test this PR using the following package version. 11.0.999-cibuild0038104-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038114-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038118-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038130-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038134-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038140-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038153-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038161-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038181-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038185-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038203-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038211-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0038365-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


Send a BLE command to a device using 4 characteristics (IDFGH-13817)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello!
I'm using ESPIDF version 5.3.1 with a ESP32-S3.
I flash the ESP as a BLE client with the example gatt_client and adapted it to try make it compatible with the device.
This device has 4 characteristics:

UART Data TX Characteristics
UUID: 00000002-0000-1000-8000-008025000000
Type: uint8 array (20 bytes)
Properties: Notify
The Terminal I/O client uses the UART Data TX characteristic to receive UART data from the server (peripheral) via notifications.
Terminal I/O Profile Client Implementation Guide

UART Data RX Characteristics
UUID: 00000001-0000-1000-8000-008025000000
Type: uint8 array (20 bytes)
Properties: Write without response
The Terminal I/O client uses the UART Data RX characteristic to write UART data to the server (peripheral).

UART Credits TX Characteristics
UUID: 00000004-0000-1000-8000-008025000000
Type: uint8 (1 byte)
Properties: Indicate
The Terminal I/O client uses the UART Credits TX characteristic to receive UART credits (0 - 255) from the server (peripheral) via indications.

UART Credits RX Characteristics
UUID: 00000003-0000-1000-8000-008025000000
Type: uint8 (1 byte)
Properties: Write
The Terminal I/O client uses the UART Credits RX characteristic to grant UART credits (0 - 255) to the server (peripheral).

Here is the file with my changes:
gattc_demo.txt (Yes, there are redundant parts, it is a test xD)
The flow is:

Active Indicate
Activate Notify
Use Write to set the UART credits size
Use Write without response to send a command

The log:
I (1164) GATTC_DEMO:
I (1174) GATTC_DEMO:
I (1174) GATTC_DEMO:
W (1184) GATTC_DEMO: searched device device_name
W (1184) GATTC_DEMO: connect to the remote device.
I (1184) GATTC_DEMO: stop scan successfully
I (1184) GATTC_DEMO:
I (1194) GATTC_DEMO:
I (1194) GATTC_DEMO:
I (1194) GATTC_DEMO:
W (5264) GATTC_DEMO: EVENT: 40
I (5264) GATTC_DEMO: ESP_GATTC_CONNECT_EVT conn_id 0, if 3
I (5264) GATTC_DEMO: REMOTE BDA:
I (5274) GATTC_DEMO: 00 21 7e 70 fa e3
W (5274) GATTC_DEMO: EVENT: 2
I (5274) GATTC_DEMO: open success
I (5364) GATTC_DEMO: packet length updated: rx = 162, tx = 162, status = 0
W (6294) GATTC_DEMO: EVENT: 46
I (6294) GATTC_DEMO: discover service complete conn_id 0
W (6294) GATTC_DEMO: EVENT: 7
I (6294) GATTC_DEMO: SEARCH RES: conn_id = 0 is primary service 1
I (6304) GATTC_DEMO: start handle 17 end handle 65535 current handle value 17
I (6304) GATTC_DEMO: service found
I (6314) GATTC_DEMO: UUID16: fefb
W (6314) GATTC_DEMO: EVENT: 6
I (6324) GATTC_DEMO: Get service information from remote device
I (6324) GATTC_DEMO: ESP_GATTC_SEARCH_CMPL_EVT
I (6334) GATTC_DEMO: count: 6
E (6334) GATTC_DEMO: ASK FOR REG WRITE
E (6344) GATTC_DEMO: ASK FOR REG WRITE_NR
E (6344) GATTC_DEMO: ASK FOR REG NOTIFY
E (6344) GATTC_DEMO: ASK FOR REG INDICATE
W (6354) GATTC_DEMO: EVENT: 18
I (6354) GATTC_DEMO: ESP_GATTC_CFG_MTU_EVT, Status 0, MTU 158, conn_id 0
W (6364) GATTC_DEMO: EVENT: 38
I (6364) GATTC_DEMO: ESP_GATTC_REG_FOR_NOTIFY_EVT
W (6374) GATTC_DEMO: EVENT: 38
I (6374) GATTC_DEMO: ESP_GATTC_REG_FOR_NOTIFY_EVT
W (6444) GATTC_DEMO: EVENT: 9
I (6444) GATTC_DEMO: write descr success
W (6494) GATTC_DEMO: EVENT: 9
I (6494) GATTC_DEMO: write descr success
W (6494) ***: WRITE
W (6494) ***: WRITE NR
E (6494) ---: msg_len: 18
W (6544) GATTC_DEMO: EVENT: 4
I (6544) GATTC_DEMO: write char success
W (6544) GATTC_DEMO: EVENT: 4
I (6544) GATTC_DEMO: write char success

I tested sending commands using nRF Connect app and the device performs the actions correctly.
What could I be doing wrong?

What is your expected behavior?

What is your expected behavior?

@esp-zhp When sending a message in the "Write without response" characteristic, the device should react to this command

@esp-zhp  The flow is:

Active Indicate
Activate Notify
Use Write to set the UART credits size
Use Write without response to send a command

I don't have access to the device. But I have visual feedback when a command is successful.
Using the nRF Connect for Mobile app on an Android phone, I ran this sequence of commands and it worked

I activate some verbose logs:
W (43768) ***: WRITE
D (43768) BT_GATT: gatt_get_ch_state: ch_state=4
D (43768) BT_BTC: btc_transfer_context msg 0 3 12 0x3fca45e4

D (43768) BT_BTC: btc_thread_handler msg 0 3 12 0x3fcb63a0

D (43768) BT_GATT: gatt_get_ch_state: ch_state=4
I (43778) BT_L2CAP: L2CA_SendFixedChnlData()  CID: 0x0004  BDA: 00217e70fae3
D (43788) BT_L2CAP: l2c_link_check_send_pkts
D (43788) BT_L2CAP: partial_segment_being_sent=0,link_state=4,power_mode=0
D (43798) BT_L2CAP: l2c_link_send_to_lower
D (43798) BT_L2CAP: TotalWin=11,Hndl=0x1,Quota=12,Unack=1,RRQuota=0,RRUnack=0
D (43808) BT_OSI: alarm_cbs_lookfor_available 4 0x3fc9ef38

D (43808) BT_OSI: osi_alarm_cancel failed to stop timer, err 0x103

D (43818) BT_HCI: Receive packet event_code=0x13

D (43828) BT_L2CAP: l2c_link_check_send_pkts
D (43828) BT_L2CAP: partial_segment_being_sent=0,link_state=4,power_mode=0
D (43838) BT_L2CAP: TotalWin=12,LinkUnack(0x1)=0,RRCheck=0,RRUnack=0

D (43848) BT_HCI: HCI Enqueue Command opcode=0xc35

D (43848) BT_HCI: reassemble_and_dispatch

D (43848) BT_L2CAP: L2CAP - rcv_cid CID: 0x0004

D (43858) BT_GATT: gatt_get_ch_state: ch_state=4
D (43858) BT_GATT: gatt_end_operation status=0 op=3 subtype=2
D (43868) BT_OSI: osi_alarm_cancel failed to stop timer, err 0x103

D (43868) BT_BTC: btc_transfer_context msg 1 3 4 0x3fcb3730

D (43878) BT_BTC: btc_thread_handler msg 1 3 4 0x3fcb5dc8

W (43888) GATTC_DEMO: EVENT: 4
I (43888) GATTC_DEMO: write char success
W (45818) ***: WRITE NR
E (45818) ---: msg_len: 18
D (45818) BT_GATT: gatt_get_ch_state: ch_state=4
D (45818) BT_BTC: btc_transfer_context msg 0 3 12 0x3fca45d4

D (45818) BT_BTC: btc_thread_handler msg 0 3 12 0x3fcb63a0

D (45828) BT_GATT: gatt_get_ch_state: ch_state=4
I (45828) BT_L2CAP: L2CA_SendFixedChnlData()  CID: 0x0004  BDA: 00217e70fae3
D (45838) BT_L2CAP: l2c_link_check_send_pkts
D (45838) BT_L2CAP: partial_segment_being_sent=0,link_state=4,power_mode=0
D (45848) BT_L2CAP: l2c_link_send_to_lower
D (45858) BT_L2CAP: TotalWin=11,Hndl=0x1,Quota=12,Unack=1,RRQuota=0,RRUnack=0
D (45858) BT_GATT: gatt_end_operation status=0 op=3 subtype=1
D (45868) BT_HCI: btu_free_timer Unable to find expected alarm in hashmap
D (45868) BT_HCI: Receive packet event_code=0x13

D (45878) BT_L2CAP: l2c_link_check_send_pkts
D (45878) BT_L2CAP: partial_segment_being_sent=0,link_state=4,power_mode=0
D (45888) BT_L2CAP: TotalWin=12,LinkUnack(0x1)=0,RRCheck=0,RRUnack=0

D (45898) BT_BTC: btc_transfer_context msg 1 3 4 0x3fcb3730

D (45898) BT_BTC: btc_thread_handler msg 1 3 4 0x3fcb5dc8

W (45908) GATTC_DEMO: EVENT: 4
I (45908) GATTC_DEMO: write char success

So far, I haven't encountered any issues.
You need to verify that the handle values used when calling esp_ble_gattc_register_for_notify, esp_ble_gattc_write_char_descr, and esp_ble_gattc_write_char are correct.
If you are certain that all the handles you are passing in are accurate, you can proceed with the next debugging steps:
Capture over-the-air packets (if you have a packet-sniffing device), or
Print the HCI log information.
If you don't have a packet-sniffing device, you can use the following code to print the HCI log information. First, enable the configuration option: (Top) → Component config → Bluetooth → [*] Enable Bluetooth HCI debug mode.
extern void bt_hci_log_hci_data_show(void);
extern void bt_hci_log_hci_adv_show(void);

while(1) {
    bt_hci_log_hci_data_show();
    bt_hci_log_hci_adv_show();
    vTaskDelay(10 / portTICK_PERIOD_MS);
}

This code continuously displays HCI data and advertising information, which can help you debug the issue further.

@esp-zhp I added logs to see if handle values are correct. And they are. I also add the HCI debug log, and I think everything looks ok.
I do a test: I created a python code to execute in windows to see if my flow is rigth. And it succeed.
import asyncio
from bleak import BleakClient, BleakScanner

# Endereço MAC do dispositivo Bluetooth
device_address = "00:21:7E:70:FA:E3"  # Substitua pelo endereço do seu dispositivo

# Características UUIDs
UART_TX_UUID = "00000002-0000-1000-8000-008025000000"
UART_RX_UUID = "00000001-0000-1000-8000-008025000000"
CREDITS_TX_UUID = "00000004-0000-1000-8000-008025000000"
CREDITS_RX_UUID = "00000003-0000-1000-8000-008025000000"

async def main():

    async with BleakClient(device_address, timeout=60.0) as client:
        # Inscrever nas características Indicate e Notify
        print("Conectado")
        await client.start_notify(UART_TX_UUID, notification_handler)
        await client.start_notify(CREDITS_TX_UUID, indication_handler)

        # Enviar no Write o tamanho dos UART credits
        uart_credits_size = bytearray([0x50])  # Exemplo de tamanho dos UART credits
        await client.write_gatt_char(CREDITS_RX_UUID, uart_credits_size, response=True)

        # Enviar no Write no response os comandos
        commands = bytearray([0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x70, 0x65, 0x72, 0x6D, 0x61, 0x30, 0x45, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30])  # Exemplo de comandos
        await client.write_gatt_char(UART_RX_UUID, commands, response=False)

        print("Aguardando notificações e indicações...")
        await asyncio.sleep(30)  # Aguarda por 30 segundos para receber notificações

def notification_handler(sender, data):
    print(f"Notification from {sender}: {data}")

def indication_handler(sender, data):
    print(f"Indication from {sender}: {data}")

asyncio.run(main())

Could ESP have any limitations when dealing with so many features?

@esp-zhp This is the HCI log:
W (16814) GATTC_DEMO: connect to the remote device.

If you have the ability to sniff and capture mid-air packets, could you please kindly do so to check if the packet has been successfully sent from  our device? Or, if it is in the correct format.
Otherwise, I would suggest switching the target device to a device that you can control and monitor if it has successfully received the write command and in the correct format.

@esp-xzk @esp-zhp Unfortunately I don't have a sniffer. Could you tell me if it might be necessary to add some delays between sending the commands? I've tested this before, but I don't know if it would be necessary to invest time in it again.

I ran the python script and captured the packets using wireshark. Here is the result:
ble_esp.zip
I used the filter "bluetooth.addr == 00:21:7E:70:FA:E3"
Differences:
I noticed the following differences in the writing characteristics packages
Python implementation:
02 01 0e 08 00 04 00 04 00 12 1d 00 50
02 01 0e 19 00 15 00 04 00 52 18 00 48 65 6c 6c 6f 70 65 72 6d 61 30 45 30 30 30 30 30 30
ESP implementation:
01 00 08 00 04 00 04 00 12 1d 00 50
01 00 19 00 15 00 04 00 52 18 00 48 65 6c 6c 6f 70 65 72 6d 61 30 45 30 30 30 30 30 30

I also checked the bluetooth log of my android phone to see the behavior of the app.

02 40 00 19 00 15 00 04 00 52 18 00 48 65 6C 6C 6F 70 65 72 6D 61 30 45 30 30

In both scenarios that worked, the command 0x02 was used. Now I'm trying to get ESP to use this same command. Any tips?

Hello,
The capture is very helpful. Thank you.
First of all, I am not quite sure what your wait_response() function is waiting on, for write without response packets, it is expected that there won't be any response for you to listen to on your host.
The "missing" 0x02 at the beginning of each ESP implementation is that the debug code did not print out the type of the packet. In this case, 0x02 simply stands for 'ACL_Data' . In our HCI log, it is substituted with H:.

I believe the rest of the packet seems identical.
Furthermore, if you could kindly check on the last line of the previous HCI log:
37 E:13 05 01 01 00 01 00

This is a message that the Controller tells the Host that the number of completed packets is 1. This means that the Controller has successfully delivered the packet to the receiver's Controller.
My suggestion remains that you may try switching the target device to a device that you can control and monitor if it has successfully received the write command and in the correct format.

Hello, @esp-xzk

First of all, I am not quite sure what your wait_response() function is waiting on, for write without response packets, it is expected that there won't be any response for you to listen to on your host.

I created wait_response and notify_calling_task to wait for one event to complete before requesting another.
static void wait_response(void)
{
    task_to_notify_mesh = xTaskGetCurrentTaskHandle();

    xTaskNotifyWait(0, 0, 0, pdMS_TO_TICKS(30000));
    vTaskDelay(1000 / portTICK_PERIOD_MS);
}

static void notify_calling_task(void)
{
    if(task_to_notify_mesh != NULL) xTaskNotify(task_to_notify_mesh, 0, eSetValueWithOverwrite);

    task_to_notify_mesh = NULL;
}

I put it in some events:

Now I'm sure the problem wasn't competition xD
W (17759) **********: REGISTER FOR NOTIFY 1
W (17759) GATTC_DEMO: EVENT: 38
I (17759) GATTC_DEMO: ESP_GATTC_REG_FOR_NOTIFY_EVT
E (17759) ///: p_data->reg_for_notify.handle: 26
E (17759) ///: descr_elem_result[0].handle: 27
e7 H:01 00 09 00 05 00 04 00 12 1b 00 01 00
W (17799) GATTC_DEMO: EVENT: 9
I (17799) GATTC_DEMO: write descr success
e8 E:13 05 01 01 00 01 00
e9 D:01 20 05 00 01 00 04 00 13
ea C:35 0c 05 01 01 00 01 00
W (18799) **********: REGISTER FOR NOTIFY 2
W (18799) GATTC_DEMO: EVENT: 38
I (18799) GATTC_DEMO: ESP_GATTC_REG_FOR_NOTIFY_EVT
E (18799) ///: p_data->reg_for_notify.handle: 31
E (18799) ///: descr_elem_result[0].handle: 32
eb H:01 00 09 00 05 00 04 00 12 20 00 01 00
ec E:13 05 01 01 00 01 00
W (18849) GATTC_DEMO: EVENT: 9
I (18849) GATTC_DEMO: write descr success
ed D:01 20 05 00 01 00 04 00 13
ee C:35 0c 05 01 01 00 01 00
W (19849) **********: WRITE UART CREDITS
W (19849) ***: WRITE
E (19849) !!!: gl_profile_tab[PROFILE_A_APP_ID].char_handle_write: 29
ef H:01 00 08 00 04 00 04 00 12 1d 00 50
f0 E:13 05 01 01 00 01 00
W (19899) GATTC_DEMO: EVENT: 4
I (19899) GATTC_DEMO: write char success
f1 D:01 20 05 00 01 00 04 00 13
f2 C:35 0c 05 01 01 00 01 00
W (20899) **********: WRITE COMMAND
W (20899) ***: WRITE NR
E (20899) !!!: gl_profile_tab[PROFILE_A_APP_ID].char_handle_write_nr: 24
E (20899) ---: msg_len: 18
W (20899) GATTC_DEMO: EVENT: 4
I (20909) GATTC_DEMO: write char success
f3 H:01 00 19 00 15 00 04 00 52 18 00 48 65 6c 6c 6f 70 65 72 6d 61 30 45 30 30 30 30 30 30
f4 E:13 05 01 01 00 01 00

My suggestion remains that you may try switching the target device to a device that you can control and monitor if it has successfully received the write command and in the correct format.

I'll see if I can get another device to perform the tests.

This is a message that the Controller tells the Host that the number of completed packets is 1. This means that the Controller has successfully delivered the packet to the receiver's Controller.

About this: If the Notification and Indication characteristics are not subscribed, the Write command will not work. Based on this, does this same confirmation message guarantee me that subscriptions to these characteristics have also been made?
Thanks for your help

Is there a possibility that when I sign up for Notify and then sign up for Indicate, this will overwrite the data on the device and cancel Notify and vice versa?

Analyzing the logs better, I noticed this:
Windows python application log

02 01 0e 09 00 05 00 04 00 12 1b 00 01 00
02 01 0e 09 00 05 00 04 00 12 20 00 02 00

ESP application log

01 00 09 00 05 00 04 00 12 1b 00 01 00
01 00 09 00 05 00 04 00 12 20 00 01 00

the penultimate byte is different. It is not setting the indication

Solved!
case ESP_GATTC_REG_FOR_NOTIFY_EVT: {
                    ...
                    /* Every char has only one descriptor in our 'ESP_GATTS_DEMO' demo, so we used first 'descr_elem_result' */
                    ESP_LOGE("///", "descr_elem_result[0].handle: %d", descr_elem_result[0].handle);
+                    if (count > 0 && descr_elem_result[0].uuid.len == ESP_UUID_LEN_16 && descr_elem_result[0].uuid.uuid.uuid16 == ESP_GATT_UUID_CHAR_CLIENT_CONFIG && descr_elem_result[0].handle == 27){
                        ESP_LOGW("---------", "WRITE NOTIFY");
                        ret_status = esp_ble_gattc_write_char_descr( gattc_if,
                                                                     gl_profile_tab[PROFILE_A_APP_ID].conn_id,
                                                                     descr_elem_result[0].handle,
                                                                     sizeof(notify_en),
                                                                     (uint8_t *)&notify_en,
                                                                     ESP_GATT_WRITE_TYPE_RSP,
                                                                     ESP_GATT_AUTH_REQ_NONE);
                    }
+                    else {
+                        ESP_LOGW("---------", "WRITE INDICATE");
+                        uint16_t indicate_en = 2;
+                        ret_status = esp_ble_gattc_write_char_descr( gattc_if,
+                                                                     gl_profile_tab[PROFILE_A_APP_ID].conn_id,
+                                                                     descr_elem_result[0].handle,
+                                                                     sizeof(indicate_en),
+                                                                     (uint8_t *)&indicate_en,
+                                                                     ESP_GATT_WRITE_TYPE_RSP,
+                                                                     ESP_GATT_AUTH_REQ_NONE);

                    }

                    if (ret_status != ESP_GATT_OK){
                        ESP_LOGE(GATTC_TAG, "esp_ble_gattc_write_char_descr error");
                    }

                    /* free descr_elem_result */
                    free(descr_elem_result);
                }
            }
            else{
                ESP_LOGE(GATTC_TAG, "decsr not found");
            }
            // notify_calling_task();

        }
        break;

My big mistake was not writing correctly in the indication
Thank you very much for the support @esp-xzk @esp-zhp

@esp-xzk @esp-zhp I started optimizing the SDK for this example, and when I disabled the option CONFIG_BT_GATTS_ENABLE the example stopped working.
Is this correct? The example is for GATTC should not have dependencies with GATTS or yes?

@yanmartins
GATTC should not have dependencies with GATTS.
please create new issue to trace your problem.thanks.and share me your log.


#1057 - Expanded plotting options of plot_posterior_predictive

Description

The `plot_posterior_predictive' function has gotten new plotting options. Depending on the parameters, it can also show:

HDI (Highest Density Intervals) at 94% and 50% levels (as before)
Mean prediction line (new)
Gradient representation of the full posterior distribution (new)

The new function argument related to this are:

add_hdi : bool, optional - If True, add highest density intervals to the plot. Default is True.
add_mean : bool, optional - If True, add the mean prediction to the plot. Default is True.
add_gradient : bool, optional - If True, add a gradient representation of the full posterior distribution. Default is False.

A new example notebook is added to demonstrate: mmm_plotting_options.ipynb
Related Issue

[x] Closes #1057
[ ] Related to #

Checklist

[x] Checked that the pre-commit linting/style checks pass
[x] Included tests that prove the fix is effective or that the new feature works
[x] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[x] MMM
[ ] CLV

Type of change

[x] New feature / enhancement
[ ] Bug fix
[ ] Documentation
[ ] Maintenance
[ ] Other (please specify):

📚 Documentation preview 📚: https://pymc-marketing--1058.org.readthedocs.build/en/1058/

Thanks @jsnyde0 . Can you please additional tests in
https://github.com/pymc-labs/pymc-marketing/blob/1a1703c5f34045548f43754179982cd98128beb0/tests/mmm/test_plotting.py#L137-L164
:)

@juanitorduz done!
Also, I messed up the commit history so I made a new branch & PR: https://github.com/pymc-labs/pymc-marketing/pull/1066

@juanitorduz done!
Also, I messed up the commit history so I made a new branch & PR: https://github.com/pymc-labs/pymc-marketing/pull/1066

Feel free to close the pr that is now stale


color-amber changed to meet accessibility

What is the context of this PR?
Updated the HEX code for $color-amber to pass AA accessibility
Documented new colour combination is style
Fixed broken links in colour styles

 Issue #798: Reduce $color-amber lightness to make white on amber colour combination accessible


Is it possible to change "Bottle v0.12.25 server starting up..." when run script?

Hi, can we override the text when we start our script? without the need to change the source in the virtual environment

No, unless you monkey-patch the _stderr function and filter the messages according to your needs.

You can disable the messages (by running bottle.py --quiet ... or calling bottle.run(quiet=True, ...)) and then print your own message.

Oh, there is no bottle.py --quiet parameter, I could have sworn... but the bottle.run(quiet=True, ...) way still works.


The SSL connection could not be established,

In the server-side validation( Validate   function )
I get the error: The SSL connection could not be established,
please guide me on how to Generate a .pfx file from your Merchant Identity Certificate (merchant_id.cer, which is the public key) and the Certificate Signing Request (your_file_name.csr, which is the private key) that you used to generate it.
and then the question is: Should I use this generated certificate in the LoadCertificateFromDisk() function?

Im implementing prity much same functionality. I straggling a bit with generating correct certificate for merchant validation. Can you help a little on how to generating pfx having .cer and .certSingingRequest ?

You can find information about generating a .pfx from the other key files online in various places. Here's one example from Stack Overflow: https://stackoverflow.com/a/17284371/1064169

For future travelers, my issue was that I missed the disclaimer at the bottom of Apple Pay Configuration Guide where I needed to have the additional certs from Apple installed before exporting the .p12 (aka .pfx) file.
If you see a warning in Keychain Access that the certificate was signed by an unknown authority or that it has an invalid issuer, make sure you have the WWDR intermediate certificate - G2 and the Apple Root CA - G2 installed in your keychain. You can download them from apple.com/certificateauthority.


how to hide the parameter in swagger document

Hi everybody
There are some internal parameters which i don`t want to show in swagger document.
Is there any way to do this? Such as annotation and so on.
Best Regards

You can either use @ApiIgnore individually for each operation or you can globally ignore parameters. Please check the documentation at http://springfox.io

Hi @dilipkrish
Thank you so much for your answer.
I will check the document.
Best Regards.

Is there anyway to do this if you are using Swagger but not Spring?


Add tombstone parsing, and force facts to be in a namespace (even tho…

…ugh it's not used yet).
Evaluators currently don't know how to deal with tombstones either.

should evaluators handled tombstones as described in https://github.com/ambiata/icicle/blob/master/doc/design/tombstones.md?

@tranma yep

:tangerine: looks good to me
might be good to get @amosr to have a look though (i think he might be in today), I'm not sure what the implications of adding VTombstone to BaseValue are

ok! :banana:


⚠ SceneTime has degraded performance

In d92da14, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 7041 ms

Resolved: SceneTime performance has improved in 2e30b6a after 14 minutes.


[ENH] Modify add_basemap for local windowed reading

Currently, when the user points to a local file on add_basemap, the file is fully read and then clipped/zoomed on to the extent ax was passed on. For cases where a raster is too large, it'd be nice to provide an option so that only the required window is read from the local raster file. This would make add_basemap a very easy method to plot parts of large rasters (e.g. world night lights) as basemaps.
Pointers:

Code should be implemented on L.96-plottint.py to avoid always reading the full file first.
Potential code to use for windowed reading from rasterio masking functionality (URL)

To think about:

Should we let the user choose to read the whole file and adapt the the extent of ax accordingly? This might fit other use cases.
What'd be the best API to enable this functionality? I'm thinking an additional argument on add_basemap such as read_full=False that, when True reads the whole file and adjusts the axis extent, otherwise in only reads a window for the extent of ax?

To avoid to add yet another keyword (and one that is only valid depending on the value of another keyword), we could also reuse reset_extent for this?
If reset_extent=True (default), we can read only the needed part of the raster file, as the rest is not shown on the figure anyhow.
If reset_extent=False, we of course read the full raster, as we use in this case the extent of the raster as extent of the figure.

GReat idea! +1

Addressed in #129


"Frasin" is listed in the drop-down menu

Description:
"Frasin" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Frasin" in the search bar.

Expected results
The location is listed in the drop-down menu as "Oraș Frasin, SUCEAVA ".


Compatibility with angular2 rc6

The modules is not compatible with angular2 rc6.
This would need adding module class that might look something like below code:
import { NgModule } from '@angular/core';
import { ReCaptchaComponent } from "./angular2-recaptcha";
@NgModule({
    declarations: [ReCaptchaComponent],
    exports: [ReCaptchaComponent]
})
export class ReCaptchaModule {
}

Directly exposed components were deprecated but still supported until angular2 rc5, but with the release of rc6, each module must be declared as a module, and must contain exports list of components.
I got it working by including above changes local to my project.
Please update the same in the github source to allow compatibility with angular2 rc6 and future releases.

Updated to RC6 and using NgModule now.

Thanks @xmaestro for the recent updates. This now works quite well.
I understand keeping upto date to the changes reflecting from angular is a bit tougher because they are not yet committed to their API methods. Thanks for your efforts.
Cheers!


Improve Sedov self-gravity test

Attempt to find an enhanced set of parameters that gives good results.

Is it really necessary to set amr_interval = 1? On my system, I get at least no errors when using
julia> Trixi.run("examples/paper-self-gravitating-gas-dynamics/parameters_sedov_self_gravity.toml", amr_interval=4)

I didn't check the numerical solution, but the run time of the AMR part is reduced from 8.38s to 2.36s. For comparison, the Euler solver takes 6.69s (using julia --check-bounds=no --threads=6).


Blend modes support for merging

Hi, Mikhail! I implemented Photoshop blend modes for layer merging, though I can't implement fill opacity.

Awesome! I have some comments, but first is what do you think about extracting blend modes extension to a separate library (blendosaurus? blend-modes?) We can put it under psd-tools organization.

It's actually a good idea! But in that case I'd prefer to make my own repo. Also, I think this "library" is not quite ready for a stand-alone release, at least checks for fools should be added.

I see a lot of progress has been done on layer composition, but I don't understand why the blend modes were re-written from scratch (bringing another dependency, which is quite heavy, especially with MKL support) when they were already implemented and fine-tuned. And I don't see any point in making floating point computations if the result is always an 8-bit image anyway...
So I just released my extension as a standalone module for everyone and then it's up to you whether you'll use it or not.
I also compared the psd-tools implementation (using numpy 1.16.6 with MKL support) against image-blender (the standalone module) and psd-tools was 13.5 times slower on average. The following table shows the differences in precision:

Function name
Maximum deviation (image-blender)
Maximum deviation (psd-tools)

--------------
------------ Normal group -----------
------------------------------

dissolve
Deviations approach normal distribution
Not implemented

--------------
------------ Darken group -----------
------------------------------

darken
0
0

multiply
0
-1 color tone

color_burn
0
-1 color tone

linear_burn
0
-1 color tone

darker_color
0
-1 luminance level

--------------
----------- Lighten group -----------
------------------------------

lighten
0
0

screen
0
-1 color tone

color_dodge
0
-1 color tone

linear_dodge
0
0

lighter_color
0
-1 luminance level

--------------
----------- Contrast group ----------
------------------------------

overlay
0
-1 color tone

soft_light
±1 color tone
-1/+16 color tones

hard_light
0
-1 color tone

vivid_light
+2 color tones
±127 color tones

linear_light
0
-1 color tone

pin_light
+1 color tone
+1 color tone

hard_mix
0
-127 color tones

--------------
---------- Inversion group ----------
------------------------------

difference
0
-1 color tone

exclusion
±1 color tone
-1 color tone

--------------
--------- Cancellation group --------
------------------------------

subtract
0
-1 color tone

divide
0
-1 color tone

--------------
---------- Component group ----------
------------------------------

hue
±2 luminance levels
-127/+128 color tones

saturation
±2 luminance levels
-127/+128 color tones

color
±2 luminance levels
-2/+1 luminance levels

luminosity
±2 luminance levels
-2/+1 luminance levels

@EvgenKo423 Thanks for reporting that, the current implementation attempts to implement the transparency model of PDF spec. See Chapter 7 of the reference https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_archives/PDFReference.pdf
There, apparently 8-bit image ops are not sufficient. Also check some of the testing fixtures in the repo


Feature request: add the option to search with regix

this will be a great addition, for example, i want to search where the surname begins with  mary
i can use first_name = "^mary"

You are the GOAT my guy


Support disconnected network environments

This PR adds support for installing the operator in disconnected network environments. To build with image-digests set USE_IMAGE_DIGESTS=true before running make bundle.
For Prow jobs we are enabling this via .prow-ci.env
This drops the old logic from create_bundle.sh which has been broken with operator-sdk's make bundle for some time.
(NOTE: this currently requires a secure registry)
Jira: OSP-26486

recheck

/retest

/retest

/retest

recheck


Memory address is not read correctly

Hey @christofsteel,
thanks for the cool project! I am trying to get Super Mario 64 on Mupen64Plus running with this autosplitter but couldn't get it to work so far.
As a disclaimer, I am pretty clueless about all of this low level stuff, so everything I tried I've picked up from the issues and PRs in this repo, by playing around with PINCE and CheatEngine, and reading some tutorials.
From what I've gathered, all I need is a static memory address that points to a value I wanna track to use in events, right? In my case, I want to track the amount of stars I've collected, and I could successfully find out an address that stores this value (7ffff6c70678, in my case). Using my dangerous superficial knowledge, I googled how to make programs use the same addresses every time, and by starting my emulator with a flag that turns off memory randomization, this address is persistent across restarts, so there should be no need to mess around with pointers, right?
For reference, here is my variable definition:
  "variables": {
    "stars": {
      "type": "memory",
      "address": "0x7ffff6c70678",
      "length": "2",
      "signed": false,
      "byteorder": "little"
    }
  },

The autosplitter launches the game and doesn't spit out any errors, but no event is ever triggered. In fact, it doesn't seem like my stars variable is correctly initialized, because when I print all variables on every tick, stars shows up as having a None value. Am I using the correct memory address here? Is the one that PINCE shows me even the correct one? Is the memory address in PINCE's output local to the program or do I need to strip away some kind of namespace address to let the autosplitter read it correctly? What got me confused is that CheatEngine running through wine gave me a slightly different memory address for my stars, namely libmupen64plus.so.2.0.0+CC5678, so I thought that maybe only CC5678 is the relevant part of the address. However, using this and some other variations (including process_start + CC5678) all resulted in the same behavior. For reference, I couldn't get the pointer scan to give me any meaningful result, but because my value address is static, I figured it shouldn't be needed anyway.
As you can see, I'm pretty clueless about how memory addresses work, so any help would be huge :heart:

From the CE-Wiki about multilevel pointers:

I did find a static base on the first scan of the base address but I remember this being a false base. So here what we want is a base address in the form of 'process.exe+offset', you can try one of the others that look like 'module.dll+offset' but I want to say that here they will prove to be false pointers. And yes most newer games will have many false values and pointers.

I gave it a quick shot and found stars at libmupen64plus.so.2.0.0+CC69E8 and lives at libmupen64plus.so.2.0.0+CC69EE. The difference can come from compilation or versions.
So my current guess is that process_start is not libmupen64plus.so.2.0.0. You basically want to go down the multilevel pointer chain until you find an offset from the entry binary which gets called by pyautosplit instead of an included library.
Here's a previous how to with links to the wiki tutorials how to achieve this.


Maximum Lifetime - 600 minutes or 240 minutes

Hello!  The max lifetime listed on this page states 600 minutes.  My understanding is that Protected Users hard codes this to 240 minutes (4 hours).  Can you please clarify and correct this page.
References:
https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/manage/how-to-configure-protected-accounts
https://blogs.technet.microsoft.com/secadv/2018/03/01/using-protected-groups-to-secure-privileged-user-accounts/

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

ID: 7d6ee8ba-1584-3a15-b560-d0f880bbd8f1
Version Independent ID: 4c549846-bb86-bc11-8768-269bf3a3fe60
Content: Protected Users Security Group
Content Source: WindowsServerDocs/security/credentials-protection-and-management/protected-users-security-group.md
Product: windows-server-threshold
Technology: security-credential-protection
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Here's a second reference to the 4 hour/240 mins lifetime.

It's definitely 240 minutes. I expect the mistake is due to 600 minutes being the default for accounts not in the Protected Users group, assuming this hasn't been changed by an administrator in the Default Domain Policy GPO.

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close

This is still an issue.


Update to 1.0.1-beta.4

Updated chart.js to 1.0.1-beta.4 :gift:

v1.0.1 final is released, could we get that merged instead? :)

This has been fixed in #12


Creating a calendar Model

In this issue I want to discuss how should we create  the calendar model
I have create some sort of diagram just to brain storm some ideas about the calendar and its functionalities .
__

this is just a basic example to be modified later,
please leave your opinions on this.

@Khalid1G

and here is a basic example of the class diagram of calendar :

@bellaabdelouahab
can you give the diagram as a PlantUML code

Sure @Khalid1G

here you go :
@startuml

class Calendar {
  - calendarId: int
  - calendarName: string
  - calendarType: CalendarType
  - isPublic: bool
  - isShared: bool
  - owner: User
  - participants: List<User>
  - events: List<Event>
  - reminders: List<Reminder>
  - permissions: List<Permission>
  - creationDate: DateTime
  - createdBy: User
  - lastModifiedDate: DateTime
  - lastModifiedBy: User
  - description: string
  - accessCode: string
  - privacySettings: PrivacySettings
  - isSyncEnabled: bool
  - attachment: byte[]
  - tags: List<string>
  - categories: List<Category>
  - allowedUsers: List<User>
  - deniedUsers: List<User>
}

class User {
}

class Event {
}

class Reminder {
}

class Permission {
}

class PrivacySettings {
}
Calendar -- User: owner
Calendar "0" -- "n" User: participants
Calendar "0" -- "n" Event: events
Calendar "0" -- "n" Reminder: reminders
Calendar "0" -- "n" Permission: permissions
Calendar -- PrivacySettings: privacySettings
Calendar "0" -- "n" User: allowedUsers
Calendar "0" -- "n" User: deniedUsers

@enduml

@Khalid1G @muttaqin1 what do you think

@Khalid1G @muttaqin1 what do you think
looks fine.


Failed to resolve driver warnings/errors

Hi,
I'm on Arch Linux with docker, docker-compose and make installed/working.
Docker version 20.10.10, build b485636f4b
Docker Compose version 2.1.1
GNU Make 4.3

Running make setup or make setup-prod result in lots of these errors in the output.
11/11/2021 04:13:25: WARNING: Failed to resolve driver datacube.plugins.index::default
11/11/2021 04:13:25: WARNING: Error was: ContextualVersionConflict(pyparsing 3.0.5 (/usr/local/lib/python3.8/dist-packages), Requirement.parse('pyparsing<3,>=2.0.2'), {'packaging'})

The cube-in-a-box starts anyway and I am able to load up Jupyter at http://localhost. However, I get the following errors in Sentinel_2.ipynb when running it in Jupyter.
Failed to resolve driver datacube.plugins.io.read::netcdf
Error was: ContextualVersionConflict(pyparsing 3.0.5 (/usr/local/lib/python3.8/dist-packages), Requirement.parse('pyparsing<3,>=2.0.2'), {'packaging'})
CPLReleaseMutex: Error = 1 (Operation not permitted)

Thanks

I solved this by adding pyparsing==2.4.7 on the requirements.txt file but then I encountered other errors.

Thanks, I tried that but just get different errors. Not sure if that's a separate issue or part of this one.


Add Codeql Security Scanning

Add Codeql Static Code Analysis
Add static code security analysis to the repo.
Description
Github offer security static code analysis. We should make use of this.

Done.  CodeQL runs on any PR or push targeting main and every Wed.


Update Dockerfile to use Rocky8 as base image

What changes are proposed in this pull request?
Using Rocky8 as base image
Why are the changes needed?
Centos7 EOL on June 30, 2024 so mirrorlist.centos.org no longer exists for yum installs
Does this PR introduce any user facing changes?
no

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.10 please

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.10 please


Redfish Interoperability Profile for ServiceRoot

The ServiceRoot Redfish Profile consists of only property requirements pertaining to Resource ServiceRoot "redfish/v1/".

@digambar15, @mraineri, and @DhuldevValekar3, you may find this PR of interest.

@spranjali, once @mraineri's suggestion to change the SchemaDefinition version to v1_3_1 is addressed, this can be merged \o/
Thank you so much!

Incorporated all the review comments of ServiceRoot Redfish Interop Profile.


Slow and system freezing

Issue Type: Performance Issue
Slow and system freezing
VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz (4 x 1796)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: unavailable_off

Memory (System)
7.89GB (2.35GB free)

Process Argv

Screen Reader
no

VM
40%

Process Info
CPU %	Mem MB	   PID	Process
    0	    72	 36832	code main
    0	   108	 22892	   gpu-process
    0	   188	 32372	   window (styles.css - tryloindia.com - Visual Studio Code)
    0	    14	 28876	     watcherService
    0	     5	 25696	       console-window-host (Windows internal process)
    0	    20	 29440	     searchService
    0	    11	 36000	     electron-crash-reporter
    0	   165	 37260	     extensionHost
    0	    49	  2704	       "C:\Users\AMIT-N-TECH\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\AMIT-N-TECH\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\css-language-features\server\dist\cssServerMain" --node-ipc --clientProcessId=37260
    0	    77	 34264	       electron_node tsserver.js
    0	    20	 19656	         electron_node typingsInstaller.js typesMap.js
    0	    23	 35228	       electron_node tslintServer.js
   25	   318	 37168	       php.exe c:\Users\AMIT-N-TECH\.vscode\extensions\felixfbecker.php-intellisense-2.3.10\vendor\felixfbecker\language-server\bin\php-language-server.php --tcp=<IP_ADDRESS>:59500 --memory-limit=4095M
    0	     5	 38024	         console-window-host (Windows internal process)
    1	    68	 32844	   window (Issue Reporter)
    0	    63	 35296	   shared-process

Workspace Info
|  Window (styles.css - tryloindia.com - Visual Studio Code)
|    Folder (tryloindia.com): 18244 files
|      File types: php(9838) jpg(2471) xml(1760) phtml(1338) gif(1070)
|                  png(672) js(389) css(203) csv(94) html(66)
|      Conf files:;

Extensions (19)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-color
ans
0.4.5

npm-intellisense
chr
1.3.0

jquerysnippets
don
0.0.1

xml
Dot
2.4.0

vscode-html-css
ecm
0.2.0

tslint
eg2
1.0.42

vscode-npm-script
eg2
0.3.5

php-intellisense
fel
2.3.10

auto-rename-tag
for
0.0.15

beautify
Hoo
1.4.7

cordova-dev-essentials
jew
0.0.1

Angular2
joh
7.0.1

php-cs-fixer
jun
0.1.93

vscode-JS-CSS-HTML-formatter
lon
0.2.3

vetur
oct
0.14.5

laravel-blade
one
1.18.0

laravel-5-snippets
sac
2.0.1

cordova-tools
vsm
1.6.1

Same here. I notice this happening in several scenarios. For example, when opening a large-ish TS file, the status bar in VS code says "Initializing JS/TS language features", which sends VS codes' CPU usage to 80%, and this can last entire minutes at times.

@parmaramit1111 Are you still seeing this issue? Can you please follow the guide in https://github.com/Microsoft/vscode/wiki/Performance-Issues to narrow down the problem?
In particular, using the process explorer or running code --status while you experience the slowdown would help identify which process has the problem

Thanks Rachel,
Now I am not using Windows Machine for development, I have switched to Mac.
When I used VS Code last time I did not faced any problem.
On Mon, Oct 7, 2019 at 10:54 PM Rachel Macfarlane<EMAIL_ADDRESS>wrote:

@parmaramit1111 https://github.com/parmaramit1111 Are you still seeing
this issue? Can you please follow the guide in
https://github.com/Microsoft/vscode/wiki/Performance-Issues to narrow
down the problem?
In particular, using the process explorer or running code --status while
you experience the slowdown would help identify which process has the
problem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/66424?email_source=notifications&email_token=AB6EG4MQPAN6ZQHAOFPMZGLQNNWEVA5CNFSM4GPSJ75KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEARELOY#issuecomment-539116987,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6EG4IM4MD6GSI3YKFT2SDQNNWEVANCNFSM4GPSJ75A
.

--
Thanks,
Amit Parmar
Director at N-Tech Technologies Pvt Ltd.
CEO & CTO at Points Interaction Pvt Ltd.
WebSite: http://www.ntechcorporate.in http://www.ntechcorporate.in
http://pointsinteraction.com/
M: +91-9662321720
Skype: amit.n.parmar
gMail<EMAIL_ADDRESS>


my nami wallet got hacked

lost 359 ada and pavia tokens in nami please help

You have used wallet web app from telegram group?

So sorry about what happened same thing happened to me my wallet got hacked and about 0.9 btc was stolen thanks to Mr John a whitehathacker who helped me recover all of it message him on telegram too t.me/Whitehathacker217


feat: Submodules execute post-checkout without updating shared hooks

Unfortunately git submodule update --init will not execute the update shared hooks because its guarded on 000...0000 1. argument (works on only on normal clones and not on git submodule update --init which does a no-checkout clone etc.
Maybe we should create a file in .git/.githooks-shared-update-on-clone to only execute the shared update once on clone which would work also on submodules.

Done in #109


feat: improve documentation by replacing words into badges 📝✨

Description

This issue is about making the documentation better by replacing the Tech Stack words to Tech Stack Badges.
We can use attractive badges, this will improve our Food Recipe Website Repository's Documentation.

Screenshot

CURRENT STATE

DESIRED STATE

Hey there @Anupkjha2601 👋🏻
Please make sure to assign this issue to me to make done, Thank you!


Implement Tests and Document on the Wiki

Tests are about 75% implemented, but they have not been documented on the wiki yet.


Steam GUI/Chromium freeze/super slow on launch

When compiling the current master as of this post (https://github.com/swaywm/wlroots/commit/66c42f4fcb77724d9b19829eeb0c66fe4771f2db), the main Steam GUI and Chromium completely freeze or are super slow when trying use. I have the log attached.
sway.log

I've bisected from https://github.com/swaywm/wlroots/commit/a47f89cf7c198153c153c53f52d42810e1c73ed5 and still have the issue. Is this an issue with sway not wlroots? I've downgraded both wlroots and sway on twoachines and the bug disappeared.

Is this an issue with sway not wlroots?

The conclusive way to check is to try other compositors that still use wlroots like Wayfire.

It appears that when reinstalling sway and launching steam, it works the first time, then closing steam and relaunching thereafter will trigger the behavior. this bug must lie elsewhere in another lib.


Niloofar / Bug - Fix Typescript errors in regulatory

Changes:

...

Type of change

[x] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

Fine 👍


Traefik Helm Chart Redirection misconfiguration

Projects: Resources
Status:  In Progress
In Traefik Helm Charts, we need to change the redirection configuration from:
ports:
  web:
    redirectTo: websecure

to:
ports:
  web:
    redirectTo:
        port: websecure

Duplicate of #129


[perf] Replace Set with indexOf in _contains

Addresses #1508
While the use of Set in _contains provided a nice boost in performance, after further thought I have come to realise that it could be replaced with a simpler Array.prototype.indexOf for the instances where Set was being utilised (though NaN needs to now be handled explicitly), removing the extra insertion cost and memory allocation to create the Set. This should remove some extra GC thrashing when used in a tight loop too, such as those often in benchmark code.
I've included a new benchmark file for R.contains and run it against the previous implementations, resulting in the following:

Implementation
Hz
Margin of Error

v0.8
73,693
±1.31%

Set
341,266
±0.66%

indexOf (this PR)
11,372,373
±0.84%

nativeIndexOf
13,820,992
±0.63%

Update: I've moved the optimisations out of _contains and into _indexOf. This unfortunately drops the performance down from 11,372,373 Hz to 8,443,488 Hz in the included benchmark, but will give a nice boost to other functions that depend on _indexOf.
I've also added a check to ensure Array.prototype.indexOf exists for older versions of IE, falling back to the previous implementation where necessary.

This is great stuff, @scott-chistopher!

Impressive!

:deciduous_tree: